/* tslint:disable */
/* eslint-disable */

import React, { FunctionComponent } from 'react';
import { ViewProps } from 'react-native';
import { Svg, GProps, Path } from 'react-native-svg';
import { getIconColor } from './helper';

interface Props extends GProps, ViewProps {
  size?: number;
  color?: string | string[];
}

let CashBackRecord: FunctionComponent<Props> = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M872.945664 670.112768l-51.80928-23.497728c-30.065664 66.290688-79.821824 121.71264-144.278528 158.925824C508.705792 902.623232 293.689344 845.010944 196.608 676.857856 99.52256 508.705792 157.136896 293.689344 325.289984 196.608 493.442048 99.52256 708.458496 157.136896 805.53984 325.289984l49.267712-28.444672C742.014976 101.48352 492.20608 34.547712 296.845312 147.339264 101.48352 260.132864 34.547712 509.94176 147.339264 705.302528c112.7936 195.361792 362.601472 262.2976 557.963264 149.506048 76.725248-44.29824 133.64224-109.728768 167.643136-184.695808zM705.302528 854.808576c76.725248-44.29824 133.64224-109.728768 167.643136-184.695808l-51.80928-23.497728c-30.065664 66.290688-79.821824 121.71264-144.278528 158.925824C508.705792 902.623232 293.689344 845.010944 196.608 676.857856 99.52256 508.705792 157.136896 293.689344 325.289984 196.608 493.442048 99.52256 708.458496 157.136896 805.53984 325.289984l49.267712-28.444672C742.014976 101.48352 492.20608 34.547712 296.845312 147.339264 101.48352 260.132864 34.547712 509.94176 147.339264 705.302528c112.7936 195.361792 362.601472 262.2976 557.963264 149.506048z m125.568-514.16576c15.709184 0 28.444672-12.735488 28.444672-28.444672s-12.735488-28.444672-28.444672-28.444672-28.444672 12.735488-28.444672 28.444672 12.735488 28.444672 28.444672 28.444672z m16.633856 345.389056c15.70816 0 28.443648-12.735488 28.443648-28.444672s-12.734464-28.444672-28.443648-28.444672c-15.710208 0-28.444672 12.735488-28.444672 28.444672s12.734464 28.444672 28.444672 28.444672z"
        fill={getIconColor(color, 0, '#333333')}
      />
      <Path
        d="M895.76448 412.47232a0.256 0.256 0 0 1 0.361472-0.0256l113.376256 98.394112a0.256 0.256 0 0 1 0 0.386048l-113.376256 98.394112a0.256 0.256 0 0 1-0.422912-0.19456v-68.982784H768c-15.709184 0-28.444672-12.734464-28.444672-28.443648 0-15.709184 12.735488-28.444672 28.444672-28.444672h127.70304v-70.915072c0-0.04096 0.01024-0.08192 0.027648-0.116736z"
        fill={getIconColor(color, 1, '#333333')}
      />
      <Path
        d="M334.380032 448.157696c0-15.709184 12.734464-28.444672 28.444672-28.444672h284.443648c15.710208 0 28.444672 12.735488 28.444672 28.444672s-12.734464 28.444672-28.444672 28.444672H362.824704c-15.710208 0-28.444672-12.735488-28.444672-28.444672z"
        fill={getIconColor(color, 2, '#333333')}
      />
      <Path
        d="M533.490688 448.157696v85.332992h113.777664c15.710208 0 28.444672 12.735488 28.444672 28.444672s-12.734464 28.444672-28.444672 28.444672H533.490688v113.777664c0 15.709184-12.734464 28.444672-28.443648 28.444672-15.710208 0-28.444672-12.735488-28.444672-28.444672l-0.001024-113.777664H362.82368c-15.710208 0-28.444672-12.735488-28.444672-28.444672s12.734464-28.444672 28.444672-28.444672h113.77664v-85.332992h56.889344z m88.476672-149.490688c13.604864 7.85408 18.266112 25.250816 10.411008 38.85568l-71.110656 123.167744L512 432.24576l71.110656-123.167744c7.855104-13.604864 25.25184-18.266112 38.856704-10.411008z m-256 0c13.604864-7.855104 31.000576-3.193856 38.85568 10.411008l71.110656 123.167744-49.266688 28.444672-71.11168-123.167744c-7.85408-13.604864-3.192832-31.0016 10.412032-38.85568z"
        fill={getIconColor(color, 3, '#333333')}
      />
    </Svg>
  );
};

CashBackRecord.defaultProps = {
  size: 18,
};

CashBackRecord = React.memo ? React.memo(CashBackRecord) : CashBackRecord;

export default CashBackRecord;
