/*
 * 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 = ["M2 9.5a.75.75 0 0 1 .75.75V12H4.5a.75.75 0 0 1 0 1.5H2a.75.75 0 0 1-.75-.75v-2.5A.75.75 0 0 1 2 9.5m12 0a.75.75 0 0 1 .75.75v2.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-1.75A.75.75 0 0 1 14 9.5M5.25 5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 5.25 5M8 5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 8 5m2.75 0a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5a.75.75 0 0 1 .75-.75M4.5 2.5a.75.75 0 0 1 0 1.5H2.75v1.75a.75.75 0 0 1-1.5 0v-2.5A.75.75 0 0 1 2 2.5zm9.5 0a.75.75 0 0 1 .75.75v2.5a.75.75 0 0 1-1.5 0V4H11.5a.75.75 0 0 1 0-1.5z"] as readonly string[];

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