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

function IconNoRuleComponent(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-no_rule${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 282 155" fill={useCurrentColor ? 'currentColor' : 'none'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><g clipPath="url(#svg_bcbc64917f__clip0_838_11189)"><g opacity=".6" clipPath="url(#svg_bcbc64917f__clip1_838_11189)"><path d="M141 161.002C198.99 161.002 246 151.325 246 139.389C246 127.453 198.99 117.776 141 117.776C83.0101 117.776 36 127.453 36 139.389C36 151.325 83.0101 161.002 141 161.002Z" fill={useCurrentColor ? 'currentColor' : 'url(#svg_bcbc64917f__paint0_linear_838_11189)'}/><path d="M206.684 116.841H208.731C209.013 116.841 209.242 117.069 209.242 117.35V126.533C209.242 127.097 208.784 127.553 208.218 127.553H207.195C206.629 127.553 206.171 127.097 206.171 126.533V117.35C206.171 117.069 206.4 116.841 206.682 116.841H206.684Z" fill={useCurrentColor ? 'currentColor' : '#E9F0F4'}/><path d="M207.707 95.9235V121.432L197.472 116.841L207.707 95.9235Z" fill={useCurrentColor ? 'currentColor' : '#E1EAEF'}/><path d="M207.707 95.9235V121.432L217.942 116.841L207.707 95.9235Z" fill={useCurrentColor ? 'currentColor' : '#F5F7FA'}/><path d="M221.602 116.724H224.319C224.694 116.724 224.999 117.027 224.999 117.401V129.59C224.999 130.338 224.391 130.944 223.641 130.944H222.282C221.532 130.944 220.924 130.338 220.924 129.59V117.401C220.924 117.028 221.228 116.724 221.604 116.724H221.602Z" fill={useCurrentColor ? 'currentColor' : '#E9F0F4'}/><path d="M222.961 88.9603V122.818L209.376 116.724L222.961 88.9603Z" fill={useCurrentColor ? 'currentColor' : '#E1EAEF'}/><path d="M222.961 88.9603V122.818L236.546 116.724L222.961 88.9603Z" fill={useCurrentColor ? 'currentColor' : '#F5F7FA'}/><path d="M71.9664 115.028H74.6834C75.0579 115.028 75.3634 115.331 75.3634 115.706V127.894C75.3634 128.643 74.7554 129.249 74.0049 129.249H72.6464C71.8959 129.249 71.2878 128.643 71.2878 127.894V115.706C71.2878 115.333 71.5919 115.028 71.9678 115.028H71.9664Z" fill={useCurrentColor ? 'currentColor' : '#E9F0F4'}/><path d="M73.3249 87.265V121.123L59.7396 115.028L73.3249 87.265Z" fill={useCurrentColor ? 'currentColor' : '#E1EAEF'}/><path d="M73.3248 87.265V121.123L86.9101 115.028L73.3248 87.265Z" fill={useCurrentColor ? 'currentColor' : '#F5F7FA'}/><path fillRule="evenodd" clipRule="evenodd" d="M108.078 11.5749C104.712 12.4077 101.824 13 100 13V12C101.682 12 104.451 11.442 107.838 10.6042C110.035 10.0607 112.46 9.40801 114.977 8.73056C116.324 8.3681 117.697 7.99856 119.075 7.6349C123.021 6.594 127.001 5.60384 130.477 4.98433C133.93 4.36895 136.968 4.10262 138.987 4.56711C150.1 7.12406 162.172 11.2384 178.312 24.1091C182.469 27.4247 188.616 29.4222 194.921 30.9658C197.246 31.535 199.577 32.0391 201.827 32.5258C202.622 32.6978 203.408 32.8677 204.179 33.0374C207.124 33.6856 209.867 34.3328 212.149 35.0912C217.358 36.8223 222.525 40.9117 226.362 44.5248C228.288 46.3377 229.892 48.0433 231.015 49.2959C231.576 49.9224 232.018 50.436 232.32 50.7937C232.47 50.9725 232.586 51.1124 232.665 51.2079C232.704 51.2556 232.734 51.2923 232.754 51.3172L232.783 51.3532L232.785 51.3552C232.785 51.3553 232.786 51.356 232.396 51.669L232.006 51.9819L232.004 51.9801L231.999 51.9738L231.978 51.9476C231.959 51.9242 231.93 51.889 231.892 51.8428C231.816 51.7505 231.703 51.6139 231.555 51.4385C231.259 51.0877 230.824 50.5817 230.27 49.9634C229.161 48.7264 227.577 47.042 225.677 45.2529C221.863 41.6621 216.827 37.6998 211.834 36.0401C209.607 35.3 206.909 34.6623 203.964 34.0141C203.2 33.8459 202.419 33.677 201.627 33.5056C199.373 33.0181 197.022 32.5098 194.683 31.9372C188.373 30.3922 182.033 28.3554 177.688 24.8909C161.684 12.1286 149.756 8.07089 138.763 5.54165C136.963 5.1277 134.109 5.35285 130.652 5.96882C127.219 6.58065 123.273 7.56169 119.33 8.60181C117.964 8.96241 116.596 9.33042 115.252 9.69225C112.727 10.3716 110.284 11.0292 108.078 11.5749Z" fill={useCurrentColor ? 'currentColor' : '#F1F2F4'}/><path d="M95.6595 15.9973L92.2522 15.7484L93.1172 13.8407L95.661 15.9973H95.6595ZM95.3335 6.39447L92.9425 11.8686L83.8029 13.3576L92.2654 13.3737L89.7364 19.2505L78.4481 13.8115L95.332 6.39594L95.3335 6.39447Z" fill={useCurrentColor ? 'currentColor' : 'url(#svg_bcbc64917f__paint1_linear_838_11189)'}/><path d="M215.207 13.0988C215.195 13.0944 215.186 13.0827 215.186 13.071C215.191 7.70517 211.007 3.47839 205.849 3.47839C202.81 3.47839 200.119 4.92929 198.411 7.16639C198.404 7.17664 198.391 7.18103 198.379 7.17664C197.787 6.98045 197.155 6.86918 196.498 6.86918C193.211 6.86918 190.546 9.52501 190.546 12.8016C190.546 12.8265 190.549 12.8514 190.551 12.8777C188.069 13.2921 186.192 15.4867 186.301 18.1015C186.415 20.8701 188.875 22.9725 191.654 22.9725H213.296C215.931 22.9725 218.285 21.0707 218.573 18.4602C218.842 16.005 217.356 13.8601 215.208 13.0988H215.207Z" fill={useCurrentColor ? 'currentColor' : 'url(#svg_bcbc64917f__paint2_linear_838_11189)'}/><path opacity=".3" d="M99.3469 143.276C99.3469 145.179 117.949 146.736 141 146.736C164.051 146.736 182.653 145.178 182.653 143.276C182.653 141.374 164.048 139.813 141 139.813C117.949 139.8 99.3469 141.283 99.3469 143.273" fill={useCurrentColor ? 'currentColor' : '#CED6DD'}/><path d="M173.975 29.9128H103.887C100.164 29.9128 97.1469 32.9209 97.1469 36.6315V131.389C97.1469 135.1 100.164 138.108 103.887 138.108H173.975C177.697 138.108 180.714 135.1 180.714 131.389V36.6315C180.714 32.9209 177.697 29.9128 173.975 29.9128Z" fill={useCurrentColor ? 'currentColor' : 'url(#svg_bcbc64917f__paint3_linear_838_11189)'}/><path d="M172.698 34.5715H105.163C102.723 34.5715 100.745 36.5432 100.745 38.9755V129.045C100.745 131.477 102.723 133.449 105.163 133.449H172.698C175.138 133.449 177.116 131.477 177.116 129.045V38.9755C177.116 36.5432 175.138 34.5715 172.698 34.5715Z" fill={useCurrentColor ? 'currentColor' : '#fff'}/><path d="M168.743 40.747H109.265C107.601 40.747 106.253 42.0914 106.253 43.7498V68.6361C106.253 70.2945 107.601 71.6389 109.265 71.6389H168.743C170.407 71.6389 171.755 70.2945 171.755 68.6361V43.7498C171.755 42.0914 170.407 40.747 168.743 40.747Z" fill={useCurrentColor ? 'currentColor' : 'url(#svg_bcbc64917f__paint4_linear_838_11189)'}/><path d="M144.365 80.5698H111.026C108.39 80.5698 106.253 82.7001 106.253 85.328C106.253 87.9559 108.39 90.0862 111.026 90.0862H144.365C147.001 90.0862 149.138 87.9559 149.138 85.328C149.138 82.7001 147.001 80.5698 144.365 80.5698Z" fill={useCurrentColor ? 'currentColor' : 'url(#svg_bcbc64917f__paint5_linear_838_11189)'}/><path d="M168.52 80.5698H156.486C154.699 80.5698 153.25 82.0138 153.25 83.7951V100.916C153.25 102.697 154.699 104.141 156.486 104.141H168.52C170.307 104.141 171.756 102.697 171.756 100.916V83.7951C171.756 82.0138 170.307 80.5698 168.52 80.5698Z" fill={useCurrentColor ? 'currentColor' : 'url(#svg_bcbc64917f__paint6_linear_838_11189)'}/><path d="M144.365 94.6249H111.026C108.39 94.6249 106.253 96.7552 106.253 99.3831C106.253 102.011 108.39 104.141 111.026 104.141H144.365C147.001 104.141 149.138 102.011 149.138 99.3831C149.138 96.7552 147.001 94.6249 144.365 94.6249Z" fill={useCurrentColor ? 'currentColor' : 'url(#svg_bcbc64917f__paint7_linear_838_11189)'}/><path d="M166.982 113.219H111.026C108.39 113.219 106.253 115.349 106.253 117.977C106.253 120.605 108.39 122.735 111.026 122.735H166.982C169.618 122.735 171.755 120.605 171.755 117.977C171.755 115.349 169.618 113.219 166.982 113.219Z" fill={useCurrentColor ? 'currentColor' : 'url(#svg_bcbc64917f__paint8_linear_838_11189)'}/></g></g><defs><linearGradient id="svg_bcbc64917f__paint0_linear_838_11189" x1="141" y1="161" x2="141" y2="117.776" gradientUnits="userSpaceOnUse"><stop stopColor="#F7FBFF" stopOpacity=".5"/><stop offset="1" stopColor="#ECF5FF"/></linearGradient><linearGradient id="svg_bcbc64917f__paint1_linear_838_11189" x1="80.661" y1="18.273" x2="97.104" y2="9.981" gradientUnits="userSpaceOnUse"><stop stopColor="#DCEDFF"/><stop offset="1" stopColor="#4095E6"/></linearGradient><linearGradient id="svg_bcbc64917f__paint2_linear_838_11189" x1="218.603" y1="13.225" x2="186.295" y2="13.225" gradientUnits="userSpaceOnUse"><stop stopColor="#F7FBFF"/><stop offset="1" stopColor="#ECF5FF"/></linearGradient><linearGradient id="svg_bcbc64917f__paint3_linear_838_11189" x1="138.931" y1="138.108" x2="138.931" y2="29.913" gradientUnits="userSpaceOnUse"><stop stopColor="#DCEDFF"/><stop offset="1" stopColor="#4095E6"/></linearGradient><linearGradient id="svg_bcbc64917f__paint4_linear_838_11189" x1="139.004" y1="71.639" x2="139.004" y2="40.747" gradientUnits="userSpaceOnUse"><stop stopColor="#F7FBFF"/><stop offset="1" stopColor="#ECF5FF"/></linearGradient><linearGradient id="svg_bcbc64917f__paint5_linear_838_11189" x1="127.695" y1="90.086" x2="127.695" y2="80.57" gradientUnits="userSpaceOnUse"><stop stopColor="#F7FBFF"/><stop offset="1" stopColor="#ECF5FF"/></linearGradient><linearGradient id="svg_bcbc64917f__paint6_linear_838_11189" x1="162.503" y1="104.141" x2="162.503" y2="80.57" gradientUnits="userSpaceOnUse"><stop stopColor="#F7FBFF"/><stop offset="1" stopColor="#ECF5FF"/></linearGradient><linearGradient id="svg_bcbc64917f__paint7_linear_838_11189" x1="127.695" y1="104.141" x2="127.695" y2="94.625" gradientUnits="userSpaceOnUse"><stop stopColor="#F7FBFF"/><stop offset="1" stopColor="#ECF5FF"/></linearGradient><linearGradient id="svg_bcbc64917f__paint8_linear_838_11189" x1="139.004" y1="122.735" x2="139.004" y2="113.219" gradientUnits="userSpaceOnUse"><stop stopColor="#F7FBFF"/><stop offset="1" stopColor="#ECF5FF"/></linearGradient><clipPath id="svg_bcbc64917f__clip0_838_11189"><path fill={useCurrentColor ? 'currentColor' : '#fff'} d="M0 0H282V155H0z"/></clipPath><clipPath id="svg_bcbc64917f__clip1_838_11189"><path fill={useCurrentColor ? 'currentColor' : '#fff'} transform="translate(36 -28)" d="M0 0H210V189H0z"/></clipPath></defs></svg>;
}

const IconNoRule = React.forwardRef(IconNoRuleComponent);
export default IconNoRule;
