KEY_NAME = "name"
KEY_ALPHA2 = "alpha2"
KEY_ALPHA3 = "alpha3"
KEY_SEARCH = "search"
KEY_POPULAR_NAME = "popular_name"
KEY_CODE = "code"
KEY_CAT = 'category'
KEY_INTL_PHONE_CODE = "intl_phone_code"
KEY_AREA_PHONE_CODE = "area_phone_code"
KEY_AREA = "area"
KEY_POPULATION = "population"

COUNTRY_CODES = [{KEY_NAME: 'Afghanistan', KEY_ALPHA2: 'AF', KEY_ALPHA3: 'AFG'},
 {KEY_NAME: 'Albania', KEY_ALPHA2: 'AL', KEY_ALPHA3: 'ALB'},
 {KEY_NAME: 'Algeria', KEY_ALPHA2: 'DZ', KEY_ALPHA3: 'DZA'},
 {KEY_NAME: 'American Samoa', KEY_ALPHA2: 'AS', KEY_ALPHA3: 'ASM'},
 {KEY_NAME: 'Andorra', KEY_ALPHA2: 'AD', KEY_ALPHA3: 'AND'},
 {KEY_NAME: 'Angola', KEY_ALPHA2: 'AO', KEY_ALPHA3: 'AGO'},
 {KEY_NAME: 'Anguilla', KEY_ALPHA2: 'AI', KEY_ALPHA3: 'AIA'},
 {KEY_NAME: 'Antarctica', KEY_ALPHA2: 'AQ', KEY_ALPHA3: 'ATA'},
 {KEY_NAME: 'Antigua and Barbuda', KEY_ALPHA2: 'AG', KEY_ALPHA3: 'ATG'},
 {KEY_NAME: 'Argentina', KEY_ALPHA2: 'AR', KEY_ALPHA3: 'ARG'},
 {KEY_NAME: 'Armenia', KEY_ALPHA2: 'AM', KEY_ALPHA3: 'ARM'},
 {KEY_NAME: 'Aruba', KEY_ALPHA2: 'AW', KEY_ALPHA3: 'ABW'},
 {KEY_NAME: 'Australia', KEY_ALPHA2: 'AU', KEY_ALPHA3: 'AUS'},
 {KEY_NAME: 'Austria', KEY_ALPHA2: 'AT', KEY_ALPHA3: 'AUT'},
 {KEY_NAME: 'Azerbaijan', KEY_ALPHA2: 'AZ', KEY_ALPHA3: 'AZE'},
 {KEY_NAME: 'Bahamas (the)', KEY_ALPHA2: 'BS', KEY_ALPHA3: 'BHS', KEY_POPULAR_NAME: 'Bahamas'},
 {KEY_NAME: 'Bahrain', KEY_ALPHA2: 'BH', KEY_ALPHA3: 'BHR'},
 {KEY_NAME: 'Bangladesh', KEY_ALPHA2: 'BD', KEY_ALPHA3: 'BGD'},
 {KEY_NAME: 'Barbados', KEY_ALPHA2: 'BB', KEY_ALPHA3: 'BRB'},
 {KEY_NAME: 'Belarus', KEY_ALPHA2: 'BY', KEY_ALPHA3: 'BLR'},
 {KEY_NAME: 'Belgium', KEY_ALPHA2: 'BE', KEY_ALPHA3: 'BEL'},
 {KEY_NAME: 'Belize', KEY_ALPHA2: 'BZ', KEY_ALPHA3: 'BLZ'},
 {KEY_NAME: 'Benin', KEY_ALPHA2: 'BJ', KEY_ALPHA3: 'BEN'},
 {KEY_NAME: 'Bermuda', KEY_ALPHA2: 'BM', KEY_ALPHA3: 'BMU'},
 {KEY_NAME: 'Bhutan', KEY_ALPHA2: 'BT', KEY_ALPHA3: 'BTN'},
 {KEY_NAME: 'Bolivia (Plurinational State of)', KEY_ALPHA2: 'BO', KEY_ALPHA3: 'BOL', KEY_POPULAR_NAME: 'Bolivia'},
 {KEY_NAME: 'Bonaire, Sint Eustatius and Saba', KEY_ALPHA2: 'BQ', KEY_ALPHA3: 'BES'},
 {KEY_NAME: 'Bosnia and Herzegovina', KEY_ALPHA2: 'BA', KEY_ALPHA3: 'BIH'},
 {KEY_NAME: 'Botswana', KEY_ALPHA2: 'BW', KEY_ALPHA3: 'BWA'},
 {KEY_NAME: 'Bouvet Island', KEY_ALPHA2: 'BV', KEY_ALPHA3: 'BVT'},
 {KEY_NAME: 'Brazil', KEY_ALPHA2: 'BR', KEY_ALPHA3: 'BRA'},
 {KEY_NAME: 'British Indian Ocean Territory (the)', KEY_ALPHA2: 'IO', KEY_ALPHA3: 'IOT', KEY_POPULAR_NAME: 'British Indian Ocean Territory'},
 {KEY_NAME: 'Brunei Darussalam', KEY_ALPHA2: 'BN', KEY_ALPHA3: 'BRN', KEY_POPULAR_NAME: 'Brunei'},
 {KEY_NAME: 'Bulgaria', KEY_ALPHA2: 'BG', KEY_ALPHA3: 'BGR'},
 {KEY_NAME: 'Burkina Faso', KEY_ALPHA2: 'BF', KEY_ALPHA3: 'BFA'},
 {KEY_NAME: 'Burundi', KEY_ALPHA2: 'BI', KEY_ALPHA3: 'BDI'},
 {KEY_NAME: 'Cabo Verde', KEY_ALPHA2: 'CV', KEY_ALPHA3: 'CPV', KEY_SEARCH: ['Cape Verde']},
 {KEY_NAME: 'Cambodia', KEY_ALPHA2: 'KH', KEY_ALPHA3: 'KHM'},
 {KEY_NAME: 'Cameroon', KEY_ALPHA2: 'CM', KEY_ALPHA3: 'CMR'},
 {KEY_NAME: 'Canada', KEY_ALPHA2: 'CA', KEY_ALPHA3: 'CAN'},
 {KEY_NAME: 'Cayman Islands (the)', KEY_ALPHA2: 'KY', KEY_ALPHA3: 'CYM', KEY_POPULAR_NAME: 'Cayman Islands'},
 {KEY_NAME: 'Central African Republic (the)', KEY_ALPHA2: 'CF', KEY_ALPHA3: 'CAF', KEY_POPULAR_NAME: 'Central African Republic'},
 {KEY_NAME: 'Chad', KEY_ALPHA2: 'TD', KEY_ALPHA3: 'TCD'},
 {KEY_NAME: 'Chile', KEY_ALPHA2: 'CL', KEY_ALPHA3: 'CHL'},
 {KEY_NAME: 'China', KEY_ALPHA2: 'CN', KEY_ALPHA3: 'CHN'},
 {KEY_NAME: 'Christmas Island', KEY_ALPHA2: 'CX', KEY_ALPHA3: 'CXR'},
 {KEY_NAME: 'Cocos (Keeling) Islands (the)', KEY_ALPHA2: 'CC', KEY_ALPHA3: 'CCK', KEY_POPULAR_NAME: 'Cocos (Keeling) Islands'},
 {KEY_NAME: 'Colombia', KEY_ALPHA2: 'CO', KEY_ALPHA3: 'COL'},
 {KEY_NAME: 'Comoros (the)', KEY_ALPHA2: 'KM', KEY_ALPHA3: 'COM', KEY_POPULAR_NAME: 'Comoros'},
 {KEY_NAME: 'Congo (the Democratic Republic of the)', KEY_ALPHA2: 'CD', KEY_ALPHA3: 'COD', KEY_POPULAR_NAME: 'DRC', KEY_SEARCH: ["Democratic Republic of Congo", "Congo DR", "DR Congo"]},
 {KEY_NAME: 'Congo (the)', KEY_ALPHA2: 'CG', KEY_ALPHA3: 'COG', KEY_POPULAR_NAME: 'Congo'},
 {KEY_NAME: 'Cook Islands (the)', KEY_ALPHA2: 'CK', KEY_ALPHA3: 'COK', KEY_POPULAR_NAME: 'Cook Islands'},
 {KEY_NAME: 'Costa Rica', KEY_ALPHA2: 'CR', KEY_ALPHA3: 'CRI'},
 {KEY_NAME: 'Croatia', KEY_ALPHA2: 'HR', KEY_ALPHA3: 'HRV', KEY_SEARCH: ["Hrvatska"]},
 {KEY_NAME: 'Cuba', KEY_ALPHA2: 'CU', KEY_ALPHA3: 'CUB'},
 {KEY_NAME: 'Curaçao', KEY_ALPHA2: 'CW', KEY_ALPHA3: 'CUW', KEY_SEARCH: ["Curacao"]},
 {KEY_NAME: 'Cyprus', KEY_ALPHA2: 'CY', KEY_ALPHA3: 'CYP'},
 {KEY_NAME: 'Czechia', KEY_ALPHA2: 'CZ', KEY_ALPHA3: 'CZE', KEY_POPULAR_NAME: "Czech Republic"},
 {KEY_NAME: "Côte d'Ivoire", KEY_ALPHA2: 'CI', KEY_ALPHA3: 'CIV', KEY_POPULAR_NAME: "Ivory Coast", KEY_SEARCH: ["Cote d'Ivoire"]},
 {KEY_NAME: 'Denmark', KEY_ALPHA2: 'DK', KEY_ALPHA3: 'DNK'},
 {KEY_NAME: 'Djibouti', KEY_ALPHA2: 'DJ', KEY_ALPHA3: 'DJI'},
 {KEY_NAME: 'Dominica', KEY_ALPHA2: 'DM', KEY_ALPHA3: 'DMA'},
 {KEY_NAME: 'Dominican Republic (the)', KEY_ALPHA2: 'DO', KEY_ALPHA3: 'DOM', KEY_POPULAR_NAME: 'Dominican Republic'},
 {KEY_NAME: 'Ecuador', KEY_ALPHA2: 'EC', KEY_ALPHA3: 'ECU'},
 {KEY_NAME: 'Egypt', KEY_ALPHA2: 'EG', KEY_ALPHA3: 'EGY'},
 {KEY_NAME: 'El Salvador', KEY_ALPHA2: 'SV', KEY_ALPHA3: 'SLV'},
 {KEY_NAME: 'Equatorial Guinea', KEY_ALPHA2: 'GQ', KEY_ALPHA3: 'GNQ'},
 {KEY_NAME: 'Eritrea', KEY_ALPHA2: 'ER', KEY_ALPHA3: 'ERI'},
 {KEY_NAME: 'Estonia', KEY_ALPHA2: 'EE', KEY_ALPHA3: 'EST'},
 {KEY_NAME: 'Eswatini', KEY_ALPHA2: 'SZ', KEY_ALPHA3: 'SWZ', KEY_SEARCH: ["Swaziland"]},
 {KEY_NAME: 'Ethiopia', KEY_ALPHA2: 'ET', KEY_ALPHA3: 'ETH'},
 {KEY_NAME: 'Falkland Islands (the) [Malvinas]', KEY_ALPHA2: 'FK', KEY_ALPHA3: 'FLK', KEY_POPULAR_NAME: 'Falkland Islands'},
 {KEY_NAME: 'Faroe Islands (the)', KEY_ALPHA2: 'FO', KEY_ALPHA3: 'FRO', KEY_POPULAR_NAME: 'Faroe Islands'},
 {KEY_NAME: 'Fiji', KEY_ALPHA2: 'FJ', KEY_ALPHA3: 'FJI'},
 {KEY_NAME: 'Finland', KEY_ALPHA2: 'FI', KEY_ALPHA3: 'FIN'},
 {KEY_NAME: 'France', KEY_ALPHA2: 'FR', KEY_ALPHA3: 'FRA'},
 {KEY_NAME: 'French Guiana', KEY_ALPHA2: 'GF', KEY_ALPHA3: 'GUF'},
 {KEY_NAME: 'French Polynesia', KEY_ALPHA2: 'PF', KEY_ALPHA3: 'PYF'},
 {KEY_NAME: 'French Southern Territories (the)', KEY_ALPHA2: 'TF', KEY_ALPHA3: 'ATF', KEY_POPULAR_NAME: 'French Southern Territories'},
 {KEY_NAME: 'Gabon', KEY_ALPHA2: 'GA', KEY_ALPHA3: 'GAB'},
 {KEY_NAME: 'Gambia (the)', KEY_ALPHA2: 'GM', KEY_ALPHA3: 'GMB', KEY_POPULAR_NAME: 'Gambia'},
 {KEY_NAME: 'Georgia', KEY_ALPHA2: 'GE', KEY_ALPHA3: 'GEO'},
 {KEY_NAME: 'Germany', KEY_ALPHA2: 'DE', KEY_ALPHA3: 'DEU'},
 {KEY_NAME: 'Ghana', KEY_ALPHA2: 'GH', KEY_ALPHA3: 'GHA'},
 {KEY_NAME: 'Gibraltar', KEY_ALPHA2: 'GI', KEY_ALPHA3: 'GIB'},
 {KEY_NAME: 'Greece', KEY_ALPHA2: 'GR', KEY_ALPHA3: 'GRC'},
 {KEY_NAME: 'Greenland', KEY_ALPHA2: 'GL', KEY_ALPHA3: 'GRL'},
 {KEY_NAME: 'Grenada', KEY_ALPHA2: 'GD', KEY_ALPHA3: 'GRD'},
 {KEY_NAME: 'Guadeloupe', KEY_ALPHA2: 'GP', KEY_ALPHA3: 'GLP'},
 {KEY_NAME: 'Guam', KEY_ALPHA2: 'GU', KEY_ALPHA3: 'GUM'},
 {KEY_NAME: 'Guatemala', KEY_ALPHA2: 'GT', KEY_ALPHA3: 'GTM'},
 {KEY_NAME: 'Guernsey', KEY_ALPHA2: 'GG', KEY_ALPHA3: 'GGY'},
 {KEY_NAME: 'Guinea', KEY_ALPHA2: 'GN', KEY_ALPHA3: 'GIN'},
 {KEY_NAME: 'Guinea-Bissau', KEY_ALPHA2: 'GW', KEY_ALPHA3: 'GNB'},
 {KEY_NAME: 'Guyana', KEY_ALPHA2: 'GY', KEY_ALPHA3: 'GUY'},
 {KEY_NAME: 'Haiti', KEY_ALPHA2: 'HT', KEY_ALPHA3: 'HTI'},
 {KEY_NAME: 'Heard Island and McDonald Islands', KEY_ALPHA2: 'HM', KEY_ALPHA3: 'HMD'},
 {KEY_NAME: 'Holy See (the)', KEY_ALPHA2: 'VA', KEY_ALPHA3: 'VAT', KEY_POPULAR_NAME: 'Holy See'},
 {KEY_NAME: 'Honduras', KEY_ALPHA2: 'HN', KEY_ALPHA3: 'HND'},
 {KEY_NAME: 'Hong Kong', KEY_ALPHA2: 'HK', KEY_ALPHA3: 'HKG'},
 {KEY_NAME: 'Hungary', KEY_ALPHA2: 'HU', KEY_ALPHA3: 'HUN'},
 {KEY_NAME: 'Iceland', KEY_ALPHA2: 'IS', KEY_ALPHA3: 'ISL'},
 {KEY_NAME: 'India', KEY_ALPHA2: 'IN', KEY_ALPHA3: 'IND'},
 {KEY_NAME: 'Indonesia', KEY_ALPHA2: 'ID', KEY_ALPHA3: 'IDN'},
 {KEY_NAME: 'Iran (Islamic Republic of)', KEY_ALPHA2: 'IR', KEY_ALPHA3: 'IRN', KEY_POPULAR_NAME: 'Iran'},
 {KEY_NAME: 'Iraq', KEY_ALPHA2: 'IQ', KEY_ALPHA3: 'IRQ'},
 {KEY_NAME: 'Ireland', KEY_ALPHA2: 'IE', KEY_ALPHA3: 'IRL'},
 {KEY_NAME: 'Isle of Man', KEY_ALPHA2: 'IM', KEY_ALPHA3: 'IMN'},
 {KEY_NAME: 'Israel', KEY_ALPHA2: 'IL', KEY_ALPHA3: 'ISR'},
 {KEY_NAME: 'Italy', KEY_ALPHA2: 'IT', KEY_ALPHA3: 'ITA'},
 {KEY_NAME: 'Jamaica', KEY_ALPHA2: 'JM', KEY_ALPHA3: 'JAM'},
 {KEY_NAME: 'Japan', KEY_ALPHA2: 'JP', KEY_ALPHA3: 'JPN'},
 {KEY_NAME: 'Jersey', KEY_ALPHA2: 'JE', KEY_ALPHA3: 'JEY'},
 {KEY_NAME: 'Jordan', KEY_ALPHA2: 'JO', KEY_ALPHA3: 'JOR'},
 {KEY_NAME: 'Kazakhstan', KEY_ALPHA2: 'KZ', KEY_ALPHA3: 'KAZ'},
 {KEY_NAME: 'Kenya', KEY_ALPHA2: 'KE', KEY_ALPHA3: 'KEN'},
 {KEY_NAME: 'Kiribati', KEY_ALPHA2: 'KI', KEY_ALPHA3: 'KIR'},
 {KEY_NAME: "Korea (the Democratic People's Republic of)", KEY_ALPHA2: 'KP', KEY_ALPHA3: 'PRK', KEY_POPULAR_NAME: "North Korea"},
 {KEY_NAME: 'Korea (the Republic of)', KEY_ALPHA2: 'KR', KEY_ALPHA3: 'KOR', KEY_POPULAR_NAME: "South Korea"},
 {KEY_NAME: 'Kuwait', KEY_ALPHA2: 'KW', KEY_ALPHA3: 'KWT'},
 {KEY_NAME: 'Kyrgyzstan', KEY_ALPHA2: 'KG', KEY_ALPHA3: 'KGZ'},
 {KEY_NAME: "Lao People's Democratic Republic (the)", KEY_ALPHA2: 'LA', KEY_ALPHA3: 'LAO', KEY_POPULAR_NAME: "Laos"},
 {KEY_NAME: 'Latvia', KEY_ALPHA2: 'LV', KEY_ALPHA3: 'LVA'},
 {KEY_NAME: 'Lebanon', KEY_ALPHA2: 'LB', KEY_ALPHA3: 'LBN'},
 {KEY_NAME: 'Lesotho', KEY_ALPHA2: 'LS', KEY_ALPHA3: 'LSO'},
 {KEY_NAME: 'Liberia', KEY_ALPHA2: 'LR', KEY_ALPHA3: 'LBR'},
 {KEY_NAME: 'Libya', KEY_ALPHA2: 'LY', KEY_ALPHA3: 'LBY'},
 {KEY_NAME: 'Liechtenstein', KEY_ALPHA2: 'LI', KEY_ALPHA3: 'LIE'},
 {KEY_NAME: 'Lithuania', KEY_ALPHA2: 'LT', KEY_ALPHA3: 'LTU'},
 {KEY_NAME: 'Luxembourg', KEY_ALPHA2: 'LU', KEY_ALPHA3: 'LUX'},
 {KEY_NAME: 'Macao', KEY_ALPHA2: 'MO', KEY_ALPHA3: 'MAC', KEY_POPULAR_NAME: "Macau"},
 {KEY_NAME: 'Madagascar', KEY_ALPHA2: 'MG', KEY_ALPHA3: 'MDG'},
 {KEY_NAME: 'Malawi', KEY_ALPHA2: 'MW', KEY_ALPHA3: 'MWI'},
 {KEY_NAME: 'Malaysia', KEY_ALPHA2: 'MY', KEY_ALPHA3: 'MYS'},
 {KEY_NAME: 'Maldives', KEY_ALPHA2: 'MV', KEY_ALPHA3: 'MDV'},
 {KEY_NAME: 'Mali', KEY_ALPHA2: 'ML', KEY_ALPHA3: 'MLI'},
 {KEY_NAME: 'Malta', KEY_ALPHA2: 'MT', KEY_ALPHA3: 'MLT'},
 {KEY_NAME: 'Marshall Islands (the)', KEY_ALPHA2: 'MH', KEY_ALPHA3: 'MHL', KEY_POPULAR_NAME: 'Marshall Islands'},
 {KEY_NAME: 'Martinique', KEY_ALPHA2: 'MQ', KEY_ALPHA3: 'MTQ'},
 {KEY_NAME: 'Mauritania', KEY_ALPHA2: 'MR', KEY_ALPHA3: 'MRT'},
 {KEY_NAME: 'Mauritius', KEY_ALPHA2: 'MU', KEY_ALPHA3: 'MUS'},
 {KEY_NAME: 'Mayotte', KEY_ALPHA2: 'YT', KEY_ALPHA3: 'MYT'},
 {KEY_NAME: 'Mexico', KEY_ALPHA2: 'MX', KEY_ALPHA3: 'MEX'},
 {KEY_NAME: 'Micronesia (Federated States of)', KEY_ALPHA2: 'FM', KEY_ALPHA3: 'FSM', KEY_POPULAR_NAME: 'Micronesia (FSM)'},
 {KEY_NAME: 'Moldova (the Republic of)', KEY_ALPHA2: 'MD', KEY_ALPHA3: 'MDA', KEY_POPULAR_NAME: 'Moldova'},
 {KEY_NAME: 'Monaco', KEY_ALPHA2: 'MC', KEY_ALPHA3: 'MCO'},
 {KEY_NAME: 'Mongolia', KEY_ALPHA2: 'MN', KEY_ALPHA3: 'MNG'},
 {KEY_NAME: 'Montenegro', KEY_ALPHA2: 'ME', KEY_ALPHA3: 'MNE'},
 {KEY_NAME: 'Montserrat', KEY_ALPHA2: 'MS', KEY_ALPHA3: 'MSR'},
 {KEY_NAME: 'Morocco', KEY_ALPHA2: 'MA', KEY_ALPHA3: 'MAR'},
 {KEY_NAME: 'Mozambique', KEY_ALPHA2: 'MZ', KEY_ALPHA3: 'MOZ'},
 {KEY_NAME: 'Myanmar', KEY_ALPHA2: 'MM', KEY_ALPHA3: 'MMR'},
 {KEY_NAME: 'Namibia', KEY_ALPHA2: 'NA', KEY_ALPHA3: 'NAM'},
 {KEY_NAME: 'Nauru', KEY_ALPHA2: 'NR', KEY_ALPHA3: 'NRU'},
 {KEY_NAME: 'Nepal', KEY_ALPHA2: 'NP', KEY_ALPHA3: 'NPL'},
 {KEY_NAME: 'Netherlands (the)', KEY_ALPHA2: 'NL', KEY_ALPHA3: 'NLD', KEY_POPULAR_NAME: 'Netherlands'},
 {KEY_NAME: 'New Caledonia', KEY_ALPHA2: 'NC', KEY_ALPHA3: 'NCL'},
 {KEY_NAME: 'New Zealand', KEY_ALPHA2: 'NZ', KEY_ALPHA3: 'NZL'},
 {KEY_NAME: 'Nicaragua', KEY_ALPHA2: 'NI', KEY_ALPHA3: 'NIC'},
 {KEY_NAME: 'Niger (the)', KEY_ALPHA2: 'NE', KEY_ALPHA3: 'NER', KEY_POPULAR_NAME: 'Niger'},
 {KEY_NAME: 'Nigeria', KEY_ALPHA2: 'NG', KEY_ALPHA3: 'NGA'},
 {KEY_NAME: 'Niue', KEY_ALPHA2: 'NU', KEY_ALPHA3: 'NIU'},
 {KEY_NAME: 'Norfolk Island', KEY_ALPHA2: 'NF', KEY_ALPHA3: 'NFK'},
 {KEY_NAME: 'North Macedonia', KEY_ALPHA2: 'MK', KEY_ALPHA3: 'MKD'},
 {KEY_NAME: 'Northern Mariana Islands (the)', KEY_ALPHA2: 'MP', KEY_ALPHA3: 'MNP', KEY_POPULAR_NAME: 'Northern Mariana Islands'},
 {KEY_NAME: 'Norway', KEY_ALPHA2: 'NO', KEY_ALPHA3: 'NOR'},
 {KEY_NAME: 'Oman', KEY_ALPHA2: 'OM', KEY_ALPHA3: 'OMN'},
 {KEY_NAME: 'Pakistan', KEY_ALPHA2: 'PK', KEY_ALPHA3: 'PAK'},
 {KEY_NAME: 'Palau', KEY_ALPHA2: 'PW', KEY_ALPHA3: 'PLW'},
 {KEY_NAME: 'Palestine, State of', KEY_ALPHA2: 'PS', KEY_ALPHA3: 'PSE', KEY_POPULAR_NAME: 'Palestine'},
 {KEY_NAME: 'Panama', KEY_ALPHA2: 'PA', KEY_ALPHA3: 'PAN'},
 {KEY_NAME: 'Papua New Guinea', KEY_ALPHA2: 'PG', KEY_ALPHA3: 'PNG'},
 {KEY_NAME: 'Paraguay', KEY_ALPHA2: 'PY', KEY_ALPHA3: 'PRY'},
 {KEY_NAME: 'Peru', KEY_ALPHA2: 'PE', KEY_ALPHA3: 'PER'},
 {KEY_NAME: 'Philippines (the)', KEY_ALPHA2: 'PH', KEY_ALPHA3: 'PHL', KEY_POPULAR_NAME: 'Philippines'},
 {KEY_NAME: 'Pitcairn', KEY_ALPHA2: 'PN', KEY_ALPHA3: 'PCN'},
 {KEY_NAME: 'Poland', KEY_ALPHA2: 'PL', KEY_ALPHA3: 'POL'},
 {KEY_NAME: 'Portugal', KEY_ALPHA2: 'PT', KEY_ALPHA3: 'PRT'},
 {KEY_NAME: 'Puerto Rico', KEY_ALPHA2: 'PR', KEY_ALPHA3: 'PRI'},
 {KEY_NAME: 'Qatar', KEY_ALPHA2: 'QA', KEY_ALPHA3: 'QAT'},
 {KEY_NAME: 'Romania', KEY_ALPHA2: 'RO', KEY_ALPHA3: 'ROU'},
 {KEY_NAME: 'Russian Federation (the)', KEY_ALPHA2: 'RU', KEY_ALPHA3: 'RUS', KEY_POPULAR_NAME: 'Russia'},
 {KEY_NAME: 'Rwanda', KEY_ALPHA2: 'RW', KEY_ALPHA3: 'RWA'},
 {KEY_NAME: 'Réunion', KEY_ALPHA2: 'RE', KEY_ALPHA3: 'REU', KEY_SEARCH: ['Reunion']},
 {KEY_NAME: 'Saint Barthélemy', KEY_ALPHA2: 'BL', KEY_ALPHA3: 'BLM', KEY_SEARCH: ['Saint Barthelemy']},
 {KEY_NAME: 'Saint Helena, Ascension and Tristan da Cunha', KEY_ALPHA2: 'SH', KEY_ALPHA3: 'SHN'},
 {KEY_NAME: 'Saint Kitts and Nevis', KEY_ALPHA2: 'KN', KEY_ALPHA3: 'KNA'},
 {KEY_NAME: 'Saint Lucia', KEY_ALPHA2: 'LC', KEY_ALPHA3: 'LCA'},
 {KEY_NAME: 'Saint Martin (French part)', KEY_ALPHA2: 'MF', KEY_ALPHA3: 'MAF', KEY_POPULAR_NAME: 'Saint Martin (French)'},
 {KEY_NAME: 'Saint Pierre and Miquelon', KEY_ALPHA2: 'PM', KEY_ALPHA3: 'SPM'},
 {KEY_NAME: 'Saint Vincent and the Grenadines', KEY_ALPHA2: 'VC', KEY_ALPHA3: 'VCT'},
 {KEY_NAME: 'Samoa', KEY_ALPHA2: 'WS', KEY_ALPHA3: 'WSM'},
 {KEY_NAME: 'San Marino', KEY_ALPHA2: 'SM', KEY_ALPHA3: 'SMR'},
 {KEY_NAME: 'Sao Tome and Principe', KEY_ALPHA2: 'ST', KEY_ALPHA3: 'STP'},
 {KEY_NAME: 'Saudi Arabia', KEY_ALPHA2: 'SA', KEY_ALPHA3: 'SAU'},
 {KEY_NAME: 'Senegal', KEY_ALPHA2: 'SN', KEY_ALPHA3: 'SEN'},
 {KEY_NAME: 'Serbia', KEY_ALPHA2: 'RS', KEY_ALPHA3: 'SRB'},
 {KEY_NAME: 'Seychelles', KEY_ALPHA2: 'SC', KEY_ALPHA3: 'SYC'},
 {KEY_NAME: 'Sierra Leone', KEY_ALPHA2: 'SL', KEY_ALPHA3: 'SLE'},
 {KEY_NAME: 'Singapore', KEY_ALPHA2: 'SG', KEY_ALPHA3: 'SGP'},
 {KEY_NAME: 'Sint Maarten (Dutch part)', KEY_ALPHA2: 'SX', KEY_ALPHA3: 'SXM', KEY_POPULAR_NAME: 'Sint Maarten (Dutch)'},
 {KEY_NAME: 'Slovakia', KEY_ALPHA2: 'SK', KEY_ALPHA3: 'SVK'},
 {KEY_NAME: 'Slovenia', KEY_ALPHA2: 'SI', KEY_ALPHA3: 'SVN'},
 {KEY_NAME: 'Solomon Islands', KEY_ALPHA2: 'SB', KEY_ALPHA3: 'SLB'},
 {KEY_NAME: 'Somalia', KEY_ALPHA2: 'SO', KEY_ALPHA3: 'SOM'},
 {KEY_NAME: 'South Africa', KEY_ALPHA2: 'ZA', KEY_ALPHA3: 'ZAF'},
 {KEY_NAME: 'South Georgia and the South Sandwich Islands', KEY_ALPHA2: 'GS', KEY_ALPHA3: 'SGS'},
 {KEY_NAME: 'South Sudan', KEY_ALPHA2: 'SS', KEY_ALPHA3: 'SSD'},
 {KEY_NAME: 'Spain', KEY_ALPHA2: 'ES', KEY_ALPHA3: 'ESP'},
 {KEY_NAME: 'Sri Lanka', KEY_ALPHA2: 'LK', KEY_ALPHA3: 'LKA'},
 {KEY_NAME: 'Sudan (the)', KEY_ALPHA2: 'SD', KEY_ALPHA3: 'SDN', KEY_POPULAR_NAME: 'Sudan'},
 {KEY_NAME: 'Suriname', KEY_ALPHA2: 'SR', KEY_ALPHA3: 'SUR'},
 {KEY_NAME: 'Svalbard and Jan Mayen', KEY_ALPHA2: 'SJ', KEY_ALPHA3: 'SJM'},
 {KEY_NAME: 'Sweden', KEY_ALPHA2: 'SE', KEY_ALPHA3: 'SWE'},
 {KEY_NAME: 'Switzerland', KEY_ALPHA2: 'CH', KEY_ALPHA3: 'CHE'},
 {KEY_NAME: 'Syrian Arab Republic (the)', KEY_ALPHA2: 'SY', KEY_ALPHA3: 'SYR', KEY_POPULAR_NAME: 'Syria'},
 {KEY_NAME: 'Taiwan (Province of China)', KEY_ALPHA2: 'TW', KEY_ALPHA3: 'TWN', KEY_POPULAR_NAME: 'Taiwan'},
 {KEY_NAME: 'Tajikistan', KEY_ALPHA2: 'TJ', KEY_ALPHA3: 'TJK'},
 {KEY_NAME: 'Tanzania, the United Republic of', KEY_ALPHA2: 'TZ', KEY_ALPHA3: 'TZA', KEY_POPULAR_NAME: 'Tanzania'},
 {KEY_NAME: 'Thailand', KEY_ALPHA2: 'TH', KEY_ALPHA3: 'THA'},
 {KEY_NAME: 'Timor-Leste', KEY_ALPHA2: 'TL', KEY_ALPHA3: 'TLS', KEY_POPULAR_NAME: "East Timor"},
 {KEY_NAME: 'Togo', KEY_ALPHA2: 'TG', KEY_ALPHA3: 'TGO'},
 {KEY_NAME: 'Tokelau', KEY_ALPHA2: 'TK', KEY_ALPHA3: 'TKL'},
 {KEY_NAME: 'Tonga', KEY_ALPHA2: 'TO', KEY_ALPHA3: 'TON'},
 {KEY_NAME: 'Trinidad and Tobago', KEY_ALPHA2: 'TT', KEY_ALPHA3: 'TTO'},
 {KEY_NAME: 'Tunisia', KEY_ALPHA2: 'TN', KEY_ALPHA3: 'TUN'},
 {KEY_NAME: 'Turkmenistan', KEY_ALPHA2: 'TM', KEY_ALPHA3: 'TKM'},
 {KEY_NAME: 'Turks and Caicos Islands (the)', KEY_ALPHA2: 'TC', KEY_ALPHA3: 'TCA', KEY_POPULAR_NAME: 'Turks and Caicos Islands', KEY_SEARCH: ["TCI"]},
 {KEY_NAME: 'Tuvalu', KEY_ALPHA2: 'TV', KEY_ALPHA3: 'TUV'},
 {KEY_NAME: 'Türkiye', KEY_ALPHA2: 'TR', KEY_ALPHA3: 'TUR', KEY_POPULAR_NAME: 'Turkey'},
 {KEY_NAME: 'Uganda', KEY_ALPHA2: 'UG', KEY_ALPHA3: 'UGA'},
 {KEY_NAME: 'Ukraine', KEY_ALPHA2: 'UA', KEY_ALPHA3: 'UKR'},
 {KEY_NAME: 'United Arab Emirates (the)', KEY_ALPHA2: 'AE', KEY_ALPHA3: 'ARE', KEY_POPULAR_NAME: 'United Arab Emirates', KEY_SEARCH: ["UAE"]},
 {KEY_NAME: 'United Kingdom of Great Britain and Northern Ireland (the)', KEY_ALPHA2: 'GB', KEY_ALPHA3: 'GBR', KEY_POPULAR_NAME: 'United Kingdom', KEY_SEARCH: ["UK", "Britain"]},
 {KEY_NAME: 'United States Minor Outlying Islands (the)', KEY_ALPHA2: 'UM', KEY_ALPHA3: 'UMI', KEY_POPULAR_NAME: 'United States Minor Outlying Islands'},
 {KEY_NAME: 'United States of America (the)', KEY_ALPHA2: 'US', KEY_ALPHA3: 'USA', KEY_POPULAR_NAME: 'United States of America', KEY_SEARCH: ["USA"] },
 {KEY_NAME: 'Uruguay', KEY_ALPHA2: 'UY', KEY_ALPHA3: 'URY'},
 {KEY_NAME: 'Uzbekistan', KEY_ALPHA2: 'UZ', KEY_ALPHA3: 'UZB'},
 {KEY_NAME: 'Vanuatu', KEY_ALPHA2: 'VU', KEY_ALPHA3: 'VUT'},
 {KEY_NAME: 'Venezuela (Bolivarian Republic of)', KEY_ALPHA2: 'VE', KEY_ALPHA3: 'VEN', KEY_POPULAR_NAME: 'Venezuela'},
 {KEY_NAME: 'Viet Nam', KEY_ALPHA2: 'VN', KEY_ALPHA3: 'VNM', KEY_POPULAR_NAME: 'Vietnam'},
 {KEY_NAME: 'Virgin Islands (British)', KEY_ALPHA2: 'VG', KEY_ALPHA3: 'VGB', KEY_SEARCH: ["British Virgin Islands"]},
 {KEY_NAME: 'Virgin Islands (U.S.)', KEY_ALPHA2: 'VI', KEY_ALPHA3: 'VIR', KEY_SEARCH: ["US Virgin Islands", "United States Virgin Islands"]},
 {KEY_NAME: 'Wallis and Futuna', KEY_ALPHA2: 'WF', KEY_ALPHA3: 'WLF'},
 {KEY_NAME: 'Western Sahara*', KEY_ALPHA2: 'EH', KEY_ALPHA3: 'ESH', KEY_POPULAR_NAME: 'Western Sahara'},
 {KEY_NAME: 'Yemen', KEY_ALPHA2: 'YE', KEY_ALPHA3: 'YEM'},
 {KEY_NAME: 'Zambia', KEY_ALPHA2: 'ZM', KEY_ALPHA3: 'ZMB'},
 {KEY_NAME: 'Zimbabwe', KEY_ALPHA2: 'ZW', KEY_ALPHA3: 'ZWE'},
 {KEY_NAME: 'Åland Islands', KEY_ALPHA2: 'AX', KEY_ALPHA3: 'ALA', KEY_SEARCH: ['Aland Islands']},
 {KEY_NAME: "Kosovo", KEY_ALPHA2: 'XK', KEY_ALPHA3: 'XKX'}
 ]

