/*
 * 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 = ["M11.25 2.25a2.5 2.5 0 0 1 0 5h-1v1.5h1a2.5 2.5 0 1 1-2.5 2.5v-1h-1.5v1a2.5 2.5 0 1 1-2.5-2.5h1v-1.5h-1a2.5 2.5 0 1 1 2.5-2.5v1h1.5v-1a2.5 2.5 0 0 1 2.5-2.5m-6.5 8a1 1 0 1 0 1 1v-1zm5.5 1a1 1 0 1 0 1-1h-1zm-3-2.5h1.5v-1.5h-1.5zm-2.5-5a1 1 0 0 0 0 2h1v-1a1 1 0 0 0-1-1m6.5 0a1 1 0 0 0-1 1v1h1a1 1 0 0 0 0-2"] as readonly string[];

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