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

export const IconTransformData16 = 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="M12.387 9.5c.274.002.5.225.5.5v1.224l1.107-.63a.51.51 0 0 1 .688.183.497.497 0 0 1-.182.68l-1.168.664 1.168.664c.237.137.32.442.181.679a.51.51 0 0 1-.687.184l-1.107-.63v1.232a.5.5 0 0 1-1 0v-1.308l-1.131.645a.51.51 0 0 1-.688-.185.49.49 0 0 1 .182-.678l1.06-.603-1.06-.603a.49.49 0 0 1-.182-.68.51.51 0 0 1 .688-.183l1.13.644V10a.5.5 0 0 1 .5-.5M3.5 7.5c.412.002.75.337.75.75v2.5c0 .414.336.75.75.75h3.5c.412.002.75.337.75.75a.753.753 0 0 1-.75.75H5a2.25 2.25 0 0 1-2.25-2.25v-2.5a.75.75 0 0 1 .75-.75M11 3a2.253 2.253 0 0 1 2.25 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5A.753.753 0 0 0 11 4.5H7.5a.75.75 0 1 1 0-1.5zM3.274 1.25a.55.55 0 0 1 .363.145c.05.046.087.096.108.127.044.066.084.144.115.212.066.144.14.338.216.552.154.433.334 1.006.504 1.57s.334 1.131.454 1.554l.144.512.04.144.013.05a.505.505 0 0 1-.348.616.5.5 0 0 1-.616-.35l-.013-.049-.04-.142c-.033-.122-.082-.298-.142-.507l-.06-.207H2.498l-.063.211-.148.507-.041.143-.015.05a.5.5 0 0 1-.96-.275l.014-.051.041-.144a133 133 0 0 1 .621-2.067c.176-.564.362-1.137.52-1.57.078-.214.155-.407.222-.55a2 2 0 0 1 .117-.212.7.7 0 0 1 .108-.126.54.54 0 0 1 .361-.143m-.006 1.765a47 47 0 0 0-.47 1.463h.924l-.1-.333c-.12-.396-.241-.79-.354-1.13"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
