import React, { ForwardedRef, useContext } from 'react';
import { OriginIconProps } from '../type';
import { Context } from '../context';

function IconNotIContainsComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
    const { prefix: prefixFromContext } = useContext(Context);
    const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;

    const prefix = prefixFromProps || prefixFromContext || 'hiagent';
    const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
    return <svg className={`${prefix}-icon ${prefix}-icon-NotIContains${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 18 18" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M16.2708 3.24927C16.1455 3.15833 15.9949 3.1089 15.8401 3.10791C15.6841 3.10791 15.5281 3.15591 15.3961 3.25191L1.59606 13.5599C1.36252 13.7329 1.26614 14.0243 1.3204 14.2949C1.34141 14.3998 1.38504 14.5016 1.45209 14.5921C1.5092 14.6706 1.58134 14.737 1.66432 14.7875C1.7473 14.8379 1.83947 14.8713 1.93548 14.8858C2.02614 14.8995 2.11851 14.8961 2.20781 14.8758C2.20788 14.8757 2.20795 14.8756 2.20802 14.8755C2.21321 14.8743 2.2184 14.8731 2.22357 14.8718C2.31774 14.8482 2.40629 14.8061 2.48406 14.7479L7.33449 11.1248H7.33479L9.33401 9.63151L9.33395 9.63134L16.2841 4.43991C16.4073 4.34622 16.4982 4.21629 16.5439 4.06835C16.5896 3.9204 16.5878 3.76187 16.5388 3.61498C16.4899 3.46809 16.3962 3.34021 16.2708 3.24927ZM9.44501 9.9185L7.82859 11.1248H8.3222L9.73475 14.7772C9.78668 14.9115 9.91581 15 10.0598 15H10.9019C10.9449 15 10.9875 14.992 11.0276 14.9765C11.2071 14.9071 11.2963 14.7053 11.2269 14.5258L9.44501 9.9185ZM3.69194 11.1248H4.35503L6.24155 9.7157H4.24206L6.01792 5.16678L7.43301 8.82573L8.66614 7.90463L7.00047 3.59778C6.94854 3.46351 6.8194 3.375 6.67545 3.375H5.36433C5.22078 3.375 5.09192 3.46303 5.03972 3.59675L1.08044 13.7385C1.15077 13.5744 1.26498 13.4315 1.41609 13.3201L3.41898 11.824L3.69194 11.1248ZM1.00809 14.0041C1.01738 13.9329 1.03384 13.8642 1.05708 13.7984L0.773494 14.5248C0.757726 14.5652 0.749634 14.6082 0.749634 14.6515C0.749634 14.844 0.905652 15 1.09811 15H1.43043C1.34282 14.9375 1.26467 14.8609 1.20009 14.7721C1.03209 14.5561 0.972094 14.2801 1.00809 14.0041ZM14.7239 7.875C15.6263 7.875 16.2969 8.12885 16.7315 8.64064C17.1084 9.08827 17.2982 9.73357 17.2982 10.5655V14.5541C17.2982 14.7612 17.1303 14.9291 16.9232 14.9291H16.384C16.1769 14.9291 16.009 14.7612 16.009 14.5541V14.1297C15.7926 14.3975 15.5371 14.615 15.244 14.7784C14.8273 14.9972 14.349 15.1106 13.8171 15.1106C13.2164 15.1106 12.7324 14.9475 12.3747 14.6263L12.3049 14.56C11.906 14.1959 11.7077 13.7195 11.7077 13.1334C11.7077 12.3522 11.9883 11.7432 12.5413 11.3275C13.0353 10.9337 13.7393 10.7291 14.6522 10.7023L15.9276 10.6655V10.4747C15.9276 9.5887 15.5091 9.15771 14.6425 9.15771C14.27 9.15771 13.9698 9.23283 13.7503 9.37976C13.5599 9.50362 13.4233 9.67106 13.3378 9.88777L13.3219 9.93413C13.2694 10.1039 13.1049 10.2134 12.928 10.1965L12.2992 10.1364C12.0931 10.1167 11.9419 9.93355 11.9616 9.72739L11.9658 9.69696L11.9779 9.64689L11.983 9.62904C12.1511 9.06403 12.4578 8.62908 12.8936 8.34185C13.3402 8.02715 13.9509 7.875 14.7239 7.875ZM15.9276 12.1348V11.8317L14.737 11.8683C13.6513 11.8933 13.1249 12.301 13.1249 13.0816C13.1249 13.3161 13.2079 13.4986 13.3878 13.6521C13.5615 13.8096 13.8018 13.8928 14.0961 13.8928C14.5962 13.8928 15.0222 13.7219 15.3846 13.3807C15.7439 13.0426 15.9276 12.6233 15.9276 12.1348Z"/></svg>;
}

const IconNotIContains = React.forwardRef(IconNotIContainsComponent);
export default IconNotIContains;
