/*
 * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import * as React from "react";
import type { SVGIconProps } from "../../svgIconProps";
import { IconSize } from "../../iconTypes";
import { SVGIconContainer } from "../../svgIconContainer";

export const PredictiveAnalysis: React.FC<SVGIconProps> = React.forwardRef<any, SVGIconProps>((props, ref) => {
    const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE;
    const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD;
    const translation = `${-1 * pixelGridSize / 0.05 / 2}`;
    const style = { transformOrigin: "center" };
    return (
        <SVGIconContainer iconName="predictive-analysis" ref={ref} {...props}>
            <path
                d={isLarge ? "M400 239.8C400 265 387.8 288.4 367.8 302.2C357.2 350 316 384.2 268 384.2C256.4 384.2 245.2 382.2 234.2 378.4A70.6 70.6 0 0 1 183.4 400C161 400 140 389 126.4 371Q121.9 371.6 117.4 371.6C84.8 371.6 56.8 349.2 48.2 317.4C19.4 307 0 279 0 246.8C0 237.2 1.8 227.8 5.2 218.8C1.8 210 0 200.6 0 191C0 163.4 14.4 138.2 37.8 125.1999999999999C51.2 111.2 69.6 103.4 88.6 103.4C100.8 103.4 112.4 106.4 122.8 112.4C136.4 95.9999999999999 156.4 86.3999999999999 177.4 86.3999999999999C190.6 86.3999999999999 203 89.9999999999999 214 96.8C226.2 86.9999999999999 240.8 80.5999999999999 256.2 78.5999999999999C282.2 49.9999999999999 302.2 12.9999999999999 302.4 12.5999999999999C302.4 12.5999999999999 309.4 0.3999999999999 309 0.3999999999999C328.2 0.6 344.4 4.3999999999999 341.8 26.3999999999999C342 25.9999999999999 323.4 84.1999999999999 323.4 84.1999999999999C333.8 89.3999999999999 342.2 97.9999999999999 347.6 108.8C370 122 384.4 147 384.4 174C384.4 180 383.8 186 382.4 191.8C393.8 204.6 400 222 400 239.8M369.2 214.2L365.6 218.2L350.2 235C343.6 242.4 336.8 258.4 335.6 269.6C335.6 269.6 333 294.6 333 294.8C331.8 309.6 309.6 309.4 310.4 292C310.4 291.6 313 266.8 313 266.8C313.8 259.6 316 251.4 319 243.4C317.4000000000001 243.6 316 243.8 314.6 243.8C314.6 243.8 263.2 246.2 263.2 246.4C248.6 247 245.4 222 262.2 221.4L313.6 218.8C324.2000000000001 218.2 339.4 211.4 345.8 204.4L358 191L358.4 189.7999999999999C360.4 184.4 361.2 178.7999999999999 361.2 173.1999999999999C361.2 154.5999999999999 351 137.8 334.4 129.5999999999999L330.4 127.6L328.6 123C324.8 113.3999999999999 316.6 106.5999999999999 306.6 104.3999999999999L293.2 101.5999999999999L310.6 46.6C301 61.8 286.8 82.4 270.2 99.9999999999999L267.2 103.2L263 103.6C252.8 104.3999999999999 243.2 107.8 234.6 113.2L268.6 142.8C277.4 150.6 289.4 153.8 293.4 152.6C293.4 152.6 309 148.2 309 148C324.5999999999999 144 329.5999999999999 166.4 314.8 172.2L299.2 176.8C285.4 180.8 265.8 172.4 254.4 162.4L216.1999999999999 129.2L208.3999999999999 122.8C199.5999999999999 115.6 189.7999999999999 111.8 178.3999999999999 111.8C162.3999999999999 111.8 147.5999999999999 120 139 133.2V170.8C139 180.8 143.1999999999999 190.4 145.7999999999999 192.2C145.7999999999999 192.2 158.7999999999999 200.8 158.5999999999999 200.8C175.9999999999999 214.6 162.8 232.2 145.7999999999999 223.6C145.7999999999999 223.8 132.7999999999999 215 132.7999999999999 215C126.5999999999999 211 121.9999999999999 203.8 118.7999999999999 195.6C116.1999999999999 198.2 113.1999999999999 200.6 110.1999999999999 202.6C110.1999999999999 202.6 71.9999999999999 227.8 71.9999999999999 228.2C55.7999999999999 239.4 41.9999999999999 215.6 59.7999999999999 206C59.7999999999999 206.4 97.5999999999999 180.4 97.5999999999999 180.4C106.7999999999999 174.2 113 161 113 153.2V136.4C104.4 131.6 97.3999999999999 129.2000000000001 88.1999999999999 129.2000000000001C74.7999999999999 129.2000000000001 61.9999999999999 135 52.7999999999999 145L51.3999999999999 146.6L49.5999999999999 147.6A48.4 48.4 0 0 0 23.3999999999999 190.8C23.3999999999999 198.4 25.1999999999999 205.6 28.3999999999999 212.4L31.3999999999999 218.6L28.5999999999999 225.2000000000001C25.1999999999999 232.0000000000001 23.5999999999999 239.2 23.5999999999999 246.8000000000001C23.5999999999999 269.4000000000001 38.7999999999999 288.8 60.5999999999999 294.2000000000001L68.3999999999999 296L69.7999999999999 304.6A48.2 48.2 0 0 0 117.5999999999999 345.6C121.4 345.6 125.3999999999999 345.2000000000001 129.1999999999999 344.2000000000001L137.2 342.2000000000001L141.5999999999999 349.8A48.2 48.2 0 0 0 183.4 374C194.4 374 205 370.2 213.4 363.4L204.6 354.4L204.4 354.6L198.2 348.4C190 341.4 179.8 337.8 176 338.4C176 338.4 159.2 341 159.2 341.2C142.6 344.2 137.4 319.6 155.6 315.4C155.8 315.4 172.4 312.6 172.4 312.6C173 312.6 173.6 312.6 174.2 312.4C171.4 303.2 170.6 293.2 171.8000000000001 284.4C171.8000000000001 284.4 176.0000000000001 259.6 175.6 259.8C178.2000000000001 246.8 202 251 198.8 264.2C198.8 264.4 195 288.8 195 288.8C193.6 298.4 198.0000000000001 312.6 204 318.8L213.6 328.8C215 330 216.2000000000001 331.2 217.4 332.4L236 351.4C246 356 256.8 358.2 267.8 358.2C306.4 358.2 339.2000000000001 330.2 345.6 291.4L346.6 285.2L351.8000000000001 282.2A48.9 48.9 0 0 0 369.2000000000001 214.2" : "M320 191.8C320 212 310.2 230.6 294.2000000000001 241.6C285.6 280 252.8 307.2 214.2 307.2C205 307.2 195.8 305.6 187.2 302.4C176.6 313.8 162.2 320 146.8 320C128.8 320 112 311.2 101.2 296.8C98.8 297 96.4 297.2 94 297.2C67.8 297.2 45.6 279.4 38.6 253.8C15.6 245.6 0 223.2 0 197.4C0 189.8 1.4 182.2 4.2 175C1.4 168 0 160.4 0 152.8C0 130.6 11.6 110.6 30.2 100.2000000000001C41 89 55.6 82.8 70.8 82.8C80.6 82.8 89.8 85.2000000000001 98.2 90A57 57 0 0 1 141.8 69.2C152.2 69.2 162.4 72 171.2 77.6C181 69.8 192.6 64.6 205 63C225.8 40 241.8 10.4 241.8 10.2C241.8 10.2 247.4 0.4 247 0.4C262.4 0.4 275.2 3.6 273.4 21.2C273.4 20.8 258.8 67.4 258.8 67.4C267 71.6 273.8 78.4 278.2 87C296.2 97.4 307.6 117.6 307.6 139.2C307.6 144 307 148.8 306 153.4C315 163.8 320 177.6 320 191.8M295.4 171.4L292.4 174.6L280.2 188C274.8 193.8 269.4 206.8 268.6 215.8L266.6 236C265.6 247.8 247.8 247.6 248.4 233.8C248.4 233.4 250.4 213.6 250.4 213.6C251 207.8 252.8 201.2 255.2 195C254 195.2 252.8 195.4 251.6 195.4C251.6 195.4 210.4 197.4 210.6 197.6C199 198 196.4 178.2 209.8000000000001 177.6L250.8000000000001 175.4C259.2000000000001 175 271.6 169.4 276.6 163.8L286.4000000000001 153L286.8 152C288.4000000000001 147.8 289.2000000000001 143.2 289.2000000000001 138.8C289.2000000000001 124 281 110.6 267.8 103.8L264.6 102.2L263.2 98.6C260.2 90.9999999999999 253.6 85.4 245.6 83.8L234.8 81.6L248.8 37.6C241.2 49.8 229.8 66.2 216.3999999999999 80.4L214 83L210.6 83.2C202.4 83.8 194.5999999999999 86.6 187.8 90.8L215 114.4C221.9999999999999 120.6 231.6 123.2 234.8 122.2C234.8 122.2 247.4 118.8 247.2 118.6C259.8 115.4 263.7999999999999 133.4 251.8 138.0000000000001L239.4 141.6C228.3999999999999 144.8000000000001 212.8 138.0000000000001 203.5999999999999 130L173 103.4L166.7999999999999 98.2000000000001C159.7999999999999 92.4000000000001 151.7999999999999 89.4 142.7999999999999 89.4C130 89.4 118.1999999999999 96.0000000000001 111.1999999999999 106.6V137C111.1999999999999 145 114.5999999999999 152.8 116.5999999999999 154C116.5999999999999 154 126.9999999999999 160.8 126.7999999999999 161C140.9999999999999 171.6 130.3999999999999 185.6 116.9999999999999 178.8C116.9999999999999 179 106.5999999999999 171.8 106.5999999999999 171.8C101.3999999999999 168.8 97.5999999999999 163 94.9999999999999 156.4C92.7999999999999 158.6 90.5999999999999 160.4 88.1999999999999 162C88.1999999999999 162 57.5999999999999 182.2 57.5999999999999 182.4C44.5999999999999 191.4 33.5999999999999 172.2 47.7999999999999 164.6C47.7999999999999 164.8 77.9999999999999 144.2 77.9999999999999 144.2C85.3999999999999 139.4 90.3999999999999 128.6 90.3999999999999 122.4V109C83.5999999999999 105.2 77.7999999999999 103.2 70.5999999999999 103.2C59.7999999999999 103.2 49.5999999999999 107.8 42.3999999999999 115.8L41.3999999999999 117L39.9999999999999 117.8C26.9999999999999 124.6 18.9999999999999 137.8 18.9999999999999 152.4C18.9999999999999 158.4 20.3999999999999 164.4 22.9999999999999 169.8L25.3999999999999 174.8L23 180C20.4 185.4 19 191.2 19 197.4C19 215.4 31.2 231 48.6 235.2L54.8 236.8L55.8 243.6A38.52 38.52 0 0 0 103.4 275.2L109.8 273.6L113.4 279.8C120.4 291.8 133.2 299.2 146.8 299.2C155.6 299.2 164 296.2 170.8 290.8L163.6 283.6V283.8L158.6 278.6C152 273.2 143.8 270.2 140.8 270.6C140.8 270.6 127.4 272.6 127.4 272.8C114 275.4 110 255.6 124.6 252.4C124.8 252.4 138 250.2 138 250.2C138.4 250.2 139 250.2 139.4 250C137.2 242.6 136.4 234.6 137.4 227.6C137.4 227.6 140.8 207.8 140.4 207.8C142.6 197.4 161.6 200.6 159 211.4C159 211.6 156 231.2 156 231.2C155 238.6 158.4 250 163.2 255L171 263C172 264 173 264.8 174 265.8L188.8 281C196.8000000000001 284.6 205.4 286.4 214.2 286.4C245.2000000000001 286.4 271.4 264 276.4 233L277.2 228L281.4 225.6C293.6 218.6 301 205.6 301 191.6C301 184.4 299 177.6 295.4000000000001 171.4"}
                fillRule="evenodd"
                transform={`scale(0.05, -0.05) translate(${translation}, ${translation})`}
                style={style}
            />
        </SVGIconContainer>
   );
});
PredictiveAnalysis.displayName = `Blueprint6.Icon.PredictiveAnalysis`;
export default PredictiveAnalysis;
