/*
 * 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 = ["M1.25 5V3.25A1.25 1.25 0 0 1 2.5 2h3.275v.001q.2 0 .39.06l.123.048.118.06q.172.102.306.25l-.001.002 1.85 2.081a.75.75 0 1 1-1.122.996L5.664 3.5H2.75V5a.75.75 0 0 1-1.5 0m12.25-.75a1.25 1.25 0 0 1 1.25 1.25v7.056a1.195 1.195 0 0 1-1.194 1.194h-6.62c.197-.283.314-.627.314-.998v-.502h6v-6.5H2.75V8H2.5c-.49 0-.933.202-1.25.526V5A.75.75 0 0 1 2 4.25zM5 12.501c0 .414.336.75.75.75a.74.74 0 0 0 .388-.112.75.75 0 0 1-.638.362l-.077-.004A.74.74 0 0 1 5 13.306zm-2.89-3.39a.745.745 0 0 0 .084.889h-.398a.8.8 0 0 1-.046-.249.75.75 0 0 1 .36-.64m4.14 3.639a.75.75 0 0 1-1.5 0v-1.189l-2.47 2.47a.75.75 0 1 1-1.06-1.06l2.47-2.47H2.5a.75.75 0 0 1 0-1.5h3a.75.75 0 0 1 .75.75z"] as readonly string[];

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