import{Z as t,V as s,z as i,I as p,J as b}from"./index-DxAX-4zq.js";const x=t.forwardRef(({className:r,...a},e)=>s.jsx("textarea",{className:i("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),ref:e,...a}));x.displayName="Textarea";var v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],w=v.reduce((r,a)=>{const e=p(`Primitive.${a}`),o=t.forwardRef((d,u)=>{const{asChild:f,...m}=d,c=f?e:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(c,{...m,ref:u})});return o.displayName=`Primitive.${a}`,{...r,[a]:o}},{}),g="Label",l=t.forwardRef((r,a)=>s.jsx(w.label,{...r,ref:a,onMouseDown:e=>{e.target.closest("button, input, select, textarea")||(r.onMouseDown?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault())}}));l.displayName=g;var n=l;const y=b("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),N=t.forwardRef(({className:r,...a},e)=>s.jsx(n,{ref:e,className:i(y(),r),...a}));N.displayName=n.displayName;export{N as L,x as T};