PHONE_CODES = [{KEY_ALPHA2: 'AF', KEY_INTL_PHONE_CODE: '93'},
 {KEY_ALPHA2: 'AL', KEY_INTL_PHONE_CODE: '355'},
 {KEY_ALPHA2: 'DZ', KEY_INTL_PHONE_CODE: '213'},
 {KEY_ALPHA2: 'AS', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['684']},
 {KEY_ALPHA2: 'AD', KEY_INTL_PHONE_CODE: '376'},
 {KEY_ALPHA2: 'AO', KEY_INTL_PHONE_CODE: '244'},
 {KEY_ALPHA2: 'AI', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['264']},
 {KEY_ALPHA2: 'AG', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['268']},
 {KEY_ALPHA2: 'AR', KEY_INTL_PHONE_CODE: '54'},
 {KEY_ALPHA2: 'AM', KEY_INTL_PHONE_CODE: '374'},
 {KEY_ALPHA2: 'AW', KEY_INTL_PHONE_CODE: '297'},
 {KEY_ALPHA2: 'AU', KEY_INTL_PHONE_CODE: '61'},
 {KEY_ALPHA2: 'AT', KEY_INTL_PHONE_CODE: '43'},
 {KEY_ALPHA2: 'AZ', KEY_INTL_PHONE_CODE: '994'},
 {KEY_ALPHA2: 'BS', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['242']},
 {KEY_ALPHA2: 'BH', KEY_INTL_PHONE_CODE: '973'},
 {KEY_ALPHA2: 'BD', KEY_INTL_PHONE_CODE: '880'},
 {KEY_ALPHA2: 'BB', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['246']},
 {KEY_ALPHA2: 'BY', KEY_INTL_PHONE_CODE: '375'},
 {KEY_ALPHA2: 'BE', KEY_INTL_PHONE_CODE: '32'},
 {KEY_ALPHA2: 'BZ', KEY_INTL_PHONE_CODE: '501'},
 {KEY_ALPHA2: 'BJ', KEY_INTL_PHONE_CODE: '229'},
 {KEY_ALPHA2: 'BM', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['441']},
 {KEY_ALPHA2: 'BT', KEY_INTL_PHONE_CODE: '975'},
 {KEY_ALPHA2: 'BO', KEY_INTL_PHONE_CODE: '591'},
 {KEY_ALPHA2: 'BQ', KEY_INTL_PHONE_CODE: '599', KEY_AREA_PHONE_CODE: ['7', '3', '4']},
 {KEY_ALPHA2: 'BA', KEY_INTL_PHONE_CODE: '387'},
 {KEY_ALPHA2: 'BW', KEY_INTL_PHONE_CODE: '267'},
 {KEY_ALPHA2: 'BV', KEY_INTL_PHONE_CODE: '47'},
 {KEY_ALPHA2: 'BR', KEY_INTL_PHONE_CODE: '55'},
 {KEY_ALPHA2: 'IO', KEY_INTL_PHONE_CODE: '246'},
 {KEY_ALPHA2: 'BN', KEY_INTL_PHONE_CODE: '673'},
 {KEY_ALPHA2: 'BG', KEY_INTL_PHONE_CODE: '359'},
 {KEY_ALPHA2: 'BF', KEY_INTL_PHONE_CODE: '226'},
 {KEY_ALPHA2: 'BI', KEY_INTL_PHONE_CODE: '257'},
 {KEY_ALPHA2: 'KH', KEY_INTL_PHONE_CODE: '855'},
 {KEY_ALPHA2: 'CM', KEY_INTL_PHONE_CODE: '237'},
 {KEY_ALPHA2: 'IT', KEY_INTL_PHONE_CODE: '39'},
 {KEY_ALPHA2: 'CA', KEY_INTL_PHONE_CODE: '1'},
 {KEY_ALPHA2: 'CV', KEY_INTL_PHONE_CODE: '238'},
 {KEY_ALPHA2: 'KY', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['345']},
 {KEY_ALPHA2: 'CF', KEY_INTL_PHONE_CODE: '236'},
 {KEY_ALPHA2: 'TD', KEY_INTL_PHONE_CODE: '235'},
 {KEY_ALPHA2: 'CL', KEY_INTL_PHONE_CODE: '56'},
 {KEY_ALPHA2: 'CN', KEY_INTL_PHONE_CODE: '86'},
 {KEY_ALPHA2: 'CX', KEY_INTL_PHONE_CODE: '61', KEY_AREA_PHONE_CODE: ['89164']},
 {KEY_ALPHA2: 'CC', KEY_INTL_PHONE_CODE: '61', KEY_AREA_PHONE_CODE: ['89162']},
 {KEY_ALPHA2: 'CO', KEY_INTL_PHONE_CODE: '57'},
 {KEY_ALPHA2: 'KM', KEY_INTL_PHONE_CODE: '269'},
 {KEY_ALPHA2: 'CG', KEY_INTL_PHONE_CODE: '242'},
 {KEY_ALPHA2: 'CD', KEY_INTL_PHONE_CODE: '243'},
 {KEY_ALPHA2: 'CK', KEY_INTL_PHONE_CODE: '682'},
 {KEY_ALPHA2: 'CR', KEY_INTL_PHONE_CODE: '506'},
 {KEY_ALPHA2: 'CI', KEY_INTL_PHONE_CODE: '225'},
 {KEY_ALPHA2: 'HR', KEY_INTL_PHONE_CODE: '385'},
 {KEY_ALPHA2: 'CU', KEY_INTL_PHONE_CODE: '53'},
 {KEY_ALPHA2: 'CW', KEY_INTL_PHONE_CODE: '599', KEY_AREA_PHONE_CODE: ['9']},
 {KEY_ALPHA2: 'CY', KEY_INTL_PHONE_CODE: '357'},
 {KEY_ALPHA2: 'CZ', KEY_INTL_PHONE_CODE: '420'},
 {KEY_ALPHA2: 'DK', KEY_INTL_PHONE_CODE: '45'},
 {KEY_ALPHA2: 'DJ', KEY_INTL_PHONE_CODE: '253'},
 {KEY_ALPHA2: 'DM', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['767']},
 {KEY_ALPHA2: 'DO', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['809', '829', '849']},
 {KEY_ALPHA2: 'EC', KEY_INTL_PHONE_CODE: '593'},
 {KEY_ALPHA2: 'EG', KEY_INTL_PHONE_CODE: '20'},
 {KEY_ALPHA2: 'SV', KEY_INTL_PHONE_CODE: '503'},
 {KEY_ALPHA2: 'GQ', KEY_INTL_PHONE_CODE: '240'},
 {KEY_ALPHA2: 'ER', KEY_INTL_PHONE_CODE: '291'},
 {KEY_ALPHA2: 'EE', KEY_INTL_PHONE_CODE: '372'},
 {KEY_ALPHA2: 'ET', KEY_INTL_PHONE_CODE: '251'},
 {KEY_ALPHA2: 'FK', KEY_INTL_PHONE_CODE: '500'},
 {KEY_ALPHA2: 'FO', KEY_INTL_PHONE_CODE: '298'},
 {KEY_ALPHA2: 'FJ', KEY_INTL_PHONE_CODE: '679'},
 {KEY_ALPHA2: 'FI', KEY_INTL_PHONE_CODE: '358'},
 {KEY_ALPHA2: 'FR', KEY_INTL_PHONE_CODE: '33'},
 {KEY_ALPHA2: 'GF', KEY_INTL_PHONE_CODE: '594'},
 {KEY_ALPHA2: 'PF', KEY_INTL_PHONE_CODE: '689'},
 {KEY_ALPHA2: 'TF', KEY_INTL_PHONE_CODE: '262'},
 {KEY_ALPHA2: 'GA', KEY_INTL_PHONE_CODE: '241'},
 {KEY_ALPHA2: 'GM', KEY_INTL_PHONE_CODE: '220'},
 {KEY_ALPHA2: 'GE', KEY_INTL_PHONE_CODE: '995'},
 {KEY_ALPHA2: 'DE', KEY_INTL_PHONE_CODE: '49'},
 {KEY_ALPHA2: 'GH', KEY_INTL_PHONE_CODE: '233'},
 {KEY_ALPHA2: 'GI', KEY_INTL_PHONE_CODE: '350'},
 {KEY_ALPHA2: 'GR', KEY_INTL_PHONE_CODE: '30'},
 {KEY_ALPHA2: 'GL', KEY_INTL_PHONE_CODE: '299'},
 {KEY_ALPHA2: 'GD', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['473']},
 {KEY_ALPHA2: 'GP', KEY_INTL_PHONE_CODE: '590'},
 {KEY_ALPHA2: 'GU', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['671']},
 {KEY_ALPHA2: 'GT', KEY_INTL_PHONE_CODE: '502'},
 {KEY_ALPHA2: 'GG', KEY_INTL_PHONE_CODE: '44', KEY_AREA_PHONE_CODE: ['1481', '7781', '7839', '7911']},
 {KEY_ALPHA2: 'GN', KEY_INTL_PHONE_CODE: '224'},
 {KEY_ALPHA2: 'GW', KEY_INTL_PHONE_CODE: '245'},
 {KEY_ALPHA2: 'GY', KEY_INTL_PHONE_CODE: '592'},
 {KEY_ALPHA2: 'HT', KEY_INTL_PHONE_CODE: '509'},
 {KEY_ALPHA2: 'HM', KEY_INTL_PHONE_CODE: '672'},
 {KEY_ALPHA2: 'VA', KEY_INTL_PHONE_CODE: '379'},
 {KEY_ALPHA2: 'HN', KEY_INTL_PHONE_CODE: '504'},
 {KEY_ALPHA2: 'HK', KEY_INTL_PHONE_CODE: '852'},
 {KEY_ALPHA2: 'HU', KEY_INTL_PHONE_CODE: '36'},
 {KEY_ALPHA2: 'IS', KEY_INTL_PHONE_CODE: '354'},
 {KEY_ALPHA2: 'IN', KEY_INTL_PHONE_CODE: '91'},
 {KEY_ALPHA2: 'ID', KEY_INTL_PHONE_CODE: '62'},
 {KEY_ALPHA2: 'IR', KEY_INTL_PHONE_CODE: '98'},
 {KEY_ALPHA2: 'IQ', KEY_INTL_PHONE_CODE: '964'},
 {KEY_ALPHA2: 'IE', KEY_INTL_PHONE_CODE: '353'},
 {KEY_ALPHA2: 'IM', KEY_INTL_PHONE_CODE: '44', KEY_AREA_PHONE_CODE: ['1624', '7524', '7624', '7924']},
 {KEY_ALPHA2: 'IL', KEY_INTL_PHONE_CODE: '972'},
 {KEY_ALPHA2: 'JM', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['658', '876']},
 {KEY_ALPHA2: 'JP', KEY_INTL_PHONE_CODE: '81'},
 {KEY_ALPHA2: 'JE', KEY_INTL_PHONE_CODE: '44', KEY_AREA_PHONE_CODE: ['1534']},
 {KEY_ALPHA2: 'JO', KEY_INTL_PHONE_CODE: '962'},
 {KEY_ALPHA2: 'KZ', KEY_INTL_PHONE_CODE: '7'},
 {KEY_ALPHA2: 'KE', KEY_INTL_PHONE_CODE: '254'},
 {KEY_ALPHA2: 'KI', KEY_INTL_PHONE_CODE: '686'},
 {KEY_ALPHA2: 'KP', KEY_INTL_PHONE_CODE: '850'},
 {KEY_ALPHA2: 'KR', KEY_INTL_PHONE_CODE: '82'},
 {KEY_ALPHA2: 'KW', KEY_INTL_PHONE_CODE: '965'},
 {KEY_ALPHA2: 'KG', KEY_INTL_PHONE_CODE: '996'},
 {KEY_ALPHA2: 'LA', KEY_INTL_PHONE_CODE: '856'},
 {KEY_ALPHA2: 'LV', KEY_INTL_PHONE_CODE: '371'},
 {KEY_ALPHA2: 'LB', KEY_INTL_PHONE_CODE: '961'},
 {KEY_ALPHA2: 'LS', KEY_INTL_PHONE_CODE: '266'},
 {KEY_ALPHA2: 'LR', KEY_INTL_PHONE_CODE: '231'},
 {KEY_ALPHA2: 'LY', KEY_INTL_PHONE_CODE: '218'},
 {KEY_ALPHA2: 'LI', KEY_INTL_PHONE_CODE: '423'},
 {KEY_ALPHA2: 'LT', KEY_INTL_PHONE_CODE: '370'},
 {KEY_ALPHA2: 'LU', KEY_INTL_PHONE_CODE: '352'},
 {KEY_ALPHA2: 'MO', KEY_INTL_PHONE_CODE: '853'},
 {KEY_ALPHA2: 'MK', KEY_INTL_PHONE_CODE: '389'},
 {KEY_ALPHA2: 'MG', KEY_INTL_PHONE_CODE: '261'},
 {KEY_ALPHA2: 'MW', KEY_INTL_PHONE_CODE: '265'},
 {KEY_ALPHA2: 'MY', KEY_INTL_PHONE_CODE: '60'},
 {KEY_ALPHA2: 'MV', KEY_INTL_PHONE_CODE: '960'},
 {KEY_ALPHA2: 'ML', KEY_INTL_PHONE_CODE: '223'},
 {KEY_ALPHA2: 'MT', KEY_INTL_PHONE_CODE: '356'},
 {KEY_ALPHA2: 'MH', KEY_INTL_PHONE_CODE: '692'},
 {KEY_ALPHA2: 'MQ', KEY_INTL_PHONE_CODE: '596'},
 {KEY_ALPHA2: 'MR', KEY_INTL_PHONE_CODE: '222'},
 {KEY_ALPHA2: 'MU', KEY_INTL_PHONE_CODE: '230'},
 {KEY_ALPHA2: 'YT', KEY_INTL_PHONE_CODE: '262', KEY_AREA_PHONE_CODE: ['269', '639']},
 {KEY_ALPHA2: 'MX', KEY_INTL_PHONE_CODE: '52'},
 {KEY_ALPHA2: 'FM', KEY_INTL_PHONE_CODE: '691'},
 {KEY_ALPHA2: 'MD', KEY_INTL_PHONE_CODE: '373'},
 {KEY_ALPHA2: 'MC', KEY_INTL_PHONE_CODE: '377'},
 {KEY_ALPHA2: 'MN', KEY_INTL_PHONE_CODE: '976'},
 {KEY_ALPHA2: 'ME', KEY_INTL_PHONE_CODE: '382'},
 {KEY_ALPHA2: 'MS', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['664']},
 {KEY_ALPHA2: 'MA', KEY_INTL_PHONE_CODE: '212'},
 {KEY_ALPHA2: 'MZ', KEY_INTL_PHONE_CODE: '258'},
 {KEY_ALPHA2: 'MM', KEY_INTL_PHONE_CODE: '95'},
 {KEY_ALPHA2: 'NA', KEY_INTL_PHONE_CODE: '264'},
 {KEY_ALPHA2: 'NR', KEY_INTL_PHONE_CODE: '674'},
 {KEY_ALPHA2: 'NP', KEY_INTL_PHONE_CODE: '977'},
 {KEY_ALPHA2: 'NL', KEY_INTL_PHONE_CODE: '31'},
 {KEY_ALPHA2: 'NC', KEY_INTL_PHONE_CODE: '687'},
 {KEY_ALPHA2: 'NZ', KEY_INTL_PHONE_CODE: '64'},
 {KEY_ALPHA2: 'NI', KEY_INTL_PHONE_CODE: '505'},
 {KEY_ALPHA2: 'NE', KEY_INTL_PHONE_CODE: '227'},
 {KEY_ALPHA2: 'NG', KEY_INTL_PHONE_CODE: '234'},
 {KEY_ALPHA2: 'NU', KEY_INTL_PHONE_CODE: '683'},
 {KEY_ALPHA2: 'NF', KEY_INTL_PHONE_CODE: '672', KEY_AREA_PHONE_CODE: ['3']},
 {KEY_ALPHA2: 'MP', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['670']},
 {KEY_ALPHA2: 'NO', KEY_INTL_PHONE_CODE: '47'},
 {KEY_ALPHA2: 'OM', KEY_INTL_PHONE_CODE: '968'},
 {KEY_ALPHA2: 'PK', KEY_INTL_PHONE_CODE: '92'},
 {KEY_ALPHA2: 'PW', KEY_INTL_PHONE_CODE: '680'},
 {KEY_ALPHA2: 'PS', KEY_INTL_PHONE_CODE: '970'},
 {KEY_ALPHA2: 'PA', KEY_INTL_PHONE_CODE: '507'},
 {KEY_ALPHA2: 'PG', KEY_INTL_PHONE_CODE: '675'},
 {KEY_ALPHA2: 'PY', KEY_INTL_PHONE_CODE: '595'},
 {KEY_ALPHA2: 'PE', KEY_INTL_PHONE_CODE: '51'},
 {KEY_ALPHA2: 'PH', KEY_INTL_PHONE_CODE: '63'},
 {KEY_ALPHA2: 'PN', KEY_INTL_PHONE_CODE: '64'},
 {KEY_ALPHA2: 'PL', KEY_INTL_PHONE_CODE: '48'},
 {KEY_ALPHA2: 'PT', KEY_INTL_PHONE_CODE: '351'},
 {KEY_ALPHA2: 'PR', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['787', '939']},
 {KEY_ALPHA2: 'QA', KEY_INTL_PHONE_CODE: '974'},
 {KEY_ALPHA2: 'RO', KEY_INTL_PHONE_CODE: '40'},
 {KEY_ALPHA2: 'RU', KEY_INTL_PHONE_CODE: '7'},
 {KEY_ALPHA2: 'RW', KEY_INTL_PHONE_CODE: '250'},
 {KEY_ALPHA2: 'RE', KEY_INTL_PHONE_CODE: '262'},
 {KEY_ALPHA2: 'BL', KEY_INTL_PHONE_CODE: '590'},
 {KEY_ALPHA2: 'SH', KEY_INTL_PHONE_CODE: '290'},
 {KEY_ALPHA2: 'KN', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['869']},
 {KEY_ALPHA2: 'LC', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['758']},
 {KEY_ALPHA2: 'MF', KEY_INTL_PHONE_CODE: '590'},
 {KEY_ALPHA2: 'PM', KEY_INTL_PHONE_CODE: '508'},
 {KEY_ALPHA2: 'VC', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['784']},
 {KEY_ALPHA2: 'WS', KEY_INTL_PHONE_CODE: '685'},
 {KEY_ALPHA2: 'SM', KEY_INTL_PHONE_CODE: '378'},
 {KEY_ALPHA2: 'ST', KEY_INTL_PHONE_CODE: '239'},
 {KEY_ALPHA2: 'SA', KEY_INTL_PHONE_CODE: '966'},
 {KEY_ALPHA2: 'SN', KEY_INTL_PHONE_CODE: '221'},
 {KEY_ALPHA2: 'RS', KEY_INTL_PHONE_CODE: '381'},
 {KEY_ALPHA2: 'SC', KEY_INTL_PHONE_CODE: '248'},
 {KEY_ALPHA2: 'SL', KEY_INTL_PHONE_CODE: '232'},
 {KEY_ALPHA2: 'SG', KEY_INTL_PHONE_CODE: '65'},
 {KEY_ALPHA2: 'SX', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['721']},
 {KEY_ALPHA2: 'SK', KEY_INTL_PHONE_CODE: '421'},
 {KEY_ALPHA2: 'SI', KEY_INTL_PHONE_CODE: '386'},
 {KEY_ALPHA2: 'SB', KEY_INTL_PHONE_CODE: '677'},
 {KEY_ALPHA2: 'SO', KEY_INTL_PHONE_CODE: '252'},
 {KEY_ALPHA2: 'ZA', KEY_INTL_PHONE_CODE: '27'},
 {KEY_ALPHA2: 'SS', KEY_INTL_PHONE_CODE: '211'},
 {KEY_ALPHA2: 'GS', KEY_INTL_PHONE_CODE: '500'},
 {KEY_ALPHA2: 'ES', KEY_INTL_PHONE_CODE: '34'},
 {KEY_ALPHA2: 'LK', KEY_INTL_PHONE_CODE: '94'},
 {KEY_ALPHA2: 'SD', KEY_INTL_PHONE_CODE: '249'},
 {KEY_ALPHA2: 'SR', KEY_INTL_PHONE_CODE: '597'},
 {KEY_ALPHA2: 'SJ', KEY_INTL_PHONE_CODE: '47'},
 {KEY_ALPHA2: 'SZ', KEY_INTL_PHONE_CODE: '268'},
 {KEY_ALPHA2: 'SE', KEY_INTL_PHONE_CODE: '46'},
 {KEY_ALPHA2: 'CH', KEY_INTL_PHONE_CODE: '41'},
 {KEY_ALPHA2: 'SY', KEY_INTL_PHONE_CODE: '963'},
 {KEY_ALPHA2: 'TW', KEY_INTL_PHONE_CODE: '886'},
 {KEY_ALPHA2: 'TJ', KEY_INTL_PHONE_CODE: '992'},
 {KEY_ALPHA2: 'TZ', KEY_INTL_PHONE_CODE: '255'},
 {KEY_ALPHA2: 'TH', KEY_INTL_PHONE_CODE: '66'},
 {KEY_ALPHA2: 'TL', KEY_INTL_PHONE_CODE: '670'},
 {KEY_ALPHA2: 'TG', KEY_INTL_PHONE_CODE: '228'},
 {KEY_ALPHA2: 'TK', KEY_INTL_PHONE_CODE: '690'},
 {KEY_ALPHA2: 'TO', KEY_INTL_PHONE_CODE: '676'},
 {KEY_ALPHA2: 'TT', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['868']},
 {KEY_ALPHA2: 'TN', KEY_INTL_PHONE_CODE: '216'},
 {KEY_ALPHA2: 'TR', KEY_INTL_PHONE_CODE: '90'},
 {KEY_ALPHA2: 'TM', KEY_INTL_PHONE_CODE: '993'},
 {KEY_ALPHA2: 'TC', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['649']},
 {KEY_ALPHA2: 'TV', KEY_INTL_PHONE_CODE: '688'},
 {KEY_ALPHA2: 'UG', KEY_INTL_PHONE_CODE: '256'},
 {KEY_ALPHA2: 'UA', KEY_INTL_PHONE_CODE: '380'},
 {KEY_ALPHA2: 'AE', KEY_INTL_PHONE_CODE: '971'},
 {KEY_ALPHA2: 'GB', KEY_INTL_PHONE_CODE: '44'},
 {KEY_ALPHA2: 'UM', KEY_INTL_PHONE_CODE: '1'},
 {KEY_ALPHA2: 'US', KEY_INTL_PHONE_CODE: '1'},
 {KEY_ALPHA2: 'UY', KEY_INTL_PHONE_CODE: '598'},
 {KEY_ALPHA2: 'UZ', KEY_INTL_PHONE_CODE: '998'},
 {KEY_ALPHA2: 'VU', KEY_INTL_PHONE_CODE: '678'},
 {KEY_ALPHA2: 'VE', KEY_INTL_PHONE_CODE: '58'},
 {KEY_ALPHA2: 'VN', KEY_INTL_PHONE_CODE: '84'},
 {KEY_ALPHA2: 'VG', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['284']},
 {KEY_ALPHA2: 'VI', KEY_INTL_PHONE_CODE: '1', KEY_AREA_PHONE_CODE: ['340']},
 {KEY_ALPHA2: 'WF', KEY_INTL_PHONE_CODE: '681'},
 {KEY_ALPHA2: 'EH', KEY_INTL_PHONE_CODE: '212'},
 {KEY_ALPHA2: 'YE', KEY_INTL_PHONE_CODE: '967'},
 {KEY_ALPHA2: 'ZM', KEY_INTL_PHONE_CODE: '260'},
 {KEY_ALPHA2: 'ZW', KEY_INTL_PHONE_CODE: '263'},
 {KEY_ALPHA2: 'AX', KEY_INTL_PHONE_CODE: '358', KEY_AREA_PHONE_CODE: ['18']},
 {KEY_ALPHA2: 'XK', KEY_INTL_PHONE_CODE: '383'}
]

