import { I18N } from 'aurelia-i18n';
import { Container } from 'aurelia-framework';
var CountryDialCodes = (function () {
    function CountryDialCodes() {
        this.i18n = Container.instance.get(I18N);
    }
    CountryDialCodes.prototype.getCountryListMap = function () {
        var _this = this;
        return Array.from(Object.entries(countryListMap))
            .map(function (c) { return c[1]; })
            .map(function (cCode) {
            var _a;
            return {
                dialCode: cCode.dialCode,
                code: cCode.code,
                country: _this.i18n.tr('countries.' + cCode.code, {
                    ns: 'common', defaultValue: cCode.country
                }),
                isFavorite: (_a = cCode.isFavorite) !== null && _a !== void 0 ? _a : false
            };
        });
    };
    return CountryDialCodes;
}());
export { CountryDialCodes };
var countryListMap = { "AF": { "code": "AF", "country": "Afghanistan", "dialCode": "+93" }, "AX": { "code": "AX", "country": "Aland Islands", "dialCode": "+358" }, "AL": { "code": "AL", "country": "Albania", "dialCode": "+355" }, "DZ": { "code": "DZ", "country": "Algeria", "dialCode": "+213" }, "AS": { "code": "AS", "country": "AmericanSamoa", "dialCode": "+1684" }, "AD": { "code": "AD", "country": "Andorra", "dialCode": "+376" }, "AO": { "code": "AO", "country": "Angola", "dialCode": "+244" }, "AI": { "code": "AI", "country": "Anguilla", "dialCode": "+1264" }, "AQ": { "code": "AQ", "country": "Antarctica", "dialCode": "+672" }, "AG": { "code": "AG", "country": "Antigua and Barbuda", "dialCode": "+1268" }, "AR": { "code": "AR", "country": "Argentina", "dialCode": "+54" }, "AM": { "code": "AM", "country": "Armenia", "dialCode": "+374" }, "AW": { "code": "AW", "country": "Aruba", "dialCode": "+297" }, "AC": { "code": "AC", "country": "Ascension Island", "dialCode": "+247" }, "AU": { "code": "AU", "country": "Australia", "dialCode": "+61" }, "AT": { "code": "AT", "country": "Austria", "dialCode": "+43" }, "AZ": { "code": "AZ", "country": "Azerbaijan", "dialCode": "+994" }, "BS": { "code": "BS", "country": "Bahamas", "dialCode": "+1242" }, "BH": { "code": "BH", "country": "Bahrain", "dialCode": "+973" }, "BD": { "code": "BD", "country": "Bangladesh", "dialCode": "+880" }, "BB": { "code": "BB", "country": "Barbados", "dialCode": "+1246" }, "BY": { "code": "BY", "country": "Belarus", "dialCode": "+375" }, "BE": { "code": "BE", "country": "Belgium", "dialCode": "+32", "isFavorite": true }, "BZ": { "code": "BZ", "country": "Belize", "dialCode": "+501" }, "BJ": { "code": "BJ", "country": "Benin", "dialCode": "+229" }, "BM": { "code": "BM", "country": "Bermuda", "dialCode": "+1441" }, "BT": { "code": "BT", "country": "Bhutan", "dialCode": "+975" }, "BO": { "code": "BO", "country": "Bolivia", "dialCode": "+591" }, "BA": { "code": "BA", "country": "Bosnia and Herzegovina", "dialCode": "+387" }, "BW": { "code": "BW", "country": "Botswana", "dialCode": "+267" }, "BR": { "code": "BR", "country": "Brazil", "dialCode": "+55" }, "IO": { "code": "IO", "country": "British Indian Ocean Territory", "dialCode": "+246" }, "BN": { "code": "BN", "country": "Brunei Darussalam", "dialCode": "+673" }, "BG": { "code": "BG", "country": "Bulgaria", "dialCode": "+359" }, "BF": { "code": "BF", "country": "Burkina Faso", "dialCode": "+226" }, "BI": { "code": "BI", "country": "Burundi", "dialCode": "+257" }, "KH": { "code": "KH", "country": "Cambodia", "dialCode": "+855" }, "CM": { "code": "CM", "country": "Cameroon", "dialCode": "+237" }, "CA": { "code": "CA", "country": "Canada", "dialCode": "+1" }, "CV": { "code": "CV", "country": "Cape Verde", "dialCode": "+238" }, "KY": { "code": "KY", "country": "Cayman Islands", "dialCode": "+1345" }, "CF": { "code": "CF", "country": "Central African Republic", "dialCode": "+236" }, "TD": { "code": "TD", "country": "Chad", "dialCode": "+235" }, "CL": { "code": "CL", "country": "Chile", "dialCode": "+56" }, "CN": { "code": "CN", "country": "China", "dialCode": "+86" }, "CX": { "code": "CX", "country": "Christmas Island", "dialCode": "+61" }, "CC": { "code": "CC", "country": "Cocos (Keeling) Islands", "dialCode": "+61" }, "CO": { "code": "CO", "country": "Colombia", "dialCode": "+57" }, "KM": { "code": "KM", "country": "Comoros", "dialCode": "+269" }, "CG": { "code": "CG", "country": "Congo", "dialCode": "+242" }, "CK": { "code": "CK", "country": "Cook Islands", "dialCode": "+682" }, "CR": { "code": "CR", "country": "Costa Rica", "dialCode": "+506" }, "CI": { "code": "CI", "country": "Cote d'Ivoire", "dialCode": "+225" }, "HR": { "code": "HR", "country": "Croatia", "dialCode": "+385" }, "CU": { "code": "CU", "country": "Cuba", "dialCode": "+53" }, "CY": { "code": "CY", "country": "Cyprus", "dialCode": "+357" }, "CZ": { "code": "CZ", "country": "Czech Republic", "dialCode": "+420" }, "CD": { "code": "CD", "country": "Democratic Republic of the Congo", "dialCode": "+243" }, "DK": { "code": "DK", "country": "Denmark", "dialCode": "+45" }, "DJ": { "code": "DJ", "country": "Djibouti", "dialCode": "+253" }, "DM": { "code": "DM", "country": "Dominica", "dialCode": "+1767" }, "DO": { "code": "DO", "country": "Dominican Republic", "dialCode": "+1849" }, "EC": { "code": "EC", "country": "Ecuador", "dialCode": "+593" }, "EG": { "code": "EG", "country": "Egypt", "dialCode": "+20" }, "SV": { "code": "SV", "country": "El Salvador", "dialCode": "+503" }, "GQ": { "code": "GQ", "country": "Equatorial Guinea", "dialCode": "+240" }, "ER": { "code": "ER", "country": "Eritrea", "dialCode": "+291" }, "EE": { "code": "EE", "country": "Estonia", "dialCode": "+372" }, "SZ": { "code": "SZ", "country": "Eswatini", "dialCode": "+268" }, "ET": { "code": "ET", "country": "Ethiopia", "dialCode": "+251" }, "FK": { "code": "FK", "country": "Falkland Islands (Malvinas)", "dialCode": "+500" }, "FO": { "code": "FO", "country": "Faroe Islands", "dialCode": "+298" }, "FJ": { "code": "FJ", "country": "Fiji", "dialCode": "+679" }, "FI": { "code": "FI", "country": "Finland", "dialCode": "+358" }, "FR": { "code": "FR", "country": "France", "dialCode": "+33", "isFavorite": true }, "GF": { "code": "GF", "country": "French Guiana", "dialCode": "+594" }, "PF": { "code": "PF", "country": "French Polynesia", "dialCode": "+689" }, "GA": { "code": "GA", "country": "Gabon", "dialCode": "+241" }, "GM": { "code": "GM", "country": "Gambia", "dialCode": "+220" }, "GE": { "code": "GE", "country": "Georgia", "dialCode": "+995" }, "DE": { "code": "DE", "country": "Germany", "dialCode": "+49", "isFavorite": true }, "GH": { "code": "GH", "country": "Ghana", "dialCode": "+233" }, "GI": { "code": "GI", "country": "Gibraltar", "dialCode": "+350" }, "GR": { "code": "GR", "country": "Greece", "dialCode": "+30" }, "GL": { "code": "GL", "country": "Greenland", "dialCode": "+299" }, "GD": { "code": "GD", "country": "Grenada", "dialCode": "+1473" }, "GP": { "code": "GP", "country": "Guadeloupe", "dialCode": "+590" }, "GU": { "code": "GU", "country": "Guam", "dialCode": "+1671" }, "GT": { "code": "GT", "country": "Guatemala", "dialCode": "+502" }, "GG": { "code": "GG", "country": "Guernsey", "dialCode": "+44" }, "GN": { "code": "GN", "country": "Guinea", "dialCode": "+224" }, "GW": { "code": "GW", "country": "Guinea-Bissau", "dialCode": "+245" }, "GY": { "code": "GY", "country": "Guyana", "dialCode": "+592" }, "HT": { "code": "HT", "country": "Haiti", "dialCode": "+509" }, "VA": { "code": "VA", "country": "Holy See (Vatican City State)", "dialCode": "+379" }, "HN": { "code": "HN", "country": "Honduras", "dialCode": "+504" }, "HK": { "code": "HK", "country": "Hong Kong", "dialCode": "+852" }, "HU": { "code": "HU", "country": "Hungary", "dialCode": "+36" }, "IS": { "code": "IS", "country": "Iceland", "dialCode": "+354" }, "IN": { "code": "IN", "country": "India", "dialCode": "+91" }, "ID": { "code": "ID", "country": "Indonesia", "dialCode": "+62" }, "IR": { "code": "IR", "country": "Iran", "dialCode": "+98" }, "IQ": { "code": "IQ", "country": "Iraq", "dialCode": "+964" }, "IE": { "code": "IE", "country": "Ireland", "dialCode": "+353" }, "IM": { "code": "IM", "country": "Isle of Man", "dialCode": "+44" }, "IL": { "code": "IL", "country": "Israel", "dialCode": "+972" }, "IT": { "code": "IT", "country": "Italy", "dialCode": "+39" }, "JM": { "code": "JM", "country": "Jamaica", "dialCode": "+1876" }, "JP": { "code": "JP", "country": "Japan", "dialCode": "+81" }, "JE": { "code": "JE", "country": "Jersey", "dialCode": "+44" }, "JO": { "code": "JO", "country": "Jordan", "dialCode": "+962" }, "KZ": { "code": "KZ", "country": "Kazakhstan", "dialCode": "+77" }, "KE": { "code": "KE", "country": "Kenya", "dialCode": "+254" }, "KI": { "code": "KI", "country": "Kiribati", "dialCode": "+686" }, "KP": { "code": "KP", "country": "Korea, Democratic People's Republic of Korea", "dialCode": "+850" }, "KR": { "code": "KR", "country": "Korea, Republic of South Korea", "dialCode": "+82" }, "XK": { "code": "XK", "country": "Kosovo", "dialCode": "+383" }, "KW": { "code": "KW", "country": "Kuwait", "dialCode": "+965" }, "KG": { "code": "KG", "country": "Kyrgyzstan", "dialCode": "+996" }, "LA": { "code": "LA", "country": "Laos", "dialCode": "+856" }, "LV": { "code": "LV", "country": "Latvia", "dialCode": "+371" }, "LB": { "code": "LB", "country": "Lebanon", "dialCode": "+961" }, "LS": { "code": "LS", "country": "Lesotho", "dialCode": "+266" }, "LR": { "code": "LR", "country": "Liberia", "dialCode": "+231" }, "LY": { "code": "LY", "country": "Libya", "dialCode": "+218" }, "LI": { "code": "LI", "country": "Liechtenstein", "dialCode": "+423" }, "LT": { "code": "LT", "country": "Lithuania", "dialCode": "+370" }, "LU": { "code": "LU", "country": "Luxembourg", "dialCode": "+352", "isFavorite": true }, "MO": { "code": "MO", "country": "Macau", "dialCode": "+853" }, "MG": { "code": "MG", "country": "Madagascar", "dialCode": "+261" }, "MW": { "code": "MW", "country": "Malawi", "dialCode": "+265" }, "MY": { "code": "MY", "country": "Malaysia", "dialCode": "+60" }, "MV": { "code": "MV", "country": "Maldives", "dialCode": "+960" }, "ML": { "code": "ML", "country": "Mali", "dialCode": "+223" }, "MT": { "code": "MT", "country": "Malta", "dialCode": "+356" }, "MH": { "code": "MH", "country": "Marshall Islands", "dialCode": "+692" }, "MQ": { "code": "MQ", "country": "Martinique", "dialCode": "+596" }, "MR": { "code": "MR", "country": "Mauritania", "dialCode": "+222" }, "MU": { "code": "MU", "country": "Mauritius", "dialCode": "+230" }, "YT": { "code": "YT", "country": "Mayotte", "dialCode": "+262" }, "MX": { "code": "MX", "country": "Mexico", "dialCode": "+52" }, "FM": { "code": "FM", "country": "Micronesia, Federated States of Micronesia", "dialCode": "+691" }, "MD": { "code": "MD", "country": "Moldova", "dialCode": "+373" }, "MC": { "code": "MC", "country": "Monaco", "dialCode": "+377" }, "MN": { "code": "MN", "country": "Mongolia", "dialCode": "+976" }, "ME": { "code": "ME", "country": "Montenegro", "dialCode": "+382" }, "MS": { "code": "MS", "country": "Montserrat", "dialCode": "+1664" }, "MA": { "code": "MA", "country": "Morocco", "dialCode": "+212" }, "MZ": { "code": "MZ", "country": "Mozambique", "dialCode": "+258" }, "MM": { "code": "MM", "country": "Myanmar", "dialCode": "+95" }, "NA": { "code": "NA", "country": "Namibia", "dialCode": "+264" }, "NR": { "code": "NR", "country": "Nauru", "dialCode": "+674" }, "NP": { "code": "NP", "country": "Nepal", "dialCode": "+977" }, "NL": { "code": "NL", "country": "Netherlands", "dialCode": "+31", "isFavorite": true }, "NC": { "code": "NC", "country": "New Caledonia", "dialCode": "+687" }, "NZ": { "code": "NZ", "country": "New Zealand", "dialCode": "+64" }, "NI": { "code": "NI", "country": "Nicaragua", "dialCode": "+505" }, "NE": { "code": "NE", "country": "Niger", "dialCode": "+227" }, "NG": { "code": "NG", "country": "Nigeria", "dialCode": "+234" }, "NU": { "code": "NU", "country": "Niue", "dialCode": "+683" }, "NF": { "code": "NF", "country": "Norfolk Island", "dialCode": "+672" }, "MK": { "code": "MK", "country": "North Macedonia", "dialCode": "+389" }, "MP": { "code": "MP", "country": "Northern Mariana Islands", "dialCode": "+1670" }, "NO": { "code": "NO", "country": "Norway", "dialCode": "+47" }, "OM": { "code": "OM", "country": "Oman", "dialCode": "+968" }, "PK": { "code": "PK", "country": "Pakistan", "dialCode": "+92" }, "PW": { "code": "PW", "country": "Palau", "dialCode": "+680" }, "PS": { "code": "PS", "country": "Palestine", "dialCode": "+970" }, "PA": { "code": "PA", "country": "Panama", "dialCode": "+507" }, "PG": { "code": "PG", "country": "Papua New Guinea", "dialCode": "+675" }, "PY": { "code": "PY", "country": "Paraguay", "dialCode": "+595" }, "PE": { "code": "PE", "country": "Peru", "dialCode": "+51" }, "PH": { "code": "PH", "country": "Philippines", "dialCode": "+63" }, "PN": { "code": "PN", "country": "Pitcairn", "dialCode": "+872" }, "PL": { "code": "PL", "country": "Poland", "dialCode": "+48" }, "PT": { "code": "PT", "country": "Portugal", "dialCode": "+351" }, "PR": { "code": "PR", "country": "Puerto Rico", "dialCode": "+1939" }, "QA": { "code": "QA", "country": "Qatar", "dialCode": "+974" }, "RE": { "code": "RE", "country": "Reunion", "dialCode": "+262" }, "RO": { "code": "RO", "country": "Romania", "dialCode": "+40" }, "RU": { "code": "RU", "country": "Russia", "dialCode": "+7" }, "RW": { "code": "RW", "country": "Rwanda", "dialCode": "+250" }, "BL": { "code": "BL", "country": "Saint Barthelemy", "dialCode": "+590" }, "SH": { "code": "SH", "country": "Saint Helena, Ascension and Tristan Da Cunha", "dialCode": "+290" }, "KN": { "code": "KN", "country": "Saint Kitts and Nevis", "dialCode": "+1869" }, "LC": { "code": "LC", "country": "Saint Lucia", "dialCode": "+1758" }, "MF": { "code": "MF", "country": "Saint Martin", "dialCode": "+590" }, "PM": { "code": "PM", "country": "Saint Pierre and Miquelon", "dialCode": "+508" }, "VC": { "code": "VC", "country": "Saint Vincent and the Grenadines", "dialCode": "+1784" }, "WS": { "code": "WS", "country": "Samoa", "dialCode": "+685" }, "SM": { "code": "SM", "country": "San Marino", "dialCode": "+378" }, "ST": { "code": "ST", "country": "Sao Tome and Principe", "dialCode": "+239" }, "SA": { "code": "SA", "country": "Saudi Arabia", "dialCode": "+966" }, "SN": { "code": "SN", "country": "Senegal", "dialCode": "+221" }, "RS": { "code": "RS", "country": "Serbia", "dialCode": "+381" }, "SC": { "code": "SC", "country": "Seychelles", "dialCode": "+248" }, "SL": { "code": "SL", "country": "Sierra Leone", "dialCode": "+232" }, "SG": { "code": "SG", "country": "Singapore", "dialCode": "+65" }, "SX": { "code": "SX", "country": "Sint Maarten", "dialCode": "+1721" }, "SK": { "code": "SK", "country": "Slovakia", "dialCode": "+421" }, "SI": { "code": "SI", "country": "Slovenia", "dialCode": "+386" }, "SB": { "code": "SB", "country": "Solomon Islands", "dialCode": "+677" }, "SO": { "code": "SO", "country": "Somalia", "dialCode": "+252" }, "ZA": { "code": "ZA", "country": "South Africa", "dialCode": "+27" }, "GS": { "code": "GS", "country": "South Georgia and the South Sandwich Islands", "dialCode": "+500" }, "SS": { "code": "SS", "country": "South Sudan", "dialCode": "+211" }, "ES": { "code": "ES", "country": "Spain", "dialCode": "+34" }, "LK": { "code": "LK", "country": "Sri Lanka", "dialCode": "+94" }, "SD": { "code": "SD", "country": "Sudan", "dialCode": "+249" }, "SR": { "code": "SR", "country": "Suriname", "dialCode": "+597" }, "SJ": { "code": "SJ", "country": "Svalbard and Jan Mayen", "dialCode": "+47" }, "SE": { "code": "SE", "country": "Sweden", "dialCode": "+46" }, "CH": { "code": "CH", "country": "Switzerland", "dialCode": "+41" }, "SY": { "code": "SY", "country": "Syrian Arab Republic", "dialCode": "+963" }, "TW": { "code": "TW", "country": "Taiwan", "dialCode": "+886" }, "TJ": { "code": "TJ", "country": "Tajikistan", "dialCode": "+992" }, "TZ": { "code": "TZ", "country": "Tanzania, United Republic of Tanzania", "dialCode": "+255" }, "TH": { "code": "TH", "country": "Thailand", "dialCode": "+66" }, "TL": { "code": "TL", "country": "Timor-Leste", "dialCode": "+670" }, "TG": { "code": "TG", "country": "Togo", "dialCode": "+228" }, "TK": { "code": "TK", "country": "Tokelau", "dialCode": "+690" }, "TO": { "code": "TO", "country": "Tonga", "dialCode": "+676" }, "TT": { "code": "TT", "country": "Trinidad and Tobago", "dialCode": "+1868" }, "TN": { "code": "TN", "country": "Tunisia", "dialCode": "+216" }, "TR": { "code": "TR", "country": "Turkey", "dialCode": "+90" }, "TM": { "code": "TM", "country": "Turkmenistan", "dialCode": "+993" }, "TC": { "code": "TC", "country": "Turks and Caicos Islands", "dialCode": "+1649" }, "TV": { "code": "TV", "country": "Tuvalu", "dialCode": "+688" }, "UG": { "code": "UG", "country": "Uganda", "dialCode": "+256" }, "UA": { "code": "UA", "country": "Ukraine", "dialCode": "+380" }, "AE": { "code": "AE", "country": "United Arab Emirates", "dialCode": "+971" }, "GB": { "code": "GB", "country": "United Kingdom", "dialCode": "+44" }, "US": { "code": "US", "country": "United States", "dialCode": "+1" }, "UY": { "code": "UY", "country": "Uruguay", "dialCode": "+598" }, "UZ": { "code": "UZ", "country": "Uzbekistan", "dialCode": "+998" }, "VU": { "code": "VU", "country": "Vanuatu", "dialCode": "+678" }, "VE": { "code": "VE", "country": "Venezuela, Bolivarian Republic of Venezuela", "dialCode": "+58" }, "VN": { "code": "VN", "country": "Vietnam", "dialCode": "+84" }, "VG": { "code": "VG", "country": "Virgin Islands, British", "dialCode": "+1284" }, "VI": { "code": "VI", "country": "Virgin Islands, U.S.", "dialCode": "+1340" }, "WF": { "code": "WF", "country": "Wallis and Futuna", "dialCode": "+681" }, "YE": { "code": "YE", "country": "Yemen", "dialCode": "+967" }, "ZM": { "code": "ZM", "country": "Zambia", "dialCode": "+260" }, "ZW": { "code": "ZW", "country": "Zimbabwe", "dialCode": "+263" }
};

//# sourceMappingURL=country-dial-codes.js.map
