seriesoftubes/src/game/20-world/50-cities.js
Frederic Jung c64b139a86
Fewer merge conflicts: actions by area, one city per line, sorted dictionaries
- ACT is split by area into game/90-actions/*.js (const ACT in the first file,
  Object.assign in the rest)
- CITY_LL, CITY_NUDGE and LANDS_LL have one entry per line; the id-keyed ones
  are sorted
- site/i18n/*.js are sorted, one entry per line; i18n-check enforces it and
  --fix (npm run i18n:fix) restores it; scripts/i18n-add.js adds, removes
  and renames entries in place
- scripts/legacy/port-branch.js moves a branch's site/index.html edits into
  src/ during a merge with main
- perf workflow and PR template build the base page with scripts/lib/page.js
2026-10-27 10:10:16 +01:00

271 lines
45 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const CITIES=[
{id:'sea',name:'Seattle',x:205,y:245,land:'am',reg:'AM',P:300,ix:'Sea-IX',dc:'Westerly Carrier Hotel'},
{id:'sjc',name:'San Jose',x:240,y:345,land:'am',reg:'AM',P:500,ix:'Silly-Con Valley IX',dc:'Equinox SV'},
{id:'dal',name:'Dallas',x:385,y:415,land:'am',reg:'AM',P:450,ix:'Yee-Haw-IX',dc:'Infomaniac Building'},
{id:'chi',name:'Chicago',x:470,y:270,land:'am',reg:'AM',P:600,ix:'Windy-IX',dc:'350 Cermak'},
{id:'ash',name:'Ashburn',x:572,y:332,land:'am',reg:'AM',P:250,ix:'Equinox Ashburn IX',dc:'Data Center Alley',note:tr('The data-center capital. Rumor says 70% of the internet passes through here, and nobody has checked.')},
{id:'nyc',name:'New York',x:615,y:283,land:'am',reg:'AM',P:1200,ix:'NY-Yikes',dc:'60 Hudson'},
{id:'mia',name:'Miami',x:530,y:482,land:'am',reg:'AM',P:400,ix:'Miam-IX',dc:'Nap of the Americas',note:tr('Cable landing hub for South America.')},
{id:'sao',name:'São Paulo',x:640,y:730,land:'sa',reg:'SA',P:900,br:true,andes:'e',ix:'IX.brrr',ixCheap:0.3,dc:'Digital Reality SP',note:tr('South America’s biggest market, and home of IX.brrr: run by a nonprofit, public prices, and nearly everyone is on it.')},
{id:'lon',name:'London',x:935,y:275,land:'uk',reg:'EU',P:1000,ix:'LYNX',dc:'Telly-House Docklands',note:tr('On an island, so every link off it is a subsea cable.')},
{id:'ams',name:'Amsterdam',x:1015,y:245,land:'eu',reg:'EU',P:350,ix:'HAMS-IX',dc:'Science Park'},
{id:'fra',name:'Frankfurt',x:1075,y:295,land:'eu',reg:'EU',P:600,ix:'DE-KICKS',dc:'Kleyerstraße Campus',note:tr('Europe\'s crossroads. Lots of networks, lots of sausages.')},
{id:'par',name:'Paris',x:990,y:320,land:'eu',reg:'EU',P:900,ix:'Fromage-IX',dc:'Interaction PAR'},
{id:'mrs',name:'Marseille',x:1045,y:378,land:'eu',reg:'EU',P:250,ix:'Bouilla-IX',dc:'Cable Landing Station',note:tr('Subsea cables to Africa and Asia land here.')},
{id:'tor',name:'Toronto',ca:true,x:548,y:252,land:'am',reg:'AM',P:500,ix:'Sorry-IX',dc:'151 Front Street',note:tr('Canada’s hub. Polite packets, long winters, free cooling.')},
{id:'bru',name:'Brussels',x:0,y:0,land:'eu',reg:'EU',P:150,be:true,tape:true,ix:'Frites-IX',dc:'Digital Unreality BRU1',note:tr('Right between London, Amsterdam, Paris and Frankfurt, and somehow pricier than all four. Two networks own every Belgian living room, and nobody switches unless you advertise.')},
{id:'oos',name:'Oostkamp',x:0,y:0,land:'eu',reg:'EU',P:30,be:true,tape:true,ix:'',dc:'DC-Starfish Oostkamp',note:tr('Inland from Ostend, where the cables from England come ashore. The North Sea is shallow, busy and full of trawlers.')},
{id:'bet',name:'Bettembourg',x:0,y:0,land:'eu',reg:'EU',P:60,arpu:1.4,lux:true,ix:'LU-SICK',dc:'LuxDisconnect DC1.2',note:tr('Luxembourg’s data centers are not in Luxembourg City. They are here, Tier IV, and cooled by a power plant that burns waste wood.')},
{id:'mtl',name:'Montreal',ca:true,x:598,y:238,land:'am',reg:'AM',P:300,ix:'Poutine-IX',dc:'Hydro-powered Hangar',note:tr('Cheap hydro power makes it a data center favorite.')},
{id:'kcy',name:'Kansas City',x:0,y:0,land:'am',reg:'AM',P:200,ix:'Toto-IX',dc:'The Limestone Cave',note:tr('The geographic middle of the US. Data centers sit in old limestone mines underground: steady temperature, no tornadoes, and somebody keeps finding Dorothy’s shoes.')},
{id:'cal',name:'Calgary',x:0,y:0,land:'am',reg:'AM',P:150,ca:true,ix:'Stampede-IX',dc:'Bow & Arrow DC',note:tr('The prairie gateway between Vancouver and the rest of Canada. A chinook melts the snow in an afternoon, then it snows again.')},
{id:'van',name:'Vancouver',x:0,y:0,land:'am',reg:'AM',P:250,ca:true,ix:'Raincouver-IX',dc:'Colo-Logics VAN3',note:tr('Canada’s Pacific door. It rains so much that the free cooling comes with free washing.')},
{id:'ott',name:'Ottawa',x:0,y:0,land:'am',reg:'AM',P:120,ca:true,blackout:true,ix:'Bytown-IX',dc:'Purely Colo (Mostly)',note:tr('Canada’s capital, once called Bytown, which suits it. The grid goes out when it is windy, icy or Tuesday, so bring a generator.')},
{id:'lax',name:'Los Angeles',x:270,y:395,land:'am',reg:'AM',P:900,ix:'Any2-Anywhere',dc:'One Wilshire',note:tr('Pacific cables land nearby, and everyone meets in one famous building downtown.')},
{id:'mex',name:'Mexico City',x:368,y:470,land:'am',reg:'AM',P:700,ix:'',dc:'Querétaro Campus',note:tr('Huge mobile market. Most of its traffic still detours through the US.')},
{id:'rek',name:'Reykjavik',x:850,y:170,land:'is',reg:'EU',P:60,ix:'',dc:'Geothermal Bitcoin Barn',note:tr('Free cooling and geothermal power. Plenty of data centers, very few cables.')},
{id:'dub',name:'Dublin',x:876,y:268,land:'ie',reg:'EU',P:250,ix:'Craic-IX',dc:'Clonsilla Hyperscale Campus',note:tr('Every hyperscaler’s European HQ, mostly for tax reasons. The power grid is nervous.')},
{id:'osl',name:'Oslo',x:1062,y:172,land:'eu',reg:'EU',P:200,ix:'NIX-NIX',dc:'Fjord-cooled Mountain Hall'},
{id:'cph',name:'Copenhagen',x:1085,y:215,land:'eu',reg:'EU',P:250,ix:'Hygge-IX',dc:'Danish Design DC',note:tr('Landing point for cables from the US, Iceland and the Baltic.')},
{id:'hel',name:'Helsinki',x:1168,y:140,land:'eu',reg:'EU',P:200,ix:'Sauna-IX',dc:'Underground Sauna Bunker',note:tr('Fast fiber east and west, and one very nervous subsea cable to Germany.')},
{id:'beg',name:'Belgrade',x:1122,y:338,land:'eu',reg:'EU',P:250,ix:'',dc:'Danube Docks DC'},
{id:'sof',name:'Sofia',x:1165,y:358,land:'eu',reg:'EU',P:250,ix:'Rakija-IX',dc:'Vitosha DC',note:tr('Balkan peering hub with famously cheap ports.')},
{id:'dxb',name:'Dubai',x:1292,y:428,land:'eu',reg:'AS',P:400,uae:true,ix:'Sand-IX',dc:'Air-conditioned Mirage DC',note:tr('Crossroads for cables between Europe, Asia and Africa. Some voice apps are blocked, and the A/C bill is legendary.')},
{id:'mos',name:'Moscow',x:1235,y:192,land:'eu',reg:'EU',P:900,ru:true,arpu:0.5,ix:'Borscht-IX',dc:'Very Secure Bunker',note:tr('Sovereign internet rules: every POP needs a government box in the rack, Goggle video is throttled, and the national firewall runs drills.')},
{id:'akl',name:'Auckland',x:1964,y:826,land:'nz',reg:'OC',P:250,ix:'Kiwi-IX',dc:'Sheep-cooled Shed',note:tr('Far from everything. Every packet here has a long journey home.')},
{id:'per',name:'Perth',x:1712,y:785,land:'oc',reg:'OC',au:true,arpu:AU_ARPU,P:200,ix:'Beard-IX',dc:'Very Remote DC',dc2:'Next-Door-DC P#',dc2N:2,note:tr('The most isolated big city on Earth. Asia is closer than Sydney.')},
{id:'jkt',name:'Jakarta',x:1614,y:624,land:'idn',reg:'AS',P:900,ix:'Nasi-IX',dc:'Monsoon-proof DC',note:tr('270 million people on 17,000 islands. Mobile first, and very hungry for bandwidth.')},
{id:'mnl',name:'Manila',x:1714,y:494,land:'ph',reg:'AS',P:600,ix:'',dc:'Typhoon-rated DC',note:tr('Typhoons, earthquakes and a lot of very online people.')},
{id:'ber',name:'Berlin',x:0,y:0,land:'eu',reg:'EU',P:450,ix:'Currywurst-IX',dc:'Former Brewery DC',note:tr('Startups, techno and a surprising number of data centers in old breweries.')},
{id:'ham',name:'Hamburg',x:0,y:0,land:'eu',reg:'EU',P:250,ix:'Moin-IX',dc:'Speicherstadt Colo',note:tr('Germany’s port city. Everyone says “Moin”, at any time of day, and the rain comes in sideways off the Elbe.')},
{id:'dus',name:'Düsseldorf',x:0,y:0,land:'eu',reg:'EU',P:300,ix:'Altbier-IX',dc:'Königsallee Cage',note:tr('The Rhine-Ruhr hub: more carrier-neutral data centers than Hamburg or Munich, and an hour from the Dutch border, so fiber to Amsterdam is short and cheap. Order an Altbier here, never a Kölsch.')},
{id:'muc',name:'Munich',x:0,y:0,land:'eu',reg:'EU',P:250,ix:'Brezn-IX',dc:'Weißwurst Works',note:tr('Bavaria’s capital: cars, insurers and a two-week beer festival that sends mobile traffic through the roof every autumn. Racks must be finished before noon, like the sausages.')},
{id:'zrh',name:'Zurich',x:0,y:0,land:'eu',reg:'EU',P:250,ix:'Cuckoo-IX',dc:'Bank Vault DC',note:tr('Banks, very punctual packets, and racks inside old bank vaults.')},
{id:'nbo',name:'Nairobi',x:0,y:0,land:'af',reg:'AF',cc:'KE',P:350,ix:'Safari-IX',dc:'Silicon Savannah Campus',note:tr('East Africa’s hub. Cables land in Mombasa, and mobile money runs everything.')},
{id:'cai',name:'Cairo',x:0,y:0,land:'af',land2:'eu',reg:'AF',cc:'EG',P:600,ix:'Pharaoh-IX',dc:'Pyramid-adjacent DC',note:tr('Almost every Europe–Asia cable crosses Egypt. The tolls are legendary.')},
{id:'stg',name:'Stuttgart',x:0,y:0,land:'eu',reg:'EU',P:300,ix:'Spätzle-IX',dc:'Kehrwoche-certified DC',ixOnly:true,note:tr('Cars, engineers and Kehrwoche: every rack is swept on a strict rota. Nobody sells transit here, there is only the Spätzle-IX. Peer locally or haul your traffic to Frankfurt.')},
{id:'sto',name:'Stockholm',x:1110,y:160,land:'eu',reg:'EU',P:300,ix:'NodNod',dc:'Nuclear Bunker DC'},
{id:'bcn',name:'Barcelona',x:0,y:0,land:'eu',reg:'EU',P:300,ix:'Catnip-IX',dc:'Poblenou DC',note:tr('Catalonia’s own exchange. Small and proud, and local networks find it impossible to resist.')},
{id:'mad',name:'Madrid',x:935,y:392,land:'eu',reg:'EU',P:600,ix:'Siesta-IX',dc:'Interaction MAD'},
{id:'lag',name:'Lagos',x:1010,y:565,land:'af',reg:'AF',cc:'NG',P:500,ix:'Jollof-IX',dc:'Rack-n-Roll Centre'},
{id:'jnb',name:'Johannesburg',x:1130,y:730,land:'af',reg:'AF',cc:'ZA',P:400,za:true,ix:'Braai-IX',dc:'Tera-Cotta Campus'},
{id:'bom',name:'Mumbai',x:1385,y:488,land:'eu',reg:'AS',P:1100,india:true,ix:'Mumb-IX',dc:'Goregaon Tech Park'},
{id:'sin',name:'Singapore',x:1556,y:568,land:'eu',reg:'AS',P:450,ix:'Lah-IX',dc:'Equinox SG',note:tr('Asia\'s hub. Expensive, humid, very well connected.')},
{id:'hkg',name:'Hong Kong',x:1645,y:440,land:'eu',reg:'AS',P:600,ix:'HK-Kicks',dc:'Mega-Eye Plus'},
{id:'icn',name:'Seoul',x:1722,y:302,land:'eu',reg:'AS',P:900,kr:true,ix:'Kimch-IX',dc:'Gasan Digital Complex',note:tr('Some of the fastest home broadband on the planet, and the strangest peering market. Under “sender pays”, the big three ISPs charge for every gigabit handed to them, and transit here is among the priciest anywhere.')},
{id:'pek',name:'Beijing',x:1652,y:318,land:'eu',reg:'AS',P:1800,cn:true,arpu:0.6,ix:'',dc:'Zhongguancun DC',note:tr('Mainland China. Behind the Great Firewall, with its own rules for foreign networks.')},
{id:'sha',name:'Shanghai',x:1680,y:388,land:'eu',reg:'AS',P:2200,cn:true,arpu:0.6,ix:'',dc:'Lujiazui Data Center',note:tr('Mainland China. Enormous market, strict rules, and a famously congested border.')},
{id:'tok',name:'Tokyo',x:1795,y:320,land:'jp',reg:'AS',P:1400,ix:'JP-Naptime',dc:'Otemachi Tower'},
{id:'syd',name:'Sydney',x:1860,y:790,land:'oc',reg:'OC',au:true,arpu:AU_ARPU,P:500,ix:'IX Straya',dc:'Next-Door-DC S#',dcN:3,dc2:'Equinox SY#',dc2N:7,note:tr('The harbour, the bridge and most of the country’s data centres. Rent is the real latency.')},
{id:'for',name:'Fortaleza',x:0,y:0,land:'sa',reg:'SA',P:250,br:true,andes:'e',ix:'IX.brrr Fortaleza',ixCheap:0.3,dc:'Praia Landing Station',note:tr('Where South America’s cables actually land. Europe, Africa and the US come ashore here, then ride a long backhaul south.')},
{id:'rio',name:'Rio de Janeiro',x:0,y:0,land:'sa',reg:'SA',P:600,br:true,andes:'e',ix:'IX.brrr Rio',ixCheap:0.3,dc:'Copacabana Colo',note:tr('Beaches, cable landings and a Carnival that melts traffic graphs every February.')},
{id:'bsb',name:'Brasília',x:0,y:0,land:'sa',reg:'SA',P:200,br:true,andes:'e',ix:'IX.brrr Brasília',ixCheap:0.3,dc:'Modernist Concrete Colo',note:tr('Brazil’s planned capital, shaped like an airplane. Every ministry sits in a neat row, and every one of them wants its own link.')},
{id:'bhz',name:'Belo Horizonte',x:0,y:0,land:'sa',reg:'SA',P:250,br:true,andes:'e',ix:'IX.brrr BH',ixCheap:0.3,dc:'Pão de Queijo Point',note:tr('Mountains, mines and more bars per head than anywhere else in Brazil. Peering deals get signed over cheese bread.')},
{id:'cwb',name:'Curitiba',x:0,y:0,land:'sa',reg:'SA',P:200,br:true,andes:'e',ix:'IX.brrr Curitiba',ixCheap:0.3,dc:'Pine Nut Park DC',note:tr('Brazil’s coldest big city, and the one that invented bus lanes for everyone else. Half the year, the air outside is free cooling.')},
{id:'poa',name:'Porto Alegre',x:0,y:0,land:'sa',reg:'SA',P:200,br:true,andes:'e',ix:'IX.brrr Porto Alegre',ixCheap:0.3,dc:'Chimarrão Colo',note:tr('The deep south, halfway to Buenos Aires. Barbecue every Sunday, and a hot gourd of mate in every hand, even in summer.')},
{id:'aju',name:'Aracaju',x:0,y:0,land:'sa',reg:'SA',P:40,br:true,andes:'e',ix:'IX.brrr Aracaju',ixCheap:0.3,dc:'Crab Walk Colo'},
{id:'bel',name:'Belém',x:0,y:0,land:'sa',reg:'SA',P:100,br:true,andes:'e',rain:true,ix:'IX.brrr Belém',ixCheap:0.3,dc:'Açaí Bowl DC',note:tr('Gateway to the Amazon, at the mouth of a river so wide you cannot see the other side. It rains every afternoon, right on schedule.')},
{id:'bvb',name:'Boa Vista',x:0,y:0,land:'sa',reg:'SA',P:20,br:true,andes:'e',rain:true,ix:'IX.brrr Boa Vista',ixCheap:0.3,dc:'Northern Lights Racks',note:tr('Brazil’s northernmost capital. The only road south crosses an indigenous reserve that closes to traffic every night.')},
{id:'cac',name:'Cascavel',x:0,y:0,land:'sa',reg:'SA',P:20,br:true,andes:'e',ix:'IX.brrr Cascavel',ixCheap:0.3,dc:'Soybean Silo DC'},
{id:'cpv',name:'Campina Grande',x:0,y:0,land:'sa',reg:'SA',P:20,br:true,andes:'e',ix:'IX.brrr Campina Grande',ixCheap:0.3,dc:'Forró Forum DC',note:tr('Throws the biggest São João festival in the world: a whole month of forró every June. Also a university town full of engineers.')},
{id:'cpq',name:'Campinas',x:0,y:0,land:'sa',reg:'SA',P:130,br:true,andes:'e',ix:'IX.brrr Campinas',ixCheap:0.3,dc:'Silicon Sugarcane Park',note:tr('Brazil’s tech hub, an hour from São Paulo: universities, labs and data centers lined up along the highway.')},
{id:'cgr',name:'Campo Grande',x:0,y:0,land:'sa',reg:'SA',P:40,br:true,andes:'e',ix:'IX.brrr Campo Grande',ixCheap:0.3,dc:'Pantanal Edge Colo'},
{id:'cau',name:'Caruaru',x:0,y:0,land:'sa',reg:'SA',P:20,br:true,andes:'e',ix:'IX.brrr Caruaru',ixCheap:0.3,dc:'Clay Doll Datacenter'},
{id:'cgb',name:'Cuiabá',x:0,y:0,land:'sa',reg:'SA',P:40,br:true,andes:'e',ix:'IX.brrr Cuiabá',ixCheap:0.3,dc:'Forty Degrees DC',note:tr('The geographic center of South America, and one of the hottest cities in Brazil. The chillers never get a day off.')},
{id:'cxj',name:'Caxias do Sul',x:0,y:0,land:'sa',reg:'SA',P:25,br:true,andes:'e',ix:'IX.brrr Caxias do Sul',ixCheap:0.3,dc:'Wine Cellar Racks',note:tr('Italian immigrants, vineyards and factories. Your racks share the hills with the grape harvest.')},
{id:'fec',name:'Feira de Santana',x:0,y:0,land:'sa',reg:'SA',P:25,br:true,andes:'e',ix:'IX.brrr Feira de Santana',ixCheap:0.3,dc:'Crossroads Colo'},
{id:'fln',name:'Florianópolis',x:0,y:0,land:'sa',reg:'SA',P:50,br:true,andes:'e',ix:'IX.brrr Florianópolis',ixCheap:0.3,dc:'Island Uplink DC',note:tr('An island capital of beaches and startups. Half the city works remotely from a surf shack.')},
{id:'igu',name:'Foz do Iguaçu',x:0,y:0,land:'sa',reg:'SA',P:15,br:true,andes:'e',ix:'IX.brrr Foz do Iguaçu',ixCheap:0.3,dc:'Triple Border Racks',note:tr('Where Brazil, Argentina and Paraguay meet, next to giant waterfalls and an even bigger hydro dam. Power is cheap, customs paperwork is not.')},
{id:'gyn',name:'Goiânia',x:0,y:0,land:'sa',reg:'SA',P:100,br:true,andes:'e',ix:'IX.brrr Goiânia',ixCheap:0.3,dc:'Pequi Peak DC',note:tr('Agribusiness capital and home of sertanejo music. Every truck, tractor and silo wants a connection.')},
{id:'jpa',name:'João Pessoa',x:0,y:0,land:'sa',reg:'SA',P:50,br:true,andes:'e',ix:'IX.brrr João Pessoa',ixCheap:0.3,dc:'Sunrise Point DC',note:tr('The easternmost city of the Americas, where the sun rises first. Your NOC shift starts early too.')},
{id:'ljd',name:'Lajeado',x:0,y:0,land:'sa',reg:'SA',P:10,br:true,andes:'e',ix:'IX.brrr Lajeado',ixCheap:0.3,dc:'Valley Co-op Colo',note:tr('A small town with its own IX.brrr, because the local provedores wanted one. Peering is not just for big cities.')},
{id:'ldb',name:'Londrina',x:0,y:0,land:'sa',reg:'SA',P:35,br:true,andes:'e',ix:'IX.brrr Londrina',ixCheap:0.3,dc:'Red Soil DC'},
{id:'mcp',name:'Macapá',x:0,y:0,land:'sa',reg:'SA',P:25,br:true,andes:'e',rain:true,blackout:true,ix:'IX.brrr Macapá',ixCheap:0.3,dc:'Equator Line Colo',note:tr('Right on the equator, at the mouth of the Amazon. No road links it to the rest of Brazil, and its power grid has had very long bad weeks.')},
{id:'mcz',name:'Maceió',x:0,y:0,land:'sa',reg:'SA',P:55,br:true,andes:'e',ix:'IX.brrr Maceió',ixCheap:0.3,dc:'Lagoon View Racks'},
{id:'mao',name:'Manaus',x:0,y:0,land:'sa',reg:'SA',P:90,br:true,andes:'e',rain:true,ix:'IX.brrr Manaus',ixCheap:0.3,dc:'Free Zone Colo',note:tr('Two million people in the middle of the rainforest, with a duty-free factory zone. The fiber follows the rivers, and when it breaks, the repair crew goes by boat.')},
{id:'mgf',name:'Maringá',x:0,y:0,land:'sa',reg:'SA',P:30,br:true,andes:'e',ix:'IX.brrr Maringá',ixCheap:0.3,dc:'Cathedral Cone DC'},
{id:'nat',name:'Natal',x:0,y:0,land:'sa',reg:'SA',P:60,br:true,andes:'e',ix:'IX.brrr Natal',ixCheap:0.3,dc:'Dune Buggy DC',note:tr('Dunes, buggies and the corner of Brazil closest to Africa.')},
{id:'pmw',name:'Palmas',x:0,y:0,land:'sa',reg:'SA',P:15,br:true,andes:'e',ix:'IX.brrr Palmas',ixCheap:0.3,dc:'Planned Grid DC',note:tr('Brazil’s youngest state capital, built from scratch in 1989. The streets are numbered, and so is everything else.')},
{id:'pvh',name:'Porto Velho',x:0,y:0,land:'sa',reg:'SA',P:25,br:true,andes:'e',rain:true,ix:'IX.brrr Porto Velho',ixCheap:0.3,dc:'Madeira River Racks'},
{id:'rao',name:'Ribeirão Preto',x:0,y:0,land:'sa',reg:'SA',P:50,br:true,andes:'e',ix:'IX.brrr Ribeirão Preto',ixCheap:0.3,dc:'Sugarcane & Servers',note:tr('Brazil’s agribusiness capital: sugarcane, orange juice and, by local opinion, the coldest draft beer in the country.')},
{id:'rec',name:'Recife',x:0,y:0,land:'sa',reg:'SA',P:160,br:true,andes:'e',ix:'IX.brrr Recife',ixCheap:0.3,dc:'Frevo Colo',note:tr('The Venice of Brazil, all bridges and rivers, with one of the country’s biggest tech parks in its old harbour.')},
{id:'rbr',name:'Rio Branco',x:0,y:0,land:'sa',reg:'SA',P:20,br:true,andes:'e',rain:true,ix:'IX.brrr Rio Branco',ixCheap:0.3,dc:'Acre-ly Real DC',note:tr('The capital of Acre, a state Brazilians joke does not exist. Your traceroutes say otherwise.')},
{id:'ssa',name:'Salvador',x:0,y:0,land:'sa',reg:'SA',P:160,br:true,andes:'e',ix:'IX.brrr Salvador',ixCheap:0.3,dc:'Axé Uplink DC',note:tr('Brazil’s first capital, with cables landing in the bay and a Carnival of two million people dancing behind trucks full of speakers.')},
{id:'ria',name:'Santa Maria',x:0,y:0,land:'sa',reg:'SA',P:15,br:true,andes:'e',ix:'IX.brrr Santa Maria',ixCheap:0.3,dc:'Gaúcho Plains Colo'},
{id:'sjp',name:'São José do Rio Preto',x:0,y:0,land:'sa',reg:'SA',P:25,br:true,andes:'e',ix:'IX.brrr São José do Rio Preto',ixCheap:0.3,dc:'Rio Preto Racks'},
{id:'slz',name:'São Luís',x:0,y:0,land:'sa',reg:'SA',P:65,br:true,andes:'e',ix:'IX.brrr São Luís',ixCheap:0.3,dc:'Reggae Island DC',note:tr('An island city of tiled colonial houses, known as Brazil’s reggae capital. Its tides are among the biggest in the country.')},
{id:'the',name:'Teresina',x:0,y:0,land:'sa',reg:'SA',P:50,br:true,andes:'e',ix:'IX.brrr Teresina',ixCheap:0.3,dc:'Sunbaked Server Hall',note:tr('The only northeastern capital away from the sea. Famously hot, with lightning storms that keep the surge protectors busy.')},
{id:'vix',name:'Vitória',x:0,y:0,land:'sa',reg:'SA',P:80,br:true,andes:'e',ix:'IX.brrr Vitória',ixCheap:0.3,dc:'Moqueca Colo',note:tr('An island capital with a big iron ore port. Its fish stew is the original, ask anyone from Espírito Santo.')},
{id:'mvd',name:'Montevideo',x:0,y:0,land:'sa',reg:'SA',P:150,andes:'e',ix:'Chivito-IX',dc:'Rambla Racks',note:tr('Uruguay: fiber to almost every home, a laptop for every schoolkid, and a state telco that runs most of it.')},
{id:'asu',name:'Asunción',x:0,y:0,land:'sa',reg:'SA',P:120,andes:'e',ix:'Chipa-IX',dc:'Hydro Surplus DC',note:tr('Paraguay shares two giant dams with its neighbours and has more power than it can use. Crypto miners noticed.')},
{id:'cor',name:'Córdoba',x:0,y:0,land:'sa',reg:'SA',P:150,andes:'e',arpu:0.7,ix:'Fernet-IX',dc:'Sierras Server Shed',note:tr('Argentina’s second city: universities, car factories and fernet with cola, in a ratio locals will argue about for hours.')},
{id:'lpb',name:'La Paz',x:0,y:0,land:'sa',reg:'SA',P:80,andes:'m',ix:'Salteña-IX',dc:'Cable Car Colo',note:tr('The highest seat of government on Earth, at 3,600 m. Commuters ride cable cars, and so does some of the fiber.')},
{id:'uio',name:'Quito',x:0,y:0,land:'sa',reg:'SA',P:100,andes:'m',ix:'Equator-IX',dc:'Middle of the World DC',note:tr('A capital high in the Andes, just south of the equator, that pays in US dollars. Volcanoes on every horizon.')},
{id:'mde',name:'Medellín',x:0,y:0,land:'sa',reg:'SA',P:150,andes:'m',ix:'Paisa-IX',dc:'Eternal Spring DC',note:tr('The city of eternal spring, with outdoor escalators up the hillsides and a busy startup scene.')},
{id:'ccs',name:'Caracas',x:0,y:0,land:'sa',reg:'SA',P:120,blackout:true,ix:'Cachapa-IX',dc:'Generator Included DC',note:tr('A capital in a valley under a green mountain. The national grid has had some famous bad days, so bring a generator.')},
{id:'gua',name:'Guatemala City',x:0,y:0,land:'am',reg:'AM',P:120,ix:'Quetzal-IX',dc:'Volcano View Colo',note:tr('Central America’s biggest city, ringed by volcanoes. One of them smokes every single day.')},
{id:'sjo',name:'San José',x:0,y:0,land:'am',reg:'AM',P:80,ix:'Pura Vida-IX',dc:'Cloud Forest DC',note:tr('Costa Rica runs almost entirely on renewable power, so your racks are green. The cloud forest next door is greener.')},
{id:'qro',name:'Querétaro',x:0,y:0,land:'am',reg:'AM',P:120,ix:'Gordita-IX',dc:'Bajío Bit Barn',note:tr('Mexico’s data center boom town, high and dry in the middle of the country. Every cloud wants a region here.')},
{id:'mty',name:'Monterrey',x:0,y:0,land:'am',reg:'AM',P:200,ix:'Cabrito-IX',dc:'Saddle Mountain Colo',note:tr('Mexico’s industrial capital, a few hours from Texas. Factories, steel and grilled goat on weekends.')},
{id:'gdl',name:'Guadalajara',x:0,y:0,land:'am',reg:'AM',P:200,ix:'Tequila-IX',dc:'Mariachi Mainframes',note:tr('Mexico’s Silicon Valley, home of mariachi and tequila. Chip design by day, music by night.')},
{id:'bue',name:'Buenos Aires',x:0,y:0,land:'sa',reg:'SA',P:500,andes:'e',arpu:0.7,ix:'Asado-IX',dc:'Puerto Madero DC',note:tr('Tango, steak and a currency that changes value while you read this.')},
{id:'scl',name:'Santiago',x:0,y:0,land:'sa',reg:'SA',P:350,andes:'w',ix:'Empanada-IX',dc:'Andes-view Bunker',note:tr('The Pacific gateway. The Andes sit between it and everything else, and the ground shakes now and then.')},
{id:'lim',name:'Lima',x:0,y:0,land:'sa',reg:'SA',P:400,andes:'w',ix:'Ceviche-IX',dc:'Fog-cooled DC',note:tr('It almost never rains, but the sea fog keeps the racks cool.')},
{id:'bog',name:'Bogotá',x:0,y:0,land:'sa',reg:'SA',P:400,andes:'m',ix:'Arepa-IX',dc:'2,600 m Above Sea Level DC',note:tr('High up in the Andes. No fiber crosses the Darién Gap jungle to Panama, so the way north is under the sea.')},
{id:'pan',name:'Panama City',x:0,y:0,land:'am',reg:'AM',P:80,ix:'Canal-IX',dc:'Isthmus Interconnect',note:tr('Every cable between the Americas squeezes past here. Nothing crosses the Darién Gap by land, so South America is always a subsea hop away.')},
{id:'del',name:'Delhi',x:0,y:0,land:'eu',reg:'AS',P:1600,arpu:0.4,india:true,ix:'Butter-Chicken-IX',dc:'Smog-filtered DC',note:tr('An enormous, very online city a long way from the sea. Every subsea byte rides a backhaul from Mumbai or Chennai.')},
{id:'maa',name:'Chennai',x:0,y:0,land:'eu',reg:'AS',P:500,arpu:0.5,india:true,ix:'Dosa-IX',dc:'Cyclone-rated Landing Bay',note:tr('India’s east-coast landing hub, with cables to Singapore. Cyclone season is a thing.')},
{id:'blr',name:'Bengaluru',x:0,y:0,land:'eu',reg:'AS',P:600,arpu:0.6,india:true,ix:'Filter-Kaapi-IX',dc:'Traffic-jam-adjacent Campus',note:tr('India’s tech capital. Packets move faster than the cars outside.')},
{id:'hyd',name:'Hyderabad',x:0,y:0,land:'eu',reg:'AS',P:400,arpu:0.5,india:true,ix:'Biryani-IX',dc:'Hyperscale Hills',note:tr('Every hyperscaler is building a region here. The land is cheap and the biryani is excellent.')},
{id:'tpe',name:'Taipei',x:0,y:0,land:'tw',reg:'AS',P:450,ix:'Bubble-Tea-IX',dc:'Typhoon-proof Tower',note:tr('Makes most of the world’s chips and hangs on a handful of subsea cables. Ships keep “accidentally” dragging their anchors over them.')},
{id:'auh',name:'Abu Dhabi',x:0,y:0,land:'eu',reg:'AS',P:200,arpu:1.4,uae:true,ix:'',dc:'Oasis-cooled Campus',note:tr('The capital. Sovereign AI money and very big data centers. Inside the UAE only the two licensed operators may run fiber.')},
{id:'fuj',name:'Fujairah',x:0,y:0,land:'eu',reg:'AS',P:20,uae:true,ix:'',dc:'Cable Landing Sandcastle',note:tr('Most UAE cables land on this coast, outside the Strait of Hormuz. Getting from here to Dubai means renting from the duopoly.')},
{id:'cpt',name:'Cape Town',x:0,y:0,land:'af',reg:'AF',cc:'ZA',P:250,za:true,ix:'Biltong-IX',dc:'Table Mountain Colo',note:tr('Where the Atlantic cables to Africa’s south land. Penguins on the beach, load shedding on the grid.')},
{id:'dkr',name:'Dakar',x:0,y:0,land:'af',reg:'AF',P:140,cc:'SN',ix:'Thieboudienne-IX',dc:'Teranga Racks',note:tr('Africa’s westernmost capital, where half the cables down the coast stop for a rest. The Atlantic breeze is free cooling.')},
{id:'abj',name:'Abidjan',x:0,y:0,land:'af',reg:'AF',P:200,cc:'CI',ix:'Attiéké-IX',dc:'Plateau Point DC',note:tr('The business capital of French-speaking West Africa, with glass towers on a lagoon and five cables in the bay.')},
{id:'acc',name:'Accra',x:0,y:0,land:'af',reg:'AF',P:170,cc:'GH',ix:'Kelewele-IX',dc:'Black Star Colo',note:tr('Ghana’s capital and a favourite landing spot for cables. Fast fiber, slow traffic on the ring road.')},
{id:'dla',name:'Douala',x:0,y:0,land:'af',reg:'AF',P:130,cc:'CM',ix:'Ndolé-IX',dc:'Wouri Riverside DC',note:tr('Cameroon’s port city. A cable from here goes straight to Brazil, which is the shortest way across the South Atlantic.')},
{id:'fih',name:'Kinshasa',x:0,y:0,land:'af',reg:'AF',P:350,cc:'CD',blackout:true,ix:'Rumba-IX',dc:'Congo River Colo',note:tr('One of Africa’s biggest cities, right across the river from another capital. The grid comes and goes, the rumba never stops.')},
{id:'lad',name:'Luanda',x:0,y:0,land:'af',reg:'AF',P:250,cc:'AO',ix:'Muamba-IX',dc:'Marginal View DC',note:tr('Angola’s oil capital, and the home of cables that run straight to Brazil. One of the priciest cities on Earth for a hotel room.')},
{id:'cas',name:'Casablanca',x:0,y:0,land:'af',reg:'AF',P:150,cc:'MA',ix:'Tagine-IX',dc:'Here’s Looking at You, Rack',note:tr('Morocco’s business capital on the Atlantic, the gateway between Europe and West Africa.')},
{id:'alg',name:'Algiers',x:0,y:0,land:'af',reg:'AF',P:130,cc:'DZ',ix:'Couscous-IX',dc:'Kasbah Colo',note:tr('White houses climbing up from the Mediterranean. The cables go north to Marseille, and so does a lot of the traffic.')},
{id:'tun',name:'Tunis',x:0,y:0,land:'af',reg:'AF',P:100,cc:'TN',ix:'Harissa-IX',dc:'Carthage Was Here DC',note:tr('A capital next to the ruins of Carthage, where the Mediterranean is at its narrowest. Cables cross to Sicily in no time.')},
{id:'jib',name:'Djibouti',x:0,y:0,land:'af',reg:'AF',P:40,cc:'DJ',ix:'Lake Assal-IX',dc:'Cable Landing Capital DC',note:tr('A tiny country at the mouth of the Red Sea where a dozen cables between Europe, Asia and Africa come ashore. It charges accordingly.')},
{id:'add',name:'Addis Ababa',x:0,y:0,land:'af',reg:'AF',P:170,cc:'ET',ix:'Injera-IX',dc:'Highland Coffee DC',note:tr('Ethiopia’s capital at 2,400 m, with no coast of its own: everything comes up from Djibouti. The coffee is the best on the map.')},
{id:'mba',name:'Mombasa',x:0,y:0,land:'af',reg:'AF',P:60,cc:'KE',ix:'Pwani-IX',dc:'Old Town Landing Station',note:tr('Where East Africa’s cables come ashore, then ride the railway up to Nairobi.')},
{id:'dar',name:'Dar es Salaam',x:0,y:0,land:'af',reg:'AF',P:220,cc:'TZ',ix:'Bongo-IX',dc:'Kariakoo Colo',note:tr('Tanzania’s biggest city and the sea gate for half a dozen countries with no coast of their own.')},
{id:'kla',name:'Kampala',x:0,y:0,land:'af',reg:'AF',P:130,cc:'UG',ix:'Matooke-IX',dc:'Seven Hills DC',note:tr('A city on seven hills by Lake Victoria. No coast, so every packet to the sea crosses Kenya or Tanzania first.')},
{id:'kgl',name:'Kigali',x:0,y:0,land:'af',reg:'AF',P:60,cc:'RW',ix:'Umuganda-IX',dc:'Clean Streets Colo',note:tr('Probably the cleanest capital in Africa, with fiber to every district and plastic bags banned at the border.')},
{id:'mpm',name:'Maputo',x:0,y:0,land:'af',reg:'AF',P:70,cc:'MZ',ix:'Matapa-IX',dc:'Polana Point DC',note:tr('Mozambique’s capital, an hour from South Africa. Its cables are the east coast’s backup when the others break.')},
{id:'dur',name:'Durban',x:0,y:0,land:'af',reg:'AF',P:130,cc:'ZA',za:true,ix:'Bunny Chow-IX',dc:'Golden Mile Colo',note:tr('South Africa’s east coast: surf, curry and the beach where the Indian Ocean cables land.')},
{id:'wdh',name:'Windhoek',x:0,y:0,land:'af',reg:'AF',P:25,cc:'NA',ix:'Kapana-IX',dc:'Desert Breeze DC',note:tr('A small capital in the middle of the desert. The cables land at Swakopmund, then cross the dunes.')},
{id:'lun',name:'Lusaka',x:0,y:0,land:'af',reg:'AF',P:100,cc:'ZM',blackout:true,ix:'Nshima-IX',dc:'Copperbelt Colo',note:tr('Zambia runs on hydro power from one big lake. In a dry year the lake runs low, and so does the grid.')},
{id:'hre',name:'Harare',x:0,y:0,land:'af',reg:'AF',P:70,cc:'ZW',blackout:true,ix:'Sadza-IX',dc:'Jacaranda DC',note:tr('Purple jacaranda trees and long power cuts. Every POP here needs a generator and a lot of diesel.')},
{id:'gbe',name:'Gaborone',x:0,y:0,land:'af',reg:'AF',P:25,cc:'BW',ix:'Seswaa-IX',dc:'Diamond Dust DC',note:tr('Botswana: quiet, safe and rich in diamonds, with Johannesburg a short drive away.')},
{id:'mel',name:'Melbourne',x:0,y:0,land:'oc',reg:'OC',au:true,arpu:AU_ARPU,P:450,ix:'Flat-White-IX',dc:'Four-Seasons-a-Day DC',dc2:'Next-Door-DC M#',dc2N:3,note:tr('Four seasons in one day, and the racks feel every one of them.')},
{id:'bne',name:'Brisbane',x:0,y:0,land:'oc',reg:'OC',au:true,arpu:AU_ARPU,P:250,ix:'Bris-Vegas-IX',dc:'Sunshine State Shed',dc2:'Next-Door-DC B#',dc2N:2,note:tr('BrisVegas: big sky, a thunderstorm at four every summer afternoon, and closer to the Pacific cables than Sydney would like to admit. Megapork grew up here.')},
{id:'drw',name:'Darwin',x:0,y:0,land:'oc',reg:'OC',au:true,arpu:AU_ARPU,P:15,ix:'Gator-IX',dc:'Crocodile-proof Landing Station',note:tr('Tiny, tropical and the closest Australian city to Asia. New cables to Singapore and Jakarta land here, next to the crocodiles.')},
{id:'adl',name:'Adelaide',x:0,y:0,land:'oc',reg:'OC',au:true,arpu:AU_ARPU,P:150,ix:'Vineyard-IX',dc:'OurDC',dc2:'Next-Door-DC A1',note:tr('Twenty minutes from everything, except anywhere else.')},
{id:'cbr',name:'Canberra',x:0,y:0,land:'oc',reg:'OC',au:true,arpu:AU_ARPU,P:50,ix:'Capital-IX',dc:'Classified Data Cupboard',dc2:'Next-Door-DC C1',note:tr('Built for the government. The data centres have more security clearances than staff, and every road ends in a roundabout.')},
{id:'chc',name:'Christchurch',x:0,y:0,land:'nzs',reg:'OC',P:40,ix:'Garden-City-IX',dc:'Mainland Colo',note:tr('The Garden City, and the biggest city on the South Island, which locals call the Mainland with a straight face. Everything bound for the North Island crosses Cook Strait.')},
{id:'ivc',name:'Invercargill',x:0,y:0,land:'nzs',reg:'OC',P:10,ix:'',dc:'Sheargrid Makarewa',note:tr('The bottom of the country, on power lines built for an aluminium smelter. Someone is building a 280 MW AI campus in a paddock out of town, so the cables are coming. Probably.')},
{id:'hba',name:'Hobart',x:0,y:0,land:'tas',reg:'OC',au:true,arpu:AU_ARPU,P:25,ix:'Cousin-IX',dc:'Firmest',note:tr('The bottom of the map. Cool air, cheap hydro, and all of Bass Strait between you and the mainland.')},
{id:'hnl',name:'Honolulu',x:0,y:0,land:'hi',reg:'OC',cc:'US',P:70,ix:'Poke-IX',dc:'Dr. Fortress of Solitude',note:tr('Halfway between California and everything else in the Pacific. Cables from the US, Australia, New Zealand, Guam and Tahiti come ashore on Oahu. A POP here ends the light’s long swim: waves start fresh on each side, so each half carries more.')},
{id:'gum',name:'Guam',x:0,y:0,land:'gu',reg:'OC',cc:'GU',P:15,blackout:true,ix:'Spam-IX',dc:'Typhoon-Proof Bunker',note:tr('A small island where cables from the US, Japan, Australia, the Philippines and Singapore all meet. Split a crossing here and each half carries more. Typhoons take the grid down every few years, so bring a generator.')},
{id:'ror',name:'Koror',x:0,y:0,land:'pw',reg:'OC',cc:'PW',P:3,ix:'',dc:'Jellyfish Lake Landing',note:tr('Palau, on a branch cable from Guam. Coral reefs, jellyfish that do not sting, and very little traffic.')},
{id:'maj',name:'Majuro',x:0,y:0,land:'mh',reg:'OC',cc:'MH',P:3,ix:'',dc:'Two Metres Up Colo',note:tr('The capital of the Marshall Islands, a ring of coral two metres above the sea. One cable to Guam, and every packet knows it.')},
{id:'pom',name:'Port Moresby',x:0,y:0,land:'pg',reg:'OC',cc:'PG',P:40,blackout:true,ix:'',dc:'Bird of Paradise DC',note:tr('Papua New Guinea’s capital, in a country of eight hundred languages, with a cable to Sydney. The grid fails often, so bring a generator.')},
{id:'hir',name:'Honiara',x:0,y:0,land:'sb',reg:'OC',cc:'SB',P:8,blackout:true,ix:'Shell Money-IX',dc:'Guadalcanal Grotto',note:tr('The Solomon Islands’ capital, on Guadalcanal. The cable to Sydney only arrived a few years ago; before that it was all satellite. The power is less reliable than the cable.')},
{id:'nou',name:'Nouméa',x:0,y:0,land:'nc',reg:'OC',cc:'NC',P:20,ix:'Bougna-IX',dc:'Lagoon Rack',note:tr('New Caledonia, a slice of France in the Coral Sea, with a cable to Sydney and a nickel mine on every hill.')},
{id:'suv',name:'Suva',x:0,y:0,land:'fj',reg:'OC',cc:'FJ',P:25,ix:'Kava-IX',dc:'Bula Bula Colo',note:tr('Fiji’s capital and the crossroads of the South Pacific. Cables between the US, Australia and New Zealand stop here, and smaller ones go on to Tonga and Samoa.')},
{id:'tbu',name:'Nuku’alofa',x:0,y:0,land:'to',reg:'OC',cc:'TO',P:4,ix:'',dc:'Volcano View DC',note:tr('Tonga hangs on one cable from Fiji. In 2022 an undersea volcano cut it, and the country was offline for weeks.')},
{id:'apw',name:'Apia',x:0,y:0,land:'ws',reg:'OC',cc:'WS',P:5,ix:'',dc:'Siva Shed',note:tr('Samoa’s capital, with cables to Fiji, American Samoa and Tahiti. Sunday is for church, so maintenance windows are on Saturday.')},
{id:'ppg',name:'Pago Pago',x:0,y:0,land:'as',reg:'OC',cc:'AS',P:4,ix:'',dc:'Rainmaker Rack',note:tr('American Samoa: a deep harbour, tuna canneries and a branch of the cable from Australia to Oregon.')},
{id:'ppt',name:'Papeete',x:0,y:0,land:'pf',reg:'OC',cc:'PF',P:18,ix:'',dc:'Overwater Bungalow DC',note:tr('Tahiti, in French Polynesia. A cable runs north to Hawaii, and the new one from Chile to Australia stops here: the stepping stone between South America and Oceania.')},
{id:'hfx',name:'Halifax',x:0,y:0,land:'am',reg:'AM',cc:'CA',ca:true,P:45,ix:'Donair-IX',dc:'Bluenose Bunker',note:tr('Nova Scotia’s capital, and the big North American port closest to Europe. The fastest cable to England starts here, on the shortest line across the ocean, built for traders who pay for every millisecond.')},
{id:'bda',name:'Bermuda',x:0,y:0,land:'bm',reg:'AM',cc:'BM',P:6,ix:'',dc:'Pink Sand Colo',note:tr('A thousand kilometres off the Carolinas. The new cables from the US to Portugal and Spain stop here, so a POP splits the crossing and each half carries more. Ships are said to vanish nearby. Cables, occasionally, do.')},
{id:'pdl',name:'Ponta Delgada',x:0,y:0,land:'az',reg:'EU',cc:'PT',P:8,ix:'',dc:'Caldeira Colo',note:tr('The Azores, in the middle of the Atlantic. Cables from Florida to Lisbon and Spain stop here, so a POP splits the crossing and each half carries more. The cows outnumber the servers.')},
{id:'tci',name:'Tenerife',x:0,y:0,land:'ic',reg:'EU',cc:'ES',P:25,ix:'',dc:'Mojo Picón DC',note:tr('The Canary Islands, a short hop from Lisbon and Morocco. Almost every cable down the west coast of Africa stops here, which turns the long run to Lagos into two shorter ones.')},
{id:'rai',name:'Praia',x:0,y:0,land:'cv',reg:'AF',cc:'CV',P:5,ix:'Cachupa-IX',dc:'Morabeza Rack',note:tr('Cape Verde’s capital, off the coast of Senegal. Cables between Brazil and Europe come ashore on the way, so a POP here splits the South Atlantic in two.')},
{id:'jam',name:'St Helena',x:0,y:0,land:'sh',reg:'AF',cc:'SH',P:1,blackout:true,ix:'',dc:'Napoleon’s Last Rack',note:tr('One of the most remote islands people live on: about 4,500 of them, and once Napoleon, sent here so he could not get away. Its first cable came ashore in 2021, a branch of the one from Portugal to South Africa. The power runs on diesel and hope.')},
{id:'osa',name:'Osaka',x:0,y:0,land:'jp',reg:'AS',P:700,ix:'Takoyaki-IX',dc:'Dojima DC',note:tr('Japan’s second hub, and Tokyo’s disaster-recovery plan. Earthquakes rarely hit both.')},
{id:'kul',name:'Kuala Lumpur',x:0,y:0,land:'eu',reg:'AS',P:350,ix:'Satay-IX',dc:'Twin Towers Colo',note:tr('Cheaper than Singapore next door. The data center builders noticed, and so did the power grid.')},
{id:'bkk',name:'Bangkok',x:0,y:0,land:'eu',reg:'AS',P:600,ix:'Tom-Yum-IX',dc:'Floating Market DC',note:tr('Big, busy and flooded with traffic, sometimes literally.')},
{id:'sgn',name:'Ho Chi Minh City',x:0,y:0,land:'eu',reg:'AS',P:500,vn:true,ix:'Pho-IX',dc:'Scooter-cooled DC',note:tr('Very online and badly served by the sea: at least one of its subsea cables is broken at any given time.')},
{id:'khi',name:'Karachi',x:0,y:0,land:'eu',reg:'AS',P:500,arpu:0.4,ix:'Chai-IX',dc:'Seaview Landing Station',note:tr('Pakistan’s door to the sea. Every cable lands here, and so does every new firewall rule.')},
{id:'dac',name:'Dhaka',x:0,y:0,land:'eu',reg:'AS',P:700,arpu:0.3,ix:'Rickshaw-IX',dc:'Monsoon-mapped DC',note:tr('Huge, dense and hungry. Its international traffic squeezes through a couple of cables, or comes overland from India.')},
{id:'cbo',name:'Colombo',x:0,y:0,land:'lk',reg:'AS',P:120,ix:'Hopper-IX',dc:'Tea-cooled Landing Station',note:tr('A small island at the crossroads of every Indian Ocean cable.')},
{id:'waw',name:'Warsaw',x:0,y:0,land:'eu',reg:'EU',P:550,ix:'Pierogi-IX',dc:'Palace-of-Culture-adjacent DC',note:tr('Central Europe’s rising hub. More data centers every year and a fiercely competitive ISP scene.')},
{id:'prg',name:'Prague',x:0,y:0,land:'eu',reg:'EU',P:300,ix:'Pilsner-IX',dc:'Castle-view Colo',note:tr('Beer is cheaper than water here, and IX ports are cheaper than both.')},
{id:'vie',name:'Vienna',x:0,y:0,land:'eu',reg:'EU',P:300,ix:'Schnitzel-IX',dc:'Waltz-cooled DC',note:tr('The old gateway to Eastern Europe. Packets still bow politely on the way through.')},
{id:'bud',name:'Budapest',x:0,y:0,land:'eu',reg:'EU',P:300,ix:'Goulash-IX',dc:'Thermal Bath DC',note:tr('Waste heat goes straight into the spa next door.')},
{id:'buh',name:'Bucharest',x:0,y:0,land:'eu',reg:'EU',P:400,ix:'Sarmale-IX',dc:'Parliament-sized DC',note:tr('Gigabit home broadband for the price of a coffee. Customers here expect a lot for very little.')},
{id:'tll',name:'Tallinn',x:0,y:0,land:'eu',reg:'EU',P:80,ix:'E-Stonia-IX',dc:'Medieval Wall DC',note:tr('Digital everything, e-residency for anyone, and Baltic cables that ships keep dragging their anchors over.')},
{id:'ist',name:'Istanbul',x:0,y:0,land:'eu',reg:'EU',P:900,ix:'Baklava-IX',dc:'Bosphorus Bridge DC',note:tr('One foot in Europe, one in Asia. Every land route between them crosses here.')},
{id:'kyv',name:'Kyiv',x:0,y:0,land:'eu',reg:'EU',P:500,blackout:true,ix:'Varenyky-IX',dc:'Generator-backed Bunker DC',note:tr('Ukrainian network engineers kept the internet running through blackouts and much worse. Generators, spare fiber and redundant everything are standard here, and the peering scene is famously tough.')},
{id:'jed',name:'Jeddah',x:0,y:0,land:'eu',reg:'AS',P:300,saudi:true,gcc:true,ix:'',dc:'Red Sea Landing Palace',note:tr('Saudi Arabia’s Red Sea cable hub. More and more of the cables between Europe, Africa and Asia stop here instead of in Egypt.')},
{id:'ruh',name:'Riyadh',x:0,y:0,land:'eu',reg:'AS',P:600,saudi:true,gcc:true,ix:'Kabsa-IX',dc:'Desert Megaproject DC',note:tr('The capital, building AI campuses at gigawatt scale. Data about Saudi users has to stay in the Kingdom, and every POP needs a local telecom licence.')},
{id:'doh',name:'Doha',x:0,y:0,land:'eu',reg:'AS',P:150,arpu:1.5,qa:true,ix:'Pearl-IX',dc:'Air-cooled Stadium DC',note:tr('Small, rich and very well connected, as long as the neighbours are on speaking terms. Its only land border is with Saudi Arabia.')},
{id:'mil',name:'Milan',x:0,y:0,land:'eu',reg:'EU',P:450,ix:'MIX-and-Match',dc:'Caldera Park Campus',note:tr('Italy’s digital capital. Fashion-week traffic, an espresso-powered NOC and more exchanges than you would expect.')},
{id:'rom',name:'Rome',x:0,y:0,land:'eu',reg:'EU',P:450,ix:'Carbonara-IX',dc:'Colosseum-adjacent Colo',note:tr('All roads lead to Rome. Most packets still go via Milan.')},
{id:'pmo',name:'Palermo',x:0,y:0,land:'eu',reg:'EU',P:60,ix:'Cannoli-IX',dc:'Sicilian Hub-a-Dub',note:tr('A small city on a big crossroads. Cables from Asia, Africa and the Middle East land here to skip the long way round.')},
{id:'lis',name:'Lisbon',x:0,y:0,land:'eu',reg:'EU',P:300,ix:'Pastel-de-Nata-IX',dc:'Seven Hills Colo',note:tr('Europe’s new Atlantic gateway. Cables to Brazil, Africa and the US land down the coast in Sines.')},
{id:'ath',name:'Athens',x:0,y:0,land:'eu',reg:'EU',P:350,ix:'Souvlaki-IX',dc:'Acropolis-view DC',note:tr('Ancient city, brand new cables. Greece wants to be the eastern Mediterranean’s landing hub.')},
{id:'atn',name:'Atlanta',x:0,y:0,land:'am',reg:'AM',P:450,ix:'Peach-IX',dc:'56 Marietta',note:tr('The Southeast’s carrier hotel. Busiest airport, busiest peering south of Ashburn.')},
{id:'den',name:'Denver',x:0,y:0,land:'am',reg:'AM',P:250,ix:'Mile-High-IX',dc:'Thin Air DC',note:tr('A mile up and halfway between the coasts, so every cross-country route stops here for a breather.')},
{id:'phx',name:'Phoenix',x:0,y:0,land:'am',reg:'AM',P:300,ix:'Cactus-IX',dc:'Dry Heat Campus',note:tr('Cheap land, cheap power and 48 °C summers. Hyperscalers love it. Chillers do not.')},
{id:'bos',name:'Boston',x:0,y:0,land:'am',reg:'AM',P:350,ix:'Chowder-IX',dc:'One Summer Street',note:tr('Universities, biotech and a carrier hotel that has outlived most of its carriers.')},
{id:'hou',name:'Houston',x:0,y:0,land:'am',reg:'AM',P:450,ix:'Rodeo-IX',dc:'Hurricane-hardened DC',note:tr('Oil, gas and hurricanes. The generators here are sized for a week, and they have needed it.')},
{id:'slc',name:'Salt Lake City',x:0,y:0,land:'am',reg:'AM',P:150,ix:'Fry-Sauce-IX',dc:'Great Salt Lake DC',note:tr('Cheap power, dry air and a surprising number of very quiet data centers.')},
{id:'man',name:'Manchester',x:0,y:0,land:'uk',reg:'EU',P:350,ix:'Rainy-City-IX',dc:'Old Cotton Mill Colo',note:tr('The North’s hub, with its own exchange and very damp air-conditioning intakes. Cables to Ireland and Denmark come ashore up the coast.')},
{id:'edi',name:'Edinburgh',x:0,y:0,land:'uk',reg:'EU',P:200,ix:'Haggis-IX',dc:'Castle Rock Colo',note:tr('Scotland’s capital. North Sea cables to Norway and the Faroes land up the coast.')},
{id:'bde',name:'Bude',x:0,y:0,land:'uk',reg:'EU',P:3,ix:'',dc:'Clifftop Landing Station',note:tr('A tiny surfing town in Cornwall where a remarkable share of the transatlantic internet comes ashore. The cliffs are full of fiber.')},
{id:'svg',name:'Stavanger',x:0,y:0,land:'eu',reg:'EU',P:60,ix:'Brunost-IX',dc:'Inside-a-Mountain DC',note:tr('Norway’s oil capital, now full of data centers inside mountains, run on hydro and cooled by the fjord. North Sea cables land here.')},
];
// Display-only nudges for cities that sit on top of each other at map scale; distances still use real lon/lat.
const CITY_NUDGE={
aju:[-13.5,-2.7],
akl:[.6,.4],
alg:[0.9,0.9],
asu:[-1.2,-0.8],
auh:[-5,6],
bcn:[-6,-4],
bel:[0.4,0.4],
bru:[1,3],
cac:[2.4,-0.7],
cas:[0.6,0.6],
cau:[-10.2,2.4],
cph:[-.7,.3],
cpq:[-2.8,-5.2],
cpv:[-10.2,-5.1],
cxj:[5.4,-9.4],
dal:[0,-4],
dar:[0,12.6],
dur:[-0.2,0],
dxb:[9,-7],
fec:[-10.8,1.4],
fln:[0.8,4.4],
fuj:[8,15],
gdl:[-1.2,0.2],
gyn:[-4,2.6],
hel:[-.8,-.2],
hkg:[.8,0],
hou:[0,6],
igu:[-3.9,5.3],
ist:[.8,0],
jib:[0.1,0.2],
jpa:[-0.9,0.6],
khi:[-2,-6],
ldb:[6.2,0.1],
lis:[.8,0],
ljd:[-5.2,-7.7],
mba:[-0.8,0],
mcp:[-1.7,1.7],
mcz:[-7.2,8],
mde:[-1.7,-1.9],
mgf:[-5.8,-4.4],
mia:[-.6,.4],
mtl:[.8,0],
mvd:[2.2,-4.3],
nat:[-1.5,-3.3],
nyc:[.3,-.7],
oos:[-3,0],
osa:[-10,6],
ott:[-3,-3],
qro:[-1.9,-3.9],
rao:[3.6,-2.6],
rec:[-2.4,7.2],
ria:[-2.4,4.9],
sea:[1,4],
sin:[-1.3,-1.3],
sjp:[-3.5,0.4],
slz:[0.3,0.3],
ssa:[0.5,-0.2],
stg:[7,1],
tll:[-4,22],
van:[-3,-6],
vix:[-0.4,0.4],
zrh:[-3,3],
};
for(const c of CITIES){const q=CITY_LL[c.id];if(q){c.lon=q[0];c.lat=q[1];const pt=proj(q[0],q[1]),n=CITY_NUDGE[c.id]||[0,0];c.x=pt[0]+n[0];c.y=pt[1]+n[1];}}
const CITY=Object.fromEntries(CITIES.map(c=>[c.id,c])),CIDX=Object.fromEntries(CITIES.map((c,i)=>[c.id,i]));