"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 KqChuangzuo = function KqChuangzuo(_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: "M887.46666667 898.8444448a34.13333333 34.13333333 0 0 1 0 68.26666667h-750.93333334a34.13333333 34.13333333 0 0 1 0-68.26666667h750.93333334zM876.08888853 56.88888853a136.53333333 136.53333333 0 0 1 136.53333334 136.53333334v500.62222293a136.53333333 136.53333333 0 0 1-136.53333334 136.53333333H147.91111147a136.53333333 136.53333333 0 0 1-136.53333334-136.53333333V193.42222187a136.53333333 136.53333333 0 0 1 136.53333334-136.53333334h728.17777706z m0 68.26666667H147.91111147a68.26666667 68.26666667 0 0 0-68.1528896 64.2616896L79.6444448 193.42222187v500.62222293a68.26666667 68.26666667 0 0 0 64.26168853 68.15288853L147.91111147 762.31111147h728.17777706a68.26666667 68.26666667 0 0 0 68.1528896-64.2616896L944.3555552 694.0444448V193.42222187a68.26666667 68.26666667 0 0 0-64.26168853-68.15288854L876.08888853 125.1555552z m-44.19128853 135.09973333a34.13333333 34.13333333 0 0 1 2.4576 45.6704l-2.34382187 2.59413334-226.53155626 227.55555626a34.13333333 34.13333333 0 0 1-45.62488854 2.5031104l-2.59413333-2.34382186L443.73333333 423.64017813l-203.43466666 203.52568854a34.13333333 34.13333333 0 0 1-45.6931552 2.34382186l-2.59413334-2.34382186a34.13333333 34.13333333 0 0 1-2.34382293-45.6931552l2.34382293-2.59413334 227.48728854-227.55555626a34.13333333 34.13333333 0 0 1 45.60213333-2.41208854l2.59413333 2.32106667 113.39093334 112.52622187 202.5244448-203.3891552a34.13333333 34.13333333 0 0 1 48.26453333-0.11377814z",
    fill: (0, _helper.getIconColor)(color, 0, '#131415')
  }));
};

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