import * as React from 'react'
import { ViewStyle } from 'react-native'
import Svg, { Path } from 'react-native-svg'

interface Props {
  width?: number
  height?: number
  style?: ViewStyle
}

export default function WelcomeLogo({ width = 243, height = 64, style }: Props) {
  return (
    <Svg width={width} height={height} viewBox={`0 0 243 64`} fill="none" style={style}>
      <Path
        fill="#000"
        d="M30.674 63.475c4.698-18.911 10.372-27.491 22.428-33.27l-2.748-7.442C39.627 26.791 30.851 36.86 26.773 49.817 22.96 37.735 14.716 27.316 4.167 21.713L0 28.98c11.702 6.74 17.553 15.584 22.252 34.495h8.422ZM71.01 64c5.763 0 10.638-2.627 13.475-6.479l.444 5.954h7.358V37.91c0-12.082-7.004-19.612-18.883-19.612-4.344 0-8.777.788-13.21 2.452l2.217 7.179c3.369-1.226 6.56-1.839 9.574-1.839 7.536 0 12.057 4.378 12.057 12.695v.876c-3.457-1.926-7.801-3.152-12.234-3.152-9.486 0-16.223 5.69-16.223 13.658C55.585 58.397 62.677 64 71.01 64Zm1.596-7.705c-4.876 0-8.067-2.538-8.067-6.303s3.28-6.304 8.333-6.304c3.99 0 8.067 1.313 11.525 3.677-1.419 5.34-5.94 8.93-11.791 8.93Zm40.691 7.355V0l-8.599 2.714V63.65h8.599Zm32.624.35c12.5 0 22.606-9.98 22.606-22.238 0-12.345-10.106-22.238-22.606-22.238-12.5 0-22.606 9.893-22.606 22.238 0 12.257 10.106 22.238 22.606 22.238Zm0-8.405c-7.624 0-13.741-6.128-13.741-13.833s6.117-13.833 13.741-13.833 13.741 6.128 13.741 13.833-6.117 13.833-13.741 13.833Zm40.869 7.88V45.789c0-10.769 4.876-17.598 12.5-17.598 1.063 0 2.039.088 3.014.35l1.861-7.616c-1.595-.526-3.457-.876-5.319-.876-5.851 0-10.549 3.327-13.297 8.58a36.363 36.363 0 0 0-2.305-8.405l-7.802 2.627c1.685 4.465 2.837 8.492 2.837 14.971v25.653h8.511Zm34.219.525c5.763 0 10.639-2.627 13.475-6.479l.444 5.954h7.358V38.26c0-12.082-6.915-19.612-18.972-19.612-4.078 0-8.333.876-12.677 2.54l1.773 7.354c3.458-1.401 6.649-2.102 9.663-2.102 7.447 0 11.968 4.378 11.968 12.695v.526c-3.457-1.926-7.801-3.152-12.234-3.152-9.486 0-16.223 5.69-16.223 13.658 0 8.23 7.092 13.833 15.425 13.833Zm1.596-7.705c-4.876 0-8.067-2.538-8.067-6.303s3.28-6.304 8.333-6.304c3.989 0 8.067 1.313 11.525 3.677-1.419 5.34-5.94 8.93-11.791 8.93Z"
      />
    </Svg>
  )
}
