"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PhoneSearch = exports.PhoneSearchIcon = 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 0h8c.55 0 1 .45 1 1v.598A5.5 5.5 0 0 0 9.5 1a5.49 5.49 0 0 0-4.246 2H4v9h6v-.023a5.4 5.4 0 0 0 1.705-.447l.295.294V15c0 .55-.45 1-1 1H3c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1m3 14c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1m5.89-3.7a4.5 4.5 0 0 1-2.39.7C7.01 11 5 8.99 5 6.5A4.49 4.49 0 0 1 6.668 3C7.44 2.374 8.425 2 9.5 2A4.49 4.49 0 0 1 14 6.5c0 .88-.26 1.69-.7 2.39l2.41 2.4A1.003 1.003 0 0 1 15 13c-.28 0-.53-.11-.7-.29zM12 6.5a2.5 2.5 0 1 0-5.002 0A2.5 2.5 0 0 0 12 6.5"];
/** Path data for the 20px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */
const PATHS_20 = ["M14 0H4c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h10c.55 0 1-.45 1-1v-4.342A6 6 0 0 1 13 15v1H5V3h8c.701 0 1.375.12 2 .341V1c0-.55-.45-1-1-1M9 19c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m4-15c.711 0 1.387.148 2 .416A4.99 4.99 0 0 1 18 9a5 5 0 0 1-.828 2.757l2.534 2.534a1 1 0 1 1-1.415 1.415l-2.534-2.534A5 5 0 0 1 13 14a5 5 0 0 1-5-5c.021-2.724 2.259-5 5-5m0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6"];
exports.PhoneSearchIcon = 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: "phone-search", ref: ref, ...props, children: paths.map((d, i) => ((0, jsx_runtime_1.jsx)("path", { d: d, fillRule: "evenodd" }, i))) }));
});
exports.PhoneSearchIcon.displayName = `Blueprint6.Icon.PhoneSearchIcon`;
/**
 * @deprecated Use {@link PhoneSearchIcon} instead.
 */
exports.PhoneSearch = exports.PhoneSearchIcon;
exports.default = exports.PhoneSearchIcon;
//# sourceMappingURL=phone-search.js.map