const c = /* @__PURE__ */ new Set([
  "id"
]), b = /* @__PURE__ */ new Set([
  "aria-label",
  "aria-labelledby",
  "aria-describedby",
  "aria-details"
]), u = /* @__PURE__ */ new Set([
  "href",
  "hrefLang",
  "target",
  "rel",
  "download",
  "ping",
  "referrerPolicy"
]), $ = /* @__PURE__ */ new Set([
  "dir",
  "lang",
  "hidden",
  "inert",
  "translate"
]), r = /* @__PURE__ */ new Set([
  "onClick",
  "onAuxClick",
  "onContextMenu",
  "onDoubleClick",
  "onMouseDown",
  "onMouseEnter",
  "onMouseLeave",
  "onMouseMove",
  "onMouseOut",
  "onMouseOver",
  "onMouseUp",
  "onTouchCancel",
  "onTouchEnd",
  "onTouchMove",
  "onTouchStart",
  "onPointerDown",
  "onPointerMove",
  "onPointerUp",
  "onPointerCancel",
  "onPointerEnter",
  "onPointerLeave",
  "onPointerOver",
  "onPointerOut",
  "onGotPointerCapture",
  "onLostPointerCapture",
  "onScroll",
  "onWheel",
  "onAnimationStart",
  "onAnimationEnd",
  "onAnimationIteration",
  "onTransitionCancel",
  "onTransitionEnd",
  "onTransitionRun",
  "onTransitionStart"
]), p = /^(data-.*)$/;
function v(n, i = {}) {
  let { labelable: l, isLink: s, global: t, events: d = t, propNames: o } = i, a = {};
  for (const e in n) Object.prototype.hasOwnProperty.call(n, e) && (c.has(e) || l && b.has(e) || s && u.has(e) || t && $.has(e) || d && (r.has(e) || e.endsWith("Capture") && r.has(e.slice(0, -7))) || o?.has(e) || p.test(e)) && (a[e] = n[e]);
  return a;
}
export {
  v as $
};
//# sourceMappingURL=filterDOMProps-Cxz9cAAv.es.js.map
