'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 AssetText = function AssetText(_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/Asset-Text'
    ),
    (0, _preact.h)(
      'defs',
      null,
      (0, _preact.h)('path', { id: 'a', d: 'M0 1V0h20v2H0V1z' })
    ),
    (0, _preact.h)(
      'g',
      { fill: 'currentColor', 'fill-rule': 'evenodd' },
      (0, _preact.h)('path', {
        d: 'M3 11h14c.55 0 1-.45 1-1s-.45-1-1-1H3c-.55 0-1 .45-1 1s.45 1 1 1',
        fill: 'currentColor'
      }),
      (0, _preact.h)(
        'g',
        { transform: 'translate(2 5)' },
        (0, _preact.h)(
          'mask',
          { id: 'b', fill: 'currentColor' },
          (0, _preact.h)('use', { xlinkHref: '#a' })
        ),
        (0, _preact.h)('path', {
          d: 'M1 2h18c.55 0 1-.45 1-1s-.45-1-1-1H1C.45 0 0 .45 0 1s.45 1 1 1',
          fill: 'currentColor',
          mask: 'url(#b)'
        })
      ),
      (0, _preact.h)('path', {
        d: 'M21 13H3c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1M17 17H3c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1',
        fill: 'currentColor'
      })
    )
  );
};
exports.default = AssetText;