// 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 SvgLassoTool = ({
  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="M3.80748 10.8136C2.29816 9.83579 1.33325 8.34132 1.33325 6.66659C1.33325 3.72107 4.31802 1.33325 7.99992 1.33325C11.6818 1.33325 14.6666 3.72107 14.6666 6.66659C14.6666 9.61212 11.6818 11.9999 7.99992 11.9999C7.51785 11.9999 7.04779 11.959 6.59478 11.8813M6.66658 12.3333C6.66658 12.5521 6.61485 12.7688 6.51434 12.9711C6.41383 13.1733 6.26652 13.357 6.0808 13.5118C5.89508 13.6665 5.6746 13.7893 5.43195 13.873C5.1893 13.9568 4.92923 13.9999 4.66659 13.9999C4.40394 13.9999 4.14387 13.9568 3.90122 13.873C3.65857 13.7893 3.43809 13.6665 3.25237 13.5118C3.06665 13.357 2.91934 13.1733 2.81883 12.9711C2.71832 12.7688 2.66659 12.5521 2.66659 12.3333C2.66659 12.1144 2.71832 11.8977 2.81883 11.6954C2.91934 11.4932 3.06665 11.3095 3.25237 11.1547C3.43809 11 3.65857 10.8772 3.90122 10.7935C4.14387 10.7097 4.40394 10.6666 4.66659 10.6666C4.92923 10.6666 5.1893 10.7097 5.43195 10.7935C5.6746 10.8772 5.89508 11 6.0808 11.1547C6.26652 11.3095 6.41383 11.4932 6.51434 11.6954C6.61485 11.8977 6.66658 12.1144 6.66658 12.3333ZM6.66658 12.3333L9.99992 14.6666"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
