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

export const IconConsulSquareColor24 = 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={24}
                height={24}
                fill="none"
                viewBox="0 0 24 24"
                aria-hidden={!title}
                ref={svgRef}
                aria-labelledby={titleId}
                {...props}
            >
                {title ? <title id={titleId}>{title}</title> : null}
                <g fill="#E03875">
                    <path d="M12.006 19A7 7 0 1116.74 6.85l-1.66 1.738a4.6 4.6 0 100 6.828l1.66 1.738A6.98 6.98 0 0112.006 19zM17.32 15.402a.574.574 0 10.637-.954.574.574 0 00-.637.954z" />
                    <path d="M11.96 13.517a1.517 1.517 0 11-.012-3.034 1.517 1.517 0 01.013 3.034zM17.978 13.447a.573.573 0 10.637-.953.573.573 0 00-.637.953zM16.59 13.472a.574.574 0 110-1.148.574.574 0 010 1.148zM17.978 11.514a.574.574 0 10.637-.954.574.574 0 00-.637.954zM16.59 11.675a.574.574 0 110-1.147.574.574 0 010 1.147zM17.353 9.585a.574.574 0 10.635-.956.574.574 0 00-.635.956z" />
                    <path
                        fillRule="evenodd"
                        d="M.218 1.092C0 1.52 0 2.08 0 3.2v17.6c0 1.12 0 1.68.218 2.108a2 2 0 00.874.874C1.52 24 2.08 24 3.2 24h17.6c1.12 0 1.68 0 2.108-.218a2 2 0 00.874-.874C24 22.48 24 21.92 24 20.8V3.2c0-1.12 0-1.68-.218-2.108a2 2 0 00-.874-.874C22.48 0 21.92 0 20.8 0H3.2C2.08 0 1.52 0 1.092.218a2 2 0 00-.874.874zM20.8 1H3.2c-.577 0-.949 0-1.232.024-.272.022-.373.06-.422.085a1 1 0 00-.437.437c-.025.05-.063.15-.085.422C1 2.25 1 2.623 1 3.2v17.6c0 .577 0 .949.024 1.232.022.272.06.372.085.422a1 1 0 00.437.437c.05.025.15.063.422.085C2.25 23 2.623 23 3.2 23h17.6c.577 0 .949 0 1.232-.024.272-.022.372-.06.422-.085a1 1 0 00.437-.437c.025-.05.063-.15.085-.422C23 21.75 23 21.377 23 20.8V3.2c0-.577 0-.949-.024-1.232-.022-.272-.06-.373-.085-.422a1 1 0 00-.437-.437c-.05-.025-.15-.063-.422-.085C21.75 1 21.377 1 20.8 1z"
                        clipRule="evenodd"
                    />
                </g>
            </svg>
        );
    }
);
