// 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 SvgTapeCassetteRecord = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M5.66663 14L6.33329 11.3333H11.6666L12.3333 14M7.33329 5.33333V8.66667M10.6666 5.33333V8.66667M1.66663 2H16.3333V14H1.66663V2ZM12 8.66667H5.99996C5.07949 8.66667 4.33329 7.92047 4.33329 7C4.33329 6.07953 5.07949 5.33333 5.99996 5.33333H12C12.9204 5.33333 13.6666 6.07953 13.6666 7C13.6666 7.92047 12.9204 8.66667 12 8.66667Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
