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

function IconAddAgentEvalComponent(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-add_agent_eval${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 14 14" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><g clipPath="url(#svg_0a3097b8a9__clip0_7655_50000)"><path d="M10.0259 8.83729C10.2031 8.8374 10.3459 8.98154 10.3459 9.15732V10.7611H11.9504C12.1276 10.7612 12.2704 10.906 12.2704 11.0818V11.724C12.2703 11.8089 12.2367 11.8903 12.1767 11.9503C12.1166 12.0103 12.0353 12.044 11.9504 12.0441H10.3467V13.6485C10.3467 13.7335 10.313 13.8154 10.2529 13.8755C10.1929 13.9354 10.1114 13.9692 10.0266 13.9693H9.38441C9.29947 13.9693 9.21754 13.9355 9.15746 13.8755C9.09737 13.8154 9.06367 13.7335 9.06367 13.6485V12.0441H7.4592C7.37422 12.0441 7.29233 12.0104 7.23224 11.9503C7.17229 11.8903 7.13855 11.8088 7.13845 11.724V11.0825C7.13845 10.9053 7.28332 10.7618 7.4592 10.7618H9.06367V9.15732C9.06368 8.98011 9.20854 8.83729 9.38441 8.83729H10.0259ZM7.02676 0.0281372C10.0789 0.0281761 11.6865 1.35779 12.2626 1.9827C12.5795 2.32672 12.7068 2.7331 12.7401 3.06881L13.2005 7.71395V7.71467C13.2048 7.75877 13.2083 7.80453 13.2098 7.85142L13.2141 7.99318C13.2145 8.00482 13.2147 8.01075 13.2148 8.01322C13.2681 8.37855 13.0261 8.72482 12.6599 8.79648C12.2824 8.8702 11.916 8.62415 11.8423 8.24662C11.8215 8.14004 11.8216 8.03981 11.8201 7.98244C11.8194 7.95587 11.8183 7.92856 11.8172 7.89509C11.8168 7.88219 11.816 7.86741 11.8144 7.85142L11.354 3.20628C11.3431 3.09669 11.3044 2.99841 11.238 2.92634C10.8767 2.53444 9.62286 1.42143 7.02676 1.42139C4.43088 1.4215 3.17752 2.53445 2.81621 2.92634C2.75038 2.99778 2.71199 3.09563 2.70094 3.20628L2.23915 7.85213C2.23826 7.86132 2.23765 7.87471 2.237 7.89509C2.23556 7.94035 2.23477 7.95847 2.23414 7.98244C2.23265 8.03915 2.23199 8.13951 2.21123 8.24591C2.17895 8.41114 2.16254 8.58079 2.16254 8.75281C2.1627 9.72249 2.69579 10.6097 3.57584 11.2579L3.78562 11.4033C4.28952 11.7331 4.88989 11.9883 5.55475 12.1429C5.92921 12.2301 6.1622 12.6046 6.07525 12.9791C5.98817 13.3538 5.61366 13.5874 5.23902 13.5003C4.31145 13.2847 3.45899 12.9016 2.74963 12.3791C1.6798 11.5911 0.875891 10.4283 0.779311 9.03489L0.769287 8.75281C0.769287 8.49961 0.794228 8.24997 0.840167 8.00606C0.840296 8.00294 0.839987 7.99873 0.840167 7.99318C0.840563 7.98089 0.841053 7.96593 0.841599 7.94521C0.842287 7.91919 0.843627 7.87703 0.844463 7.8507L0.853054 7.71467V7.71395L1.31485 3.06881C1.34811 2.73412 1.47409 2.32737 1.79168 1.9827C2.3676 1.35785 3.97457 0.0282515 7.02676 0.0281372ZM7.38331 2.14809C8.89989 2.23085 9.73665 2.82403 10.1312 3.22704L10.2829 3.39672L10.3309 3.46187C10.4045 3.57178 10.4472 3.6873 10.4712 3.79408L10.492 3.91722L10.7863 6.56699C10.8631 7.2587 10.3214 7.8643 9.62569 7.8643H4.38631C3.69595 7.86427 3.15644 7.26803 3.22431 6.58131L3.48563 3.94085C3.50324 3.76341 3.56576 3.55158 3.72405 3.37023C4.07229 2.97166 5.04908 2.13812 7.02104 2.13807L7.38331 2.14809ZM6.72821 3.24565C5.38553 3.31627 4.76655 3.86248 4.57747 4.06686L4.31901 6.68941C4.31511 6.72943 4.34636 6.76456 4.38631 6.76459H9.62569C9.66623 6.76459 9.69811 6.72877 9.69371 6.6887L9.40088 4.05827C9.2224 3.85147 8.57217 3.2378 7.02104 3.23778L6.72821 3.24565ZM5.62492 4.12628C6.03986 4.12639 6.37596 4.46307 6.37596 4.87804C6.37596 5.293 6.03986 5.62969 5.62492 5.6298C5.20988 5.6298 4.87316 5.29307 4.87316 4.87804C4.87316 4.46301 5.20988 4.12628 5.62492 4.12628ZM8.41787 4.12628C8.83296 4.12628 9.1695 4.46298 9.16963 4.87804C9.16963 5.2932 8.83303 5.6298 8.41787 5.6298C8.00287 5.62961 7.66683 5.29309 7.66683 4.87804C7.66695 4.4631 8.00294 4.12647 8.41787 4.12628Z"/></g><defs><clipPath id="svg_0a3097b8a9__clip0_7655_50000"><path d="M0 0H14V14H0z"/></clipPath></defs></svg>;
}

const IconAddAgentEval = React.forwardRef(IconAddAgentEvalComponent);
export default IconAddAgentEval;
