"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 Album = function Album(_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 1236 1024",
    width: size + 'px',
    height: size + 'px',
    style: style
  }, rest), /*#__PURE__*/_react.default.createElement("path", {
    d: "M854.88796479 400.23194027a50.11824427 50.11824427 0 0 0-86.71251733 0l-184.9601856 318.21107306a47.33389653 47.33389653 0 0 1-82.33711467 0l-89.49686507-154.33237013a50.11824427 50.11824427 0 0 0-86.71251733 0l-131.2620672 234.6806656a24.26359467 24.26359467 0 0 0 21.08148373 35.7987456h832.5197184a29.832288 29.832288 0 0 0 26.25241387-44.54954987z m0 0",
    fill: (0, _helper.getIconColor)(color, 0, '#333333')
  }), /*#__PURE__*/_react.default.createElement("path", {
    d: "M1047.40566399-34.12617387H214.88594559A178.993728 178.993728 0 0 0 34.30116159 144.8675552v630.0579232a178.993728 178.993728 0 0 0 169.84515947 178.19820053h842.86157866a177.40267307 177.40267307 0 0 0 95.46332267-27.8434688 198.88192 198.88192 0 0 0 21.08148373-15.51278933 178.19820053 178.19820053 0 0 0 64.0399776-134.8419424V144.8675552A178.993728 178.993728 0 0 0 1048.99671892-34.12617387z m107.3962368 809.05165227a106.60070933 106.60070933 0 0 1-27.8434688 71.99525547 110.57834773 110.57834773 0 0 1-28.241232 22.27477546 105.0096544 105.0096544 0 0 1-50.91377173 13.12620587H214.88594559a106.20294507 106.20294507 0 0 1-39.776384-8.35304 107.79400107 107.79400107 0 0 1-66.02879787-99.0431968V144.8675552a107.3962368 107.3962368 0 0 1 107.3962368-107.39623787h830.92866347a107.3962368 107.3962368 0 0 1 107.3962368 107.39623787v630.0579232z m0 0",
    fill: (0, _helper.getIconColor)(color, 1, '#333333')
  }), /*#__PURE__*/_react.default.createElement("path", {
    d: "M190.62235092 223.62479573a107.3962368 107.3962368 0 1 0 107.3962368-107.39623786 107.3962368 107.3962368 0 0 0-107.3962368 107.39623786z m0 0",
    fill: (0, _helper.getIconColor)(color, 2, '#333333')
  }));
};

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