/*
 * 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 = ["M7.306 6.267a.75.75 0 0 1-.922.11l-.008-.004-.054-.03a4 4 0 0 0-1.041-.367c-.584-.114-1.261-.096-1.897.311l3.16 3.16.005.004.003.004 3.13 3.129a3.7 3.7 0 0 0 .242-1.096c.05-.655-.041-1.352-.322-1.914a.75.75 0 0 1 .14-.865l3.404-3.416-2.437-2.44zm-.922.11v.002zm8.366-1.084c0 .331-.131.65-.365.884l-.001-.001-3.23 3.24a5.5 5.5 0 0 1 .266 2.186c-.063.822-.297 1.64-.68 2.15l-.003.004a1.25 1.25 0 0 1-1.875.13L6.02 11.042 3.53 13.53a.75.75 0 1 1-1.06-1.06l2.487-2.49-2.84-2.84a1.25 1.25 0 0 1-.228-1.456l.066-.114q.108-.165.264-.29c1.154-.929 2.426-.957 3.351-.775.421.082.782.21 1.051.323l3.203-3.21.001-.002a1.25 1.25 0 0 1 1.676-.083l.092.083 2.792 2.793c.234.234.365.553.365.884"] as readonly string[];

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