/* eslint-disable linebreak-style */
import React from 'react';

const atomicApiIcon = (
    fill: string,
    size: number,
    style?: React.CSSProperties,
) => (
    <svg
        aria-hidden="true"
        data-testid="test-icon"
        width={size}
        height={size}
        viewBox="0 0 24 24"
        xmlns="http://www.w3.org/2000/svg"
    >
        <g clipPath="url(#clip0_12659_107960)" style={style}>
            <path
                d="M12.3135 21.9666C10.7069 21.9575 9.12723 21.5427 7.71427 20.7591C6.30131 19.9755 5.09863 18.8471 4.21262 17.4738C3.32662 16.1005 2.7846 14.5247 2.63454 12.8856C2.48447 11.2466 2.73097 9.59494 3.35224 8.07677C3.44244 7.88736 3.59924 7.73991 3.79115 7.66405C3.98306 7.58818 4.19587 7.58951 4.38686 7.66776C4.58553 7.75423 4.74258 7.91795 4.82354 8.12298C4.90449 8.328 4.90273 8.55756 4.81863 8.76125C4.15895 10.7588 4.26161 12.9381 5.10597 14.8613C5.95034 16.7845 7.47383 18.3089 9.37026 19.1282C11.2667 19.9476 13.3955 20.0011 15.3289 19.278C17.2622 18.5549 18.8568 17.1088 19.7922 15.2304C19.8764 15.0256 20.0366 14.8635 20.2375 14.7797C20.4384 14.696 20.6636 14.6974 20.8634 14.7838C21.0633 14.8701 21.2215 15.0343 21.3032 15.2401C21.385 15.446 21.3836 15.6767 21.2993 15.8814C20.5543 17.6883 19.308 19.2313 17.715 20.3189C16.1219 21.4066 14.2523 21.9911 12.338 22L12.3135 21.9666Z"
                fill={fill}
            />
            <path
                d="M20.5498 16.3907C20.4433 16.3893 20.3381 16.3667 20.2402 16.3239C20.1411 16.2819 20.0511 16.2202 19.9753 16.1424C19.8995 16.0647 19.8395 15.9723 19.7986 15.8707C19.7577 15.7692 19.7368 15.6603 19.7371 15.5504C19.7374 15.4405 19.7589 15.3318 19.8003 15.2304C20.0932 14.5303 20.2879 13.7911 20.3787 13.0351C20.4068 12.8137 20.5195 12.6128 20.6922 12.4766C20.8648 12.3404 21.0832 12.2801 21.2992 12.3089C21.5153 12.3376 21.7114 12.4532 21.8443 12.6301C21.9772 12.807 22.0361 13.0307 22.008 13.2521C21.8907 14.1559 21.6578 15.0399 21.3155 15.8815C21.2521 16.035 21.1453 16.1655 21.0088 16.2563C20.8723 16.347 20.7124 16.3938 20.5498 16.3907ZM21.006 10.6644C20.8199 10.67 20.6375 10.6101 20.4893 10.4947C20.3411 10.3792 20.2359 10.2153 20.1913 10.0301C20.0123 9.29221 19.7384 8.58203 19.3766 7.91821C19.3231 7.82284 19.2885 7.71761 19.2747 7.60853C19.2609 7.49945 19.2682 7.38865 19.2962 7.28246C19.3242 7.17627 19.3723 7.07676 19.4378 6.98963C19.5034 6.9025 19.585 6.82944 19.6781 6.77463C19.7711 6.71982 19.8738 6.68434 19.9803 6.6702C20.0868 6.65605 20.1949 6.66354 20.2985 6.69222C20.4022 6.72089 20.4993 6.77021 20.5843 6.83734C20.6694 6.90448 20.7407 6.98811 20.7942 7.08348C21.2304 7.86842 21.5593 8.71102 21.7717 9.58766C21.7972 9.69455 21.8018 9.80554 21.7853 9.91425C21.7687 10.023 21.7313 10.1273 21.6753 10.2211C21.6193 10.315 21.5457 10.3966 21.4588 10.4612C21.3719 10.5258 21.2734 10.5722 21.1689 10.5977L21.006 10.6644ZM18.0406 5.78966C17.8502 5.79004 17.6658 5.72211 17.5192 5.59767C16.9459 5.12565 16.3129 4.73535 15.6373 4.43741C15.5394 4.39246 15.4511 4.3282 15.3775 4.2483C15.3038 4.16839 15.2463 4.07441 15.2081 3.9717C15.1699 3.869 15.1518 3.75959 15.1548 3.64973C15.1579 3.53987 15.1821 3.4317 15.2259 3.3314C15.2698 3.2311 15.3325 3.14063 15.4105 3.06516C15.4885 2.9897 15.5802 2.93071 15.6804 2.89157C15.7807 2.85242 15.8874 2.83389 15.9947 2.83703C16.1019 2.84017 16.2075 2.86492 16.3054 2.90986C17.1162 3.28414 17.875 3.76692 18.562 4.34559C18.6911 4.45525 18.7841 4.6031 18.8282 4.76894C18.8723 4.93478 18.8653 5.11052 18.8083 5.27216C18.7513 5.4338 18.6469 5.57346 18.5095 5.67206C18.3721 5.77065 18.2083 5.82338 18.0406 5.82305V5.78966ZM7.17297 5.33891C6.99908 5.34028 6.82932 5.2846 6.68854 5.18001C6.54775 5.07543 6.44331 4.92743 6.39051 4.75766C6.33771 4.58789 6.33931 4.40527 6.39508 4.2365C6.45085 4.06774 6.55786 3.92168 6.70046 3.81971L6.96116 3.64442C7.05089 3.58369 7.15147 3.54176 7.25709 3.52105C7.36271 3.50035 7.47129 3.50127 7.57656 3.52378C7.68183 3.54628 7.78171 3.58992 7.87044 3.65217C7.95917 3.71442 8.035 3.79406 8.09354 3.88649C8.20991 4.07254 8.24953 4.29827 8.20372 4.51421C8.1579 4.73014 8.03039 4.91865 7.84914 5.03841L7.64548 5.18866C7.50698 5.28772 7.34186 5.34022 7.17297 5.33891ZM10.4316 3.88649C10.2156 3.90973 9.99934 3.84408 9.83052 3.70398C9.6617 3.56387 9.55411 3.36079 9.53143 3.13941C9.50874 2.91803 9.57281 2.69648 9.70955 2.5235C9.84628 2.35052 10.0445 2.24028 10.2605 2.21704C11.1297 2.02374 12.0202 1.95075 12.9082 2.00001C13.1229 2.01294 13.3239 2.11234 13.4674 2.27653C13.6108 2.44073 13.6851 2.65639 13.674 2.87647C13.6615 3.08906 13.5702 3.28872 13.4188 3.43459C13.2673 3.58046 13.0672 3.66149 12.8593 3.66111C12.1187 3.6215 11.3763 3.68326 10.6516 3.84475C10.5682 3.87607 10.4796 3.89025 10.3909 3.88649H10.4316Z"
                fill={fill}
            />
            <path
                d="M4.88401 5.33058C4.95484 5.27341 5.03932 5.23671 5.12868 5.2243C5.21803 5.21188 5.30899 5.2242 5.39213 5.25998C5.47526 5.29576 5.54754 5.35369 5.60144 5.42775C5.65535 5.50181 5.68892 5.58931 5.69867 5.68116L6.54592 8.61104C6.55818 8.70235 6.54679 8.79536 6.51291 8.88074C6.47903 8.96612 6.42385 9.04088 6.35289 9.09752C6.28193 9.15417 6.19769 9.19071 6.1086 9.20348C6.01952 9.21626 5.92872 9.20482 5.84531 9.17031L2.31781 7.64276C2.23368 7.60825 2.16017 7.55117 2.10497 7.47752C2.04978 7.40387 2.01494 7.31636 2.00411 7.22417C1.99328 7.13198 2.00686 7.0385 2.04342 6.95354C2.07998 6.86857 2.13818 6.79525 2.21191 6.74126L4.88401 5.33058Z"
                fill={fill}
            />
            <path
                d="M15.6537 15.99C15.5626 15.932 15.4836 15.8562 15.4212 15.7669C15.3588 15.6775 15.3142 15.5765 15.29 15.4695C15.2657 15.3624 15.2624 15.2516 15.2801 15.1432C15.2978 15.0349 15.3361 14.9312 15.393 14.838C15.5072 14.6519 15.6885 14.5194 15.8975 14.4694C16.1064 14.4194 16.3262 14.4559 16.5091 14.5709C16.6002 14.6289 16.6792 14.7047 16.7416 14.794C16.804 14.8833 16.8486 14.9844 16.8728 15.0914C16.8971 15.1984 16.9004 15.3093 16.8828 15.4177C16.8651 15.526 16.8267 15.6297 16.7698 15.7228C16.6964 15.8431 16.5943 15.9423 16.4732 16.0109C16.352 16.0796 16.2158 16.1154 16.0773 16.1152C15.9276 16.1141 15.781 16.0708 15.6537 15.99ZM13.5763 14.6627C13.4 14.5405 13.2774 14.3523 13.2348 14.1386C13.1921 13.9249 13.2328 13.7025 13.3482 13.5192C13.4624 13.333 13.6437 13.2005 13.8527 13.1505C14.0616 13.1005 14.2814 13.137 14.4643 13.2521C14.6474 13.3677 14.7783 13.5529 14.8287 13.7671C14.8791 13.9813 14.8447 14.2073 14.7331 14.3956C14.6598 14.5159 14.5577 14.6151 14.4365 14.6837C14.3154 14.7524 14.1791 14.7882 14.0407 14.788C13.8767 14.7989 13.7138 14.755 13.5763 14.6627ZM11.1323 12.6177C11.1323 12.3963 11.2182 12.184 11.3709 12.0274C11.5237 11.8709 11.7309 11.7829 11.947 11.7829C12.1631 11.7829 12.3703 11.8709 12.523 12.0274C12.6758 12.184 12.7617 12.3963 12.7617 12.6177C12.7617 12.8391 12.6758 13.0514 12.523 13.2079C12.3703 13.3645 12.1631 13.4524 11.947 13.4524C11.7338 13.448 11.5307 13.3582 11.3814 13.2021C11.2322 13.046 11.1486 12.8362 11.1486 12.6177H11.1323ZM11.1323 10.1135C11.1323 9.89211 11.2182 9.6798 11.3709 9.52326C11.5237 9.36672 11.7309 9.27877 11.947 9.27877C12.1631 9.27877 12.3703 9.36672 12.523 9.52326C12.6758 9.6798 12.7617 9.89211 12.7617 10.1135C12.7617 10.3349 12.6758 10.5472 12.523 10.7037C12.3703 10.8603 12.1631 10.9482 11.947 10.9482C11.7338 10.9438 11.5307 10.854 11.3814 10.6979C11.2322 10.5418 11.1486 10.332 11.1486 10.1135H11.1323ZM11.1323 7.60932C11.1323 7.38794 11.2182 7.17562 11.3709 7.01908C11.5237 6.86254 11.7309 6.7746 11.947 6.7746C12.1631 6.7746 12.3703 6.86254 12.523 7.01908C12.6758 7.17562 12.7617 7.38794 12.7617 7.60932C12.7617 7.8307 12.6758 8.04302 12.523 8.19956C12.3703 8.3561 12.1631 8.44405 11.947 8.44405C11.7338 8.43968 11.5307 8.34981 11.3814 8.19374C11.2322 8.03767 11.1486 7.82784 11.1486 7.60932H11.1323Z"
                fill={fill}
            />
            <path
                d="M17.1366 16.7829C16.9868 16.7819 16.8403 16.7386 16.713 16.6577L13.6009 14.6794C13.4534 14.5525 13.3545 14.3762 13.3219 14.1816C13.2892 13.9871 13.3249 13.787 13.4225 13.6169C13.5202 13.4468 13.6736 13.3176 13.8554 13.2523C14.0372 13.1871 14.2357 13.1899 14.4156 13.2604L17.5276 15.2387C17.6784 15.3345 17.7946 15.478 17.8585 15.6476C17.9224 15.8171 17.9305 16.0034 17.8816 16.1781C17.8328 16.3528 17.7296 16.5065 17.5878 16.6156C17.446 16.7248 17.2732 16.7835 17.0959 16.7829H17.1366Z"
                fill={fill}
            />
            <path
                d="M11.9631 10.99C11.747 10.99 11.5398 10.902 11.387 10.7455C11.2343 10.5889 11.1484 10.3766 11.1484 10.1552V5.93989C11.1484 5.71851 11.2343 5.50619 11.387 5.34965C11.5398 5.19311 11.747 5.10516 11.9631 5.10516C12.1792 5.10516 12.3864 5.19311 12.5392 5.34965C12.6919 5.50619 12.7778 5.71851 12.7778 5.93989V10.1552C12.7778 10.3766 12.6919 10.5889 12.5392 10.7455C12.3864 10.902 12.1792 10.99 11.9631 10.99Z"
                fill={fill}
            />
        </g>
        <defs>
            <clipPath id="clip0_12659_107960">
                <rect
                    width="20"
                    height="20"
                    fill="white"
                    transform="translate(2 2)"
                />
            </clipPath>
        </defs>
    </svg>
);
export default atomicApiIcon;
