import{r,j as o}from"./main.js";import{P as i}from"./index-hZlSoXYO.js";import{b as n,e as d}from"./button-D4VgS8ri.js";var m="Label",s=r.forwardRef((e,t)=>o.jsx(i.label,{...e,ref:t,onMouseDown:a=>{a.target.closest("button, input, select, textarea")||(e.onMouseDown?.(a),!a.defaultPrevented&&a.detail>1&&a.preventDefault())}}));s.displayName=m;var l=s;const f=d("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=r.forwardRef(({className:e,...t},a)=>o.jsx(l,{ref:a,className:n(f(),e),...t}));p.displayName=l.displayName;export{p as L};
