intl-tel-input 25.5.2 → 25.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1324,18 +1324,18 @@ var rawCountryData = [
1324
1324
  ]
1325
1325
  ];
1326
1326
  var allCountries = [];
1327
- for (let i = 0; i < rawCountryData.length; i++) {
1328
- const c = rawCountryData[i];
1329
- allCountries[i] = {
1327
+ for (const c of rawCountryData) {
1328
+ allCountries.push({
1330
1329
  name: "",
1331
- // this is now populated in the plugin
1330
+ // populated in the plugin
1332
1331
  iso2: c[0],
1333
1332
  dialCode: c[1],
1334
1333
  priority: c[2] || 0,
1335
1334
  areaCodes: c[3] || null,
1336
1335
  nodeById: {},
1336
+ // populated by the plugin
1337
1337
  nationalPrefix: c[4] || null
1338
- };
1338
+ });
1339
1339
  }
1340
1340
  var data_default = allCountries;
1341
1341
 
@@ -1606,10 +1606,23 @@ var allTranslations = Object.assign(Object.assign({}, countries_default), interf
1606
1606
  var en_default = allTranslations;
1607
1607
 
1608
1608
  // angular/build/temp/intl-tel-input.js
1609
- for (let i = 0; i < data_default.length; i++) {
1610
- data_default[i].name = en_default[data_default[i].iso2];
1609
+ for (const c of data_default) {
1610
+ c.name = en_default[c.iso2];
1611
1611
  }
1612
1612
  var id = 0;
1613
+ var mq = (q) => {
1614
+ return typeof window !== "undefined" && typeof window.matchMedia === "function" && window.matchMedia(q).matches;
1615
+ };
1616
+ var computeDefaultUseFullscreenPopup = () => {
1617
+ if (typeof navigator !== "undefined" && typeof window !== "undefined") {
1618
+ const isMobileUserAgent = /Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
1619
+ const isNarrowViewport = mq("(max-width: 500px)");
1620
+ const isShortViewport = mq("(max-height: 600px)");
1621
+ const isCoarsePointer = mq("(pointer: coarse)");
1622
+ return isMobileUserAgent || isNarrowViewport || isCoarsePointer && isShortViewport;
1623
+ }
1624
+ return false;
1625
+ };
1613
1626
  var defaults = {
1614
1627
  //* Whether or not to allow the dropdown.
1615
1628
  allowDropdown: true,
@@ -1656,11 +1669,7 @@ var defaults = {
1656
1669
  //* Only allow certain chars e.g. a plus followed by numeric digits, and cap at max valid length.
1657
1670
  strictMode: false,
1658
1671
  //* Use full screen popup instead of dropdown for country list.
1659
- useFullscreenPopup: typeof navigator !== "undefined" && typeof window !== "undefined" ? (
1660
- //* We cannot just test screen size as some smartphones/website meta tags will report desktop resolutions.
1661
- //* Note: to target Android Mobiles (and not Tablets), we must find 'Android' and 'Mobile'
1662
- /Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) || window.innerWidth <= 500
1663
- ) : false,
1672
+ useFullscreenPopup: computeDefaultUseFullscreenPopup(),
1664
1673
  //* The number type to enforce during validation.
1665
1674
  validationNumberTypes: ["MOBILE"]
1666
1675
  };
@@ -1688,7 +1697,7 @@ var normaliseString = (s = "") => s.normalize("NFD").replace(/[\u0300-\u036f]/g,
1688
1697
  var isRegionlessNanp = (number) => {
1689
1698
  const numeric = getNumeric(number);
1690
1699
  if (numeric.charAt(0) === "1") {
1691
- const areaCode = numeric.substr(1, 3);
1700
+ const areaCode = numeric.substring(1, 4);
1692
1701
  return regionlessNanpNumbers.includes(areaCode);
1693
1702
  }
1694
1703
  return false;
@@ -1788,6 +1797,16 @@ var Iti = class {
1788
1797
  this._processDialCodes();
1789
1798
  this._translateCountryNames();
1790
1799
  this._sortCountries();
1800
+ this.countryByIso2 = new Map(this.countries.map((c) => [c.iso2, c]));
1801
+ this._cacheSearchTokens();
1802
+ }
1803
+ //* Precompute and cache country search tokens to speed up filtering
1804
+ _cacheSearchTokens() {
1805
+ for (const c of this.countries) {
1806
+ c.normalisedName = normaliseString(c.name);
1807
+ c.initials = c.name.split(/[^a-zA-ZÀ-ÿа-яА-Я]/).map((word) => word[0]).join("").toLowerCase();
1808
+ c.dialCodePlus = `+${c.dialCode}`;
1809
+ }
1791
1810
  }
1792
1811
  //* Sort countries by countryOrder option (if present), then name.
1793
1812
  _sortCountries() {
@@ -1819,13 +1838,12 @@ var Iti = class {
1819
1838
  if (!this.dialCodeToIso2Map.hasOwnProperty(dialCode)) {
1820
1839
  this.dialCodeToIso2Map[dialCode] = [];
1821
1840
  }
1822
- for (let i = 0; i < this.dialCodeToIso2Map[dialCode].length; i++) {
1823
- if (this.dialCodeToIso2Map[dialCode][i] === iso2) {
1824
- return;
1825
- }
1841
+ const iso2List = this.dialCodeToIso2Map[dialCode];
1842
+ if (iso2List.includes(iso2)) {
1843
+ return;
1826
1844
  }
1827
- const index = priority !== void 0 ? priority : this.dialCodeToIso2Map[dialCode].length;
1828
- this.dialCodeToIso2Map[dialCode][index] = iso2;
1845
+ const index = priority !== void 0 ? priority : iso2List.length;
1846
+ iso2List[index] = iso2;
1829
1847
  }
1830
1848
  //* Process onlyCountries or excludeCountries array if present.
1831
1849
  _processAllCountries() {
@@ -1842,33 +1860,30 @@ var Iti = class {
1842
1860
  }
1843
1861
  //* Translate Countries by object literal provided on config.
1844
1862
  _translateCountryNames() {
1845
- for (let i = 0; i < this.countries.length; i++) {
1846
- const iso2 = this.countries[i].iso2.toLowerCase();
1863
+ for (const c of this.countries) {
1864
+ const iso2 = c.iso2.toLowerCase();
1847
1865
  if (this.options.i18n.hasOwnProperty(iso2)) {
1848
- this.countries[i].name = this.options.i18n[iso2];
1866
+ c.name = this.options.i18n[iso2];
1849
1867
  }
1850
1868
  }
1851
1869
  }
1852
1870
  //* Generate this.dialCodes and this.dialCodeToIso2Map.
1853
1871
  _processDialCodes() {
1854
- this.dialCodes = {};
1872
+ this.dialCodes = /* @__PURE__ */ new Set();
1855
1873
  this.dialCodeMaxLen = 0;
1856
1874
  this.dialCodeToIso2Map = {};
1857
- for (let i = 0; i < this.countries.length; i++) {
1858
- const c = this.countries[i];
1859
- if (!this.dialCodes[c.dialCode]) {
1860
- this.dialCodes[c.dialCode] = true;
1875
+ for (const c of this.countries) {
1876
+ if (!this.dialCodes.has(c.dialCode)) {
1877
+ this.dialCodes.add(c.dialCode);
1861
1878
  }
1862
1879
  this._addToDialCodeMap(c.iso2, c.dialCode, c.priority);
1863
1880
  }
1864
- for (let i = 0; i < this.countries.length; i++) {
1865
- const c = this.countries[i];
1881
+ for (const c of this.countries) {
1866
1882
  if (c.areaCodes) {
1867
1883
  const rootIso2Code = this.dialCodeToIso2Map[c.dialCode][0];
1868
- for (let j = 0; j < c.areaCodes.length; j++) {
1869
- const areaCode = c.areaCodes[j];
1884
+ for (const areaCode of c.areaCodes) {
1870
1885
  for (let k = 1; k < areaCode.length; k++) {
1871
- const partialAreaCode = areaCode.substr(0, k);
1886
+ const partialAreaCode = areaCode.substring(0, k);
1872
1887
  const partialDialCode = c.dialCode + partialAreaCode;
1873
1888
  this._addToDialCodeMap(rootIso2Code, partialDialCode);
1874
1889
  this._addToDialCodeMap(c.iso2, partialDialCode);
@@ -2246,7 +2261,7 @@ var Iti = class {
2246
2261
  //* Adhere to the input's maxlength attr.
2247
2262
  _cap(number) {
2248
2263
  const max = parseInt(this.telInput.getAttribute("maxlength") || "", 10);
2249
- return max && number.length > max ? number.substr(0, max) : number;
2264
+ return max && number.length > max ? number.substring(0, max) : number;
2250
2265
  }
2251
2266
  //* Trigger a custom event on the input.
2252
2267
  _trigger(name, detailProps = {}) {
@@ -2372,9 +2387,8 @@ var Iti = class {
2372
2387
  }
2373
2388
  //* Hidden search (countrySearch disabled): Find the first list item whose name starts with the query string.
2374
2389
  _searchForCountry(query) {
2375
- for (let i = 0; i < this.countries.length; i++) {
2376
- const c = this.countries[i];
2377
- const startsWith = c.name.substr(0, query.length).toLowerCase() === query;
2390
+ for (const c of this.countries) {
2391
+ const startsWith = c.name.substring(0, query.length).toLowerCase() === query;
2378
2392
  if (startsWith) {
2379
2393
  const listItem = c.nodeById[this.id];
2380
2394
  this._highlightListItem(listItem, false);
@@ -2395,23 +2409,20 @@ var Iti = class {
2395
2409
  const dialCodeMatches = [];
2396
2410
  const dialCodeContains = [];
2397
2411
  const initialsMatches = [];
2398
- for (let i = 0; i < this.countries.length; i++) {
2399
- const c = this.countries[i];
2400
- const normalisedCountryName = normaliseString(c.name);
2401
- const countryInitials = c.name.split(/[^a-zA-ZÀ-ÿа-яА-Я]/).map((word) => word[0]).join("").toLowerCase();
2412
+ for (const c of this.countries) {
2402
2413
  if (isReset || queryLength === 0) {
2403
2414
  nameContains.push(c);
2404
- } else if (c.iso2.toLowerCase() === normalisedQuery) {
2415
+ } else if (c.iso2 === normalisedQuery) {
2405
2416
  iso2Matches.push(c);
2406
- } else if (normalisedCountryName.startsWith(normalisedQuery)) {
2417
+ } else if (c.normalisedName.startsWith(normalisedQuery)) {
2407
2418
  nameStartWith.push(c);
2408
- } else if (normalisedCountryName.includes(normalisedQuery)) {
2419
+ } else if (c.normalisedName.includes(normalisedQuery)) {
2409
2420
  nameContains.push(c);
2410
- } else if (normalisedQuery === c.dialCode || normalisedQuery === `+${c.dialCode}`) {
2421
+ } else if (normalisedQuery === c.dialCode || normalisedQuery === c.dialCodePlus) {
2411
2422
  dialCodeMatches.push(c);
2412
- } else if (`+${c.dialCode}`.includes(normalisedQuery)) {
2423
+ } else if (c.dialCodePlus.includes(normalisedQuery)) {
2413
2424
  dialCodeContains.push(c);
2414
- } else if (countryInitials.includes(normalisedQuery)) {
2425
+ } else if (c.initials.includes(normalisedQuery)) {
2415
2426
  initialsMatches.push(c);
2416
2427
  }
2417
2428
  }
@@ -2528,9 +2539,9 @@ var Iti = class {
2528
2539
  const alreadySelected = selectedIso2 && iso2Codes.includes(selectedIso2) && !hasAreaCodesButNoneMatched;
2529
2540
  const isRegionlessNanpNumber = selectedDialCode === "1" && isRegionlessNanp(numeric);
2530
2541
  if (!isRegionlessNanpNumber && !alreadySelected) {
2531
- for (let j = 0; j < iso2Codes.length; j++) {
2532
- if (iso2Codes[j]) {
2533
- return iso2Codes[j];
2542
+ for (const iso2 of iso2Codes) {
2543
+ if (iso2) {
2544
+ return iso2;
2534
2545
  }
2535
2546
  }
2536
2547
  }
@@ -2563,12 +2574,11 @@ var Iti = class {
2563
2574
  }
2564
2575
  }
2565
2576
  //* Find the country data for the given iso2 code
2566
- //* the ignoreOnlyCountriesOption is only used during init() while parsing the onlyCountries array
2577
+ //* the allowFail option is only used during init() for the initialCountry option, and for the iso2 returned from geoIpLookup - in these 2 cases we don't want to error out
2567
2578
  _getCountryData(iso2, allowFail) {
2568
- for (let i = 0; i < this.countries.length; i++) {
2569
- if (this.countries[i].iso2 === iso2) {
2570
- return this.countries[i];
2571
- }
2579
+ const country = this.countryByIso2.get(iso2);
2580
+ if (country) {
2581
+ return country;
2572
2582
  }
2573
2583
  if (allowFail) {
2574
2584
  return null;
@@ -2777,11 +2787,11 @@ var Iti = class {
2777
2787
  numericChars += c;
2778
2788
  if (includeAreaCode) {
2779
2789
  if (this.dialCodeToIso2Map[numericChars]) {
2780
- dialCode = number.substr(0, i + 1);
2790
+ dialCode = number.substring(0, i + 1);
2781
2791
  }
2782
2792
  } else {
2783
- if (this.dialCodes[numericChars]) {
2784
- dialCode = number.substr(0, i + 1);
2793
+ if (this.dialCodes.has(numericChars)) {
2794
+ dialCode = number.substring(0, i + 1);
2785
2795
  break;
2786
2796
  }
2787
2797
  }
@@ -2814,7 +2824,7 @@ var Iti = class {
2814
2824
  if (dialCode) {
2815
2825
  dialCode = `+${this.selectedCountryData.dialCode}`;
2816
2826
  const start = number[dialCode.length] === " " || number[dialCode.length] === "-" ? dialCode.length + 1 : dialCode.length;
2817
- number = number.substr(start);
2827
+ number = number.substring(start);
2818
2828
  }
2819
2829
  }
2820
2830
  return this._cap(number);
@@ -2933,38 +2943,32 @@ var Iti = class {
2933
2943
  }
2934
2944
  return -99;
2935
2945
  }
2936
- //* Validate the input val
2946
+ //* Validate the input val (with precise=false)
2937
2947
  isValidNumber() {
2938
- if (!this.selectedCountryData.iso2) {
2939
- return false;
2940
- }
2941
- const val = this._getFullNumber();
2942
- const alphaCharPosition = val.search(/\p{L}/u);
2943
- if (alphaCharPosition > -1) {
2944
- const beforeAlphaChar = val.substring(0, alphaCharPosition);
2945
- const beforeAlphaIsValid = this._utilsIsPossibleNumber(beforeAlphaChar);
2946
- const isValid = this._utilsIsPossibleNumber(val);
2947
- return beforeAlphaIsValid && isValid;
2948
- }
2949
- return this._utilsIsPossibleNumber(val);
2948
+ return this._validateNumber(false);
2949
+ }
2950
+ //* Validate the input val (with precise=true)
2951
+ isValidNumberPrecise() {
2952
+ return this._validateNumber(true);
2950
2953
  }
2951
2954
  _utilsIsPossibleNumber(val) {
2952
2955
  return intlTelInput.utils ? intlTelInput.utils.isPossibleNumber(val, this.selectedCountryData.iso2, this.options.validationNumberTypes) : null;
2953
2956
  }
2954
- //* Validate the input val (precise)
2955
- isValidNumberPrecise() {
2957
+ //* Shared internal validation logic to handle alpha character extension rules.
2958
+ _validateNumber(precise) {
2956
2959
  if (!this.selectedCountryData.iso2) {
2957
2960
  return false;
2958
2961
  }
2959
2962
  const val = this._getFullNumber();
2960
2963
  const alphaCharPosition = val.search(/\p{L}/u);
2964
+ const testValidity = (s) => precise ? this._utilsIsValidNumber(s) : this._utilsIsPossibleNumber(s);
2961
2965
  if (alphaCharPosition > -1) {
2962
2966
  const beforeAlphaChar = val.substring(0, alphaCharPosition);
2963
- const beforeAlphaIsValid = this._utilsIsValidNumber(beforeAlphaChar);
2964
- const isValid = this._utilsIsValidNumber(val);
2967
+ const beforeAlphaIsValid = testValidity(beforeAlphaChar);
2968
+ const isValid = testValidity(val);
2965
2969
  return beforeAlphaIsValid && isValid;
2966
2970
  }
2967
- return this._utilsIsValidNumber(val);
2971
+ return testValidity(val);
2968
2972
  }
2969
2973
  _utilsIsValidNumber(val) {
2970
2974
  return intlTelInput.utils ? intlTelInput.utils.isValidNumber(val, this.selectedCountryData.iso2, this.options.validationNumberTypes) : null;
@@ -3054,7 +3058,7 @@ var intlTelInput = Object.assign((input, options) => {
3054
3058
  attachUtils,
3055
3059
  startedLoadingUtilsScript: false,
3056
3060
  startedLoadingAutoCountry: false,
3057
- version: "25.5.2"
3061
+ version: "25.7.0"
3058
3062
  });
3059
3063
  var intl_tel_input_default = intlTelInput;
3060
3064
 
@@ -4424,37 +4428,12 @@ var intl_tel_input_default = intlTelInput;
4424
4428
  ,
4425
4429
  [-1]
4426
4430
  ], [, , "242225\\d{4}", , , , "2422250123"], , , [, , , , , , , , , [-1]]],
4427
- BT: [
4428
- ,
4429
- [, , "[17]\\d{7}|[2-8]\\d{6}", , , , , , , [7, 8], [6]],
4430
- [, , "(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}", , , , "2345678", , , [7], [6]],
4431
- [, , "(?:1[67]|77)\\d{6}", , , , "17123456", , , [8]],
4432
- [, , , , , , , , , [-1]],
4433
- [, , , , , , , , , [-1]],
4434
- [, , , , , , , , , [-1]],
4435
- [, , , , , , , , , [-1]],
4436
- [, , , , , , , , , [-1]],
4437
- "BT",
4438
- 975,
4439
- "00",
4440
- ,
4441
- ,
4431
+ BT: [, [, , "[178]\\d{7}|[2-8]\\d{6}", , , , , , , [7, 8], [6]], [, , "(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}", , , , "2345678", , , [7], [6]], [, , "(?:1[67]|[78]7)\\d{6}", , , , "17123456", , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "BT", 975, "00", , , , , , , , [[, "(\\d{3})(\\d{3})", "$1 $2", ["[2-7]"]], [, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], [
4442
4432
  ,
4443
- ,
4444
- ,
4445
- ,
4446
- ,
4447
- [[, "(\\d{3})(\\d{3})", "$1 $2", ["[2-7]"]], [, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]],
4448
- [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]],
4449
- [, , , , , , , , , [-1]],
4450
- ,
4451
- ,
4452
- [, , , , , , , , , [-1]],
4453
- [, , , , , , , , , [-1]],
4454
- ,
4455
- ,
4456
- [, , , , , , , , , [-1]]
4457
- ],
4433
+ "(\\d{2})(\\d{2})(\\d{2})(\\d{2})",
4434
+ "$1 $2 $3 $4",
4435
+ ["1[67]|[78]"]
4436
+ ]], [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|[78]"]]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
4458
4437
  BW: [, [, , "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", , , , , , , [7, 8, 10]], [, , "(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}", , , , "2401234", , , [7]], [
4459
4438
  ,
4460
4439
  ,
@@ -4466,7 +4445,7 @@ var intl_tel_input_default = intlTelInput;
4466
4445
  ,
4467
4446
  ,
4468
4447
  [8]
4469
- ], [, , "(?:0800|800\\d)\\d{6}", , , , "0800012345", , , [10]], [, , "90\\d{5}", , , , "9012345", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "79(?:1(?:[0-2]\\d|3[0-8])|2[0-7]\\d)\\d{3}", , , , "79101234", , , [8]], "BW", 267, "00", , , , , , , , [[, "(\\d{2})(\\d{5})", "$1 $2", ["90"]], [, "(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], [, "(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [
4448
+ ], [, , "(?:0800|800\\d)\\d{6}", , , , "0800012345", , , [10]], [, , "90\\d{5}", , , , "9012345", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "79(?:1(?:[0-2]\\d|3[0-8])|2[0-7]\\d)\\d{3}", , , , "79101234", , , [8]], "BW", 267, "00", , , , , , , , [[, "(\\d{2})(\\d{5})", "$1 $2", ["90"]], [, "(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], [, "(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [
4470
4449
  ,
4471
4450
  ,
4472
4451
  ,
@@ -4477,7 +4456,7 @@ var intl_tel_input_default = intlTelInput;
4477
4456
  ,
4478
4457
  ,
4479
4458
  [-1]
4480
- ]],
4459
+ ], , , [, , , , , , , , , [-1]]],
4481
4460
  BY: [, [, , "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", , , , , , , [6, 7, 8, 9, 10, 11], [5]], [, , "(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}", , , , "152450911", , , [9], [5, 6, 7]], [, , "(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}", , , , "294911911", , , [9]], [
4482
4461
  ,
4483
4462
  ,
@@ -4872,7 +4851,7 @@ var intl_tel_input_default = intlTelInput;
4872
4851
  ,
4873
4852
  [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
4874
4853
  [2, 3, 4]
4875
- ], [, , "15310\\d{6}|1(?:5[0-25-9]\\d|7[013-5])\\d{7}|1(?:6[023]|7[26-9])\\d{7,8}", , , , "15123456789", , , [10, 11]], [, , "800\\d{7,12}", , , , "8001234567890", , , [10, 11, 12, 13, 14, 15]], [, , "(?:137[7-9]|900(?:[135]|9\\d))\\d{6}", , , , "9001234567", , , [10, 11]], [, , "180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}", , , , "18012345", , , [7, 8, 9, 10, 11, 12, 13, 14]], [, , "700\\d{8}", , , , "70012345678", , , [11]], [, , , , , , , , , [-1]], "DE", 49, "00", "0", , , "0", , , , [
4854
+ ], [, , "1(?:(?:5(?:[0-25-9]\\d\\d|3(?:10|33))|7[26-9]\\d\\d)\\d{6}|6[023]\\d{7,8})|17\\d{8}", , , , "15123456789", , , [10, 11]], [, , "800\\d{7,12}", , , , "8001234567890", , , [10, 11, 12, 13, 14, 15]], [, , "(?:137[7-9]|900(?:[135]|9\\d))\\d{6}", , , , "9001234567", , , [10, 11]], [, , "180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}", , , , "18012345", , , [7, 8, 9, 10, 11, 12, 13, 14]], [, , "700\\d{8}", , , , "70012345678", , , [11]], [, , , , , , , , , [-1]], "DE", 49, "00", "0", , , "0", , , , [
4876
4855
  [
4877
4856
  ,
4878
4857
  "(\\d{2})(\\d{3,13})",
@@ -4898,7 +4877,7 @@ var intl_tel_input_default = intlTelInput;
4898
4877
  [, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"],
4899
4878
  [, "(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"],
4900
4879
  [, "(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"],
4901
- [, "(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|31)"], "0$1"],
4880
+ [, "(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|3[13])"], "0$1"],
4902
4881
  [, "(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"],
4903
4882
  [, "(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"],
4904
4883
  [, "(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"],
@@ -5620,7 +5599,7 @@ var intl_tel_input_default = intlTelInput;
5620
5599
  ,
5621
5600
  ,
5622
5601
  "2201234"
5623
- ], [, , "(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[019]|70))\\d{4}", , , , "6091234"], [, , "(?:289|8(?:00|6[28]|88|99))\\d{4}", , , , "2891234"], [, , "9008\\d{3}", , , , "9008123"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "515\\d{4}", , , , "5151234"], "GY", 592, "001", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5602
+ ], [, , "(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-39]|70))\\d{4}", , , , "6091234"], [, , "(?:289|8(?:00|6[28]|88|99))\\d{4}", , , , "2891234"], [, , "9008\\d{3}", , , , "9008123"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "515\\d{4}", , , , "5151234"], "GY", 592, "001", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5624
5603
  HK: [, [, , "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", , , , , , , [5, 6, 7, 8, 9, 11]], [
5625
5604
  ,
5626
5605
  ,
@@ -5783,7 +5762,7 @@ var intl_tel_input_default = intlTelInput;
5783
5762
  10,
5784
5763
  11,
5785
5764
  12
5786
- ]], [, , "153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}", , , , "21234567", , , [8, 11, 12], [7]], [, , "55(?:4(?:[01]0|5[0-5])|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}", , , , "502345678", , , [9]], [, , "1(?:255|80[019]\\d{3})\\d{3}", , , , "1800123456", , , [7, 10]], [, , "1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}", , , , "1919123456", , , [8, 10]], [, , "1700\\d{6}", , , , "1700123456", , , [10]], [, , , , , , , , , [-1]], [
5765
+ ]], [, , "153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}", , , , "21234567", , , [8, 11, 12], [7]], [, , "55(?:4(?:0[01]|10|5[0-7])|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}", , , , "502345678", , , [9]], [, , "1(?:255|80[019]\\d{3})\\d{3}", , , , "1800123456", , , [7, 10]], [, , "1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}", , , , "1919123456", , , [8, 10]], [, , "1700\\d{6}", , , , "1700123456", , , [10]], [, , , , , , , , , [-1]], [
5787
5766
  ,
5788
5767
  ,
5789
5768
  "7(?:38(?:[05]\\d|8[018])|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",
@@ -7200,7 +7179,7 @@ var intl_tel_input_default = intlTelInput;
7200
7179
  ,
7201
7180
  [, , "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", , , , , , , [7, 8, 9]],
7202
7181
  [, , "2[1-6]\\d{6}", , , , "23123456", , , [8]],
7203
- [, , "1505\\d{4}|(?:7(?:[126-9]\\d|41)|9(?:0[1-9]|[1-9]\\d))\\d{5}", , , , "92123456", , , [8]],
7182
+ [, , "1505\\d{4}|(?:7(?:[125-9]\\d|41)|9(?:0[1-9]|[1-9]\\d))\\d{5}", , , , "92123456", , , [8]],
7204
7183
  [, , "8007\\d{4,5}|(?:500|800[05])\\d{4}", , , , "80071234"],
7205
7184
  [, , "900\\d{5}", , , , "90012345", , , [8]],
7206
7185
  [, , , , , , , , , [-1]],
@@ -7230,7 +7209,7 @@ var intl_tel_input_default = intlTelInput;
7230
7209
  PA: [, [, , "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", , , , , , , [7, 8, 10, 11]], [
7231
7210
  ,
7232
7211
  ,
7233
- "(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[047-9]\\d|1[0-8]|2[0-5]|33|5[0-35]|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[4-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",
7212
+ "(?:1(?:0\\d|1[0479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[047-9]\\d|1[0-8]|2[0-5]|33|5[0-35]|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[4-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",
7234
7213
  ,
7235
7214
  ,
7236
7215
  ,
@@ -7680,7 +7659,7 @@ var intl_tel_input_default = intlTelInput;
7680
7659
  ,
7681
7660
  ,
7682
7661
  [8]
7683
- ], [, , "89(?:7[0-689]|80)\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-6])|9[0-8]\\d)\\d{5}", , , , "81234567", , , [8]], [, , "(?:18|8)00\\d{7}", , , , "18001234567", , , [10, 11]], [, , "1900\\d{7}", , , , "19001234567", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:3[12]\\d|666)\\d{5}", , , , "31234567", , , [8]], "SG", 65, "0[0-3]\\d", , , , , , , , [[, "(\\d{4,5})", "$1", ["1[013-9]|77", "1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], [
7662
+ ], [, , "8980\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-7])|9[0-8]\\d)\\d{5}", , , , "81234567", , , [8]], [, , "(?:18|8)00\\d{7}", , , , "18001234567", , , [10, 11]], [, , "1900\\d{7}", , , , "19001234567", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:3[12]\\d|666)\\d{5}", , , , "31234567", , , [8]], "SG", 65, "0[0-3]\\d", , , , , , , , [[, "(\\d{4,5})", "$1", ["1[013-9]|77", "1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], [
7684
7663
  ,
7685
7664
  "(\\d{4})(\\d{4})(\\d{3})",
7686
7665
  "$1 $2 $3",
@@ -7853,7 +7832,7 @@ var intl_tel_input_default = intlTelInput;
7853
7832
  "$1 $2",
7854
7833
  ["(?:2|90)4|[67]"]
7855
7834
  ], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], [, "(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
7856
- SR: [, [, , "(?:[2-5]|68|[78]\\d|90)\\d{5}", , , , , , , [6, 7]], [, , "(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}", , , , "211234"], [, , "(?:7[124-7]|8[1-9])\\d{5}", , , , "7412345", , , [7]], [, , "80\\d{5}", , , , "8012345", , , [7]], [, , "90\\d{5}", , , , "9012345", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [
7835
+ SR: [, [, , "(?:[2-5]|[6-8]\\d|90)\\d{5}", , , , , , , [6, 7]], [, , "(?:2[1-3]|3[0-7]|4\\d|5[2-58])\\d{4}", , , , "211234", , , [6]], [, , "(?:6[08]|7[124-7]|8[1-9])\\d{5}", , , , "7412345", , , [7]], [, , "80\\d{5}", , , , "8012345", , , [7]], [, , "90\\d{5}", , , , "9012345", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [
7857
7836
  ,
7858
7837
  ,
7859
7838
  "56\\d{4}",
@@ -7865,37 +7844,13 @@ var intl_tel_input_default = intlTelInput;
7865
7844
  ,
7866
7845
  [6]
7867
7846
  ], "SR", 597, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], [, "(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], [, "(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
7868
- SS: [
7869
- ,
7870
- [, , "[19]\\d{8}", , , , , , , [9]],
7871
- [, , "1[89]\\d{7}", , , , "181234567"],
7872
- [, , "(?:12|9[1257-9])\\d{7}", , , , "977123456"],
7873
- [, , , , , , , , , [-1]],
7874
- [, , , , , , , , , [-1]],
7875
- [, , , , , , , , , [-1]],
7876
- [, , , , , , , , , [-1]],
7877
- [, , , , , , , , , [-1]],
7878
- "SS",
7879
- 211,
7880
- "00",
7881
- "0",
7882
- ,
7883
- ,
7884
- "0",
7847
+ SS: [, [, , "[19]\\d{8}", , , , , , , [9]], [, , "1[89]\\d{7}", , , , "181234567"], [, , "(?:12|9[1257-9])\\d{7}", , , , "977123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SS", 211, "00", "0", , , "0", , , , [[
7885
7848
  ,
7886
- ,
7887
- ,
7888
- [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]],
7889
- ,
7890
- [, , , , , , , , , [-1]],
7891
- ,
7892
- ,
7893
- [, , , , , , , , , [-1]],
7894
- [, , , , , , , , , [-1]],
7895
- ,
7896
- ,
7897
- [, , , , , , , , , [-1]]
7898
- ],
7849
+ "(\\d{3})(\\d{3})(\\d{3})",
7850
+ "$1 $2 $3",
7851
+ ["[19]"],
7852
+ "0$1"
7853
+ ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
7899
7854
  ST: [, [, , "(?:22|9\\d)\\d{5}", , , , , , , [7]], [, , "22\\d{5}", , , , "2221234"], [, , "900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}", , , , "9812345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "ST", 239, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
7900
7855
  SV: [, [, , "[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", , , , , , , [7, 8, 11]], [
7901
7856
  ,
@@ -8308,17 +8263,44 @@ var intl_tel_input_default = intlTelInput;
8308
8263
  [, "(\\d{3})(\\d{4})", "$1-$2", ["[24-9]|3(?:[02-9]|1[1-9])"]],
8309
8264
  [, "(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], , , 1]
8310
8265
  ], [[, "(\\d{3})(\\d{4})", "$1-$2", ["310"], , , 1], [, "(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-9]"]]], [, , , , , , , , , [-1]], 1, , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8311
- UY: [, [, , "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", , , , , , , [6, 7, 8, 9, 10, 11, 12, 13]], [, , "(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}", , , , "21231234", , , [8], [7]], [, , "9[1-9]\\d{6}", , , , "94231234", , , [8]], [
8266
+ UY: [, [, , "0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", , , , , , , [4, 5, 6, 7, 8, 9, 10, 11, 12, 13]], [, , "(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}", , , , "21231234", , , [8], [7]], [
8312
8267
  ,
8313
8268
  ,
8314
- "0004\\d{2,9}|(?:405|80[05])\\d{4}",
8269
+ "9[1-9]\\d{6}",
8315
8270
  ,
8316
8271
  ,
8317
8272
  ,
8318
- "8001234"
8319
- ], [, , "90[0-8]\\d{4}", , , , "9001234", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "UY", 598, "0(?:0|1[3-9]\\d)", "0", " int. ", , "0", , "00", , [[, "(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], [, "(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], [, "(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], [, "(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], [, "(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [
8273
+ "94231234",
8320
8274
  ,
8321
8275
  ,
8276
+ [8]
8277
+ ], [, , "0004\\d{2,9}|(?:405|80[05])\\d{4}", , , , "8001234", , , [6, 7, 8, 9, 10, 11, 12, 13]], [, , "90[0-8]\\d{4}", , , , "9001234", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "UY", 598, "0(?:0|1[3-9]\\d)", "0", " int. ", , "0", , "00", , [[, "(\\d{4,5})", "$1", ["21"]], [, "(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], [, "(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], [, "(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], [, "(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], [
8278
+ ,
8279
+ "(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})",
8280
+ "$1 $2 $3 $4",
8281
+ ["0"]
8282
+ ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "21\\d{2,3}", , , , "21123", , , [4, 5]], , , [, , , , , , , , , [-1]]],
8283
+ UZ: [
8284
+ ,
8285
+ [, , "(?:20|33|[5-9]\\d)\\d{7}", , , , , , , [9]],
8286
+ [, , "(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|[168]\\d\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}", , , , "669050123"],
8287
+ [
8288
+ ,
8289
+ ,
8290
+ "(?:(?:[25]0|33|8[78]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",
8291
+ ,
8292
+ ,
8293
+ ,
8294
+ "912345678"
8295
+ ],
8296
+ [, , , , , , , , , [-1]],
8297
+ [, , , , , , , , , [-1]],
8298
+ [, , , , , , , , , [-1]],
8299
+ [, , , , , , , , , [-1]],
8300
+ [, , , , , , , , , [-1]],
8301
+ "UZ",
8302
+ 998,
8303
+ "00",
8322
8304
  ,
8323
8305
  ,
8324
8306
  ,
@@ -8326,17 +8308,17 @@ var intl_tel_input_default = intlTelInput;
8326
8308
  ,
8327
8309
  ,
8328
8310
  ,
8329
- [-1]
8330
- ]],
8331
- UZ: [, [, , "(?:20|33|[5-9]\\d)\\d{7}", , , , , , , [9]], [, , "(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|[168]\\d\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}", , , , "669050123"], [
8311
+ [[, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]],
8332
8312
  ,
8313
+ [, , , , , , , , , [-1]],
8333
8314
  ,
8334
- "(?:(?:[25]0|33|8[78]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",
8335
8315
  ,
8316
+ [, , , , , , , , , [-1]],
8317
+ [, , , , , , , , , [-1]],
8336
8318
  ,
8337
8319
  ,
8338
- "912345678"
8339
- ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "UZ", 998, "00", , , , , , , , [[, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8320
+ [, , , , , , , , , [-1]]
8321
+ ],
8340
8322
  VA: [, [, , "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", , , , , , , [6, 7, 8, 9, 10, 11, 12]], [, , "06698\\d{1,6}", , , , "0669812345", , , [6, 7, 8, 9, 10, 11]], [, , "3[1-9]\\d{8}|3[2-9]\\d{7}", , , , "3123456789", , , [9, 10]], [
8341
8323
  ,
8342
8324
  ,
@@ -9397,7 +9379,9 @@ var intl_tel_input_default = intlTelInput;
9397
9379
  }
9398
9380
  ;
9399
9381
  const yb = (a) => {
9400
- a.includes("FIXED_LINE_OR_MOBILE") ? (a.includes("MOBILE") || a.push("MOBILE"), a.includes("FIXED_LINE") || a.push("FIXED_LINE")) : (a.includes("MOBILE") || a.includes("FIXED_LINE")) && a.push("FIXED_LINE_OR_MOBILE");
9382
+ const b = [];
9383
+ a.includes("FIXED_LINE_OR_MOBILE") ? (a.includes("MOBILE") || b.push("MOBILE"), a.includes("FIXED_LINE") || b.push("FIXED_LINE")) : (a.includes("MOBILE") || a.includes("FIXED_LINE")) && b.push("FIXED_LINE_OR_MOBILE");
9384
+ return a.concat(b);
9401
9385
  }, zb = { FIXED_LINE: 0, MOBILE: 1, FIXED_LINE_OR_MOBILE: 2, TOLL_FREE: 3, PREMIUM_RATE: 4, SHARED_COST: 5, VOIP: 6, PERSONAL_NUMBER: 7, PAGER: 8, UAN: 9, VOICEMAIL: 10, UNKNOWN: -1 };
9402
9386
  m("intlTelInputUtilsTemp", {});
9403
9387
  m("intlTelInputUtilsTemp.formatNumberAsYouType", (a, b) => {
@@ -9472,8 +9456,7 @@ var intl_tel_input_default = intlTelInput;
9472
9456
  try {
9473
9457
  const d = K.g(), e = Y(d, a, b), f = cb(d, e);
9474
9458
  if (c) {
9475
- yb(c);
9476
- const g = c.map((h) => zb[h]);
9459
+ const g = yb(c).map((h) => zb[h]);
9477
9460
  return f && g.includes($a(d, e));
9478
9461
  }
9479
9462
  return f;
@@ -9485,9 +9468,9 @@ var intl_tel_input_default = intlTelInput;
9485
9468
  try {
9486
9469
  const d = K.g(), e = Y(d, a, b);
9487
9470
  if (c) {
9488
- yb(c);
9489
- for (let f of c)
9490
- if (0 === X(d, e, zb[f]))
9471
+ const f = yb(c);
9472
+ for (let g of f)
9473
+ if (0 === X(d, e, zb[g]))
9491
9474
  return true;
9492
9475
  return false;
9493
9476
  }
@@ -1,11 +1,16 @@
1
1
  export type Country = {
2
- name: string;
3
2
  iso2: string;
4
3
  dialCode: string;
5
4
  priority: number;
6
5
  areaCodes: string[] | null;
7
- nodeById: object;
8
6
  nationalPrefix: string | null;
7
+ name: string;
8
+ nodeById: {
9
+ [instanceId: number]: HTMLElement;
10
+ };
11
+ normalisedName?: string;
12
+ initials?: string;
13
+ dialCodePlus?: string;
9
14
  };
10
15
  declare const allCountries: Country[];
11
16
  export default allCountries;