/*
 * 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.53 5.97a.75.75 0 0 0-1.06 0l-1.5 1.5a.75.75 0 0 0 0 1.061l1.5 1.5a.75.75 0 0 0 1.06-1.061l-.22-.22H13a.75.75 0 0 0 0-1.5h-1.688l.218-.219a.75.75 0 0 0 0-1.061m-6 0a.75.75 0 0 0-1.06 1.06l.22.22H3a.75.75 0 0 0 0 1.5h1.69l-.22.22a.75.75 0 0 0 1.06 1.06l1.5-1.5a.75.75 0 0 0 0-1.06zM2 2a.75.75 0 0 0-.75.75v10.5c0 .414.336.75.75.75h12a.75.75 0 0 0 .75-.75V2.75A.75.75 0 0 0 14 2zm11.25 4.27a1.75 1.75 0 0 1 1.491 1.55l.009.18c0 .881-.652 1.609-1.5 1.73v2.77h-4.5V9.725l-.487-.488-.11-.12a2 2 0 0 1-.089-.118Q8.03 8.949 8 8.896q-.031.053-.064.103a2 2 0 0 1-.199.238l-.487.488V12.5h-4.5V9.73A1.75 1.75 0 0 1 1.25 8l.009-.179A1.75 1.75 0 0 1 2.75 6.27V3.5h4.5v2.775l.487.488c.118.118.202.24.263.342q.036-.06.07-.11c.037-.052.102-.142.193-.232l.487-.488V3.5h4.5z"] as readonly string[];

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