// 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 SvgApplicationSearch = ({
  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.7022 13.7025L15.5184 15.5186M13.7022 13.7025C13.2223 14.1825 12.5716 14.452 11.8928 14.452C11.2141 14.452 10.5631 14.1824 10.0831 13.7024C9.60314 13.2225 9.3335 12.5715 9.3335 11.8927C9.3335 11.2139 9.60314 10.563 10.0831 10.083C10.5631 9.60302 11.2141 9.33337 11.8928 9.33337C12.5716 9.33337 13.2226 9.60302 13.7026 10.083C14.1825 10.563 14.4522 11.2139 14.4522 11.8927C14.4522 12.5715 14.1822 13.2225 13.7022 13.7025ZM6.66683 1.33337H1.3335V6.66671H6.66683V1.33337ZM6.66683 9.33337H1.3335V14.6667H6.66683V9.33337ZM14.6668 1.33337H9.3335V6.66671H14.6668V1.33337Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
