@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 9.23 kB
JavaScript
/*
* 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.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Virus = void 0;
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var iconTypes_1 = require("../../iconTypes");
var svgIconContainer_1 = require("../../svgIconContainer");
exports.Virus = React.forwardRef(function (props, ref) {
var isLarge = props.size >= iconTypes_1.IconSize.LARGE;
var pixelGridSize = isLarge ? iconTypes_1.IconSize.LARGE : iconTypes_1.IconSize.STANDARD;
var translation = "".concat(-1 * pixelGridSize / 0.05 / 2);
var style = { transformOrigin: "center" };
return (React.createElement(svgIconContainer_1.SVGIconContainer, tslib_1.__assign({ iconName: "virus", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M304.9762820000001 123.303888L330 98.28L337.071068 105.35534L338.815484 106.909466C346.665838 113.125976 358.102746 112.607934 365.35534 105.35534C373.1658240000001 97.544854 373.1658240000001 84.8815539999999 365.35534 77.071068L365.35534 77.071068L322.9289320000001 34.64466L321.1845160000001 33.0905340000001C313.334162 26.874024 301.897254 27.392066 294.6446600000001 34.64466C286.834176 42.455146 286.834176 55.1184460000001 294.6446600000001 62.928932L294.6446600000001 62.928932L301.7200000000001 70L276.696112 95.023718C260.294058 83.0199060000001 240.973744 74.767236 219.998142 71.528676L219.98 40L230 40C241.045694 40 250 31.045694 250 20C250 9.743284 242.279196 1.289856 232.332422 0.134554L230 0L170 0C158.954305 0 150 8.954306 150 20C150 30.256716 157.7208038 38.710144 167.6675774 39.865446L170 40L179.98 40L179.9818216 71.5317720000001C161.4829752 74.390888 144.2720324 81.149992 129.2154538 90.942622L108.28 70L115.355339 62.928932C123.1658248 55.1184460000001 123.1658248 42.455146 115.355339 34.64466C108.102745 27.392066 96.6658372 26.874024 88.815484 33.0905340000001L87.0710678 34.64466L44.644661 77.071068C36.8341752 84.8815539999999 36.8341752 97.544854 44.644661 105.35534C51.897255 112.607934 63.3341628 113.125976 71.184516 106.909466L72.9289322 105.35534L80 98.28L99.390705 117.666652C85.2620986 134.911054 75.4796908 155.853652 71.7165052 178.821418L71.2132034 178.786796L40 178.8L40 170C40 158.954306 31.045695 150 20 150C9.74328322 150 1.289856786 157.720804 0.1345546266 167.667578L0 170L0 230C0 241.045695 8.954305 250 20 250C30.2567168 250 38.7101432 242.2791962 39.8654454 232.3324226L40 230L40 218.8L71.3485546 218.7940984C74.8098338 242.6968118 84.7746296 264.493974 99.390705 282.333348L79.98 301.7200000000001L72.9289322 294.644661L71.184516 293.0905336C63.3341628 286.8740246 51.897255 287.392067 44.644661 294.644661C36.8341752 302.4551468 36.8341752 315.1184464 44.644661 322.9289322L44.644661 322.9289322L87.0710678 365.355339L88.815484 366.9094664C96.6658372 373.1259754 108.102745 372.607933 115.355339 365.355339C123.1658248 357.5448532 123.1658248 344.8815536 115.355339 337.0710678L115.355339 337.0710678L108.28 330.02L129.2154538 309.057377C144.2774684 318.8535432 161.495403 325.6139918 180.0018584 328.4713234L180 360L170 360C158.954305 360 150 368.954305 150 380C150 390.25671678 157.7208038 398.71014322 167.6675774 399.86544538L170 400L230 400C241.045694 400 250 391.045695 250 380C250 369.7432832 242.279196 361.2898568 232.332422 360.1345546L230 360L220 360L220.018178 328.4682282C241.011694 325.2235442 260.346522 316.9560794 276.756266 304.9322316L277.573594 305.8578644L301.7000000000001 330.02L294.6446600000001 337.0710678C286.834176 344.8815536 286.834176 357.5448532 294.6446600000001 365.355339C301.897254 372.607933 313.334162 373.1259754 321.1845160000001 366.9094664L322.9289320000001 365.355339L365.35534 322.9289322C373.1658240000001 315.1184464 373.1658240000001 302.4551468 365.35534 294.644661C358.102746 287.392067 346.665838 286.8740246 338.815484 293.0905336L337.071068 294.644661L330 301.7200000000001L305.857864 277.5735932L304.932232 276.7562662000001C316.558258 260.8894562000001 324.6723560000001 242.2879178 328.1297180000001 222.096462L360 222.1L360 230C360 241.045695 368.954306 250 380 250C390.2567160000001 250 398.710144 242.2791962 399.865446 232.3324226L400 230L400 170C400 158.954306 391.0456940000001 150 380 150C369.743284 150 361.289856 157.720804 360.134554 167.667578L360 170L360 182.1L328.775936 182.086862C325.774142 160.306452 317.3768 140.248004 304.9762820000001 123.303888zM250 180C233.431458 180 220 166.568542 220 150C220 133.431458 233.431458 120 250 120C266.5685420000001 120 280 133.431458 280 150C280 166.568542 266.5685420000001 180 250 180zM160 280C137.90861 280 120 262.09139 120 240C120 217.90861 137.90861 200 160 200C182.09139 200 200 217.90861 200 240C200 262.09139 182.09139 280 160 280z" : "M238.350376 97.85497L253.1 83.12L254.142136 84.142136C261.952622 91.952622 274.615922 91.952622 282.4264060000001 84.142136C289.679 76.889542 290.197044 65.452634 283.980534 57.60228L282.4264060000001 55.857864L254.142136 27.573594C246.33165 19.763108 233.66835 19.763108 225.857864 27.573594C218.60527 34.826188 218.087228 46.263094 224.303738 54.113448L224.88 54.78L207.616212 72.042466C199.0906292 67.41735 189.817174 63.995628 180.023728 62.005182L180 40L182.3324226 39.865446C192.2791962 38.710144 200 30.256716 200 20C200 8.954306 191.045695 0 180 0L180 0L140 0L137.6675774 0.134554C127.7208038 1.289856 120 9.743284 120 20C120 31.045694 128.954305 40 140 40L140 40L139.9962406 62.001126C129.6855528 64.094498 119.9509784 67.774268 111.0583878 72.774562L94.1421356 55.857864L95.696263 54.113448C101.912772 46.263094 101.3947296 34.826188 94.1421356 27.573594C86.3316498 19.763108 73.6683502 19.763108 65.8578644 27.573594L65.8578644 27.573594L37.5735932 55.857864L36.0194658 57.60228C29.8029568 65.452634 30.3209992 76.889542 37.5735932 84.142136C45.384079 91.952622 58.0473786 91.952622 65.8578644 84.142136L65.8578644 84.142136L65.86 84.14L80.7415442 99.015694C73.6590046 108.206894 68.1394876 118.664566 64.5809152 129.990792L40 130C40 118.954306 31.045695 110 20 110C9.74328322 110 1.289856786 117.720804 0.1345546266 127.667578L0 130L0 170C0 181.045695 8.954305 190 20 190C30.2567168 190 38.7101432 182.2791962 39.8654454 172.3324226L40 170L60.4931566 169.9939968C62.2625104 187.8256658 68.7159708 204.279557 78.605736 218.1078688L68.36 228.36L65.8578644 225.8578644C58.0473786 218.0473786 45.384079 218.0473786 37.5735932 225.8578644C30.3209992 233.1104584 29.8029568 244.5473662 36.0194658 252.3977194L37.5735932 254.1421356L65.8578644 282.4264068C73.6683502 290.2368928 86.3316498 290.2368928 94.1421356 282.4264068C101.0955302 275.4730124 101.8585678 264.673423 96.4312482 256.8758966000001L107.8992848 245.3720464C117.6213712 251.3179166 128.437926 255.649733 139.976272 257.9948182L139.98 280L137.6675774 280.1345546C127.7208038 281.2898568 120 289.7432832 120 300C120 310.25671678 127.7208038 318.71014322 137.6675774 319.86544538L140 320L180 320C191.045695 320 200 311.045695 200 300C200 289.7432832 192.2791962 281.2898568 182.3324226 280.1345546L180 280L180.023728 257.9948182C192.7908976 255.3999834 204.674348 250.372714 215.169204 243.417887L225.86 254.14L225.857864 254.1421356L224.303738 255.8865518C218.087228 263.736905 218.60527 275.1738128 225.857864 282.4264068C233.66835 290.2368928 246.33165 290.2368928 254.142136 282.4264068L254.142136 282.4264068L282.4264060000001 254.1421356L283.980534 252.3977194C290.197044 244.5473662 289.679 233.1104584 282.4264060000001 225.8578644C274.615922 218.0473786 261.952622 218.0473786 254.142136 225.8578644L254.142136 225.8578644L243.431302 215.1489562C252.169396 201.9561992 257.862042 186.5704126 259.506844 169.9939968L280 170L280.1345540000001 172.3324226C281.289856 182.2791962 289.743284 190 300 190C311.045694 190 320 181.045695 320 170L320 170L320 130L319.865446 127.667578C318.710144 117.720804 310.256716 110 300 110C288.9543060000001 110 280 118.954306 280 130L280 130L255.419084 129.990792C251.70983 118.184972 245.870046 107.322818 238.350376 97.85497zM200 140C188.954305 140 180 131.045695 180 120C180 108.954306 188.954305 100 200 100C211.045694 100 220 108.954306 220 120C220 131.045695 211.045694 140 200 140zM130 220C113.4314576 220 100 206.5685424 100 190C100 173.4314576 113.4314576 160 130 160C146.5685424 160 160 173.4314576 160 190C160 206.5685424 146.5685424 220 130 220z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
exports.Virus.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.Virus.displayName = "Blueprint5.Icon.Virus";
exports.default = exports.Virus;
//# sourceMappingURL=virus.js.map
;