/*
 * 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.153l1.664.91L9.159 2.92 8 2.285 3.499 4.75l2.977 1.629-.297 1.547L2.75 6.049v4.79l4.5 2.464v-3.298c.3.115.63.152.955.09v-.001l.545-.105v3.314l4.5-2.464V7.172l1.5-1.5v5.318a1.25 1.25 0 0 1-.65 1.093l-5.5 3.012a1.25 1.25 0 0 1-.5.147.8.8 0 0 1-.2 0 1.25 1.25 0 0 1-.5-.146v-.001l-5.5-3.011v-.001a1.25 1.25 0 0 1-.65-1.093V5.01l.012-.167a1.3 1.3 0 0 1 .076-.286l.015-.04.033-.07.015-.025.025-.048.095-.138c.103-.13.231-.24.378-.32L7.4.904c.184-.1.39-.153.6-.153m5.925-.376a1.95 1.95 0 0 1 1.379 3.33l-4.8 4.797a.75.75 0 0 1-.388.207l-2.1.402a.75.75 0 0 1-.877-.878l.402-2.1.03-.108a.75.75 0 0 1 .177-.28L12.546.946a1.95 1.95 0 0 1 1.379-.571m0 1.5a.45.45 0 0 0-.319.132L8.971 6.643l-.152.787.787-.152 4.637-4.634a.45.45 0 0 0-.318-.769"] as readonly string[];

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