"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CubeCutouts = exports.CubeCutoutsIcon = void 0;
const tslib_1 = require("tslib");
const jsx_runtime_1 = require("react/jsx-runtime");
/*
 * Copyright 2024 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.
 */
const React = tslib_1.__importStar(require("react"));
const iconTypes_1 = require("../../iconTypes");
const svgIconContainer_1 = require("../../svgIconContainer");
/** Path data for the 16px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */
const PATHS_16 = ["M15 3a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm-3.34 5.604c-.489.29-.966.57-1.32.779l-.34.2v4.424l3.098-1.403c.312-.142.517-.486.517-.867v-4.29c-.415.246-1.202.713-1.955 1.157m-6.275 3.189c0 .353.176.676.455.834L9 13.974V9.582L5.385 7.446zM9.83 5.099a.74.74 0 0 0-.674-.033L5.902 6.541l-.043.023L9.5 8.717l.332-.196 1.32-.778c.817-.482 1.662-.983 2.037-1.207l-.029-.018zM12 0a1 1 0 0 1 1 1v1H3a1 1 0 0 0-1 1v10H1a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1z"];
/** Path data for the 20px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */
const PATHS_20 = ["M19 4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm-4.43 6.731-1.604.947-.466.273v5.485l3.871-1.753c.38-.172.629-.589.629-1.052V9.3l-.001-.009c-.487.29-1.48.88-2.429 1.44M7 9.368v5.33c0 .429.214.821.553 1.013l3.947 1.682V11.95L7.005 9.295Q7 9.332 7 9.368m5.401-2.805a.9.9 0 0 0-.818-.038L7.629 8.317a1 1 0 0 0-.157.091L12 11.086l.458-.27 1.604-.946a646 646 0 0 0 2.516-1.491 1 1 0 0 0-.13-.09zM0 1a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v2H4a1 1 0 0 0-1 1v14H1a1 1 0 0 1-1-1z"];
exports.CubeCutoutsIcon = React.forwardRef((props, ref) => {
    const isLarge = (props.size ?? iconTypes_1.IconSize.STANDARD) >= iconTypes_1.IconSize.LARGE;
    const paths = isLarge ? PATHS_20 : PATHS_16;
    return ((0, jsx_runtime_1.jsx)(svgIconContainer_1.SVGIconContainer, { iconName: "cube-cutouts", ref: ref, ...props, children: paths.map((d, i) => ((0, jsx_runtime_1.jsx)("path", { d: d, fillRule: "evenodd" }, i))) }));
});
exports.CubeCutoutsIcon.displayName = `Blueprint6.Icon.CubeCutoutsIcon`;
/**
 * @deprecated Use {@link CubeCutoutsIcon} instead.
 */
exports.CubeCutouts = exports.CubeCutoutsIcon;
exports.default = exports.CubeCutoutsIcon;
//# sourceMappingURL=cube-cutouts.js.map