{"size": 5168, "ext": "js", "max_stars_repo_path": "node_modules/calcite-ui-icons-react/PencilSquareIcon.js", "max_stars_repo_name": "jon-jones-DDOT/Signworks3", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "node_modules/calcite-ui-icons-react/PencilSquareIcon.js", "max_issues_repo_name": "jon-jones-DDOT/Signworks3", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "node_modules/calcite-ui-icons-react/PencilSquareIcon.js", "max_forks_repo_name": "jon-jones-DDOT/Signworks3", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 95.7037037037, "max_line_length": 1170, "alphanum_fraction": 0.6664086687}
'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 _react = require('react');

var _react2 = _interopRequireDefault(_react);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

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; }

var PencilSquareIcon = function PencilSquareIcon(_ref) {
  var _ref$color = _ref.color,
      color = _ref$color === undefined ? 'currentColor' : _ref$color,
      _ref$size = _ref.size,
      size = _ref$size === undefined ? 24 : _ref$size,
      _ref$filled = _ref.filled,
      filled = _ref$filled === undefined ? false : _ref$filled,
      className = _ref.className,
      children = _ref.children,
      props = _objectWithoutProperties(_ref, ['color', 'size', 'filled', 'className', 'children']);

  var classes = 'calcite-icon';
  if (className) classes += ' ' + className;

  if (size <= 16) {
    return _react2.default.createElement(
      'svg',
      _extends({}, props, { width: size, height: size, fill: color, viewBox: '0 0 16 16', className: classes }),
      filled ? _react2.default.createElement('path', { d: 'M14 1H1a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM3 15l.839-2.087 1.247 1.247zm3.252-1.795l-1.414-1.414 5.965-5.965 1.413 1.414zm7.69-7.732l-.735.734-1.414-1.414.734-.734a.2.2 0 0 1 .283 0l1.131 1.131a.2.2 0 0 1 0 .283z' }) : _react2.default.createElement('path', { d: 'M2.567 14H1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1v.516l-.016-.016a2.013 2.013 0 0 0-1.426-.6 1.918 1.918 0 0 0-.586.1H1v11h1.995zM14 9.142V13h-3.858l-1 1H14a1 1 0 0 0 1-1V8.142zm1.721-3.135l-1.443 1.444-.002-.002v.001L7.67 14.06l-4.096 1.755a.371.371 0 0 1-.488-.487l1.756-4.097 6.608-6.608 1.444-1.443a.965.965 0 0 1 1.385.03l1.414 1.413a.965.965 0 0 1 .03 1.385zm-9.803 7.714l-.74-.739-.554 1.294zm7.052-6.377l-1.414-1.415-6.007 6.008 1.413 1.415zm1.798-1.798a.306.306 0 0 0 0-.433l-.98-.981a.306.306 0 0 0-.434 0l-1.09 1.09 1.414 1.414z' })
    );
  }

  if (size <= 24) {
    return _react2.default.createElement(
      'svg',
      _extends({}, props, { width: size, height: size, fill: color, viewBox: '0 0 24 24', className: classes }),
      filled ? _react2.default.createElement('path', { d: 'M21.515 2H1.482A1.484 1.484 0 0 0 0 3.482v18.033A1.486 1.486 0 0 0 1.482 23h20.033A1.487 1.487 0 0 0 23 21.515V3.482A1.486 1.486 0 0 0 21.515 2zM6.113 20.871l1.343-3.157 1.808 1.808zm4.426-2.557l-1.922-1.922 8.289-8.29 1.92 1.923zM20.99 7.86l-1.027 1.028-1.922-1.921 1.028-1.028a.284.284 0 0 1 .207-.083.306.306 0 0 1 .21.09l1.497 1.497a.295.295 0 0 1 .007.417z' }) : _react2.default.createElement('path', { d: 'M4.471 22H1.482A1.486 1.486 0 0 1 0 20.515V2.482A1.482 1.482 0 0 1 1.482 1h20.033A1.486 1.486 0 0 1 23 2.482v3.089l-.759-.758a2.1 2.1 0 0 0-.241-.2V2.742A.76.76 0 0 0 21.223 2H1.777A.76.76 0 0 0 1 2.741V20.26a.76.76 0 0 0 .777.741H4.9zm17.771-11.53l-.242.24v9.548a.76.76 0 0 1-.777.741h-9.51l-1 1h10.802A1.487 1.487 0 0 0 23 20.515V9.713zm.737-2.151l-1.656 1.656L9.826 21.47 5.73 23.227a.371.371 0 0 1-.488-.487l1.756-4.097L18.495 7.146l1.656-1.655a.965.965 0 0 1 1.385.03l1.413 1.413a.965.965 0 0 1 .03 1.385zM8.382 18.674l1.413 1.414L20.588 9.295l-1.414-1.414zM6.78 21.688l2.241-.96-1.28-1.28zM21.958 7.345l-.804-.838a.42.42 0 0 0-.6-.006l-.673.673 1.414 1.414.657-.656a.42.42 0 0 0 .006-.587z' })
    );
  }

  return _react2.default.createElement(
    'svg',
    _extends({}, props, { width: size, height: size, fill: color, viewBox: '0 0 32 32', className: classes }),
    filled ? _react2.default.createElement('path', { d: 'M28.998 2h-27A2 2 0 0 0 0 3.998v25A2.003 2.003 0 0 0 1.998 31h27A2.002 2.002 0 0 0 31 28.998v-25A2.003 2.003 0 0 0 28.998 2zM8.456 29.09l1.133-3.905 2.77 2.77zm5.186-2.628l-2.559-2.56 12.91-12.91 2.558 2.56zm15.556-15.557l-1.463 1.464-2.559-2.56 1.463-1.463a.5.5 0 0 1 .707 0l1.852 1.852a.5.5 0 0 1 0 .707z' }) : _react2.default.createElement('path', { d: 'M8.923 30H1.998A2.003 2.003 0 0 1 0 27.998v-25A2 2 0 0 1 1.998 1h27A2.003 2.003 0 0 1 31 2.998V9.58l-.704-.704A2.387 2.387 0 0 0 30 8.632V2.998A1.001 1.001 0 0 0 28.998 2h-27A1 1 0 0 0 1 2.998v25A1.001 1.001 0 0 0 1.998 29h7.353zM30 15.875v12.123A1.003 1.003 0 0 1 28.998 29H16.875l-.817.817-.427.183h13.367A2.005 2.005 0 0 0 31 27.998V14.875zm1.389-2.802l-1.8 1.8-.002-.003v.002l-14.1 14.102-5.465 2.342a.306.306 0 0 1-.403-.402l2.343-5.465L27.863 9.547a1.203 1.203 0 0 1 1.727.037l1.762 1.762a1.203 1.203 0 0 1 .037 1.727zM13.21 25.613l2.112 2.111 13.292-13.293-2.11-2.11zm-1.99 4.101l3.274-1.403-1.87-1.87zm19.424-17.66l-1.761-1.762a.285.285 0 0 0-.193-.092.163.163 0 0 0-.12.054l-1.36 1.36 2.111 2.11 1.36-1.359c.133-.133-.02-.294-.037-.311z' })
  );
};

exports.default = PencilSquareIcon;