# (Global, Region, Sub-region, Intermediate Region) : alpha2 code map

REGION_COUNTRY_MAP = {('World', None, None, None): ['AQ'],
 ('World', 'Africa', 'Northern Africa', None): ['DZ', 'EG', 'LY', 'MA', 'SD', 'TN', 'EH'],
 ('World', 'Africa', 'Sub-Saharan Africa', 'Eastern Africa'): ['IO', 'BI', 'KM', 'DJ', 'ER', 'ET', 'TF', 'KE', 'MG', 'MW', 'MU', 'YT', 'MZ', 'RE', 'RW', 'SC', 'SO', 'SS', 'UG', 'TZ', 'ZM', 'ZW'],
 ('World', 'Africa', 'Sub-Saharan Africa', 'Middle Africa'): ['AO', 'CM', 'CF', 'TD', 'CG', 'CD', 'GQ', 'GA', 'ST'],
 ('World', 'Africa', 'Sub-Saharan Africa', 'Southern Africa'): ['BW', 'SZ', 'LS', 'NA', 'ZA'],
 ('World', 'Africa', 'Sub-Saharan Africa', 'Western Africa'): ['BJ', 'BF', 'CV', 'CI', 'GM', 'GH', 'GN', 'GW', 'LR', 'ML', 'MR', 'NE', 'NG', 'SH', 'SN', 'SL', 'TG'],
 ('World', 'Americas', 'Latin America and the Caribbean', 'Caribbean'): ['AI', 'AG', 'AW', 'BS', 'BB', 'BQ', 'VG', 'KY', 'CU', 'CW', 'DM', 'DO', 'GD', 'GP', 'HT', 'JM', 'MQ', 'MS', 'PR', 'BL', 'KN', 'LC', 'MF', 'VC', 'SX', 'TT', 'TC', 'VI'],
 ('World', 'Americas', 'Latin America and the Caribbean', 'Central America'): ['BZ', 'CR', 'SV', 'GT', 'HN', 'MX', 'NI', 'PA'],
 ('World', 'Americas', 'Latin America and the Caribbean', 'South America'): ['AR', 'BO', 'BV', 'BR', 'CL', 'CO', 'EC', 'FK', 'GF', 'GY', 'PY', 'PE', 'GS', 'SR', 'UY', 'VE'],
 ('World', 'Americas', 'Northern America', None): ['BM', 'CA', 'GL', 'PM', 'US'],
 ('World', 'Asia', 'Central Asia', None): ['KZ', 'KG', 'TJ', 'TM', 'UZ'],
 ('World', 'Asia', 'Eastern Asia', None): ['CN', 'HK', 'MO', 'KP', 'JP', 'MN', 'KR'],
 ('World', 'Asia', 'South-eastern Asia', None): ['BN', 'KH', 'ID', 'LA', 'MY', 'MM', 'PH', 'SG', 'TH', 'TL', 'VN'],
 ('World', 'Asia', 'Southern Asia', None): ['AF', 'BD', 'BT', 'IN', 'IR', 'MV', 'NP', 'PK', 'LK'],
 ('World', 'Asia', 'Western Asia', None): ['AM', 'AZ', 'BH', 'CY', 'GE', 'IQ', 'IL', 'JO', 'KW', 'LB', 'OM', 'QA', 'SA', 'PS', 'SY', 'TR', 'AE', 'YE'],
 ('World', 'Europe', 'Eastern Europe', None): ['BY', 'BG', 'CZ', 'HU', 'PL', 'MD', 'RO', 'RU', 'SK', 'UA'],
 ('World', 'Europe', 'Northern Europe', None): ['AX', 'DK', 'EE', 'FO', 'FI', 'IS', 'IE', 'IM', 'LV', 'LT', 'NO', 'SJ', 'SE', 'GB'],
 ('World', 'Europe', 'Northern Europe', 'Channel Islands'): ['GG', 'JE'],
 ('World', 'Europe', 'Southern Europe', None): ['AL', 'AD', 'BA', 'HR', 'GI', 'GR', 'VA', 'IT', 'MT', 'ME', 'MK', 'PT', 'SM', 'RS', 'SI', 'ES', 'XK'],
 ('World', 'Europe', 'Western Europe', None): ['AT', 'BE', 'FR', 'DE', 'LI', 'LU', 'MC', 'NL', 'CH'],
 ('World', 'Oceania', 'Australia and New Zealand', None): ['AU', 'CX', 'CC', 'HM', 'NZ', 'NF'],
 ('World', 'Oceania', 'Melanesia', None): ['FJ', 'NC', 'PG', 'SB', 'VU'],
 ('World', 'Oceania', 'Micronesia', None): ['GU', 'KI', 'MH', 'FM', 'NR', 'MP', 'PW', 'UM'],
 ('World', 'Oceania', 'Polynesia', None): ['AS', 'CK', 'PF', 'NU', 'PN', 'WS', 'TK', 'TO', 'TV', 'WF']}

