import { m } from './paraglide/messages'; export const placeNameMap = new Map(); for (const [v1, v2] of [ ['Freiburg(Brsg)', 'Freiburg(Breisgau) Hbf'], ['Freiburg(Breisgau)', 'Freiburg(Breisgau) Hbf'], ['Freiburg(Breisgau) Hbf', 'Freiburg(Breisgau) Hbf'], ['Freiburg (Breisgau)', 'Freiburg(Breisgau) Hbf'], ['Freiburg (Breisgau) Hbf', 'Freiburg(Breisgau) Hbf'], ['Freiburg im Breisgau', 'Freiburg(Breisgau) Hbf'], ['Freiburg im Breisgau Hbf', 'Freiburg(Breisgau) Hbf'], ['Freiburg im Breisgau Hauptbahnhof', 'Freiburg(Breisgau) Hbf'], ['Freiburg (D)', 'Freiburg(Breisgau) Hbf'], ['Freiburg (D), Busbahnhof', 'Freiburg(Breisgau) Hbf'], ['Freiburg Hauptbahnhof', 'Freiburg(Breisgau) Hbf'], ['S+U Berlin Hauptbahnhof', 'Berlin Hbf'], ['Berlin Hauptbahnhof', 'Berlin Hbf'], ]) placeNameMap.set(v1.toLowerCase(), v2); export const operators = new Map(); operators.set('Schweizerische Bundesbahnen SBB', m.operator_sbb()); operators.set('SBB', m.operator_sbb()); operators.set('SZU', m.operator_szu()); operators.set('Sihltal-Zürich-Uetliberg-Bahn', m.operator_szu()); operators.set('Verkehrsbetriebe Zürich', m.operator_vbz()); // buses operators.set('Verkehrsbetriebe Zürich INFO+', m.operator_vbz()); // trams operators.set('BLS AG (bls)', m.operator_bls()); operators.set('Städtische Verkehrsbetriebe Bern', m.operator_bernmobil()); operators.set('Regionalverkehr Bern-Solothurn', m.operator_rbs()); operators.set('Verkehrsbetriebe Glattal', m.operator_vbg());