1/* === GLOBAL MONOPOLY SEQUENTIAL COUNTRIES BOARD & PROFILE SYSTEM === */ 2(function() { 3 4 const GLOBAL_MONOPOLY_COUNTRIES = [ 5 { id: 'indonesia', name: 'Indonesia', flag: 'ð²ð¨', capital: 'Jakarta', population: '275 Juta', currency: 'IDR (Rp)', lat: -0.7893, lng: 113.9213, zoom: 5, tourist_attractions: ["Candi Borobudur", "Pulau Bali", "Taman Nasional Komodo", "Danau Toba"], wiki_query: 'Indonesia', sample_hotels: ["The Ritz-Carlton Jakarta", "Ayana Resort Bali", "Hotel Indonesia Kempinski"] }, 6 { id: 'singapore', name: 'Singapura', flag: 'ð¸ð¬', capital: 'Singapore', population: '5.9 Juta', currency: 'SGD ($)', lat: 1.3521, lng: 103.8198, zoom: 11, tourist_attractions: ["Marina Bay Sands", "Gardens by the Bay", "Sentosa Island", "Universal Studios"], wiki_query: 'Singapura', sample_hotels: ["Marina Bay Sands Hotel", "Raffles Hotel Singapore", "The Fullerton Hotel"] }, 7 { id: 'malaysia', name: 'Malaysia', flag: 'ð²ð¾', capital: 'Kuala Lumpur', population: '33.5 Juta', currency: 'MYR (RM)', lat: 4.2105, lng: 101.9758, zoom: 6, tourist_attractions: ["Petronas Twin Towers", "Batu Caves", "Langkawi Island", "Genting Highlands"], wiki_query: 'Malaysia', sample_hotels: ["Mandarin Oriental KL", "Banyan Tree Kuala Lumpur", "The St. Regis Langkawi"] }, 8 { id: 'thailand', name: 'Thailand', flag: 'ð¹ð', capital: 'Bangkok', population: '71.6 Juta', currency: 'THB (฿)', lat: 15.8700, lng: 100.9925, zoom: 6, tourist_attractions: ["Grand Palace Bangkok", "Phi Phi Islands", "Wat Arun", "Chiang Mai Night Bazaar"], wiki_query: 'Thailand', sample_hotels: ["The Mandarin Oriental Bangkok", "Capella Bangkok", "Keemala Phuket"] }, 9 { id: 'vietnam', name: 'Vietnam', flag: 'ð»ð³', capital: 'Hanoi', population: '98.8 Juta', currency: 'VND (â«)', lat: 14.0583, lng: 108.2772, zoom: 6, tourist_attractions: ["Ha Long Bay", "Hoi An Ancient Town", "Phong Nha Caves", "Cu Chi Tunnels"], wiki_query: 'Vietnam', sample_hotels: ["Sofitel Legend Metropole Hanoi", "The Reverie Saigon", "JW Marriott Phu Quoc"] }, 10 { id: 'japan', name: 'Jepang', flag: 'ð¯ðµ', capital: 'Tokyo', population: '125.1 Juta', currency: 'JPY (Â¥)', lat: 36.2048, lng: 138.2529, zoom: 5, tourist_attractions: ["Gunung Fuji", "Kuil Senso-ji Tokyo", "Fushimi Inari Taisha Kyoto", "Disneyland Tokyo"], wiki_query: 'Jepang', sample_hotels: ["Aman Tokyo", "Park Hyatt Tokyo", "Hoshinoya Kyoto"] }, 11 { id: 'south_korea', name: 'Korea Selatan', flag: 'ð°ð·', capital: 'Seoul', population: '51.7 Juta', currency: 'KRW (â©)', lat: 35.9078, lng: 127.7669, zoom: 6, tourist_attractions: ["Istana Gyeongbokgung", "Menara N Seoul", "Pulau Jeju", "Busan Haeundae Beach"], wiki_query: 'Korea Selatan', sample_hotels: ["The Shilla Seoul", "Signiel Seoul", "Paradise City Incheon"] }, 12 { id: 'china', name: 'Tiongkok', flag: 'ð¨ð³', capital: 'Beijing', population: '1.41 Miliar', currency: 'CNY (Â¥)', lat: 35.8617, lng: 104.1954, zoom: 4, tourist_attractions: ["Tembok Besar Tiongkok", "Kota Terlarang (Forbidden City)", "Tentara Terakota Xi'an", "The Bund Shanghai"], wiki_query: 'Tiongkok', sample_hotels: ["The Peninsula Beijing", "Waldorf Astoria Shanghai", "Rosewood Guangzhou"] }, 13 { id: 'india', name: 'India', flag: 'ð®ð³', capital: 'New Delhi', population: '1.42 Miliar', currency: 'INR (â¹)', lat: 20.5937, lng: 78.9629, zoom: 5, tourist_attractions: ["Taj Mahal Agra", "Istana Hawa Mahal Jaipur", "Sungai Gangga Varanasi", "Benteng Amber"], wiki_query: 'India', sample_hotels: ["Taj Lake Palace Udaipur", "The Oberoi Amarvilas Agra", "The Leela Palace New Delhi"] }, 14 { id: 'uae', name: 'Uni Emirat Arab', flag: 'ð¦ðª', capital: 'Abu Dhabi', population: '9.4 Juta', currency: 'AED (DH)', lat: 23.4241, lng: 53.8478, zoom: 7, tourist_attractions: ["Burj Khalifa Dubai", "Masjid Agung Sheikh Zayed", "Museum Louvre Abu Dhabi", "Palm Jumeirah"], wiki_query: 'Uni Emirat Arab', sample_hotels: ["Burj Al Arab Jumeirah", "Atlantis The Royal", "Emirates Palace Mandarin Oriental"] }, 15 { id: 'saudi_arabia', name: 'Arab Saudi', flag: 'ð¸ð¦', capital: 'Riyadh', population: '36.4 Juta', currency: 'SAR (SR)', lat: 23.8859, lng: 45.0792, zoom: 5, tourist_attractions: ["Masjidil Haram Makkah", "Masjid Nabawi Madinah", "Al-Ula Hegra", "Kingdom Centre Riyadh"], wiki_query: 'Arab Saudi', sample_hotels: ["Abraj Al Bait Clock Tower", "The Ritz-Carlton Riyadh", "Banyan Tree AlUla"] }, 16 { id: 'egypt', name: 'Mesir', flag: 'ðªð¬', capital: 'Kairo', population: '109.3 Juta', currency: 'EGP (LE)', lat: 26.8206, lng: 30.8025, zoom: 5, tourist_attractions: ["Piramida Giza & Sphinx", "Kuil Luxor & Karnak", "Lembah Para Raja", "Museum Mesir Kairo"], wiki_query: 'Mesir', sample_hotels: ["Marriott Mena House Cairo", "Sofitel Legend Old Cataract Aswan", "Four Seasons Nile Plaza"] }, 17 { id: 'south_africa', name: 'Afrika Selatan', flag: 'ð¿ð¦', capital: 'Pretoria / Cape Town', population: '59.9 Juta', currency: 'ZAR (R)', lat: -30.5595, lng: 22.9375, zoom: 5, tourist_attractions: ["Table Mountain Cape Town", "Taman Nasional Kruger", "Cape of Good Hope", "Garden Route"], wiki_query: 'Afrika Selatan', sample_hotels: ["The Silo Hotel Cape Town", "Singita Ebony Lo
17dge Kruger", "Ellerman House"] }, 18 { id: 'united_kingdom', name: 'Britania Raya (UK)', flag: 'ð¬ð§', capital: 'London', population: '67.0 Juta', currency: 'GBP (£)', lat: 55.3781, lng: -3.4360, zoom: 5, tourist_attractions: ["Big Ben & House of Parliament", "London Eye", "Stonehenge", "Kastil Edinburgh"], wiki_query: 'Britania Raya', sample_hotels: ["The Ritz London", "Claridge's London", "The Savoy"] }, 19 { id: 'france', name: 'Prancis', flag: 'ð«ð·', capital: 'Paris', population: '67.7 Juta', currency: 'EUR (â¬)', lat: 46.2276, lng: 2.2137, zoom: 6, tourist_attractions: ["Menara Eiffel Paris", "Museum Louvre", "Istana Versailles", "French Riviera Nice"], wiki_query: 'Prancis', sample_hotels: ["Ritz Paris", "Le Meurice", "Hotel de Crillon Paris"] }, 20 { id: 'germany', name: 'Jerman', flag: 'ð©ðª', capital: 'Berlin', population: '83.2 Juta', currency: 'EUR (â¬)', lat: 51.1657, lng: 10.4515, zoom: 6, tourist_attractions: ["Gerbang Brandenburg Berlin", "Kastil Neuschwanstein", "Katedral Cologne", "Hutan Hitam (Black Forest)"], wiki_query: 'Jerman', sample_hotels: ["Hotel Adlon Kempinski Berlin", "The Charles Hotel Munich", "Brenner's Park-Hotel"] }, 21 { id: 'italy', name: 'Italia', flag: 'ð®ð¹', capital: 'Roma', population: '59.0 Juta', currency: 'EUR (â¬)', lat: 41.8719, lng: 12.5674, zoom: 6, tourist_attractions: ["Colosseum Roma", "Kanal Venesia", "Menara Miring Pisa", "Pantai Amalfi"], wiki_query: 'Italia', sample_hotels: ["Hotel Danieli Venice", "Hotel Eden Rome", "Belmond Hotel Caruso Amalfi"] }, 22 { id: 'spain', name: 'Spanyol', flag: 'ðªð¸', capital: 'Madrid', population: '47.4 Juta', currency: 'EUR (â¬)', lat: 40.4637, lng: -3.7492, zoom: 6, tourist_attractions: ["Sagrada Familia Barcelona", "Istana Alhambra Granada", "Park Guell", "Museum del Prado Madrid"], wiki_query: 'Spanyol', sample_hotels: ["Mandarin Oriental Ritz Madrid", "W Barcelona", "Hotel Alfonso XIII Seville"] }, 23 { id: 'russia', name: 'Rusia', flag: 'ð·ðº', capital: 'Moskwa', population: '143.4 Juta', currency: 'RUB (â½)', lat: 61.5240, lng: 105.3188, zoom: 3, tourist_attractions: ["Lapangan Merah & Kremlin Moskwa", "Katedral St. Basil", "Danau Baikal", "Museum Hermitage St. Petersburg"], wiki_query: 'Rusia', sample_hotels: ["Hotel Metropol Moscow", "Grand Hotel Europe St. Petersburg", "Four Seasons Lion Palace"] }, 24 { id: 'usa', name: 'Amerika Serikat (USA)', flag: 'ðºð¸', capital: 'Washington D.C.', population: '333.3 Juta', currency: 'USD ($)', lat: 37.0902, lng: -95.7129, zoom: 4, tourist_attractions: ["Patung Liberty New York", "Grand Canyon Arizona", "Walt Disney World Florida", "Golden Gate Bridge San Francisco"], wiki_query: 'Amerika Serikat', sample_hotels: ["The Plaza Hotel New York", "The Beverly Hills Hotel", "Bellagio Las Vegas"] }, 25 { id: 'canada', name: 'Kanada', flag: 'ð¨ð¦', capital: 'Ottawa', population: '38.9 Juta', currency: 'CAD ($)', lat: 56.1304, lng: -106.3468, zoom: 4, tourist_attractions: ["Air Terjun Niagara", "Taman Nasional Banff", "CN Tower Toronto", "Old Quebec City"], wiki_query: 'Kanada', sample_hotels: ["Fairmont Banff Springs", "Château Frontenac Quebec", "Ritz-Carlton Toronto"] }, 26 { id: 'mexico', name: 'Meksiko', flag: 'ð²ð½', capital: 'Mexico City', population: '127.5 Juta', currency: 'MXN ($)', lat: 23.6345, lng: -102.5
26528, zoom: 5, tourist_attractions: ["Piramida Chichen Itza Mayan", "Cancun Beaches", "Teotihuacan Pyramids", "Zocalo Mexico City"], wiki_query: 'Meksiko', sample_hotels: ["Rosewood Mayakoba", "Four Seasons Mexico City", "Las Ventanas al Paraiso Cabo"] }, 27 { id: 'brazil', name: 'Brasil', flag: 'ð§ð·', capital: 'BrasÃlia', population: '214.3 Juta', currency: 'BRL (R$)', lat: -14.2350, lng: -51.9253, zoom: 4, tourist_attractions: ["Patung Kristus Penebus Rio", "Air Terjun Iguazu", "Hutan Hujan Amazon", "Pantai Copacabana"], wiki_query: 'Brasil', sample_hotels: ["Belmond Copacabana Palace Rio", "Rosewood Sao Paulo", "Tijuca Forest Lodge"] }, 28 { id: 'australia', name: 'Australia', flag: 'ð¦ðº', capital: 'Canberra', population: '26.0 Juta', currency: 'AUD ($)', lat: -25.2744, lng: 133.7751, zoom: 4, tourist_attractions: ["Sydney Opera House", "Great Barrier Reef Queensland", "Uluru (Ayers Rock)", "Bondi Beach Sydney"], wiki_query: 'Australia', sample_hotels: ["Park Hyatt Sydney", "The Langham Melbourne", "Qualia Great Barrier Reef"] } 29 ]; 30 31 // Helper functions 32 window.MonopolyBoard = { 33 getCountries: function() { 34 return GLOBAL_MONOPOLY_COUNTRIES; 35 }, 36 37 getCurrentStep: function() { 38 return parseInt(localStorage.getItem('monopoly_country_step') || '0', 10); 39 }, 40 41 setCurrentStep: function(stepIndex) { 42 const total = GLOBAL_MONOPOLY_COUNTRIES.length; 43 const safeStep = ((stepIndex % total) + total) % total; 44 localStorage.setItem('monopoly_country_step', safeStep.toString()); 45 return safeStep; 46 }, 47 48 advanceStep: function(diceSum) { 49 const current = this.getCurrentStep(); 50 const nextStep = this.setCurrentStep(current + diceSum); 51 return { 52 stepIndex: nextStep, 53 totalCountries: GLOBAL_MONOPOLY_COUNTRIES.length, 54 country: GLOBAL_MONOPOLY_COUNTRIES[nextStep] 55 }; 56 }, 57 58 getCountryData: function(idOrIndex) { 59 if (typeof idOrIndex === 'number') { 60 return GLOBAL_MONOPOLY_COUNTRIES[idOrIndex % GLOBAL_MONOPOLY_COUNTRIES.length]; 61 } 62 return GLOBAL_MONOPOLY_COUNTRIES.find(c => c.id === idOrIndex || c.name.toLowerCase() === String(idOrIndex).toLowerCase()) || GLOBAL_MONOPOLY_COUNTRIES[0]; 63 }, 64 65 // Save & Load Editable Notes for Countries 66 getCountryNotes: function(countryId) { 67 return localStorage.getItem('monopoly_notes_' + countryId) || ''; 68 }, 69 70 saveCountryNotes: function(countryId, notesText) { 71 localStorage.setItem('monopoly_notes_' + countryId, notesText); 72 return true; 73 } 74 }; 75 76})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.