UNM49_REGION_MAP = {1: 'World',
 2: 'Africa',
 5: 'South America',
 9: 'Oceania',
 11: 'Western Africa',
 13: 'Central America',
 14: 'Eastern Africa',
 15: 'Northern Africa',
 17: 'Middle Africa',
 18: 'Southern Africa',
 19: 'Americas',
 21: 'Northern America',
 29: 'Caribbean',
 30: 'Eastern Asia',
 34: 'Southern Asia',
 35: 'South-eastern Asia',
 39: 'Southern Europe',
 53: 'Australia and New Zealand',
 54: 'Melanesia',
 57: 'Micronesia',
 61: 'Polynesia',
 142: 'Asia',
 143: 'Central Asia',
 145: 'Western Asia',
 150: 'Europe',
 151: 'Eastern Europe',
 154: 'Northern Europe',
 155: 'Western Europe',
 202: 'Sub-Saharan Africa',
 419: 'Latin America and the Caribbean',
 830: 'Channel Islands'}

UNM49_ALPHA2_MAP = {4: 'AF',
 8: 'AL',
 10: 'AQ',
 12: 'DZ',
 16: 'AS',
 20: 'AD',
 24: 'AO',
 28: 'AG',
 31: 'AZ',
 32: 'AR',
 36: 'AU',
 40: 'AT',
 44: 'BS',
 48: 'BH',
 50: 'BD',
 51: 'AM',
 52: 'BB',
 56: 'BE',
 60: 'BM',
 64: 'BT',
 68: 'BO',
 70: 'BA',
 72: 'BW',
 74: 'BV',
 76: 'BR',
 84: 'BZ',
 86: 'IO',
 90: 'SB',
 92: 'VG',
 96: 'BN',
 100: 'BG',
 104: 'MM',
 108: 'BI',
 112: 'BY',
 116: 'KH',
 120: 'CM',
 124: 'CA',
 132: 'CV',
 136: 'KY',
 140: 'CF',
 144: 'LK',
 148: 'TD',
 152: 'CL',
 156: 'CN',
 162: 'CX',
 166: 'CC',
 170: 'CO',
 174: 'KM',
 175: 'YT',
 178: 'CG',
 180: 'CD',
 184: 'CK',
 188: 'CR',
 191: 'HR',
 192: 'CU',
 196: 'CY',
 203: 'CZ',
 204: 'BJ',
 208: 'DK',
 212: 'DM',
 214: 'DO',
 218: 'EC',
 222: 'SV',
 226: 'GQ',
 231: 'ET',
 232: 'ER',
 233: 'EE',
 234: 'FO',
 238: 'FK',
 239: 'GS',
 242: 'FJ',
 246: 'FI',
 248: 'AX',
 250: 'FR',
 254: 'GF',
 258: 'PF',
 260: 'TF',
 262: 'DJ',
 266: 'GA',
 268: 'GE',
 270: 'GM',
 275: 'PS',
 276: 'DE',
 288: 'GH',
 292: 'GI',
 296: 'KI',
 300: 'GR',
 304: 'GL',
 308: 'GD',
 312: 'GP',
 316: 'GU',
 320: 'GT',
 324: 'GN',
 328: 'GY',
 332: 'HT',
 334: 'HM',
 336: 'VA',
 340: 'HN',
 344: 'HK',
 348: 'HU',
 352: 'IS',
 356: 'IN',
 360: 'ID',
 364: 'IR',
 368: 'IQ',
 372: 'IE',
 376: 'IL',
 380: 'IT',
 384: 'CI',
 388: 'JM',
 392: 'JP',
 398: 'KZ',
 400: 'JO',
 404: 'KE',
 408: 'KP',
 410: 'KR',
 414: 'KW',
 417: 'KG',
 418: 'LA',
 422: 'LB',
 426: 'LS',
 428: 'LV',
 430: 'LR',
 434: 'LY',
 438: 'LI',
 440: 'LT',
 442: 'LU',
 446: 'MO',
 450: 'MG',
 454: 'MW',
 458: 'MY',
 462: 'MV',
 466: 'ML',
 470: 'MT',
 474: 'MQ',
 478: 'MR',
 480: 'MU',
 484: 'MX',
 492: 'MC',
 496: 'MN',
 498: 'MD',
 499: 'ME',
 500: 'MS',
 504: 'MA',
 508: 'MZ',
 512: 'OM',
 516: 'NA',
 520: 'NR',
 524: 'NP',
 528: 'NL',
 531: 'CW',
 533: 'AW',
 534: 'SX',
 535: 'BQ',
 540: 'NC',
 548: 'VU',
 554: 'NZ',
 558: 'NI',
 562: 'NE',
 566: 'NG',
 570: 'NU',
 574: 'NF',
 578: 'NO',
 580: 'MP',
 581: 'UM',
 583: 'FM',
 584: 'MH',
 585: 'PW',
 586: 'PK',
 591: 'PA',
 598: 'PG',
 600: 'PY',
 604: 'PE',
 608: 'PH',
 612: 'PN',
 616: 'PL',
 620: 'PT',
 624: 'GW',
 626: 'TL',
 630: 'PR',
 634: 'QA',
 638: 'RE',
 642: 'RO',
 643: 'RU',
 646: 'RW',
 652: 'BL',
 654: 'SH',
 659: 'KN',
 660: 'AI',
 662: 'LC',
 663: 'MF',
 666: 'PM',
 670: 'VC',
 674: 'SM',
 678: 'ST',
 682: 'SA',
 686: 'SN',
 688: 'RS',
 690: 'SC',
 694: 'SL',
 702: 'SG',
 703: 'SK',
 704: 'VN',
 705: 'SI',
 706: 'SO',
 710: 'ZA',
 716: 'ZW',
 724: 'ES',
 728: 'SS',
 729: 'SD',
 732: 'EH',
 740: 'SR',
 744: 'SJ',
 748: 'SZ',
 752: 'SE',
 756: 'CH',
 760: 'SY',
 762: 'TJ',
 764: 'TH',
 768: 'TG',
 772: 'TK',
 776: 'TO',
 780: 'TT',
 784: 'AE',
 788: 'TN',
 792: 'TR',
 795: 'TM',
 796: 'TC',
 798: 'TV',
 800: 'UG',
 804: 'UA',
 807: 'MK',
 818: 'EG',
 826: 'GB',
 831: 'GG',
 832: 'JE',
 833: 'IM',
 834: 'TZ',
 840: 'US',
 850: 'VI',
 854: 'BF',
 858: 'UY',
 860: 'UZ',
 862: 'VE',
 876: 'WF',
 882: 'WS',
 887: 'YE',
 894: 'ZM'}

