@claudiolabs/claudin 1.0.8 → 1.0.9
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/README.md +1 -0
- package/dist/chunks/AgentTool-1.0.9-pn7bw6yv.mjs +1 -0
- package/dist/chunks/App-1.0.9-4evjz5w2.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.0.9-bbb6t3r9.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.0.9-133vee5x.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.0.9-1bgty08c.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.0.9-acyyj7ky.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.9-8d430r75.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.0.9-6ew6r9f6.mjs +1 -0
- package/dist/chunks/DiffDialog-1.0.9-ze7bee5g.mjs +7 -0
- package/dist/chunks/Doctor-1.0.9-xy0g4b33.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.0.9-3yjz2cvs.mjs +6 -0
- package/dist/chunks/Grove-1.0.9-96nwpafr.mjs +1 -0
- package/dist/chunks/ITermBackend-1.0.9-ywr7fk06.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.0.9-2q4w4j4t.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.0.9-z37xr3zw.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.0.9-z7j3qhg7.mjs +1 -0
- package/dist/chunks/Onboarding-1.0.9-gtxm4j8b.mjs +1 -0
- package/dist/chunks/ProviderManager-1.0.9-1mdk6qz8.mjs +1 -0
- package/dist/chunks/REPL-1.0.9-8b6q2gzd.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.0.9-e0r40skb.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.0.9-02v56nb9.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.0.9-bdgqerzr.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.9-vtm223ky.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.0.9-bmyks5dc.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.0.9-ns6fj8sv.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.0.9-98prvmmb.mjs +1 -0
- package/dist/chunks/TrustDialog-1.0.9-br4q9mkd.mjs +1 -0
- package/dist/chunks/activeProvider-1.0.9-5nxztxpg.mjs +1 -0
- package/dist/chunks/add-dir-1.0.9-ypva61t4.mjs +1 -0
- package/dist/chunks/agentTypes-1.0.9-x07mx3dr.mjs +1 -0
- package/dist/chunks/agents-1.0.9-3mfx5p6a.mjs +3 -0
- package/dist/chunks/agents-1.0.9-8srfrkqw.mjs +110 -0
- package/dist/chunks/api-1.0.9-797pjvs1.mjs +1 -0
- package/dist/chunks/asciicast-1.0.9-2jnc8jtk.mjs +1 -0
- package/dist/chunks/assistant-1.0.9-1ryssrnh.mjs +1 -0
- package/dist/chunks/auth-1.0.9-9xadhd5v.mjs +1 -0
- package/dist/chunks/auth-1.0.9-q57mj8gk.mjs +1 -0
- package/dist/chunks/autoMode-1.0.9-rz4pssbt.mjs +48 -0
- package/dist/chunks/autoUpdater-1.0.9-kx1fdq56.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.0.9-5c1na5cn.mjs +1 -0
- package/dist/chunks/branch-1.0.9-2857desd.mjs +4 -0
- package/dist/chunks/bridge-1.0.9-a2875hps.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.0.9-pqqgvm77.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.0.9-z4rqrrb8.mjs +1 -0
- package/dist/chunks/bridgeMain-1.0.9-e08pefvd.mjs +88 -0
- package/dist/chunks/bridgePointer-1.0.9-zt50pndw.mjs +1 -0
- package/dist/chunks/btw-1.0.9-55ev3ghy.mjs +1 -0
- package/dist/chunks/buddy-1.0.9-6z68f6ex.mjs +3 -0
- package/dist/chunks/cacache-1.0.9-h1eketz5.mjs +1 -0
- package/dist/chunks/cache-probe-1.0.9-78r0f324.mjs +21 -0
- package/dist/chunks/cacheStats-1.0.9-4t8zwh7m.mjs +4 -0
- package/dist/chunks/caches-1.0.9-8vpcw0da.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.0.9-7vwfj2q3.mjs +1 -0
- package/dist/chunks/claudemd-1.0.9-cd1jnewp.mjs +1 -0
- package/dist/chunks/clear-1.0.9-881ynng5.mjs +1 -0
- package/dist/chunks/clearTerminal-1.0.9-saxb5je9.mjs +1 -0
- package/dist/chunks/cli-1.0.9-01cy14p7.mjs +2 -0
- package/dist/chunks/cli-1.0.9-03tgqcyj.mjs +2 -0
- package/dist/chunks/cli-1.0.9-06kd11jd.mjs +2 -0
- package/dist/chunks/cli-1.0.9-0e6g8sye.mjs +4 -0
- package/dist/chunks/cli-1.0.9-0f3ex0vg.mjs +15 -0
- package/dist/chunks/cli-1.0.9-0xhf29zj.mjs +2 -0
- package/dist/chunks/cli-1.0.9-0xr97fha.mjs +4 -0
- package/dist/chunks/cli-1.0.9-11j6h2p2.mjs +2 -0
- package/dist/chunks/cli-1.0.9-11tj558a.mjs +2 -0
- package/dist/chunks/cli-1.0.9-13q9fkxq.mjs +2 -0
- package/dist/chunks/cli-1.0.9-19gz2k9q.mjs +3 -0
- package/dist/chunks/cli-1.0.9-1adzaxwy.mjs +2 -0
- package/dist/chunks/cli-1.0.9-1de7bab0.mjs +2 -0
- package/dist/chunks/cli-1.0.9-1f0bxa2a.mjs +18 -0
- package/dist/chunks/cli-1.0.9-1hcdwdyw.mjs +133 -0
- package/dist/chunks/cli-1.0.9-1p61fppv.mjs +2 -0
- package/dist/chunks/cli-1.0.9-1pe38ex2.mjs +2 -0
- package/dist/chunks/cli-1.0.9-1t8pkgtd.mjs +2 -0
- package/dist/chunks/cli-1.0.9-25kh81st.mjs +18 -0
- package/dist/chunks/cli-1.0.9-2a1jman4.mjs +3 -0
- package/dist/chunks/cli-1.0.9-2gdex17t.mjs +2 -0
- package/dist/chunks/cli-1.0.9-2hgg2mnb.mjs +2 -0
- package/dist/chunks/cli-1.0.9-2ncvyz2r.mjs +45 -0
- package/dist/chunks/cli-1.0.9-2prerh1s.mjs +2 -0
- package/dist/chunks/cli-1.0.9-2y9fcheg.mjs +2 -0
- package/dist/chunks/cli-1.0.9-3bdkmcp9.mjs +18 -0
- package/dist/chunks/cli-1.0.9-3ccxr1d8.mjs +2 -0
- package/dist/chunks/cli-1.0.9-3espt55t.mjs +20 -0
- package/dist/chunks/cli-1.0.9-3k1w3fc0.mjs +2 -0
- package/dist/chunks/cli-1.0.9-3mv7thfe.mjs +21 -0
- package/dist/chunks/cli-1.0.9-3n2084tg.mjs +2 -0
- package/dist/chunks/cli-1.0.9-3wmanrzv.mjs +2 -0
- package/dist/chunks/cli-1.0.9-3wn7m4cv.mjs +3 -0
- package/dist/chunks/cli-1.0.9-3ye1460y.mjs +2 -0
- package/dist/chunks/cli-1.0.9-42ww2d94.mjs +2 -0
- package/dist/chunks/cli-1.0.9-49sanx9h.mjs +2 -0
- package/dist/chunks/cli-1.0.9-4fdvygwb.mjs +25 -0
- package/dist/chunks/cli-1.0.9-4kjme82s.mjs +2 -0
- package/dist/chunks/cli-1.0.9-4vrbbav9.mjs +2 -0
- package/dist/chunks/cli-1.0.9-4yksn92y.mjs +2 -0
- package/dist/chunks/cli-1.0.9-51rze21n.mjs +2 -0
- package/dist/chunks/cli-1.0.9-537n2cda.mjs +2 -0
- package/dist/chunks/cli-1.0.9-593a1k2m.mjs +17 -0
- package/dist/chunks/cli-1.0.9-5afn268n.mjs +34 -0
- package/dist/chunks/cli-1.0.9-601tsydg.mjs +2 -0
- package/dist/chunks/cli-1.0.9-625zsef6.mjs +2 -0
- package/dist/chunks/cli-1.0.9-6424zmgd.mjs +2 -0
- package/dist/chunks/cli-1.0.9-67c9vgsq.mjs +5492 -0
- package/dist/chunks/cli-1.0.9-68er5cff.mjs +3 -0
- package/dist/chunks/cli-1.0.9-6q0e7nk4.mjs +3 -0
- package/dist/chunks/cli-1.0.9-6x8m34y6.mjs +67 -0
- package/dist/chunks/cli-1.0.9-6yxsfcyh.mjs +2 -0
- package/dist/chunks/cli-1.0.9-71jbnxs0.mjs +4 -0
- package/dist/chunks/cli-1.0.9-7exncgt2.mjs +4 -0
- package/dist/chunks/cli-1.0.9-7gewnt7b.mjs +2 -0
- package/dist/chunks/cli-1.0.9-7xt7m2q5.mjs +2 -0
- package/dist/chunks/cli-1.0.9-806xk0g7.mjs +2 -0
- package/dist/chunks/cli-1.0.9-81zj78t2.mjs +2 -0
- package/dist/chunks/cli-1.0.9-89yxpmpq.mjs +3 -0
- package/dist/chunks/cli-1.0.9-8f06bgf9.mjs +4 -0
- package/dist/chunks/cli-1.0.9-8g8n5ceb.mjs +2 -0
- package/dist/chunks/cli-1.0.9-8j4fe1qz.mjs +2 -0
- package/dist/chunks/cli-1.0.9-912srhxc.mjs +2 -0
- package/dist/chunks/cli-1.0.9-963yvtxd.mjs +2 -0
- package/dist/chunks/cli-1.0.9-9jyyb7zx.mjs +12 -0
- package/dist/chunks/cli-1.0.9-9p6ww1a0.mjs +2 -0
- package/dist/chunks/cli-1.0.9-9yr5whta.mjs +26 -0
- package/dist/chunks/cli-1.0.9-a0zm3d1g.mjs +2 -0
- package/dist/chunks/cli-1.0.9-aasy7y47.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ajhbq50f.mjs +2 -0
- package/dist/chunks/cli-1.0.9-awxee62m.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ayjdc0qr.mjs +2 -0
- package/dist/chunks/cli-1.0.9-az9m58wa.mjs +2 -0
- package/dist/chunks/cli-1.0.9-b029w2p8.mjs +2 -0
- package/dist/chunks/cli-1.0.9-b11n0pyq.mjs +9 -0
- package/dist/chunks/cli-1.0.9-b38km1fw.mjs +2 -0
- package/dist/chunks/cli-1.0.9-b78v72rn.mjs +2 -0
- package/dist/chunks/cli-1.0.9-bas5sqzw.mjs +2 -0
- package/dist/chunks/cli-1.0.9-bd7743tj.mjs +2 -0
- package/dist/chunks/cli-1.0.9-bg3jgpj8.mjs +2 -0
- package/dist/chunks/cli-1.0.9-bqcs2981.mjs +4 -0
- package/dist/chunks/cli-1.0.9-c05x7nfj.mjs +3 -0
- package/dist/chunks/cli-1.0.9-c5n2kbdv.mjs +17 -0
- package/dist/chunks/cli-1.0.9-cc6btq9c.mjs +2 -0
- package/dist/chunks/cli-1.0.9-cdc3drzy.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ch1ca19q.mjs +2 -0
- package/dist/chunks/cli-1.0.9-cthzntz1.mjs +2 -0
- package/dist/chunks/cli-1.0.9-cymry1xw.mjs +2 -0
- package/dist/chunks/cli-1.0.9-d8rq80ph.mjs +2 -0
- package/dist/chunks/cli-1.0.9-dbs656rx.mjs +133 -0
- package/dist/chunks/cli-1.0.9-dg55k2hn.mjs +2 -0
- package/dist/chunks/cli-1.0.9-dg8j07p1.mjs +2 -0
- package/dist/chunks/cli-1.0.9-dp3xhncn.mjs +2 -0
- package/dist/chunks/cli-1.0.9-dvbfpdtc.mjs +24 -0
- package/dist/chunks/cli-1.0.9-e2f6b83v.mjs +2 -0
- package/dist/chunks/cli-1.0.9-e2mjjvjc.mjs +2 -0
- package/dist/chunks/cli-1.0.9-e491drav.mjs +2 -0
- package/dist/chunks/cli-1.0.9-e8n90m9g.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ea0y4mww.mjs +2 -0
- package/dist/chunks/cli-1.0.9-eb7ne7cx.mjs +2 -0
- package/dist/chunks/cli-1.0.9-eeyg3kcg.mjs +4 -0
- package/dist/chunks/cli-1.0.9-efmzhqag.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ej3ahs6j.mjs +199 -0
- package/dist/chunks/cli-1.0.9-eq3sypj3.mjs +2 -0
- package/dist/chunks/cli-1.0.9-erz57dtz.mjs +6 -0
- package/dist/chunks/cli-1.0.9-ez2pcj03.mjs +2 -0
- package/dist/chunks/cli-1.0.9-fejr36z6.mjs +2 -0
- package/dist/chunks/cli-1.0.9-fhj3g7hg.mjs +2 -0
- package/dist/chunks/cli-1.0.9-fkbdtr1w.mjs +3 -0
- package/dist/chunks/cli-1.0.9-fkfc8k86.mjs +2 -0
- package/dist/chunks/cli-1.0.9-fvw201bt.mjs +2 -0
- package/dist/chunks/cli-1.0.9-fw4bsz0q.mjs +2 -0
- package/dist/chunks/cli-1.0.9-fx0e9bkg.mjs +2 -0
- package/dist/chunks/cli-1.0.9-g8mgmpkc.mjs +2 -0
- package/dist/chunks/cli-1.0.9-gctz0hyw.mjs +24 -0
- package/dist/chunks/cli-1.0.9-ge04svda.mjs +2 -0
- package/dist/chunks/cli-1.0.9-gh82pj8t.mjs +50 -0
- package/dist/chunks/cli-1.0.9-gjta07sd.mjs +2 -0
- package/dist/chunks/cli-1.0.9-gsgbywct.mjs +25 -0
- package/dist/chunks/cli-1.0.9-gvp958jh.mjs +2 -0
- package/dist/chunks/cli-1.0.9-h5kwp1cf.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ha9fdhs8.mjs +2 -0
- package/dist/chunks/cli-1.0.9-hf6frb0e.mjs +9 -0
- package/dist/chunks/cli-1.0.9-htsk8rvv.mjs +42 -0
- package/dist/chunks/cli-1.0.9-j02z8apf.mjs +2 -0
- package/dist/chunks/cli-1.0.9-j2832pm5.mjs +2 -0
- package/dist/chunks/cli-1.0.9-j297swbj.mjs +2 -0
- package/dist/chunks/cli-1.0.9-j500vd5e.mjs +2 -0
- package/dist/chunks/cli-1.0.9-j6fwd0mg.mjs +3 -0
- package/dist/chunks/cli-1.0.9-jcnmjs31.mjs +2 -0
- package/dist/chunks/cli-1.0.9-jfgy2jk6.mjs +5 -0
- package/dist/chunks/cli-1.0.9-jktrmswp.mjs +2 -0
- package/dist/chunks/cli-1.0.9-jmxz57bg.mjs +2 -0
- package/dist/chunks/cli-1.0.9-jq2h9s5r.mjs +2 -0
- package/dist/chunks/cli-1.0.9-jwye26tm.mjs +2 -0
- package/dist/chunks/cli-1.0.9-k7xzs5f3.mjs +2 -0
- package/dist/chunks/cli-1.0.9-k9k4mjr2.mjs +58 -0
- package/dist/chunks/cli-1.0.9-kfge7dzc.mjs +3 -0
- package/dist/chunks/cli-1.0.9-kw7p06w2.mjs +2 -0
- package/dist/chunks/cli-1.0.9-m6k5afpm.mjs +3 -0
- package/dist/chunks/cli-1.0.9-mx0hp5fn.mjs +2 -0
- package/dist/chunks/cli-1.0.9-n2eds51d.mjs +2 -0
- package/dist/chunks/cli-1.0.9-nc1t91tt.mjs +15 -0
- package/dist/chunks/cli-1.0.9-nm7ds98w.mjs +2 -0
- package/dist/chunks/cli-1.0.9-nz0skfsg.mjs +6 -0
- package/dist/chunks/cli-1.0.9-p3a08x10.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ppa9xdxq.mjs +2 -0
- package/dist/chunks/cli-1.0.9-pxkbc8zc.mjs +2 -0
- package/dist/chunks/cli-1.0.9-q38wwdnj.mjs +2 -0
- package/dist/chunks/cli-1.0.9-q3fzs7rd.mjs +59 -0
- package/dist/chunks/cli-1.0.9-q3xyfb3x.mjs +2 -0
- package/dist/chunks/cli-1.0.9-q6e8xnkz.mjs +2 -0
- package/dist/chunks/cli-1.0.9-qb618hw7.mjs +2 -0
- package/dist/chunks/cli-1.0.9-qjey3ysx.mjs +3 -0
- package/dist/chunks/cli-1.0.9-qpvnvfac.mjs +2 -0
- package/dist/chunks/cli-1.0.9-qyfx57wb.mjs +2 -0
- package/dist/chunks/cli-1.0.9-r4ysx5t8.mjs +2 -0
- package/dist/chunks/cli-1.0.9-rd2hz2r7.mjs +2 -0
- package/dist/chunks/cli-1.0.9-rh1x9xts.mjs +2 -0
- package/dist/chunks/cli-1.0.9-rhvh1vdg.mjs +39 -0
- package/dist/chunks/cli-1.0.9-rjq71gw8.mjs +2 -0
- package/dist/chunks/cli-1.0.9-rm8ssvm7.mjs +2 -0
- package/dist/chunks/cli-1.0.9-rpw6qq2j.mjs +2 -0
- package/dist/chunks/cli-1.0.9-s6nk6s0k.mjs +2 -0
- package/dist/chunks/cli-1.0.9-sbbswdzj.mjs +2 -0
- package/dist/chunks/cli-1.0.9-sbm5c6f2.mjs +2 -0
- package/dist/chunks/cli-1.0.9-sjqe138z.mjs +16 -0
- package/dist/chunks/cli-1.0.9-sx5z6m5d.mjs +24 -0
- package/dist/chunks/cli-1.0.9-t4qshvc1.mjs +12 -0
- package/dist/chunks/cli-1.0.9-t80qhn8j.mjs +8 -0
- package/dist/chunks/cli-1.0.9-t8c5khak.mjs +2 -0
- package/dist/chunks/cli-1.0.9-tbzbnv01.mjs +2 -0
- package/dist/chunks/cli-1.0.9-tcn5dpwj.mjs +6 -0
- package/dist/chunks/cli-1.0.9-tcszykvk.mjs +2 -0
- package/dist/chunks/cli-1.0.9-th90br16.mjs +2 -0
- package/dist/chunks/cli-1.0.9-tkk94r4t.mjs +4 -0
- package/dist/chunks/cli-1.0.9-tv64yqec.mjs +2 -0
- package/dist/chunks/cli-1.0.9-tzke31bj.mjs +12 -0
- package/dist/chunks/cli-1.0.9-v1ymh1ej.mjs +7 -0
- package/dist/chunks/cli-1.0.9-v770djrd.mjs +2 -0
- package/dist/chunks/cli-1.0.9-vcf21zvy.mjs +2 -0
- package/dist/chunks/cli-1.0.9-vhcxraj8.mjs +2 -0
- package/dist/chunks/cli-1.0.9-vvwt9bfb.mjs +2 -0
- package/dist/chunks/cli-1.0.9-w1yvav1x.mjs +2 -0
- package/dist/chunks/cli-1.0.9-w5dyqxqk.mjs +2 -0
- package/dist/chunks/cli-1.0.9-wcm9r8rn.mjs +2 -0
- package/dist/chunks/cli-1.0.9-wk087awy.mjs +2 -0
- package/dist/chunks/cli-1.0.9-wm0q00hf.mjs +3 -0
- package/dist/chunks/cli-1.0.9-wny75xk9.mjs +2 -0
- package/dist/chunks/cli-1.0.9-x06kapeh.mjs +2 -0
- package/dist/chunks/cli-1.0.9-x3vqg6qp.mjs +2 -0
- package/dist/chunks/cli-1.0.9-x4t4nqd2.mjs +4 -0
- package/dist/chunks/cli-1.0.9-x4tngp24.mjs +5 -0
- package/dist/chunks/cli-1.0.9-x8ty0z67.mjs +12 -0
- package/dist/chunks/cli-1.0.9-xd6wrh53.mjs +2 -0
- package/dist/chunks/cli-1.0.9-xe8dc6qb.mjs +2 -0
- package/dist/chunks/cli-1.0.9-xtwh19d1.mjs +1 -0
- package/dist/chunks/cli-1.0.9-xx44tx6h.mjs +2 -0
- package/dist/chunks/cli-1.0.9-xyzdk3z1.mjs +2 -0
- package/dist/chunks/cli-1.0.9-y0zax3d9.mjs +2 -0
- package/dist/chunks/cli-1.0.9-y1db6cvh.mjs +2 -0
- package/dist/chunks/cli-1.0.9-y7sdjd9n.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ymbxfv5d.mjs +6 -0
- package/dist/chunks/cli-1.0.9-ympvk0av.mjs +6 -0
- package/dist/chunks/cli-1.0.9-z8ywz3b3.mjs +3 -0
- package/dist/chunks/cli-1.0.9-z9a1abx1.mjs +15 -0
- package/dist/chunks/cli-1.0.9-zd316ka9.mjs +2 -0
- package/dist/chunks/cli-1.0.9-zqr8aygv.mjs +2 -0
- package/dist/chunks/cli-1.0.9-zrphfr1b.mjs +4 -0
- package/dist/chunks/client-1.0.9-6ytq8zpq.mjs +1 -0
- package/dist/chunks/color-1.0.9-6fzgjvkk.mjs +1 -0
- package/dist/chunks/compact-1.0.9-zezrh8xr.mjs +3 -0
- package/dist/chunks/config-1.0.9-wvjbx4ke.mjs +1 -0
- package/dist/chunks/config-1.0.9-wvne91f5.mjs +1 -0
- package/dist/chunks/constants-1.0.9-2fzrexcb.mjs +1 -0
- package/dist/chunks/context-1.0.9-ygv4e0ng.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.0.9-jn0d4nj0.mjs +1 -0
- package/dist/chunks/conversation-1.0.9-gg4v7nyy.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.0.9-eyzv69et.mjs +1 -0
- package/dist/chunks/copy-1.0.9-1spbc1fd.mjs +9 -0
- package/dist/chunks/cost-1.0.9-axf868g8.mjs +1 -0
- package/dist/chunks/createSSHSession-1.0.9-zp88fdrv.mjs +1 -0
- package/dist/chunks/createSession-1.0.9-6xv9ygwy.mjs +1 -0
- package/dist/chunks/debug-1.0.9-j00wf57e.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.0.9-yzqemm6t.mjs +1446 -0
- package/dist/chunks/desktop-1.0.9-zq6w2b8s.mjs +1 -0
- package/dist/chunks/detectRepository-1.0.9-mjzbbps4.mjs +1 -0
- package/dist/chunks/detection-1.0.9-yjvmg8pn.mjs +1 -0
- package/dist/chunks/diff-1.0.9-68dbevx4.mjs +1 -0
- package/dist/chunks/doctor-1.0.9-xgwzb4yw.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.0.9-p8be86qt.mjs +1 -0
- package/dist/chunks/earlyInput-1.0.9-a7f6p18j.mjs +1 -0
- package/dist/chunks/effort-1.0.9-zv46qr82.mjs +10 -0
- package/dist/chunks/engine-1.0.9-zm715gn8.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.0.9-pbgxdbt9.mjs +1 -0
- package/dist/chunks/envUtils-1.0.9-jvdj5nsn.mjs +1 -0
- package/dist/chunks/environmentSelection-1.0.9-32y4kxzx.mjs +1 -0
- package/dist/chunks/environments-1.0.9-rapbbhdb.mjs +1 -0
- package/dist/chunks/errors-1.0.9-mr00r6m7.mjs +1 -0
- package/dist/chunks/exampleCommands-1.0.9-d9kwjybb.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.0.9-17y7nf7n.mjs +1 -0
- package/dist/chunks/exit-1.0.9-a8dgmc5m.mjs +1 -0
- package/dist/chunks/explorer-1.0.9-rr21y6bg.mjs +1 -0
- package/dist/chunks/export-1.0.9-m63465sz.mjs +2 -0
- package/dist/chunks/extra-usage-1.0.9-jyvmfa3x.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.0.9-jr4xqktt.mjs +1 -0
- package/dist/chunks/fast-1.0.9-944nf8hg.mjs +1 -0
- package/dist/chunks/feedback-1.0.9-c6qydbzp.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.0.9-25ey9wf6.mjs +1 -0
- package/dist/chunks/git-1.0.9-se8gx0p4.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.0.9-14n5qqvf.mjs +1 -0
- package/dist/chunks/goal-1.0.9-v5bwyvtb.mjs +4 -0
- package/dist/chunks/grove-1.0.9-twka7z5j.mjs +1 -0
- package/dist/chunks/growthbook-1.0.9-mghtxr31.mjs +1 -0
- package/dist/chunks/headless-1.0.9-m319gz5s.mjs +2 -0
- package/dist/chunks/heapdump-1.0.9-zk05f03w.mjs +6 -0
- package/dist/chunks/help-1.0.9-fjdspdd3.mjs +1 -0
- package/dist/chunks/hookChains-1.0.9-1p47yp2s.mjs +3 -0
- package/dist/chunks/hooks-1.0.9-gsae7evr.mjs +79 -0
- package/dist/chunks/hooks-1.0.9-ryra9j7e.mjs +1 -0
- package/dist/chunks/ide-1.0.9-5xk8pvc3.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.0.9-m8xt10vv.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.0.9-tv4b8ex4.mjs +1 -0
- package/dist/chunks/index-1.0.9-0mep6p2e.mjs +1 -0
- package/dist/chunks/index-1.0.9-41fkayp7.mjs +1 -0
- package/dist/chunks/index-1.0.9-4kgb526x.mjs +1 -0
- package/dist/chunks/index-1.0.9-6yrhew13.mjs +17 -0
- package/dist/chunks/index-1.0.9-90m3hak5.mjs +1 -0
- package/dist/chunks/index-1.0.9-93jbt8ts.mjs +1 -0
- package/dist/chunks/index-1.0.9-9ryfj4pb.mjs +1 -0
- package/dist/chunks/index-1.0.9-cq06g7a0.mjs +1 -0
- package/dist/chunks/index-1.0.9-f7brqkkr.mjs +1 -0
- package/dist/chunks/index-1.0.9-hvkdhsta.mjs +1 -0
- package/dist/chunks/index-1.0.9-jk2fhj8t.mjs +9 -0
- package/dist/chunks/index-1.0.9-kcnhr8fy.mjs +2 -0
- package/dist/chunks/index-1.0.9-kgymjzxf.mjs +1 -0
- package/dist/chunks/index-1.0.9-n9ganzdc.mjs +1 -0
- package/dist/chunks/index-1.0.9-p2kz6wm8.mjs +2 -0
- package/dist/chunks/index-1.0.9-q3kvfren.mjs +1 -0
- package/dist/chunks/index-1.0.9-qvjyptep.mjs +30 -0
- package/dist/chunks/index-1.0.9-sy14c383.mjs +1 -0
- package/dist/chunks/index-1.0.9-w84j6099.mjs +9 -0
- package/dist/chunks/index-1.0.9-xfjgkms3.mjs +1 -0
- package/dist/chunks/index-1.0.9-ystczwgk.mjs +1 -0
- package/dist/chunks/index-1.0.9-ythrtswh.mjs +5 -0
- package/dist/chunks/index-1.0.9-ytvws96r.mjs +1 -0
- package/dist/chunks/init-1.0.9-dk6ce4ec.mjs +1 -0
- package/dist/chunks/initReplBridge-1.0.9-xyxharkg.mjs +1 -0
- package/dist/chunks/ink-1.0.9-sj61qpy1.mjs +1 -0
- package/dist/chunks/insights-1.0.9-kc18bxsj.mjs +870 -0
- package/dist/chunks/install-1.0.9-41n1cava.mjs +1 -0
- package/dist/chunks/install-github-app-1.0.9-d0jrca5q.mjs +149 -0
- package/dist/chunks/install-slack-app-1.0.9-sgvf9xhe.mjs +1 -0
- package/dist/chunks/instrumentation-1.0.9-k55h305p.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.0.9-edx0pwv2.mjs +1 -0
- package/dist/chunks/keybindings-1.0.9-3j7rmqad.mjs +2 -0
- package/dist/chunks/knowledge-1.0.9-a0yrjtaw.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.0.9-vaxbjn5a.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.0.9-5v5xmfae.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.9-jkz1yssz.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.9-ymdjzq3r.mjs +1 -0
- package/dist/chunks/log-1.0.9-zkpyqa3m.mjs +1 -0
- package/dist/chunks/main-1.0.9-h2389xyv.mjs +1 -0
- package/dist/chunks/managedEnv-1.0.9-m1nbgm9w.mjs +1 -0
- package/dist/chunks/mcp-1.0.9-0pffb151.mjs +4 -0
- package/dist/chunks/mcp-1.0.9-7te57n7g.mjs +1 -0
- package/dist/chunks/mcp-1.0.9-zx01gh7r.mjs +17 -0
- package/dist/chunks/mcpb-1.0.9-01pgh57h.mjs +1 -0
- package/dist/chunks/memory-1.0.9-t9n2z13b.mjs +3 -0
- package/dist/chunks/model-1.0.9-a1hweteq.mjs +1 -0
- package/dist/chunks/model-1.0.9-jpjmt8a2.mjs +2 -0
- package/dist/chunks/node-1.0.9-p2k460a4.mjs +12 -0
- package/dist/chunks/oauth-1.0.9-zjepvezc.mjs +1 -0
- package/dist/chunks/openaiShim-1.0.9-gapf03nh.mjs +14 -0
- package/dist/chunks/output-style-1.0.9-ssjrzh6q.mjs +1 -0
- package/dist/chunks/package-ZZWOLTXM-1.0.9-z6aewhjx.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.0.9-7gq7343s.mjs +1 -0
- package/dist/chunks/parser-1.0.9-pke5bjkh.mjs +1 -0
- package/dist/chunks/passes-1.0.9-r3ydzpyv.mjs +1 -0
- package/dist/chunks/permissions-1.0.9-97jpkg18.mjs +1 -0
- package/dist/chunks/permissions-1.0.9-c4jx0pxn.mjs +3 -0
- package/dist/chunks/plan-1.0.9-z3j9hsww.mjs +1 -0
- package/dist/chunks/plist-1.0.9-2acqr7kv.mjs +1 -0
- package/dist/chunks/plugin-1.0.9-z1m6zzew.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.0.9-41sskjk2.mjs +1 -0
- package/dist/chunks/plugins-1.0.9-6tptm5qm.mjs +9 -0
- package/dist/chunks/preActionHook-1.0.9-wecvzns1.mjs +2 -0
- package/dist/chunks/print-1.0.9-dqymva6x.mjs +57 -0
- package/dist/chunks/privacy-settings-1.0.9-zyecjx4p.mjs +1 -0
- package/dist/chunks/process-1.0.9-2w0fkryd.mjs +1 -0
- package/dist/chunks/processBashCommand-1.0.9-4s05h1bj.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.0.9-5tvxytqm.mjs +9 -0
- package/dist/chunks/prompt-1.0.9-nb76g2sv.mjs +1 -0
- package/dist/chunks/prompt-1.0.9-va3886b6.mjs +1 -0
- package/dist/chunks/prompts-1.0.9-m9dxdech.mjs +1 -0
- package/dist/chunks/protocolHandler-1.0.9-xnnv5p87.mjs +13 -0
- package/dist/chunks/provider-1.0.9-cvmd8h1d.mjs +2 -0
- package/dist/chunks/providerProfiles-1.0.9-9g0pwem4.mjs +1 -0
- package/dist/chunks/providerValidation-1.0.9-3rgdk5ee.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.0.9-vk9xmrr9.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.0.9-5jz3t4qr.mjs +34 -0
- package/dist/chunks/registry-1.0.9-9mvkaffy.mjs +1 -0
- package/dist/chunks/release-notes-1.0.9-6r7p97mn.mjs +5 -0
- package/dist/chunks/reload-plugins-1.0.9-xdhvgqpn.mjs +2 -0
- package/dist/chunks/remote-env-1.0.9-9htaxz0y.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.0.9-xgvn82tp.mjs +1 -0
- package/dist/chunks/remoteSession-1.0.9-7s48fkf7.mjs +1 -0
- package/dist/chunks/rename-1.0.9-j3rs23m1.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.0.9-f67nzh9x.mjs +1 -0
- package/dist/chunks/replLauncher-1.0.9-gxjrsm7t.mjs +1 -0
- package/dist/chunks/resume-1.0.9-9f2xh9ad.mjs +2 -0
- package/dist/chunks/rewind-1.0.9-2tjbaa5s.mjs +1 -0
- package/dist/chunks/rootOptions-1.0.9-s35d4dq8.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.0.9-qzevh0jq.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.0.9-7vzjdzm5.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.0.9-q22mn3qe.mjs +1 -0
- package/dist/chunks/session-1.0.9-hnswn4q3.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.0.9-ap3h87gt.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.0.9-266mnj7x.mjs +1 -0
- package/dist/chunks/sessionStorage-1.0.9-kdgvfddk.mjs +1 -0
- package/dist/chunks/settings-1.0.9-1avp22jd.mjs +1 -0
- package/dist/chunks/setup-1.0.9-v2ar4w15.mjs +5 -0
- package/dist/chunks/sinks-1.0.9-03y6p189.mjs +1 -0
- package/dist/chunks/skills-1.0.9-7m3bv7w4.mjs +1 -0
- package/dist/chunks/startupProfiler-1.0.9-3pbpjpsx.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.0.9-r287g8qr.mjs +1 -0
- package/dist/chunks/state-1.0.9-5vj2cfb7.mjs +1 -0
- package/dist/chunks/stats-1.0.9-5wpymg6m.mjs +6 -0
- package/dist/chunks/status-1.0.9-zcea5prt.mjs +1 -0
- package/dist/chunks/stickers-1.0.9-01r7j7ce.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.0.9-mknwnjve.mjs +1 -0
- package/dist/chunks/tasks-1.0.9-cenyj69d.mjs +1 -0
- package/dist/chunks/teamHelpers-1.0.9-7hr689j5.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.0.9-r6bjthhg.mjs +1 -0
- package/dist/chunks/teleport-1.0.9-3a8fh64n.mjs +1 -0
- package/dist/chunks/terminalSetup-1.0.9-dbp1dey3.mjs +1 -0
- package/dist/chunks/theme-1.0.9-he0pz8e5.mjs +1 -0
- package/dist/chunks/thinkback-1.0.9-taf9vg12.mjs +1 -0
- package/dist/chunks/thinkback-play-1.0.9-11em8wf4.mjs +1 -0
- package/dist/chunks/toolPool-1.0.9-r3vtdta9.mjs +1 -0
- package/dist/chunks/toolSearch-1.0.9-kwvr4k8b.mjs +1 -0
- package/dist/chunks/tools-1.0.9-2tg8nvhb.mjs +1 -0
- package/dist/chunks/trustedDevice-1.0.9-0q7ygrn2.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.0.9-579kp1mn.mjs +69 -0
- package/dist/chunks/types-1.0.9-8q18d5tt.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.0.9-9ejdt7py.mjs +4 -0
- package/dist/chunks/update-1.0.9-85n1z4v4.mjs +88 -0
- package/dist/chunks/upgrade-1.0.9-7q7cawa0.mjs +1 -0
- package/dist/chunks/upload-1.0.9-51kq9qt0.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.0.9-59ykzeyj.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.0.9-x7vgzkpg.mjs +1 -0
- package/dist/chunks/usage-1.0.9-z798edp5.mjs +1 -0
- package/dist/chunks/util-1.0.9-7kephmmr.mjs +1 -0
- package/dist/chunks/utils-1.0.9-ek4v8a00.mjs +1 -0
- package/dist/chunks/vim-1.0.9-kj0qj8nh.mjs +1 -0
- package/dist/chunks/watchLoop-1.0.9-r1awam6x.mjs +13 -0
- package/dist/chunks/watcher-1.0.9-9j8zqhdf.mjs +1 -0
- package/dist/chunks/wiki-1.0.9-w9wz311p.mjs +132 -0
- package/dist/chunks/workflows-1.0.9-9bwm4jqm.mjs +1 -0
- package/dist/chunks/worktree-1.0.9-wnbd6zc9.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.0.9-wjt137fb.mjs +1 -0
- package/dist/chunks/wrapper-1.0.9-dykv81xe.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/dist/help-workflow.txt +12 -0
- package/dist/help.txt +1 -0
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.0.8-eje3a59q.mjs +0 -1
- package/dist/chunks/App-1.0.8-d2xvppcs.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.0.8-46gxh8v1.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.0.8-14hqa3x1.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.0.8-wbj2exgg.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.0.8-qw286z98.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.8-d7f3p2f2.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.0.8-pz9144b6.mjs +0 -1
- package/dist/chunks/DiffDialog-1.0.8-kekremjy.mjs +0 -7
- package/dist/chunks/Doctor-1.0.8-y6yd83ya.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.0.8-sde0qmj8.mjs +0 -6
- package/dist/chunks/Grove-1.0.8-vaqh13j1.mjs +0 -1
- package/dist/chunks/ITermBackend-1.0.8-pyx0hrdr.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.0.8-9xkjpkdq.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.0.8-sg0zxdxs.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.0.8-sa3w4fkf.mjs +0 -1
- package/dist/chunks/Onboarding-1.0.8-j2grnf78.mjs +0 -1
- package/dist/chunks/ProviderManager-1.0.8-rhr4npaj.mjs +0 -1
- package/dist/chunks/REPL-1.0.8-r0frprp1.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.0.8-y8q8w4g5.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.0.8-6r0afvcw.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.0.8-8k0msa15.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.8-3y1gzb63.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.0.8-sr835vjm.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.0.8-j4ewgs24.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.0.8-g3jtn9j5.mjs +0 -1
- package/dist/chunks/TrustDialog-1.0.8-6fmeeyg3.mjs +0 -1
- package/dist/chunks/activeProvider-1.0.8-07gr4v39.mjs +0 -1
- package/dist/chunks/add-dir-1.0.8-zp69mch9.mjs +0 -1
- package/dist/chunks/agentTypes-1.0.8-0tz8xbhq.mjs +0 -1
- package/dist/chunks/agents-1.0.8-7b7qbe1b.mjs +0 -3
- package/dist/chunks/agents-1.0.8-hcpq0qtv.mjs +0 -110
- package/dist/chunks/api-1.0.8-99jqr2rt.mjs +0 -1
- package/dist/chunks/asciicast-1.0.8-hdy3b2tb.mjs +0 -1
- package/dist/chunks/assistant-1.0.8-wf6vgaxz.mjs +0 -1
- package/dist/chunks/auth-1.0.8-by49xah8.mjs +0 -1
- package/dist/chunks/auth-1.0.8-jhga5hc5.mjs +0 -1
- package/dist/chunks/autoMode-1.0.8-9hknbsrn.mjs +0 -48
- package/dist/chunks/autoUpdater-1.0.8-n0axyces.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.0.8-tthnkm6t.mjs +0 -1
- package/dist/chunks/branch-1.0.8-v0vyzjd1.mjs +0 -4
- package/dist/chunks/bridge-1.0.8-9em7eyw2.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.0.8-rc3gw5mw.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.0.8-mmzmxjzj.mjs +0 -1
- package/dist/chunks/bridgeMain-1.0.8-kys2mqca.mjs +0 -88
- package/dist/chunks/bridgePointer-1.0.8-ky397f5d.mjs +0 -1
- package/dist/chunks/btw-1.0.8-ppch37et.mjs +0 -1
- package/dist/chunks/buddy-1.0.8-3j0jmxqv.mjs +0 -3
- package/dist/chunks/cacache-1.0.8-npx6886e.mjs +0 -1
- package/dist/chunks/cache-probe-1.0.8-q0q9v06f.mjs +0 -21
- package/dist/chunks/cacheStats-1.0.8-8g3sbes5.mjs +0 -4
- package/dist/chunks/caches-1.0.8-c44ykbdq.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.0.8-3718a4er.mjs +0 -1
- package/dist/chunks/claudemd-1.0.8-mrm97672.mjs +0 -1
- package/dist/chunks/clear-1.0.8-60s1dmkm.mjs +0 -1
- package/dist/chunks/clearTerminal-1.0.8-s7tt8cvq.mjs +0 -1
- package/dist/chunks/cli-1.0.8-0g25h6r5.mjs +0 -3
- package/dist/chunks/cli-1.0.8-0j3a18cb.mjs +0 -2
- package/dist/chunks/cli-1.0.8-0w29g9sk.mjs +0 -4
- package/dist/chunks/cli-1.0.8-1r6dnkqd.mjs +0 -45
- package/dist/chunks/cli-1.0.8-1ss6x3zt.mjs +0 -2
- package/dist/chunks/cli-1.0.8-1tmgp7jd.mjs +0 -2
- package/dist/chunks/cli-1.0.8-2tcfa3h7.mjs +0 -26
- package/dist/chunks/cli-1.0.8-2tqdqypv.mjs +0 -2
- package/dist/chunks/cli-1.0.8-2tz4jekt.mjs +0 -2
- package/dist/chunks/cli-1.0.8-2vmb9a3w.mjs +0 -2
- package/dist/chunks/cli-1.0.8-2yyas23w.mjs +0 -2
- package/dist/chunks/cli-1.0.8-330tdbma.mjs +0 -2
- package/dist/chunks/cli-1.0.8-34678988.mjs +0 -2
- package/dist/chunks/cli-1.0.8-3cz8c904.mjs +0 -2
- package/dist/chunks/cli-1.0.8-3j90qb52.mjs +0 -2
- package/dist/chunks/cli-1.0.8-3tw1xf7y.mjs +0 -2
- package/dist/chunks/cli-1.0.8-3vh4nftm.mjs +0 -7
- package/dist/chunks/cli-1.0.8-3w4np76x.mjs +0 -2
- package/dist/chunks/cli-1.0.8-45e9fjb4.mjs +0 -21
- package/dist/chunks/cli-1.0.8-4a1exx1w.mjs +0 -2
- package/dist/chunks/cli-1.0.8-4vzmdadp.mjs +0 -2
- package/dist/chunks/cli-1.0.8-4wgaqcjn.mjs +0 -42
- package/dist/chunks/cli-1.0.8-53cy4zte.mjs +0 -34
- package/dist/chunks/cli-1.0.8-592dqckn.mjs +0 -12
- package/dist/chunks/cli-1.0.8-5awx1w8e.mjs +0 -25
- package/dist/chunks/cli-1.0.8-5dyqgt8m.mjs +0 -15
- package/dist/chunks/cli-1.0.8-5gn5a7p3.mjs +0 -2
- package/dist/chunks/cli-1.0.8-5mzwqxg2.mjs +0 -5
- package/dist/chunks/cli-1.0.8-5r4z4nzj.mjs +0 -9
- package/dist/chunks/cli-1.0.8-5wfqemy1.mjs +0 -17
- package/dist/chunks/cli-1.0.8-5wwge1jc.mjs +0 -3
- package/dist/chunks/cli-1.0.8-628ypgq9.mjs +0 -4
- package/dist/chunks/cli-1.0.8-63tfdt8q.mjs +0 -2
- package/dist/chunks/cli-1.0.8-693zfwne.mjs +0 -2
- package/dist/chunks/cli-1.0.8-6fz5dc6p.mjs +0 -2
- package/dist/chunks/cli-1.0.8-6hge9cq0.mjs +0 -2
- package/dist/chunks/cli-1.0.8-6q1p5cvf.mjs +0 -2
- package/dist/chunks/cli-1.0.8-74y9exyb.mjs +0 -2
- package/dist/chunks/cli-1.0.8-74zbkhyt.mjs +0 -67
- package/dist/chunks/cli-1.0.8-75t3aews.mjs +0 -2
- package/dist/chunks/cli-1.0.8-75ta9404.mjs +0 -2
- package/dist/chunks/cli-1.0.8-7b6c3csb.mjs +0 -2
- package/dist/chunks/cli-1.0.8-7khq3d03.mjs +0 -2
- package/dist/chunks/cli-1.0.8-7p8001bq.mjs +0 -2
- package/dist/chunks/cli-1.0.8-7tm0v9g4.mjs +0 -2
- package/dist/chunks/cli-1.0.8-845srnq2.mjs +0 -2
- package/dist/chunks/cli-1.0.8-8aa4g8k7.mjs +0 -9
- package/dist/chunks/cli-1.0.8-8bymhd85.mjs +0 -2
- package/dist/chunks/cli-1.0.8-8d0pym8n.mjs +0 -4
- package/dist/chunks/cli-1.0.8-8eace15k.mjs +0 -2
- package/dist/chunks/cli-1.0.8-8f8079r1.mjs +0 -2
- package/dist/chunks/cli-1.0.8-8g4cyspe.mjs +0 -2
- package/dist/chunks/cli-1.0.8-9az1bj5r.mjs +0 -2
- package/dist/chunks/cli-1.0.8-9cg23m77.mjs +0 -2
- package/dist/chunks/cli-1.0.8-9d98s5n7.mjs +0 -2
- package/dist/chunks/cli-1.0.8-9e91trv9.mjs +0 -4
- package/dist/chunks/cli-1.0.8-9fsgsfsr.mjs +0 -2
- package/dist/chunks/cli-1.0.8-9kjmxaz9.mjs +0 -2
- package/dist/chunks/cli-1.0.8-9ten5rvg.mjs +0 -3
- package/dist/chunks/cli-1.0.8-9y02shjc.mjs +0 -6
- package/dist/chunks/cli-1.0.8-a227an7n.mjs +0 -4
- package/dist/chunks/cli-1.0.8-a5h5dhvb.mjs +0 -2
- package/dist/chunks/cli-1.0.8-a95nzf63.mjs +0 -3
- package/dist/chunks/cli-1.0.8-aac9erft.mjs +0 -18
- package/dist/chunks/cli-1.0.8-abdc5b5p.mjs +0 -12
- package/dist/chunks/cli-1.0.8-acrtv429.mjs +0 -2
- package/dist/chunks/cli-1.0.8-ah0px9dq.mjs +0 -2
- package/dist/chunks/cli-1.0.8-apm2cwth.mjs +0 -2
- package/dist/chunks/cli-1.0.8-b1a558ty.mjs +0 -2
- package/dist/chunks/cli-1.0.8-b3rgrfhx.mjs +0 -2
- package/dist/chunks/cli-1.0.8-bce7mfng.mjs +0 -2
- package/dist/chunks/cli-1.0.8-bf89pdxw.mjs +0 -3
- package/dist/chunks/cli-1.0.8-by017547.mjs +0 -2
- package/dist/chunks/cli-1.0.8-c1m2f995.mjs +0 -2
- package/dist/chunks/cli-1.0.8-ch5nmk6z.mjs +0 -6
- package/dist/chunks/cli-1.0.8-ckzwfn2p.mjs +0 -2
- package/dist/chunks/cli-1.0.8-cnp4f1p9.mjs +0 -2
- package/dist/chunks/cli-1.0.8-cvanywgv.mjs +0 -4
- package/dist/chunks/cli-1.0.8-czw324tt.mjs +0 -2
- package/dist/chunks/cli-1.0.8-djnb6kg8.mjs +0 -2
- package/dist/chunks/cli-1.0.8-dnyn56hh.mjs +0 -2
- package/dist/chunks/cli-1.0.8-dtv7cx85.mjs +0 -2
- package/dist/chunks/cli-1.0.8-e1je8bbg.mjs +0 -2
- package/dist/chunks/cli-1.0.8-e1rqh3t5.mjs +0 -6
- package/dist/chunks/cli-1.0.8-e226v5zv.mjs +0 -2
- package/dist/chunks/cli-1.0.8-ebmqnhat.mjs +0 -2
- package/dist/chunks/cli-1.0.8-ecej8h97.mjs +0 -2
- package/dist/chunks/cli-1.0.8-eqnts1fr.mjs +0 -8
- package/dist/chunks/cli-1.0.8-erf5fgz4.mjs +0 -133
- package/dist/chunks/cli-1.0.8-erzw5831.mjs +0 -133
- package/dist/chunks/cli-1.0.8-evcjjrhq.mjs +0 -2
- package/dist/chunks/cli-1.0.8-ewrnp0r9.mjs +0 -2
- package/dist/chunks/cli-1.0.8-ezvghx0v.mjs +0 -2
- package/dist/chunks/cli-1.0.8-f149d1z0.mjs +0 -2
- package/dist/chunks/cli-1.0.8-f46gq37z.mjs +0 -2
- package/dist/chunks/cli-1.0.8-fch83jc9.mjs +0 -2
- package/dist/chunks/cli-1.0.8-fmf0f85n.mjs +0 -2
- package/dist/chunks/cli-1.0.8-fnnr43c2.mjs +0 -2
- package/dist/chunks/cli-1.0.8-fnwydrx1.mjs +0 -3
- package/dist/chunks/cli-1.0.8-frbc2pan.mjs +0 -2
- package/dist/chunks/cli-1.0.8-fs06q8cs.mjs +0 -2
- package/dist/chunks/cli-1.0.8-g2934g2e.mjs +0 -2
- package/dist/chunks/cli-1.0.8-g8tpbbvt.mjs +0 -3
- package/dist/chunks/cli-1.0.8-g9h4ay1q.mjs +0 -2
- package/dist/chunks/cli-1.0.8-gmf61bcb.mjs +0 -2
- package/dist/chunks/cli-1.0.8-gsr9wqaw.mjs +0 -39
- package/dist/chunks/cli-1.0.8-gv80trp6.mjs +0 -2
- package/dist/chunks/cli-1.0.8-h44d6jh3.mjs +0 -2
- package/dist/chunks/cli-1.0.8-hbgss955.mjs +0 -2
- package/dist/chunks/cli-1.0.8-hgreyqck.mjs +0 -2
- package/dist/chunks/cli-1.0.8-hkkcv1tv.mjs +0 -2
- package/dist/chunks/cli-1.0.8-htq95mje.mjs +0 -2
- package/dist/chunks/cli-1.0.8-hy7rca6f.mjs +0 -3
- package/dist/chunks/cli-1.0.8-jy0q2dkm.mjs +0 -2
- package/dist/chunks/cli-1.0.8-jy7hzejg.mjs +0 -2
- package/dist/chunks/cli-1.0.8-k7vkjf05.mjs +0 -2
- package/dist/chunks/cli-1.0.8-k90vtehz.mjs +0 -2
- package/dist/chunks/cli-1.0.8-ke76gxzw.mjs +0 -199
- package/dist/chunks/cli-1.0.8-kfv9esqs.mjs +0 -3
- package/dist/chunks/cli-1.0.8-kh51d8mn.mjs +0 -2
- package/dist/chunks/cli-1.0.8-kxhxnt9t.mjs +0 -2
- package/dist/chunks/cli-1.0.8-kzrdbzd1.mjs +0 -2
- package/dist/chunks/cli-1.0.8-kzyrncv0.mjs +0 -2
- package/dist/chunks/cli-1.0.8-m2w20tkx.mjs +0 -2
- package/dist/chunks/cli-1.0.8-m6fhqq8r.mjs +0 -2
- package/dist/chunks/cli-1.0.8-m9cg4s2e.mjs +0 -2
- package/dist/chunks/cli-1.0.8-mbhxente.mjs +0 -2
- package/dist/chunks/cli-1.0.8-mhhby5pn.mjs +0 -6
- package/dist/chunks/cli-1.0.8-mn87n778.mjs +0 -2
- package/dist/chunks/cli-1.0.8-mrepsey6.mjs +0 -12
- package/dist/chunks/cli-1.0.8-n2thtekm.mjs +0 -2
- package/dist/chunks/cli-1.0.8-n4rd5y17.mjs +0 -2
- package/dist/chunks/cli-1.0.8-nmrvp3xa.mjs +0 -2
- package/dist/chunks/cli-1.0.8-nyq2vcvp.mjs +0 -18
- package/dist/chunks/cli-1.0.8-p2tp1j0a.mjs +0 -2
- package/dist/chunks/cli-1.0.8-p4egaq4j.mjs +0 -5
- package/dist/chunks/cli-1.0.8-p8h84zc9.mjs +0 -3
- package/dist/chunks/cli-1.0.8-pbxke3zm.mjs +0 -24
- package/dist/chunks/cli-1.0.8-pemd6sje.mjs +0 -2
- package/dist/chunks/cli-1.0.8-pzesgrb2.mjs +0 -2
- package/dist/chunks/cli-1.0.8-q2myd223.mjs +0 -2
- package/dist/chunks/cli-1.0.8-q6x8n8kc.mjs +0 -2
- package/dist/chunks/cli-1.0.8-qbrw3wf3.mjs +0 -3
- package/dist/chunks/cli-1.0.8-qcf0zmve.mjs +0 -50
- package/dist/chunks/cli-1.0.8-qhcghw02.mjs +0 -2
- package/dist/chunks/cli-1.0.8-qjcxwb3c.mjs +0 -2
- package/dist/chunks/cli-1.0.8-qss5sph3.mjs +0 -59
- package/dist/chunks/cli-1.0.8-qzqze1a1.mjs +0 -2
- package/dist/chunks/cli-1.0.8-r3ecr05v.mjs +0 -2
- package/dist/chunks/cli-1.0.8-r4zbpasa.mjs +0 -24
- package/dist/chunks/cli-1.0.8-rdd0jr2h.mjs +0 -2
- package/dist/chunks/cli-1.0.8-rg1csg40.mjs +0 -2
- package/dist/chunks/cli-1.0.8-rh93fw0p.mjs +0 -2
- package/dist/chunks/cli-1.0.8-rna8rhza.mjs +0 -2
- package/dist/chunks/cli-1.0.8-rnkrr7ma.mjs +0 -2
- package/dist/chunks/cli-1.0.8-rxf0zjys.mjs +0 -2
- package/dist/chunks/cli-1.0.8-rxfx9v7j.mjs +0 -2
- package/dist/chunks/cli-1.0.8-s5kcxz2r.mjs +0 -4
- package/dist/chunks/cli-1.0.8-s6nsgb78.mjs +0 -2
- package/dist/chunks/cli-1.0.8-sbf6n56q.mjs +0 -2
- package/dist/chunks/cli-1.0.8-se674t5h.mjs +0 -4
- package/dist/chunks/cli-1.0.8-secda9xj.mjs +0 -2
- package/dist/chunks/cli-1.0.8-sqbaxhfc.mjs +0 -16
- package/dist/chunks/cli-1.0.8-swq5n54q.mjs +0 -2
- package/dist/chunks/cli-1.0.8-swts6q29.mjs +0 -2
- package/dist/chunks/cli-1.0.8-szvwf6r4.mjs +0 -2
- package/dist/chunks/cli-1.0.8-t5jg9csm.mjs +0 -2
- package/dist/chunks/cli-1.0.8-tdhxr84n.mjs +0 -3
- package/dist/chunks/cli-1.0.8-tfjhtagk.mjs +0 -2
- package/dist/chunks/cli-1.0.8-tpazbzcz.mjs +0 -2
- package/dist/chunks/cli-1.0.8-tq72b6bb.mjs +0 -2
- package/dist/chunks/cli-1.0.8-tqf6s7ht.mjs +0 -58
- package/dist/chunks/cli-1.0.8-tz68cg1p.mjs +0 -2
- package/dist/chunks/cli-1.0.8-v1rafynv.mjs +0 -2
- package/dist/chunks/cli-1.0.8-v75s19rg.mjs +0 -2
- package/dist/chunks/cli-1.0.8-vb0by9ay.mjs +0 -2
- package/dist/chunks/cli-1.0.8-vhjjjs1z.mjs +0 -24
- package/dist/chunks/cli-1.0.8-vka62cmh.mjs +0 -2
- package/dist/chunks/cli-1.0.8-vvy0bc0g.mjs +0 -1
- package/dist/chunks/cli-1.0.8-vztgm8r0.mjs +0 -2
- package/dist/chunks/cli-1.0.8-w5wjckph.mjs +0 -25
- package/dist/chunks/cli-1.0.8-w6atgaqw.mjs +0 -2
- package/dist/chunks/cli-1.0.8-wm0h5bqt.mjs +0 -3
- package/dist/chunks/cli-1.0.8-x1387pp6.mjs +0 -2
- package/dist/chunks/cli-1.0.8-x2z1s2gm.mjs +0 -2
- package/dist/chunks/cli-1.0.8-x3bjpevp.mjs +0 -12
- package/dist/chunks/cli-1.0.8-x4hcncpt.mjs +0 -2
- package/dist/chunks/cli-1.0.8-xcqdbka0.mjs +0 -2
- package/dist/chunks/cli-1.0.8-xhz9dm09.mjs +0 -2
- package/dist/chunks/cli-1.0.8-xka5xbz5.mjs +0 -2
- package/dist/chunks/cli-1.0.8-xv5yp3w6.mjs +0 -2
- package/dist/chunks/cli-1.0.8-xxrng2p1.mjs +0 -15
- package/dist/chunks/cli-1.0.8-xzp5af2t.mjs +0 -2
- package/dist/chunks/cli-1.0.8-y7jd923h.mjs +0 -2
- package/dist/chunks/cli-1.0.8-yb3vesbt.mjs +0 -4
- package/dist/chunks/cli-1.0.8-yc4a0111.mjs +0 -20
- package/dist/chunks/cli-1.0.8-ycxmnmhs.mjs +0 -3
- package/dist/chunks/cli-1.0.8-ykwgcdbt.mjs +0 -5476
- package/dist/chunks/cli-1.0.8-yzc0z6ex.mjs +0 -2
- package/dist/chunks/cli-1.0.8-z49w3x0w.mjs +0 -4
- package/dist/chunks/cli-1.0.8-z6x3zsb0.mjs +0 -2
- package/dist/chunks/cli-1.0.8-z79r5re2.mjs +0 -17
- package/dist/chunks/cli-1.0.8-z7v2b551.mjs +0 -2
- package/dist/chunks/cli-1.0.8-z96bbp08.mjs +0 -6
- package/dist/chunks/cli-1.0.8-zh2ygfav.mjs +0 -2
- package/dist/chunks/cli-1.0.8-zjckzq5j.mjs +0 -18
- package/dist/chunks/cli-1.0.8-znefv1yp.mjs +0 -2
- package/dist/chunks/cli-1.0.8-zza8ns8c.mjs +0 -15
- package/dist/chunks/client-1.0.8-n7dt1rfw.mjs +0 -1
- package/dist/chunks/color-1.0.8-jxfasz8x.mjs +0 -1
- package/dist/chunks/compact-1.0.8-jnbzy2qh.mjs +0 -3
- package/dist/chunks/config-1.0.8-p850nj3c.mjs +0 -1
- package/dist/chunks/config-1.0.8-xg117aq2.mjs +0 -1
- package/dist/chunks/constants-1.0.8-ms4fbs66.mjs +0 -1
- package/dist/chunks/context-1.0.8-tb27h7kb.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.0.8-1ry2t8be.mjs +0 -1
- package/dist/chunks/conversation-1.0.8-v96pn05v.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.0.8-cs9jt8ks.mjs +0 -1
- package/dist/chunks/copy-1.0.8-g8d8msxn.mjs +0 -9
- package/dist/chunks/cost-1.0.8-kx2ejbds.mjs +0 -1
- package/dist/chunks/createSSHSession-1.0.8-2wvpn7y4.mjs +0 -1
- package/dist/chunks/createSession-1.0.8-ecm6dynn.mjs +0 -1
- package/dist/chunks/debug-1.0.8-cphv9b4j.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.0.8-2k34bnzt.mjs +0 -1446
- package/dist/chunks/desktop-1.0.8-w6qk81xg.mjs +0 -1
- package/dist/chunks/detectRepository-1.0.8-q2e17deh.mjs +0 -1
- package/dist/chunks/detection-1.0.8-adg3pmtx.mjs +0 -1
- package/dist/chunks/diff-1.0.8-kcsv429q.mjs +0 -1
- package/dist/chunks/doctor-1.0.8-4807n5ga.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.0.8-thmvp0a8.mjs +0 -1
- package/dist/chunks/earlyInput-1.0.8-hhf06cvs.mjs +0 -1
- package/dist/chunks/effort-1.0.8-k9jy349z.mjs +0 -10
- package/dist/chunks/engine-1.0.8-swnh66g9.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.0.8-8066f8x3.mjs +0 -1
- package/dist/chunks/envUtils-1.0.8-hvdz25s8.mjs +0 -1
- package/dist/chunks/environmentSelection-1.0.8-dgef2ag8.mjs +0 -1
- package/dist/chunks/environments-1.0.8-8kxx7cf7.mjs +0 -1
- package/dist/chunks/errors-1.0.8-yrb0dfde.mjs +0 -1
- package/dist/chunks/exampleCommands-1.0.8-2fp656s9.mjs +0 -1
- package/dist/chunks/exit-1.0.8-axxrxks1.mjs +0 -1
- package/dist/chunks/explorer-1.0.8-txzsk7g4.mjs +0 -1
- package/dist/chunks/export-1.0.8-yxhs2z6f.mjs +0 -2
- package/dist/chunks/extra-usage-1.0.8-mkde8ry2.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.0.8-zq1zsj4c.mjs +0 -1
- package/dist/chunks/fast-1.0.8-dm74897t.mjs +0 -1
- package/dist/chunks/feedback-1.0.8-wnsh14ya.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.0.8-xp13dv5e.mjs +0 -1
- package/dist/chunks/git-1.0.8-emhr4f0a.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.0.8-q88vb6k1.mjs +0 -1
- package/dist/chunks/goal-1.0.8-vx7pfbph.mjs +0 -4
- package/dist/chunks/grove-1.0.8-4vn920ab.mjs +0 -1
- package/dist/chunks/growthbook-1.0.8-ktn0scz1.mjs +0 -1
- package/dist/chunks/headless-1.0.8-kgkf00rm.mjs +0 -2
- package/dist/chunks/heapdump-1.0.8-e5g8ycqp.mjs +0 -6
- package/dist/chunks/help-1.0.8-g5kftejd.mjs +0 -1
- package/dist/chunks/hookChains-1.0.8-jnd1g9vp.mjs +0 -3
- package/dist/chunks/hooks-1.0.8-d343gmd5.mjs +0 -1
- package/dist/chunks/hooks-1.0.8-xq482xcs.mjs +0 -79
- package/dist/chunks/ide-1.0.8-4veg8hzd.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.0.8-93bk96t4.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.0.8-zkj9tf58.mjs +0 -1
- package/dist/chunks/index-1.0.8-0pnvq37m.mjs +0 -2
- package/dist/chunks/index-1.0.8-1pa1v81a.mjs +0 -1
- package/dist/chunks/index-1.0.8-464f1j1b.mjs +0 -1
- package/dist/chunks/index-1.0.8-4zsx151v.mjs +0 -1
- package/dist/chunks/index-1.0.8-7wqrymcz.mjs +0 -2
- package/dist/chunks/index-1.0.8-8qzz6s1v.mjs +0 -1
- package/dist/chunks/index-1.0.8-91cpv5tb.mjs +0 -9
- package/dist/chunks/index-1.0.8-9x499a6f.mjs +0 -1
- package/dist/chunks/index-1.0.8-aqm7z1xs.mjs +0 -1
- package/dist/chunks/index-1.0.8-bha1edzd.mjs +0 -1
- package/dist/chunks/index-1.0.8-bhzqmht2.mjs +0 -1
- package/dist/chunks/index-1.0.8-dh80510b.mjs +0 -1
- package/dist/chunks/index-1.0.8-hdnvwr7c.mjs +0 -1
- package/dist/chunks/index-1.0.8-ht187zbt.mjs +0 -17
- package/dist/chunks/index-1.0.8-jj36eqgv.mjs +0 -1
- package/dist/chunks/index-1.0.8-p16qr0gk.mjs +0 -1
- package/dist/chunks/index-1.0.8-pejsn3j4.mjs +0 -1
- package/dist/chunks/index-1.0.8-pzn6kwcz.mjs +0 -1
- package/dist/chunks/index-1.0.8-szryar06.mjs +0 -9
- package/dist/chunks/index-1.0.8-thkaetpe.mjs +0 -5
- package/dist/chunks/index-1.0.8-tnpscb0d.mjs +0 -1
- package/dist/chunks/index-1.0.8-xxdv7dxk.mjs +0 -1
- package/dist/chunks/index-1.0.8-z5xdfxxw.mjs +0 -30
- package/dist/chunks/init-1.0.8-krd7wa3v.mjs +0 -1
- package/dist/chunks/initReplBridge-1.0.8-ftx1k41m.mjs +0 -1
- package/dist/chunks/ink-1.0.8-pteq28sp.mjs +0 -1
- package/dist/chunks/insights-1.0.8-mb2z8g5h.mjs +0 -870
- package/dist/chunks/install-1.0.8-s99z78an.mjs +0 -1
- package/dist/chunks/install-github-app-1.0.8-r07c7fc8.mjs +0 -149
- package/dist/chunks/install-slack-app-1.0.8-mq0zjdf6.mjs +0 -1
- package/dist/chunks/instrumentation-1.0.8-00jpcry8.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.0.8-3z1ey7fr.mjs +0 -1
- package/dist/chunks/keybindings-1.0.8-wenkty39.mjs +0 -2
- package/dist/chunks/knowledge-1.0.8-cjdkk8mb.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.0.8-rncrmhd0.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.0.8-9ry9xbfw.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.8-5e422tv0.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.8-gw0mb3vq.mjs +0 -1
- package/dist/chunks/log-1.0.8-bhyqzqd4.mjs +0 -1
- package/dist/chunks/main-1.0.8-sv9em0tk.mjs +0 -1
- package/dist/chunks/managedEnv-1.0.8-ey5201g9.mjs +0 -1
- package/dist/chunks/mcp-1.0.8-0wkq1z2f.mjs +0 -1
- package/dist/chunks/mcp-1.0.8-hft3ww8h.mjs +0 -17
- package/dist/chunks/mcp-1.0.8-k2y8akh4.mjs +0 -4
- package/dist/chunks/mcpb-1.0.8-6d4d5qg6.mjs +0 -1
- package/dist/chunks/memory-1.0.8-bhfq1tpv.mjs +0 -3
- package/dist/chunks/model-1.0.8-9x1n1hs4.mjs +0 -2
- package/dist/chunks/model-1.0.8-f30q5v3y.mjs +0 -1
- package/dist/chunks/node-1.0.8-z64w4mf3.mjs +0 -12
- package/dist/chunks/oauth-1.0.8-7vjm8xxp.mjs +0 -1
- package/dist/chunks/openaiShim-1.0.8-dxqbym7v.mjs +0 -14
- package/dist/chunks/output-style-1.0.8-j3vsn3xx.mjs +0 -1
- package/dist/chunks/package-ZZWOLTXM-1.0.8-57wby5pw.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.0.8-fa21hp3j.mjs +0 -1
- package/dist/chunks/parser-1.0.8-eddksp6m.mjs +0 -1
- package/dist/chunks/passes-1.0.8-82cxmwxv.mjs +0 -1
- package/dist/chunks/permissions-1.0.8-9qwtkcvw.mjs +0 -1
- package/dist/chunks/permissions-1.0.8-hkpezdb6.mjs +0 -3
- package/dist/chunks/plan-1.0.8-t7cypg7z.mjs +0 -1
- package/dist/chunks/plist-1.0.8-tx4wgdc5.mjs +0 -1
- package/dist/chunks/plugin-1.0.8-fpfj5qcx.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.0.8-htw7er4z.mjs +0 -1
- package/dist/chunks/plugins-1.0.8-89t24bsm.mjs +0 -9
- package/dist/chunks/preActionHook-1.0.8-caxsc3mp.mjs +0 -2
- package/dist/chunks/print-1.0.8-491vxbzs.mjs +0 -57
- package/dist/chunks/privacy-settings-1.0.8-m25zra7r.mjs +0 -1
- package/dist/chunks/process-1.0.8-3tzpsdmr.mjs +0 -1
- package/dist/chunks/processBashCommand-1.0.8-czb8ax1e.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.0.8-z2qz58yf.mjs +0 -9
- package/dist/chunks/prompt-1.0.8-2bbvxeh7.mjs +0 -1
- package/dist/chunks/prompt-1.0.8-ftnsddxg.mjs +0 -1
- package/dist/chunks/prompts-1.0.8-7jmnssxc.mjs +0 -1
- package/dist/chunks/protocolHandler-1.0.8-y3rebjd9.mjs +0 -13
- package/dist/chunks/provider-1.0.8-zrx7vyqk.mjs +0 -2
- package/dist/chunks/providerProfiles-1.0.8-n4b3xs5v.mjs +0 -1
- package/dist/chunks/providerValidation-1.0.8-j9gx7a1v.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.0.8-084n6z58.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.0.8-e9k91bmz.mjs +0 -34
- package/dist/chunks/registry-1.0.8-p8bc2ppg.mjs +0 -1
- package/dist/chunks/release-notes-1.0.8-wdtevpan.mjs +0 -5
- package/dist/chunks/reload-plugins-1.0.8-crrx8jkj.mjs +0 -2
- package/dist/chunks/remote-env-1.0.8-yb4czxha.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.0.8-cg38st7c.mjs +0 -1
- package/dist/chunks/remoteSession-1.0.8-g9cx4dmb.mjs +0 -1
- package/dist/chunks/rename-1.0.8-c263drxy.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.0.8-51065xd1.mjs +0 -1
- package/dist/chunks/replLauncher-1.0.8-n5f7d6tk.mjs +0 -1
- package/dist/chunks/resume-1.0.8-20r9g9a8.mjs +0 -2
- package/dist/chunks/rewind-1.0.8-1shxcx6h.mjs +0 -1
- package/dist/chunks/rootOptions-1.0.8-v3mryhnd.mjs +0 -1
- package/dist/chunks/sandbox-adapter-1.0.8-db8n3sf2.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.0.8-8ysakwfc.mjs +0 -1
- package/dist/chunks/session-1.0.8-nf98ege7.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.0.8-j7e3zz3z.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.0.8-tywx0fhs.mjs +0 -1
- package/dist/chunks/sessionStorage-1.0.8-3jncs1jd.mjs +0 -1
- package/dist/chunks/settings-1.0.8-ferv6mr5.mjs +0 -1
- package/dist/chunks/setup-1.0.8-r7jm4921.mjs +0 -5
- package/dist/chunks/sinks-1.0.8-w2zqhs5t.mjs +0 -1
- package/dist/chunks/skills-1.0.8-c2re0407.mjs +0 -1
- package/dist/chunks/startupProfiler-1.0.8-m7x42s2c.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.0.8-hnq9gbsm.mjs +0 -1
- package/dist/chunks/state-1.0.8-mszmr9fy.mjs +0 -1
- package/dist/chunks/stats-1.0.8-xah6pcq3.mjs +0 -6
- package/dist/chunks/status-1.0.8-cb5dxyy1.mjs +0 -1
- package/dist/chunks/stickers-1.0.8-vr13mnk0.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.0.8-rqxgszbc.mjs +0 -1
- package/dist/chunks/tasks-1.0.8-v1meznm5.mjs +0 -1
- package/dist/chunks/teamHelpers-1.0.8-zs8qgyey.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.0.8-828qsec1.mjs +0 -1
- package/dist/chunks/teleport-1.0.8-aszfnv2s.mjs +0 -1
- package/dist/chunks/terminalSetup-1.0.8-9n57sf46.mjs +0 -1
- package/dist/chunks/theme-1.0.8-da67zfgn.mjs +0 -1
- package/dist/chunks/thinkback-1.0.8-p4ne9wck.mjs +0 -1
- package/dist/chunks/thinkback-play-1.0.8-kz09z4aa.mjs +0 -1
- package/dist/chunks/toolPool-1.0.8-rbawjenc.mjs +0 -1
- package/dist/chunks/toolSearch-1.0.8-drw7db57.mjs +0 -1
- package/dist/chunks/tools-1.0.8-51cw7jhr.mjs +0 -1
- package/dist/chunks/trustedDevice-1.0.8-y6484dbh.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.0.8-07rx7x03.mjs +0 -69
- package/dist/chunks/types-1.0.8-svkpkerr.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.0.8-fxpy87j7.mjs +0 -4
- package/dist/chunks/update-1.0.8-r5hsx0vn.mjs +0 -88
- package/dist/chunks/upgrade-1.0.8-rfjr944q.mjs +0 -1
- package/dist/chunks/upload-1.0.8-xb3qq931.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.0.8-enmg2k32.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.0.8-4xafghrm.mjs +0 -1
- package/dist/chunks/usage-1.0.8-x3yk026j.mjs +0 -1
- package/dist/chunks/util-1.0.8-g8szktmn.mjs +0 -1
- package/dist/chunks/utils-1.0.8-qkwh1by0.mjs +0 -1
- package/dist/chunks/vim-1.0.8-qv0fhjmv.mjs +0 -1
- package/dist/chunks/watcher-1.0.8-y0ye7hc6.mjs +0 -1
- package/dist/chunks/wiki-1.0.8-3ydvpt0c.mjs +0 -132
- package/dist/chunks/workflows-1.0.8-1fj4wp4z.mjs +0 -1
- package/dist/chunks/worktree-1.0.8-x68tgvcc.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.0.8-3e98qmek.mjs +0 -1
- package/dist/chunks/wrapper-1.0.8-atewpqqc.mjs +0 -7
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{AN as X0,EN as w0,Gx as Q0,Hx as U0,Jl as H0,Jx as f0,PF as w,RF as e,bo as f,cm as F0,co as t,fo as J0,ho as s,io as _,lo as i,qo as K0,to as o,xo as n}from"./cli-1.0.9-67c9vgsq.mjs";import"./cli-1.0.9-kw7p06w2.mjs";import"./cli-1.0.9-0f3ex0vg.mjs";import"./cli-1.0.9-jcnmjs31.mjs";import"./cli-1.0.9-4yksn92y.mjs";import"./cli-1.0.9-b78v72rn.mjs";import"./cli-1.0.9-c5n2kbdv.mjs";import"./cli-1.0.9-wny75xk9.mjs";import"./cli-1.0.9-r4ysx5t8.mjs";import"./cli-1.0.9-3n2084tg.mjs";import"./cli-1.0.9-xd6wrh53.mjs";import"./cli-1.0.9-vhcxraj8.mjs";import"./cli-1.0.9-03tgqcyj.mjs";import"./cli-1.0.9-rm8ssvm7.mjs";import"./cli-1.0.9-19gz2k9q.mjs";import"./cli-1.0.9-awxee62m.mjs";import"./cli-1.0.9-v770djrd.mjs";import"./cli-1.0.9-dvbfpdtc.mjs";import"./cli-1.0.9-wcm9r8rn.mjs";import"./cli-1.0.9-13q9fkxq.mjs";import"./cli-1.0.9-5afn268n.mjs";import{L0 as a,LY as l,e0 as M,g0 as P}from"./cli-1.0.9-q3fzs7rd.mjs";import"./cli-1.0.9-6q0e7nk4.mjs";import"./cli-1.0.9-tbzbnv01.mjs";import"./cli-1.0.9-vcf21zvy.mjs";import"./cli-1.0.9-7gewnt7b.mjs";import"./cli-1.0.9-rjq71gw8.mjs";import"./cli-1.0.9-1pe38ex2.mjs";import"./cli-1.0.9-nz0skfsg.mjs";import"./cli-1.0.9-6yxsfcyh.mjs";import"./cli-1.0.9-j500vd5e.mjs";import"./cli-1.0.9-49sanx9h.mjs";import"./cli-1.0.9-ymbxfv5d.mjs";import{s3 as Z,t3 as F,u3 as v}from"./cli-1.0.9-e491drav.mjs";import{v3 as k0}from"./cli-1.0.9-ez2pcj03.mjs";import"./cli-1.0.9-xe8dc6qb.mjs";import"./cli-1.0.9-w5dyqxqk.mjs";import"./cli-1.0.9-d8rq80ph.mjs";import"./cli-1.0.9-89yxpmpq.mjs";import"./cli-1.0.9-sjqe138z.mjs";import"./cli-1.0.9-9jyyb7zx.mjs";import{v8 as V,w8 as y0}from"./cli-1.0.9-erz57dtz.mjs";import"./cli-1.0.9-dbs656rx.mjs";import"./cli-1.0.9-vvwt9bfb.mjs";import"./cli-1.0.9-ppa9xdxq.mjs";import{Sda as I,T9 as z0,V9 as P0,Vda as E,oea as R0}from"./cli-1.0.9-ej3ahs6j.mjs";import"./cli-1.0.9-x4t4nqd2.mjs";import"./cli-1.0.9-qyfx57wb.mjs";import"./cli-1.0.9-06kd11jd.mjs";import"./cli-1.0.9-rpw6qq2j.mjs";import"./cli-1.0.9-6x8m34y6.mjs";import{Eha as d,Fha as L0}from"./cli-1.0.9-e2mjjvjc.mjs";import"./cli-1.0.9-az9m58wa.mjs";import{ria as q0,uia as O0}from"./cli-1.0.9-jq2h9s5r.mjs";import"./cli-1.0.9-ympvk0av.mjs";import"./cli-1.0.9-a0zm3d1g.mjs";import"./cli-1.0.9-zrphfr1b.mjs";import"./cli-1.0.9-y7sdjd9n.mjs";import"./cli-1.0.9-3ye1460y.mjs";import"./cli-1.0.9-806xk0g7.mjs";import"./cli-1.0.9-htsk8rvv.mjs";import"./cli-1.0.9-1f0bxa2a.mjs";import"./cli-1.0.9-tzke31bj.mjs";import"./cli-1.0.9-aasy7y47.mjs";import{Bra as D,xra as c}from"./cli-1.0.9-j2832pm5.mjs";function m0(A){let m=$.c(9),{onComplete:Y}=A,q;if(m[0]!==Y)q=async(U)=>{let W=U==="yes";I((H)=>({...H,autoConnectIde:W,hasIdeAutoConnectDialogBeenShown:!0})),Y()},m[0]=Y,m[1]=q;else q=m[1];let J=q,B;if(m[2]===Symbol.for("react.memo_cache_sentinel"))B=[{label:"Yes",value:"yes"},{label:"No",value:"no"}],m[2]=B;else B=m[2];let K=B,X;if(m[3]!==J)X=Z(w,{options:K,onChange:J,defaultValue:"yes"}),m[3]=J,m[4]=X;else X=m[4];let z;if(m[5]===Symbol.for("react.memo_cache_sentinel"))z=Z(P,{dimColor:!0,children:"You can also configure this in /config or with the --ide flag"}),m[5]=z;else z=m[5];let G;if(m[6]!==Y||m[7]!==X)G=F(f,{title:"Do you wish to enable auto-connect to IDE?",color:"ide",onCancel:Y,children:[X,z]}),m[6]=Y,m[7]=X,m[8]=G;else G=m[8];return G}function Y0(){let A=E();return!_()&&A.autoConnectIde!==!0&&A.hasIdeAutoConnectDialogBeenShown!==!0}function A0(A){let m=$.c(10),{onComplete:Y}=A,q;if(m[0]!==Y)q=(W)=>{let H=W==="yes";if(H)I(T0);Y(H)},m[0]=Y,m[1]=q;else q=m[1];let J=q,B;if(m[2]!==Y)B=()=>{Y(!1)},m[2]=Y,m[3]=B;else B=m[3];let K=B,X;if(m[4]===Symbol.for("react.memo_cache_sentinel"))X=[{label:"No",value:"no"},{label:"Yes",value:"yes"}],m[4]=X;else X=m[4];let z=X,G;if(m[5]!==J)G=Z(w,{options:z,onChange:J,defaultValue:"no"}),m[5]=J,m[6]=G;else G=m[6];let U;if(m[7]!==K||m[8]!==G)U=Z(f,{title:"Do you wish to disable auto-connect to IDE?",subtitle:"You can also configure this in /config",onCancel:K,color:"ide",children:G}),m[7]=K,m[8]=G,m[9]=U;else U=m[9];return U}function T0(A){return{...A,autoConnectIde:!1}}function B0(){let A=E();return!_()&&A.autoConnectIde===!0}var $;var G0=D(()=>{a();R0();n();e();t();v();$=c(l(),1)});import*as Z0 from"path";function V0(A){let m=g.c(39),{availableIDEs:Y,unavailableIDEs:q,selectedIDE:J,onClose:B,onSelect:K}=A,X;if(m[0]!==J?.port)X=J?.port?.toString()??"None",m[0]=J?.port,m[1]=X;else X=m[1];let[z,G]=y.useState(X),[U,W]=y.useState(!1),[H,Q]=y.useState(!1),R;if(m[2]!==Y||m[3]!==K)R=(O)=>{if(O!=="None"&&Y0())W(!0);else if(O==="None"&&B0())Q(!0);else K(Y.find((k)=>k.port===parseInt(O)))},m[2]=Y,m[3]=K,m[4]=R;else R=m[4];let N=R,T;if(m[5]!==Y)T=Y.reduce(b0,{}),m[5]=Y,m[6]=T;else T=m[6];let L=T,p;if(m[7]!==Y||m[8]!==L){let O;if(m[10]!==L)O=(k)=>{let N0=(L[k.name]||0)>1&&k.workspaceFolders.length>0;return{label:k.name,value:k.port.toString(),description:N0?W0(k.workspaceFolders):void 0}},m[10]=L,m[11]=O;else O=m[11];p=Y.map(O).concat([{label:"None",value:"None",description:void 0}]),m[7]=Y,m[8]=L,m[9]=p}else p=m[9];let C=p;if(U){let O;if(m[12]!==N||m[13]!==z)O=Z(m0,{onComplete:()=>N(z)}),m[12]=N,m[13]=z,m[14]=O;else O=m[14];return O}if(H){let O;if(m[15]!==K)O=Z(A0,{onComplete:()=>{K(void 0)}}),m[15]=K,m[16]=O;else O=m[16];return O}let b;if(m[17]!==Y.length)b=Y.length===0&&Z(P,{dimColor:!0,children:s()?`No available IDEs detected. Please install the plugin and restart your IDE:
|
|
2
|
+
https://docs.claude.com/s/claude-code-jetbrains`:"No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running."}),m[17]=Y.length,m[18]=b;else b=m[18];let j;if(m[19]!==Y.length||m[20]!==N||m[21]!==C||m[22]!==z)j=Y.length!==0&&Z(w,{defaultValue:z,defaultFocusValue:z,options:C,onChange:(O)=>{G(O),N(O)}}),m[19]=Y.length,m[20]=N,m[21]=C,m[22]=z,m[23]=j;else j=m[23];let S;if(m[24]!==Y)S=Y.length!==0&&Y.some(p0)&&Z(M,{marginTop:1,children:Z(P,{color:"warning",children:"Note: Only one Claude Code instance can be connected to VS Code at a time."})}),m[24]=Y,m[25]=S;else S=m[25];let h;if(m[26]!==Y.length)h=Y.length!==0&&!_()&&Z(M,{marginTop:1,children:Z(P,{dimColor:!0,children:"Tip: You can enable auto-connect to IDE in /config or with the --ide flag"})}),m[26]=Y.length,m[27]=h;else h=m[27];let x;if(m[28]!==q)x=q.length>0&&F(M,{marginTop:1,flexDirection:"column",children:[F(P,{dimColor:!0,children:["Found ",q.length," other running IDE(s). However, their workspace/project directories do not match the current cwd."]}),Z(M,{marginTop:1,flexDirection:"column",children:q.map(M0)})]}),m[28]=q,m[29]=x;else x=m[29];let u;if(m[30]!==b||m[31]!==j||m[32]!==S||m[33]!==h||m[34]!==x)u=F(M,{flexDirection:"column",children:[b,j,S,h,x]}),m[30]=b,m[31]=j,m[32]=S,m[33]=h,m[34]=x,m[35]=u;else u=m[35];let r;if(m[36]!==B||m[37]!==u)r=Z(f,{title:"Select IDE",subtitle:"Connect to an IDE for integrated development features.",onCancel:B,color:"ide",children:u}),m[36]=B,m[37]=u,m[38]=r;else r=m[38];return r}function M0(A,m){return Z(M,{paddingLeft:3,children:F(P,{dimColor:!0,children:["• ",A.name,": ",W0(A.workspaceFolders)]})},m)}function p0(A){return A.name==="VS Code"||A.name==="Visual Studio Code"}function b0(A,m){return A[m.name]=(A[m.name]||0)+1,A}async function j0(A,m){let Y=m?.ide;if(!Y||Y.type!=="sse-ide"&&Y.type!=="ws-ide")return null;for(let q of A)if(q.url===Y.url)return q;return null}function S0(A){let m=g.c(18),{availableIDEs:Y,onSelectIDE:q,onDone:J}=A,B;if(m[0]!==Y[0]?.port)B=Y[0]?.port?.toString()??"",m[0]=Y[0]?.port,m[1]=B;else B=m[1];let[K,X]=y.useState(B),z;if(m[2]!==Y||m[3]!==q)z=(L)=>{let p=Y.find((C)=>C.port===parseInt(L));q(p)},m[2]=Y,m[3]=q,m[4]=z;else z=m[4];let G=z,U;if(m[5]!==Y)U=Y.map(h0),m[5]=Y,m[6]=U;else U=m[6];let W=U,H;if(m[7]!==J)H=function(){J("IDE selection cancelled",{display:"system"})},m[7]=J,m[8]=H;else H=m[8];let Q=H,R;if(m[9]!==G)R=(L)=>{X(L),G(L)},m[9]=G,m[10]=R;else R=m[10];let N;if(m[11]!==W||m[12]!==K||m[13]!==R)N=Z(w,{defaultValue:K,defaultFocusValue:K,options:W,onChange:R}),m[11]=W,m[12]=K,m[13]=R,m[14]=N;else N=m[14];let T;if(m[15]!==Q||m[16]!==N)T=Z(f,{title:"Select an IDE to open the project",onCancel:Q,color:"ide",children:N}),m[15]=Q,m[16]=N,m[17]=T;else T=m[17];return T}function h0(A){return{label:A.name,value:A.port.toString()}}function x0(A){let m=g.c(15),{runningIDEs:Y,onSelectIDE:q,onDone:J}=A,[B,K]=y.useState(Y[0]??""),X;if(m[0]!==q)X=(T)=>{q(T)},m[0]=q,m[1]=X;else X=m[1];let z=X,G;if(m[2]!==Y)G=Y.map(u0),m[2]=Y,m[3]=G;else G=m[3];let U=G,W;if(m[4]!==J)W=function(){J("IDE selection cancelled",{display:"system"})},m[4]=J,m[5]=W;else W=m[5];let H=W,Q;if(m[6]!==z)Q=(T)=>{K(T),z(T)},m[6]=z,m[7]=Q;else Q=m[7];let R;if(m[8]!==U||m[9]!==B||m[10]!==Q)R=Z(w,{defaultFocusValue:B,options:U,onChange:Q}),m[8]=U,m[9]=B,m[10]=Q,m[11]=R;else R=m[11];let N;if(m[12]!==H||m[13]!==R)N=Z(f,{title:"Select IDE to install extension",onCancel:H,color:"ide",children:R}),m[12]=H,m[13]=R,m[14]=N;else N=m[14];return N}function u0(A){return{label:o(A),value:A}}function _0(A){let m=g.c(4),{ide:Y,onInstall:q}=A,J,B;if(m[0]!==Y||m[1]!==q)J=()=>{q(Y)},B=[Y,q],m[0]=Y,m[1]=q,m[2]=J,m[3]=B;else J=m[2],B=m[3];return y.useEffect(J,B),null}async function zm(A,m,Y){q0("tengu_ext_ide_command",{});let{options:{dynamicMcpConfig:q},onChangeDynamicMcpConfig:J}=m;if(Y?.trim()==="open"){let G=H0(),U=G?G.worktreePath:d(),H=(await i(!0)).filter((Q)=>Q.isValid);if(H.length===0)return A("No IDEs with Claude Code extension detected."),null;return Z(S0,{availableIDEs:H,onSelectIDE:async(Q)=>{if(!Q){A("No IDE selected.");return}if(Q.name.toLowerCase().includes("vscode")||Q.name.toLowerCase().includes("cursor")||Q.name.toLowerCase().includes("windsurf")){let{code:R}=await z0("code",[U]);if(R===0)A(`Opened ${G?"worktree":"project"} in ${V.bold(Q.name)}`);else A(`Failed to open in ${Q.name}. Try opening manually: ${U}`)}else if(s())A(`Please open the ${G?"worktree":"project"} manually in ${V.bold(Q.name)}: ${U}`);else A(`Please open the ${G?"worktree":"project"} manually in ${V.bold(Q.name)}: ${U}`)},onDone:()=>{A("Exited without opening IDE",{display:"system"})}})}let B=await i(!0);if(B.length===0&&m.onInstallIDEExtension&&!_()){let G=await K0(),U=(W)=>{if(m.onInstallIDEExtension)if(m.onInstallIDEExtension(W),J0(W))A(`Installed plugin to ${V.bold(o(W))}
|
|
3
|
+
Please ${V.bold("restart your IDE")} completely for it to take effect`);else A(`Installed extension to ${V.bold(o(W))}`)};if(G.length>1)return Z(x0,{runningIDEs:G,onSelectIDE:U,onDone:()=>{A("No IDE selected.",{display:"system"})}});else if(G.length===1)return Z(_0,{ide:G[0],onInstall:U})}let K=B.filter((G)=>G.isValid),X=B.filter((G)=>!G.isValid),z=await j0(K,q);return Z(g0,{availableIDEs:K,unavailableIDEs:X,currentIDE:z,dynamicMcpConfig:q,onChangeDynamicMcpConfig:J,onDone:A})}function g0({availableIDEs:A,unavailableIDEs:m,currentIDE:Y,dynamicMcpConfig:q,onChangeDynamicMcpConfig:J,onDone:B}){let[K,X]=y.useState(null),z=Q0((H)=>H.mcp.clients.find((Q)=>Q.name==="ide")),G=U0(),U=y.useRef(!0);y.useEffect(()=>{if(!K)return;if(U.current){U.current=!1;return}if(!z||z.type==="pending")return;if(z.type==="connected")B(`Connected to ${K.name}.`);else if(z.type==="failed")B(`Failed to connect to ${K.name}.`)},[z,K,B]),y.useEffect(()=>{if(!K)return;let H=setTimeout(B,C0,`Connection to ${K.name} timed out.`);return()=>clearTimeout(H)},[K,B]);let W=y.useCallback((H)=>{if(!J){B("Error connecting to IDE.");return}let Q={...q||{}};if(Y)delete Q.ide;if(!H){if(z&&z.type==="connected"&&Y)z.client.onclose=()=>{},X0("ide",z.config),G((N)=>({...N,mcp:{...N.mcp,clients:N.mcp.clients.filter((T)=>T.name!=="ide"),tools:N.mcp.tools.filter((T)=>!T.name?.startsWith("mcp__ide__")),commands:N.mcp.commands.filter((T)=>!T.name?.startsWith("mcp__ide__"))}}));J(Q),B(Y?`Disconnected from ${Y.name}.`:"No IDE selected.");return}let R=H.url;Q.ide={type:R.startsWith("ws:")?"ws-ide":"sse-ide",url:R,ideName:H.name,authToken:H.authToken,ideRunningInWindows:H.ideRunningInWindows,scope:"dynamic"},U.current=!0,X(H),J(Q)},[q,Y,z,G,J,B]);if(K)return F(P,{dimColor:!0,children:["Connecting to ",K.name,"…"]});return Z(V0,{availableIDEs:A,unavailableIDEs:m,selectedIDE:Y,onClose:()=>B("IDE selection cancelled",{display:"system"}),onSelect:W})}function W0(A,m=100){if(A.length===0)return"";let Y=d(),q=A.slice(0,2),J=A.length>2,B=J?3:0,K=(q.length-1)*2,X=m-K-B,z=Math.floor(X/q.length),G=Y.normalize("NFC"),W=q.map((H)=>{let Q=H.normalize("NFC");if(Q.startsWith(G+Z0.sep))H=Q.slice(G.length+1);if(H.length<=z)return H;return"…"+H.slice(-(z-1))}).join(", ");if(J)W+=", …";return W}var g,y,C0=35000;var r0=D(()=>{y0();O0();e();t();G0();a();w0();f0();L0();P0();n();F0();v();g=c(l(),1),y=c(k0(),1)});r0();export{W0 as formatWorkspaceFolders,zm as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Bra as z}from"./cli-1.0.9-j2832pm5.mjs";var g=()=>null,c=class{},q,A,a,D=!0,E=null,F,G,H,I,J=null,K=null,L,M,P,Q,R,S,U,V,W,X,Y,Z,_,$,b,i,k,u,w,y,N,O="service.name",T="service.version",h="service.name",x="service.version",d,f,m,t,e;var B=z(()=>{q={get(v,j){if(j==="__esModule")return!0;if(j==="default")return new Proxy({},q);if(j==="ExportResultCode")return{SUCCESS:0,FAILED:1};if(j==="resourceFromAttributes")return()=>({});if(j==="SandboxRuntimeConfigSchema")return{parse:()=>({})};return g}},A=new Proxy(g,q),a=A,F=new Proxy({},{get:()=>g}),G={parse:()=>({})},H=[],I=g,L=g,M=g,P={SUCCESS:0,FAILED:1},Q=g,R=c,S=c,U=c,V=c,W=c,X=c,Y=c,Z=c,_=c,$=c,b=c,i=c,k=c,u=c,w={getTracer:()=>({startSpan:()=>({end:g,setAttribute:g,setStatus:g,recordException:g})})},y={active:g,with:(v,j)=>j()},N={OK:0,ERROR:1,UNSET:2},d={CUMULATIVE:0,DELTA:1},f={HISTOGRAM:0,SUM:1,GAUGE:2},m={COUNTER:0,HISTOGRAM:1,UP_DOWN_COUNTER:2},t=c,e={}});B();export{w as trace,Q as resourceFromAttributes,M as plot,L as getSyntaxTheme,I as getMcpConfigForManifest,a as default,y as context,D as __stub,N as SpanStatusCode,S as SimpleSpanProcessor,b as SimpleLogRecordProcessor,e as SeverityNumber,E as SandboxViolationStore,G as SandboxRuntimeConfigSchema,F as SandboxManager,x as SEMRESATTRS_SERVICE_VERSION,h as SEMRESATTRS_SERVICE_NAME,R as Resource,t as PushMetricExporter,_ as PrometheusExporter,u as PeriodicExportingMetricReader,X as OTLPTraceExporter,Z as OTLPMetricExporter,Y as OTLPLogExporter,V as NodeTracerProvider,k as MeterProvider,$ as LoggerProvider,m as InstrumentType,P as ExportResultCode,f as DataPointType,K as ColorFile,J as ColorDiff,U as BatchSpanProcessor,i as BatchLogRecordProcessor,W as BasicTracerProvider,H as BROWSER_TOOLS,d as AggregationTemporality,T as ATTR_SERVICE_VERSION,O as ATTR_SERVICE_NAME};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ca as a,da as b,ea as c,fa as d}from"./cli-1.0.9-4kjme82s.mjs";import"./cli-1.0.9-efmzhqag.mjs";import"./cli-1.0.9-sjqe138z.mjs";import"./cli-1.0.9-9jyyb7zx.mjs";import"./cli-1.0.9-erz57dtz.mjs";import"./cli-1.0.9-dbs656rx.mjs";import"./cli-1.0.9-vvwt9bfb.mjs";import"./cli-1.0.9-ej3ahs6j.mjs";import"./cli-1.0.9-x4t4nqd2.mjs";import"./cli-1.0.9-qyfx57wb.mjs";import"./cli-1.0.9-06kd11jd.mjs";import"./cli-1.0.9-rpw6qq2j.mjs";import"./cli-1.0.9-6x8m34y6.mjs";import"./cli-1.0.9-e2mjjvjc.mjs";import"./cli-1.0.9-az9m58wa.mjs";import"./cli-1.0.9-jq2h9s5r.mjs";import"./cli-1.0.9-ympvk0av.mjs";import"./cli-1.0.9-a0zm3d1g.mjs";import"./cli-1.0.9-zrphfr1b.mjs";import"./cli-1.0.9-y7sdjd9n.mjs";import"./cli-1.0.9-3ye1460y.mjs";import"./cli-1.0.9-806xk0g7.mjs";import"./cli-1.0.9-htsk8rvv.mjs";import"./cli-1.0.9-1f0bxa2a.mjs";import"./cli-1.0.9-tzke31bj.mjs";import"./cli-1.0.9-aasy7y47.mjs";import"./cli-1.0.9-j2832pm5.mjs";export{b as resolveInboundAttachments,d as resolveAndPrepend,c as prependPathRefs,a as extractInboundAttachments};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Bra as cH}from"./cli-1.0.9-j2832pm5.mjs";import{createRequire as lH}from"module";function NC(H,C){if(typeof H=="function")C=H,H={};return this.ondata=C,H}function HJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC],function(K){return YC(cC(K.data[0],K.data[1]))},0,J)}function cC(H,C){return RC(H,C||{},0,0)}function rH(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC],function(K){return YC(vC(K.data[0],YH(K.data[1])))},1,J)}function vC(H,C){return zC(H,{i:2},C&&C.out,C&&C.dictionary)}function EJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC,vH,function(){return[LH]}],function(K){return YC(LH(K.data[0],K.data[1]))},2,J)}function LH(H,C){if(!C)C={};var J=TC(),K=H.length;J.p(H);var Q=RC(H,C,NH(C),8),V=Q.length;return $H(Q,C),g(Q,V-8,J.d()),g(Q,V-4,K),Q}function KJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC,kH,function(){return[JH]}],function(K){return YC(JH(K.data[0],K.data[1]))},3,J)}function JH(H,C){var J=RH(H);if(J+8>H.length)B(6,"invalid gzip data");return zC(H.subarray(J,-8),{i:2},C&&C.out||new Z(mH(H)),C&&C.dictionary)}function BJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC,hH,function(){return[PH]}],function(K){return YC(PH(K.data[0],K.data[1]))},4,J)}function PH(H,C){if(!C)C={};var J=aC();J.p(H);var K=RC(H,C,C.dictionary?6:2,4);return EH(K,C),g(K,K.length-4,J.d()),K}function VJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC,_H,function(){return[QH]}],function(K){return YC(QH(K.data[0],YH(K.data[1])))},5,J)}function QH(H,C){return zC(H.subarray(WH(H,C&&C.dictionary),-4),{i:2},C&&C.out,C&&C.dictionary)}function qJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return H[0]==31&&H[1]==139&&H[2]==8?KJ(H,C,J):(H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31?rH(H,C,J):VJ(H,C,J)}function OJ(H,C){return H[0]==31&&H[1]==139&&H[2]==8?JH(H,C):(H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31?vC(H,C):QH(H,C)}function $C(H,C){if(C){var J=new Z(H.length);for(var K=0;K<H.length;++K)J[K]=H.charCodeAt(K);return J}if(GH)return GH.encode(H);var Q=H.length,V=new Z(H.length+(H.length>>1)),X=0,Y=function(R){V[X++]=R};for(var K=0;K<Q;++K){if(X+5>V.length){var E=new Z(X+8+(Q-K<<1));E.set(V),V=E}var $=H.charCodeAt(K);if($<128||C)Y($);else if($<2048)Y(192|$>>6),Y(128|$&63);else if($>55295&&$<57344)$=65536+($&1047552)|H.charCodeAt(++K)&1023,Y(240|$>>18),Y(128|$>>12&63),Y(128|$>>6&63),Y(128|$&63);else Y(224|$>>12),Y(128|$>>6&63),Y(128|$&63)}return d(V,0,X)}function nH(H,C){if(C){var J="";for(var K=0;K<H.length;K+=16384)J+=String.fromCharCode.apply(null,H.subarray(K,K+16384));return J}else if(VH)return VH.decode(H);else{var Q=oH(H),V=Q.s,J=Q.r;if(J.length)B(8);return V}}function TJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);var K={};BH(H,"",K,C);var Q=Object.keys(K),V=Q.length,X=0,Y=0,E=V,$=Array(V),R=[],N=function(){for(var F=0;F<R.length;++F)R[F]()},W=function(F,P){eC(function(){J(F,P)})};eC(function(){W=J});var T=function(){var F=new Z(Y+22),P=X,U=Y-X;Y=0;for(var j=0;j<E;++j){var O=$[j];try{var x=O.c.length;MC(F,Y,O,O.f,O.u,x);var z=30+O.f.length+XC(O.extra),A=Y+z;F.set(O.c,A),MC(F,X,O,O.f,O.u,x,Y,O.m),X+=16+z+(O.m?O.m.length:0),Y=A+x}catch(L){return W(L,null)}}FH(F,X,$.length,U,P),W(null,F)};if(!V)T();var M=function(F){var P=Q[F],U=K[P],j=U[0],O=U[1],x=TC(),z=j.length;x.p(j);var A=$C(P),L=A.length,q=O.comment,y=q&&$C(q),S=y&&y.length,v=XC(O.extra),r=O.level==0?0:8,h=function(m,w){if(m)N(),W(m,null);else{var D=w.length;if($[F]=yC(O,{size:z,crc:x.d(),c:w,f:A,m:y,u:L!=P.length||y&&q.length!=S,compression:r}),X+=30+L+v+D,Y+=76+2*(L+v)+(S||0)+D,!--V)T()}};if(L>65535)h(B(11,0,1),null);if(!r)h(null,j);else if(z<160000)try{h(null,cC(j,O))}catch(m){h(m,null)}else R.push(HJ(j,O,h))};for(var G=0;G<E;++G)M(G);return N}function ZJ(H,C){if(!C)C={};var J={},K=[];BH(H,"",J,C);var Q=0,V=0;for(var X in J){var Y=J[X],E=Y[0],$=Y[1],R=$.level==0?0:8,N=$C(X),W=N.length,T=$.comment,M=T&&$C(T),G=M&&M.length,F=XC($.extra);if(W>65535)B(11);var P=R?cC(E,$):E,U=P.length,j=TC();j.p(E),K.push(yC($,{size:E.length,crc:j.d(),c:P,f:N,m:M,u:W!=X.length||M&&T.length!=G,o:Q,compression:R})),Q+=30+W+F+U,V+=76+2*(W+F)+(G||0)+U}var O=new Z(V+22),x=Q,z=V-Q;for(var A=0;A<K.length;++A){var N=K[A];MC(O,N.o,N,N.f,N.u,N.c.length);var L=30+N.f.length+XC(N.extra);O.set(N.c,N.o+L),MC(O,Q,N,N.f,N.u,N.c.length,N.o,N.m),Q+=16+L+(N.m?N.m.length:0)}return FH(O,Q,K.length,z,x),O}function DJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);var K=[],Q=function(){for(var F=0;F<K.length;++F)K[F]()},V={},X=function(F,P){eC(function(){J(F,P)})};eC(function(){X=J});var Y=H.length-22;for(;k(H,Y)!=101010256;--Y)if(!Y||H.length-Y>65558)return X(B(13,0,1),null),Q;var E=b(H,Y+8);if(E){var $=E,R=k(H,Y+16),N=k(H,Y-20)==117853008;if(N){var W=k(H,Y-12);if(N=k(H,W)==101075792,N)$=E=k(H,W+32),R=k(H,W+48)}var T=C&&C.filter,M=function(F){var P=fH(H,R,N),U=P[0],j=P[1],O=P[2],x=P[3],z=P[4],A=P[5],L=eH(H,A);R=z;var q=function(S,v){if(S)Q(),X(S,null);else{if(v)V[x]=v;if(!--E)X(null,V)}};if(!T||T({name:x,size:j,originalSize:O,compression:U}))if(!U)q(null,d(H,L,L+j));else if(U==8){var y=H.subarray(L,L+j);if(O<524288||j>0.8*O)try{q(null,vC(y,{out:new Z(O)}))}catch(S){q(S,null)}else K.push(rH(y,{size:O},q))}else q(B(14,"unknown compression type "+U,1),null);else q(null,null)};for(var G=0;G<$;++G)M(G)}else X(null,{});return Q}function SJ(H,C){var J={},K=H.length-22;for(;k(H,K)!=101010256;--K)if(!K||H.length-K>65558)B(13);var Q=b(H,K+8);if(!Q)return{};var V=k(H,K+16),X=k(H,K-20)==117853008;if(X){var Y=k(H,K-12);if(X=k(H,Y)==101075792,X)Q=k(H,Y+32),V=k(H,Y+48)}var E=C&&C.filter;for(var $=0;$<Q;++$){var R=fH(H,V,X),N=R[0],W=R[1],T=R[2],M=R[3],G=R[4],F=R[5],P=eH(H,F);if(V=G,!E||E({name:M,size:W,originalSize:T,compression:N}))if(!N)J[M]=d(H,P,P+W);else if(N==8)J[M]=vC(H.subarray(P,P+W),{out:new Z(T)});else B(14,"unknown compression type "+N)}return J}var dH,OC,mC,iC,iH=";var __w=require('worker_threads');__w.parentPort.on('message',function(m){onmessage({data:m})}),postMessage=function(m,t){__w.parentPort.postMessage(m,t)},close=process.exit;self=global",sH,Z,e,wC,PC,jC,gC,TH=function(H,C){var J=new e(31);for(var K=0;K<31;++K)J[K]=C+=1<<H[K-1];var Q=new wC(J[30]);for(var K=1;K<30;++K)for(var V=J[K];V<J[K+1];++V)Q[V]=V-J[K]<<5|K;return{b:J,r:Q}},OC,XH,oC,ZH,IH,sC,xC,HC,I,l=function(H,C,J){var K=H.length,Q=0,V=new e(C);for(;Q<K;++Q)if(H[Q])++V[H[Q]-1];var X=new e(C);for(Q=1;Q<C;++Q)X[Q]=X[Q-1]+V[Q-1]<<1;var Y;if(J){Y=new e(1<<C);var E=15-C;for(Q=0;Q<K;++Q)if(H[Q]){var $=Q<<4|H[Q],R=C-H[Q],N=X[H[Q]-1]++<<R;for(var W=N|(1<<R)-1;N<=W;++N)Y[xC[N]>>E]=$}}else{Y=new e(K);for(Q=0;Q<K;++Q)if(H[Q])Y[Q]=xC[X[H[Q]-1]++]>>15-H[Q]}return Y},QC,I,I,I,I,LC,I,UH,AH,DH,SH,uC=function(H){var C=H[0];for(var J=1;J<H.length;++J)if(H[J]>C)C=H[J];return C},c=function(H,C,J){var K=C/8|0;return(H[K]|H[K+1]<<8)>>(C&7)&J},rC=function(H,C){var J=C/8|0;return(H[J]|H[J+1]<<8|H[J+2]<<16)>>(C&7)},GC=function(H){return(H+7)/8|0},d=function(H,C,J){if(C==null||C<0)C=0;if(J==null||J>H.length)J=H.length;return new Z(H.subarray(C,J))},RJ,gH,B=function(H,C,J){var K=Error(C||gH[H]);if(K.code=H,Error.captureStackTrace)Error.captureStackTrace(K,B);if(!J)throw K;return K},zC=function(H,C,J,K){var Q=H.length,V=K?K.length:0;if(!Q||C.f&&!C.l)return J||new Z(0);var X=!J,Y=X||C.i!=2,E=C.i;if(X)J=new Z(Q*3);var $=function(DC){var SC=J.length;if(DC>SC){var BC=new Z(Math.max(SC*2,DC));BC.set(J),J=BC}},R=C.f||0,N=C.p||0,W=C.b||0,T=C.l,M=C.d,G=C.m,F=C.n,P=Q*8;do{if(!T){R=c(H,N,1);var U=c(H,N+1,3);if(N+=3,!U){var j=GC(N)+4,O=H[j-4]|H[j-3]<<8,x=j+O;if(x>Q){if(E)B(0);break}if(Y)$(W+O);J.set(H.subarray(j,x),W),C.b=W+=O,C.p=N=x*8,C.f=R;continue}else if(U==1)T=AH,M=SH,G=9,F=5;else if(U==2){var z=c(H,N,31)+257,A=c(H,N+10,15)+4,L=z+c(H,N+5,31)+1;N+=14;var q=new Z(L),y=new Z(19);for(var S=0;S<A;++S)y[gC[S]]=c(H,N+S*3,7);N+=A*3;var v=uC(y),r=(1<<v)-1,h=l(y,v,1);for(var S=0;S<L;){var m=h[c(H,N,r)];N+=m&15;var j=m>>4;if(j<16)q[S++]=j;else{var w=0,D=0;if(j==16)D=3+c(H,N,3),N+=2,w=q[S-1];else if(j==17)D=3+c(H,N,7),N+=3;else if(j==18)D=11+c(H,N,127),N+=7;while(D--)q[S++]=w}}var p=q.subarray(0,z),u=q.subarray(z);G=uC(p),F=uC(u),T=l(p,G,1),M=l(u,F,1)}else B(1);if(N>P){if(E)B(0);break}}if(Y)$(W+131072);var VC=(1<<G)-1,f=(1<<F)-1,s=N;for(;;s=N){var w=T[rC(H,N)&VC],o=w>>4;if(N+=w&15,N>P){if(E)B(0);break}if(!w)B(2);if(o<256)J[W++]=o;else if(o==256){s=N,T=null;break}else{var n=o-254;if(o>264){var S=o-257,_=PC[S];n=c(H,N,(1<<_)-1)+XH[S],N+=_}var CC=M[rC(H,N)&f],EC=CC>>4;if(!CC)B(3);N+=CC&15;var u=IH[EC];if(EC>3){var _=jC[EC];u+=rC(H,N)&(1<<_)-1,N+=_}if(N>P){if(E)B(0);break}if(Y)$(W+131072);var WC=W+n;if(W<u){var kC=V-u,hC=Math.min(u,WC);if(kC+W<0)B(3);for(;W<hC;++W)J[W]=K[kC+W]}for(;W<WC;++W)J[W]=J[W-u]}}if(C.l=T,C.p=s,C.b=W,C.f=R,T)R=1,C.m=G,C.d=M,C.n=F}while(!R);return W!=J.length&&X?d(J,0,W):J.subarray(0,W)},JC=function(H,C,J){J<<=C&7;var K=C/8|0;H[K]|=J,H[K+1]|=J>>8},FC=function(H,C,J){J<<=C&7;var K=C/8|0;H[K]|=J,H[K+1]|=J>>8,H[K+2]|=J>>16},pC=function(H,C){var J=[];for(var K=0;K<H.length;++K)if(H[K])J.push({s:K,f:H[K]});var Q=J.length,V=J.slice();if(!Q)return{t:KC,l:0};if(Q==1){var X=new Z(J[0].s+1);return X[J[0].s]=1,{t:X,l:1}}J.sort(function(x,z){return x.f-z.f}),J.push({s:-1,f:25001});var Y=J[0],E=J[1],$=0,R=1,N=2;J[0]={s:-1,f:Y.f+E.f,l:Y,r:E};while(R!=Q-1)Y=J[J[$].f<J[N].f?$++:N++],E=J[$!=R&&J[$].f<J[N].f?$++:N++],J[R++]={s:-1,f:Y.f+E.f,l:Y,r:E};var W=V[0].s;for(var K=1;K<Q;++K)if(V[K].s>W)W=V[K].s;var T=new e(W+1),M=nC(J[R-1],T,0);if(M>C){var K=0,G=0,F=M-C,P=1<<F;V.sort(function(z,A){return T[A.s]-T[z.s]||z.f-A.f});for(;K<Q;++K){var U=V[K].s;if(T[U]>C)G+=P-(1<<M-T[U]),T[U]=C;else break}G>>=F;while(G>0){var j=V[K].s;if(T[j]<C)G-=1<<C-T[j]++-1;else++K}for(;K>=0&&G;--K){var O=V[K].s;if(T[O]==C)--T[O],++G}M=C}return{t:new Z(T),l:M}},nC=function(H,C,J){return H.s==-1?Math.max(nC(H.l,C,J+1),nC(H.r,C,J+1)):C[H.s]=J},tC=function(H){var C=H.length;while(C&&!H[--C]);var J=new e(++C),K=0,Q=H[0],V=1,X=function(E){J[K++]=E};for(var Y=1;Y<=C;++Y)if(H[Y]==Q&&Y!=C)++V;else{if(!Q&&V>2){for(;V>138;V-=138)X(32754);if(V>2)X(V>10?V-11<<5|28690:V-3<<5|12305),V=0}else if(V>3){X(Q),--V;for(;V>6;V-=6)X(8304);if(V>2)X(V-3<<5|8208),V=0}while(V--)X(Q);V=1,Q=H[Y]}return{c:J.subarray(0,K),n:C}},qC=function(H,C){var J=0;for(var K=0;K<C.length;++K)J+=H[K]*C[K];return J},fC=function(H,C,J){var K=J.length,Q=GC(C+2);H[Q]=K&255,H[Q+1]=K>>8,H[Q+2]=H[Q]^255,H[Q+3]=H[Q+1]^255;for(var V=0;V<K;++V)H[Q+V+4]=J[V];return(Q+4+K)*8},CH=function(H,C,J,K,Q,V,X,Y,E,$,R){JC(C,R++,J),++Q[256];var N=pC(Q,15),W=N.t,T=N.l,M=pC(V,15),G=M.t,F=M.l,P=tC(W),U=P.c,j=P.n,O=tC(G),x=O.c,z=O.n,A=new e(19);for(var L=0;L<U.length;++L)++A[U[L]&31];for(var L=0;L<x.length;++L)++A[x[L]&31];var q=pC(A,7),y=q.t,S=q.l,v=19;for(;v>4&&!y[gC[v-1]];--v);var r=$+5<<3,h=qC(Q,QC)+qC(V,LC)+X,m=qC(Q,W)+qC(V,G)+X+14+3*v+qC(A,y)+2*A[16]+3*A[17]+7*A[18];if(E>=0&&r<=h&&r<=m)return fC(C,R,H.subarray(E,E+$));var w,D,p,u;if(JC(C,R,1+(m<h)),R+=2,m<h){w=l(W,T,0),D=W,p=l(G,F,0),u=G;var VC=l(y,S,0);JC(C,R,j-257),JC(C,R+5,z-1),JC(C,R+10,v-4),R+=14;for(var L=0;L<v;++L)JC(C,R+3*L,y[gC[L]]);R+=3*v;var f=[U,x];for(var s=0;s<2;++s){var o=f[s];for(var L=0;L<o.length;++L){var n=o[L]&31;if(JC(C,R,VC[n]),R+=y[n],n>15)JC(C,R,o[L]>>5&127),R+=o[L]>>12}}}else w=UH,D=QC,p=DH,u=LC;for(var L=0;L<Y;++L){var _=K[L];if(_>255){var n=_>>18&31;if(FC(C,R,w[n+257]),R+=D[n+257],n>7)JC(C,R,_>>23&31),R+=PC[n];var CC=_&31;if(FC(C,R,p[CC]),R+=u[CC],CC>3)FC(C,R,_>>5&8191),R+=jC[CC]}else FC(C,R,w[_]),R+=D[_]}return FC(C,R,w[256]),R+D[256]},xH,KC,wH=function(H,C,J,K,Q,V){var X=V.z||H.length,Y=new Z(K+X+5*(1+Math.ceil(X/7000))+Q),E=Y.subarray(K,Y.length-Q),$=V.l,R=(V.r||0)&7;if(C){if(R)E[0]=V.r>>3;var N=xH[C-1],W=N>>13,T=N&8191,M=(1<<J)-1,G=V.p||new e(32768),F=V.h||new e(M+1),P=Math.ceil(J/3),U=2*P,j=function(lC){return(H[lC]^H[lC+1]<<P^H[lC+2]<<U)&M},O=new wC(25000),x=new e(288),z=new e(32),A=0,L=0,q=V.i||0,y=0,S=V.w||0,v=0;for(;q+2<X;++q){var r=j(q),h=q&32767,m=F[r];if(G[h]=m,F[r]=h,S<=q){var w=X-q;if((A>7000||y>24576)&&(w>423||!$)){R=CH(H,E,0,O,x,z,L,y,v,q-v,R),y=A=L=0,v=q;for(var D=0;D<286;++D)x[D]=0;for(var D=0;D<30;++D)z[D]=0}var p=2,u=0,VC=T,f=h-m&32767;if(w>2&&r==j(q-f)){var s=Math.min(W,w)-1,o=Math.min(32767,q),n=Math.min(258,w);while(f<=o&&--VC&&h!=m){if(H[q+p]==H[q+p-f]){var _=0;for(;_<n&&H[q+_]==H[q+_-f];++_);if(_>p){if(p=_,u=f,_>s)break;var CC=Math.min(f,_-2),EC=0;for(var D=0;D<CC;++D){var WC=q-f+D&32767,kC=G[WC],hC=WC-kC&32767;if(hC>EC)EC=hC,m=WC}}}h=m,m=G[h],f+=h-m&32767}}if(u){O[y++]=268435456|oC[p]<<18|sC[u];var DC=oC[p]&31,SC=sC[u]&31;L+=PC[DC]+jC[SC],++x[257+DC],++z[SC],S=q+p,++A}else O[y++]=H[q],++x[H[q]]}}for(q=Math.max(q,S);q<X;++q)O[y++]=H[q],++x[H[q]];if(R=CH(H,E,$,O,x,z,L,y,v,q-v,R),!$)V.r=R&7|E[R/8|0]<<3,R-=7,V.h=F,V.p=G,V.i=q,V.w=S}else{for(var q=V.w||0;q<X+$;q+=65535){var BC=q+65535;if(BC>=X)E[R/8|0]=$,BC=X;R=fC(E,R+1,H.subarray(q,BC))}V.i=X}return d(Y,0,K+GC(R)+Q)},zH,TC=function(){var H=-1;return{p:function(C){var J=H;for(var K=0;K<C.length;++K)J=zH[J&255^C[K]]^J>>>8;H=J},d:function(){return~H}}},aC=function(){var H=1,C=0;return{p:function(J){var K=H,Q=C,V=J.length|0;for(var X=0;X!=V;){var Y=Math.min(X+2655,V);for(;X<Y;++X)Q+=K+=J[X];K=(K&65535)+15*(K>>16),Q=(Q&65535)+15*(Q>>16)}H=K,C=Q},d:function(){return H%=65521,C%=65521,(H&255)<<24|(H&65280)<<8|(C&255)<<8|C>>8}}},RC=function(H,C,J,K,Q){if(!Q){if(Q={l:1},C.dictionary){var V=C.dictionary.subarray(-32768),X=new Z(V.length+H.length);X.set(V),X.set(H,V.length),H=X,Q.w=V.length}}return wH(H,C.level==null?6:C.level,C.mem==null?Q.l?Math.ceil(Math.max(8,Math.min(13,Math.log(H.length)))*1.5):20:12+C.mem,J,K,Q)},yC=function(H,C){var J={};for(var K in H)J[K]=H[K];for(var K in C)J[K]=C[K];return J},qH=function(H,C,J){var K=H(),Q=H.toString(),V=Q.slice(Q.indexOf("[")+1,Q.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var X=0;X<K.length;++X){var Y=K[X],E=V[X];if(typeof Y=="function"){C+=";"+E+"=";var $=Y.toString();if(Y.prototype)if($.indexOf("[native code]")!=-1){var R=$.indexOf(" ",8)+1;C+=$.slice(R,$.indexOf("(",R))}else{C+=$;for(var N in Y.prototype)C+=";"+E+".prototype."+N+"="+Y.prototype[N].toString()}else C+=$}else J[E]=Y}return C},_C,tH=function(H){var C=[];for(var J in H)if(H[J].buffer)C.push((H[J]=new H[J].constructor(H[J])).buffer);return C},yH=function(H,C,J,K){if(!_C[J]){var Q="",V={},X=H.length-1;for(var Y=0;Y<X;++Y)Q=qH(H[Y],Q,V);_C[J]={c:qH(H[X],Q,V),e:V}}var E=yC({},_C[J].e);return sH(_C[J].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+C.toString()+"}",J,E,tH(E),K)},ZC=function(){return[Z,e,wC,PC,jC,gC,XH,IH,AH,SH,xC,gH,l,uC,c,rC,GC,d,B,zC,vC,YC,YH]},IC=function(){return[Z,e,wC,PC,jC,gC,oC,sC,UH,QC,DH,LC,xC,xH,KC,l,JC,FC,pC,nC,tC,qC,fC,CH,GC,d,wH,RC,cC,YC]},vH=function(){return[$H,NH,g,TC,zH]},kH=function(){return[RH,mH]},hH=function(){return[EH,g,aC]},_H=function(){return[WH]},YC=function(H){return postMessage(H,[H.buffer])},YH=function(H){return H&&{out:H.size&&new Z(H.size),dictionary:H.dictionary}},UC=function(H,C,J,K,Q,V){var X=yH(J,K,Q,function(Y,E){X.terminate(),V(Y,E)});return X.postMessage([H,C],C.consume?[H.buffer]:[]),function(){X.terminate()}},i=function(H){return H.ondata=function(C,J){return postMessage([C,J],[C.buffer])},function(C){if(C.data[0])H.push(C.data[0],C.data[1]),postMessage([C.data[0].length]);else H.flush(C.data[1])}},AC=function(H,C,J,K,Q,V,X){var Y,E=yH(H,K,Q,function($,R){if($)E.terminate(),C.ondata.call(C,$);else if(!Array.isArray(R))X(R);else if(R.length==1){if(C.queuedSize-=R[0],C.ondrain)C.ondrain(R[0])}else{if(R[1])E.terminate();C.ondata.call(C,$,R[0],R[1])}});if(E.postMessage(J),C.queuedSize=0,C.push=function($,R){if(!C.ondata)B(5);if(Y)C.ondata(B(4,0,1),null,!!R);C.queuedSize+=$.length,E.postMessage([$,Y=R],$.buffer instanceof ArrayBuffer?[$.buffer]:[])},C.terminate=function(){E.terminate()},V)C.flush=function($){E.postMessage([0,$])}},b=function(H,C){return H[C]|H[C+1]<<8},k=function(H,C){return(H[C]|H[C+1]<<8|H[C+2]<<16|H[C+3]<<24)>>>0},dC=function(H,C){return k(H,C)+k(H,C+4)*4294967296},g=function(H,C,J){for(;J;++C)H[C]=J,J>>>=8},$H=function(H,C){var J=C.filename;if(H[0]=31,H[1]=139,H[2]=8,H[8]=C.level<2?4:C.level==9?2:0,H[9]=3,C.mtime!=0)g(H,4,Math.floor(new Date(C.mtime||Date.now())/1000));if(J){H[3]=8;for(var K=0;K<=J.length;++K)H[K+10]=J.charCodeAt(K)}},RH=function(H){if(H[0]!=31||H[1]!=139||H[2]!=8)B(6,"invalid gzip data");var C=H[3],J=10;if(C&4)J+=(H[10]|H[11]<<8)+2;for(var K=(C>>3&1)+(C>>4&1);K>0;K-=!H[J++]);return J+(C&2)},mH=function(H){var C=H.length;return(H[C-4]|H[C-3]<<8|H[C-2]<<16|H[C-1]<<24)>>>0},NH=function(H){return 10+(H.filename?H.filename.length+1:0)},EH=function(H,C){var J=C.level,K=J==0?0:J<6?1:J==9?3:2;if(H[0]=120,H[1]=K<<6|(C.dictionary&&32),H[1]|=31-(H[0]<<8|H[1])%31,C.dictionary){var Q=aC();Q.p(C.dictionary),g(H,2,Q.d())}},WH=function(H,C){if((H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31)B(6,"invalid zlib data");if((H[1]>>5&1)==+!C)B(6,"invalid zlib data: "+(H[1]&32?"need":"unexpected")+" dictionary");return(H[1]>>3&4)+2},t,CJ,a,uH,OH,NJ,HH,JJ,MH,WJ,KH,QJ,jH,FJ,BH=function(H,C,J,K){for(var Q in H){var V=H[Q],X=C+Q,Y=K;if(Array.isArray(V))Y=yC(K,V[1]),V=V[0];if(ArrayBuffer.isView(V))J[X]=[V,Y];else J[X+="/"]=[new Z(0),Y],BH(V,X,J,K)}},GH,VH,pH=0,oH=function(H){for(var C="",J=0;;){var K=H[J++],Q=(K>127)+(K>223)+(K>239);if(J+Q>H.length)return{s:C,r:d(H,J-1)};if(!Q)C+=String.fromCharCode(K);else if(Q==3)K=((K&15)<<18|(H[J++]&63)<<12|(H[J++]&63)<<6|H[J++]&63)-65536,C+=String.fromCharCode(55296|K>>10,56320|K&1023);else if(Q&1)C+=String.fromCharCode((K&31)<<6|H[J++]&63);else C+=String.fromCharCode((K&15)<<12|(H[J++]&63)<<6|H[J++]&63)}},LJ,MJ,bH=function(H){return H==1?3:H<6?2:H==9?1:0},eH=function(H,C){return C+30+b(H,C+26)+b(H,C+28)},fH=function(H,C,J){var K=b(H,C+28),Q=b(H,C+30),V=nH(H.subarray(C+46,C+46+K),!(b(H,C+8)&2048)),X=C+46+K,Y=aH(H,X,Q,J,k(H,C+20),k(H,C+24),k(H,C+42)),E=Y[0],$=Y[1],R=Y[2];return[b(H,C+10),E,$,V,X+Q+b(H,C+32),R]},aH=function(H,C,J,K,Q,V,X){var Y=Q==4294967295,E=V==4294967295,$=X==4294967295,R=C+J,N=Y+E+$;if(K&&N){for(;C+4<R;C+=4+b(H,C+2))if(b(H,C)==1)return[Y?dC(H,C+4+8*E):Q,E?dC(H,C+4):V,$?dC(H,C+4+8*(E+Y)):X,1];if(K<2)B(13)}return[Q,V,X,0]},XC=function(H){var C=0;if(H)for(var J in H){var K=H[J].length;if(K>65535)B(9);C+=K+4}return C},MC=function(H,C,J,K,Q,V,X,Y){var E=K.length,$=J.extra,R=Y&&Y.length,N=XC($);if(g(H,C,X!=null?33639248:67324752),C+=4,X!=null)H[C++]=20,H[C++]=J.os;H[C]=20,C+=2,H[C++]=J.flag<<1|(V<0&&8),H[C++]=Q&&8,H[C++]=J.compression&255,H[C++]=J.compression>>8;var W=new Date(J.mtime==null?Date.now():J.mtime),T=W.getFullYear()-1980;if(T<0||T>119)B(10);if(g(H,C,T<<25|W.getMonth()+1<<21|W.getDate()<<16|W.getHours()<<11|W.getMinutes()<<5|W.getSeconds()>>1),C+=4,V!=-1)g(H,C,J.crc),g(H,C+4,V<0?-V-2:V),g(H,C+8,J.size);if(g(H,C+12,E),g(H,C+14,N),C+=16,X!=null)g(H,C,R),g(H,C+6,J.attrs),g(H,C+10,X),C+=14;if(H.set(K,C),C+=E,N)for(var M in $){var G=$[M],F=G.length;g(H,C,+M),g(H,C+2,F),H.set(G,C+4),C+=4+F}if(R)H.set(Y,C),C+=R;return C},FH=function(H,C,J,K,Q){g(H,C,101010256),g(H,C+8,J),g(H,C+10,J),g(H,C+12,K),g(H,C+16,Q)},bC,PJ,jJ,GJ,XJ,IJ,UJ,AJ,eC;var YJ=cH(()=>{dH=lH("/");try{OC=dH("worker_threads"),mC=OC.Worker,iC=OC.isMarkedAsUntransferable}catch(H){}sH=mC?function(H,C,J,K,Q){var V=!1,X=new mC(H+iH,{eval:!0}).on("error",function(Y){return Q(Y,null)}).on("message",function(Y){return Q(null,Y)}).on("exit",function(Y){if(Y&&!V)Q(Error("exited with code "+Y),null)});if(iC)K=K.filter(function(Y){return!iC(Y)});return X.postMessage(J,K),X.terminate=function(){return V=!0,mC.prototype.terminate.call(X)},X}:function(H,C,J,K,Q){setImmediate(function(){return Q(Error("async operations unsupported - update to Node 12+ (or Node 10-11 with the --experimental-worker CLI flag)"),null)});var V=function(){};return{terminate:V,postMessage:V}},Z=Uint8Array,e=Uint16Array,wC=Int32Array,PC=new Z([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),jC=new Z([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),gC=new Z([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),OC=TH(PC,2),XH=OC.b,oC=OC.r;XH[28]=258,oC[258]=28;ZH=TH(jC,0),IH=ZH.b,sC=ZH.r,xC=new e(32768);for(I=0;I<32768;++I)HC=(I&43690)>>1|(I&21845)<<1,HC=(HC&52428)>>2|(HC&13107)<<2,HC=(HC&61680)>>4|(HC&3855)<<4,xC[I]=((HC&65280)>>8|(HC&255)<<8)>>1;QC=new Z(288);for(I=0;I<144;++I)QC[I]=8;for(I=144;I<256;++I)QC[I]=9;for(I=256;I<280;++I)QC[I]=7;for(I=280;I<288;++I)QC[I]=8;LC=new Z(32);for(I=0;I<32;++I)LC[I]=5;UH=l(QC,9,0),AH=l(QC,9,1),DH=l(LC,5,0),SH=l(LC,5,1),RJ={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},gH=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],xH=new wC([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),KC=new Z(0),zH=function(){var H=new Int32Array(256);for(var C=0;C<256;++C){var J=C,K=9;while(--K)J=(J&1&&-306674912)^J>>>1;H[C]=J}return H}(),_C=[];t=function(){function H(C,J){if(typeof C=="function")J=C,C={};if(this.ondata=J,this.o=C||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new Z(98304),this.o.dictionary){var K=this.o.dictionary.subarray(-32768);this.b.set(K,32768-K.length),this.s.i=32768-K.length}}return H.prototype.p=function(C,J){this.ondata(RC(C,this.o,0,0,this.s),J)},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.s.l)B(4);var K=C.length+this.s.z;if(K>this.b.length){if(K>2*this.b.length-32768){var Q=new Z(K&-32768);Q.set(this.b.subarray(0,this.s.z)),this.b=Q}var V=this.b.length-this.s.z;this.b.set(C.subarray(0,V),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(C.subarray(V),32768),this.s.z=C.length-V+32768,this.s.i=32766,this.s.w=32768}else this.b.set(C,this.s.z),this.s.z+=C.length;if(this.s.l=J&1,this.s.z>this.s.w+8191||J)this.p(this.b,J||!1),this.s.w=this.s.i,this.s.i-=2;if(J)this.s=this.o={},this.b=KC},H.prototype.flush=function(C){if(!this.ondata)B(5);if(this.s.l)B(4);if(this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2,C){var J=new Z(6);J[0]=this.s.r>>3;var K=fC(J,this.s.r,KC);this.s.r=0,this.ondata(J.subarray(0,K>>3),!1)}},H}(),CJ=function(){function H(C,J){AC([IC,function(){return[i,t]}],this,NC.call(this,C,J),function(K){var Q=new t(K.data);onmessage=i(Q)},6,1)}return H}();a=function(){function H(C,J){if(typeof C=="function")J=C,C={};this.ondata=J;var K=C&&C.dictionary&&C.dictionary.subarray(-32768);if(this.s={i:0,b:K?K.length:0},this.o=new Z(32768),this.p=new Z(0),K)this.o.set(K)}return H.prototype.e=function(C){if(!this.ondata)B(5);if(this.d)B(4);if(!this.p.length)this.p=C;else if(C.length){var J=new Z(this.p.length+C.length);J.set(this.p),J.set(C,this.p.length),this.p=J}},H.prototype.c=function(C){this.s.i=+(this.d=C||!1);var J=this.s.b,K=zC(this.p,this.s,this.o);this.ondata(d(K,J,this.s.b),this.d),this.o=d(K,this.s.b-32768),this.s.b=this.o.length,this.p=d(this.p,this.s.p/8|0),this.s.p&=7},H.prototype.push=function(C,J){this.e(C),this.c(J)},H}(),uH=function(){function H(C,J){AC([ZC,function(){return[i,a]}],this,NC.call(this,C,J),function(K){var Q=new a(K.data);onmessage=i(Q)},7,0)}return H}();OH=function(){function H(C,J){this.c=TC(),this.l=0,this.v=1,t.call(this,C,J)}return H.prototype.push=function(C,J){this.c.p(C),this.l+=C.length,t.prototype.push.call(this,C,J)},H.prototype.p=function(C,J){var K=RC(C,this.o,this.v&&NH(this.o),J&&8,this.s);if(this.v)$H(K,this.o),this.v=0;if(J)g(K,K.length-8,this.c.d()),g(K,K.length-4,this.l);this.ondata(K,J)},H.prototype.flush=function(C){t.prototype.flush.call(this,C)},H}(),NJ=function(){function H(C,J){AC([IC,vH,function(){return[i,t,OH]}],this,NC.call(this,C,J),function(K){var Q=new OH(K.data);onmessage=i(Q)},8,1)}return H}();HH=function(){function H(C,J){this.v=1,this.r=0,a.call(this,C,J)}return H.prototype.push=function(C,J){if(a.prototype.e.call(this,C),this.r+=C.length,this.v){var K=this.p.subarray(this.v-1),Q=K.length>3?RH(K):4;if(Q>K.length){if(!J)return}else if(this.v>1&&this.onmember)this.onmember(this.r-K.length);this.p=K.subarray(Q),this.v=0}if(a.prototype.c.call(this,0),this.s.f&&!this.s.l)this.v=GC(this.s.p)+9,this.s={i:0},this.o=new Z(0),this.push(new Z(0),J);else if(J)a.prototype.c.call(this,J)},H}(),JJ=function(){function H(C,J){var K=this;AC([ZC,kH,function(){return[i,a,HH]}],this,NC.call(this,C,J),function(Q){var V=new HH(Q.data);V.onmember=function(X){return postMessage(X)},onmessage=i(V)},9,0,function(Q){return K.onmember&&K.onmember(Q)})}return H}();MH=function(){function H(C,J){this.c=aC(),this.v=1,t.call(this,C,J)}return H.prototype.push=function(C,J){this.c.p(C),t.prototype.push.call(this,C,J)},H.prototype.p=function(C,J){var K=RC(C,this.o,this.v&&(this.o.dictionary?6:2),J&&4,this.s);if(this.v)EH(K,this.o),this.v=0;if(J)g(K,K.length-4,this.c.d());this.ondata(K,J)},H.prototype.flush=function(C){t.prototype.flush.call(this,C)},H}(),WJ=function(){function H(C,J){AC([IC,hH,function(){return[i,t,MH]}],this,NC.call(this,C,J),function(K){var Q=new MH(K.data);onmessage=i(Q)},10,1)}return H}();KH=function(){function H(C,J){a.call(this,C,J),this.v=C&&C.dictionary?2:1}return H.prototype.push=function(C,J){if(a.prototype.e.call(this,C),this.v){if(this.p.length<6&&!J)return;this.p=this.p.subarray(WH(this.p,this.v-1)),this.v=0}if(J){if(this.p.length<4)B(6,"invalid zlib data");this.p=this.p.subarray(0,-4)}a.prototype.c.call(this,J)},H}(),QJ=function(){function H(C,J){AC([ZC,_H,function(){return[i,a,KH]}],this,NC.call(this,C,J),function(K){var Q=new KH(K.data);onmessage=i(Q)},11,0)}return H}();jH=function(){function H(C,J){this.o=NC.call(this,C,J)||{},this.G=HH,this.I=a,this.Z=KH}return H.prototype.i=function(){var C=this;this.s.ondata=function(J,K){C.ondata(J,K)}},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(!this.s){if(this.p&&this.p.length){var K=new Z(this.p.length+C.length);K.set(this.p),K.set(C,this.p.length)}else this.p=C;if(this.p.length>2)this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(this.o):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(this.o):new this.Z(this.o),this.i(),this.s.push(this.p,J),this.p=null}else this.s.push(C,J)},H}(),FJ=function(){function H(C,J){jH.call(this,C,J),this.queuedSize=0,this.G=JJ,this.I=uH,this.Z=QJ}return H.prototype.i=function(){var C=this;this.s.ondata=function(J,K,Q){C.ondata(J,K,Q)},this.s.ondrain=function(J){if(C.queuedSize-=J,C.ondrain)C.ondrain(J)}},H.prototype.push=function(C,J){this.queuedSize+=C.length,jH.prototype.push.call(this,C,J)},H}();GH=typeof TextEncoder<"u"&&new TextEncoder,VH=typeof TextDecoder<"u"&&new TextDecoder;try{VH.decode(KC,{stream:!0}),pH=1}catch(H){}LJ=function(){function H(C){if(this.ondata=C,pH)this.t=new TextDecoder;else this.p=KC}return H.prototype.push=function(C,J){if(!this.ondata)B(5);if(J=!!J,this.t){if(this.ondata(this.t.decode(C,{stream:!0}),J),J){if(this.t.decode().length)B(8);this.t=null}return}if(!this.p)B(4);var K=new Z(this.p.length+C.length);K.set(this.p),K.set(C,this.p.length);var Q=oH(K),V=Q.s,X=Q.r;if(J){if(X.length)B(8);this.p=null}else this.p=X;this.ondata(V,J)},H}(),MJ=function(){function H(C){this.ondata=C}return H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.d)B(4);this.ondata($C(C),this.d=J||!1)},H}();bC=function(){function H(C){this.filename=C,this.c=TC(),this.size=0,this.compression=0}return H.prototype.process=function(C,J){this.ondata(null,C,J)},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.c.p(C),this.size+=C.length,J)this.crc=this.c.d();this.process(C,J||!1)},H}(),PJ=function(){function H(C,J){var K=this;if(!J)J={};bC.call(this,C),this.d=new t(J,function(Q,V){K.ondata(null,Q,V)}),this.compression=8,this.flag=bH(J.level)}return H.prototype.process=function(C,J){try{this.d.push(C,J)}catch(K){this.ondata(K,null,J)}},H.prototype.push=function(C,J){bC.prototype.push.call(this,C,J)},H}(),jJ=function(){function H(C,J){var K=this;if(!J)J={};bC.call(this,C),this.d=new CJ(J,function(Q,V,X){K.ondata(Q,V,X)}),this.compression=8,this.flag=bH(J.level),this.terminate=this.d.terminate}return H.prototype.process=function(C,J){this.d.push(C,J)},H.prototype.push=function(C,J){bC.prototype.push.call(this,C,J)},H}(),GJ=function(){function H(C){this.ondata=C,this.u=[],this.d=1}return H.prototype.add=function(C){var J=this;if(!this.ondata)B(5);if(this.d&2)this.ondata(B(4+(this.d&1)*8,0,1),null,!1);else{var K=$C(C.filename),Q=K.length,V=C.comment,X=V&&$C(V),Y=Q!=C.filename.length||X&&V.length!=X.length,E=Q+XC(C.extra)+30;if(Q>65535)this.ondata(B(11,0,1),null,!1);var $=new Z(E);MC($,0,C,K,Y,-1);var R=[$],N=function(){for(var F=0,P=R;F<P.length;F++){var U=P[F];J.ondata(null,U,!1)}R=[]},W=this.d;this.d=0;var T=this.u.length,M=yC(C,{f:K,u:Y,o:X,t:function(){if(C.terminate)C.terminate()},r:function(){if(N(),W){var F=J.u[T+1];if(F)F.r();else J.d=1}W=1}}),G=0;C.ondata=function(F,P,U){if(F)J.ondata(F,P,U),J.terminate();else if(G+=P.length,R.push(P),U){var j=new Z(16);if(g(j,0,134695760),g(j,4,C.crc),g(j,8,G),g(j,12,C.size),R.push(j),M.c=G,M.b=E+G+16,M.crc=C.crc,M.size=C.size,W)M.r();W=1}else if(W)N()},this.u.push(M)}},H.prototype.end=function(){var C=this;if(this.d&2){this.ondata(B(4+(this.d&1)*8,0,1),null,!0);return}if(this.d)this.e();else this.u.push({r:function(){if(!(C.d&1))return;C.u.splice(-1,1),C.e()},t:function(){}});this.d=3},H.prototype.e=function(){var C=0,J=0,K=0;for(var Q=0,V=this.u;Q<V.length;Q++){var X=V[Q];K+=46+X.f.length+XC(X.extra)+(X.o?X.o.length:0)}var Y=new Z(K+22);for(var E=0,$=this.u;E<$.length;E++){var X=$[E];MC(Y,C,X,X.f,X.u,-X.c-2,J,X.o),C+=46+X.f.length+XC(X.extra)+(X.o?X.o.length:0),J+=X.b}FH(Y,C,this.u.length,K,J),this.ondata(null,Y,!0),this.d=2},H.prototype.terminate=function(){for(var C=0,J=this.u;C<J.length;C++){var K=J[C];K.t()}this.d=2},H}();XJ=function(){function H(){}return H.prototype.push=function(C,J){this.ondata(null,C,J)},H.compression=0,H}(),IJ=function(){function H(){var C=this;this.i=new a(function(J,K){C.ondata(null,J,K)})}return H.prototype.push=function(C,J){try{this.i.push(C,J)}catch(K){this.ondata(K,null,J)}},H.compression=8,H}(),UJ=function(){function H(C,J){var K=this;if(J<320000)this.i=new a(function(Q,V){K.ondata(null,Q,V)});else this.i=new uH(function(Q,V,X){K.ondata(Q,V,X)}),this.terminate=this.i.terminate}return H.prototype.push=function(C,J){if(this.i.terminate)C=d(C,0);this.i.push(C,J)},H.compression=8,H}(),AJ=function(){function H(C){this.onfile=C,this.k=[],this.o={0:XJ},this.p=KC}return H.prototype.push=function(C,J){var K=this;if(!this.onfile)B(5);if(!this.p)B(4);if(this.c>0){var Q=Math.min(this.c,C.length),V=C.subarray(0,Q);if(this.c-=Q,this.d)this.d.push(V,!this.c);else this.k[0].push(V);if(C=C.subarray(Q),C.length)return this.push(C,J)}else{var X=0,Y=0,E=void 0,$=void 0;if(!this.p.length)$=C;else if(!C.length)$=this.p;else $=new Z(this.p.length+C.length),$.set(this.p),$.set(C,this.p.length);var R=$.length,N=this.c,W=N&&this.d,T=function(){var P=k($,Y);if(P==67324752){X=1,E=Y,M.d=null,M.c=0;var U=b($,Y+6),j=b($,Y+8),O=U&2048,x=U&8,z=b($,Y+26),A=b($,Y+28);if(R>Y+30+z+A){var L=[];M.k.unshift(L),X=2;var q=k($,Y+18),y=k($,Y+22),S=nH($.subarray(Y+30,Y+=30+z),!O),v=aH($,Y,A,2,q,y,0),r=v[0],h=v[1],m=v[3];if(x)r=-1-m;Y+=A,M.c=r;var w,D={name:S,compression:j,start:function(){if(!D.ondata)B(5);if(!r)D.ondata(null,KC,!0);else{var p=K.o[j];if(!p)D.ondata(B(14,"unknown compression type "+j,1),null,!1);w=r<0?new p(S):new p(S,r,h),w.ondata=function(s,o,n){D.ondata(s,o,n)};for(var u=0,VC=L;u<VC.length;u++){var f=VC[u];w.push(f,!1)}if(K.k[0]==L&&K.c)K.d=w;else w.push(KC,!0)}},terminate:function(){if(w&&w.terminate)w.terminate()}};if(r>=0)D.size=r,D.originalSize=h;M.onfile(D)}return"break"}else if(N){if(P==134695760)return E=Y+=12+(N==-2&&8),X=3,M.c=0,"break";else if(P==33639248)return E=Y-=4,X=3,M.c=0,"break"}},M=this;for(;Y<R-4;++Y){var G=T();if(G==="break")break}if(this.p=KC,N<0){var F=X?$.subarray(0,E-12-(N==-2&&8)-(k($,E-16)==134695760&&4)):$.subarray(0,Y);if(W)W.push(F,!!X);else this.k[+(X==2)].push(F)}if(X&2)return this.push($.subarray(Y),J);this.p=$.subarray(Y)}if(J){if(this.c)B(13);this.p=null}},H.prototype.register=function(C){this.o[C.compression]=C},H}(),eC=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(H){H()}});YJ();export{PH as zlibSync,BJ as zlib,ZJ as zipSync,TJ as zip,QH as unzlibSync,VJ as unzlib,SJ as unzipSync,DJ as unzip,$C as strToU8,nH as strFromU8,vC as inflateSync,rH as inflate,LH as gzipSync,EJ as gzip,JH as gunzipSync,KJ as gunzip,cC as deflateSync,HJ as deflate,OJ as decompressSync,qJ as decompress,LH as compressSync,EJ as compress,MH as Zlib,bC as ZipPassThrough,PJ as ZipDeflate,GJ as Zip,KH as Unzlib,XJ as UnzipPassThrough,IJ as UnzipInflate,AJ as Unzip,a as Inflate,OH as Gzip,HH as Gunzip,RJ as FlateErrorCode,MJ as EncodeUTF8,t as Deflate,jH as Decompress,LJ as DecodeUTF8,OH as Compress,WJ as AsyncZlib,jJ as AsyncZipDeflate,QJ as AsyncUnzlib,UJ as AsyncUnzipInflate,uH as AsyncInflate,NJ as AsyncGzip,JJ as AsyncGunzip,CJ as AsyncDeflate,FJ as AsyncDecompress,NJ as AsyncCompress};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{AE as c,BE as d,CE as e,DE as f,EE as g,FE as h,GE as i,HE as j,IE as k,yE as a,zE as b}from"./cli-1.0.9-67c9vgsq.mjs";import"./cli-1.0.9-kw7p06w2.mjs";import"./cli-1.0.9-0f3ex0vg.mjs";import"./cli-1.0.9-jcnmjs31.mjs";import"./cli-1.0.9-4yksn92y.mjs";import"./cli-1.0.9-b78v72rn.mjs";import"./cli-1.0.9-c5n2kbdv.mjs";import"./cli-1.0.9-wny75xk9.mjs";import"./cli-1.0.9-r4ysx5t8.mjs";import"./cli-1.0.9-3n2084tg.mjs";import"./cli-1.0.9-xd6wrh53.mjs";import"./cli-1.0.9-vhcxraj8.mjs";import"./cli-1.0.9-03tgqcyj.mjs";import"./cli-1.0.9-rm8ssvm7.mjs";import"./cli-1.0.9-19gz2k9q.mjs";import"./cli-1.0.9-awxee62m.mjs";import"./cli-1.0.9-v770djrd.mjs";import"./cli-1.0.9-dvbfpdtc.mjs";import"./cli-1.0.9-wcm9r8rn.mjs";import"./cli-1.0.9-13q9fkxq.mjs";import"./cli-1.0.9-5afn268n.mjs";import"./cli-1.0.9-q3fzs7rd.mjs";import"./cli-1.0.9-6q0e7nk4.mjs";import"./cli-1.0.9-tbzbnv01.mjs";import"./cli-1.0.9-vcf21zvy.mjs";import"./cli-1.0.9-7gewnt7b.mjs";import"./cli-1.0.9-rjq71gw8.mjs";import"./cli-1.0.9-1pe38ex2.mjs";import"./cli-1.0.9-nz0skfsg.mjs";import"./cli-1.0.9-6yxsfcyh.mjs";import"./cli-1.0.9-j500vd5e.mjs";import"./cli-1.0.9-49sanx9h.mjs";import"./cli-1.0.9-ymbxfv5d.mjs";import"./cli-1.0.9-e491drav.mjs";import"./cli-1.0.9-ez2pcj03.mjs";import"./cli-1.0.9-xe8dc6qb.mjs";import"./cli-1.0.9-w5dyqxqk.mjs";import"./cli-1.0.9-d8rq80ph.mjs";import"./cli-1.0.9-89yxpmpq.mjs";import"./cli-1.0.9-sjqe138z.mjs";import"./cli-1.0.9-9jyyb7zx.mjs";import"./cli-1.0.9-erz57dtz.mjs";import"./cli-1.0.9-dbs656rx.mjs";import"./cli-1.0.9-vvwt9bfb.mjs";import"./cli-1.0.9-ppa9xdxq.mjs";import"./cli-1.0.9-ej3ahs6j.mjs";import"./cli-1.0.9-x4t4nqd2.mjs";import"./cli-1.0.9-qyfx57wb.mjs";import"./cli-1.0.9-06kd11jd.mjs";import"./cli-1.0.9-rpw6qq2j.mjs";import"./cli-1.0.9-6x8m34y6.mjs";import"./cli-1.0.9-e2mjjvjc.mjs";import"./cli-1.0.9-az9m58wa.mjs";import"./cli-1.0.9-jq2h9s5r.mjs";import"./cli-1.0.9-ympvk0av.mjs";import"./cli-1.0.9-a0zm3d1g.mjs";import"./cli-1.0.9-zrphfr1b.mjs";import"./cli-1.0.9-y7sdjd9n.mjs";import"./cli-1.0.9-3ye1460y.mjs";import"./cli-1.0.9-806xk0g7.mjs";import"./cli-1.0.9-htsk8rvv.mjs";import"./cli-1.0.9-1f0bxa2a.mjs";import"./cli-1.0.9-tzke31bj.mjs";import"./cli-1.0.9-aasy7y47.mjs";import"./cli-1.0.9-j2832pm5.mjs";k();export{d as waitForPolicyLimitsToLoad,j as stopBackgroundPolling,i as startBackgroundPolling,g as refreshPolicyLimits,f as loadPolicyLimits,c as isPolicyLimitsEligible,e as isPolicyAllowed,b as initializePolicyLimitsLoadingPromise,h as clearPolicyLimitsCache,a as _resetPolicyLimitsForTesting};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{uV as a,vV as b,wV as c,xV as d,yV as e}from"./cli-1.0.9-3n2084tg.mjs";import"./cli-1.0.9-j2832pm5.mjs";e();export{c as watch,d as default,a as WatchHelper,b as FSWatcher};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{pi as P$,qi as E7}from"./cli-1.0.9-bd7743tj.mjs";import{o2 as O$,p2 as w7}from"./cli-1.0.9-nz0skfsg.mjs";import{dra as q8,era as x6,fra as gY,gra as R1,hra as uY}from"./cli-1.0.9-tzke31bj.mjs";import"./cli-1.0.9-aasy7y47.mjs";import{Ara as m8,Bra as C,Cra as r0,xra as Z1,zra as _4}from"./cli-1.0.9-j2832pm5.mjs";function Z4($,Y){return function(){return $.apply(Y,arguments)}}var Y1=()=>{};function i0($){return $!==null&&!p0($)&&$.constructor!==null&&!p0($.constructor)&&$0($.constructor.isBuffer)&&$.constructor.isBuffer($)}function q$($){let Y;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)Y=ArrayBuffer.isView($);else Y=$&&$.buffer&&K5($.buffer);return Y}function u$(){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 K4($,Y,{allOwnKeys:Q=!1}={}){if($===null||typeof $>"u")return;let G,X;if(typeof $!=="object")$=[$];if(f0($))for(G=0,X=$.length;G<X;G++)Y.call(null,$[G],G,$);else{if(i0($))return;let W=Q?Object.getOwnPropertyNames($):Object.keys($),Z=W.length,J;for(G=0;G<Z;G++)J=W[G],Y.call(null,$[J],J,$)}}function V5($,Y){if(i0($))return null;Y=Y.toLowerCase();let Q=Object.keys($),G=Q.length,X;while(G-- >0)if(X=Q[G],Y===X.toLowerCase())return X;return null}function Q1(...$){let{caseless:Y,skipUndefined:Q}=z5(this)&&this||{},G={},X=(W,Z)=>{if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return;let J=Y&&typeof Z==="string"&&V5(G,Z)||Z,K=k4(G,J)?G[J]:void 0;if(q4(K)&&q4(W))G[J]=Q1(K,W);else if(q4(W))G[J]=Q1({},W);else if(f0(W))G[J]=W.slice();else if(!Q||!p0(W))G[J]=W};for(let W=0,Z=$.length;W<Z;W++){let J=$[W];if(!J||i0(J))continue;if(K4(J,X),typeof J!=="object"||f0(J))continue;let K=Object.getOwnPropertySymbols(J);for(let M=0;M<K.length;M++){let V=K[M];if(Z8.call(J,V))X(J[V],V)}}return G}function z8($){return!!($&&$0($.append)&&$[N5]==="FormData"&&$[N4])}var E$,d0,N4,N5,k4,J4=($,Y)=>{let Q=$,G=[];while(Q!=null&&Q!==Object.prototype){if(G.indexOf(Q)!==-1)return!1;if(G.push(Q),k4(Q,Y))return!0;Q=d0(Q)}return!1},A$=($,Y)=>$!=null&&J4($,Y)?$[Y]:void 0,G1,z0=($)=>{return $=$.toLowerCase(),(Y)=>G1(Y)===$},j4=($)=>(Y)=>typeof Y===$,f0,p0,K5,k$,$0,M5,n0=($)=>$!==null&&typeof $==="object",j$=($)=>$===!0||$===!1,q4=($)=>{if(!n0($))return!1;let Y=d0($);return(Y===null||Y===Object.prototype||d0(Y)===null)&&!J4($,N5)&&!J4($,N4)},x$=($)=>{if(!n0($)||i0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(Y){return!1}},v$,b$,f$=($)=>{return!!($&&typeof $.uri<"u")},y$=($)=>$&&typeof $.getParts<"u",m$,h$,g$=($)=>n0($)&&$0($.pipe),Z5,J5,c$=($)=>{if(!$)return!1;if(J5&&$ instanceof J5)return!0;let Y=d0($);if(!Y||Y===Object.prototype)return!1;if(!$0($.append))return!1;let Q=G1($);return Q==="formdata"||Q==="object"&&$0($.toString)&&$.toString()==="[object FormData]"},l$,d$,p$,i$,n$,a$=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},b0,z5=($)=>!p0($)&&$!==b0,t$=($,Y,Q,{allOwnKeys:G}={})=>{return K4(Y,(X,W)=>{if(Q&&$0(X))Object.defineProperty($,W,{__proto__:null,value:Z4(X,Q),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,W,{__proto__:null,value:X,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:G}),$},s$=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},o$=($,Y,Q,G)=>{$.prototype=Object.create(Y.prototype,G),Object.defineProperty($.prototype,"constructor",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{__proto__:null,value:Y.prototype}),Q&&Object.assign($.prototype,Q)},r$=($,Y,Q,G)=>{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],(!G||G(Z,$,Y))&&!J[Z])Y[Z]=$[Z],J[Z]=!0;$=Q!==!1&&d0($)}while($&&(!Q||Q($,Y))&&$!==Object.prototype);return Y},e$=($,Y,Q)=>{if($=String($),Q===void 0||Q>$.length)Q=$.length;Q-=Y.length;let G=$.indexOf(Y,Q);return G!==-1&&G===Q},$8=($)=>{if(!$)return null;if(f0($))return $;let Y=$.length;if(!M5(Y))return null;let Q=Array(Y);while(Y-- >0)Q[Y]=$[Y];return Q},Y8,Q8=($,Y)=>{let G=($&&$[N4]).call($),X;while((X=G.next())&&!X.done){let W=X.value;Y.call($,W[0],W[1])}},G8=($,Y)=>{let Q,G=[];while((Q=$.exec(Y))!==null)G.push(Q);return G},X8,W8=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Q,G,X){return G.toUpperCase()+X})},Z8,J8,B5=($,Y)=>{let Q=Object.getOwnPropertyDescriptors($),G={};K4(Q,(X,W)=>{let Z;if((Z=Y(X,W,$))!==!1)G[W]=Z||X}),Object.defineProperties($,G)},N8=($)=>{B5($,(Y,Q)=>{if($0($)&&["arguments","caller","callee"].includes(Q))return!1;let G=$[Q];if(!$0(G))return;if(Y.enumerable=!1,"writable"in Y){Y.writable=!1;return}if(!Y.set)Y.set=()=>{throw Error("Can not rewrite read-only method '"+Q+"'")}})},K8=($,Y)=>{let Q={},G=(X)=>{X.forEach((W)=>{Q[W]=!0})};return f0($)?G($):G(String($).split(Y)),Q},M8=()=>{},V8=($,Y)=>{return $!=null&&Number.isFinite($=+$)?$:Y},B8=($)=>{let Y=new WeakSet,Q=(G)=>{if(n0(G)){if(Y.has(G))return;if(i0(G))return G;if(!("toJSON"in G)){Y.add(G);let X=f0(G)?[]:{};return K4(G,(W,Z)=>{let J=Q(W);!p0(J)&&(X[Z]=J)}),Y.delete(G),X}}return G};return Q($)},U8,L8=($)=>$&&(n0($)||$0($))&&$0($.then)&&$0($.catch),U5,_8,L5=($)=>$!=null&&$0($[N4]),F8=($)=>$!=null&&J4($,N4)&&L5($),N;var b=C(()=>{Y1();({toString:E$}=Object.prototype),{getPrototypeOf:d0}=Object,{iterator:N4,toStringTag:N5}=Symbol,k4=(({hasOwnProperty:$})=>(Y,Q)=>$.call(Y,Q))(Object.prototype),G1=(($)=>(Y)=>{let Q=E$.call(Y);return $[Q]||($[Q]=Q.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:f0}=Array,p0=j4("undefined");K5=z0("ArrayBuffer");k$=j4("string"),$0=j4("function"),M5=j4("number"),v$=z0("Date"),b$=z0("File"),m$=z0("Blob"),h$=z0("FileList");Z5=u$(),J5=typeof Z5.FormData<"u"?Z5.FormData:void 0,l$=z0("URLSearchParams"),[d$,p$,i$,n$]=["ReadableStream","Request","Response","Headers"].map(z0);b0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();Y8=(($)=>{return(Y)=>{return $&&Y instanceof $}})(typeof Uint8Array<"u"&&d0(Uint8Array)),X8=z0("HTMLFormElement"),{propertyIsEnumerable:Z8}=Object.prototype,J8=z0("RegExp");U8=z0("AsyncFunction"),U5=(($,Y)=>{if($)return setImmediate;return Y?((Q,G)=>{return b0.addEventListener("message",({source:X,data:W})=>{if(X===b0&&W===Q)G.length&&G.shift()()},!1),(X)=>{G.push(X),b0.postMessage(Q,"*")}})(`axios@${Math.random()}`,[]):(Q)=>setTimeout(Q)})(typeof setImmediate==="function",$0(b0.postMessage)),_8=typeof queueMicrotask<"u"?queueMicrotask.bind(b0):typeof process<"u"&&process.nextTick||U5,N={isArray:f0,isArrayBuffer:K5,isBuffer:i0,isFormData:c$,isArrayBufferView:q$,isString:k$,isNumber:M5,isBoolean:j$,isObject:n0,isPlainObject:q4,isEmptyObject:x$,isReadableStream:d$,isRequest:p$,isResponse:i$,isHeaders:n$,isUndefined:p0,isDate:v$,isFile:b$,isReactNativeBlob:f$,isReactNative:y$,isBlob:m$,isRegExp:J8,isFunction:$0,isStream:g$,isURLSearchParams:l$,isTypedArray:Y8,isFileList:h$,forEach:K4,merge:Q1,extend:t$,trim:a$,stripBOM:s$,inherits:o$,toFlatObject:r$,kindOf:G1,kindOfTest:z0,endsWith:e$,toArray:$8,forEachEntry:Q8,matchAll:G8,isHTMLForm:X8,hasOwnProperty:k4,hasOwnProp:k4,hasOwnInPrototypeChain:J4,getSafeProp:A$,reduceDescriptors:B5,freezeMethods:N8,toObjectSet:K8,toCamelCase:W8,noop:M8,toFiniteNumber:V8,findKey:V5,global:b0,isContextDefined:z5,isSpecCompliantForm:z8,toJSONObject:B8,isAsyncFn:U8,isThenable:L8,setImmediate:U5,asap:_8,isIterable:L5,isSafeIterable:F8}});var O8,_5=($)=>{let Y={},Q,G,X;return $&&$.split(`
|
|
2
|
+
`).forEach(function(Z){if(X=Z.indexOf(":"),Q=Z.substring(0,X).trim().toLowerCase(),G=Z.substring(X+1).trim(),!Q||Y[Q]&&O8[Q])return;if(Q==="set-cookie")if(Y[Q])Y[Q].push(G);else Y[Q]=[G];else Y[Q]=Y[Q]?Y[Q]+", "+G:G}),Y};var F5=C(()=>{b();O8=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 P8($){let Y=0,Q=$.length;while(Y<Q){let G=$.charCodeAt(Y);if(G!==9&&G!==32)break;Y+=1}while(Q>Y){let G=$.charCodeAt(Q-1);if(G!==9&&G!==32)break;Q-=1}return Y===0&&Q===$.length?$:$.slice(Y,Q)}function X1($,Y){if(N.isArray($))return $.map((Q)=>X1(Q,Y));return P8(String($).replace(Y,""))}function a0($){let Y=Object.create(null);return N.forEach($.toJSON(),(Q,G)=>{Y[G]=C8(Q)}),Y}var H8,T8,O5=($)=>X1($,H8),C8=($)=>X1($,T8);var M4=C(()=>{b();H8=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),T8=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g")});function V4($){return $&&String($).trim().toLowerCase()}function x4($){if($===!1||$==null)return $;return N.isArray($)?$.map(x4):O5(String($))}function I8($){let Y=Object.create(null),Q=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,G;while(G=Q.exec($))Y[G[1]]=G[2];return Y}function W1($,Y,Q,G,X){if(N.isFunction(G))return G.call(this,Y,Q);if(X)Y=Q;if(!N.isString(Y))return;if(N.isString(G))return Y.indexOf(G)!==-1;if(N.isRegExp(G))return G.test(Y)}function D8($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Y,Q,G)=>{return Q.toUpperCase()+G})}function S8($,Y){let Q=N.toCamelCase(" "+Y);["get","set","has"].forEach((G)=>{Object.defineProperty($,G+Q,{__proto__:null,value:function(X,W,Z){return this[G].call(this,Y,X,W,Z)},configurable:!0})})}var P5,R8=($)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim()),z4,f;var B0=C(()=>{b();F5();M4();P5=Symbol("internals");z4=class z4{constructor($){$&&this.set($)}set($,Y,Q){let G=this;function X(Z,J,K){let M=V4(J);if(!M)return;let V=N.findKey(G,M);if(!V||G[V]===void 0||K===!0||K===void 0&&G[V]!==!1)G[V||J]=x4(Z)}let W=(Z,J)=>N.forEach(Z,(K,M)=>X(K,M,J));if(N.isPlainObject($)||$ instanceof this.constructor)W($,Y);else if(N.isString($)&&($=$.trim())&&!R8($))W(_5($),Y);else if(N.isObject($)&&N.isSafeIterable($)){let Z=Object.create(null),J,K;for(let M of $){if(!N.isArray(M))throw TypeError("Object iterator must return a key-value pair");if(K=M[0],N.hasOwnProp(Z,K))J=Z[K],Z[K]=N.isArray(J)?[...J,M[1]]:[J,M[1]];else Z[K]=M[1]}W(Z,Y)}else $!=null&&X(Y,$,Q);return this}get($,Y){if($=V4($),$){let Q=N.findKey(this,$);if(Q){let G=this[Q];if(!Y)return G;if(Y===!0)return I8(G);if(N.isFunction(Y))return Y.call(this,G,Q);if(N.isRegExp(Y))return Y.exec(G);throw TypeError("parser must be boolean|regexp|function")}}}has($,Y){if($=V4($),$){let Q=N.findKey(this,$);return!!(Q&&this[Q]!==void 0&&(!Y||W1(this,this[Q],Q,Y)))}return!1}delete($,Y){let Q=this,G=!1;function X(W){if(W=V4(W),W){let Z=N.findKey(Q,W);if(Z&&(!Y||W1(Q,Q[Z],Z,Y)))delete Q[Z],G=!0}}if(N.isArray($))$.forEach(X);else X($);return G}clear($){let Y=Object.keys(this),Q=Y.length,G=!1;while(Q--){let X=Y[Q];if(!$||W1(this,this[X],X,$,!0))delete this[X],G=!0}return G}normalize($){let Y=this,Q={};return N.forEach(this,(G,X)=>{let W=N.findKey(Q,X);if(W){Y[W]=x4(G),delete Y[X];return}let Z=$?D8(X):String(X).trim();if(Z!==X)delete Y[X];Y[Z]=x4(G),Q[Z]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){let Y=Object.create(null);return N.forEach(this,(Q,G)=>{Q!=null&&Q!==!1&&(Y[G]=$&&N.isArray(Q)?Q.join(", "):Q)}),Y}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$,Y])=>$+": "+Y).join(`
|
|
3
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($){return $ instanceof this?$:new this($)}static concat($,...Y){let Q=new this($);return Y.forEach((G)=>Q.set(G)),Q}static accessor($){let Q=(this[P5]=this[P5]={accessors:{}}).accessors,G=this.prototype;function X(W){let Z=V4(W);if(!Q[Z])S8(G,W),Q[Z]=!0}return N.isArray($)?$.forEach(X):X($),this}};z4.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors(z4.prototype,({value:$},Y)=>{let Q=Y[0].toUpperCase()+Y.slice(1);return{get:()=>$,set(G){this[Q]=G}}});N.freezeMethods(z4);f=z4});function E8($){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 A8($,Y){let Q=new Set(Y.map((W)=>String(W).toLowerCase())),G=[],X=(W)=>{if(W===null||typeof W!=="object")return W;if(N.isBuffer(W))return W;if(G.indexOf(W)!==-1)return;if(W instanceof f)W=W.toJSON();G.push(W);let Z;if(N.isArray(W))Z=[],W.forEach((J,K)=>{let M=X(J);if(!N.isUndefined(M))Z[K]=M});else{if(!N.isPlainObject(W)&&E8(W))return G.pop(),W;Z=Object.create(null);for(let[J,K]of Object.entries(W)){let M=Q.has(J.toLowerCase())?w8:X(K);if(!N.isUndefined(M))Z[J]=M}}return G.pop(),Z};return X($)}var w8="[REDACTED ****]",n,U;var s=C(()=>{b();B0();n=class n extends Error{static from($,Y,Q,G,X,W){let Z=new n($.message,Y||$.code,Q,G,X);if(Z.cause=$,Z.name=$.name,$.status!=null&&Z.status==null)Z.status=$.status;return W&&Object.assign(Z,W),Z}constructor($,Y,Q,G,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),Q&&(this.config=Q),G&&(this.request=G),X)this.response=X,this.status=X.status}toJSON(){let $=this.config,Y=$&&N.hasOwnProp($,"redact")?$.redact:void 0,Q=N.isArray(Y)&&Y.length>0?A8($,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:Q,code:this.code,status:this.status}}};n.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";n.ERR_BAD_OPTION="ERR_BAD_OPTION";n.ECONNABORTED="ECONNABORTED";n.ETIMEDOUT="ETIMEDOUT";n.ECONNREFUSED="ECONNREFUSED";n.ERR_NETWORK="ERR_NETWORK";n.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";n.ERR_DEPRECATED="ERR_DEPRECATED";n.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";n.ERR_BAD_REQUEST="ERR_BAD_REQUEST";n.ERR_CANCELED="ERR_CANCELED";n.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";n.ERR_INVALID_URL="ERR_INVALID_URL";n.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";U=n});var H5,v4;var J1=C(()=>{H5=Z1(q8(),1),v4=H5.default});function K1($){return N.isPlainObject($)||N.isArray($)}function T5($){return N.endsWith($,"[]")?$.slice(0,-2):$}function N1($,Y,Q){if(!$)return Y;return $.concat(Y).map(function(X,W){return X=T5(X),!Q&&W?"["+X+"]":X}).join(Q?".":"")}function k8($){return N.isArray($)&&!$.some(K1)}function x8($,Y,Q){if(!N.isObject($))throw TypeError("target must be an object");Y=Y||new(v4||FormData),Q=N.toFlatObject(Q,{metaTokens:!0,dots:!1,indexes:!1},!1,function(I,R){return!N.isUndefined(R[I])});let G=Q.metaTokens,X=Q.visitor||H,W=Q.dots,Z=Q.indexes,J=Q.Blob||typeof Blob<"u"&&Blob,K=Q.maxDepth===void 0?M1:Q.maxDepth,M=J&&N.isSpecCompliantForm(Y),V=[];if(!N.isFunction(X))throw TypeError("visitor must be a function");function z(_){if(_===null)return"";if(N.isDate(_))return _.toISOString();if(N.isBoolean(_))return _.toString();if(!M&&N.isBlob(_))throw new U("Blob is not supported. Use a Buffer instead.");if(N.isArrayBuffer(_)||N.isTypedArray(_))return M&&typeof Blob==="function"?new Blob([_]):Buffer.from(_);return _}function B(_){if(_>K)throw new U("Object is too deeply nested ("+_+" levels). Max depth: "+K,U.ERR_FORM_DATA_DEPTH_EXCEEDED)}function L(_,I){if(K===1/0)return JSON.stringify(_);let R=[];return JSON.stringify(_,function(p,y){if(!N.isObject(y))return y;while(R.length&&R[R.length-1]!==this)R.pop();return R.push(y),B(I+R.length-1),y})}function H(_,I,R){let E=_;if(N.isReactNative(Y)&&N.isReactNativeBlob(_))return Y.append(N1(R,I,W),z(_)),!1;if(_&&!R&&typeof _==="object"){if(N.endsWith(I,"{}"))I=G?I:I.slice(0,-2),_=L(_,1);else if(N.isArray(_)&&k8(_)||(N.isFileList(_)||N.endsWith(I,"[]"))&&(E=N.toArray(_)))return I=T5(I),E.forEach(function(y,Y0){!(N.isUndefined(y)||y===null)&&Y.append(Z===!0?N1([I],Y0,W):Z===null?I:I+"[]",z(y))}),!1}if(K1(_))return!0;return Y.append(N1(R,I,W),z(_)),!1}let D=Object.assign(j8,{defaultVisitor:H,convertValue:z,isVisitable:K1});function T(_,I,R=0){if(N.isUndefined(_))return;if(B(R),V.indexOf(_)!==-1)throw Error("Circular reference detected in "+I.join("."));V.push(_),N.forEach(_,function(p,y){if((!(N.isUndefined(p)||p===null)&&X.call(Y,p,N.isString(y)?y.trim():y,I,D))===!0)T(p,I?I.concat(y):[y],R+1)}),V.pop()}if(!N.isObject($))throw TypeError("data must be an object");return T($),Y}var M1=100,j8,E0;var t0=C(()=>{b();s();J1();j8=N.toFlatObject(N,{},null,function(Y){return/^is[A-Z]/.test(Y)});E0=x8});function C5($){let Y={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent($).replace(/[!'()~]|%20/g,function(G){return Y[G]})}function I5($,Y){this._pairs=[],$&&E0($,this,Y)}var R5,D5;var S5=C(()=>{t0();R5=I5.prototype;R5.append=function(Y,Q){this._pairs.push([Y,Q])};R5.toString=function(Y){let Q=Y?function(G){return Y.call(this,G,C5)}:C5;return this._pairs.map(function(X){return Q(X[0])+"="+Q(X[1])},"").join("&")};D5=I5});function v8($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function y0($,Y,Q){if(!Y)return $;let G=N.isFunction(Q)?{serialize:Q}:Q,X=N.getSafeProp(G,"encode")||v8,W=N.getSafeProp(G,"serialize"),Z;if(W)Z=W(Y,G);else Z=N.isURLSearchParams(Y)?Y.toString():new D5(Y,G).toString(X);if(Z){let J=$.indexOf("#");if(J!==-1)$=$.slice(0,J);$+=($.indexOf("?")===-1?"?":"&")+Z}return $}var b4=C(()=>{b();S5()});class w5{constructor(){this.handlers=[]}use($,Y,Q){return this.handlers.push({fulfilled:$,rejected:Y,synchronous:Q?Q.synchronous:!1,runWhen:Q?Q.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){N.forEach(this.handlers,function(Q){if(Q!==null)$(Q)})}}var V1;var E5=C(()=>{b();V1=w5});var A0;var B4=C(()=>{A0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0}});import b8 from"url";var A5;var q5=C(()=>{A5=b8.URLSearchParams});import f8 from"crypto";var z1="abcdefghijklmnopqrstuvwxyz",k5="0123456789",j5,y8=($=16,Y=j5.ALPHA_DIGIT)=>{let Q="",{length:G}=Y,X=new Uint32Array($);f8.randomFillSync(X);for(let W=0;W<$;W++)Q+=Y[X[W]%G];return Q},x5;var v5=C(()=>{q5();J1();j5={DIGIT:k5,ALPHA:z1,ALPHA_DIGIT:z1+z1.toUpperCase()+k5},x5={isNode:!0,classes:{URLSearchParams:A5,FormData:v4,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:j5,generateString:y8,protocols:["http","https","file","data"]}});var L1={};m8(L1,{origin:()=>u8,navigator:()=>B1,hasStandardBrowserWebWorkerEnv:()=>g8,hasStandardBrowserEnv:()=>h8,hasBrowserEnv:()=>U1});var U1,B1,h8,g8,u8;var b5=C(()=>{U1=typeof window<"u"&&typeof document<"u",B1=typeof navigator==="object"&&navigator||void 0,h8=U1&&(!B1||["ReactNative","NativeScript","NS"].indexOf(B1.product)<0),g8=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),u8=U1&&window.location.href||"http://localhost"});var j;var U0=C(()=>{v5();b5();j={...L1,...x5}});function _1($,Y){return E0($,new j.classes.URLSearchParams,{visitor:function(Q,G,X,W){if(j.isNode&&N.isBuffer(Q))return this.append(G,Q.toString("base64")),!1;return W.defaultVisitor.apply(this,arguments)},...Y})}var f5=C(()=>{b();t0();U0()});function m5($){if($>y5)throw new U("FormData field is too deeply nested ("+$+" levels). Max depth: "+y5,U.ERR_FORM_DATA_DEPTH_EXCEEDED)}function c8($){let Y=[],Q=/\w+|\[(\w*)]/g,G;while((G=Q.exec($))!==null)m5(Y.length),Y.push(G[0]==="[]"?"":G[1]||G[0]);return Y}function l8($){let Y={},Q=Object.keys($),G,X=Q.length,W;for(G=0;G<X;G++)W=Q[G],Y[W]=$[W];return Y}function d8($){function Y(Q,G,X,W){m5(W);let Z=Q[W++];if(Z==="__proto__")return!0;let J=Number.isFinite(+Z),K=W>=Q.length;if(Z=!Z&&N.isArray(X)?X.length:Z,K){if(N.hasOwnProp(X,Z))X[Z]=N.isArray(X[Z])?X[Z].concat(G):[X[Z],G];else X[Z]=G;return!J}if(!N.hasOwnProp(X,Z)||!N.isObject(X[Z]))X[Z]=[];if(Y(Q,G,X[Z],W)&&N.isArray(X[Z]))X[Z]=l8(X[Z]);return!J}if(N.isFormData($)&&N.isFunction($.entries)){let Q={};return N.forEachEntry($,(G,X)=>{Y(c8(G),X,Q,0)}),Q}return null}var y5,f4;var F1=C(()=>{b();s();t0();y5=M1;f4=d8});function p8($,Y,Q){if(N.isString($))try{return(Y||JSON.parse)($),N.trim($)}catch(G){if(G.name!=="SyntaxError")throw G}return(Q||JSON.stringify)($)}var s0=($,Y)=>$!=null&&N.hasOwnProp($,Y)?$[Y]:void 0,O1,o0;var y4=C(()=>{b();s();B4();t0();f5();U0();F1();O1={transitional:A0,adapter:["xhr","http","fetch"],transformRequest:[function(Y,Q){let G=Q.getContentType()||"",X=G.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(f4(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 Q.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Y.toString();let J;if(W){let K=s0(this,"formSerializer");if(G.indexOf("application/x-www-form-urlencoded")>-1)return _1(Y,K).toString();if((J=N.isFileList(Y))||G.indexOf("multipart/form-data")>-1){let M=s0(this,"env"),V=M&&M.FormData;return E0(J?{"files[]":Y}:Y,V&&new V,K)}}if(W||X)return Q.setContentType("application/json",!1),p8(Y);return Y}],transformResponse:[function(Y){let Q=s0(this,"transitional")||O1.transitional,G=Q&&Q.forcedJSONParsing,X=s0(this,"responseType"),W=X==="json";if(N.isResponse(Y)||N.isReadableStream(Y))return Y;if(Y&&N.isString(Y)&&(G&&!X||W)){let J=!(Q&&Q.silentJSONParsing)&&W;try{return JSON.parse(Y,s0(this,"parseReviver"))}catch(K){if(J){if(K.name==="SyntaxError")throw U.from(K,U.ERR_BAD_RESPONSE,this,null,s0(this,"response"));throw K}}}return Y}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:j.classes.FormData,Blob:j.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"],($)=>{O1.headers[$]={}});o0=O1});function U4($,Y){let Q=this||o0,G=Y||Q,X=f.from(G.headers),W=G.data;return N.forEach($,function(J){W=J.call(Q,W,X.normalize(),Y?Y.status:void 0)}),X.normalize(),W}var h5=C(()=>{b();y4();B0()});function L4($){return!!($&&$.__CANCEL__)}var P1=()=>{};var g5,X0;var m0=C(()=>{s();g5=class g5 extends U{constructor($,Y,Q){super($==null?"canceled":$,U.ERR_CANCELED,Y,Q);this.name="CanceledError",this.__CANCEL__=!0}};X0=g5});function P0($,Y,Q){let G=Q.config.validateStatus;if(!Q.status||!G||G(Q.status))$(Q);else Y(new U("Request failed with status code "+Q.status,Q.status>=400&&Q.status<500?U.ERR_BAD_REQUEST:U.ERR_BAD_RESPONSE,Q.config,Q.request,Q))}var m4=C(()=>{s()});function H1($){if(typeof $!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}var u5=()=>{};function T1($,Y){return Y?$.replace(/\/?\/$/,"")+"/"+Y.replace(/^\/+/,""):$}var c5=()=>{};function a8($){let Y=0;while(Y<$.length&&$.charCodeAt(Y)<=32)Y++;return $.slice(Y)}function t8($){return a8($).replace(n8,"")}function l5($,Y){if(typeof $==="string"&&i8.test(t8($)))throw new U('Invalid URL: missing "//" after protocol',U.ERR_INVALID_URL,Y)}function h0($,Y,Q,G){l5(Y,G);let X=!H1(Y);if($&&(X||Q===!1))return l5($,G),T1($,Y);return Y}var i8,n8;var h4=C(()=>{s();u5();c5();i8=/^https?:(?!\/\/)/i,n8=/[\t\n\r]/g});var p5=_4((d5)=>{Object.defineProperty(d5,"__esModule",{value:!0});function s8($){return function(Y,Q){return new Promise((G,X)=>{$.call(this,Y,Q,(W,Z)=>{if(W)X(W);else G(Z)})})}}d5.default=s8});var a5=_4((I1,n5)=>{var i5=I1&&I1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},r8=r0("events"),e8=i5(R1()),$Y=i5(p5()),F4=e8.default("agent-base");function YY($){return Boolean($)&&typeof $.addRequest==="function"}function C1(){let{stack:$}=Error();if(typeof $!=="string")return!1;return $.split(`
|
|
4
|
+
`).some((Y)=>Y.indexOf("(https.js:")!==-1||Y.indexOf("node:https:")!==-1)}function g4($,Y){return new g4.Agent($,Y)}(function($){class Y extends r8.EventEmitter{constructor(Q,G){super();let X=G;if(typeof Q==="function")this.callback=Q;else if(Q)X=Q;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 C1()?443:80}set defaultPort(Q){this.explicitDefaultPort=Q}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return C1()?"https:":"http:"}set protocol(Q){this.explicitProtocol=Q}callback(Q,G,X){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(Q,G){let X=Object.assign({},G);if(typeof X.secureEndpoint!=="boolean")X.secureEndpoint=C1();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,Q._last=!0,Q.shouldKeepAlive=!1;let W=!1,Z=null,J=X.timeout||this.timeout,K=(B)=>{if(Q._hadError)return;Q.emit("error",B),Q._hadError=!0},M=()=>{Z=null,W=!0;let B=Error(`A "socket" was not created for HTTP request before ${J}ms`);B.code="ETIMEOUT",K(B)},V=(B)=>{if(W)return;if(Z!==null)clearTimeout(Z),Z=null;K(B)},z=(B)=>{if(W)return;if(Z!=null)clearTimeout(Z),Z=null;if(YY(B)){F4("Callback returned another Agent instance %o",B.constructor.name),B.addRequest(Q,X);return}if(B){B.once("free",()=>{this.freeSocket(B,X)}),Q.onSocket(B);return}let L=Error(`no Duplex stream was returned to agent-base for \`${Q.method} ${Q.path}\``);K(L)};if(typeof this.callback!=="function"){K(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)F4("Converting legacy callback function to promise"),this.promisifiedCallback=$Y.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof J==="number"&&J>0)Z=setTimeout(M,J);if("port"in X&&typeof X.port!=="number")X.port=Number(X.port);try{F4("Resolving socket for %o request: %o",X.protocol,`${Q.method} ${Q.path}`),Promise.resolve(this.promisifiedCallback(Q,X)).then(z,V)}catch(B){Promise.reject(B).catch(V)}}freeSocket(Q,G){F4("Freeing socket %o %o",Q.constructor.name,G),Q.destroy()}destroy(){F4("Destroying agent %o",this.constructor.name)}}$.Agent=Y,$.prototype=$.Agent.prototype})(g4||(g4={}));n5.exports=g4});var t5=_4((P4)=>{var QY=P4&&P4.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(P4,"__esModule",{value:!0});var GY=QY(R1()),O4=GY.default("https-proxy-agent:parse-proxy-response");function XY($){return new Promise((Y,Q)=>{let G=0,X=[];function W(){let z=$.read();if(z)V(z);else $.once("readable",W)}function Z(){$.removeListener("end",K),$.removeListener("error",M),$.removeListener("close",J),$.removeListener("readable",W)}function J(z){O4("onclose had error %o",z)}function K(){O4("onend")}function M(z){Z(),O4("onerror %o",z),Q(z)}function V(z){X.push(z),G+=z.length;let B=Buffer.concat(X,G);if(B.indexOf(`\r
|
|
5
|
+
\r
|
|
6
|
+
`)===-1){O4("have not received end of HTTP headers yet..."),W();return}let H=B.toString("ascii",0,B.indexOf(`\r
|
|
7
|
+
`)),D=+H.split(" ")[1];O4("got proxy server response: %o",H),Y({statusCode:D,buffered:B})}$.on("error",M),$.on("close",J),$.on("end",K),W()})}P4.default=XY});var e5=_4((g0)=>{var WY=g0&&g0.__awaiter||function($,Y,Q,G){function X(W){return W instanceof Q?W:new Q(function(Z){Z(W)})}return new(Q||(Q=Promise))(function(W,Z){function J(V){try{M(G.next(V))}catch(z){Z(z)}}function K(V){try{M(G.throw(V))}catch(z){Z(z)}}function M(V){V.done?W(V.value):X(V.value).then(J,K)}M((G=G.apply($,Y||[])).next())})},e0=g0&&g0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(g0,"__esModule",{value:!0});var s5=e0(r0("net")),o5=e0(r0("tls")),ZY=e0(r0("url")),JY=e0(r0("assert")),NY=e0(R1()),KY=a5(),MY=e0(t5()),H4=NY.default("https-proxy-agent:agent");class r5 extends KY.Agent{constructor($){let Y;if(typeof $==="string")Y=ZY.default.parse($);else Y=$;if(!Y)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");H4("creating new HttpsProxyAgent instance: %o",Y);super(Y);let Q=Object.assign({},Y);if(this.secureProxy=Y.secureProxy||BY(Q.protocol),Q.host=Q.hostname||Q.host,typeof Q.port==="string")Q.port=parseInt(Q.port,10);if(!Q.port&&Q.host)Q.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in Q))Q.ALPNProtocols=["http 1.1"];if(Q.host&&Q.path)delete Q.path,delete Q.pathname;this.proxy=Q}callback($,Y){return WY(this,void 0,void 0,function*(){let{proxy:Q,secureProxy:G}=this,X;if(G)H4("Creating `tls.Socket`: %o",Q),X=o5.default.connect(Q);else H4("Creating `net.Socket`: %o",Q),X=s5.default.connect(Q);let W=Object.assign({},Q.headers),J=`CONNECT ${`${Y.host}:${Y.port}`} HTTP/1.1\r
|
|
8
|
+
`;if(Q.auth)W["Proxy-Authorization"]=`Basic ${Buffer.from(Q.auth).toString("base64")}`;let{host:K,port:M,secureEndpoint:V}=Y;if(!zY(M,V))K+=`:${M}`;W.Host=K,W.Connection="close";for(let D of Object.keys(W))J+=`${D}: ${W[D]}\r
|
|
9
|
+
`;let z=MY.default(X);X.write(`${J}\r
|
|
10
|
+
`);let{statusCode:B,buffered:L}=yield z;if(B===200){if($.once("socket",VY),Y.secureEndpoint){H4("Upgrading socket connection to TLS");let D=Y.servername||Y.host;return o5.default.connect(Object.assign(Object.assign({},UY(Y,"host","hostname","path","port")),{socket:X,servername:D}))}return X}X.destroy();let H=new s5.default.Socket({writable:!1});return H.readable=!0,$.once("socket",(D)=>{H4("replaying proxy buffer for failed request"),JY.default(D.listenerCount("data")>0),D.push(L),D.push(null)}),H})}}g0.default=r5;function VY($){$.resume()}function zY($,Y){return Boolean(!Y&&$===80||Y&&$===443)}function BY($){return typeof $==="string"?/^https:?$/i.test($):!1}function UY($,...Y){let Q={},G;for(G in $)if(!Y.includes(G))Q[G]=$[G];return Q}});var Y6=_4((w1,$6)=>{var LY=w1&&w1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},D1=LY(e5());function S1($){return new D1.default($)}(function($){$.HttpsProxyAgent=D1.default,$.prototype=D1.default.prototype})(S1||(S1={}));$6.exports=S1});var T0="1.18.0";var T4=()=>{};function C4($){let Y=/^([-+\w]{1,25}):(?:\/\/)?/.exec($);return Y&&Y[1]||""}var E1=()=>{};function A1($,Y,Q){let G=Q&&Q.Blob||j.classes.Blob,X=C4($);if(Y===void 0&&G)Y=!0;if(X==="data"){$=X.length?$.slice(X.length+1):$;let W=_Y.exec($);if(!W)throw new U("Invalid URL",U.ERR_INVALID_URL);let Z=W[1],J=W[2],K=W[3]?"base64":"utf8",M=W[4],V;if(Z)V=J?Z+J:Z;else if(J)V="text/plain"+J;let z=Buffer.from(decodeURIComponent(M),K);if(Y){if(!G)throw new U("Blob is not supported",U.ERR_NOT_SUPPORT);return new G([z],{type:V})}return z}throw new U("Unsupported protocol "+X,U.ERR_NOT_SUPPORT)}var _Y;var Q6=C(()=>{s();E1();U0();_Y=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/});import FY from"stream";var q1,G6,k1;var X6=C(()=>{b();q1=Symbol("internals");G6=class G6 extends FY.Transform{constructor($){$=N.toFlatObject($,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(Q,G)=>{return!N.isUndefined(G[Q])});super({readableHighWaterMark:$.chunkSize});let Y=this[q1]={timeWindow:$.timeWindow,chunkSize:$.chunkSize,maxRate:$.maxRate,minChunkSize:$.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(Q)=>{if(Q==="progress"){if(!Y.isCaptured)Y.isCaptured=!0}})}_read($){let Y=this[q1];if(Y.onReadCallback)Y.onReadCallback();return super._read($)}_transform($,Y,Q){let G=this[q1],X=G.maxRate,W=this.readableHighWaterMark,Z=G.timeWindow,J=1000/Z,K=X/J,M=G.minChunkSize!==!1?Math.max(G.minChunkSize,K*0.01):0,V=(B,L)=>{let H=Buffer.byteLength(B);if(G.bytesSeen+=H,G.bytes+=H,G.isCaptured&&this.emit("progress",G.bytesSeen),this.push(B))process.nextTick(L);else G.onReadCallback=()=>{G.onReadCallback=null,process.nextTick(L)}},z=(B,L)=>{let H=Buffer.byteLength(B),D=null,T=W,_,I=0;if(X){let R=Date.now();if(!G.ts||(I=R-G.ts)>=Z)G.ts=R,_=K-G.bytes,G.bytes=_<0?-_:0,I=0;_=K-G.bytes}if(X){if(_<=0)return setTimeout(()=>{L(null,B)},Z-I);if(_<T)T=_}if(T&&H>T&&H-T>M)D=B.subarray(T),B=B.subarray(0,T);V(B,D?()=>{process.nextTick(L,null,D)}:L)};z($,function B(L,H){if(L)return Q(L);if(H)z(H,B);else Q(null)})}};k1=G6});var W6,OY=async function*($){if($.stream)yield*$.stream();else if($.arrayBuffer)yield await $.arrayBuffer();else if($[W6])yield*$[W6]();else yield $},u4;var j1=C(()=>{({asyncIterator:W6}=Symbol),u4=OY});import PY from"util";import{Readable as HY}from"stream";class Z6{constructor($,Y){let{escapeName:Q}=this.constructor,G=N.isString(Y),X=`Content-Disposition: form-data; name="${Q($)}"${!G&&Y.name?`; filename="${Q(Y.name)}"`:""}${u0}`;if(G)Y=I4.encode(String(Y).replace(/\r?\n|\r\n?/g,u0));else{let W=String(Y.type||"application/octet-stream").replace(/[\r\n]/g,"");X+=`Content-Type: ${W}${u0}`}this.headers=I4.encode(X+u0),this.contentLength=G?Y.byteLength:Y.size,this.size=this.headers.byteLength+this.contentLength+IY,this.name=$,this.value=Y}async*encode(){yield this.headers;let{value:$}=this;if(N.isTypedArray($))yield $;else yield*u4($);yield CY}static escapeName($){return String($).replace(/[\r\n"]/g,(Y)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[Y])}}var TY,I4,u0=`\r
|
|
11
|
+
`,CY,IY=2,RY=($,Y,Q)=>{let{tag:G="form-data-boundary",size:X=25,boundary:W=G+"-"+j.generateString(X,TY)}=Q||{};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=I4.encode("--"+W+u0),J=I4.encode("--"+W+"--"+u0),K=J.byteLength,M=Array.from($.entries()).map(([z,B])=>{let L=new Z6(z,B);return K+=L.size,L});K+=Z.byteLength*M.length,K=N.toFiniteNumber(K);let V={"Content-Type":`multipart/form-data; boundary=${W}`};if(Number.isFinite(K))V["Content-Length"]=K;return Y&&Y(V),HY.from(async function*(){for(let z of M)yield Z,yield*z.encode();yield J}())},J6;var N6=C(()=>{b();j1();U0();TY=j.ALPHABET.ALPHA_DIGIT+"-_",I4=typeof TextEncoder==="function"?new TextEncoder:new PY.TextEncoder,CY=I4.encode(u0);J6=RY});import DY from"stream";var K6,M6;var V6=C(()=>{K6=class K6 extends DY.Transform{__transform($,Y,Q){this.push($),Q()}_transform($,Y,Q){if($.length!==0){if(this._transform=this.__transform,$[0]!==120){let G=Buffer.alloc(2);G[0]=120,G[1]=156,this.push(G,Y)}}this.__transform($,Y,Q)}};M6=K6});import SY from"http2";import wY from"util";class z6{constructor(){this.sessions=Object.create(null)}getSession($,Y){Y=Object.assign({sessionTimeout:1000},Y);let Q=this.sessions[$];if(Q){let V=Q.length;for(let z=0;z<V;z++){let[B,L]=Q[z];if(!B.destroyed&&!B.closed&&wY.isDeepStrictEqual(L,Y))return B}}let G=SY.connect($,Y),X,W,Z=()=>{if(X)return;if(X=!0,W)clearTimeout(W),W=null;let V=Q,z=V.length,B=z;while(B--)if(V[B][0]===G){if(z===1)delete this.sessions[$];else V.splice(B,1);if(!G.closed)G.close();return}},J=G.request,{sessionTimeout:K}=Y;if(K!=null){let V=0;G.request=function(){let z=J.apply(this,arguments);if(V++,W)clearTimeout(W),W=null;return z.once("close",()=>{if(!--V)W=setTimeout(()=>{W=null,Z()},K)}),z}}G.once("close",Z);let M=[G,Y];return Q?Q.push(M):Q=this.sessions[$]=[M],G}}var B6;var U6=C(()=>{B6=z6});var EY=($,Y)=>{return N.isAsyncFn($)?function(...Q){let G=Q.pop();$.apply(this,Q).then((X)=>{try{Y?G(null,...Y(X)):G(null,X)}catch(W){G(W)}},G)}:$},L6;var _6=C(()=>{b();L6=EY});function v1($){let Y;try{Y=new URL($)}catch(W){return!1}let Q=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!Q)return!1;if(Q==="*")return!0;let G=Number.parseInt(Y.port,10)||jY[Y.protocol.split(":",1)[0]]||0,X=O6(Y.hostname.toLowerCase());return Q.split(/[\s,]+/).some((W)=>{if(!W)return!1;let[Z,J]=xY(W);if(Z=O6(Z),!Z)return!1;if(J&&J!==G)return!1;if(Z.charAt(0)==="*")Z=Z.slice(1);if(Z.charAt(0)===".")return X.endsWith(Z);return X===Z||F6(X)&&F6(Z)})}var AY,P6=($)=>{let Y=$.split(".");if(Y.length!==4)return!1;if(Y[0]!=="127")return!1;return Y.every((Q)=>/^\d+$/.test(Q)&&Number(Q)>=0&&Number(Q)<=255)},x1=($)=>/^0{1,4}$/.test($),qY=($)=>{if($==="::")return!0;let Y=$.indexOf("::");if(Y!==-1){if(Y!==$.lastIndexOf("::"))return!1;let G=$.slice(0,Y),X=$.slice(Y+2),W=G?G.split(":"):[],Z=X?X.split(":"):[];return W.length+Z.length<8&&W.every(x1)&&Z.every(x1)}let Q=$.split(":");return Q.length===8&&Q.every(x1)},kY=($)=>{if($==="::1")return!0;let Y=$.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(Y)return P6(Y[1]);let Q=$.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(Q){let X=parseInt(Q[1],16);return X>=32512&&X<=32767}let G=$.split(":");if(G.length===8){for(let X=0;X<7;X++)if(!/^0+$/.test(G[X]))return!1;return/^0*1$/.test(G[7])}return!1},F6=($)=>{if(!$)return!1;if(AY.has($))return!0;if(P6($))return!0;if(qY($))return!0;return kY($)},jY,xY=($)=>{let Y=$,Q=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)))Q=Number.parseInt(J.slice(1),10);return[Z,Q]}}let G=Y.indexOf(":"),X=Y.lastIndexOf(":");if(G!==-1&&G===X&&/^\d+$/.test(Y.slice(X+1)))Q=Number.parseInt(Y.slice(X+1),10),Y=Y.slice(0,X);return[Y,Q]},vY,bY,fY=($)=>{if(typeof $!=="string"||$.indexOf(":")===-1)return $;let Y=$.match(vY);if(Y)return Y[1];let Q=$.match(bY);if(Q){let G=parseInt(Q[1],16),X=parseInt(Q[2],16);return`${G>>8}.${G&255}.${X>>8}.${X&255}`}return $},O6=($)=>{if(!$)return $;if($.charAt(0)==="["&&$.charAt($.length-1)==="]")$=$.slice(1,-1);return fY($.replace(/\.+$/,""))};var H6=C(()=>{AY=new Set(["localhost","0.0.0.0"]),jY={http:80,https:443,ws:80,wss:443,ftp:21},vY=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,bY=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i});function yY($,Y){$=$||10;let Q=Array($),G=Array($),X=0,W=0,Z;return Y=Y!==void 0?Y:1000,function(K){let M=Date.now(),V=G[W];if(!Z)Z=M;Q[X]=K,G[X]=M;let z=W,B=0;while(z!==X)B+=Q[z++],z=z%$;if(X=(X+1)%$,X===W)W=(W+1)%$;if(M-Z<Y)return;let L=V&&M-V;return L?Math.round(B*1000/L):void 0}}var T6;var C6=C(()=>{T6=yY});function mY($,Y){let Q=0,G=1000/Y,X,W,Z=(M,V=Date.now())=>{if(Q=V,X=null,W)clearTimeout(W),W=null;$(...M)};return[(...M)=>{let V=Date.now(),z=V-Q;if(z>=G)Z(M,V);else if(X=M,!W)W=setTimeout(()=>{W=null,Z(X)},G-z)},()=>X&&Z(X)]}var I6;var R6=C(()=>{I6=mY});var C0=($,Y,Q=3)=>{let G=0,X=T6(50,250);return I6((W)=>{if(!W||typeof W.loaded!=="number")return;let Z=W.loaded,J=W.lengthComputable?W.total:void 0,K=J!=null?Math.min(Z,J):Z,M=Math.max(0,K-G),V=X(M);G=Math.max(G,K);let z={loaded:K,total:J,progress:J?K/J:void 0,bytes:M,rate:V?V:void 0,estimated:V&&J?(J-K)/V:void 0,event:W,lengthComputable:J!=null,[Y?"download":"upload"]:!0};$(z)},Q)},$4=($,Y)=>{let Q=$!=null;return[(G)=>Y[0]({lengthComputable:Q,total:$,loaded:G}),Y[1]]},Y4=($)=>(...Y)=>N.asap(()=>$(...Y));var c4=C(()=>{C6();R6();b()});function R4($){if(!$||typeof $!=="string")return 0;if(!$.startsWith("data:"))return 0;let Y=$.indexOf(",");if(Y<0)return 0;let Q=$.slice(5,Y),G=$.slice(Y+1);if(/;base64/i.test(Q)){let{length:Z,length:J}=G;for(let L=0;L<J;L++)if(G.charCodeAt(L)===37&&L+2<J){let H=G.charCodeAt(L+1),D=G.charCodeAt(L+2);if(l4(H)&&l4(D))Z-=2,L+=2}let K=0,M=J-1,V=(L)=>L>=2&&G.charCodeAt(L-2)===37&&G.charCodeAt(L-1)===51&&(G.charCodeAt(L)===68||G.charCodeAt(L)===100);if(M>=0){if(G.charCodeAt(M)===61)K++,M--;else if(V(M))K++,M-=3}if(K===1&&M>=0){if(G.charCodeAt(M)===61)K++;else if(V(M))K++}let B=Math.floor(Z/4)*3-(K||0);return B>0?B:0}let W=0;for(let Z=0,J=G.length;Z<J;Z++){let K=G.charCodeAt(Z);if(K===37&&hY(G,Z,J))W+=1,Z+=2;else if(K<128)W+=1;else if(K<2048)W+=2;else if(K>=55296&&K<=56319&&Z+1<J){let M=G.charCodeAt(Z+1);if(M>=56320&&M<=57343)W+=4,Z++;else W+=3}else W+=3}return W}var l4=($)=>$>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102,hY=($,Y,Q)=>Y+2<Q&&l4($.charCodeAt(Y+1))&&l4($.charCodeAt(Y+2));var b1=()=>{};import cY from"http";import lY from"https";import dY from"http2";import pY from"util";import{resolve as D6}from"path";import M0 from"zlib";import L0 from"stream";import{EventEmitter as iY}from"events";function eY($,Y,Q){if(Q!=="content-only"){$.set(Y);return}Object.entries(Y).forEach(([G,X])=>{if(rY.includes(G.toLowerCase()))$.set(G,X)})}function Y7($,Y){let Q=$.protocol+"//"+$.hostname+":"+($.port||"")+"#"+($.auth||""),G=Y?E6.get(Y)||E6.set(Y,new Map).get(Y):$7,X=G.get(Q);if(X)return X;let W=Y&&Y.options?{...Y.options,...$}:$;if(X=new f1.default(W),Y&&Y.options){let Z={...Y.options},J=X.callback;X.callback=function(M,V){return J.call(this,M,{...Z,...V})}}return X[h6]=!0,G.set(Q,X),X}function G7($,Y,Q){if($.beforeRedirects.proxy)$.beforeRedirects.proxy($);if($.beforeRedirects.auth)$.beforeRedirects.auth($);if($.beforeRedirects.sensitiveHeaders)$.beforeRedirects.sensitiveHeaders($,Q);if($.beforeRedirects.config)$.beforeRedirects.config($,Y,Q)}function X7($,Y){if(!$)return;Object.keys($).forEach((Q)=>{if(Y.has(Q.toLowerCase()))delete $[Q]})}function W7($,Y){if(!Y)return!1;try{return new URL(Y.url).origin===new URL($.href).origin}catch(Q){return!1}}function g6($,Y,Q,G,X){let W=Y;if(!W&&W!==!1){let Z=x6(Q);if(Z){if(!v1(Q))W=new URL(Z)}}if(G&&$.headers){for(let Z of Object.keys($.headers))if(Z.toLowerCase()==="proxy-authorization")delete $.headers[Z]}if(G&&$.agent&&$.agent[h6])$.agent=void 0;if(W){let Z=W instanceof URL,J=(B)=>Z||N.hasOwnProp(W,B)?W[B]:void 0,K=J("username"),M=J("password"),V=N.hasOwnProp(W,"auth")?W.auth:void 0;if(K)V=(K||"")+":"+(M||"");if(V){let B=typeof V==="object",L=B&&N.hasOwnProp(V,"username")?V.username:void 0,H=B&&N.hasOwnProp(V,"password")?V.password:void 0;if(Boolean(L||H))V=(L||"")+":"+(H||"");else if(B)throw new U("Invalid proxy authorization",U.ERR_BAD_OPTION,{proxy:W})}if(m6.test($.protocol)){if(!(X instanceof f1.default)){let B=J("hostname")||J("host"),L=J("port"),H=J("protocol"),D=H?H.includes(":")?H:`${H}:`:"http:",T=B&&B.includes(":")&&!B.startsWith("[")?`[${B}]`:B,_=new URL(`${D}//${T}${L?":"+L:""}`),I={protocol:_.protocol,hostname:_.hostname.replace(/^\[|\]$/g,""),port:_.port,auth:V&&typeof V==="string"?V:void 0};if(_.protocol==="https:")I.ALPNProtocols=["http/1.1"];let R=Y7(I,X);if($.agent=R,$.agents)$.agents.https=R}}else{if(V){let D=Buffer.from(V,"utf8").toString("base64");$.headers["Proxy-Authorization"]="Basic "+D}let B=!1;for(let D of Object.keys($.headers))if(D.toLowerCase()==="host"){B=!0;break}if(!B)$.headers.host=$.hostname+($.port?":"+$.port:"");let L=J("hostname")||J("host");$.hostname=L,$.host=L,$.port=J("port"),$.path=Q;let H=J("protocol");if(H)$.protocol=H.includes(":")?H:`${H}:`}}$.beforeRedirects.proxy=function(J){g6(J,Y,J.href,!0,X)}}var f1,v6,S6,nY,aY,b6,f6,y6,tY,sY,oY,m6,rY,w6,d4,h6,$7,E6,A6,q6=($)=>{if(!N.isString($))return $;try{return decodeURIComponent($)}catch(Y){return $}},k6=($,[Y,Q])=>{return $.on("end",Q).on("error",Q),Y},Q7,Z7,J7=($)=>{return new Promise((Y,Q)=>{let G,X,W=(K,M)=>{if(X)return;X=!0,G&&G(K,M)},Z=(K)=>{W(K),Y(K)},J=(K)=>{W(K,!0),Q(K)};$(Z,J,(K)=>G=K).catch(J)})},N7=({address:$,family:Y})=>{if(!N.isString($))throw TypeError("address must be a string");return{address:$,family:Y||($.indexOf(".")<0?6:4)}},j6=($,Y)=>N7(N.isObject($)?$:{address:$,family:Y}),K7,u6;var c6=C(()=>{b();m4();h4();b4();gY();T4();B4();s();m0();U0();Q6();B0();X6();N6();j1();V6();U6();_6();H6();M4();c4();b1();f1=Z1(Y6(),1),v6=Z1(uY(),1),S6={flush:M0.constants.Z_SYNC_FLUSH,finishFlush:M0.constants.Z_SYNC_FLUSH},nY={flush:M0.constants.BROTLI_OPERATION_FLUSH,finishFlush:M0.constants.BROTLI_OPERATION_FLUSH},aY={flush:M0.constants.ZSTD_e_flush,finishFlush:M0.constants.ZSTD_e_flush},b6=N.isFunction(M0.createBrotliDecompress),f6=N.isFunction(M0.createZstdDecompress),y6="gzip, compress, deflate"+(b6?", br":""),tY=y6+(f6?", zstd":""),{http:sY,https:oY}=v6.default,m6=/https:?/,rY=["content-type","content-length"];w6=Symbol("axios.http.socketListener"),d4=Symbol("axios.http.currentReq"),h6=Symbol("axios.http.installedTunnel"),$7=new Map,E6=new WeakMap;A6=j.protocols.map(($)=>{return $+":"}),Q7=new B6;Z7=typeof process<"u"&&N.kindOf(process)==="process",K7={request($,Y){let Q=$.protocol+"//"+$.hostname+":"+($.port||($.protocol==="https:"?443:80)),{http2Options:G,headers:X}=$,W=Q7.getSession(Q,G),{HTTP2_HEADER_SCHEME:Z,HTTP2_HEADER_METHOD:J,HTTP2_HEADER_PATH:K,HTTP2_HEADER_STATUS:M}=dY.constants,V={[Z]:$.protocol.replace(":",""),[J]:$.method,[K]:$.path};N.forEach(X,(B,L)=>{L.charAt(0)!==":"&&(V[L]=B)});let z=W.request(V);return z.once("response",(B)=>{let L=z;B=Object.assign({},B);let H=B[M];delete B[M],L.headers=B,L.statusCode=+H,Y(L)}),z}},u6=Z7&&function(Y){return J7(async function(G,X,W){let Z=(F)=>N.getSafeProp(Y,F),J=Z("transitional")||A0,K=Z("data"),M=Z("lookup"),V=Z("family"),z=Z("httpVersion");if(z===void 0)z=1;let B=Z("http2Options"),L=Z("responseType"),H=Z("responseEncoding"),D=Z("httpAgent"),T=Z("httpsAgent"),_=Z("method").toUpperCase(),I=Z("maxRedirects"),R=Z("maxBodyLength"),E=Z("maxContentLength"),p=Z("decompress"),y,Y0=!1,x,R0;if(z=+z,Number.isNaN(z))throw TypeError(`Invalid protocol version: '${Y.httpVersion}' is not a number`);if(z!==1&&z!==2)throw TypeError(`Unsupported protocol version '${z}'`);let F0=z===2;if(M){let F=L6(M,(O)=>N.isArray(O)?O:[O]);M=(O,S,v)=>{F(O,S,(q,c,h)=>{if(q)return v(q);let u=N.isArray(c)?c.map((l0)=>j6(l0)):[j6(c,h)];S.all?v(q,u):v(q,u[0].address,u[0].family)})}}let r=new iY;function e(F){try{r.emit("abort",!F||F.type?new X0(null,Y,x):F)}catch(O){}}function q0(){if(R0)clearTimeout(R0),R0=null}function Z0(){let F=Z("timeout"),O=F?"timeout of "+F+"ms exceeded":"timeout exceeded",S=Z("timeoutErrorMessage");if(S)O=S;return new U(O,J.clarifyTimeoutError?U.ETIMEDOUT:U.ECONNABORTED,Y,x)}r.once("abort",X);let D0=()=>{if(q0(),Y.cancelToken)Y.cancelToken.unsubscribe(e);if(Y.signal)Y.signal.removeEventListener("abort",e);r.removeAllListeners()};if(Y.cancelToken||Y.signal){if(Y.cancelToken&&Y.cancelToken.subscribe(e),Y.signal)Y.signal.aborted?e():Y.signal.addEventListener("abort",e)}W((F,O)=>{if(y=!0,q0(),O){Y0=!0,D0();return}let{data:S}=F;if(S instanceof L0.Readable||S instanceof L0.Duplex){let v=L0.finished(S,()=>{v(),D0()})}else D0()});let S0=h0(Z("baseURL"),Z("url"),Z("allowAbsoluteUrls"),Y),d=new URL(S0,j.hasBrowserEnv?j.origin:void 0),k0=d.protocol||A6[0];if(k0==="data:"){if(E>-1){let O=String(Z("url")||S0||"");if(R4(O)>E)return X(new U("maxContentLength size of "+E+" exceeded",U.ERR_BAD_RESPONSE,Y))}let F;if(_!=="GET")return P0(G,X,{status:405,statusText:"method not allowed",headers:{},config:Y});try{F=A1(Z("url"),L==="blob",{Blob:Y.env&&Y.env.Blob})}catch(O){throw U.from(O,U.ERR_BAD_REQUEST,Y)}if(L==="text"){if(F=F.toString(H),!H||H==="utf8")F=N.stripBOM(F)}else if(L==="stream")F=L0.Readable.from(F);return P0(G,X,{data:F,status:200,statusText:"OK",headers:new f,config:Y})}if(A6.indexOf(k0)===-1)return X(new U("Unsupported protocol "+k0,U.ERR_BAD_REQUEST,Y));let a=f.from(Y.headers).normalize();a.set("User-Agent","axios/"+T0,!1);let{onUploadProgress:J0,onDownloadProgress:g}=Y,N0=Y.maxRate,V0=void 0,O0=void 0;if(N.isSpecCompliantForm(K)){let F=a.getContentType(/boundary=([-_\w\d]{10,70})/i);K=J6(K,(O)=>{a.set(O)},{tag:`axios-${T0}-boundary`,boundary:F&&F[1]||void 0})}else if(N.isFormData(K)&&N.isFunction(K.getHeaders)&&K.getHeaders!==Object.prototype.getHeaders){if(eY(a,K.getHeaders(),Z("formDataHeaderPolicy")),!a.hasContentLength())try{let F=await pY.promisify(K.getLength).call(K);Number.isFinite(F)&&F>=0&&a.setContentLength(F)}catch(F){}}else if(N.isBlob(K)||N.isFile(K))K.size&&a.setContentType(K.type||"application/octet-stream"),a.setContentLength(K.size||0),K=L0.Readable.from(u4(K));else if(K&&!N.isStream(K)){if(Buffer.isBuffer(K));else if(N.isArrayBuffer(K))K=Buffer.from(new Uint8Array(K));else if(N.isString(K))K=Buffer.from(K,"utf-8");else return X(new U("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",U.ERR_BAD_REQUEST,Y));if(a.setContentLength(K.length,!1),R>-1&&K.length>R)return X(new U("Request body larger than maxBodyLength limit",U.ERR_BAD_REQUEST,Y))}let A4=N.toFiniteNumber(a.getContentLength());if(N.isArray(N0))V0=N0[0],O0=N0[1];else V0=O0=N0;if(K&&(J0||V0)){if(!N.isStream(K))K=L0.Readable.from(K,{objectMode:!1});K=L0.pipeline([K,new k1({maxRate:N.toFiniteNumber(V0)})],N.noop),J0&&K.on("progress",k6(K,$4(A4,C0(Y4(J0),!1,3))))}let k=void 0,Q0=Z("auth");if(Q0){let F=N.getSafeProp(Q0,"username")||"",O=N.getSafeProp(Q0,"password")||"";k=F+":"+O}if(!k&&(d.username||d.password)){let F=q6(d.username),O=q6(d.password);k=F+":"+O}k&&a.delete("authorization");let j0;try{j0=y0(d.pathname+d.search,Z("params"),Z("paramsSerializer")).replace(/^\?/,"")}catch(F){let O=Error(F.message);return O.config=Y,O.url=Z("url"),O.exists=!0,X(O)}a.set("Accept-Encoding",N.hasOwnProp(J,"advertiseZstdAcceptEncoding")&&J.advertiseZstdAcceptEncoding===!0?tY:y6,!1);let m=Object.assign(Object.create(null),{path:j0,method:_,headers:a0(a),agents:{http:D,https:T},auth:k,protocol:k0,family:V,beforeRedirect:G7,beforeRedirects:Object.create(null),http2Options:B});!N.isUndefined(M)&&(m.lookup=M);let x0=Z("socketPath");if(x0){if(typeof x0!=="string")return X(new U("socketPath must be a string",U.ERR_BAD_OPTION_VALUE,Y));let F=Z("allowedSocketPaths");if(F!=null){let O=Array.isArray(F)?F:[F],S=D6(x0);if(!O.some((q)=>typeof q==="string"&&D6(q)===S))return X(new U(`socketPath "${x0}" is not permitted by allowedSocketPaths`,U.ERR_BAD_OPTION_VALUE,Y))}m.socketPath=x0}else m.hostname=d.hostname.startsWith("[")?d.hostname.slice(1,-1):d.hostname,m.port=d.port,g6(m,Z("proxy"),k0+"//"+d.hostname+(d.port?":"+d.port:"")+m.path,!1,T);let w0,K0=!1,X4=!1,v0=m6.test(m.protocol);if(m.agent==null)m.agent=v0?T:D;if(F0)w0=K7;else{let F=Z("transport");if(F)w0=F;else if(I===0)w0=v0?lY:cY,K0=!0;else{if(X4=!0,m.sensitiveHeaders=[],I)m.maxRedirects=I;let O=Z("beforeRedirect");if(O)m.beforeRedirects.config=O;if(k){let v=d.origin,q=k;m.beforeRedirects.auth=function(h){try{if(new URL(h.href).origin===v)h.auth=q}catch(u){}}}let S=Z("sensitiveHeaders");if(S!=null){if(!N.isArray(S))return X(new U("sensitiveHeaders must be an array of strings",U.ERR_BAD_OPTION_VALUE,Y));let v=new Set;for(let q of S){if(!N.isString(q))return X(new U("sensitiveHeaders must be an array of strings",U.ERR_BAD_OPTION_VALUE,Y));v.add(q.toLowerCase())}if(v.size)m.sensitiveHeaders=Array.from(v),m.beforeRedirects.sensitiveHeaders=function(c,h){if(!W7(c,h))X7(c.headers,v)}}w0=v0?oY:sY}}if(R>-1)m.maxBodyLength=R;else m.maxBodyLength=1/0;m.insecureHTTPParser=Boolean(Z("insecureHTTPParser")),x=w0.request(m,function(O){if(q0(),x.destroyed)return;let S=[O],v=N.toFiniteNumber(O.headers["content-length"]);if(g||O0){let u=new k1({maxRate:N.toFiniteNumber(O0)});g&&u.on("progress",k6(u,$4(v,C0(Y4(g),!0,3)))),S.push(u)}let q=O,c=O.req||x;if(p!==!1&&O.headers["content-encoding"]){if(_==="HEAD"||O.statusCode===204)delete O.headers["content-encoding"];switch((O.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":S.push(M0.createUnzip(S6)),delete O.headers["content-encoding"];break;case"deflate":S.push(new M6),S.push(M0.createUnzip(S6)),delete O.headers["content-encoding"];break;case"br":if(b6)S.push(M0.createBrotliDecompress(nY)),delete O.headers["content-encoding"];break;case"zstd":if(f6)S.push(M0.createZstdDecompress(aY)),delete O.headers["content-encoding"];break}}q=S.length>1?L0.pipeline(S,N.noop):S[0];let h={status:O.statusCode,statusText:O.statusMessage,headers:new f(O.headers),config:Y,request:c};if(L==="stream"){if(E>-1){let u=E,l0=q;async function*W4(){let i=0;for await(let W5 of l0){if(i+=W5.length,i>u)throw new U("maxContentLength size of "+u+" exceeded",U.ERR_BAD_RESPONSE,Y,c);yield W5}}q=L0.Readable.from(W4(),{objectMode:!1})}h.data=q,P0(G,X,h)}else{let u=[],l0=0;q.on("data",function(i){if(u.push(i),l0+=i.length,E>-1&&l0>E)Y0=!0,q.destroy(),e(new U("maxContentLength size of "+E+" exceeded",U.ERR_BAD_RESPONSE,Y,c))}),q.on("aborted",function(){if(Y0)return;let i=new U("stream has been aborted",U.ERR_BAD_RESPONSE,Y,c,h);q.destroy(i),X(i)}),q.on("error",function(i){if(Y0)return;X(U.from(i,null,Y,c,h))}),q.on("end",function(){try{let i=u.length===1?u[0]:Buffer.concat(u);if(L!=="arraybuffer"){if(i=i.toString(H),!H||H==="utf8")i=N.stripBOM(i)}h.data=i}catch(i){return X(U.from(i,null,Y,h.request,h))}P0(G,X,h)})}r.once("abort",(u)=>{if(!q.destroyed)q.emit("error",u),q.destroy()})}),r.once("abort",(F)=>{if(x.close)x.close();else x.destroy(F)}),x.on("error",function(O){X(U.from(O,null,Y,x))});let G0=new Set;if(x.on("socket",function(O){if(O.setKeepAlive(!0,60000),!O[w6])O.on("error",function(v){let q=O[d4];if(q&&!q.destroyed)q.destroy(v)}),O[w6]=!0;O[d4]=x,G0.add(O)}),x.once("close",function(){q0();for(let O of G0)if(O[d4]===x)O[d4]=null;G0.clear()}),Z("timeout")){let F=parseInt(Z("timeout"),10);if(Number.isNaN(F)){e(new U("error trying to parse `config.timeout` to int",U.ERR_BAD_OPTION_VALUE,Y,x));return}let O=function(){if(y)return;e(Z0())};if(K0&&F>0)R0=setTimeout(O,F);x.setTimeout(F,O)}else x.setTimeout(0);if(N.isStream(K)){let F=!1,O=!1;K.on("end",()=>{F=!0}),K.once("error",(v)=>{O=!0,x.destroy(v)}),K.on("close",()=>{if(!F&&!O)e(new X0("Request stream has been aborted",Y,x))});let S=K;if(R>-1&&!X4){let v=R,q=0;S=L0.pipeline([K,new L0.Transform({transform(c,h,u){if(q+=c.length,q>v)return u(new U("Request body larger than maxBodyLength limit",U.ERR_BAD_REQUEST,Y,x));u(null,c)}})],N.noop),S.on("error",(c)=>{if(!x.destroyed)x.destroy(c)})}S.pipe(x)}else K&&x.write(K),x.end()})}});var l6;var d6=C(()=>{U0();l6=j.hasStandardBrowserEnv?(($,Y)=>(Q)=>{return Q=new URL(Q,j.origin),$.protocol===Q.protocol&&$.host===Q.host&&(Y||$.port===Q.port)})(new URL(j.origin),j.navigator&&/(msie|trident)/i.test(j.navigator.userAgent)):()=>!0});var p6;var i6=C(()=>{b();U0();p6=j.hasStandardBrowserEnv?{write($,Y,Q,G,X,W,Z){if(typeof document>"u")return;let J=[`${$}=${encodeURIComponent(Y)}`];if(N.isNumber(Q))J.push(`expires=${new Date(Q).toUTCString()}`);if(N.isString(G))J.push(`path=${G}`);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 Q=0;Q<Y.length;Q++){let G=Y[Q].replace(/^\s+/,""),X=G.indexOf("=");if(X!==-1&&G.slice(0,X)===$)return decodeURIComponent(G.slice(X+1))}return null},remove($){this.write($,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}}});function _0($,Y){Y=Y||{};let Q=Object.create(null);Object.defineProperty(Q,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function G(V,z,B,L){if(N.isPlainObject(V)&&N.isPlainObject(z))return N.merge.call({caseless:L},V,z);else if(N.isPlainObject(z))return N.merge({},z);else if(N.isArray(z))return z.slice();return z}function X(V,z,B,L){if(!N.isUndefined(z))return G(V,z,B,L);else if(!N.isUndefined(V))return G(void 0,V,B,L)}function W(V,z){if(!N.isUndefined(z))return G(void 0,z)}function Z(V,z){if(!N.isUndefined(z))return G(void 0,z);else if(!N.isUndefined(V))return G(void 0,V)}function J(V){let z=N.hasOwnProp(Y,"transitional")?Y.transitional:void 0;if(!N.isUndefined(z))if(N.isPlainObject(z)){if(N.hasOwnProp(z,V))return z[V]}else return;let B=N.hasOwnProp($,"transitional")?$.transitional:void 0;if(N.isPlainObject(B)&&N.hasOwnProp(B,V))return B[V];return}function K(V,z,B){if(N.hasOwnProp(Y,B))return G(V,z);else if(N.hasOwnProp($,B))return G(void 0,V)}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:K,headers:(V,z,B)=>X(n6(V),n6(z),B,!0)};if(N.forEach(Object.keys({...$,...Y}),function(z){if(z==="__proto__"||z==="constructor"||z==="prototype")return;let B=N.hasOwnProp(M,z)?M[z]:X,L=N.hasOwnProp($,z)?$[z]:void 0,H=N.hasOwnProp(Y,z)?Y[z]:void 0,D=B(L,H,z);N.isUndefined(D)&&B!==K||(Q[z]=D)}),N.hasOwnProp(Y,"validateStatus")&&N.isUndefined(Y.validateStatus)&&J("validateStatusUndefinedResolves")===!1)if(N.hasOwnProp($,"validateStatus"))Q.validateStatus=G(void 0,$.validateStatus);else delete Q.validateStatus;return Q}var n6=($)=>$ instanceof f?{...$}:$;var p4=C(()=>{b();B0()});function V7($,Y,Q){if(Q!=="content-only"){$.set(Y);return}Object.entries(Y).forEach(([G,X])=>{if(M7.includes(G.toLowerCase()))$.set(G,X)})}function B7($){let Y=_0({},$),Q=(B)=>N.hasOwnProp(Y,B)?Y[B]:void 0,G=Q("data"),X=Q("withXSRFToken"),W=Q("xsrfHeaderName"),Z=Q("xsrfCookieName"),J=Q("headers"),K=Q("auth"),M=Q("baseURL"),V=Q("allowAbsoluteUrls"),z=Q("url");if(Y.headers=J=f.from(J),Y.url=y0(h0(M,z,V,Y),Q("params"),Q("paramsSerializer")),K){let B=N.getSafeProp(K,"username")||"",L=N.getSafeProp(K,"password")||"";J.set("Authorization","Basic "+btoa(B+":"+(L?z7(L):"")))}if(N.isFormData(G)){if(j.hasStandardBrowserEnv||j.hasStandardBrowserWebWorkerEnv||N.isReactNative(G))J.setContentType(void 0);else if(N.isFunction(G.getHeaders))V7(J,G.getHeaders(),Q("formDataHeaderPolicy"))}if(j.hasStandardBrowserEnv){if(N.isFunction(X))X=X(Y);if(X===!0||X==null&&l6(Y.url)){let L=W&&Z&&p6.read(Z);if(L)J.set(W,L)}}return Y}var M7,z7=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Y,Q)=>String.fromCharCode(parseInt(Q,16))),i4;var y1=C(()=>{U0();b();d6();i6();h4();p4();B0();b4();M7=["content-type","content-length"];i4=B7});var U7,a6;var t6=C(()=>{b();m4();B4();s();m0();E1();U0();B0();c4();y1();M4();U7=typeof XMLHttpRequest<"u",a6=U7&&function($){return new Promise(function(Q,G){let X=i4($),W=X.data,Z=f.from(X.headers).normalize(),{responseType:J,onUploadProgress:K,onDownloadProgress:M}=X,V,z,B,L,H;function D(){L&&L(),H&&H(),X.cancelToken&&X.cancelToken.unsubscribe(V),X.signal&&X.signal.removeEventListener("abort",V)}let T=new XMLHttpRequest;T.open(X.method.toUpperCase(),X.url,!0),T.timeout=X.timeout;function _(){if(!T)return;let R=f.from("getAllResponseHeaders"in T&&T.getAllResponseHeaders()),p={data:!J||J==="text"||J==="json"?T.responseText:T.response,status:T.status,statusText:T.statusText,headers:R,config:$,request:T};P0(function(Y0){Q(Y0),D()},function(Y0){G(Y0),D()},p),T=null}if("onloadend"in T)T.onloadend=_;else T.onreadystatechange=function(){if(!T||T.readyState!==4)return;if(T.status===0&&!(T.responseURL&&T.responseURL.startsWith("file:")))return;setTimeout(_)};if(T.onabort=function(){if(!T)return;G(new U("Request aborted",U.ECONNABORTED,$,T)),D(),T=null},T.onerror=function(E){let p=E&&E.message?E.message:"Network Error",y=new U(p,U.ERR_NETWORK,$,T);y.event=E||null,G(y),D(),T=null},T.ontimeout=function(){let E=X.timeout?"timeout of "+X.timeout+"ms exceeded":"timeout exceeded",p=X.transitional||A0;if(X.timeoutErrorMessage)E=X.timeoutErrorMessage;G(new U(E,p.clarifyTimeoutError?U.ETIMEDOUT:U.ECONNABORTED,$,T)),D(),T=null},W===void 0&&Z.setContentType(null),"setRequestHeader"in T)N.forEach(a0(Z),function(E,p){T.setRequestHeader(p,E)});if(!N.isUndefined(X.withCredentials))T.withCredentials=!!X.withCredentials;if(J&&J!=="json")T.responseType=X.responseType;if(M)[B,H]=C0(M,!0),T.addEventListener("progress",B);if(K&&T.upload)[z,L]=C0(K),T.upload.addEventListener("progress",z),T.upload.addEventListener("loadend",L);if(X.cancelToken||X.signal){if(V=(R)=>{if(!T)return;G(!R||R.type?new X0(null,$,T):R),T.abort(),D(),T=null},X.cancelToken&&X.cancelToken.subscribe(V),X.signal)X.signal.aborted?V():X.signal.addEventListener("abort",V)}let I=C4(X.url);if(I&&!j.protocols.includes(I)){G(new U("Unsupported protocol "+I+":",U.ERR_BAD_REQUEST,$));return}T.send(W||null)})}});var L7=($,Y)=>{if($=$?$.filter(Boolean):[],!Y&&!$.length)return;let Q=new AbortController,G=!1,X=function(K){if(!G){G=!0,Z();let M=K instanceof Error?K:this.reason;Q.abort(M instanceof U?M:new X0(M instanceof Error?M.message:M))}},W=Y&&setTimeout(()=>{W=null,X(new U(`timeout of ${Y}ms exceeded`,U.ETIMEDOUT))},Y),Z=()=>{if(!$)return;W&&clearTimeout(W),W=null,$.forEach((K)=>{K.unsubscribe?K.unsubscribe(X):K.removeEventListener("abort",X)}),$=null};$.forEach((K)=>K.addEventListener("abort",X));let{signal:J}=Q;return J.unsubscribe=()=>N.asap(Z),J},s6;var o6=C(()=>{m0();s();b();s6=L7});var _7=function*($,Y){let Q=$.byteLength;if(!Y||Q<Y){yield $;return}let G=0,X;while(G<Q)X=G+Y,yield $.slice(G,X),G=X},F7=async function*($,Y){for await(let Q of O7($))yield*_7(Q,Y)},O7=async function*($){if($[Symbol.asyncIterator]){yield*$;return}let Y=$.getReader();try{for(;;){let{done:Q,value:G}=await Y.read();if(Q)break;yield G}}finally{await Y.cancel()}},m1=($,Y,Q,G)=>{let X=F7($,Y),W=0,Z,J=(K)=>{if(!Z)Z=!0,G&&G(K)};return new ReadableStream({async pull(K){try{let{done:M,value:V}=await X.next();if(M){J(),K.close();return}let z=V.byteLength;if(Q){let B=W+=z;Q(B)}K.enqueue(new Uint8Array(V))}catch(M){throw J(M),M}},cancel(K){return J(K),X.return()}},{highWaterMark:2})};var r6=()=>{};var e6=65536,n4,P7=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Y,Q)=>String.fromCharCode(parseInt(Q,16))),$$=($)=>{if(!N.isString($))return $;try{return decodeURIComponent($)}catch(Y){return $}},Y$=($,...Y)=>{try{return!!$(...Y)}catch(Q){return!1}},H7=($)=>{let Y=$.indexOf("://"),Q=$;if(Y!==-1)Q=Q.slice(Y+3);return Q.includes("@")||Q.includes(":")},T7=($)=>{let Y=N.global!==void 0&&N.global!==null?N.global:globalThis,{ReadableStream:Q,TextEncoder:G}=Y;$=N.merge.call({skipUndefined:!0},{Request:Y.Request,Response:Y.Response},$);let{fetch:X,Request:W,Response:Z}=$,J=X?n4(X):typeof fetch==="function",K=n4(W),M=n4(Z);if(!J)return!1;let V=J&&n4(Q),z=J&&(typeof G==="function"?((_)=>(I)=>_.encode(I))(new G):async(_)=>new Uint8Array(await new W(_).arrayBuffer())),B=K&&V&&Y$(()=>{let _=!1,I=new W(j.origin,{body:new Q,method:"POST",get duplex(){return _=!0,"half"}}),R=I.headers.has("Content-Type");if(I.body!=null)I.body.cancel();return _&&!R}),L=M&&V&&Y$(()=>N.isReadableStream(new Z("").body)),H={stream:L&&((_)=>_.body)};J&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((_)=>{!H[_]&&(H[_]=(I,R)=>{let E=I&&I[_];if(E)return E.call(I);throw new U(`Response type '${_}' is not supported`,U.ERR_NOT_SUPPORT,R)})})})();let D=async(_)=>{if(_==null)return 0;if(N.isBlob(_))return _.size;if(N.isSpecCompliantForm(_))return(await new W(j.origin,{method:"POST",body:_}).arrayBuffer()).byteLength;if(N.isArrayBufferView(_)||N.isArrayBuffer(_))return _.byteLength;if(N.isURLSearchParams(_))_=_+"";if(N.isString(_))return(await z(_)).byteLength},T=async(_,I)=>{let R=N.toFiniteNumber(_.getContentLength());return R==null?D(I):R};return async(_)=>{let{url:I,method:R,data:E,signal:p,cancelToken:y,timeout:Y0,onDownloadProgress:x,onUploadProgress:R0,responseType:F0,headers:r,withCredentials:e="same-origin",fetchOptions:q0,maxContentLength:Z0,maxBodyLength:D0}=i4(_),S0=N.isNumber(Z0)&&Z0>-1,d=N.isNumber(D0)&&D0>-1,k0=(k)=>N.hasOwnProp(_,k)?_[k]:void 0,a=X||fetch;F0=F0?(F0+"").toLowerCase():"text";let J0=s6([p,y&&y.toAbortSignal()],Y0),g=null,N0=J0&&J0.unsubscribe&&(()=>{J0.unsubscribe()}),V0,O0=null,A4=()=>new U("Request body larger than maxBodyLength limit",U.ERR_BAD_REQUEST,_,g);try{let k=void 0,Q0=k0("auth");if(Q0){let F=N.getSafeProp(Q0,"username")||"",O=N.getSafeProp(Q0,"password")||"";k={username:F,password:O}}if(H7(I)){let F=new URL(I,j.origin);if(!k&&(F.username||F.password)){let O=$$(F.username),S=$$(F.password);k={username:O,password:S}}if(F.username||F.password)F.username="",F.password="",I=F.href}if(k)r.delete("authorization"),r.set("Authorization","Basic "+btoa(P7((k.username||"")+":"+(k.password||""))));if(S0&&typeof I==="string"&&I.startsWith("data:")){if(R4(I)>Z0)throw new U("maxContentLength size of "+Z0+" exceeded",U.ERR_BAD_RESPONSE,_,g)}if(d&&R!=="get"&&R!=="head"){let F=await D(E);if(typeof F==="number"&&isFinite(F)){if(V0=F,F>D0)throw A4()}}let j0=d&&(N.isReadableStream(E)||N.isStream(E)),m=(F,O,S)=>m1(F,e6,(v)=>{if(d&&v>D0)throw O0=A4();O&&O(v)},S);if(B&&R!=="get"&&R!=="head"&&(R0||j0)){if(V0=V0==null?await T(r,E):V0,V0!==0||j0){let F=new W(I,{method:"POST",body:E,duplex:"half"}),O;if(N.isFormData(E)&&(O=F.headers.get("content-type")))r.setContentType(O);if(F.body){let[S,v]=R0&&$4(V0,C0(Y4(R0)))||[];E=m(F.body,S,v)}}}else if(j0&&!K&&V&&R!=="get"&&R!=="head")E=m(E);else if(j0&&K&&!B&&R!=="get"&&R!=="head")throw new U("Stream request bodies are not supported by the current fetch implementation",U.ERR_NOT_SUPPORT,_,g);if(!N.isString(e))e=e?"include":"omit";let x0=K&&"credentials"in W.prototype;if(N.isFormData(E)){let F=r.getContentType();if(F&&/^multipart\/form-data/i.test(F)&&!/boundary=/i.test(F))r.delete("content-type")}r.set("User-Agent","axios/"+T0,!1);let w0={...q0,signal:J0,method:R.toUpperCase(),headers:a0(r.normalize()),body:E,duplex:"half",credentials:x0?e:void 0};g=K&&new W(I,w0);let K0=await(K?a(g,q0):a(I,w0)),X4=f.from(K0.headers);if(S0){let F=N.toFiniteNumber(X4.getContentLength());if(F!=null&&F>Z0)throw new U("maxContentLength size of "+Z0+" exceeded",U.ERR_BAD_RESPONSE,_,g)}let v0=L&&(F0==="stream"||F0==="response");if(L&&K0.body&&(x||S0||v0&&N0)){let F={};["status","statusText","headers"].forEach((h)=>{F[h]=K0[h]});let O=N.toFiniteNumber(X4.getContentLength()),[S,v]=x&&$4(O,C0(Y4(x),!0))||[],q=0,c=(h)=>{if(S0){if(q=h,q>Z0)throw new U("maxContentLength size of "+Z0+" exceeded",U.ERR_BAD_RESPONSE,_,g)}S&&S(h)};K0=new Z(m1(K0.body,e6,c,()=>{v&&v(),N0&&N0()}),F)}F0=F0||"text";let G0=await H[N.findKey(H,F0)||"text"](K0,_);if(S0&&!L&&!v0){let F;if(G0!=null){if(typeof G0.byteLength==="number")F=G0.byteLength;else if(typeof G0.size==="number")F=G0.size;else if(typeof G0==="string")F=typeof G==="function"?new G().encode(G0).byteLength:G0.length}if(typeof F==="number"&&F>Z0)throw new U("maxContentLength size of "+Z0+" exceeded",U.ERR_BAD_RESPONSE,_,g)}return!v0&&N0&&N0(),await new Promise((F,O)=>{P0(F,O,{data:G0,headers:f.from(K0.headers),status:K0.status,statusText:K0.statusText,config:_,request:g})})}catch(k){if(N0&&N0(),J0&&J0.aborted&&J0.reason instanceof U){let Q0=J0.reason;throw Q0.config=_,g&&(Q0.request=g),k!==Q0&&(Q0.cause=k),Q0}if(O0)throw g&&!O0.request&&(O0.request=g),O0;if(k instanceof U)throw g&&!k.request&&(k.request=g),k;if(k&&k.name==="TypeError"&&/Load failed|fetch/i.test(k.message))throw Object.assign(new U("Network Error",U.ERR_NETWORK,_,g,k&&k.response),{cause:k.cause||k});throw U.from(k,k&&k.code,_,g,k&&k.response)}}},C7,h1=($)=>{let Y=$&&$.env||{},{fetch:Q,Request:G,Response:X}=Y,W=[G,X,Q],Z=W.length,J=Z,K,M,V=C7;while(J--)K=W[J],M=V.get(K),M===void 0&&V.set(K,M=J?new Map:T7(Y)),V=M;return M},$X;var Q$=C(()=>{U0();b();s();o6();r6();B0();c4();y1();m4();b1();T4();M4();({isFunction:n4}=N),C7=new Map,$X=h1()});function D7($,Y){$=N.isArray($)?$:[$];let{length:Q}=$,G,X,W={};for(let Z=0;Z<Q;Z++){G=$[Z];let J;if(X=G,!R7(G)){if(X=g1[(J=String(G)).toLowerCase()],X===void 0)throw new U(`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(([K,M])=>`adapter ${K} `+(M===!1?"is not supported by the environment":"is not available in the build")),J=Q?Z.length>1?`since :
|
|
12
|
+
`+Z.map(G$).join(`
|
|
13
|
+
`):" "+G$(Z[0]):"as no adapter specified";throw new U("There is no suitable adapter to dispatch the request "+J,"ERR_NOT_SUPPORT")}return X}var g1,G$=($)=>`- ${$}`,R7=($)=>N.isFunction($)||$===null||$===!1,a4;var u1=C(()=>{b();c6();t6();Q$();s();g1={http:u6,xhr:a6,fetch:{get:h1}};N.forEach(g1,($,Y)=>{if($){try{Object.defineProperty($,"name",{__proto__:null,value:Y})}catch(Q){}Object.defineProperty($,"adapterName",{__proto__:null,value:Y})}});a4={getAdapter:D7,adapters:g1}});function c1($){if($.cancelToken)$.cancelToken.throwIfRequested();if($.signal&&$.signal.aborted)throw new X0(null,$)}function t4($){if(c1($),$.headers=f.from($.headers),$.data=U4.call($,$.transformRequest),["post","put","patch"].indexOf($.method)!==-1)$.headers.setContentType("application/x-www-form-urlencoded",!1);return a4.getAdapter($.adapter||o0.adapter,$)($).then(function(G){c1($),$.response=G;try{G.data=U4.call($,$.transformResponse,G)}finally{delete $.response}return G.headers=f.from(G.headers),G},function(G){if(!L4(G)){if(c1($),G&&G.response){$.response=G.response;try{G.response.data=U4.call($,$.transformResponse,G.response)}finally{delete $.response}G.response.headers=f.from(G.response.headers)}}return Promise.reject(G)})}var X$=C(()=>{h5();P1();y4();m0();B0();u1()});function S7($,Y,Q){if(typeof $!=="object")throw new U("options must be an object",U.ERR_BAD_OPTION_VALUE);let G=Object.keys($),X=G.length;while(X-- >0){let W=G[X],Z=Object.prototype.hasOwnProperty.call(Y,W)?Y[W]:void 0;if(Z){let J=$[W],K=J===void 0||Z(J,W,$);if(K!==!0)throw new U("option "+W+" must be "+K,U.ERR_BAD_OPTION_VALUE);continue}if(Q!==!0)throw new U("Unknown option "+W,U.ERR_BAD_OPTION)}}var s4,W$,D4;var Z$=C(()=>{T4();s();s4={};["object","boolean","number","function","string","symbol"].forEach(($,Y)=>{s4[$]=function(G){return typeof G===$||"a"+(Y<1?"n ":" ")+$}});W$={};s4.transitional=function(Y,Q,G){function X(W,Z){return"[Axios v"+T0+"] Transitional option '"+W+"'"+Z+(G?". "+G:"")}return(W,Z,J)=>{if(Y===!1)throw new U(X(Z," has been removed"+(Q?" in "+Q:"")),U.ERR_DEPRECATED);if(Q&&!W$[Z])W$[Z]=!0,console.warn(X(Z," has been deprecated since v"+Q+" and will be removed in the near future"));return Y?Y(W,Z,J):!0}};s4.spelling=function(Y){return(Q,G)=>{return console.warn(`${G} is likely a misspelling of ${Y}`),!0}};D4={assertOptions:S7,validators:s4}});class S4{constructor($){this.defaults=$||{},this.interceptors={request:new V1,response:new V1}}async request($,Y){try{return await this._request($,Y)}catch(Q){if(Q instanceof Error){let G={};Error.captureStackTrace?Error.captureStackTrace(G):G=Error();let X=(()=>{if(!G.stack)return"";let W=G.stack.indexOf(`
|
|
14
|
+
`);return W===-1?"":G.stack.slice(W+1)})();try{if(!Q.stack)Q.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(Q.stack).endsWith(J))Q.stack+=`
|
|
17
|
+
`+X}}catch(W){}}throw Q}}_request($,Y){if(typeof $==="string")Y=Y||{},Y.url=$;else Y=$||{};Y=_0(this.defaults,Y);let{transitional:Q,paramsSerializer:G,headers:X}=Y;if(Q!==void 0)D4.assertOptions(Q,{silentJSONParsing:t.transitional(t.boolean),forcedJSONParsing:t.transitional(t.boolean),clarifyTimeoutError:t.transitional(t.boolean),legacyInterceptorReqResOrdering:t.transitional(t.boolean),advertiseZstdAcceptEncoding:t.transitional(t.boolean),validateStatusUndefinedResolves:t.transitional(t.boolean)},!1);if(G!=null)if(N.isFunction(G))Y.paramsSerializer={serialize:G};else D4.assertOptions(G,{encode:t.function,serialize:t.function},!0);if(Y.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)Y.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else Y.allowAbsoluteUrls=!0;D4.assertOptions(Y,{baseUrl:t.spelling("baseURL"),withXsrfToken:t.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"],(L)=>{delete X[L]}),Y.headers=f.concat(W,X);let Z=[],J=!0;this.interceptors.request.forEach(function(H){if(typeof H.runWhen==="function"&&H.runWhen(Y)===!1)return;J=J&&H.synchronous;let D=Y.transitional||A0;if(D&&D.legacyInterceptorReqResOrdering)Z.unshift(H.fulfilled,H.rejected);else Z.push(H.fulfilled,H.rejected)});let K=[];this.interceptors.response.forEach(function(H){K.push(H.fulfilled,H.rejected)});let M,V=0,z;if(!J){let L=[t4.bind(this),void 0];L.unshift(...Z),L.push(...K),z=L.length,M=Promise.resolve(Y);while(V<z)M=M.then(L[V++],L[V++]);return M}z=Z.length;let B=Y;while(V<z){let L=Z[V++],H=Z[V++];try{B=L(B)}catch(D){H.call(this,D);break}}try{M=t4.call(this,B)}catch(L){return Promise.reject(L)}V=0,z=K.length;while(V<z)M=M.then(K[V++],K[V++]);return M}getUri($){$=_0(this.defaults,$);let Y=h0($.baseURL,$.url,$.allowAbsoluteUrls,$);return y0(Y,$.params,$.paramsSerializer)}}var t,w4;var J$=C(()=>{b();b4();E5();X$();p4();h4();Z$();B0();B4();t=D4.validators;N.forEach(["delete","get","head","options"],function(Y){S4.prototype[Y]=function(Q,G){return this.request(_0(G||{},{method:Y,url:Q,data:G&&N.hasOwnProp(G,"data")?G.data:void 0}))}});N.forEach(["post","put","patch","query"],function(Y){function Q(G){return function(W,Z,J){return this.request(_0(J||{},{method:Y,headers:G?{"Content-Type":"multipart/form-data"}:{},url:W,data:Z}))}}if(S4.prototype[Y]=Q(),Y!=="query")S4.prototype[Y+"Form"]=Q(!0)});w4=S4});class l1{constructor($){if(typeof $!=="function")throw TypeError("executor must be a function.");let Y;this.promise=new Promise(function(X){Y=X});let Q=this;this.promise.then((G)=>{if(!Q._listeners)return;let X=Q._listeners.length;while(X-- >0)Q._listeners[X](G);Q._listeners=null}),this.promise.then=(G)=>{let X,W=new Promise((Z)=>{Q.subscribe(Z),X=Z}).then(G);return W.cancel=function(){Q.unsubscribe(X)},W},$(function(X,W,Z){if(Q.reason)return;Q.reason=new X0(X,W,Z),Y(Q.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($){if(this.reason){$(this.reason);return}if(this._listeners)this._listeners.push($);else this._listeners=[$]}unsubscribe($){if(!this._listeners)return;let Y=this._listeners.indexOf($);if(Y!==-1)this._listeners.splice(Y,1)}toAbortSignal(){let $=new AbortController,Y=(Q)=>{$.abort(Q)};return this.subscribe(Y),$.signal.unsubscribe=()=>this.unsubscribe(Y),$.signal}static source(){let $;return{token:new l1(function(G){$=G}),cancel:$}}}var N$;var K$=C(()=>{m0();N$=l1});function d1($){return function(Q){return $.apply(null,Q)}}var M$=()=>{};function p1($){return N.isObject($)&&$.isAxiosError===!0}var V$=C(()=>{b()});var i1,z$;var B$=C(()=>{i1={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(i1).forEach(([$,Y])=>{i1[Y]=$});z$=i1});function U$($){let Y=new w4($),Q=Z4(w4.prototype.request,Y);return N.extend(Q,w4.prototype,Y,{allOwnKeys:!0}),N.extend(Q,Y,null,{allOwnKeys:!0}),Q.create=function(X){return U$(_0($,X))},Q}var l,I0;var L$=C(()=>{b();Y1();J$();p4();y4();F1();m0();K$();P1();T4();t0();s();M$();V$();B0();u1();B$();l=U$(o0);l.Axios=w4;l.CanceledError=X0;l.CancelToken=N$;l.isCancel=L4;l.VERSION=T0;l.toFormData=E0;l.AxiosError=U;l.Cancel=l.CanceledError;l.all=function(Y){return Promise.all(Y)};l.spread=d1;l.isAxiosError=p1;l.mergeConfig=_0;l.AxiosHeaders=f;l.formToJSON=($)=>f4(N.isHTMLForm($)?new FormData($):$);l.getAdapter=a4.getAdapter;l.HttpStatusCode=z$;l.default=l;I0=l});var oX,o4,rX,eX,$W,YW,QW,GW,XW,WW,ZW,JW,NW,KW,MW,VW,zW;var n1=C(()=>{L$();({Axios:oX,AxiosError:o4,CanceledError:rX,isCancel:eX,CancelToken:$W,VERSION:YW,all:QW,Cancel:GW,isAxiosError:XW,spread:WW,toFormData:ZW,AxiosHeaders:JW,HttpStatusCode:NW,formToJSON:KW,getAdapter:MW,mergeConfig:VW,create:zW}=I0)});import{EventEmitter as E2}from"events";function e1(){try{if(typeof process<"u"&&process.env&&process.env.npm_package_version)return process.env.npm_package_version;return P$()?.version||"3.x.x"}catch{return"3.x.x"}}function G4($){if(!$||typeof $!=="object")return!1;let Y=$,Q="_def"in Y&&(typeof Y.safeParse==="function"||typeof Y.parse==="function"),G="_zod"in Y&&typeof Y._zod==="object";return Q||G}function q7($){if(!$||typeof $!=="object")return!1;return"_zod"in $&&typeof $._zod==="object"}function k7($){if(!q7($))return null;try{let Y=$.constructor?.prototype?.constructor;if(Y&&typeof Y.toJSONSchema==="function")return Y.toJSONSchema($)}catch{}return null}function W0($){if(!G4($))return $;let Y=k7($);if(Y)return Y;try{return O$($)}catch{return $}}function s1($){if(!$||typeof $!=="object"||Array.isArray($))return!1;let Y=Object.values($);if(Y.length===0)return!1;return Y.some((Q)=>Q&&typeof Q==="object"&&Q._def&&typeof Q.safeParse==="function")}function j7($){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 Q=Y;if(!Q.prompt&&!Q.schema)throw Error("json format requires either 'prompt' or 'schema' (or both)");let G=Q.schema;if(G4(G))Q.schema=W0(G);else if(s1(G))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 Q=Y,G=Q.schema;if(G4(G))Q.schema=W0(G);else if(s1(G))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 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'");continue}if(Y.type==="screenshot"){let Q=Y;if(Q.quality!=null&&(typeof Q.quality!=="number"||Q.quality<0))throw Error("screenshot.quality must be a non-negative number")}}}function E4($){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");j7($.formats)}function x7($){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 Q=Y.type;if(Q==="changeTracking")throw Error("parse does not support changeTracking format");if(Q==="screenshot")throw Error("parse does not support screenshot format");if(Q==="branding")throw Error("parse does not support branding format");if(Q==="audio"||Q==="video")throw Error(`parse does not support ${Q} format`);if(Y.type==="json"){let G=Y;if(!G.prompt&&!G.schema)throw Error("json format requires either 'prompt' or 'schema' (or both)");let X=G.schema;if(G4(X))G.schema=W0(X);else if(s1(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 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'")}}}function v7($){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'");x7($.formats)}function A($,Y){let Q=$.status,G=$.data||{},X=G?.error||G?.message||`Request failed (${Q}) while trying to ${Y}`;throw new H0(X,Q,void 0,G?.details)}function w($,Y){let Q=$.response?.status,G=$.response?.data,X=G?.error||$.message||`Request failed${Q?` (${Q})`:""} while trying to ${Y}`,W=G?.code||$.code;throw new H0(X,Q,W,G?.details??G)}function H$($){if($ instanceof $5)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 b7($,Y,Q){if(!Y||!Y.trim())throw Error("URL cannot be empty");if(Q)E4(Q);let G={url:Y.trim()};if(Q)Object.assign(G,Q);try{let X=await $.post("/v2/scrape",G,typeof Q?.timeout==="number"?{timeoutMs:Q.timeout+5000}:{});if(X.status!==200||!X.data?.success)A(X,"scrape");return X.data.data||{}}catch(X){if(X?.isAxiosError)return w(X,"scrape");throw X}}async function f7($,Y,Q){if(!Y||!Y.trim())throw Error("Job ID cannot be empty");let G=Q?.code&&Q.code.trim(),X=Q?.prompt&&Q.prompt.trim();if(!G&&!X)throw Error("Either 'code' or 'prompt' must be provided");let W={};if(G)W.code=Q.code;if(X)W.prompt=Q.prompt;if(W.language=Q.language??"node",Q.timeout!=null)W.timeout=Q.timeout;if(Q.origin)W.origin=Q.origin;try{let Z=await $.post(`/v2/scrape/${Y}/interact`,W,Q.timeout!=null?{timeoutMs:Q.timeout*1000+5000}:{});if(Z.status!==200)A(Z,"interact with scrape browser");return Z.data}catch(Z){if(Z?.isAxiosError)return w(Z,"interact with scrape browser");throw Z}}async function y7($,Y){if(!Y||!Y.trim())throw Error("Job ID cannot be empty");try{let Q=await $.delete(`/v2/scrape/${Y}/interact`);if(Q.status!==200)A(Q,"stop interaction");return Q.data}catch(Q){if(Q?.isAxiosError)return w(Q,"stop interaction");throw Q}}function _$($,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 m7($,Y,Q){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(_$(Y.data,Y.contentType).size===0)throw Error("file data cannot be empty");if(Q)v7(Q);let X=e1(),W={...Q??{},origin:typeof Q?.origin==="string"&&Q.origin.includes("mcp")?Q.origin:Q?.origin??`js-sdk@${X}`},Z=new FormData;Z.append("options",JSON.stringify(W)),Z.append("file",_$(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)A(J,"parse");return J.data.data||{}}catch(J){if(J?.isAxiosError)return w(J,"parse");throw J}}function h7($){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($.enterprise)Y.enterprise=$.enterprise;if($.threatProtection!=null)Y.threatProtection=$.threatProtection;if($.scrapeOptions)E4($.scrapeOptions),Y.scrapeOptions=$.scrapeOptions;return Y}function a1($){let Y=[];for(let Q of $)if(Q&&typeof Q==="object")if("markdown"in Q||"html"in Q||"rawHtml"in Q||"links"in Q||"screenshot"in Q||"changeTracking"in Q||"summary"in Q||"json"in Q)Y.push(Q);else Y.push(Q);else Y.push({url:Q});return Y}async function g7($,Y){let Q=h7(Y);try{let G=await $.post("/v2/search",Q,typeof Y.timeout==="number"?{timeoutMs:Y.timeout+5000}:{});if(G.status!==200||!G.data?.success)A(G,"search");let X=G.data.data||{},W={};if(X.web)W.web=a1(X.web);if(X.news)W.news=a1(X.news);if(X.images)W.images=a1(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(G){if(G?.isAxiosError)return w(G,"search");throw G}}function u7($,Y){if(!$||!$.trim())throw Error("URL cannot be empty");let Q={url:$.trim()};if(Y){if(Y.sitemap!=null)Q.sitemap=Y.sitemap;if(Y.search!=null)Q.search=Y.search;if(Y.includeSubdomains!=null)Q.includeSubdomains=Y.includeSubdomains;if(Y.ignoreQueryParameters!=null)Q.ignoreQueryParameters=Y.ignoreQueryParameters;if(Y.limit!=null)Q.limit=Y.limit;if(Y.timeout!=null)Q.timeout=Y.timeout;if(Y.integration!=null&&Y.integration.trim())Q.integration=Y.integration.trim();if(Y.origin)Q.origin=Y.origin;if(Y.location!=null)Q.location=Y.location;if(Y.threatProtection!=null)Q.threatProtection=Y.threatProtection}return Q}async function c7($,Y,Q){let G=u7(Y,Q);try{let X=await $.post("/v2/map",G,typeof Q?.timeout==="number"?{timeoutMs:Q.timeout+5000}:{});if(X.status!==200||!X.data?.success)A(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{id:X.data.id,links:Z}}catch(X){if(X?.isAxiosError)return w(X,"map");throw X}}function T$($){if(!["good","partial","bad"].includes($))throw Error("rating must be one of: good, partial, bad")}async function l7($,Y){if(!Y.endpoint)throw Error("endpoint is required");if(!Y.jobId)throw Error("jobId is required");T$(Y.rating);try{let Q=await $.post("/v2/feedback",Y);if(Q.status!==200||!Q.data?.success)A(Q,"feedback");return Q.data}catch(Q){if(Q?.isAxiosError)return w(Q,"feedback");throw Q}}async function d7($,Y,Q){if(!Y)throw Error("jobId is required");T$(Q.rating);try{let G=await $.post(`/v2/search/${encodeURIComponent(Y)}/feedback`,Q);if(G.status!==200||!G.data?.success)A(G,"searchFeedback");return G.data}catch(G){if(G?.isAxiosError)return w(G,"searchFeedback");throw G}}async function Y5($,Y,Q,G){let X=Q.slice(),W=Y,Z=0,J=G?.maxPages??void 0,K=G?.maxResults??void 0,M=G?.maxWaitTime??void 0,V=Date.now();while(W){if(J!=null&&Z>=J)break;if(M!=null&&(Date.now()-V)/1000>M)break;let z=null;try{z=(await $.get(W)).data}catch{break}if(!z?.success)break;let B=Array.isArray(z.data)?z.data:z.data?.pages||[];for(let L of B){if(K!=null&&X.length>=K)break;X.push(L)}if(K!=null&&X.length>=K)break;W=z.next??(Array.isArray(z.data)?null:z.data?.next)??null,Z+=1}return X}function p7($){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)E4($.scrapeOptions),Y.scrapeOptions=$.scrapeOptions;if($.zeroDataRetention!=null)Y.zeroDataRetention=$.zeroDataRetention;return Y}async function C$($,Y){let Q=p7(Y);try{let G=await $.post("/v2/crawl",Q);if(G.status!==200||!G.data?.success)A(G,"start crawl");return{id:G.data.id,url:G.data.url}}catch(G){if(G?.isAxiosError)return w(G,"start crawl");throw G}}async function Q5($,Y,Q){try{let G=await $.get(`/v2/crawl/${Y}`);if(G.status!==200||!G.data?.success)A(G,"get crawl status");let X=G.data,W=X.data||[];if(!(Q?.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 Y5($,X.next,W,Q);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(G){if(G?.isAxiosError)return w(G,"get crawl status");throw G}}async function i7($,Y){try{let Q=await $.delete(`/v2/crawl/${Y}`);if(Q.status!==200)A(Q,"cancel crawl");return Q.data?.status==="cancelled"}catch(Q){if(Q?.isAxiosError)return w(Q,"cancel crawl");throw Q}}async function n7($,Y,Q=2,G){let X=Date.now();while(!0){try{let W=await Q5($,Y);if(["completed","failed","cancelled"].includes(W.status))return W}catch(W){if(!H$(W)){if(W instanceof H0)throw new H0(W.message,W.status,W.code,W.details,Y);throw W}}if(G!=null&&Date.now()-X>G*1000)throw new $5(Y,G,"crawl");await new Promise((W)=>setTimeout(W,Math.max(1000,Q*1000)))}}async function a7($,Y,Q=2,G){let X=await C$($,Y);return n7($,X.id,Q,G)}async function t7($,Y){try{let Q=await $.get(`/v2/crawl/${Y}/errors`);if(Q.status!==200)A(Q,"get crawl errors");let G=Q.data?.data??Q.data;return{errors:G.errors||[],robotsBlocked:G.robotsBlocked||[]}}catch(Q){if(Q?.isAxiosError)return w(Q,"get crawl errors");throw Q}}async function s7($){try{let Y=await $.get("/v2/crawl/active");if(Y.status!==200||!Y.data?.success)A(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 w(Y,"get active crawls");throw Y}}async function o7($,Y,Q){if(!Y||!Y.trim())throw Error("URL cannot be empty");if(!Q||!Q.trim())throw Error("Prompt cannot be empty");try{let G=await $.post("/v2/crawl/params-preview",{url:Y.trim(),prompt:Q});if(G.status!==200||!G.data?.success)A(G,"crawl params preview");let X=G.data.data||{};if(G.data.warning)X.warning=G.data.warning;return X}catch(G){if(G?.isAxiosError)return w(G,"crawl params preview");throw G}}async function I$($,Y,{options:Q,webhook:G,appendToId:X,ignoreInvalidURLs:W,maxConcurrency:Z,zeroDataRetention:J,idempotencyKey:K,integration:M,origin:V}={}){if(!Array.isArray(Y)||Y.length===0)throw Error("URLs list cannot be empty");let z={urls:Y};if(Q)E4(Q),Object.assign(z,Q);if(G!=null)z.webhook=G;if(X!=null)z.appendToId=X;if(W!=null)z.ignoreInvalidURLs=W;if(Z!=null)z.maxConcurrency=Z;if(J!=null)z.zeroDataRetention=J;if(M!=null&&M.trim())z.integration=M.trim();if(V)z.origin=V;try{let B=$.prepareHeaders(K),L=await $.post("/v2/batch/scrape",z,{headers:B});if(L.status!==200||!L.data?.success)A(L,"start batch scrape");return{id:L.data.id,url:L.data.url,invalidURLs:L.data.invalidURLs||void 0}}catch(B){if(B?.isAxiosError)return w(B,"start batch scrape");throw B}}async function G5($,Y,Q){try{let G=await $.get(`/v2/batch/scrape/${Y}`);if(G.status!==200||!G.data?.success)A(G,"get batch scrape status");let X=G.data,W=X.data||[];if(!(Q?.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 Y5($,X.next,W,Q);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(G){if(G?.isAxiosError)return w(G,"get batch scrape status");throw G}}async function r7($,Y){try{let Q=await $.delete(`/v2/batch/scrape/${Y}`);if(Q.status!==200)A(Q,"cancel batch scrape");return Q.data?.status==="cancelled"}catch(Q){if(Q?.isAxiosError)return w(Q,"cancel batch scrape");throw Q}}async function e7($,Y){try{let Q=await $.get(`/v2/batch/scrape/${Y}/errors`);if(Q.status!==200)A(Q,"get batch scrape errors");let G=Q.data?.data??Q.data;return{errors:G.errors||[],robotsBlocked:G.robotsBlocked||[]}}catch(Q){if(Q?.isAxiosError)return w(Q,"get batch scrape errors");throw Q}}async function $2($,Y,Q=2,G){let X=Date.now();while(!0){try{let W=await G5($,Y);if(["completed","failed","cancelled"].includes(W.status))return W}catch(W){if(!H$(W)){if(W instanceof H0)throw new H0(W.message,W.status,W.code,W.details,Y);throw W}}if(G!=null&&Date.now()-X>G*1000)throw new $5(Y,G,"batch");await new Promise((W)=>setTimeout(W,Math.max(1000,Q*1000)))}}async function Y2($,Y,Q={}){let G=await I$($,Y,Q);return $2($,G.id,Q.pollInterval??2,Q.timeout)}function Q2($){let Y={};if($.urls)Y.urls=$.urls;if($.prompt!=null)Y.prompt=$.prompt;if($.schema!=null)Y.schema=G4($.schema)?W0($.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($.webhook!=null)Y.webhook=$.webhook;if($.threatProtection!=null)Y.threatProtection=$.threatProtection;if($.scrapeOptions)E4($.scrapeOptions),Y.scrapeOptions=$.scrapeOptions;return Y}async function R$($,Y){let Q=Q2(Y);try{let G=await $.post("/v2/extract",Q);if(G.status!==200)A(G,"extract");return G.data}catch(G){if(G?.isAxiosError)return w(G,"extract");throw G}}async function D$($,Y){try{let Q=await $.get(`/v2/extract/${Y}`);if(Q.status!==200)A(Q,"extract status");return Q.data}catch(Q){if(Q?.isAxiosError)return w(Q,"extract status");throw Q}}async function G2($,Y,Q=2,G){let X=Date.now();while(!0){let W=await D$($,Y);if(["completed","failed","cancelled"].includes(W.status||""))return W;if(G!=null&&Date.now()-X>G*1000)return W;await new Promise((Z)=>setTimeout(Z,Math.max(1000,Q*1000)))}}async function X2($,Y){let Q=await R$($,Y),G=Q.id;if(!G)return Q;return G2($,G,Y.pollInterval??2,Y.timeout)}function W2($){let Y={};if($.urls)Y.urls=$.urls;if(Y.prompt=$.prompt,$.schema!=null)Y.schema=G4($.schema)?W0($.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;if($.threatProtection!=null)Y.threatProtection=$.threatProtection;return Y}async function S$($,Y){let Q=W2(Y);try{let G=await $.post("/v2/agent",Q);if(G.status!==200)A(G,"agent");return G.data}catch(G){if(G?.isAxiosError)return w(G,"agent");throw G}}async function w$($,Y){try{let Q=await $.get(`/v2/agent/${Y}`);if(Q.status!==200)A(Q,"agent status");return Q.data}catch(Q){if(Q?.isAxiosError)return w(Q,"agent status");throw Q}}async function Z2($,Y,Q=2,G){let X=Date.now();while(!0){let W=await w$($,Y);if(["completed","failed","cancelled"].includes(W.status||""))return W;if(G!=null&&Date.now()-X>G*1000)return W;await new Promise((Z)=>setTimeout(Z,Math.max(1000,Q*1000)))}}async function J2($,Y){let Q=await S$($,Y),G=Q.id;if(!G)return Q;return Z2($,G,Y.pollInterval??2,Y.timeout)}async function N2($,Y){try{let Q=await $.delete(`/v2/agent/${Y}`);if(Q.status!==200)A(Q,"cancel agent");return Q.data?.success===!0}catch(Q){if(Q?.isAxiosError)return w(Q,"cancel agent");throw Q}}async function K2($,Y={}){let Q={};if(Y.ttl!=null)Q.ttl=Y.ttl;if(Y.activityTtl!=null)Q.activityTtl=Y.activityTtl;if(Y.streamWebView!=null)Q.streamWebView=Y.streamWebView;if(Y.profile!=null)Q.profile=Y.profile;if(Y.integration!=null)Q.integration=Y.integration;if(Y.origin)Q.origin=Y.origin;try{let G=await $.post("/v2/browser",Q);if(G.status!==200)A(G,"create browser session");return G.data}catch(G){if(G?.isAxiosError)return w(G,"create browser session");throw G}}async function M2($,Y,Q){let G={code:Q.code,language:Q.language??"bash"};if(Q.timeout!=null)G.timeout=Q.timeout;try{let X=await $.post(`/v2/browser/${Y}/execute`,G,Q.timeout!=null?{timeoutMs:Q.timeout*1000+5000}:{});if(X.status!==200)A(X,"execute browser code");return X.data}catch(X){if(X?.isAxiosError)return w(X,"execute browser code");throw X}}async function V2($,Y){try{let Q=await $.delete(`/v2/browser/${Y}`);if(Q.status!==200)A(Q,"delete browser session");return Q.data}catch(Q){if(Q?.isAxiosError)return w(Q,"delete browser session");throw Q}}async function z2($,Y={}){let Q="/v2/browser";if(Y.status)Q+=`?status=${Y.status}`;try{let G=await $.get(Q);if(G.status!==200)A(G,"list browser sessions");return G.data}catch(G){if(G?.isAxiosError)return w(G,"list browser sessions");throw G}}async function B2($){try{let Y=await $.get("/v2/concurrency-check");if(Y.status!==200||!Y.data?.success)A(Y,"get concurrency");let Q=Y.data.data||Y.data;return{concurrency:Q.concurrency,maxConcurrency:Q.maxConcurrency??Q.max_concurrency}}catch(Y){if(Y?.isAxiosError)return w(Y,"get concurrency");throw Y}}async function U2($){try{let Y=await $.get("/v2/team/credit-usage");if(Y.status!==200||!Y.data?.success)A(Y,"get credit usage");let Q=Y.data.data||Y.data;return{remainingCredits:Q.remainingCredits??Q.remaining_credits??0,planCredits:Q.planCredits??Q.plan_credits,billingPeriodStart:Q.billingPeriodStart??Q.billing_period_start??null,billingPeriodEnd:Q.billingPeriodEnd??Q.billing_period_end??null}}catch(Y){if(Y?.isAxiosError)return w(Y,"get credit usage");throw Y}}async function L2($){try{let Y=await $.get("/v2/team/token-usage");if(Y.status!==200||!Y.data?.success)A(Y,"get token usage");let Q=Y.data.data||Y.data;return{remainingTokens:Q.remainingTokens??Q.remaining_tokens??0,planTokens:Q.planTokens??Q.plan_tokens,billingPeriodStart:Q.billingPeriodStart??Q.billing_period_start??null,billingPeriodEnd:Q.billingPeriodEnd??Q.billing_period_end??null}}catch(Y){if(Y?.isAxiosError)return w(Y,"get token usage");throw Y}}async function _2($){try{let Y=await $.get("/v2/team/queue-status");if(Y.status!==200||!Y.data?.success)A(Y,"get queue status");return Y.data}catch(Y){if(Y?.isAxiosError)return w(Y,"get queue status");throw Y}}async function F2($,Y){try{let Q=Y?"?byApiKey=true":"",G=await $.get(`/v2/team/credit-usage/historical${Q}`);if(G.status!==200||!G.data?.success)A(G,"get credit usage historical");return G.data}catch(Q){if(Q?.isAxiosError)return w(Q,"get credit usage historical");throw Q}}async function O2($,Y){try{let Q=Y?"?byApiKey=true":"",G=await $.get(`/v2/team/token-usage/historical${Q}`);if(G.status!==200||!G.data?.success)A(G,"get token usage historical");return G.data}catch(Q){if(Q?.isAxiosError)return w(Q,"get token usage historical");throw Q}}function o($,Y,Q){if(Q==null)return;if(Array.isArray(Q)){for(let G of Q)if(G!=null&&String(G).length>0)$.append(Y,String(G))}else $.append(Y,String(Q))}function e4($,Y){Y.append("origin",`js-sdk@${e1()}`);let Q=Y.toString();return Q?`${$}?${Q}`:$}function $1($,Y){if($?.isAxiosError){let Q=$.response?.status,G=$.response?.data;if(G&&(G.detail||G.title)){let X=G.detail||G.title;throw new H0(X,Q,G.type,G)}throw new H0($.message||`Request failed while trying to ${Y}`,Q,$.code,G)}throw $}function X5($){if(!$)return"";let Y=new URLSearchParams;for(let[G,X]of Object.entries($))if(X!==void 0&&X!==null)Y.set(G,String(X));let Q=Y.toString();return Q?`?${Q}`:""}function c0($,Y){if($.status!==200||!$.data?.success||$.data.data==null)A($,Y);return $.data.data}async function H2($,Y){try{let Q=await $.post("/v2/monitor",Y);return c0(Q,"create monitor")}catch(Q){if(Q?.isAxiosError)return w(Q,"create monitor");throw Q}}async function T2($,Y){try{let Q=await $.get(`/v2/monitor${X5(Y)}`);return c0(Q,"list monitors")}catch(Q){if(Q?.isAxiosError)return w(Q,"list monitors");throw Q}}async function C2($,Y){try{let Q=await $.get(`/v2/monitor/${Y}`);return c0(Q,"get monitor")}catch(Q){if(Q?.isAxiosError)return w(Q,"get monitor");throw Q}}async function I2($,Y,Q){try{let G=await $.patch(`/v2/monitor/${Y}`,Q);return c0(G,"update monitor")}catch(G){if(G?.isAxiosError)return w(G,"update monitor");throw G}}async function R2($,Y){try{let Q=await $.delete(`/v2/monitor/${Y}`);if(Q.status!==200||!Q.data?.success)A(Q,"delete monitor");return!0}catch(Q){if(Q?.isAxiosError)return w(Q,"delete monitor");throw Q}}async function D2($,Y){try{let Q=await $.post(`/v2/monitor/${Y}/run`,{});return c0(Q,"run monitor")}catch(Q){if(Q?.isAxiosError)return w(Q,"run monitor");throw Q}}async function S2($,Y,Q){try{let G=await $.get(`/v2/monitor/${Y}/checks${X5(Q)}`);return c0(G,"list monitor checks")}catch(G){if(G?.isAxiosError)return w(G,"list monitor checks");throw G}}async function w2($,Y,Q,G){try{let{autoPaginate:X,maxPages:W,maxResults:Z,maxWaitTime:J,...K}=G??{},M=await $.get(`/v2/monitor/${Y}/checks/${Q}${X5(K)}`),V=c0(M,"get monitor check"),z=M.data?.next??V.next??null;if(!(G?.autoPaginate??!0)||!z)return{...V,next:z};return{...V,pages:await Y5($,z,V.pages||[],G),next:null}}catch(X){if(X?.isAxiosError)return w(X,"get monitor check");throw X}}var A7=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=I0.create({baseURL:this.apiUrl,timeout:$.timeoutMs??300000,headers:{...this.apiKey?{Authorization:`Bearer ${this.apiKey}`}:{}},transitional:{clarifyTimeoutError:!0}})}getApiUrl(){return this.apiUrl}getApiKey(){return this.apiKey}async request($){let Y=e1();$.headers={...$.headers||{}};let Q;for(let G=0;G<this.maxRetries;G++)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 K=X.data??{};X.data={...K,origin:typeof K.origin==="string"&&K.origin.includes("mcp")?K.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&&G<this.maxRetries-1){await this.sleep(this.backoffFactor*Math.pow(2,G));continue}return J}catch(X){if(Q=X,X?.response?.status===502&&G<this.maxRetries-1){await this.sleep(this.backoffFactor*Math.pow(2,G));continue}throw X}throw Q??Error("Unexpected HTTP client error")}sleep($){return new Promise((Y)=>setTimeout(Y,$*1000))}post($,Y,Q){return this.request({method:"post",url:$,data:Y,headers:Q?.headers,timeout:Q?.timeoutMs})}postMultipart($,Y,Q){return this.request({method:"post",url:$,data:Y,headers:Q?.headers,timeout:Q?.timeoutMs})}get($,Y){return this.request({method:"get",url:$,headers:Y})}delete($,Y){return this.request({method:"delete",url:$,headers:Y})}patch($,Y,Q){return this.request({method:"patch",url:$,data:Y,headers:Q?.headers,timeout:Q?.timeoutMs})}prepareHeaders($){let Y={};if($)Y["x-idempotency-key"]=$;return Y}},H0,$5,r4="/v2/search/research",P2=class{constructor($){this.http=$}http;async searchPapers($,Y={}){if(!$||!$.trim())throw Error("query cannot be empty");if(Y.k!=null&&Y.k<=0)throw Error("k must be positive");let Q=new URLSearchParams;o(Q,"query",$),o(Q,"k",Y.k),o(Q,"authors",Y.authors),o(Q,"categories",Y.categories),o(Q,"from",Y.from),o(Q,"to",Y.to);try{let G=await this.http.get(e4(`${r4}/papers`,Q));if(G.status!==200)A(G,"search papers");return G.data}catch(G){return $1(G,"search papers")}}async getPaper($,Y={}){if(!$||!$.trim())throw Error("id cannot be empty");if(Y.k!=null&&Y.query==null)throw Error("k is only valid together with query");if(Y.k!=null&&Y.k<=0)throw Error("k must be positive");let Q=new URLSearchParams;o(Q,"query",Y.query),o(Q,"k",Y.k);try{let G=await this.http.get(e4(`${r4}/papers/${encodeURIComponent($)}`,Q));if(G.status!==200)A(G,"get paper");return G.data}catch(G){return $1(G,"get paper")}}async similarPapers($,Y){if(!$||!$.trim())throw Error("id cannot be empty");if(!Y?.intent||!Y.intent.trim())throw Error("intent cannot be empty");if(Y.k!=null&&Y.k<=0)throw Error("k must be positive");let Q=new URLSearchParams;if(o(Q,"intent",Y.intent),o(Q,"mode",Y.mode),o(Q,"k",Y.k),Y.rerank!=null)o(Q,"rerank",Y.rerank);o(Q,"anchor",Y.anchor);try{let G=await this.http.get(e4(`${r4}/papers/${encodeURIComponent($)}/similar`,Q));if(G.status!==200)A(G,"find similar papers");return G.data}catch(G){return $1(G,"find similar papers")}}async searchGithub($,Y={}){if(!$||!$.trim())throw Error("query cannot be empty");if(Y.k!=null&&Y.k<=0)throw Error("k must be positive");let Q=new URLSearchParams;o(Q,"query",$),o(Q,"k",Y.k);try{let G=await this.http.get(e4(`${r4}/github`,Q));if(G.status!==200)A(G,"search github");return G.data}catch(G){return $1(G,"search github")}}},A2=()=>{if(typeof globalThis>"u")return;let $=globalThis.WebSocket;return typeof $==="function"?$:void 0},q2=()=>typeof process<"u"&&!!process.versions?.node,Q4,t1,k2=async()=>{if(!q2())return;try{let $=await import("./index-1.0.9-n9ganzdc.mjs"),Y=$.WebSocket??$.default?.WebSocket;return typeof Y==="function"?Y:void 0}catch{return}},j2=async()=>{if(Q4)return Q4;let $=A2();if($)return Q4=$,Q4;if(!t1)t1=k2();return Q4=await t1,Q4},x2,v2=($)=>{if(typeof $==="string")return $;if(typeof Buffer<"u"&&Buffer.isBuffer($))return $.toString("utf8");let Y=(Q)=>{if(typeof Buffer<"u")return Buffer.from(Q.buffer,Q.byteOffset,Q.byteLength).toString("utf8");return x2?.decode(Q)};if(ArrayBuffer.isView($))return Y($);if($ instanceof ArrayBuffer)return Y(new Uint8Array($));return},b2,o1=class{http;_research;isCloudService($){return $.includes("api.firecrawl.dev")}constructor($={}){let Y=typeof $==="string"?{apiKey:$}:$,Q=(Y.apiKey??process.env.FIRECRAWL_API_KEY??"").trim(),G=(Y.apiUrl??process.env.FIRECRAWL_API_URL??"https://api.firecrawl.dev").replace(/\/$/,"");this.http=new A7({apiKey:Q,apiUrl:G,timeoutMs:Y.timeoutMs,maxRetries:Y.maxRetries,backoffFactor:Y.backoffFactor})}async scrape($,Y){return b7(this.http,$,Y)}async interact($,Y){return f7(this.http,$,Y)}async stopInteraction($){return y7(this.http,$)}async scrapeExecute($,Y){return this.interact($,Y)}async stopInteractiveBrowser($){return this.stopInteraction($)}async deleteScrapeBrowser($){return this.stopInteraction($)}async parse($,Y){return m7(this.http,$,Y)}async search($,Y={}){return g7(this.http,{query:$,...Y})}async feedback($){return l7(this.http,$)}async searchFeedback($,Y){return d7(this.http,$,Y)}get research(){if(!this._research)this._research=new P2(this.http);return this._research}async map($,Y){return c7(this.http,$,Y)}async startCrawl($,Y={}){return C$(this.http,{url:$,...Y})}async getCrawlStatus($,Y){return Q5(this.http,$,Y)}async cancelCrawl($){return i7(this.http,$)}async crawl($,Y={}){return a7(this.http,{url:$,...Y},Y.pollInterval,Y.timeout)}async getCrawlErrors($){return t7(this.http,$)}async getActiveCrawls(){return s7(this.http)}async crawlParamsPreview($,Y){return o7(this.http,$,Y)}async createMonitor($){return H2(this.http,$)}async listMonitors($){return T2(this.http,$)}async getMonitor($){return C2(this.http,$)}async updateMonitor($,Y){return I2(this.http,$,Y)}async deleteMonitor($){return R2(this.http,$)}async runMonitor($){return D2(this.http,$)}async listMonitorChecks($,Y){return S2(this.http,$,Y)}async getMonitorCheck($,Y,Q){return w2(this.http,$,Y,Q)}async startBatchScrape($,Y){return I$(this.http,$,Y)}async getBatchScrapeStatus($,Y){return G5(this.http,$,Y)}async getBatchScrapeErrors($){return e7(this.http,$)}async cancelBatchScrape($){return r7(this.http,$)}async batchScrape($,Y){return Y2(this.http,$,Y)}async startExtract($){return R$(this.http,$)}async getExtractStatus($){return D$(this.http,$)}async extract($){return X2(this.http,$)}async startAgent($){return S$(this.http,$)}async getAgentStatus($){return w$(this.http,$)}async agent($){return J2(this.http,$)}async cancelAgent($){return N2(this.http,$)}async browser($={}){return K2(this.http,$)}async browserExecute($,Y){return M2(this.http,$,Y)}async deleteBrowser($){return V2(this.http,$)}async listBrowsers($={}){return z2(this.http,$)}async getConcurrency(){return B2(this.http)}async getCreditUsage(){return U2(this.http)}async getTokenUsage(){return L2(this.http)}async getCreditUsageHistorical($){return F2(this.http,$)}async getTokenUsageHistorical($){return O2(this.http,$)}async getQueueStatus(){return _2(this.http)}watcher($,Y={}){return new b2(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($)}},f2,P,y2=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-ZZWOLTXM-1.0.9-z6aewhjx.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 Q=Y||"https://api.firecrawl.dev";if(this.isCloudService(Q)&&typeof $!=="string")throw new P("No API key provided",401);this.apiKey=$||"",this.apiUrl=Q,this.init()}async scrapeUrl($,Y){let Q={"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},G={url:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};if(G?.extract?.schema)G={...G,extract:{...G.extract,schema:W0(G.extract.schema)}};if(G?.jsonOptions?.schema)G={...G,jsonOptions:{...G.jsonOptions,schema:W0(G.jsonOptions.schema)}};try{let X=await I0.post(this.apiUrl+"/v1/scrape",G,{headers:Q,timeout:Y?.timeout!==void 0?Y.timeout+5000:void 0});if(X.status===200){let W=X.data;if(W.success)return{success:!0,warning:W.warning,error:W.error,...W.data};else throw new P(`Failed to scrape URL. Error: ${W.error}`,X.status)}else this.handleError(X,"scrape URL")}catch(X){this.handleError(X.response,"scrape URL")}return{success:!1,error:"Internal server error."}}async search($,Y){let Q={"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},G={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(G?.scrapeOptions?.extract?.schema)G={...G,scrapeOptions:{...G.scrapeOptions,extract:{...G.scrapeOptions.extract,schema:W0(G.scrapeOptions.extract.schema)}}};try{let X=await this.postRequest(this.apiUrl+"/v1/search",G,Q);if(X.status===200){let W=X.data;if(W.success)return{success:!0,data:W.data,warning:W.warning};else throw new P(`Failed to search. Error: ${W.error}`,X.status)}else this.handleError(X,"search")}catch(X){if(X.response?.data?.error)throw new P(`Request failed with status code ${X.response.status}. Error: ${X.response.data.error} ${X.response.data.details?` - ${JSON.stringify(X.response.data.details)}`:""}`,X.response.status);else throw new P(X.message,500)}return{success:!1,error:"Internal server error.",data:[]}}async crawlUrl($,Y,Q=2,G){let X=this.prepareHeaders(G),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,Q)}else this.handleError(Z,"start crawl job")}catch(Z){if(Z.response?.data?.error)throw new P(`Request failed with status code ${Z.response.status}. Error: ${Z.response.data.error} ${Z.response.data.details?` - ${JSON.stringify(Z.response.data.details)}`:""}`,Z.response.status);else throw new P(Z.message,500)}return{success:!1,error:"Internal server error."}}async asyncCrawlUrl($,Y,Q){let G=this.prepareHeaders(Q),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,G);if(W.status===200)return W.data;else this.handleError(W,"start crawl job")}catch(W){if(W.response?.data?.error)throw new P(`Request failed with status code ${W.response.status}. Error: ${W.response.data.error} ${W.response.data.details?` - ${JSON.stringify(W.response.data.details)}`:""}`,W.response.status);else throw new P(W.message,500)}return{success:!1,error:"Internal server error."}}async checkCrawlStatus($,Y=!1,Q,G,X){if(!$)throw new P("No crawl ID provided",400);let W=this.prepareHeaders(),Z=new URL(Q??`${this.apiUrl}/v1/crawl/${$}`);if(G!==void 0)Z.searchParams.set("skip",G.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 K=J.data.data;if(Y&&J.data.status==="completed"){let V=J.data;if("data"in V){let z=V.data;while(typeof V==="object"&&"next"in V){if(z.length===0)break;V=(await this.getRequest(V.next,W)).data,z=z.concat(V.data)}K=z}}let M={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:K};if(!J.data.success&&J.data.error)M={...M,success:!1,error:J.data.error};if(J.data.next)M.next=J.data.next;return M}else this.handleError(J,"check crawl status")}catch(J){throw new P(J.message,500)}return{success:!1,error:"Internal server error."}}async checkCrawlErrors($){let Y=this.prepareHeaders();try{let Q=await this.deleteRequest(`${this.apiUrl}/v1/crawl/${$}/errors`,Y);if(Q.status===200)return Q.data;else this.handleError(Q,"check crawl errors")}catch(Q){throw new P(Q.message,500)}return{success:!1,error:"Internal server error."}}async cancelCrawl($){let Y=this.prepareHeaders();try{let Q=await this.deleteRequest(`${this.apiUrl}/v1/crawl/${$}`,Y);if(Q.status===200)return Q.data;else this.handleError(Q,"cancel crawl job")}catch(Q){throw new P(Q.message,500)}return{success:!1,error:"Internal server error."}}async crawlUrlAndWatch($,Y,Q){let G=await this.asyncCrawlUrl($,Y,Q);if(G.success&&G.id){let X=G.id;return new F$(X,this)}throw new P("Crawl job failed to start",400)}async mapUrl($,Y){let Q=this.prepareHeaders(),G={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",G,Q);if(X.status===200)return X.data;else this.handleError(X,"map")}catch(X){throw new P(X.message,500)}return{success:!1,error:"Internal server error."}}async batchScrapeUrls($,Y,Q=2,G,X,W,Z){let J=this.prepareHeaders(G),K={urls:$,webhook:X,ignoreInvalidURLs:W,maxConcurrency:Z,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};if(K?.extract?.schema)K={...K,extract:{...K.extract,schema:W0(K.extract.schema)}};if(K?.jsonOptions?.schema)K={...K,jsonOptions:{...K.jsonOptions,schema:W0(K.jsonOptions.schema)}};try{let M=await this.postRequest(this.apiUrl+"/v1/batch/scrape",K,J);if(M.status===200){let V=M.data.id;return this.monitorJobStatus(V,J,Q)}else this.handleError(M,"start batch scrape job")}catch(M){if(M.response?.data?.error)throw new P(`Request failed with status code ${M.response.status}. Error: ${M.response.data.error} ${M.response.data.details?` - ${JSON.stringify(M.response.data.details)}`:""}`,M.response.status);else throw new P(M.message,500)}return{success:!1,error:"Internal server error."}}async asyncBatchScrapeUrls($,Y,Q,G,X){let W=this.prepareHeaders(Q),Z={urls:$,webhook:G,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 P(`Request failed with status code ${J.response.status}. Error: ${J.response.data.error} ${J.response.data.details?` - ${JSON.stringify(J.response.data.details)}`:""}`,J.response.status);else throw new P(J.message,500)}return{success:!1,error:"Internal server error."}}async batchScrapeUrlsAndWatch($,Y,Q,G,X){let W=await this.asyncBatchScrapeUrls($,Y,Q,G,X);if(W.success&&W.id){let Z=W.id;return new F$(Z,this)}throw new P("Batch scrape job failed to start",400)}async checkBatchScrapeStatus($,Y=!1,Q,G,X){if(!$)throw new P("No batch scrape ID provided",400);let W=this.prepareHeaders(),Z=new URL(Q??`${this.apiUrl}/v1/batch/scrape/${$}`);if(G!==void 0)Z.searchParams.set("skip",G.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 K=J.data.data;if(Y&&J.data.status==="completed"){let V=J.data;if("data"in V){let z=V.data;while(typeof V==="object"&&"next"in V){if(z.length===0)break;V=(await this.getRequest(V.next,W)).data,z=z.concat(V.data)}K=z}}let M={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:K};if(!J.data.success&&J.data.error)M={...M,success:!1,error:J.data.error};if(J.data.next)M.next=J.data.next;return M}else this.handleError(J,"check batch scrape status")}catch(J){throw new P(J.message,500)}return{success:!1,error:"Internal server error."}}async checkBatchScrapeErrors($){let Y=this.prepareHeaders();try{let Q=await this.deleteRequest(`${this.apiUrl}/v1/batch/scrape/${$}/errors`,Y);if(Q.status===200)return Q.data;else this.handleError(Q,"check batch scrape errors")}catch(Q){throw new P(Q.message,500)}return{success:!1,error:"Internal server error."}}async extract($,Y){let Q=this.prepareHeaders(),G={urls:$,...Y},X=Y?.schema?W0(Y.schema):void 0;try{let W=await this.postRequest(this.apiUrl+"/v1/extract",{...G,schema:X,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`},Q);if(W.status===200){let Z=W.data.id,J;do{let K=await this.getRequest(`${this.apiUrl}/v1/extract/${Z}`,Q);if(J=K.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 P(`Failed to extract data. Error: ${J.error}`,K.status);else if(J.status==="failed"||J.status==="cancelled")throw new P(`Extract job ${J.status}. Error: ${J.error}`,K.status);await new Promise((M)=>setTimeout(M,1000))}while(J.status!=="completed")}else this.handleError(W,"extract")}catch(W){throw new P(W.message,500,W.response?.data?.details)}return{success:!1,error:"Internal server error."}}async asyncExtract($,Y,Q){let G=this.prepareHeaders(Q),X={urls:$,...Y},W=Y?.schema?W0(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}`},G);if(Z.status===200)return Z.data;else this.handleError(Z,"start extract job")}catch(Z){throw new P(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 P(Y.message,500)}}prepareHeaders($){return{"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`,...$?{"x-idempotency-key":$}:{}}}postRequest($,Y,Q){return I0.post($,Y,{headers:Q,timeout:Y?.timeout?Y.timeout+5000:void 0})}async getRequest($,Y){try{return await I0.get($,{headers:Y})}catch(Q){if(Q instanceof o4&&Q.response)return Q.response;else throw Q}}async deleteRequest($,Y){try{return await I0.delete($,{headers:Y})}catch(Q){if(Q instanceof o4&&Q.response)return Q.response;else throw Q}}async monitorJobStatus($,Y,Q){let G=0,X=0,W=3;while(!0)try{let Z=await this.getRequest(`${this.apiUrl}/v1/crawl/${$}`,Y);if(Z.status===200){G=0,X=0;let J=Z.data;if(J.status==="completed")if("data"in J){let K=J.data;while(typeof J==="object"&&"next"in J){if(K.length===0)break;Z=await this.getRequest(J.next,Y),J=Z.data,K=K.concat(J.data)}return J.data=K,J}else throw new P("Crawl job completed but no data was returned",500);else if(["active","paused","pending","queued","waiting","scraping"].includes(J.status))Q=Math.max(Q,2),await new Promise((K)=>setTimeout(K,Q*1000));else throw new P(`Crawl job failed or was stopped. Status: ${J.status}`,500)}else if(G++,G>=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((K)=>setTimeout(K,J));continue}throw new P(Z,500)}}isRetryableError($){if($ instanceof o4){if(!$.response){let Y=$.code,Q=$.message?.toLowerCase()||"";return Y==="ECONNRESET"||Y==="ETIMEDOUT"||Y==="ENOTFOUND"||Y==="ECONNREFUSED"||Q.includes("socket hang up")||Q.includes("network error")||Q.includes("timeout")}if($.response?.status===408||$.response?.status===504)return!0}if($&&typeof $==="object"){let Y=$.code,Q=$.message?.toLowerCase()||"";if(Y==="ECONNRESET"||Y==="ETIMEDOUT"||Y==="ENOTFOUND"||Y==="ECONNREFUSED"||Q.includes("socket hang up")||Q.includes("network error")||Q.includes("timeout"))return!0;if($.response?.status===408||$.response?.status===504)return!0}return!1}handleError($,Y){if(!$)throw new P(`No response received while trying to ${Y}. This may be a network error or the server is unreachable.`,0);if([400,402,403,408,409,500].includes($.status)){let Q=$.data.error||"Unknown error occurred",G=$.data.details?` - ${JSON.stringify($.data.details)}`:"";throw new P(`Failed to ${Y}. Status code: ${$.status}. Error: ${Q}${G}`,$.status,$?.data?.details)}else throw new P(`Unexpected error occurred while trying to ${Y}. Status code: ${$.status}`,$.status)}async deepResearch($,Y,Q,G){try{let X=await this.asyncDeepResearch($,Y);if(!X.success||"error"in X)return{success:!1,error:"error"in X?X.error:"Unknown error"};if(!X.id)throw new P("Failed to start research. No job ID returned.",500);let W=X.id,Z,J=0,K=0;while(!0){if(Z=await this.checkDeepResearchStatus(W),"error"in Z&&!Z.success)return Z;if(Q&&Z.activities){let M=Z.activities.slice(J);for(let V of M)Q(V);J=Z.activities.length}if(G&&Z.sources){let M=Z.sources.slice(K);for(let V of M)G(V);K=Z.sources.length}if(Z.status==="completed")return Z;if(Z.status==="failed")throw new P(`Research job ${Z.status}. Error: ${Z.error}`,500);if(Z.status!=="processing")break;await new Promise((M)=>setTimeout(M,2000))}return{success:!1,error:"Research job terminated unexpectedly"}}catch(X){throw new P(X.message,500,X.response?.data?.details)}}async asyncDeepResearch($,Y){let Q=this.prepareHeaders(),G={query:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};if(G?.jsonOptions?.schema)G={...G,jsonOptions:{...G.jsonOptions,schema:W0(G.jsonOptions.schema)}};try{let X=await this.postRequest(`${this.apiUrl}/v1/deep-research`,G,Q);if(X.status===200)return X.data;else this.handleError(X,"start deep research")}catch(X){if(X.response?.data?.error)throw new P(`Request failed with status code ${X.response.status}. Error: ${X.response.data.error} ${X.response.data.details?` - ${JSON.stringify(X.response.data.details)}`:""}`,X.response.status);else throw new P(X.message,500)}return{success:!1,error:"Internal server error."}}async checkDeepResearchStatus($){let Y=this.prepareHeaders();try{let Q=await this.getRequest(`${this.apiUrl}/v1/deep-research/${$}`,Y);if(Q.status===200)return Q.data;else if(Q.status===404)throw new P("Deep research job not found",404);else this.handleError(Q,"check deep research status")}catch(Q){if(Q.response?.data?.error)throw new P(`Request failed with status code ${Q.response.status}. Error: ${Q.response.data.error} ${Q.response.data.details?` - ${JSON.stringify(Q.response.data.details)}`:""}`,Q.response.status);else throw new P(Q.message,500)}return{success:!1,error:"Internal server error."}}async __deepResearch($,Y,Q){try{let G=await this.__asyncDeepResearch($,Y);if(!G.success||"error"in G)return{success:!1,error:"error"in G?G.error:"Unknown error"};if(!G.id)throw new P("Failed to start research. No job ID returned.",500);let X=G.id,W,Z=0;while(!0){if(W=await this.__checkDeepResearchStatus(X),"error"in W&&!W.success)return W;if(Q&&W.activities){let J=W.activities.slice(Z);for(let K of J)Q(K);Z=W.activities.length}if(W.status==="completed")return W;if(W.status==="failed")throw new P(`Research job ${W.status}. Error: ${W.error}`,500);if(W.status!=="processing")break;await new Promise((J)=>setTimeout(J,2000))}return{success:!1,error:"Research job terminated unexpectedly"}}catch(G){throw new P(G.message,500,G.response?.data?.details)}}async __asyncDeepResearch($,Y){let Q=this.prepareHeaders();try{let G={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`,G,Q);if(X.status===200)return X.data;else this.handleError(X,"start deep research")}catch(G){if(G.response?.data?.error)throw new P(`Request failed with status code ${G.response.status}. Error: ${G.response.data.error} ${G.response.data.details?` - ${JSON.stringify(G.response.data.details)}`:""}`,G.response.status);else throw new P(G.message,500)}return{success:!1,error:"Internal server error."}}async __checkDeepResearchStatus($){let Y=this.prepareHeaders();try{let Q=await this.getRequest(`${this.apiUrl}/v1/deep-research/${$}`,Y);if(Q.status===200)return Q.data;else if(Q.status===404)throw new P("Deep research job not found",404);else this.handleError(Q,"check deep research status")}catch(Q){if(Q.response?.data?.error)throw new P(`Request failed with status code ${Q.response.status}. Error: ${Q.response.data.error} ${Q.response.data.details?` - ${JSON.stringify(Q.response.data.details)}`:""}`,Q.response.status);else throw new P(Q.message,500)}return{success:!1,error:"Internal server error."}}async generateLLMsText($,Y){try{let Q=await this.asyncGenerateLLMsText($,Y);if(!Q.success||"error"in Q)return{success:!1,error:"error"in Q?Q.error:"Unknown error"};if(!Q.id)throw new P("Failed to start LLMs.txt generation. No job ID returned.",500);let G=Q.id,X;while(!0){if(X=await this.checkGenerateLLMsTextStatus(G),"error"in X&&!X.success)return X;if(X.status==="completed")return X;if(X.status==="failed")throw new P(`LLMs.txt generation job ${X.status}. Error: ${X.error}`,500);if(X.status!=="processing")break;await new Promise((W)=>setTimeout(W,2000))}return{success:!1,error:"LLMs.txt generation job terminated unexpectedly"}}catch(Q){throw new P(Q.message,500,Q.response?.data?.details)}}async asyncGenerateLLMsText($,Y){let Q=this.prepareHeaders(),G={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`,G,Q);if(X.status===200)return X.data;else this.handleError(X,"start LLMs.txt generation")}catch(X){if(X.response?.data?.error)throw new P(`Request failed with status code ${X.response.status}. Error: ${X.response.data.error} ${X.response.data.details?` - ${JSON.stringify(X.response.data.details)}`:""}`,X.response.status);else throw new P(X.message,500)}return{success:!1,error:"Internal server error."}}async checkGenerateLLMsTextStatus($){let Y=this.prepareHeaders();try{let Q=await this.getRequest(`${this.apiUrl}/v1/llmstxt/${$}`,Y);if(Q.status===200)return Q.data;else if(Q.status===404)throw new P("LLMs.txt generation job not found",404);else this.handleError(Q,"check LLMs.txt generation status")}catch(Q){if(Q.response?.data?.error)throw new P(`Request failed with status code ${Q.response.status}. Error: ${Q.response.data.error} ${Q.response.data.details?` - ${JSON.stringify(Q.response.data.details)}`:""}`,Q.response.status);else throw new P(Q.message,500)}return{success:!1,error:"Internal server error."}}async getQueueStatus(){let $=this.prepareHeaders();try{let Y=await this.getRequest(`${this.apiUrl}/v1/team/queue-status`,$);if(Y.status===200)return Y.data;else this.handleError(Y,"get queue status")}catch(Y){if(Y.response?.data?.error)throw new P(`Request failed with status code ${Y.response.status}. Error: ${Y.response.data.error} ${Y.response.data.details?` - ${JSON.stringify(Y.response.data.details)}`:""}`,Y.response.status);else throw new P(Y.message,500)}return{success:!1,error:"Internal server error."}}async getCreditUsage(){let $=this.prepareHeaders();try{let Y=await this.getRequest(`${this.apiUrl}/v1/team/credit-usage`,$);if(Y.status===200)return Y.data;else this.handleError(Y,"get credit usage")}catch(Y){if(Y.response?.data?.error)throw new P(`Request failed with status code ${Y.response.status}. Error: ${Y.response.data.error} ${Y.response.data.details?` - ${JSON.stringify(Y.response.data.details)}`:""}`,Y.response.status);else throw new P(Y.message,500)}return{success:!1,error:"Internal server error."}}async getTokenUsage(){let $=this.prepareHeaders();try{let Y=await this.getRequest(`${this.apiUrl}/v1/team/token-usage`,$);if(Y.status===200)return Y.data;else this.handleError(Y,"get token usage")}catch(Y){if(Y.response?.data?.error)throw new P(`Request failed with status code ${Y.response.status}. Error: ${Y.response.data.error} ${Y.response.data.details?` - ${JSON.stringify(Y.response.data.details)}`:""}`,Y.response.status);else throw new P(Y.message,500)}return{success:!1,error:"Internal server error."}}async getCreditUsageHistorical($){let Y=this.prepareHeaders();try{let Q=`${this.apiUrl}/v1/team/credit-usage/historical${$?"?byApiKey=true":""}`,G=await this.getRequest(Q,Y);if(G.status===200)return G.data;else this.handleError(G,"get credit usage historical")}catch(Q){if(Q.response?.data?.error)throw new P(`Request failed with status code ${Q.response.status}. Error: ${Q.response.data.error} ${Q.response.data.details?` - ${JSON.stringify(Q.response.data.details)}`:""}`,Q.response.status);else throw new P(Q.message,500)}return{success:!1,error:"Internal server error."}}async getTokenUsageHistorical($){let Y=this.prepareHeaders();try{let Q=`${this.apiUrl}/v1/team/token-usage/historical${$?"?byApiKey=true":""}`,G=await this.getRequest(Q,Y);if(G.status===200)return G.data;else this.handleError(G,"get token usage historical")}catch(Q){if(Q.response?.data?.error)throw new P(`Request failed with status code ${Q.response.status}. Error: ${Q.response.data.error} ${Q.response.data.details?` - ${JSON.stringify(Q.response.data.details)}`:""}`,Q.response.status);else throw new P(Q.message,500)}return{success:!1,error:"Internal server error."}}},F$,r1,PW;var m2=C(()=>{E7();n1();w7();n1();H0=class extends Error{status;code;details;jobId;constructor($,Y,Q,G,X){super($);this.name="FirecrawlSdkError",this.status=Y,this.code=Q,this.details=G,this.jobId=X}},$5=class extends H0{timeoutSeconds;constructor($,Y,Q="batch"){let G=Q==="batch"?"batch scrape":"crawl";super(`${G.charAt(0).toUpperCase()+G.slice(1)} job ${$} did not complete within ${Y} seconds`,void 0,"JOB_TIMEOUT",void 0,$);this.name="JobTimeoutError",this.timeoutSeconds=Y}};x2=typeof TextDecoder<"u"?new TextDecoder:void 0,b2=class extends E2{http;jobId;kind;pollInterval;timeout;ws;closed=!1;emittedDocumentKeys=new Set;constructor($,Y,Q={}){super();this.http=$,this.jobId=Y,this.kind=Q.kind??"crawl",this.pollInterval=Q.pollInterval??2,this.timeout=Q.timeout}buildWsUrl(){let Y=this.http.getApiUrl().replace(/^http/,"ws"),Q=this.kind==="crawl"?`/v2/crawl/${this.jobId}`:`/v2/batch/scrape/${this.jobId}`;return`${Y}${Q}`}async start(){return new Promise(($,Y)=>{let Q=()=>{X(),$()},G=(W)=>{X(),$()},X=()=>{this.removeListener("done",Q),this.removeListener("error",G)};this.on("done",Q),this.on("error",G),(async()=>{try{let W=this.buildWsUrl(),Z=await j2();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(),Q=this.timeout?this.timeout*1000:void 0;$.onmessage=(G)=>{try{let X=v2(G.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 K=W.data||{};this.emitDocuments(K.data||[]),this.emitSnapshot(K);return}if(Z==="document"){let K=W.data;if(K)this.emitDocuments([K]);return}if(Z==="done"){let K=W.data||W,M=K.data||[];if(M.length)this.emitDocuments(M);this.emit("done",{status:"completed",data:M,id:this.jobId,total:K.total,completed:K.completed,creditsUsed:K.creditsUsed}),this.close();return}let J=W.data||W;if(J&&J.status)this.emitSnapshot(J)}catch{}if(Q&&Date.now()-Y>Q)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 Q=this.documentKey(Y);if(this.emittedDocumentKeys.has(Q))continue;this.emittedDocumentKeys.add(Q),this.emit("document",{...Y,id:this.jobId})}}emitSnapshot($){let Y=$.status,Q=$.data||[],G=this.kind==="crawl"?{id:this.jobId,status:Y,completed:$.completed??0,total:$.total??0,creditsUsed:$.creditsUsed,expiresAt:$.expiresAt,next:$.next??null,data:Q}:{id:this.jobId,status:Y,completed:$.completed??0,total:$.total??0,creditsUsed:$.creditsUsed,expiresAt:$.expiresAt,next:$.next??null,data:Q};if(this.emit("snapshot",G),["completed","failed","cancelled"].includes(Y))this.emit("done",{status:Y,data:Q,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 Q=this.kind==="crawl"?await Q5(this.http,this.jobId):await G5(this.http,this.jobId);if(this.emitDocuments(Q.data||[]),this.emit("snapshot",Q),["completed","failed","cancelled"].includes(Q.status)){this.emit("done",{status:Q.status,data:Q.data,id:this.jobId,total:Q.total??0,completed:Q.completed??0,creditsUsed:Q.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((Q)=>setTimeout(Q,Math.max(1000,this.pollInterval*1000)))}}close(){if(this.closed=!0,this.ws&&this.ws.close)this.ws.close()}},f2=class extends EventTarget{dispatchTypedEvent($,Y){return super.dispatchEvent(Y)}},P=class extends Error{statusCode;details;constructor($,Y,Q){super($);this.statusCode=Y,this.details=Q}},F$=class extends f2{ws;data;status;id;constructor($,Y){super();this.id=$;let Q=Y.apiUrl.replace(/^http/,"ws");this.ws=new WebSocket(`${Q}/v1/crawl/${$}`,Y.apiKey),this.status="scraping",this.data=[];let G=(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);G(W)}catch(W){console.error("Error on message",W)}}).bind(this),this.ws.onclose=((X)=>{try{let W=JSON.parse(X.reason);G(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()}},r1=class extends o1{_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 y2(this._v1Opts);return this._v1}};(function(){for(let Y of Object.getOwnPropertyNames(o1.prototype)){if(Y==="constructor")continue;if(Object.prototype.hasOwnProperty.call(r1.prototype,Y))continue;let Q=Object.getOwnPropertyDescriptor(o1.prototype,Y);if(Q)Object.defineProperty(r1.prototype,Y,Q)}})();PW=r1});m2();export{PW as default,b2 as Watcher,H0 as SdkError,P2 as ResearchClient,$5 as JobTimeoutError,o1 as FirecrawlClient,y2 as FirecrawlAppV1,r1 as Firecrawl};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$qa as p,Mqa as a,Nqa as b,Oqa as c,Pqa as d,Qqa as e,Rqa as f,Sqa as g,Tqa as h,Uqa as i,Vqa as j,Wqa as k,Xqa as l,Yqa as m,Zqa as n,_qa as o,ara as q,bra as r,cra as s}from"./cli-1.0.9-1f0bxa2a.mjs";import"./cli-1.0.9-tzke31bj.mjs";import"./cli-1.0.9-aasy7y47.mjs";import"./cli-1.0.9-j2832pm5.mjs";s();export{l as toFormData,k as spread,q as mergeConfig,e as isCancel,j as isAxiosError,p as getAdapter,o as formToJSON,a as default,r as create,h as all,g as VERSION,n as HttpStatusCode,d as CanceledError,f as CancelToken,i as Cancel,m as AxiosHeaders,c as AxiosError,b as Axios};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{pra as a}from"./cli-1.0.9-eeyg3kcg.mjs";import"./cli-1.0.9-593a1k2m.mjs";import"./cli-1.0.9-j2832pm5.mjs";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{m9 as G}from"./cli-1.0.9-2hgg2mnb.mjs";import{nra as _,ora as U}from"./cli-1.0.9-hf6frb0e.mjs";import{wra as X}from"./cli-1.0.9-593a1k2m.mjs";import{Bra as l,Cra as E,xra as K,zra as B}from"./cli-1.0.9-j2832pm5.mjs";var v=B((k)=>{Object.defineProperty(k,"__esModule",{value:!0});k.resolveHttpHandlerRuntimeConfig=k.getHttpHandlerExtensionConfiguration=k.isValidHostname=k.HttpResponse=k.HttpRequest=k.Fields=k.Field=void 0;var H=X();Object.defineProperty(k,"Field",{enumerable:!0,get:function(){return H.Field}});Object.defineProperty(k,"Fields",{enumerable:!0,get:function(){return H.Fields}});Object.defineProperty(k,"HttpRequest",{enumerable:!0,get:function(){return H.HttpRequest}});Object.defineProperty(k,"HttpResponse",{enumerable:!0,get:function(){return H.HttpResponse}});Object.defineProperty(k,"isValidHostname",{enumerable:!0,get:function(){return H.isValidHostname}});Object.defineProperty(k,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return H.getHttpHandlerExtensionConfiguration}});Object.defineProperty(k,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return H.resolveHttpHandlerRuntimeConfig}})});var J=B((C)=>{var Q=_(),T=U(),P=G(),W=v(),F=E("node:crypto"),q=E("node:fs"),Z=E("node:os"),A=E("node:path");class ${profileData;init;callerClientConfig;static REFRESH_THRESHOLD=300000;constructor(e,n,t){this.profileData=e,this.init=n,this.callerClientConfig=t}async loadCredentials(){let e=await this.loadToken();if(!e)throw new T.CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`,{tryNextLink:!1,logger:this.logger});let n=e.accessToken,t=Date.now();if(new Date(n.expiresAt).getTime()-t<=$.REFRESH_THRESHOLD)return this.refresh(e);return{accessKeyId:n.accessKeyId,secretAccessKey:n.secretAccessKey,sessionToken:n.sessionToken,accountId:n.accountId,expiration:new Date(n.expiresAt)}}get logger(){return this.init?.logger}get loginSession(){return this.profileData.login_session}async refresh(e){let{SigninClient:n,CreateOAuth2TokenCommand:t}=await import("./index-1.0.9-ytvws96r.mjs").then((m)=>K(m.default)),{logger:s,userAgentAppId:c}=this.callerClientConfig??{},r=((h)=>{return h?.metadata?.handlerProtocol==="h2"})(this.callerClientConfig?.requestHandler)?void 0:this.callerClientConfig?.requestHandler,a=this.profileData.region??await this.callerClientConfig?.region?.()??process.env.AWS_REGION,i=new n({credentials:{accessKeyId:"",secretAccessKey:""},region:a,requestHandler:r,logger:s,userAgentAppId:c,...this.init?.clientConfig});this.createDPoPInterceptor(i.middlewareStack);let x={tokenInput:{clientId:e.clientId,refreshToken:e.refreshToken,grantType:"refresh_token"}};try{let h=await i.send(new t(x)),{accessKeyId:y,secretAccessKey:d,sessionToken:I}=h.tokenOutput?.accessToken??{},{refreshToken:S,expiresIn:m}=h.tokenOutput??{};if(!y||!d||!I||!S)throw new T.CredentialsProviderError("Token refresh response missing required fields",{logger:this.logger,tryNextLink:!1});let R=(m??900)*1000,b=new Date(Date.now()+R),j={...e,accessToken:{...e.accessToken,accessKeyId:y,secretAccessKey:d,sessionToken:I,expiresAt:b.toISOString()},refreshToken:S};await this.saveToken(j);let o=j.accessToken;return{accessKeyId:o.accessKeyId,secretAccessKey:o.secretAccessKey,sessionToken:o.sessionToken,accountId:o.accountId,expiration:b}}catch(h){if(h.name==="AccessDeniedException"){let y=h.error,d;switch(y){case"TOKEN_EXPIRED":d="Your session has expired. Please reauthenticate.";break;case"USER_CREDENTIALS_CHANGED":d="Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password.";break;case"INSUFFICIENT_PERMISSIONS":d="Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action.";break;default:d=`Failed to refresh token: ${String(h)}. Please re-authenticate using \`aws login\``}throw new T.CredentialsProviderError(d,{logger:this.logger,tryNextLink:!1})}throw new T.CredentialsProviderError(`Failed to refresh token: ${String(h)}. Please re-authenticate using aws login`,{logger:this.logger})}}async loadToken(){let e=this.getTokenFilePath();try{let n;try{n=await P.readFile(e,{ignoreCache:this.init?.ignoreCache})}catch{n=await q.promises.readFile(e,"utf8")}let t=JSON.parse(n),s=["accessToken","clientId","refreshToken","dpopKey"].filter((c)=>!t[c]);if(!t.accessToken?.accountId)s.push("accountId");if(s.length>0)throw new T.CredentialsProviderError(`Token validation failed, missing fields: ${s.join(", ")}`,{logger:this.logger,tryNextLink:!1});return t}catch(n){throw new T.CredentialsProviderError(`Failed to load token from ${e}: ${String(n)}`,{logger:this.logger,tryNextLink:!1})}}async saveToken(e){let n=this.getTokenFilePath(),t=A.dirname(n);try{await q.promises.mkdir(t,{recursive:!0})}catch(s){}await q.promises.writeFile(n,JSON.stringify(e,null,2),"utf8")}getTokenFilePath(){let e=process.env.AWS_LOGIN_CACHE_DIRECTORY??A.join(Z.homedir(),".aws","login","cache"),n=Buffer.from(this.loginSession,"utf8"),t=F.createHash("sha256").update(n).digest("hex");return A.join(e,`${t}.json`)}derToRawSignature(e){let n=2;if(e[n]!==2)throw Error("Invalid DER signature");n++;let t=e[n++],s=e.subarray(n,n+t);if(n+=t,e[n]!==2)throw Error("Invalid DER signature");n++;let c=e[n++],u=e.subarray(n,n+c);s=s[0]===0?s.subarray(1):s,u=u[0]===0?u.subarray(1):u;let r=Buffer.concat([Buffer.alloc(32-s.length),s]),a=Buffer.concat([Buffer.alloc(32-u.length),u]);return Buffer.concat([r,a])}createDPoPInterceptor(e){e.add((n)=>async(t)=>{if(W.HttpRequest.isInstance(t.request)){let s=t.request,c=`${s.protocol}//${s.hostname}${s.port?`:${s.port}`:""}${s.path}`,u=await this.generateDpop(s.method,c);s.headers={...s.headers,DPoP:u}}return n(t)},{step:"finalizeRequest",name:"dpopInterceptor",override:!0})}async generateDpop(e="POST",n){let t=await this.loadToken();try{let s=F.createPrivateKey({key:t.dpopKey,format:"pem",type:"sec1"}),u=F.createPublicKey(s).export({format:"der",type:"spki"}),r=-1;for(let b=0;b<u.length;b++)if(u[b]===4){r=b;break}let a=u.slice(r+1,r+33),i=u.slice(r+33,r+65),x={alg:"ES256",typ:"dpop+jwt",jwk:{kty:"EC",crv:"P-256",x:a.toString("base64url"),y:i.toString("base64url")}},h={jti:crypto.randomUUID(),htm:e,htu:n,iat:Math.floor(Date.now()/1000)},y=Buffer.from(JSON.stringify(x)).toString("base64url"),d=Buffer.from(JSON.stringify(h)).toString("base64url"),I=`${y}.${d}`,S=F.sign("sha256",Buffer.from(I),s),R=this.derToRawSignature(S).toString("base64url");return`${I}.${R}`}catch(s){throw new T.CredentialsProviderError(`Failed to generate Dpop proof: ${s instanceof Error?s.message:String(s)}`,{logger:this.logger,tryNextLink:!1})}}}var N=(e)=>async({callerClientConfig:n}={})=>{e?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");let t=await P.parseKnownFiles(e||{}),s=P.getProfileName({profile:e?.profile??n?.profile}),c=t[s];if(!c?.login_session)throw new T.CredentialsProviderError(`Profile ${s} does not contain login_session.`,{tryNextLink:!0,logger:e?.logger});let r=await new $(c,e,n).loadCredentials();return Q.setCredentialFeature(r,"CREDENTIALS_LOGIN","AD")};C.fromLoginCredentials=N});var L,O,w,p,ee=(e,n,t)=>{let s={EcsContainer:async(c)=>{let{fromHttp:u}=await import("./index-1.0.9-ythrtswh.mjs").then((m)=>K(m.default,1)),{fromContainerMetadata:r}=await import("./index-1.0.9-p2kz6wm8.mjs");return t?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"),async()=>O.chain(u(c??{}),r(c))().then(D)},Ec2InstanceMetadata:async(c)=>{t?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");let{fromInstanceMetadata:u}=await import("./index-1.0.9-p2kz6wm8.mjs");return async()=>u(c)().then(D)},Environment:async(c)=>{t?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");let{fromEnv:u}=await import("./index-1.0.9-ystczwgk.mjs");return async()=>u(c)().then(D)}};if(e in s)return s[e];else throw new O.CredentialsProviderError(`Unsupported credential source in profile ${n}. Got ${e}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,{logger:t})},D=(e)=>w.setCredentialFeature(e,"CREDENTIALS_PROFILE_NAMED_PROVIDER","p"),te=(e,{profile:n="default",logger:t}={})=>{return Boolean(e)&&typeof e==="object"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(ne(e,{profile:n,logger:t})||se(e,{profile:n,logger:t}))},ne=(e,{profile:n,logger:t})=>{let s=typeof e.source_profile==="string"&&typeof e.credential_source>"u";if(s)t?.debug?.(` ${n} isAssumeRoleWithSourceProfile source_profile=${e.source_profile}`);return s},se=(e,{profile:n,logger:t})=>{let s=typeof e.credential_source==="string"&&typeof e.source_profile>"u";if(s)t?.debug?.(` ${n} isCredentialSourceProfile credential_source=${e.credential_source}`);return s},re=async(e,n,t,s,c={},u)=>{t.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");let r=n[e],{source_profile:a,region:i}=r;if(!t.roleAssumer){let{getDefaultRoleAssumer:h}=await import("./index-1.0.9-kgymjzxf.mjs").then((m)=>K(m.default,1));t.roleAssumer=h({...t.clientConfig,credentialProviderLogger:t.logger,parentClientConfig:{...s,...t?.parentClientConfig,region:i??t?.parentClientConfig?.region??s?.region}},t.clientPlugins)}if(a&&a in c)throw new O.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${L.getProfileName(t)}. Profiles visited: `+Object.keys(c).join(", "),{logger:t.logger});t.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${a?`source_profile=[${a}]`:`profile=[${e}]`}`);let x=a?u(a,n,t,s,{...c,[a]:!0},V(n[a]??{})):(await ee(r.credential_source,e,t.logger)(t))();if(V(r))return x.then((h)=>w.setCredentialFeature(h,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"));else{let h={RoleArn:r.role_arn,RoleSessionName:r.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:r.external_id,DurationSeconds:parseInt(r.duration_seconds||"3600",10)},{mfa_serial:y}=r;if(y){if(!t.mfaCodeProvider)throw new O.CredentialsProviderError(`Profile ${e} requires multi-factor authentication, but no MFA code callback was provided.`,{logger:t.logger,tryNextLink:!1});h.SerialNumber=y,h.TokenCode=await t.mfaCodeProvider(y)}let d=await x;return t.roleAssumer(d,h).then((I)=>w.setCredentialFeature(I,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"))}},V=(e)=>{return!e.role_arn&&!!e.credential_source},ce=(e)=>{return Boolean(e&&e.login_session)},ue=async(e,n,t)=>{let s=await p.fromLoginCredentials({...n,profile:e})({callerClientConfig:t});return w.setCredentialFeature(s,"CREDENTIALS_PROFILE_LOGIN","AC")},he=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.credential_process==="string",ae=async(e,n)=>import("./index-1.0.9-xfjgkms3.mjs").then(({fromProcess:t})=>t({...e,profile:n})().then((s)=>w.setCredentialFeature(s,"CREDENTIALS_PROFILE_PROCESS","v"))),de=async(e,n,t={},s)=>{let{fromSSO:c}=await import("./index-1.0.9-kcnhr8fy.mjs");return c({profile:e,logger:t.logger,parentClientConfig:t.parentClientConfig,clientConfig:t.clientConfig})({callerClientConfig:s}).then((u)=>{if(n.sso_session)return w.setCredentialFeature(u,"CREDENTIALS_PROFILE_SSO","r");else return w.setCredentialFeature(u,"CREDENTIALS_PROFILE_SSO_LEGACY","t")})},ye=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string"),Y=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.aws_access_key_id==="string"&&typeof e.aws_secret_access_key==="string"&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1&&["undefined","string"].indexOf(typeof e.aws_account_id)>-1,g=async(e,n)=>{n?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");let t={accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token,...e.aws_credential_scope&&{credentialScope:e.aws_credential_scope},...e.aws_account_id&&{accountId:e.aws_account_id}};return w.setCredentialFeature(t,"CREDENTIALS_PROFILE","n")},ke=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.web_identity_token_file==="string"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1,we=async(e,n,t)=>import("./index-1.0.9-sy14c383.mjs").then((m)=>K(m.default,1)).then(({fromTokenFile:s})=>s({webIdentityTokenFile:e.web_identity_token_file,roleArn:e.role_arn,roleSessionName:e.role_session_name,roleAssumerWithWebIdentity:n.roleAssumerWithWebIdentity,logger:n.logger,parentClientConfig:n.parentClientConfig})({callerClientConfig:t}).then((c)=>w.setCredentialFeature(c,"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN","q"))),z=async(e,n,t,s,c={},u=!1)=>{let r=n[e];if(Object.keys(c).length>0&&Y(r))return g(r,t);if(u||te(r,{profile:e,logger:t.logger}))return re(e,n,t,s,c,z);if(Y(r))return g(r,t);if(ke(r))return we(r,t,s);if(he(r))return ae(t,e);if(ye(r))return await de(e,r,t,s);if(ce(r))return ue(e,t,s);throw new O.CredentialsProviderError(`Could not resolve credentials using profile: [${e}] in configuration/credentials file(s).`,{logger:t.logger})},Te=(e={})=>async({callerClientConfig:n}={})=>{e.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");let t=await L.parseKnownFiles(e);return z(L.getProfileName({profile:e.profile??n?.profile}),t,e,n)},Ee;var Ie=l(()=>{L=G(),O=U(),w=_(),p=J();Ee=Te});Ie();export{Ee as fromIni};export default {get fromIni(){return Ee}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l9 as a}from"./cli-1.0.9-m6k5afpm.mjs";import"./cli-1.0.9-593a1k2m.mjs";import"./cli-1.0.9-j2832pm5.mjs";export default a();
|