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,gBAAkB,gBAC1B,QAAQ,YAAc,YACtB,QAAQ,aAAe,aACvB,QAAQ,aAAe,aACvB,QAAQ,eAAiB,eACzB,QAAQ,YAAc,YACtB,QAAQ,aAAe,aACvB,QAAQ,gBAAkB,gBAC1B,QAAQ,iBAAmB,iBAC3B,QAAQ,gBAAkB,gBAC1B,QAAQ,gBAAkB,gBAC1B,QAAQ,eAAiB,eACzB,QAAQ,eAAiB,eACzB,QAAQ,QAAU,QAClB,QAAQ,UAAY,UACpB,QAAQ,aAAe,aACvB,QAAQ,eAAiB,eACzB,QAAQ,cAAgB,cACxB,QAAQ,iBAAmB,iBAC3B,QAAQ,aAAe,aACvB,QAAQ,WAAa,WACrB,QAAQ,cAAgB,cACxB,QAAQ,eAAiB,eACzB,QAAQ,gBAAkB,gBAC1B,QAAQ,kBAAoB,kBAC5B,QAAQ,wBAA0B,wBAClC,QAAQ,yBAA2B,yBACnC,QAAQ,iCAAmC,iCAC3C,QAAQ,kCAAoC,kCAC5C,QAAQ,uBAAyB,uBACjC,QAAQ,iBAAmB,iBAC3B,QAAQ,aAAe,aACvB,QAAQ,SAAW,SACnB,QAAQ,OAAS,OACjB,QAAQ,QAAU,QAClB,QAAQ,QAAU,QAClB,QAAQ,QAAU,QAClB,QAAQ,OAAS,OACjB,QAAQ,QAAU,QAClB,QAAQ,QAAU,QAClB,QAAQ,OAAS,OACjB,QAAQ,OAAS,OACjB,QAAQ,OAAS,OACjB,QAAQ,WAAa,WACrB,QAAQ,YAAc,YACtB,QAAQ,MAAQ,MAChB,QAAQ,SAAW,SACnB,QAAQ,YAAc,YACtB,QAAQ,gBAAkB,gBAC1B,QAAQ,YAAc,YACtB,QAAQ,YAAc,YACtB,QAAQ,WAAa,WACrB,QAAQ,WAAa","file":"/npm/countriesjs@1.0.2/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/countriesjs@1.0.2/dist/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar _require = require('typy'),\n    t = _require.t;\n\nvar fs = require('fs');\nfunction _get(folder, country, location) {\n  var f = require('./resources/' + folder + '/' + country + '.json');\n  return t(f, location);\n}\nfunction toArray(obj) {\n  var result = [];\n  for (var prop in obj) {\n    var value = obj[prop];\n    if ((typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {\n      result.push(toArray(value)); // <- recursive call\n    } else {\n      result.push(value);\n    }\n  }\n  return result;\n}\nvar getName = function getName(c) {\n  return _get('data', c, 'name.common').input;\n};\nvar getOfficalName = function getOfficalName(c) {\n  return _get('data', c, 'name.official').input;\n};\nvar getNativeName = function getNativeName(c) {\n  var a = _get('data', c, 'name.native').input;\n  return toArray(a)[0][0];\n};\nvar getOfficialNativeName = function getOfficialNativeName(c) {\n  var a = _get('data', c, 'name.native').input;\n  return toArray(a)[0][1];\n};\nvar getDemonym = function getDemonym(c) {\n  return _get('data', c, 'demonym').input;\n};\nvar getCapital = function getCapital(c) {\n  return _get('data', c, 'capital').input;\n};\nvar getIsoAlpha2 = function getIsoAlpha2(c) {\n  return _get('data', c, 'iso_3166_1_alpha2').input;\n};\nvar getIsoAlpha3 = function getIsoAlpha3(c) {\n  return _get('data', c, 'iso_3166_1_alpha3').input;\n};\nvar getIsoNumeric = function getIsoNumeric(c) {\n  return _get('data', c, 'iso_3166_1_numeric').input;\n};\nvar getTld = function getTld(c) {\n  return _get('data', c, 'tld').input[0];\n};\nvar getTlds = function getTlds(c) {\n  return _get('data', c, 'tld').input;\n};\nvar getAltSpellings = function getAltSpellings(c) {\n  return _get('data', c, 'alt_spellings').input;\n};\nvar getLanguage = function getLanguage(c) {\n  return toArray(_get('data', c, 'languages').input)[0];\n};\nvar getLanguages = function getLanguages(c) {\n  return toArray(_get('data', c, 'languages').input);\n};\nvar getContinent = function getContinent(c) {\n  return toArray(_get('data', c, 'geo.continent').input)[0];\n};\nvar usesPostalCode = function usesPostalCode(c) {\n  return _get('data', c, 'geo.postal_code').input;\n};\nvar getLatitude = function getLatitude(c) {\n  return _get('data', c, 'geo.latitude').input;\n};\nvar getLongitude = function getLongitude(c) {\n  return _get('data', c, 'geo.longitude').input;\n};\nvar getLatitudeDesc = function getLatitudeDesc(c) {\n  return _get('data', c, 'geo.latitude_desc').input;\n};\nvar getLongitudeDesc = function getLongitudeDesc(c) {\n  return _get('data', c, 'geo.longitude_desc').input;\n};\nvar getMaxLongitude = function getMaxLongitude(c) {\n  return _get('data', c, 'geo.max_longitude').input;\n};\nvar getMinLongitude = function getMinLongitude(c) {\n  return _get('data', c, 'geo.min_longitude').input;\n};\nvar getMaxLatitude = function getMaxLatitude(c) {\n  return _get('data', c, 'geo.max_latitude').input;\n};\nvar getMinLatitude = function getMinLatitude(c) {\n  return _get('data', c, 'geo.min_latitude').input;\n};\nvar getArea = function getArea(c) {\n  return _get('data', c, 'geo.area').input;\n};\nvar getRegion = function getRegion(c) {\n  return _get('data', c, 'geo.region').input;\n};\nvar getSubregion = function getSubregion(c) {\n  return _get('data', c, 'geo.subregion').input;\n};\nvar getWorldRegion = function getWorldRegion(c) {\n  return _get('data', c, 'geo.world_region').input;\n};\nvar getRegionCode = function getRegionCode(c) {\n  return _get('data', c, 'geo.region_code').input;\n};\nvar getSubregionCode = function getSubregionCode(c) {\n  return _get('data', c, 'geo.subregion_code').input;\n};\n\nvar isLandlocked = function isLandlocked(c) {\n  return _get('data', c, 'geo.landlocked').input;\n};\nvar getBorders = function getBorders(c) {\n  return _get('data', c, 'geo.borders').input;\n};\nvar isIndependent = function isIndependent(c) {\n  return _get('data', c, 'geo.independent').input;\n};\nvar getCallingCode = function getCallingCode(c) {\n  return _get('data', c, 'dialling.calling_code').input[0];\n};\n\nvar getCallingCodes = function getCallingCodes(c) {\n  return _get('data', c, 'dialling.calling_code').input;\n};\n\nvar getNationalPrefix = function getNationalPrefix(c) {\n  return _get('data', c, 'dialling.national_prefix').input;\n};\n\nvar getNationalNumberLength = function getNationalNumberLength(c) {\n  return _get('data', c, 'dialling.national_number_lengths').input[0];\n};\n\nvar getNationalNumberLengths = function getNationalNumberLengths(c) {\n  return _get('data', c, 'dialling.national_number_lengths').input;\n};\nvar getNationalDestinationCodeLength = function getNationalDestinationCodeLength(c) {\n  return _get('data', c, 'dialling.national_destination_code_lengths').input[0];\n};\n\nvar getNationalDestinationCodeLengths = function getNationalDestinationCodeLengths(c) {\n  return _get('data', c, 'dialling.national_destination_code_lengths').input;\n};\nvar getInternationalPrefix = function getInternationalPrefix(c) {\n  return _get('data', c, 'dialling.international_prefix').input;\n};\nvar getAddressFormat = function getAddressFormat(c) {\n  return _get('data', c, 'extra.address_format').input;\n};\nvar getGeonameid = function getGeonameid(c) {\n  return _get('data', c, 'extra.geonameid').input;\n};\nvar getEdgar = function getEdgar(c) {\n  return _get('data', c, 'extra.edgar').input;\n};\nvar getWmo = function getWmo(c) {\n  return _get('data', c, 'extra.wmo').input;\n};\nvar getDs = function getDs(c) {\n  return _get('data', c, 'extra.ds').input;\n};\n\nvar getFifa = function getFifa(c) {\n  return _get('data', c, 'extra.fifa').input;\n};\nvar getFips = function getFips(c) {\n  return _get('data', c, 'extra.fips').input;\n};\nvar getGaul = function getGaul(c) {\n  return _get('data', c, 'extra.gaul').input;\n};\nvar getIoc = function getIoc(c) {\n  return _get('data', c, 'extra.ioc').input;\n};\nvar getCowc = function getCowc(c) {\n  return _get('data', c, 'extra.cowc').input;\n};\nvar getCown = function getCown(c) {\n  return _get('data', c, 'extra.cown').input;\n};\nvar getFao = function getFao(c) {\n  return _get('data', c, 'extra.fao').input;\n};\nvar getImf = function getImf(c) {\n  return _get('data', c, 'extra.imf').input;\n};\nvar getAr5 = function getAr5(c) {\n  return _get('data', c, 'extra.ar5').input;\n};\nvar isEuMember = function isEuMember(c) {\n  return _get('data', c, 'extra.eu_member').input;\n};\nvar getVatRates = function getVatRates(c) {\n  return _get('data', c, 'extra.vat_rates').input;\n};\nvar getEmoji = function getEmoji(c) {\n  return _get('data', c, 'extra.emoji').input;\n};\nvar getDivisons = function getDivisons(c) {\n  return _get('divisions', c, '').input;\n};\nvar getDivisonNames = function getDivisonNames(c) {\n  var a = toArray(_get('divisions', c, '').input);\n  var b = [];\n  for (var i = 0; i < a.length; i++) {\n    b.push(a[i][0]);\n  }\n  return b;\n};\nvar getDivision = function getDivision(c, n) {\n  return _get('divisions', c, n).input;\n};\nvar getCurrency = function getCurrency(c) {\n  return _get('data', c, 'currency').input;\n};\n\nvar getGeoJSON = function getGeoJSON(c) {\n  return _get('geodata', c, '').input;\n};\n\nvar getFlagSVG = function getFlagSVG(c) {\n  fs.readFile('./resources/flags/' + c + '.svg', 'utf8', function (err, contents) {\n    return contents;\n  });\n};\n\nvar Country = function () {\n  function Country(country, division) {\n    _classCallCheck(this, Country);\n\n    this.country = country;\n    this.diviosn = division;\n  }\n\n  _createClass(Country, [{\n    key: 'getName',\n    get: function get() {\n      // console.log(country+\"this is class\")\n      return _get('data', this.country, 'name.common').input;\n    }\n  }, {\n    key: 'getOfficalName',\n    get: function get() {\n      return _get('data', this.country, 'name.official').input;\n    }\n  }, {\n    key: 'getNativeName',\n    get: function get() {\n      var a = _get('data', this.country, 'name.native').input;\n      return toArray(a)[0][0];\n    }\n  }, {\n    key: 'getOfficialNativeName',\n    get: function get() {\n      var a = _get('data', this.country, 'name.native').input;\n      return toArray(a)[0][1];\n    }\n  }, {\n    key: 'getDemonym',\n    get: function get() {\n      return _get('data', this.country, 'demonym').input;\n    }\n  }, {\n    key: 'getCapital',\n    get: function get() {\n      return _get('data', this.country, 'capital').input;\n    }\n  }, {\n    key: 'getIsoAlpha2',\n    get: function get() {\n      return _get('data', this.country, 'iso_3166_1_alpha2').input;\n    }\n  }, {\n    key: 'getIsoAlpha3',\n    get: function get() {\n      return _get('data', this.country, 'iso_3166_1_alpha3').input;\n    }\n  }, {\n    key: 'getIsoNumeric',\n    get: function get() {\n      return _get('data', this.country, 'iso_3166_1_numeric').input;\n    }\n  }, {\n    key: 'getTld',\n    get: function get() {\n      return _get('data', this.country, 'tld').input[0];\n    }\n  }, {\n    key: 'getTlds',\n    get: function get() {\n      return _get('data', this.country, 'tld').input;\n    }\n  }, {\n    key: 'getAltSpellings',\n    get: function get() {\n      return _get('data', this.country, 'alt_spellings').input;\n    }\n  }, {\n    key: 'getLanguage',\n    get: function get() {\n      return toArray(_get('data', this.country, 'languages').input)[0];\n    }\n  }, {\n    key: 'getLanguages',\n    get: function get() {\n      return toArray(_get('data', this.country, 'languages').input);\n    }\n  }, {\n    key: 'getContinent',\n    get: function get() {\n      return toArray(_get('data', this.country, 'geo.continent').input)[0];\n    }\n  }, {\n    key: 'usesPostalCode',\n    get: function get() {\n      return _get('data', this.country, 'geo.postal_code').input;\n    }\n  }, {\n    key: 'getLatitude',\n    get: function get() {\n      return _get('data', this.country, 'geo.latitude').input;\n    }\n  }, {\n    key: 'getLongitude',\n    get: function get() {\n      return _get('data', this.country, 'geo.longitude').input;\n    }\n  }, {\n    key: 'getLatitudeDesc',\n    get: function get() {\n      return _get('data', this.country, 'geo.latitude_desc').input;\n    }\n  }, {\n    key: 'getLongitudeDesc',\n    get: function get() {\n      return _get('data', this.country, 'geo.longitude_desc').input;\n    }\n  }, {\n    key: 'getMaxLongitude',\n    get: function get() {\n      return _get('data', this.country, 'geo.max_longitude').input;\n    }\n  }, {\n    key: 'getMinLongitude',\n    get: function get() {\n      return _get('data', this.country, 'geo.min_longitude').input;\n    }\n  }, {\n    key: 'getMaxLatitude',\n    get: function get() {\n      return _get('data', this.country, 'geo.max_latitude').input;\n    }\n  }, {\n    key: 'getMinLatitude',\n    get: function get() {\n      return _get('data', this.country, 'geo.min_latitude').input;\n    }\n  }, {\n    key: 'getArea',\n    get: function get() {\n      return _get('data', this.country, 'geo.area').input;\n    }\n  }, {\n    key: 'getRegion',\n    get: function get() {\n      return _get('data', this.country, 'geo.region').input;\n    }\n  }, {\n    key: 'getSubregion',\n    get: function get() {\n      return _get('data', this.country, 'geo.subregion').input;\n    }\n  }, {\n    key: 'getWorldRegion',\n    get: function get() {\n      return _get('data', this.country, 'geo.world_region').input;\n    }\n  }, {\n    key: 'getRegionCode',\n    get: function get() {\n      return _get('data', this.country, 'geo.region_code').input;\n    }\n  }, {\n    key: 'getSubregionCode',\n    get: function get() {\n      return _get('data', this.country, 'geo.subregion_code').input;\n    }\n  }, {\n    key: 'isLandlocked',\n    get: function get() {\n      return _get('data', this.country, 'geo.landlocked').input;\n    }\n  }, {\n    key: 'getBorders',\n    get: function get() {\n      return _get('data', this.country, 'geo.borders').input;\n    }\n  }, {\n    key: 'isIndependent',\n    get: function get() {\n      return _get('data', this.country, 'geo.independent').input;\n    }\n  }, {\n    key: 'getCallingCode',\n    get: function get() {\n      return _get('data', this.country, 'dialling.calling_code').input[0];\n    }\n  }, {\n    key: 'getCallingCodes',\n    get: function get() {\n      return _get('data', this.country, 'dialling.calling_code').input;\n    }\n  }, {\n    key: 'getNationalPrefix',\n    get: function get() {\n      return _get('data', this.country, 'dialling.national_prefix').input;\n    }\n  }, {\n    key: 'getNationalNumberLength',\n    get: function get() {\n      return _get('data', this.country, 'dialling.national_number_lengths').input[0];\n    }\n  }, {\n    key: 'getNationalNumberLengths',\n    get: function get() {\n      return _get('data', this.country, 'dialling.national_number_lengths').input;\n    }\n  }, {\n    key: 'getNationalDestinationCodeLength',\n    get: function get() {\n      return _get('data', this.country, 'dialling.national_destination_code_lengths').input[0];\n    }\n  }, {\n    key: 'getNationalDestinationCodeLengths',\n    get: function get() {\n      return _get('data', this.country, 'dialling.national_destination_code_lengths').input;\n    }\n  }, {\n    key: 'getInternationalPrefix',\n    get: function get() {\n      return _get('data', this.country, 'dialling.international_prefix').input;\n    }\n  }, {\n    key: 'getAddressFormat',\n    get: function get() {\n      return _get('data', this.country, 'extra.address_format').input;\n    }\n  }, {\n    key: 'getGeonameid',\n    get: function get() {\n      return _get('data', this.country, 'extra.geonameid').input;\n    }\n  }, {\n    key: 'getEdgar',\n    get: function get() {\n      return _get('data', this.country, 'extra.edgar').input;\n    }\n  }, {\n    key: 'getWmo',\n    get: function get() {\n      return _get('data', this.country, 'extra.wmo').input;\n    }\n  }, {\n    key: 'getDs',\n    get: function get() {\n      return _get('data', this.country, 'extra.ds').input;\n    }\n  }, {\n    key: 'getFifa',\n    get: function get() {\n      return _get('data', this.country, 'extra.fifa').input;\n    }\n  }, {\n    key: 'getFips',\n    get: function get() {\n      return _get('data', this.country, 'extra.fips').input;\n    }\n  }, {\n    key: 'getGaul',\n    get: function get() {\n      return _get('data', this.country, 'extra.gaul').input;\n    }\n  }, {\n    key: 'getIoc',\n    get: function get() {\n      return _get('data', this.country, 'extra.ioc').input;\n    }\n  }, {\n    key: 'getCowc',\n    get: function get() {\n      return _get('data', this.country, 'extra.cowc').input;\n    }\n  }, {\n    key: 'getCown',\n    get: function get() {\n      return _get('data', this.country, 'extra.cown').input;\n    }\n  }, {\n    key: 'getFao',\n    get: function get() {\n      return _get('data', this.country, 'extra.fao').input;\n    }\n  }, {\n    key: 'getImf',\n    get: function get() {\n      return _get('data', this.country, 'extra.imf').input;\n    }\n  }, {\n    key: 'getAr5',\n    get: function get() {\n      return _get('data', this.country, 'extra.ar5').input;\n    }\n  }, {\n    key: 'isEuMember',\n    get: function get() {\n      return _get('data', this.country, 'extra.eu_member').input;\n    }\n  }, {\n    key: 'getVatRates',\n    get: function get() {\n      return _get('data', this.country, 'extra.vat_rates').input;\n    }\n  }, {\n    key: 'getEmoji',\n    get: function get() {\n      return _get('data', this.country, 'extra.emoji').input;\n    }\n  }, {\n    key: 'getDivisons',\n    get: function get() {\n      return _get('divisions', this.country, '').input;\n    }\n  }, {\n    key: 'getDivisonNames',\n    get: function get() {\n      var a = toArray(_get('divisions', this.country, '').input);\n      var b = [];\n      for (var i = 0; i < a.length; i++) {\n        b.push(a[i][0]);\n      }\n      return b;\n    }\n  }, {\n    key: 'getDivision',\n    get: function get() {\n      return _get('divisions', this.country, this.division).input;\n    }\n  }, {\n    key: 'getCurrency',\n    get: function get() {\n      return _get('data', this.country, 'currency').input;\n    }\n  }, {\n    key: 'getGeoJSON',\n    get: function get() {\n      return _get('geodata', this.country, '').input;\n    }\n  }, {\n    key: 'getFlagSVG',\n    get: function get() {\n      fs.readFile('./resources/flags/' + this.country + '.svg', 'utf8', function (err, contents) {\n        return contents;\n      });\n    }\n  }]);\n\n  return Country;\n}();\n// var egypt = new Country('eg')\n// egypt.division = \"WAD\"\n// console.log(egypt.getName)\n\n// getName('eg')\n// getOfficalName('eg')\n// getNativeName('eg')\n// getOfficialNativeName('eg')\n// getDemonym('eg')\n// getCapital('eg')\n// getIsoAlpha2('eg')\n// getIsoAlpha3('eg')\n// getIsoNumeric('eg')\n// getTld('eg')\n// getTlds('eg')\n// getAltSpellings('eg')\n// getLanguage('eg')\n// getLanguages('eg')\n// getContinent('eg')\n// usesPostalCode('eg')\n// getLatitude('eg')\n// getLongitude('eg')\n// getLatitudeDesc('eg')\n// getLongitudeDesc('eg')\n// getMaxLongitude('eg')\n// getMinLongitude('eg')\n// getMaxLatitude('eg')\n// getMinLatitude('eg')\n// getArea('eg')\n// getRegion('eg')\n// getSubregion('eg')\n// getWorldRegion('eg')\n// getRegionCode('eg')\n// getSubregionCode('eg')\n// isLandlocked('eg')\n// getBorders('eg')\n// isIndependent('eg')\n// getCallingCode('eg')\n// getCallingCodes('eg')\n// getNationalPrefix('eg')\n// getNationalNumberLength('eg')\n// getNationalNumberLengths('eg')\n// getNationalDestinationCodeLength('eg')\n// getNationalDestinationCodeLengths('eg')\n// getInternationalPrefix('eg')\n// getAddressFormat('eg')\n// getGeonameid('eg')\n// getEdgar('eg')\n// getWmo('eg')\n// getFifa('eg')\n// getFips('eg')\n// getGaul('eg')\n// getIoc('eg')\n// getCowc('eg')\n// getCown('eg')\n// getFao('eg')\n// getImf('eg')\n// getAr5('eg')\n// isEuMember('eg')\n// getVatRates('eg')\n// getVatRates('eg')\n// getDs('eg')\n// getEmoji('eg')\n// getDivisons('eg')\n// getDivisonNames('eg')\n// getDivision('eg', 'AST')\n// getCurrency('eg')\n// getGeoJSON('eg')\n// getFlagSVG('eg')\n\nexports.default = Country;\nexports.getName = getName;\nexports.getOfficalName = getOfficalName;\nexports.getNativeName = getNativeName;\nexports.getOfficialNativeName = getOfficialNativeName;\nexports.getDemonym = getDemonym;\nexports.getCapital = getCapital;\nexports.getIsoAlpha2 = getIsoAlpha2;\nexports.getIsoAlpha3 = getIsoAlpha3;\nexports.getIsoNumeric = getIsoNumeric;\nexports.getTld = getTld;\nexports.getTlds = getTlds;\nexports.getAltSpellings = getAltSpellings;\nexports.getLanguage = getLanguage;\nexports.getLanguages = getLanguages;\nexports.getContinent = getContinent;\nexports.usesPostalCode = usesPostalCode;\nexports.getLatitude = getLatitude;\nexports.getLongitude = getLongitude;\nexports.getLatitudeDesc = getLatitudeDesc;\nexports.getLongitudeDesc = getLongitudeDesc;\nexports.getMaxLongitude = getMaxLongitude;\nexports.getMinLongitude = getMinLongitude;\nexports.getMaxLatitude = getMaxLatitude;\nexports.getMinLatitude = getMinLatitude;\nexports.getArea = getArea;\nexports.getRegion = getRegion;\nexports.getSubregion = getSubregion;\nexports.getWorldRegion = getWorldRegion;\nexports.getRegionCode = getRegionCode;\nexports.getSubregionCode = getSubregionCode;\nexports.isLandlocked = isLandlocked;\nexports.getBorders = getBorders;\nexports.isIndependent = isIndependent;\nexports.getCallingCode = getCallingCode;\nexports.getCallingCodes = getCallingCodes;\nexports.getNationalPrefix = getNationalPrefix;\nexports.getNationalNumberLength = getNationalNumberLength;\nexports.getNationalNumberLengths = getNationalNumberLengths;\nexports.getNationalDestinationCodeLength = getNationalDestinationCodeLength;\nexports.getNationalDestinationCodeLengths = getNationalDestinationCodeLengths;\nexports.getInternationalPrefix = getInternationalPrefix;\nexports.getAddressFormat = getAddressFormat;\nexports.getGeonameid = getGeonameid;\nexports.getEdgar = getEdgar;\nexports.getWmo = getWmo;\nexports.getFifa = getFifa;\nexports.getFips = getFips;\nexports.getGaul = getGaul;\nexports.getIoc = getIoc;\nexports.getCowc = getCowc;\nexports.getCown = getCown;\nexports.getFao = getFao;\nexports.getImf = getImf;\nexports.getAr5 = getAr5;\nexports.isEuMember = isEuMember;\nexports.getVatRates = getVatRates;\nexports.getDs = getDs;\nexports.getEmoji = getEmoji;\nexports.getDivisons = getDivisons;\nexports.getDivisonNames = getDivisonNames;\nexports.getDivision = getDivision;\nexports.getCurrency = getCurrency;\nexports.getGeoJSON = getGeoJSON;\nexports.getFlagSVG = getFlagSVG;"]}