import{fh as a,gh as l}from"./cli-0.5.3-bkhcnkx5.mjs";import{hh as m,ih as c}from"./cli-0.5.3-k3htyvhx.mjs";import{NY as e,PY as n}from"./cli-0.5.3-vqmxwet2.mjs";import{Xma as s}from"./cli-0.5.3-0df3r78b.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};
