import { createComponent } from "./create-component"

export const LocaleProviderAnatomy = createComponent((props) => {
  const { palette, ...rest } = props
  return (
    <svg
      width={400}
      height={300}
      viewBox="0 0 400 300"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...rest}
    >
      <path
        d="M160.282 160.355C158.461 160.355 156.888 159.976 155.564 159.22C154.248 158.455 153.235 157.375 152.525 155.98C151.816 154.577 151.461 152.925 151.461 151.026C151.461 149.157 151.816 147.518 152.525 146.107C153.243 144.688 154.244 143.584 155.528 142.796C156.813 142 158.323 141.602 160.057 141.602C161.176 141.602 162.233 141.783 163.226 142.146C164.227 142.501 165.11 143.052 165.874 143.801C166.647 144.55 167.254 145.504 167.695 146.663C168.137 147.813 168.357 149.185 168.357 150.777V152.09H153.471V149.205H164.255C164.247 148.385 164.069 147.656 163.722 147.017C163.376 146.371 162.891 145.863 162.268 145.492C161.653 145.122 160.936 144.936 160.116 144.936C159.241 144.936 158.473 145.149 157.811 145.575C157.148 145.993 156.632 146.544 156.262 147.23C155.899 147.908 155.714 148.653 155.706 149.465V151.983C155.706 153.04 155.899 153.946 156.285 154.703C156.671 155.452 157.211 156.027 157.905 156.429C158.599 156.823 159.411 157.02 160.341 157.02C160.964 157.02 161.527 156.934 162.032 156.76C162.536 156.579 162.974 156.315 163.344 155.968C163.715 155.621 163.994 155.192 164.184 154.679L168.18 155.129C167.928 156.185 167.447 157.107 166.738 157.895C166.036 158.676 165.137 159.283 164.042 159.716C162.946 160.142 161.693 160.355 160.282 160.355ZM175.593 149.358V160H171.313V141.838H175.404V144.924H175.617C176.034 143.908 176.7 143.1 177.615 142.501C178.537 141.902 179.676 141.602 181.032 141.602C182.285 141.602 183.377 141.87 184.307 142.406C185.245 142.942 185.97 143.718 186.483 144.735C187.003 145.752 187.259 146.986 187.251 148.436V160H182.971V149.098C182.971 147.884 182.656 146.935 182.025 146.249C181.402 145.563 180.539 145.22 179.436 145.22C178.687 145.22 178.021 145.386 177.437 145.717C176.862 146.04 176.409 146.509 176.078 147.124C175.754 147.739 175.593 148.483 175.593 149.358ZM201.945 148.152V151.676H191.043V148.152H201.945ZM221.234 135.785H225.621V151.605C225.621 153.339 225.211 154.864 224.391 156.181C223.58 157.497 222.437 158.526 220.963 159.267C219.489 160 217.766 160.367 215.795 160.367C213.817 160.367 212.091 160 210.617 159.267C209.143 158.526 208 157.497 207.188 156.181C206.376 154.864 205.97 153.339 205.97 151.605V135.785H210.356V151.238C210.356 152.247 210.577 153.146 211.019 153.934C211.468 154.723 212.099 155.341 212.91 155.791C213.722 156.232 214.684 156.453 215.795 156.453C216.907 156.453 217.869 156.232 218.681 155.791C219.5 155.341 220.131 154.723 220.572 153.934C221.014 153.146 221.234 152.247 221.234 151.238V135.785ZM242.883 142.441C242.773 141.409 242.308 140.605 241.488 140.029C240.676 139.454 239.62 139.166 238.319 139.166C237.405 139.166 236.621 139.304 235.966 139.58C235.312 139.856 234.811 140.23 234.465 140.703C234.118 141.176 233.94 141.716 233.933 142.323C233.933 142.828 234.047 143.265 234.275 143.636C234.512 144.006 234.831 144.321 235.233 144.582C235.635 144.834 236.081 145.047 236.569 145.22C237.058 145.394 237.551 145.539 238.047 145.658L240.317 146.225C241.232 146.438 242.111 146.726 242.954 147.088C243.806 147.451 244.566 147.908 245.236 148.46C245.914 149.012 246.45 149.678 246.844 150.458C247.238 151.238 247.435 152.153 247.435 153.201C247.435 154.62 247.073 155.87 246.348 156.949C245.622 158.021 244.574 158.861 243.203 159.468C241.839 160.067 240.187 160.367 238.248 160.367C236.364 160.367 234.729 160.075 233.341 159.492C231.962 158.908 230.882 158.057 230.102 156.938C229.329 155.818 228.911 154.455 228.848 152.847H233.164C233.227 153.69 233.487 154.392 233.944 154.951C234.402 155.511 234.997 155.929 235.73 156.205C236.471 156.48 237.298 156.618 238.213 156.618C239.167 156.618 240.002 156.476 240.719 156.193C241.445 155.901 242.012 155.499 242.422 154.987C242.832 154.466 243.041 153.859 243.049 153.166C243.041 152.535 242.856 152.015 242.493 151.605C242.13 151.187 241.622 150.84 240.968 150.565C240.321 150.281 239.565 150.028 238.698 149.808L235.943 149.098C233.948 148.586 232.372 147.81 231.213 146.769C230.062 145.721 229.487 144.329 229.487 142.595C229.487 141.168 229.873 139.919 230.646 138.847C231.426 137.775 232.486 136.943 233.826 136.352C235.166 135.753 236.684 135.454 238.378 135.454C240.097 135.454 241.602 135.753 242.895 136.352C244.196 136.943 245.217 137.767 245.957 138.823C246.698 139.872 247.081 141.078 247.104 142.441H242.883Z"
        fill={palette[3]}
      />
      <path
        opacity={0.5}
        d="M154.96 226V223.934L162.076 215.012V214.895H155.194V212.2H166.056V214.419L159.282 223.188V223.305H166.289V226H154.96ZM172.599 217.914V226H169.346V207.6H172.527V214.545H172.689C173.012 213.766 173.512 213.152 174.189 212.703C174.872 212.248 175.74 212.02 176.794 212.02C177.753 212.02 178.588 212.221 179.301 212.622C180.014 213.024 180.565 213.611 180.954 214.383C181.35 215.156 181.547 216.099 181.547 217.213V226H178.295V217.716C178.295 216.788 178.055 216.066 177.576 215.551C177.103 215.03 176.438 214.77 175.582 214.77C175.007 214.77 174.491 214.895 174.036 215.147C173.587 215.392 173.234 215.749 172.976 216.216C172.725 216.683 172.599 217.249 172.599 217.914ZM193.227 216.998V219.675H184.943V216.998H193.227ZM212.541 213.808H209.181C209.085 213.257 208.908 212.769 208.651 212.344C208.393 211.912 208.073 211.547 207.689 211.248C207.306 210.948 206.869 210.724 206.378 210.574C205.893 210.418 205.368 210.34 204.805 210.34C203.805 210.34 202.919 210.592 202.146 211.095C201.373 211.592 200.768 212.323 200.331 213.287C199.894 214.245 199.675 215.416 199.675 216.8C199.675 218.208 199.894 219.393 200.331 220.358C200.774 221.316 201.379 222.041 202.146 222.532C202.919 223.017 203.802 223.26 204.796 223.26C205.348 223.26 205.863 223.188 206.342 223.044C206.827 222.894 207.261 222.676 207.645 222.388C208.034 222.101 208.36 221.747 208.624 221.328C208.893 220.909 209.079 220.43 209.181 219.891L212.541 219.909C212.415 220.783 212.143 221.604 211.723 222.37C211.31 223.137 210.768 223.814 210.097 224.401C209.426 224.982 208.642 225.437 207.743 225.766C206.845 226.09 205.848 226.252 204.752 226.252C203.134 226.252 201.691 225.877 200.421 225.129C199.151 224.38 198.151 223.299 197.42 221.885C196.69 220.472 196.324 218.777 196.324 216.8C196.324 214.817 196.693 213.122 197.429 211.715C198.166 210.301 199.169 209.22 200.439 208.471C201.709 207.723 203.146 207.348 204.752 207.348C205.776 207.348 206.728 207.492 207.609 207.78C208.489 208.067 209.274 208.489 209.962 209.046C210.651 209.598 211.217 210.274 211.661 211.077C212.11 211.874 212.403 212.784 212.541 213.808ZM230.714 207.6V226H227.749L219.079 213.467H218.927V226H215.593V207.6H218.576L227.237 220.142H227.399V207.6H230.714Z"
        fill={palette[3]}
      />
      <path
        opacity={0.5}
        d="M162.083 91.2426C160.999 91.2426 160.028 90.9641 159.172 90.407C158.315 89.85 157.638 89.0414 157.141 87.9812C156.644 86.9211 156.396 85.6333 156.396 84.118C156.396 82.5846 156.647 81.2909 157.15 80.2367C157.659 79.1766 158.345 78.377 159.208 77.8379C160.07 77.2928 161.032 77.0203 162.092 77.0203C162.9 77.0203 163.565 77.1581 164.086 77.4336C164.607 77.7031 165.021 78.0296 165.326 78.4129C165.632 78.7902 165.868 79.1466 166.036 79.482H166.171V72.6H169.432V91H166.234V88.8258H166.036C165.868 89.1612 165.626 89.5176 165.308 89.8949C164.991 90.2663 164.571 90.5837 164.05 90.8473C163.529 91.1108 162.873 91.2426 162.083 91.2426ZM162.99 88.5742C163.679 88.5742 164.266 88.3885 164.751 88.0172C165.236 87.6398 165.605 87.1158 165.856 86.4449C166.108 85.7741 166.234 84.9924 166.234 84.1C166.234 83.2076 166.108 82.4319 165.856 81.773C165.611 81.1142 165.245 80.6021 164.76 80.2367C164.281 79.8714 163.691 79.6887 162.99 79.6887C162.265 79.6887 161.66 79.8773 161.175 80.2547C160.69 80.632 160.325 81.1531 160.079 81.818C159.834 82.4828 159.711 83.2435 159.711 84.1C159.711 84.9625 159.834 85.7322 160.079 86.409C160.331 87.0798 160.699 87.6099 161.184 87.9992C161.675 88.3826 162.277 88.5742 162.99 88.5742ZM179.007 91.2695C177.623 91.2695 176.429 90.982 175.422 90.407C174.422 89.826 173.652 89.0055 173.113 87.9453C172.574 86.8792 172.305 85.6243 172.305 84.1809C172.305 82.7613 172.574 81.5155 173.113 80.4434C173.658 79.3652 174.419 78.5267 175.395 77.9277C176.372 77.3228 177.519 77.0203 178.836 77.0203C179.687 77.0203 180.49 77.1581 181.244 77.4336C182.005 77.7031 182.676 78.1224 183.257 78.6914C183.844 79.2604 184.305 79.9852 184.64 80.8656C184.976 81.7401 185.143 82.7823 185.143 83.9922V84.9895H173.832V82.7973H182.026C182.02 82.1743 181.885 81.6203 181.622 81.1352C181.358 80.644 180.99 80.2577 180.516 79.9762C180.049 79.6947 179.504 79.5539 178.881 79.5539C178.216 79.5539 177.632 79.7156 177.129 80.0391C176.626 80.3565 176.234 80.7758 175.952 81.2969C175.677 81.812 175.536 82.378 175.53 82.9949V84.9086C175.53 85.7112 175.677 86.4 175.97 86.975C176.264 87.544 176.674 87.9812 177.201 88.2867C177.728 88.5862 178.345 88.7359 179.052 88.7359C179.525 88.7359 179.953 88.6701 180.337 88.5383C180.72 88.4005 181.053 88.1999 181.334 87.9363C181.616 87.6728 181.828 87.3464 181.972 86.957L185.009 87.2984C184.817 88.101 184.452 88.8018 183.913 89.4008C183.379 89.9938 182.697 90.4549 181.864 90.7844C181.032 91.1078 180.079 91.2695 179.007 91.2695ZM196.259 81.9977V84.675H187.976V81.9977H196.259ZM206.059 91H199.824V72.6H206.185C208.012 72.6 209.581 72.9684 210.893 73.7051C212.21 74.4358 213.223 75.487 213.929 76.8586C214.636 78.2302 214.99 79.8714 214.99 81.782C214.99 83.6987 214.633 85.3458 213.92 86.7234C213.214 88.101 212.192 89.1582 210.857 89.8949C209.527 90.6316 207.928 91 206.059 91ZM203.157 88.116H205.897C207.179 88.116 208.248 87.8824 209.105 87.4152C209.961 86.9421 210.605 86.2383 211.036 85.3039C211.468 84.3635 211.683 83.1896 211.683 81.782C211.683 80.3745 211.468 79.2065 211.036 78.2781C210.605 77.3438 209.967 76.646 209.123 76.1848C208.284 75.7176 207.242 75.484 205.996 75.484H203.157V88.116ZM218.156 91V72.6H230.124V75.3941H221.49V80.3895H229.504V83.1836H221.49V88.2059H230.196V91H218.156Z"
        fill={palette[3]}
      />
    </svg>
  )
})
