import { FC } from 'react'

import { SvgIcon, SvgIconProps } from '@mui/material'

const ArchiveIcon: FC<SvgIconProps> = ({ sx, ...props }) => (
  <SvgIcon sx={{ fontSize: 18, color: 'action.active', ...sx }} {...props}>
    <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none">
      <path
        d="M13.4998 1.68457H11.2491C10.9386 1.68457 10.6866 1.93657 10.6866 2.24707C10.6866 2.55757 10.9386 2.80957 11.2491 2.80957H13.4998C14.4313 2.80957 15.1888 3.56707 15.1888 4.49782V10.6876H12.4633C11.9616 10.6876 11.5108 10.9666 11.2888 11.4136L10.9536 12.0848C10.9213 12.1486 10.8568 12.1891 10.7848 12.1891H7.21109C7.13909 12.1891 7.07534 12.1493 7.04309 12.0848L6.70709 11.4121C6.48284 10.9658 6.03359 10.6883 5.53409 10.6883H2.80784V4.49857C2.80784 3.56707 3.56534 2.81032 4.49609 2.81032H6.74684C7.05734 2.81032 7.30934 2.55832 7.30934 2.24782C7.30934 1.93732 7.05734 1.68532 6.74684 1.68532H4.49684C2.94584 1.68532 1.68359 2.94757 1.68359 4.49857V13.5016C1.68359 15.0526 2.94584 16.3156 4.49684 16.3156H13.4998C15.0508 16.3156 16.3138 15.0526 16.3138 13.5016V4.49857C16.3138 2.94682 15.0508 1.68457 13.4998 1.68457ZM15.1888 13.5016C15.1888 14.4331 14.4313 15.1906 13.4998 15.1906H4.49684C3.56534 15.1906 2.80859 14.4331 2.80859 13.5016V11.8133H5.53334C5.60384 11.8133 5.66984 11.8546 5.70134 11.9161L6.03659 12.5881C6.26009 13.0366 6.71009 13.3148 7.21109 13.3148H10.7848C11.2858 13.3148 11.7358 13.0366 11.9593 12.5888L12.2953 11.9168C12.3268 11.8531 12.3913 11.8133 12.4633 11.8133H15.1888V13.5016Z"
        fill="currentColor"
      />
      <path
        d="M6.34934 7.01257C6.23984 7.12207 6.18434 7.26607 6.18434 7.41007C6.18434 7.55407 6.23909 7.69807 6.34934 7.80757L8.60009 10.0583C8.60384 10.0621 8.60834 10.0628 8.61209 10.0658C8.66159 10.1131 8.71859 10.1521 8.78234 10.1791C8.85134 10.2076 8.92409 10.2226 8.99759 10.2226C9.07109 10.2226 9.14459 10.2076 9.21359 10.1783C9.25934 10.1596 9.29609 10.1273 9.33509 10.0981C9.35459 10.0831 9.37784 10.0756 9.39584 10.0576L11.6466 7.80682C11.7561 7.69732 11.8116 7.55332 11.8116 7.40932C11.8116 7.26532 11.7568 7.12132 11.6466 7.01182C11.4268 6.79207 11.0706 6.79207 10.8508 7.01182L9.56009 8.30257V3.89932C9.56009 3.58882 9.30809 3.33682 8.99759 3.33682C8.68709 3.33682 8.43509 3.58882 8.43509 3.89932V8.30257L7.14509 7.01257C6.92534 6.79282 6.56909 6.79282 6.34934 7.01257Z"
        fill="currentColor"
      />
    </svg>
  </SvgIcon>
)

export default ArchiveIcon
