const CITIES_US = [
    "New York", "Los Angeles", "Chicago", "Houston", "Phoenix",
    "Philadelphia", "San Antonio", "San Diego", "Dallas", "San Jose",
    "Austin", "Jacksonville", "Fort Worth", "Columbus", "Charlotte",
    "San Francisco", "Indianapolis", "Seattle", "Denver", "Washington",
    "Boston", "El Paso", "Nashville", "Detroit", "Oklahoma City",
    "Portland", "Las Vegas", "Memphis", "Louisville", "Baltimore",
    "Milwaukee", "Albuquerque", "Tucson", "Fresno", "Sacramento",
    "Atlanta", "Miami", "Cleveland", "Omaha", "Minneapolis"
];

const CITIES_GB = [
    "London", "Birmingham", "Manchester", "Glasgow", "Liverpool",
    "Leeds", "Sheffield", "Edinburgh", "Bristol", "Cardiff",
    "Newcastle", "Nottingham", "Southampton", "Belfast", "Leicester"
];

const CITIES_DE = [
    "Berlin", "Hamburg", "Munich", "Cologne", "Frankfurt",
    "Stuttgart", "Dusseldorf", "Leipzig", "Dortmund", "Essen",
    "Bremen", "Dresden", "Hanover", "Nuremberg", "Duisburg"
];

const CITIES_FR = [
    "Paris", "Marseille", "Lyon", "Toulouse", "Nice",
    "Nantes", "Strasbourg", "Montpellier", "Bordeaux", "Lille"
];

const CITIES_IT = [
    "Rome", "Milan", "Naples", "Turin", "Palermo",
    "Genoa", "Florence", "Bologna", "Catania", "Bari"
];

const CITIES_ES = [
    "Madrid", "Barcelona", "Valencia", "Seville", "Zaragoza",
    "Malaga", "Murcia", "Palma", "Las Palmas", "Bilbao"
];

const CITIES_TR = [
    "Istanbul", "Ankara", "Izmir", "Bursa", "Antalya",
    "Adana", "Konya", "Gaziantep", "Mersin", "Diyarbakir"
];

const CITIES_KZ = [
    "Almaty", "Nur-Sultan", "Shymkent", "Karaganda", "Aktobe",
    "Taraz", "Pavlodar", "Ust-Kamenogorsk", "Kyzylorda", "Semey"
];

const CITIES_UA = [
    "Kyiv", "Kharkiv", "Odesa", "Dnipro", "Donetsk",
    "Lviv", "Zaporizhzhia", "Kryvyi Rih", "Mykolaiv", "Mariupol",
    "Vinnytsia", "Kherson", "Poltava", "Chernihiv", "Cherkasy"
];

const CITIES_BY = [
    "Minsk", "Gomel", "Mogilev", "Vitebsk", "Grodno",
    "Brest", "Baranovichi", "Bobruisk", "Borisov", "Pinsk"
];

const CITIES_CN = [
    "Beijing", "Shanghai", "Guangzhou", "Shenzhen", "Chongqing",
    "Tianjin", "Wuhan", "Chengdu", "Nanjing", "Xi'an",
    "Hangzhou", "Dongguan", "Shenyang", "Qingdao", "Harbin"
];

const CITIES_JP = [
    "Tokyo", "Yokohama", "Osaka", "Nagoya", "Sapporo",
    "Fukuoka", "Kobe", "Kyoto", "Kawasaki", "Saitama"
];

const CITIES_IN = [
    "Mumbai", "Delhi", "Bangalore", "Hyderabad", "Chennai",
    "Kolkata", "Ahmedabad", "Pune", "Surat", "Jaipur"
];

const CITIES_BR = [
    "Sao Paulo", "Rio de Janeiro", "Brasilia", "Salvador", "Fortaleza",
    "Belo Horizonte", "Manaus", "Curitiba", "Recife", "Goiania"
];

const CITIES_AU = [
    "Sydney", "Melbourne", "Brisbane", "Perth", "Adelaide",
    "Gold Coast", "Canberra", "Newcastle", "Wollongong", "Sunshine Coast"
];

const CITIES_CA = [
    "Toronto", "Montreal", "Vancouver", "Calgary", "Edmonton",
    "Ottawa", "Winnipeg", "Quebec City", "Hamilton", "Kitchener"
];

const CITIES_DEFAULT = [
    "Other City"
];

const CITIES_BY_CODE = {
    US: CITIES_US,
    GB: CITIES_GB,
    DE: CITIES_DE,
    FR: CITIES_FR,
    IT: CITIES_IT,
    ES: CITIES_ES,
    TR: CITIES_TR,
    KZ: CITIES_KZ,
    UA: CITIES_UA,
    BY: CITIES_BY,
    CN: CITIES_CN,
    JP: CITIES_JP,
    IN: CITIES_IN,
    BR: CITIES_BR,
    AU: CITIES_AU,
    CA: CITIES_CA
};

function getCities(countryCode) {
    return CITIES_BY_CODE[countryCode] || CITIES_DEFAULT;
}