import{$e as Xz,_e as r}from"./cli-0.5.3-saj9kxtt.mjs";import{LU as s,NU as Vz,VU as n,WU as Wz}from"./cli-0.5.3-hx550gz2.mjs";import{IW as l,KW as H,nX as Uz,pV as Nz}from"./cli-0.5.3-842pf3t4.mjs";import"./cli-0.5.3-wxead1ct.mjs";import"./cli-0.5.3-s1hz35ye.mjs";import"./cli-0.5.3-g0svn6bx.mjs";import{NY as G,OY as f,PY as T}from"./cli-0.5.3-vqmxwet2.mjs";import{QY as Jz}from"./cli-0.5.3-rch86nhn.mjs";import"./cli-0.5.3-ea94acj4.mjs";import"./cli-0.5.3-qg4a557t.mjs";import"./cli-0.5.3-t65dek0m.mjs";import"./cli-0.5.3-kavpx97n.mjs";import"./cli-0.5.3-9bdwhdys.mjs";import"./cli-0.5.3-ttc72eq3.mjs";import"./cli-0.5.3-g75gdzrp.mjs";import"./cli-0.5.3-1rg2r7n7.mjs";import"./cli-0.5.3-6j2jk6dt.mjs";import"./cli-0.5.3-66650sba.mjs";import"./cli-0.5.3-9vh3vpap.mjs";import"./cli-0.5.3-n3cxyxpg.mjs";import"./cli-0.5.3-kbvzmaax.mjs";import"./cli-0.5.3-7wdgps7z.mjs";import"./cli-0.5.3-c8bcrqa4.mjs";import"./cli-0.5.3-qrvd6cmy.mjs";import"./cli-0.5.3-2dk1sk8w.mjs";import{Tma as x,Xma as Iz}from"./cli-0.5.3-0df3r78b.mjs";function Yz(I){let z=o.c(52),{onDone:V}=I,[W,e]=O.useState("ios"),b;if(z[0]===Symbol.for("react.memo_cache_sentinel"))b={ios:"",android:""},z[0]=b;else b=z[0];let[$,t]=O.useState(b),{url:u}=i[W],D=$[W],h,M;if(z[1]===Symbol.for("react.memo_cache_sentinel"))h=()=>{(async function(){let[Gz,Hz]=await Promise.all([r(i.ios.url,{type:"utf8",errorCorrectionLevel:"L"}),r(i.android.url,{type:"utf8",errorCorrectionLevel:"L"})]);t({ios:Gz,android:Hz})})().catch(vz)},M=[],z[1]=h,z[2]=M;else h=z[1],M=z[2];O.useEffect(h,M);let R;if(z[3]!==V)R=()=>{V()},z[3]=V,z[4]=R;else R=z[4];let zz=R,g;if(z[5]===Symbol.for("react.memo_cache_sentinel"))g={context:"Confirmation"},z[5]=g;else g=z[5];s("confirm:no",zz,g);let K;if(z[6]!==V)K=function(J){if(J.key==="q"||J.ctrl&&J.key==="c"){J.preventDefault(),V();return}if(J.key==="tab"||J.key==="left"||J.key==="right")J.preventDefault(),e(Ez)},z[6]=V,z[7]=K;else K=z[7];let m=K,X,Y,Z,N,U,k,E,v,B;if(z[8]!==m||z[9]!==D){let _=D.split(`
`).filter(kz);if(Y=n,X=l,E="column",v=0,B=!0,Z=m,z[19]===Symbol.for("react.memo_cache_sentinel"))N=G(H,{children:" "}),U=G(H,{children:" "}),z[19]=N,z[20]=U;else N=z[19],U=z[20];k=_.map(Zz),z[8]=m,z[9]=D,z[10]=X,z[11]=Y,z[12]=Z,z[13]=N,z[14]=U,z[15]=k,z[16]=E,z[17]=v,z[18]=B}else X=z[10],Y=z[11],Z=z[12],N=z[13],U=z[14],k=z[15],E=z[16],v=z[17],B=z[18];let P,q;if(z[21]===Symbol.for("react.memo_cache_sentinel"))P=G(H,{children:" "}),q=G(H,{children:" "}),z[21]=P,z[22]=q;else P=z[21],q=z[22];let p=W==="ios",d=W==="ios",Q;if(z[23]!==p||z[24]!==d)Q=G(H,{bold:p,underline:d,children:"iOS"}),z[23]=p,z[24]=d,z[25]=Q;else Q=z[25];let y;if(z[26]===Symbol.for("react.memo_cache_sentinel"))y=G(H,{dimColor:!0,children:" / "}),z[26]=y;else y=z[26];let a=W==="android",j=W==="android",c;if(z[27]!==a||z[28]!==j)c=G(H,{bold:a,underline:j,children:"Android"}),z[27]=a,z[28]=j,z[29]=c;else c=z[29];let w;if(z[30]!==Q||z[31]!==c)w=f(H,{children:[Q,y,c]}),z[30]=Q,z[31]=c,z[32]=w;else w=z[32];let C;if(z[33]===Symbol.for("react.memo_cache_sentinel"))C=G(H,{dimColor:!0,children:"(tab to switch, esc to close)"}),z[33]=C;else C=z[33];let A;if(z[34]!==w)A=f(l,{flexDirection:"row",gap:2,children:[w,C]}),z[34]=w,z[35]=A;else A=z[35];let F;if(z[36]!==u)F=G(H,{dimColor:!0,children:u}),z[36]=u,z[37]=F;else F=z[37];let L;if(z[38]!==X||z[39]!==Z||z[40]!==N||z[41]!==U||z[42]!==k||z[43]!==A||z[44]!==F||z[45]!==E||z[46]!==v||z[47]!==B)L=f(X,{flexDirection:E,tabIndex:v,autoFocus:B,onKeyDown:Z,children:[N,U,k,P,q,A,F]}),z[38]=X,z[39]=Z,z[40]=N,z[41]=U,z[42]=k,z[43]=A,z[44]=F,z[45]=E,z[46]=v,z[47]=B,z[48]=L;else L=z[48];let S;if(z[49]!==Y||z[50]!==L)S=G(Y,{children:L}),z[49]=Y,z[50]=L,z[51]=S;else S=z[51];return S}function Zz(I,z){return G(H,{children:I},z)}function kz(I){return I.length>0}function Ez(I){return I==="ios"?"android":"ios"}function vz(){}async function Lz(I){return G(Yz,{onDone:I})}var o,O,i;var Bz=Iz(()=>{Xz();Wz();Uz();Vz();T();o=x(Nz(),1),O=x(Jz(),1),i={ios:{url:"https://apps.apple.com/app/claude-by-anthropic/id6473753684"},android:{url:"https://play.google.com/store/apps/details?id=com.anthropic.claude"}}});Bz();export{Lz as call};
