import{KW as K,nX as k,pV as Z}from"./cli-0.5.3-842pf3t4.mjs";import{OY as J,PY as H}from"./cli-0.5.3-vqmxwet2.mjs";import{I6 as v,J6 as Y}from"./cli-0.5.3-t65dek0m.mjs";import{Tma as V,Xma as X}from"./cli-0.5.3-0df3r78b.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 pg,C as qg};
