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

function IconNotContainsComponent(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-NotContains${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.24951C16.1455 3.15858 15.9949 3.10915 15.8401 3.10815C15.6841 3.10815 15.5281 3.15615 15.3961 3.25215L10.7443 6.72685L10.7442 6.72683L9.63966 7.55191C9.63967 7.55191 9.63967 7.55192 9.63967 7.55192L8.14283 8.67C8.14283 8.66999 8.14283 8.66998 8.14283 8.66997L6.83649 9.64576V9.64578L6.03203 10.2467V10.2467L4.73903 11.2125V11.2125L2.93869 12.5573C2.93869 12.5573 2.93869 12.5573 2.93869 12.5572L1.82695 13.3877C1.82696 13.3877 1.82696 13.3877 1.82696 13.3877L1.59606 13.5602C1.27206 13.8002 1.21206 14.2682 1.45206 14.5922C1.50916 14.6707 1.5813 14.7371 1.66428 14.7875C1.74727 14.8379 1.83944 14.8714 1.93544 14.8859C2.03145 14.9004 2.12939 14.8957 2.22357 14.8721C2.31774 14.8484 2.40629 14.8063 2.48406 14.7482L16.2841 4.44015C16.4073 4.34646 16.4982 4.21653 16.5439 4.06859C16.5896 3.92065 16.5878 3.76212 16.5388 3.61522C16.4899 3.46833 16.3962 3.34045 16.2708 3.24951ZM14.6394 6.04188L11.9427 8.05448C11.9048 8.30949 11.887 8.58529 11.887 8.87917V11.6197C11.887 12.5643 12.0651 13.3136 12.4942 13.7959C12.9036 14.2713 13.4847 14.4947 14.194 14.4947C14.8773 14.4947 15.4315 14.2858 15.8409 13.8096L15.8434 13.8068C16.2366 13.3318 16.4335 12.6527 16.4335 11.7711V11.3639H15.1405V11.7862C15.1405 12.2923 15.0463 12.6292 14.8932 12.8371C14.7457 13.0373 14.519 13.1506 14.1805 13.1506C13.8308 13.1506 13.5949 13.0315 13.4366 12.8066L13.4335 12.8023C13.2764 12.5909 13.18 12.1734 13.18 11.4985V9.0003C13.18 8.34582 13.2748 7.92396 13.4351 7.69437C13.5961 7.47898 13.8359 7.34827 14.194 7.34827C14.5307 7.34827 14.7537 7.464 14.8985 7.66547C15.0494 7.87551 15.1405 8.21332 15.1405 8.71262V9.13488H16.4335V8.71262C16.4335 7.84552 16.2364 7.16674 15.8434 6.69207L15.841 6.68922L15.8385 6.68646C15.527 6.33711 15.1237 6.12338 14.6394 6.04188ZM11.3063 8.52944L10.009 9.4976V11.4985C10.009 12.1599 9.92596 12.5832 9.77554 12.8122C9.62817 13.0365 9.41937 13.1506 9.10299 13.1506C8.77844 13.1506 8.55522 13.0258 8.39208 12.7701C8.23409 12.5164 8.12949 12.0963 8.12949 11.5137V10.9003L6.83649 11.8653V14.3736H8.12554L8.13207 14.0295C8.43826 14.3409 8.82816 14.4947 9.29199 14.4947C9.88113 14.4947 10.3805 14.2605 10.757 13.7707C11.1356 13.2781 11.3155 12.5538 11.3155 11.6197V8.87917C11.3155 8.75924 11.3124 8.64264 11.3063 8.52944ZM2.88395 12.2237L1.7191 13.0938C1.61777 12.7607 1.56653 12.3791 1.56653 11.9528C1.56653 11.2127 1.76827 10.5947 2.16145 10.1537C2.55682 9.71028 3.12305 9.48649 3.83303 9.48649H4.72553V8.44009C4.72553 8.02802 4.64273 7.75938 4.50799 7.594C4.37626 7.43233 4.165 7.33312 3.83303 7.33312C3.55042 7.33312 3.34399 7.42339 3.1962 7.57451C3.06011 7.74162 2.98103 7.95931 2.98103 8.27354V8.60495H1.74203V8.2584C1.74203 7.57573 1.93222 7.01556 2.32885 6.60493C2.72121 6.19874 3.22891 6.0041 3.84653 6.0041C4.53337 6.0041 5.07094 6.23036 5.46411 6.67132L5.46668 6.67427C5.84635 7.11711 6.03203 7.73524 6.03203 8.48551V9.8722L4.73903 10.838V10.6944H3.94103C3.55298 10.6944 3.29639 10.8063 3.13458 10.9951C2.97142 11.1855 2.87303 11.4907 2.87303 11.9528C2.87303 12.0498 2.87676 12.14 2.88395 12.2237ZM8.20425 8.24965L6.83649 9.27131V3.50586H8.12949V6.49601C8.43618 6.17516 8.8208 6.0041 9.27849 6.0041C9.77493 6.0041 10.1993 6.17325 10.5427 6.50296L9.36267 7.38436C9.28489 7.36037 9.19863 7.34827 9.10299 7.34827C8.7847 7.34827 8.55933 7.48283 8.39332 7.74196C8.31487 7.87477 8.25002 8.04376 8.20425 8.24965ZM6.03203 12.4656L3.32617 14.485C3.39882 14.4915 3.47329 14.4947 3.54953 14.4947C4.03805 14.4947 4.45155 14.3375 4.77953 14.0115V14.3736H6.03203V12.4656Z"/></svg>;
}

const IconNotContains = React.forwardRef(IconNotContainsComponent);
export default IconNotContains;
