/*
 * 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 .751c.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.98a1.25 1.25 0 0 1-.65 1.093l-5.5 3.012a1.25 1.25 0 0 1-.503.147A1 1 0 0 1 8 15.25a1 1 0 0 1-.098-.008 1.25 1.25 0 0 1-.502-.146v-.001l-5.5-3.011v-.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-.32L7.4.904c.184-.1.39-.153.6-.153M2.75 10.839l4.5 2.463v-4.79l-4.5-2.463zm6-2.327v4.79l4.5-2.463v-4.79zM3.5 4.749 8 7.213l4.5-2.464L8 2.285z"] as readonly string[];

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