# Population, Surface Area, Other Stats

ALPHA3_WB_DATA=  {
 'ABW': {KEY_AREA: 180.0, KEY_POPULATION: 106537},
 'AFG': {KEY_AREA: 652860.0, KEY_POPULATION: 40099462},
 'AGO': {KEY_AREA: 1246700.0, KEY_POPULATION: 34503774},
 'ALB': {KEY_AREA: 28750.0, KEY_POPULATION: 2811666},
 'AND': {KEY_AREA: 470.0, KEY_POPULATION: 79034},
 'ARE': {KEY_AREA: 98647.9, KEY_POPULATION: 9365145},
 'ARG': {KEY_AREA: 2780400.0, KEY_POPULATION: 45808747},
 'ARM': {KEY_AREA: 29740.0, KEY_POPULATION: 2790974},
 'ASM': {KEY_AREA: 200.0, KEY_POPULATION: 45035},
 'ATG': {KEY_AREA: 440.0, KEY_POPULATION: 93219},
 'AUS': {KEY_AREA: 7741220.0, KEY_POPULATION: 25688079},
 'AUT': {KEY_AREA: 83879.0, KEY_POPULATION: 8955797},
 'AZE': {KEY_AREA: 86600.0, KEY_POPULATION: 10137750},
 'BDI': {KEY_AREA: 27830.0, KEY_POPULATION: 12551213},
 'BEL': {KEY_AREA: 30530.0, KEY_POPULATION: 11592952},
 'BEN': {KEY_AREA: 114760.0, KEY_POPULATION: 12996895},
 'BFA': {KEY_AREA: 274220.0, KEY_POPULATION: 22100683},
 'BGD': {KEY_AREA: 147570.0, KEY_POPULATION: 169356251},
 'BGR': {KEY_AREA: 111000.0, KEY_POPULATION: 6877743},
 'BHR': {KEY_AREA: 785.0, KEY_POPULATION: 1463265},
 'BHS': {KEY_AREA: 13880.0, KEY_POPULATION: 407906},
 'BIH': {KEY_AREA: 51210.0, KEY_POPULATION: 3270943},
 'BLR': {KEY_AREA: 207610.0, KEY_POPULATION: 9340314},
 'BLZ': {KEY_AREA: 22970.0, KEY_POPULATION: 400031},
 'BMU': {KEY_AREA: 4290.0, KEY_POPULATION: 63867},
 'BOL': {KEY_AREA: 1098580.0, KEY_POPULATION: 12079472},
 'BRA': {KEY_AREA: 8515770.0, KEY_POPULATION: 214326223},
 'BRB': {KEY_AREA: 430.0, KEY_POPULATION: 281200},
 'BRN': {KEY_AREA: 5770.0, KEY_POPULATION: 445373},
 'BTN': {KEY_AREA: 38390.0, KEY_POPULATION: 777486},
 'BWA': {KEY_AREA: 581730.0, KEY_POPULATION: 2588423},
 'CAF': {KEY_AREA: 622980.0, KEY_POPULATION: 5457154},
 'CAN': {KEY_AREA: 9879750.0, KEY_POPULATION: 38246108},
 'CHE': {KEY_AREA: 41290.39, KEY_POPULATION: 8703405},
 'CHL': {KEY_AREA: 756700.0, KEY_POPULATION: 19493184},
 'CHN': {KEY_AREA: 9600012.9, KEY_POPULATION: 1412360000},
 'CIV': {KEY_AREA: 322460.0, KEY_POPULATION: 27478249},
 'CMR': {KEY_AREA: 475440.0, KEY_POPULATION: 27198628},
 'COD': {KEY_AREA: 2344860.0, KEY_POPULATION: 95894118},
 'COG': {KEY_AREA: 342000.0, KEY_POPULATION: 5835806},
 'COL': {KEY_AREA: 1140619.05, KEY_POPULATION: 51516562},
 'COM': {KEY_AREA: 1861.0, KEY_POPULATION: 821625},
 'CPV': {KEY_AREA: 4030.0, KEY_POPULATION: 587925},
 'CRI': {KEY_AREA: 51100.0, KEY_POPULATION: 5153957},
 'CUB': {KEY_AREA: 109880.0, KEY_POPULATION: 11256372},
 'CUW': {KEY_AREA: 444.0, KEY_POPULATION: 152369},
 'CYM': {KEY_AREA: 264.0, KEY_POPULATION: 68136},
 'CYP': {KEY_AREA: 9250.0, KEY_POPULATION: 1244188},
 'CZE': {KEY_AREA: 78871.01, KEY_POPULATION: 10505772},
 'DEU': {KEY_AREA: 357590.0, KEY_POPULATION: 83196078},
 'DJI': {KEY_AREA: 23200.0, KEY_POPULATION: 1105557},
 'DMA': {KEY_AREA: 750.0, KEY_POPULATION: 72412},
 'DNK': {KEY_AREA: 42920.0, KEY_POPULATION: 5856733},
 'DOM': {KEY_AREA: 48670.0, KEY_POPULATION: 11117873},
 'DZA': {KEY_AREA: 2381741.0, KEY_POPULATION: 44177969},
 'ECU': {KEY_AREA: 256370.0, KEY_POPULATION: 17797737},
 'EGY': {KEY_AREA: 1001450.0, KEY_POPULATION: 109262178},
 'ERI': {KEY_AREA: 121630.327, KEY_POPULATION: 3620312},
 'ESP': {KEY_AREA: 505969.891, KEY_POPULATION: 47415750},
 'EST': {KEY_AREA: 45340.0, KEY_POPULATION: 1330932},
 'ETH': {KEY_AREA: 1136239.544, KEY_POPULATION: 120283026},
 'FIN': {KEY_AREA: 338460.0, KEY_POPULATION: 5541017},
 'FJI': {KEY_AREA: 18270.0, KEY_POPULATION: 924610},
 'FRA': {KEY_AREA: 549086.87, KEY_POPULATION: 67749632},
 'FRO': {KEY_AREA: 12959.67, KEY_POPULATION: 52889},
 'FSM': {KEY_AREA: 700.0, KEY_POPULATION: 113131},
 'GAB': {KEY_AREA: 267670.0, KEY_POPULATION: 2341179},
 'GBR': {KEY_AREA: 243610.0, KEY_POPULATION: 67326569},
 'GEO': {KEY_AREA: 69700.0, KEY_POPULATION: 3708610},
 'GHA': {KEY_AREA: 238530.0, KEY_POPULATION: 32833031},
 'GIB': {KEY_AREA: 10.0, KEY_POPULATION: 32669},
 'GIN': {KEY_AREA: 245860.0, KEY_POPULATION: 13531906},
 'GMB': {KEY_AREA: 11300.0, KEY_POPULATION: 2639916},
 'GNB': {KEY_AREA: 36130.0, KEY_POPULATION: 2060721},
 'GNQ': {KEY_AREA: 28050.0, KEY_POPULATION: 1634466},
 'GRC': {KEY_AREA: 131960.0, KEY_POPULATION: 10641221},
 'GRD': {KEY_AREA: 340.0, KEY_POPULATION: 124610},
 'GRL': {KEY_AREA: 410450.0, KEY_POPULATION: 56653},
 'GTM': {KEY_AREA: 108890.0, KEY_POPULATION: 17109746},
 'GUM': {KEY_AREA: 540.0, KEY_POPULATION: 170534},
 'GUY': {KEY_AREA: 214970.0, KEY_POPULATION: 804567},
 'HKG': {KEY_AREA: 1110.0, KEY_POPULATION: 7413100},
 'HND': {KEY_AREA: 112490.0, KEY_POPULATION: 10278345},
 'HRV': {KEY_AREA: 88070.0, KEY_POPULATION: 3899000},
 'HTI': {KEY_AREA: 27750.0, KEY_POPULATION: 11447569},
 'HUN': {KEY_AREA: 93030.0, KEY_POPULATION: 9709891},
 'IDN': {KEY_AREA: 1916906.77, KEY_POPULATION: 273753191},
 'IMN': {KEY_AREA: 570.0, KEY_POPULATION: 84263},
 'IND': {KEY_AREA: 3287260.0, KEY_POPULATION: 1407563842},
 'IRL': {KEY_AREA: 70280.0, KEY_POPULATION: 5033165},
 'IRN': {KEY_AREA: 1745150.0, KEY_POPULATION: 87923432},
 'IRQ': {KEY_AREA: 435052.0, KEY_POPULATION: 43533592},
 'ISL': {KEY_AREA: 103000.0, KEY_POPULATION: 372520},
 'ISR': {KEY_AREA: 22070.0, KEY_POPULATION: 9364000},
 'ITA': {KEY_AREA: 302068.0, KEY_POPULATION: 59109668},
 'JAM': {KEY_AREA: 10990.0, KEY_POPULATION: 2827695},
 'JOR': {KEY_AREA: 89318.0, KEY_POPULATION: 11148278},
 'JPN': {KEY_AREA: 377974.0, KEY_POPULATION: 125681593},
 'KAZ': {KEY_AREA: 2724900.0, KEY_POPULATION: 19000988},
 'KEN': {KEY_AREA: 580370.0, KEY_POPULATION: 53005614},
 'KGZ': {KEY_AREA: 199950.0, KEY_POPULATION: 6691800},
 'KHM': {KEY_AREA: 181040.0, KEY_POPULATION: 16589023},
 'KIR': {KEY_AREA: 810.0, KEY_POPULATION: 128874},
 'KNA': {KEY_AREA: 260.0, KEY_POPULATION: 47606},
 'KOR': {KEY_AREA: 100410.0, KEY_POPULATION: 51744876},
 'KWT': {KEY_AREA: 17820.0, KEY_POPULATION: 4250114},
 'LAO': {KEY_AREA: 236800.0, KEY_POPULATION: 7425057},
 'LBN': {KEY_AREA: 10450.0, KEY_POPULATION: 5592631},
 'LBR': {KEY_AREA: 111370.0, KEY_POPULATION: 5193416},
 'LBY': {KEY_AREA: 1759540.0, KEY_POPULATION: 6735277},
 'LCA': {KEY_AREA: 620.0, KEY_POPULATION: 179651},
 'LIE': {KEY_AREA: 160.0, KEY_POPULATION: 39039},
 'LKA': {KEY_AREA: 65610.0, KEY_POPULATION: 22156000},
 'LSO': {KEY_AREA: 30360.0, KEY_POPULATION: 2281454},
 'LTU': {KEY_AREA: 65290.0, KEY_POPULATION: 2800839},
 'LUX': {KEY_AREA: 2590.0, KEY_POPULATION: 640064},
 'LVA': {KEY_AREA: 64590.0, KEY_POPULATION: 1884490},
 'MAC': {KEY_AREA: 32.9, KEY_POPULATION: 686607},
 'MAF': {KEY_AREA: 50.0, KEY_POPULATION: 31948},
 'MAR': {KEY_AREA: 446550.0, KEY_POPULATION: 37076584},
 'MCO': {KEY_AREA: 74.92, KEY_POPULATION: 36686},
 'MDA': {KEY_AREA: 33850.0, KEY_POPULATION: 2615199},
 'MDG': {KEY_AREA: 587295.0, KEY_POPULATION: 28915653},
 'MDV': {KEY_AREA: 300.0, KEY_POPULATION: 521457},
 'MEX': {KEY_AREA: 1964375.0, KEY_POPULATION: 126705138},
 'MHL': {KEY_AREA: 180.0, KEY_POPULATION: 42050},
 'MKD': {KEY_AREA: 25710.0, KEY_POPULATION: 2065092},
 'MLI': {KEY_AREA: 1240190.0, KEY_POPULATION: 21904983},
 'MLT': {KEY_AREA: 320.0, KEY_POPULATION: 518536},
 'MMR': {KEY_AREA: 676590.0, KEY_POPULATION: 53798084},
 'MNE': {KEY_AREA: 13810.0, KEY_POPULATION: 619211},
 'MNG': {KEY_AREA: 1564115.749, KEY_POPULATION: 3347782},
 'MNP': {KEY_AREA: 460.0, KEY_POPULATION: 49481},
 'MOZ': {KEY_AREA: 799380.0, KEY_POPULATION: 32077072},
 'MRT': {KEY_AREA: 1030700.0, KEY_POPULATION: 4614974},
 'MUS': {KEY_AREA: 2040.0, KEY_POPULATION: 1266060},
 'MWI': {KEY_AREA: 118480.0, KEY_POPULATION: 19889742},
 'MYS': {KEY_AREA: 330241.0, KEY_POPULATION: 33573874},
 'NAM': {KEY_AREA: 824290.0, KEY_POPULATION: 2530151},
 'NCL': {KEY_AREA: 18580.0, KEY_POPULATION: 271030},
 'NER': {KEY_AREA: 1267000.0, KEY_POPULATION: 25252722},
 'NGA': {KEY_AREA: 923770.0, KEY_POPULATION: 213401323},
 'NIC': {KEY_AREA: 130370.0, KEY_POPULATION: 6850540},
 'NLD': {KEY_AREA: 41540.0, KEY_POPULATION: 17533044},
 'NOR': {KEY_AREA: 624499.0, KEY_POPULATION: 5408320},
 'NPL': {KEY_AREA: 147180.0, KEY_POPULATION: 30034989},
 'NRU': {KEY_AREA: 20.0, KEY_POPULATION: 12511},
 'NZL': {KEY_AREA: 267710.0, KEY_POPULATION: 5122600},
 'OMN': {KEY_AREA: 309500.0, KEY_POPULATION: 4520471},
 'PAK': {KEY_AREA: 796100.0, KEY_POPULATION: 231402117},
 'PAN': {KEY_AREA: 75320.0, KEY_POPULATION: 4351267},
 'PER': {KEY_AREA: 1285220.0, KEY_POPULATION: 33715471},
 'PHL': {KEY_AREA: 300000.0, KEY_POPULATION: 113880328},
 'PLW': {KEY_AREA: 460.0, KEY_POPULATION: 18024},
 'PNG': {KEY_AREA: 462840.0, KEY_POPULATION: 9949437},
 'POL': {KEY_AREA: 312710.0, KEY_POPULATION: 37747124},
 'PRI': {KEY_AREA: 8870.0, KEY_POPULATION: 3263584},
 'PRK': {KEY_AREA: 120540.0, KEY_POPULATION: 25971909},
 'PRT': {KEY_AREA: 92230.0, KEY_POPULATION: 10325147},
 'PRY': {KEY_AREA: 406752.0, KEY_POPULATION: 6703799},
 'PSE': {KEY_AREA: 6020.0, KEY_POPULATION: 4922749},
 'PYF': {KEY_AREA: 3471.0, KEY_POPULATION: 304032},
 'QAT': {KEY_AREA: 11490.0, KEY_POPULATION: 2688235},
 'ROU': {KEY_AREA: 238400.0, KEY_POPULATION: 19119880},
 'RUS': {KEY_AREA: 17098250.0, KEY_POPULATION: 143449286},
 'RWA': {KEY_AREA: 26340.0, KEY_POPULATION: 13461888},
 'SAU': {KEY_AREA: 2149690.0, KEY_POPULATION: 35950396},
 'SDN': {KEY_AREA: 1878000.0, KEY_POPULATION: 45657202},
 'SEN': {KEY_AREA: 196710.0, KEY_POPULATION: 16876720},
 'SGP': {KEY_AREA: 728.0, KEY_POPULATION: 5453566},
 'SLB': {KEY_AREA: 28900.0, KEY_POPULATION: 707851},
 'SLE': {KEY_AREA: 72300.0, KEY_POPULATION: 8420641},
 'SLV': {KEY_AREA: 21040.0, KEY_POPULATION: 6314167},
 'SMR': {KEY_AREA: 60.0, KEY_POPULATION: 33745},
 'SOM': {KEY_AREA: 637660.0, KEY_POPULATION: 17065581},
 'SRB': {KEY_AREA: 84990.0, KEY_POPULATION: 6834326},
 'SSD': {KEY_AREA: 646883.0, KEY_POPULATION: 10748272},
 'STP': {KEY_AREA: 960.0, KEY_POPULATION: 223107},
 'SUR': {KEY_AREA: 163820.0, KEY_POPULATION: 612985},
 'SVK': {KEY_AREA: 49030.0, KEY_POPULATION: 5447247},
 'SVN': {KEY_AREA: 20480.0, KEY_POPULATION: 2108079},
 'SWE': {KEY_AREA: 528860.704, KEY_POPULATION: 10415811},
 'SWZ': {KEY_AREA: 17360.0, KEY_POPULATION: 1192271},
 'SXM': {KEY_AREA: 34.0, KEY_POPULATION: 42846},
 'SYC': {KEY_AREA: 460.0, KEY_POPULATION: 99258},
 'SYR': {KEY_AREA: 185180.0, KEY_POPULATION: 21324367},
 'TCA': {KEY_AREA: 950.0, KEY_POPULATION: 45114},
 'TCD': {KEY_AREA: 1284000.0, KEY_POPULATION: 17179740},
 'TGO': {KEY_AREA: 56790.0, KEY_POPULATION: 8644829},
 'THA': {KEY_AREA: 513120.0, KEY_POPULATION: 71601103},
 'TJK': {KEY_AREA: 141380.0, KEY_POPULATION: 9750064},
 'TKM': {KEY_AREA: 488100.0, KEY_POPULATION: 6341855},
 'TLS': {KEY_AREA: 14870.0, KEY_POPULATION: 1320942},
 'TON': {KEY_AREA: 750.0, KEY_POPULATION: 106017},
 'TTO': {KEY_AREA: 5130.0, KEY_POPULATION: 1525663},
 'TUN': {KEY_AREA: 163610.0, KEY_POPULATION: 12262946},
 'TUR': {KEY_AREA: 785350.0, KEY_POPULATION: 84775404},
 'TUV': {KEY_AREA: 30.0, KEY_POPULATION: 11204},
 'TZA': {KEY_AREA: 947300.0, KEY_POPULATION: 63588334},
 'UGA': {KEY_AREA: 241550.0, KEY_POPULATION: 45853778},
 'UKR': {KEY_AREA: 603550.0, KEY_POPULATION: 43792855},
 'URY': {KEY_AREA: 176220.0, KEY_POPULATION: 3426260},
 'USA': {KEY_AREA: 9831510.0, KEY_POPULATION: 331893745},
 'UZB': {KEY_AREA: 448924.0, KEY_POPULATION: 34915100},
 'VCT': {KEY_AREA: 390.0, KEY_POPULATION: 104332},
 'VEN': {KEY_AREA: 912050.0, KEY_POPULATION: 28199867},
 'VGB': {KEY_AREA: 150.0, KEY_POPULATION: 31122},
 'VIR': {KEY_AREA: 350.0, KEY_POPULATION: 105870},
 'VNM': {KEY_AREA: 331340.0, KEY_POPULATION: 97468029},
 'VUT': {KEY_AREA: 12190.0, KEY_POPULATION: 319137},
 'WSM': {KEY_AREA: 2840.0, KEY_POPULATION: 218764},
 'XKX': {KEY_AREA: 10887, KEY_POPULATION: 1786038},
 'YEM': {KEY_AREA: 527970.0, KEY_POPULATION: 32981641},
 'ZAF': {KEY_AREA: 1219090.0, KEY_POPULATION: 59392255},
 'ZMB': {KEY_AREA: 752610.0, KEY_POPULATION: 19473125},
 'ZWE': {KEY_AREA: 390760.0, KEY_POPULATION: 15993524}
}

