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

export const IconGrafana16 = 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}
                    d="M13.985 7.175a4.4 4.4 0 0 0-.138-.802 5.035 5.035 0 0 0-1.054-1.998 3 3 0 0 0-.366-.393c.198-.787-.245-1.468-.245-1.468-.764-.046-1.237.227-1.42.363-.031-.015-.062-.03-.092-.03-.122-.046-.26-.106-.397-.137-.138-.045-.275-.075-.413-.12-.137-.031-.29-.061-.443-.092-.03 0-.046 0-.076-.015C9.005 1.44 8.058 1 8.058 1 7.004 1.666 6.79 2.604 6.79 2.604s0 .015-.016.06l-.183.046c-.076.03-.168.06-.244.076-.077.03-.168.06-.245.09-.153.076-.32.152-.473.228-.153.09-.306.181-.443.272-.016-.015-.03-.015-.03-.015-1.467-.545-2.766.136-2.766.136-.122 1.544.58 2.528.733 2.71-.03.09-.06.196-.091.287a8 8 0 0 0-.245 1.09c0 .06-.015.106-.015.166C1.397 8.386 1 9.748 1 9.748c1.13 1.287 2.46 1.377 2.46 1.377.167.303.366.575.58.848.092.106.183.212.29.318a3 3 0 0 0 .061 2.149c1.268.045 2.093-.545 2.261-.681.122.045.26.076.382.106.382.106.78.151 1.176.181h.49c.595.848 1.634.954 1.634.954.748-.772.779-1.544.779-1.71v-.075c.153-.107.305-.228.443-.35a5.4 5.4 0 0 0 .779-.892c.015-.03.046-.06.061-.09.84.045 1.436-.515 1.436-.515-.138-.863-.642-1.287-.749-1.378l-.015-.015h-.015s-.015 0-.015-.015c0-.045.015-.106.015-.151 0-.091.015-.182.015-.288v-.515l-.015-.075c-.015-.091-.03-.197-.061-.288a3.5 3.5 0 0 0-.428-1.044 3.9 3.9 0 0 0-.718-.848 3.8 3.8 0 0 0-.901-.575 3.4 3.4 0 0 0-.993-.272c-.168-.015-.336-.03-.504-.03h-.244c-.092.015-.169.015-.26.03-.336.06-.642.181-.932.348-.275.166-.52.363-.718.605a2.6 2.6 0 0 0-.459.757 2.6 2.6 0 0 0-.183.817v.393c.015.137.046.273.077.394.076.258.183.485.336.666.137.197.32.348.504.485.183.12.382.212.58.272.199.06.382.076.565.076h.244c.031 0 .047 0 .062-.015.015 0 .046-.015.061-.015.046-.016.076-.016.122-.03l.23-.092a.9.9 0 0 0 .198-.12c.015-.016.03-.03.046-.03a.13.13 0 0 0 .015-.198c-.046-.06-.122-.075-.183-.03-.015.015-.03.015-.046.03-.046.03-.107.046-.168.06l-.183.046c-.03 0-.061.015-.092.015h-.29a1.5 1.5 0 0 1-.825-.378 1.5 1.5 0 0 1-.306-.378 1.7 1.7 0 0 1-.168-.485c-.015-.09-.015-.166-.015-.257v-.136c0-.046.015-.091.015-.136.061-.364.26-.727.55-1q.115-.113.23-.181c.076-.06.167-.106.259-.151.092-.046.183-.076.29-.106a1 1 0 0 1 .306-.046h.321c.107.015.229.03.336.046.214.045.427.12.626.242.397.212.733.56.947.969.107.211.183.423.214.65.015.06.015.121.015.167v.363c0 .06-.015.121-.015.182 0 .06-.015.12-.03.181l-.046.182c-.03.121-.077.242-.123.363a3.2 3.2 0 0 1-.366.666 3 3 0 0 1-1.91 1.18c-.122.016-.26.03-.382.046h-.198c-.061 0-.138 0-.199-.015a3.6 3.6 0 0 1-.81-.151 4 4 0 0 1-.748-.303 4.1 4.1 0 0 1-1.696-1.695 4.4 4.4 0 0 1-.29-.742c-.076-.257-.107-.514-.137-.772V8.25c0-.136.015-.258.03-.394s.046-.272.061-.393c.03-.137.061-.258.092-.394a5 5 0 0 1 .275-.741c.214-.47.504-.893.855-1.226.092-.091.184-.167.275-.243s.184-.136.29-.211a5 5 0 0 1 .306-.182c.046-.03.107-.045.153-.076a.3.3 0 0 1 .076-.03.3.3 0 0 1 .077-.03c.107-.046.229-.091.336-.121.03-.015.06-.015.091-.03.03-.016.061-.016.092-.03.061-.016.122-.031.168-.046.03-.015.061-.015.092-.015.03 0 .06-.016.091-.016.03 0 .061-.015.092-.015l.046-.015h.046c.03 0 .06-.015.091-.015.03 0 .061-.015.107-.015.03 0 .077-.015.107-.015h.764c.23.015.443.03.657.075.428.076.84.212 1.207.394.366.182.702.393.977.636l.046.045.046.045c.03.03.061.061.107.091l.092.091.091.09c.123.122.23.258.336.394.199.258.367.515.49.772.014.015.014.03.03.046.015.015.015.03.015.045l.046.09.046.092.045.09c.046.122.092.228.123.333q.091.25.137.455c.015.045.061.09.122.075a.104.104 0 0 0 .107-.106c.092-.227.092-.393.077-.575"
                />
            </svg>
        );
    }
);
