import { APPS } from '@proton/shared/lib/constants' ; import { getAppName } from '@proton/shared/lib/apps/helper' ; const calendarAppName = getAppName ( APPS . PROTONCALENDAR ) ; interface Props { className ? : string ; } const CalendarLogo = ( { className = 'logo' } ) => { return ( < svg xmlns = "http://www.w3.org/2000/svg" xmlnsXlink = "http://www.w3.org/1999/xlink" viewBox = "0 0 182 22" className = { className } aria - labelledby = "logo__title" > < g > < path d = "M6.886 15.62a1.85 1.85 0 01-1.376-.688l-.84.841a2.765 2.765 0 002.37.994c1.68 0 2.598-.917 2.598-2.064l.001-.038.002-.03a1.573 1.573 0 00-1.532-1.613 1.564 1.564 0 001.3-1.605c0-.917-.841-1.758-2.218-1.682a3.11 3.11 0 00-2.293.917l.764.84a1.75 1.75 0 011.3-.611c.535 0 .916.306.916.764 0 .612-.382.917-.993.917h-.383l-.153 1.07h.536c.687 0 1.07.306 1.07.994a.984.984 0 01-1.068.995z" / > < path d = "M15.447 13.251c0 2.293-.917 3.592-2.6 3.592-1.68 0-2.598-1.3-2.598-3.592 0-2.293.917-3.516 2.599-3.516 1.682 0 2.599 1.223 2.599 3.516zm-1.606 0c0-1.834-.305-2.37-.917-2.37-.687 0-.916.535-.916 2.37s.305 2.37.916 2.37c.688 0 .917-.536.917-2.37z" / > < path d = "M15.9 4.182H14.76v-.403a1.074 1.074 0 10-2.15 0v.403H7.306v-.403a1.06 1.06 0 00-1.044-1.075h-.03A.989.989 0 005.156 3.78v.403H4.082A2.107 2.107 0 002 6.314v12.038A2.164 2.164 0 004.15 20.5H15.9a2.164 2.164 0 002.15-2.148V6.263a2.354 2.354 0 00-2.15-2.081zm.605 14.101a.6.6 0 01-.595.605H4.082a.6.6 0 01-.605-.596V8.076h13.025l.003 10.207z" / > < path d = "M116.525 3.537v14.184c0 .285.046.437.091.508.04.045.123.095.319.095.241 0 .445-.038.619-.108l.285-.113.715 1.907-.229.124a3.52 3.52 0 01-1.713.424c-.793 0-1.456-.235-1.953-.733l-.007-.007c-.482-.515-.705-1.213-.705-2.054V3.845l2.578-.308z" / > < path d = "M150.171 3.537l2.578.308V20.3h-2.307l-.136-1.105c-.303.336-.649.62-1.037.849l-.005.002a4.04 4.04 0 01-2.018.512c-1.44 0-2.586-.574-3.404-1.716l-.002-.002c-.792-1.128-1.172-2.621-1.172-4.451 0-1.192.183-2.263.558-3.207.376-.946.922-1.696 1.646-2.236.729-.558 1.582-.834 2.546-.834 1.026 0 1.946.34 2.753 1.004V3.537zm-4.115 7.705c-.426.66-.66 1.68-.66 3.104 0 1.442.221 2.464.622 3.11.39.63.932.933 1.658.933.554 0 1.011-.125 1.385-.36.371-.249.743-.617 1.11-1.115v-5.346c-.335-.422-.687-.732-1.052-.939l-.01-.006a2.336 2.336 0 00-1.261-.342c-.773 0-1.36.314-1.792.961zM96.348 4.629c-1.2 0-2.296.308-3.277.927-.988.623-1.76 1.545-2.326 2.748-.568 1.197-.846 2.626-.846 4.279 0 1.65.263 3.084.8 4.292l.002.005c.55 1.19 1.317 2.112 2.302 2.748l.005.003c.997.62 2.128.927 3.383.927.966 0 1.832-.163 2.593-.498.746-.328 1.368-.743 1.858-1.249l.182-.187-1.35-1.725-.235.171a8.392 8.392 0 01-1.452.872c-.427.194-.934.296-1.531.296-1.142 0-2.043-.438-2.73-1.324-.686-.898-1.055-2.323-1.055-4.331 0-2.07.37-3.505 1.052-4.372.702-.873 1.611-1.305 2.754-1.305.924 0 1.813.334 2.67 1.03l.228.183 1.507-1.767-.237-.194c-.65-.531-1.302-.923-1.955-1.166-.646-.246-1.43-.363-2.342-.363zm2.342.363h.001l-.107.28.105-.28zm-4.967 3.22l-.234-.187.235.185v.001zm.003 8.702l.001.001-.238.183.237-.184zm-2.98-8.61l.27.13-.271-.128v-.002zM25.85 4.887h4.191c1.872 0 3.365.394 4.44 1.222 1.093.829 1.622 2.066 1.622 3.657 0 1.69-.55 2.993-1.689 3.852-1.112.838-2.573 1.243-4.351 1.243h-1.57v5.44H25.85V4.886zm2.642 2.19v5.571h1.485c1.158 0 1.987-.224 2.53-.629l.003-.002c.518-.377.822-1.083.822-2.23 0-1-.295-1.662-.826-2.06l-.003-.002c-.543-.417-1.357-.647-2.483-.647h-1.527z" / > < path d = "M61.039 8.37V5.537l-2.578.308V8.37h-1.978v2.126h1.978v6.537c0 1.095.278 1.982.878 2.615l.005.005c.614.614 1.45.905 2.47.905 1.004 0 1.91-.275 2.708-.827l.226-.157-1.035-1.804-.257.138c-.533.287-.985.416-1.363.416-.433 0-.68-.113-.817-.272-.14-.197-.237-.546-.237-1.105v-6.45h2.433l.3-2.127h-2.733zM41.138 8.826a3.035 3.035 0 011.998-.714 4.9 4.9 0 011.19.138l.276.068-.478 2.526-.308-.077a3.776 3.776 0 00-.916-.12c-.618 0-1.098.221-1.468.666-.382.458-.703 1.196-.941 2.249V20.3h-2.578V8.37h2.274l.122 1.447c.236-.394.511-.726.83-.99z" / > < path d = "M50.333 8.112c-1.109 0-2.078.262-2.894.8-.813.522-1.43 1.265-1.852 2.215-.422.934-.628 2.01-.628 3.219 0 1.868.457 3.384 1.403 4.514.955 1.139 2.285 1.698 3.95 1.698 1.094 0 2.055-.255 2.87-.778l.004-.003c.81-.535 1.427-1.276 1.85-2.212v-.002c.422-.947.628-2.03.628-3.239 0-1.868-.456-3.384-1.402-4.513-.94-1.14-2.264-1.7-3.929-1.7zm-2.645 6.234c0-1.424.243-2.438.684-3.09.428-.63 1.065-.953 1.961-.953.881 0 1.507.32 1.928.947.435.648.675 1.658.675 3.074 0 1.424-.242 2.438-.68 3.09-.425.63-1.056.953-1.944.953-.89 0-1.52-.322-1.945-.948-.438-.648-.68-1.657-.68-3.073zM67.763 8.913c.816-.539 1.786-.801 2.894-.801 1.665 0 2.989.558 3.93 1.699l-.002-.001-.23.192.232-.19V9.81c.945 1.13 1.401 2.645 1.401 4.513 0 1.21-.206 2.292-.627 3.24l-.001.001c-.423.936-1.04 1.677-1.85 2.212l-.003.003c-.816.523-1.777.778-2.871.778-1.665 0-2.995-.559-3.95-1.698-.946-1.13-1.403-2.646-1.403-4.514 0-1.21.207-2.285.629-3.219.422-.95 1.039-1.693 1.851-2.214zm0 0l.002-.001.162.252-.166-.25.002-.001zm.933 2.344c-.441.65-.684 1.665-.684 3.089 0 1.416.241 2.425.68 3.073.423.626 1.055.948 1.944.948.888 0 1.52-.323 1.944-.953.439-.652.68-1.667.68-3.09 0-1.416-.24-2.426-.675-3.074-.42-.627-1.047-.947-1.928-.947-.896 0-1.533.323-1.96.954z" / > < path d = "M83.858 8.112c-.767 0-1.478.184-2.127.555l-.002.002a4.679 4.679 0 00-1.11.904l-.124-1.203h-2.269V20.3h2.578v-8.254c.374-.587.765-1.027 1.17-1.33a2.28 2.28 0 011.411-.456c.531 0 .884.147 1.111.396.224.245.374.715.374 1.497V20.3h2.578v-8.427c0-1.13-.31-2.057-.964-2.743-.642-.69-1.532-1.018-2.626-1.018z" / > < path d = "M102.728 8.904c1.431-.525 2.77-.792 4.017-.792 1.377 0 2.463.34 3.199 1.075.733.717 1.078 1.729 1.078 2.987v5.182c0 .43.075.701.182.858.114.154.295.287.567.386l.273.1-.619 1.886-.244-.03c-.622-.076-1.147-.253-1.558-.549a2.282 2.282 0 01-.701-.847c-.806.934-1.915 1.398-3.295 1.398-1.177 0-2.141-.334-2.854-1.031-.711-.695-1.058-1.6-1.058-2.687 0-1.286.465-2.305 1.41-3.014l.002-.001c.945-.697 2.249-1.026 3.876-1.026h1.441v-.539c0-.764-.185-1.234-.479-1.496-.309-.274-.818-.44-1.586-.44-.786 0-1.77.19-2.958.587l-.282.094-.686-2 .275-.101zm2.357 6.328c-.432.32-.663.8-.663 1.5 0 .628.154 1.05.411 1.319.255.266.652.424 1.245.424.981 0 1.767-.487 2.366-1.542V14.71h-1.183c-1.018 0-1.727.19-2.176.522zM124.33 8.112c-1.017 0-1.918.274-2.691.83l-.002.002c-.752.552-1.328 1.315-1.733 2.275l-.001.002c-.39.946-.581 2.025-.581 3.232 0 1.853.449 3.349 1.382 4.451l.002.002c.955 1.109 2.276 1.652 3.925 1.652 1.505 0 2.888-.498 4.141-1.483l.228-.179-1.202-1.652-.241.165c-.484.333-.94.57-1.368.716-.424.146-.892.22-1.407.22-.784 0-1.404-.263-1.887-.785-.435-.47-.727-1.205-.839-2.248h7.173l.023-.275c.029-.352.044-.697.044-1.035 0-1.793-.412-3.237-1.271-4.296-.871-1.072-2.118-1.594-3.695-1.594zm2.407 5.138h-4.685c.094-.998.332-1.72.686-2.198.379-.51.91-.77 1.635-.77.816 0 1.385.265 1.76.761.369.488.582 1.211.604 2.207z" / > < path d = "M134.93 8.667a4.212 4.212 0 012.126-.555c1.095 0 1.985.329 2.627 1.019.653.685.963 1.612.963 2.742V20.3h-2.578v-8.147c0-.782-.15-1.252-.373-1.497-.228-.249-.58-.396-1.112-.396a2.28 2.28 0 00-1.411.456c-.404.303-.796.743-1.17 1.33V20.3h-2.578V8.37h2.27l.123 1.203a4.69 4.69 0 011.11-.904l.003-.002z" / > < path d = "M159.752 8.112c-1.247 0-2.587.267-4.017.792l-.275.101.686 2 .282-.094c1.188-.396 2.171-.587 2.958-.587.768 0 1.277.166 1.585.44.295.262.48.732.48 1.496v.539h-1.441c-1.627 0-2.932.329-3.876 1.026l-.002.001c-.946.71-1.41 1.728-1.41 3.014 0 1.087.347 1.992 1.057 2.687.714.697 1.678 1.031 2.855 1.031 1.38 0 2.489-.464 3.294-1.398.177.35.409.636.701.847.411.296.937.473 1.558.549l.245.03.619-1.886-.273-.1c-.272-.099-.453-.232-.568-.386-.106-.157-.181-.428-.181-.858v-5.182c0-1.258-.345-2.27-1.078-2.986-.736-.736-1.822-1.076-3.199-1.076zm-2.323 8.62c0-.7.231-1.18.663-1.5.448-.332 1.158-.522 2.176-.522h1.183v2.223c-.599 1.055-1.386 1.542-2.366 1.542-.593 0-.99-.158-1.245-.424-.258-.269-.411-.69-.411-1.319z" / > < path d = "M170.287 8.826a3.035 3.035 0 011.998-.714c.423 0 .82.045 1.191.138l.274.068-.477 2.526-.308-.077a3.781 3.781 0 00-.917-.12c-.617 0-1.097.221-1.468.666-.381.458-.702 1.196-.941 2.249V20.3h-2.578V8.37h2.275l.122 1.447a3.83 3.83 0 01.829-.99z" / > < /g> < title id = "logo__title" > { calendarAppName } < /title> < /svg>); } ; export default CalendarLogo ;