/*
 * 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.25 1.25c.199 0 .39.08.53.22l3.5 3.5c.14.14.22.331.22.53v2.269a3 3 0 0 0-1.5-.724V6.5H9a.75.75 0 0 1-.75-.75v-3H4v10.5h3.5V14c0 .269.063.522.17.75H3.75A1.25 1.25 0 0 1 2.5 13.5v-11a1.25 1.25 0 0 1 1.25-1.25zM11.5 8a2 2 0 0 1 2 2v.5h.25a.75.75 0 0 1 .75.75V14a.75.75 0 0 1-.75.75h-4.5A.75.75 0 0 1 8.5 14v-2.75a.75.75 0 0 1 .75-.75h.25V10a2 2 0 0 1 2-2M10 13.25h3V12h-3zm1.5-3.75a.5.5 0 0 0-.5.5v.5h1V10a.5.5 0 0 0-.5-.5M9.75 5h1.44L9.75 3.56z"] as readonly string[];

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