// 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 SvgElectricalCircuit = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M5.3335 14.6667V12M5.3335 12C4.97987 12 4.64074 11.8595 4.39069 11.6095C4.14064 11.3594 4.00016 11.0203 4.00016 10.6667C4.00016 10.3131 4.14064 9.97392 4.39069 9.72387C4.64074 9.47382 4.97987 9.33334 5.3335 9.33334C5.68712 9.33334 6.02626 9.47382 6.2763 9.72387C6.52635 9.97392 6.66683 10.3131 6.66683 10.6667C6.66683 11.0203 6.52635 11.3594 6.2763 11.6095C6.02626 11.8595 5.68712 12 5.3335 12ZM11.3335 1.33334V4.00001M11.3335 4.00001H9.3335V6.66668M11.3335 4.00001L14.6668 5.33334M9.3335 6.66668C9.68712 6.66668 10.0263 6.80715 10.2763 7.0572C10.5264 7.30725 10.6668 7.64639 10.6668 8.00001C10.6668 8.35363 10.5264 8.69277 10.2763 8.94282C10.0263 9.19287 9.68712 9.33334 9.3335 9.33334C8.97987 9.33334 8.64074 9.19287 8.39069 8.94282C8.14064 8.69277 8.00016 8.35363 8.00016 8.00001C8.00016 7.64639 8.14064 7.30725 8.39069 7.0572C8.64074 6.80715 8.97987 6.66668 9.3335 6.66668ZM5.3335 1.33334V4.66668L1.3335 7.33334M10.6668 14.6667V12.6667L14.6668 10M14.6668 1.33334H1.3335V14.6667H14.6668V1.33334Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
