/*
 * 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.894 5.486a.75.75 0 0 0 .592-.593.75.75 0 0 0-.206-.673L9.06 3l1.22-1.22.052-.056q.03-.04.056-.083A.75.75 0 0 0 10.28.72l-.056-.052c-.027-.022-.056-.038-.084-.056a.75.75 0 0 0-.763-.01.8.8 0 0 0-.157.118L8 1.94 6.78.72 6.724.668C6.697.646 6.668.63 6.64.612a.75.75 0 0 0-.763-.01.75.75 0 0 0-.253.235.75.75 0 0 0 .096.943L6.94 3 5.72 4.22a1 1 0 0 0-.096.117.75.75 0 0 0 1.156.943L8 4.06l1.22 1.22.056.052a.75.75 0 0 0 .618.154M14 14.25a.75.75 0 0 0 .75-.75V3a.75.75 0 0 0-.75-.75h-2.815a2 2 0 0 1-.198.237L10.475 3l.512.513q.112.112.198.237h2.065V7.5H2.75V3.75h2.065q.088-.125.198-.237L5.525 3l-.512-.513a2 2 0 0 1-.198-.237H2a.75.75 0 0 0-.75.75v10.5a.75.75 0 0 0 .75.75zM2.75 9h10.5v3.75H2.75z"] as readonly string[];

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