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

export const IconSplunkColor16 = 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="#000">
                    <path d="M4.334 8.198q.027-.135.026-.254 0-.333-.14-.528a.45.45 0 0 0-.383-.193.47.47 0 0 0-.404.205q-.15.207-.149.556 0 .342.147.537.147.196.402.196a.4.4 0 0 0 .253-.075.6.6 0 0 0 .161-.191.9.9 0 0 0 .087-.253M13.465 6.55l-.025.002v.069h.025c.027 0 .051-.01.051-.035 0-.018-.014-.036-.051-.036" />
                    <path
                        fillRule="evenodd"
                        d="M13.628 6.628a.153.153 0 0 0-.152-.155.154.154 0 0 0-.152.154c0 .087.068.156.152.156a.15.15 0 0 0 .152-.155m-.164.018h-.024v.087h-.034V6.53a.4.4 0 0 1 .06-.005q.048 0 .065.015.02.014.02.042c0 .027-.018.043-.041.05v.001q.029.005.035.05a.2.2 0 0 0 .014.05h-.035a.14.14 0 0 1-.015-.052q-.006-.036-.045-.035"
                        clipRule="evenodd"
                    />
                    <path
                        fillRule="evenodd"
                        d="M16 0H0v16h16zM2.435 8.67a.584.584 0 0 0 .035-.42.5.5 0 0 0-.085-.151 1 1 0 0 0-.167-.161 5 5 0 0 0-.267-.2 2 2 0 0 1-.225-.183.2.2 0 0 1-.066-.146q0-.086.074-.143a.3.3 0 0 1 .188-.057q.186 0 .354.114l.165-.255a1 1 0 0 0-.285-.124 1.2 1.2 0 0 0-.318-.042q-.156 0-.288.041a.7.7 0 0 0-.228.114.5.5 0 0 0-.149.176.5.5 0 0 0-.054.23q0 .11.04.196a.6.6 0 0 0 .105.154q.066.07.146.13.08.061.164.118l.18.13a1 1 0 0 1 .109.098q.04.046.054.088a.3.3 0 0 1 .015.092.22.22 0 0 1-.082.18.33.33 0 0 1-.217.068.5.5 0 0 1-.215-.049 1.2 1.2 0 0 1-.236-.154L1 8.798q.165.126.329.18.165.055.371.055.173 0 .319-.045a.8.8 0 0 0 .25-.124.6.6 0 0 0 .166-.193M4.882 7.51q.068.186.068.414 0 .24-.077.442-.075.201-.212.351a.96.96 0 0 1-.724.317 1 1 0 0 1-.182-.016.6.6 0 0 1-.16-.055.8.8 0 0 1-.151-.1q-.074-.06-.155-.15V10h-.542V6.952h.543l.003.296a1 1 0 0 1 .32-.262.9.9 0 0 1 .403-.083q.207 0 .378.075a.9.9 0 0 1 .488.53m.866 1.474H5.19V6h.557zM8.125 6.95v2.035l-.556.001-.002-.272a1 1 0 0 1-.33.246 1 1 0 0 1-.393.075.85.85 0 0 1-.42-.095.55.55 0 0 1-.248-.283.4.4 0 0 1-.031-.094 1.4 1.4 0 0 1-.03-.257l-.003-.2V6.95h.557v1.165q0 .155.015.236t.053.146q.098.172.344.172.314 0 .432-.253a.6.6 0 0 0 .043-.145q.012-.08.012-.226V6.95zm2.4.88v1.154H9.97V7.82a1.4 1.4 0 0 0-.015-.235.5.5 0 0 0-.052-.146q-.098-.17-.344-.17a.55.55 0 0 0-.27.062.4.4 0 0 0-.167.185.6.6 0 0 0-.04.148q-.01.08-.01.221v1.097h-.562v-2.03h.56l.002.272a1.1 1.1 0 0 1 .33-.246 1 1 0 0 1 .393-.076q.249 0 .42.1a.57.57 0 0 1 .277.374 1.199 1.199 0 0 1 .032.252q.003.083.003.2m1.457.004.849 1.016-.52.175-.84-1.121v1.08h-.56V6h.56v1.752h.06l.746-.833.422.175zM15 7.788v.332l-1.688.809v-.357l1.308-.622-1.308-.613v-.365zm-1.712-1.16c0-.102.084-.183.187-.183.104 0 .188.08.188.182a.183.183 0 0 1-.188.184.184.184 0 0 1-.187-.184"
                        clipRule="evenodd"
                    />
                </g>
            </svg>
        );
    }
);
