/*
 * 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 = ["M9.441 1.752c.795-.682 2.059-.124 2.059.954v9.586c0 1.114-1.346 1.671-2.134.884L6.44 10.25H5.25V14a.75.75 0 0 1-1.5 0v-3.75h-2A.75.75 0 0 1 1 9.5v-4a.75.75 0 0 1 .75-.75h4.69l2.926-2.926zM7.281 6.03a.75.75 0 0 1-.531.22H2.5v2.5h4.25c.199 0 .39.078.53.219l2.72 2.72v-8.38zm5.02-.802a.75.75 0 0 1 .97-.428L13 5.5c.245-.631.27-.693.273-.699l.002.001.005.001.01.005.025.01.065.03a2.4 2.4 0 0 1 .704.566c.373.443.684 1.122.665 2.1-.018.962-.324 1.626-.68 2.06a2.4 2.4 0 0 1-.494.457 2 2 0 0 1-.27.154l-.015.006h-.002l-.002.002a.75.75 0 0 1-.596-1.377l.039-.023a1 1 0 0 0 .18-.17c.135-.165.328-.502.34-1.138.012-.621-.177-.944-.31-1.102a1 1 0 0 0-.188-.168q-.034-.021-.043-.024-.003-.002.001 0l.007.003.009.003h.004a.75.75 0 0 1-.428-.97"] as readonly string[];

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