import React from 'react';

interface ImagingProps {
  isTablet: boolean;
}

export default function ImagingIcon({ isTablet }: ImagingProps) {
  const size = isTablet ? 40 : 24;
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
      <g clip-path="url(#clip0_319_622)">
        <mask id="mask0_319_622" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
          <path d="M24 0H0V24H24V0Z" fill="white" />
        </mask>
        <g mask="url(#mask0_319_622)">
          <path d="M24 0H0V24H24V0Z" fill="#B2FFC7" />
          <g clip-path="url(#clip1_319_622)">
            <path
              d="M18.5625 6.3125H12.4375C12.3215 6.3125 12.2102 6.35859 12.1281 6.44064C12.0461 6.52269 12 6.63397 12 6.75V12.4375C12 12.5535 12.0461 12.6648 12.1281 12.7469C12.2102 12.8289 12.3215 12.875 12.4375 12.875H18.5625C18.6785 12.875 18.7898 12.8289 18.8718 12.7469C18.9539 12.6648 19 12.5535 19 12.4375V6.75C19 6.63397 18.9539 6.52269 18.8718 6.44064C18.7898 6.35859 18.6785 6.3125 18.5625 6.3125ZM17.25 8.9375H15.9375V10.25H17.25V11.125H15.9375V12H15.0625V11.125H13.75V10.25H15.0625V8.9375H13.75V8.0625H15.0625V7.1875H15.9375V8.0625H17.25V8.9375Z"
              fill="#028E28"
            />
            <path
              d="M11.5625 18.125H10.6875V16.375C10.6907 16.2018 10.6589 16.0297 10.594 15.869C10.5292 15.7083 10.4326 15.5624 10.3101 15.4399C10.1876 15.3173 10.0417 15.2208 9.88099 15.1559C9.72031 15.0911 9.54822 15.0593 9.37498 15.0625H7.62498C7.45175 15.0593 7.27965 15.0911 7.11898 15.1559C6.9583 15.2208 6.81235 15.3173 6.68983 15.4399C6.56732 15.5624 6.47076 15.7083 6.40592 15.869C6.34109 16.0297 6.30931 16.2018 6.31248 16.375V18.125H5.43748V16.375C5.43464 16.0869 5.48928 15.8012 5.59821 15.5345C5.70713 15.2678 5.86816 15.0256 6.07185 14.8219C6.27555 14.6182 6.51783 14.4572 6.78451 14.3482C7.0512 14.2393 7.33693 14.1847 7.62498 14.1875H9.37498C9.66304 14.1847 9.94877 14.2393 10.2155 14.3482C10.4821 14.4572 10.7244 14.6182 10.9281 14.8219C11.1318 15.0256 11.2928 15.2678 11.4018 15.5345C11.5107 15.8012 11.5653 16.0869 11.5625 16.375V18.125Z"
              fill="#028E28"
            />
            <path
              d="M8.49998 9.8125C8.84808 9.8125 9.18192 9.95078 9.42806 10.1969C9.6742 10.4431 9.81248 10.7769 9.81248 11.125C9.81248 11.4731 9.6742 11.8069 9.42806 12.0531C9.18192 12.2992 8.84808 12.4375 8.49998 12.4375C8.15189 12.4375 7.81805 12.2992 7.57191 12.0531C7.32576 11.8069 7.18748 11.4731 7.18748 11.125C7.18748 10.7769 7.32576 10.4431 7.57191 10.1969C7.81805 9.95078 8.15189 9.8125 8.49998 9.8125ZM8.49998 8.9375C7.91982 8.9375 7.36342 9.16797 6.95319 9.5782C6.54295 9.98844 6.31248 10.5448 6.31248 11.125C6.31248 11.7052 6.54295 12.2616 6.95319 12.6718C7.36342 13.082 7.91982 13.3125 8.49998 13.3125C9.08014 13.3125 9.63654 13.082 10.0468 12.6718C10.457 12.2616 10.6875 11.7052 10.6875 11.125C10.6875 10.5448 10.457 9.98844 10.0468 9.5782C9.63654 9.16797 9.08014 8.9375 8.49998 8.9375Z"
              fill="#028E28"
            />
          </g>
        </g>
      </g>
      <defs>
        <clipPath id="clip0_319_622">
          <rect width={size} height={size} fill="white" />
        </clipPath>
      </defs>
    </svg>
  );
}