# Sub-division data of selected countries

SUB_CA = [{KEY_CODE: 'AB', KEY_NAME: 'Alberta', KEY_CAT: 'province'},
 {KEY_CODE: 'BC', KEY_NAME: 'British Columbia', KEY_CAT: 'province'},
 {KEY_CODE: 'MB', KEY_NAME: 'Manitoba', KEY_CAT: 'province'},
 {KEY_CODE: 'NB', KEY_NAME: 'New Brunswick', KEY_CAT: 'province'},
 {KEY_CODE: 'NL', KEY_NAME: 'Newfoundland and Labrador', KEY_CAT: 'province'},
 {KEY_CODE: 'NS', KEY_NAME: 'Nova Scotia', KEY_CAT: 'province'},
 {KEY_CODE: 'ON', KEY_NAME: 'Ontario', KEY_CAT: 'province'},
 {KEY_CODE: 'PE', KEY_NAME: 'Prince Edward Island', KEY_CAT: 'province'},
 {KEY_CODE: 'QC', KEY_NAME: 'Quebec', KEY_CAT: 'province'},
 {KEY_CODE: 'SK', KEY_NAME: 'Saskatchewan', KEY_CAT: 'province'},
 {KEY_CODE: 'NT', KEY_NAME: 'Northwest Territories', KEY_CAT: 'territory'},
 {KEY_CODE: 'NU', KEY_NAME: 'Nunavut', KEY_CAT: 'territory'},
 {KEY_CODE: 'YT', KEY_NAME: 'Yukon', KEY_CAT: 'territory'}]

