import { jsx as t } from "react/jsx-runtime";
function r(n, e) {
  return n ? e === n.nodeName ? !0 : r(n.parentNode, e) : !1;
}
function s({ ...n }) {
  return /* @__PURE__ */ t("div", { onClick: (i) => {
    r(i.target, "A") && i.preventDefault();
  }, ...n });
}
export {
  s as default
};
