/*
 * 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 = ["M14.75 2.863a.75.75 0 0 1 .75.75v8.75a.75.75 0 0 1-.75.75H1.25a.75.75 0 0 1-.75-.75v-8.75a.75.75 0 0 1 .75-.75zM2 4.363v7.25h12v-7.25zM6.658 5.79A.75.75 0 0 1 8 6.25v3.5a.75.75 0 0 1-1.5 0V8.436l-.408.525a.75.75 0 0 1-1.184 0L4.5 8.436V9.75a.75.75 0 0 1-1.5 0v-3.5a.75.75 0 0 1 1.342-.46L5.5 7.276zM11 5.5a.75.75 0 0 1 .75.75v1.69l.22-.22a.75.75 0 1 1 1.06 1.06l-1.5 1.5a.7.7 0 0 1-.16.118q-.041.025-.084.044-.048.02-.098.03l-.04.012-.016.003a.8.8 0 0 1-.265 0l-.016-.003-.04-.011q-.05-.012-.098-.03-.044-.02-.083-.045a.8.8 0 0 1-.16-.118l-1.5-1.5a.75.75 0 1 1 1.06-1.06l.22.22V6.25A.75.75 0 0 1 11 5.5"] as readonly string[];

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