"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = exports.PartiallyCorrect = void 0;

var _iconBase = _interopRequireDefault(require("./icon-base"));

var _propTypes = _interopRequireDefault(require("prop-types"));

var _react = _interopRequireDefault(require("react"));

var _iconRoot = require("./icon-root");

var _styles = require("@material-ui/core/styles");

var styles = (0, _iconRoot.getStyles)('partially-correct', '#4aaf46', '#c1e1ac');

var Check = function Check(_ref) {
  var className = _ref.className;
  return /*#__PURE__*/_react["default"].createElement("g", {
    transform: 'translate(0, 0)'
  }, /*#__PURE__*/_react["default"].createElement("polygon", {
    className: className,
    points: "27.5,13.4 23.9,11.4 15.9,25.8 19.1,28.6"
  }), /*#__PURE__*/_react["default"].createElement("polygon", {
    className: className,
    points: "16.2,20.6 14.4,19.2 11.8,22.3 14.1,24.3"
  }));
};

var Emoji = function Emoji(_ref2) {
  var className = _ref2.className;
  return /*#__PURE__*/_react["default"].createElement("g", {
    transform: 'translate(2, 0)'
  }, /*#__PURE__*/_react["default"].createElement("rect", {
    x: "20.6",
    y: "11.8",
    className: className,
    width: "4",
    height: "5"
  }), /*#__PURE__*/_react["default"].createElement("rect", {
    x: "11.5",
    y: "11.8",
    className: className,
    width: "4",
    height: "5"
  }), /*#__PURE__*/_react["default"].createElement("rect", {
    x: "10.9",
    y: "22.9",
    transform: "matrix(0.9794 -0.2019 0.2019 0.9794 -4.6237 4.1559)",
    className: className,
    width: "14.3",
    height: "3.7"
  }));
};

Emoji.propTypes = Check.propTypes = {
  className: _propTypes["default"].string
};
var PartiallyCorrect = (0, _iconBase["default"])(Check, Emoji);
exports.PartiallyCorrect = PartiallyCorrect;
PartiallyCorrect.propTypes = {
  iconSet: _propTypes["default"].oneOf(['emoji', 'check']),
  shape: _propTypes["default"].oneOf(['round', 'square']),
  category: _propTypes["default"].oneOf(['feedback', undefined]),
  open: _propTypes["default"].bool
};
PartiallyCorrect.defaultProps = {
  iconSet: 'check',
  shape: 'round',
  category: undefined,
  open: false
};

var _default = (0, _styles.withStyles)(styles)(PartiallyCorrect);

exports["default"] = _default;
//# sourceMappingURL=partially-correct-icon.js.map