'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 CoBrowse = function CoBrowse(_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/product/CRM/Co-Browse'
    ),
    (0, _preact.h)('path', {
      d: 'M30 12H8v-2a2 2 0 0 1 2-1.999h18A2 2 0 0 1 30 10v2zm0 16a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V14h22v14zM28 6H10a4 4 0 0 0-4 4v18a4 4 0 0 0 4 4h18a4 4 0 0 0 4-4V10a4 4 0 0 0-4-4zM4 2.001h18A2 2 0 0 1 24 4h2a4 4 0 0 0-4-4H4a4 4 0 0 0-4 4v18a4 4 0 0 0 4 4v-2a2 2 0 0 1-2-2V8h2V6H2V4a2 2 0 0 1 2-1.999z',
      fill: 'currentColor',
      'fill-rule': 'evenodd'
    })
  );
};
exports.default = CoBrowse;