/*
 * 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 = ["M8.643 2.298a3.579 3.579 0 0 1 5.06 5.06L7.36 13.702a3.58 3.58 0 0 1-5.06 0h-.001a3.58 3.58 0 0 1 0-5.06zM3.358 9.702a2.079 2.079 0 0 0 2.94 2.94L8.94 10 6 7.06zm9.285-6.343a2.08 2.08 0 0 0-2.94 0L7.06 5.998 10 8.94l2.643-2.641c.81-.812.81-2.127 0-2.939M10.97 4.72a.75.75 0 1 1 1.06 1.061l-1.5 1.5a.75.75 0 0 1-1.06-1.06z"] as readonly string[];

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