import { readFile } from "node:fs/promises"; import Election from "../election.js"; import VoteType from "../VoteType.js"; const Presidential_1789 = { title: "1789 United States Presidential Election Simulator", shortname: "1789", description: "The CalubViem Press has rewritten history and called the 1789 United States Presidential Election for $WINNER!", voteType: VoteType.Electoral, svg: await readFile("assets/ElectoralCollege1789.svg", "utf-8"), candidates: [ { name: "George Washington", party: "Independent", color: "#bfab22", } ], states: { "CT": { population: 0, electoralVotes: 7, odds: { "Independent": 1, } }, "DE": { population: 522, electoralVotes: 3, odds: { "Independent": 1, } }, "GA": { population: 0, electoralVotes: 5, odds: { "Independent": 1, } }, "MD": { population: 15829, electoralVotes: 6, odds: { "Independent": 1, } }, "MA": { population: 3880, electoralVotes: 10, odds: { "Independent": 1, } }, "NH": { population: 1764, electoralVotes: 5, odds: { "Independent": 1, } }, "NJ": { population: 0, electoralVotes: 6, odds: { "Independent": 1, } }, "PA": { population: 7383, electoralVotes: 10, odds: { "Independent": 1, } }, "SC": { population: 0, electoralVotes: 7, odds: { "Independent": 1, } }, "VA": { population: 668, electoralVotes: 10, odds: { "Independent": 1, } } } } export default Presidential_1789 as Election;