@claudiolabs/claudin 0.5.13 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (851) hide show
  1. package/bin/claudin +78 -20
  2. package/dist/chunks/AgentTool-0.6.0-8f3qtrj8.mjs +1 -0
  3. package/dist/chunks/App-0.6.0-9n7fg3v4.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-0.6.0-egkvq84f.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-0.6.0-30jea1bv.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-0.6.0-3kcrm51e.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-0.6.0-ynatyfe7.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.0-bfvx8vyr.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-0.6.0-ta5bxsqc.mjs +1 -0
  10. package/dist/chunks/DiffDialog-0.6.0-cw7k3rhz.mjs +3 -0
  11. package/dist/chunks/Doctor-0.6.0-w85vn7cp.mjs +1 -0
  12. package/dist/chunks/Grove-0.6.0-8pzwxvxy.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.6.0-ccznb0th.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.6.0-0za8mmqc.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.6.0-mvr8g3r7.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.6.0-8r6844g6.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.6.0-s775c4cr.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.6.0-xgf5m2wn.mjs +1 -0
  19. package/dist/chunks/REPL-0.6.0-z46m261k.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.6.0-4njrwnw3.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.6.0-1aanznj9.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.6.0-ddvkc0ya.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.6.0-r86b0jdg.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.6.0-m20qbr0e.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.6.0-qb88j55p.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.6.0-v8recgw0.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.6.0-tdfv8cqs.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.6.0-ajzxc1d4.mjs +1 -0
  29. package/dist/chunks/add-dir-0.6.0-e8scpyaj.mjs +1 -0
  30. package/dist/chunks/agents-0.6.0-69xm47ft.mjs +3 -0
  31. package/dist/chunks/agents-0.6.0-8m3ze781.mjs +110 -0
  32. package/dist/chunks/api-0.6.0-3cymw2a4.mjs +1 -0
  33. package/dist/chunks/asciicast-0.6.0-mz8jmcqs.mjs +1 -0
  34. package/dist/chunks/assistant-0.6.0-qf4d0nt8.mjs +1 -0
  35. package/dist/chunks/auth-0.6.0-6j97pezz.mjs +1 -0
  36. package/dist/chunks/auth-0.6.0-hkthtnfk.mjs +1 -0
  37. package/dist/chunks/autoMode-0.6.0-82td4ejn.mjs +48 -0
  38. package/dist/chunks/autoUpdater-0.6.0-4rrgwmxf.mjs +1 -0
  39. package/dist/chunks/backgroundHousekeeping-0.6.0-j2hd827a.mjs +1 -0
  40. package/dist/chunks/branch-0.6.0-rnjgfgek.mjs +4 -0
  41. package/dist/chunks/bridgePointer-0.6.0-4pp7berq.mjs +1 -0
  42. package/dist/chunks/btw-0.6.0-9pm632qb.mjs +1 -0
  43. package/dist/chunks/buddy-0.6.0-zyreaya9.mjs +3 -0
  44. package/dist/chunks/cacache-0.6.0-mhcyz322.mjs +1 -0
  45. package/dist/chunks/cache-probe-0.6.0-2m2g30sy.mjs +21 -0
  46. package/dist/chunks/cacheStats-0.6.0-mzcbqxz0.mjs +4 -0
  47. package/dist/chunks/caches-0.6.0-x8ev20m0.mjs +1 -0
  48. package/dist/chunks/claudeDesktop-0.6.0-66prcdq2.mjs +1 -0
  49. package/dist/chunks/claudemd-0.6.0-t41nj06r.mjs +1 -0
  50. package/dist/chunks/clear-0.6.0-g494jnyj.mjs +1 -0
  51. package/dist/chunks/clearTerminal-0.6.0-3d2y2snk.mjs +1 -0
  52. package/dist/chunks/cli-0.6.0-0ck8d1xf.mjs +3 -0
  53. package/dist/chunks/cli-0.6.0-0kx1hnqt.mjs +2 -0
  54. package/dist/chunks/cli-0.6.0-0p3mkd59.mjs +2 -0
  55. package/dist/chunks/cli-0.6.0-0yb835ch.mjs +2 -0
  56. package/dist/chunks/cli-0.6.0-1b6rqyjf.mjs +2 -0
  57. package/dist/chunks/cli-0.6.0-1bpa9gj3.mjs +2 -0
  58. package/dist/chunks/cli-0.6.0-1bzempk2.mjs +12 -0
  59. package/dist/chunks/cli-0.6.0-1cfghz45.mjs +20 -0
  60. package/dist/chunks/cli-0.6.0-1d77dayv.mjs +2 -0
  61. package/dist/chunks/cli-0.6.0-1hxw8522.mjs +2 -0
  62. package/dist/chunks/cli-0.6.0-1jem05z7.mjs +45 -0
  63. package/dist/chunks/cli-0.6.0-1zce7bz0.mjs +17 -0
  64. package/dist/chunks/cli-0.6.0-27pnyd8x.mjs +2 -0
  65. package/dist/chunks/cli-0.6.0-295jdx7b.mjs +2 -0
  66. package/dist/chunks/cli-0.6.0-2age3kgh.mjs +2 -0
  67. package/dist/chunks/cli-0.6.0-2bbdcxda.mjs +2 -0
  68. package/dist/chunks/cli-0.6.0-2c7skznf.mjs +2 -0
  69. package/dist/chunks/cli-0.6.0-2gsntzzv.mjs +2 -0
  70. package/dist/chunks/cli-0.6.0-2h139nq7.mjs +2 -0
  71. package/dist/chunks/cli-0.6.0-2hnyx7jy.mjs +2 -0
  72. package/dist/chunks/cli-0.6.0-2k2xxr4j.mjs +2 -0
  73. package/dist/chunks/cli-0.6.0-2kvggf16.mjs +2 -0
  74. package/dist/chunks/cli-0.6.0-2m8k6622.mjs +18 -0
  75. package/dist/chunks/cli-0.6.0-2m9w0jtx.mjs +2 -0
  76. package/dist/chunks/cli-0.6.0-2qtnp6rz.mjs +2 -0
  77. package/dist/chunks/cli-0.6.0-2z14r3n7.mjs +2 -0
  78. package/dist/chunks/cli-0.6.0-2ztxr2t5.mjs +2 -0
  79. package/dist/chunks/cli-0.6.0-32mypc03.mjs +4 -0
  80. package/dist/chunks/cli-0.6.0-363zfcx9.mjs +2 -0
  81. package/dist/chunks/cli-0.6.0-3jwfajtd.mjs +2 -0
  82. package/dist/chunks/cli-0.6.0-3kbabt72.mjs +2 -0
  83. package/dist/chunks/cli-0.6.0-3kxxj2zn.mjs +2 -0
  84. package/dist/chunks/cli-0.6.0-3m7j40bv.mjs +2 -0
  85. package/dist/chunks/cli-0.6.0-3ns7jd71.mjs +2 -0
  86. package/dist/chunks/cli-0.6.0-3qpvyrpf.mjs +16 -0
  87. package/dist/chunks/cli-0.6.0-3sdh6b3v.mjs +2 -0
  88. package/dist/chunks/cli-0.6.0-3wr1g3r3.mjs +2 -0
  89. package/dist/chunks/cli-0.6.0-4fzxnfth.mjs +2 -0
  90. package/dist/chunks/cli-0.6.0-4ks8fpx1.mjs +2 -0
  91. package/dist/chunks/cli-0.6.0-592v9jcz.mjs +2 -0
  92. package/dist/chunks/cli-0.6.0-59hncecf.mjs +17 -0
  93. package/dist/chunks/cli-0.6.0-5bjsew2k.mjs +2 -0
  94. package/dist/chunks/cli-0.6.0-5m6h57jc.mjs +18 -0
  95. package/dist/chunks/cli-0.6.0-5zykg2fc.mjs +2 -0
  96. package/dist/chunks/cli-0.6.0-60ma2ekn.mjs +2 -0
  97. package/dist/chunks/cli-0.6.0-60q6k4k3.mjs +3 -0
  98. package/dist/chunks/cli-0.6.0-6hak6gny.mjs +2 -0
  99. package/dist/chunks/cli-0.6.0-6tdctbcr.mjs +2 -0
  100. package/dist/chunks/cli-0.6.0-6w72esaf.mjs +3 -0
  101. package/dist/chunks/cli-0.6.0-76c1zq6n.mjs +2 -0
  102. package/dist/chunks/cli-0.6.0-7m760mbp.mjs +2 -0
  103. package/dist/chunks/cli-0.6.0-7qw68ehh.mjs +2 -0
  104. package/dist/chunks/cli-0.6.0-7qwx1xwm.mjs +2 -0
  105. package/dist/chunks/cli-0.6.0-7s0k6nw0.mjs +12 -0
  106. package/dist/chunks/cli-0.6.0-7shwamwq.mjs +4 -0
  107. package/dist/chunks/cli-0.6.0-855c2tef.mjs +2 -0
  108. package/dist/chunks/cli-0.6.0-8kh9rbvn.mjs +2 -0
  109. package/dist/chunks/cli-0.6.0-8meqksnp.mjs +9 -0
  110. package/dist/chunks/cli-0.6.0-8xf2xpy3.mjs +3 -0
  111. package/dist/chunks/cli-0.6.0-8zczwtyv.mjs +2 -0
  112. package/dist/chunks/cli-0.6.0-91exkfnc.mjs +2 -0
  113. package/dist/chunks/cli-0.6.0-97d3zsj0.mjs +2 -0
  114. package/dist/chunks/cli-0.6.0-9faq31pe.mjs +4 -0
  115. package/dist/chunks/cli-0.6.0-9gnppzfq.mjs +133 -0
  116. package/dist/chunks/cli-0.6.0-9qdj830c.mjs +4 -0
  117. package/dist/chunks/cli-0.6.0-9rq760gd.mjs +2 -0
  118. package/dist/chunks/cli-0.6.0-9rxskyst.mjs +5 -0
  119. package/dist/chunks/cli-0.6.0-9zx9qdaq.mjs +2 -0
  120. package/dist/chunks/cli-0.6.0-a21pffqx.mjs +2 -0
  121. package/dist/chunks/cli-0.6.0-a62vvs4t.mjs +2 -0
  122. package/dist/chunks/cli-0.6.0-a7h4zkhn.mjs +15 -0
  123. package/dist/chunks/cli-0.6.0-aqestr3c.mjs +193 -0
  124. package/dist/chunks/cli-0.6.0-awtw1t27.mjs +2 -0
  125. package/dist/chunks/cli-0.6.0-b6tgentw.mjs +2 -0
  126. package/dist/chunks/cli-0.6.0-bca4nx7y.mjs +4 -0
  127. package/dist/chunks/cli-0.6.0-bg7yq5wg.mjs +2 -0
  128. package/dist/chunks/cli-0.6.0-bjyadvf4.mjs +2 -0
  129. package/dist/chunks/cli-0.6.0-c1a6kyzf.mjs +2 -0
  130. package/dist/chunks/cli-0.6.0-c1hzx5ft.mjs +2 -0
  131. package/dist/chunks/cli-0.6.0-c6nqbf3d.mjs +3 -0
  132. package/dist/chunks/cli-0.6.0-caxz9dgf.mjs +2 -0
  133. package/dist/chunks/cli-0.6.0-d3wk9en8.mjs +2 -0
  134. package/dist/chunks/cli-0.6.0-d4v4gc51.mjs +2 -0
  135. package/dist/chunks/cli-0.6.0-da98vnek.mjs +3 -0
  136. package/dist/chunks/cli-0.6.0-db9z8rd6.mjs +2 -0
  137. package/dist/chunks/cli-0.6.0-djm9knfa.mjs +2 -0
  138. package/dist/chunks/cli-0.6.0-dsrnkn8r.mjs +2 -0
  139. package/dist/chunks/cli-0.6.0-dsykmkkh.mjs +2 -0
  140. package/dist/chunks/cli-0.6.0-dxwdyaw3.mjs +2 -0
  141. package/dist/chunks/cli-0.6.0-e05hymmk.mjs +2 -0
  142. package/dist/chunks/cli-0.6.0-e8a59m32.mjs +2 -0
  143. package/dist/chunks/cli-0.6.0-f7y1nm61.mjs +4 -0
  144. package/dist/chunks/cli-0.6.0-f8va1ddb.mjs +2 -0
  145. package/dist/chunks/cli-0.6.0-fdfhshmm.mjs +3 -0
  146. package/dist/chunks/cli-0.6.0-fg2kp9t9.mjs +2 -0
  147. package/dist/chunks/cli-0.6.0-fx65e0yv.mjs +2 -0
  148. package/dist/chunks/cli-0.6.0-fzxv7yps.mjs +2 -0
  149. package/dist/chunks/cli-0.6.0-g60zf7ra.mjs +2 -0
  150. package/dist/chunks/cli-0.6.0-g61jvwe5.mjs +2 -0
  151. package/dist/chunks/cli-0.6.0-g7exm24t.mjs +3 -0
  152. package/dist/chunks/cli-0.6.0-gaakjhm0.mjs +2 -0
  153. package/dist/chunks/cli-0.6.0-gassmthg.mjs +2 -0
  154. package/dist/chunks/cli-0.6.0-gec8yt9j.mjs +2 -0
  155. package/dist/chunks/cli-0.6.0-gjcmv34x.mjs +4 -0
  156. package/dist/chunks/cli-0.6.0-gw1zy408.mjs +2 -0
  157. package/dist/chunks/cli-0.6.0-h0z5ygw4.mjs +2 -0
  158. package/dist/chunks/cli-0.6.0-h88zf9sp.mjs +2 -0
  159. package/dist/chunks/cli-0.6.0-hchy51xn.mjs +15 -0
  160. package/dist/chunks/cli-0.6.0-hf8fw0bb.mjs +2 -0
  161. package/dist/chunks/cli-0.6.0-hms5fdyd.mjs +2 -0
  162. package/dist/chunks/cli-0.6.0-hraw3dez.mjs +2 -0
  163. package/dist/chunks/cli-0.6.0-hwes2c0w.mjs +6 -0
  164. package/dist/chunks/cli-0.6.0-hxhwjzmm.mjs +34 -0
  165. package/dist/chunks/cli-0.6.0-j4gvgd8r.mjs +7 -0
  166. package/dist/chunks/cli-0.6.0-j5r9tdmt.mjs +50 -0
  167. package/dist/chunks/cli-0.6.0-jb17xpd5.mjs +2 -0
  168. package/dist/chunks/cli-0.6.0-jfft7zdk.mjs +67 -0
  169. package/dist/chunks/cli-0.6.0-jpsf0t8a.mjs +9 -0
  170. package/dist/chunks/cli-0.6.0-js1fe4hv.mjs +2 -0
  171. package/dist/chunks/cli-0.6.0-k8qnaskd.mjs +8 -0
  172. package/dist/chunks/cli-0.6.0-kr9jt2p9.mjs +6 -0
  173. package/dist/chunks/cli-0.6.0-kvv5zw54.mjs +5 -0
  174. package/dist/chunks/cli-0.6.0-m47zataq.mjs +2 -0
  175. package/dist/chunks/cli-0.6.0-mkca0jw4.mjs +2 -0
  176. package/dist/chunks/cli-0.6.0-mmmmpmp3.mjs +2 -0
  177. package/dist/chunks/cli-0.6.0-mmp6g96h.mjs +2 -0
  178. package/dist/chunks/cli-0.6.0-mqdfskgd.mjs +2 -0
  179. package/dist/chunks/cli-0.6.0-mvv5jvw3.mjs +2 -0
  180. package/dist/chunks/cli-0.6.0-ndxtcmnz.mjs +2 -0
  181. package/dist/chunks/cli-0.6.0-npjb4qxf.mjs +3 -0
  182. package/dist/chunks/cli-0.6.0-npxj2hv4.mjs +2 -0
  183. package/dist/chunks/cli-0.6.0-nxpvznpz.mjs +4 -0
  184. package/dist/chunks/cli-0.6.0-nzqrvkwj.mjs +58 -0
  185. package/dist/chunks/cli-0.6.0-p3kytvrk.mjs +42 -0
  186. package/dist/chunks/cli-0.6.0-pbegwent.mjs +2 -0
  187. package/dist/chunks/cli-0.6.0-pk4x582t.mjs +2 -0
  188. package/dist/chunks/cli-0.6.0-pp6kfka3.mjs +2 -0
  189. package/dist/chunks/cli-0.6.0-pvkfx5f1.mjs +2 -0
  190. package/dist/chunks/cli-0.6.0-q63ry2jk.mjs +2 -0
  191. package/dist/chunks/cli-0.6.0-qnby905t.mjs +2 -0
  192. package/dist/chunks/cli-0.6.0-qzs04ar5.mjs +6 -0
  193. package/dist/chunks/cli-0.6.0-r3kd85yw.mjs +2 -0
  194. package/dist/chunks/cli-0.6.0-r5tyrw7e.mjs +59 -0
  195. package/dist/chunks/cli-0.6.0-r8g9yjbx.mjs +4 -0
  196. package/dist/chunks/cli-0.6.0-rrp10514.mjs +2 -0
  197. package/dist/chunks/cli-0.6.0-rvcpxnfv.mjs +2 -0
  198. package/dist/chunks/cli-0.6.0-rys3h8aw.mjs +2 -0
  199. package/dist/chunks/cli-0.6.0-rytp9dva.mjs +2 -0
  200. package/dist/chunks/cli-0.6.0-s2w74466.mjs +15 -0
  201. package/dist/chunks/cli-0.6.0-s36ckgp3.mjs +2 -0
  202. package/dist/chunks/cli-0.6.0-s4fa0ekw.mjs +2 -0
  203. package/dist/chunks/cli-0.6.0-s56fh7wm.mjs +2 -0
  204. package/dist/chunks/cli-0.6.0-s6hbyqbv.mjs +2 -0
  205. package/dist/chunks/cli-0.6.0-s7b70a0c.mjs +2 -0
  206. package/dist/chunks/cli-0.6.0-sa2mtczk.mjs +2 -0
  207. package/dist/chunks/cli-0.6.0-sd76f2sk.mjs +21 -0
  208. package/dist/chunks/cli-0.6.0-sh2rvpbt.mjs +2 -0
  209. package/dist/chunks/cli-0.6.0-ssdst17p.mjs +2 -0
  210. package/dist/chunks/cli-0.6.0-szxjcmcn.mjs +2 -0
  211. package/dist/chunks/cli-0.6.0-t2arqp0e.mjs +12 -0
  212. package/dist/chunks/cli-0.6.0-t91jvdfm.mjs +2 -0
  213. package/dist/chunks/cli-0.6.0-t93n2gev.mjs +3 -0
  214. package/dist/chunks/cli-0.6.0-tbe2ca49.mjs +3 -0
  215. package/dist/chunks/cli-0.6.0-tgc46p2a.mjs +2 -0
  216. package/dist/chunks/cli-0.6.0-tmwp0q7v.mjs +2 -0
  217. package/dist/chunks/cli-0.6.0-ttys4ffq.mjs +2 -0
  218. package/dist/chunks/cli-0.6.0-tz34279s.mjs +3 -0
  219. package/dist/chunks/cli-0.6.0-v56hqc26.mjs +25 -0
  220. package/dist/chunks/cli-0.6.0-v7kten40.mjs +2 -0
  221. package/dist/chunks/cli-0.6.0-v92kj5pr.mjs +2 -0
  222. package/dist/chunks/cli-0.6.0-vcvchaan.mjs +2 -0
  223. package/dist/chunks/cli-0.6.0-vj1q5vmq.mjs +5321 -0
  224. package/dist/chunks/cli-0.6.0-vrp1zbfc.mjs +4 -0
  225. package/dist/chunks/cli-0.6.0-vy5a76pk.mjs +18 -0
  226. package/dist/chunks/cli-0.6.0-vzmjmj1n.mjs +133 -0
  227. package/dist/chunks/cli-0.6.0-wcqzr1n7.mjs +10 -0
  228. package/dist/chunks/cli-0.6.0-wmt6ytdx.mjs +2 -0
  229. package/dist/chunks/cli-0.6.0-wnrwh53h.mjs +2 -0
  230. package/dist/chunks/cli-0.6.0-wz6en1nw.mjs +39 -0
  231. package/dist/chunks/cli-0.6.0-x7c5eyt4.mjs +2 -0
  232. package/dist/chunks/cli-0.6.0-xczg4s5m.mjs +2 -0
  233. package/dist/chunks/cli-0.6.0-xg7esvcf.mjs +2 -0
  234. package/dist/chunks/cli-0.6.0-xp74d7yz.mjs +1 -0
  235. package/dist/chunks/cli-0.6.0-xyv90m2s.mjs +2 -0
  236. package/dist/chunks/cli-0.6.0-xzvyqs4f.mjs +24 -0
  237. package/dist/chunks/cli-0.6.0-y4g2dppt.mjs +2 -0
  238. package/dist/chunks/cli-0.6.0-ycj7gxxz.mjs +2 -0
  239. package/dist/chunks/cli-0.6.0-yryz4xm4.mjs +2 -0
  240. package/dist/chunks/cli-0.6.0-zabvyppx.mjs +2 -0
  241. package/dist/chunks/cli-0.6.0-zngss8r1.mjs +2 -0
  242. package/dist/chunks/cli-0.6.0-zr99z1nr.mjs +5 -0
  243. package/dist/chunks/cli-0.6.0-zxckyy4s.mjs +2 -0
  244. package/dist/chunks/cli-0.6.0-zz1dfz4t.mjs +24 -0
  245. package/dist/chunks/client-0.6.0-djg9p1rh.mjs +1 -0
  246. package/dist/chunks/color-0.6.0-hpk7e2x9.mjs +1 -0
  247. package/dist/chunks/compact-0.6.0-gtvx4hy7.mjs +3 -0
  248. package/dist/chunks/config-0.6.0-f4jc8hpt.mjs +1 -0
  249. package/dist/chunks/config-0.6.0-jpx4jvj2.mjs +1 -0
  250. package/dist/chunks/constants-0.6.0-qe49df42.mjs +1 -0
  251. package/dist/chunks/context-0.6.0-t33461h9.mjs +1 -0
  252. package/dist/chunks/context-noninteractive-0.6.0-vh1s30rr.mjs +1 -0
  253. package/dist/chunks/conversation-0.6.0-apb71k2e.mjs +1 -0
  254. package/dist/chunks/copilotHeaders-0.6.0-2apz8tq4.mjs +1 -0
  255. package/dist/chunks/copy-0.6.0-yfzmdd0z.mjs +9 -0
  256. package/dist/chunks/cost-0.6.0-qrhnvqtm.mjs +1 -0
  257. package/dist/chunks/createSSHSession-0.6.0-2p1n5srr.mjs +1 -0
  258. package/dist/chunks/createSession-0.6.0-pcy6a299.mjs +1 -0
  259. package/dist/chunks/debug-0.6.0-39p8tt4j.mjs +1 -0
  260. package/dist/chunks/defaultActionDeps-0.6.0-8bzdvszj.mjs +1365 -0
  261. package/dist/chunks/desktop-0.6.0-vxzr6474.mjs +1 -0
  262. package/dist/chunks/detectRepository-0.6.0-wvjpx2rr.mjs +1 -0
  263. package/dist/chunks/detection-0.6.0-8thkktsw.mjs +1 -0
  264. package/dist/chunks/diff-0.6.0-g8kn9exw.mjs +1 -0
  265. package/dist/chunks/doctor-0.6.0-dxy0j0g4.mjs +1 -0
  266. package/dist/chunks/doctorDiagnostic-0.6.0-aa892edk.mjs +1 -0
  267. package/dist/chunks/earlyInput-0.6.0-gj3dyt0d.mjs +1 -0
  268. package/dist/chunks/effort-0.6.0-g5xfz2eg.mjs +10 -0
  269. package/dist/chunks/envUtils-0.6.0-tf4st484.mjs +1 -0
  270. package/dist/chunks/environmentSelection-0.6.0-r5ar2987.mjs +1 -0
  271. package/dist/chunks/environments-0.6.0-gec3hdz5.mjs +1 -0
  272. package/dist/chunks/errors-0.6.0-mf51mpgf.mjs +1 -0
  273. package/dist/chunks/exampleCommands-0.6.0-qg1e4vxh.mjs +1 -0
  274. package/dist/chunks/exit-0.6.0-xys34kqe.mjs +1 -0
  275. package/dist/chunks/export-0.6.0-135ccc8z.mjs +2 -0
  276. package/dist/chunks/extra-usage-0.6.0-aqn3jh3x.mjs +1 -0
  277. package/dist/chunks/extra-usage-noninteractive-0.6.0-yw91pfe0.mjs +1 -0
  278. package/dist/chunks/fast-0.6.0-gw4rymz7.mjs +1 -0
  279. package/dist/chunks/feedback-0.6.0-j898w96j.mjs +14 -0
  280. package/dist/chunks/firstPartyEventLogger-0.6.0-t26jt3ej.mjs +1 -0
  281. package/dist/chunks/git-0.6.0-1rjgfq8r.mjs +1 -0
  282. package/dist/chunks/githubModelsCredentials-0.6.0-ek8depe7.mjs +1 -0
  283. package/dist/chunks/goal-0.6.0-wdmxdemz.mjs +4 -0
  284. package/dist/chunks/grove-0.6.0-bge298jb.mjs +1 -0
  285. package/dist/chunks/growthbook-0.6.0-vkrtxrkt.mjs +1 -0
  286. package/dist/chunks/headless-0.6.0-kw28r6p5.mjs +2 -0
  287. package/dist/chunks/heapdump-0.6.0-5130r1vc.mjs +6 -0
  288. package/dist/chunks/help-0.6.0-krmgwd6p.mjs +1 -0
  289. package/dist/chunks/hookChains-0.6.0-esxa7jav.mjs +3 -0
  290. package/dist/chunks/hooks-0.6.0-652920vq.mjs +79 -0
  291. package/dist/chunks/hooks-0.6.0-tgtx7vah.mjs +1 -0
  292. package/dist/chunks/ide-0.6.0-j84km85e.mjs +3 -0
  293. package/dist/chunks/image-processor-napi-0.6.0-tyyms96b.mjs +1 -0
  294. package/dist/chunks/index-0.6.0-1c8mc7c5.mjs +1 -0
  295. package/dist/chunks/index-0.6.0-33tqx1q0.mjs +1 -0
  296. package/dist/chunks/index-0.6.0-4cjwvzjk.mjs +2 -0
  297. package/dist/chunks/index-0.6.0-8r6qtdvj.mjs +2 -0
  298. package/dist/chunks/index-0.6.0-9br46rw2.mjs +1 -0
  299. package/dist/chunks/index-0.6.0-apr64dfb.mjs +1 -0
  300. package/dist/chunks/index-0.6.0-e79va7fg.mjs +9 -0
  301. package/dist/chunks/index-0.6.0-f35c7dte.mjs +1 -0
  302. package/dist/chunks/index-0.6.0-fsb9nqdb.mjs +1 -0
  303. package/dist/chunks/index-0.6.0-gxd56xhn.mjs +1 -0
  304. package/dist/chunks/index-0.6.0-kbwkgp90.mjs +5 -0
  305. package/dist/chunks/index-0.6.0-mhvzn9h5.mjs +1 -0
  306. package/dist/chunks/index-0.6.0-mxm4er0h.mjs +1 -0
  307. package/dist/chunks/index-0.6.0-nny5a3rt.mjs +30 -0
  308. package/dist/chunks/index-0.6.0-nst006cq.mjs +17 -0
  309. package/dist/chunks/index-0.6.0-rv4pntam.mjs +1 -0
  310. package/dist/chunks/index-0.6.0-scwzrsg7.mjs +1 -0
  311. package/dist/chunks/index-0.6.0-w2djrw2s.mjs +9 -0
  312. package/dist/chunks/index-0.6.0-wb1ws1yr.mjs +1 -0
  313. package/dist/chunks/index-0.6.0-wjesenkh.mjs +1 -0
  314. package/dist/chunks/index-0.6.0-y9ppfz99.mjs +1 -0
  315. package/dist/chunks/index-0.6.0-zem7h5vp.mjs +1 -0
  316. package/dist/chunks/init-0.6.0-1770vy5g.mjs +1 -0
  317. package/dist/chunks/initReplBridge-0.6.0-z9198t8c.mjs +1 -0
  318. package/dist/chunks/ink-0.6.0-qwcph42h.mjs +1 -0
  319. package/dist/chunks/insights-0.6.0-cw0cadtm.mjs +870 -0
  320. package/dist/chunks/install-0.6.0-26gqe0fd.mjs +1 -0
  321. package/dist/chunks/install-github-app-0.6.0-afraccwz.mjs +149 -0
  322. package/dist/chunks/install-slack-app-0.6.0-ddv0a41d.mjs +1 -0
  323. package/dist/chunks/instrumentation-0.6.0-2rcak0p8.mjs +1 -0
  324. package/dist/chunks/interactiveHelpers-0.6.0-jxbk6fey.mjs +1 -0
  325. package/dist/chunks/keybindings-0.6.0-5ytp6650.mjs +2 -0
  326. package/dist/chunks/knowledge-0.6.0-ew766111.mjs +2 -0
  327. package/dist/chunks/latestVersionCache-0.6.0-yy47behr.mjs +1 -0
  328. package/dist/chunks/loadAgentsDir-0.6.0-80k2aj05.mjs +1 -0
  329. package/dist/chunks/loadPluginHooks-0.6.0-vhh7gzzn.mjs +1 -0
  330. package/dist/chunks/loadPluginHooks-0.6.0-ztp923sq.mjs +1 -0
  331. package/dist/chunks/log-0.6.0-9tz5q7ps.mjs +1 -0
  332. package/dist/chunks/main-0.6.0-rzx5483p.mjs +1 -0
  333. package/dist/chunks/managedEnv-0.6.0-vr46tva8.mjs +1 -0
  334. package/dist/chunks/mcp-0.6.0-0w7zg3p3.mjs +4 -0
  335. package/dist/chunks/mcp-0.6.0-6h57nk7y.mjs +1 -0
  336. package/dist/chunks/mcp-0.6.0-r1061w3f.mjs +17 -0
  337. package/dist/chunks/mcpb-0.6.0-9ka233fc.mjs +1 -0
  338. package/dist/chunks/memory-0.6.0-wzcpareq.mjs +3 -0
  339. package/dist/chunks/mobile-0.6.0-wfnegsdg.mjs +2 -0
  340. package/dist/chunks/model-0.6.0-2ncemzh6.mjs +1 -0
  341. package/dist/chunks/model-0.6.0-tefdsge4.mjs +2 -0
  342. package/dist/chunks/node-0.6.0-x0ve6mnc.mjs +12 -0
  343. package/dist/chunks/oauth-0.6.0-dqw6k0tz.mjs +1 -0
  344. package/dist/chunks/openaiShim-0.6.0-22t2dr2z.mjs +14 -0
  345. package/dist/chunks/output-style-0.6.0-6kqm6df4.mjs +1 -0
  346. package/dist/chunks/package-D6422PQU-0.6.0-vx7g6m15.mjs +1 -0
  347. package/dist/chunks/parseConnectUrl-0.6.0-fzb9qfec.mjs +1 -0
  348. package/dist/chunks/parser-0.6.0-y80gn3tg.mjs +1 -0
  349. package/dist/chunks/passes-0.6.0-0gxeeegv.mjs +1 -0
  350. package/dist/chunks/permissions-0.6.0-hke4pdcc.mjs +3 -0
  351. package/dist/chunks/plan-0.6.0-v60h02ep.mjs +1 -0
  352. package/dist/chunks/plist-0.6.0-bz14nbfw.mjs +1 -0
  353. package/dist/chunks/plugin-0.6.0-43b045ac.mjs +29 -0
  354. package/dist/chunks/pluginStartupCheck-0.6.0-rxgqz1f8.mjs +1 -0
  355. package/dist/chunks/plugins-0.6.0-c4zsb658.mjs +9 -0
  356. package/dist/chunks/preActionHook-0.6.0-bxna1trm.mjs +2 -0
  357. package/dist/chunks/print-0.6.0-09j4e2ec.mjs +57 -0
  358. package/dist/chunks/privacy-settings-0.6.0-yhesee0k.mjs +1 -0
  359. package/dist/chunks/process-0.6.0-194s5ayw.mjs +1 -0
  360. package/dist/chunks/processBashCommand-0.6.0-pfp2pv9w.mjs +1 -0
  361. package/dist/chunks/processSlashCommand-0.6.0-7xzbb466.mjs +9 -0
  362. package/dist/chunks/prompt-0.6.0-g86dhhk0.mjs +1 -0
  363. package/dist/chunks/prompt-0.6.0-zaxw8ms6.mjs +1 -0
  364. package/dist/chunks/prompts-0.6.0-dk1vzsz0.mjs +1 -0
  365. package/dist/chunks/protocolHandler-0.6.0-54sm9br3.mjs +13 -0
  366. package/dist/chunks/provider-0.6.0-f3hjdgnv.mjs +2 -0
  367. package/dist/chunks/providerProfiles-0.6.0-bxp22mqt.mjs +1 -0
  368. package/dist/chunks/providerValidation-0.6.0-pvwdjqw3.mjs +6 -0
  369. package/dist/chunks/rate-limit-options-0.6.0-y2qv27ms.mjs +1 -0
  370. package/dist/chunks/registerSubcommands-0.6.0-dh1kmqw1.mjs +34 -0
  371. package/dist/chunks/registry-0.6.0-6zvdx4fa.mjs +1 -0
  372. package/dist/chunks/release-notes-0.6.0-6p8nx2xc.mjs +5 -0
  373. package/dist/chunks/reload-plugins-0.6.0-570gszfw.mjs +2 -0
  374. package/dist/chunks/remote-env-0.6.0-sjemeetj.mjs +1 -0
  375. package/dist/chunks/remoteBridgeCore-0.6.0-ab80z440.mjs +1 -0
  376. package/dist/chunks/remoteSession-0.6.0-d07620cv.mjs +1 -0
  377. package/dist/chunks/rename-0.6.0-nyqpebf6.mjs +1 -0
  378. package/dist/chunks/replBridgeHandle-0.6.0-pvrxskrc.mjs +1 -0
  379. package/dist/chunks/replLauncher-0.6.0-1ng5ajaz.mjs +1 -0
  380. package/dist/chunks/resume-0.6.0-0gcmk4pd.mjs +2 -0
  381. package/dist/chunks/rewind-0.6.0-ktbtm3a9.mjs +1 -0
  382. package/dist/chunks/rootOptions-0.6.0-3y0nvcgg.mjs +1 -0
  383. package/dist/chunks/sandbox-adapter-0.6.0-n03pbpa8.mjs +1 -0
  384. package/dist/chunks/sandbox-toggle-0.6.0-r6ap16jq.mjs +1 -0
  385. package/dist/chunks/session-0.6.0-8wj8t5kq.mjs +2 -0
  386. package/dist/chunks/sessionDiscovery-0.6.0-ggm4y3jm.mjs +1 -0
  387. package/dist/chunks/sessionFileAccessHooks-0.6.0-zzn2r4we.mjs +1 -0
  388. package/dist/chunks/sessionStorage-0.6.0-dqq9e9s8.mjs +1 -0
  389. package/dist/chunks/settings-0.6.0-ap4tqn54.mjs +1 -0
  390. package/dist/chunks/setup-0.6.0-mgbyyc71.mjs +5 -0
  391. package/dist/chunks/sinks-0.6.0-5ekfd4ya.mjs +1 -0
  392. package/dist/chunks/skills-0.6.0-78btd7cr.mjs +1 -0
  393. package/dist/chunks/startupProfiler-0.6.0-a2shb6dh.mjs +1 -0
  394. package/dist/chunks/startupUpdateCheck-0.6.0-3ygq5msd.mjs +1 -0
  395. package/dist/chunks/state-0.6.0-m6bsf1b6.mjs +1 -0
  396. package/dist/chunks/stats-0.6.0-w163rgvd.mjs +6 -0
  397. package/dist/chunks/status-0.6.0-ce1p1nbt.mjs +1 -0
  398. package/dist/chunks/stickers-0.6.0-j9h7rsnm.mjs +1 -0
  399. package/dist/chunks/subprocessEnv-0.6.0-ep7ha98p.mjs +1 -0
  400. package/dist/chunks/tasks-0.6.0-2qdk98p6.mjs +1 -0
  401. package/dist/chunks/teamHelpers-0.6.0-z26tek6c.mjs +1 -0
  402. package/dist/chunks/teammateModeSnapshot-0.6.0-ydtqht2v.mjs +1 -0
  403. package/dist/chunks/teleport-0.6.0-sq90w2z1.mjs +1 -0
  404. package/dist/chunks/terminalSetup-0.6.0-nj633zgj.mjs +1 -0
  405. package/dist/chunks/theme-0.6.0-gbx1fx14.mjs +1 -0
  406. package/dist/chunks/thinkback-0.6.0-g650qsc0.mjs +1 -0
  407. package/dist/chunks/thinkback-play-0.6.0-x83b68dn.mjs +1 -0
  408. package/dist/chunks/toolPool-0.6.0-p2sms7a9.mjs +1 -0
  409. package/dist/chunks/toolSearch-0.6.0-wyps3eqc.mjs +1 -0
  410. package/dist/chunks/tools-0.6.0-xk9wgy5h.mjs +1 -0
  411. package/dist/chunks/trustedDevice-0.6.0-rgqjeqzg.mjs +1 -0
  412. package/dist/chunks/turndown.cjs-0.6.0-dsdamyph.mjs +69 -0
  413. package/dist/chunks/ultrareviewCommand-0.6.0-x19p2w4a.mjs +4 -0
  414. package/dist/chunks/update-0.6.0-ryw1h5dw.mjs +86 -0
  415. package/dist/chunks/upgrade-0.6.0-gwrpq422.mjs +1 -0
  416. package/dist/chunks/upstreamproxy-0.6.0-99efcy5e.mjs +14 -0
  417. package/dist/chunks/url-handler-napi-0.6.0-k1qxf5y3.mjs +1 -0
  418. package/dist/chunks/usage-0.6.0-9gygvtnp.mjs +1 -0
  419. package/dist/chunks/util-0.6.0-pnf3vdnn.mjs +1 -0
  420. package/dist/chunks/utils-0.6.0-pf338f8r.mjs +1 -0
  421. package/dist/chunks/vim-0.6.0-xr4692km.mjs +1 -0
  422. package/dist/chunks/watcher-0.6.0-cypcv0dz.mjs +1 -0
  423. package/dist/chunks/wiki-0.6.0-hj8m2rct.mjs +132 -0
  424. package/dist/chunks/worktree-0.6.0-gkckfba3.mjs +1 -0
  425. package/dist/chunks/worktreeModeEnabled-0.6.0-rrpspmv9.mjs +1 -0
  426. package/dist/chunks/wrapper-0.6.0-hdrsg1aw.mjs +7 -0
  427. package/dist/claudin-vscode.vsix +0 -0
  428. package/dist/cli.mjs +2 -2
  429. package/package.json +1 -1
  430. package/dist/chunks/AgentTool-0.5.13-6dz2gvzt.mjs +0 -1
  431. package/dist/chunks/App-0.5.13-h8h37pzk.mjs +0 -1
  432. package/dist/chunks/ApproveApiKey-0.5.13-r1fte24k.mjs +0 -1
  433. package/dist/chunks/AssistantSessionChooser-0.5.13-8r9am3rj.mjs +0 -1
  434. package/dist/chunks/AutoModeOptInDialog-0.5.13-kmhmmjcg.mjs +0 -1
  435. package/dist/chunks/BypassPermissionsModeDialog-0.5.13-2bsqjr5d.mjs +0 -1
  436. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.13-qcb3r450.mjs +0 -1
  437. package/dist/chunks/ConsoleOAuthFlow-0.5.13-pg65frv4.mjs +0 -1
  438. package/dist/chunks/DiffDialog-0.5.13-hwy08wq9.mjs +0 -3
  439. package/dist/chunks/Doctor-0.5.13-335trspw.mjs +0 -1
  440. package/dist/chunks/Grove-0.5.13-hg0k8g49.mjs +0 -1
  441. package/dist/chunks/ITermBackend-0.5.13-jj7kn9vx.mjs +0 -1
  442. package/dist/chunks/InvalidConfigDialog-0.5.13-9azv44xk.mjs +0 -1
  443. package/dist/chunks/InvalidSettingsDialog-0.5.13-byp7h5gk.mjs +0 -1
  444. package/dist/chunks/MigrationDialog-0.5.13-zxyqfrbq.mjs +0 -1
  445. package/dist/chunks/Onboarding-0.5.13-qa2yk18p.mjs +0 -1
  446. package/dist/chunks/ProviderManager-0.5.13-c1vawvvp.mjs +0 -1
  447. package/dist/chunks/REPL-0.5.13-4rss5cn8.mjs +0 -1
  448. package/dist/chunks/ResumeConversation-0.5.13-8yg9t110.mjs +0 -1
  449. package/dist/chunks/SnapshotUpdateDialog-0.5.13-egpytwfz.mjs +0 -1
  450. package/dist/chunks/TeleportProgress-0.5.13-mqff8prx.mjs +0 -1
  451. package/dist/chunks/TeleportRepoMismatchDialog-0.5.13-vvjjc0e0.mjs +0 -1
  452. package/dist/chunks/TeleportResumeWrapper-0.5.13-hr5qx564.mjs +0 -1
  453. package/dist/chunks/TmuxBackend-0.5.13-3rqrqy3v.mjs +0 -9
  454. package/dist/chunks/ToolSearchTool-0.5.13-pc0xw8bq.mjs +0 -1
  455. package/dist/chunks/TrustDialog-0.5.13-fc0205ss.mjs +0 -1
  456. package/dist/chunks/activeProvider-0.5.13-50732cyn.mjs +0 -1
  457. package/dist/chunks/add-dir-0.5.13-sq7m6erc.mjs +0 -1
  458. package/dist/chunks/agents-0.5.13-manb7tcq.mjs +0 -3
  459. package/dist/chunks/agents-0.5.13-xvmk9xvk.mjs +0 -110
  460. package/dist/chunks/api-0.5.13-q2anppzf.mjs +0 -1
  461. package/dist/chunks/asciicast-0.5.13-qdn1gh3y.mjs +0 -1
  462. package/dist/chunks/assistant-0.5.13-2hfvn0kh.mjs +0 -1
  463. package/dist/chunks/auth-0.5.13-05zhnpsy.mjs +0 -1
  464. package/dist/chunks/auth-0.5.13-jn53extx.mjs +0 -1
  465. package/dist/chunks/autoMode-0.5.13-ejwtdvs2.mjs +0 -48
  466. package/dist/chunks/autoUpdater-0.5.13-j6cngyr7.mjs +0 -1
  467. package/dist/chunks/backgroundHousekeeping-0.5.13-rrvzf922.mjs +0 -1
  468. package/dist/chunks/branch-0.5.13-qmyekghp.mjs +0 -4
  469. package/dist/chunks/bridgePointer-0.5.13-8r4x6rgv.mjs +0 -1
  470. package/dist/chunks/btw-0.5.13-0pa7vfhq.mjs +0 -1
  471. package/dist/chunks/buddy-0.5.13-k3ac5jxx.mjs +0 -3
  472. package/dist/chunks/cacache-0.5.13-ze1bqfm6.mjs +0 -1
  473. package/dist/chunks/cache-probe-0.5.13-yc3ra4vk.mjs +0 -21
  474. package/dist/chunks/cacheStats-0.5.13-e1eg5g4e.mjs +0 -4
  475. package/dist/chunks/caches-0.5.13-75dr0q42.mjs +0 -1
  476. package/dist/chunks/claudeDesktop-0.5.13-5nptd5hj.mjs +0 -1
  477. package/dist/chunks/claudemd-0.5.13-ce8fx7gc.mjs +0 -1
  478. package/dist/chunks/clear-0.5.13-k8q15yen.mjs +0 -1
  479. package/dist/chunks/clearTerminal-0.5.13-veyek376.mjs +0 -1
  480. package/dist/chunks/cli-0.5.13-03jqbfbp.mjs +0 -2
  481. package/dist/chunks/cli-0.5.13-055v20cs.mjs +0 -2
  482. package/dist/chunks/cli-0.5.13-061m60f2.mjs +0 -2
  483. package/dist/chunks/cli-0.5.13-0fhxw4ng.mjs +0 -3
  484. package/dist/chunks/cli-0.5.13-0zgpx8rh.mjs +0 -2
  485. package/dist/chunks/cli-0.5.13-15kmd08p.mjs +0 -2
  486. package/dist/chunks/cli-0.5.13-16khcs2m.mjs +0 -3
  487. package/dist/chunks/cli-0.5.13-1eedz5bc.mjs +0 -2
  488. package/dist/chunks/cli-0.5.13-1qt91z42.mjs +0 -2
  489. package/dist/chunks/cli-0.5.13-29nzbrwv.mjs +0 -45
  490. package/dist/chunks/cli-0.5.13-2m4fm0hh.mjs +0 -2
  491. package/dist/chunks/cli-0.5.13-2v1zpnvh.mjs +0 -2
  492. package/dist/chunks/cli-0.5.13-2vy5qjm5.mjs +0 -5276
  493. package/dist/chunks/cli-0.5.13-36s1k9x2.mjs +0 -2
  494. package/dist/chunks/cli-0.5.13-3e1p9n7x.mjs +0 -2
  495. package/dist/chunks/cli-0.5.13-3ys2sjjd.mjs +0 -2
  496. package/dist/chunks/cli-0.5.13-3zrq5ggt.mjs +0 -2
  497. package/dist/chunks/cli-0.5.13-426cpksk.mjs +0 -4
  498. package/dist/chunks/cli-0.5.13-4at49cv9.mjs +0 -2
  499. package/dist/chunks/cli-0.5.13-4s4vnhj8.mjs +0 -2
  500. package/dist/chunks/cli-0.5.13-4yqsxc90.mjs +0 -2
  501. package/dist/chunks/cli-0.5.13-50cwkg00.mjs +0 -2
  502. package/dist/chunks/cli-0.5.13-5n0sdsbk.mjs +0 -2
  503. package/dist/chunks/cli-0.5.13-5tva2fr1.mjs +0 -6
  504. package/dist/chunks/cli-0.5.13-5wc80m6b.mjs +0 -2
  505. package/dist/chunks/cli-0.5.13-5x7qbneh.mjs +0 -2
  506. package/dist/chunks/cli-0.5.13-62qasgve.mjs +0 -2
  507. package/dist/chunks/cli-0.5.13-667jxcab.mjs +0 -18
  508. package/dist/chunks/cli-0.5.13-69m6gq4m.mjs +0 -2
  509. package/dist/chunks/cli-0.5.13-6c2mgdby.mjs +0 -2
  510. package/dist/chunks/cli-0.5.13-6hvwtg4n.mjs +0 -2
  511. package/dist/chunks/cli-0.5.13-6qz4fn68.mjs +0 -2
  512. package/dist/chunks/cli-0.5.13-6yehabyw.mjs +0 -2
  513. package/dist/chunks/cli-0.5.13-70f6zf2z.mjs +0 -4
  514. package/dist/chunks/cli-0.5.13-73fyz4ct.mjs +0 -2
  515. package/dist/chunks/cli-0.5.13-73hy7ka5.mjs +0 -2
  516. package/dist/chunks/cli-0.5.13-77mqds6w.mjs +0 -2
  517. package/dist/chunks/cli-0.5.13-7b4c61sf.mjs +0 -2
  518. package/dist/chunks/cli-0.5.13-7fzk2679.mjs +0 -2
  519. package/dist/chunks/cli-0.5.13-7gkctjmj.mjs +0 -2
  520. package/dist/chunks/cli-0.5.13-7je48sax.mjs +0 -15
  521. package/dist/chunks/cli-0.5.13-898bb5x7.mjs +0 -2
  522. package/dist/chunks/cli-0.5.13-89h7zw2x.mjs +0 -2
  523. package/dist/chunks/cli-0.5.13-8wrj5aqm.mjs +0 -2
  524. package/dist/chunks/cli-0.5.13-8yj2mydb.mjs +0 -2
  525. package/dist/chunks/cli-0.5.13-9r26f53q.mjs +0 -8
  526. package/dist/chunks/cli-0.5.13-a86qe2vz.mjs +0 -2
  527. package/dist/chunks/cli-0.5.13-a8k2grq1.mjs +0 -3
  528. package/dist/chunks/cli-0.5.13-a9gqqmjh.mjs +0 -6
  529. package/dist/chunks/cli-0.5.13-acgafbm9.mjs +0 -2
  530. package/dist/chunks/cli-0.5.13-adphma77.mjs +0 -2
  531. package/dist/chunks/cli-0.5.13-atfk3e81.mjs +0 -2
  532. package/dist/chunks/cli-0.5.13-athb0q85.mjs +0 -2
  533. package/dist/chunks/cli-0.5.13-b2593ngv.mjs +0 -4
  534. package/dist/chunks/cli-0.5.13-b5tqhsx5.mjs +0 -2
  535. package/dist/chunks/cli-0.5.13-b6aefc28.mjs +0 -1
  536. package/dist/chunks/cli-0.5.13-bkv5hf1d.mjs +0 -2
  537. package/dist/chunks/cli-0.5.13-bv7ax1n3.mjs +0 -2
  538. package/dist/chunks/cli-0.5.13-cf35yzvq.mjs +0 -3
  539. package/dist/chunks/cli-0.5.13-chdvhgrk.mjs +0 -2
  540. package/dist/chunks/cli-0.5.13-chgxtj5w.mjs +0 -4
  541. package/dist/chunks/cli-0.5.13-cjd4zkx5.mjs +0 -2
  542. package/dist/chunks/cli-0.5.13-cm18xc7a.mjs +0 -4
  543. package/dist/chunks/cli-0.5.13-cnzars85.mjs +0 -5
  544. package/dist/chunks/cli-0.5.13-cs4r7txx.mjs +0 -2
  545. package/dist/chunks/cli-0.5.13-cvy5zs8w.mjs +0 -39
  546. package/dist/chunks/cli-0.5.13-cwy43qr2.mjs +0 -2
  547. package/dist/chunks/cli-0.5.13-d0pk4caa.mjs +0 -24
  548. package/dist/chunks/cli-0.5.13-d1xn4v80.mjs +0 -2
  549. package/dist/chunks/cli-0.5.13-d4g5sa6y.mjs +0 -2
  550. package/dist/chunks/cli-0.5.13-d6bw823x.mjs +0 -2
  551. package/dist/chunks/cli-0.5.13-dd5wmg26.mjs +0 -15
  552. package/dist/chunks/cli-0.5.13-ddpterr2.mjs +0 -2
  553. package/dist/chunks/cli-0.5.13-dxs15ka8.mjs +0 -24
  554. package/dist/chunks/cli-0.5.13-dzq8ey2j.mjs +0 -2
  555. package/dist/chunks/cli-0.5.13-efbkgz8j.mjs +0 -2
  556. package/dist/chunks/cli-0.5.13-ejy68mbm.mjs +0 -34
  557. package/dist/chunks/cli-0.5.13-epjykaww.mjs +0 -17
  558. package/dist/chunks/cli-0.5.13-evjnfa9k.mjs +0 -10
  559. package/dist/chunks/cli-0.5.13-f1akqq6k.mjs +0 -2
  560. package/dist/chunks/cli-0.5.13-f1e673b2.mjs +0 -2
  561. package/dist/chunks/cli-0.5.13-f6tattxs.mjs +0 -4
  562. package/dist/chunks/cli-0.5.13-fcrp5w0b.mjs +0 -3
  563. package/dist/chunks/cli-0.5.13-fdyfmbdw.mjs +0 -2
  564. package/dist/chunks/cli-0.5.13-fgckevv1.mjs +0 -2
  565. package/dist/chunks/cli-0.5.13-fjs5qecq.mjs +0 -2
  566. package/dist/chunks/cli-0.5.13-frerk7s6.mjs +0 -2
  567. package/dist/chunks/cli-0.5.13-g76ge0hv.mjs +0 -2
  568. package/dist/chunks/cli-0.5.13-ga5kmq1w.mjs +0 -2
  569. package/dist/chunks/cli-0.5.13-gb0363rs.mjs +0 -2
  570. package/dist/chunks/cli-0.5.13-gd8h6ejm.mjs +0 -15
  571. package/dist/chunks/cli-0.5.13-gpnjdq6k.mjs +0 -12
  572. package/dist/chunks/cli-0.5.13-gtn64dxk.mjs +0 -12
  573. package/dist/chunks/cli-0.5.13-gw433gw1.mjs +0 -9
  574. package/dist/chunks/cli-0.5.13-h04mqqtv.mjs +0 -17
  575. package/dist/chunks/cli-0.5.13-h1jy4w92.mjs +0 -2
  576. package/dist/chunks/cli-0.5.13-h9wt4xcx.mjs +0 -25
  577. package/dist/chunks/cli-0.5.13-hgrj8csf.mjs +0 -4
  578. package/dist/chunks/cli-0.5.13-hwcqeqbn.mjs +0 -2
  579. package/dist/chunks/cli-0.5.13-hxsc43y5.mjs +0 -2
  580. package/dist/chunks/cli-0.5.13-j2wbmw1t.mjs +0 -2
  581. package/dist/chunks/cli-0.5.13-j7mzv9r7.mjs +0 -2
  582. package/dist/chunks/cli-0.5.13-j97wk70q.mjs +0 -2
  583. package/dist/chunks/cli-0.5.13-jc4m6d2k.mjs +0 -3
  584. package/dist/chunks/cli-0.5.13-jqns71dy.mjs +0 -2
  585. package/dist/chunks/cli-0.5.13-k0a2tvhb.mjs +0 -2
  586. package/dist/chunks/cli-0.5.13-k18wsy2t.mjs +0 -2
  587. package/dist/chunks/cli-0.5.13-k8vf1rgk.mjs +0 -2
  588. package/dist/chunks/cli-0.5.13-khtf0a93.mjs +0 -9
  589. package/dist/chunks/cli-0.5.13-kry2fk76.mjs +0 -2
  590. package/dist/chunks/cli-0.5.13-kt5d0qv4.mjs +0 -2
  591. package/dist/chunks/cli-0.5.13-ktrr6zcr.mjs +0 -2
  592. package/dist/chunks/cli-0.5.13-kz59bkh7.mjs +0 -6
  593. package/dist/chunks/cli-0.5.13-mpqhbtwc.mjs +0 -2
  594. package/dist/chunks/cli-0.5.13-mrtzh5nm.mjs +0 -2
  595. package/dist/chunks/cli-0.5.13-mwrgy706.mjs +0 -2
  596. package/dist/chunks/cli-0.5.13-n30tm5c8.mjs +0 -2
  597. package/dist/chunks/cli-0.5.13-n3xnwgn1.mjs +0 -2
  598. package/dist/chunks/cli-0.5.13-nc37z94b.mjs +0 -2
  599. package/dist/chunks/cli-0.5.13-nkaxbfpd.mjs +0 -2
  600. package/dist/chunks/cli-0.5.13-nqkxsn2m.mjs +0 -133
  601. package/dist/chunks/cli-0.5.13-p4f4h0g7.mjs +0 -16
  602. package/dist/chunks/cli-0.5.13-p6q4xbrv.mjs +0 -2
  603. package/dist/chunks/cli-0.5.13-p70x9j1v.mjs +0 -193
  604. package/dist/chunks/cli-0.5.13-p7q9grjp.mjs +0 -2
  605. package/dist/chunks/cli-0.5.13-p9fwmgwy.mjs +0 -2
  606. package/dist/chunks/cli-0.5.13-q2mxeckt.mjs +0 -2
  607. package/dist/chunks/cli-0.5.13-qdtebkgs.mjs +0 -2
  608. package/dist/chunks/cli-0.5.13-qfxggvke.mjs +0 -18
  609. package/dist/chunks/cli-0.5.13-qkjyj942.mjs +0 -2
  610. package/dist/chunks/cli-0.5.13-qrn019we.mjs +0 -2
  611. package/dist/chunks/cli-0.5.13-qs5d8j4d.mjs +0 -2
  612. package/dist/chunks/cli-0.5.13-qv3v2ydv.mjs +0 -3
  613. package/dist/chunks/cli-0.5.13-r0m7bt05.mjs +0 -2
  614. package/dist/chunks/cli-0.5.13-r442vgxt.mjs +0 -2
  615. package/dist/chunks/cli-0.5.13-rd990xfy.mjs +0 -2
  616. package/dist/chunks/cli-0.5.13-rfsjgvne.mjs +0 -2
  617. package/dist/chunks/cli-0.5.13-rmc7f4b8.mjs +0 -2
  618. package/dist/chunks/cli-0.5.13-rppjxrmy.mjs +0 -2
  619. package/dist/chunks/cli-0.5.13-rqjp9raj.mjs +0 -58
  620. package/dist/chunks/cli-0.5.13-rrqv533k.mjs +0 -2
  621. package/dist/chunks/cli-0.5.13-s005ka5h.mjs +0 -2
  622. package/dist/chunks/cli-0.5.13-s1wx3grp.mjs +0 -2
  623. package/dist/chunks/cli-0.5.13-s58vke8w.mjs +0 -2
  624. package/dist/chunks/cli-0.5.13-s719y89z.mjs +0 -2
  625. package/dist/chunks/cli-0.5.13-sfjdg8y7.mjs +0 -4
  626. package/dist/chunks/cli-0.5.13-sww17qtj.mjs +0 -42
  627. package/dist/chunks/cli-0.5.13-t0zrxwck.mjs +0 -3
  628. package/dist/chunks/cli-0.5.13-t6q9ebdp.mjs +0 -2
  629. package/dist/chunks/cli-0.5.13-teedketa.mjs +0 -2
  630. package/dist/chunks/cli-0.5.13-tg8xt9zq.mjs +0 -3
  631. package/dist/chunks/cli-0.5.13-thgp6asf.mjs +0 -21
  632. package/dist/chunks/cli-0.5.13-tqs67xcg.mjs +0 -2
  633. package/dist/chunks/cli-0.5.13-tr9s34te.mjs +0 -59
  634. package/dist/chunks/cli-0.5.13-tvfs784w.mjs +0 -2
  635. package/dist/chunks/cli-0.5.13-tyh63jx3.mjs +0 -2
  636. package/dist/chunks/cli-0.5.13-ve50w85d.mjs +0 -2
  637. package/dist/chunks/cli-0.5.13-vee98ybt.mjs +0 -2
  638. package/dist/chunks/cli-0.5.13-vfkw26ed.mjs +0 -3
  639. package/dist/chunks/cli-0.5.13-vhjxq97s.mjs +0 -2
  640. package/dist/chunks/cli-0.5.13-vhvwgvqz.mjs +0 -2
  641. package/dist/chunks/cli-0.5.13-vqrqsmg4.mjs +0 -3
  642. package/dist/chunks/cli-0.5.13-vt1mnr9f.mjs +0 -2
  643. package/dist/chunks/cli-0.5.13-w20nxjkz.mjs +0 -5
  644. package/dist/chunks/cli-0.5.13-wbq0xatn.mjs +0 -2
  645. package/dist/chunks/cli-0.5.13-wfyf1thm.mjs +0 -2
  646. package/dist/chunks/cli-0.5.13-wyr6xtxm.mjs +0 -2
  647. package/dist/chunks/cli-0.5.13-x3f97qaq.mjs +0 -2
  648. package/dist/chunks/cli-0.5.13-x3t2vpfh.mjs +0 -2
  649. package/dist/chunks/cli-0.5.13-x8dtpekr.mjs +0 -2
  650. package/dist/chunks/cli-0.5.13-xgcr3a63.mjs +0 -2
  651. package/dist/chunks/cli-0.5.13-xnxmkmta.mjs +0 -5
  652. package/dist/chunks/cli-0.5.13-xvg417w8.mjs +0 -7
  653. package/dist/chunks/cli-0.5.13-xxa4mzdx.mjs +0 -2
  654. package/dist/chunks/cli-0.5.13-xxpqtp1x.mjs +0 -2
  655. package/dist/chunks/cli-0.5.13-xzeqt5b9.mjs +0 -2
  656. package/dist/chunks/cli-0.5.13-y3hmh09p.mjs +0 -2
  657. package/dist/chunks/cli-0.5.13-y9wywv5c.mjs +0 -2
  658. package/dist/chunks/cli-0.5.13-yc6wyazy.mjs +0 -67
  659. package/dist/chunks/cli-0.5.13-yf4tqq6c.mjs +0 -20
  660. package/dist/chunks/cli-0.5.13-yk8r9pqr.mjs +0 -2
  661. package/dist/chunks/cli-0.5.13-yskavx3s.mjs +0 -12
  662. package/dist/chunks/cli-0.5.13-ytqyx6qh.mjs +0 -2
  663. package/dist/chunks/cli-0.5.13-ywwd10c0.mjs +0 -4
  664. package/dist/chunks/cli-0.5.13-z0f17269.mjs +0 -2
  665. package/dist/chunks/cli-0.5.13-z1aye5ce.mjs +0 -2
  666. package/dist/chunks/cli-0.5.13-zk96c5kc.mjs +0 -3
  667. package/dist/chunks/cli-0.5.13-zkqc4zsj.mjs +0 -4
  668. package/dist/chunks/cli-0.5.13-zms1a287.mjs +0 -50
  669. package/dist/chunks/cli-0.5.13-znj1x5bb.mjs +0 -133
  670. package/dist/chunks/client-0.5.13-wkzv25nn.mjs +0 -1
  671. package/dist/chunks/color-0.5.13-yd46yzt2.mjs +0 -1
  672. package/dist/chunks/compact-0.5.13-3bw7kt91.mjs +0 -3
  673. package/dist/chunks/config-0.5.13-mwq6ejza.mjs +0 -1
  674. package/dist/chunks/config-0.5.13-t1bvsttc.mjs +0 -1
  675. package/dist/chunks/context-0.5.13-zffaf66t.mjs +0 -1
  676. package/dist/chunks/context-noninteractive-0.5.13-r7fhc6wz.mjs +0 -1
  677. package/dist/chunks/conversation-0.5.13-3vvb99cj.mjs +0 -1
  678. package/dist/chunks/copy-0.5.13-zh3ctvbe.mjs +0 -9
  679. package/dist/chunks/cost-0.5.13-kaah7wjm.mjs +0 -1
  680. package/dist/chunks/createSSHSession-0.5.13-gn1tyhwh.mjs +0 -1
  681. package/dist/chunks/createSession-0.5.13-q4atr39q.mjs +0 -1
  682. package/dist/chunks/debug-0.5.13-tsk3c3gg.mjs +0 -1
  683. package/dist/chunks/defaultActionDeps-0.5.13-eep8ghf6.mjs +0 -1177
  684. package/dist/chunks/desktop-0.5.13-wahg3gbx.mjs +0 -1
  685. package/dist/chunks/detectRepository-0.5.13-xek1s6f7.mjs +0 -1
  686. package/dist/chunks/detection-0.5.13-f8b6t5he.mjs +0 -1
  687. package/dist/chunks/diff-0.5.13-515a1hs6.mjs +0 -1
  688. package/dist/chunks/doctor-0.5.13-zafz1vsm.mjs +0 -1
  689. package/dist/chunks/doctorDiagnostic-0.5.13-fd90ctm0.mjs +0 -1
  690. package/dist/chunks/earlyInput-0.5.13-b58bf771.mjs +0 -1
  691. package/dist/chunks/effort-0.5.13-0yah2d2h.mjs +0 -10
  692. package/dist/chunks/envUtils-0.5.13-g4pw1v3n.mjs +0 -1
  693. package/dist/chunks/environmentSelection-0.5.13-9qw5cb9h.mjs +0 -1
  694. package/dist/chunks/environments-0.5.13-2a6akk4c.mjs +0 -1
  695. package/dist/chunks/errors-0.5.13-7p8kdhe8.mjs +0 -1
  696. package/dist/chunks/exampleCommands-0.5.13-fxpyc0yh.mjs +0 -1
  697. package/dist/chunks/exit-0.5.13-gs0h7d0d.mjs +0 -1
  698. package/dist/chunks/export-0.5.13-d2yz4k76.mjs +0 -2
  699. package/dist/chunks/extra-usage-0.5.13-571qzpk6.mjs +0 -1
  700. package/dist/chunks/extra-usage-noninteractive-0.5.13-ky55gxd6.mjs +0 -1
  701. package/dist/chunks/fast-0.5.13-2g61p9d0.mjs +0 -1
  702. package/dist/chunks/feedback-0.5.13-2mk1kd03.mjs +0 -14
  703. package/dist/chunks/firstPartyEventLogger-0.5.13-2t54ma0f.mjs +0 -1
  704. package/dist/chunks/git-0.5.13-rd7xcgr3.mjs +0 -1
  705. package/dist/chunks/githubModelsCredentials-0.5.13-skfy40r3.mjs +0 -1
  706. package/dist/chunks/grove-0.5.13-g8qwzetx.mjs +0 -1
  707. package/dist/chunks/growthbook-0.5.13-hnyag67m.mjs +0 -1
  708. package/dist/chunks/headless-0.5.13-05rns8kj.mjs +0 -2
  709. package/dist/chunks/heapdump-0.5.13-4eq6h79m.mjs +0 -6
  710. package/dist/chunks/help-0.5.13-8pfrra9q.mjs +0 -1
  711. package/dist/chunks/hookChains-0.5.13-vvmpgx47.mjs +0 -3
  712. package/dist/chunks/hooks-0.5.13-c2ksw8k4.mjs +0 -1
  713. package/dist/chunks/hooks-0.5.13-zer0dcqm.mjs +0 -79
  714. package/dist/chunks/ide-0.5.13-r40xcg67.mjs +0 -3
  715. package/dist/chunks/image-processor-napi-0.5.13-gf9xnpk4.mjs +0 -1
  716. package/dist/chunks/index-0.5.13-06mj6naw.mjs +0 -1
  717. package/dist/chunks/index-0.5.13-12hemzfc.mjs +0 -1
  718. package/dist/chunks/index-0.5.13-4559xg8z.mjs +0 -17
  719. package/dist/chunks/index-0.5.13-5gmbch0k.mjs +0 -9
  720. package/dist/chunks/index-0.5.13-5qstd1y9.mjs +0 -1
  721. package/dist/chunks/index-0.5.13-5zhr2qys.mjs +0 -1
  722. package/dist/chunks/index-0.5.13-7t4ww1cj.mjs +0 -1
  723. package/dist/chunks/index-0.5.13-9zz559q7.mjs +0 -1
  724. package/dist/chunks/index-0.5.13-ap2xd7mn.mjs +0 -1
  725. package/dist/chunks/index-0.5.13-c9pk5nd1.mjs +0 -2
  726. package/dist/chunks/index-0.5.13-d9sdxhsy.mjs +0 -1
  727. package/dist/chunks/index-0.5.13-ej6cywk8.mjs +0 -30
  728. package/dist/chunks/index-0.5.13-fbjdwyd8.mjs +0 -1
  729. package/dist/chunks/index-0.5.13-fertw6vb.mjs +0 -1
  730. package/dist/chunks/index-0.5.13-jwf634zt.mjs +0 -1
  731. package/dist/chunks/index-0.5.13-nny2e7sx.mjs +0 -5
  732. package/dist/chunks/index-0.5.13-np7s1rcw.mjs +0 -1
  733. package/dist/chunks/index-0.5.13-qkvpat3t.mjs +0 -9
  734. package/dist/chunks/index-0.5.13-qq60ettc.mjs +0 -1
  735. package/dist/chunks/index-0.5.13-rty9gaxf.mjs +0 -2
  736. package/dist/chunks/index-0.5.13-yqdcztr9.mjs +0 -1
  737. package/dist/chunks/index-0.5.13-zhze2z09.mjs +0 -1
  738. package/dist/chunks/init-0.5.13-yn5gjx3n.mjs +0 -1
  739. package/dist/chunks/initReplBridge-0.5.13-3q7t27y6.mjs +0 -1
  740. package/dist/chunks/ink-0.5.13-hp9a2nw1.mjs +0 -1
  741. package/dist/chunks/insights-0.5.13-k7b8vcre.mjs +0 -870
  742. package/dist/chunks/install-0.5.13-bfn6wvkn.mjs +0 -1
  743. package/dist/chunks/install-github-app-0.5.13-jgte5vf5.mjs +0 -149
  744. package/dist/chunks/install-slack-app-0.5.13-6jhm4499.mjs +0 -1
  745. package/dist/chunks/instrumentation-0.5.13-qe85v218.mjs +0 -1
  746. package/dist/chunks/interactiveHelpers-0.5.13-pzrtv38g.mjs +0 -1
  747. package/dist/chunks/keybindings-0.5.13-nekhy7ew.mjs +0 -2
  748. package/dist/chunks/knowledge-0.5.13-gzztvqej.mjs +0 -2
  749. package/dist/chunks/latestVersionCache-0.5.13-68b2ccpy.mjs +0 -1
  750. package/dist/chunks/loadAgentsDir-0.5.13-0dsj5wv6.mjs +0 -1
  751. package/dist/chunks/loadPluginHooks-0.5.13-0z0wcvtq.mjs +0 -1
  752. package/dist/chunks/loadPluginHooks-0.5.13-fzcfd312.mjs +0 -1
  753. package/dist/chunks/log-0.5.13-gdx6qzh8.mjs +0 -1
  754. package/dist/chunks/main-0.5.13-n87gjwzq.mjs +0 -1
  755. package/dist/chunks/managedEnv-0.5.13-53yr3zwe.mjs +0 -1
  756. package/dist/chunks/mcp-0.5.13-nmspb2zq.mjs +0 -4
  757. package/dist/chunks/mcp-0.5.13-rw2g8qaa.mjs +0 -17
  758. package/dist/chunks/mcp-0.5.13-th2ze7ya.mjs +0 -1
  759. package/dist/chunks/mcpb-0.5.13-m2r7m7gz.mjs +0 -1
  760. package/dist/chunks/memory-0.5.13-exfd915f.mjs +0 -3
  761. package/dist/chunks/mobile-0.5.13-chn8dbj3.mjs +0 -2
  762. package/dist/chunks/model-0.5.13-02rcx381.mjs +0 -1
  763. package/dist/chunks/model-0.5.13-nn224m13.mjs +0 -2
  764. package/dist/chunks/node-0.5.13-qaeqsj1w.mjs +0 -12
  765. package/dist/chunks/oauth-0.5.13-9kyat49f.mjs +0 -1
  766. package/dist/chunks/openaiShim-0.5.13-h22myqt0.mjs +0 -14
  767. package/dist/chunks/output-style-0.5.13-6fyp1e9p.mjs +0 -1
  768. package/dist/chunks/package-D6422PQU-0.5.13-qhrrn6zr.mjs +0 -1
  769. package/dist/chunks/parseConnectUrl-0.5.13-1qc35s39.mjs +0 -1
  770. package/dist/chunks/parser-0.5.13-pat6pqc3.mjs +0 -1
  771. package/dist/chunks/passes-0.5.13-e04rjkwz.mjs +0 -1
  772. package/dist/chunks/permissions-0.5.13-hayn4a0z.mjs +0 -3
  773. package/dist/chunks/plan-0.5.13-837bdxnq.mjs +0 -1
  774. package/dist/chunks/plist-0.5.13-wbmvsbtw.mjs +0 -1
  775. package/dist/chunks/plugin-0.5.13-wfbqn2r6.mjs +0 -29
  776. package/dist/chunks/pluginStartupCheck-0.5.13-6kztma6y.mjs +0 -1
  777. package/dist/chunks/plugins-0.5.13-661zwqh0.mjs +0 -9
  778. package/dist/chunks/preActionHook-0.5.13-jnvd55h3.mjs +0 -2
  779. package/dist/chunks/print-0.5.13-tp9qh9m9.mjs +0 -57
  780. package/dist/chunks/privacy-settings-0.5.13-kd3r9h57.mjs +0 -1
  781. package/dist/chunks/process-0.5.13-kkfgtfp6.mjs +0 -1
  782. package/dist/chunks/processBashCommand-0.5.13-9yggekvh.mjs +0 -1
  783. package/dist/chunks/processSlashCommand-0.5.13-q15qa3ee.mjs +0 -9
  784. package/dist/chunks/prompt-0.5.13-h2tvhh01.mjs +0 -1
  785. package/dist/chunks/prompt-0.5.13-x601wxwy.mjs +0 -1
  786. package/dist/chunks/prompts-0.5.13-76a9ns5g.mjs +0 -1
  787. package/dist/chunks/protocolHandler-0.5.13-kvfdrr12.mjs +0 -13
  788. package/dist/chunks/provider-0.5.13-tgwe2fwj.mjs +0 -2
  789. package/dist/chunks/providerProfiles-0.5.13-hyx6zffe.mjs +0 -1
  790. package/dist/chunks/providerValidation-0.5.13-8z62br8d.mjs +0 -6
  791. package/dist/chunks/rate-limit-options-0.5.13-wz5ew5he.mjs +0 -1
  792. package/dist/chunks/registerSubcommands-0.5.13-xgwprw2n.mjs +0 -34
  793. package/dist/chunks/registry-0.5.13-cx3vtv28.mjs +0 -1
  794. package/dist/chunks/release-notes-0.5.13-pcbc1edt.mjs +0 -5
  795. package/dist/chunks/reload-plugins-0.5.13-pvwtgp6y.mjs +0 -2
  796. package/dist/chunks/remote-env-0.5.13-mj63srey.mjs +0 -1
  797. package/dist/chunks/remoteBridgeCore-0.5.13-vmb8vyd9.mjs +0 -1
  798. package/dist/chunks/remoteSession-0.5.13-ext2r1fs.mjs +0 -1
  799. package/dist/chunks/rename-0.5.13-c388bb34.mjs +0 -1
  800. package/dist/chunks/replBridgeHandle-0.5.13-d9e8m6a4.mjs +0 -1
  801. package/dist/chunks/replLauncher-0.5.13-q4xjb3n7.mjs +0 -1
  802. package/dist/chunks/resume-0.5.13-zwms595g.mjs +0 -2
  803. package/dist/chunks/rewind-0.5.13-nf9en5kj.mjs +0 -1
  804. package/dist/chunks/rootOptions-0.5.13-ys6f60ez.mjs +0 -1
  805. package/dist/chunks/sandbox-adapter-0.5.13-0kn0krrs.mjs +0 -1
  806. package/dist/chunks/sandbox-toggle-0.5.13-mbhkfqtx.mjs +0 -1
  807. package/dist/chunks/session-0.5.13-ef059m1s.mjs +0 -2
  808. package/dist/chunks/sessionDiscovery-0.5.13-rqf5h984.mjs +0 -1
  809. package/dist/chunks/sessionFileAccessHooks-0.5.13-skb8p6b9.mjs +0 -1
  810. package/dist/chunks/sessionStorage-0.5.13-hfsdsdg8.mjs +0 -1
  811. package/dist/chunks/settings-0.5.13-dvj3rntg.mjs +0 -1
  812. package/dist/chunks/setup-0.5.13-0qy4tjwk.mjs +0 -5
  813. package/dist/chunks/sinks-0.5.13-r38g34n1.mjs +0 -1
  814. package/dist/chunks/skills-0.5.13-zd2n7d2t.mjs +0 -1
  815. package/dist/chunks/startupProfiler-0.5.13-rvngf74z.mjs +0 -1
  816. package/dist/chunks/startupUpdateCheck-0.5.13-kepbkbnb.mjs +0 -1
  817. package/dist/chunks/state-0.5.13-9j8t0pbx.mjs +0 -1
  818. package/dist/chunks/stats-0.5.13-6083a1n1.mjs +0 -6
  819. package/dist/chunks/status-0.5.13-043z2z1k.mjs +0 -1
  820. package/dist/chunks/stickers-0.5.13-haw56t8e.mjs +0 -1
  821. package/dist/chunks/subprocessEnv-0.5.13-6fym13ah.mjs +0 -1
  822. package/dist/chunks/tasks-0.5.13-prxqgrk6.mjs +0 -1
  823. package/dist/chunks/teamHelpers-0.5.13-ea9wnqk5.mjs +0 -1
  824. package/dist/chunks/teammateModeSnapshot-0.5.13-fzz13a9m.mjs +0 -1
  825. package/dist/chunks/teleport-0.5.13-cwvgxg78.mjs +0 -1
  826. package/dist/chunks/terminalSetup-0.5.13-cswcvej0.mjs +0 -1
  827. package/dist/chunks/theme-0.5.13-yq4dm16b.mjs +0 -1
  828. package/dist/chunks/thinkback-0.5.13-gf1n5td1.mjs +0 -1
  829. package/dist/chunks/thinkback-play-0.5.13-fjwrqzd7.mjs +0 -1
  830. package/dist/chunks/toolPool-0.5.13-kt2xjpf7.mjs +0 -1
  831. package/dist/chunks/toolSearch-0.5.13-p0zpbh8d.mjs +0 -1
  832. package/dist/chunks/tools-0.5.13-jd6408d0.mjs +0 -1
  833. package/dist/chunks/trustedDevice-0.5.13-8vncqgx8.mjs +0 -1
  834. package/dist/chunks/turndown.cjs-0.5.13-0pxd6ddw.mjs +0 -69
  835. package/dist/chunks/ultrareviewCommand-0.5.13-5w0fawcq.mjs +0 -4
  836. package/dist/chunks/update-0.5.13-r5daertf.mjs +0 -86
  837. package/dist/chunks/upgrade-0.5.13-02ypar0z.mjs +0 -1
  838. package/dist/chunks/upstreamproxy-0.5.13-qxsd8pz8.mjs +0 -14
  839. package/dist/chunks/url-handler-napi-0.5.13-fvyp50k0.mjs +0 -1
  840. package/dist/chunks/usage-0.5.13-qzx2m9s9.mjs +0 -1
  841. package/dist/chunks/util-0.5.13-f4gpmja3.mjs +0 -1
  842. package/dist/chunks/utils-0.5.13-3qpq89q5.mjs +0 -1
  843. package/dist/chunks/vim-0.5.13-mg62q0nt.mjs +0 -1
  844. package/dist/chunks/watcher-0.5.13-q568pd2n.mjs +0 -1
  845. package/dist/chunks/wiki-0.5.13-yzex4wbz.mjs +0 -132
  846. package/dist/chunks/worktree-0.5.13-7q98jvfb.mjs +0 -1
  847. package/dist/chunks/worktreeModeEnabled-0.5.13-rhsc6esa.mjs +0 -1
  848. package/dist/chunks/wrapper-0.5.13-7xwpyrgq.mjs +0 -7
  849. /package/dist/chunks/{cli-0.5.13-epw9z05w.mjs → cli-0.6.0-hcx40dgf.mjs} +0 -0
  850. /package/dist/chunks/{cli-0.5.13-07hv5jdz.mjs → cli-0.6.0-ktf52b8k.mjs} +0 -0
  851. /package/dist/chunks/{cli-0.5.13-c4q1pthh.mjs → cli-0.6.0-td7dsace.mjs} +0 -0
