import{s as d}from"./chunk-DZLz74EQ.js";import{t as p}from"./react-BcIddLXZ.js";import{n as h,t as u}from"./jsx-runtime-DvsdsEjx.js";var N=d(h(),1),g=d(p(),1),c=d(u(),1);const j=f=>{let e=(0,N.c)(15),{title:i,description:x,icon:n,action:m}=f,t;e[0]===n?t=e[1]:(t=n&&g.cloneElement(n,{className:"text-accent-foreground flex-shrink-0"}),e[0]=n,e[1]=t);let s;e[2]===i?s=e[3]:(s=(0,c.jsx)("span",{className:"mt-1 text-accent-foreground",children:i}),e[2]=i,e[3]=s);let l;e[4]!==t||e[5]!==s?(l=(0,c.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[t,s]}),e[4]=t,e[5]=s,e[6]=l):l=e[6];let r;e[7]===x?r=e[8]:(r=(0,c.jsx)("span",{className:"text-muted-foreground text-sm",children:x}),e[7]=x,e[8]=r);let a;e[9]===m?a=e[10]:(a=m&&(0,c.jsx)("div",{className:"mt-2",children:m}),e[9]=m,e[10]=a);let o;return e[11]!==l||e[12]!==r||e[13]!==a?(o=(0,c.jsxs)("div",{className:"mx-6 my-6 flex flex-col gap-2",children:[l,r,a]}),e[11]=l,e[12]=r,e[13]=a,e[14]=o):o=e[14],o};export{j as t};
