<?php

namespace App\Support;

class LocalizationOptions
{
    public static function currencies(): array
    {
        return [
            ['code' => 'AED', 'name' => 'United Arab Emirates Dirham', 'symbol' => 'د.إ'],
            ['code' => 'AFN', 'name' => 'Afghan Afghani', 'symbol' => '؋'],
            ['code' => 'ALL', 'name' => 'Albanian Lek', 'symbol' => 'L'],
            ['code' => 'AMD', 'name' => 'Armenian Dram', 'symbol' => '֏'],
            ['code' => 'ANG', 'name' => 'Netherlands Antillean Guilder', 'symbol' => 'ƒ'],
            ['code' => 'AOA', 'name' => 'Angolan Kwanza', 'symbol' => 'Kz'],
            ['code' => 'ARS', 'name' => 'Argentine Peso', 'symbol' => '$'],
            ['code' => 'AUD', 'name' => 'Australian Dollar', 'symbol' => '$'],
            ['code' => 'AWG', 'name' => 'Aruban Florin', 'symbol' => 'ƒ'],
            ['code' => 'AZN', 'name' => 'Azerbaijani Manat', 'symbol' => '₼'],
            ['code' => 'BAM', 'name' => 'Bosnia-Herzegovina Convertible Mark', 'symbol' => 'KM'],
            ['code' => 'BBD', 'name' => 'Barbadian Dollar', 'symbol' => '$'],
            ['code' => 'BDT', 'name' => 'Bangladeshi Taka', 'symbol' => '৳'],
            ['code' => 'BGN', 'name' => 'Bulgarian Lev', 'symbol' => 'лв'],
            ['code' => 'BHD', 'name' => 'Bahraini Dinar', 'symbol' => '.د.ب'],
            ['code' => 'BIF', 'name' => 'Burundian Franc', 'symbol' => 'FBu'],
            ['code' => 'BMD', 'name' => 'Bermudian Dollar', 'symbol' => '$'],
            ['code' => 'BND', 'name' => 'Brunei Dollar', 'symbol' => '$'],
            ['code' => 'BOB', 'name' => 'Bolivian Boliviano', 'symbol' => 'Bs.'],
            ['code' => 'BRL', 'name' => 'Brazilian Real', 'symbol' => 'R$'],
            ['code' => 'BSD', 'name' => 'Bahamian Dollar', 'symbol' => '$'],
            ['code' => 'BTN', 'name' => 'Bhutanese Ngultrum', 'symbol' => 'Nu.'],
            ['code' => 'BWP', 'name' => 'Botswana Pula', 'symbol' => 'P'],
            ['code' => 'BYN', 'name' => 'Belarusian Ruble', 'symbol' => 'Br'],
            ['code' => 'BZD', 'name' => 'Belize Dollar', 'symbol' => '$'],
            ['code' => 'CAD', 'name' => 'Canadian Dollar', 'symbol' => '$'],
            ['code' => 'CDF', 'name' => 'Congolese Franc', 'symbol' => 'FC'],
            ['code' => 'CHF', 'name' => 'Swiss Franc', 'symbol' => 'CHF'],
            ['code' => 'CLP', 'name' => 'Chilean Peso', 'symbol' => '$'],
            ['code' => 'CNY', 'name' => 'Chinese Yuan', 'symbol' => '¥'],
            ['code' => 'COP', 'name' => 'Colombian Peso', 'symbol' => '$'],
            ['code' => 'CRC', 'name' => 'Costa Rican Colón', 'symbol' => '₡'],
            ['code' => 'CUP', 'name' => 'Cuban Peso', 'symbol' => '$'],
            ['code' => 'CVE', 'name' => 'Cape Verdean Escudo', 'symbol' => '$'],
            ['code' => 'CZK', 'name' => 'Czech Koruna', 'symbol' => 'Kč'],
            ['code' => 'DJF', 'name' => 'Djiboutian Franc', 'symbol' => 'Fdj'],
            ['code' => 'DKK', 'name' => 'Danish Krone', 'symbol' => 'kr'],
            ['code' => 'DOP', 'name' => 'Dominican Peso', 'symbol' => '$'],
            ['code' => 'DZD', 'name' => 'Algerian Dinar', 'symbol' => 'د.ج'],
            ['code' => 'EGP', 'name' => 'Egyptian Pound', 'symbol' => '£'],
            ['code' => 'ERN', 'name' => 'Eritrean Nakfa', 'symbol' => 'Nfk'],
            ['code' => 'ETB', 'name' => 'Ethiopian Birr', 'symbol' => 'Br'],
            ['code' => 'EUR', 'name' => 'Euro', 'symbol' => '€'],
            ['code' => 'FJD', 'name' => 'Fijian Dollar', 'symbol' => '$'],
            ['code' => 'FKP', 'name' => 'Falkland Islands Pound', 'symbol' => '£'],
            ['code' => 'GBP', 'name' => 'British Pound Sterling', 'symbol' => '£'],
            ['code' => 'GEL', 'name' => 'Georgian Lari', 'symbol' => '₾'],
            ['code' => 'GHS', 'name' => 'Ghanaian Cedi', 'symbol' => '₵'],
            ['code' => 'GIP', 'name' => 'Gibraltar Pound', 'symbol' => '£'],
            ['code' => 'GMD', 'name' => 'Gambian Dalasi', 'symbol' => 'D'],
            ['code' => 'GNF', 'name' => 'Guinean Franc', 'symbol' => 'FG'],
            ['code' => 'GTQ', 'name' => 'Guatemalan Quetzal', 'symbol' => 'Q'],
            ['code' => 'GYD', 'name' => 'Guyanese Dollar', 'symbol' => '$'],
            ['code' => 'HKD', 'name' => 'Hong Kong Dollar', 'symbol' => '$'],
            ['code' => 'HNL', 'name' => 'Honduran Lempira', 'symbol' => 'L'],
            ['code' => 'HRK', 'name' => 'Croatian Kuna', 'symbol' => 'kn'],
            ['code' => 'HTG', 'name' => 'Haitian Gourde', 'symbol' => 'G'],
            ['code' => 'HUF', 'name' => 'Hungarian Forint', 'symbol' => 'Ft'],
            ['code' => 'IDR', 'name' => 'Indonesian Rupiah', 'symbol' => 'Rp'],
            ['code' => 'ILS', 'name' => 'Israeli New Shekel', 'symbol' => '₪'],
            ['code' => 'INR', 'name' => 'Indian Rupee', 'symbol' => '₹'],
            ['code' => 'IQD', 'name' => 'Iraqi Dinar', 'symbol' => 'ع.د'],
            ['code' => 'IRR', 'name' => 'Iranian Rial', 'symbol' => '﷼'],
            ['code' => 'ISK', 'name' => 'Icelandic Króna', 'symbol' => 'kr'],
            ['code' => 'JMD', 'name' => 'Jamaican Dollar', 'symbol' => '$'],
            ['code' => 'JOD', 'name' => 'Jordanian Dinar', 'symbol' => 'د.ا'],
            ['code' => 'JPY', 'name' => 'Japanese Yen', 'symbol' => '¥'],
            ['code' => 'KES', 'name' => 'Kenyan Shilling', 'symbol' => 'KSh'],
            ['code' => 'KGS', 'name' => 'Kyrgyzstani Som', 'symbol' => 'с'],
            ['code' => 'KHR', 'name' => 'Cambodian Riel', 'symbol' => '៛'],
            ['code' => 'KMF', 'name' => 'Comorian Franc', 'symbol' => 'CF'],
            ['code' => 'KRW', 'name' => 'South Korean Won', 'symbol' => '₩'],
            ['code' => 'KWD', 'name' => 'Kuwaiti Dinar', 'symbol' => 'د.ك'],
            ['code' => 'KYD', 'name' => 'Cayman Islands Dollar', 'symbol' => '$'],
            ['code' => 'KZT', 'name' => 'Kazakhstani Tenge', 'symbol' => '₸'],
            ['code' => 'LAK', 'name' => 'Lao Kip', 'symbol' => '₭'],
            ['code' => 'LBP', 'name' => 'Lebanese Pound', 'symbol' => 'ل.ل'],
            ['code' => 'LKR', 'name' => 'Sri Lankan Rupee', 'symbol' => 'Rs'],
            ['code' => 'LRD', 'name' => 'Liberian Dollar', 'symbol' => '$'],
            ['code' => 'LSL', 'name' => 'Lesotho Loti', 'symbol' => 'L'],
            ['code' => 'LYD', 'name' => 'Libyan Dinar', 'symbol' => 'ل.د'],
            ['code' => 'MAD', 'name' => 'Moroccan Dirham', 'symbol' => 'د.م.'],
            ['code' => 'MDL', 'name' => 'Moldovan Leu', 'symbol' => 'L'],
            ['code' => 'MGA', 'name' => 'Malagasy Ariary', 'symbol' => 'Ar'],
            ['code' => 'MKD', 'name' => 'Macedonian Denar', 'symbol' => 'ден'],
            ['code' => 'MMK', 'name' => 'Myanmar Kyat', 'symbol' => 'K'],
            ['code' => 'MNT', 'name' => 'Mongolian Tögrög', 'symbol' => '₮'],
            ['code' => 'MOP', 'name' => 'Macanese Pataca', 'symbol' => 'P'],
            ['code' => 'MRU', 'name' => 'Mauritanian Ouguiya', 'symbol' => 'UM'],
            ['code' => 'MUR', 'name' => 'Mauritian Rupee', 'symbol' => '₨'],
            ['code' => 'MVR', 'name' => 'Maldivian Rufiyaa', 'symbol' => 'Rf'],
            ['code' => 'MWK', 'name' => 'Malawian Kwacha', 'symbol' => 'MK'],
            ['code' => 'MXN', 'name' => 'Mexican Peso', 'symbol' => '$'],
            ['code' => 'MYR', 'name' => 'Malaysian Ringgit', 'symbol' => 'RM'],
            ['code' => 'MZN', 'name' => 'Mozambican Metical', 'symbol' => 'MT'],
            ['code' => 'NAD', 'name' => 'Namibian Dollar', 'symbol' => '$'],
            ['code' => 'NGN', 'name' => 'Nigerian Naira', 'symbol' => '₦'],
            ['code' => 'NIO', 'name' => 'Nicaraguan Córdoba', 'symbol' => 'C$'],
            ['code' => 'NOK', 'name' => 'Norwegian Krone', 'symbol' => 'kr'],
            ['code' => 'NPR', 'name' => 'Nepalese Rupee', 'symbol' => '₨'],
            ['code' => 'NZD', 'name' => 'New Zealand Dollar', 'symbol' => '$'],
            ['code' => 'OMR', 'name' => 'Omani Rial', 'symbol' => 'ر.ع.'],
            ['code' => 'PAB', 'name' => 'Panamanian Balboa', 'symbol' => 'B/.'],
            ['code' => 'PEN', 'name' => 'Peruvian Sol', 'symbol' => 'S/'],
            ['code' => 'PGK', 'name' => 'Papua New Guinean Kina', 'symbol' => 'K'],
            ['code' => 'PHP', 'name' => 'Philippine Peso', 'symbol' => '₱'],
            ['code' => 'PKR', 'name' => 'Pakistani Rupee', 'symbol' => '₨'],
            ['code' => 'PLN', 'name' => 'Polish Złoty', 'symbol' => 'zł'],
            ['code' => 'PYG', 'name' => 'Paraguayan Guaraní', 'symbol' => '₲'],
            ['code' => 'QAR', 'name' => 'Qatari Riyal', 'symbol' => 'ر.ق'],
            ['code' => 'RON', 'name' => 'Romanian Leu', 'symbol' => 'lei'],
            ['code' => 'RSD', 'name' => 'Serbian Dinar', 'symbol' => 'дин'],
            ['code' => 'RUB', 'name' => 'Russian Ruble', 'symbol' => '₽'],
            ['code' => 'RWF', 'name' => 'Rwandan Franc', 'symbol' => 'RF'],
            ['code' => 'SAR', 'name' => 'Saudi Riyal', 'symbol' => '﷼'],
            ['code' => 'SBD', 'name' => 'Solomon Islands Dollar', 'symbol' => '$'],
            ['code' => 'SCR', 'name' => 'Seychellois Rupee', 'symbol' => '₨'],
            ['code' => 'SDG', 'name' => 'Sudanese Pound', 'symbol' => 'ج.س.'],
            ['code' => 'SEK', 'name' => 'Swedish Krona', 'symbol' => 'kr'],
            ['code' => 'SGD', 'name' => 'Singapore Dollar', 'symbol' => '$'],
            ['code' => 'SHP', 'name' => 'Saint Helena Pound', 'symbol' => '£'],
            ['code' => 'SLE', 'name' => 'Sierra Leonean Leone', 'symbol' => 'Le'],
            ['code' => 'SOS', 'name' => 'Somali Shilling', 'symbol' => 'Sh'],
            ['code' => 'SRD', 'name' => 'Surinamese Dollar', 'symbol' => '$'],
            ['code' => 'SSP', 'name' => 'South Sudanese Pound', 'symbol' => '£'],
            ['code' => 'STN', 'name' => 'São Tomé and Príncipe Dobra', 'symbol' => 'Db'],
            ['code' => 'SYP', 'name' => 'Syrian Pound', 'symbol' => '£'],
            ['code' => 'SZL', 'name' => 'Swazi Lilangeni', 'symbol' => 'L'],
            ['code' => 'THB', 'name' => 'Thai Baht', 'symbol' => '฿'],
            ['code' => 'TJS', 'name' => 'Tajikistani Somoni', 'symbol' => 'ЅМ'],
            ['code' => 'TMT', 'name' => 'Turkmenistani Manat', 'symbol' => 'm'],
            ['code' => 'TND', 'name' => 'Tunisian Dinar', 'symbol' => 'د.ت'],
            ['code' => 'TOP', 'name' => 'Tongan Paʻanga', 'symbol' => 'T$'],
            ['code' => 'TRY', 'name' => 'Turkish Lira', 'symbol' => '₺'],
            ['code' => 'TTD', 'name' => 'Trinidad and Tobago Dollar', 'symbol' => '$'],
            ['code' => 'TWD', 'name' => 'New Taiwan Dollar', 'symbol' => '$'],
            ['code' => 'TZS', 'name' => 'Tanzanian Shilling', 'symbol' => 'TSh'],
            ['code' => 'UAH', 'name' => 'Ukrainian Hryvnia', 'symbol' => '₴'],
            ['code' => 'UGX', 'name' => 'Ugandan Shilling', 'symbol' => 'USh'],
            ['code' => 'USD', 'name' => 'US Dollar', 'symbol' => '$'],
            ['code' => 'UYU', 'name' => 'Uruguayan Peso', 'symbol' => '$U'],
            ['code' => 'UZS', 'name' => 'Uzbekistani Som', 'symbol' => 'лв'],
            ['code' => 'VES', 'name' => 'Venezuelan Bolívar', 'symbol' => 'Bs.'],
            ['code' => 'VND', 'name' => 'Vietnamese Đồng', 'symbol' => '₫'],
            ['code' => 'VUV', 'name' => 'Vanuatu Vatu', 'symbol' => 'VT'],
            ['code' => 'WST', 'name' => 'Samoan Tala', 'symbol' => 'T'],
            ['code' => 'XAF', 'name' => 'Central African CFA Franc', 'symbol' => 'FCFA'],
            ['code' => 'XCD', 'name' => 'East Caribbean Dollar', 'symbol' => '$'],
            ['code' => 'XOF', 'name' => 'West African CFA Franc', 'symbol' => 'CFA'],
            ['code' => 'XPF', 'name' => 'CFP Franc', 'symbol' => '₣'],
            ['code' => 'YER', 'name' => 'Yemeni Rial', 'symbol' => '﷼'],
            ['code' => 'ZAR', 'name' => 'South African Rand', 'symbol' => 'R'],
            ['code' => 'ZMW', 'name' => 'Zambian Kwacha', 'symbol' => 'ZK'],
            ['code' => 'ZWL', 'name' => 'Zimbabwean Dollar', 'symbol' => '$'],
        ];
    }

