import{o as e,r as t,t as n}from"./jsx-runtime-Bypl69v7.js";import{n as r,o as i}from"./button-CYVyx32W.js";import{r as a}from"./dist-D46zjeVv.js";var o=e(t(),1),s=n(),c=`Label`,l=o.forwardRef((e,t)=>(0,s.jsx)(a.label,{...e,ref:t,onMouseDown:t=>{t.target.closest(`button, input, select, textarea`)||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));l.displayName=c;var u=l,d=r(`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70`),f=o.forwardRef(({className:e,...t},n)=>(0,s.jsx)(u,{ref:n,className:i(d(),e),...t}));f.displayName=u.displayName;export{f as t};