/*
 * 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.047 1.25a2.42 2.42 0 0 1 1.736.758c.454.475.704 1.112.708 1.77a2.6 2.6 0 0 1-.687 1.777l-.017.017-5.85 5.902a.75.75 0 0 1-1.066-1.057l5.839-5.89c.178-.193.283-.458.281-.74a1.1 1.1 0 0 0-.294-.744.92.92 0 0 0-.66-.293.92.92 0 0 0-.664.284l-5.99 6.258a2.4 2.4 0 0 0-.633 1.646c.002.623.24 1.213.651 1.644.41.43.958.665 1.522.668a2.1 2.1 0 0 0 1.526-.654l5.009-5.242a.75.75 0 0 1 1.084 1.038L8.53 13.636l-.004.004a3.6 3.6 0 0 1-2.609 1.11 3.62 3.62 0 0 1-2.6-1.132 3.9 3.9 0 0 1-1.067-2.675A3.9 3.9 0 0 1 3.295 8.26l.005-.006L9.295 1.99l.006-.007a2.42 2.42 0 0 1 1.746-.734"] as readonly string[];

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