/* * Copyright (c) 2023 Proton AG * * This file is part of ProtonVPN. * * ProtonVPN is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * ProtonVPN is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with ProtonVPN. If not, see . */ using ProtonVPN.Client.Common.UI.Assets.Icons.Base; namespace ProtonVPN.Client.Common.UI.Assets.Icons.PathIcons; public class Hourglass : CustomPathIcon { protected override string IconGeometry16 { get; } = "M3.5 2a.5.5 0 0 0 0 1H4v.322c0 .801 0 1.202.097 1.575a3 3 0 0 0 .42.927c.217.319.519.582 1.122 1.11l.254.222c.443.388.754.66 1.022.844-.268.184-.58.456-1.022.844l-.254.222c-.603.528-.905.791-1.121 1.11a2.999 2.999 0 0 0-.42.927C4 11.476 4 11.877 4 12.678V13h-.5a.5.5 0 0 0 0 1h9a.5.5 0 1 0 0-1H12v-.322c0-.801 0-1.202-.097-1.575a3.001 3.001 0 0 0-.42-.927c-.217-.319-.519-.582-1.122-1.11l-.254-.222c-.443-.388-.754-.66-1.022-.844.268-.184.58-.456 1.022-.844l.254-.222c.603-.528.905-.791 1.121-1.11.192-.283.334-.596.42-.927C12 4.524 12 4.123 12 3.322V3h.5a.5.5 0 0 0 0-1h-9ZM11 13v-.322c0-.854-.008-1.103-.065-1.322a2 2 0 0 0-.28-.618c-.128-.188-.31-.357-.953-.92l-.253-.222a15.928 15.928 0 0 0-.833-.702c-.191-.143-.281-.18-.332-.195a1 1 0 0 0-.568 0c-.05.015-.14.052-.332.195-.201.15-.448.366-.833.702l-.253.222c-.643.563-.825.732-.953.92a2 2 0 0 0-.28.618c-.057.22-.065.468-.065 1.322V13h6ZM5 3.322V3h6v.322c0 .854-.008 1.103-.065 1.322a2 2 0 0 1-.28.618c-.128.188-.31.357-.953.92l-.253.222c-.385.336-.632.551-.833.702-.191.143-.281.18-.332.195a1 1 0 0 1-.568 0c-.05-.015-.14-.052-.332-.195-.201-.15-.448-.366-.833-.702l-.253-.222c-.643-.563-.825-.732-.953-.92a2 2 0 0 1-.28-.618C5.008 4.424 5 4.176 5 3.322Z"; protected override string IconGeometry20 { get; } = "M4.375 2.5a.625.625 0 1 0 0 1.25H5v.402c0 1.002 0 1.503.122 1.97.108.413.286.804.525 1.158.271.398.648.728 1.402 1.388l.317.277c.554.485.943.826 1.278 1.055-.335.23-.724.57-1.278 1.055l-.317.277c-.754.66-1.131.99-1.402 1.388a3.75 3.75 0 0 0-.525 1.159C5 14.345 5 14.846 5 15.848v.402h-.625a.625.625 0 1 0 0 1.25h11.25a.625.625 0 1 0 0-1.25H15v-.402c0-1.002 0-1.503-.122-1.97a3.749 3.749 0 0 0-.525-1.158c-.27-.398-.648-.728-1.402-1.388l-.317-.277c-.554-.485-.943-.825-1.278-1.055.335-.23.724-.57 1.278-1.055l.317-.277c.754-.66 1.131-.99 1.402-1.388a3.75 3.75 0 0 0 .525-1.159C15 5.655 15 5.154 15 4.152V3.75h.625a.625.625 0 1 0 0-1.25H4.375Zm9.375 13.75v-.402c0-1.068-.01-1.379-.081-1.653a2.501 2.501 0 0 0-.35-.773c-.16-.234-.388-.446-1.191-1.15l-.317-.277c-.481-.42-.79-.69-1.041-.877-.24-.18-.351-.226-.415-.245a1.25 1.25 0 0 0-.71 0c-.063.02-.176.066-.415.245-.251.188-.56.457-1.04.877l-.318.278c-.803.703-1.031.915-1.19 1.15-.16.235-.279.496-.35.772-.072.274-.082.585-.082 1.653v.402h7.5ZM6.25 4.152V3.75h7.5v.402c0 1.068-.01 1.379-.081 1.653a2.5 2.5 0 0 1-.35.772c-.16.235-.388.447-1.191 1.15l-.317.278c-.481.42-.79.69-1.041.877-.24.18-.351.226-.415.245a1.25 1.25 0 0 1-.71 0c-.063-.02-.176-.066-.415-.245-.251-.188-.56-.457-1.04-.877l-.318-.278c-.803-.703-1.031-.915-1.19-1.15a2.5 2.5 0 0 1-.35-.772c-.072-.274-.082-.585-.082-1.653Z"; protected override string IconGeometry24 { get; } = "M5.25 3a.75.75 0 0 0 0 1.5H6v.483c0 1.202 0 1.803.146 2.363a4.5 4.5 0 0 0 .63 1.39c.326.478.778.874 1.683 1.665l.38.333c.665.582 1.132.99 1.534 1.266-.402.275-.87.684-1.534 1.266l-.38.333c-.905.791-1.357 1.187-1.682 1.665a4.5 4.5 0 0 0-.63 1.39C6 17.214 6 17.814 6 19.017v.483h-.75a.75.75 0 0 0 0 1.5h13.5a.75.75 0 0 0 0-1.5H18v-.483c0-1.202 0-1.803-.146-2.363a4.5 4.5 0 0 0-.63-1.39c-.326-.478-.778-.874-1.683-1.665l-.38-.333c-.665-.582-1.132-.99-1.534-1.266.402-.275.87-.684 1.534-1.266l.38-.333c.905-.791 1.357-1.187 1.682-1.666a4.47 4.47 0 0 0 .63-1.39C18 6.787 18 6.186 18 4.984V4.5h.75a.75.75 0 0 0 0-1.5H5.25ZM16.5 19.5v-.483c0-1.28-.011-1.654-.097-1.983a3.003 3.003 0 0 0-.42-.927c-.192-.282-.466-.536-1.43-1.38l-.38-.332c-.577-.505-.947-.828-1.25-1.054-.286-.214-.42-.27-.498-.293a1.5 1.5 0 0 0-.85 0c-.077.023-.212.079-.499.293-.302.226-.672.549-1.249 1.054l-.38.332c-.964.844-1.238 1.098-1.43 1.38a3 3 0 0 0-.42.927c-.086.329-.097.702-.097 1.983v.483h9Zm-9-14.517V4.5h9v.483c0 1.28-.011 1.654-.097 1.983a3.036 3.036 0 0 1-.42.927c-.192.282-.466.536-1.43 1.38l-.38.332c-.577.505-.947.828-1.25 1.054-.286.214-.42.27-.498.293a1.5 1.5 0 0 1-.85 0c-.077-.023-.212-.079-.499-.293-.302-.226-.672-.549-1.249-1.054l-.38-.332c-.964-.844-1.238-1.098-1.43-1.38a3 3 0 0 1-.42-.927c-.086-.329-.097-.702-.097-1.983Z"; protected override string IconGeometry32 { get; } = "M7 4a1 1 0 1 0 0 2h1v.644c0 1.603 0 2.404.195 3.15a6 6 0 0 0 .84 1.853c.434.638 1.037 1.166 2.243 2.222l.508.443c.886.776 1.509 1.32 2.045 1.688-.536.367-1.16.912-2.045 1.688l-.508.443c-1.206 1.056-1.81 1.584-2.242 2.222a6 6 0 0 0-.841 1.853C8 22.952 8 23.753 8 25.356V26H7a1 1 0 1 0 0 2h18a1 1 0 1 0 0-2h-1v-.644c0-1.603 0-2.404-.195-3.15a6 6 0 0 0-.84-1.853c-.434-.638-1.037-1.166-2.243-2.222l-.508-.443c-.886-.776-1.509-1.32-2.044-1.688.535-.367 1.158-.912 2.044-1.688l.508-.443c1.206-1.056 1.81-1.584 2.242-2.222a6 6 0 0 0 .841-1.853C24 9.048 24 8.247 24 6.644V6h1a1 1 0 1 0 0-2H7Zm15 22v-.644c0-1.708-.015-2.206-.13-2.645a4.002 4.002 0 0 0-.56-1.235c-.255-.375-.62-.715-1.905-1.84l-.508-.443c-.77-.674-1.263-1.104-1.665-1.405-.383-.286-.562-.36-.665-.39a2 2 0 0 0-1.134 0c-.103.03-.282.104-.665.39-.402.301-.896.731-1.665 1.405l-.508.444c-1.285 1.124-1.65 1.463-1.905 1.839a4 4 0 0 0-.56 1.235c-.115.44-.13.937-.13 2.645V26h12ZM10 6.644V6h12v.644c0 1.708-.015 2.205-.13 2.645-.115.44-.305.858-.56 1.235-.255.376-.62.715-1.905 1.84l-.508.443c-.77.674-1.263 1.104-1.665 1.405-.383.286-.562.36-.665.39a2 2 0 0 1-1.134 0c-.103-.03-.282-.104-.665-.39-.402-.301-.896-.731-1.665-1.405l-.508-.444c-1.285-1.124-1.65-1.463-1.905-1.839a4 4 0 0 1-.56-1.235c-.115-.44-.13-.937-.13-2.645Z"; }