"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
var _react = require("react");
var _hooks = require("../../../../../hooks");
var _enums = require("../../../../../enums");
var _useConfig = _interopRequireDefault(require("../../../../../hooks/useConfig"));
var _styles = require("./styles/styles");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const Illustration = () => {
  const {
    excludes
  } = (0, _useConfig.default)();
  const styles = (0, _styles.useStyles)();
  const illustrationIcon = (0, _hooks.useConfigImageUri)({
    configKey: 'icon',
    configPath: {
      page: _enums.PageID.social_home_page,
      component: _enums.ComponentID.empty_newsfeed,
      element: _enums.ElementID.illustration
    }
  });
  if (excludes.includes('social_home_page/empty_newsfeed/illustration')) return null;
  return /*#__PURE__*/React.createElement(_reactNative.Image, {
    source: illustrationIcon,
    style: styles.icon,
    resizeMode: "contain"
  });
};
var _default = exports.default = /*#__PURE__*/(0, _react.memo)(Illustration);
//# sourceMappingURL=Illustration.js.map