import{r as o,j as s}from"./app-BwDemWQz.js";import{d as c,c as p}from"./Button-B-KWyoQR.js";var b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],v=b.reduce((t,a)=>{const e=c(`Primitive.${a}`),i=o.forwardRef((r,d)=>{const{asChild:m,...f}=r,u=m?e:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(u,{...f,ref:d})});return i.displayName=`Primitive.${a}`,{...t,[a]:i}},{}),w="Label",l=o.forwardRef((t,a)=>s.jsx(v.label,{...t,ref:a,onMouseDown:e=>{var r;e.target.closest("button, input, select, textarea")||((r=t.onMouseDown)==null||r.call(t,e),!e.defaultPrevented&&e.detail>1&&e.preventDefault())}}));l.displayName=w;var n=l;const x=o.forwardRef(({className:t,...a},e)=>s.jsx(n,{ref:e,className:p("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",t),...a}));x.displayName=n.displayName;export{x as L,v as P};
