content: // (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
  
  import React, { Component } from 'react';
  import PropTypes from 'prop-types';
  import classnames from 'classnames';
  import CSSClassnames from '../../../utils/CSSClassnames';
  import Intl from '../../../utils/Intl';
  import Props from '../../../utils/Props';
  
  const CLASS_ROOT = CSSClassnames.CONTROL_ICON;
  const COLOR_INDEX = CSSClassnames.COLOR_INDEX;
  
  export default class Icon extends Component {
    render () {
      const { className, colorIndex } = this.props;
      let { a11yTitle, size, responsive } = this.props;
      let { intl } = this.context;
  
      const classes = classnames(
        CLASS_ROOT,
        `${CLASS_ROOT}-social-visa`,
        className,
        {
          [`${CLASS_ROOT}--${size}`]: size,
          [`${CLASS_ROOT}--responsive`]: responsive,
          [`${COLOR_INDEX}-${colorIndex}`]: colorIndex
        }
      );
  
      a11yTitle = a11yTitle || Intl.getMessage(intl, 'social-visa');
  
      const restProps = Props.omit(this.props, Object.keys(Icon.propTypes));
      return <svg {...restProps} version="1.1" viewBox="0 0 24 24" width="24px" height="24px" role="img" className={classes} aria-label={a11yTitle}><path fill="#1A1F71" fillRule="evenodd" d="M2.04104243,9.05491668 C1.44373799,8.72373602 0.762180517,8.45751099 0,8.27300908 L0.0247991442,8.12468762 L3.15804902,8.12468762 C3.58007147,8.14041924 3.92121447,8.2751212 4.03883743,8.72653117 L4.72006671,12.0021411 C4.72010336,12.0022589 4.72013999,12.0023767 4.72017662,12.0024945 L4.92286683,12.9904181 L6.82522703,8.12909393 L8.88348317,8.12909393 L5.82441223,15.2441905 L3.76855953,15.2465576 L2.04104243,9.05491668 L2.04104243,9.05491668 Z M8.4549423,15.2527118 L9.66980904,8.12388647 L11.6129185,8.12388647 L10.3972142,15.2527118 L8.4549423,15.2527118 Z M17.4446139,8.29941052 L17.1812186,9.84449553 L17.0070783,9.76223229 C16.6484557,9.61780732 16.1881967,9.47924528 15.5527778,9.48911396 C14.7920887,9.48911396 14.4400209,9.80596764 14.4400209,10.1022828 C14.4356146,10.4362155 14.8515556,10.656276 15.5307463,10.9860573 C16.6517696,11.4948221 17.1694563,12.1119967 17.1621367,12.9229397 C17.1470606,14.4026948 15.8210893,15.3584997 13.7785648,15.3584997 C12.9071716,15.3495778 12.0679336,15.1771491 11.6140838,14.9781733 L11.8868016,13.3822883 L12.1371964,13.4956142 C12.7753101,13.7617771 13.1884835,13.8698227 13.9662153,13.8698227 C14.524724,13.8698227 15.1239092,13.6515101 15.1287161,13.1736623 C15.1323213,12.8616519 14.8780299,12.6387874 14.1217106,12.289378 C13.3846553,11.9483806 12.4083119,11.3769443 12.4191274,10.3526049 C12.4306348,8.9668753 13.7831167,8 15.7031022,8 C16.4564354,8 17.0596263,8.15498555 17.4446139,8.29941052 Z M22.4272754,8.13069622 L24,15.2549696 L22.196982,15.2549696 C22.196982,15.2549696 22.0186904,14.4363065 21.9605708,14.1867492 C21.6771832,14.1867492 19.6950361,14.1836903 19.4720623,14.1836903 C19.3966088,14.3765482 19.0629674,15.2549696 19.0629674,15.2549696 L17.022555,15.2549696 L19.9083233,8.72186995 C20.1126158,8.25764162 20.4606778,8.13069622 20.9258165,8.13069622 L22.4272754,8.13069622 Z M20.0312265,12.7255662 C20.1919294,12.3148326 20.8053895,10.7327856 20.8053895,10.7327856 C20.7939186,10.7517582 20.9648906,10.3200492 21.0630312,10.0523932 L21.1943829,10.6670187 C21.1943829,10.6670187 21.5664429,12.3686915 21.6441905,12.7255297 L20.0312265,12.7255297 L20.0312265,12.7255662 Z" stroke="none"/></svg>;
    }
  };
  
  Icon.contextTypes = {
    intl: PropTypes.object
  };
  
  Icon.defaultProps = {
    responsive: true
  };
  
  Icon.displayName = 'SocialVisa';
  
  Icon.icon = true;
  
  Icon.propTypes = {
    a11yTitle: PropTypes.string,
    colorIndex: PropTypes.string,
    size: PropTypes.oneOf(['xsmall', 'small', 'medium', 'large', 'xlarge', 'huge']),
    responsive: PropTypes.bool
  };
  
  