diff --git a/src/utils/constants.js b/src/utils/constants.js index df6db66e..7eaa6c17 100644 --- a/src/utils/constants.js +++ b/src/utils/constants.js @@ -409,10 +409,6 @@ export const knowledgeBaseSource = [ name: 'Internal IP', value: 'cn_internal_ip_built_in' }, - { - name: 'IDC Renter', - value: 'cn_idc_renter_built_in' - }, { name: 'Psiphon3', value: 'cn_psiphon3_ip' @@ -730,6 +726,14 @@ export const networkOverviewTabList = [ disabled: false, panelId: drillDownPanelTypeMapping.networkOverview }, { + label: 'network.secondLevelDomains', + prop: 'domainSld', + queryCycleTotalProp: 'domainSld', + dillDownProp: ['domain_sld'], + checked: true, + disabled: false, + panelId: drillDownPanelTypeMapping.networkOverview + },{ label: 'network.protocols', prop: 'l7Protocol', queryCycleTotalProp: 'protocols', @@ -737,19 +741,11 @@ export const networkOverviewTabList = [ checked: true, disabled: false, panelId: drillDownPanelTypeMapping.networkOverview - }, { - label: 'network.idcTenants', - prop: 'idcRenter', - queryCycleTotalProp: 'idcTenants', - dillDownProp: ['client_idc_renter', 'server_idc_renter'], - checked: true, - disabled: false, - panelId: drillDownPanelTypeMapping.networkOverview - }, { - label: 'network.provinces', - prop: 'province', - queryCycleTotalProp: 'provinces', - dillDownProp: ['client_province', 'server_province'], + },{ + label: 'network.regions', + prop: 'superAdminArea', + queryCycleTotalProp: 'regions', + dillDownProp: ['client_super_admin_area', 'server_super_admin_area'], checked: false, disabled: false, panelId: drillDownPanelTypeMapping.networkOverview @@ -793,14 +789,6 @@ export const networkOverviewTabList = [ checked: false, disabled: false, panelId: drillDownPanelTypeMapping.networkOverview - }, { - label: 'network.snis', - prop: 'sslSni', - queryCycleTotalProp: 'snis', - dillDownProp: ['ssl_sni'], - checked: false, - disabled: false, - panelId: drillDownPanelTypeMapping.networkOverview }, { label: 'network.protocolPorts', prop: 'protocolPort', @@ -889,22 +877,6 @@ export const networkOverviewTabList = [ checked: false, disabled: false, panelId: drillDownPanelTypeMapping.networkOverview - }, { - label: 'network.clientIdcRenters', - prop: 'clientIdcRenter', - queryCycleTotalProp: 'clientIdcRenters', - dillDownProp: ['client_idc_renter'], - checked: false, - disabled: false, - panelId: drillDownPanelTypeMapping.networkOverview - }, { - label: 'network.serverIdcRenters', - prop: 'serverIdcRenter', - queryCycleTotalProp: 'serverIdcRenters', - dillDownProp: ['server_idc_renter'], - checked: false, - disabled: false, - panelId: drillDownPanelTypeMapping.networkOverview }, { label: 'network.clientAsns', prop: 'clientAsn', @@ -973,6 +945,14 @@ export const networkAppPerformanceTabList = [ checked: true, disabled: false, panelId: drillDownPanelTypeMapping.npmOverviewDomain + },{ + label: 'network.secondLevelDomains', + prop: 'domainSld', + queryCycleTotalProp: 'domainSld', + dillDownProp: ['domain_sld'], + checked: true, + disabled: false, + panelId: drillDownPanelTypeMapping.npmOverviewDomain }, { label: 'network.protocols', prop: 'l7Protocol', @@ -982,18 +962,10 @@ export const networkAppPerformanceTabList = [ disabled: false, panelId: drillDownPanelTypeMapping.npmOverviewCommon }, { - label: 'network.idcTenants', - prop: 'idcRenter', - queryCycleTotalProp: 'idcTenants', - dillDownProp: ['client_idc_renter', 'server_idc_renter'], - checked: true, - disabled: false, - panelId: drillDownPanelTypeMapping.npmOverviewCommon - }, { - label: 'network.provinces', - prop: 'province', - queryCycleTotalProp: 'provinces', - dillDownProp: ['client_province', 'server_province'], + label: 'network.regions', + prop: 'superAdminArea', + queryCycleTotalProp: 'regions', + dillDownProp: ['client_super_admin_area', 'server_super_admin_area'], checked: false, disabled: false, panelId: drillDownPanelTypeMapping.npmOverviewCommon @@ -1037,14 +1009,6 @@ export const networkAppPerformanceTabList = [ checked: false, disabled: false, panelId: drillDownPanelTypeMapping.npmOverviewCommon - }, { - label: 'network.snis', - prop: 'sslSni', - queryCycleTotalProp: 'snis', - dillDownProp: ['ssl_sni'], - checked: false, - disabled: false, - panelId: drillDownPanelTypeMapping.npmOverviewCommon }, { label: 'network.protocolPorts', prop: 'protocolPort', @@ -1133,22 +1097,6 @@ export const networkAppPerformanceTabList = [ checked: false, disabled: false, panelId: drillDownPanelTypeMapping.npmOverviewCommon - }, { - label: 'network.clientIdcRenters', - prop: 'clientIdcRenter', - queryCycleTotalProp: 'clientIdcRenters', - dillDownProp: ['client_idc_renter'], - checked: false, - disabled: false, - panelId: drillDownPanelTypeMapping.npmOverviewCommon - }, { - label: 'network.serverIdcRenters', - prop: 'serverIdcRenter', - queryCycleTotalProp: 'serverIdcRenters', - dillDownProp: ['server_idc_renter'], - checked: false, - disabled: false, - panelId: drillDownPanelTypeMapping.npmOverviewCommon }, { label: 'network.clientAsns', prop: 'clientAsn', @@ -1216,7 +1164,15 @@ export const linkMonitorTabList = [ checked: true, disabled: false, panelId: drillDownPanelTypeMapping.linkMonitor - }, { + },{ + label: 'network.secondLevelDomains', + prop: 'domainSld', + queryCycleTotalProp: 'domainSld', + dillDownProp: ['domain_sld'], + checked: true, + disabled: false, + panelId: drillDownPanelTypeMapping.linkMonitor + }, { label: 'network.protocols', prop: 'l7Protocol', queryCycleTotalProp: 'protocols', @@ -1225,18 +1181,10 @@ export const linkMonitorTabList = [ disabled: false, panelId: drillDownPanelTypeMapping.linkMonitor }, { - label: 'network.idcTenants', - prop: 'idcRenter', - queryCycleTotalProp: 'idcTenants', - dillDownProp: ['client_idc_renter', 'server_idc_renter'], - checked: true, - disabled: false, - panelId: drillDownPanelTypeMapping.linkMonitor - }, { - label: 'network.provinces', - prop: 'province', - queryCycleTotalProp: 'provinces', - dillDownProp: ['client_province', 'server_province'], + label: 'network.regions', + prop: 'superAdminArea', + queryCycleTotalProp: 'regions', + dillDownProp: ['client_super_admin_area', 'server_super_admin_area'], checked: false, disabled: false, panelId: drillDownPanelTypeMapping.linkMonitor @@ -1280,15 +1228,7 @@ export const linkMonitorTabList = [ checked: false, disabled: false, panelId: drillDownPanelTypeMapping.linkMonitor - }, { - label: 'network.snis', - prop: 'sslSni', - queryCycleTotalProp: 'snis', - dillDownProp: ['ssl_sni'], - checked: false, - disabled: false, - panelId: drillDownPanelTypeMapping.linkMonitor - }, { + },{ label: 'network.protocolPorts', prop: 'protocolPort', queryCycleTotalProp: 'protocolports', @@ -1376,22 +1316,6 @@ export const linkMonitorTabList = [ checked: false, disabled: false, panelId: drillDownPanelTypeMapping.linkMonitor - }, { - label: 'network.clientIdcRenters', - prop: 'clientIdcRenter', - queryCycleTotalProp: 'clientIdcRenters', - dillDownProp: ['client_idc_renter'], - checked: false, - disabled: false, - panelId: drillDownPanelTypeMapping.linkMonitor - }, { - label: 'network.serverIdcRenters', - prop: 'serverIdcRenter', - queryCycleTotalProp: 'serverIdcRenters', - dillDownProp: ['server_idc_renter'], - checked: false, - disabled: false, - panelId: drillDownPanelTypeMapping.linkMonitor }, { label: 'network.clientAsns', prop: 'clientAsn', @@ -1447,15 +1371,6 @@ export const dnsServiceInsightsTabList = [ disabled: false, panelId: drillDownPanelTypeMapping.dnsFourthMenu }, - { - label: 'dns.dnsServerOrganizations', - prop: 'dnsServerOrganization', - queryCycleTotalProp: 'orgs', - dillDownProp: ['dns_server_org'], - checked: true, - disabled: false, - panelId: drillDownPanelTypeMapping.dnsFourthMenu - }, { label: 'dns.dnsServerRoles', prop: 'dnsServerRole', @@ -2021,282 +1936,282 @@ export const iso36112 = { } export const countryNameIdMapping = { - "Private IP": "CN", - "Andorra": "AD", - "United Arab Emirates": "AE", - "Afghanistan": "AF", - "Antigua and Barbuda": "AG", - "Anguilla": "AI", - "Albania": "AL", - "Armenia": "AM", - "Angola": "AO", - "Antarctica": "AQ", - "Argentina": "AR", - "American Samoa": "AS", - "Austria": "AT", - "Australia": "AU", - "Aruba": "AW", - "Ahvenanmaa": "AX", - "Åland Islands": "AX", - "Azerbaijan": "AZ", - "Bosnia and Herzegovina": "BA", - "Barbados": "BB", - "Bangladesh": "BD", - "Belgium": "BE", - "Burkina Faso": "BF", - "Bulgaria": "BG", - "Bahrain": "BH", - "Burundi": "BI", - "Benin": "BJ", - "Saint Barthelemy": "BL", - "Bermuda": "BM", - "Brunei": "BN", - "Brunei Darussalam": "BN", - "Bolivia": "BO", - "Bonaire, Sint Eustatius, and Saba": "BQ", - "Caribbean Netherlands": "BQ", - "Brazil": "BR", - "Bahamas": "BS", - "Bhutan": "BT", - "Bouvet Island": "BV", - "Botswana": "BW", - "Belarus": "BY", - "Belize": "BZ", - "Canada": "CA", - "Cocos (Keeling) Islands": "CC", - "Democratic Republic of the Congo": "CD", - "DR Congo": "CD", - "Central African Republic": "CF", - "Congo Republic": "CG", - "Republic of the Congo": "CG", - "Switzerland": "CH", - "Cote D'Ivoire": "CI", - "Ivory Coast": "CI", - "Cook Islands": "CK", - "Chile": "CL", - "Cameroon": "CM", - "China": "CN", - "Colombia": "CO", - "Costa Rica": "CR", - "Cuba": "CU", - "Cabo Verde": "CV", - "Cape Verde": "CV", - "Curaao": "CW", - "Curaçao": "CW", - "Christmas Island": "CX", - "Cyprus": "CY", - "Czech Republic": "CZ", - "Czechia": "CZ", - "Germany": "DE", - "Djibouti": "DJ", - "Denmark": "DK", - "Dominica": "DM", - "Dominican Republic": "DO", - "Algeria": "DZ", - "Ecuador": "EC", - "Estonia": "EE", - "Egypt": "EG", - "Western Sahara": "EH", - "Eritrea": "ER", - "Spain": "ES", - "Ethiopia": "ET", - "Finland": "FI", - "Fiji": "FJ", - "Falkland Islands": "FK", - "Federated States of Micronesia": "FM", - "Micronesia": "FM", - "Faroe Islands": "FO", - "France": "FR", - "Gabon": "GA", - "United Kingdom": "GB", - "Grenada": "GD", - "Georgia": "GE", - "French Guiana": "GF", - "Guernsey": "GG", - "Ghana": "GH", - "Gibraltar": "GI", - "Greenland": "GL", - "Gambia": "GM", - "Guinea": "GN", - "Guadeloupe": "GP", - "Equatorial Guinea": "GQ", - "Greece": "GR", - "South Georgia and The South Sandwich Islands": "GS", - "Guatemala": "GT", - "Guam": "GU", - "Guinea-Bissau": "GW", - "Guyana": "GY", - "Hong Kong": "HK", - "Heard and McDonald Islands": "HM", - "Heard Island and McDonald Islands": "HM", - "Honduras": "HN", - "Croatia": "HR", - "Haiti": "HT", - "Hungary": "HU", - "Indonesia": "ID", - "Ireland": "IE", - "Israel": "IL", - "Isle of Man": "IM", - "India": "IN", - "British Indian Ocean Territory": "IO", - "Iraq": "IQ", - "Iran": "IR", - "Iceland": "IS", - "Italy": "IT", - "Jersey": "JE", - "Jamaica": "JM", - "Jordan": "JO", - "Japan": "JP", - "Kenya": "KE", - "Kyrgyzstan": "KG", - "Cambodia": "KH", - "Kiribati": "KI", - "Comoros": "KM", - "Saint Kitts and Nevis": "KN", - "St Kitts and Nevis": "KN", - "North Korea": "KP", - "South Korea": "KR", - "Kuwait": "KW", - "Cayman Islands": "KY", - "Kazakhstan": "KZ", - "Laos": "LA", - "Lebanon": "LB", - "Saint Lucia": "LC", - "Liechtenstein": "LI", - "Sri Lanka": "LK", - "Liberia": "LR", - "Lesotho": "LS", - "Lithuania": "LT", - "Luxembourg": "LU", - "Latvia": "LV", - "Libya": "LY", - "Morocco": "MA", - "Monaco": "MC", - "Moldova": "MD", - "Montenegro": "ME", - "Saint Martin": "MF", - "Madagascar": "MG", - "Marshall Islands": "MH", - "North Macedonia": "MK", - "The Republic of North Macedonia": "MK", - "Mali": "ML", - "Myanmar": "MM", - "Mongolia": "MN", - "Macao": "MO", - "Northern Mariana Islands": "MP", - "Martinique": "MQ", - "Mauritania": "MR", - "Montserrat": "MS", - "Malta": "MT", - "Mauritius": "MU", - "Maldives": "MV", - "Malawi": "MW", - "Mexico": "MX", - "Malaysia": "MY", - "Mozambique": "MZ", - "Namibia": "NA", - "New Caledonia": "NC", - "Niger": "NE", - "Norfolk Island": "NF", - "Nigeria": "NG", - "Nicaragua": "NI", - "Netherlands": "NL", - "The Netherlands": "NL", - "Norway": "NO", - "Nepal": "NP", - "Nauru": "NR", - "Niue": "NU", - "New Zealand": "NZ", - "Oman": "OM", - "Panama": "PA", - "Peru": "PE", - "French Polynesia": "PF", - "Papua New Guinea": "PG", - "Philippines": "PH", - "Pakistan": "PK", - "Poland": "PL", - "Saint Pierre and Miquelon": "PM", - "Saint-Pierre and Miquelon": "PM", - "Pitcairn": "PN", - "Pitcairn Islands": "PN", - "Puerto Rico": "PR", - "Palestine": "PS", - "Portugal": "PT", - "Palau": "PW", - "Paraguay": "PY", - "Qatar": "QA", - "Reunion": "RE", - "Romania": "RO", - "Serbia": "RS", - "Russia": "RU", - "Rwanda": "RW", - "Saudi Arabia": "SA", - "Solomon Islands": "SB", - "Seychelles": "SC", - "Sudan": "SD", - "Sweden": "SE", - "Singapore": "SG", - "Saint Helena": "SH", - "Slovenia": "SI", - "Svalbard and Jan Mayen": "SJ", - "Slovakia": "SK", - "Sierra Leone": "SL", - "San Marino": "SM", - "Senegal": "SN", - "Somalia": "SO", - "Suriname": "SR", - "South Sudan": "SS", - "Sao Tome and Principe": "ST", - "El Salvador": "SV", - "Sint Maarten": "SX", - "Syria": "SY", - "Eswatini": "SZ", - "Swaziland": "SZ", - "Turks and Caicos Islands": "TC", - "Chad": "TD", - "French Southern and Antarctic Lands": "TF", - "French Southern Territories": "TF", - "Togo": "TG", - "Thailand": "TH", - "Tajikistan": "TJ", - "Tokelau": "TK", - "East Timor": "TL", - "Timor-Leste": "TL", - "Turkmenistan": "TM", - "Tunisia": "TN", - "Tonga": "TO", - "Turkey": "TR", - "Trinidad and Tobago": "TT", - "Tuvalu": "TV", - "Taiwan": "TW", - "Tanzania": "TZ", - "Ukraine": "UA", - "Uganda": "UG", - "US Minor Outlying Islands": "UM", - "US-Outlying Islands": "UM", - "Unknown": "Unknown", - "United States": "US", - "Uruguay": "UY", - "Uzbekistan": "UZ", - "Vatican City": "VA", - "Saint Vincent and the Grenadines": "VC", - "St Vincent and Grenadines": "VC", - "Venezuela": "VE", - "British Virgin Islands": "VG", - "United States Virgin Islands": "VI", - "US-Virgin Islands": "VI", - "Viet Nam": "VN", - "Vietnam": "VN", - "Vanuatu": "VU", - "Wallis and Futuna": "WF", - "Samoa": "WS", - "Kosovo": "XK", - "The Republic of Kosovo": "XK", - "Yemen": "YE", - "Mayotte": "YT", - "South Africa": "ZA", - "Zambia": "ZM", - "Zimbabwe": "ZW" + 'Private IP': 'CN', + Andorra: 'AD', + 'United Arab Emirates': 'AE', + Afghanistan: 'AF', + 'Antigua and Barbuda': 'AG', + Anguilla: 'AI', + Albania: 'AL', + Armenia: 'AM', + Angola: 'AO', + Antarctica: 'AQ', + Argentina: 'AR', + 'American Samoa': 'AS', + Austria: 'AT', + Australia: 'AU', + Aruba: 'AW', + Ahvenanmaa: 'AX', + 'Åland Islands': 'AX', + Azerbaijan: 'AZ', + 'Bosnia and Herzegovina': 'BA', + Barbados: 'BB', + Bangladesh: 'BD', + Belgium: 'BE', + 'Burkina Faso': 'BF', + Bulgaria: 'BG', + Bahrain: 'BH', + Burundi: 'BI', + Benin: 'BJ', + 'Saint Barthelemy': 'BL', + Bermuda: 'BM', + Brunei: 'BN', + 'Brunei Darussalam': 'BN', + Bolivia: 'BO', + 'Bonaire, Sint Eustatius, and Saba': 'BQ', + 'Caribbean Netherlands': 'BQ', + Brazil: 'BR', + Bahamas: 'BS', + Bhutan: 'BT', + 'Bouvet Island': 'BV', + Botswana: 'BW', + Belarus: 'BY', + Belize: 'BZ', + Canada: 'CA', + 'Cocos (Keeling) Islands': 'CC', + 'Democratic Republic of the Congo': 'CD', + 'DR Congo': 'CD', + 'Central African Republic': 'CF', + 'Congo Republic': 'CG', + 'Republic of the Congo': 'CG', + Switzerland: 'CH', + "Cote D'Ivoire": 'CI', + 'Ivory Coast': 'CI', + 'Cook Islands': 'CK', + Chile: 'CL', + Cameroon: 'CM', + China: 'CN', + Colombia: 'CO', + 'Costa Rica': 'CR', + Cuba: 'CU', + 'Cabo Verde': 'CV', + 'Cape Verde': 'CV', + Curaao: 'CW', + Curaçao: 'CW', + 'Christmas Island': 'CX', + Cyprus: 'CY', + 'Czech Republic': 'CZ', + Czechia: 'CZ', + Germany: 'DE', + Djibouti: 'DJ', + Denmark: 'DK', + Dominica: 'DM', + 'Dominican Republic': 'DO', + Algeria: 'DZ', + Ecuador: 'EC', + Estonia: 'EE', + Egypt: 'EG', + 'Western Sahara': 'EH', + Eritrea: 'ER', + Spain: 'ES', + Ethiopia: 'ET', + Finland: 'FI', + Fiji: 'FJ', + 'Falkland Islands': 'FK', + 'Federated States of Micronesia': 'FM', + Micronesia: 'FM', + 'Faroe Islands': 'FO', + France: 'FR', + Gabon: 'GA', + 'United Kingdom': 'GB', + Grenada: 'GD', + Georgia: 'GE', + 'French Guiana': 'GF', + Guernsey: 'GG', + Ghana: 'GH', + Gibraltar: 'GI', + Greenland: 'GL', + Gambia: 'GM', + Guinea: 'GN', + Guadeloupe: 'GP', + 'Equatorial Guinea': 'GQ', + Greece: 'GR', + 'South Georgia and The South Sandwich Islands': 'GS', + Guatemala: 'GT', + Guam: 'GU', + 'Guinea-Bissau': 'GW', + Guyana: 'GY', + 'Hong Kong': 'HK', + 'Heard and McDonald Islands': 'HM', + 'Heard Island and McDonald Islands': 'HM', + Honduras: 'HN', + Croatia: 'HR', + Haiti: 'HT', + Hungary: 'HU', + Indonesia: 'ID', + Ireland: 'IE', + Israel: 'IL', + 'Isle of Man': 'IM', + India: 'IN', + 'British Indian Ocean Territory': 'IO', + Iraq: 'IQ', + Iran: 'IR', + Iceland: 'IS', + Italy: 'IT', + Jersey: 'JE', + Jamaica: 'JM', + Jordan: 'JO', + Japan: 'JP', + Kenya: 'KE', + Kyrgyzstan: 'KG', + Cambodia: 'KH', + Kiribati: 'KI', + Comoros: 'KM', + 'Saint Kitts and Nevis': 'KN', + 'St Kitts and Nevis': 'KN', + 'North Korea': 'KP', + 'South Korea': 'KR', + Kuwait: 'KW', + 'Cayman Islands': 'KY', + Kazakhstan: 'KZ', + Laos: 'LA', + Lebanon: 'LB', + 'Saint Lucia': 'LC', + Liechtenstein: 'LI', + 'Sri Lanka': 'LK', + Liberia: 'LR', + Lesotho: 'LS', + Lithuania: 'LT', + Luxembourg: 'LU', + Latvia: 'LV', + Libya: 'LY', + Morocco: 'MA', + Monaco: 'MC', + Moldova: 'MD', + Montenegro: 'ME', + 'Saint Martin': 'MF', + Madagascar: 'MG', + 'Marshall Islands': 'MH', + 'North Macedonia': 'MK', + 'The Republic of North Macedonia': 'MK', + Mali: 'ML', + Myanmar: 'MM', + Mongolia: 'MN', + Macao: 'MO', + 'Northern Mariana Islands': 'MP', + Martinique: 'MQ', + Mauritania: 'MR', + Montserrat: 'MS', + Malta: 'MT', + Mauritius: 'MU', + Maldives: 'MV', + Malawi: 'MW', + Mexico: 'MX', + Malaysia: 'MY', + Mozambique: 'MZ', + Namibia: 'NA', + 'New Caledonia': 'NC', + Niger: 'NE', + 'Norfolk Island': 'NF', + Nigeria: 'NG', + Nicaragua: 'NI', + Netherlands: 'NL', + 'The Netherlands': 'NL', + Norway: 'NO', + Nepal: 'NP', + Nauru: 'NR', + Niue: 'NU', + 'New Zealand': 'NZ', + Oman: 'OM', + Panama: 'PA', + Peru: 'PE', + 'French Polynesia': 'PF', + 'Papua New Guinea': 'PG', + Philippines: 'PH', + Pakistan: 'PK', + Poland: 'PL', + 'Saint Pierre and Miquelon': 'PM', + 'Saint-Pierre and Miquelon': 'PM', + Pitcairn: 'PN', + 'Pitcairn Islands': 'PN', + 'Puerto Rico': 'PR', + Palestine: 'PS', + Portugal: 'PT', + Palau: 'PW', + Paraguay: 'PY', + Qatar: 'QA', + Reunion: 'RE', + Romania: 'RO', + Serbia: 'RS', + Russia: 'RU', + Rwanda: 'RW', + 'Saudi Arabia': 'SA', + 'Solomon Islands': 'SB', + Seychelles: 'SC', + Sudan: 'SD', + Sweden: 'SE', + Singapore: 'SG', + 'Saint Helena': 'SH', + Slovenia: 'SI', + 'Svalbard and Jan Mayen': 'SJ', + Slovakia: 'SK', + 'Sierra Leone': 'SL', + 'San Marino': 'SM', + Senegal: 'SN', + Somalia: 'SO', + Suriname: 'SR', + 'South Sudan': 'SS', + 'Sao Tome and Principe': 'ST', + 'El Salvador': 'SV', + 'Sint Maarten': 'SX', + Syria: 'SY', + Eswatini: 'SZ', + Swaziland: 'SZ', + 'Turks and Caicos Islands': 'TC', + Chad: 'TD', + 'French Southern and Antarctic Lands': 'TF', + 'French Southern Territories': 'TF', + Togo: 'TG', + Thailand: 'TH', + Tajikistan: 'TJ', + Tokelau: 'TK', + 'East Timor': 'TL', + 'Timor-Leste': 'TL', + Turkmenistan: 'TM', + Tunisia: 'TN', + Tonga: 'TO', + Turkey: 'TR', + 'Trinidad and Tobago': 'TT', + Tuvalu: 'TV', + Taiwan: 'TW', + Tanzania: 'TZ', + Ukraine: 'UA', + Uganda: 'UG', + 'US Minor Outlying Islands': 'UM', + 'US-Outlying Islands': 'UM', + Unknown: 'Unknown', + 'United States': 'US', + Uruguay: 'UY', + Uzbekistan: 'UZ', + 'Vatican City': 'VA', + 'Saint Vincent and the Grenadines': 'VC', + 'St Vincent and Grenadines': 'VC', + Venezuela: 'VE', + 'British Virgin Islands': 'VG', + 'United States Virgin Islands': 'VI', + 'US-Virgin Islands': 'VI', + 'Viet Nam': 'VN', + Vietnam: 'VN', + Vanuatu: 'VU', + 'Wallis and Futuna': 'WF', + Samoa: 'WS', + Kosovo: 'XK', + 'The Republic of Kosovo': 'XK', + Yemen: 'YE', + Mayotte: 'YT', + 'South Africa': 'ZA', + Zambia: 'ZM', + Zimbabwe: 'ZW' } export const reg = {