SUB_KR = [{KEY_CODE: '26', KEY_NAME: 'Busan', KEY_CAT: 'metropolitan city'},
 {KEY_CODE: '27', KEY_NAME: 'Daegu', KEY_CAT: 'metropolitan city'},
 {KEY_CODE: '30', KEY_NAME: 'Daejeon', KEY_CAT: 'metropolitan city'},
 {KEY_CODE: '29', KEY_NAME: 'Gwangju', KEY_CAT: 'metropolitan city'},
 {KEY_CODE: '28', KEY_NAME: 'Incheon', KEY_CAT: 'metropolitan city'},
 {KEY_CODE: '31', KEY_NAME: 'Ulsan', KEY_CAT: 'metropolitan city'},
 {KEY_CODE: '43', KEY_NAME: 'Chungbuk', KEY_CAT: 'province'},
 {KEY_CODE: '44', KEY_NAME: 'Chungnam', KEY_CAT: 'province'},
 {KEY_CODE: '42', KEY_NAME: 'Gangwon', KEY_CAT: 'province'},
 {KEY_CODE: '41', KEY_NAME: 'Gyeonggi', KEY_CAT: 'province'},
 {KEY_CODE: '47', KEY_NAME: 'Gyeongbuk', KEY_CAT: 'province'},
 {KEY_CODE: '48', KEY_NAME: 'Gyeongnam', KEY_CAT: 'province'},
 {KEY_CODE: '45', KEY_NAME: 'Jeonbuk', KEY_CAT: 'province'},
 {KEY_CODE: '46', KEY_NAME: 'Jeonnam', KEY_CAT: 'province'},
 {KEY_CODE: '11', KEY_NAME: 'Seoul', KEY_CAT: 'special city'},
 {KEY_CODE: '50', KEY_NAME: 'Sejong', KEY_CAT: 'special self-governing city'},
 {KEY_CODE: '49', KEY_NAME: 'Jeju', KEY_CAT: 'special self-governing province'}]

SUB_IN = [{KEY_CODE: 'AN', KEY_NAME: 'Andaman and Nicobar Islands', KEY_CAT: 'union territory'},
 {KEY_CODE: 'CH', KEY_NAME: 'Chandigarh', KEY_CAT: 'union territory'},
 {KEY_CODE: 'DL', KEY_NAME: 'Delhi', KEY_CAT: 'union territory'},
 {KEY_CODE: 'DH', KEY_NAME: 'Dadra and Nagar Haveli and Daman and Diu', KEY_CAT: 'union territory'},
 {KEY_CODE: 'JK', KEY_NAME: 'Jammu and Kashmir', KEY_CAT: 'union territory'},
 {KEY_CODE: 'LA', KEY_NAME: 'Ladakh', KEY_CAT: 'union territory'},
 {KEY_CODE: 'LD', KEY_NAME: 'Lakshadweep', KEY_CAT: 'union territory'},
 {KEY_CODE: 'PY', KEY_NAME: 'Puducherry', KEY_CAT: 'union territory'},
 {KEY_CODE: 'AP', KEY_NAME: 'Andhra Pradesh', KEY_CAT: 'state'},
 {KEY_CODE: 'AR', KEY_NAME: 'Arunachal Pradesh', KEY_CAT: 'state'},
 {KEY_CODE: 'AS', KEY_NAME: 'Assam', KEY_CAT: 'state'},
 {KEY_CODE: 'BR', KEY_NAME: 'Bihar', KEY_CAT: 'state'},
 {KEY_CODE: 'CT', KEY_NAME: 'Chhattisgarh', KEY_CAT: 'state'},
 {KEY_CODE: 'GA', KEY_NAME: 'Goa', KEY_CAT: 'state'},
 {KEY_CODE: 'GJ', KEY_NAME: 'Gujarat', KEY_CAT: 'state'},
 {KEY_CODE: 'HR', KEY_NAME: 'Haryana', KEY_CAT: 'state'},
 {KEY_CODE: 'HP', KEY_NAME: 'Himachal Pradesh', KEY_CAT: 'state'},
 {KEY_CODE: 'JH', KEY_NAME: 'Jharkhand', KEY_CAT: 'state'},
 {KEY_CODE: 'KA', KEY_NAME: 'Karnataka', KEY_CAT: 'state'},
 {KEY_CODE: 'KL', KEY_NAME: 'Kerala', KEY_CAT: 'state'},
 {KEY_CODE: 'MP', KEY_NAME: 'Madhya Pradesh', KEY_CAT: 'state'},
 {KEY_CODE: 'MH', KEY_NAME: 'Maharashtra', KEY_CAT: 'state'},
 {KEY_CODE: 'MN', KEY_NAME: 'Manipur', KEY_CAT: 'state'},
 {KEY_CODE: 'ML', KEY_NAME: 'Meghalaya', KEY_CAT: 'state'},
 {KEY_CODE: 'MZ', KEY_NAME: 'Mizoram', KEY_CAT: 'state'},
 {KEY_CODE: 'NL', KEY_NAME: 'Nagaland', KEY_CAT: 'state'},
 {KEY_CODE: 'OR', KEY_NAME: 'Odisha', KEY_CAT: 'state'},
 {KEY_CODE: 'PB', KEY_NAME: 'Punjab', KEY_CAT: 'state'},
 {KEY_CODE: 'RJ', KEY_NAME: 'Rajasthan', KEY_CAT: 'state'},
 {KEY_CODE: 'SK', KEY_NAME: 'Sikkim', KEY_CAT: 'state'},
 {KEY_CODE: 'TN', KEY_NAME: 'Tamil Nadu', KEY_CAT: 'state'},
 {KEY_CODE: 'TG', KEY_NAME: 'Telangana', KEY_CAT: 'state'},
 {KEY_CODE: 'TR', KEY_NAME: 'Tripura', KEY_CAT: 'state'},
 {KEY_CODE: 'UP', KEY_NAME: 'Uttar Pradesh', KEY_CAT: 'state'},
 {KEY_CODE: 'UT', KEY_NAME: 'Uttarakhand', KEY_CAT: 'state'},
 {KEY_CODE: 'WB', KEY_NAME: 'West Bengal', KEY_CAT: 'state'}]

