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

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

    const prefix = prefixFromProps || prefixFromContext || 'hiagent';
    const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
    return <svg className={`${prefix}-icon ${prefix}-icon-data_set_bos${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 20 20" fill={useCurrentColor ? 'currentColor' : 'none'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><rect x="2" y="2" width="16" height="16" rx="4" fill={useCurrentColor ? 'currentColor' : '#DEE8FF'}/><path fillRule="evenodd" clipRule="evenodd" d="M6.83233 14.5041C5.33656 14.5041 4.12399 13.2915 4.12399 11.7957C4.12399 10.3 5.33656 9.0874 6.83233 9.0874C8.32808 9.0874 9.54066 10.3 9.54066 11.7957C9.54066 11.8173 9.55801 11.8349 9.57954 11.8349H10.3341C10.6333 11.8349 10.8758 12.0774 10.8758 12.3766V13.9624C10.8758 14.2616 10.6333 14.5041 10.3341 14.5041H6.905L6.90453 14.5036L6.90406 14.5032C6.88022 14.5038 6.85631 14.5041 6.83233 14.5041Z" fill={useCurrentColor ? 'currentColor' : '#97BCFF'}/><path fillRule="evenodd" clipRule="evenodd" d="M9.88892 14.4958C7.56574 14.3531 5.72574 12.4238 5.72574 10.0647C5.72574 7.6127 7.71346 5.625 10.1654 5.625C12.4177 5.625 14.2782 7.30212 14.5663 9.47564C15.3518 9.94978 15.877 10.8116 15.877 11.796C15.877 13.2917 14.6645 14.5043 13.1687 14.5043H10.1681C10.1672 14.5043 10.1663 14.5043 10.1654 14.5043C10.1645 14.5043 10.1636 14.5043 10.1627 14.5043H10.1047C10.032 14.5043 9.9601 14.5014 9.88892 14.4958Z" fill={useCurrentColor ? 'currentColor' : 'url(#svg_b22b200c1a__svg_4f036ff871__paint0_linear_2778_68386)'}/><mask id="svg_b22b200c1a__a" style={{maskType: 'alpha'}} maskUnits="userSpaceOnUse" x="5" y="5" width="11" height="10"><path fillRule="evenodd" clipRule="evenodd" d="M9.88885 14.4958C7.56567 14.3531 5.72565 12.4238 5.72565 10.0647C5.72565 7.6127 7.71334 5.625 10.1653 5.625C12.4176 5.625 14.2781 7.30212 14.5662 9.47564C15.3517 9.94978 15.877 10.8116 15.877 11.796C15.877 13.2917 14.6644 14.5043 13.1686 14.5043H10.1679C10.1671 14.5043 10.1662 14.5043 10.1653 14.5043C10.1644 14.5043 10.1635 14.5043 10.1627 14.5043H10.1046C10.032 14.5043 9.96002 14.5014 9.88885 14.4958Z" fill={useCurrentColor ? 'currentColor' : 'url(#svg_b22b200c1a__svg_4f036ff871__paint1_linear_2778_68386)'}/></mask><g filter="url(#svg_b22b200c1a__svg_4f036ff871__filter0_d_2778_68386)" mask="url(#svg_b22b200c1a__a)"><path d="M12.9118 11.6601C12.9971 11.7454 12.9367 11.8912 12.816 11.8912H11.655C11.5951 11.8912 11.5466 11.9397 11.5466 11.9996V13.4997C11.5713 14.0583 12.025 14.5035 12.581 14.5035C12.5938 14.5035 12.6067 14.5032 12.6194 14.5027V14.5037H11.5445L10.1802 14.5033C9.58189 14.5033 9.09682 14.0182 9.09682 13.42V11.9996C9.09682 11.9397 9.04836 11.8912 8.98852 11.8912H7.85878C7.73812 11.8912 7.67771 11.7454 7.76302 11.6601L10.1459 9.27804C10.2517 9.17229 10.4231 9.17229 10.5289 9.27804L12.9118 11.6601Z" fill={useCurrentColor ? 'currentColor' : '#fff'}/></g><defs><linearGradient id="svg_b22b200c1a__svg_4f036ff871__paint0_linear_2778_68386" x1="10.802" y1="5.942" x2="10.802" y2="14.504" gradientUnits="userSpaceOnUse"><stop stopColor="#528CFF"/><stop offset="1" stopColor="#1664FF"/></linearGradient><linearGradient id="svg_b22b200c1a__svg_4f036ff871__paint1_linear_2778_68386" x1="10.992" y1="5.625" x2="10.992" y2="14.291" gradientUnits="userSpaceOnUse"><stop stopColor="#353D51"/><stop offset="1" stopColor="#818A9C"/></linearGradient><filter id="svg_b22b200c1a__svg_4f036ff871__filter0_d_2778_68386" x="2.389" y="5.198" width="15.897" height="15.973" filterUnits="userSpaceOnUse" colorInterpolationFilters="sRGB"><feFlood floodOpacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="1.333"/><feGaussianBlur stdDeviation="2.667"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_2778_68386"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_2778_68386" result="shape"/></filter></defs></svg>;
}

const IconDataSetBos = React.forwardRef(IconDataSetBosComponent);
export default IconDataSetBos;
