import React from 'react';

import { IconProps, RootPath, RootSvg } from './utils/base';

export const PDF: React.FC<IconProps> = (props) => (
  <RootSvg
    height={props.height || 40}
    viewBox={props.viewBox || '0 0 34 40'}
    width={props.width || 34}
    {...props}
  >
    <RootPath
      d='M0 3a3 3 0 013-3h20.333l10 10v27a3 3 0 01-3 3H3a3 3 0 01-3-3V3z'
      pathFill='#F5F5F5'
    />
    <RootPath d='M0 28h33.333v9a3 3 0 01-3 3H3a3 3 0 01-3-3v-9z' pathFill='#D93831' />
    <RootPath
      d='M25.864 9.99a2.48 2.48 0 01-2.48-2.48V.058L33.33 9.99h-7.465z'
      pathFill='#DBDBDB'
    />
    <RootPath
      d='M14.164 35.841a.632.632 0 01-.541-.279 1.005 1.005 0 01-.117-.295 1.732 1.732 0 010-.687.905.905 0 01.111-.295.61.61 0 01.541-.29.625.625 0 01.536.296.836.836 0 01.117.295c.026.111.04.225.04.34 0 .116-.012.229-.034.34a.836.836 0 01-.117.296.61.61 0 01-.536.28zm-1.456-2.366v3.895h.792v-1.367h.011c.097.142.22.25.369.324.152.07.317.106.496.106a1.141 1.141 0 00.949-.452c.108-.138.188-.296.24-.474a2.162 2.162 0 000-1.144 1.433 1.433 0 00-.24-.497 1.21 1.21 0 00-.408-.34 1.25 1.25 0 00-.585-.129c-.18 0-.343.036-.492.106a.872.872 0 00-.368.34h-.011v-.368h-.753zm5.459 1.434c0 .12-.011.235-.034.346a.97.97 0 01-.111.302.594.594 0 01-.536.284.62.62 0 01-.318-.078.786.786 0 01-.218-.212.986.986 0 01-.122-.301 1.466 1.466 0 01-.04-.335c0-.119.012-.232.034-.34a1 1 0 01.117-.296.642.642 0 01.218-.207.643.643 0 01.329-.078c.13 0 .238.026.324.078a.78.78 0 01.324.497c.022.108.033.221.033.34zm.01 1.083v.368h.754v-3.984h-.792v1.451h-.011a.83.83 0 00-.369-.318 1.093 1.093 0 00-.485-.112 1.194 1.194 0 00-.96.458 1.527 1.527 0 00-.24.48 2.142 2.142 0 000 1.138c.056.186.136.352.24.497.108.141.244.255.407.34.164.082.354.123.57.123.19 0 .359-.034.508-.1a.831.831 0 00.368-.341h.01zm1.526-1.986v2.354h.792v-2.355h.547v-.53h-.547v-.172c0-.12.023-.203.067-.252.049-.052.127-.078.235-.078.1 0 .197.006.29.017v-.592l-.206-.01a2.036 2.036 0 00-.213-.012c-.323 0-.565.082-.725.246a.865.865 0 00-.24.63v.223h-.474v.53h.474z'
      pathFill='#FFFFFF'
    />
    <RootPath
      d='M18.39 8.906c-.175-.633-.603-.948-.964-.902-.436.057-.9.316-1.086.725-.486 1.092.428 4.164.688 5.038l.045.152c-1.058 3.194-4.679 9.507-6.453 9.934-.037-.417.186-1.624 2.526-3.129.12-.13.26-.287.325-.39-1.978.966-4.54 2.517-3 3.677.085.066.214.12.363.176 1.18.437 2.832-.992 4.493-4.233 1.83-.604 3.306-1.058 5.395-1.374 2.283 1.55 3.816 1.866 4.856 1.467.288-.112.742-.474.872-.947.065-.223.158-.585-.018-.873-.59-.961-2.98-.632-4.4-.437-.253.035-.475.066-.651.084-1.829-1.104-3.092-3.073-3.603-4.494.079-.302.158-.591.234-.868.385-1.4.689-2.506.38-3.606h-.002zM26.45 19.1c-.845 1.04-2.822.316-4.4-.678 1.457-.158 2.96-.25 3.611-.046.827.26.798.668.79.724zm-8.849-6.36c-.305-1.086-.733-3.5-.046-4.28 1.146.656.711 2.078.27 3.523-.077.253-.154.506-.224.757zm-2.162 6.843c1.717-.678 2.915-1.134 4.679-1.458-1.3-1.17-2.09-2.442-2.74-3.742-.463 1.672-1.43 4.206-1.94 5.2z'
      pathFill='#CFCFCF'
    />
  </RootSvg>
);
