// 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 SvgHiddenLayerStyle = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M15.6667 11.3333L13.3591 13.3333M10.6667 15.6666L12.2052 14.3333M1.47144 1.47131L16.5287 16.5286M15.6667 5.66663V5.32824C15.6667 3.67418 14.3259 2.33329 12.6718 2.33329C11.2975 2.33329 10.0996 3.26861 9.76628 4.60186L8.13188 11.1393C7.46673 13.8 5.07605 15.6666 2.33341 15.6666H1.66675M8.33342 9.66663H5.66675"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
