import { forwardRef, useMemo } from 'react';
import { IconProps } from './types';

export const IconDiscussionCircle16 = forwardRef<SVGSVGElement, IconProps>(
    ({ color = 'currentColor', title, ...props }, svgRef) => {
        const titleId = useMemo(
            () =>
                title
                    ? 'title-' + Math.random().toString(36).substr(2, 9)
                    : undefined,
            [title]
        );
        return (
            <svg
                xmlns="http://www.w3.org/2000/svg"
                width={16}
                height={16}
                fill="none"
                viewBox="0 0 16 16"
                aria-hidden={!title}
                ref={svgRef}
                aria-labelledby={titleId}
                {...props}
            >
                {title ? <title id={titleId}>{title}</title> : null}
                <g fill={color}>
                    <path
                        fillRule="evenodd"
                        d="M9.833 4.25a5.084 5.084 0 0 1 4.574 7.304q.008.049.03.133c.05.197.139.453.248.734.086.223.176.443.26.645l.06.147c.05.117.095.23.132.326.03.081.075.2.097.306a.752.752 0 0 1-.734.905c-.169 0-.332-.04-.447-.072a5 5 0 0 1-.394-.134c-.188-.072-.402-.162-.606-.248l-.215-.09a8 8 0 0 0-.706-.266l-.095-.025A5.084 5.084 0 1 1 9.833 4.25m0 1.5a3.583 3.583 0 1 0 1.653 6.764c.246-.128.497-.118.627-.105.153.015.307.053.443.093.203.06.428.145.643.231a7 7 0 0 1-.217-.676 2.6 2.6 0 0 1-.079-.455c-.009-.13-.014-.377.11-.616a3.584 3.584 0 0 0-3.18-5.236"
                        clipRule="evenodd"
                    />
                    <path d="M5.981 1.05c1.223 0 2.344.437 3.216 1.162a.7.7 0 1 1-.894 1.076A3.634 3.634 0 0 0 2.757 7.76c.124.237.11.49.1.61a3 3 0 0 1-.083.469 8 8 0 0 1-.2.654c.26-.09.52-.171.75-.223a.7.7 0 0 1 .312 1.365c-.34.078-.837.258-1.278.434-.213.086-.404.166-.54.225l-.16.07-.044.019-.01.004-.002.002a.701.701 0 0 1-.925-.928v-.001l.003-.005.007-.017.03-.069a20 20 0 0 0 .43-1.049c.113-.299.211-.59.269-.821q.032-.133.042-.205A5.034 5.034 0 0 1 5.981 1.05" />
                </g>
            </svg>
        );
    }
);
