/*
 * 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 UnknownVehicle: 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="unknown-vehicle" ref={ref} {...props}>
            <path
                d={isLarge ? "M260 160.24V240.24H80V260.24L100 320.24H220V359.94A720 720 0 0 1 200 360.24C128.14 360.24 93.36 350.48 93.36 350.48C79.96 346.7200000000001 64.88 333.2 59.88 320.42L59.8 320.24H60L40 260.24H20A20 20 0 1 1 20 220.24H26.66L21.06 203.44L20 200.24V50.24A30 30 0 1 1 80 50.24V60.24H320V50.24A30 30 0 1 1 380 50.24V140.24H280A20 20 0 0 0 260 160.24M90 140.24A30 30 0 1 0 90 200.24A30 30 0 0 0 90 140.24M396.6 344.36A48 48 0 0 1 384.76 361.42Q376.4600000000001 369.3400000000001 362.96 374.68Q349.4 380 329.14 380Q313.44 380 300.7800000000001 374.94A64 64 0 0 1 279.1 360.88Q270.1200000000001 351.88 265.1400000000001 339.58T259.86 312.52H301.7800000000001Q301.7800000000001 319.9 303.4800000000001 326.32T308.7600000000001 337.52T317.8800000000001 345.18T331.1400000000001 348.04Q342.5400000000001 348.04 348.9400000000001 342.04Q355.3800000000001 336.04 355.3600000000001 323.44Q355.6600000000001 316.0800000000001 352.6600000000001 311.16T344.8200000000001 302.16A180 180 0 0 0 334.2800000000001 293.96A70 70 0 0 1 323.44 284.26Q318.32 278.66 314.4400000000001 270.74Q310.62 262.8 309.7600000000001 251.06V238.78H348.2400000000001V249.16Q349.3600000000001 257.34 353.8 262.82Q358.2 268.28 363.92 272.5A280.0000000000001 280.0000000000001 0 0 0 376.0400000000001 280.98Q382.4400000000001 285.2 387.7200000000001 291.22Q393.0000000000001 297.22 396.5600000000001 305.7Q400.1200000000001 314.16 400.1200000000001 327.28Q400.1200000000001 335.18 396.5600000000001 344.36M305.7600000000001 222.38V180.32H350.5000000000001V222.38z" : "M210.14 125V195C210.14 196.78 210.6 198.42 211.16 200H60.16C56.64 200 58.94 216.48 60.16 220L74.74 252.6C75.94 256.14 76.64 260 80.14 260H170.14V299.8C166.82 299.86 163.74 300 160.14 300C105.74 300 79.42 291.96 79.42 291.96C69.26 288.86 57.84 277.74 54.06 267.2200000000001L38.8 224.88H17.74C8.08 224.88 0.14 216.42 0.14 206.1S8.08 187.32 17.74 187.32H25.26L20.16 180C19.48 166.3 20.16 151.28 20.16 140V40C20.16 26.86 27.84 20 40.16 20S60.16 26.86 60.16 40V60H260.16V40C260.16 26.86 267.82 20 280.16 20S300.16 26.86 300.16 40V110H225.16A15 15 0 0 0 210.16 125M100.16 120H60.16V160H100.16zM306.8 303.48A56 56 0 0 1 288.16 315.44Q276.56 320.24 259.26 320.26Q245.86 320.26 235 315.7Q224.16 311.12 216.48 302.98C208.8 294.84 207.36 291.14 204.52 283.7200000000001A70 70 0 0 1 200.16 260.84V260H235.94C236 264.1600000000001 236.4 268.1 237.32 271.76Q238.8 277.56 241.82 281.88Q244.88 286.2 249.62 288.78Q254.4 291.38 260.96 291.38Q270.72 291.38 276.2 285.94Q281.7000000000001 280.54 281.7000000000001 269.1600000000001Q281.9400000000001 262.5 279.38 258.06A34 34 0 0 0 272.68 249.9A140 140 0 0 0 263.64 242.5Q258.78 238.8 254.38 233.74A52 52 0 0 1 246.7 221.52Q243.4000000000001 214.36 242.7000000000001 203.74V200H275.6V202Q276.56 209.42 280.3400000000001 214.36Q284.12 219.28 289 223.12T299.36 230.78A48 48 0 0 1 316.92 253.12Q319.98 260.78 319.9600000000001 272.62A44.8 44.8 0 0 1 306.8 303.48M240.14 180V140H280.14V180z"}
                fillRule="evenodd"
                transform={`scale(0.05, -0.05) translate(${translation}, ${translation})`}
                style={style}
            />
        </SVGIconContainer>
   );
});
UnknownVehicle.displayName = `Blueprint6.Icon.UnknownVehicle`;
export default UnknownVehicle;
