intl-tel-input 25.5.1 → 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.
- package/CHANGELOG.md +29 -1
- package/README.md +9 -9
- package/angular/README.md +1 -1
- package/angular/build/IntlTelInput.js +84 -79
- package/angular/build/IntlTelInputWithUtils.js +149 -165
- package/angular/build/types/intl-tel-input/data.d.ts +7 -2
- package/angular/build/types/intl-tel-input.d.ts +4 -1
- package/build/css/intlTelInput.css +5 -0
- package/build/css/intlTelInput.min.css +1 -1
- package/build/js/data.js +6 -6
- package/build/js/data.min.js +2 -2
- package/build/js/intlTelInput.d.ts +11 -3
- package/build/js/intlTelInput.js +85 -82
- package/build/js/intlTelInput.min.js +2 -2
- package/build/js/intlTelInputWithUtils.js +149 -167
- package/build/js/intlTelInputWithUtils.min.js +2 -2
- package/build/js/utils.js +22 -21
- package/package.json +3 -1
- package/react/README.md +1 -1
- package/react/build/IntlTelInput.cjs +84 -81
- package/react/build/IntlTelInput.d.ts +11 -3
- package/react/build/IntlTelInput.js +84 -81
- package/react/build/IntlTelInputWithUtils.cjs +148 -166
- package/react/build/IntlTelInputWithUtils.js +148 -166
- package/vue/README.md +1 -1
- package/vue/build/IntlTelInput.mjs +233 -241
- package/vue/build/IntlTelInputWithUtils.mjs +815 -845
- package/angular/build/intl-tel-input.js +0 -1814
|
@@ -1360,18 +1360,18 @@ var rawCountryData = [
|
|
|
1360
1360
|
]
|
|
1361
1361
|
];
|
|
1362
1362
|
var allCountries = [];
|
|
1363
|
-
for (
|
|
1364
|
-
|
|
1365
|
-
allCountries[i] = {
|
|
1363
|
+
for (const c of rawCountryData) {
|
|
1364
|
+
allCountries.push({
|
|
1366
1365
|
name: "",
|
|
1367
|
-
//
|
|
1366
|
+
// populated in the plugin
|
|
1368
1367
|
iso2: c[0],
|
|
1369
1368
|
dialCode: c[1],
|
|
1370
1369
|
priority: c[2] || 0,
|
|
1371
1370
|
areaCodes: c[3] || null,
|
|
1372
1371
|
nodeById: {},
|
|
1372
|
+
// populated by the plugin
|
|
1373
1373
|
nationalPrefix: c[4] || null
|
|
1374
|
-
};
|
|
1374
|
+
});
|
|
1375
1375
|
}
|
|
1376
1376
|
var data_default = allCountries;
|
|
1377
1377
|
|
|
@@ -1642,10 +1642,23 @@ var allTranslations = { ...countries_default, ...interface_default };
|
|
|
1642
1642
|
var en_default = allTranslations;
|
|
1643
1643
|
|
|
1644
1644
|
// src/js/intl-tel-input.ts
|
|
1645
|
-
for (
|
|
1646
|
-
|
|
1645
|
+
for (const c of data_default) {
|
|
1646
|
+
c.name = en_default[c.iso2];
|
|
1647
1647
|
}
|
|
1648
1648
|
var id = 0;
|
|
1649
|
+
var mq = (q) => {
|
|
1650
|
+
return typeof window !== "undefined" && typeof window.matchMedia === "function" && window.matchMedia(q).matches;
|
|
1651
|
+
};
|
|
1652
|
+
var computeDefaultUseFullscreenPopup = () => {
|
|
1653
|
+
if (typeof navigator !== "undefined" && typeof window !== "undefined") {
|
|
1654
|
+
const isMobileUserAgent = /Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
1655
|
+
const isNarrowViewport = mq("(max-width: 500px)");
|
|
1656
|
+
const isShortViewport = mq("(max-height: 600px)");
|
|
1657
|
+
const isCoarsePointer = mq("(pointer: coarse)");
|
|
1658
|
+
return isMobileUserAgent || isNarrowViewport || isCoarsePointer && isShortViewport;
|
|
1659
|
+
}
|
|
1660
|
+
return false;
|
|
1661
|
+
};
|
|
1649
1662
|
var defaults = {
|
|
1650
1663
|
//* Whether or not to allow the dropdown.
|
|
1651
1664
|
allowDropdown: true,
|
|
@@ -1692,13 +1705,7 @@ var defaults = {
|
|
|
1692
1705
|
//* Only allow certain chars e.g. a plus followed by numeric digits, and cap at max valid length.
|
|
1693
1706
|
strictMode: false,
|
|
1694
1707
|
//* Use full screen popup instead of dropdown for country list.
|
|
1695
|
-
useFullscreenPopup:
|
|
1696
|
-
//* We cannot just test screen size as some smartphones/website meta tags will report desktop resolutions.
|
|
1697
|
-
//* Note: to target Android Mobiles (and not Tablets), we must find 'Android' and 'Mobile'
|
|
1698
|
-
/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
|
|
1699
|
-
navigator.userAgent
|
|
1700
|
-
) || window.innerWidth <= 500
|
|
1701
|
-
) : false,
|
|
1708
|
+
useFullscreenPopup: computeDefaultUseFullscreenPopup(),
|
|
1702
1709
|
//* The number type to enforce during validation.
|
|
1703
1710
|
validationNumberTypes: ["MOBILE"]
|
|
1704
1711
|
};
|
|
@@ -1726,7 +1733,7 @@ var normaliseString = (s = "") => s.normalize("NFD").replace(/[\u0300-\u036f]/g,
|
|
|
1726
1733
|
var isRegionlessNanp = (number) => {
|
|
1727
1734
|
const numeric = getNumeric(number);
|
|
1728
1735
|
if (numeric.charAt(0) === "1") {
|
|
1729
|
-
const areaCode = numeric.
|
|
1736
|
+
const areaCode = numeric.substring(1, 4);
|
|
1730
1737
|
return regionlessNanpNumbers.includes(areaCode);
|
|
1731
1738
|
}
|
|
1732
1739
|
return false;
|
|
@@ -1790,6 +1797,7 @@ var Iti = class {
|
|
|
1790
1797
|
}
|
|
1791
1798
|
this.isAndroid = typeof navigator !== "undefined" ? /Android/i.test(navigator.userAgent) : false;
|
|
1792
1799
|
this.isRTL = !!this.telInput.closest("[dir=rtl]");
|
|
1800
|
+
this.telInput.dir = "ltr";
|
|
1793
1801
|
const showOnDefaultSide = this.options.allowDropdown || this.options.separateDialCode;
|
|
1794
1802
|
this.showSelectedCountryOnLeft = this.isRTL ? !showOnDefaultSide : showOnDefaultSide;
|
|
1795
1803
|
if (this.options.separateDialCode) {
|
|
@@ -1825,6 +1833,16 @@ var Iti = class {
|
|
|
1825
1833
|
this._processDialCodes();
|
|
1826
1834
|
this._translateCountryNames();
|
|
1827
1835
|
this._sortCountries();
|
|
1836
|
+
this.countryByIso2 = new Map(this.countries.map((c) => [c.iso2, c]));
|
|
1837
|
+
this._cacheSearchTokens();
|
|
1838
|
+
}
|
|
1839
|
+
//* Precompute and cache country search tokens to speed up filtering
|
|
1840
|
+
_cacheSearchTokens() {
|
|
1841
|
+
for (const c of this.countries) {
|
|
1842
|
+
c.normalisedName = normaliseString(c.name);
|
|
1843
|
+
c.initials = c.name.split(/[^a-zA-ZÀ-ÿа-яА-Я]/).map((word) => word[0]).join("").toLowerCase();
|
|
1844
|
+
c.dialCodePlus = `+${c.dialCode}`;
|
|
1845
|
+
}
|
|
1828
1846
|
}
|
|
1829
1847
|
//* Sort countries by countryOrder option (if present), then name.
|
|
1830
1848
|
_sortCountries() {
|
|
@@ -1856,13 +1874,12 @@ var Iti = class {
|
|
|
1856
1874
|
if (!this.dialCodeToIso2Map.hasOwnProperty(dialCode)) {
|
|
1857
1875
|
this.dialCodeToIso2Map[dialCode] = [];
|
|
1858
1876
|
}
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
}
|
|
1877
|
+
const iso2List = this.dialCodeToIso2Map[dialCode];
|
|
1878
|
+
if (iso2List.includes(iso2)) {
|
|
1879
|
+
return;
|
|
1863
1880
|
}
|
|
1864
|
-
const index = priority !== void 0 ? priority :
|
|
1865
|
-
|
|
1881
|
+
const index = priority !== void 0 ? priority : iso2List.length;
|
|
1882
|
+
iso2List[index] = iso2;
|
|
1866
1883
|
}
|
|
1867
1884
|
//* Process onlyCountries or excludeCountries array if present.
|
|
1868
1885
|
_processAllCountries() {
|
|
@@ -1887,33 +1904,30 @@ var Iti = class {
|
|
|
1887
1904
|
}
|
|
1888
1905
|
//* Translate Countries by object literal provided on config.
|
|
1889
1906
|
_translateCountryNames() {
|
|
1890
|
-
for (
|
|
1891
|
-
const iso2 =
|
|
1907
|
+
for (const c of this.countries) {
|
|
1908
|
+
const iso2 = c.iso2.toLowerCase();
|
|
1892
1909
|
if (this.options.i18n.hasOwnProperty(iso2)) {
|
|
1893
|
-
|
|
1910
|
+
c.name = this.options.i18n[iso2];
|
|
1894
1911
|
}
|
|
1895
1912
|
}
|
|
1896
1913
|
}
|
|
1897
1914
|
//* Generate this.dialCodes and this.dialCodeToIso2Map.
|
|
1898
1915
|
_processDialCodes() {
|
|
1899
|
-
this.dialCodes =
|
|
1916
|
+
this.dialCodes = /* @__PURE__ */ new Set();
|
|
1900
1917
|
this.dialCodeMaxLen = 0;
|
|
1901
1918
|
this.dialCodeToIso2Map = {};
|
|
1902
|
-
for (
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
this.dialCodes[c.dialCode] = true;
|
|
1919
|
+
for (const c of this.countries) {
|
|
1920
|
+
if (!this.dialCodes.has(c.dialCode)) {
|
|
1921
|
+
this.dialCodes.add(c.dialCode);
|
|
1906
1922
|
}
|
|
1907
1923
|
this._addToDialCodeMap(c.iso2, c.dialCode, c.priority);
|
|
1908
1924
|
}
|
|
1909
|
-
for (
|
|
1910
|
-
const c = this.countries[i];
|
|
1925
|
+
for (const c of this.countries) {
|
|
1911
1926
|
if (c.areaCodes) {
|
|
1912
1927
|
const rootIso2Code = this.dialCodeToIso2Map[c.dialCode][0];
|
|
1913
|
-
for (
|
|
1914
|
-
const areaCode = c.areaCodes[j];
|
|
1928
|
+
for (const areaCode of c.areaCodes) {
|
|
1915
1929
|
for (let k = 1; k < areaCode.length; k++) {
|
|
1916
|
-
const partialAreaCode = areaCode.
|
|
1930
|
+
const partialAreaCode = areaCode.substring(0, k);
|
|
1917
1931
|
const partialDialCode = c.dialCode + partialAreaCode;
|
|
1918
1932
|
this._addToDialCodeMap(rootIso2Code, partialDialCode);
|
|
1919
1933
|
this._addToDialCodeMap(c.iso2, partialDialCode);
|
|
@@ -2008,7 +2022,7 @@ var Iti = class {
|
|
|
2008
2022
|
if (separateDialCode) {
|
|
2009
2023
|
this.selectedDialCode = createEl(
|
|
2010
2024
|
"div",
|
|
2011
|
-
{ class: "iti__selected-dial-code", "aria-hidden": "true" },
|
|
2025
|
+
{ class: "iti__selected-dial-code", "aria-hidden": "true", dir: "ltr" },
|
|
2012
2026
|
this.selectedCountry
|
|
2013
2027
|
);
|
|
2014
2028
|
}
|
|
@@ -2126,7 +2140,7 @@ var Iti = class {
|
|
|
2126
2140
|
content += `<div class='iti__flag iti__${c.iso2}'></div>`;
|
|
2127
2141
|
}
|
|
2128
2142
|
content += `<span class='iti__country-name'>${c.name}</span>`;
|
|
2129
|
-
content += `<span class='iti__dial-code'>+${c.dialCode}</span>`;
|
|
2143
|
+
content += `<span class='iti__dial-code' dir='ltr'>+${c.dialCode}</span>`;
|
|
2130
2144
|
listItem.insertAdjacentHTML("beforeend", content);
|
|
2131
2145
|
}
|
|
2132
2146
|
}
|
|
@@ -2348,7 +2362,7 @@ var Iti = class {
|
|
|
2348
2362
|
//* Adhere to the input's maxlength attr.
|
|
2349
2363
|
_cap(number) {
|
|
2350
2364
|
const max = parseInt(this.telInput.getAttribute("maxlength") || "", 10);
|
|
2351
|
-
return max && number.length > max ? number.
|
|
2365
|
+
return max && number.length > max ? number.substring(0, max) : number;
|
|
2352
2366
|
}
|
|
2353
2367
|
//* Trigger a custom event on the input.
|
|
2354
2368
|
_trigger(name, detailProps = {}) {
|
|
@@ -2478,9 +2492,8 @@ var Iti = class {
|
|
|
2478
2492
|
}
|
|
2479
2493
|
//* Hidden search (countrySearch disabled): Find the first list item whose name starts with the query string.
|
|
2480
2494
|
_searchForCountry(query) {
|
|
2481
|
-
for (
|
|
2482
|
-
const
|
|
2483
|
-
const startsWith = c.name.substr(0, query.length).toLowerCase() === query;
|
|
2495
|
+
for (const c of this.countries) {
|
|
2496
|
+
const startsWith = c.name.substring(0, query.length).toLowerCase() === query;
|
|
2484
2497
|
if (startsWith) {
|
|
2485
2498
|
const listItem = c.nodeById[this.id];
|
|
2486
2499
|
this._highlightListItem(listItem, false);
|
|
@@ -2501,23 +2514,20 @@ var Iti = class {
|
|
|
2501
2514
|
const dialCodeMatches = [];
|
|
2502
2515
|
const dialCodeContains = [];
|
|
2503
2516
|
const initialsMatches = [];
|
|
2504
|
-
for (
|
|
2505
|
-
const c = this.countries[i];
|
|
2506
|
-
const normalisedCountryName = normaliseString(c.name);
|
|
2507
|
-
const countryInitials = c.name.split(/[^a-zA-ZÀ-ÿа-яА-Я]/).map((word) => word[0]).join("").toLowerCase();
|
|
2517
|
+
for (const c of this.countries) {
|
|
2508
2518
|
if (isReset || queryLength === 0) {
|
|
2509
2519
|
nameContains.push(c);
|
|
2510
|
-
} else if (c.iso2
|
|
2520
|
+
} else if (c.iso2 === normalisedQuery) {
|
|
2511
2521
|
iso2Matches.push(c);
|
|
2512
|
-
} else if (
|
|
2522
|
+
} else if (c.normalisedName.startsWith(normalisedQuery)) {
|
|
2513
2523
|
nameStartWith.push(c);
|
|
2514
|
-
} else if (
|
|
2524
|
+
} else if (c.normalisedName.includes(normalisedQuery)) {
|
|
2515
2525
|
nameContains.push(c);
|
|
2516
|
-
} else if (normalisedQuery === c.dialCode || normalisedQuery ===
|
|
2526
|
+
} else if (normalisedQuery === c.dialCode || normalisedQuery === c.dialCodePlus) {
|
|
2517
2527
|
dialCodeMatches.push(c);
|
|
2518
|
-
} else if (
|
|
2528
|
+
} else if (c.dialCodePlus.includes(normalisedQuery)) {
|
|
2519
2529
|
dialCodeContains.push(c);
|
|
2520
|
-
} else if (
|
|
2530
|
+
} else if (c.initials.includes(normalisedQuery)) {
|
|
2521
2531
|
initialsMatches.push(c);
|
|
2522
2532
|
}
|
|
2523
2533
|
}
|
|
@@ -2637,9 +2647,9 @@ var Iti = class {
|
|
|
2637
2647
|
const alreadySelected = selectedIso2 && iso2Codes.includes(selectedIso2) && !hasAreaCodesButNoneMatched;
|
|
2638
2648
|
const isRegionlessNanpNumber = selectedDialCode === "1" && isRegionlessNanp(numeric);
|
|
2639
2649
|
if (!isRegionlessNanpNumber && !alreadySelected) {
|
|
2640
|
-
for (
|
|
2641
|
-
if (
|
|
2642
|
-
return
|
|
2650
|
+
for (const iso2 of iso2Codes) {
|
|
2651
|
+
if (iso2) {
|
|
2652
|
+
return iso2;
|
|
2643
2653
|
}
|
|
2644
2654
|
}
|
|
2645
2655
|
}
|
|
@@ -2672,12 +2682,11 @@ var Iti = class {
|
|
|
2672
2682
|
}
|
|
2673
2683
|
}
|
|
2674
2684
|
//* Find the country data for the given iso2 code
|
|
2675
|
-
//* the
|
|
2685
|
+
//* 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
|
|
2676
2686
|
_getCountryData(iso2, allowFail) {
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
}
|
|
2687
|
+
const country = this.countryByIso2.get(iso2);
|
|
2688
|
+
if (country) {
|
|
2689
|
+
return country;
|
|
2681
2690
|
}
|
|
2682
2691
|
if (allowFail) {
|
|
2683
2692
|
return null;
|
|
@@ -2908,11 +2917,11 @@ var Iti = class {
|
|
|
2908
2917
|
numericChars += c;
|
|
2909
2918
|
if (includeAreaCode) {
|
|
2910
2919
|
if (this.dialCodeToIso2Map[numericChars]) {
|
|
2911
|
-
dialCode = number.
|
|
2920
|
+
dialCode = number.substring(0, i + 1);
|
|
2912
2921
|
}
|
|
2913
2922
|
} else {
|
|
2914
|
-
if (this.dialCodes
|
|
2915
|
-
dialCode = number.
|
|
2923
|
+
if (this.dialCodes.has(numericChars)) {
|
|
2924
|
+
dialCode = number.substring(0, i + 1);
|
|
2916
2925
|
break;
|
|
2917
2926
|
}
|
|
2918
2927
|
}
|
|
@@ -2945,7 +2954,7 @@ var Iti = class {
|
|
|
2945
2954
|
if (dialCode) {
|
|
2946
2955
|
dialCode = `+${this.selectedCountryData.dialCode}`;
|
|
2947
2956
|
const start = number[dialCode.length] === " " || number[dialCode.length] === "-" ? dialCode.length + 1 : dialCode.length;
|
|
2948
|
-
number = number.
|
|
2957
|
+
number = number.substring(start);
|
|
2949
2958
|
}
|
|
2950
2959
|
}
|
|
2951
2960
|
return this._cap(number);
|
|
@@ -3079,38 +3088,32 @@ var Iti = class {
|
|
|
3079
3088
|
}
|
|
3080
3089
|
return -99;
|
|
3081
3090
|
}
|
|
3082
|
-
//* Validate the input val
|
|
3091
|
+
//* Validate the input val (with precise=false)
|
|
3083
3092
|
isValidNumber() {
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
if (alphaCharPosition > -1) {
|
|
3090
|
-
const beforeAlphaChar = val.substring(0, alphaCharPosition);
|
|
3091
|
-
const beforeAlphaIsValid = this._utilsIsPossibleNumber(beforeAlphaChar);
|
|
3092
|
-
const isValid = this._utilsIsPossibleNumber(val);
|
|
3093
|
-
return beforeAlphaIsValid && isValid;
|
|
3094
|
-
}
|
|
3095
|
-
return this._utilsIsPossibleNumber(val);
|
|
3093
|
+
return this._validateNumber(false);
|
|
3094
|
+
}
|
|
3095
|
+
//* Validate the input val (with precise=true)
|
|
3096
|
+
isValidNumberPrecise() {
|
|
3097
|
+
return this._validateNumber(true);
|
|
3096
3098
|
}
|
|
3097
3099
|
_utilsIsPossibleNumber(val) {
|
|
3098
3100
|
return intlTelInput.utils ? intlTelInput.utils.isPossibleNumber(val, this.selectedCountryData.iso2, this.options.validationNumberTypes) : null;
|
|
3099
3101
|
}
|
|
3100
|
-
//*
|
|
3101
|
-
|
|
3102
|
+
//* Shared internal validation logic to handle alpha character extension rules.
|
|
3103
|
+
_validateNumber(precise) {
|
|
3102
3104
|
if (!this.selectedCountryData.iso2) {
|
|
3103
3105
|
return false;
|
|
3104
3106
|
}
|
|
3105
3107
|
const val = this._getFullNumber();
|
|
3106
3108
|
const alphaCharPosition = val.search(/\p{L}/u);
|
|
3109
|
+
const testValidity = (s) => precise ? this._utilsIsValidNumber(s) : this._utilsIsPossibleNumber(s);
|
|
3107
3110
|
if (alphaCharPosition > -1) {
|
|
3108
3111
|
const beforeAlphaChar = val.substring(0, alphaCharPosition);
|
|
3109
|
-
const beforeAlphaIsValid =
|
|
3110
|
-
const isValid =
|
|
3112
|
+
const beforeAlphaIsValid = testValidity(beforeAlphaChar);
|
|
3113
|
+
const isValid = testValidity(val);
|
|
3111
3114
|
return beforeAlphaIsValid && isValid;
|
|
3112
3115
|
}
|
|
3113
|
-
return
|
|
3116
|
+
return testValidity(val);
|
|
3114
3117
|
}
|
|
3115
3118
|
_utilsIsValidNumber(val) {
|
|
3116
3119
|
return intlTelInput.utils ? intlTelInput.utils.isValidNumber(val, this.selectedCountryData.iso2, this.options.validationNumberTypes) : null;
|
|
@@ -3202,7 +3205,7 @@ var intlTelInput = Object.assign(
|
|
|
3202
3205
|
attachUtils,
|
|
3203
3206
|
startedLoadingUtilsScript: false,
|
|
3204
3207
|
startedLoadingAutoCountry: false,
|
|
3205
|
-
version: "25.
|
|
3208
|
+
version: "25.7.0"
|
|
3206
3209
|
}
|
|
3207
3210
|
);
|
|
3208
3211
|
var intl_tel_input_default = intlTelInput;
|
|
@@ -4546,37 +4549,12 @@ var intl_tel_input_default = intlTelInput;
|
|
|
4546
4549
|
,
|
|
4547
4550
|
[-1]
|
|
4548
4551
|
], [, , "242225\\d{4}", , , , "2422250123"], , , [, , , , , , , , , [-1]]],
|
|
4549
|
-
BT: [
|
|
4550
|
-
,
|
|
4551
|
-
[, , "[17]\\d{7}|[2-8]\\d{6}", , , , , , , [7, 8], [6]],
|
|
4552
|
-
[, , "(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}", , , , "2345678", , , [7], [6]],
|
|
4553
|
-
[, , "(?:1[67]|77)\\d{6}", , , , "17123456", , , [8]],
|
|
4554
|
-
[, , , , , , , , , [-1]],
|
|
4555
|
-
[, , , , , , , , , [-1]],
|
|
4556
|
-
[, , , , , , , , , [-1]],
|
|
4557
|
-
[, , , , , , , , , [-1]],
|
|
4558
|
-
[, , , , , , , , , [-1]],
|
|
4559
|
-
"BT",
|
|
4560
|
-
975,
|
|
4561
|
-
"00",
|
|
4562
|
-
,
|
|
4563
|
-
,
|
|
4552
|
+
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]"]], [
|
|
4564
4553
|
,
|
|
4565
|
-
,
|
|
4566
|
-
,
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
[[, "(\\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"]]],
|
|
4570
|
-
[[, "(\\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"]]],
|
|
4571
|
-
[, , , , , , , , , [-1]],
|
|
4572
|
-
,
|
|
4573
|
-
,
|
|
4574
|
-
[, , , , , , , , , [-1]],
|
|
4575
|
-
[, , , , , , , , , [-1]],
|
|
4576
|
-
,
|
|
4577
|
-
,
|
|
4578
|
-
[, , , , , , , , , [-1]]
|
|
4579
|
-
],
|
|
4554
|
+
"(\\d{2})(\\d{2})(\\d{2})(\\d{2})",
|
|
4555
|
+
"$1 $2 $3 $4",
|
|
4556
|
+
["1[67]|[78]"]
|
|
4557
|
+
]], [[, "(\\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]]],
|
|
4580
4558
|
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]], [
|
|
4581
4559
|
,
|
|
4582
4560
|
,
|
|
@@ -4588,7 +4566,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
4588
4566
|
,
|
|
4589
4567
|
,
|
|
4590
4568
|
[8]
|
|
4591
|
-
], [, , "(?: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]], [
|
|
4569
|
+
], [, , "(?: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]], [
|
|
4592
4570
|
,
|
|
4593
4571
|
,
|
|
4594
4572
|
,
|
|
@@ -4599,7 +4577,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
4599
4577
|
,
|
|
4600
4578
|
,
|
|
4601
4579
|
[-1]
|
|
4602
|
-
]],
|
|
4580
|
+
], , , [, , , , , , , , , [-1]]],
|
|
4603
4581
|
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]], [
|
|
4604
4582
|
,
|
|
4605
4583
|
,
|
|
@@ -4994,7 +4972,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
4994
4972
|
,
|
|
4995
4973
|
[5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
|
|
4996
4974
|
[2, 3, 4]
|
|
4997
|
-
], [, , "
|
|
4975
|
+
], [, , "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", , , , [
|
|
4998
4976
|
[
|
|
4999
4977
|
,
|
|
5000
4978
|
"(\\d{2})(\\d{3,13})",
|
|
@@ -5020,7 +4998,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
5020
4998
|
[, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"],
|
|
5021
4999
|
[, "(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"],
|
|
5022
5000
|
[, "(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"],
|
|
5023
|
-
[, "(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|
|
|
5001
|
+
[, "(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|3[13])"], "0$1"],
|
|
5024
5002
|
[, "(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"],
|
|
5025
5003
|
[, "(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"],
|
|
5026
5004
|
[, "(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"],
|
|
@@ -5742,7 +5720,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
5742
5720
|
,
|
|
5743
5721
|
,
|
|
5744
5722
|
"2201234"
|
|
5745
|
-
], [, , "(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[
|
|
5723
|
+
], [, , "(?: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]]],
|
|
5746
5724
|
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]], [
|
|
5747
5725
|
,
|
|
5748
5726
|
,
|
|
@@ -5905,7 +5883,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
5905
5883
|
10,
|
|
5906
5884
|
11,
|
|
5907
5885
|
12
|
|
5908
|
-
]], [, , "153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}", , , , "21234567", , , [8, 11, 12], [7]], [, , "55(?:4(?:[01]
|
|
5886
|
+
]], [, , "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]], [
|
|
5909
5887
|
,
|
|
5910
5888
|
,
|
|
5911
5889
|
"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}",
|
|
@@ -7322,7 +7300,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7322
7300
|
,
|
|
7323
7301
|
[, , "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", , , , , , , [7, 8, 9]],
|
|
7324
7302
|
[, , "2[1-6]\\d{6}", , , , "23123456", , , [8]],
|
|
7325
|
-
[, , "1505\\d{4}|(?:7(?:[
|
|
7303
|
+
[, , "1505\\d{4}|(?:7(?:[125-9]\\d|41)|9(?:0[1-9]|[1-9]\\d))\\d{5}", , , , "92123456", , , [8]],
|
|
7326
7304
|
[, , "8007\\d{4,5}|(?:500|800[05])\\d{4}", , , , "80071234"],
|
|
7327
7305
|
[, , "900\\d{5}", , , , "90012345", , , [8]],
|
|
7328
7306
|
[, , , , , , , , , [-1]],
|
|
@@ -7352,7 +7330,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7352
7330
|
PA: [, [, , "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", , , , , , , [7, 8, 10, 11]], [
|
|
7353
7331
|
,
|
|
7354
7332
|
,
|
|
7355
|
-
"(?:1(?:0\\d|1[
|
|
7333
|
+
"(?: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}",
|
|
7356
7334
|
,
|
|
7357
7335
|
,
|
|
7358
7336
|
,
|
|
@@ -7802,7 +7780,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7802
7780
|
,
|
|
7803
7781
|
,
|
|
7804
7782
|
[8]
|
|
7805
|
-
], [, , "
|
|
7783
|
+
], [, , "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"]], [
|
|
7806
7784
|
,
|
|
7807
7785
|
"(\\d{4})(\\d{4})(\\d{3})",
|
|
7808
7786
|
"$1 $2 $3",
|
|
@@ -7975,7 +7953,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7975
7953
|
"$1 $2",
|
|
7976
7954
|
["(?:2|90)4|[67]"]
|
|
7977
7955
|
], [, "(\\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]]],
|
|
7978
|
-
SR: [, [, , "(?:[2-5]|
|
|
7956
|
+
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]], [
|
|
7979
7957
|
,
|
|
7980
7958
|
,
|
|
7981
7959
|
"56\\d{4}",
|
|
@@ -7987,37 +7965,13 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7987
7965
|
,
|
|
7988
7966
|
[6]
|
|
7989
7967
|
], "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]]],
|
|
7990
|
-
SS: [
|
|
7991
|
-
,
|
|
7992
|
-
[, , "[19]\\d{8}", , , , , , , [9]],
|
|
7993
|
-
[, , "1[89]\\d{7}", , , , "181234567"],
|
|
7994
|
-
[, , "(?:12|9[1257-9])\\d{7}", , , , "977123456"],
|
|
7995
|
-
[, , , , , , , , , [-1]],
|
|
7996
|
-
[, , , , , , , , , [-1]],
|
|
7997
|
-
[, , , , , , , , , [-1]],
|
|
7998
|
-
[, , , , , , , , , [-1]],
|
|
7999
|
-
[, , , , , , , , , [-1]],
|
|
8000
|
-
"SS",
|
|
8001
|
-
211,
|
|
8002
|
-
"00",
|
|
8003
|
-
"0",
|
|
8004
|
-
,
|
|
8005
|
-
,
|
|
8006
|
-
"0",
|
|
7968
|
+
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", , , , [[
|
|
8007
7969
|
,
|
|
8008
|
-
,
|
|
8009
|
-
,
|
|
8010
|
-
[
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
,
|
|
8014
|
-
,
|
|
8015
|
-
[, , , , , , , , , [-1]],
|
|
8016
|
-
[, , , , , , , , , [-1]],
|
|
8017
|
-
,
|
|
8018
|
-
,
|
|
8019
|
-
[, , , , , , , , , [-1]]
|
|
8020
|
-
],
|
|
7970
|
+
"(\\d{3})(\\d{3})(\\d{3})",
|
|
7971
|
+
"$1 $2 $3",
|
|
7972
|
+
["[19]"],
|
|
7973
|
+
"0$1"
|
|
7974
|
+
]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
8021
7975
|
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]]],
|
|
8022
7976
|
SV: [, [, , "[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", , , , , , , [7, 8, 11]], [
|
|
8023
7977
|
,
|
|
@@ -8430,17 +8384,44 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8430
8384
|
[, "(\\d{3})(\\d{4})", "$1-$2", ["[24-9]|3(?:[02-9]|1[1-9])"]],
|
|
8431
8385
|
[, "(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], , , 1]
|
|
8432
8386
|
], [[, "(\\d{3})(\\d{4})", "$1-$2", ["310"], , , 1], [, "(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-9]"]]], [, , , , , , , , , [-1]], 1, , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
8433
|
-
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]], [
|
|
8387
|
+
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]], [
|
|
8434
8388
|
,
|
|
8435
8389
|
,
|
|
8436
|
-
"
|
|
8390
|
+
"9[1-9]\\d{6}",
|
|
8437
8391
|
,
|
|
8438
8392
|
,
|
|
8439
8393
|
,
|
|
8440
|
-
"
|
|
8441
|
-
], [, , "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]], , , [
|
|
8394
|
+
"94231234",
|
|
8442
8395
|
,
|
|
8443
8396
|
,
|
|
8397
|
+
[8]
|
|
8398
|
+
], [, , "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"]], [
|
|
8399
|
+
,
|
|
8400
|
+
"(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})",
|
|
8401
|
+
"$1 $2 $3 $4",
|
|
8402
|
+
["0"]
|
|
8403
|
+
]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "21\\d{2,3}", , , , "21123", , , [4, 5]], , , [, , , , , , , , , [-1]]],
|
|
8404
|
+
UZ: [
|
|
8405
|
+
,
|
|
8406
|
+
[, , "(?:20|33|[5-9]\\d)\\d{7}", , , , , , , [9]],
|
|
8407
|
+
[, , "(?: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"],
|
|
8408
|
+
[
|
|
8409
|
+
,
|
|
8410
|
+
,
|
|
8411
|
+
"(?:(?:[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}",
|
|
8412
|
+
,
|
|
8413
|
+
,
|
|
8414
|
+
,
|
|
8415
|
+
"912345678"
|
|
8416
|
+
],
|
|
8417
|
+
[, , , , , , , , , [-1]],
|
|
8418
|
+
[, , , , , , , , , [-1]],
|
|
8419
|
+
[, , , , , , , , , [-1]],
|
|
8420
|
+
[, , , , , , , , , [-1]],
|
|
8421
|
+
[, , , , , , , , , [-1]],
|
|
8422
|
+
"UZ",
|
|
8423
|
+
998,
|
|
8424
|
+
"00",
|
|
8444
8425
|
,
|
|
8445
8426
|
,
|
|
8446
8427
|
,
|
|
@@ -8448,17 +8429,17 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8448
8429
|
,
|
|
8449
8430
|
,
|
|
8450
8431
|
,
|
|
8451
|
-
[-
|
|
8452
|
-
]],
|
|
8453
|
-
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"], [
|
|
8432
|
+
[[, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]],
|
|
8454
8433
|
,
|
|
8434
|
+
[, , , , , , , , , [-1]],
|
|
8455
8435
|
,
|
|
8456
|
-
"(?:(?:[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}",
|
|
8457
8436
|
,
|
|
8437
|
+
[, , , , , , , , , [-1]],
|
|
8438
|
+
[, , , , , , , , , [-1]],
|
|
8458
8439
|
,
|
|
8459
8440
|
,
|
|
8460
|
-
|
|
8461
|
-
],
|
|
8441
|
+
[, , , , , , , , , [-1]]
|
|
8442
|
+
],
|
|
8462
8443
|
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]], [
|
|
8463
8444
|
,
|
|
8464
8445
|
,
|
|
@@ -9466,7 +9447,9 @@ var intl_tel_input_default = intlTelInput;
|
|
|
9466
9447
|
}
|
|
9467
9448
|
;
|
|
9468
9449
|
const yb = (a) => {
|
|
9469
|
-
|
|
9450
|
+
const b = [];
|
|
9451
|
+
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");
|
|
9452
|
+
return a.concat(b);
|
|
9470
9453
|
}, 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 };
|
|
9471
9454
|
m("intlTelInputUtilsTemp", {});
|
|
9472
9455
|
m("intlTelInputUtilsTemp.formatNumberAsYouType", (a, b) => {
|
|
@@ -9539,8 +9522,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
9539
9522
|
try {
|
|
9540
9523
|
const d = K.g(), e = Y(d, a, b), f = cb(d, e);
|
|
9541
9524
|
if (c) {
|
|
9542
|
-
yb(c);
|
|
9543
|
-
const g = c.map((h) => zb[h]);
|
|
9525
|
+
const g = yb(c).map((h) => zb[h]);
|
|
9544
9526
|
return f && g.includes($a(d, e));
|
|
9545
9527
|
}
|
|
9546
9528
|
return f;
|
|
@@ -9552,8 +9534,8 @@ var intl_tel_input_default = intlTelInput;
|
|
|
9552
9534
|
try {
|
|
9553
9535
|
const d = K.g(), e = Y(d, a, b);
|
|
9554
9536
|
if (c) {
|
|
9555
|
-
yb(c);
|
|
9556
|
-
for (let
|
|
9537
|
+
const f = yb(c);
|
|
9538
|
+
for (let g of f) if (0 === X(d, e, zb[g])) return true;
|
|
9557
9539
|
return false;
|
|
9558
9540
|
}
|
|
9559
9541
|
return 0 === X(d, e, -1);
|