/*
 * 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 = ["M3.25 1.5a2.5 2.5 0 0 1 2.396 1.788c.798.092 1.402.36 1.857.796.534.512.772 1.181.95 1.652.197.529.334.86.581 1.098.2.192.556.39 1.332.411a2.5 2.5 0 1 1 0 1.509c-.776.02-1.132.22-1.332.412-.247.237-.384.57-.582 1.098-.177.471-.415 1.14-.95 1.652-.454.436-1.058.703-1.856.795a2.5 2.5 0 1 1-.028-1.508c.451-.073.694-.223.847-.369.247-.237.384-.57.582-1.098.177-.47.415-1.14.95-1.652q.045-.043.093-.084-.049-.041-.094-.084c-.534-.512-.772-1.181-.95-1.652-.197-.529-.334-.86-.581-1.098-.153-.146-.396-.297-.847-.37A2.499 2.499 0 1 1 3.25 1.5m0 9.5a1 1 0 1 0 0 2 1 1 0 0 0 0-2m9.5-4a1 1 0 0 0-.992.879v.241A1 1 0 1 0 12.75 7m-9.5-4a1 1 0 1 0 0 2 1 1 0 0 0 0-2"] as readonly string[];

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