/*
 * 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 = ["M2.5 10.25a.75.75 0 0 1 .75.75v1.75H5a.75.75 0 0 1 0 1.5H2.5a.75.75 0 0 1-.75-.75V11a.75.75 0 0 1 .75-.75m11 0a.75.75 0 0 1 .75.75v2.5a.75.75 0 0 1-.75.75H11a.75.75 0 0 1 0-1.5h1.75V11a.75.75 0 0 1 .75-.75m-5.03.22a.75.75 0 0 1 1.061 1.06l-1 1.001a.75.75 0 0 1-1.061 0l-1.001-1a.75.75 0 0 1 1.061-1.06l.47.47zm-4-4a.75.75 0 0 1 1.06 1.06L5.06 8l.47.469A.75.75 0 0 1 4.47 9.53l-1-1a.75.75 0 0 1 0-1.061zm5.999 0a.75.75 0 0 1 1.06-.001l1.001 1a.75.75 0 0 1 0 1.061l-1 1.001a.75.75 0 0 1-1.06-1.061l.47-.47-.47-.47a.75.75 0 0 1-.001-1.06M5 1.75a.75.75 0 0 1 0 1.5H3.25V5a.75.75 0 0 1-1.5 0V2.5a.75.75 0 0 1 .75-.75zm3 1.5c.199 0 .39.08.53.22l1.001 1A.75.75 0 0 1 8.47 5.53L8 5.06l-.47.47a.75.75 0 0 1-1.06-1.06l1-1A.75.75 0 0 1 8 3.25m5.5-1.5a.75.75 0 0 1 .75.75V5a.75.75 0 0 1-1.5 0V3.25H11a.75.75 0 0 1 0-1.5z"] as readonly string[];

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