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

export const IconAzureAksColor16 = 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="url(#azure-aks-color-16__a)"
                    d="m5.511 2-2.224.412v3.034l2.224.474 2.232-.894V2.762z"
                />
                <path
                    fill="#341a6e"
                    d="M3.287 2.412v3.034l2.247.474V2.031zm.949 2.8-.63-.124V2.754l.63-.1zm.98.18-.724-.118V2.607l.724-.125z"
                />
                <path
                    fill="url(#azure-aks-color-16__b)"
                    d="M10.326 2.039 8.1 2.45v3.033l2.224.475 2.225-.902V2.8z"
                />
                <path
                    fill="#341a6e"
                    d="M8.101 2.451v3.033l2.232.475V2.07zm.941 2.8-.63-.124V2.793l.63-.1zm.98.179L9.3 5.313V2.646l.723-.133z"
                />
                <path
                    fill="url(#azure-aks-color-16__c)"
                    d="m3.232 6.184-2.224.413V9.63l2.224.474 2.232-.894V6.947z"
                />
                <path
                    fill="#341a6e"
                    d="M1 6.597v3.01l2.248.474V6.192zm.941 2.807-.63-.132V6.94l.63-.109zm.988.203-.723-.117V6.791l.723-.124z"
                />
                <path
                    fill="url(#azure-aks-color-16__d)"
                    d="m8.031 6.153-2.224.413v3.033l2.224.482 2.224-.902V6.916z"
                />
                <path
                    fill="#341a6e"
                    d="M5.807 6.566v3.04l2.24.475V6.192zm.94 2.807-.63-.132V6.908l.63-.11zm.98.171-.723-.116V6.76l.724-.124z"
                />
                <path
                    fill="url(#azure-aks-color-16__e)"
                    d="m12.83 6.192-2.225.412v3.034l2.225.474 2.232-.894V6.954z"
                />
                <path
                    fill="#341a6e"
                    d="M10.606 6.604v3.003l2.247.474V6.192zm.948 2.808-.63-.132V6.947l.63-.11zm.98.171-.723-.116V6.799l.723-.125z"
                />
                <path
                    fill="url(#azure-aks-color-16__f)"
                    d="m5.457 10.416-2.225.404v3.033l2.225.483 2.232-.903v-2.255z"
                />
                <path
                    fill="#341a6e"
                    d="M3.232 10.82v3.033l2.248.483v-3.952zm.95 2.808-.63-.132v-2.334l.63-.109zm.98.179-.724-.117v-2.675l.723-.125z"
                />
                <path
                    fill="url(#azure-aks-color-16__g)"
                    d="m10.263 10.447-2.224.412v3.033l2.224.475 2.233-.895V11.21z"
                />
                <path
                    fill="#341a6e"
                    d="M8.039 10.859v3.033l2.248.475v-3.89zm.949 2.808-.63-.133v-2.333l.63-.109zm.98.17-.724-.116v-2.668l.724-.124z"
                />
                <defs>
                    <linearGradient
                        id="azure-aks-color-16__a"
                        x1={1}
                        x2={15.062}
                        y1={8.183}
                        y2={8.183}
                        gradientUnits="userSpaceOnUse"
                    >
                        <stop stopColor="#b77af4" />
                        <stop offset={1} stopColor="#773adc" />
                    </linearGradient>
                    <linearGradient
                        id="azure-aks-color-16__b"
                        x1={1}
                        x2={15.062}
                        y1={8.183}
                        y2={8.183}
                        gradientUnits="userSpaceOnUse"
                    >
                        <stop stopColor="#b77af4" />
                        <stop offset={1} stopColor="#773adc" />
                    </linearGradient>
                    <linearGradient
                        id="azure-aks-color-16__c"
                        x1={1}
                        x2={15.038}
                        y1={8.183}
                        y2={8.183}
                        gradientUnits="userSpaceOnUse"
                    >
                        <stop stopColor="#b77af4" />
                        <stop offset={1} stopColor="#773adc" />
                    </linearGradient>
                    <linearGradient
                        id="azure-aks-color-16__d"
                        x1={1}
                        x2={15.062}
                        y1={8.171}
                        y2={8.171}
                        gradientUnits="userSpaceOnUse"
                    >
                        <stop stopColor="#b77af4" />
                        <stop offset={1} stopColor="#773adc" />
                    </linearGradient>
                    <linearGradient
                        id="azure-aks-color-16__e"
                        x1={1}
                        x2={15.062}
                        y1={8.183}
                        y2={8.183}
                        gradientUnits="userSpaceOnUse"
                    >
                        <stop stopColor="#b77af4" />
                        <stop offset={1} stopColor="#773adc" />
                    </linearGradient>
                    <linearGradient
                        id="azure-aks-color-16__f"
                        x1={1}
                        x2={15.062}
                        y1={8.183}
                        y2={8.183}
                        gradientUnits="userSpaceOnUse"
                    >
                        <stop stopColor="#b77af4" />
                        <stop offset={1} stopColor="#773adc" />
                    </linearGradient>
                    <linearGradient
                        id="azure-aks-color-16__g"
                        x1={1}
                        x2={15.062}
                        y1={8.183}
                        y2={8.183}
                        gradientUnits="userSpaceOnUse"
                    >
                        <stop stopColor="#b77af4" />
                        <stop offset={1} stopColor="#773adc" />
                    </linearGradient>
                </defs>
            </svg>
        );
    }
);
