import React from 'react';

import type { IconProps } from './iconProps';

export const PdfIcon = ({
  width = 20,
  height = 20,
  viewBox = '0 0 20 20',
  role = 'image',
  ref,
  ...rest
}: IconProps) => (
  <svg
    ref={ref}
    xmlns="http://www.w3.org/2000/svg"
    fill="none"
    width={width}
    height={height}
    viewBox={viewBox}
    role={role}
    {...rest}
  >
    <path
      fill="currentColor"
      d="M3.98 16.932a1.4 1.4 0 0 1-.774-.686c-.344-.634-.23-1.267.141-1.8.35-.502.93-.928 1.585-1.285.83-.436 1.708-.79 2.618-1.054a31 31 0 0 0 1.876-3.638 11.3 11.3 0 0 1-.76-2.115c-.152-.654-.21-1.3-.08-1.856.132-.578.483-1.098 1.147-1.344.34-.126.707-.196 1.064-.126.18.035.348.107.494.21s.265.235.348.386c.156.268.212.582.225.879.012.305-.022.645-.083 1.003-.149.833-.477 1.852-.919 2.93a17.6 17.6 0 0 0 1.731 2.755c.787-.058 1.577-.03 2.357.081.643.106 1.296.319 1.696.76.212.235.34.522.353.846.012.313-.083.624-.244.92-.14.274-.355.508-.625.68-.267.16-.583.24-.901.225-.585-.023-1.155-.32-1.648-.682a9.7 9.7 0 0 1-1.61-1.552 22 22 0 0 0-3.527.664 18.5 18.5 0 0 1-1.804 2.466c-.512.572-1.074 1.07-1.636 1.286a1.5 1.5 0 0 1-1.024.047m2.436-3.105a9 9 0 0 0-.811.389c-.58.317-.956.625-1.143.893-.166.237-.17.409-.07.59a.4.4 0 0 0 .045.072 1 1 0 0 0 .062-.02c.242-.091.627-.384 1.122-.934q.421-.479.795-.99m2.897-2.173a24 24 0 0 1 1.784-.315 19 19 0 0 1-.9-1.401q-.416.868-.884 1.715zm4.32.736c.266.264.524.49.77.67.423.31.718.412.879.417a.2.2 0 0 0 .123-.024.5.5 0 0 0 .167-.204.7.7 0 0 0 .104-.327.15.15 0 0 0-.046-.103c-.092-.101-.353-.248-.915-.341a7.4 7.4 0 0 0-1.081-.087zm-3.515-5.728q.224-.665.354-1.352.082-.46.067-.76 0-.166-.057-.323a1 1 0 0 0-.256.065c-.154.057-.279.173-.346.462-.07.314-.053.767.081 1.343q.064.273.16.565z"
    />
  </svg>
);
