"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Tractor = exports.TractorIcon = 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 = ["M3.5 9a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7m9.5 1a3 3 0 1 1 0 6 3 3 0 0 1 0-6m-9.5 1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m9.5 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2M5 0c1.46 0 2.527.668 3 2l.815 3.255a79 79 0 0 1 2.186.195L11 2h2l.001 3.688q1.048.142 2.013.312c.623.11.986.479.986 1v3.354a4.001 4.001 0 0 0-6.873 1.645H7.999l-.026-.002A4.5 4.5 0 0 0 .659 9.01l-.654.001v-.829C.003 7.386.002 6.423 0 6.022 0 5.5.376 4.99 1 4.99V1a1 1 0 0 1 1-1zm1 2H3v2.99c1.29.024 2.554.069 3.781.135z"];
/** Path data for the 20px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */
const PATHS_20 = ["M4.5 11a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m11.499 1a4 4 0 1 1 0 8 4 4 0 0 1 0-8m-11.5 1.571a1.928 1.928 0 1 0 0 3.857 1.928 1.928 0 0 0 0-3.857M16 14.667a1.333 1.333 0 1 0 0 2.666 1.333 1.333 0 0 0 0-2.666M5.999 0C7.46 0 8.527.668 9 2l.851 4.256c1.433.096 2.82.217 4.147.362V2h2L16 6.862q1.444.195 2.767.435c.779.141 1.232.614 1.232 1.284L20 13a5 5 0 0 0-4-1.997A5 5 0 0 0 11.099 15h-1.12a5.5 5.5 0 0 0-5.478-4.994 5.48 5.48 0 0 0-3.377 1.157H.004v-1.18L0 7.327c-.002-.597.37-1.18.999-1.302V1a1 1 0 0 1 1-1zm1 2H3v4h.75c1.386.027 2.749.073 4.079.139z"];
exports.TractorIcon = 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: "tractor", ref: ref, ...props, children: paths.map((d, i) => ((0, jsx_runtime_1.jsx)("path", { d: d, fillRule: "evenodd" }, i))) }));
});
exports.TractorIcon.displayName = `Blueprint6.Icon.TractorIcon`;
/**
 * @deprecated Use {@link TractorIcon} instead.
 */
exports.Tractor = exports.TractorIcon;
exports.default = exports.TractorIcon;
//# sourceMappingURL=tractor.js.map