'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

var _preact = require('preact');

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }

// import { Preact, h } from '@bolt/core';
var Calendar = function Calendar(_ref) {
  var color = _ref.color,
      size = _ref.size,
      otherProps = _objectWithoutProperties(_ref, ['color', 'size']);

  color = color || 'currentColor';
  size = size || '24';
  return (0, _preact.h)(
    'svg',
    _extends({ width: size, height: size, viewBox: '0 0 24 24' }, otherProps),
    (0, _preact.h)(
      'title',
      null,
      'Icon/utility/Indigo/24px/Calendar'
    ),
    (0, _preact.h)(
      'g',
      { fill: 'currentColor', 'fill-rule': 'evenodd' },
      (0, _preact.h)('path', {
        d: 'M0,64a64,64 0 1,0 128,0a64,64 0 1,0 -128,0',
        'class': 'c-bolt-icon--background c-bolt-icon--circle-background',
        fill: 'none'
      }),
      (0, _preact.h)(
        'g',
        { fill: 'currentColor' },
        (0, _preact.h)('path', { d: 'M4 20.125h16v-11H4v11zm16-17.5h-.938V1h-2v1.625H6.937V1h-2v1.625H4a2 2 0 0 0-2 2v15.5a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-15.5a2 2 0 0 0-2-2z' }),
        (0, _preact.h)('path', { d: 'M6.292 13.125h11.416v-2H6.292zM6.292 17.458h9v-2h-9z' })
      )
    )
  );
};
exports.default = Calendar;