"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxDevRuntime = require("react/jsx-dev-runtime");
const onClick = (e) => {
  window.open(e.currentTarget.href, "_blank");
};
const style = {
  cursor: "pointer"
};
const AnchorRenderer = (props) => /* @__PURE__ */ jsxDevRuntime.jsxDEV(
  "a",
  {
    ...props.attributes,
    href: props.element.href,
    title: props.element.href,
    target: "_blank",
    rel: "noopener noreferrer",
    onClickCapture: onClick,
    style,
    children: props.children
  },
  void 0,
  false,
  {
    fileName: "/__w/interface/interface/packages/admin/src/components/bindingFacade/richText/plugins/element/anchors/AnchorRenderer.tsx",
    lineNumber: 19,
    columnNumber: 2
  },
  void 0
);
AnchorRenderer.displayName = "AnchorRenderer";
exports.AnchorRenderer = AnchorRenderer;
//# sourceMappingURL=AnchorRenderer.cjs.map
