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

export const IconKubernetesColor16 = 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="#326DE6"
                    d="M4.5 14.569c.214.278.539.431.874.431h5.251c.335 0 .66-.165.875-.434l3.258-4.178c.214-.278.288-.633.214-.978l-1.165-5.207a1.128 1.128 0 00-.606-.777l-4.714-2.31A1.062 1.062 0 008.002 1c-.168 0-.335.038-.485.115l-4.715 2.32a1.129 1.129 0 00-.605.777L1.032 9.42c-.084.345 0 .7.214.978L4.5 14.568z"
                />
                <path
                    fill="#fff"
                    fillRule="evenodd"
                    d="M12.741 9.128c.098.003.196.01.293.024a1.034 1.034 0 01.09.02.307.307 0 11-.137.595h-.004l-.003-.001-.003-.001-.03-.007a.915.915 0 01-.05-.01 2.552 2.552 0 01-.274-.106 2.867 2.867 0 00-.533-.156.243.243 0 00-.171.063 4.693 4.693 0 00-.131-.023 3.971 3.971 0 01-1.764 2.212c.015.042.032.083.051.123a.239.239 0 00-.023.18c.074.17.165.332.27.484.06.078.115.16.165.244l.028.057.012.025a.306.306 0 01-.381.44.306.306 0 01-.172-.18l-.01-.02-.028-.058a2.549 2.549 0 01-.089-.28 2.835 2.835 0 00-.21-.512.242.242 0 00-.156-.095 6.278 6.278 0 01-.065-.117 3.97 3.97 0 01-2.824-.007l-.069.125a.249.249 0 00-.132.064c-.104.17-.184.355-.237.548a2.52 2.52 0 01-.088.28l-.025.05-.013.027v.001a.306.306 0 01-.421.173.307.307 0 01-.132-.434l.014-.03.026-.052c.05-.085.104-.166.164-.244.108-.156.2-.322.276-.496a.302.302 0 00-.027-.173l.056-.133A3.972 3.972 0 014.22 9.532l-.134.023a.34.34 0 00-.176-.062 2.872 2.872 0 00-.533.156c-.09.04-.181.075-.275.105a1.014 1.014 0 01-.05.011l-.029.007H3.02l-.002.002h-.005a.308.308 0 01-.397-.349.306.306 0 01.261-.245l.004-.001h.003l.006-.002c.024-.006.054-.014.076-.018.097-.013.195-.021.293-.023.186-.013.37-.043.549-.09a.422.422 0 00.131-.133l.128-.037a3.938 3.938 0 01.624-2.752l-.098-.087a.338.338 0 00-.061-.176 2.853 2.853 0 00-.455-.319 2.559 2.559 0 01-.254-.148l-.048-.038-.015-.012-.005-.004a.323.323 0 01-.075-.45.295.295 0 01.244-.107.365.365 0 01.213.08l.022.017c.016.013.034.026.046.037.071.067.139.139.202.213.125.137.263.262.412.372.056.03.121.036.182.018a5.2 5.2 0 00.11.078 3.938 3.938 0 012.552-1.224l.007-.129a.333.333 0 00.1-.157 2.846 2.846 0 00-.034-.554 2.555 2.555 0 01-.042-.29v-.082-.004A.306.306 0 018 2.82a.308.308 0 01.306.337v.087a2.53 2.53 0 01-.041.29 2.85 2.85 0 00-.035.553.242.242 0 00.1.153v.007l.007.13c.967.087 1.87.522 2.54 1.223l.116-.083a.34.34 0 00.186-.02c.149-.11.287-.235.412-.373.063-.074.13-.146.202-.213l.051-.04.017-.014a.307.307 0 11.381.477 2.062 2.062 0 00-.067.054 2.538 2.538 0 01-.255.148 2.86 2.86 0 00-.454.32.24.24 0 00-.058.172l-.05.044-.058.053c.542.806.769 1.783.637 2.745l.123.036c.031.056.077.101.132.132.18.048.364.078.55.09zM7.291 5.24c.107-.024.216-.043.326-.056l-.091 1.6-.007.004a.268.268 0 01-.293.256.27.27 0 01-.135-.05l-.002.001-1.316-.93c.419-.41.945-.696 1.518-.825zm1.618 1.75l1.307-.924a3.182 3.182 0 00-1.832-.882l.09 1.598h.002a.269.269 0 00.294.256.27.27 0 00.134-.05l.005.002zm2.247 1.656L9.61 8.201l-.002-.006a.27.27 0 01-.185-.343.27.27 0 01.08-.12L9.5 7.73l1.195-1.067c.366.594.527 1.29.46 1.983zm-2.06.854l.618 1.49a3.148 3.148 0 001.275-1.598l-1.593-.269-.003.004a.26.26 0 00-.165.022.27.27 0 00-.13.348l-.002.003zm-.386 1.905c-.572.13-1.17.1-1.726-.088l.777-1.4h.001a.27.27 0 01.475-.001h.006l.779 1.402a3.286 3.286 0 01-.312.087zm-2.418-.422l.612-1.474-.004-.006a.268.268 0 00-.297-.37L6.6 9.13l-1.579.267a3.16 3.16 0 001.271 1.586zm-.996-4.32l1.201 1.071-.001.007a.269.269 0 01-.106.462l-.001.005-1.54.443a3.134 3.134 0 01.447-1.988zm2.95 1.154h-.493l-.306.38.11.476.443.213.442-.212.11-.476-.306-.381z"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
