// 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 SvgAiNewSpark = ({
  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="M9.67764 2.89129C9.14324 2.74485 8.5807 2.66667 7.99984 2.66667C4.50203 2.66667 1.6665 5.50219 1.6665 9C1.6665 12.4978 4.50203 15.3333 7.99984 15.3333C11.4976 15.3333 14.3332 12.4978 14.3332 9C14.3332 8.43127 14.2582 7.88007 14.1176 7.35573M7.99984 5.83333V12.1667M4.83317 9H11.1665M10.9998 3C12.3332 3 13.9998 1.33333 13.9998 0C13.9998 1.33333 15.6665 3 16.9998 3C15.6665 3 13.9998 4.66667 13.9998 6C13.9998 4.66667 12.3332 3 10.9998 3Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
