/*
 * 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 1a1.25 1.25 0 0 1 1.25 1.25v2.833c0 .27-.088.534-.25.75l-1.25 1.666v6.251A1.25 1.25 0 0 1 10 15H6a1.25 1.25 0 0 1-1.25-1.25V7.499L3.5 5.833a1.25 1.25 0 0 1-.25-.75V2.25A1.25 1.25 0 0 1 4.5 1zM4.75 4.75V5L6 6.667c.162.216.25.48.25.75V13.5h3.5V7.417c0-.27.088-.534.25-.75L11.25 5v-.25zM8 7a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2A.75.75 0 0 1 8 7M4.75 3.25h6.5V2.5h-6.5z"] as readonly string[];

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