/*
 * 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 = ["M9.25 1.25c.199 0 .39.08.53.22l1.132 1.132a1.75 1.75 0 0 0-1.06 1.061L9.5 3.311V5.25h.567c.13.186.295.346.487.47l-1.03 1.03H8.75A.75.75 0 0 1 8 6V2.75H4v10.5h8V9.223l1.028-1.029c.124.192.285.357.472.488V13.5a1.25 1.25 0 0 1-1.25 1.25h-8.5A1.25 1.25 0 0 1 2.5 13.5v-11a1.25 1.25 0 0 1 1.25-1.25zm5.25 2.249a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-1.5 0v-1.19l-2.47 2.47a.75.75 0 0 1-1.06-1.06l2.47-2.47H11.5a.75.75 0 0 1 0-1.5z"] as readonly string[];

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