/*
 * 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 = ["m15.57 6.511-2.85-4.068A1.25 1.25 0 0 0 11.766 2H1.5A1.25 1.25 0 0 0 .25 3.25v8A1.25 1.25 0 0 0 1.5 12.5h.379a2.25 2.25 0 0 0 4.242 0H9.38a2.25 2.25 0 0 0 4.242 0h.879a1.25 1.25 0 0 0 1.25-1.25V7a.75.75 0 0 0-.18-.489m-2.202-.261H10.75V3.5h.901zm-7.118 0V3.5h3v2.75zM4.75 3.5v2.75h-3V3.5zm-.75 9A.75.75 0 1 1 4 11a.75.75 0 0 1 0 1.5m7.5 0a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5m2.121-1.5a2.251 2.251 0 0 0-4.242 0H6.12a2.25 2.25 0 0 0-4.242 0H1.75V7.75h12.5V11z"] as readonly string[];

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