@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.
- package/bin/claudin +78 -20
- package/dist/chunks/AgentTool-0.6.0-8f3qtrj8.mjs +1 -0
- package/dist/chunks/App-0.6.0-9n7fg3v4.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.6.0-egkvq84f.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.6.0-30jea1bv.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.6.0-3kcrm51e.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.6.0-ynatyfe7.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.0-bfvx8vyr.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.6.0-ta5bxsqc.mjs +1 -0
- package/dist/chunks/DiffDialog-0.6.0-cw7k3rhz.mjs +3 -0
- package/dist/chunks/Doctor-0.6.0-w85vn7cp.mjs +1 -0
- package/dist/chunks/Grove-0.6.0-8pzwxvxy.mjs +1 -0
- package/dist/chunks/ITermBackend-0.6.0-ccznb0th.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.6.0-0za8mmqc.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.6.0-mvr8g3r7.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.6.0-8r6844g6.mjs +1 -0
- package/dist/chunks/Onboarding-0.6.0-s775c4cr.mjs +1 -0
- package/dist/chunks/ProviderManager-0.6.0-xgf5m2wn.mjs +1 -0
- package/dist/chunks/REPL-0.6.0-z46m261k.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.6.0-4njrwnw3.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.6.0-1aanznj9.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.6.0-ddvkc0ya.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.0-r86b0jdg.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.6.0-m20qbr0e.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.6.0-qb88j55p.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.6.0-v8recgw0.mjs +1 -0
- package/dist/chunks/TrustDialog-0.6.0-tdfv8cqs.mjs +1 -0
- package/dist/chunks/activeProvider-0.6.0-ajzxc1d4.mjs +1 -0
- package/dist/chunks/add-dir-0.6.0-e8scpyaj.mjs +1 -0
- package/dist/chunks/agents-0.6.0-69xm47ft.mjs +3 -0
- package/dist/chunks/agents-0.6.0-8m3ze781.mjs +110 -0
- package/dist/chunks/api-0.6.0-3cymw2a4.mjs +1 -0
- package/dist/chunks/asciicast-0.6.0-mz8jmcqs.mjs +1 -0
- package/dist/chunks/assistant-0.6.0-qf4d0nt8.mjs +1 -0
- package/dist/chunks/auth-0.6.0-6j97pezz.mjs +1 -0
- package/dist/chunks/auth-0.6.0-hkthtnfk.mjs +1 -0
- package/dist/chunks/autoMode-0.6.0-82td4ejn.mjs +48 -0
- package/dist/chunks/autoUpdater-0.6.0-4rrgwmxf.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.6.0-j2hd827a.mjs +1 -0
- package/dist/chunks/branch-0.6.0-rnjgfgek.mjs +4 -0
- package/dist/chunks/bridgePointer-0.6.0-4pp7berq.mjs +1 -0
- package/dist/chunks/btw-0.6.0-9pm632qb.mjs +1 -0
- package/dist/chunks/buddy-0.6.0-zyreaya9.mjs +3 -0
- package/dist/chunks/cacache-0.6.0-mhcyz322.mjs +1 -0
- package/dist/chunks/cache-probe-0.6.0-2m2g30sy.mjs +21 -0
- package/dist/chunks/cacheStats-0.6.0-mzcbqxz0.mjs +4 -0
- package/dist/chunks/caches-0.6.0-x8ev20m0.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.6.0-66prcdq2.mjs +1 -0
- package/dist/chunks/claudemd-0.6.0-t41nj06r.mjs +1 -0
- package/dist/chunks/clear-0.6.0-g494jnyj.mjs +1 -0
- package/dist/chunks/clearTerminal-0.6.0-3d2y2snk.mjs +1 -0
- package/dist/chunks/cli-0.6.0-0ck8d1xf.mjs +3 -0
- package/dist/chunks/cli-0.6.0-0kx1hnqt.mjs +2 -0
- package/dist/chunks/cli-0.6.0-0p3mkd59.mjs +2 -0
- package/dist/chunks/cli-0.6.0-0yb835ch.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1b6rqyjf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1bpa9gj3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1bzempk2.mjs +12 -0
- package/dist/chunks/cli-0.6.0-1cfghz45.mjs +20 -0
- package/dist/chunks/cli-0.6.0-1d77dayv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1hxw8522.mjs +2 -0
- package/dist/chunks/cli-0.6.0-1jem05z7.mjs +45 -0
- package/dist/chunks/cli-0.6.0-1zce7bz0.mjs +17 -0
- package/dist/chunks/cli-0.6.0-27pnyd8x.mjs +2 -0
- package/dist/chunks/cli-0.6.0-295jdx7b.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2age3kgh.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2bbdcxda.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2c7skznf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2gsntzzv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2h139nq7.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2hnyx7jy.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2k2xxr4j.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2kvggf16.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2m8k6622.mjs +18 -0
- package/dist/chunks/cli-0.6.0-2m9w0jtx.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2qtnp6rz.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2z14r3n7.mjs +2 -0
- package/dist/chunks/cli-0.6.0-2ztxr2t5.mjs +2 -0
- package/dist/chunks/cli-0.6.0-32mypc03.mjs +4 -0
- package/dist/chunks/cli-0.6.0-363zfcx9.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3jwfajtd.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3kbabt72.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3kxxj2zn.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3m7j40bv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3ns7jd71.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3qpvyrpf.mjs +16 -0
- package/dist/chunks/cli-0.6.0-3sdh6b3v.mjs +2 -0
- package/dist/chunks/cli-0.6.0-3wr1g3r3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-4fzxnfth.mjs +2 -0
- package/dist/chunks/cli-0.6.0-4ks8fpx1.mjs +2 -0
- package/dist/chunks/cli-0.6.0-592v9jcz.mjs +2 -0
- package/dist/chunks/cli-0.6.0-59hncecf.mjs +17 -0
- package/dist/chunks/cli-0.6.0-5bjsew2k.mjs +2 -0
- package/dist/chunks/cli-0.6.0-5m6h57jc.mjs +18 -0
- package/dist/chunks/cli-0.6.0-5zykg2fc.mjs +2 -0
- package/dist/chunks/cli-0.6.0-60ma2ekn.mjs +2 -0
- package/dist/chunks/cli-0.6.0-60q6k4k3.mjs +3 -0
- package/dist/chunks/cli-0.6.0-6hak6gny.mjs +2 -0
- package/dist/chunks/cli-0.6.0-6tdctbcr.mjs +2 -0
- package/dist/chunks/cli-0.6.0-6w72esaf.mjs +3 -0
- package/dist/chunks/cli-0.6.0-76c1zq6n.mjs +2 -0
- package/dist/chunks/cli-0.6.0-7m760mbp.mjs +2 -0
- package/dist/chunks/cli-0.6.0-7qw68ehh.mjs +2 -0
- package/dist/chunks/cli-0.6.0-7qwx1xwm.mjs +2 -0
- package/dist/chunks/cli-0.6.0-7s0k6nw0.mjs +12 -0
- package/dist/chunks/cli-0.6.0-7shwamwq.mjs +4 -0
- package/dist/chunks/cli-0.6.0-855c2tef.mjs +2 -0
- package/dist/chunks/cli-0.6.0-8kh9rbvn.mjs +2 -0
- package/dist/chunks/cli-0.6.0-8meqksnp.mjs +9 -0
- package/dist/chunks/cli-0.6.0-8xf2xpy3.mjs +3 -0
- package/dist/chunks/cli-0.6.0-8zczwtyv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-91exkfnc.mjs +2 -0
- package/dist/chunks/cli-0.6.0-97d3zsj0.mjs +2 -0
- package/dist/chunks/cli-0.6.0-9faq31pe.mjs +4 -0
- package/dist/chunks/cli-0.6.0-9gnppzfq.mjs +133 -0
- package/dist/chunks/cli-0.6.0-9qdj830c.mjs +4 -0
- package/dist/chunks/cli-0.6.0-9rq760gd.mjs +2 -0
- package/dist/chunks/cli-0.6.0-9rxskyst.mjs +5 -0
- package/dist/chunks/cli-0.6.0-9zx9qdaq.mjs +2 -0
- package/dist/chunks/cli-0.6.0-a21pffqx.mjs +2 -0
- package/dist/chunks/cli-0.6.0-a62vvs4t.mjs +2 -0
- package/dist/chunks/cli-0.6.0-a7h4zkhn.mjs +15 -0
- package/dist/chunks/cli-0.6.0-aqestr3c.mjs +193 -0
- package/dist/chunks/cli-0.6.0-awtw1t27.mjs +2 -0
- package/dist/chunks/cli-0.6.0-b6tgentw.mjs +2 -0
- package/dist/chunks/cli-0.6.0-bca4nx7y.mjs +4 -0
- package/dist/chunks/cli-0.6.0-bg7yq5wg.mjs +2 -0
- package/dist/chunks/cli-0.6.0-bjyadvf4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-c1a6kyzf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-c1hzx5ft.mjs +2 -0
- package/dist/chunks/cli-0.6.0-c6nqbf3d.mjs +3 -0
- package/dist/chunks/cli-0.6.0-caxz9dgf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-d3wk9en8.mjs +2 -0
- package/dist/chunks/cli-0.6.0-d4v4gc51.mjs +2 -0
- package/dist/chunks/cli-0.6.0-da98vnek.mjs +3 -0
- package/dist/chunks/cli-0.6.0-db9z8rd6.mjs +2 -0
- package/dist/chunks/cli-0.6.0-djm9knfa.mjs +2 -0
- package/dist/chunks/cli-0.6.0-dsrnkn8r.mjs +2 -0
- package/dist/chunks/cli-0.6.0-dsykmkkh.mjs +2 -0
- package/dist/chunks/cli-0.6.0-dxwdyaw3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-e05hymmk.mjs +2 -0
- package/dist/chunks/cli-0.6.0-e8a59m32.mjs +2 -0
- package/dist/chunks/cli-0.6.0-f7y1nm61.mjs +4 -0
- package/dist/chunks/cli-0.6.0-f8va1ddb.mjs +2 -0
- package/dist/chunks/cli-0.6.0-fdfhshmm.mjs +3 -0
- package/dist/chunks/cli-0.6.0-fg2kp9t9.mjs +2 -0
- package/dist/chunks/cli-0.6.0-fx65e0yv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-fzxv7yps.mjs +2 -0
- package/dist/chunks/cli-0.6.0-g60zf7ra.mjs +2 -0
- package/dist/chunks/cli-0.6.0-g61jvwe5.mjs +2 -0
- package/dist/chunks/cli-0.6.0-g7exm24t.mjs +3 -0
- package/dist/chunks/cli-0.6.0-gaakjhm0.mjs +2 -0
- package/dist/chunks/cli-0.6.0-gassmthg.mjs +2 -0
- package/dist/chunks/cli-0.6.0-gec8yt9j.mjs +2 -0
- package/dist/chunks/cli-0.6.0-gjcmv34x.mjs +4 -0
- package/dist/chunks/cli-0.6.0-gw1zy408.mjs +2 -0
- package/dist/chunks/cli-0.6.0-h0z5ygw4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-h88zf9sp.mjs +2 -0
- package/dist/chunks/cli-0.6.0-hchy51xn.mjs +15 -0
- package/dist/chunks/cli-0.6.0-hf8fw0bb.mjs +2 -0
- package/dist/chunks/cli-0.6.0-hms5fdyd.mjs +2 -0
- package/dist/chunks/cli-0.6.0-hraw3dez.mjs +2 -0
- package/dist/chunks/cli-0.6.0-hwes2c0w.mjs +6 -0
- package/dist/chunks/cli-0.6.0-hxhwjzmm.mjs +34 -0
- package/dist/chunks/cli-0.6.0-j4gvgd8r.mjs +7 -0
- package/dist/chunks/cli-0.6.0-j5r9tdmt.mjs +50 -0
- package/dist/chunks/cli-0.6.0-jb17xpd5.mjs +2 -0
- package/dist/chunks/cli-0.6.0-jfft7zdk.mjs +67 -0
- package/dist/chunks/cli-0.6.0-jpsf0t8a.mjs +9 -0
- package/dist/chunks/cli-0.6.0-js1fe4hv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-k8qnaskd.mjs +8 -0
- package/dist/chunks/cli-0.6.0-kr9jt2p9.mjs +6 -0
- package/dist/chunks/cli-0.6.0-kvv5zw54.mjs +5 -0
- package/dist/chunks/cli-0.6.0-m47zataq.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mkca0jw4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mmmmpmp3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mmp6g96h.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mqdfskgd.mjs +2 -0
- package/dist/chunks/cli-0.6.0-mvv5jvw3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-ndxtcmnz.mjs +2 -0
- package/dist/chunks/cli-0.6.0-npjb4qxf.mjs +3 -0
- package/dist/chunks/cli-0.6.0-npxj2hv4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-nxpvznpz.mjs +4 -0
- package/dist/chunks/cli-0.6.0-nzqrvkwj.mjs +58 -0
- package/dist/chunks/cli-0.6.0-p3kytvrk.mjs +42 -0
- package/dist/chunks/cli-0.6.0-pbegwent.mjs +2 -0
- package/dist/chunks/cli-0.6.0-pk4x582t.mjs +2 -0
- package/dist/chunks/cli-0.6.0-pp6kfka3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-pvkfx5f1.mjs +2 -0
- package/dist/chunks/cli-0.6.0-q63ry2jk.mjs +2 -0
- package/dist/chunks/cli-0.6.0-qnby905t.mjs +2 -0
- package/dist/chunks/cli-0.6.0-qzs04ar5.mjs +6 -0
- package/dist/chunks/cli-0.6.0-r3kd85yw.mjs +2 -0
- package/dist/chunks/cli-0.6.0-r5tyrw7e.mjs +59 -0
- package/dist/chunks/cli-0.6.0-r8g9yjbx.mjs +4 -0
- package/dist/chunks/cli-0.6.0-rrp10514.mjs +2 -0
- package/dist/chunks/cli-0.6.0-rvcpxnfv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-rys3h8aw.mjs +2 -0
- package/dist/chunks/cli-0.6.0-rytp9dva.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s2w74466.mjs +15 -0
- package/dist/chunks/cli-0.6.0-s36ckgp3.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s4fa0ekw.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s56fh7wm.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s6hbyqbv.mjs +2 -0
- package/dist/chunks/cli-0.6.0-s7b70a0c.mjs +2 -0
- package/dist/chunks/cli-0.6.0-sa2mtczk.mjs +2 -0
- package/dist/chunks/cli-0.6.0-sd76f2sk.mjs +21 -0
- package/dist/chunks/cli-0.6.0-sh2rvpbt.mjs +2 -0
- package/dist/chunks/cli-0.6.0-ssdst17p.mjs +2 -0
- package/dist/chunks/cli-0.6.0-szxjcmcn.mjs +2 -0
- package/dist/chunks/cli-0.6.0-t2arqp0e.mjs +12 -0
- package/dist/chunks/cli-0.6.0-t91jvdfm.mjs +2 -0
- package/dist/chunks/cli-0.6.0-t93n2gev.mjs +3 -0
- package/dist/chunks/cli-0.6.0-tbe2ca49.mjs +3 -0
- package/dist/chunks/cli-0.6.0-tgc46p2a.mjs +2 -0
- package/dist/chunks/cli-0.6.0-tmwp0q7v.mjs +2 -0
- package/dist/chunks/cli-0.6.0-ttys4ffq.mjs +2 -0
- package/dist/chunks/cli-0.6.0-tz34279s.mjs +3 -0
- package/dist/chunks/cli-0.6.0-v56hqc26.mjs +25 -0
- package/dist/chunks/cli-0.6.0-v7kten40.mjs +2 -0
- package/dist/chunks/cli-0.6.0-v92kj5pr.mjs +2 -0
- package/dist/chunks/cli-0.6.0-vcvchaan.mjs +2 -0
- package/dist/chunks/cli-0.6.0-vj1q5vmq.mjs +5321 -0
- package/dist/chunks/cli-0.6.0-vrp1zbfc.mjs +4 -0
- package/dist/chunks/cli-0.6.0-vy5a76pk.mjs +18 -0
- package/dist/chunks/cli-0.6.0-vzmjmj1n.mjs +133 -0
- package/dist/chunks/cli-0.6.0-wcqzr1n7.mjs +10 -0
- package/dist/chunks/cli-0.6.0-wmt6ytdx.mjs +2 -0
- package/dist/chunks/cli-0.6.0-wnrwh53h.mjs +2 -0
- package/dist/chunks/cli-0.6.0-wz6en1nw.mjs +39 -0
- package/dist/chunks/cli-0.6.0-x7c5eyt4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-xczg4s5m.mjs +2 -0
- package/dist/chunks/cli-0.6.0-xg7esvcf.mjs +2 -0
- package/dist/chunks/cli-0.6.0-xp74d7yz.mjs +1 -0
- package/dist/chunks/cli-0.6.0-xyv90m2s.mjs +2 -0
- package/dist/chunks/cli-0.6.0-xzvyqs4f.mjs +24 -0
- package/dist/chunks/cli-0.6.0-y4g2dppt.mjs +2 -0
- package/dist/chunks/cli-0.6.0-ycj7gxxz.mjs +2 -0
- package/dist/chunks/cli-0.6.0-yryz4xm4.mjs +2 -0
- package/dist/chunks/cli-0.6.0-zabvyppx.mjs +2 -0
- package/dist/chunks/cli-0.6.0-zngss8r1.mjs +2 -0
- package/dist/chunks/cli-0.6.0-zr99z1nr.mjs +5 -0
- package/dist/chunks/cli-0.6.0-zxckyy4s.mjs +2 -0
- package/dist/chunks/cli-0.6.0-zz1dfz4t.mjs +24 -0
- package/dist/chunks/client-0.6.0-djg9p1rh.mjs +1 -0
- package/dist/chunks/color-0.6.0-hpk7e2x9.mjs +1 -0
- package/dist/chunks/compact-0.6.0-gtvx4hy7.mjs +3 -0
- package/dist/chunks/config-0.6.0-f4jc8hpt.mjs +1 -0
- package/dist/chunks/config-0.6.0-jpx4jvj2.mjs +1 -0
- package/dist/chunks/constants-0.6.0-qe49df42.mjs +1 -0
- package/dist/chunks/context-0.6.0-t33461h9.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.6.0-vh1s30rr.mjs +1 -0
- package/dist/chunks/conversation-0.6.0-apb71k2e.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.6.0-2apz8tq4.mjs +1 -0
- package/dist/chunks/copy-0.6.0-yfzmdd0z.mjs +9 -0
- package/dist/chunks/cost-0.6.0-qrhnvqtm.mjs +1 -0
- package/dist/chunks/createSSHSession-0.6.0-2p1n5srr.mjs +1 -0
- package/dist/chunks/createSession-0.6.0-pcy6a299.mjs +1 -0
- package/dist/chunks/debug-0.6.0-39p8tt4j.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.6.0-8bzdvszj.mjs +1365 -0
- package/dist/chunks/desktop-0.6.0-vxzr6474.mjs +1 -0
- package/dist/chunks/detectRepository-0.6.0-wvjpx2rr.mjs +1 -0
- package/dist/chunks/detection-0.6.0-8thkktsw.mjs +1 -0
- package/dist/chunks/diff-0.6.0-g8kn9exw.mjs +1 -0
- package/dist/chunks/doctor-0.6.0-dxy0j0g4.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.6.0-aa892edk.mjs +1 -0
- package/dist/chunks/earlyInput-0.6.0-gj3dyt0d.mjs +1 -0
- package/dist/chunks/effort-0.6.0-g5xfz2eg.mjs +10 -0
- package/dist/chunks/envUtils-0.6.0-tf4st484.mjs +1 -0
- package/dist/chunks/environmentSelection-0.6.0-r5ar2987.mjs +1 -0
- package/dist/chunks/environments-0.6.0-gec3hdz5.mjs +1 -0
- package/dist/chunks/errors-0.6.0-mf51mpgf.mjs +1 -0
- package/dist/chunks/exampleCommands-0.6.0-qg1e4vxh.mjs +1 -0
- package/dist/chunks/exit-0.6.0-xys34kqe.mjs +1 -0
- package/dist/chunks/export-0.6.0-135ccc8z.mjs +2 -0
- package/dist/chunks/extra-usage-0.6.0-aqn3jh3x.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.6.0-yw91pfe0.mjs +1 -0
- package/dist/chunks/fast-0.6.0-gw4rymz7.mjs +1 -0
- package/dist/chunks/feedback-0.6.0-j898w96j.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.6.0-t26jt3ej.mjs +1 -0
- package/dist/chunks/git-0.6.0-1rjgfq8r.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.6.0-ek8depe7.mjs +1 -0
- package/dist/chunks/goal-0.6.0-wdmxdemz.mjs +4 -0
- package/dist/chunks/grove-0.6.0-bge298jb.mjs +1 -0
- package/dist/chunks/growthbook-0.6.0-vkrtxrkt.mjs +1 -0
- package/dist/chunks/headless-0.6.0-kw28r6p5.mjs +2 -0
- package/dist/chunks/heapdump-0.6.0-5130r1vc.mjs +6 -0
- package/dist/chunks/help-0.6.0-krmgwd6p.mjs +1 -0
- package/dist/chunks/hookChains-0.6.0-esxa7jav.mjs +3 -0
- package/dist/chunks/hooks-0.6.0-652920vq.mjs +79 -0
- package/dist/chunks/hooks-0.6.0-tgtx7vah.mjs +1 -0
- package/dist/chunks/ide-0.6.0-j84km85e.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.6.0-tyyms96b.mjs +1 -0
- package/dist/chunks/index-0.6.0-1c8mc7c5.mjs +1 -0
- package/dist/chunks/index-0.6.0-33tqx1q0.mjs +1 -0
- package/dist/chunks/index-0.6.0-4cjwvzjk.mjs +2 -0
- package/dist/chunks/index-0.6.0-8r6qtdvj.mjs +2 -0
- package/dist/chunks/index-0.6.0-9br46rw2.mjs +1 -0
- package/dist/chunks/index-0.6.0-apr64dfb.mjs +1 -0
- package/dist/chunks/index-0.6.0-e79va7fg.mjs +9 -0
- package/dist/chunks/index-0.6.0-f35c7dte.mjs +1 -0
- package/dist/chunks/index-0.6.0-fsb9nqdb.mjs +1 -0
- package/dist/chunks/index-0.6.0-gxd56xhn.mjs +1 -0
- package/dist/chunks/index-0.6.0-kbwkgp90.mjs +5 -0
- package/dist/chunks/index-0.6.0-mhvzn9h5.mjs +1 -0
- package/dist/chunks/index-0.6.0-mxm4er0h.mjs +1 -0
- package/dist/chunks/index-0.6.0-nny5a3rt.mjs +30 -0
- package/dist/chunks/index-0.6.0-nst006cq.mjs +17 -0
- package/dist/chunks/index-0.6.0-rv4pntam.mjs +1 -0
- package/dist/chunks/index-0.6.0-scwzrsg7.mjs +1 -0
- package/dist/chunks/index-0.6.0-w2djrw2s.mjs +9 -0
- package/dist/chunks/index-0.6.0-wb1ws1yr.mjs +1 -0
- package/dist/chunks/index-0.6.0-wjesenkh.mjs +1 -0
- package/dist/chunks/index-0.6.0-y9ppfz99.mjs +1 -0
- package/dist/chunks/index-0.6.0-zem7h5vp.mjs +1 -0
- package/dist/chunks/init-0.6.0-1770vy5g.mjs +1 -0
- package/dist/chunks/initReplBridge-0.6.0-z9198t8c.mjs +1 -0
- package/dist/chunks/ink-0.6.0-qwcph42h.mjs +1 -0
- package/dist/chunks/insights-0.6.0-cw0cadtm.mjs +870 -0
- package/dist/chunks/install-0.6.0-26gqe0fd.mjs +1 -0
- package/dist/chunks/install-github-app-0.6.0-afraccwz.mjs +149 -0
- package/dist/chunks/install-slack-app-0.6.0-ddv0a41d.mjs +1 -0
- package/dist/chunks/instrumentation-0.6.0-2rcak0p8.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.6.0-jxbk6fey.mjs +1 -0
- package/dist/chunks/keybindings-0.6.0-5ytp6650.mjs +2 -0
- package/dist/chunks/knowledge-0.6.0-ew766111.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.6.0-yy47behr.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.6.0-80k2aj05.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.0-vhh7gzzn.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.0-ztp923sq.mjs +1 -0
- package/dist/chunks/log-0.6.0-9tz5q7ps.mjs +1 -0
- package/dist/chunks/main-0.6.0-rzx5483p.mjs +1 -0
- package/dist/chunks/managedEnv-0.6.0-vr46tva8.mjs +1 -0
- package/dist/chunks/mcp-0.6.0-0w7zg3p3.mjs +4 -0
- package/dist/chunks/mcp-0.6.0-6h57nk7y.mjs +1 -0
- package/dist/chunks/mcp-0.6.0-r1061w3f.mjs +17 -0
- package/dist/chunks/mcpb-0.6.0-9ka233fc.mjs +1 -0
- package/dist/chunks/memory-0.6.0-wzcpareq.mjs +3 -0
- package/dist/chunks/mobile-0.6.0-wfnegsdg.mjs +2 -0
- package/dist/chunks/model-0.6.0-2ncemzh6.mjs +1 -0
- package/dist/chunks/model-0.6.0-tefdsge4.mjs +2 -0
- package/dist/chunks/node-0.6.0-x0ve6mnc.mjs +12 -0
- package/dist/chunks/oauth-0.6.0-dqw6k0tz.mjs +1 -0
- package/dist/chunks/openaiShim-0.6.0-22t2dr2z.mjs +14 -0
- package/dist/chunks/output-style-0.6.0-6kqm6df4.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.6.0-vx7g6m15.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.6.0-fzb9qfec.mjs +1 -0
- package/dist/chunks/parser-0.6.0-y80gn3tg.mjs +1 -0
- package/dist/chunks/passes-0.6.0-0gxeeegv.mjs +1 -0
- package/dist/chunks/permissions-0.6.0-hke4pdcc.mjs +3 -0
- package/dist/chunks/plan-0.6.0-v60h02ep.mjs +1 -0
- package/dist/chunks/plist-0.6.0-bz14nbfw.mjs +1 -0
- package/dist/chunks/plugin-0.6.0-43b045ac.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.6.0-rxgqz1f8.mjs +1 -0
- package/dist/chunks/plugins-0.6.0-c4zsb658.mjs +9 -0
- package/dist/chunks/preActionHook-0.6.0-bxna1trm.mjs +2 -0
- package/dist/chunks/print-0.6.0-09j4e2ec.mjs +57 -0
- package/dist/chunks/privacy-settings-0.6.0-yhesee0k.mjs +1 -0
- package/dist/chunks/process-0.6.0-194s5ayw.mjs +1 -0
- package/dist/chunks/processBashCommand-0.6.0-pfp2pv9w.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.6.0-7xzbb466.mjs +9 -0
- package/dist/chunks/prompt-0.6.0-g86dhhk0.mjs +1 -0
- package/dist/chunks/prompt-0.6.0-zaxw8ms6.mjs +1 -0
- package/dist/chunks/prompts-0.6.0-dk1vzsz0.mjs +1 -0
- package/dist/chunks/protocolHandler-0.6.0-54sm9br3.mjs +13 -0
- package/dist/chunks/provider-0.6.0-f3hjdgnv.mjs +2 -0
- package/dist/chunks/providerProfiles-0.6.0-bxp22mqt.mjs +1 -0
- package/dist/chunks/providerValidation-0.6.0-pvwdjqw3.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.6.0-y2qv27ms.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.6.0-dh1kmqw1.mjs +34 -0
- package/dist/chunks/registry-0.6.0-6zvdx4fa.mjs +1 -0
- package/dist/chunks/release-notes-0.6.0-6p8nx2xc.mjs +5 -0
- package/dist/chunks/reload-plugins-0.6.0-570gszfw.mjs +2 -0
- package/dist/chunks/remote-env-0.6.0-sjemeetj.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.6.0-ab80z440.mjs +1 -0
- package/dist/chunks/remoteSession-0.6.0-d07620cv.mjs +1 -0
- package/dist/chunks/rename-0.6.0-nyqpebf6.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.6.0-pvrxskrc.mjs +1 -0
- package/dist/chunks/replLauncher-0.6.0-1ng5ajaz.mjs +1 -0
- package/dist/chunks/resume-0.6.0-0gcmk4pd.mjs +2 -0
- package/dist/chunks/rewind-0.6.0-ktbtm3a9.mjs +1 -0
- package/dist/chunks/rootOptions-0.6.0-3y0nvcgg.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.6.0-n03pbpa8.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.6.0-r6ap16jq.mjs +1 -0
- package/dist/chunks/session-0.6.0-8wj8t5kq.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.6.0-ggm4y3jm.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.6.0-zzn2r4we.mjs +1 -0
- package/dist/chunks/sessionStorage-0.6.0-dqq9e9s8.mjs +1 -0
- package/dist/chunks/settings-0.6.0-ap4tqn54.mjs +1 -0
- package/dist/chunks/setup-0.6.0-mgbyyc71.mjs +5 -0
- package/dist/chunks/sinks-0.6.0-5ekfd4ya.mjs +1 -0
- package/dist/chunks/skills-0.6.0-78btd7cr.mjs +1 -0
- package/dist/chunks/startupProfiler-0.6.0-a2shb6dh.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.6.0-3ygq5msd.mjs +1 -0
- package/dist/chunks/state-0.6.0-m6bsf1b6.mjs +1 -0
- package/dist/chunks/stats-0.6.0-w163rgvd.mjs +6 -0
- package/dist/chunks/status-0.6.0-ce1p1nbt.mjs +1 -0
- package/dist/chunks/stickers-0.6.0-j9h7rsnm.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.6.0-ep7ha98p.mjs +1 -0
- package/dist/chunks/tasks-0.6.0-2qdk98p6.mjs +1 -0
- package/dist/chunks/teamHelpers-0.6.0-z26tek6c.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.6.0-ydtqht2v.mjs +1 -0
- package/dist/chunks/teleport-0.6.0-sq90w2z1.mjs +1 -0
- package/dist/chunks/terminalSetup-0.6.0-nj633zgj.mjs +1 -0
- package/dist/chunks/theme-0.6.0-gbx1fx14.mjs +1 -0
- package/dist/chunks/thinkback-0.6.0-g650qsc0.mjs +1 -0
- package/dist/chunks/thinkback-play-0.6.0-x83b68dn.mjs +1 -0
- package/dist/chunks/toolPool-0.6.0-p2sms7a9.mjs +1 -0
- package/dist/chunks/toolSearch-0.6.0-wyps3eqc.mjs +1 -0
- package/dist/chunks/tools-0.6.0-xk9wgy5h.mjs +1 -0
- package/dist/chunks/trustedDevice-0.6.0-rgqjeqzg.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.6.0-dsdamyph.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.6.0-x19p2w4a.mjs +4 -0
- package/dist/chunks/update-0.6.0-ryw1h5dw.mjs +86 -0
- package/dist/chunks/upgrade-0.6.0-gwrpq422.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.6.0-99efcy5e.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.6.0-k1qxf5y3.mjs +1 -0
- package/dist/chunks/usage-0.6.0-9gygvtnp.mjs +1 -0
- package/dist/chunks/util-0.6.0-pnf3vdnn.mjs +1 -0
- package/dist/chunks/utils-0.6.0-pf338f8r.mjs +1 -0
- package/dist/chunks/vim-0.6.0-xr4692km.mjs +1 -0
- package/dist/chunks/watcher-0.6.0-cypcv0dz.mjs +1 -0
- package/dist/chunks/wiki-0.6.0-hj8m2rct.mjs +132 -0
- package/dist/chunks/worktree-0.6.0-gkckfba3.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.6.0-rrpspmv9.mjs +1 -0
- package/dist/chunks/wrapper-0.6.0-hdrsg1aw.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.5.13-6dz2gvzt.mjs +0 -1
- package/dist/chunks/App-0.5.13-h8h37pzk.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.5.13-r1fte24k.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.5.13-8r9am3rj.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.5.13-kmhmmjcg.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.5.13-2bsqjr5d.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.13-qcb3r450.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.5.13-pg65frv4.mjs +0 -1
- package/dist/chunks/DiffDialog-0.5.13-hwy08wq9.mjs +0 -3
- package/dist/chunks/Doctor-0.5.13-335trspw.mjs +0 -1
- package/dist/chunks/Grove-0.5.13-hg0k8g49.mjs +0 -1
- package/dist/chunks/ITermBackend-0.5.13-jj7kn9vx.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.5.13-9azv44xk.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.5.13-byp7h5gk.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.5.13-zxyqfrbq.mjs +0 -1
- package/dist/chunks/Onboarding-0.5.13-qa2yk18p.mjs +0 -1
- package/dist/chunks/ProviderManager-0.5.13-c1vawvvp.mjs +0 -1
- package/dist/chunks/REPL-0.5.13-4rss5cn8.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.5.13-8yg9t110.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.5.13-egpytwfz.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.5.13-mqff8prx.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.13-vvjjc0e0.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.5.13-hr5qx564.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.5.13-3rqrqy3v.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.5.13-pc0xw8bq.mjs +0 -1
- package/dist/chunks/TrustDialog-0.5.13-fc0205ss.mjs +0 -1
- package/dist/chunks/activeProvider-0.5.13-50732cyn.mjs +0 -1
- package/dist/chunks/add-dir-0.5.13-sq7m6erc.mjs +0 -1
- package/dist/chunks/agents-0.5.13-manb7tcq.mjs +0 -3
- package/dist/chunks/agents-0.5.13-xvmk9xvk.mjs +0 -110
- package/dist/chunks/api-0.5.13-q2anppzf.mjs +0 -1
- package/dist/chunks/asciicast-0.5.13-qdn1gh3y.mjs +0 -1
- package/dist/chunks/assistant-0.5.13-2hfvn0kh.mjs +0 -1
- package/dist/chunks/auth-0.5.13-05zhnpsy.mjs +0 -1
- package/dist/chunks/auth-0.5.13-jn53extx.mjs +0 -1
- package/dist/chunks/autoMode-0.5.13-ejwtdvs2.mjs +0 -48
- package/dist/chunks/autoUpdater-0.5.13-j6cngyr7.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.5.13-rrvzf922.mjs +0 -1
- package/dist/chunks/branch-0.5.13-qmyekghp.mjs +0 -4
- package/dist/chunks/bridgePointer-0.5.13-8r4x6rgv.mjs +0 -1
- package/dist/chunks/btw-0.5.13-0pa7vfhq.mjs +0 -1
- package/dist/chunks/buddy-0.5.13-k3ac5jxx.mjs +0 -3
- package/dist/chunks/cacache-0.5.13-ze1bqfm6.mjs +0 -1
- package/dist/chunks/cache-probe-0.5.13-yc3ra4vk.mjs +0 -21
- package/dist/chunks/cacheStats-0.5.13-e1eg5g4e.mjs +0 -4
- package/dist/chunks/caches-0.5.13-75dr0q42.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.5.13-5nptd5hj.mjs +0 -1
- package/dist/chunks/claudemd-0.5.13-ce8fx7gc.mjs +0 -1
- package/dist/chunks/clear-0.5.13-k8q15yen.mjs +0 -1
- package/dist/chunks/clearTerminal-0.5.13-veyek376.mjs +0 -1
- package/dist/chunks/cli-0.5.13-03jqbfbp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-055v20cs.mjs +0 -2
- package/dist/chunks/cli-0.5.13-061m60f2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-0fhxw4ng.mjs +0 -3
- package/dist/chunks/cli-0.5.13-0zgpx8rh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-15kmd08p.mjs +0 -2
- package/dist/chunks/cli-0.5.13-16khcs2m.mjs +0 -3
- package/dist/chunks/cli-0.5.13-1eedz5bc.mjs +0 -2
- package/dist/chunks/cli-0.5.13-1qt91z42.mjs +0 -2
- package/dist/chunks/cli-0.5.13-29nzbrwv.mjs +0 -45
- package/dist/chunks/cli-0.5.13-2m4fm0hh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-2v1zpnvh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-2vy5qjm5.mjs +0 -5276
- package/dist/chunks/cli-0.5.13-36s1k9x2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-3e1p9n7x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-3ys2sjjd.mjs +0 -2
- package/dist/chunks/cli-0.5.13-3zrq5ggt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-426cpksk.mjs +0 -4
- package/dist/chunks/cli-0.5.13-4at49cv9.mjs +0 -2
- package/dist/chunks/cli-0.5.13-4s4vnhj8.mjs +0 -2
- package/dist/chunks/cli-0.5.13-4yqsxc90.mjs +0 -2
- package/dist/chunks/cli-0.5.13-50cwkg00.mjs +0 -2
- package/dist/chunks/cli-0.5.13-5n0sdsbk.mjs +0 -2
- package/dist/chunks/cli-0.5.13-5tva2fr1.mjs +0 -6
- package/dist/chunks/cli-0.5.13-5wc80m6b.mjs +0 -2
- package/dist/chunks/cli-0.5.13-5x7qbneh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-62qasgve.mjs +0 -2
- package/dist/chunks/cli-0.5.13-667jxcab.mjs +0 -18
- package/dist/chunks/cli-0.5.13-69m6gq4m.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6c2mgdby.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6hvwtg4n.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6qz4fn68.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6yehabyw.mjs +0 -2
- package/dist/chunks/cli-0.5.13-70f6zf2z.mjs +0 -4
- package/dist/chunks/cli-0.5.13-73fyz4ct.mjs +0 -2
- package/dist/chunks/cli-0.5.13-73hy7ka5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-77mqds6w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7b4c61sf.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7fzk2679.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7gkctjmj.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7je48sax.mjs +0 -15
- package/dist/chunks/cli-0.5.13-898bb5x7.mjs +0 -2
- package/dist/chunks/cli-0.5.13-89h7zw2x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-8wrj5aqm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-8yj2mydb.mjs +0 -2
- package/dist/chunks/cli-0.5.13-9r26f53q.mjs +0 -8
- package/dist/chunks/cli-0.5.13-a86qe2vz.mjs +0 -2
- package/dist/chunks/cli-0.5.13-a8k2grq1.mjs +0 -3
- package/dist/chunks/cli-0.5.13-a9gqqmjh.mjs +0 -6
- package/dist/chunks/cli-0.5.13-acgafbm9.mjs +0 -2
- package/dist/chunks/cli-0.5.13-adphma77.mjs +0 -2
- package/dist/chunks/cli-0.5.13-atfk3e81.mjs +0 -2
- package/dist/chunks/cli-0.5.13-athb0q85.mjs +0 -2
- package/dist/chunks/cli-0.5.13-b2593ngv.mjs +0 -4
- package/dist/chunks/cli-0.5.13-b5tqhsx5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-b6aefc28.mjs +0 -1
- package/dist/chunks/cli-0.5.13-bkv5hf1d.mjs +0 -2
- package/dist/chunks/cli-0.5.13-bv7ax1n3.mjs +0 -2
- package/dist/chunks/cli-0.5.13-cf35yzvq.mjs +0 -3
- package/dist/chunks/cli-0.5.13-chdvhgrk.mjs +0 -2
- package/dist/chunks/cli-0.5.13-chgxtj5w.mjs +0 -4
- package/dist/chunks/cli-0.5.13-cjd4zkx5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-cm18xc7a.mjs +0 -4
- package/dist/chunks/cli-0.5.13-cnzars85.mjs +0 -5
- package/dist/chunks/cli-0.5.13-cs4r7txx.mjs +0 -2
- package/dist/chunks/cli-0.5.13-cvy5zs8w.mjs +0 -39
- package/dist/chunks/cli-0.5.13-cwy43qr2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-d0pk4caa.mjs +0 -24
- package/dist/chunks/cli-0.5.13-d1xn4v80.mjs +0 -2
- package/dist/chunks/cli-0.5.13-d4g5sa6y.mjs +0 -2
- package/dist/chunks/cli-0.5.13-d6bw823x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-dd5wmg26.mjs +0 -15
- package/dist/chunks/cli-0.5.13-ddpterr2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-dxs15ka8.mjs +0 -24
- package/dist/chunks/cli-0.5.13-dzq8ey2j.mjs +0 -2
- package/dist/chunks/cli-0.5.13-efbkgz8j.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ejy68mbm.mjs +0 -34
- package/dist/chunks/cli-0.5.13-epjykaww.mjs +0 -17
- package/dist/chunks/cli-0.5.13-evjnfa9k.mjs +0 -10
- package/dist/chunks/cli-0.5.13-f1akqq6k.mjs +0 -2
- package/dist/chunks/cli-0.5.13-f1e673b2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-f6tattxs.mjs +0 -4
- package/dist/chunks/cli-0.5.13-fcrp5w0b.mjs +0 -3
- package/dist/chunks/cli-0.5.13-fdyfmbdw.mjs +0 -2
- package/dist/chunks/cli-0.5.13-fgckevv1.mjs +0 -2
- package/dist/chunks/cli-0.5.13-fjs5qecq.mjs +0 -2
- package/dist/chunks/cli-0.5.13-frerk7s6.mjs +0 -2
- package/dist/chunks/cli-0.5.13-g76ge0hv.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ga5kmq1w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-gb0363rs.mjs +0 -2
- package/dist/chunks/cli-0.5.13-gd8h6ejm.mjs +0 -15
- package/dist/chunks/cli-0.5.13-gpnjdq6k.mjs +0 -12
- package/dist/chunks/cli-0.5.13-gtn64dxk.mjs +0 -12
- package/dist/chunks/cli-0.5.13-gw433gw1.mjs +0 -9
- package/dist/chunks/cli-0.5.13-h04mqqtv.mjs +0 -17
- package/dist/chunks/cli-0.5.13-h1jy4w92.mjs +0 -2
- package/dist/chunks/cli-0.5.13-h9wt4xcx.mjs +0 -25
- package/dist/chunks/cli-0.5.13-hgrj8csf.mjs +0 -4
- package/dist/chunks/cli-0.5.13-hwcqeqbn.mjs +0 -2
- package/dist/chunks/cli-0.5.13-hxsc43y5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-j2wbmw1t.mjs +0 -2
- package/dist/chunks/cli-0.5.13-j7mzv9r7.mjs +0 -2
- package/dist/chunks/cli-0.5.13-j97wk70q.mjs +0 -2
- package/dist/chunks/cli-0.5.13-jc4m6d2k.mjs +0 -3
- package/dist/chunks/cli-0.5.13-jqns71dy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-k0a2tvhb.mjs +0 -2
- package/dist/chunks/cli-0.5.13-k18wsy2t.mjs +0 -2
- package/dist/chunks/cli-0.5.13-k8vf1rgk.mjs +0 -2
- package/dist/chunks/cli-0.5.13-khtf0a93.mjs +0 -9
- package/dist/chunks/cli-0.5.13-kry2fk76.mjs +0 -2
- package/dist/chunks/cli-0.5.13-kt5d0qv4.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ktrr6zcr.mjs +0 -2
- package/dist/chunks/cli-0.5.13-kz59bkh7.mjs +0 -6
- package/dist/chunks/cli-0.5.13-mpqhbtwc.mjs +0 -2
- package/dist/chunks/cli-0.5.13-mrtzh5nm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-mwrgy706.mjs +0 -2
- package/dist/chunks/cli-0.5.13-n30tm5c8.mjs +0 -2
- package/dist/chunks/cli-0.5.13-n3xnwgn1.mjs +0 -2
- package/dist/chunks/cli-0.5.13-nc37z94b.mjs +0 -2
- package/dist/chunks/cli-0.5.13-nkaxbfpd.mjs +0 -2
- package/dist/chunks/cli-0.5.13-nqkxsn2m.mjs +0 -133
- package/dist/chunks/cli-0.5.13-p4f4h0g7.mjs +0 -16
- package/dist/chunks/cli-0.5.13-p6q4xbrv.mjs +0 -2
- package/dist/chunks/cli-0.5.13-p70x9j1v.mjs +0 -193
- package/dist/chunks/cli-0.5.13-p7q9grjp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-p9fwmgwy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-q2mxeckt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qdtebkgs.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qfxggvke.mjs +0 -18
- package/dist/chunks/cli-0.5.13-qkjyj942.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qrn019we.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qs5d8j4d.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qv3v2ydv.mjs +0 -3
- package/dist/chunks/cli-0.5.13-r0m7bt05.mjs +0 -2
- package/dist/chunks/cli-0.5.13-r442vgxt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rd990xfy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rfsjgvne.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rmc7f4b8.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rppjxrmy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rqjp9raj.mjs +0 -58
- package/dist/chunks/cli-0.5.13-rrqv533k.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s005ka5h.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s1wx3grp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s58vke8w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s719y89z.mjs +0 -2
- package/dist/chunks/cli-0.5.13-sfjdg8y7.mjs +0 -4
- package/dist/chunks/cli-0.5.13-sww17qtj.mjs +0 -42
- package/dist/chunks/cli-0.5.13-t0zrxwck.mjs +0 -3
- package/dist/chunks/cli-0.5.13-t6q9ebdp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-teedketa.mjs +0 -2
- package/dist/chunks/cli-0.5.13-tg8xt9zq.mjs +0 -3
- package/dist/chunks/cli-0.5.13-thgp6asf.mjs +0 -21
- package/dist/chunks/cli-0.5.13-tqs67xcg.mjs +0 -2
- package/dist/chunks/cli-0.5.13-tr9s34te.mjs +0 -59
- package/dist/chunks/cli-0.5.13-tvfs784w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-tyh63jx3.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ve50w85d.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vee98ybt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vfkw26ed.mjs +0 -3
- package/dist/chunks/cli-0.5.13-vhjxq97s.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vhvwgvqz.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vqrqsmg4.mjs +0 -3
- package/dist/chunks/cli-0.5.13-vt1mnr9f.mjs +0 -2
- package/dist/chunks/cli-0.5.13-w20nxjkz.mjs +0 -5
- package/dist/chunks/cli-0.5.13-wbq0xatn.mjs +0 -2
- package/dist/chunks/cli-0.5.13-wfyf1thm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-wyr6xtxm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-x3f97qaq.mjs +0 -2
- package/dist/chunks/cli-0.5.13-x3t2vpfh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-x8dtpekr.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xgcr3a63.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xnxmkmta.mjs +0 -5
- package/dist/chunks/cli-0.5.13-xvg417w8.mjs +0 -7
- package/dist/chunks/cli-0.5.13-xxa4mzdx.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xxpqtp1x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xzeqt5b9.mjs +0 -2
- package/dist/chunks/cli-0.5.13-y3hmh09p.mjs +0 -2
- package/dist/chunks/cli-0.5.13-y9wywv5c.mjs +0 -2
- package/dist/chunks/cli-0.5.13-yc6wyazy.mjs +0 -67
- package/dist/chunks/cli-0.5.13-yf4tqq6c.mjs +0 -20
- package/dist/chunks/cli-0.5.13-yk8r9pqr.mjs +0 -2
- package/dist/chunks/cli-0.5.13-yskavx3s.mjs +0 -12
- package/dist/chunks/cli-0.5.13-ytqyx6qh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ywwd10c0.mjs +0 -4
- package/dist/chunks/cli-0.5.13-z0f17269.mjs +0 -2
- package/dist/chunks/cli-0.5.13-z1aye5ce.mjs +0 -2
- package/dist/chunks/cli-0.5.13-zk96c5kc.mjs +0 -3
- package/dist/chunks/cli-0.5.13-zkqc4zsj.mjs +0 -4
- package/dist/chunks/cli-0.5.13-zms1a287.mjs +0 -50
- package/dist/chunks/cli-0.5.13-znj1x5bb.mjs +0 -133
- package/dist/chunks/client-0.5.13-wkzv25nn.mjs +0 -1
- package/dist/chunks/color-0.5.13-yd46yzt2.mjs +0 -1
- package/dist/chunks/compact-0.5.13-3bw7kt91.mjs +0 -3
- package/dist/chunks/config-0.5.13-mwq6ejza.mjs +0 -1
- package/dist/chunks/config-0.5.13-t1bvsttc.mjs +0 -1
- package/dist/chunks/context-0.5.13-zffaf66t.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.5.13-r7fhc6wz.mjs +0 -1
- package/dist/chunks/conversation-0.5.13-3vvb99cj.mjs +0 -1
- package/dist/chunks/copy-0.5.13-zh3ctvbe.mjs +0 -9
- package/dist/chunks/cost-0.5.13-kaah7wjm.mjs +0 -1
- package/dist/chunks/createSSHSession-0.5.13-gn1tyhwh.mjs +0 -1
- package/dist/chunks/createSession-0.5.13-q4atr39q.mjs +0 -1
- package/dist/chunks/debug-0.5.13-tsk3c3gg.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.5.13-eep8ghf6.mjs +0 -1177
- package/dist/chunks/desktop-0.5.13-wahg3gbx.mjs +0 -1
- package/dist/chunks/detectRepository-0.5.13-xek1s6f7.mjs +0 -1
- package/dist/chunks/detection-0.5.13-f8b6t5he.mjs +0 -1
- package/dist/chunks/diff-0.5.13-515a1hs6.mjs +0 -1
- package/dist/chunks/doctor-0.5.13-zafz1vsm.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.5.13-fd90ctm0.mjs +0 -1
- package/dist/chunks/earlyInput-0.5.13-b58bf771.mjs +0 -1
- package/dist/chunks/effort-0.5.13-0yah2d2h.mjs +0 -10
- package/dist/chunks/envUtils-0.5.13-g4pw1v3n.mjs +0 -1
- package/dist/chunks/environmentSelection-0.5.13-9qw5cb9h.mjs +0 -1
- package/dist/chunks/environments-0.5.13-2a6akk4c.mjs +0 -1
- package/dist/chunks/errors-0.5.13-7p8kdhe8.mjs +0 -1
- package/dist/chunks/exampleCommands-0.5.13-fxpyc0yh.mjs +0 -1
- package/dist/chunks/exit-0.5.13-gs0h7d0d.mjs +0 -1
- package/dist/chunks/export-0.5.13-d2yz4k76.mjs +0 -2
- package/dist/chunks/extra-usage-0.5.13-571qzpk6.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.5.13-ky55gxd6.mjs +0 -1
- package/dist/chunks/fast-0.5.13-2g61p9d0.mjs +0 -1
- package/dist/chunks/feedback-0.5.13-2mk1kd03.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.5.13-2t54ma0f.mjs +0 -1
- package/dist/chunks/git-0.5.13-rd7xcgr3.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.5.13-skfy40r3.mjs +0 -1
- package/dist/chunks/grove-0.5.13-g8qwzetx.mjs +0 -1
- package/dist/chunks/growthbook-0.5.13-hnyag67m.mjs +0 -1
- package/dist/chunks/headless-0.5.13-05rns8kj.mjs +0 -2
- package/dist/chunks/heapdump-0.5.13-4eq6h79m.mjs +0 -6
- package/dist/chunks/help-0.5.13-8pfrra9q.mjs +0 -1
- package/dist/chunks/hookChains-0.5.13-vvmpgx47.mjs +0 -3
- package/dist/chunks/hooks-0.5.13-c2ksw8k4.mjs +0 -1
- package/dist/chunks/hooks-0.5.13-zer0dcqm.mjs +0 -79
- package/dist/chunks/ide-0.5.13-r40xcg67.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.5.13-gf9xnpk4.mjs +0 -1
- package/dist/chunks/index-0.5.13-06mj6naw.mjs +0 -1
- package/dist/chunks/index-0.5.13-12hemzfc.mjs +0 -1
- package/dist/chunks/index-0.5.13-4559xg8z.mjs +0 -17
- package/dist/chunks/index-0.5.13-5gmbch0k.mjs +0 -9
- package/dist/chunks/index-0.5.13-5qstd1y9.mjs +0 -1
- package/dist/chunks/index-0.5.13-5zhr2qys.mjs +0 -1
- package/dist/chunks/index-0.5.13-7t4ww1cj.mjs +0 -1
- package/dist/chunks/index-0.5.13-9zz559q7.mjs +0 -1
- package/dist/chunks/index-0.5.13-ap2xd7mn.mjs +0 -1
- package/dist/chunks/index-0.5.13-c9pk5nd1.mjs +0 -2
- package/dist/chunks/index-0.5.13-d9sdxhsy.mjs +0 -1
- package/dist/chunks/index-0.5.13-ej6cywk8.mjs +0 -30
- package/dist/chunks/index-0.5.13-fbjdwyd8.mjs +0 -1
- package/dist/chunks/index-0.5.13-fertw6vb.mjs +0 -1
- package/dist/chunks/index-0.5.13-jwf634zt.mjs +0 -1
- package/dist/chunks/index-0.5.13-nny2e7sx.mjs +0 -5
- package/dist/chunks/index-0.5.13-np7s1rcw.mjs +0 -1
- package/dist/chunks/index-0.5.13-qkvpat3t.mjs +0 -9
- package/dist/chunks/index-0.5.13-qq60ettc.mjs +0 -1
- package/dist/chunks/index-0.5.13-rty9gaxf.mjs +0 -2
- package/dist/chunks/index-0.5.13-yqdcztr9.mjs +0 -1
- package/dist/chunks/index-0.5.13-zhze2z09.mjs +0 -1
- package/dist/chunks/init-0.5.13-yn5gjx3n.mjs +0 -1
- package/dist/chunks/initReplBridge-0.5.13-3q7t27y6.mjs +0 -1
- package/dist/chunks/ink-0.5.13-hp9a2nw1.mjs +0 -1
- package/dist/chunks/insights-0.5.13-k7b8vcre.mjs +0 -870
- package/dist/chunks/install-0.5.13-bfn6wvkn.mjs +0 -1
- package/dist/chunks/install-github-app-0.5.13-jgte5vf5.mjs +0 -149
- package/dist/chunks/install-slack-app-0.5.13-6jhm4499.mjs +0 -1
- package/dist/chunks/instrumentation-0.5.13-qe85v218.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.5.13-pzrtv38g.mjs +0 -1
- package/dist/chunks/keybindings-0.5.13-nekhy7ew.mjs +0 -2
- package/dist/chunks/knowledge-0.5.13-gzztvqej.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.5.13-68b2ccpy.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.5.13-0dsj5wv6.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.13-0z0wcvtq.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.13-fzcfd312.mjs +0 -1
- package/dist/chunks/log-0.5.13-gdx6qzh8.mjs +0 -1
- package/dist/chunks/main-0.5.13-n87gjwzq.mjs +0 -1
- package/dist/chunks/managedEnv-0.5.13-53yr3zwe.mjs +0 -1
- package/dist/chunks/mcp-0.5.13-nmspb2zq.mjs +0 -4
- package/dist/chunks/mcp-0.5.13-rw2g8qaa.mjs +0 -17
- package/dist/chunks/mcp-0.5.13-th2ze7ya.mjs +0 -1
- package/dist/chunks/mcpb-0.5.13-m2r7m7gz.mjs +0 -1
- package/dist/chunks/memory-0.5.13-exfd915f.mjs +0 -3
- package/dist/chunks/mobile-0.5.13-chn8dbj3.mjs +0 -2
- package/dist/chunks/model-0.5.13-02rcx381.mjs +0 -1
- package/dist/chunks/model-0.5.13-nn224m13.mjs +0 -2
- package/dist/chunks/node-0.5.13-qaeqsj1w.mjs +0 -12
- package/dist/chunks/oauth-0.5.13-9kyat49f.mjs +0 -1
- package/dist/chunks/openaiShim-0.5.13-h22myqt0.mjs +0 -14
- package/dist/chunks/output-style-0.5.13-6fyp1e9p.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.5.13-qhrrn6zr.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.5.13-1qc35s39.mjs +0 -1
- package/dist/chunks/parser-0.5.13-pat6pqc3.mjs +0 -1
- package/dist/chunks/passes-0.5.13-e04rjkwz.mjs +0 -1
- package/dist/chunks/permissions-0.5.13-hayn4a0z.mjs +0 -3
- package/dist/chunks/plan-0.5.13-837bdxnq.mjs +0 -1
- package/dist/chunks/plist-0.5.13-wbmvsbtw.mjs +0 -1
- package/dist/chunks/plugin-0.5.13-wfbqn2r6.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.5.13-6kztma6y.mjs +0 -1
- package/dist/chunks/plugins-0.5.13-661zwqh0.mjs +0 -9
- package/dist/chunks/preActionHook-0.5.13-jnvd55h3.mjs +0 -2
- package/dist/chunks/print-0.5.13-tp9qh9m9.mjs +0 -57
- package/dist/chunks/privacy-settings-0.5.13-kd3r9h57.mjs +0 -1
- package/dist/chunks/process-0.5.13-kkfgtfp6.mjs +0 -1
- package/dist/chunks/processBashCommand-0.5.13-9yggekvh.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.5.13-q15qa3ee.mjs +0 -9
- package/dist/chunks/prompt-0.5.13-h2tvhh01.mjs +0 -1
- package/dist/chunks/prompt-0.5.13-x601wxwy.mjs +0 -1
- package/dist/chunks/prompts-0.5.13-76a9ns5g.mjs +0 -1
- package/dist/chunks/protocolHandler-0.5.13-kvfdrr12.mjs +0 -13
- package/dist/chunks/provider-0.5.13-tgwe2fwj.mjs +0 -2
- package/dist/chunks/providerProfiles-0.5.13-hyx6zffe.mjs +0 -1
- package/dist/chunks/providerValidation-0.5.13-8z62br8d.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.5.13-wz5ew5he.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.5.13-xgwprw2n.mjs +0 -34
- package/dist/chunks/registry-0.5.13-cx3vtv28.mjs +0 -1
- package/dist/chunks/release-notes-0.5.13-pcbc1edt.mjs +0 -5
- package/dist/chunks/reload-plugins-0.5.13-pvwtgp6y.mjs +0 -2
- package/dist/chunks/remote-env-0.5.13-mj63srey.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.5.13-vmb8vyd9.mjs +0 -1
- package/dist/chunks/remoteSession-0.5.13-ext2r1fs.mjs +0 -1
- package/dist/chunks/rename-0.5.13-c388bb34.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.5.13-d9e8m6a4.mjs +0 -1
- package/dist/chunks/replLauncher-0.5.13-q4xjb3n7.mjs +0 -1
- package/dist/chunks/resume-0.5.13-zwms595g.mjs +0 -2
- package/dist/chunks/rewind-0.5.13-nf9en5kj.mjs +0 -1
- package/dist/chunks/rootOptions-0.5.13-ys6f60ez.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.5.13-0kn0krrs.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.5.13-mbhkfqtx.mjs +0 -1
- package/dist/chunks/session-0.5.13-ef059m1s.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.5.13-rqf5h984.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.5.13-skb8p6b9.mjs +0 -1
- package/dist/chunks/sessionStorage-0.5.13-hfsdsdg8.mjs +0 -1
- package/dist/chunks/settings-0.5.13-dvj3rntg.mjs +0 -1
- package/dist/chunks/setup-0.5.13-0qy4tjwk.mjs +0 -5
- package/dist/chunks/sinks-0.5.13-r38g34n1.mjs +0 -1
- package/dist/chunks/skills-0.5.13-zd2n7d2t.mjs +0 -1
- package/dist/chunks/startupProfiler-0.5.13-rvngf74z.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.5.13-kepbkbnb.mjs +0 -1
- package/dist/chunks/state-0.5.13-9j8t0pbx.mjs +0 -1
- package/dist/chunks/stats-0.5.13-6083a1n1.mjs +0 -6
- package/dist/chunks/status-0.5.13-043z2z1k.mjs +0 -1
- package/dist/chunks/stickers-0.5.13-haw56t8e.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.5.13-6fym13ah.mjs +0 -1
- package/dist/chunks/tasks-0.5.13-prxqgrk6.mjs +0 -1
- package/dist/chunks/teamHelpers-0.5.13-ea9wnqk5.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.5.13-fzz13a9m.mjs +0 -1
- package/dist/chunks/teleport-0.5.13-cwvgxg78.mjs +0 -1
- package/dist/chunks/terminalSetup-0.5.13-cswcvej0.mjs +0 -1
- package/dist/chunks/theme-0.5.13-yq4dm16b.mjs +0 -1
- package/dist/chunks/thinkback-0.5.13-gf1n5td1.mjs +0 -1
- package/dist/chunks/thinkback-play-0.5.13-fjwrqzd7.mjs +0 -1
- package/dist/chunks/toolPool-0.5.13-kt2xjpf7.mjs +0 -1
- package/dist/chunks/toolSearch-0.5.13-p0zpbh8d.mjs +0 -1
- package/dist/chunks/tools-0.5.13-jd6408d0.mjs +0 -1
- package/dist/chunks/trustedDevice-0.5.13-8vncqgx8.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.5.13-0pxd6ddw.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.5.13-5w0fawcq.mjs +0 -4
- package/dist/chunks/update-0.5.13-r5daertf.mjs +0 -86
- package/dist/chunks/upgrade-0.5.13-02ypar0z.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.5.13-qxsd8pz8.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.5.13-fvyp50k0.mjs +0 -1
- package/dist/chunks/usage-0.5.13-qzx2m9s9.mjs +0 -1
- package/dist/chunks/util-0.5.13-f4gpmja3.mjs +0 -1
- package/dist/chunks/utils-0.5.13-3qpq89q5.mjs +0 -1
- package/dist/chunks/vim-0.5.13-mg62q0nt.mjs +0 -1
- package/dist/chunks/watcher-0.5.13-q568pd2n.mjs +0 -1
- package/dist/chunks/wiki-0.5.13-yzex4wbz.mjs +0 -132
- package/dist/chunks/worktree-0.5.13-7q98jvfb.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.5.13-rhsc6esa.mjs +0 -1
- package/dist/chunks/wrapper-0.5.13-7xwpyrgq.mjs +0 -7
- /package/dist/chunks/{cli-0.5.13-epw9z05w.mjs → cli-0.6.0-hcx40dgf.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.13-07hv5jdz.mjs → cli-0.6.0-ktf52b8k.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.13-c4q1pthh.mjs → cli-0.6.0-td7dsace.mjs} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{fh as a6,gh as m8}from"./cli-0.6.0-7qw68ehh.mjs";import{OZ as n6,PZ as y8}from"./cli-0.6.0-hwes2c0w.mjs";import{Joa as Q$,Koa as M6,Loa as W8,Moa as N1,Noa as Z8}from"./cli-0.6.0-t2arqp0e.mjs";import"./cli-0.6.0-jb17xpd5.mjs";import{bpa as p4,dpa as Q4,epa as V$,fpa as I,gpa as m0}from"./cli-0.6.0-szxjcmcn.mjs";function i0($,Y){return function(){return $.apply(Y,arguments)}}var g4=()=>{};function n0($){return $!==null&&!x0($)&&$.constructor!==null&&!x0($.constructor)&&t($.constructor.isBuffer)&&$.constructor.isBuffer($)}function X2($){let Y;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)Y=ArrayBuffer.isView($);else Y=$&&$.buffer&&p1($.buffer);return Y}function U2(){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 t0($,Y,{allOwnKeys:G=!1}={}){if($===null||typeof $>"u")return;let Q,X;if(typeof $!=="object")$=[$];if(v0($))for(Q=0,X=$.length;Q<X;Q++)Y.call(null,$[Q],Q,$);else{if(n0($))return;let W=G?Object.getOwnPropertyNames($):Object.keys($),Z=W.length,J;for(Q=0;Q<Z;Q++)J=W[Q],Y.call(null,$[J],J,$)}}function n1($,Y){if(n0($))return null;Y=Y.toLowerCase();let G=Object.keys($),Q=G.length,X;while(Q-- >0)if(X=G[Q],Y===X.toLowerCase())return X;return null}function u4(...$){let{caseless:Y,skipUndefined:G}=a1(this)&&this||{},Q={},X=(W,Z)=>{if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return;let J=Y&&n1(Q,Z)||Z,M=c4(Q,J)?Q[J]:void 0;if(P4(M)&&P4(W))Q[J]=u4(M,W);else if(P4(W))Q[J]=u4({},W);else if(v0(W))Q[J]=W.slice();else if(!G||!x0(W))Q[J]=W};for(let W=0,Z=$.length;W<Z;W++)$[W]&&t0($[W],X);return Q}function h2($){return!!($&&t($.append)&&$[d1]==="FormData"&&$[H4])}var Q2,O4,H4,d1,F4,X0=($)=>{return $=$.toLowerCase(),(Y)=>F4(Y)===$},C4=($)=>(Y)=>typeof Y===$,v0,x0,p1,W2,t,i1,a0=($)=>$!==null&&typeof $==="object",Z2=($)=>$===!0||$===!1,P4=($)=>{if(F4($)!=="object")return!1;let Y=O4($);return(Y===null||Y===Object.prototype||Object.getPrototypeOf(Y)===null)&&!(d1 in $)&&!(H4 in $)},J2=($)=>{if(!a0($)||n0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(Y){return!1}},N2,M2,K2=($)=>{return!!($&&typeof $.uri<"u")},V2=($)=>$&&typeof $.getParts<"u",B2,z2,L2=($)=>a0($)&&t($.pipe),c1,l1,_2=($)=>{if(!$)return!1;if(l1&&$ instanceof l1)return!0;let Y=O4($);if(!Y||Y===Object.prototype)return!1;if(!t($.append))return!1;let G=F4($);return G==="formdata"||G==="object"&&t($.toString)&&$.toString()==="[object FormData]"},P2,O2,H2,F2,C2,T2=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},I0,a1=($)=>!x0($)&&$!==I0,I2=($,Y,G,{allOwnKeys:Q}={})=>{return t0(Y,(X,W)=>{if(G&&t(X))Object.defineProperty($,W,{__proto__:null,value:i0(X,G),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,W,{__proto__:null,value:X,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:Q}),$},R2=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},D2=($,Y,G,Q)=>{$.prototype=Object.create(Y.prototype,Q),Object.defineProperty($.prototype,"constructor",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{__proto__:null,value:Y.prototype}),G&&Object.assign($.prototype,G)},S2=($,Y,G,Q)=>{let X,W,Z,J={};if(Y=Y||{},$==null)return Y;do{X=Object.getOwnPropertyNames($),W=X.length;while(W-- >0)if(Z=X[W],(!Q||Q(Z,$,Y))&&!J[Z])Y[Z]=$[Z],J[Z]=!0;$=G!==!1&&O4($)}while($&&(!G||G($,Y))&&$!==Object.prototype);return Y},w2=($,Y,G)=>{if($=String($),G===void 0||G>$.length)G=$.length;G-=Y.length;let Q=$.indexOf(Y,G);return Q!==-1&&Q===G},E2=($)=>{if(!$)return null;if(v0($))return $;let Y=$.length;if(!i1(Y))return null;let G=Array(Y);while(Y-- >0)G[Y]=$[Y];return G},q2,A2=($,Y)=>{let Q=($&&$[H4]).call($),X;while((X=Q.next())&&!X.done){let W=X.value;Y.call($,W[0],W[1])}},k2=($,Y)=>{let G,Q=[];while((G=$.exec(Y))!==null)Q.push(G);return Q},j2,x2=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(G,Q,X){return Q.toUpperCase()+X})},c4,v2,t1=($,Y)=>{let G=Object.getOwnPropertyDescriptors($),Q={};t0(G,(X,W)=>{let Z;if((Z=Y(X,W,$))!==!1)Q[W]=Z||X}),Object.defineProperties($,Q)},b2=($)=>{t1($,(Y,G)=>{if(t($)&&["arguments","caller","callee"].includes(G))return!1;let Q=$[G];if(!t(Q))return;if(Y.enumerable=!1,"writable"in Y){Y.writable=!1;return}if(!Y.set)Y.set=()=>{throw Error("Can not rewrite read-only method '"+G+"'")}})},f2=($,Y)=>{let G={},Q=(X)=>{X.forEach((W)=>{G[W]=!0})};return v0($)?Q($):Q(String($).split(Y)),G},y2=()=>{},m2=($,Y)=>{return $!=null&&Number.isFinite($=+$)?$:Y},g2=($)=>{let Y=new WeakSet,G=(Q)=>{if(a0(Q)){if(Y.has(Q))return;if(n0(Q))return Q;if(!("toJSON"in Q)){Y.add(Q);let X=v0(Q)?[]:{};return t0(Q,(W,Z)=>{let J=G(W);!x0(J)&&(X[Z]=J)}),Y.delete(Q),X}}return Q};return G($)},u2,c2=($)=>$&&(a0($)||t($))&&t($.then)&&t($.catch),s1,l2,d2=($)=>$!=null&&t($[H4]),N;var j=I(()=>{g4();({toString:Q2}=Object.prototype),{getPrototypeOf:O4}=Object,{iterator:H4,toStringTag:d1}=Symbol,F4=(($)=>(Y)=>{let G=Q2.call(Y);return $[G]||($[G]=G.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:v0}=Array,x0=C4("undefined");p1=X0("ArrayBuffer");W2=C4("string"),t=C4("function"),i1=C4("number"),N2=X0("Date"),M2=X0("File"),B2=X0("Blob"),z2=X0("FileList");c1=U2(),l1=typeof c1.FormData<"u"?c1.FormData:void 0,P2=X0("URLSearchParams"),[O2,H2,F2,C2]=["ReadableStream","Request","Response","Headers"].map(X0);I0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();q2=(($)=>{return(Y)=>{return $&&Y instanceof $}})(typeof Uint8Array<"u"&&O4(Uint8Array)),j2=X0("HTMLFormElement"),c4=(({hasOwnProperty:$})=>(Y,G)=>$.call(Y,G))(Object.prototype),v2=X0("RegExp");u2=X0("AsyncFunction"),s1=(($,Y)=>{if($)return setImmediate;return Y?((G,Q)=>{return I0.addEventListener("message",({source:X,data:W})=>{if(X===I0&&W===G)Q.length&&Q.shift()()},!1),(X)=>{Q.push(X),I0.postMessage(G,"*")}})(`axios@${Math.random()}`,[]):(G)=>setTimeout(G)})(typeof setImmediate==="function",t(I0.postMessage)),l2=typeof queueMicrotask<"u"?queueMicrotask.bind(I0):typeof process<"u"&&process.nextTick||s1,N={isArray:v0,isArrayBuffer:p1,isBuffer:n0,isFormData:_2,isArrayBufferView:X2,isString:W2,isNumber:i1,isBoolean:Z2,isObject:a0,isPlainObject:P4,isEmptyObject:J2,isReadableStream:O2,isRequest:H2,isResponse:F2,isHeaders:C2,isUndefined:x0,isDate:N2,isFile:M2,isReactNativeBlob:K2,isReactNative:V2,isBlob:B2,isRegExp:v2,isFunction:t,isStream:L2,isURLSearchParams:P2,isTypedArray:q2,isFileList:z2,forEach:t0,merge:u4,extend:I2,trim:T2,stripBOM:R2,inherits:D2,toFlatObject:S2,kindOf:F4,kindOfTest:X0,endsWith:w2,toArray:E2,forEachEntry:A2,matchAll:k2,isHTMLForm:j2,hasOwnProperty:c4,hasOwnProp:c4,reduceDescriptors:t1,freezeMethods:b2,toObjectSet:f2,toCamelCase:x2,noop:y2,toFiniteNumber:m2,findKey:n1,global:I0,isContextDefined:a1,isSpecCompliantForm:h2,toJSONObject:g2,isAsyncFn:u2,isThenable:c2,setImmediate:s1,asap:l2,isIterable:d2}});var p2,o1=($)=>{let Y={},G,Q,X;return $&&$.split(`
|
|
2
|
+
`).forEach(function(Z){if(X=Z.indexOf(":"),G=Z.substring(0,X).trim().toLowerCase(),Q=Z.substring(X+1).trim(),!G||Y[G]&&p2[G])return;if(G==="set-cookie")if(Y[G])Y[G].push(Q);else Y[G]=[Q];else Y[G]=Y[G]?Y[G]+", "+Q:Q}),Y};var r1=I(()=>{j();p2=N.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 i2($){let Y=0,G=$.length;while(Y<G){let Q=$.charCodeAt(Y);if(Q!==9&&Q!==32)break;Y+=1}while(G>Y){let Q=$.charCodeAt(G-1);if(Q!==9&&Q!==32)break;G-=1}return Y===0&&G===$.length?$:$.slice(Y,G)}function l4($,Y){if(N.isArray($))return $.map((G)=>l4(G,Y));return i2(String($).replace(Y,""))}function b0($){let Y=Object.create(null);return N.forEach($.toJSON(),(G,Q)=>{Y[Q]=t2(G)}),Y}var n2,a2,e1=($)=>l4($,n2),t2=($)=>l4($,a2);var s0=I(()=>{j();n2=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),a2=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g")});function o0($){return $&&String($).trim().toLowerCase()}function T4($){if($===!1||$==null)return $;return N.isArray($)?$.map(T4):e1(String($))}function s2($){let Y=Object.create(null),G=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,Q;while(Q=G.exec($))Y[Q[1]]=Q[2];return Y}function d4($,Y,G,Q,X){if(N.isFunction(Q))return Q.call(this,Y,G);if(X)Y=G;if(!N.isString(Y))return;if(N.isString(Q))return Y.indexOf(Q)!==-1;if(N.isRegExp(Q))return Q.test(Y)}function r2($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Y,G,Q)=>{return G.toUpperCase()+Q})}function e2($,Y){let G=N.toCamelCase(" "+Y);["get","set","has"].forEach((Q)=>{Object.defineProperty($,Q+G,{__proto__:null,value:function(X,W,Z){return this[Q].call(this,Y,X,W,Z)},configurable:!0})})}var $5,o2=($)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim()),r0,v;var W0=I(()=>{j();r1();s0();$5=Symbol("internals");r0=class r0{constructor($){$&&this.set($)}set($,Y,G){let Q=this;function X(Z,J,M){let K=o0(J);if(!K)throw Error("header name must be a non-empty string");let V=N.findKey(Q,K);if(!V||Q[V]===void 0||M===!0||M===void 0&&Q[V]!==!1)Q[V||J]=T4(Z)}let W=(Z,J)=>N.forEach(Z,(M,K)=>X(M,K,J));if(N.isPlainObject($)||$ instanceof this.constructor)W($,Y);else if(N.isString($)&&($=$.trim())&&!o2($))W(o1($),Y);else if(N.isObject($)&&N.isIterable($)){let Z={},J,M;for(let K of $){if(!N.isArray(K))throw TypeError("Object iterator must return a key-value pair");Z[M=K[0]]=(J=Z[M])?N.isArray(J)?[...J,K[1]]:[J,K[1]]:K[1]}W(Z,Y)}else $!=null&&X(Y,$,G);return this}get($,Y){if($=o0($),$){let G=N.findKey(this,$);if(G){let Q=this[G];if(!Y)return Q;if(Y===!0)return s2(Q);if(N.isFunction(Y))return Y.call(this,Q,G);if(N.isRegExp(Y))return Y.exec(Q);throw TypeError("parser must be boolean|regexp|function")}}}has($,Y){if($=o0($),$){let G=N.findKey(this,$);return!!(G&&this[G]!==void 0&&(!Y||d4(this,this[G],G,Y)))}return!1}delete($,Y){let G=this,Q=!1;function X(W){if(W=o0(W),W){let Z=N.findKey(G,W);if(Z&&(!Y||d4(G,G[Z],Z,Y)))delete G[Z],Q=!0}}if(N.isArray($))$.forEach(X);else X($);return Q}clear($){let Y=Object.keys(this),G=Y.length,Q=!1;while(G--){let X=Y[G];if(!$||d4(this,this[X],X,$,!0))delete this[X],Q=!0}return Q}normalize($){let Y=this,G={};return N.forEach(this,(Q,X)=>{let W=N.findKey(G,X);if(W){Y[W]=T4(Q),delete Y[X];return}let Z=$?r2(X):String(X).trim();if(Z!==X)delete Y[X];Y[Z]=T4(Q),G[Z]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){let Y=Object.create(null);return N.forEach(this,(G,Q)=>{G!=null&&G!==!1&&(Y[Q]=$&&N.isArray(G)?G.join(", "):G)}),Y}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$,Y])=>$+": "+Y).join(`
|
|
3
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($){return $ instanceof this?$:new this($)}static concat($,...Y){let G=new this($);return Y.forEach((Q)=>G.set(Q)),G}static accessor($){let G=(this[$5]=this[$5]={accessors:{}}).accessors,Q=this.prototype;function X(W){let Z=o0(W);if(!G[Z])e2(Q,W),G[Z]=!0}return N.isArray($)?$.forEach(X):X($),this}};r0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors(r0.prototype,({value:$},Y)=>{let G=Y[0].toUpperCase()+Y.slice(1);return{get:()=>$,set(Q){this[G]=Q}}});N.freezeMethods(r0);v=r0});function Y$($){if(N.hasOwnProp($,"toJSON"))return!0;let Y=Object.getPrototypeOf($);while(Y&&Y!==Object.prototype){if(N.hasOwnProp(Y,"toJSON"))return!0;Y=Object.getPrototypeOf(Y)}return!1}function G$($,Y){let G=new Set(Y.map((W)=>String(W).toLowerCase())),Q=[],X=(W)=>{if(W===null||typeof W!=="object")return W;if(N.isBuffer(W))return W;if(Q.indexOf(W)!==-1)return;if(W instanceof v)W=W.toJSON();Q.push(W);let Z;if(N.isArray(W))Z=[],W.forEach((J,M)=>{let K=X(J);if(!N.isUndefined(K))Z[M]=K});else{if(!N.isPlainObject(W)&&Y$(W))return Q.pop(),W;Z=Object.create(null);for(let[J,M]of Object.entries(W)){let K=G.has(J.toLowerCase())?$$:X(M);if(!N.isUndefined(K))Z[J]=K}}return Q.pop(),Z};return X($)}var $$="[REDACTED ****]",d,L;var r=I(()=>{j();W0();d=class d extends Error{static from($,Y,G,Q,X,W){let Z=new d($.message,Y||$.code,G,Q,X);if(Z.cause=$,Z.name=$.name,$.status!=null&&Z.status==null)Z.status=$.status;return W&&Object.assign(Z,W),Z}constructor($,Y,G,Q,X){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),G&&(this.config=G),Q&&(this.request=Q),X)this.response=X,this.status=X.status}toJSON(){let $=this.config,Y=$&&N.hasOwnProp($,"redact")?$.redact:void 0,G=N.isArray(Y)&&Y.length>0?G$($,Y):N.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:G,code:this.code,status:this.status}}};d.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";d.ERR_BAD_OPTION="ERR_BAD_OPTION";d.ECONNABORTED="ECONNABORTED";d.ETIMEDOUT="ETIMEDOUT";d.ECONNREFUSED="ECONNREFUSED";d.ERR_NETWORK="ERR_NETWORK";d.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";d.ERR_DEPRECATED="ERR_DEPRECATED";d.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";d.ERR_BAD_REQUEST="ERR_BAD_REQUEST";d.ERR_CANCELED="ERR_CANCELED";d.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";d.ERR_INVALID_URL="ERR_INVALID_URL";d.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";L=d});var Y5,I4;var i4=I(()=>{Y5=p4(Q$(),1),I4=Y5.default});function a4($){return N.isPlainObject($)||N.isArray($)}function G5($){return N.endsWith($,"[]")?$.slice(0,-2):$}function n4($,Y,G){if(!$)return Y;return $.concat(Y).map(function(X,W){return X=G5(X),!G&&W?"["+X+"]":X}).join(G?".":"")}function X$($){return N.isArray($)&&!$.some(a4)}function Z$($,Y,G){if(!N.isObject($))throw TypeError("target must be an object");Y=Y||new(I4||FormData),G=N.toFlatObject(G,{metaTokens:!0,dots:!1,indexes:!1},!1,function(O,_){return!N.isUndefined(_[O])});let Q=G.metaTokens,X=G.visitor||B,W=G.dots,Z=G.indexes,J=G.Blob||typeof Blob<"u"&&Blob,M=G.maxDepth===void 0?100:G.maxDepth,K=J&&N.isSpecCompliantForm(Y);if(!N.isFunction(X))throw TypeError("visitor must be a function");function V(H){if(H===null)return"";if(N.isDate(H))return H.toISOString();if(N.isBoolean(H))return H.toString();if(!K&&N.isBlob(H))throw new L("Blob is not supported. Use a Buffer instead.");if(N.isArrayBuffer(H)||N.isTypedArray(H))return K&&typeof Blob==="function"?new Blob([H]):Buffer.from(H);return H}function B(H,O,_){let R=H;if(N.isReactNative(Y)&&N.isReactNativeBlob(H))return Y.append(n4(_,O,W),V(H)),!1;if(H&&!_&&typeof H==="object"){if(N.endsWith(O,"{}"))O=Q?O:O.slice(0,-2),H=JSON.stringify(H);else if(N.isArray(H)&&X$(H)||(N.isFileList(H)||N.endsWith(O,"[]"))&&(R=N.toArray(H)))return O=G5(O),R.forEach(function(w,b){!(N.isUndefined(w)||w===null)&&Y.append(Z===!0?n4([O],b,W):Z===null?O:O+"[]",V(w))}),!1}if(a4(H))return!0;return Y.append(n4(_,O,W),V(H)),!1}let z=[],U=Object.assign(W$,{defaultVisitor:B,convertValue:V,isVisitable:a4});function F(H,O,_=0){if(N.isUndefined(H))return;if(_>M)throw new L("Object is too deeply nested ("+_+" levels). Max depth: "+M,L.ERR_FORM_DATA_DEPTH_EXCEEDED);if(z.indexOf(H)!==-1)throw Error("Circular reference detected in "+O.join("."));z.push(H),N.forEach(H,function(S,w){if((!(N.isUndefined(S)||S===null)&&X.call(Y,S,N.isString(w)?w.trim():w,O,U))===!0)F(S,O?O.concat(w):[w],_+1)}),z.pop()}if(!N.isObject($))throw TypeError("data must be an object");return F($),Y}var W$,_0;var e0=I(()=>{j();r();i4();W$=N.toFlatObject(N,{},null,function(Y){return/^is[A-Z]/.test(Y)});_0=Z$});function Q5($){let Y={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent($).replace(/[!'()~]|%20/g,function(Q){return Y[Q]})}function X5($,Y){this._pairs=[],$&&_0($,this,Y)}var W5,Z5;var J5=I(()=>{e0();W5=X5.prototype;W5.append=function(Y,G){this._pairs.push([Y,G])};W5.toString=function(Y){let G=Y?function(Q){return Y.call(this,Q,Q5)}:Q5;return this._pairs.map(function(X){return G(X[0])+"="+G(X[1])},"").join("&")};Z5=X5});function J$($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function R0($,Y,G){if(!Y)return $;let Q=G&&G.encode||J$,X=N.isFunction(G)?{serialize:G}:G,W=X&&X.serialize,Z;if(W)Z=W(Y,X);else Z=N.isURLSearchParams(Y)?Y.toString():new Z5(Y,X).toString(Q);if(Z){let J=$.indexOf("#");if(J!==-1)$=$.slice(0,J);$+=($.indexOf("?")===-1?"?":"&")+Z}return $}var R4=I(()=>{j();J5()});class N5{constructor(){this.handlers=[]}use($,Y,G){return this.handlers.push({fulfilled:$,rejected:Y,synchronous:G?G.synchronous:!1,runWhen:G?G.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){N.forEach(this.handlers,function(G){if(G!==null)$(G)})}}var t4;var M5=I(()=>{j();t4=N5});var P0;var $4=I(()=>{P0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0}});import N$ from"url";var K5;var V5=I(()=>{K5=N$.URLSearchParams});import M$ from"crypto";var s4="abcdefghijklmnopqrstuvwxyz",B5="0123456789",z5,K$=($=16,Y=z5.ALPHA_DIGIT)=>{let G="",{length:Q}=Y,X=new Uint32Array($);M$.randomFillSync(X);for(let W=0;W<$;W++)G+=Y[X[W]%Q];return G},L5;var U5=I(()=>{V5();i4();z5={DIGIT:B5,ALPHA:s4,ALPHA_DIGIT:s4+s4.toUpperCase()+B5},L5={isNode:!0,classes:{URLSearchParams:K5,FormData:I4,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:z5,generateString:K$,protocols:["http","https","file","data"]}});var e4={};V$(e4,{origin:()=>L$,navigator:()=>o4,hasStandardBrowserWebWorkerEnv:()=>z$,hasStandardBrowserEnv:()=>B$,hasBrowserEnv:()=>r4});var r4,o4,B$,z$,L$;var _5=I(()=>{r4=typeof window<"u"&&typeof document<"u",o4=typeof navigator==="object"&&navigator||void 0,B$=r4&&(!o4||["ReactNative","NativeScript","NS"].indexOf(o4.product)<0),z$=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),L$=r4&&window.location.href||"http://localhost"});var q;var Z0=I(()=>{U5();_5();q={...e4,...L5}});function $1($,Y){return _0($,new q.classes.URLSearchParams,{visitor:function(G,Q,X,W){if(q.isNode&&N.isBuffer(G))return this.append(Q,G.toString("base64")),!1;return W.defaultVisitor.apply(this,arguments)},...Y})}var P5=I(()=>{j();e0();Z0()});function U$($){return N.matchAll(/\w+|\[(\w*)]/g,$).map((Y)=>{return Y[0]==="[]"?"":Y[1]||Y[0]})}function _$($){let Y={},G=Object.keys($),Q,X=G.length,W;for(Q=0;Q<X;Q++)W=G[Q],Y[W]=$[W];return Y}function P$($){function Y(G,Q,X,W){let Z=G[W++];if(Z==="__proto__")return!0;let J=Number.isFinite(+Z),M=W>=G.length;if(Z=!Z&&N.isArray(X)?X.length:Z,M){if(N.hasOwnProp(X,Z))X[Z]=N.isArray(X[Z])?X[Z].concat(Q):[X[Z],Q];else X[Z]=Q;return!J}if(!N.hasOwnProp(X,Z)||!N.isObject(X[Z]))X[Z]=[];if(Y(G,Q,X[Z],W)&&N.isArray(X[Z]))X[Z]=_$(X[Z]);return!J}if(N.isFormData($)&&N.isFunction($.entries)){let G={};return N.forEachEntry($,(Q,X)=>{Y(U$(Q),X,G,0)}),G}return null}var D4;var Y1=I(()=>{j();D4=P$});function O$($,Y,G){if(N.isString($))try{return(Y||JSON.parse)($),N.trim($)}catch(Q){if(Q.name!=="SyntaxError")throw Q}return(G||JSON.stringify)($)}var f0=($,Y)=>$!=null&&N.hasOwnProp($,Y)?$[Y]:void 0,G1,y0;var S4=I(()=>{j();r();$4();e0();P5();Z0();Y1();G1={transitional:P0,adapter:["xhr","http","fetch"],transformRequest:[function(Y,G){let Q=G.getContentType()||"",X=Q.indexOf("application/json")>-1,W=N.isObject(Y);if(W&&N.isHTMLForm(Y))Y=new FormData(Y);if(N.isFormData(Y))return X?JSON.stringify(D4(Y)):Y;if(N.isArrayBuffer(Y)||N.isBuffer(Y)||N.isStream(Y)||N.isFile(Y)||N.isBlob(Y)||N.isReadableStream(Y))return Y;if(N.isArrayBufferView(Y))return Y.buffer;if(N.isURLSearchParams(Y))return G.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Y.toString();let J;if(W){let M=f0(this,"formSerializer");if(Q.indexOf("application/x-www-form-urlencoded")>-1)return $1(Y,M).toString();if((J=N.isFileList(Y))||Q.indexOf("multipart/form-data")>-1){let K=f0(this,"env"),V=K&&K.FormData;return _0(J?{"files[]":Y}:Y,V&&new V,M)}}if(W||X)return G.setContentType("application/json",!1),O$(Y);return Y}],transformResponse:[function(Y){let G=f0(this,"transitional")||G1.transitional,Q=G&&G.forcedJSONParsing,X=f0(this,"responseType"),W=X==="json";if(N.isResponse(Y)||N.isReadableStream(Y))return Y;if(Y&&N.isString(Y)&&(Q&&!X||W)){let J=!(G&&G.silentJSONParsing)&&W;try{return JSON.parse(Y,f0(this,"parseReviver"))}catch(M){if(J){if(M.name==="SyntaxError")throw L.from(M,L.ERR_BAD_RESPONSE,this,null,f0(this,"response"));throw M}}}return Y}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:q.classes.FormData,Blob:q.classes.Blob},validateStatus:function(Y){return Y>=200&&Y<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch","query"],($)=>{G1.headers[$]={}});y0=G1});function Y4($,Y){let G=this||y0,Q=Y||G,X=v.from(Q.headers),W=Q.data;return N.forEach($,function(J){W=J.call(G,W,X.normalize(),Y?Y.status:void 0)}),X.normalize(),W}var O5=I(()=>{j();S4();W0()});function G4($){return!!($&&$.__CANCEL__)}var Q1=()=>{};var H5,e;var D0=I(()=>{r();H5=class H5 extends L{constructor($,Y,G){super($==null?"canceled":$,L.ERR_CANCELED,Y,G);this.name="CanceledError",this.__CANCEL__=!0}};e=H5});function V0($,Y,G){let Q=G.config.validateStatus;if(!G.status||!Q||Q(G.status))$(G);else Y(new L("Request failed with status code "+G.status,G.status>=400&&G.status<500?L.ERR_BAD_REQUEST:L.ERR_BAD_RESPONSE,G.config,G.request,G))}var w4=I(()=>{r()});function X1($){if(typeof $!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}var F5=()=>{};function W1($,Y){return Y?$.replace(/\/?\/$/,"")+"/"+Y.replace(/^\/+/,""):$}var C5=()=>{};function S0($,Y,G){let Q=!X1(Y);if($&&(Q||G===!1))return W1($,Y);return Y}var E4=I(()=>{F5();C5()});var I5=Q4((T5)=>{Object.defineProperty(T5,"__esModule",{value:!0});function H$($){return function(Y,G){return new Promise((Q,X)=>{$.call(this,Y,G,(W,Z)=>{if(W)X(W);else Q(Z)})})}}T5.default=H$});var S5=Q4((J1,D5)=>{var R5=J1&&J1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},C$=m0("events"),T$=R5(N1()),I$=R5(I5()),X4=T$.default("agent-base");function R$($){return Boolean($)&&typeof $.addRequest==="function"}function Z1(){let{stack:$}=Error();if(typeof $!=="string")return!1;return $.split(`
|
|
4
|
+
`).some((Y)=>Y.indexOf("(https.js:")!==-1||Y.indexOf("node:https:")!==-1)}function q4($,Y){return new q4.Agent($,Y)}(function($){class Y extends C$.EventEmitter{constructor(G,Q){super();let X=Q;if(typeof G==="function")this.callback=G;else if(G)X=G;if(this.timeout=null,X&&typeof X.timeout==="number")this.timeout=X.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 Z1()?443:80}set defaultPort(G){this.explicitDefaultPort=G}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return Z1()?"https:":"http:"}set protocol(G){this.explicitProtocol=G}callback(G,Q,X){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(G,Q){let X=Object.assign({},Q);if(typeof X.secureEndpoint!=="boolean")X.secureEndpoint=Z1();if(X.host==null)X.host="localhost";if(X.port==null)X.port=X.secureEndpoint?443:80;if(X.protocol==null)X.protocol=X.secureEndpoint?"https:":"http:";if(X.host&&X.path)delete X.path;delete X.agent,delete X.hostname,delete X._defaultAgent,delete X.defaultPort,delete X.createConnection,G._last=!0,G.shouldKeepAlive=!1;let W=!1,Z=null,J=X.timeout||this.timeout,M=(z)=>{if(G._hadError)return;G.emit("error",z),G._hadError=!0},K=()=>{Z=null,W=!0;let z=Error(`A "socket" was not created for HTTP request before ${J}ms`);z.code="ETIMEOUT",M(z)},V=(z)=>{if(W)return;if(Z!==null)clearTimeout(Z),Z=null;M(z)},B=(z)=>{if(W)return;if(Z!=null)clearTimeout(Z),Z=null;if(R$(z)){X4("Callback returned another Agent instance %o",z.constructor.name),z.addRequest(G,X);return}if(z){z.once("free",()=>{this.freeSocket(z,X)}),G.onSocket(z);return}let U=Error(`no Duplex stream was returned to agent-base for \`${G.method} ${G.path}\``);M(U)};if(typeof this.callback!=="function"){M(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)X4("Converting legacy callback function to promise"),this.promisifiedCallback=I$.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof J==="number"&&J>0)Z=setTimeout(K,J);if("port"in X&&typeof X.port!=="number")X.port=Number(X.port);try{X4("Resolving socket for %o request: %o",X.protocol,`${G.method} ${G.path}`),Promise.resolve(this.promisifiedCallback(G,X)).then(B,V)}catch(z){Promise.reject(z).catch(V)}}freeSocket(G,Q){X4("Freeing socket %o %o",G.constructor.name,Q),G.destroy()}destroy(){X4("Destroying agent %o",this.constructor.name)}}$.Agent=Y,$.prototype=$.Agent.prototype})(q4||(q4={}));D5.exports=q4});var w5=Q4((Z4)=>{var D$=Z4&&Z4.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(Z4,"__esModule",{value:!0});var S$=D$(N1()),W4=S$.default("https-proxy-agent:parse-proxy-response");function w$($){return new Promise((Y,G)=>{let Q=0,X=[];function W(){let B=$.read();if(B)V(B);else $.once("readable",W)}function Z(){$.removeListener("end",M),$.removeListener("error",K),$.removeListener("close",J),$.removeListener("readable",W)}function J(B){W4("onclose had error %o",B)}function M(){W4("onend")}function K(B){Z(),W4("onerror %o",B),G(B)}function V(B){X.push(B),Q+=B.length;let z=Buffer.concat(X,Q);if(z.indexOf(`\r
|
|
5
|
+
\r
|
|
6
|
+
`)===-1){W4("have not received end of HTTP headers yet..."),W();return}let F=z.toString("ascii",0,z.indexOf(`\r
|
|
7
|
+
`)),H=+F.split(" ")[1];W4("got proxy server response: %o",F),Y({statusCode:H,buffered:z})}$.on("error",K),$.on("close",J),$.on("end",M),W()})}Z4.default=w$});var k5=Q4((w0)=>{var E$=w0&&w0.__awaiter||function($,Y,G,Q){function X(W){return W instanceof G?W:new G(function(Z){Z(W)})}return new(G||(G=Promise))(function(W,Z){function J(V){try{K(Q.next(V))}catch(B){Z(B)}}function M(V){try{K(Q.throw(V))}catch(B){Z(B)}}function K(V){V.done?W(V.value):X(V.value).then(J,M)}K((Q=Q.apply($,Y||[])).next())})},h0=w0&&w0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(w0,"__esModule",{value:!0});var E5=h0(m0("net")),q5=h0(m0("tls")),q$=h0(m0("url")),A$=h0(m0("assert")),k$=h0(N1()),j$=S5(),x$=h0(w5()),J4=k$.default("https-proxy-agent:agent");class A5 extends j$.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!");J4("creating new HttpsProxyAgent instance: %o",Y);super(Y);let G=Object.assign({},Y);if(this.secureProxy=Y.secureProxy||f$(G.protocol),G.host=G.hostname||G.host,typeof G.port==="string")G.port=parseInt(G.port,10);if(!G.port&&G.host)G.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in G))G.ALPNProtocols=["http 1.1"];if(G.host&&G.path)delete G.path,delete G.pathname;this.proxy=G}callback($,Y){return E$(this,void 0,void 0,function*(){let{proxy:G,secureProxy:Q}=this,X;if(Q)J4("Creating `tls.Socket`: %o",G),X=q5.default.connect(G);else J4("Creating `net.Socket`: %o",G),X=E5.default.connect(G);let W=Object.assign({},G.headers),J=`CONNECT ${`${Y.host}:${Y.port}`} HTTP/1.1\r
|
|
8
|
+
`;if(G.auth)W["Proxy-Authorization"]=`Basic ${Buffer.from(G.auth).toString("base64")}`;let{host:M,port:K,secureEndpoint:V}=Y;if(!b$(K,V))M+=`:${K}`;W.Host=M,W.Connection="close";for(let H of Object.keys(W))J+=`${H}: ${W[H]}\r
|
|
9
|
+
`;let B=x$.default(X);X.write(`${J}\r
|
|
10
|
+
`);let{statusCode:z,buffered:U}=yield B;if(z===200){if($.once("socket",v$),Y.secureEndpoint){J4("Upgrading socket connection to TLS");let H=Y.servername||Y.host;return q5.default.connect(Object.assign(Object.assign({},y$(Y,"host","hostname","path","port")),{socket:X,servername:H}))}return X}X.destroy();let F=new E5.default.Socket({writable:!1});return F.readable=!0,$.once("socket",(H)=>{J4("replaying proxy buffer for failed request"),A$.default(H.listenerCount("data")>0),H.push(U),H.push(null)}),F})}}w0.default=A5;function v$($){$.resume()}function b$($,Y){return Boolean(!Y&&$===80||Y&&$===443)}function f$($){return typeof $==="string"?/^https:?$/i.test($):!1}function y$($,...Y){let G={},Q;for(Q in $)if(!Y.includes(Q))G[Q]=$[Q];return G}});var x5=Q4((V1,j5)=>{var m$=V1&&V1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},M1=m$(k5());function K1($){return new M1.default($)}(function($){$.HttpsProxyAgent=M1.default,$.prototype=M1.default.prototype})(K1||(K1={}));j5.exports=K1});var B0="1.16.1";var N4=()=>{};function M4($){let Y=/^([-+\w]{1,25}):(?:\/\/)?/.exec($);return Y&&Y[1]||""}var B1=()=>{};function z1($,Y,G){let Q=G&&G.Blob||q.classes.Blob,X=M4($);if(Y===void 0&&Q)Y=!0;if(X==="data"){$=X.length?$.slice(X.length+1):$;let W=h$.exec($);if(!W)throw new L("Invalid URL",L.ERR_INVALID_URL);let Z=W[1],J=W[2],M=W[3]?"base64":"utf8",K=W[4],V;if(Z)V=J?Z+J:Z;else if(J)V="text/plain"+J;let B=Buffer.from(decodeURIComponent(K),M);if(Y){if(!Q)throw new L("Blob is not supported",L.ERR_NOT_SUPPORT);return new Q([B],{type:V})}return B}throw new L("Unsupported protocol "+X,L.ERR_NOT_SUPPORT)}var h$;var v5=I(()=>{r();B1();Z0();h$=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/});import g$ from"stream";var L1,b5,U1;var f5=I(()=>{j();L1=Symbol("internals");b5=class b5 extends g$.Transform{constructor($){$=N.toFlatObject($,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(G,Q)=>{return!N.isUndefined(Q[G])});super({readableHighWaterMark:$.chunkSize});let Y=this[L1]={timeWindow:$.timeWindow,chunkSize:$.chunkSize,maxRate:$.maxRate,minChunkSize:$.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(G)=>{if(G==="progress"){if(!Y.isCaptured)Y.isCaptured=!0}})}_read($){let Y=this[L1];if(Y.onReadCallback)Y.onReadCallback();return super._read($)}_transform($,Y,G){let Q=this[L1],X=Q.maxRate,W=this.readableHighWaterMark,Z=Q.timeWindow,J=1000/Z,M=X/J,K=Q.minChunkSize!==!1?Math.max(Q.minChunkSize,M*0.01):0,V=(z,U)=>{let F=Buffer.byteLength(z);if(Q.bytesSeen+=F,Q.bytes+=F,Q.isCaptured&&this.emit("progress",Q.bytesSeen),this.push(z))process.nextTick(U);else Q.onReadCallback=()=>{Q.onReadCallback=null,process.nextTick(U)}},B=(z,U)=>{let F=Buffer.byteLength(z),H=null,O=W,_,R=0;if(X){let S=Date.now();if(!Q.ts||(R=S-Q.ts)>=Z)Q.ts=S,_=M-Q.bytes,Q.bytes=_<0?-_:0,R=0;_=M-Q.bytes}if(X){if(_<=0)return setTimeout(()=>{U(null,z)},Z-R);if(_<O)O=_}if(O&&F>O&&F-O>K)H=z.subarray(O),z=z.subarray(0,O);V(z,H?()=>{process.nextTick(U,null,H)}:U)};B($,function z(U,F){if(U)return G(U);if(F)B(F,z);else G(null)})}};U1=b5});var y5,u$=async function*($){if($.stream)yield*$.stream();else if($.arrayBuffer)yield await $.arrayBuffer();else if($[y5])yield*$[y5]();else yield $},A4;var _1=I(()=>{({asyncIterator:y5}=Symbol),A4=u$});import c$ from"util";import{Readable as l$}from"stream";class m5{constructor($,Y){let{escapeName:G}=this.constructor,Q=N.isString(Y),X=`Content-Disposition: form-data; name="${G($)}"${!Q&&Y.name?`; filename="${G(Y.name)}"`:""}${E0}`;if(Q)Y=K4.encode(String(Y).replace(/\r?\n|\r\n?/g,E0));else{let W=String(Y.type||"application/octet-stream").replace(/[\r\n]/g,"");X+=`Content-Type: ${W}${E0}`}this.headers=K4.encode(X+E0),this.contentLength=Q?Y.byteLength:Y.size,this.size=this.headers.byteLength+this.contentLength+i$,this.name=$,this.value=Y}async*encode(){yield this.headers;let{value:$}=this;if(N.isTypedArray($))yield $;else yield*A4($);yield p$}static escapeName($){return String($).replace(/[\r\n"]/g,(Y)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[Y])}}var d$,K4,E0=`\r
|
|
11
|
+
`,p$,i$=2,n$=($,Y,G)=>{let{tag:Q="form-data-boundary",size:X=25,boundary:W=Q+"-"+q.generateString(X,d$)}=G||{};if(!N.isFormData($))throw TypeError("FormData instance required");if(W.length<1||W.length>70)throw Error("boundary must be 1-70 characters long");let Z=K4.encode("--"+W+E0),J=K4.encode("--"+W+"--"+E0),M=J.byteLength,K=Array.from($.entries()).map(([B,z])=>{let U=new m5(B,z);return M+=U.size,U});M+=Z.byteLength*K.length,M=N.toFiniteNumber(M);let V={"Content-Type":`multipart/form-data; boundary=${W}`};if(Number.isFinite(M))V["Content-Length"]=M;return Y&&Y(V),l$.from(async function*(){for(let B of K)yield Z,yield*B.encode();yield J}())},h5;var g5=I(()=>{j();_1();Z0();d$=q.ALPHABET.ALPHA_DIGIT+"-_",K4=typeof TextEncoder==="function"?new TextEncoder:new c$.TextEncoder,p$=K4.encode(E0);h5=n$});import a$ from"stream";var u5,c5;var l5=I(()=>{u5=class u5 extends a$.Transform{__transform($,Y,G){this.push($),G()}_transform($,Y,G){if($.length!==0){if(this._transform=this.__transform,$[0]!==120){let Q=Buffer.alloc(2);Q[0]=120,Q[1]=156,this.push(Q,Y)}}this.__transform($,Y,G)}};c5=u5});var t$=($,Y)=>{return N.isAsyncFn($)?function(...G){let Q=G.pop();$.apply(this,G).then((X)=>{try{Y?Q(null,...Y(X)):Q(null,X)}catch(W){Q(W)}},Q)}:$},d5;var p5=I(()=>{j();d5=t$});function P1($){let Y;try{Y=new URL($)}catch(W){return!1}let G=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!G)return!1;if(G==="*")return!0;let Q=Number.parseInt(Y.port,10)||r$[Y.protocol.split(":",1)[0]]||0,X=n5(Y.hostname.toLowerCase());return G.split(/[\s,]+/).some((W)=>{if(!W)return!1;let[Z,J]=e$(W);if(Z=n5(Z),!Z)return!1;if(J&&J!==Q)return!1;if(Z.charAt(0)==="*")Z=Z.slice(1);if(Z.charAt(0)===".")return X.endsWith(Z);return X===Z||i5(X)&&i5(Z)})}var s$,a5=($)=>{let Y=$.split(".");if(Y.length!==4)return!1;if(Y[0]!=="127")return!1;return Y.every((G)=>/^\d+$/.test(G)&&Number(G)>=0&&Number(G)<=255)},o$=($)=>{if($==="::1")return!0;let Y=$.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(Y)return a5(Y[1]);let G=$.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(G){let X=parseInt(G[1],16);return X>=32512&&X<=32767}let Q=$.split(":");if(Q.length===8){for(let X=0;X<7;X++)if(!/^0+$/.test(Q[X]))return!1;return/^0*1$/.test(Q[7])}return!1},i5=($)=>{if(!$)return!1;if(s$.has($))return!0;if(a5($))return!0;return o$($)},r$,e$=($)=>{let Y=$,G=0;if(Y.charAt(0)==="["){let W=Y.indexOf("]");if(W!==-1){let Z=Y.slice(1,W),J=Y.slice(W+1);if(J.charAt(0)===":"&&/^\d+$/.test(J.slice(1)))G=Number.parseInt(J.slice(1),10);return[Z,G]}}let Q=Y.indexOf(":"),X=Y.lastIndexOf(":");if(Q!==-1&&Q===X&&/^\d+$/.test(Y.slice(X+1)))G=Number.parseInt(Y.slice(X+1),10),Y=Y.slice(0,X);return[Y,G]},$8,Y8,G8=($)=>{if(typeof $!=="string"||$.indexOf(":")===-1)return $;let Y=$.match($8);if(Y)return Y[1];let G=$.match(Y8);if(G){let Q=parseInt(G[1],16),X=parseInt(G[2],16);return`${Q>>8}.${Q&255}.${X>>8}.${X&255}`}return $},n5=($)=>{if(!$)return $;if($.charAt(0)==="["&&$.charAt($.length-1)==="]")$=$.slice(1,-1);return G8($.replace(/\.+$/,""))};var t5=I(()=>{s$=new Set(["localhost"]),r$={http:80,https:443,ws:80,wss:443,ftp:21},$8=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,Y8=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i});function Q8($,Y){$=$||10;let G=Array($),Q=Array($),X=0,W=0,Z;return Y=Y!==void 0?Y:1000,function(M){let K=Date.now(),V=Q[W];if(!Z)Z=K;G[X]=M,Q[X]=K;let B=W,z=0;while(B!==X)z+=G[B++],B=B%$;if(X=(X+1)%$,X===W)W=(W+1)%$;if(K-Z<Y)return;let U=V&&K-V;return U?Math.round(z*1000/U):void 0}}var s5;var o5=I(()=>{s5=Q8});function X8($,Y){let G=0,Q=1000/Y,X,W,Z=(K,V=Date.now())=>{if(G=V,X=null,W)clearTimeout(W),W=null;$(...K)};return[(...K)=>{let V=Date.now(),B=V-G;if(B>=Q)Z(K,V);else if(X=K,!W)W=setTimeout(()=>{W=null,Z(X)},Q-B)},()=>X&&Z(X)]}var r5;var e5=I(()=>{r5=X8});var z0=($,Y,G=3)=>{let Q=0,X=s5(50,250);return r5((W)=>{if(!W||typeof W.loaded!=="number")return;let Z=W.loaded,J=W.lengthComputable?W.total:void 0,M=J!=null?Math.min(Z,J):Z,K=Math.max(0,M-Q),V=X(K);Q=Math.max(Q,M);let B={loaded:M,total:J,progress:J?M/J:void 0,bytes:K,rate:V?V:void 0,estimated:V&&J?(J-M)/V:void 0,event:W,lengthComputable:J!=null,[Y?"download":"upload"]:!0};$(B)},G)},g0=($,Y)=>{let G=$!=null;return[(Q)=>Y[0]({lengthComputable:G,total:$,loaded:Q}),Y[1]]},u0=($)=>(...Y)=>N.asap(()=>$(...Y));var k4=I(()=>{o5();e5();j()});function V4($){if(!$||typeof $!=="string")return 0;if(!$.startsWith("data:"))return 0;let Y=$.indexOf(",");if(Y<0)return 0;let G=$.slice(5,Y),Q=$.slice(Y+1);if(/;base64/i.test(G)){let{length:Z,length:J}=Q;for(let U=0;U<J;U++)if(Q.charCodeAt(U)===37&&U+2<J){let F=Q.charCodeAt(U+1),H=Q.charCodeAt(U+2);if((F>=48&&F<=57||F>=65&&F<=70||F>=97&&F<=102)&&(H>=48&&H<=57||H>=65&&H<=70||H>=97&&H<=102))Z-=2,U+=2}let M=0,K=J-1,V=(U)=>U>=2&&Q.charCodeAt(U-2)===37&&Q.charCodeAt(U-1)===51&&(Q.charCodeAt(U)===68||Q.charCodeAt(U)===100);if(K>=0){if(Q.charCodeAt(K)===61)M++,K--;else if(V(K))M++,K-=3}if(M===1&&K>=0){if(Q.charCodeAt(K)===61)M++;else if(V(K))M++}let z=Math.floor(Z/4)*3-(M||0);return z>0?z:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength==="function")return Buffer.byteLength(Q,"utf8");let W=0;for(let Z=0,J=Q.length;Z<J;Z++){let M=Q.charCodeAt(Z);if(M<128)W+=1;else if(M<2048)W+=2;else if(M>=55296&&M<=56319&&Z+1<J){let K=Q.charCodeAt(Z+1);if(K>=56320&&K<=57343)W+=4,Z++;else W+=3}else W+=3}return W}var O1=()=>{};import J8 from"http";import N8 from"https";import K6 from"http2";import V6 from"util";import{resolve as $6}from"path";import O0 from"zlib";import J0 from"stream";import{EventEmitter as M8}from"events";function L8($,Y,G){if(G!=="content-only"){$.set(Y);return}Object.entries(Y).forEach(([Q,X])=>{if(z8.includes(Q.toLowerCase()))$.set(Q,X)})}function _8($,Y){let G=$.protocol+"//"+$.hostname+":"+($.port||"")+"#"+($.auth||""),Q=Y?X6.get(Y)||X6.set(Y,new Map).get(Y):U8,X=Q.get(G);if(X)return X;let W=Y&&Y.options?{...Y.options,...$}:$;return X=new H1.default(W),X[L6]=!0,Q.set(G,X),X}class U6{constructor(){this.sessions=Object.create(null)}getSession($,Y){Y=Object.assign({sessionTimeout:1000},Y);let G=this.sessions[$];if(G){let K=G.length;for(let V=0;V<K;V++){let[B,z]=G[V];if(!B.destroyed&&!B.closed&&V6.isDeepStrictEqual(z,Y))return B}}let Q=K6.connect($,Y),X,W=()=>{if(X)return;X=!0;let K=G,V=K.length,B=V;while(B--)if(K[B][0]===Q){if(V===1)delete this.sessions[$];else K.splice(B,1);if(!Q.closed)Q.close();return}},Z=Q.request,{sessionTimeout:J}=Y;if(J!=null){let K,V=0;Q.request=function(){let B=Z.apply(this,arguments);if(V++,K)clearTimeout(K),K=null;return B.once("close",()=>{if(!--V)K=setTimeout(()=>{K=null,W()},J)}),B}}Q.once("close",W);let M=[Q,Y];return G?G.push(M):G=this.sessions[$]=[M],Q}}function O8($,Y,G){if($.beforeRedirects.proxy)$.beforeRedirects.proxy($);if($.beforeRedirects.config)$.beforeRedirects.config($,Y,G)}function _6($,Y,G,Q,X){let W=Y;if(!W&&W!==!1){let Z=M6(G);if(Z){if(!P1(G))W=new URL(Z)}}if(Q&&$.headers){for(let Z of Object.keys($.headers))if(Z.toLowerCase()==="proxy-authorization")delete $.headers[Z]}if(Q&&$.agent&&$.agent[L6])$.agent=void 0;if(W){let Z=W instanceof URL,J=(z)=>Z||N.hasOwnProp(W,z)?W[z]:void 0,M=J("username"),K=J("password"),V=N.hasOwnProp(W,"auth")?W.auth:void 0;if(M)V=(M||"")+":"+(K||"");if(V){let z=typeof V==="object",U=z&&N.hasOwnProp(V,"username")?V.username:void 0,F=z&&N.hasOwnProp(V,"password")?V.password:void 0;if(Boolean(U||F))V=(U||"")+":"+(F||"");else if(z)throw new L("Invalid proxy authorization",L.ERR_BAD_OPTION,{proxy:W})}if(z6.test($.protocol)){if(!(X instanceof H1.default)){let z=J("hostname")||J("host"),U=J("port"),F=J("protocol"),H=F?F.includes(":")?F:`${F}:`:"http:",O=z&&z.includes(":")&&!z.startsWith("[")?`[${z}]`:z,_=new URL(`${H}//${O}${U?":"+U:""}`),R={protocol:_.protocol,hostname:_.hostname.replace(/^\[|\]$/g,""),port:_.port,auth:V&&typeof V==="string"?V:void 0};if(_.protocol==="https:")R.ALPNProtocols=["http/1.1"];let S=_8(R,X);if($.agent=S,$.agents)$.agents.https=S}}else{if(V){let H=Buffer.from(V,"utf8").toString("base64");$.headers["Proxy-Authorization"]="Basic "+H}let z=!1;for(let H of Object.keys($.headers))if(H.toLowerCase()==="host"){z=!0;break}if(!z)$.headers.host=$.hostname+($.port?":"+$.port:"");let U=J("hostname")||J("host");$.hostname=U,$.host=U,$.port=J("port"),$.path=G;let F=J("protocol");if(F)$.protocol=F.includes(":")?F:`${F}:`}}$.beforeRedirects.proxy=function(J){_6(J,Y,J.href,!0,X)}}var H1,B6,Y6,K8,G6,V8,B8,z6,z8,Q6,j4,L6,U8,X6,W6,Z6=($)=>{if(!N.isString($))return $;try{return decodeURIComponent($)}catch(Y){return $}},J6=($,[Y,G])=>{return $.on("end",G).on("error",G),Y},P8,H8,F8=($)=>{return new Promise((Y,G)=>{let Q,X,W=(M,K)=>{if(X)return;X=!0,Q&&Q(M,K)},Z=(M)=>{W(M),Y(M)},J=(M)=>{W(M,!0),G(M)};$(Z,J,(M)=>Q=M).catch(J)})},C8=({address:$,family:Y})=>{if(!N.isString($))throw TypeError("address must be a string");return{address:$,family:Y||($.indexOf(".")<0?6:4)}},N6=($,Y)=>C8(N.isObject($)?$:{address:$,family:Y}),T8,P6;var O6=I(()=>{j();w4();E4();R4();W8();N4();$4();r();D0();Z0();v5();W0();f5();g5();_1();l5();p5();t5();s0();k4();O1();H1=p4(x5(),1),B6=p4(Z8(),1),Y6={flush:O0.constants.Z_SYNC_FLUSH,finishFlush:O0.constants.Z_SYNC_FLUSH},K8={flush:O0.constants.BROTLI_OPERATION_FLUSH,finishFlush:O0.constants.BROTLI_OPERATION_FLUSH},G6=N.isFunction(O0.createBrotliDecompress),{http:V8,https:B8}=B6.default,z6=/https:?/,z8=["content-type","content-length"];Q6=Symbol("axios.http.socketListener"),j4=Symbol("axios.http.currentReq"),L6=Symbol("axios.http.installedTunnel"),U8=new Map,X6=new WeakMap;W6=q.protocols.map(($)=>{return $+":"});P8=new U6;H8=typeof process<"u"&&N.kindOf(process)==="process",T8={request($,Y){let G=$.protocol+"//"+$.hostname+":"+($.port||($.protocol==="https:"?443:80)),{http2Options:Q,headers:X}=$,W=P8.getSession(G,Q),{HTTP2_HEADER_SCHEME:Z,HTTP2_HEADER_METHOD:J,HTTP2_HEADER_PATH:M,HTTP2_HEADER_STATUS:K}=K6.constants,V={[Z]:$.protocol.replace(":",""),[J]:$.method,[M]:$.path};N.forEach(X,(z,U)=>{U.charAt(0)!==":"&&(V[U]=z)});let B=W.request(V);return B.once("response",(z)=>{let U=B;z=Object.assign({},z);let F=z[K];delete z[K],U.headers=z,U.statusCode=+F,Y(U)}),B}},P6=H8&&function(Y){return F8(async function(Q,X,W){let Z=(T)=>N.hasOwnProp(Y,T)?Y[T]:void 0,J=Z("data"),M=Z("lookup"),K=Z("family"),V=Z("httpVersion");if(V===void 0)V=1;let B=Z("http2Options"),z=Z("responseType"),U=Z("responseEncoding"),F=Y.method.toUpperCase(),H,O=!1,_,R;if(V=+V,Number.isNaN(V))throw TypeError(`Invalid protocol version: '${Y.httpVersion}' is not a number`);if(V!==1&&V!==2)throw TypeError(`Unsupported protocol version '${V}'`);let S=V===2;if(M){let T=d5(M,(P)=>N.isArray(P)?P:[P]);M=(P,A,m)=>{T(P,A,(k,l,o)=>{if(k)return m(k);let x=N.isArray(l)?l.map((j0)=>N6(j0)):[N6(l,o)];A.all?m(k,x):m(k,x[0].address,x[0].family)})}}let w=new M8;function b(T){try{w.emit("abort",!T||T.type?new e(null,Y,_):T)}catch(P){console.warn("emit error",P)}}function Y0(){if(R)clearTimeout(R),R=null}function F0(){let T=Y.timeout?"timeout of "+Y.timeout+"ms exceeded":"timeout exceeded",P=Y.transitional||P0;if(Y.timeoutErrorMessage)T=Y.timeoutErrorMessage;return new L(T,P.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,Y,_)}w.once("abort",X);let C0=()=>{if(Y0(),Y.cancelToken)Y.cancelToken.unsubscribe(b);if(Y.signal)Y.signal.removeEventListener("abort",b);w.removeAllListeners()};if(Y.cancelToken||Y.signal){if(Y.cancelToken&&Y.cancelToken.subscribe(b),Y.signal)Y.signal.aborted?b():Y.signal.addEventListener("abort",b)}W((T,P)=>{if(H=!0,Y0(),P){O=!0,C0();return}let{data:A}=T;if(A instanceof J0.Readable||A instanceof J0.Duplex){let m=J0.finished(A,()=>{m(),C0()})}else C0()});let d0=S0(Y.baseURL,Y.url,Y.allowAbsoluteUrls),f=new URL(d0,q.hasBrowserEnv?q.origin:void 0),s=f.protocol||W6[0];if(s==="data:"){if(Y.maxContentLength>-1){let P=String(Y.url||d0||"");if(V4(P)>Y.maxContentLength)return X(new L("maxContentLength size of "+Y.maxContentLength+" exceeded",L.ERR_BAD_RESPONSE,Y))}let T;if(F!=="GET")return V0(Q,X,{status:405,statusText:"method not allowed",headers:{},config:Y});try{T=z1(Y.url,z==="blob",{Blob:Y.env&&Y.env.Blob})}catch(P){throw L.from(P,L.ERR_BAD_REQUEST,Y)}if(z==="text"){if(T=T.toString(U),!U||U==="utf8")T=N.stripBOM(T)}else if(z==="stream")T=J0.Readable.from(T);return V0(Q,X,{data:T,status:200,statusText:"OK",headers:new v,config:Y})}if(W6.indexOf(s)===-1)return X(new L("Unsupported protocol "+s,L.ERR_BAD_REQUEST,Y));let g=v.from(Y.headers).normalize();g.set("User-Agent","axios/"+B0,!1);let{onUploadProgress:A0,onDownloadProgress:i}=Y,U0=Y.maxRate,M0=void 0,k0=void 0;if(N.isSpecCompliantForm(J)){let T=g.getContentType(/boundary=([-_\w\d]{10,70})/i);J=h5(J,(P)=>{g.set(P)},{tag:`axios-${B0}-boundary`,boundary:T&&T[1]||void 0})}else if(N.isFormData(J)&&N.isFunction(J.getHeaders)&&J.getHeaders!==Object.prototype.getHeaders){if(L8(g,J.getHeaders(),Z("formDataHeaderPolicy")),!g.hasContentLength())try{let T=await V6.promisify(J.getLength).call(J);Number.isFinite(T)&&T>=0&&g.setContentLength(T)}catch(T){}}else if(N.isBlob(J)||N.isFile(J))J.size&&g.setContentType(J.type||"application/octet-stream"),g.setContentLength(J.size||0),J=J0.Readable.from(A4(J));else if(J&&!N.isStream(J)){if(Buffer.isBuffer(J));else if(N.isArrayBuffer(J))J=Buffer.from(new Uint8Array(J));else if(N.isString(J))J=Buffer.from(J,"utf-8");else return X(new L("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",L.ERR_BAD_REQUEST,Y));if(g.setContentLength(J.length,!1),Y.maxBodyLength>-1&&J.length>Y.maxBodyLength)return X(new L("Request body larger than maxBodyLength limit",L.ERR_BAD_REQUEST,Y))}let _4=N.toFiniteNumber(g.getContentLength());if(N.isArray(U0))M0=U0[0],k0=U0[1];else M0=k0=U0;if(J&&(A0||M0)){if(!N.isStream(J))J=J0.Readable.from(J,{objectMode:!1});J=J0.pipeline([J,new U1({maxRate:N.toFiniteNumber(M0)})],N.noop),A0&&J.on("progress",J6(J,g0(_4,z0(u0(A0),!1,3))))}let n=void 0,p=Z("auth");if(p){let T=p.username||"",P=p.password||"";n=T+":"+P}if(!n&&f.username){let T=Z6(f.username),P=Z6(f.password);n=T+":"+P}n&&g.delete("authorization");let K0;try{K0=R0(f.pathname+f.search,Y.params,Y.paramsSerializer).replace(/^\?/,"")}catch(T){let P=Error(T.message);return P.config=Y,P.url=Y.url,P.exists=!0,X(P)}g.set("Accept-Encoding","gzip, compress, deflate"+(G6?", br":""),!1);let u=Object.assign(Object.create(null),{path:K0,method:F,headers:b0(g),agents:{http:Y.httpAgent,https:Y.httpsAgent},auth:n,protocol:s,family:K,beforeRedirect:O8,beforeRedirects:Object.create(null),http2Options:B});if(!N.isUndefined(M)&&(u.lookup=M),Y.socketPath){if(typeof Y.socketPath!=="string")return X(new L("socketPath must be a string",L.ERR_BAD_OPTION_VALUE,Y));if(Y.allowedSocketPaths!=null){let T=Array.isArray(Y.allowedSocketPaths)?Y.allowedSocketPaths:[Y.allowedSocketPaths],P=$6(Y.socketPath);if(!T.some((m)=>typeof m==="string"&&$6(m)===P))return X(new L(`socketPath "${Y.socketPath}" is not permitted by allowedSocketPaths`,L.ERR_BAD_OPTION_VALUE,Y))}u.socketPath=Y.socketPath}else u.hostname=f.hostname.startsWith("[")?f.hostname.slice(1,-1):f.hostname,u.port=f.port,_6(u,Y.proxy,s+"//"+f.hostname+(f.port?":"+f.port:"")+u.path,!1,Y.httpsAgent);let y,Q0=!1,a=z6.test(u.protocol);if(u.agent==null)u.agent=a?Y.httpsAgent:Y.httpAgent;if(S)y=T8;else{let T=Z("transport");if(T)y=T;else if(Y.maxRedirects===0)y=a?N8:J8,Q0=!0;else{if(Y.maxRedirects)u.maxRedirects=Y.maxRedirects;let P=Z("beforeRedirect");if(P)u.beforeRedirects.config=P;y=a?B8:V8}}if(Y.maxBodyLength>-1)u.maxBodyLength=Y.maxBodyLength;else u.maxBodyLength=1/0;u.insecureHTTPParser=Boolean(Z("insecureHTTPParser")),_=y.request(u,function(P){if(Y0(),_.destroyed)return;let A=[P],m=N.toFiniteNumber(P.headers["content-length"]);if(i||k0){let x=new U1({maxRate:N.toFiniteNumber(k0)});i&&x.on("progress",J6(x,g0(m,z0(u0(i),!0,3)))),A.push(x)}let k=P,l=P.req||_;if(Y.decompress!==!1&&P.headers["content-encoding"]){if(F==="HEAD"||P.statusCode===204)delete P.headers["content-encoding"];switch((P.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":A.push(O0.createUnzip(Y6)),delete P.headers["content-encoding"];break;case"deflate":A.push(new c5),A.push(O0.createUnzip(Y6)),delete P.headers["content-encoding"];break;case"br":if(G6)A.push(O0.createBrotliDecompress(K8)),delete P.headers["content-encoding"]}}k=A.length>1?J0.pipeline(A,N.noop):A[0];let o={status:P.statusCode,statusText:P.statusMessage,headers:new v(P.headers),config:Y,request:l};if(z==="stream"){if(Y.maxContentLength>-1){let x=Y.maxContentLength,j0=k;async function*p0(){let c=0;for await(let u1 of j0){if(c+=u1.length,c>x)throw new L("maxContentLength size of "+x+" exceeded",L.ERR_BAD_RESPONSE,Y,l);yield u1}}k=J0.Readable.from(p0(),{objectMode:!1})}o.data=k,V0(Q,X,o)}else{let x=[],j0=0;k.on("data",function(c){if(x.push(c),j0+=c.length,Y.maxContentLength>-1&&j0>Y.maxContentLength)O=!0,k.destroy(),b(new L("maxContentLength size of "+Y.maxContentLength+" exceeded",L.ERR_BAD_RESPONSE,Y,l))}),k.on("aborted",function(){if(O)return;let c=new L("stream has been aborted",L.ERR_BAD_RESPONSE,Y,l,o);k.destroy(c),X(c)}),k.on("error",function(c){if(O)return;X(L.from(c,null,Y,l,o))}),k.on("end",function(){try{let c=x.length===1?x[0]:Buffer.concat(x);if(z!=="arraybuffer"){if(c=c.toString(U),!U||U==="utf8")c=N.stripBOM(c)}o.data=c}catch(c){return X(L.from(c,null,Y,o.request,o))}V0(Q,X,o)})}w.once("abort",(x)=>{if(!k.destroyed)k.emit("error",x),k.destroy()})}),w.once("abort",(T)=>{if(_.close)_.close();else _.destroy(T)}),_.on("error",function(P){X(L.from(P,null,Y,_))});let T0=new Set;if(_.on("socket",function(P){if(P.setKeepAlive(!0,60000),!P[Q6])P.on("error",function(m){let k=P[j4];if(k&&!k.destroyed)k.destroy(m)}),P[Q6]=!0;P[j4]=_,T0.add(P)}),_.once("close",function(){Y0();for(let P of T0)if(P[j4]===_)P[j4]=null;T0.clear()}),Y.timeout){let T=parseInt(Y.timeout,10);if(Number.isNaN(T)){b(new L("error trying to parse `config.timeout` to int",L.ERR_BAD_OPTION_VALUE,Y,_));return}let P=function(){if(H)return;b(F0())};if(Q0&&T>0)R=setTimeout(P,T);_.setTimeout(T,P)}else _.setTimeout(0);if(N.isStream(J)){let T=!1,P=!1;J.on("end",()=>{T=!0}),J.once("error",(m)=>{P=!0,_.destroy(m)}),J.on("close",()=>{if(!T&&!P)b(new e("Request stream has been aborted",Y,_))});let A=J;if(Y.maxBodyLength>-1&&Y.maxRedirects===0){let m=Y.maxBodyLength,k=0;A=J0.pipeline([J,new J0.Transform({transform(l,o,x){if(k+=l.length,k>m)return x(new L("Request body larger than maxBodyLength limit",L.ERR_BAD_REQUEST,Y,_));x(null,l)}})],N.noop),A.on("error",(l)=>{if(!_.destroyed)_.destroy(l)})}A.pipe(_)}else J&&_.write(J),_.end()})}});var H6;var F6=I(()=>{Z0();H6=q.hasStandardBrowserEnv?(($,Y)=>(G)=>{return G=new URL(G,q.origin),$.protocol===G.protocol&&$.host===G.host&&(Y||$.port===G.port)})(new URL(q.origin),q.navigator&&/(msie|trident)/i.test(q.navigator.userAgent)):()=>!0});var C6;var T6=I(()=>{j();Z0();C6=q.hasStandardBrowserEnv?{write($,Y,G,Q,X,W,Z){if(typeof document>"u")return;let J=[`${$}=${encodeURIComponent(Y)}`];if(N.isNumber(G))J.push(`expires=${new Date(G).toUTCString()}`);if(N.isString(Q))J.push(`path=${Q}`);if(N.isString(X))J.push(`domain=${X}`);if(W===!0)J.push("secure");if(N.isString(Z))J.push(`SameSite=${Z}`);document.cookie=J.join("; ")},read($){if(typeof document>"u")return null;let Y=document.cookie.split(";");for(let G=0;G<Y.length;G++){let Q=Y[G].replace(/^\s+/,""),X=Q.indexOf("=");if(X!==-1&&Q.slice(0,X)===$)return decodeURIComponent(Q.slice(X+1))}return null},remove($){this.write($,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}}});function N0($,Y){Y=Y||{};let G=Object.create(null);Object.defineProperty(G,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function Q(K,V,B,z){if(N.isPlainObject(K)&&N.isPlainObject(V))return N.merge.call({caseless:z},K,V);else if(N.isPlainObject(V))return N.merge({},V);else if(N.isArray(V))return V.slice();return V}function X(K,V,B,z){if(!N.isUndefined(V))return Q(K,V,B,z);else if(!N.isUndefined(K))return Q(void 0,K,B,z)}function W(K,V){if(!N.isUndefined(V))return Q(void 0,V)}function Z(K,V){if(!N.isUndefined(V))return Q(void 0,V);else if(!N.isUndefined(K))return Q(void 0,K)}function J(K,V,B){if(N.hasOwnProp(Y,B))return Q(K,V);else if(N.hasOwnProp($,B))return Q(void 0,K)}let M={url:W,method:W,data:W,baseURL:Z,transformRequest:Z,transformResponse:Z,paramsSerializer:Z,timeout:Z,timeoutMessage:Z,withCredentials:Z,withXSRFToken:Z,adapter:Z,responseType:Z,xsrfCookieName:Z,xsrfHeaderName:Z,onUploadProgress:Z,onDownloadProgress:Z,decompress:Z,maxContentLength:Z,maxBodyLength:Z,beforeRedirect:Z,transport:Z,httpAgent:Z,httpsAgent:Z,cancelToken:Z,socketPath:Z,allowedSocketPaths:Z,responseEncoding:Z,validateStatus:J,headers:(K,V,B)=>X(I6(K),I6(V),B,!0)};return N.forEach(Object.keys({...$,...Y}),function(V){if(V==="__proto__"||V==="constructor"||V==="prototype")return;let B=N.hasOwnProp(M,V)?M[V]:X,z=N.hasOwnProp($,V)?$[V]:void 0,U=N.hasOwnProp(Y,V)?Y[V]:void 0,F=B(z,U,V);N.isUndefined(F)&&B!==J||(G[V]=F)}),G}var I6=($)=>$ instanceof v?{...$}:$;var x4=I(()=>{j();W0()});function R8($,Y,G){if(G!=="content-only"){$.set(Y);return}Object.entries(Y).forEach(([Q,X])=>{if(I8.includes(Q.toLowerCase()))$.set(Q,X)})}var I8,D8=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Y,G)=>String.fromCharCode(parseInt(G,16))),v4=($)=>{let Y=N0({},$),G=(z)=>N.hasOwnProp(Y,z)?Y[z]:void 0,Q=G("data"),X=G("withXSRFToken"),W=G("xsrfHeaderName"),Z=G("xsrfCookieName"),J=G("headers"),M=G("auth"),K=G("baseURL"),V=G("allowAbsoluteUrls"),B=G("url");if(Y.headers=J=v.from(J),Y.url=R0(S0(K,B,V),$.params,$.paramsSerializer),M)J.set("Authorization","Basic "+btoa((M.username||"")+":"+(M.password?D8(M.password):"")));if(N.isFormData(Q)){if(q.hasStandardBrowserEnv||q.hasStandardBrowserWebWorkerEnv)J.setContentType(void 0);else if(N.isFunction(Q.getHeaders))R8(J,Q.getHeaders(),G("formDataHeaderPolicy"))}if(q.hasStandardBrowserEnv){if(N.isFunction(X))X=X(Y);if(X===!0||X==null&&H6(Y.url)){let U=W&&Z&&C6.read(Z);if(U)J.set(W,U)}}return Y};var F1=I(()=>{Z0();j();F6();T6();E4();x4();W0();R4();I8=["content-type","content-length"]});var S8,R6;var D6=I(()=>{j();w4();$4();r();D0();B1();Z0();W0();k4();F1();s0();S8=typeof XMLHttpRequest<"u",R6=S8&&function($){return new Promise(function(G,Q){let X=v4($),W=X.data,Z=v.from(X.headers).normalize(),{responseType:J,onUploadProgress:M,onDownloadProgress:K}=X,V,B,z,U,F;function H(){U&&U(),F&&F(),X.cancelToken&&X.cancelToken.unsubscribe(V),X.signal&&X.signal.removeEventListener("abort",V)}let O=new XMLHttpRequest;O.open(X.method.toUpperCase(),X.url,!0),O.timeout=X.timeout;function _(){if(!O)return;let S=v.from("getAllResponseHeaders"in O&&O.getAllResponseHeaders()),b={data:!J||J==="text"||J==="json"?O.responseText:O.response,status:O.status,statusText:O.statusText,headers:S,config:$,request:O};V0(function(F0){G(F0),H()},function(F0){Q(F0),H()},b),O=null}if("onloadend"in O)O.onloadend=_;else O.onreadystatechange=function(){if(!O||O.readyState!==4)return;if(O.status===0&&!(O.responseURL&&O.responseURL.startsWith("file:")))return;setTimeout(_)};if(O.onabort=function(){if(!O)return;Q(new L("Request aborted",L.ECONNABORTED,$,O)),H(),O=null},O.onerror=function(w){let b=w&&w.message?w.message:"Network Error",Y0=new L(b,L.ERR_NETWORK,$,O);Y0.event=w||null,Q(Y0),H(),O=null},O.ontimeout=function(){let w=X.timeout?"timeout of "+X.timeout+"ms exceeded":"timeout exceeded",b=X.transitional||P0;if(X.timeoutErrorMessage)w=X.timeoutErrorMessage;Q(new L(w,b.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,$,O)),H(),O=null},W===void 0&&Z.setContentType(null),"setRequestHeader"in O)N.forEach(b0(Z),function(w,b){O.setRequestHeader(b,w)});if(!N.isUndefined(X.withCredentials))O.withCredentials=!!X.withCredentials;if(J&&J!=="json")O.responseType=X.responseType;if(K)[z,F]=z0(K,!0),O.addEventListener("progress",z);if(M&&O.upload)[B,U]=z0(M),O.upload.addEventListener("progress",B),O.upload.addEventListener("loadend",U);if(X.cancelToken||X.signal){if(V=(S)=>{if(!O)return;Q(!S||S.type?new e(null,$,O):S),O.abort(),H(),O=null},X.cancelToken&&X.cancelToken.subscribe(V),X.signal)X.signal.aborted?V():X.signal.addEventListener("abort",V)}let R=M4(X.url);if(R&&!q.protocols.includes(R)){Q(new L("Unsupported protocol "+R+":",L.ERR_BAD_REQUEST,$));return}O.send(W||null)})}});var w8=($,Y)=>{if($=$?$.filter(Boolean):[],!Y&&!$.length)return;let G=new AbortController,Q=!1,X=function(M){if(!Q){Q=!0,Z();let K=M instanceof Error?M:this.reason;G.abort(K instanceof L?K:new e(K instanceof Error?K.message:K))}},W=Y&&setTimeout(()=>{W=null,X(new L(`timeout of ${Y}ms exceeded`,L.ETIMEDOUT))},Y),Z=()=>{if(!$)return;W&&clearTimeout(W),W=null,$.forEach((M)=>{M.unsubscribe?M.unsubscribe(X):M.removeEventListener("abort",X)}),$=null};$.forEach((M)=>M.addEventListener("abort",X));let{signal:J}=G;return J.unsubscribe=()=>N.asap(Z),J},S6;var w6=I(()=>{D0();r();j();S6=w8});var E8=function*($,Y){let G=$.byteLength;if(!Y||G<Y){yield $;return}let Q=0,X;while(Q<G)X=Q+Y,yield $.slice(Q,X),Q=X},q8=async function*($,Y){for await(let G of A8($))yield*E8(G,Y)},A8=async function*($){if($[Symbol.asyncIterator]){yield*$;return}let Y=$.getReader();try{for(;;){let{done:G,value:Q}=await Y.read();if(G)break;yield Q}}finally{await Y.cancel()}},C1=($,Y,G,Q)=>{let X=q8($,Y),W=0,Z,J=(M)=>{if(!Z)Z=!0,Q&&Q(M)};return new ReadableStream({async pull(M){try{let{done:K,value:V}=await X.next();if(K){J(),M.close();return}let B=V.byteLength;if(G){let z=W+=B;G(z)}M.enqueue(new Uint8Array(V))}catch(K){throw J(K),K}},cancel(M){return J(M),X.return()}},{highWaterMark:2})};var E6=()=>{};var q6=65536,b4,A6=($,...Y)=>{try{return!!$(...Y)}catch(G){return!1}},k8=($)=>{let Y=N.global!==void 0&&N.global!==null?N.global:globalThis,{ReadableStream:G,TextEncoder:Q}=Y;$=N.merge.call({skipUndefined:!0},{Request:Y.Request,Response:Y.Response},$);let{fetch:X,Request:W,Response:Z}=$,J=X?b4(X):typeof fetch==="function",M=b4(W),K=b4(Z);if(!J)return!1;let V=J&&b4(G),B=J&&(typeof Q==="function"?((_)=>(R)=>_.encode(R))(new Q):async(_)=>new Uint8Array(await new W(_).arrayBuffer())),z=M&&V&&A6(()=>{let _=!1,R=new W(q.origin,{body:new G,method:"POST",get duplex(){return _=!0,"half"}}),S=R.headers.has("Content-Type");if(R.body!=null)R.body.cancel();return _&&!S}),U=K&&V&&A6(()=>N.isReadableStream(new Z("").body)),F={stream:U&&((_)=>_.body)};J&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((_)=>{!F[_]&&(F[_]=(R,S)=>{let w=R&&R[_];if(w)return w.call(R);throw new L(`Response type '${_}' is not supported`,L.ERR_NOT_SUPPORT,S)})})})();let H=async(_)=>{if(_==null)return 0;if(N.isBlob(_))return _.size;if(N.isSpecCompliantForm(_))return(await new W(q.origin,{method:"POST",body:_}).arrayBuffer()).byteLength;if(N.isArrayBufferView(_)||N.isArrayBuffer(_))return _.byteLength;if(N.isURLSearchParams(_))_=_+"";if(N.isString(_))return(await B(_)).byteLength},O=async(_,R)=>{let S=N.toFiniteNumber(_.getContentLength());return S==null?H(R):S};return async(_)=>{let{url:R,method:S,data:w,signal:b,cancelToken:Y0,timeout:F0,onDownloadProgress:C0,onUploadProgress:d0,responseType:f,headers:s,withCredentials:g="same-origin",fetchOptions:A0,maxContentLength:i,maxBodyLength:U0}=v4(_),M0=N.isNumber(i)&&i>-1,k0=N.isNumber(U0)&&U0>-1,_4=X||fetch;f=f?(f+"").toLowerCase():"text";let n=S6([b,Y0&&Y0.toAbortSignal()],F0),p=null,K0=n&&n.unsubscribe&&(()=>{n.unsubscribe()}),u;try{if(M0&&typeof R==="string"&&R.startsWith("data:")){if(V4(R)>i)throw new L("maxContentLength size of "+i+" exceeded",L.ERR_BAD_RESPONSE,_,p)}if(k0&&S!=="get"&&S!=="head"){let P=await O(s,w);if(typeof P==="number"&&isFinite(P)&&P>U0)throw new L("Request body larger than maxBodyLength limit",L.ERR_BAD_REQUEST,_,p)}if(d0&&z&&S!=="get"&&S!=="head"&&(u=await O(s,w))!==0){let P=new W(R,{method:"POST",body:w,duplex:"half"}),A;if(N.isFormData(w)&&(A=P.headers.get("content-type")))s.setContentType(A);if(P.body){let[m,k]=g0(u,z0(u0(d0)));w=C1(P.body,q6,m,k)}}if(!N.isString(g))g=g?"include":"omit";let y=M&&"credentials"in W.prototype;if(N.isFormData(w)){let P=s.getContentType();if(P&&/^multipart\/form-data/i.test(P)&&!/boundary=/i.test(P))s.delete("content-type")}s.set("User-Agent","axios/"+B0,!1);let Q0={...A0,signal:n,method:S.toUpperCase(),headers:b0(s.normalize()),body:w,duplex:"half",credentials:y?g:void 0};p=M&&new W(R,Q0);let a=await(M?_4(p,A0):_4(R,Q0));if(M0){let P=N.toFiniteNumber(a.headers.get("content-length"));if(P!=null&&P>i)throw new L("maxContentLength size of "+i+" exceeded",L.ERR_BAD_RESPONSE,_,p)}let T0=U&&(f==="stream"||f==="response");if(U&&a.body&&(C0||M0||T0&&K0)){let P={};["status","statusText","headers"].forEach((x)=>{P[x]=a[x]});let A=N.toFiniteNumber(a.headers.get("content-length")),[m,k]=C0&&g0(A,z0(u0(C0),!0))||[],l=0,o=(x)=>{if(M0){if(l=x,l>i)throw new L("maxContentLength size of "+i+" exceeded",L.ERR_BAD_RESPONSE,_,p)}m&&m(x)};a=new Z(C1(a.body,q6,o,()=>{k&&k(),K0&&K0()}),P)}f=f||"text";let T=await F[N.findKey(F,f)||"text"](a,_);if(M0&&!U&&!T0){let P;if(T!=null){if(typeof T.byteLength==="number")P=T.byteLength;else if(typeof T.size==="number")P=T.size;else if(typeof T==="string")P=typeof Q==="function"?new Q().encode(T).byteLength:T.length}if(typeof P==="number"&&P>i)throw new L("maxContentLength size of "+i+" exceeded",L.ERR_BAD_RESPONSE,_,p)}return!T0&&K0&&K0(),await new Promise((P,A)=>{V0(P,A,{data:T,headers:v.from(a.headers),status:a.status,statusText:a.statusText,config:_,request:p})})}catch(y){if(K0&&K0(),n&&n.aborted&&n.reason instanceof L){let Q0=n.reason;throw Q0.config=_,p&&(Q0.request=p),y!==Q0&&(Q0.cause=y),Q0}if(y&&y.name==="TypeError"&&/Load failed|fetch/i.test(y.message))throw Object.assign(new L("Network Error",L.ERR_NETWORK,_,p,y&&y.response),{cause:y.cause||y});throw L.from(y,y&&y.code,_,p,y&&y.response)}}},j8,T1=($)=>{let Y=$&&$.env||{},{fetch:G,Request:Q,Response:X}=Y,W=[Q,X,G],Z=W.length,J=Z,M,K,V=j8;while(J--)M=W[J],K=V.get(M),K===void 0&&V.set(M,K=J?new Map:k8(Y)),V=K;return K},$Q;var k6=I(()=>{Z0();j();r();w6();E6();W0();k4();F1();w4();O1();N4();s0();({isFunction:b4}=N),j8=new Map,$Q=T1()});function b8($,Y){$=N.isArray($)?$:[$];let{length:G}=$,Q,X,W={};for(let Z=0;Z<G;Z++){Q=$[Z];let J;if(X=Q,!v8(Q)){if(X=I1[(J=String(Q)).toLowerCase()],X===void 0)throw new L(`Unknown adapter '${J}'`)}if(X&&(N.isFunction(X)||(X=X.get(Y))))break;W[J||"#"+Z]=X}if(!X){let Z=Object.entries(W).map(([M,K])=>`adapter ${M} `+(K===!1?"is not supported by the environment":"is not available in the build")),J=G?Z.length>1?`since :
|
|
12
|
+
`+Z.map(j6).join(`
|
|
13
|
+
`):" "+j6(Z[0]):"as no adapter specified";throw new L("There is no suitable adapter to dispatch the request "+J,"ERR_NOT_SUPPORT")}return X}var I1,j6=($)=>`- ${$}`,v8=($)=>N.isFunction($)||$===null||$===!1,f4;var R1=I(()=>{j();O6();D6();k6();r();I1={http:P6,xhr:R6,fetch:{get:T1}};N.forEach(I1,($,Y)=>{if($){try{Object.defineProperty($,"name",{__proto__:null,value:Y})}catch(G){}Object.defineProperty($,"adapterName",{__proto__:null,value:Y})}});f4={getAdapter:b8,adapters:I1}});function D1($){if($.cancelToken)$.cancelToken.throwIfRequested();if($.signal&&$.signal.aborted)throw new e(null,$)}function y4($){if(D1($),$.headers=v.from($.headers),$.data=Y4.call($,$.transformRequest),["post","put","patch"].indexOf($.method)!==-1)$.headers.setContentType("application/x-www-form-urlencoded",!1);return f4.getAdapter($.adapter||y0.adapter,$)($).then(function(Q){D1($),$.response=Q;try{Q.data=Y4.call($,$.transformResponse,Q)}finally{delete $.response}return Q.headers=v.from(Q.headers),Q},function(Q){if(!G4(Q)){if(D1($),Q&&Q.response){$.response=Q.response;try{Q.response.data=Y4.call($,$.transformResponse,Q.response)}finally{delete $.response}Q.response.headers=v.from(Q.response.headers)}}return Promise.reject(Q)})}var x6=I(()=>{O5();Q1();S4();D0();W0();R1()});function f8($,Y,G){if(typeof $!=="object")throw new L("options must be an object",L.ERR_BAD_OPTION_VALUE);let Q=Object.keys($),X=Q.length;while(X-- >0){let W=Q[X],Z=Object.prototype.hasOwnProperty.call(Y,W)?Y[W]:void 0;if(Z){let J=$[W],M=J===void 0||Z(J,W,$);if(M!==!0)throw new L("option "+W+" must be "+M,L.ERR_BAD_OPTION_VALUE);continue}if(G!==!0)throw new L("Unknown option "+W,L.ERR_BAD_OPTION)}}var m4,v6,B4;var b6=I(()=>{N4();r();m4={};["object","boolean","number","function","string","symbol"].forEach(($,Y)=>{m4[$]=function(Q){return typeof Q===$||"a"+(Y<1?"n ":" ")+$}});v6={};m4.transitional=function(Y,G,Q){function X(W,Z){return"[Axios v"+B0+"] Transitional option '"+W+"'"+Z+(Q?". "+Q:"")}return(W,Z,J)=>{if(Y===!1)throw new L(X(Z," has been removed"+(G?" in "+G:"")),L.ERR_DEPRECATED);if(G&&!v6[Z])v6[Z]=!0,console.warn(X(Z," has been deprecated since v"+G+" and will be removed in the near future"));return Y?Y(W,Z,J):!0}};m4.spelling=function(Y){return(G,Q)=>{return console.warn(`${Q} is likely a misspelling of ${Y}`),!0}};B4={assertOptions:f8,validators:m4}});class z4{constructor($){this.defaults=$||{},this.interceptors={request:new t4,response:new t4}}async request($,Y){try{return await this._request($,Y)}catch(G){if(G instanceof Error){let Q={};Error.captureStackTrace?Error.captureStackTrace(Q):Q=Error();let X=(()=>{if(!Q.stack)return"";let W=Q.stack.indexOf(`
|
|
14
|
+
`);return W===-1?"":Q.stack.slice(W+1)})();try{if(!G.stack)G.stack=X;else if(X){let W=X.indexOf(`
|
|
15
|
+
`),Z=W===-1?-1:X.indexOf(`
|
|
16
|
+
`,W+1),J=Z===-1?"":X.slice(Z+1);if(!String(G.stack).endsWith(J))G.stack+=`
|
|
17
|
+
`+X}}catch(W){}}throw G}}_request($,Y){if(typeof $==="string")Y=Y||{},Y.url=$;else Y=$||{};Y=N0(this.defaults,Y);let{transitional:G,paramsSerializer:Q,headers:X}=Y;if(G!==void 0)B4.assertOptions(G,{silentJSONParsing:G0.transitional(G0.boolean),forcedJSONParsing:G0.transitional(G0.boolean),clarifyTimeoutError:G0.transitional(G0.boolean),legacyInterceptorReqResOrdering:G0.transitional(G0.boolean)},!1);if(Q!=null)if(N.isFunction(Q))Y.paramsSerializer={serialize:Q};else B4.assertOptions(Q,{encode:G0.function,serialize:G0.function},!0);if(Y.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)Y.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else Y.allowAbsoluteUrls=!0;B4.assertOptions(Y,{baseUrl:G0.spelling("baseURL"),withXsrfToken:G0.spelling("withXSRFToken")},!0),Y.method=(Y.method||this.defaults.method||"get").toLowerCase();let W=X&&N.merge(X.common,X[Y.method]);X&&N.forEach(["delete","get","head","post","put","patch","query","common"],(U)=>{delete X[U]}),Y.headers=v.concat(W,X);let Z=[],J=!0;this.interceptors.request.forEach(function(F){if(typeof F.runWhen==="function"&&F.runWhen(Y)===!1)return;J=J&&F.synchronous;let H=Y.transitional||P0;if(H&&H.legacyInterceptorReqResOrdering)Z.unshift(F.fulfilled,F.rejected);else Z.push(F.fulfilled,F.rejected)});let M=[];this.interceptors.response.forEach(function(F){M.push(F.fulfilled,F.rejected)});let K,V=0,B;if(!J){let U=[y4.bind(this),void 0];U.unshift(...Z),U.push(...M),B=U.length,K=Promise.resolve(Y);while(V<B)K=K.then(U[V++],U[V++]);return K}B=Z.length;let z=Y;while(V<B){let U=Z[V++],F=Z[V++];try{z=U(z)}catch(H){F.call(this,H);break}}try{K=y4.call(this,z)}catch(U){return Promise.reject(U)}V=0,B=M.length;while(V<B)K=K.then(M[V++],M[V++]);return K}getUri($){$=N0(this.defaults,$);let Y=S0($.baseURL,$.url,$.allowAbsoluteUrls);return R0(Y,$.params,$.paramsSerializer)}}var G0,L4;var f6=I(()=>{j();R4();M5();x6();x4();E4();b6();W0();$4();G0=B4.validators;N.forEach(["delete","get","head","options"],function(Y){z4.prototype[Y]=function(G,Q){return this.request(N0(Q||{},{method:Y,url:G,data:(Q||{}).data}))}});N.forEach(["post","put","patch","query"],function(Y){function G(Q){return function(W,Z,J){return this.request(N0(J||{},{method:Y,headers:Q?{"Content-Type":"multipart/form-data"}:{},url:W,data:Z}))}}if(z4.prototype[Y]=G(),Y!=="query")z4.prototype[Y+"Form"]=G(!0)});L4=z4});class S1{constructor($){if(typeof $!=="function")throw TypeError("executor must be a function.");let Y;this.promise=new Promise(function(X){Y=X});let G=this;this.promise.then((Q)=>{if(!G._listeners)return;let X=G._listeners.length;while(X-- >0)G._listeners[X](Q);G._listeners=null}),this.promise.then=(Q)=>{let X,W=new Promise((Z)=>{G.subscribe(Z),X=Z}).then(Q);return W.cancel=function(){G.unsubscribe(X)},W},$(function(X,W,Z){if(G.reason)return;G.reason=new e(X,W,Z),Y(G.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($){if(this.reason){$(this.reason);return}if(this._listeners)this._listeners.push($);else this._listeners=[$]}unsubscribe($){if(!this._listeners)return;let Y=this._listeners.indexOf($);if(Y!==-1)this._listeners.splice(Y,1)}toAbortSignal(){let $=new AbortController,Y=(G)=>{$.abort(G)};return this.subscribe(Y),$.signal.unsubscribe=()=>this.unsubscribe(Y),$.signal}static source(){let $;return{token:new S1(function(Q){$=Q}),cancel:$}}}var y6;var m6=I(()=>{D0();y6=S1});function w1($){return function(G){return $.apply(null,G)}}var h6=()=>{};function E1($){return N.isObject($)&&$.isAxiosError===!0}var g6=I(()=>{j()});var q1,u6;var c6=I(()=>{q1={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(q1).forEach(([$,Y])=>{q1[Y]=$});u6=q1});function l6($){let Y=new L4($),G=i0(L4.prototype.request,Y);return N.extend(G,L4.prototype,Y,{allOwnKeys:!0}),N.extend(G,Y,null,{allOwnKeys:!0}),G.create=function(X){return l6(N0($,X))},G}var h,L0;var d6=I(()=>{j();g4();f6();x4();S4();Y1();D0();m6();Q1();N4();e0();r();h6();g6();W0();R1();c6();h=l6(y0);h.Axios=L4;h.CanceledError=e;h.CancelToken=y6;h.isCancel=G4;h.VERSION=B0;h.toFormData=_0;h.AxiosError=L;h.Cancel=h.CanceledError;h.all=function(Y){return Promise.all(Y)};h.spread=w1;h.isAxiosError=E1;h.mergeConfig=N0;h.AxiosHeaders=v;h.formToJSON=($)=>D4(N.isHTMLForm($)?new FormData($):$);h.getAdapter=f4.getAdapter;h.HttpStatusCode=u6;h.default=h;L0=h});var oQ,h4,rQ,eQ,$X,YX,GX,QX,XX,WX,ZX,JX,NX,MX,KX,VX,BX;var A1=I(()=>{d6();({Axios:oQ,AxiosError:h4,CanceledError:rQ,isCancel:eQ,CancelToken:$X,VERSION:YX,all:GX,Cancel:QX,isAxiosError:XX,spread:WX,toFormData:ZX,AxiosHeaders:JX,HttpStatusCode:NX,formToJSON:MX,getAdapter:KX,mergeConfig:VX,create:BX}=L0)});import{EventEmitter as b7}from"events";function t6(){try{if(typeof process<"u"&&process.env&&process.env.npm_package_version)return process.env.npm_package_version;return a6()?.version||"3.x.x"}catch{return"3.x.x"}}function l0($){if(!$||typeof $!=="object")return!1;let Y=$,G="_def"in Y&&(typeof Y.safeParse==="function"||typeof Y.parse==="function"),Q="_zod"in Y&&typeof Y._zod==="object";return G||Q}function g8($){if(!$||typeof $!=="object")return!1;return"_zod"in $&&typeof $._zod==="object"}function u8($){if(!g8($))return null;try{let Y=$.constructor?.prototype?.constructor;if(Y&&typeof Y.toJSONSchema==="function")return Y.toJSONSchema($)}catch{}return null}function $0($){if(!l0($))return $;let Y=u8($);if(Y)return Y;try{return n6($)}catch{return $}}function x1($){if(!$||typeof $!=="object"||Array.isArray($))return!1;let Y=Object.values($);if(Y.length===0)return!1;return Y.some((G)=>G&&typeof G==="object"&&G._def&&typeof G.safeParse==="function")}function c8($){if(!$)return;for(let Y of $){if(typeof Y==="string"){if(Y==="json")throw Error("json format must be an object with { type: 'json', prompt, schema }");continue}if(Y.type==="json"){let G=Y;if(!G.prompt&&!G.schema)throw Error("json format requires either 'prompt' or 'schema' (or both)");let Q=G.schema;if(l0(Q))G.schema=$0(Q);else if(x1(Q))throw Error("json format schema appears to be a Zod schema's .shape property. Pass the Zod schema directly (e.g., `schema: MySchema`) instead of `schema: MySchema.shape`. The SDK will automatically convert Zod schemas to JSON Schema format.");continue}if(Y.type==="changeTracking"){let G=Y,Q=G.schema;if(l0(Q))G.schema=$0(Q);else if(x1(Q))throw Error("changeTracking format schema appears to be a Zod schema's .shape property. Pass the Zod schema directly (e.g., `schema: MySchema`) instead of `schema: MySchema.shape`. The SDK will automatically convert Zod schemas to JSON Schema format.");continue}if(Y.type==="question"){let G=Y;if(typeof G.question!=="string"||G.question.trim().length===0)throw Error("question format requires a non-empty 'question' string");continue}if(Y.type==="highlights"){let G=Y;if(typeof G.query!=="string"||G.query.trim().length===0)throw Error("highlights format requires a non-empty 'query' string");continue}if(Y.type==="query"){let G=Y;if(typeof G.prompt!=="string"||G.prompt.trim().length===0)throw Error("query format requires a non-empty 'prompt' string");if(G.mode!=null&&G.mode!=="freeform"&&G.mode!=="directQuote")throw Error("query format mode must be 'freeform' or 'directQuote'");continue}if(Y.type==="screenshot"){let G=Y;if(G.quality!=null&&(typeof G.quality!=="number"||G.quality<0))throw Error("screenshot.quality must be a non-negative number")}}}function U4($){if(!$)return;if($.timeout!=null&&$.timeout<=0)throw Error("timeout must be positive");if($.waitFor!=null&&$.waitFor<0)throw Error("waitFor must be non-negative");c8($.formats)}function l8($){if(!$)return;for(let Y of $){if(typeof Y==="string"){if(Y==="json")throw Error("json format must be an object with { type: 'json', prompt, schema }");if(Y==="screenshot")throw Error("parse does not support screenshot format");if(Y==="changeTracking")throw Error("parse does not support changeTracking format");if(Y==="branding")throw Error("parse does not support branding format");if(Y==="audio"||Y==="video")throw Error(`parse does not support ${Y} format`);continue}let G=Y.type;if(G==="changeTracking")throw Error("parse does not support changeTracking format");if(G==="screenshot")throw Error("parse does not support screenshot format");if(G==="branding")throw Error("parse does not support branding format");if(G==="audio"||G==="video")throw Error(`parse does not support ${G} format`);if(Y.type==="json"){let Q=Y;if(!Q.prompt&&!Q.schema)throw Error("json format requires either 'prompt' or 'schema' (or both)");let X=Q.schema;if(l0(X))Q.schema=$0(X);else if(x1(X))throw Error("json format schema appears to be a Zod schema's .shape property. Pass the Zod schema directly (e.g., `schema: MySchema`) instead of `schema: MySchema.shape`. The SDK will automatically convert Zod schemas to JSON Schema format.");continue}if(Y.type==="question"){let Q=Y;if(typeof Q.question!=="string"||Q.question.trim().length===0)throw Error("question format requires a non-empty 'question' string");continue}if(Y.type==="highlights"){let Q=Y;if(typeof Q.query!=="string"||Q.query.trim().length===0)throw Error("highlights format requires a non-empty 'query' string");continue}if(Y.type==="query"){let Q=Y;if(typeof Q.prompt!=="string"||Q.prompt.trim().length===0)throw Error("query format requires a non-empty 'prompt' string");if(Q.mode!=null&&Q.mode!=="freeform"&&Q.mode!=="directQuote")throw Error("query format mode must be 'freeform' or 'directQuote'")}}}function d8($){if(!$)return;if($.timeout!=null&&$.timeout<=0)throw Error("timeout must be positive");let Y=$;if(Y.waitFor!==void 0)throw Error("parse does not support waitFor");if(Y.actions!==void 0)throw Error("parse does not support actions");if(Y.location!==void 0)throw Error("parse does not support location overrides");if(Y.mobile!==void 0)throw Error("parse does not support mobile rendering");if(Y.maxAge!==void 0||Y.minAge!==void 0||Y.storeInCache!==void 0||Y.lockdown!==void 0)throw Error("parse does not support cache/index options");if(Y.proxy!==void 0&&Y.proxy!=="basic"&&Y.proxy!=="auto")throw Error("parse only supports proxy values of 'basic' or 'auto'");l8($.formats)}function E($,Y){let G=$.status,Q=$.data||{},X=Q?.error||Q?.message||`Request failed (${G}) while trying to ${Y}`;throw new H0(X,G,void 0,Q?.details)}function D($,Y){let G=$.response?.status,Q=$.response?.data,X=Q?.error||$.message||`Request failed${G?` (${G})`:""} while trying to ${Y}`,W=Q?.code||$.code;throw new H0(X,G,W,Q?.details??Q)}function s6($){if($ instanceof f1)return!1;if($ instanceof H0||$&&typeof $==="object"&&"status"in $){let Y=$.status;if(Y&&Y>=400&&Y<500)return!1;if(Y&&Y>=500)return!0}if($?.isAxiosError&&!$.response)return!0;if($?.code==="ECONNABORTED"||$?.message?.includes("timeout"))return!0;return!0}async function p8($,Y,G){if(!Y||!Y.trim())throw Error("URL cannot be empty");if(G)U4(G);let Q={url:Y.trim()};if(G)Object.assign(Q,G);try{let X=await $.post("/v2/scrape",Q,typeof G?.timeout==="number"?{timeoutMs:G.timeout+5000}:{});if(X.status!==200||!X.data?.success)E(X,"scrape");return X.data.data||{}}catch(X){if(X?.isAxiosError)return D(X,"scrape");throw X}}async function i8($,Y,G){if(!Y||!Y.trim())throw Error("Job ID cannot be empty");let Q=G?.code&&G.code.trim(),X=G?.prompt&&G.prompt.trim();if(!Q&&!X)throw Error("Either 'code' or 'prompt' must be provided");let W={};if(Q)W.code=G.code;if(X)W.prompt=G.prompt;if(W.language=G.language??"node",G.timeout!=null)W.timeout=G.timeout;if(G.origin)W.origin=G.origin;try{let Z=await $.post(`/v2/scrape/${Y}/interact`,W,G.timeout!=null?{timeoutMs:G.timeout*1000+5000}:{});if(Z.status!==200)E(Z,"interact with scrape browser");return Z.data}catch(Z){if(Z?.isAxiosError)return D(Z,"interact with scrape browser");throw Z}}async function n8($,Y){if(!Y||!Y.trim())throw Error("Job ID cannot be empty");try{let G=await $.delete(`/v2/scrape/${Y}/interact`);if(G.status!==200)E(G,"stop interaction");return G.data}catch(G){if(G?.isAxiosError)return D(G,"stop interaction");throw G}}function p6($,Y){if(typeof Blob<"u"&&$ instanceof Blob){if(Y&&$.type!==Y)return new Blob([$],{type:Y});return $}if(typeof Buffer<"u"&&Buffer.isBuffer($))return new Blob([$],{type:Y});if($ instanceof ArrayBuffer)return new Blob([$],{type:Y});if(ArrayBuffer.isView($))return new Blob([$],{type:Y});if(typeof $==="string")return new Blob([$],{type:Y??"text/plain; charset=utf-8"});throw Error("Unsupported parse file data type")}async function a8($,Y,G){if(!Y||!Y.filename||!Y.filename.trim())throw Error("filename cannot be empty");if(Y.data==null)throw Error("file data cannot be empty");if(p6(Y.data,Y.contentType).size===0)throw Error("file data cannot be empty");if(G)d8(G);let X=t6(),W={...G??{},origin:typeof G?.origin==="string"&&G.origin.includes("mcp")?G.origin:G?.origin??`js-sdk@${X}`},Z=new FormData;Z.append("options",JSON.stringify(W)),Z.append("file",p6(Y.data,Y.contentType),Y.filename.trim());try{let J=await $.postMultipart("/v2/parse",Z,typeof W.timeout==="number"?{timeoutMs:W.timeout+5000}:{});if(J.status!==200||!J.data?.success)E(J,"parse");return J.data.data||{}}catch(J){if(J?.isAxiosError)return D(J,"parse");throw J}}function t8($){if(!$.query||!$.query.trim())throw Error("Query cannot be empty");if($.limit!=null&&$.limit<=0)throw Error("limit must be positive");if($.timeout!=null&&$.timeout<=0)throw Error("timeout must be positive");if($.includeDomains?.length&&$.excludeDomains?.length)throw Error("includeDomains and excludeDomains cannot both be specified");let Y={query:$.query};if($.sources)Y.sources=$.sources;if($.categories)Y.categories=$.categories;if($.includeDomains)Y.includeDomains=$.includeDomains;if($.excludeDomains)Y.excludeDomains=$.excludeDomains;if($.limit!=null)Y.limit=$.limit;if($.tbs!=null)Y.tbs=$.tbs;if($.location!=null)Y.location=$.location;if($.ignoreInvalidURLs!=null)Y.ignoreInvalidURLs=$.ignoreInvalidURLs;if($.timeout!=null)Y.timeout=$.timeout;if($.integration&&$.integration.trim())Y.integration=$.integration.trim();if($.origin)Y.origin=$.origin;if($.scrapeOptions)U4($.scrapeOptions),Y.scrapeOptions=$.scrapeOptions;return Y}function k1($){let Y=[];for(let G of $)if(G&&typeof G==="object")if("markdown"in G||"html"in G||"rawHtml"in G||"links"in G||"screenshot"in G||"changeTracking"in G||"summary"in G||"json"in G)Y.push(G);else Y.push(G);else Y.push({url:G});return Y}async function s8($,Y){let G=t8(Y);try{let Q=await $.post("/v2/search",G,typeof Y.timeout==="number"?{timeoutMs:Y.timeout+5000}:{});if(Q.status!==200||!Q.data?.success)E(Q,"search");let X=Q.data.data||{},W={};if(X.web)W.web=k1(X.web);if(X.news)W.news=k1(X.news);if(X.images)W.images=k1(X.images);return Object.defineProperty(W,"data",{get(){let Z=[];if(W.web?.length)Z.push(`.web (${W.web.length} results)`);if(W.news?.length)Z.push(`.news (${W.news.length} results)`);if(W.images?.length)Z.push(`.images (${W.images.length} results)`);let J=Z.length?Z.join(", "):".web, .news, or .images";throw Error(`SearchData has no '.data'. Results are grouped by source: ${J}`)},enumerable:!1,configurable:!0}),W}catch(Q){if(Q?.isAxiosError)return D(Q,"search");throw Q}}function o8($,Y){if(!$||!$.trim())throw Error("URL cannot be empty");let G={url:$.trim()};if(Y){if(Y.sitemap!=null)G.sitemap=Y.sitemap;if(Y.search!=null)G.search=Y.search;if(Y.includeSubdomains!=null)G.includeSubdomains=Y.includeSubdomains;if(Y.ignoreQueryParameters!=null)G.ignoreQueryParameters=Y.ignoreQueryParameters;if(Y.limit!=null)G.limit=Y.limit;if(Y.timeout!=null)G.timeout=Y.timeout;if(Y.integration!=null&&Y.integration.trim())G.integration=Y.integration.trim();if(Y.origin)G.origin=Y.origin;if(Y.location!=null)G.location=Y.location}return G}async function r8($,Y,G){let Q=o8(Y,G);try{let X=await $.post("/v2/map",Q,typeof G?.timeout==="number"?{timeoutMs:G.timeout+5000}:{});if(X.status!==200||!X.data?.success)E(X,"map");let W=X.data.links||[],Z=[];for(let J of W)if(typeof J==="string")Z.push({url:J});else if(J&&typeof J==="object")Z.push({url:J.url,title:J.title,description:J.description});return{links:Z}}catch(X){if(X?.isAxiosError)return D(X,"map");throw X}}async function y1($,Y,G,Q){let X=G.slice(),W=Y,Z=0,J=Q?.maxPages??void 0,M=Q?.maxResults??void 0,K=Q?.maxWaitTime??void 0,V=Date.now();while(W){if(J!=null&&Z>=J)break;if(K!=null&&(Date.now()-V)/1000>K)break;let B=null;try{B=(await $.get(W)).data}catch{break}if(!B?.success)break;let z=Array.isArray(B.data)?B.data:B.data?.pages||[];for(let U of z){if(M!=null&&X.length>=M)break;X.push(U)}if(M!=null&&X.length>=M)break;W=B.next??(Array.isArray(B.data)?null:B.data?.next)??null,Z+=1}return X}function e8($){if(!$.url||!$.url.trim())throw Error("URL cannot be empty");let Y={url:$.url.trim()};if($.prompt)Y.prompt=$.prompt;if($.excludePaths)Y.excludePaths=$.excludePaths;if($.includePaths)Y.includePaths=$.includePaths;if($.maxDiscoveryDepth!=null)Y.maxDiscoveryDepth=$.maxDiscoveryDepth;if($.sitemap!=null)Y.sitemap=$.sitemap;if($.robotsUserAgent!=null)Y.robotsUserAgent=$.robotsUserAgent;if($.ignoreQueryParameters!=null)Y.ignoreQueryParameters=$.ignoreQueryParameters;if($.deduplicateSimilarURLs!=null)Y.deduplicateSimilarURLs=$.deduplicateSimilarURLs;if($.limit!=null)Y.limit=$.limit;if($.crawlEntireDomain!=null)Y.crawlEntireDomain=$.crawlEntireDomain;if($.allowExternalLinks!=null)Y.allowExternalLinks=$.allowExternalLinks;if($.allowSubdomains!=null)Y.allowSubdomains=$.allowSubdomains;if($.delay!=null)Y.delay=$.delay;if($.maxConcurrency!=null)Y.maxConcurrency=$.maxConcurrency;if($.regexOnFullURL!=null)Y.regexOnFullURL=$.regexOnFullURL;if($.webhook!=null)Y.webhook=$.webhook;if($.integration!=null&&$.integration.trim())Y.integration=$.integration.trim();if($.origin)Y.origin=$.origin;if($.scrapeOptions)U4($.scrapeOptions),Y.scrapeOptions=$.scrapeOptions;if($.zeroDataRetention!=null)Y.zeroDataRetention=$.zeroDataRetention;return Y}async function o6($,Y){let G=e8(Y);try{let Q=await $.post("/v2/crawl",G);if(Q.status!==200||!Q.data?.success)E(Q,"start crawl");return{id:Q.data.id,url:Q.data.url}}catch(Q){if(Q?.isAxiosError)return D(Q,"start crawl");throw Q}}async function m1($,Y,G){try{let Q=await $.get(`/v2/crawl/${Y}`);if(Q.status!==200||!Q.data?.success)E(Q,"get crawl status");let X=Q.data,W=X.data||[];if(!(G?.autoPaginate??!0)||!X.next)return{id:Y,status:X.status,completed:X.completed??0,total:X.total??0,creditsUsed:X.creditsUsed,expiresAt:X.expiresAt,next:X.next??null,data:W};let J=await y1($,X.next,W,G);return{id:Y,status:X.status,completed:X.completed??0,total:X.total??0,creditsUsed:X.creditsUsed,expiresAt:X.expiresAt,next:null,data:J}}catch(Q){if(Q?.isAxiosError)return D(Q,"get crawl status");throw Q}}async function $7($,Y){try{let G=await $.delete(`/v2/crawl/${Y}`);if(G.status!==200)E(G,"cancel crawl");return G.data?.status==="cancelled"}catch(G){if(G?.isAxiosError)return D(G,"cancel crawl");throw G}}async function Y7($,Y,G=2,Q){let X=Date.now();while(!0){try{let W=await m1($,Y);if(["completed","failed","cancelled"].includes(W.status))return W}catch(W){if(!s6(W)){if(W instanceof H0)throw new H0(W.message,W.status,W.code,W.details,Y);throw W}}if(Q!=null&&Date.now()-X>Q*1000)throw new f1(Y,Q,"crawl");await new Promise((W)=>setTimeout(W,Math.max(1000,G*1000)))}}async function G7($,Y,G=2,Q){let X=await o6($,Y);return Y7($,X.id,G,Q)}async function Q7($,Y){try{let G=await $.get(`/v2/crawl/${Y}/errors`);if(G.status!==200)E(G,"get crawl errors");let Q=G.data?.data??G.data;return{errors:Q.errors||[],robotsBlocked:Q.robotsBlocked||[]}}catch(G){if(G?.isAxiosError)return D(G,"get crawl errors");throw G}}async function X7($){try{let Y=await $.get("/v2/crawl/active");if(Y.status!==200||!Y.data?.success)E(Y,"get active crawls");return{success:!0,crawls:(Y.data?.crawls||[]).map((X)=>({id:X.id,teamId:X.teamId??X.team_id,url:X.url,options:X.options??null}))}}catch(Y){if(Y?.isAxiosError)return D(Y,"get active crawls");throw Y}}async function W7($,Y,G){if(!Y||!Y.trim())throw Error("URL cannot be empty");if(!G||!G.trim())throw Error("Prompt cannot be empty");try{let Q=await $.post("/v2/crawl/params-preview",{url:Y.trim(),prompt:G});if(Q.status!==200||!Q.data?.success)E(Q,"crawl params preview");let X=Q.data.data||{};if(Q.data.warning)X.warning=Q.data.warning;return X}catch(Q){if(Q?.isAxiosError)return D(Q,"crawl params preview");throw Q}}async function r6($,Y,{options:G,webhook:Q,appendToId:X,ignoreInvalidURLs:W,maxConcurrency:Z,zeroDataRetention:J,idempotencyKey:M,integration:K,origin:V}={}){if(!Array.isArray(Y)||Y.length===0)throw Error("URLs list cannot be empty");let B={urls:Y};if(G)U4(G),Object.assign(B,G);if(Q!=null)B.webhook=Q;if(X!=null)B.appendToId=X;if(W!=null)B.ignoreInvalidURLs=W;if(Z!=null)B.maxConcurrency=Z;if(J!=null)B.zeroDataRetention=J;if(K!=null&&K.trim())B.integration=K.trim();if(V)B.origin=V;try{let z=$.prepareHeaders(M),U=await $.post("/v2/batch/scrape",B,{headers:z});if(U.status!==200||!U.data?.success)E(U,"start batch scrape");return{id:U.data.id,url:U.data.url,invalidURLs:U.data.invalidURLs||void 0}}catch(z){if(z?.isAxiosError)return D(z,"start batch scrape");throw z}}async function h1($,Y,G){try{let Q=await $.get(`/v2/batch/scrape/${Y}`);if(Q.status!==200||!Q.data?.success)E(Q,"get batch scrape status");let X=Q.data,W=X.data||[];if(!(G?.autoPaginate??!0)||!X.next)return{id:Y,status:X.status,completed:X.completed??0,total:X.total??0,creditsUsed:X.creditsUsed,expiresAt:X.expiresAt,next:X.next??null,data:W};let J=await y1($,X.next,W,G);return{id:Y,status:X.status,completed:X.completed??0,total:X.total??0,creditsUsed:X.creditsUsed,expiresAt:X.expiresAt,next:null,data:J}}catch(Q){if(Q?.isAxiosError)return D(Q,"get batch scrape status");throw Q}}async function Z7($,Y){try{let G=await $.delete(`/v2/batch/scrape/${Y}`);if(G.status!==200)E(G,"cancel batch scrape");return G.data?.status==="cancelled"}catch(G){if(G?.isAxiosError)return D(G,"cancel batch scrape");throw G}}async function J7($,Y){try{let G=await $.get(`/v2/batch/scrape/${Y}/errors`);if(G.status!==200)E(G,"get batch scrape errors");let Q=G.data?.data??G.data;return{errors:Q.errors||[],robotsBlocked:Q.robotsBlocked||[]}}catch(G){if(G?.isAxiosError)return D(G,"get batch scrape errors");throw G}}async function N7($,Y,G=2,Q){let X=Date.now();while(!0){try{let W=await h1($,Y);if(["completed","failed","cancelled"].includes(W.status))return W}catch(W){if(!s6(W)){if(W instanceof H0)throw new H0(W.message,W.status,W.code,W.details,Y);throw W}}if(Q!=null&&Date.now()-X>Q*1000)throw new f1(Y,Q,"batch");await new Promise((W)=>setTimeout(W,Math.max(1000,G*1000)))}}async function M7($,Y,G={}){let Q=await r6($,Y,G);return N7($,Q.id,G.pollInterval??2,G.timeout)}function K7($){let Y={};if($.urls)Y.urls=$.urls;if($.prompt!=null)Y.prompt=$.prompt;if($.schema!=null)Y.schema=l0($.schema)?$0($.schema):$.schema;if($.systemPrompt!=null)Y.systemPrompt=$.systemPrompt;if($.allowExternalLinks!=null)Y.allowExternalLinks=$.allowExternalLinks;if($.enableWebSearch!=null)Y.enableWebSearch=$.enableWebSearch;if($.showSources!=null)Y.showSources=$.showSources;if($.ignoreInvalidURLs!=null)Y.ignoreInvalidURLs=$.ignoreInvalidURLs;if($.integration&&$.integration.trim())Y.integration=$.integration.trim();if($.origin)Y.origin=$.origin;if($.agent)Y.agent=$.agent;if($.scrapeOptions)U4($.scrapeOptions),Y.scrapeOptions=$.scrapeOptions;return Y}async function e6($,Y){let G=K7(Y);try{let Q=await $.post("/v2/extract",G);if(Q.status!==200)E(Q,"extract");return Q.data}catch(Q){if(Q?.isAxiosError)return D(Q,"extract");throw Q}}async function $2($,Y){try{let G=await $.get(`/v2/extract/${Y}`);if(G.status!==200)E(G,"extract status");return G.data}catch(G){if(G?.isAxiosError)return D(G,"extract status");throw G}}async function V7($,Y,G=2,Q){let X=Date.now();while(!0){let W=await $2($,Y);if(["completed","failed","cancelled"].includes(W.status||""))return W;if(Q!=null&&Date.now()-X>Q*1000)return W;await new Promise((Z)=>setTimeout(Z,Math.max(1000,G*1000)))}}async function B7($,Y){let G=await e6($,Y),Q=G.id;if(!Q)return G;return V7($,Q,Y.pollInterval??2,Y.timeout)}function z7($){let Y={};if($.urls)Y.urls=$.urls;if(Y.prompt=$.prompt,$.schema!=null)Y.schema=l0($.schema)?$0($.schema):$.schema;if($.integration&&$.integration.trim())Y.integration=$.integration.trim();if($.origin)Y.origin=$.origin;if($.maxCredits!==null&&$.maxCredits!==void 0)Y.maxCredits=$.maxCredits;if($.strictConstrainToURLs!==null&&$.strictConstrainToURLs!==void 0)Y.strictConstrainToURLs=$.strictConstrainToURLs;if($.model!==null&&$.model!==void 0)Y.model=$.model;if($.webhook!=null)Y.webhook=$.webhook;return Y}async function Y2($,Y){let G=z7(Y);try{let Q=await $.post("/v2/agent",G);if(Q.status!==200)E(Q,"agent");return Q.data}catch(Q){if(Q?.isAxiosError)return D(Q,"agent");throw Q}}async function G2($,Y){try{let G=await $.get(`/v2/agent/${Y}`);if(G.status!==200)E(G,"agent status");return G.data}catch(G){if(G?.isAxiosError)return D(G,"agent status");throw G}}async function L7($,Y,G=2,Q){let X=Date.now();while(!0){let W=await G2($,Y);if(["completed","failed","cancelled"].includes(W.status||""))return W;if(Q!=null&&Date.now()-X>Q*1000)return W;await new Promise((Z)=>setTimeout(Z,Math.max(1000,G*1000)))}}async function U7($,Y){let G=await Y2($,Y),Q=G.id;if(!Q)return G;return L7($,Q,Y.pollInterval??2,Y.timeout)}async function _7($,Y){try{let G=await $.delete(`/v2/agent/${Y}`);if(G.status!==200)E(G,"cancel agent");return G.data?.success===!0}catch(G){if(G?.isAxiosError)return D(G,"cancel agent");throw G}}async function P7($,Y={}){let G={};if(Y.ttl!=null)G.ttl=Y.ttl;if(Y.activityTtl!=null)G.activityTtl=Y.activityTtl;if(Y.streamWebView!=null)G.streamWebView=Y.streamWebView;if(Y.profile!=null)G.profile=Y.profile;if(Y.integration!=null)G.integration=Y.integration;if(Y.origin)G.origin=Y.origin;try{let Q=await $.post("/v2/browser",G);if(Q.status!==200)E(Q,"create browser session");return Q.data}catch(Q){if(Q?.isAxiosError)return D(Q,"create browser session");throw Q}}async function O7($,Y,G){let Q={code:G.code,language:G.language??"bash"};if(G.timeout!=null)Q.timeout=G.timeout;try{let X=await $.post(`/v2/browser/${Y}/execute`,Q,G.timeout!=null?{timeoutMs:G.timeout*1000+5000}:{});if(X.status!==200)E(X,"execute browser code");return X.data}catch(X){if(X?.isAxiosError)return D(X,"execute browser code");throw X}}async function H7($,Y){try{let G=await $.delete(`/v2/browser/${Y}`);if(G.status!==200)E(G,"delete browser session");return G.data}catch(G){if(G?.isAxiosError)return D(G,"delete browser session");throw G}}async function F7($,Y={}){let G="/v2/browser";if(Y.status)G+=`?status=${Y.status}`;try{let Q=await $.get(G);if(Q.status!==200)E(Q,"list browser sessions");return Q.data}catch(Q){if(Q?.isAxiosError)return D(Q,"list browser sessions");throw Q}}async function C7($){try{let Y=await $.get("/v2/concurrency-check");if(Y.status!==200||!Y.data?.success)E(Y,"get concurrency");let G=Y.data.data||Y.data;return{concurrency:G.concurrency,maxConcurrency:G.maxConcurrency??G.max_concurrency}}catch(Y){if(Y?.isAxiosError)return D(Y,"get concurrency");throw Y}}async function T7($){try{let Y=await $.get("/v2/team/credit-usage");if(Y.status!==200||!Y.data?.success)E(Y,"get credit usage");let G=Y.data.data||Y.data;return{remainingCredits:G.remainingCredits??G.remaining_credits??0,planCredits:G.planCredits??G.plan_credits,billingPeriodStart:G.billingPeriodStart??G.billing_period_start??null,billingPeriodEnd:G.billingPeriodEnd??G.billing_period_end??null}}catch(Y){if(Y?.isAxiosError)return D(Y,"get credit usage");throw Y}}async function I7($){try{let Y=await $.get("/v2/team/token-usage");if(Y.status!==200||!Y.data?.success)E(Y,"get token usage");let G=Y.data.data||Y.data;return{remainingTokens:G.remainingTokens??G.remaining_tokens??0,planTokens:G.planTokens??G.plan_tokens,billingPeriodStart:G.billingPeriodStart??G.billing_period_start??null,billingPeriodEnd:G.billingPeriodEnd??G.billing_period_end??null}}catch(Y){if(Y?.isAxiosError)return D(Y,"get token usage");throw Y}}async function R7($){try{let Y=await $.get("/v2/team/queue-status");if(Y.status!==200||!Y.data?.success)E(Y,"get queue status");return Y.data}catch(Y){if(Y?.isAxiosError)return D(Y,"get queue status");throw Y}}async function D7($,Y){try{let G=Y?"?byApiKey=true":"",Q=await $.get(`/v2/team/credit-usage/historical${G}`);if(Q.status!==200||!Q.data?.success)E(Q,"get credit usage historical");return Q.data}catch(G){if(G?.isAxiosError)return D(G,"get credit usage historical");throw G}}async function S7($,Y){try{let G=Y?"?byApiKey=true":"",Q=await $.get(`/v2/team/token-usage/historical${G}`);if(Q.status!==200||!Q.data?.success)E(Q,"get token usage historical");return Q.data}catch(G){if(G?.isAxiosError)return D(G,"get token usage historical");throw G}}function g1($){if(!$)return"";let Y=new URLSearchParams;for(let[Q,X]of Object.entries($))if(X!==void 0&&X!==null)Y.set(Q,String(X));let G=Y.toString();return G?`?${G}`:""}function q0($,Y){if($.status!==200||!$.data?.success||$.data.data==null)E($,Y);return $.data.data}async function w7($,Y){try{let G=await $.post("/v2/monitor",Y);return q0(G,"create monitor")}catch(G){if(G?.isAxiosError)return D(G,"create monitor");throw G}}async function E7($,Y){try{let G=await $.get(`/v2/monitor${g1(Y)}`);return q0(G,"list monitors")}catch(G){if(G?.isAxiosError)return D(G,"list monitors");throw G}}async function q7($,Y){try{let G=await $.get(`/v2/monitor/${Y}`);return q0(G,"get monitor")}catch(G){if(G?.isAxiosError)return D(G,"get monitor");throw G}}async function A7($,Y,G){try{let Q=await $.patch(`/v2/monitor/${Y}`,G);return q0(Q,"update monitor")}catch(Q){if(Q?.isAxiosError)return D(Q,"update monitor");throw Q}}async function k7($,Y){try{let G=await $.delete(`/v2/monitor/${Y}`);if(G.status!==200||!G.data?.success)E(G,"delete monitor");return!0}catch(G){if(G?.isAxiosError)return D(G,"delete monitor");throw G}}async function j7($,Y){try{let G=await $.post(`/v2/monitor/${Y}/run`,{});return q0(G,"run monitor")}catch(G){if(G?.isAxiosError)return D(G,"run monitor");throw G}}async function x7($,Y,G){try{let Q=await $.get(`/v2/monitor/${Y}/checks${g1(G)}`);return q0(Q,"list monitor checks")}catch(Q){if(Q?.isAxiosError)return D(Q,"list monitor checks");throw Q}}async function v7($,Y,G,Q){try{let{autoPaginate:X,maxPages:W,maxResults:Z,maxWaitTime:J,...M}=Q??{},K=await $.get(`/v2/monitor/${Y}/checks/${G}${g1(M)}`),V=q0(K,"get monitor check"),B=K.data?.next??V.next??null;if(!(Q?.autoPaginate??!0)||!B)return{...V,next:B};return{...V,pages:await y1($,B,V.pages||[],Q),next:null}}catch(X){if(X?.isAxiosError)return D(X,"get monitor check");throw X}}var h8=class{instance;apiKey;apiUrl;maxRetries;backoffFactor;constructor($){this.apiKey=$.apiKey,this.apiUrl=$.apiUrl.replace(/\/$/,""),this.maxRetries=$.maxRetries??3,this.backoffFactor=$.backoffFactor??0.5,this.instance=L0.create({baseURL:this.apiUrl,timeout:$.timeoutMs??300000,headers:{Authorization:`Bearer ${this.apiKey}`},transitional:{clarifyTimeoutError:!0}})}getApiUrl(){return this.apiUrl}getApiKey(){return this.apiKey}async request($){let Y=t6();$.headers={...$.headers||{}};let G;for(let Q=0;Q<this.maxRetries;Q++)try{let X={...$},W=typeof FormData<"u"&&X.data instanceof FormData;if(!W&&X.data!=null&&typeof X.data==="object"&&!Array.isArray(X.data)&&X.method&&["post","put","patch"].includes(X.method.toLowerCase())){let M=X.data??{};X.data={...M,origin:typeof M.origin==="string"&&M.origin.includes("mcp")?M.origin:`js-sdk@${Y}`}}if(W)X.headers={...X.headers||{}},delete X.headers["Content-Type"],delete X.headers["content-type"];let J=await this.instance.request(X);if(J.status===502&&Q<this.maxRetries-1){await this.sleep(this.backoffFactor*Math.pow(2,Q));continue}return J}catch(X){if(G=X,X?.response?.status===502&&Q<this.maxRetries-1){await this.sleep(this.backoffFactor*Math.pow(2,Q));continue}throw X}throw G??Error("Unexpected HTTP client error")}sleep($){return new Promise((Y)=>setTimeout(Y,$*1000))}post($,Y,G){return this.request({method:"post",url:$,data:Y,headers:G?.headers,timeout:G?.timeoutMs})}postMultipart($,Y,G){return this.request({method:"post",url:$,data:Y,headers:G?.headers,timeout:G?.timeoutMs})}get($,Y){return this.request({method:"get",url:$,headers:Y})}delete($,Y){return this.request({method:"delete",url:$,headers:Y})}patch($,Y,G){return this.request({method:"patch",url:$,data:Y,headers:G?.headers,timeout:G?.timeoutMs})}prepareHeaders($){let Y={};if($)Y["x-idempotency-key"]=$;return Y}},H0,f1,f7=()=>{if(typeof globalThis>"u")return;let $=globalThis.WebSocket;return typeof $==="function"?$:void 0},y7=()=>typeof process<"u"&&!!process.versions?.node,c0,j1,m7=async()=>{if(!y7())return;try{let $=await import("./index-0.6.0-wb1ws1yr.mjs"),Y=$.WebSocket??$.default?.WebSocket;return typeof Y==="function"?Y:void 0}catch{return}},h7=async()=>{if(c0)return c0;let $=f7();if($)return c0=$,c0;if(!j1)j1=m7();return c0=await j1,c0},g7,u7=($)=>{if(typeof $==="string")return $;if(typeof Buffer<"u"&&Buffer.isBuffer($))return $.toString("utf8");let Y=(G)=>{if(typeof Buffer<"u")return Buffer.from(G.buffer,G.byteOffset,G.byteLength).toString("utf8");return g7?.decode(G)};if(ArrayBuffer.isView($))return Y($);if($ instanceof ArrayBuffer)return Y(new Uint8Array($));return},c7,v1=class{http;isCloudService($){return $.includes("api.firecrawl.dev")}constructor($={}){let Y=typeof $==="string"?{apiKey:$}:$,G=(Y.apiKey??process.env.FIRECRAWL_API_KEY??"").trim(),Q=(Y.apiUrl??process.env.FIRECRAWL_API_URL??"https://api.firecrawl.dev").replace(/\/$/,"");if(this.isCloudService(Q)&&!G)throw Error("API key is required for the cloud API. Set FIRECRAWL_API_KEY env or pass apiKey.");this.http=new h8({apiKey:G,apiUrl:Q,timeoutMs:Y.timeoutMs,maxRetries:Y.maxRetries,backoffFactor:Y.backoffFactor})}async scrape($,Y){return p8(this.http,$,Y)}async interact($,Y){return i8(this.http,$,Y)}async stopInteraction($){return n8(this.http,$)}async scrapeExecute($,Y){return this.interact($,Y)}async stopInteractiveBrowser($){return this.stopInteraction($)}async deleteScrapeBrowser($){return this.stopInteraction($)}async parse($,Y){return a8(this.http,$,Y)}async search($,Y={}){return s8(this.http,{query:$,...Y})}async map($,Y){return r8(this.http,$,Y)}async startCrawl($,Y={}){return o6(this.http,{url:$,...Y})}async getCrawlStatus($,Y){return m1(this.http,$,Y)}async cancelCrawl($){return $7(this.http,$)}async crawl($,Y={}){return G7(this.http,{url:$,...Y},Y.pollInterval,Y.timeout)}async getCrawlErrors($){return Q7(this.http,$)}async getActiveCrawls(){return X7(this.http)}async crawlParamsPreview($,Y){return W7(this.http,$,Y)}async createMonitor($){return w7(this.http,$)}async listMonitors($){return E7(this.http,$)}async getMonitor($){return q7(this.http,$)}async updateMonitor($,Y){return A7(this.http,$,Y)}async deleteMonitor($){return k7(this.http,$)}async runMonitor($){return j7(this.http,$)}async listMonitorChecks($,Y){return x7(this.http,$,Y)}async getMonitorCheck($,Y,G){return v7(this.http,$,Y,G)}async startBatchScrape($,Y){return r6(this.http,$,Y)}async getBatchScrapeStatus($,Y){return h1(this.http,$,Y)}async getBatchScrapeErrors($){return J7(this.http,$)}async cancelBatchScrape($){return Z7(this.http,$)}async batchScrape($,Y){return M7(this.http,$,Y)}async startExtract($){return e6(this.http,$)}async getExtractStatus($){return $2(this.http,$)}async extract($){return B7(this.http,$)}async startAgent($){return Y2(this.http,$)}async getAgentStatus($){return G2(this.http,$)}async agent($){return U7(this.http,$)}async cancelAgent($){return _7(this.http,$)}async browser($={}){return P7(this.http,$)}async browserExecute($,Y){return O7(this.http,$,Y)}async deleteBrowser($){return H7(this.http,$)}async listBrowsers($={}){return F7(this.http,$)}async getConcurrency(){return C7(this.http)}async getCreditUsage(){return T7(this.http)}async getTokenUsage(){return I7(this.http)}async getCreditUsageHistorical($){return D7(this.http,$)}async getTokenUsageHistorical($){return S7(this.http,$)}async getQueueStatus(){return R7(this.http)}watcher($,Y={}){return new c7(this.http,$,Y)}async scrapeUrl($,Y){return this.scrape($,Y)}async crawlUrl($,Y={}){return this.crawl($,Y)}async asyncCrawlUrl($,Y={}){return this.startCrawl($,Y)}async checkCrawlStatus($,Y){return this.getCrawlStatus($,Y)}async checkCrawlErrors($){return this.getCrawlErrors($)}async mapUrl($,Y){return this.map($,Y)}async batchScrapeUrls($,Y){return this.batchScrape($,Y)}async asyncBatchScrapeUrls($,Y){return this.startBatchScrape($,Y)}async checkBatchScrapeStatus($,Y){return this.getBatchScrapeStatus($,Y)}async checkBatchScrapeErrors($){return this.getBatchScrapeErrors($)}},l7,C,d7=class{apiKey;apiUrl;version="1.25.1";isCloudService($){return $.includes("api.firecrawl.dev")}async getVersion(){try{if(typeof process<"u"&&process.env&&process.env.npm_package_version)return process.env.npm_package_version;return(await import("./package-D6422PQU-0.6.0-vx7g6m15.mjs")).default.version}catch($){if(!(typeof process<"u"&&(process.env.JEST_WORKER_ID!=null||!1)))console.error("Error getting version:",$);return"1.25.1"}}async init(){this.version=await this.getVersion()}constructor({apiKey:$=null,apiUrl:Y=null}){let G=Y||"https://api.firecrawl.dev";if(this.isCloudService(G)&&typeof $!=="string")throw new C("No API key provided",401);this.apiKey=$||"",this.apiUrl=G,this.init()}async scrapeUrl($,Y){let G={"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},Q={url:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};if(Q?.extract?.schema)Q={...Q,extract:{...Q.extract,schema:$0(Q.extract.schema)}};if(Q?.jsonOptions?.schema)Q={...Q,jsonOptions:{...Q.jsonOptions,schema:$0(Q.jsonOptions.schema)}};try{let X=await L0.post(this.apiUrl+"/v1/scrape",Q,{headers:G,timeout:Y?.timeout!==void 0?Y.timeout+5000:void 0});if(X.status===200){let W=X.data;if(W.success)return{success:!0,warning:W.warning,error:W.error,...W.data};else throw new C(`Failed to scrape URL. Error: ${W.error}`,X.status)}else this.handleError(X,"scrape URL")}catch(X){this.handleError(X.response,"scrape URL")}return{success:!1,error:"Internal server error."}}async search($,Y){let G={"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},Q={query:$,limit:Y?.limit??5,tbs:Y?.tbs,filter:Y?.filter,lang:Y?.lang??"en",country:Y?.country??"us",location:Y?.location,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`,timeout:Y?.timeout??60000,scrapeOptions:Y?.scrapeOptions??{formats:[]}};if(Q?.scrapeOptions?.extract?.schema)Q={...Q,scrapeOptions:{...Q.scrapeOptions,extract:{...Q.scrapeOptions.extract,schema:$0(Q.scrapeOptions.extract.schema)}}};try{let X=await this.postRequest(this.apiUrl+"/v1/search",Q,G);if(X.status===200){let W=X.data;if(W.success)return{success:!0,data:W.data,warning:W.warning};else throw new C(`Failed to search. Error: ${W.error}`,X.status)}else this.handleError(X,"search")}catch(X){if(X.response?.data?.error)throw new C(`Request failed with status code ${X.response.status}. Error: ${X.response.data.error} ${X.response.data.details?` - ${JSON.stringify(X.response.data.details)}`:""}`,X.response.status);else throw new C(X.message,500)}return{success:!1,error:"Internal server error.",data:[]}}async crawlUrl($,Y,G=2,Q){let X=this.prepareHeaders(Q),W={url:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};try{let Z=await this.postRequest(this.apiUrl+"/v1/crawl",W,X);if(Z.status===200){let J=Z.data.id;return this.monitorJobStatus(J,X,G)}else this.handleError(Z,"start crawl job")}catch(Z){if(Z.response?.data?.error)throw new C(`Request failed with status code ${Z.response.status}. Error: ${Z.response.data.error} ${Z.response.data.details?` - ${JSON.stringify(Z.response.data.details)}`:""}`,Z.response.status);else throw new C(Z.message,500)}return{success:!1,error:"Internal server error."}}async asyncCrawlUrl($,Y,G){let Q=this.prepareHeaders(G),X={url:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};try{let W=await this.postRequest(this.apiUrl+"/v1/crawl",X,Q);if(W.status===200)return W.data;else this.handleError(W,"start crawl job")}catch(W){if(W.response?.data?.error)throw new C(`Request failed with status code ${W.response.status}. Error: ${W.response.data.error} ${W.response.data.details?` - ${JSON.stringify(W.response.data.details)}`:""}`,W.response.status);else throw new C(W.message,500)}return{success:!1,error:"Internal server error."}}async checkCrawlStatus($,Y=!1,G,Q,X){if(!$)throw new C("No crawl ID provided",400);let W=this.prepareHeaders(),Z=new URL(G??`${this.apiUrl}/v1/crawl/${$}`);if(Q!==void 0)Z.searchParams.set("skip",Q.toString());if(X!==void 0)Z.searchParams.set("limit",X.toString());try{let J=await this.getRequest(Z.href,W);if(J.status===200){let M=J.data.data;if(Y&&J.data.status==="completed"){let V=J.data;if("data"in V){let B=V.data;while(typeof V==="object"&&"next"in V){if(B.length===0)break;V=(await this.getRequest(V.next,W)).data,B=B.concat(V.data)}M=B}}let K={success:J.data.success,status:J.data.status,total:J.data.total,completed:J.data.completed,creditsUsed:J.data.creditsUsed,next:Y?void 0:J.data.next,expiresAt:new Date(J.data.expiresAt),data:M};if(!J.data.success&&J.data.error)K={...K,success:!1,error:J.data.error};if(J.data.next)K.next=J.data.next;return K}else this.handleError(J,"check crawl status")}catch(J){throw new C(J.message,500)}return{success:!1,error:"Internal server error."}}async checkCrawlErrors($){let Y=this.prepareHeaders();try{let G=await this.deleteRequest(`${this.apiUrl}/v1/crawl/${$}/errors`,Y);if(G.status===200)return G.data;else this.handleError(G,"check crawl errors")}catch(G){throw new C(G.message,500)}return{success:!1,error:"Internal server error."}}async cancelCrawl($){let Y=this.prepareHeaders();try{let G=await this.deleteRequest(`${this.apiUrl}/v1/crawl/${$}`,Y);if(G.status===200)return G.data;else this.handleError(G,"cancel crawl job")}catch(G){throw new C(G.message,500)}return{success:!1,error:"Internal server error."}}async crawlUrlAndWatch($,Y,G){let Q=await this.asyncCrawlUrl($,Y,G);if(Q.success&&Q.id){let X=Q.id;return new i6(X,this)}throw new C("Crawl job failed to start",400)}async mapUrl($,Y){let G=this.prepareHeaders(),Q={url:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};try{let X=await this.postRequest(this.apiUrl+"/v1/map",Q,G);if(X.status===200)return X.data;else this.handleError(X,"map")}catch(X){throw new C(X.message,500)}return{success:!1,error:"Internal server error."}}async batchScrapeUrls($,Y,G=2,Q,X,W,Z){let J=this.prepareHeaders(Q),M={urls:$,webhook:X,ignoreInvalidURLs:W,maxConcurrency:Z,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};if(M?.extract?.schema)M={...M,extract:{...M.extract,schema:$0(M.extract.schema)}};if(M?.jsonOptions?.schema)M={...M,jsonOptions:{...M.jsonOptions,schema:$0(M.jsonOptions.schema)}};try{let K=await this.postRequest(this.apiUrl+"/v1/batch/scrape",M,J);if(K.status===200){let V=K.data.id;return this.monitorJobStatus(V,J,G)}else this.handleError(K,"start batch scrape job")}catch(K){if(K.response?.data?.error)throw new C(`Request failed with status code ${K.response.status}. Error: ${K.response.data.error} ${K.response.data.details?` - ${JSON.stringify(K.response.data.details)}`:""}`,K.response.status);else throw new C(K.message,500)}return{success:!1,error:"Internal server error."}}async asyncBatchScrapeUrls($,Y,G,Q,X){let W=this.prepareHeaders(G),Z={urls:$,webhook:Q,ignoreInvalidURLs:X,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};try{let J=await this.postRequest(this.apiUrl+"/v1/batch/scrape",Z,W);if(J.status===200)return J.data;else this.handleError(J,"start batch scrape job")}catch(J){if(J.response?.data?.error)throw new C(`Request failed with status code ${J.response.status}. Error: ${J.response.data.error} ${J.response.data.details?` - ${JSON.stringify(J.response.data.details)}`:""}`,J.response.status);else throw new C(J.message,500)}return{success:!1,error:"Internal server error."}}async batchScrapeUrlsAndWatch($,Y,G,Q,X){let W=await this.asyncBatchScrapeUrls($,Y,G,Q,X);if(W.success&&W.id){let Z=W.id;return new i6(Z,this)}throw new C("Batch scrape job failed to start",400)}async checkBatchScrapeStatus($,Y=!1,G,Q,X){if(!$)throw new C("No batch scrape ID provided",400);let W=this.prepareHeaders(),Z=new URL(G??`${this.apiUrl}/v1/batch/scrape/${$}`);if(Q!==void 0)Z.searchParams.set("skip",Q.toString());if(X!==void 0)Z.searchParams.set("limit",X.toString());try{let J=await this.getRequest(Z.href,W);if(J.status===200){let M=J.data.data;if(Y&&J.data.status==="completed"){let V=J.data;if("data"in V){let B=V.data;while(typeof V==="object"&&"next"in V){if(B.length===0)break;V=(await this.getRequest(V.next,W)).data,B=B.concat(V.data)}M=B}}let K={success:J.data.success,status:J.data.status,total:J.data.total,completed:J.data.completed,creditsUsed:J.data.creditsUsed,next:Y?void 0:J.data.next,expiresAt:new Date(J.data.expiresAt),data:M};if(!J.data.success&&J.data.error)K={...K,success:!1,error:J.data.error};if(J.data.next)K.next=J.data.next;return K}else this.handleError(J,"check batch scrape status")}catch(J){throw new C(J.message,500)}return{success:!1,error:"Internal server error."}}async checkBatchScrapeErrors($){let Y=this.prepareHeaders();try{let G=await this.deleteRequest(`${this.apiUrl}/v1/batch/scrape/${$}/errors`,Y);if(G.status===200)return G.data;else this.handleError(G,"check batch scrape errors")}catch(G){throw new C(G.message,500)}return{success:!1,error:"Internal server error."}}async extract($,Y){let G=this.prepareHeaders(),Q={urls:$,...Y},X=Y?.schema?$0(Y.schema):void 0;try{let W=await this.postRequest(this.apiUrl+"/v1/extract",{...Q,schema:X,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`},G);if(W.status===200){let Z=W.data.id,J;do{let M=await this.getRequest(`${this.apiUrl}/v1/extract/${Z}`,G);if(J=M.data,J.status==="completed")if(J.success)return{success:!0,data:J.data,warning:J.warning,error:J.error,sources:J?.sources||void 0};else throw new C(`Failed to extract data. Error: ${J.error}`,M.status);else if(J.status==="failed"||J.status==="cancelled")throw new C(`Extract job ${J.status}. Error: ${J.error}`,M.status);await new Promise((K)=>setTimeout(K,1000))}while(J.status!=="completed")}else this.handleError(W,"extract")}catch(W){throw new C(W.message,500,W.response?.data?.details)}return{success:!1,error:"Internal server error."}}async asyncExtract($,Y,G){let Q=this.prepareHeaders(G),X={urls:$,...Y},W=Y?.schema?$0(Y.schema):void 0;try{let Z=await this.postRequest(this.apiUrl+"/v1/extract",{...X,schema:W,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`},Q);if(Z.status===200)return Z.data;else this.handleError(Z,"start extract job")}catch(Z){throw new C(Z.message,500,Z.response?.data?.details)}return{success:!1,error:"Internal server error."}}async getExtractStatus($){try{let Y=await this.getRequest(`${this.apiUrl}/v1/extract/${$}`,this.prepareHeaders());if(Y.status===200)return Y.data;else this.handleError(Y,"get extract status")}catch(Y){throw new C(Y.message,500)}}prepareHeaders($){return{"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`,...$?{"x-idempotency-key":$}:{}}}postRequest($,Y,G){return L0.post($,Y,{headers:G,timeout:Y?.timeout?Y.timeout+5000:void 0})}async getRequest($,Y){try{return await L0.get($,{headers:Y})}catch(G){if(G instanceof h4&&G.response)return G.response;else throw G}}async deleteRequest($,Y){try{return await L0.delete($,{headers:Y})}catch(G){if(G instanceof h4&&G.response)return G.response;else throw G}}async monitorJobStatus($,Y,G){let Q=0,X=0,W=3;while(!0)try{let Z=await this.getRequest(`${this.apiUrl}/v1/crawl/${$}`,Y);if(Z.status===200){Q=0,X=0;let J=Z.data;if(J.status==="completed")if("data"in J){let M=J.data;while(typeof J==="object"&&"next"in J){if(M.length===0)break;Z=await this.getRequest(J.next,Y),J=Z.data,M=M.concat(J.data)}return J.data=M,J}else throw new C("Crawl job completed but no data was returned",500);else if(["active","paused","pending","queued","waiting","scraping"].includes(J.status))G=Math.max(G,2),await new Promise((M)=>setTimeout(M,G*1000));else throw new C(`Crawl job failed or was stopped. Status: ${J.status}`,500)}else if(Q++,Q>=3)this.handleError(Z,"check crawl status")}catch(Z){if(this.isRetryableError(Z)&&X<W){X++;let J=Math.min(1000*Math.pow(2,X-1),1e4);await new Promise((M)=>setTimeout(M,J));continue}throw new C(Z,500)}}isRetryableError($){if($ instanceof h4){if(!$.response){let Y=$.code,G=$.message?.toLowerCase()||"";return Y==="ECONNRESET"||Y==="ETIMEDOUT"||Y==="ENOTFOUND"||Y==="ECONNREFUSED"||G.includes("socket hang up")||G.includes("network error")||G.includes("timeout")}if($.response?.status===408||$.response?.status===504)return!0}if($&&typeof $==="object"){let Y=$.code,G=$.message?.toLowerCase()||"";if(Y==="ECONNRESET"||Y==="ETIMEDOUT"||Y==="ENOTFOUND"||Y==="ECONNREFUSED"||G.includes("socket hang up")||G.includes("network error")||G.includes("timeout"))return!0;if($.response?.status===408||$.response?.status===504)return!0}return!1}handleError($,Y){if(!$)throw new C(`No response received while trying to ${Y}. This may be a network error or the server is unreachable.`,0);if([400,402,403,408,409,500].includes($.status)){let G=$.data.error||"Unknown error occurred",Q=$.data.details?` - ${JSON.stringify($.data.details)}`:"";throw new C(`Failed to ${Y}. Status code: ${$.status}. Error: ${G}${Q}`,$.status,$?.data?.details)}else throw new C(`Unexpected error occurred while trying to ${Y}. Status code: ${$.status}`,$.status)}async deepResearch($,Y,G,Q){try{let X=await this.asyncDeepResearch($,Y);if(!X.success||"error"in X)return{success:!1,error:"error"in X?X.error:"Unknown error"};if(!X.id)throw new C("Failed to start research. No job ID returned.",500);let W=X.id,Z,J=0,M=0;while(!0){if(Z=await this.checkDeepResearchStatus(W),"error"in Z&&!Z.success)return Z;if(G&&Z.activities){let K=Z.activities.slice(J);for(let V of K)G(V);J=Z.activities.length}if(Q&&Z.sources){let K=Z.sources.slice(M);for(let V of K)Q(V);M=Z.sources.length}if(Z.status==="completed")return Z;if(Z.status==="failed")throw new C(`Research job ${Z.status}. Error: ${Z.error}`,500);if(Z.status!=="processing")break;await new Promise((K)=>setTimeout(K,2000))}return{success:!1,error:"Research job terminated unexpectedly"}}catch(X){throw new C(X.message,500,X.response?.data?.details)}}async asyncDeepResearch($,Y){let G=this.prepareHeaders(),Q={query:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};if(Q?.jsonOptions?.schema)Q={...Q,jsonOptions:{...Q.jsonOptions,schema:$0(Q.jsonOptions.schema)}};try{let X=await this.postRequest(`${this.apiUrl}/v1/deep-research`,Q,G);if(X.status===200)return X.data;else this.handleError(X,"start deep research")}catch(X){if(X.response?.data?.error)throw new C(`Request failed with status code ${X.response.status}. Error: ${X.response.data.error} ${X.response.data.details?` - ${JSON.stringify(X.response.data.details)}`:""}`,X.response.status);else throw new C(X.message,500)}return{success:!1,error:"Internal server error."}}async checkDeepResearchStatus($){let Y=this.prepareHeaders();try{let G=await this.getRequest(`${this.apiUrl}/v1/deep-research/${$}`,Y);if(G.status===200)return G.data;else if(G.status===404)throw new C("Deep research job not found",404);else this.handleError(G,"check deep research status")}catch(G){if(G.response?.data?.error)throw new C(`Request failed with status code ${G.response.status}. Error: ${G.response.data.error} ${G.response.data.details?` - ${JSON.stringify(G.response.data.details)}`:""}`,G.response.status);else throw new C(G.message,500)}return{success:!1,error:"Internal server error."}}async __deepResearch($,Y,G){try{let Q=await this.__asyncDeepResearch($,Y);if(!Q.success||"error"in Q)return{success:!1,error:"error"in Q?Q.error:"Unknown error"};if(!Q.id)throw new C("Failed to start research. No job ID returned.",500);let X=Q.id,W,Z=0;while(!0){if(W=await this.__checkDeepResearchStatus(X),"error"in W&&!W.success)return W;if(G&&W.activities){let J=W.activities.slice(Z);for(let M of J)G(M);Z=W.activities.length}if(W.status==="completed")return W;if(W.status==="failed")throw new C(`Research job ${W.status}. Error: ${W.error}`,500);if(W.status!=="processing")break;await new Promise((J)=>setTimeout(J,2000))}return{success:!1,error:"Research job terminated unexpectedly"}}catch(Q){throw new C(Q.message,500,Q.response?.data?.details)}}async __asyncDeepResearch($,Y){let G=this.prepareHeaders();try{let Q={topic:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`},X=await this.postRequest(`${this.apiUrl}/v1/deep-research`,Q,G);if(X.status===200)return X.data;else this.handleError(X,"start deep research")}catch(Q){if(Q.response?.data?.error)throw new C(`Request failed with status code ${Q.response.status}. Error: ${Q.response.data.error} ${Q.response.data.details?` - ${JSON.stringify(Q.response.data.details)}`:""}`,Q.response.status);else throw new C(Q.message,500)}return{success:!1,error:"Internal server error."}}async __checkDeepResearchStatus($){let Y=this.prepareHeaders();try{let G=await this.getRequest(`${this.apiUrl}/v1/deep-research/${$}`,Y);if(G.status===200)return G.data;else if(G.status===404)throw new C("Deep research job not found",404);else this.handleError(G,"check deep research status")}catch(G){if(G.response?.data?.error)throw new C(`Request failed with status code ${G.response.status}. Error: ${G.response.data.error} ${G.response.data.details?` - ${JSON.stringify(G.response.data.details)}`:""}`,G.response.status);else throw new C(G.message,500)}return{success:!1,error:"Internal server error."}}async generateLLMsText($,Y){try{let G=await this.asyncGenerateLLMsText($,Y);if(!G.success||"error"in G)return{success:!1,error:"error"in G?G.error:"Unknown error"};if(!G.id)throw new C("Failed to start LLMs.txt generation. No job ID returned.",500);let Q=G.id,X;while(!0){if(X=await this.checkGenerateLLMsTextStatus(Q),"error"in X&&!X.success)return X;if(X.status==="completed")return X;if(X.status==="failed")throw new C(`LLMs.txt generation job ${X.status}. Error: ${X.error}`,500);if(X.status!=="processing")break;await new Promise((W)=>setTimeout(W,2000))}return{success:!1,error:"LLMs.txt generation job terminated unexpectedly"}}catch(G){throw new C(G.message,500,G.response?.data?.details)}}async asyncGenerateLLMsText($,Y){let G=this.prepareHeaders(),Q={url:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};try{let X=await this.postRequest(`${this.apiUrl}/v1/llmstxt`,Q,G);if(X.status===200)return X.data;else this.handleError(X,"start LLMs.txt generation")}catch(X){if(X.response?.data?.error)throw new C(`Request failed with status code ${X.response.status}. Error: ${X.response.data.error} ${X.response.data.details?` - ${JSON.stringify(X.response.data.details)}`:""}`,X.response.status);else throw new C(X.message,500)}return{success:!1,error:"Internal server error."}}async checkGenerateLLMsTextStatus($){let Y=this.prepareHeaders();try{let G=await this.getRequest(`${this.apiUrl}/v1/llmstxt/${$}`,Y);if(G.status===200)return G.data;else if(G.status===404)throw new C("LLMs.txt generation job not found",404);else this.handleError(G,"check LLMs.txt generation status")}catch(G){if(G.response?.data?.error)throw new C(`Request failed with status code ${G.response.status}. Error: ${G.response.data.error} ${G.response.data.details?` - ${JSON.stringify(G.response.data.details)}`:""}`,G.response.status);else throw new C(G.message,500)}return{success:!1,error:"Internal server error."}}async getQueueStatus(){let $=this.prepareHeaders();try{let Y=await this.getRequest(`${this.apiUrl}/v1/team/queue-status`,$);if(Y.status===200)return Y.data;else this.handleError(Y,"get queue status")}catch(Y){if(Y.response?.data?.error)throw new C(`Request failed with status code ${Y.response.status}. Error: ${Y.response.data.error} ${Y.response.data.details?` - ${JSON.stringify(Y.response.data.details)}`:""}`,Y.response.status);else throw new C(Y.message,500)}return{success:!1,error:"Internal server error."}}async getCreditUsage(){let $=this.prepareHeaders();try{let Y=await this.getRequest(`${this.apiUrl}/v1/team/credit-usage`,$);if(Y.status===200)return Y.data;else this.handleError(Y,"get credit usage")}catch(Y){if(Y.response?.data?.error)throw new C(`Request failed with status code ${Y.response.status}. Error: ${Y.response.data.error} ${Y.response.data.details?` - ${JSON.stringify(Y.response.data.details)}`:""}`,Y.response.status);else throw new C(Y.message,500)}return{success:!1,error:"Internal server error."}}async getTokenUsage(){let $=this.prepareHeaders();try{let Y=await this.getRequest(`${this.apiUrl}/v1/team/token-usage`,$);if(Y.status===200)return Y.data;else this.handleError(Y,"get token usage")}catch(Y){if(Y.response?.data?.error)throw new C(`Request failed with status code ${Y.response.status}. Error: ${Y.response.data.error} ${Y.response.data.details?` - ${JSON.stringify(Y.response.data.details)}`:""}`,Y.response.status);else throw new C(Y.message,500)}return{success:!1,error:"Internal server error."}}async getCreditUsageHistorical($){let Y=this.prepareHeaders();try{let G=`${this.apiUrl}/v1/team/credit-usage/historical${$?"?byApiKey=true":""}`,Q=await this.getRequest(G,Y);if(Q.status===200)return Q.data;else this.handleError(Q,"get credit usage historical")}catch(G){if(G.response?.data?.error)throw new C(`Request failed with status code ${G.response.status}. Error: ${G.response.data.error} ${G.response.data.details?` - ${JSON.stringify(G.response.data.details)}`:""}`,G.response.status);else throw new C(G.message,500)}return{success:!1,error:"Internal server error."}}async getTokenUsageHistorical($){let Y=this.prepareHeaders();try{let G=`${this.apiUrl}/v1/team/token-usage/historical${$?"?byApiKey=true":""}`,Q=await this.getRequest(G,Y);if(Q.status===200)return Q.data;else this.handleError(Q,"get token usage historical")}catch(G){if(G.response?.data?.error)throw new C(`Request failed with status code ${G.response.status}. Error: ${G.response.data.error} ${G.response.data.details?` - ${JSON.stringify(G.response.data.details)}`:""}`,G.response.status);else throw new C(G.message,500)}return{success:!1,error:"Internal server error."}}},i6,b1,HX;var p7=I(()=>{m8();A1();y8();A1();H0=class extends Error{status;code;details;jobId;constructor($,Y,G,Q,X){super($);this.name="FirecrawlSdkError",this.status=Y,this.code=G,this.details=Q,this.jobId=X}},f1=class extends H0{timeoutSeconds;constructor($,Y,G="batch"){let Q=G==="batch"?"batch scrape":"crawl";super(`${Q.charAt(0).toUpperCase()+Q.slice(1)} job ${$} did not complete within ${Y} seconds`,void 0,"JOB_TIMEOUT",void 0,$);this.name="JobTimeoutError",this.timeoutSeconds=Y}};g7=typeof TextDecoder<"u"?new TextDecoder:void 0,c7=class extends b7{http;jobId;kind;pollInterval;timeout;ws;closed=!1;emittedDocumentKeys=new Set;constructor($,Y,G={}){super();this.http=$,this.jobId=Y,this.kind=G.kind??"crawl",this.pollInterval=G.pollInterval??2,this.timeout=G.timeout}buildWsUrl(){let Y=this.http.getApiUrl().replace(/^http/,"ws"),G=this.kind==="crawl"?`/v2/crawl/${this.jobId}`:`/v2/batch/scrape/${this.jobId}`;return`${Y}${G}`}async start(){return new Promise(($,Y)=>{let G=()=>{X(),$()},Q=(W)=>{X(),$()},X=()=>{this.removeListener("done",G),this.removeListener("error",Q)};this.on("done",G),this.on("error",Q),(async()=>{try{let W=this.buildWsUrl(),Z=await h7();if(!Z){this.pollLoop();return}if(this.ws=new Z(W,this.http.getApiKey()),this.ws&&"binaryType"in this.ws)this.ws.binaryType="arraybuffer";if(this.ws)this.attachWsHandlers(this.ws)}catch(W){this.pollLoop()}})()})}attachWsHandlers($){let Y=Date.now(),G=this.timeout?this.timeout*1000:void 0;$.onmessage=(Q)=>{try{let X=u7(Q.data);if(!X)return;let W=JSON.parse(X),Z=W.type;if(Z==="error"){this.emit("error",{status:"failed",data:[],error:W.error,id:this.jobId});return}if(Z==="catchup"){let M=W.data||{};this.emitDocuments(M.data||[]),this.emitSnapshot(M);return}if(Z==="document"){let M=W.data;if(M)this.emitDocuments([M]);return}if(Z==="done"){let M=W.data||W,K=M.data||[];if(K.length)this.emitDocuments(K);this.emit("done",{status:"completed",data:K,id:this.jobId,total:M.total,completed:M.completed,creditsUsed:M.creditsUsed}),this.close();return}let J=W.data||W;if(J&&J.status)this.emitSnapshot(J)}catch{}if(G&&Date.now()-Y>G)this.emit("error",{status:"failed",data:[],error:"Watcher timeout",id:this.jobId}),this.close()},$.onerror=()=>{this.emit("error",{status:"failed",data:[],error:"WebSocket error",id:this.jobId}),this.close()},$.onclose=()=>{if(!this.closed)this.pollLoop()}}documentKey($){if($&&typeof $==="object"){let Y=$.id??$.docId??$.url;if(typeof Y==="string"&&Y.length)return Y}try{return JSON.stringify($)}catch{return`${Date.now()}-${Math.random()}`}}emitDocuments($){for(let Y of $){if(!Y)continue;let G=this.documentKey(Y);if(this.emittedDocumentKeys.has(G))continue;this.emittedDocumentKeys.add(G),this.emit("document",{...Y,id:this.jobId})}}emitSnapshot($){let Y=$.status,G=$.data||[],Q=this.kind==="crawl"?{id:this.jobId,status:Y,completed:$.completed??0,total:$.total??0,creditsUsed:$.creditsUsed,expiresAt:$.expiresAt,next:$.next??null,data:G}:{id:this.jobId,status:Y,completed:$.completed??0,total:$.total??0,creditsUsed:$.creditsUsed,expiresAt:$.expiresAt,next:$.next??null,data:G};if(this.emit("snapshot",Q),["completed","failed","cancelled"].includes(Y))this.emit("done",{status:Y,data:G,id:this.jobId,total:$.total??0,completed:$.completed??0,creditsUsed:$.creditsUsed}),this.close()}async pollLoop(){let $=Date.now(),Y=this.timeout?this.timeout*1000:void 0;while(!this.closed){try{let G=this.kind==="crawl"?await m1(this.http,this.jobId):await h1(this.http,this.jobId);if(this.emitDocuments(G.data||[]),this.emit("snapshot",G),["completed","failed","cancelled"].includes(G.status)){this.emit("done",{status:G.status,data:G.data,id:this.jobId,total:G.total??0,completed:G.completed??0,creditsUsed:G.creditsUsed}),this.close();break}}catch{}if(Y&&Date.now()-$>Y){this.emit("error",{status:"failed",data:[],error:"Watcher timeout",id:this.jobId}),this.close();break}await new Promise((G)=>setTimeout(G,Math.max(1000,this.pollInterval*1000)))}}close(){if(this.closed=!0,this.ws&&this.ws.close)this.ws.close()}},l7=class extends EventTarget{dispatchTypedEvent($,Y){return super.dispatchEvent(Y)}},C=class extends Error{statusCode;details;constructor($,Y,G){super($);this.statusCode=Y,this.details=G}},i6=class extends l7{ws;data;status;id;constructor($,Y){super();this.id=$;let G=Y.apiUrl.replace(/^http/,"ws");this.ws=new WebSocket(`${G}/v1/crawl/${$}`,Y.apiKey),this.status="scraping",this.data=[];let Q=(X)=>{if(X.type==="done")this.status="completed",this.dispatchTypedEvent("done",new CustomEvent("done",{detail:{status:this.status,data:this.data,id:this.id}}));else if(X.type==="error")this.status="failed",this.dispatchTypedEvent("error",new CustomEvent("error",{detail:{status:this.status,data:this.data,error:X.error,id:this.id}}));else if(X.type==="catchup"){this.status=X.data.status,this.data.push(...X.data.data??[]);for(let W of this.data)this.dispatchTypedEvent("document",new CustomEvent("document",{detail:{...W,id:this.id}}))}else if(X.type==="document")this.dispatchTypedEvent("document",new CustomEvent("document",{detail:{...X.data,id:this.id}}))};this.ws.onmessage=((X)=>{if(typeof X.data!=="string"){this.ws.close();return}try{let W=JSON.parse(X.data);Q(W)}catch(W){console.error("Error on message",W)}}).bind(this),this.ws.onclose=((X)=>{try{let W=JSON.parse(X.reason);Q(W)}catch(W){console.error("Error on close",W)}}).bind(this),this.ws.onerror=((X)=>{this.status="failed",this.dispatchTypedEvent("error",new CustomEvent("error",{detail:{status:this.status,data:this.data,error:"WebSocket error",id:this.id}}))}).bind(this)}close(){this.ws.close()}},b1=class extends v1{_v1;_v1Opts;constructor($={}){let Y=typeof $==="string"?{apiKey:$}:$;super(Y);this._v1Opts={apiKey:Y.apiKey,apiUrl:Y.apiUrl}}get v1(){if(!this._v1)this._v1=new d7(this._v1Opts);return this._v1}};(function(){for(let Y of Object.getOwnPropertyNames(v1.prototype)){if(Y==="constructor")continue;if(Object.prototype.hasOwnProperty.call(b1.prototype,Y))continue;let G=Object.getOwnPropertyDescriptor(v1.prototype,Y);if(G)Object.defineProperty(b1.prototype,Y,G)}})();HX=b1});p7();export{HX as default,c7 as Watcher,H0 as SdkError,f1 as JobTimeoutError,v1 as FirecrawlClient,d7 as FirecrawlAppV1,b1 as Firecrawl};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{F6 as a}from"./cli-0.6.0-v56hqc26.mjs";import"./cli-0.6.0-1cfghz45.mjs";import"./cli-0.6.0-g7exm24t.mjs";import"./cli-0.6.0-jpsf0t8a.mjs";import"./cli-0.6.0-r8g9yjbx.mjs";import"./cli-0.6.0-59hncecf.mjs";import"./cli-0.6.0-szxjcmcn.mjs";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$6 as Rr,G6 as G,H6 as fr,I6 as Hr,J6 as Lr,K6 as oe,L6 as er,M6 as Ut,N6 as Vr,O6 as et,P6 as zr,Q6 as hr,R6 as tt,S6 as D,T6 as St,U6 as Sr,V6 as Or,X6 as Ir,Y6 as br,Z6 as qr,_6 as Dr,a7 as tr,b7 as rr,c7 as sr,d7 as Ar,e7 as Br}from"./cli-0.6.0-1cfghz45.mjs";import{f7 as Qe}from"./cli-0.6.0-g7exm24t.mjs";import{Soa as Er,Toa as Pr}from"./cli-0.6.0-jpsf0t8a.mjs";import{Voa as vr}from"./cli-0.6.0-r8g9yjbx.mjs";import{Xoa as we}from"./cli-0.6.0-59hncecf.mjs";import{dpa as a}from"./cli-0.6.0-szxjcmcn.mjs";var $=a((_)=>{Object.defineProperty(_,"__esModule",{value:!0});_.resolveHttpAuthSchemeConfig=_.defaultSigninHttpAuthSchemeProvider=_.defaultSigninHttpAuthSchemeParametersProvider=void 0;var Ot=G(),g=St(),It=async(e,t,r)=>{return{operation:(0,g.getSmithyContext)(t).operation,region:await(0,g.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};_.defaultSigninHttpAuthSchemeParametersProvider=It;function bt(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"signin",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function qt(e){return{schemeId:"smithy.api#noAuth"}}var Dt=(e)=>{let t=[];switch(e.operation){case"CreateOAuth2Token":{t.push(qt(e));break}default:t.push(bt(e))}return t};_.defaultSigninHttpAuthSchemeProvider=Dt;var Rt=(e)=>{let t=(0,Ot.resolveAwsSdkSigV4Config)(e);return Object.assign(t,{authSchemePreference:(0,g.normalizeProvider)(e.authSchemePreference??[])})};_.resolveHttpAuthSchemeConfig=Rt});var ae=a((ie)=>{Object.defineProperty(ie,"__esModule",{value:!0});ie.bdd=void 0;var Nt=oe(),P="ref",c=-1,b=!0,ee="isSet",ne="PartitionResult",q="booleanEquals",L="getAttr",f="stringEquals",te={[P]:"Endpoint"},V={[P]:ne},H={fn:L,argv:[V,"name"]},l={},re=[{[P]:"Region"}],se={conditions:[[ee,[te]],[ee,re],["aws.partition",re,ne],[q,[{[P]:"UseFIPS"},b]],[q,[{[P]:"UseDualStack"},b]],[q,[{fn:L,argv:[V,"supportsDualStack"]},b]],[q,[{fn:L,argv:[V,"supportsFIPS"]},b]],[f,[H,"aws"]],[f,[H,"aws-cn"]],[f,[H,"aws-us-gov"]]],results:[[c],[c,"Invalid Configuration: FIPS and custom endpoint are not supported"],[c,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[te,l],["https://{Region}.signin.aws.amazon.com",l],["https://{Region}.signin.amazonaws.cn",l],["https://{Region}.signin.amazonaws-us-gov.com",l],["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",l],[c,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}",l],[c,"FIPS is enabled but this partition does not support FIPS"],["https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}",l],[c,"DualStack is enabled but this partition does not support DualStack"],["https://signin.{Region}.{PartitionResult#dnsSuffix}",l],[c,"Invalid Configuration: Missing Region"]]},Mt=2,s=1e8,wt=new Int32Array([-1,1,-1,0,15,3,1,4,s+14,2,5,s+14,3,11,6,4,10,7,7,s+4,8,8,s+5,9,9,s+6,s+13,5,s+11,s+12,4,13,12,6,s+9,s+10,5,14,s+8,6,s+7,s+8,3,s+1,16,4,s+2,s+3]);ie.bdd=Nt.BinaryDecisionDiagram.from(wt,Mt,se.conditions,se.results)});var pe=a((ue)=>{Object.defineProperty(ue,"__esModule",{value:!0});ue.defaultEndpointResolver=void 0;var xt=Ut(),z=oe(),gt=ae(),Gt=new z.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),$t=(e,t={})=>{return Gt.get(e,()=>(0,z.decideEndpoint)(gt.bdd,{endpointParams:e,logger:t.logger}))};ue.defaultEndpointResolver=$t;z.customEndpointFunctions.aws=xt.awsEndpointFunctions});var R=a((A)=>{Object.defineProperty(A,"__esModule",{value:!0});A.SigninServiceException=A.__ServiceException=void 0;var ce=D();Object.defineProperty(A,"__ServiceException",{enumerable:!0,get:function(){return ce.ServiceException}});class h extends ce.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,h.prototype)}}A.SigninServiceException=h});var J=a((Ee)=>{Object.defineProperty(Ee,"__esModule",{value:!0});Ee.ValidationException=Ee.TooManyRequestsError=Ee.InternalServerException=Ee.AccessDeniedException=void 0;var y=R();class B extends y.SigninServiceException{name="AccessDeniedException";$fault="client";error;constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,B.prototype),this.error=e.error}}Ee.AccessDeniedException=B;class W extends y.SigninServiceException{name="InternalServerException";$fault="server";error;constructor(e){super({name:"InternalServerException",$fault:"server",...e});Object.setPrototypeOf(this,W.prototype),this.error=e.error}}Ee.InternalServerException=W;class Y extends y.SigninServiceException{name="TooManyRequestsError";$fault="client";error;constructor(e){super({name:"TooManyRequestsError",$fault:"client",...e});Object.setPrototypeOf(this,Y.prototype),this.error=e.error}}Ee.TooManyRequestsError=Y;class j extends y.SigninServiceException{name="ValidationException";$fault="client";error;constructor(e){super({name:"ValidationException",$fault:"client",...e});Object.setPrototypeOf(this,j.prototype),this.error=e.error}}Ee.ValidationException=j});var Z=a(($e)=>{Object.defineProperty($e,"__esModule",{value:!0});$e.CreateOAuth2Token$=$e.CreateOAuth2TokenResponseBody$=$e.CreateOAuth2TokenResponse$=$e.CreateOAuth2TokenRequestBody$=$e.CreateOAuth2TokenRequest$=$e.AccessToken$=$e.errorTypeRegistries=$e.ValidationException$=$e.TooManyRequestsError$=$e.InternalServerException$=$e.AccessDeniedException$=$e.SigninServiceException$=void 0;var Vt="AccessDeniedException",zt="AccessToken",ht="CreateOAuth2Token",At="CreateOAuth2TokenRequest",Bt="CreateOAuth2TokenRequestBody",Wt="CreateOAuth2TokenResponseBody",Yt="CreateOAuth2TokenResponse",jt="InternalServerException",Jt="RefreshToken",Xt="TooManyRequestsError",Qt="ValidationException",Se="accessKeyId",Oe="accessToken",X="client",Ie="clientId",be="codeVerifier",Zt="code",p="error",qe="expiresIn",De="grantType",Kt="http",Q="httpError",Re="idToken",n="jsonName",N="message",F="refreshToken",ye="redirectUri",Ue="smithy.ts.sdk.synthetic.com.amazonaws.signin",Fe="secretAccessKey",Ne="sessionToken",Tt="server",mt="tokenInput",kt="tokenOutput",Me="tokenType",i="com.amazonaws.signin",xe=we(),M=J(),_t=R(),ge=xe.TypeRegistry.for(Ue);$e.SigninServiceException$=[-3,Ue,"SigninServiceException",0,[],[]];ge.registerError($e.SigninServiceException$,_t.SigninServiceException);var S=xe.TypeRegistry.for(i);$e.AccessDeniedException$=[-3,i,Vt,{[p]:X},[p,N],[0,0],2];S.registerError($e.AccessDeniedException$,M.AccessDeniedException);$e.InternalServerException$=[-3,i,jt,{[p]:Tt,[Q]:500},[p,N],[0,0],2];S.registerError($e.InternalServerException$,M.InternalServerException);$e.TooManyRequestsError$=[-3,i,Xt,{[p]:X,[Q]:429},[p,N],[0,0],2];S.registerError($e.TooManyRequestsError$,M.TooManyRequestsError);$e.ValidationException$=[-3,i,Qt,{[p]:X,[Q]:400},[p,N],[0,0],2];S.registerError($e.ValidationException$,M.ValidationException);$e.errorTypeRegistries=[ge,S];var Ge=[0,i,Jt,8,0];$e.AccessToken$=[3,i,zt,8,[Se,Fe,Ne],[[0,{[n]:Se}],[0,{[n]:Fe}],[0,{[n]:Ne}]],3];$e.CreateOAuth2TokenRequest$=[3,i,At,0,[mt],[[()=>$e.CreateOAuth2TokenRequestBody$,16]],1];$e.CreateOAuth2TokenRequestBody$=[3,i,Bt,0,[Ie,De,Zt,ye,be,F],[[0,{[n]:Ie}],[0,{[n]:De}],0,[0,{[n]:ye}],[0,{[n]:be}],[()=>Ge,{[n]:F}]],2];$e.CreateOAuth2TokenResponse$=[3,i,Yt,0,[kt],[[()=>$e.CreateOAuth2TokenResponseBody$,16]],1];$e.CreateOAuth2TokenResponseBody$=[3,i,Wt,0,[Oe,Me,qe,F,Re],[[()=>$e.AccessToken$,{[n]:Oe}],[0,{[n]:Me}],[1,{[n]:qe}],[()=>Ge,{[n]:F}],[0,{[n]:Re}]],4];$e.CreateOAuth2Token$=[9,i,ht,{[Kt]:["POST","/v1/token",200]},()=>$e.CreateOAuth2TokenRequest$,()=>$e.CreateOAuth2TokenResponse$]});var Te=a((Ze)=>{Object.defineProperty(Ze,"__esModule",{value:!0});Ze.getRuntimeConfig=void 0;var or=G(),nr=rr(),ir=Qe(),dr=D(),ar=er(),Je=sr(),Xe=tr(),ur=$(),lr=pe(),pr=Z(),cr=(e)=>{return{apiVersion:"2023-01-01",base64Decoder:e?.base64Decoder??Je.fromBase64,base64Encoder:e?.base64Encoder??Je.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??lr.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??ur.defaultSigninHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new or.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new ir.NoAuthSigner}],logger:e?.logger??new dr.NoOpLogger,protocol:e?.protocol??nr.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.signin",errorTypeRegistries:pr.errorTypeRegistries,version:"2023-01-01",serviceTarget:"Signin"},serviceId:e?.serviceId??"Signin",urlParser:e?.urlParser??ar.parseUrl,utf8Decoder:e?.utf8Decoder??Xe.fromUtf8,utf8Encoder:e?.utf8Encoder??Xe.toUtf8}};Ze.getRuntimeConfig=cr});var ot=a((rt)=>{Object.defineProperty(rt,"__esModule",{value:!0});rt.getRuntimeConfig=void 0;var yr=Sr(),Fr=yr.__importDefault(Or()),Nr=Pr(),Mr=G(),me=Ir(),w=et(),wr=br(),ke=tt(),v=qr(),_e=vr(),Ce=D(),Ur=Dr(),xr=Rr(),gr=Er(),Gr=Te(),$r=(e)=>{(0,Ce.emitWarningIfUnsupportedVersion)(process.version);let t=(0,xr.resolveDefaultsModeConfig)(e),r=()=>t().then(Ce.loadConfigsForDefaultMode),d=(0,Gr.getRuntimeConfig)(e);(0,Nr.emitWarningIfUnsupportedVersion)(process.version);let o={profile:e?.profile,logger:d.logger};return{...d,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??(0,v.loadConfig)(Mr.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,o),bodyLengthChecker:e?.bodyLengthChecker??Ur.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,me.createDefaultUserAgentProvider)({serviceId:d.serviceId,clientVersion:Fr.default.version}),maxAttempts:e?.maxAttempts??(0,v.loadConfig)(ke.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,v.loadConfig)(w.NODE_REGION_CONFIG_OPTIONS,{...w.NODE_REGION_CONFIG_FILE_OPTIONS,...o}),requestHandler:_e.NodeHttpHandler.create(e?.requestHandler??r),retryMode:e?.retryMode??(0,v.loadConfig)({...ke.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await r()).retryMode||gr.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??wr.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??_e.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,v.loadConfig)(w.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,o),useFipsEndpoint:e?.useFipsEndpoint??(0,v.loadConfig)(w.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,o),userAgentAppId:e?.userAgentAppId??(0,v.loadConfig)(me.NODE_APP_ID_CONFIG_OPTIONS,o)}};rt.getRuntimeConfig=$r});var as=a((u)=>{var nt=fr(),Wr=Hr(),Yr=Lr(),it=Vr(),jr=et(),K=Qe(),Jr=we(),Xr=zr(),pt=hr(),dt=tt(),E=D(),at=$(),Qr=ot(),ut=Ar(),lt=Br(),O=Z(),U=J(),Zr=R(),Kr=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"signin"})},Tr={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},mr=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:r,credentials:d}=e;return{setHttpAuthScheme(o){let I=t.findIndex((x)=>x.schemeId===o.schemeId);if(I===-1)t.push(o);else t.splice(I,1,o)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(o){r=o},httpAuthSchemeProvider(){return r},setCredentials(o){d=o},credentials(){return d}}},kr=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},_r=(e,t)=>{let r=Object.assign(ut.getAwsRegionExtensionConfiguration(e),E.getDefaultExtensionConfiguration(e),lt.getHttpHandlerExtensionConfiguration(e),mr(e));return t.forEach((d)=>d.configure(r)),Object.assign(e,ut.resolveAwsRegionExtensionConfiguration(r),E.resolveDefaultRuntimeConfig(r),lt.resolveHttpHandlerRuntimeConfig(r),kr(r))};class T extends E.Client{config;constructor(...[e]){let t=Qr.getRuntimeConfig(e||{});super(t);this.initConfig=t;let r=Kr(t),d=it.resolveUserAgentConfig(r),o=dt.resolveRetryConfig(d),I=jr.resolveRegionConfig(o),x=nt.resolveHostHeaderConfig(I),ct=pt.resolveEndpointConfig(x),vt=at.resolveHttpAuthSchemeConfig(ct),Et=_r(vt,e?.extensions||[]);this.config=Et,this.middlewareStack.use(Jr.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(it.getUserAgentPlugin(this.config)),this.middlewareStack.use(dt.getRetryPlugin(this.config)),this.middlewareStack.use(Xr.getContentLengthPlugin(this.config)),this.middlewareStack.use(nt.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Wr.getLoggerPlugin(this.config)),this.middlewareStack.use(Yr.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(K.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:at.defaultSigninHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(Pt)=>new K.DefaultIdentityProviderConfig({"aws.auth#sigv4":Pt.credentials})})),this.middlewareStack.use(K.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class m extends E.Command.classBuilder().ep(Tr).m(function(e,t,r,d){return[pt.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("Signin","CreateOAuth2Token",{}).n("SigninClient","CreateOAuth2TokenCommand").sc(O.CreateOAuth2Token$).build(){}var Cr={CreateOAuth2TokenCommand:m};class k extends T{}E.createAggregatedClient(Cr,k);var es={AUTHCODE_EXPIRED:"AUTHCODE_EXPIRED",INSUFFICIENT_PERMISSIONS:"INSUFFICIENT_PERMISSIONS",INVALID_REQUEST:"INVALID_REQUEST",SERVER_ERROR:"server_error",TOKEN_EXPIRED:"TOKEN_EXPIRED",USER_CREDENTIALS_CHANGED:"USER_CREDENTIALS_CHANGED"};u.$Command=E.Command;u.__Client=E.Client;u.SigninServiceException=Zr.SigninServiceException;u.CreateOAuth2TokenCommand=m;u.OAuth2ErrorCode=es;u.Signin=k;u.SigninClient=T;Object.prototype.hasOwnProperty.call(O,"__proto__")&&!Object.prototype.hasOwnProperty.call(u,"__proto__")&&Object.defineProperty(u,"__proto__",{enumerable:!0,value:O.__proto__});Object.keys(O).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(u,e))u[e]=O[e]});Object.prototype.hasOwnProperty.call(U,"__proto__")&&!Object.prototype.hasOwnProperty.call(u,"__proto__")&&Object.defineProperty(u,"__proto__",{enumerable:!0,value:U.__proto__});Object.keys(U).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(u,e))u[e]=U[e]})});export default as();
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{E6 as V}from"./cli-0.6.0-fx65e0yv.mjs";import{g7 as W}from"./cli-0.6.0-v7kten40.mjs";import{Uoa as g}from"./cli-0.6.0-jpsf0t8a.mjs";import"./cli-0.6.0-59hncecf.mjs";import{bpa as H,fpa as F,gpa as O}from"./cli-0.6.0-szxjcmcn.mjs";function M(b,q){let j=N(b),B,G,z,Q=async(J)=>{if(J?.forceRefresh)return await j(J);if(z?.expiration){if(z?.expiration?.getTime()<Date.now())z=void 0}if(B)await B;else if(!z||q?.(z))if(z){if(!G)G=j(J).then((X)=>{z=X}).finally(()=>{G=void 0})}else return B=j(J).then((X)=>{z=X}).finally(()=>{B=void 0}),Q(J);return z};return Q}var Y,K,h,Z="AWS_EC2_METADATA_DISABLED",x=async(b)=>{let{ENV_CMDS_FULL_URI:q,ENV_CMDS_RELATIVE_URI:j,fromContainerMetadata:B,fromInstanceMetadata:G}=await import("./index-0.6.0-8r6qtdvj.mjs");if(process.env[j]||process.env[q]){b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");let{fromHttp:z}=await import("./index-0.6.0-kbwkgp90.mjs").then((m)=>H(m.default,1));return K.chain(z(b),B(b))}if(process.env[Z]&&process.env[Z]!=="false")return async()=>{throw new K.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:b.logger})};return b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"),G(b)},N=(b)=>async(q)=>{let j;for(let B of b)try{return await B(q)}catch(G){if(j=G,G?.tryNextLink)continue;throw G}throw j},$=!1,T=(b={})=>M([async()=>{if(b.profile??process.env[h.ENV_PROFILE]){if(process.env[Y.ENV_KEY]&&process.env[Y.ENV_SECRET]){if(!$)(b.logger?.warn&&b.logger?.constructor?.name!=="NoOpLogger"?b.logger.warn.bind(b.logger):console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
|
|
2
|
+
Multiple credential sources detected:
|
|
3
|
+
Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
|
|
4
|
+
This SDK will proceed with the AWS_PROFILE value.
|
|
5
|
+
|
|
6
|
+
However, a future version may change this behavior to prefer the ENV static credentials.
|
|
7
|
+
Please ensure that your environment only sets either the AWS_PROFILE or the
|
|
8
|
+
AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
|
|
9
|
+
`),$=!0}throw new K.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.",{logger:b.logger,tryNextLink:!0})}return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),Y.fromEnv(b)()},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");let{ssoStartUrl:j,ssoAccountId:B,ssoRegion:G,ssoRoleName:z,ssoSession:Q}=b;if(!j&&!B&&!G&&!z&&!Q)throw new K.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:b.logger});let{fromSSO:J}=await import("./index-0.6.0-4cjwvzjk.mjs");return J(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");let{fromIni:j}=await import("./index-0.6.0-1c8mc7c5.mjs");return j(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");let{fromProcess:j}=await import("./index-0.6.0-mhvzn9h5.mjs");return j(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");let{fromTokenFile:j}=await import("./index-0.6.0-33tqx1q0.mjs").then((m)=>H(m.default,1));return j(b)(q)},async()=>{return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await x(b))()},async()=>{throw new K.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:!1,logger:b.logger})}],D),U=(b)=>b?.expiration!==void 0,D=(b)=>b?.expiration!==void 0&&b.expiration.getTime()-Date.now()<300000,C,u,A;var R=F(()=>{Y=V(),K=g(),h=W();C=D,u=U,A=T});R();export{A as defaultProvider,u as credentialsWillNeedRefresh,C as credentialsTreatedAsExpired};export default {get defaultProvider(){return A},get credentialsWillNeedRefresh(){return u},get credentialsTreatedAsExpired(){return C}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u5 as a}from"./cli-0.6.0-vzmjmj1n.mjs";import"./cli-0.6.0-szxjcmcn.mjs";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$5 as G,A5 as f,B5 as g,C5 as h,D5 as i,E5 as j,F5 as k,G5 as l,H5 as m,I5 as n,J5 as o,K5 as p,L5 as q,M5 as r,N5 as s,O5 as t,P5 as u,Q5 as v,R5 as w,S5 as x,T5 as y,U5 as z,V5 as A,W5 as B,X5 as C,Y5 as D,Z5 as E,_5 as F,a6 as H,b6 as I,c6 as J,d6 as K,e6 as L,f6 as M,g6 as N,h6 as O,i6 as P,j6 as Q,k6 as R,l6 as S,m6 as T,v5 as a,w5 as b,x5 as c,y5 as d,z5 as e}from"./cli-0.6.0-3m7j40bv.mjs";import"./cli-0.6.0-szxjcmcn.mjs";T();export{u as zlibSync,t as zlib,M as zipSync,L as zip,y as unzlibSync,x as unzlib,S as unzipSync,R as unzip,F as strToU8,G as strFromU8,i as inflateSync,h as inflate,m as gzipSync,l as gzip,q as gunzipSync,p as gunzip,e as deflateSync,d as deflate,C as decompressSync,B as decompress,m as compressSync,l as compress,r as Zlib,H as ZipPassThrough,I as ZipDeflate,K as Zip,v as Unzlib,N as UnzipPassThrough,O as UnzipInflate,Q as Unzip,f as Inflate,j as Gzip,n as Gunzip,a as FlateErrorCode,E as EncodeUTF8,b as Deflate,z as Decompress,D as DecodeUTF8,j as Compress,s as AsyncZlib,J as AsyncZipDeflate,w as AsyncUnzlib,P as AsyncUnzipInflate,g as AsyncInflate,k as AsyncGzip,o as AsyncGunzip,c as AsyncDeflate,A as AsyncDecompress,k as AsyncCompress};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$oa as ls}from"./cli-0.6.0-59hncecf.mjs";import{dpa as z,fpa as hs,gpa as Xn}from"./cli-0.6.0-szxjcmcn.mjs";var V=z((js,Z)=>{var _,nn,en,sn,tn,hn,ln,cn,yn,wn,Sn,an,fn,Q,F,bn,un,gn,T,Mn,Un,Bn,$n,In,On,zn,Nn,Gn,X,rn,Cn,Tn;(function(n){var s=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(a){n(c(s,c(a)))});else if(typeof Z==="object"&&typeof js==="object")n(c(s,c(js)));else n(c(s));function c(a,w){if(a!==s)if(typeof Object.create==="function")Object.defineProperty(a,"__esModule",{value:!0});else a.__esModule=!0;return function(e,t){return a[e]=w?w(e,t):t}}})(function(n){var s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var h in t)if(Object.prototype.hasOwnProperty.call(t,h))e[h]=t[h]};_=function(e,t){if(typeof t!=="function"&&t!==null)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");s(e,t);function h(){this.constructor=e}e.prototype=t===null?Object.create(t):(h.prototype=t.prototype,new h)},nn=Object.assign||function(e){for(var t,h=1,l=arguments.length;h<l;h++){t=arguments[h];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e},en=function(e,t){var h={};for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0)h[l]=e[l];if(e!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var i=0,l=Object.getOwnPropertySymbols(e);i<l.length;i++)if(t.indexOf(l[i])<0&&Object.prototype.propertyIsEnumerable.call(e,l[i]))h[l[i]]=e[l[i]]}return h},sn=function(e,t,h,l){var i=arguments.length,y=i<3?t:l===null?l=Object.getOwnPropertyDescriptor(t,h):l,S;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")y=Reflect.decorate(e,t,h,l);else for(var b=e.length-1;b>=0;b--)if(S=e[b])y=(i<3?S(y):i>3?S(t,h,y):S(t,h))||y;return i>3&&y&&Object.defineProperty(t,h,y),y},tn=function(e,t){return function(h,l){t(h,l,e)}},hn=function(e,t,h,l,i,y){function S(r){if(r!==void 0&&typeof r!=="function")throw TypeError("Function expected");return r}var b=l.kind,g=b==="getter"?"get":b==="setter"?"set":"value",f=!t&&e?l.static?e:e.prototype:null,u=t||(f?Object.getOwnPropertyDescriptor(f,l.name):{}),U,B=!1;for(var M=h.length-1;M>=0;M--){var I={};for(var O in l)I[O]=O==="access"?{}:l[O];for(var O in l.access)I.access[O]=l.access[O];I.addInitializer=function(r){if(B)throw TypeError("Cannot add initializers after decoration has completed");y.push(S(r||null))};var $=(0,h[M])(b==="accessor"?{get:u.get,set:u.set}:u[g],I);if(b==="accessor"){if($===void 0)continue;if($===null||typeof $!=="object")throw TypeError("Object expected");if(U=S($.get))u.get=U;if(U=S($.set))u.set=U;if(U=S($.init))i.unshift(U)}else if(U=S($))if(b==="field")i.unshift(U);else u[g]=U}if(f)Object.defineProperty(f,l.name,u);B=!0},ln=function(e,t,h){var l=arguments.length>2;for(var i=0;i<t.length;i++)h=l?t[i].call(e,h):t[i].call(e);return l?h:void 0},cn=function(e){return typeof e==="symbol"?e:"".concat(e)},yn=function(e,t,h){if(typeof t==="symbol")t=t.description?"[".concat(t.description,"]"):"";return Object.defineProperty(e,"name",{configurable:!0,value:h?"".concat(h," ",t):t})},wn=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)},Sn=function(e,t,h,l){function i(y){return y instanceof h?y:new h(function(S){S(y)})}return new(h||(h=Promise))(function(y,S){function b(u){try{f(l.next(u))}catch(U){S(U)}}function g(u){try{f(l.throw(u))}catch(U){S(U)}}function f(u){u.done?y(u.value):i(u.value).then(b,g)}f((l=l.apply(e,t||[])).next())})},an=function(e,t){var h={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},l,i,y,S=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return S.next=b(0),S.throw=b(1),S.return=b(2),typeof Symbol==="function"&&(S[Symbol.iterator]=function(){return this}),S;function b(f){return function(u){return g([f,u])}}function g(f){if(l)throw TypeError("Generator is already executing.");while(S&&(S=0,f[0]&&(h=0)),h)try{if(l=1,i&&(y=f[0]&2?i.return:f[0]?i.throw||((y=i.return)&&y.call(i),0):i.next)&&!(y=y.call(i,f[1])).done)return y;if(i=0,y)f=[f[0]&2,y.value];switch(f[0]){case 0:case 1:y=f;break;case 4:return h.label++,{value:f[1],done:!1};case 5:h.label++,i=f[1],f=[0];continue;case 7:f=h.ops.pop(),h.trys.pop();continue;default:if((y=h.trys,!(y=y.length>0&&y[y.length-1]))&&(f[0]===6||f[0]===2)){h=0;continue}if(f[0]===3&&(!y||f[1]>y[0]&&f[1]<y[3])){h.label=f[1];break}if(f[0]===6&&h.label<y[1]){h.label=y[1],y=f;break}if(y&&h.label<y[2]){h.label=y[2],h.ops.push(f);break}if(y[2])h.ops.pop();h.trys.pop();continue}f=t.call(e,h)}catch(u){f=[6,u],i=0}finally{l=y=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},fn=function(e,t){for(var h in e)if(h!=="default"&&!Object.prototype.hasOwnProperty.call(t,h))X(t,e,h)},X=Object.create?function(e,t,h,l){if(l===void 0)l=h;var i=Object.getOwnPropertyDescriptor(t,h);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable))i={enumerable:!0,get:function(){return t[h]}};Object.defineProperty(e,l,i)}:function(e,t,h,l){if(l===void 0)l=h;e[l]=t[h]},Q=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,h=t&&e[t],l=0;if(h)return h.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&l>=e.length)e=void 0;return{value:e&&e[l++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},F=function(e,t){var h=typeof Symbol==="function"&&e[Symbol.iterator];if(!h)return e;var l=h.call(e),i,y=[],S;try{while((t===void 0||t-- >0)&&!(i=l.next()).done)y.push(i.value)}catch(b){S={error:b}}finally{try{if(i&&!i.done&&(h=l.return))h.call(l)}finally{if(S)throw S.error}}return y},bn=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(F(arguments[t]));return e},un=function(){for(var e=0,t=0,h=arguments.length;t<h;t++)e+=arguments[t].length;for(var l=Array(e),i=0,t=0;t<h;t++)for(var y=arguments[t],S=0,b=y.length;S<b;S++,i++)l[i]=y[S];return l},gn=function(e,t,h){if(h||arguments.length===2){for(var l=0,i=t.length,y;l<i;l++)if(y||!(l in t)){if(!y)y=Array.prototype.slice.call(t,0,l);y[l]=t[l]}}return e.concat(y||Array.prototype.slice.call(t))},T=function(e){return this instanceof T?(this.v=e,this):new T(e)},Mn=function(e,t,h){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var l=h.apply(e,t||[]),i,y=[];return i=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),b("next"),b("throw"),b("return",S),i[Symbol.asyncIterator]=function(){return this},i;function S(M){return function(I){return Promise.resolve(I).then(M,U)}}function b(M,I){if(l[M]){if(i[M]=function(O){return new Promise(function($,r){y.push([M,O,$,r])>1||g(M,O)})},I)i[M]=I(i[M])}}function g(M,I){try{f(l[M](I))}catch(O){B(y[0][3],O)}}function f(M){M.value instanceof T?Promise.resolve(M.value.v).then(u,U):B(y[0][2],M)}function u(M){g("next",M)}function U(M){g("throw",M)}function B(M,I){if(M(I),y.shift(),y.length)g(y[0][0],y[0][1])}},Un=function(e){var t,h;return t={},l("next"),l("throw",function(i){throw i}),l("return"),t[Symbol.iterator]=function(){return this},t;function l(i,y){t[i]=e[i]?function(S){return(h=!h)?{value:T(e[i](S)),done:!1}:y?y(S):S}:y}},Bn=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],h;return t?t.call(e):(e=typeof Q==="function"?Q(e):e[Symbol.iterator](),h={},l("next"),l("throw"),l("return"),h[Symbol.asyncIterator]=function(){return this},h);function l(y){h[y]=e[y]&&function(S){return new Promise(function(b,g){S=e[y](S),i(b,g,S.done,S.value)})}}function i(y,S,b,g){Promise.resolve(g).then(function(f){y({value:f,done:b})},S)}},$n=function(e,t){if(Object.defineProperty)Object.defineProperty(e,"raw",{value:t});else e.raw=t;return e};var c=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},a=function(e){return a=Object.getOwnPropertyNames||function(t){var h=[];for(var l in t)if(Object.prototype.hasOwnProperty.call(t,l))h[h.length]=l;return h},a(e)};In=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var h=a(e),l=0;l<h.length;l++)if(h[l]!=="default")X(t,e,h[l])}return c(t,e),t},On=function(e){return e&&e.__esModule?e:{default:e}},zn=function(e,t,h,l){if(h==="a"&&!l)throw TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!l:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return h==="m"?l:h==="a"?l.call(e):l?l.value:t.get(e)},Nn=function(e,t,h,l,i){if(l==="m")throw TypeError("Private method is not writable");if(l==="a"&&!i)throw TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return l==="a"?i.call(e,h):i?i.value=h:t.set(e,h),h},Gn=function(e,t){if(t===null||typeof t!=="object"&&typeof t!=="function")throw TypeError("Cannot use 'in' operator on non-object");return typeof e==="function"?t===e:e.has(t)},rn=function(e,t,h){if(t!==null&&t!==void 0){if(typeof t!=="object"&&typeof t!=="function")throw TypeError("Object expected.");var l,i;if(h){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");l=t[Symbol.asyncDispose]}if(l===void 0){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");if(l=t[Symbol.dispose],h)i=l}if(typeof l!=="function")throw TypeError("Object not disposable.");if(i)l=function(){try{i.call(this)}catch(y){return Promise.reject(y)}};e.stack.push({value:t,dispose:l,async:h})}else if(h)e.stack.push({async:!0});return t};var w=typeof SuppressedError==="function"?SuppressedError:function(e,t,h){var l=Error(h);return l.name="SuppressedError",l.error=e,l.suppressed=t,l};Cn=function(e){function t(y){e.error=e.hasError?new w(y,e.error,"An error was suppressed during disposal."):y,e.hasError=!0}var h,l=0;function i(){while(h=e.stack.pop())try{if(!h.async&&l===1)return l=0,e.stack.push(h),Promise.resolve().then(i);if(h.dispose){var y=h.dispose.call(h.value);if(h.async)return l|=2,Promise.resolve(y).then(i,function(S){return t(S),i()})}else l|=1}catch(S){t(S)}if(l===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()},Tn=function(e,t){if(typeof e==="string"&&/^\.\.?\//.test(e))return e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(h,l,i,y,S){return l?t?".jsx":".js":i&&(!y||!S)?h:i+y+"."+S.toLowerCase()+"js"});return e},n("__extends",_),n("__assign",nn),n("__rest",en),n("__decorate",sn),n("__param",tn),n("__esDecorate",hn),n("__runInitializers",ln),n("__propKey",cn),n("__setFunctionName",yn),n("__metadata",wn),n("__awaiter",Sn),n("__generator",an),n("__exportStar",fn),n("__createBinding",X),n("__values",Q),n("__read",F),n("__spread",bn),n("__spreadArrays",un),n("__spreadArray",gn),n("__await",T),n("__asyncGenerator",Mn),n("__asyncDelegator",Un),n("__asyncValues",Bn),n("__makeTemplateObject",$n),n("__importStar",In),n("__importDefault",On),n("__classPrivateFieldGet",zn),n("__classPrivateFieldSet",Nn),n("__classPrivateFieldIn",Gn),n("__addDisposableResource",rn),n("__disposeResources",Cn),n("__rewriteRelativeImportExtension",Tn)})});var Qn=z((Es,Wn)=>{var{defineProperty:H,getOwnPropertyDescriptor:fe,getOwnPropertyNames:be}=Object,ue=Object.prototype.hasOwnProperty,ge=(n,s)=>H(n,"name",{value:s,configurable:!0}),Me=(n,s)=>{for(var c in s)H(n,c,{get:s[c],enumerable:!0})},Ue=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of be(s))if(!ue.call(n,w)&&w!==c)H(n,w,{get:()=>s[w],enumerable:!(a=fe(s,w))||a.enumerable})}return n},Be=(n)=>Ue(H({},"__esModule",{value:!0}),n),Ln={};Me(Ln,{isArrayBuffer:()=>$e});Wn.exports=Be(Ln);var $e=ge((n)=>typeof ArrayBuffer==="function"&&n instanceof ArrayBuffer||Object.prototype.toString.call(n)==="[object ArrayBuffer]","isArrayBuffer")});var Kn=z((Ps,qn)=>{var{defineProperty:q,getOwnPropertyDescriptor:Ie,getOwnPropertyNames:Oe}=Object,ze=Object.prototype.hasOwnProperty,Zn=(n,s)=>q(n,"name",{value:s,configurable:!0}),Ne=(n,s)=>{for(var c in s)q(n,c,{get:s[c],enumerable:!0})},Ge=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of Oe(s))if(!ze.call(n,w)&&w!==c)q(n,w,{get:()=>s[w],enumerable:!(a=Ie(s,w))||a.enumerable})}return n},re=(n)=>Ge(q({},"__esModule",{value:!0}),n),Hn={};Ne(Hn,{fromArrayBuffer:()=>Te,fromString:()=>Le});qn.exports=re(Hn);var Ce=Qn(),J=Xn("buffer"),Te=Zn((n,s=0,c=n.byteLength-s)=>{if(!(0,Ce.isArrayBuffer)(n))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof n} (${n})`);return J.Buffer.from(n,s,c)},"fromArrayBuffer"),Le=Zn((n,s)=>{if(typeof n!=="string")throw TypeError(`The "input" argument must be of type string. Received type ${typeof n} (${n})`);return s?J.Buffer.from(n,s):J.Buffer.from(n)},"fromString")});var An=z((ks,mn)=>{var{defineProperty:K,getOwnPropertyDescriptor:We,getOwnPropertyNames:Qe}=Object,Xe=Object.prototype.hasOwnProperty,m=(n,s)=>K(n,"name",{value:s,configurable:!0}),Ze=(n,s)=>{for(var c in s)K(n,c,{get:s[c],enumerable:!0})},He=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of Qe(s))if(!Xe.call(n,w)&&w!==c)K(n,w,{get:()=>s[w],enumerable:!(a=We(s,w))||a.enumerable})}return n},qe=(n)=>He(K({},"__esModule",{value:!0}),n),Fn={};Ze(Fn,{fromUtf8:()=>Jn,toUint8Array:()=>Ke,toUtf8:()=>Fe});mn.exports=qe(Fn);var Vn=Kn(),Jn=m((n)=>{let s=(0,Vn.fromString)(n,"utf8");return new Uint8Array(s.buffer,s.byteOffset,s.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),Ke=m((n)=>{if(typeof n==="string")return Jn(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(n)},"toUint8Array"),Fe=m((n)=>{if(typeof n==="string")return n;if(typeof n!=="object"||typeof n.byteOffset!=="number"||typeof n.byteLength!=="number")throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return(0,Vn.fromArrayBuffer)(n.buffer,n.byteOffset,n.byteLength).toString("utf8")},"toUtf8")});var Dn=z((Rn)=>{Object.defineProperty(Rn,"__esModule",{value:!0});Rn.convertToBuffer=void 0;var Ve=An(),Je=typeof Buffer<"u"&&Buffer.from?function(n){return Buffer.from(n,"utf8")}:Ve.fromUtf8;function me(n){if(n instanceof Uint8Array)return n;if(typeof n==="string")return Je(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(n)}Rn.convertToBuffer=me});var Pn=z((jn)=>{Object.defineProperty(jn,"__esModule",{value:!0});jn.isEmptyData=void 0;function Ae(n){if(typeof n==="string")return n.length===0;return n.byteLength===0}jn.isEmptyData=Ae});var dn=z((kn)=>{Object.defineProperty(kn,"__esModule",{value:!0});kn.numToUint8=void 0;function Re(n){return new Uint8Array([(n&4278190080)>>24,(n&16711680)>>16,(n&65280)>>8,n&255])}kn.numToUint8=Re});var pn=z((on)=>{Object.defineProperty(on,"__esModule",{value:!0});on.uint32ArrayFrom=void 0;function Ye(n){if(!Uint32Array.from){var s=new Uint32Array(n.length),c=0;while(c<n.length)s[c]=n[c],c+=1;return s}return Uint32Array.from(n)}on.uint32ArrayFrom=Ye});var A=z((L)=>{Object.defineProperty(L,"__esModule",{value:!0});L.uint32ArrayFrom=L.numToUint8=L.isEmptyData=L.convertToBuffer=void 0;var De=Dn();Object.defineProperty(L,"convertToBuffer",{enumerable:!0,get:function(){return De.convertToBuffer}});var je=Pn();Object.defineProperty(L,"isEmptyData",{enumerable:!0,get:function(){return je.isEmptyData}});var Ee=dn();Object.defineProperty(L,"numToUint8",{enumerable:!0,get:function(){return Ee.numToUint8}});var Pe=pn();Object.defineProperty(L,"uint32ArrayFrom",{enumerable:!0,get:function(){return Pe.uint32ArrayFrom}})});var te=z((ee)=>{Object.defineProperty(ee,"__esModule",{value:!0});ee.AwsCrc32=void 0;var _n=V(),R=A(),ne=Y(),ve=function(){function n(){this.crc32=new ne.Crc32}return n.prototype.update=function(s){if((0,R.isEmptyData)(s))return;this.crc32.update((0,R.convertToBuffer)(s))},n.prototype.digest=function(){return _n.__awaiter(this,void 0,void 0,function(){return _n.__generator(this,function(s){return[2,(0,R.numToUint8)(this.crc32.digest())]})})},n.prototype.reset=function(){this.crc32=new ne.Crc32},n}();ee.AwsCrc32=ve});var Y=z((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.AwsCrc32=D.Crc32=D.crc32=void 0;var de=V(),oe=A();function xe(n){return new he().update(n).digest()}D.crc32=xe;var he=function(){function n(){this.checksum=4294967295}return n.prototype.update=function(s){var c,a;try{for(var w=de.__values(s),e=w.next();!e.done;e=w.next()){var t=e.value;this.checksum=this.checksum>>>8^_e[(this.checksum^t)&255]}}catch(h){c={error:h}}finally{try{if(e&&!e.done&&(a=w.return))a.call(w)}finally{if(c)throw c.error}}return this},n.prototype.digest=function(){return(this.checksum^4294967295)>>>0},n}();D.Crc32=he;var pe=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],_e=(0,oe.uint32ArrayFrom)(pe),ns=te();Object.defineProperty(D,"AwsCrc32",{enumerable:!0,get:function(){return ns.AwsCrc32}})});class W{bytes;constructor(n){if(this.bytes=n,n.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(n){if(n>9223372036854776000||n<-9223372036854776000)throw Error(`${n} is too large (or, if negative, too small) to represent as an Int64`);let s=new Uint8Array(8);for(let c=7,a=Math.abs(Math.round(n));c>-1&&a>0;c--,a/=256)s[c]=a;if(n<0)le(s);return new W(s)}valueOf(){let n=this.bytes.slice(0),s=n[0]&128;if(s)le(n);return parseInt(N.toHex(n),16)*(s?-1:1)}toString(){return String(this.valueOf())}}function le(n){for(let s=0;s<8;s++)n[s]^=255;for(let s=7;s>-1;s--)if(n[s]++,n[s]!==0)break}class j{toUtf8;fromUtf8;constructor(n,s){this.toUtf8=n,this.fromUtf8=s}format(n){let s=[];for(let w of Object.keys(n)){let e=this.fromUtf8(w);s.push(Uint8Array.from([e.byteLength]),e,this.formatHeaderValue(n[w]))}let c=new Uint8Array(s.reduce((w,e)=>w+e.byteLength,0)),a=0;for(let w of s)c.set(w,a),a+=w.byteLength;return c}formatHeaderValue(n){switch(n.type){case"boolean":return Uint8Array.from([n.value?0:1]);case"byte":return Uint8Array.from([2,n.value]);case"short":let s=new DataView(new ArrayBuffer(3));return s.setUint8(0,3),s.setInt16(1,n.value,!1),new Uint8Array(s.buffer);case"integer":let c=new DataView(new ArrayBuffer(5));return c.setUint8(0,4),c.setInt32(1,n.value,!1),new Uint8Array(c.buffer);case"long":let a=new Uint8Array(9);return a[0]=5,a.set(n.value.bytes,1),a;case"binary":let w=new DataView(new ArrayBuffer(3+n.value.byteLength));w.setUint8(0,6),w.setUint16(1,n.value.byteLength,!1);let e=new Uint8Array(w.buffer);return e.set(n.value,3),e;case"string":let t=this.fromUtf8(n.value),h=new DataView(new ArrayBuffer(3+t.byteLength));h.setUint8(0,7),h.setUint16(1,t.byteLength,!1);let l=new Uint8Array(h.buffer);return l.set(t,3),l;case"timestamp":let i=new Uint8Array(9);return i[0]=8,i.set(W.fromNumber(n.value.valueOf()).bytes,1),i;case"uuid":if(!gs.test(n.value))throw Error(`Invalid UUID received: ${n.value}`);let y=new Uint8Array(17);return y[0]=9,y.set(N.fromHex(n.value.replace(/\-/g,"")),1),y}}parse(n){let s={},c=0;while(c<n.byteLength){let a=n.getUint8(c++),w=this.toUtf8(new Uint8Array(n.buffer,n.byteOffset+c,a));switch(c+=a,n.getUint8(c++)){case 0:s[w]={type:ye,value:!0};break;case 1:s[w]={type:ye,value:!1};break;case 2:s[w]={type:ys,value:n.getInt8(c++)};break;case 3:s[w]={type:is,value:n.getInt16(c,!1)},c+=2;break;case 4:s[w]={type:ws,value:n.getInt32(c,!1)},c+=4;break;case 5:s[w]={type:Ss,value:new W(new Uint8Array(n.buffer,n.byteOffset+c,8))},c+=8;break;case 6:let e=n.getUint16(c,!1);c+=2,s[w]={type:as,value:new Uint8Array(n.buffer,n.byteOffset+c,e)},c+=e;break;case 7:let t=n.getUint16(c,!1);c+=2,s[w]={type:fs,value:this.toUtf8(new Uint8Array(n.buffer,n.byteOffset+c,t))},c+=t;break;case 8:s[w]={type:bs,value:new Date(new W(new Uint8Array(n.buffer,n.byteOffset+c,8)).valueOf())},c+=8;break;case 9:let h=new Uint8Array(n.buffer,n.byteOffset+c,16);c+=16,s[w]={type:us,value:`${N.toHex(h.subarray(0,4))}-${N.toHex(h.subarray(4,6))}-${N.toHex(h.subarray(6,8))}-${N.toHex(h.subarray(8,10))}-${N.toHex(h.subarray(10))}`};break;default:throw Error("Unrecognized header type tag")}}return s}}function Us({byteLength:n,byteOffset:s,buffer:c}){if(n<Ms)throw Error("Provided message too short to accommodate event stream message overhead");let a=new DataView(c,s,n),w=a.getUint32(0,!1);if(n!==w)throw Error("Reported message length does not match received message length");let e=a.getUint32(we,!1),t=a.getUint32(G,!1),h=a.getUint32(n-C,!1),l=new ie.Crc32().update(new Uint8Array(c,s,G));if(t!==l.digest())throw Error(`The prelude checksum specified in the message (${t}) does not match the calculated CRC32 checksum (${l.digest()})`);if(l.update(new Uint8Array(c,s+G,n-(G+C))),h!==l.digest())throw Error(`The message checksum (${l.digest()}) did not match the expected value of ${h}`);return{headers:new DataView(c,s+G+C,e),body:new Uint8Array(c,s+G+C+e,w-e-(G+C+C))}}class E{headerMarshaller;messageBuffer;isEndOfStream;constructor(n,s){this.headerMarshaller=new j(n,s),this.messageBuffer=[],this.isEndOfStream=!1}feed(n){this.messageBuffer.push(this.decode(n))}endOfStream(){this.isEndOfStream=!0}getMessage(){let n=this.messageBuffer.pop(),s=this.isEndOfStream;return{getMessage(){return n},isEndOfStream(){return s}}}getAvailableMessages(){let n=this.messageBuffer;this.messageBuffer=[];let s=this.isEndOfStream;return{getMessages(){return n},isEndOfStream(){return s}}}encode({headers:n,body:s}){let c=this.headerMarshaller.format(n),a=c.byteLength+s.byteLength+16,w=new Uint8Array(a),e=new DataView(w.buffer,w.byteOffset,w.byteLength),t=new ie.Crc32;return e.setUint32(0,a,!1),e.setUint32(4,c.byteLength,!1),e.setUint32(8,t.update(w.subarray(0,8)).digest(),!1),w.set(c,12),w.set(s,c.byteLength+12),e.setUint32(a-4,t.update(w.subarray(8,a-4)).digest(),!1),w}decode(n){let{headers:s,body:c}=Us(n);return{headers:this.headerMarshaller.parse(s),body:c}}formatHeaders(n){return this.headerMarshaller.format(n)}}function Se(n){let s=0,c=0,a=null,w=null,e=(h)=>{if(typeof h!=="number")throw Error("Attempted to allocate an event message where size was not a number: "+h);s=h,c=4,a=new Uint8Array(h),new DataView(a.buffer).setUint32(0,h,!1)},t=async function*(){let h=n[Symbol.asyncIterator]();while(!0){let{value:l,done:i}=await h.next();if(i){if(!s)return;else if(s===c)yield a;else throw Error("Truncated event message received.");return}let y=l.length,S=0;while(S<y){if(!a){let g=y-S;if(!w)w=new Uint8Array(4);let f=Math.min(4-c,g);if(w.set(l.slice(S,S+f),c),c+=f,S+=f,c<4)break;e(new DataView(w.buffer).getUint32(0,!1)),w=null}let b=Math.min(s-c,y-S);if(a.set(l.slice(S,S+b),c),c+=b,S+=b,s&&s===c)yield a,a=null,s=0,c=0}}};return{[Symbol.asyncIterator]:t}}function Bs(n,s){let c=o(s.deserializer,s.toUtf8);return{[Symbol.asyncIterator]:async function*(){for await(let a of n){let w=s.eventStreamCodec.decode(a),e=await c(w);if(e===void 0)continue;yield e}}}}function o(n,s){return async function(c){let{value:a}=c.headers[":message-type"];if(a==="error"){let w=Error(c.headers[":error-message"].value||"UnknownError");throw w.name=c.headers[":error-code"].value,w}else if(a==="exception"){let w=c.headers[":exception-type"].value,e={[w]:c},t=await n(e);if(t.$unknown){let h=Error(s(c.body));throw h.name=w,h}throw t[w]}else if(a==="event"){let w={[c.headers[":event-type"].value]:c},e=await n(w);if(e.$unknown)return;return e}else throw Error(`Unrecognizable event type: ${c.headers[":event-type"].value}`)}}class p{universalMarshaller;constructor({utf8Encoder:n,utf8Decoder:s}){this.universalMarshaller=new x({utf8Decoder:s,utf8Encoder:n})}deserialize(n,s){let c=typeof n[Symbol.asyncIterator]==="function"?n:Os(n);return this.universalMarshaller.deserialize(c,s)}serialize(n,s){return cs.Readable.from(this.universalMarshaller.serialize(n,s))}}async function*Os(n){let s=!1,c=!1,a=[];n.on("error",(w)=>{if(!s)s=!0;if(w)throw w}),n.on("data",(w)=>{a.push(w)}),n.on("end",()=>{s=!0});while(!c){let w=await new Promise((e)=>setTimeout(()=>e(a.shift()),0));if(w)yield w;c=s&&a.length===0}}class ae{marshaller;serializer;deserializer;serdeContext;defaultContentType;constructor({marshaller:n,serializer:s,deserializer:c,serdeContext:a,defaultContentType:w}){this.marshaller=n,this.serializer=s,this.deserializer=c,this.serdeContext=a,this.defaultContentType=w}async serializeEventStream({eventStream:n,requestSchema:s,initialRequest:c}){let a=this.marshaller,w=s.getEventStreamMember(),e=s.getMemberSchema(w),t=this.serializer,h=this.defaultContentType,l=Symbol("initialRequestMarker"),i={async*[Symbol.asyncIterator](){if(c){let y={":event-type":{type:"string",value:"initial-request"},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:h}};t.write(s,c);let S=t.flush();yield{[l]:!0,headers:y,body:S}}for await(let y of n)yield y}};return a.serialize(i,(y)=>{if(y[l])return{headers:y.headers,body:y.body};let S="";for(let B in y)if(B!=="__type"){S=B;break}let{additionalHeaders:b,body:g,eventType:f,explicitPayloadContentType:u}=this.writeEventBody(S,e,y);return{headers:{":event-type":{type:"string",value:f},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:u??h},...b},body:g}})}async deserializeEventStream({response:n,responseSchema:s,initialResponseContainer:c}){let a=this.marshaller,w=s.getEventStreamMember(),t=s.getMemberSchema(w).getMemberSchemas(),h=Symbol("initialResponseMarker"),l=a.deserialize(n.body,async(S)=>{let b="";for(let f in S)if(f!=="__type"){b=f;break}let g=S[b].body;if(b==="initial-response"){let f=await this.deserializer.read(s,g);return delete f[w],{[h]:!0,...f}}else if(b in t){let f=t[b];if(f.isStructSchema()){let u={},U=!1;for(let[B,M]of f.structIterator()){let{eventHeader:I,eventPayload:O}=M.getMergedTraits();if(U=U||Boolean(I||O),O){if(M.isBlobSchema())u[B]=g;else if(M.isStringSchema())u[B]=(this.serdeContext?.utf8Encoder??N.toUtf8)(g);else if(M.isStructSchema())u[B]=await this.deserializer.read(M,g)}else if(I){let $=S[b].headers[B]?.value;if($!=null)if(M.isNumericSchema())if($&&typeof $==="object"&&"bytes"in $)u[B]=BigInt($.toString());else u[B]=Number($);else u[B]=$}}if(U)return{[b]:u};if(g.byteLength===0)return{[b]:{}}}return{[b]:await this.deserializer.read(f,g)}}else return{$unknown:S}}),i=l[Symbol.asyncIterator](),y=await i.next();if(y.done)return l;if(y.value?.[h]){if(!s)throw Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");for(let S in y.value)c[S]=y.value[S]}return{async*[Symbol.asyncIterator](){if(!y?.value?.[h])yield y.value;while(!0){let{done:S,value:b}=await i.next();if(S)break;yield b}}}}writeEventBody(n,s,c){let a=this.serializer,w=n,e=null,t,h=(()=>{return s.getSchema()[4].includes(n)})(),l={};if(!h){let[S,b]=c[n];w=S,a.write(15,b)}else{let S=s.getMemberSchema(n);if(S.isStructSchema()){for(let[b,g]of S.structIterator()){let{eventHeader:f,eventPayload:u}=g.getMergedTraits();if(u)e=b;else if(f){let U=c[n][b],B="binary";if(g.isNumericSchema())if(-2147483648<=U&&U<=2147483647)B="integer";else B="long";else if(g.isTimestampSchema())B="timestamp";else if(g.isStringSchema())B="string";else if(g.isBooleanSchema())B="boolean";if(U!=null)l[b]={type:B,value:U},delete c[n][b]}}if(e!==null){let b=S.getMemberSchema(e);if(b.isBlobSchema())t="application/octet-stream";else if(b.isStringSchema())t="text/plain";a.write(b,c[n][e])}else a.write(S,c[n])}else if(S.isUnitSchema())a.write(S,{});else throw Error("@smithy/core/event-streams - non-struct member not supported in event stream union.")}let i=a.flush()??new Uint8Array;return{body:typeof i==="string"?(this.serdeContext?.utf8Decoder??N.fromUtf8)(i):i,eventType:w,explicitPayloadContentType:t,additionalHeaders:l}}}var ie,N,cs,ce,ye="boolean",ys="byte",is="short",ws="integer",Ss="long",as="binary",fs="string",bs="timestamp",us="uuid",gs,we=4,G,C=4,Ms,P,k,v,d,x=class{eventStreamCodec;utfEncoder;constructor({utf8Encoder:s,utf8Decoder:c}){this.eventStreamCodec=new E(s,c),this.utfEncoder=s}deserialize(s,c){let a=Se(s);return new v({messageStream:new P({inputStream:a,decoder:this.eventStreamCodec}),deserializer:o(c,this.utfEncoder)})}serialize(s,c){return new k({messageStream:new d({inputStream:s,serializer:c}),encoder:this.eventStreamCodec,includeEndFrame:!0})}},$s=(n)=>new x(n),Is=(n)=>new p(n),zs=(n)=>({[Symbol.asyncIterator]:async function*(){let s=n.getReader();try{while(!0){let{done:c,value:a}=await s.read();if(c)return;yield a}}finally{s.releaseLock()}}}),Ns=(n)=>{let s=n[Symbol.asyncIterator]();return new ReadableStream({async pull(c){let{done:a,value:w}=await s.next();if(a)return c.close();c.enqueue(w)}})},Gs=(n)=>Object.assign(n,{eventStreamMarshaller:n.eventStreamSerdeProvider(n)}),rs,Cs,Ts,Ls,Ws,Qs,Xs,Zs,Hs,qs,Ks,Fs,Vs,Js,ms,As,Rs,Ys;var Ds=hs(()=>{ie=Y(),N=ls(),cs=Xn("node:stream");(function(n){n[n.boolTrue=0]="boolTrue",n[n.boolFalse=1]="boolFalse",n[n.byte=2]="byte",n[n.short=3]="short",n[n.integer=4]="integer",n[n.long=5]="long",n[n.byteArray=6]="byteArray",n[n.string=7]="string",n[n.timestamp=8]="timestamp",n[n.uuid=9]="uuid"})(ce||(ce={}));gs=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,G=we*2,Ms=G+C*2;P=class P{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.inputStream)yield this.options.decoder.decode(n)}};k=class k{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.messageStream)yield this.options.encoder.encode(n);if(this.options.includeEndFrame)yield new Uint8Array(0)}};v=class v{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.messageStream){let s=await this.options.deserializer(n);if(s===void 0)continue;yield s}}};d=class d{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.inputStream)yield this.options.serializer(n)}};rs=E,Cs=p,Ts=ae,Ls=j,Ws=W,Qs=P,Xs=k,Zs=v,Hs=d,qs=x,Ks=Is,Fs=Se,Vs=o,Js=Bs,ms=Ns,As=zs,Rs=Gs,Ys=$s});Ds();export{Ys as universalEventStreamSerdeProvider,Rs as resolveEventStreamSerdeConfig,As as readableStreamToIterable,ms as iterableToReadableStream,Js as getUnmarshalledStream,Vs as getMessageUnmarshaller,Fs as getChunkedStream,Ks as eventStreamSerdeProvider,qs as UniversalEventStreamMarshaller,Hs as SmithyMessageEncoderStream,Zs as SmithyMessageDecoderStream,Xs as MessageEncoderStream,Qs as MessageDecoderStream,Ws as Int64,Ls as HeaderMarshaller,Ts as EventStreamSerde,Cs as EventStreamMarshaller,rs as EventStreamCodec};export default {get universalEventStreamSerdeProvider(){return Ys},get resolveEventStreamSerdeConfig(){return Rs},get readableStreamToIterable(){return As},get iterableToReadableStream(){return ms},get getUnmarshalledStream(){return Js},get getMessageUnmarshaller(){return Vs},get getChunkedStream(){return Fs},get eventStreamSerdeProvider(){return Ks},get UniversalEventStreamMarshaller(){return qs},get SmithyMessageEncoderStream(){return Hs},get SmithyMessageDecoderStream(){return Zs},get MessageEncoderStream(){return Xs},get MessageDecoderStream(){return Qs},get Int64(){return Ws},get HeaderMarshaller(){return Ls},get EventStreamSerde(){return Ts},get EventStreamMarshaller(){return Cs},get EventStreamCodec(){return rs}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f7 as a}from"./cli-0.6.0-g7exm24t.mjs";import"./cli-0.6.0-59hncecf.mjs";import"./cli-0.6.0-szxjcmcn.mjs";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ba as a,ca as b}from"./cli-0.6.0-6w72esaf.mjs";import"./cli-0.6.0-7qwx1xwm.mjs";import"./cli-0.6.0-vj1q5vmq.mjs";import"./cli-0.6.0-caxz9dgf.mjs";import"./cli-0.6.0-a7h4zkhn.mjs";import"./cli-0.6.0-3sdh6b3v.mjs";import"./cli-0.6.0-a21pffqx.mjs";import"./cli-0.6.0-855c2tef.mjs";import"./cli-0.6.0-27pnyd8x.mjs";import"./cli-0.6.0-zabvyppx.mjs";import"./cli-0.6.0-1zce7bz0.mjs";import"./cli-0.6.0-2ztxr2t5.mjs";import"./cli-0.6.0-mvv5jvw3.mjs";import"./cli-0.6.0-7m760mbp.mjs";import"./cli-0.6.0-3wr1g3r3.mjs";import"./cli-0.6.0-1b6rqyjf.mjs";import"./cli-0.6.0-xzvyqs4f.mjs";import"./cli-0.6.0-mmp6g96h.mjs";import"./cli-0.6.0-h88zf9sp.mjs";import"./cli-0.6.0-6tdctbcr.mjs";import"./cli-0.6.0-b6tgentw.mjs";import"./cli-0.6.0-hxhwjzmm.mjs";import"./cli-0.6.0-592v9jcz.mjs";import"./cli-0.6.0-wmt6ytdx.mjs";import"./cli-0.6.0-4ks8fpx1.mjs";import"./cli-0.6.0-c1hzx5ft.mjs";import"./cli-0.6.0-r5tyrw7e.mjs";import"./cli-0.6.0-npjb4qxf.mjs";import"./cli-0.6.0-d3wk9en8.mjs";import"./cli-0.6.0-rrp10514.mjs";import"./cli-0.6.0-hwes2c0w.mjs";import"./cli-0.6.0-76c1zq6n.mjs";import"./cli-0.6.0-hf8fw0bb.mjs";import"./cli-0.6.0-tmwp0q7v.mjs";import"./cli-0.6.0-zr99z1nr.mjs";import"./cli-0.6.0-ycj7gxxz.mjs";import"./cli-0.6.0-0p3mkd59.mjs";import"./cli-0.6.0-s36ckgp3.mjs";import"./cli-0.6.0-gw1zy408.mjs";import"./cli-0.6.0-0yb835ch.mjs";import"./cli-0.6.0-t93n2gev.mjs";import"./cli-0.6.0-3qpvyrpf.mjs";import"./cli-0.6.0-8meqksnp.mjs";import"./cli-0.6.0-qzs04ar5.mjs";import"./cli-0.6.0-vzmjmj1n.mjs";import"./cli-0.6.0-3m7j40bv.mjs";import"./cli-0.6.0-js1fe4hv.mjs";import"./cli-0.6.0-dxwdyaw3.mjs";import"./cli-0.6.0-aqestr3c.mjs";import"./cli-0.6.0-32mypc03.mjs";import"./cli-0.6.0-2age3kgh.mjs";import"./cli-0.6.0-jfft7zdk.mjs";import"./cli-0.6.0-s6hbyqbv.mjs";import"./cli-0.6.0-xyv90m2s.mjs";import"./cli-0.6.0-hraw3dez.mjs";import"./cli-0.6.0-5bjsew2k.mjs";import"./cli-0.6.0-kr9jt2p9.mjs";import"./cli-0.6.0-2k2xxr4j.mjs";import"./cli-0.6.0-nxpvznpz.mjs";import"./cli-0.6.0-2gsntzzv.mjs";import"./cli-0.6.0-qnby905t.mjs";import"./cli-0.6.0-s56fh7wm.mjs";import"./cli-0.6.0-p3kytvrk.mjs";import"./cli-0.6.0-5m6h57jc.mjs";import"./cli-0.6.0-t2arqp0e.mjs";import"./cli-0.6.0-jb17xpd5.mjs";import"./cli-0.6.0-szxjcmcn.mjs";export{b as initializeTelemetryAfterTrust,a as init};
|