import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["children"];
import React from 'react';
import Link from '@atlaskit/link';
import { fg } from '@atlaskit/platform-feature-flags';
import { CONTENT_URL_AI, CONTENT_URL_ROVO } from '../../../../../constants';
var AILearnMoreAnchor = function AILearnMoreAnchor(_ref) {
  var children = _ref.children,
    props = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(Link, _extends({
    href: fg('platform_sl_ai_summary_rebrand') ? CONTENT_URL_ROVO : CONTENT_URL_AI,
    target: "_blank",
    rel: "noopener noreferrer"
  }, props), children);
};
export default AILearnMoreAnchor;