"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _reactIntlNext = require("react-intl-next");
var _messages = require("../../../../messages");
var _EmptyState = require("../../components/EmptyState");
var _searchNoResult = require("../errored/error-svg/search-no-result");
var RelatedLinksUnavailableView = function RelatedLinksUnavailableView() {
  var intl = (0, _reactIntlNext.useIntl)();
  return /*#__PURE__*/_react.default.createElement(_EmptyState.EmptyState, {
    renderImage: function renderImage() {
      return /*#__PURE__*/_react.default.createElement(_searchNoResult.SpotSearchNoResult, null);
    },
    header: intl.formatMessage(_messages.messages.related_links_modal_unavailable_title),
    description: /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _messages.messages.related_links_modal_unavailable_description)
  });
};
var _default = exports.default = RelatedLinksUnavailableView;