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

function IconPluginListedComponent(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-plugin_listed${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 16 16" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><mask id="svg_eda6a9eac7__a" maskUnits="userSpaceOnUse" x="-.5" y="-.5" width="17" height="17" fill={useCurrentColor ? 'currentColor' : '#000'}><path d="M-0.5 -0.5H16.5V16.5H-0.5z"/><path fillRule="evenodd" clipRule="evenodd" d="M14.8182 0.5C15.1947 0.5 15.5 0.835786 15.5 1.25V14.75C15.5 15.1642 15.1947 15.5 14.8182 15.5H1.18182C0.80526 15.5 0.5 15.1642 0.5 14.75V1.25C0.5 0.835786 0.80526 0.5 1.18182 0.5H14.8182ZM14 2H2V14H14V2ZM8.4488 12C8.56209 12 8.65393 11.907 8.65393 11.7922V7.53247H10.1924C10.2073 7.53247 10.2214 7.52993 10.2357 7.52779C10.2523 7.52512 10.2646 7.52191 10.2768 7.51817C10.2868 7.51523 10.2966 7.51216 10.3064 7.50815C10.3114 7.50601 10.3162 7.50334 10.3211 7.50093C10.331 7.49626 10.3411 7.49252 10.3507 7.4865C10.428 7.43787 10.4767 7.35703 10.4931 7.26858C10.497 7.24332 10.4987 7.22689 10.499 7.21032C10.4991 7.20631 10.5001 7.20244 10.5001 7.19843C10.5001 7.19148 10.4986 7.18507 10.4982 7.17812L10.4961 7.15621C10.4893 7.09782 10.4692 7.04424 10.4381 6.99921L8.12868 4.20545C8.06738 4.08974 7.94763 3.98071 7.83342 4.00289C7.7192 3.98071 7.59945 4.08974 7.53815 4.20545L5.22878 6.99921C5.19776 7.04424 5.17758 7.09782 5.17069 7.15621L5.16859 7.17812C5.16822 7.18507 5.16675 7.19148 5.16675 7.19843C5.16675 7.20244 5.16773 7.20631 5.16786 7.21032C5.1681 7.22689 5.16983 7.24332 5.17241 7.25976C5.19013 7.35703 5.23887 7.43787 5.31616 7.4865C5.32576 7.49252 5.33586 7.49626 5.3457 7.50093C5.35063 7.50334 5.35542 7.50601 5.36047 7.50815C5.37019 7.51216 5.38004 7.51523 5.39001 7.51817C5.40219 7.52191 5.4145 7.52512 5.4273 7.52739C5.44539 7.52993 5.45955 7.53247 5.47444 7.53247H7.0129V11.7922C7.0129 11.907 7.10474 12 7.21803 12H8.4488Z"/></mask><path fillRule="evenodd" clipRule="evenodd" d="M14.8182 0.5C15.1947 0.5 15.5 0.835786 15.5 1.25V14.75C15.5 15.1642 15.1947 15.5 14.8182 15.5H1.18182C0.80526 15.5 0.5 15.1642 0.5 14.75V1.25C0.5 0.835786 0.80526 0.5 1.18182 0.5H14.8182ZM14 2H2V14H14V2ZM8.4488 12C8.56209 12 8.65393 11.907 8.65393 11.7922V7.53247H10.1924C10.2073 7.53247 10.2214 7.52993 10.2357 7.52779C10.2523 7.52512 10.2646 7.52191 10.2768 7.51817C10.2868 7.51523 10.2966 7.51216 10.3064 7.50815C10.3114 7.50601 10.3162 7.50334 10.3211 7.50093C10.331 7.49626 10.3411 7.49252 10.3507 7.4865C10.428 7.43787 10.4767 7.35703 10.4931 7.26858C10.497 7.24332 10.4987 7.22689 10.499 7.21032C10.4991 7.20631 10.5001 7.20244 10.5001 7.19843C10.5001 7.19148 10.4986 7.18507 10.4982 7.17812L10.4961 7.15621C10.4893 7.09782 10.4692 7.04424 10.4381 6.99921L8.12868 4.20545C8.06738 4.08974 7.94763 3.98071 7.83342 4.00289C7.7192 3.98071 7.59945 4.08974 7.53815 4.20545L5.22878 6.99921C5.19776 7.04424 5.17758 7.09782 5.17069 7.15621L5.16859 7.17812C5.16822 7.18507 5.16675 7.19148 5.16675 7.19843C5.16675 7.20244 5.16773 7.20631 5.16786 7.21032C5.1681 7.22689 5.16983 7.24332 5.17241 7.25976C5.19013 7.35703 5.23887 7.43787 5.31616 7.4865C5.32576 7.49252 5.33586 7.49626 5.3457 7.50093C5.35063 7.50334 5.35542 7.50601 5.36047 7.50815C5.37019 7.51216 5.38004 7.51523 5.39001 7.51817C5.40219 7.52191 5.4145 7.52512 5.4273 7.52739C5.44539 7.52993 5.45955 7.53247 5.47444 7.53247H7.0129V11.7922C7.0129 11.907 7.10474 12 7.21803 12H8.4488Z"/><path d="M14 2H14.3V1.7H14V2ZM2 2V1.7H1.7V2H2ZM2 14H1.7V14.3H2V14ZM14 14V14.3H14.3V14H14ZM8.65393 7.53247V7.23247H8.35393V7.53247H8.65393ZM10.2357 7.52779L10.2801 7.8245L10.2833 7.82398L10.2357 7.52779ZM10.2768 7.51817L10.192 7.2304L10.1888 7.23138L10.2768 7.51817ZM10.3064 7.50815L10.4207 7.78552L10.4234 7.78438L10.3064 7.50815ZM10.3211 7.50093L10.1924 7.22993L10.1894 7.23138L10.3211 7.50093ZM10.3507 7.4865L10.5099 7.74075L10.5104 7.74042L10.3507 7.4865ZM10.4931 7.26858L10.7882 7.32319L10.7895 7.31481L10.4931 7.26858ZM10.499 7.21032L10.1991 7.20111L10.199 7.20586L10.499 7.21032ZM10.4982 7.17812L10.7981 7.16219L10.7969 7.1496L10.4982 7.17812ZM10.4961 7.15621L10.7949 7.12768L10.7941 7.12104L10.4961 7.15621ZM10.4381 6.99921L10.6848 6.82858L10.6775 6.81799L10.6693 6.80807L10.4381 6.99921ZM8.12868 4.20545L7.86357 4.34588L7.87792 4.37297L7.89745 4.39659L8.12868 4.20545ZM7.83342 4.00289L7.77622 4.29739L7.83342 4.3085L7.8906 4.29739L7.83342 4.00289ZM7.53815 4.20545L7.76938 4.39659L7.78891 4.37297L7.80326 4.34588L7.53815 4.20545ZM5.22878 6.99921L4.99755 6.80807L4.98917 6.81821L4.98172 6.82903L5.22878 6.99921ZM5.17069 7.15621L4.87268 7.12103L4.87204 7.12769L5.17069 7.15621ZM5.16859 7.17812L4.86969 7.14958L4.86902 7.1622L5.16859 7.17812ZM5.16786 7.21032L5.46786 7.20586L5.46771 7.20111L5.16786 7.21032ZM5.17241 7.25976L4.87597 7.30638L4.87727 7.31353L5.17241 7.25976ZM5.31616 7.4865L5.15639 7.74042L5.15692 7.74075L5.31616 7.4865ZM5.3457 7.50093L5.4774 7.23136L5.47441 7.22995L5.3457 7.50093ZM5.36047 7.50815L5.24344 7.78439L5.24613 7.7855L5.36047 7.50815ZM5.39001 7.51817L5.47807 7.23137L5.47486 7.23042L5.39001 7.51817ZM5.4273 7.52739L5.37485 7.82297L5.38561 7.82448L5.4273 7.52739ZM7.0129 7.53247H7.3129V7.23247H7.0129V7.53247ZM14.8182 0.5V0.8C15.0028 0.8 15.2 0.973925 15.2 1.25H15.5H15.8C15.8 0.697648 15.3867 0.2 14.8182 0.2V0.5ZM15.5 1.25H15.2V14.75H15.5H15.8V1.25H15.5ZM15.5 14.75H15.2C15.2 15.0261 15.0028 15.2 14.8182 15.2V15.5V15.8C15.3867 15.8 15.8 15.3024 15.8 14.75H15.5ZM14.8182 15.5V15.2H1.18182V15.5V15.8H14.8182V15.5ZM1.18182 15.5V15.2C0.997212 15.2 0.8 15.0261 0.8 14.75H0.5H0.2C0.2 15.3024 0.613308 15.8 1.18182 15.8V15.5ZM0.5 14.75H0.8V1.25H0.5H0.2V14.75H0.5ZM0.5 1.25H0.8C0.8 0.973925 0.997212 0.8 1.18182 0.8V0.5V0.2C0.613308 0.2 0.2 0.697648 0.2 1.25H0.5ZM1.18182 0.5V0.8H14.8182V0.5V0.2H1.18182V0.5ZM14 2V1.7H2V2V2.3H14V2ZM2 2H1.7V14H2H2.3V2H2ZM2 14V14.3H14V14V13.7H2V14ZM14 14H14.3V2H14H13.7V14H14ZM8.4488 12V12.3C8.73141 12.3 8.95393 12.069 8.95393 11.7922H8.65393H8.35393C8.35393 11.7449 8.39277 11.7 8.4488 11.7V12ZM8.65393 11.7922H8.95393V7.53247H8.65393H8.35393V11.7922H8.65393ZM8.65393 7.53247V7.83247H10.1924V7.53247V7.23247H8.65393V7.53247ZM10.1924 7.53247V7.83247C10.2355 7.83247 10.278 7.8248 10.2801 7.82448L10.2357 7.52779L10.1913 7.2311C10.1889 7.23146 10.1866 7.23182 10.1848 7.23209C10.1828 7.23239 10.1815 7.23259 10.1802 7.23279C10.1777 7.23317 10.1769 7.23327 10.1769 7.23327C10.1769 7.23326 10.183 7.23247 10.1924 7.23247V7.53247ZM10.2357 7.52779L10.2833 7.82398C10.3163 7.81869 10.3423 7.8119 10.3649 7.80496L10.2768 7.51817L10.1888 7.23138L10.1881 7.2316L10.2357 7.52779ZM10.2768 7.51817L10.3617 7.80592C10.3736 7.80241 10.3958 7.79575 10.4207 7.7855L10.3064 7.50815L10.192 7.23079L10.192 7.23042L10.2768 7.51817ZM10.3064 7.50815L10.4234 7.78438C10.4352 7.77936 10.4448 7.77458 10.4491 7.77241C10.4503 7.77181 10.4513 7.77127 10.452 7.7709C10.453 7.77043 10.4532 7.77033 10.4536 7.77008C10.4544 7.7697 10.4539 7.76998 10.4528 7.77049L10.3211 7.50093L10.1894 7.23138C10.1859 7.23309 10.183 7.23461 10.1813 7.23547C10.1788 7.23674 10.1792 7.23653 10.1785 7.23688C10.1779 7.23718 10.1825 7.2348 10.1893 7.23192L10.3064 7.50815ZM10.3211 7.50093L10.4498 7.77192C10.4487 7.77248 10.4482 7.77267 10.4504 7.77171C10.4516 7.77117 10.4565 7.76901 10.461 7.76692C10.4709 7.7624 10.4892 7.75374 10.5099 7.74075L10.3507 7.4865L10.1914 7.23226C10.1972 7.22864 10.202 7.226 10.2054 7.22427C10.2086 7.22258 10.2108 7.22158 10.211 7.22152C10.211 7.22148 10.2109 7.22157 10.2101 7.2219C10.209 7.22239 10.2087 7.22254 10.2067 7.2234C10.2039 7.22464 10.1985 7.22705 10.1924 7.22995L10.3211 7.50093ZM10.3507 7.4865L10.5104 7.74042C10.6683 7.64108 10.7586 7.48212 10.7881 7.32317L10.4931 7.26858L10.1981 7.21399C10.1965 7.22225 10.1939 7.22785 10.192 7.2308C10.1903 7.23342 10.1897 7.23333 10.1909 7.23259L10.3507 7.4865ZM10.4931 7.26858L10.7895 7.31481C10.7944 7.28329 10.7984 7.25133 10.7989 7.21478L10.499 7.21032L10.199 7.20586C10.199 7.20467 10.1991 7.2042 10.199 7.2057C10.1987 7.20786 10.1982 7.21262 10.1966 7.22235L10.4931 7.26858ZM10.499 7.21032L10.7988 7.21953C10.7985 7.22909 10.7978 7.23653 10.7974 7.24036C10.7972 7.24232 10.797 7.24377 10.7969 7.24427C10.7969 7.24447 10.7968 7.24509 10.797 7.24383C10.7971 7.24266 10.7979 7.23686 10.7986 7.22985C10.7993 7.22244 10.8001 7.21155 10.8001 7.19843H10.5001H10.2001C10.2001 7.18731 10.2008 7.17841 10.2013 7.17298C10.2018 7.16795 10.2023 7.16412 10.2022 7.16492C10.2022 7.16496 10.2022 7.16501 10.2022 7.16514C10.2021 7.16524 10.2021 7.16543 10.2021 7.16563C10.202 7.16603 10.2019 7.16667 10.2018 7.16743C10.2017 7.16893 10.2013 7.17136 10.201 7.17431C10.2004 7.18012 10.1995 7.18955 10.1991 7.20111L10.499 7.21032ZM10.5001 7.19843H10.8001C10.8001 7.17497 10.7976 7.1558 10.797 7.15126C10.7965 7.1469 10.7967 7.14905 10.7968 7.14961C10.797 7.15132 10.7975 7.15596 10.7978 7.1622L10.4982 7.17812L10.1987 7.19404C10.1992 7.20376 10.2 7.2118 10.2006 7.21689C10.2009 7.21944 10.2011 7.22162 10.2013 7.22295C10.2014 7.2236 10.2015 7.22424 10.2015 7.22459C10.2016 7.22501 10.2016 7.22518 10.2016 7.22529C10.2017 7.22599 10.2013 7.22306 10.2009 7.21886C10.2006 7.21436 10.2001 7.20727 10.2001 7.19843H10.5001ZM10.4982 7.17812L10.7969 7.1496L10.7948 7.12769L10.4961 7.15621L10.1975 7.18472L10.1996 7.20664L10.4982 7.17812ZM10.4961 7.15621L10.7941 7.12104C10.7817 7.01643 10.7452 6.91587 10.6848 6.82858L10.4381 6.99921L10.1913 7.16984C10.1932 7.17261 10.1968 7.17921 10.1982 7.19137L10.4961 7.15621ZM10.4381 6.99921L10.6693 6.80807L8.3599 4.01431L8.12868 4.20545L7.89745 4.39659L10.2068 7.19035L10.4381 6.99921ZM8.12868 4.20545L8.39378 4.06503C8.34561 3.97409 8.27319 3.88176 8.18101 3.81255C8.09158 3.74541 7.94765 3.6751 7.77622 3.70839L7.83342 4.00289L7.8906 4.29739C7.86279 4.30279 7.84067 4.29874 7.82886 4.29502C7.81819 4.29165 7.81585 4.28868 7.82077 4.29237C7.82536 4.29581 7.83288 4.30256 7.84159 4.3131C7.8502 4.3235 7.8578 4.33498 7.86357 4.34588L8.12868 4.20545ZM7.83342 4.00289L7.8906 3.70839C7.71918 3.6751 7.57525 3.74541 7.48582 3.81255C7.39364 3.88176 7.32122 3.97409 7.27305 4.06503L7.53815 4.20545L7.80326 4.34588C7.80903 4.33498 7.81663 4.3235 7.82524 4.3131C7.83395 4.30256 7.84147 4.29581 7.84606 4.29237C7.85098 4.28868 7.84864 4.29165 7.83797 4.29502C7.82616 4.29874 7.80404 4.30279 7.77622 4.29739L7.83342 4.00289ZM7.53815 4.20545L7.30693 4.01431L4.99755 6.80807L5.22878 6.99921L5.46001 7.19035L7.76938 4.39659L7.53815 4.20545ZM5.22878 6.99921L4.98172 6.82903C4.92199 6.91575 4.88515 7.01601 4.87276 7.12104L5.17069 7.15621L5.46862 7.19137C5.47001 7.17962 5.47354 7.17273 5.47584 7.16939L5.22878 6.99921ZM5.17069 7.15621L4.87204 7.12769L4.86995 7.1496L5.16859 7.17812L5.46724 7.20664L5.46933 7.18472L5.17069 7.15621ZM5.16859 7.17812L4.86902 7.1622C4.86935 7.15595 4.86985 7.15132 4.87004 7.1496C4.87011 7.14905 4.87037 7.14689 4.86983 7.15125C4.86926 7.15579 4.86675 7.17497 4.86675 7.19843H5.16675H5.46675C5.46675 7.20727 5.46628 7.21436 5.46589 7.21886C5.46553 7.22306 5.46515 7.22599 5.46524 7.2253C5.46525 7.22518 5.46527 7.22501 5.46533 7.22459C5.46537 7.22424 5.46545 7.2236 5.46553 7.22295C5.4657 7.22162 5.46597 7.21945 5.46626 7.21689C5.46683 7.2118 5.46766 7.20376 5.46817 7.19404L5.16859 7.17812ZM5.16675 7.19843H4.86675C4.86675 7.21155 4.86755 7.22245 4.86825 7.22985C4.86892 7.23687 4.86971 7.24267 4.86986 7.24384C4.87003 7.24509 4.86995 7.24448 4.86992 7.24428C4.86986 7.24377 4.86967 7.24232 4.86945 7.24036C4.86903 7.23654 4.86829 7.22909 4.868 7.21953L5.16786 7.21032L5.46771 7.20111C5.46736 7.18955 5.46645 7.18011 5.46581 7.17431C5.46548 7.17136 5.46517 7.16892 5.46498 7.16743C5.46488 7.16667 5.4648 7.16602 5.46474 7.16563C5.46472 7.16543 5.46469 7.16524 5.46468 7.16513C5.46466 7.165 5.46465 7.16495 5.46465 7.16491C5.46454 7.16411 5.46507 7.16794 5.46555 7.17298C5.46607 7.1784 5.46675 7.18731 5.46675 7.19843H5.16675ZM5.16786 7.21032L4.86789 7.21478C4.8684 7.24904 4.87191 7.28004 4.87605 7.30637L5.17241 7.25976L5.46877 7.21315C5.46774 7.20661 5.46781 7.20473 5.46782 7.20586L5.16786 7.21032ZM5.17241 7.25976L4.87727 7.31353C4.90717 7.47767 4.99532 7.63907 5.15639 7.74042L5.31616 7.4865L5.47594 7.23259C5.47752 7.23359 5.47762 7.23441 5.47625 7.23222C5.47455 7.2295 5.47038 7.22152 5.46755 7.20598L5.17241 7.25976ZM5.31616 7.4865L5.15692 7.74075C5.17766 7.75374 5.19593 7.7624 5.2058 7.76692C5.21037 7.76901 5.21526 7.77117 5.21646 7.77171C5.21863 7.77267 5.21818 7.77248 5.21699 7.77192L5.3457 7.50093L5.47441 7.22995C5.4683 7.22705 5.4629 7.22464 5.4601 7.2234C5.45816 7.22254 5.45782 7.22239 5.45672 7.2219C5.45598 7.22157 5.45579 7.22148 5.45588 7.22152C5.45602 7.22158 5.4582 7.22258 5.46145 7.22427C5.4648 7.226 5.46964 7.22864 5.4754 7.23226L5.31616 7.4865ZM5.3457 7.50093L5.21402 7.77049C5.21297 7.76998 5.21243 7.7697 5.21319 7.77008C5.21367 7.77033 5.21387 7.77043 5.2148 7.7709C5.21552 7.77127 5.21658 7.77181 5.21775 7.77241C5.22205 7.77458 5.23159 7.77936 5.24344 7.78438L5.36047 7.50815L5.4775 7.23192C5.48431 7.2348 5.48892 7.23718 5.48833 7.23688C5.48763 7.23653 5.48805 7.23674 5.48556 7.23547C5.48388 7.23461 5.48089 7.23309 5.47739 7.23138L5.3457 7.50093ZM5.36047 7.50815L5.24613 7.7855C5.27099 7.79575 5.29325 7.80241 5.30516 7.80592L5.39001 7.51817L5.47486 7.23042L5.47481 7.23079L5.36047 7.50815ZM5.39001 7.51817L5.30195 7.80496C5.32226 7.81119 5.34685 7.8178 5.37488 7.82277L5.4273 7.52739L5.47972 7.23201C5.48216 7.23244 5.48213 7.23263 5.47807 7.23138L5.39001 7.51817ZM5.4273 7.52739L5.38561 7.82448C5.38785 7.82479 5.43234 7.83247 5.47444 7.83247V7.53247V7.23247C5.48403 7.23247 5.49017 7.23331 5.48906 7.23317C5.48839 7.23309 5.48693 7.23289 5.48325 7.23236C5.48043 7.23195 5.4744 7.23106 5.46899 7.2303L5.4273 7.52739ZM5.47444 7.53247V7.83247H7.0129V7.53247V7.23247H5.47444V7.53247ZM7.0129 7.53247H6.7129V11.7922H7.0129H7.3129V7.53247H7.0129ZM7.0129 11.7922H6.7129C6.7129 12.069 6.93542 12.3 7.21803 12.3V12V11.7C7.27406 11.7 7.3129 11.7449 7.3129 11.7922H7.0129ZM7.21803 12V12.3H8.4488V12V11.7H7.21803V12Z" mask="url(#svg_eda6a9eac7__a)"/></svg>;
}

const IconPluginListed = React.forwardRef(IconPluginListedComponent);
export default IconPluginListed;
