// eslint-disable-next-line @typescript-eslint/ban-ts-comment
//@ts-nocheck
import type { VariantProps } from 'class-variance-authority'
import * as React from 'react'
import type { SVGProps } from 'react'
import { iconVariants } from '../../iconVariants'

type Color = VariantProps<typeof iconVariants>['color'] | undefined

export const SvgMedicalSearchDiagnosis = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M13.0001 12.1588L16.0552 15.2139M9.67915 6.14629H11.3062V8.83793H9.67915V10.465H6.98753V8.83793H5.36044V6.14629H6.98753V4.51921H9.67915V6.14629ZM1.66675 7.49213C1.66675 9.2602 2.36913 10.9559 3.61937 12.2061C4.86961 13.4564 6.56531 14.1588 8.33341 14.1588C10.1015 14.1588 11.7972 13.4564 13.0475 12.2061C14.2977 10.9559 15.0001 9.2602 15.0001 7.49213C15.0001 5.72399 14.2977 4.02831 13.0475 2.77806C11.7972 1.52782 10.1015 0.82544 8.33341 0.82544C6.56531 0.82544 4.86961 1.52782 3.61937 2.77806C2.36913 4.02831 1.66675 5.72399 1.66675 7.49213Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
