I'd argue it's more than indirect. From the archives:
https://www.archives.gov/electoral-... among,number of its Congressional districts.
Electoral votes are allocated among the States based on the Census. Every State is allocated a number of votes equal to the number of Senators and Representatives in its U.S. Congressional delegation—two votes for its Senators in the U.S. Senate plus a number of votes equal to the number of its Congressional districts.
https://www.archives.gov/electoral-... among,number of its Congressional districts.
