/*
 * 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 .75c.21 0 .417.053.6.153l5.5 3.012c.147.08.276.19.38.32l.094.138.025.048.015.025.034.07.002.005c.066.154.1.32.1.488v5.978a1.25 1.25 0 0 1-.65 1.097l-5.5 3.012a1.25 1.25 0 0 1-1.2 0l-5.5-3.012v-.001a1.25 1.25 0 0 1-.65-1.093V5.01l.012-.167a1.2 1.2 0 0 1 .124-.396l.01-.017q.014-.029.03-.056l.095-.138c.103-.13.231-.24.378-.32l2.84-1.556.022-.011L7.4.903c.183-.1.39-.153.6-.153M2.75 10.839l4.5 2.463V8.51l-4.5-2.463zm9-3.97v2.63a.75.75 0 0 1-1.5 0v-1.81l-1.5.822v4.79l4.5-2.462V6.048zM3.5 4.748 8 7.211l1.598-.876-4.501-2.463zm3.16-1.731 4.5 2.463 1.34-.733L8 2.284z"] as readonly string[];

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