"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 KqVoice = function KqVoice(_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: "M846.87855746 341.8606843a36.98680776 36.98680776 0 0 0-36.98680776 36.98680776v105.63432297c0 149.42670335-133.67032325 270.96535365-297.8917497 270.96535365S214.1082503 633.83454476 214.1082503 484.48181503V374.7049696a36.98680776 36.98680776 0 0 0-73.97361552 0v109.77684543c0 182.49290949 154.01306751 330.8100086 347.52804571 342.64578708v114.88102491H333.57563937c-18.64135111 0-33.73196868 16.57008987-33.73196869 37.06078138 0 20.41671789 15.09061757 36.91283414 33.73196869 36.91283414h368.75847336c18.56737749 0 33.73196868-16.49611627 33.73196868-36.91283414 0-20.4906915-15.16459119-37.06078138-33.73196868-37.06078138H561.63629602v-117.17420699c181.45727887-22.85784719 322.22906921-165.848846 322.2290692-340.352605V378.84749206c0-20.4906915-16.49611627-36.98680776-36.98680776-36.98680776z",
    fill: (0, _helper.getIconColor)(color, 0, '#333333')
  }), /*#__PURE__*/_react.default.createElement("path", {
    d: "M517.91788924 704.62729481a230.13191789 230.13191789 0 0 0 229.90999703-229.83602341V230.82628741A230.2058915 230.2058915 0 0 0 517.91788924 0.99026398a230.05794427 230.05794427 0 0 0-229.7620498 229.83602343v243.96498399a230.05794427 230.05794427 0 0 0 229.7620498 229.83602341z m98.31093503-146.54173235a57.62544649 57.62544649 0 1 1 0-115.17691936 57.62544649 57.62544649 0 0 1 0 115.17691936zM362.12945495 230.82628741c0-85.95734124 69.90506667-155.8624079 155.78843429-155.8624079a156.08432875 156.08432875 0 0 1 155.93638152 155.8624079v32.91825891H362.12945495v-32.91825891z",
    fill: (0, _helper.getIconColor)(color, 1, '#333333')
  }));
};

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