import f from "../../../@babel/runtime/helpers/esm/extends.js";
import { forwardRef as t, createElement as c } from "react";
import { Primitive as l } from "../../react-primitive/dist/index.js";
const n = /* @__PURE__ */ t((o, a) => /* @__PURE__ */ c(l.label, f({}, o, {
  ref: a,
  onMouseDown: (e) => {
    var r;
    (r = o.onMouseDown) === null || r === void 0 || r.call(o, e), !e.defaultPrevented && e.detail > 1 && e.preventDefault();
  }
}))), b = n;
export {
  n as Label,
  b as Root
};
