/*
 * 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.
 */

import * as React from "react";
import type { SVGIconProps } from "../../svgIconProps";
import { IconSize } from "../../iconTypes";
import { SVGIconContainer } from "../../svgIconContainer";

export const InboxGeo: React.FC<SVGIconProps> = React.forwardRef<any, SVGIconProps>((props, ref) => {
    const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE;
    const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD;
    const translation = `${-1 * pixelGridSize / 0.05 / 2}`;
    const style = { transformOrigin: "center" };
    return (
        <SVGIconContainer iconName="inbox-geo" ref={ref} {...props}>
            <path
                d={isLarge ? "M148.54 340A150 150 0 0 1 140.32 299.82H93L39.6 179.9H100C111 179.9 120 170.9 120 159.92V139.92H280V140C283.3 139.8 286.64 140 290 140A149.6 149.6 0 0 1 400 188V60C400 49 391 40 380 40H20C9 40 0 49 0 60V189.1L61.6 327.6L61.8 328C64.8 335 71.8 340 80 340zM262.84 351.92A2.66 2.66 0 0 0 258.98 351.92L251.5 359.4A2.66 2.66 0 0 0 251.5 363.26A2.66 2.66 0 0 0 255.36 363.26L262.82 355.78A2.66 2.66 0 0 0 262.82 351.92M297.68 351.26C296.68 351.26 295.92 351.38 295.92 352.36C295.92 353.36 296.68 353.48 297.68 353.48H300.98C301.98 353.48 302.74 353.36 302.74 352.38C302.74 351.38 301.9799999999999 351.26 300.98 351.26zM308.46 338.62C307.4599999999999 338.62 306.38 339.5 306.38 340.5V345.1C306.38 346.1 307.46 346.98 308.46 346.98S310.54 346.1 310.54 345.1V340.5C310.54 339.5 309.44 338.62 308.46 338.62M236.96 292.52H247.08L270.72 268.54C270.84 268.44 270.72 268.44 270.72 268.3400000000001V259.42C270.72 255.68 268.2 252.6 264.34 252.6H262.38V248.08C262.38 244.24 259.62 242.14 255.78 242.14H255.98V226.3C255.98 222.58 252.36 219.6 248.62 219.6S241.24 222.58 241.24 226.3V252.7H236.96C233.1 252.7 230.8 255.68 230.8 259.52V285.6C230.8 289.44 233.1 292.52 236.96 292.52M290 400C350.7200000000001 400 400 350.7200000000001 400 290S350.7200000000001 180 290 180A110 110 0 0 0 180 290C180 350.7200000000001 229.28 400 290 400M290 202C338.62 202 378 241.38 378 290A70 70 0 0 1 376.02 307.28H371.3C367.56 307.28 364.58 309.36 364.3599999999999 313.54H357.98C360.18 311.46 362.6 309.36 362.6 306.62V292.52C362.6 290.76 361.5 289.12 360.4 287.92H359.9600000000001L359.74 287.8L359.3000000000001 287.58L345.9800000000001 274.72V250.52C345.9800000000001 246.66 343.9000000000001 243.92 340.0600000000001 243.92H329.2600000000001C325.4200000000001 243.92 322.8800000000001 246.66 322.8800000000001 250.52V275.56A18.4 18.4 0 0 1 312.2200000000002 285.92H298.8000000000002C294.9600000000002 285.92 291.4400000000001 288.78 291.4400000000001 292.62V306.36C291.4400000000001 310.22 294.9600000000002 313.3 298.8000000000002 313.3L302.6600000000002 313.4L309.0400000000002 319.8A6.8 6.8 0 0 0 318.8200000000002 319.8L325.2000000000002 313.4C325.3000000000002 313.4 325.3000000000002 313.3 325.3000000000002 313.3H339.3800000000002C342.5800000000002 313.3 344.1200000000001 316.5 346.2000000000002 319.56V321.76L345.4400000000002 321.66H340.0400000000002A3.2 3.2 0 0 0 336.9800000000003 324.86C336.9800000000003 326.6 338.3000000000002 328.04 340.0600000000003 328.04H345.4400000000002L346.2200000000002 327.92V331.6S345.2200000000002 332.36 345.0000000000003 332.36H338.9600000000002L337.6200000000003 330.8400000000001A6.8 6.8 0 0 0 327.8400000000002 330.62L326.5200000000002 332.38H323.0000000000003L327.9600000000003 327.2C328.3800000000003 326.76 328.3800000000003 325.44 327.9600000000003 325C327.4000000000003 324.56 326.6200000000003 324.44 326.2000000000003 324.88L320.3600000000003 330.4H317.8200000000002L310.5600000000003 323.9L309.9000000000002 324.02C309.1400000000002 321.82 308.1600000000003 322.24 307.0400000000002 322.24C304.5200000000002 322.24 302.5400000000003 323.68 302.5400000000003 326.1C302.5400000000003 328.64 304.5200000000002 330.28 307.0400000000002 330.28H310.5600000000003V333.92C310.5600000000003 335.68 311.7800000000002 336.54 313.5400000000002 336.54H314.8600000000003V339.08C314.8600000000003 341.94 317.8400000000002 345.02 320.5800000000002 345.02H326.1800000000003C329.3800000000002 345.02 331.5800000000002 347.32 331.5800000000002 350.52V351.6C331.5800000000002 351.92 332.6800000000003 351.26 332.6800000000003 353.36H328.9400000000002L328.8400000000002 353.02L322.6800000000003 346.42A2.46 2.46 0 0 0 319.1400000000002 346.42C318.1600000000003 347.3 318.1600000000003 348.8400000000001 319.1400000000002 349.8400000000001L326.9600000000003 357.54C327.5000000000003 357.98 328.1600000000003 357.98 328.8400000000003 357.98L328.9400000000003 357.54H346.3200000000003A87.6 87.6 0 0 1 290 378A88 88 0 0 1 233.68 357.64H245.3400000000001C247.2200000000001 357.64 248.64 356.32 248.64 354.46S247.2 351.26 245.3400000000001 351.26H235.7800000000001C235.7800000000001 349.18 235.0000000000001 350.06 235.0000000000001 349.94V342.92H243.5800000000001L248.1000000000001 347.96C250.7400000000001 350.5 255.0200000000001 351.06 257.5600000000001 348.4A6.6 6.6 0 0 0 257.5600000000001 338.94L233.9000000000001 315.3L233.6800000000001 315.08C233.5800000000001 314.98 233.4600000000001 314.98 233.3600000000001 314.86A2 2 0 0 1 232.6800000000001 314.42C232.5800000000001 314.3 232.4800000000001 314.42 232.3600000000001 314.3A6 6 0 0 0 228.8400000000001 313.54H221.9000000000001C219.5000000000001 311.46 218.1600000000001 310.58 218.1600000000001 308.14V306.38C218.1600000000001 306.06 217.6200000000001 305.84 217.6200000000001 305.52L228.8400000000001 293.74C230.0400000000002 292.54 229.9400000000001 290.66 228.8400000000001 289.56A2.86 2.86 0 0 0 224.6600000000001 289.56L213.1000000000001 301.12A8 8 0 0 0 211.4600000000001 300.9C208.3800000000001 300.9 205.6200000000001 303.3 205.6200000000001 306.38V313.54H205.3000000000001C203.2200000000002 306.06 202.0000000000002 298.14 202.0000000000002 290C202.0000000000002 241.38 241.3800000000001 202 290.0000000000001 202M357.7600000000001 264.14C359.3000000000002 264.14 360.9600000000001 262.94 360.9600000000001 261.4V252.92C360.9600000000001 251.38 359.3000000000002 250.18 357.7600000000001 250.18S354.5600000000001 251.38 354.5600000000001 252.92V261.4C354.5600000000001 262.94 356.2200000000001 264.14 357.7600000000001 264.14M295.5000000000001 361.7200000000001C295.5000000000001 357.98 292.4200000000002 355.44 288.8000000000001 355.44H281.3200000000001V353.36C281.3200000000001 351.1600000000001 280.3200000000001 349.4 278.1200000000001 349.4S274.9200000000001 351.1600000000001 274.9200000000001 353.36V360.4C272.8400000000001 360.8400000000001 274.2600000000001 360.96 274.2600000000001 361.5C274.2600000000001 365.24 276.8000000000002 367.98 280.5400000000001 367.98H288.6800000000001C292.4200000000001 367.98 295.5000000000001 365.46 295.5000000000001 361.7200000000001" : "M126.82 280A120 120 0 0 1 120 240H73.2L39 160H80C91 160 100 151 100 140V120H240A119.6 119.6 0 0 1 320 150.56V60C320 49 311 40 300 40H20C9 40 0 49 0 60V170.8L41.6 267.8C44.6 275 51.8 280 60 280zM200.4 237.1C200.4 239.6 201.9 241.7 204.5 241.6H211.4L227.2 225.6C227.3 225.6 227.2 225.5 227.2 225.5V219.6C227.2 217 225.5 215 222.9 215H221.5V212C221.5 209.4 219.7 208 217.2 208V197.3C217.2 194.8 214.8 192.8 212.3 192.8S207.4 194.8 207.4 197.3V215H204.5C202 215 200.4 217 200.4 219.6zM245.1 281C244.5 281 244 281.1 243.9 281.7C243.9 282.3 244.5 282.4 245.1 282.4H247.3C248 282.4 248.5 282.3 248.5 281.7S247.9 281 247.3 281zM221.8 281.5A1.88 1.88 0 0 0 219.2 281.5L214.2 286.5A1.88 1.88 0 0 0 214.2 289.1A1.88 1.88 0 0 0 216.8 289.1L221.8 284.1A1.88 1.88 0 0 0 221.8 281.5M252.4 272.6C251.7 272.6 251 273.1 251 273.8V276.9C251 277.5 251.7 278.1 252.4 278.1S253.8 277.6 253.8 276.9V273.8C253.8 273.2 253.1 272.6 252.4 272.6M240 320C284.2000000000001 320 320 284.2 320 240S284.2000000000001 160 240 160S160 195.8 160 240S195.8 320 240 320M240 180C273.1 180 300 206.9 300 240C300 243.9 299.6 247.8 298.8 251.5H294.6C292.1 251.5 290.1 252.9 290 255.7H285.7C287.2 254.3 288.8 252.9 288.8 251.1V242C288.8 240.8 288 239.7 287.3 238.9H287L286.8 238.8L286.5 238.6L277.6 230V213.7C277.6 211.1 276.2 209.3 273.6 209.3H266.4C263.9 209.3 262.2 211.1 262.2 213.7V230.5A12.6 12.6 0 0 1 255 237.4H246C243.4 237.4 241.1 239.3 241.1 241.9V251.1C241.1 253.6 243.4 255.7 246 255.7L248.6 255.8L252.8 260.1C254.6 261.9 257.6 261.9 259.4000000000001 260.1L263.8 255.6H273.2000000000001C275.3000000000001 255.6 276.3 257.7 277.7000000000001 259.8V261.3H273.6A2.12 2.12 0 0 0 271.5 263.4A2.2 2.2 0 0 0 273.6 265.5H277.2000000000001L277.7000000000001 265.4V267.8S277.1 268.3 276.9000000000001 268.3H272.9000000000001L272.0000000000001 267.3A4.7 4.7 0 0 0 265.4000000000001 267.2L264.5000000000001 268.4H262.2000000000001L265.4000000000001 264.9000000000001C265.7000000000001 264.6 265.7000000000001 263.7 265.4000000000001 263.4C265.0000000000001 263.1 264.5000000000001 263 264.2000000000001 263.3L260.3000000000001 267H258.6L253.7000000000001 262.4000000000001L253.3000000000001 262.5C252.8000000000001 261.1 252.1000000000001 261.4 251.4000000000001 261.4C249.7 261.4 248.4000000000001 262.3 248.4000000000001 264S249.7 266.8 251.4000000000001 266.8H253.7000000000001V269.3C253.7000000000001 270.5 254.5000000000001 271.1 255.7000000000001 271.1H256.7000000000001V272.8C256.7000000000001 274.7 258.6000000000001 276.8 260.5000000000001 276.8H264.3C266.4000000000001 276.8 267.9000000000001 278.3 267.9000000000001 280.5V281.2C267.9000000000001 281.5 268.6 281 268.6 282.4H266.1L266 282.2L261.8 277.8A1.7 1.7 0 0 0 259.5 277.8A1.7 1.7 0 0 0 259.5 280.1L264.6 285.2C265 285.5 265.5 285.5 265.9 285.5C266 285.5 266 285.2 266 285.2H278.8A46 46 0 0 1 271.7000000000001 290.7A50 50 0 0 1 264.6 294.6Q263.7200000000001 295.08 263 295.4A60.6 60.6 0 0 1 228.3 298.9C226.5000000000001 298.5 224.8 297.8 223 297.3C221.2 296.7 219.4 296.3 217.7 295.6C216.2 295 214.8 294.2 213.3 293.5C211 292.3 208.6 291.2 206.5 289.8L206.4 289.7C204.4 288.4 202.8 286.8 201 285.3H210.1C211.3 285.3 212.3 284.4 212.3 283.2S211.3 281.1 210.1 281.1H203.7C203.7 279.7 203.2 280.3 203.2 280.2V275.4H208.9L211.9 278.8C213.7 280.6 216.6 280.9 218.4 279.1S220.2 274.5 218.4 272.7000000000001L202.5 256.9000000000001L202.3 256.7000000000001C202.2 256.7000000000001 202.2 256.7000000000001 202.1 256.6L201.6 256.3H201.4A4.8 4.8 0 0 0 199 255.8H194.4C192.8 254.4000000000001 191.9 253.8 191.9 252.2V251C191.9 250.8 191.5 250.6 191.5 250.4000000000001L199 242.6C199.8 241.8 199.8 240.6 199 239.8S197 239.0000000000001 196.2 239.8L188.4 247.5A4 4 0 0 0 187.3 247.3C185.2 247.3 183.4 249.0000000000001 183.4 251.0000000000001V255.7H182.3A60 60 0 0 1 180 240C180 206.9 206.9 180 240 180M285.4 222.7C286.4 222.7 287.5 221.9 287.5 220.9V215.2C287.5 214.2 286.4 213.4 285.4 213.4S283.3 214.2 283.3 215.2V220.9C283.3 221.9 284.4 222.7 285.4 222.7M243.7 288.1C243.7 285.5 241.6 283.9 239.2 283.9H234.2V282.5C234.2 281 233.6 279.8 232.1 279.8S230 281 230 282.5V287.2C228.5 287.6 229.5 287.7 229.5 288C229.5 290.5 231.2 292.3 233.7 292.3H239.1C241.7 292.3 243.7 290.6 243.7 288.1"}
                fillRule="evenodd"
                transform={`scale(0.05, -0.05) translate(${translation}, ${translation})`}
                style={style}
            />
        </SVGIconContainer>
   );
});
InboxGeo.displayName = `Blueprint6.Icon.InboxGeo`;
export default InboxGeo;
