2022-08-30 12:54:51 +02:00
|
|
|
export const tracks = [
|
|
|
|
{name: 'Not Specified', location: '', country: '-', code: 'XX'},
|
|
|
|
{name: 'Sakhir', location: 'Sakhir', country: 'Bahrain', code: 'BH'},
|
|
|
|
{name: 'Jeddah', location: 'Jeddah', country: 'Saudi Arabia', code: 'SA'},
|
|
|
|
{name: 'Melbourne', location: 'Melbourne', country: 'Australia', code: 'AU'},
|
2023-04-13 10:01:20 +02:00
|
|
|
{name: 'Imola', location: 'Imola', country: 'Italy (Emilia-Romagna)', code: 'IT', suffix: "EMI"},
|
2022-08-30 12:54:51 +02:00
|
|
|
{name: 'Miami', location: 'Miami', country: 'United States', code: 'US', suffix: "MIAMI"},
|
|
|
|
{name: 'Catalunya', location: 'Barcelona', country: 'Spain', code: 'ES'},
|
|
|
|
{name: 'Monte Carlo', location: 'Monte Carlo', country: 'Monaco', code: 'MC'},
|
|
|
|
{name: 'Baku', location: 'Baku', country: 'Azerbaijan', code: 'AZ'},
|
2023-04-13 10:01:20 +02:00
|
|
|
{name: 'Montréal', location: 'Montréal', country: 'Canada', code: 'CA'},
|
2022-08-30 12:54:51 +02:00
|
|
|
{name: 'Silverstone', location: 'Silverstone', country: 'Great Britain', code: 'GB'},
|
|
|
|
{name: 'Spielberg', location: 'Spielberg', country: 'Austria', code: 'AT'},
|
|
|
|
{name: 'Paul Ricard', location: 'Le Castellet', country: 'France', code: 'FR'},
|
|
|
|
{name: 'Hungaroring', location: 'Budapest', country: 'Hungary', code: 'HU'},
|
|
|
|
{name: 'Spa-Francorchamps', location: 'Spa-Francorchamps', country: 'Belgium', code: 'BE'},
|
|
|
|
{name: 'Zandvoort', location: 'Zandvoort', country: 'Netherlands', code: 'NL'},
|
|
|
|
{name: 'Monza', location: 'Monza', country: 'Italy', code: 'IT'},
|
2022-08-30 15:32:50 +02:00
|
|
|
{name: 'Marina Bay', location: 'Marina Bay', country: 'Singapore', code: 'SG'},
|
2022-08-30 12:54:51 +02:00
|
|
|
{name: 'Suzuka', location: 'Suzuka', country: 'Japan', code: 'JP'},
|
2022-08-31 06:24:02 +02:00
|
|
|
{name: 'Austin', location: 'Austin', country: 'United States', code: 'US'},
|
2022-08-30 12:54:51 +02:00
|
|
|
{name: 'Mexico City', location: 'Mexico City', country: 'Mexico', code: 'MX'},
|
|
|
|
{name: 'Interlagos', location: 'São Paulo', country: 'Brazil', code: 'BR'},
|
2022-08-30 15:32:50 +02:00
|
|
|
{name: 'Yas Marina', location: 'Yas Island', country: 'UAE', code: 'AE'},
|
2022-08-30 12:54:51 +02:00
|
|
|
].map(x => x.suffix ? {...x, id: x.code + "-" + x.suffix} : {...x, suffix: "", id: x.code})
|
|
|
|
|
|
|
|
export const trackMap = {};
|
2022-08-31 06:24:02 +02:00
|
|
|
tracks.map(x => trackMap[x.id] = x);
|