// 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 SvgCodeAnalysis = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M13.0472 13.0473L16.0549 16.055M13.0472 13.0473C11.7969 14.2975 10.1013 15 8.33317 15C6.56506 15 4.86937 14.2976 3.61912 13.0474C2.36888 11.7971 1.6665 10.1014 1.6665 8.33329C1.6665 6.56519 2.36888 4.86949 3.61912 3.61925C4.86937 2.36901 6.56506 1.66663 8.33317 1.66663C10.1013 1.66663 11.797 2.36901 13.0472 3.61925C14.2974 4.86949 14.9998 6.56519 14.9998 8.33329C14.9998 10.1014 14.2974 11.797 13.0472 13.0473ZM6.99984 5.99996L4.6665 8.33329L6.99984 10.6666M9.6665 5.99996L11.9998 8.33329L9.6665 10.6666"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
