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

function IconImageUnderstandingComponent(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-Image-understanding${loadingKls} ${className}`} width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill={useCurrentColor ? 'currentColor' : '#000'} viewBox="0 0 24 24" {...rest} ref={ref}><mask id="svg_12974246f6__a" fill={useCurrentColor ? 'currentColor' : '#000'}><path fillRule="evenodd" d="M13 3.5H5.30775C4.80258 3.5 4.375 3.675 4.025 4.025C3.675 4.375 3.5 4.80258 3.5 5.30775V18.6923C3.5 19.1974 3.675 19.625 4.025 19.975C4.375 20.325 4.80258 20.5 5.30775 20.5H18.6923C19.1974 20.5 19.625 20.325 19.975 19.975C20.325 19.625 20.5 19.1974 20.5 18.6923V11H19V18.6923C19 18.7692 18.9679 18.8398 18.9038 18.9038C18.8398 18.9679 18.7692 19 18.6923 19H5.30775C5.23075 19 5.16025 18.9679 5.09625 18.9038C5.03208 18.8398 5 18.7692 5 18.6923V5.30775C5 5.23075 5.03208 5.16025 5.09625 5.09625C5.16025 5.03208 5.23075 5 5.30775 5H13V3.5ZM17.3268 17H6.75L9 13.4615L11.2308 16.0192L14 12.3655L17.3268 17Z" clipRule="evenodd"/></mask><path fillRule="evenodd" d="M13 3.5H5.30775C4.80258 3.5 4.375 3.675 4.025 4.025C3.675 4.375 3.5 4.80258 3.5 5.30775V18.6923C3.5 19.1974 3.675 19.625 4.025 19.975C4.375 20.325 4.80258 20.5 5.30775 20.5H18.6923C19.1974 20.5 19.625 20.325 19.975 19.975C20.325 19.625 20.5 19.1974 20.5 18.6923V11H19V18.6923C19 18.7692 18.9679 18.8398 18.9038 18.9038C18.8398 18.9679 18.7692 19 18.6923 19H5.30775C5.23075 19 5.16025 18.9679 5.09625 18.9038C5.03208 18.8398 5 18.7692 5 18.6923V5.30775C5 5.23075 5.03208 5.16025 5.09625 5.09625C5.16025 5.03208 5.23075 5 5.30775 5H13V3.5ZM17.3268 17H6.75L9 13.4615L11.2308 16.0192L14 12.3655L17.3268 17Z" clipRule="evenodd"/><path d="M13 3.5H14V2.5H13V3.5ZM4.025 4.025L3.31789 3.31789L3.31789 3.31789L4.025 4.025ZM4.025 19.975L3.31789 20.6821L3.31789 20.6821L4.025 19.975ZM20.5 11H21.5V10H20.5V11ZM19 11V10H18V11H19ZM18.9038 18.9038L18.1972 18.1961L18.1961 18.1972L18.9038 18.9038ZM5.09625 18.9038L5.80391 18.1972L5.80242 18.1958L5.09625 18.9038ZM5.09625 5.09625L5.80242 5.8043L5.80429 5.80242L5.09625 5.09625ZM13 5V6H14V5H13ZM6.75 17L5.90615 16.4634L4.9291 18H6.75V17ZM17.3268 17V18H19.2756L18.1392 16.4169L17.3268 17ZM9 13.4615L9.75363 12.8042L8.87411 11.7958L8.15615 12.9249L9 13.4615ZM11.2308 16.0192L10.4772 16.6765L11.2852 17.603L12.0278 16.6232L11.2308 16.0192ZM14 12.3655L14.8124 11.7824L14.0219 10.6811L13.203 11.7615L14 12.3655ZM5.30775 4.5H13V2.5H5.30775V4.5ZM4.73211 4.73211C4.89029 4.57393 5.06168 4.5 5.30775 4.5V2.5C4.54349 2.5 3.85971 2.77607 3.31789 3.31789L4.73211 4.73211ZM4.5 5.30775C4.5 5.06168 4.57393 4.89029 4.73211 4.73211L3.31789 3.31789C2.77607 3.85971 2.5 4.54349 2.5 5.30775H4.5ZM4.5 18.6923V5.30775H2.5V18.6923H4.5ZM4.73211 19.2679C4.57392 19.1097 4.5 18.9383 4.5 18.6923H2.5C2.5 19.4565 2.77608 20.1403 3.31789 20.6821L4.73211 19.2679ZM5.30775 19.5C5.06167 19.5 4.89029 19.4261 4.73211 19.2679L3.31789 20.6821C3.85972 21.2239 4.54349 21.5 5.30775 21.5V19.5ZM18.6923 19.5H5.30775V21.5H18.6923V19.5ZM19.2679 19.2679C19.1097 19.4261 18.9383 19.5 18.6923 19.5V21.5C19.4565 21.5 20.1403 21.2239 20.6821 20.6821L19.2679 19.2679ZM19.5 18.6923C19.5 18.9383 19.4261 19.1097 19.2679 19.2679L20.6821 20.6821C21.2239 20.1403 21.5 19.4565 21.5 18.6923H19.5ZM19.5 11V18.6923H21.5V11H19.5ZM20.5 10H19V12H20.5V10ZM20 18.6923V11H18V18.6923H20ZM19.6104 19.6115C19.8264 19.3957 20 19.0814 20 18.6923H18C18 18.5868 18.023 18.4826 18.0657 18.3889C18.1069 18.2981 18.1583 18.235 18.1972 18.1961L19.6104 19.6115ZM18.6923 20C19.0814 20 19.3957 19.8264 19.6115 19.6104L18.1961 18.1972C18.235 18.1583 18.2981 18.1069 18.3889 18.0657C18.4826 18.023 18.5868 18 18.6923 18V20ZM5.30775 20H18.6923V18H5.30775V20ZM4.38859 19.6104C4.6042 19.8263 4.91835 20 5.30775 20V18C5.4131 18 5.51735 18.023 5.61125 18.0657C5.70216 18.1071 5.76526 18.1585 5.80391 18.1972L4.38859 19.6104ZM4 18.6923C4 19.0814 4.1735 19.3958 4.39008 19.6118L5.80242 18.1958C5.84144 18.2347 5.89295 18.2979 5.9343 18.3888C5.97699 18.4826 6 18.5869 6 18.6923H4ZM4 5.30775V18.6923H6V5.30775H4ZM4.39008 4.38821C4.17364 4.60407 4 4.91841 4 5.30775H6C6 5.41301 5.97704 5.5173 5.93425 5.61132C5.89282 5.70237 5.84125 5.76557 5.80242 5.80429L4.39008 4.38821ZM5.30775 4C4.91841 4 4.60407 4.17364 4.38821 4.39008L5.80429 5.80242C5.76557 5.84125 5.70237 5.89282 5.61132 5.93425C5.5173 5.97704 5.41301 6 5.30775 6V4ZM13 4H5.30775V6H13V4ZM14 5V3.5H12V5H14ZM6.75 18H17.3268V16H6.75V18ZM8.15615 12.9249L5.90615 16.4634L7.59385 17.5366L9.84385 13.9981L8.15615 12.9249ZM11.9844 15.3619L9.75363 12.8042L8.24637 14.1188L10.4772 16.6765L11.9844 15.3619ZM13.203 11.7615L10.4338 15.4152L12.0278 16.6232L14.797 12.9695L13.203 11.7615ZM18.1392 16.4169L14.8124 11.7824L13.1876 12.9486L16.5144 17.5831L18.1392 16.4169Z" mask="url(#svg_12974246f6__a)"/><path fillRule="evenodd" d="M16.2751 3.27989C16.5624 2.66434 17.4377 2.66433 17.7249 3.27989L18.1782 4.25117C18.5011 4.9429 19.0571 5.49893 19.7488 5.82176L20.7201 6.27506C21.3357 6.56234 21.3357 7.43765 20.7201 7.72493L19.7488 8.17823C19.0571 8.50106 18.5011 9.05708 18.1782 9.74882L17.7249 10.7201C17.4377 11.3357 16.5624 11.3357 16.2751 10.7201L15.8218 9.74882C15.4989 9.05709 14.9429 8.50106 14.2512 8.17823L13.2799 7.72493C12.6644 7.43765 12.6643 6.56234 13.2799 6.27506L14.2512 5.82176C14.9429 5.49893 15.4989 4.9429 15.8218 4.25117L16.2751 3.27989ZM17 5.2349C16.5796 5.97003 15.97 6.57957 15.2349 6.99999C15.97 7.42041 16.5796 8.02996 17 8.7651C17.4204 8.02996 18.03 7.42042 18.7651 7C18.03 6.57958 17.4204 5.97003 17 5.2349Z" clipRule="evenodd"/></svg>;
}

const IconImageUnderstanding = React.forwardRef(IconImageUnderstandingComponent);
export default IconImageUnderstanding;