SUB_JP = [{KEY_CODE: '23', KEY_NAME: 'Aichi', KEY_CAT: 'prefecture'},
 {KEY_CODE: '12', KEY_NAME: 'Chiba', KEY_CAT: 'prefecture'},
 {KEY_CODE: '18', KEY_NAME: 'Fukui', KEY_CAT: 'prefecture'},
 {KEY_CODE: '40', KEY_NAME: 'Fukuoka', KEY_CAT: 'prefecture'},
 {KEY_CODE: '07', KEY_NAME: 'Fukushima', KEY_CAT: 'prefecture'},
 {KEY_CODE: '21', KEY_NAME: 'Gifu', KEY_CAT: 'prefecture'},
 {KEY_CODE: '34', KEY_NAME: 'Hiroshima', KEY_CAT: 'prefecture'},
 {KEY_CODE: '01', KEY_NAME: 'Hokkaido', KEY_CAT: 'prefecture'},
 {KEY_CODE: '28', KEY_NAME: 'Hyogo', KEY_CAT: 'prefecture'},
 {KEY_CODE: '17', KEY_NAME: 'Ishikawa', KEY_CAT: 'prefecture'},
 {KEY_CODE: '46', KEY_NAME: 'Kagoshima', KEY_CAT: 'prefecture'},
 {KEY_CODE: '39', KEY_NAME: 'Kochi', KEY_CAT: 'prefecture'},
 {KEY_CODE: '26', KEY_NAME: 'Kyoto', KEY_CAT: 'prefecture'},
 {KEY_CODE: '44', KEY_NAME: 'Oita', KEY_CAT: 'prefecture'},
 {KEY_CODE: '27', KEY_NAME: 'Osaka', KEY_CAT: 'prefecture'},
 {KEY_CODE: '25', KEY_NAME: 'Shiga', KEY_CAT: 'prefecture'},
 {KEY_CODE: '32', KEY_NAME: 'Shimane', KEY_CAT: 'prefecture'},
 {KEY_CODE: '22', KEY_NAME: 'Shizuoka', KEY_CAT: 'prefecture'},
 {KEY_CODE: '09', KEY_NAME: 'Tochigi', KEY_CAT: 'prefecture'},
 {KEY_CODE: '36', KEY_NAME: 'Tokushima', KEY_CAT: 'prefecture'},
 {KEY_CODE: '13', KEY_NAME: 'Tokyo', KEY_CAT: 'prefecture'},
 {KEY_CODE: '35', KEY_NAME: 'Yamaguchi', KEY_CAT: 'prefecture'},
 {KEY_CODE: '19', KEY_NAME: 'Yamanashi', KEY_CAT: 'prefecture'},
 {KEY_CODE: '05', KEY_NAME: 'Akita', KEY_CAT: 'prefecture'},
 {KEY_CODE: '02', KEY_NAME: 'Aomori', KEY_CAT: 'prefecture'},
 {KEY_CODE: '38', KEY_NAME: 'Ehime', KEY_CAT: 'prefecture'},
 {KEY_CODE: '10', KEY_NAME: 'Gunma', KEY_CAT: 'prefecture'},
 {KEY_CODE: '08', KEY_NAME: 'Ibaraki', KEY_CAT: 'prefecture'},
 {KEY_CODE: '03', KEY_NAME: 'Iwate', KEY_CAT: 'prefecture'},
 {KEY_CODE: '37', KEY_NAME: 'Kagawa', KEY_CAT: 'prefecture'},
 {KEY_CODE: '14', KEY_NAME: 'Kanagawa', KEY_CAT: 'prefecture'},
 {KEY_CODE: '43', KEY_NAME: 'Kumamoto', KEY_CAT: 'prefecture'},
 {KEY_CODE: '24', KEY_NAME: 'Mie', KEY_CAT: 'prefecture'},
 {KEY_CODE: '04', KEY_NAME: 'Miyagi', KEY_CAT: 'prefecture'},
 {KEY_CODE: '45', KEY_NAME: 'Miyazaki', KEY_CAT: 'prefecture'},
 {KEY_CODE: '20', KEY_NAME: 'Nagano', KEY_CAT: 'prefecture'},
 {KEY_CODE: '42', KEY_NAME: 'Nagasaki', KEY_CAT: 'prefecture'},
 {KEY_CODE: '29', KEY_NAME: 'Nara', KEY_CAT: 'prefecture'},
 {KEY_CODE: '15', KEY_NAME: 'Niigata', KEY_CAT: 'prefecture'},
 {KEY_CODE: '33', KEY_NAME: 'Okayama', KEY_CAT: 'prefecture'},
 {KEY_CODE: '47', KEY_NAME: 'Okinawa', KEY_CAT: 'prefecture'},
 {KEY_CODE: '41', KEY_NAME: 'Saga', KEY_CAT: 'prefecture'},
 {KEY_CODE: '11', KEY_NAME: 'Saitama', KEY_CAT: 'prefecture'},
 {KEY_CODE: '31', KEY_NAME: 'Tottori', KEY_CAT: 'prefecture'},
 {KEY_CODE: '16', KEY_NAME: 'Toyama', KEY_CAT: 'prefecture'},
 {KEY_CODE: '30', KEY_NAME: 'Wakayama', KEY_CAT: 'prefecture'},
 {KEY_CODE: '06', KEY_NAME: 'Yamagata', KEY_CAT: 'prefecture'}]

SUB_CN = [{KEY_CODE: 'HK', KEY_NAME: 'Hong Kong SAR', KEY_CAT: 'special administrative region'},
 {KEY_CODE: 'MO', KEY_NAME: 'Macao SAR', KEY_CAT: 'special administrative region'},
 {KEY_CODE: 'GX', KEY_NAME: 'Guangxi Zhuangzu Zizhiqu', KEY_CAT: 'autonomous region'},
 {KEY_CODE: 'NM', KEY_NAME: 'Nei Mongol Zizhiqu', KEY_CAT: 'autonomous region'},
 {KEY_CODE: 'NX', KEY_NAME: 'Ningxia Huizu Zizhiqu', KEY_CAT: 'autonomous region'},
 {KEY_CODE: 'XJ', KEY_NAME: 'Xinjiang Uygur Zizhiqu', KEY_CAT: 'autonomous region'},
 {KEY_CODE: 'XZ', KEY_NAME: 'Xizang Zizhiqu', KEY_CAT: 'autonomous region'},
 {KEY_CODE: 'BJ', KEY_NAME: 'Beijing Shi', KEY_CAT: 'municipality'},
 {KEY_CODE: 'CQ', KEY_NAME: 'Chongqing Shi', KEY_CAT: 'municipality'},
 {KEY_CODE: 'SH', KEY_NAME: 'Shanghai Shi', KEY_CAT: 'municipality'},
 {KEY_CODE: 'TJ', KEY_NAME: 'Tianjin Shi', KEY_CAT: 'municipality'},
 {KEY_CODE: 'AH', KEY_NAME: 'Anhui Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'FJ', KEY_NAME: 'Fujian Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'GS', KEY_NAME: 'Gansu Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'GD', KEY_NAME: 'Guangdong Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'GZ', KEY_NAME: 'Guizhou Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'HI', KEY_NAME: 'Hainan Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'HE', KEY_NAME: 'Hebei Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'HL', KEY_NAME: 'Heilongjiang Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'HA', KEY_NAME: 'Henan Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'HB', KEY_NAME: 'Hubei Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'HN', KEY_NAME: 'Hunan Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'JS', KEY_NAME: 'Jiangsu Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'JX', KEY_NAME: 'Jiangxi Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'JL', KEY_NAME: 'Jilin Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'LN', KEY_NAME: 'Liaoning Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'QH', KEY_NAME: 'Qinghai Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'SN', KEY_NAME: 'Shaanxi Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'SD', KEY_NAME: 'Shandong Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'SX', KEY_NAME: 'Shanxi Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'SC', KEY_NAME: 'Sichuan Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'TW', KEY_NAME: 'Taiwan Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'YN', KEY_NAME: 'Yunnan Sheng', KEY_CAT: 'province'},
 {KEY_CODE: 'ZJ', KEY_NAME: 'Zhejiang Sheng', KEY_CAT: 'province'}]

SUB_AU = [{KEY_CODE: 'ACT', KEY_NAME: 'Australian Capital Territory', KEY_CAT: 'territory'},
 {KEY_CODE: 'NSW', KEY_NAME: 'New South Wales', KEY_CAT: 'state'},
 {KEY_CODE: 'NT', KEY_NAME: 'Northern Territory', KEY_CAT: 'territory'},
 {KEY_CODE: 'QLD', KEY_NAME: 'Queensland', KEY_CAT: 'state'},
 {KEY_CODE: 'SA', KEY_NAME: 'South Australia', KEY_CAT: 'state'},
 {KEY_CODE: 'TAS', KEY_NAME: 'Tasmania', KEY_CAT: 'state'},
 {KEY_CODE: 'VIC', KEY_NAME: 'Victoria', KEY_CAT: 'state'},
 {KEY_CODE: 'WA', KEY_NAME: 'Western Australia', KEY_CAT: 'state'}]

SUB_US = [{KEY_CODE: 'DC', KEY_NAME: 'District of Columbia', KEY_CAT: 'district'},
 {KEY_CODE: 'AS', KEY_NAME: 'American Samoa', KEY_CAT: 'outlying area'},
 {KEY_CODE: 'GU', KEY_NAME: 'Guam', KEY_CAT: 'outlying area'},
 {KEY_CODE: 'MP', KEY_NAME: 'Northern Mariana Islands', KEY_CAT: 'outlying area'},
 {KEY_CODE: 'PR', KEY_NAME: 'Puerto Rico', KEY_CAT: 'outlying area'},
 {KEY_CODE: 'UM', KEY_NAME: 'United States Minor Outlying Islands', KEY_CAT: 'outlying area'},
 {KEY_CODE: 'VI', KEY_NAME: 'Virgin Islands, U.S.', KEY_CAT: 'outlying area'},
 {KEY_CODE: 'AL', KEY_NAME: 'Alabama', KEY_CAT: 'state'},
 {KEY_CODE: 'AK', KEY_NAME: 'Alaska', KEY_CAT: 'state'},
 {KEY_CODE: 'AZ', KEY_NAME: 'Arizona', KEY_CAT: 'state'},
 {KEY_CODE: 'AR', KEY_NAME: 'Arkansas', KEY_CAT: 'state'},
 {KEY_CODE: 'CA', KEY_NAME: 'California', KEY_CAT: 'state'},
 {KEY_CODE: 'CO', KEY_NAME: 'Colorado', KEY_CAT: 'state'},
 {KEY_CODE: 'CT', KEY_NAME: 'Connecticut', KEY_CAT: 'state'},
 {KEY_CODE: 'DE', KEY_NAME: 'Delaware', KEY_CAT: 'state'},
 {KEY_CODE: 'FL', KEY_NAME: 'Florida', KEY_CAT: 'state'},
 {KEY_CODE: 'GA', KEY_NAME: 'Georgia', KEY_CAT: 'state'},
 {KEY_CODE: 'HI', KEY_NAME: 'Hawaii', KEY_CAT: 'state'},
 {KEY_CODE: 'ID', KEY_NAME: 'Idaho', KEY_CAT: 'state'},
 {KEY_CODE: 'IL', KEY_NAME: 'Illinois', KEY_CAT: 'state'},
 {KEY_CODE: 'IN', KEY_NAME: 'Indiana', KEY_CAT: 'state'},
 {KEY_CODE: 'IA', KEY_NAME: 'Iowa', KEY_CAT: 'state'},
 {KEY_CODE: 'KS', KEY_NAME: 'Kansas', KEY_CAT: 'state'},
 {KEY_CODE: 'KY', KEY_NAME: 'Kentucky', KEY_CAT: 'state'},
 {KEY_CODE: 'LA', KEY_NAME: 'Louisiana', KEY_CAT: 'state'},
 {KEY_CODE: 'ME', KEY_NAME: 'Maine', KEY_CAT: 'state'},
 {KEY_CODE: 'MD', KEY_NAME: 'Maryland', KEY_CAT: 'state'},
 {KEY_CODE: 'MA', KEY_NAME: 'Massachusetts', KEY_CAT: 'state'},
 {KEY_CODE: 'MI', KEY_NAME: 'Michigan', KEY_CAT: 'state'},
 {KEY_CODE: 'MN', KEY_NAME: 'Minnesota', KEY_CAT: 'state'},
 {KEY_CODE: 'MS', KEY_NAME: 'Mississippi', KEY_CAT: 'state'},
 {KEY_CODE: 'MO', KEY_NAME: 'Missouri', KEY_CAT: 'state'},
 {KEY_CODE: 'MT', KEY_NAME: 'Montana', KEY_CAT: 'state'},
 {KEY_CODE: 'NE', KEY_NAME: 'Nebraska', KEY_CAT: 'state'},
 {KEY_CODE: 'NV', KEY_NAME: 'Nevada', KEY_CAT: 'state'},
 {KEY_CODE: 'NH', KEY_NAME: 'New Hampshire', KEY_CAT: 'state'},
 {KEY_CODE: 'NJ', KEY_NAME: 'New Jersey', KEY_CAT: 'state'},
 {KEY_CODE: 'NM', KEY_NAME: 'New Mexico', KEY_CAT: 'state'},
 {KEY_CODE: 'NY', KEY_NAME: 'New York', KEY_CAT: 'state'},
 {KEY_CODE: 'NC', KEY_NAME: 'North Carolina', KEY_CAT: 'state'},
 {KEY_CODE: 'ND', KEY_NAME: 'North Dakota', KEY_CAT: 'state'},
 {KEY_CODE: 'OH', KEY_NAME: 'Ohio', KEY_CAT: 'state'},
 {KEY_CODE: 'OK', KEY_NAME: 'Oklahoma', KEY_CAT: 'state'},
 {KEY_CODE: 'OR', KEY_NAME: 'Oregon', KEY_CAT: 'state'},
 {KEY_CODE: 'PA', KEY_NAME: 'Pennsylvania', KEY_CAT: 'state'},
 {KEY_CODE: 'RI', KEY_NAME: 'Rhode Island', KEY_CAT: 'state'},
 {KEY_CODE: 'SC', KEY_NAME: 'South Carolina', KEY_CAT: 'state'},
 {KEY_CODE: 'SD', KEY_NAME: 'South Dakota', KEY_CAT: 'state'},
 {KEY_CODE: 'TN', KEY_NAME: 'Tennessee', KEY_CAT: 'state'},
 {KEY_CODE: 'TX', KEY_NAME: 'Texas', KEY_CAT: 'state'},
 {KEY_CODE: 'UT', KEY_NAME: 'Utah', KEY_CAT: 'state'},
 {KEY_CODE: 'VT', KEY_NAME: 'Vermont', KEY_CAT: 'state'},
 {KEY_CODE: 'VA', KEY_NAME: 'Virginia', KEY_CAT: 'state'},
 {KEY_CODE: 'WA', KEY_NAME: 'Washington', KEY_CAT: 'state'},
 {KEY_CODE: 'WV', KEY_NAME: 'West Virginia', KEY_CAT: 'state'},
 {KEY_CODE: 'WI', KEY_NAME: 'Wisconsin', KEY_CAT: 'state'},
 {KEY_CODE: 'WY', KEY_NAME: 'Wyoming', KEY_CAT: 'state'}]

SUB_SUPPORTED = {
    "CA": SUB_CA,
    "KR": SUB_KR,
    "IN": SUB_IN,
    "JP": SUB_JP,
    "CN": SUB_CN,
    "AU": SUB_AU,
    "US": SUB_US,
}