// 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 SvgAiMapGeneratingSpark = ({
  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="M14.5086 8V14.9999L10.2311 14.0121L5.94388 14.9999M5.94388 14.9999L1.6665 14.0121V2.15788L5.94389 3.14573M5.94388 14.9999L5.94389 3.14573M5.94389 3.14573L8.99981 2.4416M10.2237 5.66667V13.9845M10.9998 3C12.3331 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.3331 3 10.9998 3Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
