import{fh as a,gh as l}from"./cli-0.5.4-cx8fgzcf.mjs";import{hh as m,ih as c}from"./cli-0.5.4-ge4wkpcw.mjs";import{PY as e,RY as n}from"./cli-0.5.4-mn22gk7g.mjs";import{Zma as s}from"./cli-0.5.4-aacw1src.mjs";async function f(o,r){let t=await m();if(t.type==="message")return o(t.value),null;return e(a,{startingMessage:"Starting new login following /extra-usage. Exit with Ctrl-C to use existing account.",onDone:(i)=>{r.onChangeAPIKey(),o(i?"Login successful":"Login interrupted")}})}var g=s(()=>{l();c();n()});
export{f as dh,g as eh};
