import{YX as k,_V as Z,tX as K}from"./cli-0.5.12-fqp5s15p.mjs";import{CZ as J,DZ as H}from"./cli-0.5.12-c6whkxmz.mjs";import{A6 as Y,z6 as v}from"./cli-0.5.12-g4wb8mj2.mjs";import{Yna as V,aoa as X}from"./cli-0.5.12-xzeb7mtb.mjs";function N(M){let b=L.c(5),{status:P,withSpace:D}=M,Q=D===void 0?!1:D,q=A[P],z=!q.color,B=Q&&" ",y;if(b[0]!==q.color||b[1]!==q.icon||b[2]!==z||b[3]!==B)y=J(K,{color:q.color,dimColor:z,children:[q.icon,B]}),b[0]=q.color,b[1]=q.icon,b[2]=z,b[3]=B,b[4]=y;else y=b[4];return y}var L,A;var C=X(()=>{Y();k();H();L=V(Z(),1),A={success:{icon:v.tick,color:"success"},error:{icon:v.cross,color:"error"},warning:{icon:v.warning,color:"warning"},info:{icon:v.info,color:"suggestion"},pending:{icon:v.circle,color:void 0},loading:{icon:"…",color:void 0}}});
export{N as gg,C as hg};
