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

function IconPromptAssessmentComponent(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-prompt-assessment${loadingKls} ${className}`} width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill={useCurrentColor ? 'currentColor' : '#000'} viewBox="0 0 20 20" {...rest} ref={ref}><path d="M2.5 14.318c1.3-.22 2.268-1.548 2.376-2.386.335 1.396 1.077 1.739 2.36 2.386-2.039.907-2.039 1.83-2.36 2.433-.207-1.288-1.58-2.388-2.376-2.433Z"/><path fillRule="evenodd" d="M4.835 11.183a.75.75 0 0 1 .77.574c.137.57.336.861.59 1.085.296.26.692.46 1.351.792l.028.014a.75.75 0 0 1-.032 1.355c-.931.414-1.319.796-1.517 1.077a2.28 2.28 0 0 0-.24.452l-.042.106a4.842 4.842 0 0 1-.206.466.75.75 0 0 1-1.402-.235c-.069-.43-.35-.886-.74-1.255-.411-.387-.793-.54-.938-.548a.75.75 0 0 1-.082-1.488c.437-.074.862-.345 1.202-.723.35-.388.526-.793.555-1.018a.75.75 0 0 1 .703-.654Zm.043 2.454a4.362 4.362 0 0 1-.679.688 4.48 4.48 0 0 1 .713.74c.198-.25.45-.496.778-.734a4.116 4.116 0 0 1-.485-.362 3.191 3.191 0 0 1-.327-.332Z" clipRule="evenodd"/><path d="M2.5 5.633c1.3-.22 2.268-1.548 2.376-2.386.335 1.396 1.077 1.739 2.36 2.386-2.039.907-2.039 1.83-2.36 2.433-.207-1.288-1.58-2.388-2.376-2.433Z"/><path fillRule="evenodd" d="M4.835 2.498a.75.75 0 0 1 .77.574c.137.57.336.861.59 1.086.296.259.692.458 1.351.79l.028.015a.75.75 0 0 1-.032 1.355c-.931.414-1.319.796-1.517 1.077a2.28 2.28 0 0 0-.24.452l-.042.106a4.835 4.835 0 0 1-.206.466.75.75 0 0 1-1.402-.235c-.069-.43-.35-.886-.74-1.255-.411-.387-.793-.54-.938-.547a.75.75 0 0 1-.082-1.489c.437-.074.862-.345 1.202-.723.35-.388.526-.793.555-1.018a.75.75 0 0 1 .703-.654Zm.043 2.454a4.356 4.356 0 0 1-.679.688 4.5 4.5 0 0 1 .713.74c.198-.25.45-.496.778-.734a4.114 4.114 0 0 1-.485-.362 3.19 3.19 0 0 1-.327-.332Z" clipRule="evenodd"/><path d="M7.236 9.2c2.383-.403 4.948-4.418 5.145-5.953.615 2.56 2.764 4.766 5.119 5.953-3.74 1.663-4.53 4.934-5.119 6.04-.378-2.36-3.686-5.957-5.145-6.04Z"/><path fillRule="evenodd" d="M12.34 2.498a.75.75 0 0 1 .77.574c.55 2.287 2.51 4.34 4.727 5.458a.75.75 0 0 1-.033 1.355c-2.82 1.254-3.758 3.433-4.382 4.882-.136.315-.257.596-.38.825a.75.75 0 0 1-1.402-.234c-.155-.968-.961-2.325-1.99-3.498-.501-.571-1.025-1.063-1.494-1.41-.502-.372-.83-.494-.963-.502a.75.75 0 0 1-.082-1.488c.425-.072.916-.318 1.442-.733.518-.41 1.027-.95 1.482-1.538.454-.587.842-1.206 1.126-1.761.292-.573.443-1.02.476-1.276a.75.75 0 0 1 .703-.654Zm.043 2.828c-.312.58-.709 1.196-1.162 1.781-.508.658-1.1 1.293-1.739 1.797a6.85 6.85 0 0 1-.45.328l.017.012c.573.424 1.174.995 1.729 1.627.619.706 1.223 1.537 1.668 2.38.602-1.246 1.618-2.873 3.519-4.08-1.448-.963-2.752-2.291-3.582-3.845Z" clipRule="evenodd"/><defs><linearGradient id="svg_739b3c054d__svg_b86fa66e01__a" x1="2.46" x2="6.912" y1="11.95" y2="17.051" gradientUnits="userSpaceOnUse"><stop stopColor="#1681FF"/><stop offset="1" stopColor="#1B16FF"/></linearGradient><linearGradient id="svg_739b3c054d__svg_b86fa66e01__b" x1="1.698" x2="7.532" y1="11.206" y2="17.918" gradientUnits="userSpaceOnUse"><stop stopColor="#1681FF"/><stop offset="1" stopColor="#1B16FF"/></linearGradient><linearGradient id="svg_739b3c054d__svg_b86fa66e01__c" x1="2.46" x2="6.912" y1="3.265" y2="8.366" gradientUnits="userSpaceOnUse"><stop stopColor="#1681FF"/><stop offset="1" stopColor="#1B16FF"/></linearGradient><linearGradient id="svg_739b3c054d__svg_b86fa66e01__d" x1="1.698" x2="7.532" y1="2.521" y2="9.233" gradientUnits="userSpaceOnUse"><stop stopColor="#1681FF"/><stop offset="1" stopColor="#1B16FF"/></linearGradient><linearGradient id="svg_739b3c054d__svg_b86fa66e01__e" x1="7.151" x2="18.332" y1="3.292" y2="14.446" gradientUnits="userSpaceOnUse"><stop stopColor="#1681FF"/><stop offset="1" stopColor="#1B16FF"/></linearGradient><linearGradient id="svg_739b3c054d__svg_b86fa66e01__f" x1="6.388" x2="18.967" y1="2.547" y2="15.33" gradientUnits="userSpaceOnUse"><stop stopColor="#1681FF"/><stop offset="1" stopColor="#1B16FF"/></linearGradient></defs></svg>;
}

const IconPromptAssessment = React.forwardRef(IconPromptAssessmentComponent);
export default IconPromptAssessment;
