/** Canonical geography seed (CLAUDE.md §117). ISO 3166-1; WHO regions per WHO membership lists. */ export interface GeographySeed { slug: string; name: string; kind: 'world' | 'region' | 'who_region' | 'country' | 'subdivision'; iso2?: string; iso3?: string; parentSlug?: string; whoRegion?: string; } const WHO_REGIONS: Array<[string, string]> = [ ['who-afro', 'WHO African Region'], ['who-amro', 'WHO Region of the Americas'], ['who-searo', 'WHO South-East Asia Region'], ['who-euro', 'WHO European Region'], ['who-emro', 'WHO Eastern Mediterranean Region'], ['who-wpro', 'WHO Western Pacific Region'], ]; // [iso2, iso3, name, whoRegion] const COUNTRIES: Array<[string, string, string, string]> = [ ['US', 'USA', 'United States', 'who-amro'], ['CA', 'CAN', 'Canada', 'who-amro'], ['MX', 'MEX', 'Mexico', 'who-amro'], ['BR', 'BRA', 'Brazil', 'who-amro'], ['AR', 'ARG', 'Argentina', 'who-amro'], ['CL', 'CHL', 'Chile', 'who-amro'], ['CO', 'COL', 'Colombia', 'who-amro'], ['PE', 'PER', 'Peru', 'who-amro'], ['CU', 'CUB', 'Cuba', 'who-amro'], ['GB', 'GBR', 'United Kingdom', 'who-euro'], ['IE', 'IRL', 'Ireland', 'who-euro'], ['FR', 'FRA', 'France', 'who-euro'], ['DE', 'DEU', 'Germany', 'who-euro'], ['IT', 'ITA', 'Italy', 'who-euro'], ['ES', 'ESP', 'Spain', 'who-euro'], ['PT', 'PRT', 'Portugal', 'who-euro'], ['NL', 'NLD', 'Netherlands', 'who-euro'], ['BE', 'BEL', 'Belgium', 'who-euro'], ['CH', 'CHE', 'Switzerland', 'who-euro'], ['AT', 'AUT', 'Austria', 'who-euro'], ['SE', 'SWE', 'Sweden', 'who-euro'], ['NO', 'NOR', 'Norway', 'who-euro'], ['DK', 'DNK', 'Denmark', 'who-euro'], ['FI', 'FIN', 'Finland', 'who-euro'], ['IS', 'ISL', 'Iceland', 'who-euro'], ['PL', 'POL', 'Poland', 'who-euro'], ['CZ', 'CZE', 'Czechia', 'who-euro'], ['HU', 'HUN', 'Hungary', 'who-euro'], ['GR', 'GRC', 'Greece', 'who-euro'], ['RO', 'ROU', 'Romania', 'who-euro'], ['UA', 'UKR', 'Ukraine', 'who-euro'], ['RU', 'RUS', 'Russian Federation', 'who-euro'], ['TR', 'TUR', 'Türkiye', 'who-euro'], ['IL', 'ISR', 'Israel', 'who-euro'], ['EG', 'EGY', 'Egypt', 'who-emro'], ['SA', 'SAU', 'Saudi Arabia', 'who-emro'], ['IR', 'IRN', 'Iran', 'who-emro'], ['PK', 'PAK', 'Pakistan', 'who-emro'], ['MA', 'MAR', 'Morocco', 'who-emro'], ['NG', 'NGA', 'Nigeria', 'who-afro'], ['ZA', 'ZAF', 'South Africa', 'who-afro'], ['KE', 'KEN', 'Kenya', 'who-afro'], ['ET', 'ETH', 'Ethiopia', 'who-afro'], ['GH', 'GHA', 'Ghana', 'who-afro'], ['UG', 'UGA', 'Uganda', 'who-afro'], ['TZ', 'TZA', 'Tanzania', 'who-afro'], ['DZ', 'DZA', 'Algeria', 'who-afro'], ['IN', 'IND', 'India', 'who-searo'], ['BD', 'BGD', 'Bangladesh', 'who-searo'], ['ID', 'IDN', 'Indonesia', 'who-searo'], ['TH', 'THA', 'Thailand', 'who-searo'], ['NP', 'NPL', 'Nepal', 'who-searo'], ['LK', 'LKA', 'Sri Lanka', 'who-searo'], ['CN', 'CHN', 'China', 'who-wpro'], ['JP', 'JPN', 'Japan', 'who-wpro'], ['KR', 'KOR', 'Republic of Korea', 'who-wpro'], ['AU', 'AUS', 'Australia', 'who-wpro'], ['NZ', 'NZL', 'New Zealand', 'who-wpro'], ['SG', 'SGP', 'Singapore', 'who-wpro'], ['MY', 'MYS', 'Malaysia', 'who-wpro'], ['PH', 'PHL', 'Philippines', 'who-wpro'], ['VN', 'VNM', 'Viet Nam', 'who-wpro'], ]; const US_STATES: Array<[string, string]> = [ ['AL', 'Alabama'], ['AK', 'Alaska'], ['AZ', 'Arizona'], ['AR', 'Arkansas'], ['CA', 'California'], ['CO', 'Colorado'], ['CT', 'Connecticut'], ['DE', 'Delaware'], ['DC', 'District of Columbia'], ['FL', 'Florida'], ['GA', 'Georgia'], ['HI', 'Hawaii'], ['ID', 'Idaho'], ['IL', 'Illinois'], ['IN', 'Indiana'], ['IA', 'Iowa'], ['KS', 'Kansas'], ['KY', 'Kentucky'], ['LA', 'Louisiana'], ['ME', 'Maine'], ['MD', 'Maryland'], ['MA', 'Massachusetts'], ['MI', 'Michigan'], ['MN', 'Minnesota'], ['MS', 'Mississippi'], ['MO', 'Missouri'], ['MT', 'Montana'], ['NE', 'Nebraska'], ['NV', 'Nevada'], ['NH', 'New Hampshire'], ['NJ', 'New Jersey'], ['NM', 'New Mexico'], ['NY', 'New York'], ['NC', 'North Carolina'], ['ND', 'North Dakota'], ['OH', 'Ohio'], ['OK', 'Oklahoma'], ['OR', 'Oregon'], ['PA', 'Pennsylvania'], ['RI', 'Rhode Island'], ['SC', 'South Carolina'], ['SD', 'South Dakota'], ['TN', 'Tennessee'], ['TX', 'Texas'], ['UT', 'Utah'], ['VT', 'Vermont'], ['VA', 'Virginia'], ['WA', 'Washington'], ['WV', 'West Virginia'], ['WI', 'Wisconsin'], ['WY', 'Wyoming'], ]; const CA_PROVINCES: Array<[string, string]> = [ ['AB', 'Alberta'], ['BC', 'British Columbia'], ['MB', 'Manitoba'], ['NB', 'New Brunswick'], ['NL', 'Newfoundland and Labrador'], ['NS', 'Nova Scotia'], ['NT', 'Northwest Territories'], ['NU', 'Nunavut'], ['ON', 'Ontario'], ['PE', 'Prince Edward Island'], ['QC', 'Quebec'], ['SK', 'Saskatchewan'], ['YT', 'Yukon'], ]; export const GEOGRAPHY_SEED: GeographySeed[] = [ { slug: 'world', name: 'World', kind: 'world' }, ...WHO_REGIONS.map(([slug, name]) => ({ slug, name, kind: 'who_region' as const, parentSlug: 'world' })), ...COUNTRIES.map(([iso2, iso3, name, who]) => ({ slug: name.toLowerCase().replace(/[^a-z0-9]+/g, '-'), name, kind: 'country' as const, iso2, iso3, parentSlug: who, whoRegion: who })), ...US_STATES.map(([code, name]) => ({ slug: `us-${code.toLowerCase()}`, name, kind: 'subdivision' as const, iso2: `US-${code}`, parentSlug: 'united-states', whoRegion: 'who-amro' })), ...CA_PROVINCES.map(([code, name]) => ({ slug: `ca-${code.toLowerCase()}`, name, kind: 'subdivision' as const, iso2: `CA-${code}`, parentSlug: 'canada', whoRegion: 'who-amro' })), ];