/*
 * Copyright 2026 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 { SvgIconContainerNext } from "../../svgIconContainerNext";

const PATHS = ["M11.5.75A2.25 2.25 0 0 1 13.75 3v8a2.25 2.25 0 0 1-2.25 2.25l.6.8a.75.75 0 0 1-1.2.9l-1.275-1.7h-3.25L5.1 14.95a.75.75 0 0 1-1.2-.9l.6-.8A2.25 2.25 0 0 1 2.25 11V3q0-.039.005-.078A2.247 2.247 0 0 1 4.5.75zM5.5 9a1 1 0 1 0 0 2 1 1 0 0 0 0-2m5 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2M3.75 6.25h3.5v-2.5h-3.5zm5 0h3.5v-2.5h-3.5z"] as readonly string[];

export const TrainFilledIcon: React.FC<SVGIconProps> = React.forwardRef<any, SVGIconProps>((props, ref) => {
    return (
        <SvgIconContainerNext iconName="train-filled" ref={ref} {...props}>
            {PATHS.map((d, i) => (
                <path key={i} d={d} />
            ))}
        </SvgIconContainerNext>
    );
});
TrainFilledIcon.displayName = "Blueprint6.Icon.Next.TrainFilledIcon";
export default TrainFilledIcon;
