'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 'preact';
var Product = function Product(_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: '32', height: '32', viewBox: '0 0 32 32' }, otherProps),
    (0, _preact.h)(
      'title',
      null,
      'Icon/How/Product'
    ),
    (0, _preact.h)(
      'g',
      { fill: 'currentColor', 'fill-rule': 'evenodd' },
      (0, _preact.h)('circle', {
        'class': 'c-bolt-icon--background c-bolt-icon--circle-background',
        fill: 'none',
        cx: '50%',
        cy: '50%',
        r: '50%'
      }),
      (0, _preact.h)('path', {
        d: 'M9 6.998c-.552 0-1 .449-1 1.002v13c0 .55.448 1 1 1s1-.45 1-1V8c0-.553-.448-1.002-1-1.002zm21 18L24 22l-7 4-9-2-6 3V6.998l6-2.999L17 8l7-6 6 4v18.998zM24 0l-7 6-9-4-8 3.978V30l8-4 9 2 7-4 8 4V5l-8-5zm0 19a1 1 0 0 0 2 0V6a1 1 0 1 0-2 0v13zm-7-9.002c-.552 0-1 .45-1 1.002v11a1 1 0 0 0 2 0V11c0-.553-.448-1.002-1-1.002z',
        fill: 'currentColor'
      })
    )
  );
};
exports.default = Product;