"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _react = _interopRequireDefault(require("react"));

var _helper = require("./helper");

var _excluded = ["size", "color", "style"];

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }

var DEFAULT_STYLE = {
  display: 'block'
};

var KqEye = function KqEye(_ref) {
  var size = _ref.size,
      color = _ref.color,
      _style = _ref.style,
      rest = _objectWithoutProperties(_ref, _excluded);

  var style = _style ? _objectSpread(_objectSpread({}, DEFAULT_STYLE), _style) : DEFAULT_STYLE;
  return /*#__PURE__*/_react.default.createElement("svg", _objectSpread({
    viewBox: "0 0 1024 1024",
    width: size + 'px',
    height: size + 'px',
    style: style
  }, rest), /*#__PURE__*/_react.default.createElement("path", {
    d: "M511.968 870.4C312.096 870.4 122.4 738.368 4.512 517.248a38.336 38.336 0 0 1 0-36.096C122.4 260.032 312.096 128 511.968 128s389.568 132.032 507.52 353.152c6.016 11.264 6.016 24.832 0 36.096-117.952 221.12-307.648 353.152-507.52 353.152M82.208 499.2c105.792 187.392 261.568 294.464 429.76 294.464s323.968-107.072 429.824-294.464c-105.856-187.392-261.632-294.4-429.824-294.4S188 311.808 82.208 499.2M512 697.6a198.656 198.656 0 0 1-198.4-198.4c0-109.44 89.024-198.4 198.4-198.4s198.4 88.96 198.4 198.4c0 109.376-89.024 198.4-198.4 198.4m0-320c-67.072 0-121.6 54.528-121.6 121.6s54.528 121.6 121.6 121.6 121.6-54.528 121.6-121.6-54.528-121.6-121.6-121.6",
    fill: (0, _helper.getIconColor)(color, 0, '#333333')
  }));
};

KqEye.defaultProps = {
  size: 18
};
var _default = KqEye;
exports.default = _default;