    public static function countries(): array
    {
        return [
            'Afghanistan', 'Albania', 'Algeria', 'Andorra', 'Angola', 'Argentina', 'Armenia', 'Australia',
            'Austria', 'Azerbaijan', 'Bahamas', 'Bahrain', 'Bangladesh', 'Belgium', 'Bhutan', 'Brazil',
            'Brunei', 'Bulgaria', 'Cambodia', 'Canada', 'Chile', 'China', 'Colombia', 'Croatia',
            'Czech Republic', 'Denmark', 'Egypt', 'Finland', 'France', 'Germany', 'Ghana', 'Greece',
            'Hong Kong', 'Hungary', 'India', 'Indonesia', 'Iran', 'Iraq', 'Ireland', 'Italy',
            'Japan', 'Jordan', 'Kazakhstan', 'Kenya', 'Kuwait', 'Malaysia', 'Maldives', 'Mexico',
            'Morocco', 'Myanmar', 'Nepal', 'Netherlands', 'New Zealand', 'Nigeria', 'Norway', 'Oman',
            'Pakistan', 'Philippines', 'Poland', 'Portugal', 'Qatar', 'Romania', 'Russia', 'Saudi Arabia',
            'Singapore', 'South Africa', 'South Korea', 'Spain', 'Sri Lanka', 'Sweden', 'Switzerland',
            'Thailand', 'Turkey', 'Ukraine', 'United Arab Emirates', 'United Kingdom', 'United States',
            'Vietnam', 'Yemen', 'Zimbabwe',
        ];
    }

    public static function currencySymbols(): array
    {
        return collect(self::currencies())->mapWithKeys(fn (array $currency) => [
            $currency['code'] => $currency['symbol'],
        ])->all();
    }
}
