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

export const IconRocket16 = 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}
                <path
                    fill={color}
                    fillRule="evenodd"
                    d="M4.808 13.309a.627.627 0 0 1 .884 0 .63.63 0 0 1 0 .883l-.75.75a.627.627 0 0 1-.884 0 .626.626 0 0 1 0-.883zm7.82-11.989a1.733 1.733 0 0 1 2.053 2.054c-.27 1.28-.687 3.19-1.103 4.858a3.6 3.6 0 0 1-.579 1.225L13 9.5v2.441c0 .607-.316 1.172-.833 1.49l-2.021 1.245a1.75 1.75 0 0 1-2.283-.398l-1.27-1.586a2.03 2.03 0 0 1-1.081-.918 3.4 3.4 0 0 0-.542-.743 3.5 3.5 0 0 0-.744-.542 2.03 2.03 0 0 1-.917-1.08l-1.587-1.27a1.75 1.75 0 0 1-.397-2.285l1.244-2.021a1.75 1.75 0 0 1 1.49-.832h2.485a3.6 3.6 0 0 1 1.224-.578c1.668-.417 3.58-.833 4.86-1.103M3.557 11.56a.627.627 0 0 1 .884 0 .63.63 0 0 1 0 .883l-2 2a.627.627 0 0 1-.884 0 .626.626 0 0 1 0-.883zm7.942-.673c-.185.13-.376.252-.562.365-.879.53-1.832.936-2.602 1.219l.698.872c.078.097.219.122.326.056l2.021-1.244a.26.26 0 0 0 .12-.213zm-9.692-.577a.627.627 0 0 1 .884 0 .63.63 0 0 1 0 .883l-.75.75a.627.627 0 0 1-.884 0 .626.626 0 0 1 0-.883zm11.129-7.521c-1.274.269-3.164.68-4.805 1.09-.746.187-1.465.911-2.098 1.96C5.42 6.853 4.98 8.015 4.726 8.796l-.002.008a.8.8 0 0 1 .025.167.52.52 0 0 0 .208.208c.335.187.732.449 1.074.79.341.343.603.739.79 1.074.055.097.134.17.209.208.055.002.114.01.168.025l.007-.002c.781-.255 1.942-.694 2.957-1.307 1.05-.634 1.774-1.353 1.96-2.099.41-1.64.823-3.53 1.091-4.804a.233.233 0 0 0-.276-.276M8.72 6.221a.75.75 0 0 1 1.06 0 .753.753 0 0 1 0 1.06l-.5.5a.751.751 0 0 1-1.06-1.06zM4.059 4.5a.25.25 0 0 0-.213.118L2.602 6.641a.25.25 0 0 0 .057.326l.872.698c.282-.77.688-1.724 1.218-2.603a10 10 0 0 1 .366-.561z"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
