/*
 * 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.336 1.26q.629.034 1.22.186a.75.75 0 0 1-.372 1.453 4.75 4.75 0 1 0 3.546 4.165.75.75 0 0 1 1.494-.136q.04.447.017.908a6.22 6.22 0 0 1-1.403 3.619A1 1 0 0 1 13 12c0 1.135-.895 1.893-1.725 2.308-.89.445-2.05.692-3.275.692s-2.386-.247-3.276-.692C3.894 13.893 3 13.135 3 12c0-.2.06-.388.16-.544A6.25 6.25 0 0 1 8.336 1.26M8 6a.18.18 0 0 1 .169.117l.46 1.253 1.109.407.144.054A.18.18 0 0 1 10 8a.2.2 0 0 1-.033.102l-.038.04a.2.2 0 0 1-.047.027l-1.252.46-.461 1.253-.027.047a.2.2 0 0 1-.04.038l-.049.025a.2.2 0 0 1-.107 0l-.049-.025a.2.2 0 0 1-.04-.038l-.026-.047L7.37 8.63l-1.252-.461a.18.18 0 0 1-.086-.271.2.2 0 0 1 .086-.067L7.37 7.37l.46-1.253A.18.18 0 0 1 8 6m3.75-4.75a.27.27 0 0 1 .253.176l.692 1.878 1.878.693a.27.27 0 0 1 .128.407.27.27 0 0 1-.128.099l-1.878.692-.692 1.878a.27.27 0 0 1-.334.164l-.074-.036a.3.3 0 0 1-.06-.056l-.038-.072-.693-1.878-1.878-.692a.3.3 0 0 1-.07-.04l-.058-.06a.27.27 0 0 1 0-.308.27.27 0 0 1 .128-.098l1.878-.693.693-1.878a.27.27 0 0 1 .253-.176"] as readonly string[];

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