@@ -0,0 +1,17 @@
1
+ import{dpa as y,gpa as b}from"./cli-0.6.0-szxjcmcn.mjs";var P0=y(($w)=>{$w.HttpAuthLocation=void 0;(function($){$.HEADER="header",$.QUERY="query"})($w.HttpAuthLocation||($w.HttpAuthLocation={}));$w.HttpApiKeyAuthLocation=void 0;(function($){$.HEADER="header",$.QUERY="query"})($w.HttpApiKeyAuthLocation||($w.HttpApiKeyAuthLocation={}));$w.EndpointURLScheme=void 0;(function($){$.HTTP="http",$.HTTPS="https"})($w.EndpointURLScheme||($w.EndpointURLScheme={}));$w.AlgorithmId=void 0;(function($){$.MD5="md5",$.CRC32="crc32",$.CRC32C="crc32c",$.SHA1="sha1",$.SHA256="sha256"})($w.AlgorithmId||($w.AlgorithmId={}));var rT=($)=>{let T=[];if($.sha256!==void 0)T.push({algorithmId:()=>$w.AlgorithmId.SHA256,checksumConstructor:()=>$.sha256});if($.md5!=null)T.push({algorithmId:()=>$w.AlgorithmId.MD5,checksumConstructor:()=>$.md5});return{addChecksumAlgorithm(w){T.push(w)},checksumAlgorithms(){return T}}},lT=($)=>{let T={};return $.checksumAlgorithms().forEach((w)=>{T[w.algorithmId()]=w.checksumConstructor()}),T},oT=($)=>{return rT($)},aT=($)=>{return lT($)};$w.FieldPosition=void 0;(function($){$[$.HEADER=0]="HEADER",$[$.TRAILER=1]="TRAILER"})($w.FieldPosition||($w.FieldPosition={}));var eT="__smithy_context";$w.IniSectionType=void 0;(function($){$.PROFILE="profile",$.SSO_SESSION="sso-session",$.SERVICES="services"})($w.IniSectionType||($w.IniSectionType={}));$w.RequestHandlerProtocol=void 0;(function($){$.HTTP_0_9="http/0.9",$.HTTP_1_0="http/1.0",$.TDS_8_0="tds/8.0"})($w.RequestHandlerProtocol||($w.RequestHandlerProtocol={}));$w.SMITHY_CONTEXT_KEY=eT;$w.getDefaultClientConfiguration=oT;$w.resolveDefaultRuntimeConfig=aT});var D0=y((sw)=>{var m=P0(),Iw=h1(),g=($,T)=>{let w=[];if($)w.push($);if(T)for(let P of T)w.push(P);return w},c=($,T)=>{return`${$||"anonymous"}${T&&T.length>0?` (a.k.a. ${T.join(",")})`:""}`},I0=()=>{let $=[],T=[],w=!1,P=new Set,I=(X)=>X.sort((J,f)=>l1[f.step]-l1[J.step]||o1[f.priority||"normal"]-o1[J.priority||"normal"]),h=(X)=>{let J=!1,f=(G)=>{let Q=g(G.name,G.aliases);if(Q.includes(X)){J=!0;for(let Z of Q)P.delete(Z);return!1}return!0};return $=$.filter(f),T=T.filter(f),J},U=(X)=>{let J=!1,f=(G)=>{if(G.middleware===X){J=!0;for(let Q of g(G.name,G.aliases))P.delete(Q);return!1}return!0};return $=$.filter(f),T=T.filter(f),J},A=(X)=>{return $.forEach((J)=>{X.add(J.middleware,{...J})}),T.forEach((J)=>{X.addRelativeTo(J.middleware,{...J})}),X.identifyOnResolve?.(Y.identifyOnResolve()),X},_=(X)=>{let J=[];return X.before.forEach((f)=>{if(f.before.length===0&&f.after.length===0)J.push(f);else J.push(..._(f))}),J.push(X),X.after.reverse().forEach((f)=>{if(f.before.length===0&&f.after.length===0)J.push(f);else J.push(..._(f))}),J},M=(X=!1)=>{let J=[],f=[],G={};return $.forEach((Z)=>{let R={...Z,before:[],after:[]};for(let V of g(R.name,R.aliases))G[V]=R;J.push(R)}),T.forEach((Z)=>{let R={...Z,before:[],after:[]};for(let V of g(R.name,R.aliases))G[V]=R;f.push(R)}),f.forEach((Z)=>{if(Z.toMiddleware){let R=G[Z.toMiddleware];if(R===void 0){if(X)return;throw Error(`${Z.toMiddleware} is not found when adding ${c(Z.name,Z.aliases)} middleware ${Z.relation} ${Z.toMiddleware}`)}if(Z.relation==="after")R.after.push(Z);if(Z.relation==="before")R.before.push(Z)}}),I(J).map(_).reduce((Z,R)=>{return Z.push(...R),Z},[])},Y={add:(X,J={})=>{let{name:f,override:G,aliases:Q}=J,Z={step:"initialize",priority:"normal",middleware:X,...J},R=g(f,Q);if(R.length>0){if(R.some((V)=>P.has(V))){if(!G)throw Error(`Duplicate middleware name '${c(f,Q)}'`);for(let V of R){let L=$.findIndex((T0)=>T0.name===V||T0.aliases?.some((l0)=>l0===V));if(L===-1)continue;let W=$[L];if(W.step!==Z.step||Z.priority!==W.priority)throw Error(`"${c(W.name,W.aliases)}" middleware with ${W.priority} priority in ${W.step} step cannot be overridden by "${c(f,Q)}" middleware with ${Z.priority} priority in ${Z.step} step.`);$.splice(L,1)}}for(let V of R)P.add(V)}$.push(Z)},addRelativeTo:(X,J)=>{let{name:f,override:G,aliases:Q}=J,Z={middleware:X,...J},R=g(f,Q);if(R.length>0){if(R.some((V)=>P.has(V))){if(!G)throw Error(`Duplicate middleware name '${c(f,Q)}'`);for(let V of R){let L=T.findIndex((T0)=>T0.name===V||T0.aliases?.some((l0)=>l0===V));if(L===-1)continue;let W=T[L];if(W.toMiddleware!==Z.toMiddleware||W.relation!==Z.relation)throw Error(`"${c(W.name,W.aliases)}" middleware ${W.relation} "${W.toMiddleware}" middleware cannot be overridden by "${c(f,Q)}" middleware ${Z.relation} "${Z.toMiddleware}" middleware.`);T.splice(L,1)}}for(let V of R)P.add(V)}T.push(Z)},clone:()=>A(I0()),use:(X)=>{X.applyToStack(Y)},remove:(X)=>{if(typeof X==="string")return h(X);else return U(X)},removeByTag:(X)=>{let J=!1,f=(G)=>{let{tags:Q,name:Z,aliases:R}=G;if(Q&&Q.includes(X)){let V=g(Z,R);for(let L of V)P.delete(L);return J=!0,!1}return!0};return $=$.filter(f),T=T.filter(f),J},concat:(X)=>{let J=A(I0());return J.use(X),J.identifyOnResolve(w||J.identifyOnResolve()||(X.identifyOnResolve?.()??!1)),J},applyToStack:A,identify:()=>{return M(!0).map((X)=>{let J=X.step??X.relation+" "+X.toMiddleware;return c(X.name,X.aliases)+" - "+J})},identifyOnResolve(X){if(typeof X==="boolean")w=X;return w},resolve:(X,J)=>{for(let f of M().map((G)=>G.middleware).reverse())X=f(X,J);if(w)console.log(Y.identify());return X}};return Y},l1={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},o1={high:3,normal:2,low:1},hw=($)=>$[m.SMITHY_CONTEXT_KEY]||($[m.SMITHY_CONTEXT_KEY]={}),Uw=($)=>{if(typeof $==="function")return $;let T=Promise.resolve($);return()=>T},Aw=($)=>()=>{throw Error($)},_w=($)=>()=>Promise.reject($),W0=()=>{let $=new WeakSet;return(T,w)=>{if(typeof w==="object"&&w!==null){if($.has(w))return"[Circular]";$.add(w)}return w}},Mw=($)=>{return new Promise((T)=>setTimeout(T,$*1000))},$$={minDelay:2,maxDelay:120};sw.WaiterState=void 0;(function($){$.ABORTED="ABORTED",$.FAILURE="FAILURE",$.SUCCESS="SUCCESS",$.RETRY="RETRY",$.TIMEOUT="TIMEOUT"})(sw.WaiterState||(sw.WaiterState={}));var Xw=($)=>{if($.state===sw.WaiterState.ABORTED){let T=Error(`${JSON.stringify({...$,reason:"Request was aborted"},W0())}`);throw T.name="AbortError",T}else if($.state===sw.WaiterState.TIMEOUT){let T=Error(`${JSON.stringify({...$,reason:"Waiter has timed out"},W0())}`);throw T.name="TimeoutError",T}else if($.state!==sw.WaiterState.SUCCESS)throw Error(`${JSON.stringify($,W0())}`);return $},Jw=async({minDelay:$,maxDelay:T,maxWaitTime:w,abortController:P,client:I,abortSignal:h},U,A)=>{let _={},[M,Y]=[$*1000,T*1000],X=0,J=Date.now()+w*1000,f=Date.now()+60000,G=!1;while(!0){if(X>0){let R=Gw(M,Y,X,J);if(P?.signal?.aborted||h?.aborted)return _["AbortController signal aborted."]|=0,_["AbortController signal aborted."]+=1,{state:sw.WaiterState.ABORTED,observedResponses:_};if(Date.now()+R>J)return{state:sw.WaiterState.TIMEOUT,observedResponses:_};await Mw(R/1000)}let{state:Q,reason:Z}=await A(I,U);if(Z){let R=fw(Z);_[R]|=0,_[R]+=1}if(Q!==sw.WaiterState.RETRY)return{state:Q,reason:Z,final:Z,observedResponses:_};if(X+=1,!G&&Date.now()>=f)Yw(_,I),G=!0}},Yw=($={},T)=>{let w=Object.keys($),P=0;for(let U of w){let A=$[U]|0;if(U.startsWith("403:"))P+=A}let I=T?.config?.logger,h=typeof I?.warn==="function"&&!I.constructor?.name?.includes?.("NoOpLogger")?I:console;if(P>=3||w[w.length-1]?.startsWith("403:"))h.warn("@smithy/util-waiter WARN - 403 status code encountered during waiter polling.")},fw=($)=>{let T=$?.$response?.statusCode??$?.$metadata?.httpStatusCode;if($?.$responseBodyText)return`${T?T+": ":""}Deserialization error for body: ${$.$responseBodyText}`;if(T){if($?.$response||$?.message)return`${T??"Unknown"}: ${$?.message}`;return`${T}: OK`}return String($?.message??JSON.stringify($,W0())??"Unknown")},Gw=($,T,w,P)=>{let I=Math.log(T/$)/Math.log(2)+1;if(w>I)return T;let h=$*2**(w-1),U=Math.min(h,T),A=Zw($,U);if(Date.now()+A>P){let _=P-Date.now();return Math.max(0,_-500)}return A},Zw=($,T)=>$+Math.random()*(T-$),Rw=($)=>{if($.maxWaitTime<=0)throw Error("WaiterConfiguration.maxWaitTime must be greater than 0");else if($.minDelay<=0)throw Error("WaiterConfiguration.minDelay must be greater than 0");else if($.maxDelay<=0)throw Error("WaiterConfiguration.maxDelay must be greater than 0");else if($.maxWaitTime<=$.minDelay)throw Error(`WaiterConfiguration.maxWaitTime [${$.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${$.minDelay}] for this waiter`);else if($.maxDelay<$.minDelay)throw Error(`WaiterConfiguration.maxDelay [${$.maxDelay}] must be greater than WaiterConfiguration.minDelay [${$.minDelay}] for this waiter`)},a1=($)=>{let T,w=new Promise((P)=>{if(T=()=>P({state:sw.WaiterState.ABORTED}),typeof $.addEventListener==="function")$.addEventListener("abort",T);else $.onabort=T});return{clearListener(){if(typeof $.removeEventListener==="function")$.removeEventListener("abort",T)},aborted:w}},Qw=async($,T,w)=>{let P={...$$,...$};Rw(P);let I=[Jw(P,T,w)],h=[];if($.abortSignal){let{aborted:U,clearListener:A}=a1($.abortSignal);h.push(A),I.push(U)}if($.abortController?.signal){let{aborted:U,clearListener:A}=a1($.abortController.signal);h.push(A),I.push(U)}return Promise.race(I).then((U)=>{for(let A of h)A();return U})};class T${config;middlewareStack=I0();initConfig;handlers;constructor($){this.config=$;let{protocol:T,protocolSettings:w}=$;if(w){if(typeof T==="function")$.protocol=new T(w)}}send($,T,w){let P=typeof T!=="function"?T:void 0,I=typeof T==="function"?T:w,h=P===void 0&&this.config.cacheMiddleware===!0,U;if(h){if(!this.handlers)this.handlers=new WeakMap;let A=this.handlers;if(A.has($.constructor))U=A.get($.constructor);else U=$.resolveMiddleware(this.middlewareStack,this.config,P),A.set($.constructor,U)}else delete this.handlers,U=$.resolveMiddleware(this.middlewareStack,this.config,P);if(I)U($).then((A)=>I(null,A.output),(A)=>I(A)).catch(()=>{});else return U($).then((A)=>A.output)}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}var P1="***SensitiveInformation***";function H0($,T){if(T==null)return T;let w=Iw.NormalizedSchema.of($);if(w.getMergedTraits().sensitive)return P1;if(w.isListSchema()){if(!!w.getValueSchema().getMergedTraits().sensitive)return P1}else if(w.isMapSchema()){if(!!w.getKeySchema().getMergedTraits().sensitive||!!w.getValueSchema().getMergedTraits().sensitive)return P1}else if(w.isStructSchema()&&typeof T==="object"){let P=T,I={};for(let[h,U]of w.structIterator())if(P[h]!=null)I[h]=H0(U,P[h]);return I}return T}class U1{middlewareStack=I0();schema;static classBuilder(){return new w$}resolveMiddlewareWithContext($,T,w,{middlewareFn:P,clientName:I,commandName:h,inputFilterSensitiveLog:U,outputFilterSensitiveLog:A,smithyContext:_,additionalContext:M,CommandCtor:Y}){for(let Z of P.bind(this)(Y,$,T,w))this.middlewareStack.use(Z);let X=$.concat(this.middlewareStack),{logger:J}=T,f={logger:J,clientName:I,commandName:h,inputFilterSensitiveLog:U,outputFilterSensitiveLog:A,[m.SMITHY_CONTEXT_KEY]:{commandInstance:this,..._},...M},{requestHandler:G}=T,Q=w??{};if(_.eventStream)Q={isEventStream:!0,...Q};return X.resolve((Z)=>G.handle(Z.request,Q),f)}}class w${_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName="";_clientName="";_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;_serializer=null;_deserializer=null;_operationSchema;init($){this._init=$}ep($){return this._ep=$,this}m($){return this._middlewareFn=$,this}s($,T,w={}){return this._smithyContext={service:$,operation:T,...w},this}c($={}){return this._additionalContext=$,this}n($,T){return this._clientName=$,this._commandName=T,this}f($=(w)=>w,T=(w)=>w){return this._inputFilterSensitiveLog=$,this._outputFilterSensitiveLog=T,this}ser($){return this._serializer=$,this}de($){return this._deserializer=$,this}sc($){return this._operationSchema=$,this._smithyContext.operationSchema=$,this}build(){let $=this,T;return T=class extends U1{input;static getEndpointParameterInstructions(){return $._ep}constructor(...[w]){super();this.input=w??{},$._init(this),this.schema=$._operationSchema}resolveMiddleware(w,P,I){let h=$._operationSchema,U=h?.[4]??h?.input,A=h?.[5]??h?.output;return this.resolveMiddlewareWithContext(w,P,I,{CommandCtor:T,middlewareFn:$._middlewareFn,clientName:$._clientName,commandName:$._commandName,inputFilterSensitiveLog:$._inputFilterSensitiveLog??(h?H0.bind(null,U):(_)=>_),outputFilterSensitiveLog:$._outputFilterSensitiveLog??(h?H0.bind(null,A):(_)=>_),smithyContext:$._smithyContext,additionalContext:$._additionalContext})}serialize=$._serializer;deserialize=$._deserializer}}}var Vw="***SensitiveInformation***",Ow=($,T,w)=>{for(let[h,U]of Object.entries($)){let A=async function(M,Y,X){let J=new U(M);if(typeof Y==="function")this.send(J,Y);else if(typeof X==="function"){if(typeof Y!=="object")throw Error(`Expected http options but got ${typeof Y}`);this.send(J,Y||{},X)}else return this.send(J,Y)},_=(h[0].toLowerCase()+h.slice(1)).replace(/Command$/,"");T.prototype[_]=A}let{paginators:P={},waiters:I={}}=w??{};for(let[h,U]of Object.entries(P))if(T.prototype[h]===void 0)T.prototype[h]=function(A={},_,...M){return U({..._,client:this},A,...M)};for(let[h,U]of Object.entries(I))if(T.prototype[h]===void 0)T.prototype[h]=async function(A={},_,...M){let Y=_;if(typeof _==="number")Y={maxWaitTime:_};return U({...Y,client:this},A,...M)}};class t extends Error{$fault;$response;$retryable;$metadata;constructor($){super($.message);Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=$.name,this.$fault=$.$fault,this.$metadata=$.$metadata}static isInstance($){if(!$)return!1;let T=$;return t.prototype.isPrototypeOf(T)||Boolean(T.$fault)&&Boolean(T.$metadata)&&(T.$fault==="client"||T.$fault==="server")}static[Symbol.hasInstance]($){if(!$)return!1;let T=$;if(this===t)return t.isInstance($);if(t.isInstance($)){if(T.name&&this.name)return this.prototype.isPrototypeOf($)||T.name===this.name;return this.prototype.isPrototypeOf($)}return!1}}var P$=($,T={})=>{Object.entries(T).filter(([,P])=>P!==void 0).forEach(([P,I])=>{if($[P]==null||$[P]==="")$[P]=I});let w=$.message||$.Message||"UnknownError";return $.message=w,delete $.Message,$},I$=({output:$,parsedBody:T,exceptionCtor:w,errorCode:P})=>{let I=Lw($),h=I.httpStatusCode?I.httpStatusCode+"":void 0,U=new w({name:T?.code||T?.Code||P||h||"UnknownError",$fault:"client",$metadata:I});throw P$(U,T)},Nw=($)=>{return({output:T,parsedBody:w,errorCode:P})=>{I$({output:T,parsedBody:w,exceptionCtor:$,errorCode:P})}},Lw=($)=>({httpStatusCode:$.statusCode,requestId:$.headers["x-amzn-requestid"]??$.headers["x-amzn-request-id"]??$.headers["x-amz-request-id"],extendedRequestId:$.headers["x-amz-id-2"],cfId:$.headers["x-amz-cf-id"]}),Ww=($)=>{switch($){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{}}},e1=!1,Hw=($)=>{if($&&!e1&&parseInt($.substring(1,$.indexOf(".")))<16)e1=!0},h$=Object.values(m.AlgorithmId),U$=($)=>{let T=[];for(let w in m.AlgorithmId){let P=m.AlgorithmId[w];if($[P]===void 0)continue;T.push({algorithmId:()=>P,checksumConstructor:()=>$[P]})}for(let[w,P]of Object.entries($.checksumAlgorithms??{}))T.push({algorithmId:()=>w,checksumConstructor:()=>P});return{addChecksumAlgorithm(w){$.checksumAlgorithms=$.checksumAlgorithms??{};let P=w.algorithmId(),I=w.checksumConstructor();if(h$.includes(P))$.checksumAlgorithms[P.toUpperCase()]=I;else $.checksumAlgorithms[P]=I;T.push(w)},checksumAlgorithms(){return T}}},A$=($)=>{let T={};return $.checksumAlgorithms().forEach((w)=>{let P=w.algorithmId();if(h$.includes(P))T[P]=w.checksumConstructor()}),T},_$=($)=>{return{setRetryStrategy(T){$.retryStrategy=T},retryStrategy(){return $.retryStrategy}}},M$=($)=>{let T={};return T.retryStrategy=$.retryStrategy(),T},X$=($)=>{return Object.assign(U$($),_$($))},Dw=X$,Ew=($)=>{return Object.assign(A$($),M$($))},Kw=($)=>Array.isArray($)?$:[$],J$=($)=>{for(let w in $)if($.hasOwnProperty(w)&&$[w]["#text"]!==void 0)$[w]=$[w]["#text"];else if(typeof $[w]==="object"&&$[w]!==null)$[w]=J$($[w]);return $},Bw=($)=>{return $!=null};class Y${trace(){}debug(){}info(){}warn(){}error(){}}function f$($,T,w){let P,I,h;if(typeof T>"u"&&typeof w>"u")P={},h=$;else if(P=$,typeof T==="function")return I=T,h=w,Fw(P,I,h);else h=T;for(let U of Object.keys(h)){if(!Array.isArray(h[U])){P[U]=h[U];continue}G$(P,null,h,U)}return P}var qw=($)=>{let T={};for(let[w,P]of Object.entries($||{}))T[w]=[,P];return T},xw=($,T)=>{let w={};for(let P in T)G$(w,$,T,P);return w},Fw=($,T,w)=>{return f$($,Object.entries(w).reduce((P,[I,h])=>{if(Array.isArray(h))P[I]=h;else if(typeof h==="function")P[I]=[T,h()];else P[I]=[T,h];return P},{}))},G$=($,T,w,P)=>{if(T!==null){let U=w[P];if(typeof U==="function")U=[,U];let[A=zw,_=Sw,M=P]=U;if(typeof A==="function"&&A(T[M])||typeof A!=="function"&&!!A)$[P]=_(T[M]);return}let[I,h]=w[P];if(typeof h==="function"){let U,A=I===void 0&&(U=h())!=null,_=typeof I==="function"&&!!I(void 0)||typeof I!=="function"&&!!I;if(A)$[P]=U;else if(_)$[P]=h()}else{let U=I===void 0&&h!=null,A=typeof I==="function"&&!!I(h)||typeof I!=="function"&&!!I;if(U||A)$[P]=h}},zw=($)=>$!=null,Sw=($)=>$,jw=($)=>{if($!==$)return"NaN";switch($){case 1/0:return"Infinity";case-1/0:return"-Infinity";default:return $}},Cw=($)=>$.toISOString().replace(".000Z","Z"),I1=($)=>{if($==null)return{};if(Array.isArray($))return $.filter((T)=>T!=null).map(I1);if(typeof $==="object"){let T={};for(let w of Object.keys($)){if($[w]==null)continue;T[w]=I1($[w])}return T}return $};sw.AlgorithmId=m.AlgorithmId;sw.Client=T$;sw.Command=U1;sw.NoOpLogger=Y$;sw.SENSITIVE_STRING=Vw;sw.ServiceException=t;sw._json=I1;sw.checkExceptions=Xw;sw.constructStack=I0;sw.convertMap=qw;sw.createAggregatedClient=Ow;sw.createWaiter=Qw;sw.decorateServiceException=P$;sw.emitWarningIfUnsupportedVersion=Hw;sw.getArrayIfSingleItem=Kw;sw.getChecksumConfiguration=U$;sw.getDefaultClientConfiguration=Dw;sw.getDefaultExtensionConfiguration=X$;sw.getRetryConfiguration=_$;sw.getSmithyContext=hw;sw.getValueFromTextNode=J$;sw.invalidFunction=Aw;sw.invalidProvider=_w;sw.isSerializableHeaderValue=Bw;sw.loadConfigsForDefaultMode=Ww;sw.map=f$;sw.normalizeProvider=Uw;sw.resolveChecksumRuntimeConfig=A$;sw.resolveDefaultRuntimeConfig=Ew;sw.resolveRetryRuntimeConfig=M$;sw.schemaLogFilter=H0;sw.serializeDateTime=Cw;sw.serializeFloat=jw;sw.take=xw;sw.throwDefaultError=I$;sw.waiterServiceDefaults=$$;sw.withBaseException=Nw});var C$=y((ZI)=>{var OP=b("node:os"),i=b("node:path"),NP=b("node:crypto"),N$=b("node:fs/promises"),E0=P0(),K0=D0(),LP=F0();class u extends Error{name="ProviderError";tryNextLink;constructor($,T=!0){let w,P=!0;if(typeof T==="boolean")w=void 0,P=T;else if(T!=null&&typeof T==="object")w=T.logger,P=T.tryNextLink??!0;super($);this.tryNextLink=P,Object.setPrototypeOf(this,u.prototype),w?.debug?.(`@smithy/property-provider ${P?"->":"(!)"} ${$}`)}static from($,T=!0){return Object.assign(new this($.message,T),$)}}class h0 extends u{name="CredentialsProviderError";constructor($,T=!0){super($,T);Object.setPrototypeOf(this,h0.prototype)}}class J1 extends u{name="TokenProviderError";constructor($,T=!0){super($,T);Object.setPrototypeOf(this,J1.prototype)}}var L$=(...$)=>async()=>{if($.length===0)throw new u("No providers in chain");let T;for(let w of $)try{return await w()}catch(P){if(T=P,P?.tryNextLink)continue;throw P}throw T},W$=($)=>()=>Promise.resolve($),Y1=($,T,w)=>{let P,I,h,U=!1,A=async()=>{if(!I)I=$();try{P=await I,h=!0,U=!1}finally{I=void 0}return P};if(T===void 0)return async(_)=>{if(!h||_?.forceRefresh)P=await A();return P};return async(_)=>{if(!h||_?.forceRefresh)P=await A();if(U)return P;if(w&&!w(P))return U=!0,P;if(T(P))return await A(),P;return P}},F=($,T,w)=>{if(!(T in $))return;if($[T]==="true")return!0;if($[T]==="false")return!1;throw Error(`Cannot load ${w} "${T}". Expected "true" or "false", got ${$[T]}.`)},WP=($,T,w)=>{if(!(T in $))return;let P=parseInt($[T],10);if(Number.isNaN(P))throw TypeError(`Cannot load ${w} '${T}'. Expected number, got '${$[T]}'.`);return P};ZI.SelectorType=void 0;(function($){$.ENV="env",$.CONFIG="shared config entry"})(ZI.SelectorType||(ZI.SelectorType={}));var A1={},HP=()=>{if(process&&process.geteuid)return`${process.geteuid()}`;return"DEFAULT"},U0=()=>{let{HOME:$,USERPROFILE:T,HOMEPATH:w,HOMEDRIVE:P=`C:${i.sep}`}=process.env;if($)return $;if(T)return T;if(w)return`${P}${w}`;let I=HP();if(!A1[I])A1[I]=OP.homedir();return A1[I]},H$="AWS_PROFILE",D$="default",E$=($)=>$.profile||process.env[H$]||D$,K$=($)=>{let w=NP.createHash("sha1").update($).digest("hex");return i.join(U0(),".aws","sso","cache",`${w}.json`)},B0={},DP=async($)=>{if(B0[$])return B0[$];let T=K$($),w=await N$.readFile(T,"utf8");return JSON.parse(w)},d=".",EP=($)=>Object.entries($).filter(([T])=>{let w=T.indexOf(d);if(w===-1)return!1;return Object.values(E0.IniSectionType).includes(T.substring(0,w))}).reduce((T,[w,P])=>{let I=w.indexOf(d),h=w.substring(0,I)===E0.IniSectionType.PROFILE?w.substring(I+1):w;return T[h]=P,T},{...$.default&&{default:$.default}}),KP="AWS_CONFIG_FILE",B$=()=>process.env[KP]||i.join(U0(),".aws","config"),BP="AWS_SHARED_CREDENTIALS_FILE",qP=()=>process.env[BP]||i.join(U0(),".aws","credentials"),xP=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,FP=["__proto__","profile __proto__"],M1=($)=>{let T={},w,P;for(let I of $.split(/\r?\n/)){let h=I.split(/(^|\s)[;#]/)[0].trim();if(h[0]==="["&&h[h.length-1]==="]"){w=void 0,P=void 0;let A=h.substring(1,h.length-1),_=xP.exec(A);if(_){let[,M,,Y]=_;if(Object.values(E0.IniSectionType).includes(M))w=[M,Y].join(d)}else w=A;if(FP.includes(A))throw Error(`Found invalid profile name "${A}"`)}else if(w){let A=h.indexOf("=");if(![0,-1].includes(A)){let[_,M]=[h.substring(0,A).trim(),h.substring(A+1).trim()];if(M==="")P=_;else{if(P&&I.trimStart()===I)P=void 0;T[w]=T[w]||{};let Y=P?[P,_].join(d):_;T[w][Y]=M}}}}return T},_1={},q0={},x0=($,T)=>{if(q0[$]!==void 0)return q0[$];if(!_1[$]||T?.ignoreCache)_1[$]=N$.readFile($,"utf8");return _1[$]},Z$=()=>({}),f1=async($={})=>{let{filepath:T=qP(),configFilepath:w=B$()}=$,P=U0(),I="~/",h=T;if(T.startsWith("~/"))h=i.join(P,T.slice(2));let U=w;if(w.startsWith("~/"))U=i.join(P,w.slice(2));let A=await Promise.all([x0(U,{ignoreCache:$.ignoreCache}).then(M1).then(EP).catch(Z$),x0(h,{ignoreCache:$.ignoreCache}).then(M1).catch(Z$)]);return{configFile:A[0],credentialsFile:A[1]}},zP=($)=>Object.entries($).filter(([T])=>T.startsWith(E0.IniSectionType.SSO_SESSION+d)).reduce((T,[w,P])=>({...T,[w.substring(w.indexOf(d)+1)]:P}),{}),SP=()=>({}),jP=async($={})=>x0($.configFilepath??B$()).then(M1).then(zP).catch(SP),CP=(...$)=>{let T={};for(let w of $)for(let[P,I]of Object.entries(w))if(T[P]!==void 0)Object.assign(T[P],I);else T[P]=I;return T},sP=async($)=>{let T=await f1($);return CP(T.configFile,T.credentialsFile)},cP={getFileRecord(){return q0},interceptFile($,T){q0[$]=Promise.resolve(T)},getTokenRecord(){return B0},interceptToken($,T){B0[$]=T}};function q$($){try{let T=new Set(Array.from($.match(/([A-Z_]){3,}/g)??[]));return T.delete("CONFIG"),T.delete("CONFIG_PREFIX_SEPARATOR"),T.delete("ENV"),[...T].join(", ")}catch(T){return $}}var bP=($,T)=>async()=>{try{let w=$(process.env,T);if(w===void 0)throw Error();return w}catch(w){throw new h0(w.message||`Not found in ENV: ${q$($.toString())}`,{logger:T?.logger})}},kP=($,{preferredFile:T="config",...w}={})=>async()=>{let P=E$(w),{configFile:I,credentialsFile:h}=await f1(w),U=h[P]||{},A=I[P]||{},_=T==="config"?{...U,...A}:{...A,...U};try{let Y=$(_,T==="config"?I:h);if(Y===void 0)throw Error();return Y}catch(M){throw new h0(M.message||`Not found in config files w/ profile [${P}]: ${q$($.toString())}`,{logger:w.logger})}},pP=($)=>typeof $==="function",x$=($)=>pP($)?async()=>await $():W$($),X1=({environmentVariableSelector:$,configFileSelector:T,default:w},P={})=>{let{signingName:I,logger:h}=P;return Y1(L$(bP($,{signingName:I,logger:h}),kP(T,P),x$(w)))},G1="AWS_USE_DUALSTACK_ENDPOINT",Z1="use_dualstack_endpoint",yP=!1,gP={environmentVariableSelector:($)=>F($,G1,ZI.SelectorType.ENV),configFileSelector:($)=>F($,Z1,ZI.SelectorType.CONFIG),default:!1},mP={environmentVariableSelector:($)=>F($,G1,ZI.SelectorType.ENV),configFileSelector:($)=>F($,Z1,ZI.SelectorType.CONFIG),default:void 0},R1="AWS_USE_FIPS_ENDPOINT",Q1="use_fips_endpoint",dP=!1,vP={environmentVariableSelector:($)=>F($,R1,ZI.SelectorType.ENV),configFileSelector:($)=>F($,Q1,ZI.SelectorType.CONFIG),default:!1},nP={environmentVariableSelector:($)=>F($,R1,ZI.SelectorType.ENV),configFileSelector:($)=>F($,Q1,ZI.SelectorType.CONFIG),default:void 0},tP=($)=>{let{tls:T,endpoint:w,urlParser:P,useDualstackEndpoint:I}=$;return Object.assign($,{tls:T??!0,endpoint:K0.normalizeProvider(typeof w==="string"?P(w):w),isCustomEndpoint:!0,useDualstackEndpoint:K0.normalizeProvider(I??!1)})},iP=async($)=>{let{tls:T=!0}=$,w=await $.region();if(!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(w))throw Error("Invalid region in client config");let I=await $.useDualstackEndpoint(),h=await $.useFipsEndpoint(),{hostname:U}=await $.regionInfoProvider(w,{useDualstackEndpoint:I,useFipsEndpoint:h})??{};if(!U)throw Error("Cannot resolve hostname from client config");return $.urlParser(`${T?"https:":"http:"}//${U}`)},uP=($)=>{let T=K0.normalizeProvider($.useDualstackEndpoint??!1),{endpoint:w,useFipsEndpoint:P,urlParser:I,tls:h}=$;return Object.assign($,{tls:h??!0,endpoint:w?K0.normalizeProvider(typeof w==="string"?I(w):w):()=>iP({...$,useDualstackEndpoint:T,useFipsEndpoint:P}),isCustomEndpoint:!!w,useDualstackEndpoint:T})},F$="AWS_REGION",z$="region",S$={environmentVariableSelector:($)=>$[F$],configFileSelector:($)=>$[z$],default:()=>{throw Error("Region is missing")}},rP={preferredFile:"credentials"},R$=new Set,lP=($,T=LP.isValidHostLabel)=>{if(!R$.has($)&&!T($))if($==="*")console.warn('@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.');else throw Error(`Region not accepted: region="${$}" is not a valid hostname component.`);else R$.add($)},j$=($)=>typeof $==="string"&&($.startsWith("fips-")||$.endsWith("-fips")),oP=($)=>j$($)?["fips-aws-global","aws-fips"].includes($)?"us-east-1":$.replace(/fips-(dkr-|prod-)?|-fips/,""):$,aP=($)=>{let{region:T,useFipsEndpoint:w}=$;if(!T)throw Error("Region is missing");return Object.assign($,{region:async()=>{let P=typeof T==="function"?await T():T,I=oP(P);return lP(I),I},useFipsEndpoint:async()=>{let P=typeof T==="string"?T:await T();if(j$(P))return!0;return typeof w!=="function"?Promise.resolve(!!w):w()}})},Q$=($=[],{useFipsEndpoint:T,useDualstackEndpoint:w})=>$.find(({tags:P})=>T===P.includes("fips")&&w===P.includes("dualstack"))?.hostname,eP=($,{regionHostname:T,partitionHostname:w})=>T?T:w?w.replace("{region}",$):void 0,$I=($,{partitionHash:T})=>Object.keys(T||{}).find((w)=>T[w].regions.includes($))??"aws",TI=($,{signingRegion:T,regionRegex:w,useFipsEndpoint:P})=>{if(T)return T;else if(P){let I=w.replace("\\\\","\\").replace(/^\^/g,"\\.").replace(/\$$/g,"\\."),h=$.match(I);if(h)return h[0].slice(1,-1)}},wI=($,{useFipsEndpoint:T=!1,useDualstackEndpoint:w=!1,signingService:P,regionHash:I,partitionHash:h})=>{let U=$I($,{partitionHash:h}),A=$ in I?$:h[U]?.endpoint??$,_={useFipsEndpoint:T,useDualstackEndpoint:w},M=Q$(I[A]?.variants,_),Y=Q$(h[U]?.variants,_),X=eP(A,{regionHostname:M,partitionHostname:Y});if(X===void 0)throw Error(`Endpoint resolution failed for: ${{resolvedRegion:A,useFipsEndpoint:T,useDualstackEndpoint:w}}`);let J=TI(X,{signingRegion:I[A]?.signingRegion,regionRegex:h[U].regionRegex,useFipsEndpoint:T});return{partition:U,signingService:P,hostname:X,...J&&{signingRegion:J},...I[A]?.signingService&&{signingService:I[A].signingService}}},PI="AWS_EXECUTION_ENV",V$="AWS_REGION",O$="AWS_DEFAULT_REGION",II="AWS_EC2_METADATA_DISABLED",hI=["in-region","cross-region","mobile","standard","legacy"],UI="/latest/meta-data/placement/region",AI="AWS_DEFAULTS_MODE",_I="defaults_mode",MI={environmentVariableSelector:($)=>{return $[AI]},configFileSelector:($)=>{return $[_I]},default:"legacy"},XI=({region:$=X1(S$),defaultsMode:T=X1(MI)}={})=>Y1(async()=>{let w=typeof T==="function"?await T():T;switch(w?.toLowerCase()){case"auto":return JI($);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(w?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw Error(`Invalid parameter for "defaultsMode", expect ${hI.join(", ")}, got ${w}`)}}),JI=async($)=>{if($){let T=typeof $==="function"?await $():$,w=await YI();if(!w)return"standard";if(T===w)return"in-region";else return"cross-region"}return"standard"},YI=async()=>{if(process.env[PI]&&(process.env[V$]||process.env[O$]))return process.env[V$]??process.env[O$];if(!process.env[II])try{let $=await fI();return(await GI({hostname:$.hostname,path:UI})).toString()}catch($){}},fI=async()=>{let $=process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT;if($){let w=new URL($);return{hostname:w.hostname,path:w.pathname}}if(process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE==="IPv6")return{hostname:"fd00:ec2::254",path:"/"};return{hostname:"169.254.169.254",path:"/"}},GI=async({hostname:$,path:T})=>{let{request:w}=await import("node:http");return new Promise((P,I)=>{let h=w({method:"GET",hostname:$.replace(/^\[(.+)]$/,"$1"),path:T,timeout:1000,signal:AbortSignal.timeout(1000)});h.on("error",(U)=>{I(U),h.destroy()}),h.on("timeout",()=>{I(Error("TimeoutError from instance metadata service")),h.destroy()}),h.on("response",(U)=>{let{statusCode:A=400}=U;if(A<200||300<=A){I(Object.assign(Error("Error response received from instance metadata service"),{statusCode:A})),h.destroy();return}let _=[];U.on("data",(M)=>_.push(M)),U.on("end",()=>{P(Buffer.concat(_)),h.destroy()})}),h.end()})};ZI.CONFIG_PREFIX_SEPARATOR=d;ZI.CONFIG_USE_DUALSTACK_ENDPOINT=Z1;ZI.CONFIG_USE_FIPS_ENDPOINT=Q1;ZI.CredentialsProviderError=h0;ZI.DEFAULT_PROFILE=D$;ZI.DEFAULT_USE_DUALSTACK_ENDPOINT=yP;ZI.DEFAULT_USE_FIPS_ENDPOINT=dP;ZI.ENV_PROFILE=H$;ZI.ENV_USE_DUALSTACK_ENDPOINT=G1;ZI.ENV_USE_FIPS_ENDPOINT=R1;ZI.NODE_REGION_CONFIG_FILE_OPTIONS=rP;ZI.NODE_REGION_CONFIG_OPTIONS=S$;ZI.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=gP;ZI.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=vP;ZI.ProviderError=u;ZI.REGION_ENV_NAME=F$;ZI.REGION_INI_NAME=z$;ZI.TokenProviderError=J1;ZI.booleanSelector=F;ZI.chain=L$;ZI.externalDataInterceptor=cP;ZI.fromStatic=x$;ZI.fromValue=W$;ZI.getHomeDir=U0;ZI.getProfileName=E$;ZI.getRegionInfo=wI;ZI.getSSOTokenFilepath=K$;ZI.getSSOTokenFromFile=DP;ZI.loadConfig=X1;ZI.loadSharedConfigFiles=f1;ZI.loadSsoSessionData=jP;ZI.memoize=Y1;ZI.nodeDualstackConfigSelectors=mP;ZI.nodeFipsConfigSelectors=nP;ZI.numberSelector=WP;ZI.parseKnownFiles=sP;ZI.readFile=x0;ZI.resolveCustomEndpointsConfig=tP;ZI.resolveDefaultsModeConfig=XI;ZI.resolveEndpointsConfig=uP;ZI.resolveRegionConfig=aP});var F0=y((yh)=>{var N1=C$(),s$=C0(),z0=D0(),L1=P0(),c$="AWS_ENDPOINT_URL",b$="endpoint_url",Ph=($)=>({environmentVariableSelector:(T)=>{let w=$.split(" ").map((h)=>h.toUpperCase()),P=T[[c$,...w].join("_")];if(P)return P;let I=T[c$];if(I)return I;return},configFileSelector:(T,w)=>{if(w&&T.services){let I=w[["services",T.services].join(N1.CONFIG_PREFIX_SEPARATOR)];if(I){let h=$.split(" ").map((A)=>A.toLowerCase()),U=I[[h.join("_"),b$].join(N1.CONFIG_PREFIX_SEPARATOR)];if(U)return U}}let P=T[b$];if(P)return P;return},default:void 0}),S0=async($)=>N1.loadConfig(Ph($??""))(),Ih=async($)=>{let T=$?.Bucket||"";if(typeof $.Bucket==="string")$.Bucket=T.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(Mh(T)){if($.ForcePathStyle===!0)throw Error("Path-style addressing cannot be used with ARN buckets")}else if(!_h(T)||T.indexOf(".")!==-1&&!String($.Endpoint).startsWith("http:")||T.toLowerCase()!==T||T.length<3)$.ForcePathStyle=!0;if($.DisableMultiRegionAccessPoints)$.disableMultiRegionAccessPoints=!0,$.DisableMRAP=!0;return $},hh=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,Uh=/(\d+\.){3}\d+/,Ah=/\.\./,_h=($)=>hh.test($)&&!Uh.test($)&&!Ah.test($),Mh=($)=>{let[T,w,P,,,I]=$.split(":"),h=T==="arn"&&$.split(":").length>=6,U=Boolean(h&&w&&P&&I);if(h&&!U)throw Error(`Invalid ARN: ${$} was an invalid ARN.`);return U},Xh=($,T,w,P=!1)=>{let I=async()=>{let h;if(P)h=w.clientContextParams?.[$]??w[$]??w[T];else h=w[$]??w[T];if(typeof h==="function")return h();return h};if($==="credentialScope"||T==="CredentialScope")return async()=>{let h=typeof w.credentials==="function"?await w.credentials():w.credentials;return h?.credentialScope??h?.CredentialScope};if($==="accountId"||T==="AccountId")return async()=>{let h=typeof w.credentials==="function"?await w.credentials():w.credentials;return h?.accountId??h?.AccountId};if($==="endpoint"||T==="endpoint")return async()=>{if(w.isCustomEndpoint===!1)return;let h=await I();if(h&&typeof h==="object"){if("url"in h)return h.url.href;if("hostname"in h){let{protocol:U,hostname:A,port:_,path:M}=h;return`${U}//${A}${_?":"+_:""}${M}`}}return h};return I},j0=($)=>{if(typeof $==="object"){if("url"in $){let T=s$.parseUrl($.url);if($.headers){T.headers={};for(let w in $.headers)T.headers[w.toLowerCase()]=$.headers[w].join(", ")}return T}return $}return s$.parseUrl($)};function k$($){return async(T,w,P,I)=>{if(!P.isCustomEndpoint){let A;if(P.serviceConfiguredEndpoint)A=await P.serviceConfiguredEndpoint();else A=await $(P.serviceId);if(A)P.endpoint=()=>Promise.resolve(j0(A)),P.isCustomEndpoint=!0}let h=await p$(T,w,P);if(typeof P.endpointProvider!=="function")throw Error("config.endpointProvider is not set.");let U=P.endpointProvider(h,I);if(P.isCustomEndpoint&&P.endpoint){let A=await P.endpoint();if(A?.headers){U.headers??={};for(let[_,M]of Object.entries(A.headers))U.headers[_]=Array.isArray(M)?M:[M]}}return U}}var p$=async($,T,w)=>{let P={},I=T?.getEndpointParameterInstructions?.()||{};for(let[h,U]of Object.entries(I))switch(U.type){case"staticContextParams":P[h]=U.value;break;case"contextParams":P[h]=$[U.name];break;case"clientContextParams":case"builtInParams":P[h]=await Xh(U.name,h,w,U.type!=="builtInParams")();break;case"operationContextParams":P[h]=U.get($);break;default:throw Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(U))}if(Object.keys(I).length===0)Object.assign(P,w);if(String(w.serviceId).toLowerCase()==="s3")await Ih(P);return P};function Jh($,T,w){if(!$.__smithy_context)$.__smithy_context={features:{}};else if(!$.__smithy_context.features)$.__smithy_context.features={};$.__smithy_context.features[T]=w}function y$($){let T=k$($);return({config:w,instructions:P})=>{return(I,h)=>async(U)=>{if(w.isCustomEndpoint)Jh(h,"ENDPOINT_OVERRIDE","N");let A=await T(U.input,{getEndpointParameterInstructions(){return P}},{...w},h);h.endpointV2=A,h.authSchemes=A.properties?.authSchemes;let _=h.authSchemes?.[0];if(_){h.signing_region=_.signingRegion,h.signing_service=_.signingName;let Y=z0.getSmithyContext(h)?.selectedHttpAuthScheme?.httpAuthOption;if(Y)Y.signingProperties=Object.assign(Y.signingProperties||{},{signing_region:_.signingRegion,signingRegion:_.signingRegion,signing_service:_.signingName,signingName:_.signingName,signingRegionSet:_.signingRegionSet},_.properties)}return I({...U})}}}var Yh={name:"serializerMiddleware"},g$={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:Yh.name};function fh($){let T=y$($);return(w,P)=>({applyToStack:(I)=>{I.addRelativeTo(T({config:w,instructions:P}),g$)}})}function Gh($){return(T)=>{let w=T.tls??!0,{endpoint:P,useDualstackEndpoint:I,useFipsEndpoint:h}=T,U=P!=null?async()=>j0(await z0.normalizeProvider(P)()):void 0,_=Object.assign(T,{endpoint:U,tls:w,isCustomEndpoint:!!P,useDualstackEndpoint:z0.normalizeProvider(I??!1),useFipsEndpoint:z0.normalizeProvider(h??!1)}),M=void 0;return _.serviceConfiguredEndpoint=async()=>{if(T.serviceId&&!M)M=$(T.serviceId);return M},_}}class W1{nodes;root;conditions;results;constructor($,T,w,P){this.nodes=$,this.root=T,this.conditions=w,this.results=P}static from($,T,w,P){return new W1($,T,w,P)}}class m${capacity;data=new Map;parameters=[];constructor({size:$,params:T}){if(this.capacity=$??50,T)this.parameters=T}get($,T){let w=this.hash($);if(w===!1)return T();if(!this.data.has(w)){if(this.data.size>this.capacity+10){let P=this.data.keys(),I=0;while(!0){let{value:h,done:U}=P.next();if(this.data.delete(h),U||++I>10)break}}this.data.set(w,T())}return this.data.get(w)}size(){return this.data.size}hash($){let T="",{parameters:w}=this;if(w.length===0)return!1;for(let P of w){let I=String($[P]??"");if(I.includes("|;"))return!1;T+=I+"|;"}return T}}class N extends Error{constructor($){super($);this.name="EndpointError"}}var A0="endpoints";function k($){if(typeof $!=="object"||$==null)return $;if("ref"in $)return`$${k($.ref)}`;if("fn"in $)return`${$.fn}(${($.argv||[]).map(k).join(", ")})`;return JSON.stringify($,null,2)}var d$={},Zh=($,T)=>$===T;function Rh(...$){for(let T of $)if(T!=null)return T;return}var Qh=($)=>{let T=$.split("."),w=[];for(let P of T){let I=P.indexOf("[");if(I!==-1){if(P.indexOf("]")!==P.length-1)throw new N(`Path: '${$}' does not end with ']'`);let h=P.slice(I+1,-1);if(Number.isNaN(parseInt(h)))throw new N(`Invalid array index: '${h}' in path: '${$}'`);if(I!==0)w.push(P.slice(0,I));w.push(h)}else w.push(P)}return w},v$=($,T)=>Qh(T).reduce((w,P)=>{if(typeof w!=="object")throw new N(`Index '${P}' in '${T}' not found in '${JSON.stringify($)}'`);else if(Array.isArray(w)){let I=parseInt(P);return w[I<0?w.length+I:I]}return w[P]},$),Vh=($)=>$!=null,Oh=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),H1=($,T=!1)=>{if(!T)return Oh.test($);let w=$.split(".");for(let P of w)if(!H1(P))return!1;return!0};function Nh($,T,w){return $?T:w}var Lh=($)=>!$,Wh=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),n$=($)=>Wh.test($)||$.startsWith("[")&&$.endsWith("]"),V1={[L1.EndpointURLScheme.HTTP]:80,[L1.EndpointURLScheme.HTTPS]:443},Hh=($)=>{let T=(()=>{try{if($ instanceof URL)return $;if(typeof $==="object"&&"hostname"in $){let{hostname:J,port:f,protocol:G="",path:Q="",query:Z={}}=$,R=new URL(`${G}//${J}${f?`:${f}`:""}${Q}`);return R.search=Object.entries(Z).map(([V,L])=>`${V}=${L}`).join("&"),R}return new URL($)}catch(J){return null}})();if(!T)return console.error(`Unable to parse ${JSON.stringify($)} as a whatwg URL.`),null;let w=T.href,{host:P,hostname:I,pathname:h,protocol:U,search:A}=T;if(A)return null;let _=U.slice(0,-1);if(!Object.values(L1.EndpointURLScheme).includes(_))return null;let M=n$(I),Y=w.includes(`${P}:${V1[_]}`)||typeof $==="string"&&$.includes(`${P}:${V1[_]}`),X=`${P}${Y?`:${V1[_]}`:""}`;return{scheme:_,authority:X,path:h,normalizedPath:h.endsWith("/")?h:`${h}/`,isIp:M}};function Dh($,T,w){if(w===1)return[$];if($==="")return[""];let P=$.split(T);if(w===0)return P;return P.slice(0,w-1).concat(P.slice(1).join(T))}var Eh=($,T)=>$===T,Kh=($,T,w,P)=>{if($==null||T>=w||$.length<w||/[^\u0000-\u007f]/.test($))return null;if(!P)return $.substring(T,w);return $.substring($.length-w,$.length-T)},Bh=($)=>encodeURIComponent($).replace(/[!*'()]/g,(T)=>`%${T.charCodeAt(0).toString(16).toUpperCase()}`),qh={booleanEquals:Zh,coalesce:Rh,getAttr:v$,isSet:Vh,isValidHostLabel:H1,ite:Nh,not:Lh,parseURL:Hh,split:Dh,stringEquals:Eh,substring:Kh,uriEncode:Bh},t$=($,T)=>{let w=[],{referenceRecord:P,endpointParams:I}=T,h=0;while(h<$.length){let U=$.indexOf("{",h);if(U===-1){w.push($.slice(h));break}w.push($.slice(h,U));let A=$.indexOf("}",U);if(A===-1){w.push($.slice(U));break}if($[U+1]==="{"&&$[A+1]==="}")w.push($.slice(U+1,A)),h=A+2;let _=$.substring(U+1,A);if(_.includes("#")){let[M,Y]=_.split("#");w.push(v$(P[M]??I[M],Y))}else w.push(P[_]??I[_]);h=A+1}return w.join("")},xh=({ref:$},T)=>{return T.referenceRecord[$]??T.endpointParams[$]},_0=($,T,w)=>{if(typeof $==="string")return t$($,w);else if($.fn)return u$.callFunction($,w);else if($.ref)return xh($,w);throw new N(`'${T}': ${String($)} is not a string, function or reference.`)},i$=({fn:$,argv:T},w)=>{let P=Array(T.length);for(let U=0;U<P.length;++U){let A=T[U];if(typeof A==="boolean"||typeof A==="number")P[U]=A;else P[U]=u$.evaluateExpression(A,"arg",w)}let I=$.indexOf(".");if(I!==-1){let A=d$[$.slice(0,I)]?.[$.slice(I+1)];if(typeof A==="function")return A(...P)}let h=qh[$];if(typeof h==="function")return h(...P);throw Error(`function ${$} not loaded in endpointFunctions.`)},u$={evaluateExpression:_0,callFunction:i$},r$=($,T)=>{let{assign:w}=$;if(w&&w in T.referenceRecord)throw new N(`'${w}' is already defined in Reference Record.`);let P=i$($,T);T.logger?.debug?.(`${A0} evaluateCondition: ${k($)} = ${k(P)}`);let I=P===""?!0:!!P;if(w!=null)return{result:I,toAssign:{name:w,value:P}};return{result:I}},l$=($,T)=>Object.entries($??{}).reduce((w,[P,I])=>{return w[P]=I.map((h)=>{let U=_0(h,"Header value entry",T);if(typeof U!=="string")throw new N(`Header '${P}' value '${U}' is not a string`);return U}),w},{}),D1=($,T)=>Object.entries($).reduce((w,[P,I])=>{return w[P]=a$.getEndpointProperty(I,T),w},{}),o$=($,T)=>{if(Array.isArray($))return $.map((w)=>o$(w,T));switch(typeof $){case"string":return t$($,T);case"object":if($===null)throw new N(`Unexpected endpoint property: ${$}`);return a$.getEndpointProperties($,T);case"boolean":return $;default:throw new N(`Unexpected endpoint property type: ${typeof $}`)}},a$={getEndpointProperty:o$,getEndpointProperties:D1},e$=($,T)=>{let w=_0($,"Endpoint URL",T);if(typeof w==="string")try{return new URL(w)}catch(P){throw console.error(`Failed to construct URL with ${w}`,P),P}throw new N(`Endpoint URL must be a string, got ${typeof w}`)},O1=1e8,Fh=($,T)=>{let{nodes:w,root:P,results:I,conditions:h}=$,U=P,A={},_={referenceRecord:A,endpointParams:T.endpointParams,logger:T.logger};while(U!==1&&U!==-1&&U<O1){let M=3*(Math.abs(U)-1),[Y,X,J]=[w[M],w[M+1],w[M+2]],[f,G,Q]=h[Y],Z=r$({fn:f,assign:Q,argv:G},_);if(Z.toAssign){let{name:R,value:V}=Z.toAssign;A[R]=V}U=U>=0===Z.result?X:J}if(U>=O1){let M=I[U-O1];if(M[0]===-1){let[,f]=M;throw new N(_0(f,"Error",_))}let[Y,X,J]=M;return{url:e$(Y,_),properties:D1(X,_),headers:l$(J??{},_)}}throw new N("No matching endpoint.")},E1=($=[],T)=>{let w={},P={...T,referenceRecord:{...T.referenceRecord}},I=!1;for(let h of $){let{result:U,toAssign:A}=r$(h,P);if(!U)return{result:U};if(A)I=!0,w[A.name]=A.value,P.referenceRecord[A.name]=A.value,T.logger?.debug?.(`${A0} assign: ${A.name} := ${k(A.value)}`)}if(I)return{result:!0,referenceRecord:w};return{result:!0}},zh=($,T)=>{let{conditions:w,endpoint:P}=$,{result:I,referenceRecord:h}=E1(w,T);if(!I)return;let U=h?{...T,referenceRecord:{...T.referenceRecord,...h}}:T,{url:A,properties:_,headers:M}=P;T.logger?.debug?.(`${A0} Resolving endpoint from template: ${k(P)}`);let Y={url:e$(A,U)};if(M!=null)Y.headers=l$(M,U);if(_!=null)Y.properties=D1(_,U);return Y},Sh=($,T)=>{let{conditions:w,error:P}=$,{result:I,referenceRecord:h}=E1(w,T);if(!I)return;let U=h?{...T,referenceRecord:{...T.referenceRecord,...h}}:T;throw new N(_0(P,"Error",U))},$T=($,T)=>{for(let w of $)if(w.type==="endpoint"){let P=zh(w,T);if(P)return P}else if(w.type==="error")Sh(w,T);else if(w.type==="tree"){let P=TT.evaluateTreeRule(w,T);if(P)return P}else throw new N(`Unknown endpoint rule: ${w}`);throw new N("Rules evaluation failed")},jh=($,T)=>{let{conditions:w,rules:P}=$,{result:I,referenceRecord:h}=E1(w,T);if(!I)return;let U=h?{...T,referenceRecord:{...T.referenceRecord,...h}}:T;return TT.evaluateRules(P,U)},TT={evaluateRules:$T,evaluateTreeRule:jh},Ch=($,T)=>{let{endpointParams:w,logger:P}=T,{parameters:I,rules:h}=$;T.logger?.debug?.(`${A0} Initial EndpointParams: ${k(w)}`);for(let A in I){let _=I[A],M=w[A];if(M==null&&_.default!=null){w[A]=_.default;continue}if(_.required&&M==null)throw new N(`Missing required parameter: '${A}'`)}let U=$T(h,{endpointParams:w,logger:P,referenceRecord:{}});return T.logger?.debug?.(`${A0} Resolved endpoint: ${k(U)}`),U},sh=($)=>{let{endpoint:T}=$;if(T===void 0)$.endpoint=async()=>{throw Error("@smithy/middleware-endpoint: (default endpointRuleSet) endpoint is not set - you must configure an endpoint.")};return $},ch=k$(S0),bh=Gh(S0),kh=y$(S0),ph=fh(S0);yh.BinaryDecisionDiagram=W1;yh.EndpointCache=m$;yh.EndpointError=N;yh.customEndpointFunctions=d$;yh.decideEndpoint=Fh;yh.endpointMiddleware=kh;yh.endpointMiddlewareOptions=g$;yh.getEndpointFromInstructions=ch;yh.getEndpointPlugin=ph;yh.isIpAddress=n$;yh.isValidHostLabel=H1;yh.middlewareEndpointToEndpointV1=j0;yh.resolveEndpoint=Ch;yh.resolveEndpointConfig=bh;yh.resolveEndpointRequiredConfig=sh;yh.resolveParams=p$;yh.toEndpointV1=j0});var ST=y((DA)=>{var K1=b("node:fs"),IU=C0(),hU=F0(),wT=b("node:crypto"),q=b("node:stream"),UU=($,T,w=(P)=>P)=>$,AU=($)=>{switch($){case"true":return!0;case"false":return!1;default:throw Error(`Unable to parse boolean value "${$}"`)}},_U=($)=>{if($===null||$===void 0)return;if(typeof $==="number"){if($===0||$===1)f0.warn(c0(`Expected boolean, got ${typeof $}: ${$}`));if($===0)return!1;if($===1)return!0}if(typeof $==="string"){let T=$.toLowerCase();if(T==="false"||T==="true")f0.warn(c0(`Expected boolean, got ${typeof $}: ${$}`));if(T==="false")return!1;if(T==="true")return!0}if(typeof $==="boolean")return $;throw TypeError(`Expected boolean, got ${typeof $}: ${$}`)},J0=($)=>{if($===null||$===void 0)return;if(typeof $==="string"){let T=parseFloat($);if(!Number.isNaN(T)){if(String(T)!==String($))f0.warn(c0(`Expected number but observed string: ${$}`));return T}}if(typeof $==="number")return $;throw TypeError(`Expected number, got ${typeof $}: ${$}`)},MU=Math.ceil(340282346638528860000000000000000000000),s0=($)=>{let T=J0($);if(T!==void 0&&!Number.isNaN(T)&&T!==1/0&&T!==-1/0){if(Math.abs(T)>MU)throw TypeError(`Expected 32-bit float, got ${$}`)}return T},Y0=($)=>{if($===null||$===void 0)return;if(Number.isInteger($)&&!Number.isNaN($))return $;throw TypeError(`Expected integer, got ${typeof $}: ${$}`)},XU=Y0,x1=($)=>j1($,32),F1=($)=>j1($,16),z1=($)=>j1($,8),j1=($,T)=>{let w=Y0($);if(w!==void 0&&JU(w,T)!==w)throw TypeError(`Expected ${T}-bit integer, got ${$}`);return w},JU=($,T)=>{switch(T){case 32:return Int32Array.of($)[0];case 16:return Int16Array.of($)[0];case 8:return Int8Array.of($)[0]}},YU=($,T)=>{if($===null||$===void 0){if(T)throw TypeError(`Expected a non-null value for ${T}`);throw TypeError("Expected a non-null value")}return $},MT=($)=>{if($===null||$===void 0)return;if(typeof $==="object"&&!Array.isArray($))return $;let T=Array.isArray($)?"array":typeof $;throw TypeError(`Expected object, got ${T}: ${$}`)},fU=($)=>{if($===null||$===void 0)return;if(typeof $==="string")return $;if(["boolean","number","bigint"].includes(typeof $))return f0.warn(c0(`Expected string, got ${typeof $}: ${$}`)),String($);throw TypeError(`Expected string, got ${typeof $}: ${$}`)},GU=($)=>{if($===null||$===void 0)return;let T=MT($),w=[];for(let P in T)if(T[P]!=null)w.push(P);if(w.length===0)throw TypeError("Unions must have exactly one non-null member. None were found.");if(w.length>1)throw TypeError(`Unions must have exactly one non-null member. Keys ${w} were not null.`);return T},C1=($)=>{if(typeof $=="string")return J0(e($));return J0($)},ZU=C1,XT=($)=>{if(typeof $=="string")return s0(e($));return s0($)},RU=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,e=($)=>{let T=$.match(RU);if(T===null||T[0].length!==$.length)throw TypeError("Expected real number, got implicit NaN");return parseFloat($)},s1=($)=>{if(typeof $=="string")return JT($);return J0($)},QU=s1,VU=s1,OU=($)=>{if(typeof $=="string")return JT($);return s0($)},JT=($)=>{switch($){case"NaN":return NaN;case"Infinity":return 1/0;case"-Infinity":return-1/0;default:throw Error(`Unable to parse float value: ${$}`)}},YT=($)=>{if(typeof $==="string")return Y0(e($));return Y0($)},NU=YT,LU=($)=>{if(typeof $==="string")return x1(e($));return x1($)},l=($)=>{if(typeof $==="string")return F1(e($));return F1($)},fT=($)=>{if(typeof $==="string")return z1(e($));return z1($)},c0=($)=>{return String(TypeError($).stack||$).split(`
2
+ `).slice(0,5).filter((T)=>!T.includes("stackTraceWarning")).join(`
3
+ `)},f0={warn:console.warn},WU=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],c1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function HU($){let T=$.getUTCFullYear(),w=$.getUTCMonth(),P=$.getUTCDay(),I=$.getUTCDate(),h=$.getUTCHours(),U=$.getUTCMinutes(),A=$.getUTCSeconds(),_=I<10?`0${I}`:`${I}`,M=h<10?`0${h}`:`${h}`,Y=U<10?`0${U}`:`${U}`,X=A<10?`0${A}`:`${A}`;return`${WU[P]}, ${_} ${c1[w]} ${T} ${M}:${Y}:${X} GMT`}var DU=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),EU=($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw TypeError("RFC-3339 date-times must be expressed as strings");let T=DU.exec($);if(!T)throw TypeError("Invalid RFC-3339 date-time value");let[w,P,I,h,U,A,_,M]=T,Y=l(o(P)),X=x(I,"month",1,12),J=x(h,"day",1,31);return M0(Y,X,J,{hours:U,minutes:A,seconds:_,fractionalMilliseconds:M})},KU=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),BU=($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw TypeError("RFC-3339 date-times must be expressed as strings");let T=KU.exec($);if(!T)throw TypeError("Invalid RFC-3339 date-time value");let[w,P,I,h,U,A,_,M,Y]=T,X=l(o(P)),J=x(I,"month",1,12),f=x(h,"day",1,31),G=M0(X,J,f,{hours:U,minutes:A,seconds:_,fractionalMilliseconds:M});if(Y.toUpperCase()!="Z")G.setTime(G.getTime()-yU(Y));return G},qU=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),xU=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),FU=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),zU=($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw TypeError("RFC-7231 date-times must be expressed as strings");let T=qU.exec($);if(T){let[w,P,I,h,U,A,_,M]=T;return M0(l(o(h)),B1(I),x(P,"day",1,31),{hours:U,minutes:A,seconds:_,fractionalMilliseconds:M})}if(T=xU.exec($),T){let[w,P,I,h,U,A,_,M]=T;return sU(M0(jU(h),B1(I),x(P,"day",1,31),{hours:U,minutes:A,seconds:_,fractionalMilliseconds:M}))}if(T=FU.exec($),T){let[w,P,I,h,U,A,_,M]=T;return M0(l(o(M)),B1(P),x(I.trimLeft(),"day",1,31),{hours:h,minutes:U,seconds:A,fractionalMilliseconds:_})}throw TypeError("Invalid RFC-7231 date-time value")},SU=($)=>{if($===null||$===void 0)return;let T;if(typeof $==="number")T=$;else if(typeof $==="string")T=C1($);else if(typeof $==="object"&&$.tag===1)T=$.value;else throw TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(T)||T===1/0||T===-1/0)throw TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(T*1000))},M0=($,T,w,P)=>{let I=T-1;return bU($,I,w),new Date(Date.UTC($,I,w,x(P.hours,"hour",0,23),x(P.minutes,"minute",0,59),x(P.seconds,"seconds",0,60),pU(P.fractionalMilliseconds)))},jU=($)=>{let T=new Date().getUTCFullYear(),w=Math.floor(T/100)*100+l(o($));if(w<T)return w+100;return w},CU=1576800000000,sU=($)=>{if($.getTime()-new Date().getTime()>CU)return new Date(Date.UTC($.getUTCFullYear()-100,$.getUTCMonth(),$.getUTCDate(),$.getUTCHours(),$.getUTCMinutes(),$.getUTCSeconds(),$.getUTCMilliseconds()));return $},B1=($)=>{let T=c1.indexOf($);if(T<0)throw TypeError(`Invalid month: ${$}`);return T+1},cU=[31,28,31,30,31,30,31,31,30,31,30,31],bU=($,T,w)=>{let P=cU[T];if(T===1&&kU($))P=29;if(w>P)throw TypeError(`Invalid day for ${c1[T]} in ${$}: ${w}`)},kU=($)=>{return $%4===0&&($%100!==0||$%400===0)},x=($,T,w,P)=>{let I=fT(o($));if(I<w||I>P)throw TypeError(`${T} must be between ${w} and ${P}, inclusive`);return I},pU=($)=>{if($===null||$===void 0)return 0;return XT("0."+$)*1000},yU=($)=>{let T=$[0],w=1;if(T=="+")w=1;else if(T=="-")w=-1;else throw TypeError(`Offset direction, ${T}, must be "+" or "-"`);let P=Number($.substring(1,3)),I=Number($.substring(4,6));return w*(P*60+I)*60*1000},o=($)=>{let T=0;while(T<$.length-1&&$.charAt(T)==="0")T++;if(T===0)return $;return $.slice(T)},PT=typeof crypto<"u"&&typeof crypto.randomUUID==="function"?crypto.randomUUID.bind(crypto):void 0,H=Array.from({length:256},($,T)=>T.toString(16).padStart(2,"0")),GT=()=>{if(PT)return PT();let $=new Uint8Array(16);return crypto.getRandomValues($),$[6]=$[6]&15|64,$[8]=$[8]&63|128,H[$[0]]+H[$[1]]+H[$[2]]+H[$[3]]+"-"+H[$[4]]+H[$[5]]+"-"+H[$[6]]+H[$[7]]+"-"+H[$[8]]+H[$[9]]+"-"+H[$[10]]+H[$[11]]+H[$[12]]+H[$[13]]+H[$[14]]+H[$[15]]},v=function(T){return Object.assign(new String(T),{deserializeJSON(){return JSON.parse(String(T))},toString(){return String(T)},toJSON(){return String(T)}})};v.from=($)=>{if($&&typeof $==="object"&&($ instanceof v||("deserializeJSON"in $)))return $;else if(typeof $==="string"||Object.getPrototypeOf($)===String.prototype)return v(String($));return v(JSON.stringify($))};v.fromObject=v.from;function gU($){if($.includes(",")||$.includes('"'))$=`"${$.replace(/"/g,"\\\"")}"`;return $}var b1="(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?",k1="(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)",p1="(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?",ZT="(\\d?\\d)",RT="(\\d{4})",mU=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/),dU=new RegExp(`^${b1}, ${ZT} ${k1} ${RT} ${p1} GMT$`),vU=new RegExp(`^${b1}, ${ZT}-${k1}-(\\d\\d) ${p1} GMT$`),nU=new RegExp(`^${b1} ${k1} ( [1-9]|\\d\\d) ${p1} ${RT}$`),tU=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],iU=($)=>{if($==null)return;let T=NaN;if(typeof $==="number")T=$;else if(typeof $==="string"){if(!/^-?\d*\.?\d+$/.test($))throw TypeError("parseEpochTimestamp - numeric string invalid.");T=Number.parseFloat($)}else if(typeof $==="object"&&$.tag===1)T=$.value;if(isNaN(T)||Math.abs(T)===1/0)throw TypeError("Epoch timestamps must be valid finite numbers.");return new Date(Math.round(T*1000))},uU=($)=>{if($==null)return;if(typeof $!=="string")throw TypeError("RFC3339 timestamps must be strings");let T=mU.exec($);if(!T)throw TypeError(`Invalid RFC3339 timestamp format ${$}`);let[,w,P,I,h,U,A,,_,M]=T;z(P,1,12),z(I,1,31),z(h,0,23),z(U,0,59),z(A,0,60);let Y=new Date(Date.UTC(Number(w),Number(P)-1,Number(I),Number(h),Number(U),Number(A),Number(_)?Math.round(parseFloat(`0.${_}`)*1000):0));if(Y.setUTCFullYear(Number(w)),M.toUpperCase()!="Z"){let[,X,J,f]=/([+-])(\d\d):(\d\d)/.exec(M)||[void 0,"+",0,0],G=X==="-"?1:-1;Y.setTime(Y.getTime()+G*(Number(J)*60*60*1000+Number(f)*60*1000))}return Y},rU=($)=>{if($==null)return;if(typeof $!=="string")throw TypeError("RFC7231 timestamps must be strings.");let T,w,P,I,h,U,A,_;if(_=dU.exec($))[,T,w,P,I,h,U,A]=_;else if(_=vU.exec($))[,T,w,P,I,h,U,A]=_,P=(Number(P)+1900).toString();else if(_=nU.exec($))[,w,T,I,h,U,A,P]=_;if(P&&U){let M=Date.UTC(Number(P),tU.indexOf(w),Number(T),Number(I),Number(h),Number(U),A?Math.round(parseFloat(`0.${A}`)*1000):0);z(T,1,31),z(I,0,23),z(h,0,59),z(U,0,60);let Y=new Date(M);return Y.setUTCFullYear(Number(P)),Y}throw TypeError(`Invalid RFC7231 date-time value ${$}.`)};function z($,T,w){let P=Number($);if(P<T||P>w)throw Error(`Value ${P} out of range [${T}, ${w}]`)}function lU($,T,w){if(w<=0||!Number.isInteger(w))throw Error("Invalid number of delimiters ("+w+") for splitEvery.");let P=$.split(T);if(w===1)return P;let I=[],h="";for(let U=0;U<P.length;U++){if(h==="")h=P[U];else h+=T+P[U];if((U+1)%w===0)I.push(h),h=""}if(h!=="")I.push(h);return I}var oU=($)=>{let T=$.length,w=[],P=!1,I=void 0,h=0;for(let U=0;U<T;++U){let A=$[U];switch(A){case'"':if(I!=="\\")P=!P;break;case",":if(!P)w.push($.slice(h,U)),h=U+1;break}I=A}return w.push($.slice(h)),w.map((U)=>{U=U.trim();let A=U.length;if(A<2)return U;if(U[0]==='"'&&U[A-1]==='"')U=U.slice(1,A-1);return U.replace(/\\"/g,'"')})},IT=/^-?\d*(\.\d+)?$/;class k0{string;type;constructor($,T){if(this.string=$,this.type=T,!IT.test($))throw Error('@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".')}toString(){return this.string}static[Symbol.hasInstance]($){if(!$||typeof $!=="object")return!1;let T=$;return k0.prototype.isPrototypeOf($)||T.type==="bigDecimal"&&IT.test(T.string)}}function aU($){return new k0(String($),"bigDecimal")}var QT={},S1={};for(let $=0;$<256;$++){let T=$.toString(16).toLowerCase();if(T.length===1)T=`0${T}`;QT[$]=T,S1[T]=$}function eU($){if($.length%2!==0)throw Error("Hex encoded strings must have an even number length");let T=new Uint8Array($.length/2);for(let w=0;w<$.length;w+=2){let P=$.slice(w,w+2).toLowerCase();if(P in S1)T[w/2]=S1[P];else throw Error(`Cannot decode unrecognized sequence ${P} as hexadecimal`)}return T}function VT($){let T="";for(let w=0;w<$.byteLength;w++)T+=QT[$[w]];return T}var OT=($)=>typeof ArrayBuffer==="function"&&$ instanceof ArrayBuffer||Object.prototype.toString.call($)==="[object ArrayBuffer]",a=($,T=0,w=$.byteLength-T)=>{if(!OT($))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof $} (${$})`);return Buffer.from($,T,w)},p0=($,T)=>{if(typeof $!=="string")throw TypeError(`The "input" argument must be of type string. Received type ${typeof $} (${$})`);return T?Buffer.from($,T):Buffer.from($)},$A=/^[A-Za-z0-9+/]*={0,2}$/,y1=($)=>{if($.length*3%4!==0)throw TypeError("Incorrect padding on base64 string.");if(!$A.exec($))throw TypeError("Invalid base64 string.");let T=p0($,"base64");return new Uint8Array(T.buffer,T.byteOffset,T.byteLength)},y0=($)=>{let T=p0($,"utf8");return new Uint8Array(T.buffer,T.byteOffset,T.byteLength/Uint8Array.BYTES_PER_ELEMENT)},G0=($)=>{let T;if(typeof $==="string")T=y0($);else T=$;if(typeof T!=="object"||typeof T.byteOffset!=="number"||typeof T.byteLength!=="number")throw Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return a(T.buffer,T.byteOffset,T.byteLength).toString("base64")},TA=($)=>{if(!$)return 0;if(typeof $==="string")return Buffer.byteLength($);else if(typeof $.byteLength==="number")return $.byteLength;else if(typeof $.size==="number")return $.size;else if(typeof $.start==="number"&&typeof $.end==="number")return $.end+1-$.start;else if($ instanceof K1.ReadStream){if($.path!=null)return K1.lstatSync($.path).size;else if(typeof $.fd==="number")return K1.fstatSync($.fd).size}throw Error(`Body Length computation failed for ${$}`)},NT=($)=>{if(typeof $==="string")return y0($);if(ArrayBuffer.isView($))return new Uint8Array($.buffer,$.byteOffset,$.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array($)},g1=($)=>{if(typeof $==="string")return $;if(typeof $!=="object"||typeof $.byteOffset!=="number"||typeof $.byteLength!=="number")throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return a($.buffer,$.byteOffset,$.byteLength).toString("utf8")},LT=($,T)=>(w,P)=>async(I)=>{let{response:h}=await w(I);try{let U=await T(h,$);return{response:h,output:U}}catch(U){if(Object.defineProperty(U,"$response",{value:h,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in U)){try{U.message+=`
4
+ Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`}catch(_){if(!P.logger||P.logger?.constructor?.name==="NoOpLogger")console.warn("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.");else P.logger?.warn?.("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.")}if(typeof U.$responseBodyText<"u"){if(U.$response)U.$response.body=U.$responseBodyText}try{if(IU.HttpResponse.isInstance(h)){let{headers:_={}}=h,M=Object.entries(_);U.$metadata={httpStatusCode:h.statusCode,requestId:q1(/^x-[\w-]+-request-?id$/,M),extendedRequestId:q1(/^x-[\w-]+-id-2$/,M),cfId:q1(/^x-[\w-]+-cf-id$/,M)}}}catch(_){}}throw U}},q1=($,T)=>{return(T.find(([w])=>{return w.match($)})||[void 0,void 0])[1]},WT=($,T)=>(w,P)=>async(I)=>{let h=$,U=P.endpointV2?async()=>hU.toEndpointV1(P.endpointV2):h.endpoint;if(!U)throw Error("No valid endpoint provider available.");let A=await T(I.input,{...$,endpoint:U});return w({...I,request:A})},HT={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},DT={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function wA($,T,w){return{applyToStack:(P)=>{P.add(LT($,w),HT),P.add(WT($,T),DT)}}}class ET{algorithmIdentifier;secret;hash;constructor($,T){this.algorithmIdentifier=$,this.secret=T,this.reset()}update($,T){this.hash.update(NT(hT($,T)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?wT.createHmac(this.algorithmIdentifier,hT(this.secret)):wT.createHash(this.algorithmIdentifier)}}function hT($,T){if(Buffer.isBuffer($))return $;if(typeof $==="string")return p0($,T);if(ArrayBuffer.isView($))return a($.buffer,$.byteOffset,$.byteLength);return a($)}class X0 extends Uint8Array{static fromString($,T="utf-8"){if(typeof $==="string"){if(T==="base64")return X0.mutate(y1($));return X0.mutate(y0($))}throw Error(`Unsupported conversion from ${typeof $} to Uint8ArrayBlobAdapter.`)}static mutate($){return Object.setPrototypeOf($,X0.prototype),$}transformToString($="utf-8"){if($==="base64")return G0(this);return g1(this)}}var KT=class extends q.Duplex{expectedChecksum;checksumSourceLocation;checksum;source;base64Encoder;pendingCallback=null;constructor({expectedChecksum:T,checksum:w,source:P,checksumSourceLocation:I,base64Encoder:h}){super();if(typeof P.pipe==="function")this.source=P;else throw Error(`@smithy/util-stream: unsupported source type ${P?.constructor?.name??P} in ChecksumStream.`);this.base64Encoder=h??G0,this.expectedChecksum=T,this.checksum=w,this.checksumSourceLocation=I,this.source.pipe(this)}_read(T){if(this.pendingCallback){let w=this.pendingCallback;this.pendingCallback=null,w()}}_write(T,w,P){try{if(this.checksum.update(T),!this.push(T)){this.pendingCallback=P;return}}catch(I){return P(I)}return P()}async _final(T){try{let w=await this.checksum.digest(),P=this.base64Encoder(w);if(this.expectedChecksum!==P)return T(Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${P}" in response header "${this.checksumSourceLocation}".`))}catch(w){return T(w)}return this.push(null),T()}},S=($)=>typeof ReadableStream==="function"&&($?.constructor?.name===ReadableStream.name||$ instanceof ReadableStream),BT=($)=>{return typeof Blob==="function"&&($?.constructor?.name===Blob.name||$ instanceof Blob)},PA=typeof ReadableStream==="function"?ReadableStream:function(){};class qT extends PA{}var IA=({expectedChecksum:$,checksum:T,source:w,checksumSourceLocation:P,base64Encoder:I})=>{if(!S(w))throw Error(`@smithy/util-stream: unsupported source type ${w?.constructor?.name??w} in ChecksumStream.`);let h=I??G0;if(typeof TransformStream!=="function")throw Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.");let U=new TransformStream({start(){},async transform(_,M){T.update(_),M.enqueue(_)},async flush(_){let M=await T.digest(),Y=h(M);if($!==Y){let X=Error(`Checksum mismatch: expected "${$}" but received "${Y}" in response header "${P}".`);_.error(X)}else _.terminate()}});w.pipeThrough(U);let A=U.readable;return Object.setPrototypeOf(A,qT.prototype),A};function hA($){if(typeof ReadableStream==="function"&&S($.source))return IA($);return new KT($)}class b0{allocByteArray;byteLength=0;byteArrays=[];constructor($){this.allocByteArray=$}push($){this.byteArrays.push($),this.byteLength+=$.byteLength}flush(){if(this.byteArrays.length===1){let w=this.byteArrays[0];return this.reset(),w}let $=this.allocByteArray(this.byteLength),T=0;for(let w=0;w<this.byteArrays.length;++w){let P=this.byteArrays[w];$.set(P,T),T+=P.byteLength}return this.reset(),$}reset(){this.byteArrays=[],this.byteLength=0}}function UA($,T,w){let P=$.getReader(),I=!1,h=0,U=["",new b0((M)=>new Uint8Array(M))],A=-1,_=async(M)=>{let{value:Y,done:X}=await P.read(),J=Y;if(X){if(A!==-1){let f=r(U,A);if(p(f)>0)M.enqueue(f)}M.close()}else{let f=FT(J,!1);if(A!==f){if(A>=0)M.enqueue(r(U,A));A=f}if(A===-1){M.enqueue(J);return}let G=p(J);h+=G;let Q=p(U[A]);if(G>=T&&Q===0)M.enqueue(J);else{let Z=xT(U,A,J);if(!I&&h>T*2)I=!0,w?.warn(`@smithy/util-stream - stream chunk size ${G} is below threshold of ${T}, automatically buffering.`);if(Z>=T)M.enqueue(r(U,A));else await _(M)}}};return new ReadableStream({pull:_})}function xT($,T,w){switch(T){case 0:return $[0]+=w,p($[0]);case 1:case 2:return $[T].push(w),p($[T])}}function r($,T){switch(T){case 0:let w=$[0];return $[0]="",w;case 1:case 2:return $[T].flush()}throw Error(`@smithy/util-stream - invalid index ${T} given to flush()`)}function p($){return $?.byteLength??$?.length??0}function FT($,T=!0){if(T&&typeof Buffer<"u"&&$ instanceof Buffer)return 2;if($ instanceof Uint8Array)return 1;if(typeof $==="string")return 0;return-1}function AA($,T,w){if(S($))return UA($,T,w);let P=new q.Readable({read(){}}),I=!1,h=0,U=["",new b0((_)=>new Uint8Array(_)),new b0((_)=>Buffer.from(new Uint8Array(_)))],A=-1;return $.on("data",(_)=>{let M=FT(_,!0);if(A!==M){if(A>=0)P.push(r(U,A));A=M}if(A===-1){P.push(_);return}let Y=p(_);h+=Y;let X=p(U[A]);if(Y>=T&&X===0)P.push(_);else{let J=xT(U,A,_);if(!I&&h>T*2)I=!0,w?.warn(`@smithy/util-stream - stream chunk size ${Y} is below threshold of ${T}, automatically buffering.`);if(J>=T)P.push(r(U,A))}}),$.on("end",()=>{if(A!==-1){let _=r(U,A);if(p(_)>0)P.push(_)}P.push(null)}),P}var _A=($,T)=>{let{base64Encoder:w,bodyLengthChecker:P,checksumAlgorithmFn:I,checksumLocationName:h,streamHasher:U}=T,A=w!==void 0&&P!==void 0&&I!==void 0&&h!==void 0&&U!==void 0,_=A?U(I,$):void 0,M=$.getReader();return new ReadableStream({async pull(Y){let{value:X,done:J}=await M.read();if(J){if(Y.enqueue(`0\r
5
+ `),A){let f=w(await _);Y.enqueue(`${h}:${f}\r
6
+ `),Y.enqueue(`\r
7
+ `)}Y.close()}else Y.enqueue(`${(P(X)||0).toString(16)}\r
8
+ ${X}\r
9
+ `)}})};function MA($,T){let w=$,P=$;if(S(P))return _A(P,T);let{base64Encoder:I,bodyLengthChecker:h,checksumAlgorithmFn:U,checksumLocationName:A,streamHasher:_}=T,M=I!==void 0&&U!==void 0&&A!==void 0&&_!==void 0,Y=M?_(U,w):void 0,X=new q.Readable({read:()=>{}});return w.on("data",(J)=>{let f=h(J)||0;if(f===0)return;X.push(`${f.toString(16)}\r
10
+ `),X.push(J),X.push(`\r
11
+ `)}),w.on("end",async()=>{if(X.push(`0\r
12
+ `),M){let J=I(await Y);X.push(`${A}:${J}\r
13
+ `),X.push(`\r
14
+ `)}X.push(null)}),X}async function XA($,T){let w=0,P=[],I=$.getReader(),h=!1;while(!h){let{done:_,value:M}=await I.read();if(M)P.push(M),w+=M?.byteLength??0;if(w>=T)break;h=_}I.releaseLock();let U=new Uint8Array(Math.min(T,w)),A=0;for(let _ of P){if(_.byteLength>U.byteLength-A){U.set(_.subarray(0,U.byteLength-A),A);break}else U.set(_,A);A+=_.length}return U}var JA=($,T)=>{if(S($))return XA($,T);return new Promise((w,P)=>{let I=new YA;I.limit=T,$.pipe(I),$.on("error",(h)=>{I.end(),P(h)}),I.on("error",P),I.on("finish",function(){let h=new Uint8Array(Buffer.concat(this.buffers));w(h)})})},YA=class extends q.Writable{buffers=[];limit=1/0;bytesBuffered=0;_write(T,w,P){if(this.buffers.push(T),this.bytesBuffered+=T.byteLength??0,this.bytesBuffered>=this.limit){let I=this.bytesBuffered-this.limit,h=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=h.subarray(0,h.byteLength-I),this.emit("finish")}P()}},fA=async($)=>{if(typeof Blob==="function"&&$ instanceof Blob||$.constructor?.name==="Blob"){if(Blob.prototype.arrayBuffer!==void 0)return new Uint8Array(await $.arrayBuffer());return GA($)}return ZA($)};async function GA($){let T=await RA($),w=y1(T);return new Uint8Array(w)}async function ZA($){let T=[],w=$.getReader(),P=!1,I=0;while(!P){let{done:A,value:_}=await w.read();if(_)T.push(_),I+=_.length;P=A}let h=new Uint8Array(I),U=0;for(let A of T)h.set(A,U),U+=A.length;return h}function RA($){return new Promise((T,w)=>{let P=new FileReader;P.onloadend=()=>{if(P.readyState!==2)return w(Error("Reader aborted too early"));let I=P.result??"",h=I.indexOf(","),U=h>-1?h+1:I.length;T(I.substring(U))},P.onabort=()=>w(Error("Read aborted")),P.onerror=()=>w(P.error),P.readAsDataURL($)})}var UT="The stream has already been transformed.",QA=($)=>{if(!AT($)&&!S($)){let I=$?.__proto__?.constructor?.name||$;throw Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${I}`)}let T=!1,w=async()=>{if(T)throw Error(UT);return T=!0,await fA($)},P=(I)=>{if(typeof I.stream!=="function")throw Error(`Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.
15
+ If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body`);return I.stream()};return Object.assign($,{transformToByteArray:w,transformToString:async(I)=>{let h=await w();if(I==="base64")return G0(h);else if(I==="hex")return VT(h);else if(I===void 0||I==="utf8"||I==="utf-8")return g1(h);else if(typeof TextDecoder==="function")return new TextDecoder(I).decode(h);else throw Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(T)throw Error(UT);if(T=!0,AT($))return P($);else if(S($))return $;else throw Error(`Cannot transform payload to web stream, got ${$}`)}})},AT=($)=>typeof Blob==="function"&&$ instanceof Blob;class zT extends q.Writable{bufferedBytes=[];_write($,T,w){this.bufferedBytes.push($),w()}}var VA=($)=>typeof ReadableStream==="function"&&$ instanceof ReadableStream;async function OA($){let T=[],w=$.getReader(),P=!1,I=0;while(!P){let{done:A,value:_}=await w.read();if(_)T.push(_),I+=_.length;P=A}let h=new Uint8Array(I),U=0;for(let A of T)h.set(A,U),U+=A.length;return h}var NA=($)=>{if(VA($))return OA($);return new Promise((T,w)=>{let P=new zT;$.pipe(P),$.on("error",(I)=>{P.end(),w(I)}),P.on("error",w),P.on("finish",function(){let I=new Uint8Array(Buffer.concat(this.bufferedBytes));T(I)})})},_T="The stream has already been transformed.",LA=($)=>{if(!($ instanceof q.Readable))try{return QA($)}catch(P){let I=$?.__proto__?.constructor?.name||$;throw Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${I}`)}let T=!1,w=async()=>{if(T)throw Error(_T);return T=!0,await NA($)};return Object.assign($,{transformToByteArray:w,transformToString:async(P)=>{let I=await w();if(P===void 0||Buffer.isEncoding(P))return a(I.buffer,I.byteOffset,I.byteLength).toString(P);else return new TextDecoder(P).decode(I)},transformToWebStream:()=>{if(T)throw Error(_T);if($.readableFlowing!==null)throw Error("The stream has been consumed by other callbacks.");if(typeof q.Readable.toWeb!=="function")throw Error("Readable.toWeb() is not supported. Please ensure a polyfill is available.");return T=!0,q.Readable.toWeb($)}})};async function WA($){if(typeof $.stream==="function")$=$.stream();return $.tee()}async function HA($){if(S($)||BT($))return WA($);let T=new q.PassThrough,w=new q.PassThrough;return $.pipe(T),$.pipe(w),[T,w]}DA.ChecksumStream=KT;DA.Hash=ET;DA.LazyJsonString=v;DA.NumericValue=k0;DA.Uint8ArrayBlobAdapter=X0;DA._parseEpochTimestamp=iU;DA._parseRfc3339DateTimeWithOffset=uU;DA._parseRfc7231DateTime=rU;DA.calculateBodyLength=TA;DA.copyDocumentWithTransform=UU;DA.createBufferedReadable=AA;DA.createChecksumStream=hA;DA.dateToUtcString=HU;DA.deserializerMiddleware=LT;DA.deserializerMiddlewareOption=HT;DA.expectBoolean=_U;DA.expectByte=z1;DA.expectFloat32=s0;DA.expectInt=XU;DA.expectInt32=x1;DA.expectLong=Y0;DA.expectNonNull=YU;DA.expectNumber=J0;DA.expectObject=MT;DA.expectShort=F1;DA.expectString=fU;DA.expectUnion=GU;DA.fromArrayBuffer=a;DA.fromBase64=y1;DA.fromHex=eU;DA.fromString=p0;DA.fromUtf8=y0;DA.generateIdempotencyToken=GT;DA.getAwsChunkedEncodingStream=MA;DA.getSerdePlugin=wA;DA.handleFloat=QU;DA.headStream=JA;DA.isArrayBuffer=OT;DA.isBlob=BT;DA.isReadableStream=S;DA.limitedParseDouble=s1;DA.limitedParseFloat=VU;DA.limitedParseFloat32=OU;DA.logger=f0;DA.nv=aU;DA.parseBoolean=AU;DA.parseEpochTimestamp=SU;DA.parseRfc3339DateTime=EU;DA.parseRfc3339DateTimeWithOffset=BU;DA.parseRfc7231DateTime=zU;DA.quoteHeader=gU;DA.sdkStreamMixin=LA;DA.serializerMiddleware=WT;DA.serializerMiddlewareOption=DT;DA.splitEvery=lU;DA.splitHeader=oU;DA.splitStream=HA;DA.strictParseByte=fT;DA.strictParseDouble=C1;DA.strictParseFloat=ZU;DA.strictParseFloat32=XT;DA.strictParseInt=NU;DA.strictParseInt32=LU;DA.strictParseLong=YT;DA.strictParseShort=l;DA.toBase64=G0;DA.toHex=VT;DA.toUint8Array=NT;DA.toUtf8=g1;DA.v4=GT});var C0=y((o_)=>{var O=ST(),E=h1(),g_=P0(),n=async($=new Uint8Array,T)=>{if($ instanceof Uint8Array)return O.Uint8ArrayBlobAdapter.mutate($);if(!$)return O.Uint8ArrayBlobAdapter.mutate(new Uint8Array);let w=T.streamCollector($);return O.Uint8ArrayBlobAdapter.mutate(await w)};function R0($){return encodeURIComponent($).replace(/[!'()*]/g,function(T){return"%"+T.charCodeAt(0).toString(16).toUpperCase()})}class $0{serdeContext;setSerdeContext($){this.serdeContext=$}}class j{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor($){this.method=$.method||"GET",this.hostname=$.hostname||"localhost",this.port=$.port,this.query=$.query||{},this.headers=$.headers||{},this.body=$.body,this.protocol=$.protocol?$.protocol.slice(-1)!==":"?`${$.protocol}:`:$.protocol:"https:",this.path=$.path?$.path.charAt(0)!=="/"?`/${$.path}`:$.path:"/",this.username=$.username,this.password=$.password,this.fragment=$.fragment}static clone($){let T=new j({...$,headers:{...$.headers}});if(T.query)T.query=m_(T.query);return T}static isInstance($){if(!$)return!1;let T=$;return"method"in T&&"protocol"in T&&"hostname"in T&&"path"in T&&typeof T.query==="object"&&typeof T.headers==="object"}clone(){return j.clone(this)}}function m_($){return Object.keys($).reduce((T,w)=>{let P=$[w];return{...T,[w]:Array.isArray(P)?[...P]:P}},{})}class m1{statusCode;reason;headers;body;constructor($){this.statusCode=$.statusCode,this.reason=$.reason,this.headers=$.headers||{},this.body=$.body}static isInstance($){if(!$)return!1;let T=$;return typeof T.statusCode==="number"&&typeof T.headers==="object"}}class g0 extends $0{options;compositeErrorRegistry;constructor($){super();this.options=$,this.compositeErrorRegistry=E.TypeRegistry.for($.defaultNamespace);for(let T of $.errorTypeRegistries??[])this.compositeErrorRegistry.copyFrom(T)}getRequestType(){return j}getResponseType(){return m1}setSerdeContext($){if(this.serdeContext=$,this.serializer.setSerdeContext($),this.deserializer.setSerdeContext($),this.getPayloadCodec())this.getPayloadCodec().setSerdeContext($)}updateServiceEndpoint($,T){if("url"in T){if($.protocol=T.url.protocol,$.hostname=T.url.hostname,$.port=T.url.port?Number(T.url.port):void 0,$.path=T.url.pathname,$.fragment=T.url.hash||void 0,$.username=T.url.username||void 0,$.password=T.url.password||void 0,!$.query)$.query={};for(let[w,P]of T.url.searchParams.entries())$.query[w]=P;if(T.headers)for(let w in T.headers)$.headers[w]=T.headers[w].join(", ");return $}else{if($.protocol=T.protocol,$.hostname=T.hostname,$.port=T.port?Number(T.port):void 0,$.path=T.path,$.query={...T.query},T.headers)for(let w in T.headers)$.headers[w]=T.headers[w];return $}}setHostPrefix($,T,w){if(this.serdeContext?.disableHostPrefix)return;let P=E.NormalizedSchema.of(T.input),I=E.translateTraits(T.traits??{});if(I.endpoint){let h=I.endpoint?.[0];if(typeof h==="string"){for(let[U,A]of P.structIterator()){if(!A.getMergedTraits().hostLabel)continue;let _=w[U];if(typeof _!=="string")throw Error(`@smithy/core/schema - ${U} in input must be a string as hostLabel.`);h=h.replace(`{${U}}`,_)}$.hostname=h+$.hostname}}}deserializeMetadata($){return{httpStatusCode:$.statusCode,requestId:$.headers["x-amzn-requestid"]??$.headers["x-amzn-request-id"]??$.headers["x-amz-request-id"],extendedRequestId:$.headers["x-amz-id-2"],cfId:$.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:$,requestSchema:T,initialRequest:w}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:$,requestSchema:T,initialRequest:w})}async deserializeEventStream({response:$,responseSchema:T,initialResponseContainer:w}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:$,responseSchema:T,initialResponseContainer:w})}async loadEventStreamCapability(){let{EventStreamSerde:$}=await import("./index-0.6.0-y9ppfz99.mjs");return new $({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage($,T,w,P,I){return[]}getEventStreamMarshaller(){let $=this.serdeContext;if(!$.eventStreamMarshaller)throw Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");return $.eventStreamMarshaller}}class CT extends g0{async serializeRequest($,T,w){let P=T&&typeof T==="object"?T:{},I=this.serializer,h={},U={},A=await w.endpoint(),_=E.NormalizedSchema.of($?.input),M=[],Y=[],X=!1,J,f=new j({protocol:"",hostname:"",port:void 0,path:"",fragment:void 0,query:h,headers:U,body:void 0});if(A){this.updateServiceEndpoint(f,A),this.setHostPrefix(f,$,P);let G=E.translateTraits($.traits);if(G.http){f.method=G.http[0];let[Q,Z]=G.http[1].split("?");if(f.path=="/")f.path=Q;else f.path+=Q;let R=new URLSearchParams(Z??"");for(let[V,L]of R)h[V]=L}}for(let[G,Q]of _.structIterator()){let Z=Q.getMergedTraits()??{},R=P[G];if(R==null&&!Q.isIdempotencyToken()){if(Z.httpLabel){if(f.path.includes(`{${G}+}`)||f.path.includes(`{${G}}`))throw Error(`No value provided for input HTTP label: ${G}.`)}continue}if(Z.httpPayload)if(Q.isStreaming())if(Q.isStructSchema()){if(P[G])J=await this.serializeEventStream({eventStream:P[G],requestSchema:_})}else J=R;else I.write(Q,R),J=I.flush();else if(Z.httpLabel){I.write(Q,R);let V=I.flush();if(f.path.includes(`{${G}+}`))f.path=f.path.replace(`{${G}+}`,V.split("/").map(R0).join("/"));else if(f.path.includes(`{${G}}`))f.path=f.path.replace(`{${G}}`,R0(V))}else if(Z.httpHeader)I.write(Q,R),U[Z.httpHeader.toLowerCase()]=String(I.flush());else if(typeof Z.httpPrefixHeaders==="string")for(let V in R){let L=R[V],W=Z.httpPrefixHeaders+V;I.write([Q.getValueSchema(),{httpHeader:W}],L),U[W.toLowerCase()]=I.flush()}else if(Z.httpQuery||Z.httpQueryParams)this.serializeQuery(Q,R,h);else X=!0,M.push(G),Y.push(Q)}if(X&&P){let[G,Q]=(_.getName(!0)??"#Unknown").split("#"),Z=_.getSchema()[6],R=[3,G,Q,_.getMergedTraits(),M,Y,void 0];if(Z)R[6]=Z;else R.pop();I.write(R,P),J=I.flush()}return f.headers=U,f.query=h,f.body=J,f}serializeQuery($,T,w){let P=this.serializer,I=$.getMergedTraits();if(I.httpQueryParams){for(let h in T)if(!(h in w)){let U=T[h],A=$.getValueSchema();Object.assign(A.getMergedTraits(),{...I,httpQuery:h,httpQueryParams:void 0}),this.serializeQuery(A,U,w)}return}if($.isListSchema()){let h=!!$.getMergedTraits().sparse,U=[];for(let A of T){P.write([$.getValueSchema(),I],A);let _=P.flush();if(h||_!==void 0)U.push(_)}w[I.httpQuery]=U}else P.write([$,I],T),w[I.httpQuery]=P.flush()}async deserializeResponse($,T,w){let P=this.deserializer,I=E.NormalizedSchema.of($.output),h={};if(w.statusCode>=300){let A=await n(w.body,T);if(A.byteLength>0)Object.assign(h,await P.read(15,A));throw await this.handleError($,T,w,h,this.deserializeMetadata(w)),Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.")}for(let A in w.headers){let _=w.headers[A];delete w.headers[A],w.headers[A.toLowerCase()]=_}let U=await this.deserializeHttpMessage(I,T,w,h);if(U.length){let A=await n(w.body,T);if(A.byteLength>0){let _=await P.read(I,A);for(let M of U)if(_[M]!=null)h[M]=_[M]}}else if(U.discardResponseBody)await n(w.body,T);return h.$metadata=this.deserializeMetadata(w),h}async deserializeHttpMessage($,T,w,P,I){let h;if(P instanceof Set)h=I;else h=P;let U=!0,A=this.deserializer,_=E.NormalizedSchema.of($),M=[];for(let[Y,X]of _.structIterator()){let J=X.getMemberTraits();if(J.httpPayload){if(U=!1,X.isStreaming())if(X.isStructSchema())h[Y]=await this.deserializeEventStream({response:w,responseSchema:_});else h[Y]=O.sdkStreamMixin(w.body);else if(w.body){let G=await n(w.body,T);if(G.byteLength>0)h[Y]=await A.read(X,G)}}else if(J.httpHeader){let f=String(J.httpHeader).toLowerCase(),G=w.headers[f];if(G!=null)if(X.isListSchema()){let Q=X.getValueSchema();Q.getMergedTraits().httpHeader=f;let Z;if(Q.isTimestampSchema()&&Q.getSchema()===4)Z=O.splitEvery(G,",",2);else Z=O.splitHeader(G);let R=[];for(let V of Z)R.push(await A.read(Q,V.trim()));h[Y]=R}else h[Y]=await A.read(X,G)}else if(J.httpPrefixHeaders!==void 0){h[Y]={};for(let f in w.headers)if(f.startsWith(J.httpPrefixHeaders)){let G=w.headers[f],Q=X.getValueSchema();Q.getMergedTraits().httpHeader=f,h[Y][f.slice(J.httpPrefixHeaders.length)]=await A.read(Q,G)}}else if(J.httpResponseCode)h[Y]=w.statusCode;else M.push(Y)}return M.discardResponseBody=U,M}}class sT extends g0{async serializeRequest($,T,w){let P=this.serializer,I={},h={},U=await w.endpoint(),A=E.NormalizedSchema.of($?.input),_=A.getSchema(),M,Y=T&&typeof T==="object"?T:{},X=new j({protocol:"",hostname:"",port:void 0,path:"/",fragment:void 0,query:I,headers:h,body:void 0});if(U)this.updateServiceEndpoint(X,U),this.setHostPrefix(X,$,Y);if(Y){let J=A.getEventStreamMember();if(J){if(Y[J]){let f={};for(let[G,Q]of A.structIterator())if(G!==J&&Y[G])P.write(Q,Y[G]),f[G]=P.flush();M=await this.serializeEventStream({eventStream:Y[J],requestSchema:A,initialRequest:f})}}else P.write(_,Y),M=P.flush()}return X.headers=Object.assign(X.headers,h),X.query=I,X.body=M,X.method="POST",X}async deserializeResponse($,T,w){let P=this.deserializer,I=E.NormalizedSchema.of($.output),h={};if(w.statusCode>=300){let A=await n(w.body,T);if(A.byteLength>0)Object.assign(h,await P.read(15,A));throw await this.handleError($,T,w,h,this.deserializeMetadata(w)),Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.")}for(let A in w.headers){let _=w.headers[A];delete w.headers[A],w.headers[A.toLowerCase()]=_}let U=I.getEventStreamMember();if(U)h[U]=await this.deserializeEventStream({response:w,responseSchema:I,initialResponseContainer:h});else{let A=await n(w.body,T);if(A.byteLength>0)Object.assign(h,await P.read(I,A))}return h.$metadata=this.deserializeMetadata(w),h}}var cT=($,T,w,P,I,h)=>{if(T!=null&&T[w]!==void 0){let U=P();if(U==null||U.length<=0)throw Error("Empty value provided for input HTTP label: "+w+".");$=$.replace(I,h?U.split("/").map((A)=>R0(A)).join("/"):R0(U))}else throw Error("No value provided for input HTTP label: "+w+".");return $};function d_($,T){return new d1($,T)}class d1{input;context;query={};method="";headers={};path="";body=null;hostname="";resolvePathStack=[];constructor($,T){this.input=$,this.context=T}async build(){let{hostname:$,protocol:T="https",port:w,path:P}=await this.context.endpoint();this.path=P;for(let I of this.resolvePathStack)I(this.path);return new j({protocol:T,hostname:this.hostname||$,port:w,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn($){return this.hostname=$,this}bp($){return this.resolvePathStack.push((T)=>{this.path=`${T?.endsWith("/")?T.slice(0,-1):T||""}`+$}),this}p($,T,w,P){return this.resolvePathStack.push((I)=>{this.path=cT(I,this.input,$,T,w,P)}),this}h($){return this.headers=$,this}q($){return this.query=$,this}b($){return this.body=$,this}m($){return this.method=$,this}}function v1($,T){if(T.timestampFormat.useTrait){if($.isTimestampSchema()&&($.getSchema()===5||$.getSchema()===6||$.getSchema()===7))return $.getSchema()}let{httpLabel:w,httpPrefixHeaders:P,httpHeader:I,httpQuery:h}=$.getMergedTraits();return(T.httpBindings?typeof P==="string"||Boolean(I)?6:Boolean(h)||Boolean(w)?5:void 0:void 0)??T.timestampFormat.default}class n1 extends $0{settings;constructor($){super();this.settings=$}read($,T){let w=E.NormalizedSchema.of($);if(w.isListSchema())return O.splitHeader(T).map((P)=>this.read(w.getValueSchema(),P));if(w.isBlobSchema())return(this.serdeContext?.base64Decoder??O.fromBase64)(T);if(w.isTimestampSchema())switch(v1(w,this.settings)){case 5:return O._parseRfc3339DateTimeWithOffset(T);case 6:return O._parseRfc7231DateTime(T);case 7:return O._parseEpochTimestamp(T);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",T),new Date(T)}if(w.isStringSchema()){let P=w.getMergedTraits().mediaType,I=T;if(P){if(w.getMergedTraits().httpHeader)I=this.base64ToUtf8(I);if(P==="application/json"||P.endsWith("+json"))I=O.LazyJsonString.from(I);return I}}if(w.isNumericSchema())return Number(T);if(w.isBigIntegerSchema())return BigInt(T);if(w.isBigDecimalSchema())return new O.NumericValue(T,"bigDecimal");if(w.isBooleanSchema())return String(T).toLowerCase()==="true";return T}base64ToUtf8($){return(this.serdeContext?.utf8Encoder??O.toUtf8)((this.serdeContext?.base64Decoder??O.fromBase64)($))}}class bT extends $0{codecDeserializer;stringDeserializer;constructor($,T){super();this.codecDeserializer=$,this.stringDeserializer=new n1(T)}setSerdeContext($){this.stringDeserializer.setSerdeContext($),this.codecDeserializer.setSerdeContext($),this.serdeContext=$}read($,T){let w=E.NormalizedSchema.of($),P=w.getMergedTraits(),I=this.serdeContext?.utf8Encoder??O.toUtf8;if(P.httpHeader||P.httpResponseCode)return this.stringDeserializer.read(w,I(T));if(P.httpPayload){if(w.isBlobSchema()){let h=this.serdeContext?.utf8Decoder??O.fromUtf8;if(typeof T==="string")return h(T);return T}else if(w.isStringSchema()){if("byteLength"in T)return I(T);return T}}return this.codecDeserializer.read(w,T)}}class t1 extends $0{settings;stringBuffer="";constructor($){super();this.settings=$}write($,T){let w=E.NormalizedSchema.of($);switch(typeof T){case"object":if(T===null){this.stringBuffer="null";return}if(w.isTimestampSchema()){if(!(T instanceof Date))throw Error(`@smithy/core/protocols - received non-Date value ${T} when schema expected Date in ${w.getName(!0)}`);switch(v1(w,this.settings)){case 5:this.stringBuffer=T.toISOString().replace(".000Z","Z");break;case 6:this.stringBuffer=O.dateToUtcString(T);break;case 7:this.stringBuffer=String(T.getTime()/1000);break;default:console.warn("Missing timestamp format, using epoch seconds",T),this.stringBuffer=String(T.getTime()/1000)}return}if(w.isBlobSchema()&&"byteLength"in T){this.stringBuffer=(this.serdeContext?.base64Encoder??O.toBase64)(T);return}if(w.isListSchema()&&Array.isArray(T)){let h="";for(let U of T){this.write([w.getValueSchema(),w.getMergedTraits()],U);let A=this.flush(),_=w.getValueSchema().isTimestampSchema()?A:O.quoteHeader(A);if(h!=="")h+=", ";h+=_}this.stringBuffer=h;return}this.stringBuffer=JSON.stringify(T,null,2);break;case"string":let P=w.getMergedTraits().mediaType,I=T;if(P){if(P==="application/json"||P.endsWith("+json"))I=O.LazyJsonString.from(I);if(w.getMergedTraits().httpHeader){this.stringBuffer=(this.serdeContext?.base64Encoder??O.toBase64)(I.toString());return}}this.stringBuffer=T;break;default:if(w.isIdempotencyToken())this.stringBuffer=O.generateIdempotencyToken();else this.stringBuffer=String(T)}}flush(){let $=this.stringBuffer;return this.stringBuffer="",$}}class kT{codecSerializer;stringSerializer;buffer;constructor($,T,w=new t1(T)){this.codecSerializer=$,this.stringSerializer=w}setSerdeContext($){this.codecSerializer.setSerdeContext($),this.stringSerializer.setSerdeContext($)}write($,T){let w=E.NormalizedSchema.of($),P=w.getMergedTraits();if(P.httpHeader||P.httpLabel||P.httpQuery){this.stringSerializer.write(w,T),this.buffer=this.stringSerializer.flush();return}return this.codecSerializer.write(w,T)}flush(){if(this.buffer!==void 0){let $=this.buffer;return this.buffer=void 0,$}return this.codecSerializer.flush()}}class pT{name;kind;values;constructor({name:$,kind:T=g_.FieldPosition.HEADER,values:w=[]}){this.name=$,this.kind=T,this.values=w}add($){this.values.push($)}set($){this.values=$}remove($){this.values=this.values.filter((T)=>T!==$)}toString(){return this.values.map(($)=>$.includes(",")||$.includes(" ")?`"${$}"`:$).join(", ")}get(){return this.values}}class yT{entries={};encoding;constructor({fields:$=[],encoding:T="utf-8"}){$.forEach(this.setField.bind(this)),this.encoding=T}setField($){this.entries[$.name.toLowerCase()]=$}getField($){return this.entries[$.toLowerCase()]}removeField($){delete this.entries[$.toLowerCase()]}getByType($){return Object.values(this.entries).filter((T)=>T.kind===$)}}function v_($){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test($)}var n_=($)=>{return{setHttpHandler(T){$.httpHandler=T},httpHandler(){return $.httpHandler},updateHttpClientConfig(T,w){$.httpHandler?.updateHttpClientConfig(T,w)},httpHandlerConfigs(){return $.httpHandler.httpHandlerConfigs()}}},t_=($)=>{return{httpHandler:$.httpHandler()}},jT="content-length";function gT($){return(T)=>async(w)=>{let P=w.request;if(j.isInstance(P)){let{body:I,headers:h}=P;if(I&&Object.keys(h).map((U)=>U.toLowerCase()).indexOf(jT)===-1)try{let U=$(I);P.headers={...P.headers,[jT]:String(U)}}catch(U){}}return T({...w,request:P})}}var mT={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},i_=($)=>({applyToStack:(T)=>{T.add(gT($.bodyLengthChecker),mT)}}),Z0=($)=>encodeURIComponent($).replace(/[!'()*]/g,u_),u_=($)=>`%${$.charCodeAt(0).toString(16).toUpperCase()}`,r_=($)=>$.split("/").map(Z0).join("/");function l_($){let T=[];for(let w of Object.keys($).sort()){let P=$[w];if(w=Z0(w),Array.isArray(P))for(let I=0,h=P.length;I<h;I++)T.push(`${w}=${Z0(P[I])}`);else{let I=w;if(P||typeof P==="string")I+=`=${Z0(P)}`;T.push(I)}}return T.join("&")}function dT($){let T={};if($=$.replace(/^\?/,""),$)for(let w of $.split("&")){let[P,I=null]=w.split("=");if(P=decodeURIComponent(P),I)I=decodeURIComponent(I);if(!(P in T))T[P]=I;else if(Array.isArray(T[P]))T[P].push(I);else T[P]=[T[P],I]}return T}var vT=($)=>{if(typeof $==="string")return vT(new URL($));let{hostname:T,pathname:w,port:P,protocol:I,search:h}=$,U;if(h)U=dT(h);return{hostname:T,port:P?parseInt(P):void 0,protocol:I,path:w,query:U}};o_.Field=pT;o_.Fields=yT;o_.FromStringShapeDeserializer=n1;o_.HttpBindingProtocol=CT;o_.HttpInterceptingShapeDeserializer=bT;o_.HttpInterceptingShapeSerializer=kT;o_.HttpProtocol=g0;o_.HttpRequest=j;o_.HttpResponse=m1;o_.RequestBuilder=d1;o_.RpcProtocol=sT;o_.SerdeContext=$0;o_.ToStringShapeSerializer=t1;o_.buildQueryString=l_;o_.collectBody=n;o_.contentLengthMiddleware=gT;o_.contentLengthMiddlewareOptions=mT;o_.determineTimestampFormat=v1;o_.escapeUri=Z0;o_.escapeUriPath=r_;o_.extendedEncodeURIComponent=R0;o_.getContentLengthPlugin=i_;o_.getHttpHandlerExtensionConfiguration=n_;o_.isValidHostname=v_;o_.parseQueryString=dT;o_.parseUrl=vT;o_.requestBuilder=d_;o_.resolveHttpHandlerRuntimeConfig=t_;o_.resolvedPath=cT});var h1=y((y6)=>{var nT=D0(),B6=C0(),q6=F0(),m0=($)=>{if(typeof $==="function")return $();return $},r1=($,T,w,P,I)=>({name:T,namespace:$,traits:w,input:P,output:I}),x6=($)=>(T,w)=>async(P)=>{let{response:I}=await T(P),{operationSchema:h}=nT.getSmithyContext(w),[,U,A,_,M,Y]=h??[];try{let X=await $.protocol.deserializeResponse(r1(U,A,_,M,Y),{...$,...w},I);return{response:I,output:X}}catch(X){if(Object.defineProperty(X,"$response",{value:I,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in X)){try{X.message+=`
16
+ Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`}catch(f){if(!w.logger||w.logger?.constructor?.name==="NoOpLogger")console.warn("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.");else w.logger?.warn?.("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.")}if(typeof X.$responseBodyText<"u"){if(X.$response)X.$response.body=X.$responseBodyText}try{if(B6.HttpResponse.isInstance(I)){let{headers:f={}}=I,G=Object.entries(f);X.$metadata={httpStatusCode:I.statusCode,requestId:i1(/^x-[\w-]+-request-?id$/,G),extendedRequestId:i1(/^x-[\w-]+-id-2$/,G),cfId:i1(/^x-[\w-]+-cf-id$/,G)}}}catch(f){}}throw X}},i1=($,T)=>{return(T.find(([w])=>{return w.match($)})||[void 0,void 0])[1]},F6=($)=>(T,w)=>async(P)=>{let{operationSchema:I}=nT.getSmithyContext(w),[,h,U,A,_,M]=I??[],Y=w.endpointV2?async()=>q6.toEndpointV1(w.endpointV2):$.endpoint,X=await $.protocol.serializeRequest(r1(h,U,A,_,M),P.input,{...$,...w,endpoint:Y});return T({...P,request:X})},tT={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},iT={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function z6($){return{applyToStack:(T)=>{T.add(F6($),iT),T.add(x6($),tT),$.protocol.setSerdeContext($)}}}class D{name;namespace;traits;static assign($,T){return Object.assign($,T)}static[Symbol.hasInstance]($){let T=this.prototype.isPrototypeOf($);if(!T&&typeof $==="object"&&$!==null)return $.symbol===this.symbol;return T}getName(){return this.namespace+"#"+this.name}}class t0 extends D{static symbol=Symbol.for("@smithy/lis");name;traits;valueSchema;symbol=t0.symbol}var S6=($,T,w,P)=>D.assign(new t0,{name:T,namespace:$,traits:w,valueSchema:P});class i0 extends D{static symbol=Symbol.for("@smithy/map");name;traits;keySchema;valueSchema;symbol=i0.symbol}var j6=($,T,w,P,I)=>D.assign(new i0,{name:T,namespace:$,traits:w,keySchema:P,valueSchema:I});class u0 extends D{static symbol=Symbol.for("@smithy/ope");name;traits;input;output;symbol=u0.symbol}var C6=($,T,w,P,I)=>D.assign(new u0,{name:T,namespace:$,traits:w,input:P,output:I});class N0 extends D{static symbol=Symbol.for("@smithy/str");name;traits;memberNames;memberList;symbol=N0.symbol}var s6=($,T,w,P,I)=>D.assign(new N0,{name:T,namespace:$,traits:w,memberNames:P,memberList:I});class r0 extends N0{static symbol=Symbol.for("@smithy/err");ctor;symbol=r0.symbol}var c6=($,T,w,P,I,h)=>D.assign(new r0,{name:T,namespace:$,traits:w,memberNames:P,memberList:I,ctor:null}),d0=[];function O0($){if(typeof $==="object")return $;if($=$|0,d0[$])return d0[$];let T={},w=0;for(let P of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])if(($>>w++&1)===1)T[P]=1;return d0[$]=T}var Q0={it:Symbol.for("@smithy/nor-struct-it"),ns:Symbol.for("@smithy/ns")},v0=[],n0={};class s{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=s.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor($,T){this.ref=$,this.memberName=T;let w=[],P=$,I=$;this._isMemberSchema=!1;while(u1(P))w.push(P[1]),P=P[0],I=m0(P),this._isMemberSchema=!0;if(w.length>0){this.memberTraits={};for(let h=w.length-1;h>=0;--h){let U=w[h];Object.assign(this.memberTraits,O0(U))}}else this.memberTraits=0;if(I instanceof s){let h=this.memberTraits;Object.assign(this,I),this.memberTraits=Object.assign({},h,I.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,this.memberName=T??I.memberName;return}if(this.schema=m0(I),uT(this.schema))this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3];else this.name=this.memberName??String(I),this.traits=0;if(this._isMemberSchema&&!T)throw Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance]($){let T=this.prototype.isPrototypeOf($);if(!T&&typeof $==="object"&&$!==null)return $.symbol===this.symbol;return T}static of($){let T=typeof $==="function"||typeof $==="object"&&$!==null;if(typeof $==="number"){if(v0[$])return v0[$]}else if(typeof $==="string"){if(n0[$])return n0[$]}else if(T){if($[Q0.ns])return $[Q0.ns]}let w=m0($);if(w instanceof s)return w;if(u1(w)){let[I,h]=w;if(I instanceof s)return Object.assign(I.getMergedTraits(),O0(h)),I;throw Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify($,null,2)}.`)}let P=new s(w);if(T)return $[Q0.ns]=P;if(typeof w==="string")return n0[w]=P;if(typeof w==="number")return v0[w]=P;return P}getSchema(){let $=this.schema;if(Array.isArray($)&&$[0]===0)return $[4];return $}getName($=!1){let{name:T}=this;return!$&&T&&T.includes("#")?T.split("#")[1]:T||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){let $=this.getSchema();return typeof $==="number"?$>=64&&$<128:$[0]===1}isMapSchema(){let $=this.getSchema();return typeof $==="number"?$>=128&&$<=255:$[0]===2}isStructSchema(){let $=this.getSchema();if(typeof $!=="object")return!1;let T=$[0];return T===3||T===-3||T===4}isUnionSchema(){let $=this.getSchema();if(typeof $!=="object")return!1;return $[0]===4}isBlobSchema(){let $=this.getSchema();return $===21||$===42}isTimestampSchema(){let $=this.getSchema();return typeof $==="number"&&$>=4&&$<=7}isUnitSchema(){return this.getSchema()==="unit"}isDocumentSchema(){return this.getSchema()===15}isStringSchema(){return this.getSchema()===0}isBooleanSchema(){return this.getSchema()===2}isNumericSchema(){return this.getSchema()===1}isBigIntegerSchema(){return this.getSchema()===17}isBigDecimalSchema(){return this.getSchema()===19}isStreaming(){let{streaming:$}=this.getMergedTraits();return!!$||this.getSchema()===42}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return O0(this.memberTraits)}getOwnTraits(){return O0(this.traits)}getKeySchema(){let[$,T]=[this.isDocumentSchema(),this.isMapSchema()];if(!$&&!T)throw Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);let w=this.getSchema(),P=$?15:w[4]??0;return V0([P,0],"key")}getValueSchema(){let $=this.getSchema(),[T,w,P]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],I=typeof $==="number"?63&$:$&&typeof $==="object"&&(w||P)?$[3+$[0]]:T?15:void 0;if(I!=null)return V0([I,0],w?"value":"member");throw Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema($){let T=this.getSchema();if(this.isStructSchema()&&T[4].includes($)){let w=T[4].indexOf($),P=T[5][w];return V0(u1(P)?P:[P,0],$)}if(this.isDocumentSchema())return V0([15,0],$);throw Error(`@smithy/core/schema - ${this.getName(!0)} has no member=${$}.`)}getMemberSchemas(){let $={};try{for(let[T,w]of this.structIterator())$[T]=w}catch(T){}return $}getEventStreamMember(){if(this.isStructSchema()){for(let[$,T]of this.structIterator())if(T.isStreaming()&&T.isStructSchema())return $}return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw Error("@smithy/core/schema - cannot iterate non-struct schema.");let $=this.getSchema(),T=$[4].length,w=$[Q0.it];if(w&&T===w.length){yield*w;return}w=Array(T);for(let P=0;P<T;++P){let I=$[4][P],h=V0([$[5][P],0],I);yield w[P]=[I,h]}$[Q0.it]=w}}function V0($,T){if($ instanceof s)return Object.assign($,{memberName:T,_isMemberSchema:!0});return new s($,T)}var u1=($)=>Array.isArray($)&&$.length===2,uT=($)=>Array.isArray($)&&$.length>=5;class L0 extends D{static symbol=Symbol.for("@smithy/sim");name;schemaRef;traits;symbol=L0.symbol}var b6=($,T,w,P)=>D.assign(new L0,{name:T,namespace:$,traits:P,schemaRef:w}),k6=($,T,w,P)=>D.assign(new L0,{name:T,namespace:$,traits:w,schemaRef:P}),p6={BLOB:21,STREAMING_BLOB:42,BOOLEAN:2,STRING:0,NUMERIC:1,BIG_INTEGER:17,BIG_DECIMAL:19,DOCUMENT:15,TIMESTAMP_DEFAULT:4,TIMESTAMP_DATE_TIME:5,TIMESTAMP_HTTP_DATE:6,TIMESTAMP_EPOCH_SECONDS:7,LIST_MODIFIER:64,MAP_MODIFIER:128};class C{namespace;schemas;exceptions;static registries=new Map;constructor($,T=new Map,w=new Map){this.namespace=$,this.schemas=T,this.exceptions=w}static for($){if(!C.registries.has($))C.registries.set($,new C($));return C.registries.get($)}copyFrom($){let{schemas:T,exceptions:w}=this;for(let[P,I]of $.schemas)if(!T.has(P))T.set(P,I);for(let[P,I]of $.exceptions)if(!w.has(P))w.set(P,I)}register($,T){let w=this.normalizeShapeId($);for(let P of[this,C.for(w.split("#")[0])])P.schemas.set(w,T)}getSchema($){let T=this.normalizeShapeId($);if(!this.schemas.has(T))throw Error(`@smithy/core/schema - schema not found for ${T}`);return this.schemas.get(T)}registerError($,T){let w=$,P=w[1];for(let I of[this,C.for(P)])I.schemas.set(P+"#"+w[2],w),I.exceptions.set(w,T)}getErrorCtor($){let T=$;if(this.exceptions.has(T))return this.exceptions.get(T);return C.for(T[1]).exceptions.get(T)}getBaseException(){for(let $ of this.exceptions.keys())if(Array.isArray($)){let[,T,w]=$,P=T+"#"+w;if(P.startsWith("smithy.ts.sdk.synthetic.")&&P.endsWith("ServiceException"))return $}return}find($){for(let T of this.schemas.values())if($(T))return T;return}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId($){if($.includes("#"))return $;return this.namespace+"#"+$}}y6.ErrorSchema=r0;y6.ListSchema=t0;y6.MapSchema=i0;y6.NormalizedSchema=s;y6.OperationSchema=u0;y6.SCHEMA=p6;y6.Schema=D;y6.SimpleSchema=L0;y6.StructureSchema=N0;y6.TypeRegistry=C;y6.deref=m0;y6.deserializerMiddlewareOption=tT;y6.error=c6;y6.getSchemaSerdePlugin=z6;y6.isStaticSchema=uT;y6.list=S6;y6.map=j6;y6.op=C6;y6.operation=r1;y6.serializerMiddlewareOption=iT;y6.sim=b6;y6.simAdapter=k6;y6.simpleSchemaCacheN=v0;y6.simpleSchemaCacheS=n0;y6.struct=s6;y6.traitsCache=d0;y6.translateTraits=O0});
17
+ export{P0 as Woa,h1 as Xoa,D0 as Yoa,C$ as Zoa,F0 as _oa,ST as $oa,C0 as apa};
@@ -0,0 +1,2 @@
1
+ import{epa as n,fpa as o}from"./cli-0.6.0-szxjcmcn.mjs";var p={};n(p,{stripProtoFields:()=>e,logEventAsync:()=>c,logEvent:()=>i,attachAnalyticsSink:()=>r,_resetForTesting:()=>s});function e(t){return t}function r(){}function i(){}async function c(){}function s(){}var u=()=>{};
2
+ export{i as aga,p as bga,u as cga};
@@ -0,0 +1,18 @@
1
+ import{Joa as A2,Koa as l5,Loa as b$,Moa as e4,Noa as v$}from"./cli-0.6.0-t2arqp0e.mjs";import{bpa as y4,dpa as a0,epa as f2,fpa as C,gpa as s0}from"./cli-0.6.0-szxjcmcn.mjs";function f0($,Y){return function(){return $.apply(Y,arguments)}}var j4=()=>{};function E0($){return $!==null&&!H0($)&&$.constructor!==null&&!H0($.constructor)&&t($.constructor.isBuffer)&&$.constructor.isBuffer($)}function A6($){let Y;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)Y=ArrayBuffer.isView($);else Y=$&&$.buffer&&R1($.buffer);return Y}function u6(){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 g0($,Y,{allOwnKeys:Q=!1}={}){if($===null||typeof $>"u")return;let G,W;if(typeof $!=="object")$=[$];if(w0($))for(G=0,W=$.length;G<W;G++)Y.call(null,$[G],G,$);else{if(E0($))return;let Z=Q?Object.getOwnPropertyNames($):Object.keys($),X=Z.length,K;for(G=0;G<X;G++)K=Z[G],Y.call(null,$[K],K,$)}}function O1($,Y){if(E0($))return null;Y=Y.toLowerCase();let Q=Object.keys($),G=Q.length,W;while(G-- >0)if(W=Q[G],Y===W.toLowerCase())return W;return null}function k4(...$){let{caseless:Y,skipUndefined:Q}=H1(this)&&this||{},G={},W=(Z,X)=>{if(X==="__proto__"||X==="constructor"||X==="prototype")return;let K=Y&&typeof X==="string"&&O1(G,X)||X,M=x4(G,K)?G[K]:void 0;if(M4(M)&&M4(Z))G[K]=k4(M,Z);else if(M4(Z))G[K]=k4({},Z);else if(w0(Z))G[K]=Z.slice();else if(!Q||!H0(Z))G[K]=Z};for(let Z=0,X=$.length;Z<X;Z++){let K=$[Z];if(!K||E0(K))continue;if(g0(K,W),typeof K!=="object"||w0(K))continue;let M=Object.getOwnPropertySymbols(K);for(let z=0;z<M.length;z++){let N=M[z];if(X2.call(K,N))W(K[N],N)}}return G}function B2($){return!!($&&t($.append)&&$[C1]==="FormData"&&$[z4])}var E6,N4,z4,C1,B4,Q0=($)=>{return $=$.toLowerCase(),(Y)=>B4(Y)===$},V4=($)=>(Y)=>typeof Y===$,w0,H0,R1,j6,t,T1,h0=($)=>$!==null&&typeof $==="object",k6=($)=>$===!0||$===!1,M4=($)=>{if(B4($)!=="object")return!1;let Y=N4($);return(Y===null||Y===Object.prototype||Object.getPrototypeOf(Y)===null)&&!(C1 in $)&&!(z4 in $)},x6=($)=>{if(!h0($)||E0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(Y){return!1}},b6,v6,y6=($)=>{return!!($&&typeof $.uri<"u")},m6=($)=>$&&typeof $.getParts<"u",f6,h6,g6=($)=>h0($)&&t($.pipe),_1,q1,d6=($)=>{if(!$)return!1;if(q1&&$ instanceof q1)return!0;let Y=N4($);if(!Y||Y===Object.prototype)return!1;if(!t($.append))return!1;let Q=B4($);return Q==="formdata"||Q==="object"&&t($.toString)&&$.toString()==="[object FormData]"},c6,p6,l6,i6,n6,a6=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},U0,H1=($)=>!H0($)&&$!==U0,t6=($,Y,Q,{allOwnKeys:G}={})=>{return g0(Y,(W,Z)=>{if(Q&&t(W))Object.defineProperty($,Z,{__proto__:null,value:f0(W,Q),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,Z,{__proto__:null,value:W,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:G}),$},s6=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},r6=($,Y,Q,G)=>{$.prototype=Object.create(Y.prototype,G),Object.defineProperty($.prototype,"constructor",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{__proto__:null,value:Y.prototype}),Q&&Object.assign($.prototype,Q)},o6=($,Y,Q,G)=>{let W,Z,X,K={};if(Y=Y||{},$==null)return Y;do{W=Object.getOwnPropertyNames($),Z=W.length;while(Z-- >0)if(X=W[Z],(!G||G(X,$,Y))&&!K[X])Y[X]=$[X],K[X]=!0;$=Q!==!1&&N4($)}while($&&(!Q||Q($,Y))&&$!==Object.prototype);return Y},e6=($,Y,Q)=>{if($=String($),Q===void 0||Q>$.length)Q=$.length;Q-=Y.length;let G=$.indexOf(Y,Q);return G!==-1&&G===Q},$2=($)=>{if(!$)return null;if(w0($))return $;let Y=$.length;if(!T1(Y))return null;let Q=Array(Y);while(Y-- >0)Q[Y]=$[Y];return Q},Y2,Q2=($,Y)=>{let G=($&&$[z4]).call($),W;while((W=G.next())&&!W.done){let Z=W.value;Y.call($,Z[0],Z[1])}},G2=($,Y)=>{let Q,G=[];while((Q=$.exec(Y))!==null)G.push(Q);return G},W2,Z2=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Q,G,W){return G.toUpperCase()+W})},x4,X2,J2,E1=($,Y)=>{let Q=Object.getOwnPropertyDescriptors($),G={};g0(Q,(W,Z)=>{let X;if((X=Y(W,Z,$))!==!1)G[Z]=X||W}),Object.defineProperties($,G)},K2=($)=>{E1($,(Y,Q)=>{if(t($)&&["arguments","caller","callee"].includes(Q))return!1;let G=$[Q];if(!t(G))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 '"+Q+"'")}})},M2=($,Y)=>{let Q={},G=(W)=>{W.forEach((Z)=>{Q[Z]=!0})};return w0($)?G($):G(String($).split(Y)),Q},N2=()=>{},z2=($,Y)=>{return $!=null&&Number.isFinite($=+$)?$:Y},V2=($)=>{let Y=new WeakSet,Q=(G)=>{if(h0(G)){if(Y.has(G))return;if(E0(G))return G;if(!("toJSON"in G)){Y.add(G);let W=w0(G)?[]:{};return g0(G,(Z,X)=>{let K=Q(Z);!H0(K)&&(W[X]=K)}),Y.delete(G),W}}return G};return Q($)},I2,F2=($)=>$&&(h0($)||t($))&&t($.then)&&t($.catch),A1,L2,U2=($)=>$!=null&&t($[z4]),J;var j=C(()=>{j4();({toString:E6}=Object.prototype),{getPrototypeOf:N4}=Object,{iterator:z4,toStringTag:C1}=Symbol,B4=(($)=>(Y)=>{let Q=E6.call(Y);return $[Q]||($[Q]=Q.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:w0}=Array,H0=V4("undefined");R1=Q0("ArrayBuffer");j6=V4("string"),t=V4("function"),T1=V4("number"),b6=Q0("Date"),v6=Q0("File"),f6=Q0("Blob"),h6=Q0("FileList");_1=u6(),q1=typeof _1.FormData<"u"?_1.FormData:void 0,c6=Q0("URLSearchParams"),[p6,l6,i6,n6]=["ReadableStream","Request","Response","Headers"].map(Q0);U0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();Y2=(($)=>{return(Y)=>{return $&&Y instanceof $}})(typeof Uint8Array<"u"&&N4(Uint8Array)),W2=Q0("HTMLFormElement"),x4=(({hasOwnProperty:$})=>(Y,Q)=>$.call(Y,Q))(Object.prototype),{propertyIsEnumerable:X2}=Object.prototype,J2=Q0("RegExp");I2=Q0("AsyncFunction"),A1=(($,Y)=>{if($)return setImmediate;return Y?((Q,G)=>{return U0.addEventListener("message",({source:W,data:Z})=>{if(W===U0&&Z===Q)G.length&&G.shift()()},!1),(W)=>{G.push(W),U0.postMessage(Q,"*")}})(`axios@${Math.random()}`,[]):(Q)=>setTimeout(Q)})(typeof setImmediate==="function",t(U0.postMessage)),L2=typeof queueMicrotask<"u"?queueMicrotask.bind(U0):typeof process<"u"&&process.nextTick||A1,J={isArray:w0,isArrayBuffer:R1,isBuffer:E0,isFormData:d6,isArrayBufferView:A6,isString:j6,isNumber:T1,isBoolean:k6,isObject:h0,isPlainObject:M4,isEmptyObject:x6,isReadableStream:p6,isRequest:l6,isResponse:i6,isHeaders:n6,isUndefined:H0,isDate:b6,isFile:v6,isReactNativeBlob:y6,isReactNative:m6,isBlob:f6,isRegExp:J2,isFunction:t,isStream:g6,isURLSearchParams:c6,isTypedArray:Y2,isFileList:h6,forEach:g0,merge:k4,extend:t6,trim:a6,stripBOM:s6,inherits:r6,toFlatObject:o6,kindOf:B4,kindOfTest:Q0,endsWith:e6,toArray:$2,forEachEntry:Q2,matchAll:G2,isHTMLForm:W2,hasOwnProperty:x4,hasOwnProp:x4,reduceDescriptors:E1,freezeMethods:K2,toObjectSet:M2,toCamelCase:Z2,noop:N2,toFiniteNumber:z2,findKey:O1,global:U0,isContextDefined:H1,isSpecCompliantForm:B2,toJSONObject:V2,isAsyncFn:I2,isThenable:F2,setImmediate:A1,asap:L2,isIterable:U2}});var w2,j1=($)=>{let Y={},Q,G,W;return $&&$.split(`
2
+ `).forEach(function(X){if(W=X.indexOf(":"),Q=X.substring(0,W).trim().toLowerCase(),G=X.substring(W+1).trim(),!Q||Y[Q]&&w2[Q])return;if(Q==="set-cookie")if(Y[Q])Y[Q].push(G);else Y[Q]=[G];else Y[Q]=Y[Q]?Y[Q]+", "+G:G}),Y};var k1=C(()=>{j();w2=J.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 S2($){let Y=0,Q=$.length;while(Y<Q){let G=$.charCodeAt(Y);if(G!==9&&G!==32)break;Y+=1}while(Q>Y){let G=$.charCodeAt(Q-1);if(G!==9&&G!==32)break;Q-=1}return Y===0&&Q===$.length?$:$.slice(Y,Q)}function b4($,Y){if(J.isArray($))return $.map((Q)=>b4(Q,Y));return S2(String($).replace(Y,""))}function A0($){let Y=Object.create(null);return J.forEach($.toJSON(),(Q,G)=>{Y[G]=_2(Q)}),Y}var D2,P2,x1=($)=>b4($,D2),_2=($)=>b4($,P2);var u0=C(()=>{j();D2=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),P2=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g")});function d0($){return $&&String($).trim().toLowerCase()}function I4($){if($===!1||$==null)return $;return J.isArray($)?$.map(I4):x1(String($))}function q2($){let Y=Object.create(null),Q=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,G;while(G=Q.exec($))Y[G[1]]=G[2];return Y}function v4($,Y,Q,G,W){if(J.isFunction(G))return G.call(this,Y,Q);if(W)Y=Q;if(!J.isString(Y))return;if(J.isString(G))return Y.indexOf(G)!==-1;if(J.isRegExp(G))return G.test(Y)}function R2($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Y,Q,G)=>{return Q.toUpperCase()+G})}function T2($,Y){let Q=J.toCamelCase(" "+Y);["get","set","has"].forEach((G)=>{Object.defineProperty($,G+Q,{__proto__:null,value:function(W,Z,X){return this[G].call(this,Y,W,Z,X)},configurable:!0})})}var b1,C2=($)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim()),c0,x;var G0=C(()=>{j();k1();u0();b1=Symbol("internals");c0=class c0{constructor($){$&&this.set($)}set($,Y,Q){let G=this;function W(X,K,M){let z=d0(K);if(!z)return;let N=J.findKey(G,z);if(!N||G[N]===void 0||M===!0||M===void 0&&G[N]!==!1)G[N||K]=I4(X)}let Z=(X,K)=>J.forEach(X,(M,z)=>W(M,z,K));if(J.isPlainObject($)||$ instanceof this.constructor)Z($,Y);else if(J.isString($)&&($=$.trim())&&!C2($))Z(j1($),Y);else if(J.isObject($)&&J.isIterable($)){let X={},K,M;for(let z of $){if(!J.isArray(z))throw TypeError("Object iterator must return a key-value pair");X[M=z[0]]=(K=X[M])?J.isArray(K)?[...K,z[1]]:[K,z[1]]:z[1]}Z(X,Y)}else $!=null&&W(Y,$,Q);return this}get($,Y){if($=d0($),$){let Q=J.findKey(this,$);if(Q){let G=this[Q];if(!Y)return G;if(Y===!0)return q2(G);if(J.isFunction(Y))return Y.call(this,G,Q);if(J.isRegExp(Y))return Y.exec(G);throw TypeError("parser must be boolean|regexp|function")}}}has($,Y){if($=d0($),$){let Q=J.findKey(this,$);return!!(Q&&this[Q]!==void 0&&(!Y||v4(this,this[Q],Q,Y)))}return!1}delete($,Y){let Q=this,G=!1;function W(Z){if(Z=d0(Z),Z){let X=J.findKey(Q,Z);if(X&&(!Y||v4(Q,Q[X],X,Y)))delete Q[X],G=!0}}if(J.isArray($))$.forEach(W);else W($);return G}clear($){let Y=Object.keys(this),Q=Y.length,G=!1;while(Q--){let W=Y[Q];if(!$||v4(this,this[W],W,$,!0))delete this[W],G=!0}return G}normalize($){let Y=this,Q={};return J.forEach(this,(G,W)=>{let Z=J.findKey(Q,W);if(Z){Y[Z]=I4(G),delete Y[W];return}let X=$?R2(W):String(W).trim();if(X!==W)delete Y[W];Y[X]=I4(G),Q[X]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){let Y=Object.create(null);return J.forEach(this,(Q,G)=>{Q!=null&&Q!==!1&&(Y[G]=$&&J.isArray(Q)?Q.join(", "):Q)}),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 Q=new this($);return Y.forEach((G)=>Q.set(G)),Q}static accessor($){let Q=(this[b1]=this[b1]={accessors:{}}).accessors,G=this.prototype;function W(Z){let X=d0(Z);if(!Q[X])T2(G,Z),Q[X]=!0}return J.isArray($)?$.forEach(W):W($),this}};c0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(c0.prototype,({value:$},Y)=>{let Q=Y[0].toUpperCase()+Y.slice(1);return{get:()=>$,set(G){this[Q]=G}}});J.freezeMethods(c0);x=c0});function H2($){if(J.hasOwnProp($,"toJSON"))return!0;let Y=Object.getPrototypeOf($);while(Y&&Y!==Object.prototype){if(J.hasOwnProp(Y,"toJSON"))return!0;Y=Object.getPrototypeOf(Y)}return!1}function E2($,Y){let Q=new Set(Y.map((Z)=>String(Z).toLowerCase())),G=[],W=(Z)=>{if(Z===null||typeof Z!=="object")return Z;if(J.isBuffer(Z))return Z;if(G.indexOf(Z)!==-1)return;if(Z instanceof x)Z=Z.toJSON();G.push(Z);let X;if(J.isArray(Z))X=[],Z.forEach((K,M)=>{let z=W(K);if(!J.isUndefined(z))X[M]=z});else{if(!J.isPlainObject(Z)&&H2(Z))return G.pop(),Z;X=Object.create(null);for(let[K,M]of Object.entries(Z)){let z=Q.has(K.toLowerCase())?O2:W(M);if(!J.isUndefined(z))X[K]=z}}return G.pop(),X};return W($)}var O2="[REDACTED ****]",u,V;var r=C(()=>{j();G0();u=class u extends Error{static from($,Y,Q,G,W,Z){let X=new u($.message,Y||$.code,Q,G,W);if(X.cause=$,X.name=$.name,$.status!=null&&X.status==null)X.status=$.status;return Z&&Object.assign(X,Z),X}constructor($,Y,Q,G,W){super($);if(Object.defineProperty(this,"message",{__proto__:null,value:$,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,Y&&(this.code=Y),Q&&(this.config=Q),G&&(this.request=G),W)this.response=W,this.status=W.status}toJSON(){let $=this.config,Y=$&&J.hasOwnProp($,"redact")?$.redact:void 0,Q=J.isArray(Y)&&Y.length>0?E2($,Y):J.toJSONObject($);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:Q,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.ECONNREFUSED="ECONNREFUSED";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";u.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";V=u});var v1,F4;var m4=C(()=>{v1=y4(A2(),1),F4=v1.default});function h4($){return J.isPlainObject($)||J.isArray($)}function y1($){return J.endsWith($,"[]")?$.slice(0,-2):$}function f4($,Y,Q){if(!$)return Y;return $.concat(Y).map(function(W,Z){return W=y1(W),!Q&&Z?"["+W+"]":W}).join(Q?".":"")}function j2($){return J.isArray($)&&!$.some(h4)}function x2($,Y,Q){if(!J.isObject($))throw TypeError("target must be an object");Y=Y||new(F4||FormData),Q=J.toFlatObject(Q,{metaTokens:!0,dots:!1,indexes:!1},!1,function(L,w){return!J.isUndefined(w[L])});let G=Q.metaTokens,W=Q.visitor||I,Z=Q.dots,X=Q.indexes,K=Q.Blob||typeof Blob<"u"&&Blob,M=Q.maxDepth===void 0?100:Q.maxDepth,z=K&&J.isSpecCompliantForm(Y);if(!J.isFunction(W))throw TypeError("visitor must be a function");function N(U){if(U===null)return"";if(J.isDate(U))return U.toISOString();if(J.isBoolean(U))return U.toString();if(!z&&J.isBlob(U))throw new V("Blob is not supported. Use a Buffer instead.");if(J.isArrayBuffer(U)||J.isTypedArray(U))return z&&typeof Blob==="function"?new Blob([U]):Buffer.from(U);return U}function I(U,L,w){let _=U;if(J.isReactNative(Y)&&J.isReactNativeBlob(U))return Y.append(f4(w,L,Z),N(U)),!1;if(U&&!w&&typeof U==="object"){if(J.endsWith(L,"{}"))L=G?L:L.slice(0,-2),U=JSON.stringify(U);else if(J.isArray(U)&&j2(U)||(J.isFileList(U)||J.endsWith(L,"[]"))&&(_=J.toArray(U)))return L=y1(L),_.forEach(function(O,f){!(J.isUndefined(O)||O===null)&&Y.append(X===!0?f4([L],f,Z):X===null?L:L+"[]",N(O))}),!1}if(h4(U))return!0;return Y.append(f4(w,L,Z),N(U)),!1}let B=[],F=Object.assign(k2,{defaultVisitor:I,convertValue:N,isVisitable:h4});function D(U,L,w=0){if(J.isUndefined(U))return;if(w>M)throw new V("Object is too deeply nested ("+w+" levels). Max depth: "+M,V.ERR_FORM_DATA_DEPTH_EXCEEDED);if(B.indexOf(U)!==-1)throw Error("Circular reference detected in "+L.join("."));B.push(U),J.forEach(U,function(R,O){if((!(J.isUndefined(R)||R===null)&&W.call(Y,R,J.isString(O)?O.trim():O,L,F))===!0)D(R,L?L.concat(O):[O],w+1)}),B.pop()}if(!J.isObject($))throw TypeError("data must be an object");return D($),Y}var k2,I0;var p0=C(()=>{j();r();m4();k2=J.toFlatObject(J,{},null,function(Y){return/^is[A-Z]/.test(Y)});I0=x2});function m1($){let Y={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent($).replace(/[!'()~]|%20/g,function(G){return Y[G]})}function f1($,Y){this._pairs=[],$&&I0($,this,Y)}var h1,g1;var u1=C(()=>{p0();h1=f1.prototype;h1.append=function(Y,Q){this._pairs.push([Y,Q])};h1.toString=function(Y){let Q=Y?function(G){return Y.call(this,G,m1)}:m1;return this._pairs.map(function(W){return Q(W[0])+"="+Q(W[1])},"").join("&")};g1=f1});function b2($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function S0($,Y,Q){if(!Y)return $;let G=Q&&Q.encode||b2,W=J.isFunction(Q)?{serialize:Q}:Q,Z=W&&W.serialize,X;if(Z)X=Z(Y,W);else X=J.isURLSearchParams(Y)?Y.toString():new g1(Y,W).toString(G);if(X){let K=$.indexOf("#");if(K!==-1)$=$.slice(0,K);$+=($.indexOf("?")===-1?"?":"&")+X}return $}var L4=C(()=>{j();u1()});class d1{constructor(){this.handlers=[]}use($,Y,Q){return this.handlers.push({fulfilled:$,rejected:Y,synchronous:Q?Q.synchronous:!1,runWhen:Q?Q.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){J.forEach(this.handlers,function(Q){if(Q!==null)$(Q)})}}var g4;var c1=C(()=>{j();g4=d1});var F0;var l0=C(()=>{F0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1}});import v2 from"url";var p1;var l1=C(()=>{p1=v2.URLSearchParams});import y2 from"crypto";var u4="abcdefghijklmnopqrstuvwxyz",i1="0123456789",n1,m2=($=16,Y=n1.ALPHA_DIGIT)=>{let Q="",{length:G}=Y,W=new Uint32Array($);y2.randomFillSync(W);for(let Z=0;Z<$;Z++)Q+=Y[W[Z]%G];return Q},a1;var t1=C(()=>{l1();m4();n1={DIGIT:i1,ALPHA:u4,ALPHA_DIGIT:u4+u4.toUpperCase()+i1},a1={isNode:!0,classes:{URLSearchParams:p1,FormData:F4,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:n1,generateString:m2,protocols:["http","https","file","data"]}});var p4={};f2(p4,{origin:()=>u2,navigator:()=>d4,hasStandardBrowserWebWorkerEnv:()=>g2,hasStandardBrowserEnv:()=>h2,hasBrowserEnv:()=>c4});var c4,d4,h2,g2,u2;var s1=C(()=>{c4=typeof window<"u"&&typeof document<"u",d4=typeof navigator==="object"&&navigator||void 0,h2=c4&&(!d4||["ReactNative","NativeScript","NS"].indexOf(d4.product)<0),g2=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),u2=c4&&window.location.href||"http://localhost"});var H;var W0=C(()=>{t1();s1();H={...p4,...a1}});function l4($,Y){return I0($,new H.classes.URLSearchParams,{visitor:function(Q,G,W,Z){if(H.isNode&&J.isBuffer(Q))return this.append(G,Q.toString("base64")),!1;return Z.defaultVisitor.apply(this,arguments)},...Y})}var r1=C(()=>{j();p0();W0()});function d2($){return J.matchAll(/\w+|\[(\w*)]/g,$).map((Y)=>{return Y[0]==="[]"?"":Y[1]||Y[0]})}function c2($){let Y={},Q=Object.keys($),G,W=Q.length,Z;for(G=0;G<W;G++)Z=Q[G],Y[Z]=$[Z];return Y}function p2($){function Y(Q,G,W,Z){let X=Q[Z++];if(X==="__proto__")return!0;let K=Number.isFinite(+X),M=Z>=Q.length;if(X=!X&&J.isArray(W)?W.length:X,M){if(J.hasOwnProp(W,X))W[X]=J.isArray(W[X])?W[X].concat(G):[W[X],G];else W[X]=G;return!K}if(!J.hasOwnProp(W,X)||!J.isObject(W[X]))W[X]=[];if(Y(Q,G,W[X],Z)&&J.isArray(W[X]))W[X]=c2(W[X]);return!K}if(J.isFormData($)&&J.isFunction($.entries)){let Q={};return J.forEachEntry($,(G,W)=>{Y(d2(G),W,Q,0)}),Q}return null}var U4;var i4=C(()=>{j();U4=p2});function l2($,Y,Q){if(J.isString($))try{return(Y||JSON.parse)($),J.trim($)}catch(G){if(G.name!=="SyntaxError")throw G}return(Q||JSON.stringify)($)}var j0=($,Y)=>$!=null&&J.hasOwnProp($,Y)?$[Y]:void 0,n4,k0;var w4=C(()=>{j();r();l0();p0();r1();W0();i4();n4={transitional:F0,adapter:["xhr","http","fetch"],transformRequest:[function(Y,Q){let G=Q.getContentType()||"",W=G.indexOf("application/json")>-1,Z=J.isObject(Y);if(Z&&J.isHTMLForm(Y))Y=new FormData(Y);if(J.isFormData(Y))return W?JSON.stringify(U4(Y)):Y;if(J.isArrayBuffer(Y)||J.isBuffer(Y)||J.isStream(Y)||J.isFile(Y)||J.isBlob(Y)||J.isReadableStream(Y))return Y;if(J.isArrayBufferView(Y))return Y.buffer;if(J.isURLSearchParams(Y))return Q.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Y.toString();let K;if(Z){let M=j0(this,"formSerializer");if(G.indexOf("application/x-www-form-urlencoded")>-1)return l4(Y,M).toString();if((K=J.isFileList(Y))||G.indexOf("multipart/form-data")>-1){let z=j0(this,"env"),N=z&&z.FormData;return I0(K?{"files[]":Y}:Y,N&&new N,M)}}if(Z||W)return Q.setContentType("application/json",!1),l2(Y);return Y}],transformResponse:[function(Y){let Q=j0(this,"transitional")||n4.transitional,G=Q&&Q.forcedJSONParsing,W=j0(this,"responseType"),Z=W==="json";if(J.isResponse(Y)||J.isReadableStream(Y))return Y;if(Y&&J.isString(Y)&&(G&&!W||Z)){let K=!(Q&&Q.silentJSONParsing)&&Z;try{return JSON.parse(Y,j0(this,"parseReviver"))}catch(M){if(K){if(M.name==="SyntaxError")throw V.from(M,V.ERR_BAD_RESPONSE,this,null,j0(this,"response"));throw M}}}return Y}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:H.classes.FormData,Blob:H.classes.Blob},validateStatus:function(Y){return Y>=200&&Y<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch","query"],($)=>{n4.headers[$]={}});k0=n4});function i0($,Y){let Q=this||k0,G=Y||Q,W=x.from(G.headers),Z=G.data;return J.forEach($,function(K){Z=K.call(Q,Z,W.normalize(),Y?Y.status:void 0)}),W.normalize(),Z}var o1=C(()=>{j();w4();G0()});function n0($){return!!($&&$.__CANCEL__)}var a4=()=>{};var e1,o;var D0=C(()=>{r();e1=class e1 extends V{constructor($,Y,Q){super($==null?"canceled":$,V.ERR_CANCELED,Y,Q);this.name="CanceledError",this.__CANCEL__=!0}};o=e1});function z0($,Y,Q){let G=Q.config.validateStatus;if(!Q.status||!G||G(Q.status))$(Q);else Y(new V("Request failed with status code "+Q.status,Q.status>=400&&Q.status<500?V.ERR_BAD_REQUEST:V.ERR_BAD_RESPONSE,Q.config,Q.request,Q))}var S4=C(()=>{r()});function t4($){if(typeof $!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}var $5=()=>{};function s4($,Y){return Y?$.replace(/\/?\/$/,"")+"/"+Y.replace(/^\/+/,""):$}var Y5=()=>{};function P0($,Y,Q){let G=!t4(Y);if($&&(G||Q===!1))return s4($,Y);return Y}var D4=C(()=>{$5();Y5()});var G5=a0((Q5)=>{Object.defineProperty(Q5,"__esModule",{value:!0});function i2($){return function(Y,Q){return new Promise((G,W)=>{$.call(this,Y,Q,(Z,X)=>{if(Z)W(Z);else G(X)})})}}Q5.default=i2});var X5=a0((o4,Z5)=>{var W5=o4&&o4.__importDefault||function($){return $&&$.__esModule?$:{default:$}},a2=s0("events"),t2=W5(e4()),s2=W5(G5()),t0=t2.default("agent-base");function r2($){return Boolean($)&&typeof $.addRequest==="function"}function r4(){let{stack:$}=Error();if(typeof $!=="string")return!1;return $.split(`
4
+ `).some((Y)=>Y.indexOf("(https.js:")!==-1||Y.indexOf("node:https:")!==-1)}function P4($,Y){return new P4.Agent($,Y)}(function($){class Y extends a2.EventEmitter{constructor(Q,G){super();let W=G;if(typeof Q==="function")this.callback=Q;else if(Q)W=Q;if(this.timeout=null,W&&typeof W.timeout==="number")this.timeout=W.timeout;this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number")return this.explicitDefaultPort;return r4()?443:80}set defaultPort(Q){this.explicitDefaultPort=Q}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return r4()?"https:":"http:"}set protocol(Q){this.explicitProtocol=Q}callback(Q,G,W){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(Q,G){let W=Object.assign({},G);if(typeof W.secureEndpoint!=="boolean")W.secureEndpoint=r4();if(W.host==null)W.host="localhost";if(W.port==null)W.port=W.secureEndpoint?443:80;if(W.protocol==null)W.protocol=W.secureEndpoint?"https:":"http:";if(W.host&&W.path)delete W.path;delete W.agent,delete W.hostname,delete W._defaultAgent,delete W.defaultPort,delete W.createConnection,Q._last=!0,Q.shouldKeepAlive=!1;let Z=!1,X=null,K=W.timeout||this.timeout,M=(B)=>{if(Q._hadError)return;Q.emit("error",B),Q._hadError=!0},z=()=>{X=null,Z=!0;let B=Error(`A "socket" was not created for HTTP request before ${K}ms`);B.code="ETIMEOUT",M(B)},N=(B)=>{if(Z)return;if(X!==null)clearTimeout(X),X=null;M(B)},I=(B)=>{if(Z)return;if(X!=null)clearTimeout(X),X=null;if(r2(B)){t0("Callback returned another Agent instance %o",B.constructor.name),B.addRequest(Q,W);return}if(B){B.once("free",()=>{this.freeSocket(B,W)}),Q.onSocket(B);return}let F=Error(`no Duplex stream was returned to agent-base for \`${Q.method} ${Q.path}\``);M(F)};if(typeof this.callback!=="function"){M(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)t0("Converting legacy callback function to promise"),this.promisifiedCallback=s2.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof K==="number"&&K>0)X=setTimeout(z,K);if("port"in W&&typeof W.port!=="number")W.port=Number(W.port);try{t0("Resolving socket for %o request: %o",W.protocol,`${Q.method} ${Q.path}`),Promise.resolve(this.promisifiedCallback(Q,W)).then(I,N)}catch(B){Promise.reject(B).catch(N)}}freeSocket(Q,G){t0("Freeing socket %o %o",Q.constructor.name,G),Q.destroy()}destroy(){t0("Destroying agent %o",this.constructor.name)}}$.Agent=Y,$.prototype=$.Agent.prototype})(P4||(P4={}));Z5.exports=P4});var J5=a0((o0)=>{var o2=o0&&o0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(o0,"__esModule",{value:!0});var e2=o2(e4()),r0=e2.default("https-proxy-agent:parse-proxy-response");function $$($){return new Promise((Y,Q)=>{let G=0,W=[];function Z(){let I=$.read();if(I)N(I);else $.once("readable",Z)}function X(){$.removeListener("end",M),$.removeListener("error",z),$.removeListener("close",K),$.removeListener("readable",Z)}function K(I){r0("onclose had error %o",I)}function M(){r0("onend")}function z(I){X(),r0("onerror %o",I),Q(I)}function N(I){W.push(I),G+=I.length;let B=Buffer.concat(W,G);if(B.indexOf(`\r
5
+ \r
6
+ `)===-1){r0("have not received end of HTTP headers yet..."),Z();return}let D=B.toString("ascii",0,B.indexOf(`\r
7
+ `)),U=+D.split(" ")[1];r0("got proxy server response: %o",D),Y({statusCode:U,buffered:B})}$.on("error",z),$.on("close",K),$.on("end",M),Z()})}o0.default=$$});var z5=a0((_0)=>{var Y$=_0&&_0.__awaiter||function($,Y,Q,G){function W(Z){return Z instanceof Q?Z:new Q(function(X){X(Z)})}return new(Q||(Q=Promise))(function(Z,X){function K(N){try{z(G.next(N))}catch(I){X(I)}}function M(N){try{z(G.throw(N))}catch(I){X(I)}}function z(N){N.done?Z(N.value):W(N.value).then(K,M)}z((G=G.apply($,Y||[])).next())})},x0=_0&&_0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(_0,"__esModule",{value:!0});var K5=x0(s0("net")),M5=x0(s0("tls")),Q$=x0(s0("url")),G$=x0(s0("assert")),W$=x0(e4()),Z$=X5(),X$=x0(J5()),e0=W$.default("https-proxy-agent:agent");class N5 extends Z$.Agent{constructor($){let Y;if(typeof $==="string")Y=Q$.default.parse($);else Y=$;if(!Y)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");e0("creating new HttpsProxyAgent instance: %o",Y);super(Y);let Q=Object.assign({},Y);if(this.secureProxy=Y.secureProxy||M$(Q.protocol),Q.host=Q.hostname||Q.host,typeof Q.port==="string")Q.port=parseInt(Q.port,10);if(!Q.port&&Q.host)Q.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in Q))Q.ALPNProtocols=["http 1.1"];if(Q.host&&Q.path)delete Q.path,delete Q.pathname;this.proxy=Q}callback($,Y){return Y$(this,void 0,void 0,function*(){let{proxy:Q,secureProxy:G}=this,W;if(G)e0("Creating `tls.Socket`: %o",Q),W=M5.default.connect(Q);else e0("Creating `net.Socket`: %o",Q),W=K5.default.connect(Q);let Z=Object.assign({},Q.headers),K=`CONNECT ${`${Y.host}:${Y.port}`} HTTP/1.1\r
8
+ `;if(Q.auth)Z["Proxy-Authorization"]=`Basic ${Buffer.from(Q.auth).toString("base64")}`;let{host:M,port:z,secureEndpoint:N}=Y;if(!K$(z,N))M+=`:${z}`;Z.Host=M,Z.Connection="close";for(let U of Object.keys(Z))K+=`${U}: ${Z[U]}\r
9
+ `;let I=X$.default(W);W.write(`${K}\r
10
+ `);let{statusCode:B,buffered:F}=yield I;if(B===200){if($.once("socket",J$),Y.secureEndpoint){e0("Upgrading socket connection to TLS");let U=Y.servername||Y.host;return M5.default.connect(Object.assign(Object.assign({},N$(Y,"host","hostname","path","port")),{socket:W,servername:U}))}return W}W.destroy();let D=new K5.default.Socket({writable:!1});return D.readable=!0,$.once("socket",(U)=>{e0("replaying proxy buffer for failed request"),G$.default(U.listenerCount("data")>0),U.push(F),U.push(null)}),D})}}_0.default=N5;function J$($){$.resume()}function K$($,Y){return Boolean(!Y&&$===80||Y&&$===443)}function M$($){return typeof $==="string"?/^https:?$/i.test($):!1}function N$($,...Y){let Q={},G;for(G in $)if(!Y.includes(G))Q[G]=$[G];return Q}});var V5=a0((Q1,B5)=>{var z$=Q1&&Q1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},$1=z$(z5());function Y1($){return new $1.default($)}(function($){$.HttpsProxyAgent=$1.default,$.prototype=$1.default.prototype})(Y1||(Y1={}));B5.exports=Y1});var B0="1.17.0";var $4=()=>{};function Y4($){let Y=/^([-+\w]{1,25}):(?:\/\/)?/.exec($);return Y&&Y[1]||""}var G1=()=>{};function W1($,Y,Q){let G=Q&&Q.Blob||H.classes.Blob,W=Y4($);if(Y===void 0&&G)Y=!0;if(W==="data"){$=W.length?$.slice(W.length+1):$;let Z=B$.exec($);if(!Z)throw new V("Invalid URL",V.ERR_INVALID_URL);let X=Z[1],K=Z[2],M=Z[3]?"base64":"utf8",z=Z[4],N;if(X)N=K?X+K:X;else if(K)N="text/plain"+K;let I=Buffer.from(decodeURIComponent(z),M);if(Y){if(!G)throw new V("Blob is not supported",V.ERR_NOT_SUPPORT);return new G([I],{type:N})}return I}throw new V("Unsupported protocol "+W,V.ERR_NOT_SUPPORT)}var B$;var I5=C(()=>{r();G1();W0();B$=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/});import V$ from"stream";var Z1,F5,X1;var L5=C(()=>{j();Z1=Symbol("internals");F5=class F5 extends V$.Transform{constructor($){$=J.toFlatObject($,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(Q,G)=>{return!J.isUndefined(G[Q])});super({readableHighWaterMark:$.chunkSize});let Y=this[Z1]={timeWindow:$.timeWindow,chunkSize:$.chunkSize,maxRate:$.maxRate,minChunkSize:$.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(Q)=>{if(Q==="progress"){if(!Y.isCaptured)Y.isCaptured=!0}})}_read($){let Y=this[Z1];if(Y.onReadCallback)Y.onReadCallback();return super._read($)}_transform($,Y,Q){let G=this[Z1],W=G.maxRate,Z=this.readableHighWaterMark,X=G.timeWindow,K=1000/X,M=W/K,z=G.minChunkSize!==!1?Math.max(G.minChunkSize,M*0.01):0,N=(B,F)=>{let D=Buffer.byteLength(B);if(G.bytesSeen+=D,G.bytes+=D,G.isCaptured&&this.emit("progress",G.bytesSeen),this.push(B))process.nextTick(F);else G.onReadCallback=()=>{G.onReadCallback=null,process.nextTick(F)}},I=(B,F)=>{let D=Buffer.byteLength(B),U=null,L=Z,w,_=0;if(W){let R=Date.now();if(!G.ts||(_=R-G.ts)>=X)G.ts=R,w=M-G.bytes,G.bytes=w<0?-w:0,_=0;w=M-G.bytes}if(W){if(w<=0)return setTimeout(()=>{F(null,B)},X-_);if(w<L)L=w}if(L&&D>L&&D-L>z)U=B.subarray(L),B=B.subarray(0,L);N(B,U?()=>{process.nextTick(F,null,U)}:F)};I($,function B(F,D){if(F)return Q(F);if(D)I(D,B);else Q(null)})}};X1=F5});var U5,I$=async function*($){if($.stream)yield*$.stream();else if($.arrayBuffer)yield await $.arrayBuffer();else if($[U5])yield*$[U5]();else yield $},_4;var J1=C(()=>{({asyncIterator:U5}=Symbol),_4=I$});import F$ from"util";import{Readable as L$}from"stream";class w5{constructor($,Y){let{escapeName:Q}=this.constructor,G=J.isString(Y),W=`Content-Disposition: form-data; name="${Q($)}"${!G&&Y.name?`; filename="${Q(Y.name)}"`:""}${q0}`;if(G)Y=Q4.encode(String(Y).replace(/\r?\n|\r\n?/g,q0));else{let Z=String(Y.type||"application/octet-stream").replace(/[\r\n]/g,"");W+=`Content-Type: ${Z}${q0}`}this.headers=Q4.encode(W+q0),this.contentLength=G?Y.byteLength:Y.size,this.size=this.headers.byteLength+this.contentLength+S$,this.name=$,this.value=Y}async*encode(){yield this.headers;let{value:$}=this;if(J.isTypedArray($))yield $;else yield*_4($);yield w$}static escapeName($){return String($).replace(/[\r\n"]/g,(Y)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[Y])}}var U$,Q4,q0=`\r
11
+ `,w$,S$=2,D$=($,Y,Q)=>{let{tag:G="form-data-boundary",size:W=25,boundary:Z=G+"-"+H.generateString(W,U$)}=Q||{};if(!J.isFormData($))throw TypeError("FormData instance required");if(Z.length<1||Z.length>70)throw Error("boundary must be 1-70 characters long");let X=Q4.encode("--"+Z+q0),K=Q4.encode("--"+Z+"--"+q0),M=K.byteLength,z=Array.from($.entries()).map(([I,B])=>{let F=new w5(I,B);return M+=F.size,F});M+=X.byteLength*z.length,M=J.toFiniteNumber(M);let N={"Content-Type":`multipart/form-data; boundary=${Z}`};if(Number.isFinite(M))N["Content-Length"]=M;return Y&&Y(N),L$.from(async function*(){for(let I of z)yield X,yield*I.encode();yield K}())},S5;var D5=C(()=>{j();J1();W0();U$=H.ALPHABET.ALPHA_DIGIT+"-_",Q4=typeof TextEncoder==="function"?new TextEncoder:new F$.TextEncoder,w$=Q4.encode(q0);S5=D$});import P$ from"stream";var P5,_5;var q5=C(()=>{P5=class P5 extends P$.Transform{__transform($,Y,Q){this.push($),Q()}_transform($,Y,Q){if($.length!==0){if(this._transform=this.__transform,$[0]!==120){let G=Buffer.alloc(2);G[0]=120,G[1]=156,this.push(G,Y)}}this.__transform($,Y,Q)}};_5=P5});import _$ from"http2";import q$ from"util";class C5{constructor(){this.sessions=Object.create(null)}getSession($,Y){Y=Object.assign({sessionTimeout:1000},Y);let Q=this.sessions[$];if(Q){let N=Q.length;for(let I=0;I<N;I++){let[B,F]=Q[I];if(!B.destroyed&&!B.closed&&q$.isDeepStrictEqual(F,Y))return B}}let G=_$.connect($,Y),W,Z,X=()=>{if(W)return;if(W=!0,Z)clearTimeout(Z),Z=null;let N=Q,I=N.length,B=I;while(B--)if(N[B][0]===G){if(I===1)delete this.sessions[$];else N.splice(B,1);if(!G.closed)G.close();return}},K=G.request,{sessionTimeout:M}=Y;if(M!=null){let N=0;G.request=function(){let I=K.apply(this,arguments);if(N++,Z)clearTimeout(Z),Z=null;return I.once("close",()=>{if(!--N)Z=setTimeout(()=>{Z=null,X()},M)}),I}}G.once("close",X);let z=[G,Y];return Q?Q.push(z):Q=this.sessions[$]=[z],G}}var R5;var T5=C(()=>{R5=C5});var C$=($,Y)=>{return J.isAsyncFn($)?function(...Q){let G=Q.pop();$.apply(this,Q).then((W)=>{try{Y?G(null,...Y(W)):G(null,W)}catch(Z){G(Z)}},G)}:$},O5;var H5=C(()=>{j();O5=C$});function K1($){let Y;try{Y=new URL($)}catch(Z){return!1}let Q=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!Q)return!1;if(Q==="*")return!0;let G=Number.parseInt(Y.port,10)||O$[Y.protocol.split(":",1)[0]]||0,W=A5(Y.hostname.toLowerCase());return Q.split(/[\s,]+/).some((Z)=>{if(!Z)return!1;let[X,K]=H$(Z);if(X=A5(X),!X)return!1;if(K&&K!==G)return!1;if(X.charAt(0)==="*")X=X.slice(1);if(X.charAt(0)===".")return W.endsWith(X);return W===X||E5(W)&&E5(X)})}var R$,j5=($)=>{let Y=$.split(".");if(Y.length!==4)return!1;if(Y[0]!=="127")return!1;return Y.every((Q)=>/^\d+$/.test(Q)&&Number(Q)>=0&&Number(Q)<=255)},T$=($)=>{if($==="::1")return!0;let Y=$.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(Y)return j5(Y[1]);let Q=$.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(Q){let W=parseInt(Q[1],16);return W>=32512&&W<=32767}let G=$.split(":");if(G.length===8){for(let W=0;W<7;W++)if(!/^0+$/.test(G[W]))return!1;return/^0*1$/.test(G[7])}return!1},E5=($)=>{if(!$)return!1;if(R$.has($))return!0;if(j5($))return!0;return T$($)},O$,H$=($)=>{let Y=$,Q=0;if(Y.charAt(0)==="["){let Z=Y.indexOf("]");if(Z!==-1){let X=Y.slice(1,Z),K=Y.slice(Z+1);if(K.charAt(0)===":"&&/^\d+$/.test(K.slice(1)))Q=Number.parseInt(K.slice(1),10);return[X,Q]}}let G=Y.indexOf(":"),W=Y.lastIndexOf(":");if(G!==-1&&G===W&&/^\d+$/.test(Y.slice(W+1)))Q=Number.parseInt(Y.slice(W+1),10),Y=Y.slice(0,W);return[Y,Q]},E$,A$,j$=($)=>{if(typeof $!=="string"||$.indexOf(":")===-1)return $;let Y=$.match(E$);if(Y)return Y[1];let Q=$.match(A$);if(Q){let G=parseInt(Q[1],16),W=parseInt(Q[2],16);return`${G>>8}.${G&255}.${W>>8}.${W&255}`}return $},A5=($)=>{if(!$)return $;if($.charAt(0)==="["&&$.charAt($.length-1)==="]")$=$.slice(1,-1);return j$($.replace(/\.+$/,""))};var k5=C(()=>{R$=new Set(["localhost"]),O$={http:80,https:443,ws:80,wss:443,ftp:21},E$=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,A$=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i});function k$($,Y){$=$||10;let Q=Array($),G=Array($),W=0,Z=0,X;return Y=Y!==void 0?Y:1000,function(M){let z=Date.now(),N=G[Z];if(!X)X=z;Q[W]=M,G[W]=z;let I=Z,B=0;while(I!==W)B+=Q[I++],I=I%$;if(W=(W+1)%$,W===Z)Z=(Z+1)%$;if(z-X<Y)return;let F=N&&z-N;return F?Math.round(B*1000/F):void 0}}var x5;var b5=C(()=>{x5=k$});function x$($,Y){let Q=0,G=1000/Y,W,Z,X=(z,N=Date.now())=>{if(Q=N,W=null,Z)clearTimeout(Z),Z=null;$(...z)};return[(...z)=>{let N=Date.now(),I=N-Q;if(I>=G)X(z,N);else if(W=z,!Z)Z=setTimeout(()=>{Z=null,X(W)},G-I)},()=>W&&X(W)]}var v5;var y5=C(()=>{v5=x$});var V0=($,Y,Q=3)=>{let G=0,W=x5(50,250);return v5((Z)=>{if(!Z||typeof Z.loaded!=="number")return;let X=Z.loaded,K=Z.lengthComputable?Z.total:void 0,M=K!=null?Math.min(X,K):X,z=Math.max(0,M-G),N=W(z);G=Math.max(G,M);let I={loaded:M,total:K,progress:K?M/K:void 0,bytes:z,rate:N?N:void 0,estimated:N&&K?(K-M)/N:void 0,event:Z,lengthComputable:K!=null,[Y?"download":"upload"]:!0};$(I)},Q)},b0=($,Y)=>{let Q=$!=null;return[(G)=>Y[0]({lengthComputable:Q,total:$,loaded:G}),Y[1]]},v0=($)=>(...Y)=>J.asap(()=>$(...Y));var q4=C(()=>{b5();y5();j()});function G4($){if(!$||typeof $!=="string")return 0;if(!$.startsWith("data:"))return 0;let Y=$.indexOf(",");if(Y<0)return 0;let Q=$.slice(5,Y),G=$.slice(Y+1);if(/;base64/i.test(Q)){let{length:X,length:K}=G;for(let F=0;F<K;F++)if(G.charCodeAt(F)===37&&F+2<K){let D=G.charCodeAt(F+1),U=G.charCodeAt(F+2);if((D>=48&&D<=57||D>=65&&D<=70||D>=97&&D<=102)&&(U>=48&&U<=57||U>=65&&U<=70||U>=97&&U<=102))X-=2,F+=2}let M=0,z=K-1,N=(F)=>F>=2&&G.charCodeAt(F-2)===37&&G.charCodeAt(F-1)===51&&(G.charCodeAt(F)===68||G.charCodeAt(F)===100);if(z>=0){if(G.charCodeAt(z)===61)M++,z--;else if(N(z))M++,z-=3}if(M===1&&z>=0){if(G.charCodeAt(z)===61)M++;else if(N(z))M++}let B=Math.floor(X/4)*3-(M||0);return B>0?B:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength==="function")return Buffer.byteLength(G,"utf8");let Z=0;for(let X=0,K=G.length;X<K;X++){let M=G.charCodeAt(X);if(M<128)Z+=1;else if(M<2048)Z+=2;else if(M>=55296&&M<=56319&&X+1<K){let z=G.charCodeAt(X+1);if(z>=56320&&z<=57343)Z+=4,X++;else Z+=3}else Z+=3}return Z}var M1=()=>{};import y$ from"http";import m$ from"https";import f$ from"http2";import h$ from"util";import{resolve as m5}from"path";import $0 from"zlib";import Z0 from"stream";import{EventEmitter as g$}from"events";function n$($,Y,Q){if(Q!=="content-only"){$.set(Y);return}Object.entries(Y).forEach(([G,W])=>{if(i$.includes(G.toLowerCase()))$.set(G,W)})}function t$($,Y){let Q=$.protocol+"//"+$.hostname+":"+($.port||"")+"#"+($.auth||""),G=Y?g5.get(Y)||g5.set(Y,new Map).get(Y):a$,W=G.get(Q);if(W)return W;let Z=Y&&Y.options?{...Y.options,...$}:$;if(W=new N1.default(Z),Y&&Y.options){let X={...Y.options},K=W.callback;W.callback=function(z,N){return K.call(this,z,{...X,...N})}}return W[r5]=!0,G.set(Q,W),W}function r$($,Y,Q){if($.beforeRedirects.proxy)$.beforeRedirects.proxy($);if($.beforeRedirects.auth)$.beforeRedirects.auth($);if($.beforeRedirects.config)$.beforeRedirects.config($,Y,Q)}function o5($,Y,Q,G,W){let Z=Y;if(!Z&&Z!==!1){let X=l5(Q);if(X){if(!K1(Q))Z=new URL(X)}}if(G&&$.headers){for(let X of Object.keys($.headers))if(X.toLowerCase()==="proxy-authorization")delete $.headers[X]}if(G&&$.agent&&$.agent[r5])$.agent=void 0;if(Z){let X=Z instanceof URL,K=(B)=>X||J.hasOwnProp(Z,B)?Z[B]:void 0,M=K("username"),z=K("password"),N=J.hasOwnProp(Z,"auth")?Z.auth:void 0;if(M)N=(M||"")+":"+(z||"");if(N){let B=typeof N==="object",F=B&&J.hasOwnProp(N,"username")?N.username:void 0,D=B&&J.hasOwnProp(N,"password")?N.password:void 0;if(Boolean(F||D))N=(F||"")+":"+(D||"");else if(B)throw new V("Invalid proxy authorization",V.ERR_BAD_OPTION,{proxy:Z})}if(s5.test($.protocol)){if(!(W instanceof N1.default)){let B=K("hostname")||K("host"),F=K("port"),D=K("protocol"),U=D?D.includes(":")?D:`${D}:`:"http:",L=B&&B.includes(":")&&!B.startsWith("[")?`[${B}]`:B,w=new URL(`${U}//${L}${F?":"+F:""}`),_={protocol:w.protocol,hostname:w.hostname.replace(/^\[|\]$/g,""),port:w.port,auth:N&&typeof N==="string"?N:void 0};if(w.protocol==="https:")_.ALPNProtocols=["http/1.1"];let R=t$(_,W);if($.agent=R,$.agents)$.agents.https=R}}else{if(N){let U=Buffer.from(N,"utf8").toString("base64");$.headers["Proxy-Authorization"]="Basic "+U}let B=!1;for(let U of Object.keys($.headers))if(U.toLowerCase()==="host"){B=!0;break}if(!B)$.headers.host=$.hostname+($.port?":"+$.port:"");let F=K("hostname")||K("host");$.hostname=F,$.host=F,$.port=K("port"),$.path=Q;let D=K("protocol");if(D)$.protocol=D.includes(":")?D:`${D}:`}}$.beforeRedirects.proxy=function(K){o5(K,Y,K.href,!0,W)}}var N1,i5,f5,u$,d$,n5,a5,t5,c$,p$,l$,s5,i$,h5,C4,r5,a$,g5,u5,d5=($)=>{if(!J.isString($))return $;try{return decodeURIComponent($)}catch(Y){return $}},c5=($,[Y,Q])=>{return $.on("end",Q).on("error",Q),Y},s$,o$,e$=($)=>{return new Promise((Y,Q)=>{let G,W,Z=(M,z)=>{if(W)return;W=!0,G&&G(M,z)},X=(M)=>{Z(M),Y(M)},K=(M)=>{Z(M,!0),Q(M)};$(X,K,(M)=>G=M).catch(K)})},$7=({address:$,family:Y})=>{if(!J.isString($))throw TypeError("address must be a string");return{address:$,family:Y||($.indexOf(".")<0?6:4)}},p5=($,Y)=>$7(J.isObject($)?$:{address:$,family:Y}),Y7,e5;var $6=C(()=>{j();S4();D4();L4();b$();$4();l0();r();D0();W0();I5();G0();L5();D5();J1();q5();T5();H5();k5();u0();q4();M1();N1=y4(V5(),1),i5=y4(v$(),1),f5={flush:$0.constants.Z_SYNC_FLUSH,finishFlush:$0.constants.Z_SYNC_FLUSH},u$={flush:$0.constants.BROTLI_OPERATION_FLUSH,finishFlush:$0.constants.BROTLI_OPERATION_FLUSH},d$={flush:$0.constants.ZSTD_e_flush,finishFlush:$0.constants.ZSTD_e_flush},n5=J.isFunction($0.createBrotliDecompress),a5=J.isFunction($0.createZstdDecompress),t5="gzip, compress, deflate"+(n5?", br":""),c$=t5+(a5?", zstd":""),{http:p$,https:l$}=i5.default,s5=/https:?/,i$=["content-type","content-length"];h5=Symbol("axios.http.socketListener"),C4=Symbol("axios.http.currentReq"),r5=Symbol("axios.http.installedTunnel"),a$=new Map,g5=new WeakMap;u5=H.protocols.map(($)=>{return $+":"}),s$=new R5;o$=typeof process<"u"&&J.kindOf(process)==="process",Y7={request($,Y){let Q=$.protocol+"//"+$.hostname+":"+($.port||($.protocol==="https:"?443:80)),{http2Options:G,headers:W}=$,Z=s$.getSession(Q,G),{HTTP2_HEADER_SCHEME:X,HTTP2_HEADER_METHOD:K,HTTP2_HEADER_PATH:M,HTTP2_HEADER_STATUS:z}=f$.constants,N={[X]:$.protocol.replace(":",""),[K]:$.method,[M]:$.path};J.forEach(W,(B,F)=>{F.charAt(0)!==":"&&(N[F]=B)});let I=Z.request(N);return I.once("response",(B)=>{let F=I;B=Object.assign({},B);let D=B[z];delete B[z],F.headers=B,F.statusCode=+D,Y(F)}),I}},e5=o$&&function(Y){return e$(async function(G,W,Z){let X=(q)=>J.hasOwnProp(Y,q)?Y[q]:void 0,K=X("transitional")||F0,M=X("data"),z=X("lookup"),N=X("family"),I=X("httpVersion");if(I===void 0)I=1;let B=X("http2Options"),F=X("responseType"),D=X("responseEncoding"),U=Y.method.toUpperCase(),L,w=!1,_,R;if(I=+I,Number.isNaN(I))throw TypeError(`Invalid protocol version: '${Y.httpVersion}' is not a number`);if(I!==1&&I!==2)throw TypeError(`Unsupported protocol version '${I}'`);let O=I===2;if(z){let q=O5(z,(S)=>J.isArray(S)?S:[S]);z=(S,P,A)=>{q(S,P,(T,b,i)=>{if(T)return A(T);let v=J.isArray(b)?b.map((e)=>p5(e)):[p5(b,i)];P.all?A(T,v):A(T,v[0].address,v[0].family)})}}let f=new g$;function g(q){try{f.emit("abort",!q||q.type?new o(null,Y,_):q)}catch(S){}}function J0(){if(R)clearTimeout(R),R=null}function y0(){let q=Y.timeout?"timeout of "+Y.timeout+"ms exceeded":"timeout exceeded";if(Y.timeoutErrorMessage)q=Y.timeoutErrorMessage;return new V(q,K.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,Y,_)}f.once("abort",W);let C0=()=>{if(J0(),Y.cancelToken)Y.cancelToken.unsubscribe(g);if(Y.signal)Y.signal.removeEventListener("abort",g);f.removeAllListeners()};if(Y.cancelToken||Y.signal){if(Y.cancelToken&&Y.cancelToken.subscribe(g),Y.signal)Y.signal.aborted?g():Y.signal.addEventListener("abort",g)}Z((q,S)=>{if(L=!0,J0(),S){w=!0,C0();return}let{data:P}=q;if(P instanceof Z0.Readable||P instanceof Z0.Duplex){let A=Z0.finished(P,()=>{A(),C0()})}else C0()});let Y0=P0(Y.baseURL,Y.url,Y.allowAbsoluteUrls),k=new URL(Y0,H.hasBrowserEnv?H.origin:void 0),K0=k.protocol||u5[0];if(K0==="data:"){if(Y.maxContentLength>-1){let S=String(Y.url||Y0||"");if(G4(S)>Y.maxContentLength)return W(new V("maxContentLength size of "+Y.maxContentLength+" exceeded",V.ERR_BAD_RESPONSE,Y))}let q;if(U!=="GET")return z0(G,W,{status:405,statusText:"method not allowed",headers:{},config:Y});try{q=W1(Y.url,F==="blob",{Blob:Y.env&&Y.env.Blob})}catch(S){throw V.from(S,V.ERR_BAD_REQUEST,Y)}if(F==="text"){if(q=q.toString(D),!D||D==="utf8")q=J.stripBOM(q)}else if(F==="stream")q=Z0.Readable.from(q);return z0(G,W,{data:q,status:200,statusText:"OK",headers:new x,config:Y})}if(u5.indexOf(K0)===-1)return W(new V("Unsupported protocol "+K0,V.ERR_BAD_REQUEST,Y));let d=x.from(Y.headers).normalize();d.set("User-Agent","axios/"+B0,!1);let{onUploadProgress:n,onDownloadProgress:L0}=Y,M0=Y.maxRate,R0=void 0,T0=void 0;if(J.isSpecCompliantForm(M)){let q=d.getContentType(/boundary=([-_\w\d]{10,70})/i);M=S5(M,(S)=>{d.set(S)},{tag:`axios-${B0}-boundary`,boundary:q&&q[1]||void 0})}else if(J.isFormData(M)&&J.isFunction(M.getHeaders)&&M.getHeaders!==Object.prototype.getHeaders){if(n$(d,M.getHeaders(),X("formDataHeaderPolicy")),!d.hasContentLength())try{let q=await h$.promisify(M.getLength).call(M);Number.isFinite(q)&&q>=0&&d.setContentLength(q)}catch(q){}}else if(J.isBlob(M)||J.isFile(M))M.size&&d.setContentType(M.type||"application/octet-stream"),d.setContentLength(M.size||0),M=Z0.Readable.from(_4(M));else if(M&&!J.isStream(M)){if(Buffer.isBuffer(M));else if(J.isArrayBuffer(M))M=Buffer.from(new Uint8Array(M));else if(J.isString(M))M=Buffer.from(M,"utf-8");else return W(new V("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",V.ERR_BAD_REQUEST,Y));if(d.setContentLength(M.length,!1),Y.maxBodyLength>-1&&M.length>Y.maxBodyLength)return W(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Y))}let J4=J.toFiniteNumber(d.getContentLength());if(J.isArray(M0))R0=M0[0],T0=M0[1];else R0=T0=M0;if(M&&(n||R0)){if(!J.isStream(M))M=Z0.Readable.from(M,{objectMode:!1});M=Z0.pipeline([M,new X1({maxRate:J.toFiniteNumber(R0)})],J.noop),n&&M.on("progress",c5(M,b0(J4,V0(v0(n),!1,3))))}let c=void 0,p=X("auth");if(p){let q=p.username||"",S=p.password||"";c=q+":"+S}if(!c&&(k.username||k.password)){let q=d5(k.username),S=d5(k.password);c=q+":"+S}c&&d.delete("authorization");let N0;try{N0=S0(k.pathname+k.search,Y.params,Y.paramsSerializer).replace(/^\?/,"")}catch(q){let S=Error(q.message);return S.config=Y,S.url=Y.url,S.exists=!0,W(S)}d.set("Accept-Encoding",J.hasOwnProp(K,"advertiseZstdAcceptEncoding")&&K.advertiseZstdAcceptEncoding===!0?c$:t5,!1);let m=Object.assign(Object.create(null),{path:N0,method:U,headers:A0(d),agents:{http:Y.httpAgent,https:Y.httpsAgent},auth:c,protocol:K0,family:N,beforeRedirect:r$,beforeRedirects:Object.create(null),http2Options:B});!J.isUndefined(z)&&(m.lookup=z);let E=X("socketPath");if(E){if(typeof E!=="string")return W(new V("socketPath must be a string",V.ERR_BAD_OPTION_VALUE,Y));let q=X("allowedSocketPaths");if(q!=null){let S=Array.isArray(q)?q:[q],P=m5(E);if(!S.some((T)=>typeof T==="string"&&m5(T)===P))return W(new V(`socketPath "${E}" is not permitted by allowedSocketPaths`,V.ERR_BAD_OPTION_VALUE,Y))}m.socketPath=E}else m.hostname=k.hostname.startsWith("[")?k.hostname.slice(1,-1):k.hostname,m.port=k.port,o5(m,Y.proxy,K0+"//"+k.hostname+(k.port?":"+k.port:"")+m.path,!1,Y.httpsAgent);let l,K4=!1,O0=s5.test(m.protocol);if(m.agent==null)m.agent=O0?Y.httpsAgent:Y.httpAgent;if(O)l=Y7;else{let q=X("transport");if(q)l=q;else if(Y.maxRedirects===0)l=O0?m$:y$,K4=!0;else{if(Y.maxRedirects)m.maxRedirects=Y.maxRedirects;let S=X("beforeRedirect");if(S)m.beforeRedirects.config=S;if(c){let P=k.origin,A=c;m.beforeRedirects.auth=function(b){try{if(new URL(b.href).origin===P)b.auth=A}catch(i){}}}l=O0?l$:p$}}if(Y.maxBodyLength>-1)m.maxBodyLength=Y.maxBodyLength;else m.maxBodyLength=1/0;m.insecureHTTPParser=Boolean(X("insecureHTTPParser")),_=l.request(m,function(S){if(J0(),_.destroyed)return;let P=[S],A=J.toFiniteNumber(S.headers["content-length"]);if(L0||T0){let v=new X1({maxRate:J.toFiniteNumber(T0)});L0&&v.on("progress",c5(v,b0(A,V0(v0(L0),!0,3)))),P.push(v)}let T=S,b=S.req||_;if(Y.decompress!==!1&&S.headers["content-encoding"]){if(U==="HEAD"||S.statusCode===204)delete S.headers["content-encoding"];switch((S.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":P.push($0.createUnzip(f5)),delete S.headers["content-encoding"];break;case"deflate":P.push(new _5),P.push($0.createUnzip(f5)),delete S.headers["content-encoding"];break;case"br":if(n5)P.push($0.createBrotliDecompress(u$)),delete S.headers["content-encoding"];break;case"zstd":if(a5)P.push($0.createZstdDecompress(d$)),delete S.headers["content-encoding"];break}}T=P.length>1?Z0.pipeline(P,J.noop):P[0];let i={status:S.statusCode,statusText:S.statusMessage,headers:new x(S.headers),config:Y,request:b};if(F==="stream"){if(Y.maxContentLength>-1){let v=Y.maxContentLength,e=T;async function*m0(){let h=0;for await(let P1 of e){if(h+=P1.length,h>v)throw new V("maxContentLength size of "+v+" exceeded",V.ERR_BAD_RESPONSE,Y,b);yield P1}}T=Z0.Readable.from(m0(),{objectMode:!1})}i.data=T,z0(G,W,i)}else{let v=[],e=0;T.on("data",function(h){if(v.push(h),e+=h.length,Y.maxContentLength>-1&&e>Y.maxContentLength)w=!0,T.destroy(),g(new V("maxContentLength size of "+Y.maxContentLength+" exceeded",V.ERR_BAD_RESPONSE,Y,b))}),T.on("aborted",function(){if(w)return;let h=new V("stream has been aborted",V.ERR_BAD_RESPONSE,Y,b,i);T.destroy(h),W(h)}),T.on("error",function(h){if(w)return;W(V.from(h,null,Y,b,i))}),T.on("end",function(){try{let h=v.length===1?v[0]:Buffer.concat(v);if(F!=="arraybuffer"){if(h=h.toString(D),!D||D==="utf8")h=J.stripBOM(h)}i.data=h}catch(h){return W(V.from(h,null,Y,i.request,i))}z0(G,W,i)})}f.once("abort",(v)=>{if(!T.destroyed)T.emit("error",v),T.destroy()})}),f.once("abort",(q)=>{if(_.close)_.close();else _.destroy(q)}),_.on("error",function(S){W(V.from(S,null,Y,_))});let a=new Set;if(_.on("socket",function(S){if(S.setKeepAlive(!0,60000),!S[h5])S.on("error",function(A){let T=S[C4];if(T&&!T.destroyed)T.destroy(A)}),S[h5]=!0;S[C4]=_,a.add(S)}),_.once("close",function(){J0();for(let S of a)if(S[C4]===_)S[C4]=null;a.clear()}),Y.timeout){let q=parseInt(Y.timeout,10);if(Number.isNaN(q)){g(new V("error trying to parse `config.timeout` to int",V.ERR_BAD_OPTION_VALUE,Y,_));return}let S=function(){if(L)return;g(y0())};if(K4&&q>0)R=setTimeout(S,q);_.setTimeout(q,S)}else _.setTimeout(0);if(J.isStream(M)){let q=!1,S=!1;M.on("end",()=>{q=!0}),M.once("error",(A)=>{S=!0,_.destroy(A)}),M.on("close",()=>{if(!q&&!S)g(new o("Request stream has been aborted",Y,_))});let P=M;if(Y.maxBodyLength>-1&&Y.maxRedirects===0){let A=Y.maxBodyLength,T=0;P=Z0.pipeline([M,new Z0.Transform({transform(b,i,v){if(T+=b.length,T>A)return v(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Y,_));v(null,b)}})],J.noop),P.on("error",(b)=>{if(!_.destroyed)_.destroy(b)})}P.pipe(_)}else M&&_.write(M),_.end()})}});var Y6;var Q6=C(()=>{W0();Y6=H.hasStandardBrowserEnv?(($,Y)=>(Q)=>{return Q=new URL(Q,H.origin),$.protocol===Q.protocol&&$.host===Q.host&&(Y||$.port===Q.port)})(new URL(H.origin),H.navigator&&/(msie|trident)/i.test(H.navigator.userAgent)):()=>!0});var G6;var W6=C(()=>{j();W0();G6=H.hasStandardBrowserEnv?{write($,Y,Q,G,W,Z,X){if(typeof document>"u")return;let K=[`${$}=${encodeURIComponent(Y)}`];if(J.isNumber(Q))K.push(`expires=${new Date(Q).toUTCString()}`);if(J.isString(G))K.push(`path=${G}`);if(J.isString(W))K.push(`domain=${W}`);if(Z===!0)K.push("secure");if(J.isString(X))K.push(`SameSite=${X}`);document.cookie=K.join("; ")},read($){if(typeof document>"u")return null;let Y=document.cookie.split(";");for(let Q=0;Q<Y.length;Q++){let G=Y[Q].replace(/^\s+/,""),W=G.indexOf("=");if(W!==-1&&G.slice(0,W)===$)return decodeURIComponent(G.slice(W+1))}return null},remove($){this.write($,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}}});function X0($,Y){Y=Y||{};let Q=Object.create(null);Object.defineProperty(Q,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function G(z,N,I,B){if(J.isPlainObject(z)&&J.isPlainObject(N))return J.merge.call({caseless:B},z,N);else if(J.isPlainObject(N))return J.merge({},N);else if(J.isArray(N))return N.slice();return N}function W(z,N,I,B){if(!J.isUndefined(N))return G(z,N,I,B);else if(!J.isUndefined(z))return G(void 0,z,I,B)}function Z(z,N){if(!J.isUndefined(N))return G(void 0,N)}function X(z,N){if(!J.isUndefined(N))return G(void 0,N);else if(!J.isUndefined(z))return G(void 0,z)}function K(z,N,I){if(J.hasOwnProp(Y,I))return G(z,N);else if(J.hasOwnProp($,I))return G(void 0,z)}let M={url:Z,method:Z,data:Z,baseURL:X,transformRequest:X,transformResponse:X,paramsSerializer:X,timeout:X,timeoutMessage:X,withCredentials:X,withXSRFToken:X,adapter:X,responseType:X,xsrfCookieName:X,xsrfHeaderName:X,onUploadProgress:X,onDownloadProgress:X,decompress:X,maxContentLength:X,maxBodyLength:X,beforeRedirect:X,transport:X,httpAgent:X,httpsAgent:X,cancelToken:X,socketPath:X,allowedSocketPaths:X,responseEncoding:X,validateStatus:K,headers:(z,N,I)=>W(Z6(z),Z6(N),I,!0)};return J.forEach(Object.keys({...$,...Y}),function(N){if(N==="__proto__"||N==="constructor"||N==="prototype")return;let I=J.hasOwnProp(M,N)?M[N]:W,B=J.hasOwnProp($,N)?$[N]:void 0,F=J.hasOwnProp(Y,N)?Y[N]:void 0,D=I(B,F,N);J.isUndefined(D)&&I!==K||(Q[N]=D)}),Q}var Z6=($)=>$ instanceof x?{...$}:$;var R4=C(()=>{j();G0()});function G7($,Y,Q){if(Q!=="content-only"){$.set(Y);return}Object.entries(Y).forEach(([G,W])=>{if(Q7.includes(G.toLowerCase()))$.set(G,W)})}function Z7($){let Y=X0({},$),Q=(B)=>J.hasOwnProp(Y,B)?Y[B]:void 0,G=Q("data"),W=Q("withXSRFToken"),Z=Q("xsrfHeaderName"),X=Q("xsrfCookieName"),K=Q("headers"),M=Q("auth"),z=Q("baseURL"),N=Q("allowAbsoluteUrls"),I=Q("url");if(Y.headers=K=x.from(K),Y.url=S0(P0(z,I,N),Q("params"),Q("paramsSerializer")),M)K.set("Authorization","Basic "+btoa((M.username||"")+":"+(M.password?W7(M.password):"")));if(J.isFormData(G)){if(H.hasStandardBrowserEnv||H.hasStandardBrowserWebWorkerEnv||J.isReactNative(G))K.setContentType(void 0);else if(J.isFunction(G.getHeaders))G7(K,G.getHeaders(),Q("formDataHeaderPolicy"))}if(H.hasStandardBrowserEnv){if(J.isFunction(W))W=W(Y);if(W===!0||W==null&&Y6(Y.url)){let F=Z&&X&&G6.read(X);if(F)K.set(Z,F)}}return Y}var Q7,W7=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Y,Q)=>String.fromCharCode(parseInt(Q,16))),T4;var z1=C(()=>{W0();j();Q6();W6();D4();R4();G0();L4();Q7=["content-type","content-length"];T4=Z7});var X7,X6;var J6=C(()=>{j();S4();l0();r();D0();G1();W0();G0();q4();z1();u0();X7=typeof XMLHttpRequest<"u",X6=X7&&function($){return new Promise(function(Q,G){let W=T4($),Z=W.data,X=x.from(W.headers).normalize(),{responseType:K,onUploadProgress:M,onDownloadProgress:z}=W,N,I,B,F,D;function U(){F&&F(),D&&D(),W.cancelToken&&W.cancelToken.unsubscribe(N),W.signal&&W.signal.removeEventListener("abort",N)}let L=new XMLHttpRequest;L.open(W.method.toUpperCase(),W.url,!0),L.timeout=W.timeout;function w(){if(!L)return;let R=x.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),f={data:!K||K==="text"||K==="json"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:R,config:$,request:L};z0(function(J0){Q(J0),U()},function(J0){G(J0),U()},f),L=null}if("onloadend"in L)L.onloadend=w;else L.onreadystatechange=function(){if(!L||L.readyState!==4)return;if(L.status===0&&!(L.responseURL&&L.responseURL.startsWith("file:")))return;setTimeout(w)};if(L.onabort=function(){if(!L)return;G(new V("Request aborted",V.ECONNABORTED,$,L)),U(),L=null},L.onerror=function(O){let f=O&&O.message?O.message:"Network Error",g=new V(f,V.ERR_NETWORK,$,L);g.event=O||null,G(g),U(),L=null},L.ontimeout=function(){let O=W.timeout?"timeout of "+W.timeout+"ms exceeded":"timeout exceeded",f=W.transitional||F0;if(W.timeoutErrorMessage)O=W.timeoutErrorMessage;G(new V(O,f.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,$,L)),U(),L=null},Z===void 0&&X.setContentType(null),"setRequestHeader"in L)J.forEach(A0(X),function(O,f){L.setRequestHeader(f,O)});if(!J.isUndefined(W.withCredentials))L.withCredentials=!!W.withCredentials;if(K&&K!=="json")L.responseType=W.responseType;if(z)[B,D]=V0(z,!0),L.addEventListener("progress",B);if(M&&L.upload)[I,F]=V0(M),L.upload.addEventListener("progress",I),L.upload.addEventListener("loadend",F);if(W.cancelToken||W.signal){if(N=(R)=>{if(!L)return;G(!R||R.type?new o(null,$,L):R),L.abort(),U(),L=null},W.cancelToken&&W.cancelToken.subscribe(N),W.signal)W.signal.aborted?N():W.signal.addEventListener("abort",N)}let _=Y4(W.url);if(_&&!H.protocols.includes(_)){G(new V("Unsupported protocol "+_+":",V.ERR_BAD_REQUEST,$));return}L.send(Z||null)})}});var J7=($,Y)=>{if($=$?$.filter(Boolean):[],!Y&&!$.length)return;let Q=new AbortController,G=!1,W=function(M){if(!G){G=!0,X();let z=M instanceof Error?M:this.reason;Q.abort(z instanceof V?z:new o(z instanceof Error?z.message:z))}},Z=Y&&setTimeout(()=>{Z=null,W(new V(`timeout of ${Y}ms exceeded`,V.ETIMEDOUT))},Y),X=()=>{if(!$)return;Z&&clearTimeout(Z),Z=null,$.forEach((M)=>{M.unsubscribe?M.unsubscribe(W):M.removeEventListener("abort",W)}),$=null};$.forEach((M)=>M.addEventListener("abort",W));let{signal:K}=Q;return K.unsubscribe=()=>J.asap(X),K},K6;var M6=C(()=>{D0();r();j();K6=J7});var K7=function*($,Y){let Q=$.byteLength;if(!Y||Q<Y){yield $;return}let G=0,W;while(G<Q)W=G+Y,yield $.slice(G,W),G=W},M7=async function*($,Y){for await(let Q of N7($))yield*K7(Q,Y)},N7=async function*($){if($[Symbol.asyncIterator]){yield*$;return}let Y=$.getReader();try{for(;;){let{done:Q,value:G}=await Y.read();if(Q)break;yield G}}finally{await Y.cancel()}},B1=($,Y,Q,G)=>{let W=M7($,Y),Z=0,X,K=(M)=>{if(!X)X=!0,G&&G(M)};return new ReadableStream({async pull(M){try{let{done:z,value:N}=await W.next();if(z){K(),M.close();return}let I=N.byteLength;if(Q){let B=Z+=I;Q(B)}M.enqueue(new Uint8Array(N))}catch(z){throw K(z),z}},cancel(M){return K(M),W.return()}},{highWaterMark:2})};var N6=()=>{};var z6=65536,O4,z7=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Y,Q)=>String.fromCharCode(parseInt(Q,16))),B6=($)=>{if(!J.isString($))return $;try{return decodeURIComponent($)}catch(Y){return $}},V6=($,...Y)=>{try{return!!$(...Y)}catch(Q){return!1}},B7=($)=>{let Y=$.indexOf("://"),Q=$;if(Y!==-1)Q=Q.slice(Y+3);return Q.includes("@")||Q.includes(":")},V7=($)=>{let Y=J.global!==void 0&&J.global!==null?J.global:globalThis,{ReadableStream:Q,TextEncoder:G}=Y;$=J.merge.call({skipUndefined:!0},{Request:Y.Request,Response:Y.Response},$);let{fetch:W,Request:Z,Response:X}=$,K=W?O4(W):typeof fetch==="function",M=O4(Z),z=O4(X);if(!K)return!1;let N=K&&O4(Q),I=K&&(typeof G==="function"?((w)=>(_)=>w.encode(_))(new G):async(w)=>new Uint8Array(await new Z(w).arrayBuffer())),B=M&&N&&V6(()=>{let w=!1,_=new Z(H.origin,{body:new Q,method:"POST",get duplex(){return w=!0,"half"}}),R=_.headers.has("Content-Type");if(_.body!=null)_.body.cancel();return w&&!R}),F=z&&N&&V6(()=>J.isReadableStream(new X("").body)),D={stream:F&&((w)=>w.body)};K&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((w)=>{!D[w]&&(D[w]=(_,R)=>{let O=_&&_[w];if(O)return O.call(_);throw new V(`Response type '${w}' is not supported`,V.ERR_NOT_SUPPORT,R)})})})();let U=async(w)=>{if(w==null)return 0;if(J.isBlob(w))return w.size;if(J.isSpecCompliantForm(w))return(await new Z(H.origin,{method:"POST",body:w}).arrayBuffer()).byteLength;if(J.isArrayBufferView(w)||J.isArrayBuffer(w))return w.byteLength;if(J.isURLSearchParams(w))w=w+"";if(J.isString(w))return(await I(w)).byteLength},L=async(w,_)=>{let R=J.toFiniteNumber(w.getContentLength());return R==null?U(_):R};return async(w)=>{let{url:_,method:R,data:O,signal:f,cancelToken:g,timeout:J0,onDownloadProgress:y0,onUploadProgress:C0,responseType:Y0,headers:k,withCredentials:K0="same-origin",fetchOptions:d,maxContentLength:n,maxBodyLength:L0}=T4(w),M0=J.isNumber(n)&&n>-1,R0=J.isNumber(L0)&&L0>-1,T0=(E)=>J.hasOwnProp(w,E)?w[E]:void 0,J4=W||fetch;Y0=Y0?(Y0+"").toLowerCase():"text";let c=K6([f,g&&g.toAbortSignal()],J0),p=null,N0=c&&c.unsubscribe&&(()=>{c.unsubscribe()}),m;try{let E=void 0,l=T0("auth");if(l){let P=l.username||"",A=l.password||"";E={username:P,password:A}}if(B7(_)){let P=new URL(_,H.origin);if(!E&&(P.username||P.password)){let A=B6(P.username),T=B6(P.password);E={username:A,password:T}}if(P.username||P.password)P.username="",P.password="",_=P.href}if(E)k.delete("authorization"),k.set("Authorization","Basic "+btoa(z7((E.username||"")+":"+(E.password||""))));if(M0&&typeof _==="string"&&_.startsWith("data:")){if(G4(_)>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}if(R0&&R!=="get"&&R!=="head"){let P=await L(k,O);if(typeof P==="number"&&isFinite(P)&&P>L0)throw new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,w,p)}if(C0&&B&&R!=="get"&&R!=="head"&&(m=await L(k,O))!==0){let P=new Z(_,{method:"POST",body:O,duplex:"half"}),A;if(J.isFormData(O)&&(A=P.headers.get("content-type")))k.setContentType(A);if(P.body){let[T,b]=b0(m,V0(v0(C0)));O=B1(P.body,z6,T,b)}}if(!J.isString(K0))K0=K0?"include":"omit";let K4=M&&"credentials"in Z.prototype;if(J.isFormData(O)){let P=k.getContentType();if(P&&/^multipart\/form-data/i.test(P)&&!/boundary=/i.test(P))k.delete("content-type")}k.set("User-Agent","axios/"+B0,!1);let O0={...d,signal:c,method:R.toUpperCase(),headers:A0(k.normalize()),body:O,duplex:"half",credentials:K4?K0:void 0};p=M&&new Z(_,O0);let a=await(M?J4(p,d):J4(_,O0));if(M0){let P=J.toFiniteNumber(a.headers.get("content-length"));if(P!=null&&P>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}let q=F&&(Y0==="stream"||Y0==="response");if(F&&a.body&&(y0||M0||q&&N0)){let P={};["status","statusText","headers"].forEach((e)=>{P[e]=a[e]});let A=J.toFiniteNumber(a.headers.get("content-length")),[T,b]=y0&&b0(A,V0(v0(y0),!0))||[],i=0,v=(e)=>{if(M0){if(i=e,i>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}T&&T(e)};a=new X(B1(a.body,z6,v,()=>{b&&b(),N0&&N0()}),P)}Y0=Y0||"text";let S=await D[J.findKey(D,Y0)||"text"](a,w);if(M0&&!F&&!q){let P;if(S!=null){if(typeof S.byteLength==="number")P=S.byteLength;else if(typeof S.size==="number")P=S.size;else if(typeof S==="string")P=typeof G==="function"?new G().encode(S).byteLength:S.length}if(typeof P==="number"&&P>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}return!q&&N0&&N0(),await new Promise((P,A)=>{z0(P,A,{data:S,headers:x.from(a.headers),status:a.status,statusText:a.statusText,config:w,request:p})})}catch(E){if(N0&&N0(),c&&c.aborted&&c.reason instanceof V){let l=c.reason;throw l.config=w,p&&(l.request=p),E!==l&&(l.cause=E),l}if(E&&E.name==="TypeError"&&/Load failed|fetch/i.test(E.message))throw Object.assign(new V("Network Error",V.ERR_NETWORK,w,p,E&&E.response),{cause:E.cause||E});throw V.from(E,E&&E.code,w,p,E&&E.response)}}},I7,V1=($)=>{let Y=$&&$.env||{},{fetch:Q,Request:G,Response:W}=Y,Z=[G,W,Q],X=Z.length,K=X,M,z,N=I7;while(K--)M=Z[K],z=N.get(M),z===void 0&&N.set(M,z=K?new Map:V7(Y)),N=z;return z},kQ;var I6=C(()=>{W0();j();r();M6();N6();G0();q4();z1();S4();M1();$4();u0();({isFunction:O4}=J),I7=new Map,kQ=V1()});function U7($,Y){$=J.isArray($)?$:[$];let{length:Q}=$,G,W,Z={};for(let X=0;X<Q;X++){G=$[X];let K;if(W=G,!L7(G)){if(W=I1[(K=String(G)).toLowerCase()],W===void 0)throw new V(`Unknown adapter '${K}'`)}if(W&&(J.isFunction(W)||(W=W.get(Y))))break;Z[K||"#"+X]=W}if(!W){let X=Object.entries(Z).map(([M,z])=>`adapter ${M} `+(z===!1?"is not supported by the environment":"is not available in the build")),K=Q?X.length>1?`since :
12
+ `+X.map(F6).join(`
13
+ `):" "+F6(X[0]):"as no adapter specified";throw new V("There is no suitable adapter to dispatch the request "+K,"ERR_NOT_SUPPORT")}return W}var I1,F6=($)=>`- ${$}`,L7=($)=>J.isFunction($)||$===null||$===!1,H4;var F1=C(()=>{j();$6();J6();I6();r();I1={http:e5,xhr:X6,fetch:{get:V1}};J.forEach(I1,($,Y)=>{if($){try{Object.defineProperty($,"name",{__proto__:null,value:Y})}catch(Q){}Object.defineProperty($,"adapterName",{__proto__:null,value:Y})}});H4={getAdapter:U7,adapters:I1}});function L1($){if($.cancelToken)$.cancelToken.throwIfRequested();if($.signal&&$.signal.aborted)throw new o(null,$)}function E4($){if(L1($),$.headers=x.from($.headers),$.data=i0.call($,$.transformRequest),["post","put","patch"].indexOf($.method)!==-1)$.headers.setContentType("application/x-www-form-urlencoded",!1);return H4.getAdapter($.adapter||k0.adapter,$)($).then(function(G){L1($),$.response=G;try{G.data=i0.call($,$.transformResponse,G)}finally{delete $.response}return G.headers=x.from(G.headers),G},function(G){if(!n0(G)){if(L1($),G&&G.response){$.response=G.response;try{G.response.data=i0.call($,$.transformResponse,G.response)}finally{delete $.response}G.response.headers=x.from(G.response.headers)}}return Promise.reject(G)})}var L6=C(()=>{o1();a4();w4();D0();G0();F1()});function w7($,Y,Q){if(typeof $!=="object")throw new V("options must be an object",V.ERR_BAD_OPTION_VALUE);let G=Object.keys($),W=G.length;while(W-- >0){let Z=G[W],X=Object.prototype.hasOwnProperty.call(Y,Z)?Y[Z]:void 0;if(X){let K=$[Z],M=K===void 0||X(K,Z,$);if(M!==!0)throw new V("option "+Z+" must be "+M,V.ERR_BAD_OPTION_VALUE);continue}if(Q!==!0)throw new V("Unknown option "+Z,V.ERR_BAD_OPTION)}}var A4,U6,W4;var w6=C(()=>{$4();r();A4={};["object","boolean","number","function","string","symbol"].forEach(($,Y)=>{A4[$]=function(G){return typeof G===$||"a"+(Y<1?"n ":" ")+$}});U6={};A4.transitional=function(Y,Q,G){function W(Z,X){return"[Axios v"+B0+"] Transitional option '"+Z+"'"+X+(G?". "+G:"")}return(Z,X,K)=>{if(Y===!1)throw new V(W(X," has been removed"+(Q?" in "+Q:"")),V.ERR_DEPRECATED);if(Q&&!U6[X])U6[X]=!0,console.warn(W(X," has been deprecated since v"+Q+" and will be removed in the near future"));return Y?Y(Z,X,K):!0}};A4.spelling=function(Y){return(Q,G)=>{return console.warn(`${G} is likely a misspelling of ${Y}`),!0}};W4={assertOptions:w7,validators:A4}});class Z4{constructor($){this.defaults=$||{},this.interceptors={request:new g4,response:new g4}}async request($,Y){try{return await this._request($,Y)}catch(Q){if(Q instanceof Error){let G={};Error.captureStackTrace?Error.captureStackTrace(G):G=Error();let W=(()=>{if(!G.stack)return"";let Z=G.stack.indexOf(`
14
+ `);return Z===-1?"":G.stack.slice(Z+1)})();try{if(!Q.stack)Q.stack=W;else if(W){let Z=W.indexOf(`
15
+ `),X=Z===-1?-1:W.indexOf(`
16
+ `,Z+1),K=X===-1?"":W.slice(X+1);if(!String(Q.stack).endsWith(K))Q.stack+=`
17
+ `+W}}catch(Z){}}throw Q}}_request($,Y){if(typeof $==="string")Y=Y||{},Y.url=$;else Y=$||{};Y=X0(this.defaults,Y);let{transitional:Q,paramsSerializer:G,headers:W}=Y;if(Q!==void 0)W4.assertOptions(Q,{silentJSONParsing:s.transitional(s.boolean),forcedJSONParsing:s.transitional(s.boolean),clarifyTimeoutError:s.transitional(s.boolean),legacyInterceptorReqResOrdering:s.transitional(s.boolean),advertiseZstdAcceptEncoding:s.transitional(s.boolean)},!1);if(G!=null)if(J.isFunction(G))Y.paramsSerializer={serialize:G};else W4.assertOptions(G,{encode:s.function,serialize:s.function},!0);if(Y.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)Y.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else Y.allowAbsoluteUrls=!0;W4.assertOptions(Y,{baseUrl:s.spelling("baseURL"),withXsrfToken:s.spelling("withXSRFToken")},!0),Y.method=(Y.method||this.defaults.method||"get").toLowerCase();let Z=W&&J.merge(W.common,W[Y.method]);W&&J.forEach(["delete","get","head","post","put","patch","query","common"],(F)=>{delete W[F]}),Y.headers=x.concat(Z,W);let X=[],K=!0;this.interceptors.request.forEach(function(D){if(typeof D.runWhen==="function"&&D.runWhen(Y)===!1)return;K=K&&D.synchronous;let U=Y.transitional||F0;if(U&&U.legacyInterceptorReqResOrdering)X.unshift(D.fulfilled,D.rejected);else X.push(D.fulfilled,D.rejected)});let M=[];this.interceptors.response.forEach(function(D){M.push(D.fulfilled,D.rejected)});let z,N=0,I;if(!K){let F=[E4.bind(this),void 0];F.unshift(...X),F.push(...M),I=F.length,z=Promise.resolve(Y);while(N<I)z=z.then(F[N++],F[N++]);return z}I=X.length;let B=Y;while(N<I){let F=X[N++],D=X[N++];try{B=F(B)}catch(U){D.call(this,U);break}}try{z=E4.call(this,B)}catch(F){return Promise.reject(F)}N=0,I=M.length;while(N<I)z=z.then(M[N++],M[N++]);return z}getUri($){$=X0(this.defaults,$);let Y=P0($.baseURL,$.url,$.allowAbsoluteUrls);return S0(Y,$.params,$.paramsSerializer)}}var s,X4;var S6=C(()=>{j();L4();c1();L6();R4();D4();w6();G0();l0();s=W4.validators;J.forEach(["delete","get","head","options"],function(Y){Z4.prototype[Y]=function(Q,G){return this.request(X0(G||{},{method:Y,url:Q,data:(G||{}).data}))}});J.forEach(["post","put","patch","query"],function(Y){function Q(G){return function(Z,X,K){return this.request(X0(K||{},{method:Y,headers:G?{"Content-Type":"multipart/form-data"}:{},url:Z,data:X}))}}if(Z4.prototype[Y]=Q(),Y!=="query")Z4.prototype[Y+"Form"]=Q(!0)});X4=Z4});class U1{constructor($){if(typeof $!=="function")throw TypeError("executor must be a function.");let Y;this.promise=new Promise(function(W){Y=W});let Q=this;this.promise.then((G)=>{if(!Q._listeners)return;let W=Q._listeners.length;while(W-- >0)Q._listeners[W](G);Q._listeners=null}),this.promise.then=(G)=>{let W,Z=new Promise((X)=>{Q.subscribe(X),W=X}).then(G);return Z.cancel=function(){Q.unsubscribe(W)},Z},$(function(W,Z,X){if(Q.reason)return;Q.reason=new o(W,Z,X),Y(Q.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=(Q)=>{$.abort(Q)};return this.subscribe(Y),$.signal.unsubscribe=()=>this.unsubscribe(Y),$.signal}static source(){let $;return{token:new U1(function(G){$=G}),cancel:$}}}var D6;var P6=C(()=>{D0();D6=U1});function w1($){return function(Q){return $.apply(null,Q)}}var _6=()=>{};function S1($){return J.isObject($)&&$.isAxiosError===!0}var q6=C(()=>{j()});var D1,C6;var R6=C(()=>{D1={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(D1).forEach(([$,Y])=>{D1[Y]=$});C6=D1});function T6($){let Y=new X4($),Q=f0(X4.prototype.request,Y);return J.extend(Q,X4.prototype,Y,{allOwnKeys:!0}),J.extend(Q,Y,null,{allOwnKeys:!0}),Q.create=function(W){return T6(X0($,W))},Q}var y,O6;var H6=C(()=>{j();j4();S6();R4();w4();i4();D0();P6();a4();$4();p0();r();_6();q6();G0();F1();R6();y=T6(k0);y.Axios=X4;y.CanceledError=o;y.CancelToken=D6;y.isCancel=n0;y.VERSION=B0;y.toFormData=I0;y.AxiosError=V;y.Cancel=y.CanceledError;y.all=function(Y){return Promise.all(Y)};y.spread=w1;y.isAxiosError=S1;y.mergeConfig=X0;y.AxiosHeaders=x;y.formToJSON=($)=>U4(J.isHTMLForm($)?new FormData($):$);y.getAdapter=H4.getAdapter;y.HttpStatusCode=C6;y.default=y;O6=y});var EG,AG,jG,kG,xG,bG,vG,yG,mG,fG,hG,gG,uG,dG,cG,pG,lG;var S7=C(()=>{H6();({Axios:EG,AxiosError:AG,CanceledError:jG,isCancel:kG,CancelToken:xG,VERSION:bG,all:vG,Cancel:yG,isAxiosError:mG,spread:fG,toFormData:hG,AxiosHeaders:gG,HttpStatusCode:uG,formToJSON:dG,getAdapter:cG,mergeConfig:pG,create:lG}=O6)});
18
+ export{O6 as qoa,EG as roa,AG as soa,jG as toa,kG as uoa,xG as voa,bG as woa,vG as xoa,yG as yoa,mG as zoa,fG as Aoa,hG as Boa,gG as Coa,uG as Doa,dG as Eoa,cG as Foa,pG as Goa,lG as Hoa,S7 as Ioa};
@@ -0,0 +1,2 @@
1
+ import{iu as o,ju as n}from"./cli-0.6.0-vj1q5vmq.mjs";import{fpa as e}from"./cli-0.6.0-szxjcmcn.mjs";function i(m){t.setState(()=>[...m])}var t,r=()=>t.getState(),d;var s=e(()=>{n();t=o([]),d=t.subscribe});
2
+ export{r as ad,d as bd,i as cd,s as dd};
@@ -0,0 +1,2 @@
1
+ import{RW as s,RY as f,mY as t}from"./cli-0.6.0-r5tyrw7e.mjs";import{p0 as n,q0 as c,r0 as r}from"./cli-0.6.0-ycj7gxxz.mjs";import{bpa as m,fpa as l}from"./cli-0.6.0-szxjcmcn.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
2
+ export{T as zf,p as Af};
@@ -0,0 +1,3 @@
1
+ import{Ck as yf,FQ as Bf,GQ as Hf,Pk as X,TF as v,UF as zf,Uk as Af,_O as n,aP as Xf,gE as S,hE as qf,hk as m,sk as R,vk as N,wk as M,xm as c,yA as Z,ym as Yf,zA as $f}from"./cli-0.6.0-vj1q5vmq.mjs";import{fS as a,gS as Jf}from"./cli-0.6.0-27pnyd8x.mjs";import{RW as If,RY as _f,kY as T,mY as d}from"./cli-0.6.0-r5tyrw7e.mjs";import{p0 as Y,q0 as D,r0 as P}from"./cli-0.6.0-ycj7gxxz.mjs";import{s0 as Of}from"./cli-0.6.0-0p3mkd59.mjs";import{N7 as b,P7 as Gf}from"./cli-0.6.0-aqestr3c.mjs";import{aga as L,cga as e}from"./cli-0.6.0-5bjsew2k.mjs";import{cha as W,fha as ff}from"./cli-0.6.0-kr9jt2p9.mjs";import{bpa as g,cpa as s,fpa as k}from"./cli-0.6.0-szxjcmcn.mjs";function E(){(Hf(),s(Bf)).saveWorktreeState(null)}function l({onDone:K,onCancel:_}){let[$,y]=q.useState("loading"),[O,I]=q.useState([]),[G,z]=q.useState(0),[p,A]=q.useState(),f=m();if(q.useEffect(()=>{async function B(){let J=[],H=await b("git",["status","--porcelain"]);if(H.stdout)J=H.stdout.split(`
2
+ `).filter((V)=>V.trim()!==""),I(J);if(f){let{stdout:V}=await b("git",["rev-list","--count",`${f.originalHeadCommit}..HEAD`]),w=parseInt(V.trim())||0;if(z(w),J.length===0&&w===0){y("removing"),M().then(()=>{process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),A("Worktree removed (no changes)")}).catch((t)=>{W(`Failed to clean up worktree: ${t}`,{level:"error"}),A("Worktree cleanup failed, exiting anyway")}).then(()=>{y("done")});return}else y("asking")}}B()},[f]),q.useEffect(()=>{if($==="done")K(p)},[$,K,p]),!f)return K("No active worktree session found",{display:"system"}),null;if($==="loading"||$==="done")return null;async function j(B){if(!f)return;let J=Boolean(f.tmuxSessionName);if(B==="keep"||B==="keep-with-tmux"){if(y("keeping"),L("tengu_worktree_kept",{commits:G,changed_files:O.length}),await N(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),J)A(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}. Reattach to tmux session with: tmux attach -t ${f.tmuxSessionName}`);else A(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}`);y("done")}else if(B==="keep-kill-tmux"){if(y("keeping"),L("tengu_worktree_kept",{commits:G,changed_files:O.length}),f.tmuxSessionName)await R(f.tmuxSessionName);await N(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),A(`Worktree kept at ${f.worktreePath} on branch ${f.worktreeBranch}. Tmux session terminated.`),y("done")}else if(B==="remove"||B==="remove-with-tmux"){if(y("removing"),L("tengu_worktree_removed",{commits:G,changed_files:O.length}),f.tmuxSessionName)await R(f.tmuxSessionName);try{await M(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.()}catch(V){W(`Failed to clean up worktree: ${V}`,{level:"error"}),A("Worktree cleanup failed, exiting anyway"),y("done");return}let H=J?" Tmux session terminated.":"";if(G>0&&O.length>0)A(`Worktree removed. ${G} ${G===1?"commit":"commits"} and uncommitted changes were discarded.${H}`);else if(G>0)A(`Worktree removed. ${G} ${G===1?"commit":"commits"} on ${f.worktreeBranch} ${G===1?"was":"were"} discarded.${H}`);else if(O.length>0)A(`Worktree removed. Uncommitted changes were discarded.${H}`);else A(`Worktree removed.${H}`);y("done")}}if($==="keeping")return D(T,{flexDirection:"row",marginY:1,children:[Y(v,{}),Y(d,{children:"Keeping worktree…"})]});if($==="removing")return D(T,{flexDirection:"row",marginY:1,children:[Y(v,{}),Y(d,{children:"Removing worktree…"})]});let x=f.worktreeBranch,U=O.length>0,F=G>0,Q="";if(U&&F)Q=`You have ${O.length} uncommitted ${O.length===1?"file":"files"} and ${G} ${G===1?"commit":"commits"} on ${x}. All will be lost if you remove.`;else if(U)Q=`You have ${O.length} uncommitted ${O.length===1?"file":"files"}. These will be lost if you remove the worktree.`;else if(F)Q=`You have ${G} ${G===1?"commit":"commits"} on ${x}. The branch will be deleted if you remove the worktree.`;else Q="You are working in a worktree. Keep it to continue working there, or remove it to clean up.";function r(){if(_){_();return}j("keep")}let h=U||F?"All changes and commits will be lost.":"Clean up the worktree directory.",C=Boolean(f.tmuxSessionName),o=C?[{label:"Keep worktree and tmux session",value:"keep-with-tmux",description:`Stays at ${f.worktreePath}. Reattach with: tmux attach -t ${f.tmuxSessionName}`},{label:"Keep worktree, kill tmux session",value:"keep-kill-tmux",description:`Keeps worktree at ${f.worktreePath}, terminates tmux session.`},{label:"Remove worktree and tmux session",value:"remove-with-tmux",description:h}]:[{label:"Keep worktree",value:"keep",description:`Stays at ${f.worktreePath}`},{label:"Remove worktree",value:"remove",description:h}];return Y(c,{title:"Exiting worktree session",subtitle:Q,onCancel:r,children:Y(S,{defaultFocusValue:C?"keep-with-tmux":"keep",options:o,onChange:j})})}var q;var u=k(()=>{e();ff();_f();Gf();Af();$f();yf();qf();Yf();zf();P();q=g(Of(),1)});function Qf(){return a(Kf)??"Goodbye!"}function xf(K){let _=i.c(5),{showWorktree:$,onDone:y,onCancel:O}=K,I;if(_[0]!==y)I=async function(p){y(p??Qf()),await n(0,"prompt_input_exit")},_[0]=y,_[1]=I;else I=_[1];let G=I;if($){let z;if(_[2]!==O||_[3]!==G)z=Y(l,{onDone:G,onCancel:O}),_[2]=O,_[3]=G,_[4]=z;else z=_[4];return z}return null}var i,Kf;var Vf=k(()=>{Jf();Xf();u();P();i=g(If(),1),Kf=["Goodbye!","See ya!","Bye!","Catch you later!"]});
3
+ export{xf as Jb,Vf as Kb};
@@ -0,0 +1,2 @@
1
+ function e(){return null}function i(){}function o(){return[]}async function t(){}async function n(){}function r(){}
2
+ export{e as Bb,i as Cb,o as Db,t as Eb,n as Fb,r as Gb};
@@ -0,0 +1,2 @@
1
+ import{Jba as P,bca as y}from"./cli-0.6.0-aqestr3c.mjs";import{fpa as U}from"./cli-0.6.0-szxjcmcn.mjs";var j,D,G,M,N,Y,C,_,R,f,E,I,k,A,b,h,m,p,u,T,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),f=D(112,101,110,103,117,105,110),E=D(116,117,114,116,108,101),I=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),b=D(99,97,112,121,98,97,114,97),h=D(99,97,99,116,117,115),m=D(114,111,98,111,116),p=D(114,97,98,98,105,116),u=D(109,117,115,104,114,111,111,109),T=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,f,E,I,k,A,b,h,m,p,u,T],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
2
+ export{G as yU,M as zU,N as AU,Y as BU,C as CU,_ as DU,R as EU,f as FU,E as GU,I as HU,k as IU,A as JU,b as KU,h as LU,m as MU,p as NU,u as OU,T as PU,e as QU,W as RU,a as SU,s as TU,r as UU,g as VU};
@@ -0,0 +1,3 @@
1
+ import{gc as m,hc as v,ic as wk}from"./cli-0.6.0-7qwx1xwm.mjs";import{GL as o,IL as t,LL as Dk,PL as e,QL as Uk,RC as g,SC as a,Uy as s,Vy as Gk,XC as Lk,XO as r,YO as kk,aP as jk,jm as p,km as zk,rE as n,sE as V,tE as i,tt as l,ut as Vk,wE as Tk}from"./cli-0.6.0-vj1q5vmq.mjs";import{J1 as d,L1 as Ok,h1 as T,m1 as Jk}from"./cli-0.6.0-3qpvyrpf.mjs";import{c5 as f,d5 as Ik,n5 as c,q5 as Mk}from"./cli-0.6.0-8meqksnp.mjs";import{i7 as S,n7 as _k}from"./cli-0.6.0-dxwdyaw3.mjs";import{Eaa as j,J7 as K,Jba as x,L7 as Zk,M8 as P,Nba as b,Q8 as $k,Taa as Kk,Wba as u,bca as $,jda as _,mda as Hk}from"./cli-0.6.0-aqestr3c.mjs";import{gea as J,lea as Yk}from"./cli-0.6.0-32mypc03.mjs";import{$fa as Bk,_fa as L}from"./cli-0.6.0-hraw3dez.mjs";import{cha as B,fga as O,fha as U,hga as Rk}from"./cli-0.6.0-kr9jt2p9.mjs";import{Dha as Xk,qha as h,wha as Y}from"./cli-0.6.0-nxpvznpz.mjs";import{Jha as E,Tha as Wk}from"./cli-0.6.0-2gsntzzv.mjs";import{Uka as F,Wka as y,kla as w,wna as z}from"./cli-0.6.0-qnby905t.mjs";import{Vna as A,Wna as Qk}from"./cli-0.6.0-s56fh7wm.mjs";import{gpa as W}from"./cli-0.6.0-szxjcmcn.mjs";Yk();z();$();Qk();z();z();Vk();Ok();Lk();Tk();Bk();Hk();Jk();var G=!1;function D(){if(G)return;if(G=!0,T()!=="firstParty")return;let k=_()?.transport;if(k==="bedrock"||k==="vertex"||k==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDE_CODE_CLIENT_CERT||process.env.CLAUDE_CODE_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||L().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();U();Kk();function C(){if(process.env.NODE_EXTRA_CA_CERTS)return;let k=Nk();if(k)process.env.NODE_EXTRA_CA_CERTS=k,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${k}`)}function Nk(){try{let q=x()?.env,Q=j("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${q?Object.keys(q).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||q?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(k){B(`CA certs: Config fallback failed: ${k}`,{level:"error"});return}}Rk();$();U();_k();Zk();zk();Wk();Xk();jk();wk();Ik();Dk();Mk();Uk();Gk();$k();var I=!1,Yq=A(async()=>{let k=Date.now();K("info","init_started"),J("init_function_start");try{let q=Date.now();b(),K("info","init_configs_enabled",{duration_ms:Date.now()-q}),J("init_configs_enabled");let N=Date.now();if(m(),C(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),J("init_safe_env_vars_applied"),r(),J("init_after_graceful_shutdown"),Promise.all([import("./firstPartyEventLogger-0.6.0-t26jt3ej.mjs"),import("./growthbook-0.6.0-vkrtxrkt.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),d(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),V())n();if(a())g();J("init_after_remote_settings_check"),u();let Q=Date.now();B("[init] configureGlobalMTLS starting"),f(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),c(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),D(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-0.6.0-99efcy5e.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-0.6.0-ep7ha98p.mjs");Z(X),await H()}catch(H){B(`[init] upstreamproxy init failed: ${H instanceof Error?H.message:String(H)}; continuing without proxy`,{level:"warn"})}if(P(),O(l),O(async()=>{let{cleanupSessionTeams:H}=await import("./teamHelpers-0.6.0-z26tek6c.mjs");await H()}),o()){let H=Date.now();await t(),K("info","init_scratchpad_created",{duration_ms:Date.now()-H})}K("info","init_completed",{duration_ms:Date.now()-k}),J("init_function_end")}catch(q){if(q instanceof h){if(w()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
2
+ `),kk(1);return}return import("./InvalidConfigDialog-0.6.0-0za8mmqc.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(V()){if(w()&&e())M().catch((k)=>{B(`[3P telemetry] Eager telemetry init failed (beta tracing): ${Y(k)}`,{level:"error"})});B("[3P telemetry] Waiting for remote managed settings before telemetry init"),i().then(async()=>{B("[3P telemetry] Remote managed settings loaded, initializing telemetry"),v(),await M()}).catch((k)=>{B(`[3P telemetry] Telemetry init failed (remote settings path): ${Y(k)}`,{level:"error"})})}else M().catch((k)=>{B(`[3P telemetry] Telemetry init failed: ${Y(k)}`,{level:"error"})})}async function M(){if(I)return;I=!0;try{await xk()}catch(k){throw I=!1,k}}async function xk(){let{initializeTelemetry:k}=await import("./instrumentation-0.6.0-2rcak0p8.mjs"),q=await k();if(q)F(q,(Q,R)=>{let H=q?.createCounter(Q,R);return{add(X,Z={}){let qk={...s(),...Z};H?.add(X,qk)}}}),y()?.add(1)}
3
+ export{Yq as ba,Zq as ca};
@@ -0,0 +1,2 @@
1
+ import{cga as f}from"./cli-0.6.0-5bjsew2k.mjs";import{fha as h}from"./cli-0.6.0-kr9jt2p9.mjs";import{fpa as Z}from"./cli-0.6.0-szxjcmcn.mjs";var $=()=>{};var F=Z(()=>{$()});var K;var G=Z(()=>{K=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});var M=Z(()=>{G();$();F();_();O()});var _=Z(()=>{G();$();F();M()});var O=Z(()=>{G();$();F();_();M()});var Sz;var w=Z(()=>{$();F();O();G();Sz=Promise.resolve()});async function kz(){}async function oz(z){if(!z||z.length>D)return null;return null}async function dz(z){if(!z||z.length>D)return null;return null}function nz(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&x.has(J.text)?[J.text]:[]}let X=[],V=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!V&&J.type==="word"){V=!0,X.push(J.text);continue}if(v.has(J.type))X.push(l(J.text));else if(m.has(J.type))break}return X}function l(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var D=1e4,x,v,m,pz;var L=Z(()=>{f();h();w();x=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),v=new Set(["word","string","raw_string","number"]),m=new Set(["command_substitution","process_substitution"]);pz=Symbol("parse-aborted")});
2
+ export{K as QZ,w as RZ,kz as SZ,oz as TZ,pz as UZ,dz as VZ,nz as WZ,L as XZ};
@@ -0,0 +1,2 @@
1
+ import{fpa as n}from"./cli-0.6.0-szxjcmcn.mjs";function o(){return{}}function e(){return null}async function i(){}function g(){return!1}function r(){}function u(){}function f(){}async function l(){}var t=()=>{};
2
+ export{o as wT,e as xT,i as yT,g as zT,r as AT,u as BT,f as CT,l as DT,t as ET};
@@ -0,0 +1,2 @@
1
+ import{fpa as t}from"./cli-0.6.0-szxjcmcn.mjs";var r,i=(s,e)=>function(){return e||(0,s[r(s)[0]])((e={exports:{}}).exports,e),e.exports},n;var a=t(()=>{r=Object.getOwnPropertyNames,n=i({"package.json"(s,e){e.exports={name:"@mendable/firecrawl-js",version:"4.25.2",description:"JavaScript SDK for Firecrawl API",main:"dist/index.js",types:"dist/index.d.ts",exports:{"./package.json":"./package.json",".":{import:"./dist/index.js",default:"./dist/index.cjs"}},type:"module",scripts:{build:"tsup","build-and-publish":"pnpm run build && pnpm publish --access public","publish-beta":"pnpm run build && pnpm publish --access public --tag beta",test:"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/e2e/v2/*.test.ts --detectOpenHandles","test:unit":"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/unit/v2/*.test.ts"},repository:{type:"git",url:"git+https://github.com/firecrawl/firecrawl.git"},author:"Mendable.ai",license:"MIT",dependencies:{axios:"1.16.1",firecrawl:"4.16.0","typescript-event-target":"^1.1.1",zod:"^3.23.8","zod-to-json-schema":"^3.23.0"},bugs:{url:"https://github.com/firecrawl/firecrawl/issues"},homepage:"https://github.com/firecrawl/firecrawl#readme",devDependencies:{"@jest/globals":"^30.2.0","@types/dotenv":"^8.2.0","@types/jest":"^30.0.0","@types/mocha":"^10.0.6","@types/node":"^20.12.12","@types/uuid":"^9.0.8",dotenv:"^16.4.5",jest:"^30.2.0","ts-jest":"^29.4.5",tsup:"^8.5.0",typescript:"^5.4.5",uuid:"^9.0.1"},keywords:["firecrawl","mendable","crawler","web","scraper","api","sdk"],engines:{node:">=22.0.0"},pnpm:{overrides:{"@isaacs/brace-expansion@<=5.0.0":">=5.0.1","minimatch@<10.2.3":">=10.2.3","rollup@<4.59.0":">=4.59.0","picomatch@<4.0.4":">=4.0.4",handlebars:">=4.7.9","brace-expansion":">=5.0.6","axios@>=1.0.0 <1.16.0":"1.16.1","follow-redirects@<1.16.0":">=1.16.0 <2.0.0"}}}}})});
2
+ export{n as fh,a as gh};
@@ -0,0 +1,2 @@
1
+ import{$R as A,WR as N,XR as p,YR as F,_R as U}from"./cli-0.6.0-a21pffqx.mjs";import{Z4 as L,_4 as P,b5 as O,d5 as V,n5 as x,p5 as H,q5 as k}from"./cli-0.6.0-8meqksnp.mjs";import{Eaa as X,Jba as Z,Kaa as Y,Taa as K,bca as M,c_ as I,e_ as D}from"./cli-0.6.0-aqestr3c.mjs";import{Jha as $,Tha as b}from"./cli-0.6.0-2gsntzzv.mjs";import{fpa as G}from"./cli-0.6.0-szxjcmcn.mjs";function R(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:T,CLAUDE_CODE_OAUTH_TOKEN:f,...m}=q;return m}function _(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!F(B))z[B]=Q;return z}function h(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return h(_(R(q)))}function r(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Z().env));for(let z of w){if(z==="policySettings")continue;if(!I(z))continue;Object.assign(process.env,J(X(z)?.env))}N(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Y()?.env);for(let[z,B]of Object.entries(q))if(U.has(z.toUpperCase()))process.env[z]=B}function g(){Object.assign(process.env,J(Z().env)),Object.assign(process.env,J(Y()?.env)),L(),O(),H(),x()}var W,w;var j=G(()=>{p();P();M();b();A();V();k();D();K();w=["userSettings","flagSettings","policySettings"]});
2
+ export{r as gc,g as hc,j as ic};