/*
 * 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 3.5a1 1 0 1 0-2 0 1 1 0 0 0 2 0m1.5 0a2.5 2.5 0 0 1-1.75 2.385v.865h1.5a.75.75 0 0 1 0 1.5h-1.5v5.191c2.002-.318 3.513-1.904 3.901-4.072l-.887.333a.75.75 0 0 1-.528-1.404l2-.75a.75.75 0 0 1 1.014.702C14.25 11.94 11.688 15 8 15s-6.25-3.06-6.25-6.75a.75.75 0 0 1 1.014-.702l2 .75a.75.75 0 0 1-.528 1.404l-.888-.333c.388 2.168 1.9 3.754 3.902 4.072V8.25h-1.5a.75.75 0 0 1 0-1.5h1.5v-.865A2.5 2.5 0 1 1 10.5 3.5"] as readonly string[];

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