import{r as o,j as i}from"./index-DEjMkqlI.js";import{c as s}from"./client-DXODAVLv.js";import{a as c,b}from"./button-CPTgagfA.js";const x=o.forwardRef(({className:t,type:r,...e},a)=>i.jsx("input",{type:r,className:s("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground 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",t),ref:a,...e}));x.displayName="Input";var v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],w=v.reduce((t,r)=>{const e=c(`Primitive.${r}`),a=o.forwardRef((d,f)=>{const{asChild:u,...m}=d,p=u?e:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(p,{...m,ref:f})});return a.displayName=`Primitive.${r}`,{...t,[r]:a}},{}),g="Label",l=o.forwardRef((t,r)=>i.jsx(w.label,{...t,ref:r,onMouseDown:e=>{e.target.closest("button, input, select, textarea")||(t.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=o.forwardRef(({className:t,...r},e)=>i.jsx(n,{ref:e,className:s(y(),t),...r}));N.displayName=n.displayName;export{x as I,N as L};
