intl-tel-input 23.5.0 → 23.6.1
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/README.md +5 -5
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/i18n/ca/countries.js +252 -0
- package/build/js/i18n/ca/index.js +6 -0
- package/build/js/i18n/ca/interface.js +14 -0
- package/build/js/i18n/cs/countries.js +252 -0
- package/build/js/i18n/cs/index.js +6 -0
- package/build/js/i18n/cs/interface.js +14 -0
- package/build/js/i18n/index.js +4 -0
- package/build/js/i18n/it/countries.js +252 -0
- package/build/js/i18n/it/index.js +6 -0
- package/build/js/i18n/it/interface.js +14 -0
- package/build/js/i18n/sk/countries.js +252 -0
- package/build/js/i18n/sk/index.js +6 -0
- package/build/js/i18n/sk/interface.js +14 -0
- package/build/js/intlTelInput.js +3 -5
- package/build/js/intlTelInput.min.js +2 -2
- package/build/js/intlTelInputWithUtils.js +332 -334
- package/build/js/intlTelInputWithUtils.min.js +2 -2
- package/build/js/utils.js +74 -74
- package/package.json +1 -1
- package/react/README.md +1 -1
- package/react/build/IntlTelInput.cjs +2 -4
- package/react/build/IntlTelInput.js +2 -4
- package/react/build/IntlTelInputWithUtils.cjs +331 -333
- package/react/build/IntlTelInputWithUtils.js +331 -333
|
@@ -1684,9 +1684,7 @@ var Iti = class {
|
|
|
1684
1684
|
this.countryContainer
|
|
1685
1685
|
);
|
|
1686
1686
|
if (this.telInput.disabled) {
|
|
1687
|
-
this.selectedCountry.setAttribute("
|
|
1688
|
-
} else {
|
|
1689
|
-
this.selectedCountry.setAttribute("tabindex", "0");
|
|
1687
|
+
this.selectedCountry.setAttribute("disabled", "true");
|
|
1690
1688
|
}
|
|
1691
1689
|
} else {
|
|
1692
1690
|
this.selectedCountry = createEl(
|
|
@@ -2783,7 +2781,7 @@ var intlTelInput = Object.assign(
|
|
|
2783
2781
|
//* A map from instance ID to instance object.
|
|
2784
2782
|
instances: {},
|
|
2785
2783
|
loadUtils,
|
|
2786
|
-
version: "23.
|
|
2784
|
+
version: "23.6.1"
|
|
2787
2785
|
}
|
|
2788
2786
|
);
|
|
2789
2787
|
var intl_tel_input_default = intlTelInput;
|
|
@@ -2817,7 +2815,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
2817
2815
|
return b;
|
|
2818
2816
|
}
|
|
2819
2817
|
;
|
|
2820
|
-
var
|
|
2818
|
+
var ca = class {
|
|
2821
2819
|
constructor(a) {
|
|
2822
2820
|
if (ba !== ba) throw Error("SafeUrl is not meant to be built directly");
|
|
2823
2821
|
this.g = a;
|
|
@@ -2826,8 +2824,8 @@ var intl_tel_input_default = intlTelInput;
|
|
|
2826
2824
|
return this.g.toString();
|
|
2827
2825
|
}
|
|
2828
2826
|
}, ba = {};
|
|
2829
|
-
new
|
|
2830
|
-
new
|
|
2827
|
+
new ca("about:invalid#zClosurez");
|
|
2828
|
+
new ca("about:blank");
|
|
2831
2829
|
const ea = {};
|
|
2832
2830
|
class fa {
|
|
2833
2831
|
constructor() {
|
|
@@ -3006,91 +3004,91 @@ var intl_tel_input_default = intlTelInput;
|
|
|
3006
3004
|
return b;
|
|
3007
3005
|
};
|
|
3008
3006
|
var xa = /^-?[0-9]+$/;
|
|
3009
|
-
function
|
|
3007
|
+
function ya() {
|
|
3010
3008
|
}
|
|
3011
|
-
n(
|
|
3012
|
-
|
|
3009
|
+
n(ya, z);
|
|
3010
|
+
ya.prototype.g = function(a, b) {
|
|
3013
3011
|
a = new a.h();
|
|
3014
3012
|
a.l = this;
|
|
3015
3013
|
a.h = b;
|
|
3016
3014
|
a.g = {};
|
|
3017
3015
|
return a;
|
|
3018
3016
|
};
|
|
3019
|
-
function
|
|
3017
|
+
function B() {
|
|
3020
3018
|
}
|
|
3021
|
-
n(
|
|
3022
|
-
|
|
3019
|
+
n(B, ya);
|
|
3020
|
+
B.prototype.h = function(a, b) {
|
|
3023
3021
|
return 8 == a.h ? !!b : z.prototype.h.apply(this, arguments);
|
|
3024
3022
|
};
|
|
3025
|
-
|
|
3026
|
-
return
|
|
3023
|
+
B.prototype.g = function(a, b) {
|
|
3024
|
+
return B.ma.g.call(this, a, b);
|
|
3027
3025
|
};
|
|
3028
|
-
function
|
|
3026
|
+
function C(a, b) {
|
|
3029
3027
|
null != a && this.g.apply(this, arguments);
|
|
3030
3028
|
}
|
|
3031
|
-
|
|
3032
|
-
|
|
3029
|
+
C.prototype.h = "";
|
|
3030
|
+
C.prototype.set = function(a) {
|
|
3033
3031
|
this.h = "" + a;
|
|
3034
3032
|
};
|
|
3035
|
-
|
|
3033
|
+
C.prototype.g = function(a, b, c) {
|
|
3036
3034
|
this.h += String(a);
|
|
3037
3035
|
if (null != b) for (let d = 1; d < arguments.length; d++) this.h += arguments[d];
|
|
3038
3036
|
return this;
|
|
3039
3037
|
};
|
|
3040
|
-
function
|
|
3038
|
+
function D(a) {
|
|
3041
3039
|
a.h = "";
|
|
3042
3040
|
}
|
|
3043
|
-
|
|
3041
|
+
C.prototype.toString = function() {
|
|
3044
3042
|
return this.h;
|
|
3045
3043
|
};
|
|
3044
|
+
function E() {
|
|
3045
|
+
p.call(this);
|
|
3046
|
+
}
|
|
3047
|
+
n(E, p);
|
|
3048
|
+
var za = null;
|
|
3046
3049
|
function F() {
|
|
3047
3050
|
p.call(this);
|
|
3048
3051
|
}
|
|
3049
3052
|
n(F, p);
|
|
3050
|
-
var
|
|
3053
|
+
var Aa = null;
|
|
3051
3054
|
function G() {
|
|
3052
3055
|
p.call(this);
|
|
3053
3056
|
}
|
|
3054
3057
|
n(G, p);
|
|
3055
|
-
var
|
|
3056
|
-
function
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3058
|
+
var Ba = null;
|
|
3059
|
+
E.prototype.m = function() {
|
|
3060
|
+
var a = za;
|
|
3061
|
+
a || (za = a = y(E, { 0: { name: "NumberFormat", ia: "i18n.phonenumbers.NumberFormat" }, 1: { name: "pattern", required: true, i: 9, type: String }, 2: { name: "format", required: true, i: 9, type: String }, 3: { name: "leading_digits_pattern", aa: true, i: 9, type: String }, 4: { name: "national_prefix_formatting_rule", i: 9, type: String }, 6: { name: "national_prefix_optional_when_formatting", i: 8, defaultValue: false, type: Boolean }, 5: { name: "domestic_carrier_code_formatting_rule", i: 9, type: String } }));
|
|
3062
|
+
return a;
|
|
3063
|
+
};
|
|
3064
|
+
E.m = E.prototype.m;
|
|
3061
3065
|
F.prototype.m = function() {
|
|
3062
|
-
var a =
|
|
3063
|
-
a || (
|
|
3066
|
+
var a = Aa;
|
|
3067
|
+
a || (Aa = a = y(F, { 0: { name: "PhoneNumberDesc", ia: "i18n.phonenumbers.PhoneNumberDesc" }, 2: { name: "national_number_pattern", i: 9, type: String }, 9: { name: "possible_length", aa: true, i: 5, type: Number }, 10: { name: "possible_length_local_only", aa: true, i: 5, type: Number }, 6: { name: "example_number", i: 9, type: String } }));
|
|
3064
3068
|
return a;
|
|
3065
3069
|
};
|
|
3066
3070
|
F.m = F.prototype.m;
|
|
3067
3071
|
G.prototype.m = function() {
|
|
3068
|
-
var a =
|
|
3069
|
-
a || (
|
|
3070
|
-
return a;
|
|
3071
|
-
};
|
|
3072
|
-
G.m = G.prototype.m;
|
|
3073
|
-
H.prototype.m = function() {
|
|
3074
|
-
var a = Aa;
|
|
3075
|
-
a || (Aa = a = y(H, {
|
|
3072
|
+
var a = Ba;
|
|
3073
|
+
a || (Ba = a = y(G, {
|
|
3076
3074
|
0: { name: "PhoneMetadata", ia: "i18n.phonenumbers.PhoneMetadata" },
|
|
3077
|
-
1: { name: "general_desc", i: 11, type:
|
|
3078
|
-
2: { name: "fixed_line", i: 11, type:
|
|
3079
|
-
3: { name: "mobile", i: 11, type:
|
|
3080
|
-
4: { name: "toll_free", i: 11, type:
|
|
3081
|
-
5: { name: "premium_rate", i: 11, type:
|
|
3082
|
-
6: { name: "shared_cost", i: 11, type:
|
|
3083
|
-
7: { name: "personal_number", i: 11, type:
|
|
3084
|
-
8: { name: "voip", i: 11, type:
|
|
3085
|
-
21: { name: "pager", i: 11, type:
|
|
3086
|
-
25: { name: "uan", i: 11, type:
|
|
3087
|
-
27: { name: "emergency", i: 11, type:
|
|
3088
|
-
28: { name: "voicemail", i: 11, type:
|
|
3089
|
-
29: { name: "short_code", i: 11, type:
|
|
3090
|
-
30: { name: "standard_rate", i: 11, type:
|
|
3091
|
-
31: { name: "carrier_specific", i: 11, type:
|
|
3092
|
-
33: { name: "sms_services", i: 11, type:
|
|
3093
|
-
24: { name: "no_international_dialling", i: 11, type:
|
|
3075
|
+
1: { name: "general_desc", i: 11, type: F },
|
|
3076
|
+
2: { name: "fixed_line", i: 11, type: F },
|
|
3077
|
+
3: { name: "mobile", i: 11, type: F },
|
|
3078
|
+
4: { name: "toll_free", i: 11, type: F },
|
|
3079
|
+
5: { name: "premium_rate", i: 11, type: F },
|
|
3080
|
+
6: { name: "shared_cost", i: 11, type: F },
|
|
3081
|
+
7: { name: "personal_number", i: 11, type: F },
|
|
3082
|
+
8: { name: "voip", i: 11, type: F },
|
|
3083
|
+
21: { name: "pager", i: 11, type: F },
|
|
3084
|
+
25: { name: "uan", i: 11, type: F },
|
|
3085
|
+
27: { name: "emergency", i: 11, type: F },
|
|
3086
|
+
28: { name: "voicemail", i: 11, type: F },
|
|
3087
|
+
29: { name: "short_code", i: 11, type: F },
|
|
3088
|
+
30: { name: "standard_rate", i: 11, type: F },
|
|
3089
|
+
31: { name: "carrier_specific", i: 11, type: F },
|
|
3090
|
+
33: { name: "sms_services", i: 11, type: F },
|
|
3091
|
+
24: { name: "no_international_dialling", i: 11, type: F },
|
|
3094
3092
|
9: { name: "id", required: true, i: 9, type: String },
|
|
3095
3093
|
10: { name: "country_code", i: 5, type: Number },
|
|
3096
3094
|
11: { name: "international_prefix", i: 9, type: String },
|
|
@@ -3104,31 +3102,31 @@ var intl_tel_input_default = intlTelInput;
|
|
|
3104
3102
|
},
|
|
3105
3103
|
16: { name: "national_prefix_transform_rule", i: 9, type: String },
|
|
3106
3104
|
18: { name: "same_mobile_and_fixed_line_pattern", i: 8, defaultValue: false, type: Boolean },
|
|
3107
|
-
19: { name: "number_format", aa: true, i: 11, type:
|
|
3108
|
-
20: { name: "intl_number_format", aa: true, i: 11, type:
|
|
3105
|
+
19: { name: "number_format", aa: true, i: 11, type: E },
|
|
3106
|
+
20: { name: "intl_number_format", aa: true, i: 11, type: E },
|
|
3109
3107
|
22: { name: "main_country_for_code", i: 8, defaultValue: false, type: Boolean },
|
|
3110
3108
|
23: { name: "leading_digits", i: 9, type: String }
|
|
3111
3109
|
}));
|
|
3112
3110
|
return a;
|
|
3113
3111
|
};
|
|
3114
|
-
|
|
3115
|
-
function
|
|
3112
|
+
G.m = G.prototype.m;
|
|
3113
|
+
function H() {
|
|
3116
3114
|
p.call(this);
|
|
3117
3115
|
}
|
|
3118
|
-
n(
|
|
3119
|
-
var
|
|
3120
|
-
|
|
3121
|
-
var a =
|
|
3122
|
-
a || (
|
|
3116
|
+
n(H, p);
|
|
3117
|
+
var Ca = null, Da = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
|
|
3118
|
+
H.prototype.m = function() {
|
|
3119
|
+
var a = Ca;
|
|
3120
|
+
a || (Ca = a = y(H, { 0: { name: "PhoneNumber", ia: "i18n.phonenumbers.PhoneNumber" }, 1: { name: "country_code", required: true, i: 5, type: Number }, 2: { name: "national_number", required: true, i: 4, type: Number }, 3: { name: "extension", i: 9, type: String }, 4: { name: "italian_leading_zero", i: 8, type: Boolean }, 8: { name: "number_of_leading_zeros", i: 5, defaultValue: 1, type: Number }, 5: { name: "raw_input", i: 9, type: String }, 6: { name: "country_code_source", i: 14, defaultValue: 0, type: Da }, 7: {
|
|
3123
3121
|
name: "preferred_domestic_carrier_code",
|
|
3124
3122
|
i: 9,
|
|
3125
3123
|
type: String
|
|
3126
3124
|
} }));
|
|
3127
3125
|
return a;
|
|
3128
3126
|
};
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
var
|
|
3127
|
+
H.ctor = H;
|
|
3128
|
+
H.ctor.m = H.prototype.m;
|
|
3129
|
+
var I = {
|
|
3132
3130
|
1: "US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),
|
|
3133
3131
|
7: ["RU", "KZ"],
|
|
3134
3132
|
20: ["EG"],
|
|
@@ -3344,7 +3342,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
3344
3342
|
995: ["GE"],
|
|
3345
3343
|
996: ["KG"],
|
|
3346
3344
|
998: ["UZ"]
|
|
3347
|
-
},
|
|
3345
|
+
}, Ea = {
|
|
3348
3346
|
AC: [, [
|
|
3349
3347
|
,
|
|
3350
3348
|
,
|
|
@@ -4803,54 +4801,28 @@ var intl_tel_input_default = intlTelInput;
|
|
|
4803
4801
|
,
|
|
4804
4802
|
[7]
|
|
4805
4803
|
], [, , "700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}", , , , "911234567"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "ET", 251, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
4806
|
-
FI: [
|
|
4804
|
+
FI: [, [, , "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", , , , , , , [5, 6, 7, 8, 9, 10, 11, 12]], [
|
|
4807
4805
|
,
|
|
4808
|
-
[, , "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", , , , , , , [5, 6, 7, 8, 9, 10, 11, 12]],
|
|
4809
|
-
[
|
|
4810
|
-
,
|
|
4811
|
-
,
|
|
4812
|
-
"(?:1[3-79][1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",
|
|
4813
|
-
,
|
|
4814
|
-
,
|
|
4815
|
-
,
|
|
4816
|
-
"131234567",
|
|
4817
|
-
,
|
|
4818
|
-
,
|
|
4819
|
-
[5, 6, 7, 8, 9]
|
|
4820
|
-
],
|
|
4821
|
-
[, , "4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}", , , , "412345678", , , [6, 7, 8, 9, 10]],
|
|
4822
|
-
[, , "800\\d{4,6}", , , , "800123456", , , [7, 8, 9]],
|
|
4823
|
-
[, , "[67]00\\d{5,6}", , , , "600123456", , , [8, 9]],
|
|
4824
|
-
[, , , , , , , , , [-1]],
|
|
4825
|
-
[, , , , , , , , , [-1]],
|
|
4826
|
-
[, , , , , , , , , [-1]],
|
|
4827
|
-
"FI",
|
|
4828
|
-
358,
|
|
4829
|
-
"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))",
|
|
4830
|
-
"0",
|
|
4831
4806
|
,
|
|
4807
|
+
"1[35-7][1-8]\\d{3,6}|(?:1[49][1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",
|
|
4832
4808
|
,
|
|
4833
|
-
"0",
|
|
4834
4809
|
,
|
|
4835
|
-
"00",
|
|
4836
4810
|
,
|
|
4837
|
-
|
|
4838
|
-
,
|
|
4839
|
-
"(\\d{2})(\\d{4,8})",
|
|
4840
|
-
"$1 $2",
|
|
4841
|
-
["[14]|2[09]|50|7[135]"],
|
|
4842
|
-
"0$1"
|
|
4843
|
-
], [, "(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], [, "(\\d)(\\d{4,9})", "$1 $2", ["(?:1[3-79]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]],
|
|
4844
|
-
[[, "(\\d{5})", "$1", ["20[2-59]"], "0$1"], [, "(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], [, "(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], [, "(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], [, "(\\d)(\\d{4,9})", "$1 $2", ["(?:1[3-79]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]],
|
|
4845
|
-
[, , , , , , , , , [-1]],
|
|
4846
|
-
1,
|
|
4847
|
-
"1[03-79]|[2-9]",
|
|
4848
|
-
[, , "20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"],
|
|
4849
|
-
[, , "20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}", , , , "10112345"],
|
|
4811
|
+
"131234567",
|
|
4850
4812
|
,
|
|
4851
4813
|
,
|
|
4852
|
-
[, , , ,
|
|
4853
|
-
],
|
|
4814
|
+
[5, 6, 7, 8, 9]
|
|
4815
|
+
], [, , "4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}", , , , "412345678", , , [6, 7, 8, 9, 10]], [, , "800\\d{4,6}", , , , "800123456", , , [7, 8, 9]], [, , "[67]00\\d{5,6}", , , , "600123456", , , [8, 9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "FI", 358, "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "0", , , "0", , "00", , [[, "(\\d{5})", "$1", ["75[12]"], "0$1"], [, "(\\d{5})", "$1", ["20[2-59]"], "0$1"], [, "(\\d{6})", "$1", ["11"]], [, "(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], [
|
|
4816
|
+
,
|
|
4817
|
+
"(\\d{2})(\\d{4,8})",
|
|
4818
|
+
"$1 $2",
|
|
4819
|
+
["[14]|2[09]|50|7[135]"],
|
|
4820
|
+
"0$1"
|
|
4821
|
+
], [, "(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], [, "(\\d)(\\d{4,9})", "$1 $2", ["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], [[, "(\\d{5})", "$1", ["20[2-59]"], "0$1"], [, "(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], [, "(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], [, "(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], [, "(\\d)(\\d{4,9})", "$1 $2", ["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], [, , , , , , , , , [-1]], 1, "1[03-79]|[2-9]", [
|
|
4822
|
+
,
|
|
4823
|
+
,
|
|
4824
|
+
"20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"
|
|
4825
|
+
], [, , "20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}", , , , "10112345"], , , [, , , , , , , , , [-1]]],
|
|
4854
4826
|
FJ: [, [, , "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", , , , , , , [7, 11]], [, , "603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}", , , , "3212345", , , [7]], [
|
|
4855
4827
|
,
|
|
4856
4828
|
,
|
|
@@ -4999,7 +4971,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
4999
4971
|
GE: [, [, , "(?:[3-57]\\d\\d|800)\\d{6}", , , , , , , [9], [6, 7]], [, , "(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}", , , , "322123456", , , , [6, 7]], [
|
|
5000
4972
|
,
|
|
5001
4973
|
,
|
|
5002
|
-
"5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|111|77\\d)|1(?:1(?:[03][01]|[124]\\d)|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200)|6[89]\\d\\d|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}",
|
|
4974
|
+
"5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|111|22[02]|77\\d)|1(?:1(?:[03][01]|[124]\\d)|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200)|6[89]\\d\\d|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}",
|
|
5003
4975
|
,
|
|
5004
4976
|
,
|
|
5005
4977
|
,
|
|
@@ -5228,41 +5200,60 @@ var intl_tel_input_default = intlTelInput;
|
|
|
5228
5200
|
,
|
|
5229
5201
|
,
|
|
5230
5202
|
"2201234"
|
|
5231
|
-
], [, , "(?:510|6\\d\\d|7(?:[
|
|
5232
|
-
HK: [
|
|
5233
|
-
,
|
|
5234
|
-
,
|
|
5235
|
-
"(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[59]\\d|6[0-2]))|58(?:0[1-9]|1[2-9]))\\d{4}",
|
|
5236
|
-
,
|
|
5237
|
-
,
|
|
5238
|
-
,
|
|
5239
|
-
"21234567",
|
|
5240
|
-
,
|
|
5241
|
-
,
|
|
5242
|
-
[8]
|
|
5243
|
-
], [, , "(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|848[0-35-9]|9(?:29[013-9]|39[01]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-8]|6[02357-9])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[129]|84[0-29]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}", , , , "51234567", , , [8]], [, , "800\\d{6}", , , , "800123456", , , [9]], [, , "900(?:[0-24-9]\\d{7}|3\\d{1,4})", , , , "90012345678", , , [5, 6, 7, 8, 11]], [
|
|
5244
|
-
,
|
|
5245
|
-
,
|
|
5246
|
-
,
|
|
5247
|
-
,
|
|
5203
|
+
], [, , "(?:510|6\\d\\d|7(?:[0135]\\d|2[0-8]|4[0-24-9]))\\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]]],
|
|
5204
|
+
HK: [
|
|
5248
5205
|
,
|
|
5206
|
+
[, , "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", , , , , , , [5, 6, 7, 8, 9, 11]],
|
|
5207
|
+
[
|
|
5208
|
+
,
|
|
5209
|
+
,
|
|
5210
|
+
"(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[59]\\d|6[0-2]))|58(?:0[1-9]|1[2-9]))\\d{4}",
|
|
5211
|
+
,
|
|
5212
|
+
,
|
|
5213
|
+
,
|
|
5214
|
+
"21234567",
|
|
5215
|
+
,
|
|
5216
|
+
,
|
|
5217
|
+
[8]
|
|
5218
|
+
],
|
|
5219
|
+
[, , "(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|848[0-35-9]|9(?:29[013-9]|39[01]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-8]|6[02357-9]|70)|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-39]|84[0-29]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}", , , , "51234567", , , [8]],
|
|
5220
|
+
[, , "800\\d{6}", , , , "800123456", , , [9]],
|
|
5221
|
+
[, , "900(?:[0-24-9]\\d{7}|3\\d{1,4})", , , , "90012345678", , , [5, 6, 7, 8, 11]],
|
|
5222
|
+
[, , , , , , , , , [-1]],
|
|
5223
|
+
[, , "8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}", , , , "81123456", , , [8]],
|
|
5224
|
+
[, , , , , , , , , [-1]],
|
|
5225
|
+
"HK",
|
|
5226
|
+
852,
|
|
5227
|
+
"00(?:30|5[09]|[126-9]?)",
|
|
5249
5228
|
,
|
|
5250
5229
|
,
|
|
5251
5230
|
,
|
|
5252
5231
|
,
|
|
5253
|
-
[-1]
|
|
5254
|
-
], [, , "8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}", , , , "81123456", , , [8]], [, , , , , , , , , [-1]], "HK", 852, "00(?:30|5[09]|[126-9]?)", , , , , , "00", , [[, "(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], [, "(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], , [
|
|
5255
5232
|
,
|
|
5233
|
+
"00",
|
|
5256
5234
|
,
|
|
5257
|
-
"
|
|
5235
|
+
[[, "(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], [, "(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]],
|
|
5258
5236
|
,
|
|
5237
|
+
[
|
|
5238
|
+
,
|
|
5239
|
+
,
|
|
5240
|
+
"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",
|
|
5241
|
+
,
|
|
5242
|
+
,
|
|
5243
|
+
,
|
|
5244
|
+
"71123456",
|
|
5245
|
+
,
|
|
5246
|
+
,
|
|
5247
|
+
[8]
|
|
5248
|
+
],
|
|
5259
5249
|
,
|
|
5260
5250
|
,
|
|
5261
|
-
|
|
5251
|
+
[, , , , , , , , , [-1]],
|
|
5252
|
+
[, , "30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}", , , , "30161234", , , [8]],
|
|
5262
5253
|
,
|
|
5263
5254
|
,
|
|
5264
|
-
[
|
|
5265
|
-
],
|
|
5255
|
+
[, , , , , , , , , [-1]]
|
|
5256
|
+
],
|
|
5266
5257
|
HN: [, [, , "8\\d{10}|[237-9]\\d{7}", , , , , , , [8, 11]], [
|
|
5267
5258
|
,
|
|
5268
5259
|
,
|
|
@@ -5393,7 +5384,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
5393
5384
|
], [, , "55410\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|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]], [
|
|
5394
5385
|
,
|
|
5395
5386
|
,
|
|
5396
|
-
"7(?:38(?:0\\d|5[0-
|
|
5387
|
+
"7(?:38(?:0\\d|5[0-259]|88)|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}",
|
|
5397
5388
|
,
|
|
5398
5389
|
,
|
|
5399
5390
|
,
|
|
@@ -5757,7 +5748,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
5757
5748
|
,
|
|
5758
5749
|
,
|
|
5759
5750
|
[7, 8, 9]
|
|
5760
|
-
], [, , "(?:1(?:0[0-8]|1[0-
|
|
5751
|
+
], [, , "(?:1(?:0[0-8]|1[0-7]|2[014]|30)|7\\d\\d)\\d{6}", , , , "712123456", , , [9]], [, , "800[02-8]\\d{5,6}", , , , "800223456", , , [9, 10]], [, , "900[02-9]\\d{5}", , , , "900223456", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "KE", 254, "000", "0", , , "0", , , , [[, "(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], [, "(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
5761
5752
|
KG: [, [
|
|
5762
5753
|
,
|
|
5763
5754
|
,
|
|
@@ -6467,7 +6458,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
6467
6458
|
MU: [, [, , "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", , , , , , , [7, 8, 10]], [, , "(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8]|71)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}", , , , "54480123", , , [7, 8]], [
|
|
6468
6459
|
,
|
|
6469
6460
|
,
|
|
6470
|
-
"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-
|
|
6461
|
+
"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-4]|3[013]))\\d{5}",
|
|
6471
6462
|
,
|
|
6472
6463
|
,
|
|
6473
6464
|
,
|
|
@@ -6500,7 +6491,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
6500
6491
|
MX: [, [, , "[2-9]\\d{9}", , , , , , , [10], [7, 8]], [
|
|
6501
6492
|
,
|
|
6502
6493
|
,
|
|
6503
|
-
"657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[
|
|
6494
|
+
"657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}",
|
|
6504
6495
|
,
|
|
6505
6496
|
,
|
|
6506
6497
|
,
|
|
@@ -6509,7 +6500,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
6509
6500
|
,
|
|
6510
6501
|
,
|
|
6511
6502
|
[7, 8]
|
|
6512
|
-
], [, , "657[12]\\d{6}|(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[
|
|
6503
|
+
], [, , "657[12]\\d{6}|(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}", , , , "2221234567", , , , [7, 8]], [
|
|
6513
6504
|
,
|
|
6514
6505
|
,
|
|
6515
6506
|
"8(?:00|88)\\d{7}",
|
|
@@ -7571,7 +7562,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7571
7562
|
,
|
|
7572
7563
|
"8002345678"
|
|
7573
7564
|
], [, , "900[2-9]\\d{6}", , , , "9002345678"], [, , , , , , , , , [-1]], [, , "52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}", , , , "5002345678"], [, , "649(?:71[01]|966)\\d{4}", , , , "6497101234", , , , [7]], "TC", 1, "011", "1", , , "([2-479]\\d{6})$|1", "649$1", , , , , [, , , , , , , , , [-1]], , "649", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
7574
|
-
TD: [, [, , "(?:22|[
|
|
7565
|
+
TD: [, [, , "(?:22|[689]\\d|77)\\d{6}", , , , , , , [8]], [, , "22(?:[37-9]0|5[0-5]|6[89])\\d{4}", , , , "22501234"], [, , "(?:[69]\\d|77|8[56])\\d{6}", , , , "63012345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "TD", 235, "00|16", , , , , , "00", , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
7575
7566
|
TG: [, [, , "[279]\\d{7}", , , , , , , [8]], [, , "2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}", , , , "22212345"], [
|
|
7576
7567
|
,
|
|
7577
7568
|
,
|
|
@@ -7850,7 +7841,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7850
7841
|
[
|
|
7851
7842
|
,
|
|
7852
7843
|
,
|
|
7853
|
-
"(?:5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-
|
|
7844
|
+
"(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",
|
|
7854
7845
|
,
|
|
7855
7846
|
,
|
|
7856
7847
|
,
|
|
@@ -7863,7 +7854,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7863
7854
|
[
|
|
7864
7855
|
,
|
|
7865
7856
|
,
|
|
7866
|
-
"(?:5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-
|
|
7857
|
+
"(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",
|
|
7867
7858
|
,
|
|
7868
7859
|
,
|
|
7869
7860
|
,
|
|
@@ -7877,7 +7868,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7877
7868
|
[, , "900[2-9]\\d{6}", , , , "9002345678"],
|
|
7878
7869
|
[, , , , , , , , , [-1]],
|
|
7879
7870
|
[, , "52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}", , , , "5002345678"],
|
|
7880
|
-
[, , , , , , , , , [
|
|
7871
|
+
[, , "305209\\d{4}", , , , "3052090123", , , , [7]],
|
|
7881
7872
|
"US",
|
|
7882
7873
|
1,
|
|
7883
7874
|
"011",
|
|
@@ -7888,12 +7879,11 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7888
7879
|
,
|
|
7889
7880
|
,
|
|
7890
7881
|
1,
|
|
7891
|
-
[
|
|
7892
|
-
,
|
|
7893
|
-
"(\\d{3})(\\d{4})",
|
|
7894
|
-
"$1-$2",
|
|
7895
|
-
|
|
7896
|
-
], [, "(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], , , 1]],
|
|
7882
|
+
[
|
|
7883
|
+
[, "(\\d{3})(\\d{4})", "$1-$2", ["310"], , , 1],
|
|
7884
|
+
[, "(\\d{3})(\\d{4})", "$1-$2", ["[24-9]|3(?:[02-9]|1[1-9])"]],
|
|
7885
|
+
[, "(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], , , 1]
|
|
7886
|
+
],
|
|
7897
7887
|
[[, "(\\d{3})(\\d{4})", "$1-$2", ["310"], , , 1], [, "(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-9]"]]],
|
|
7898
7888
|
[, , , , , , , , , [-1]],
|
|
7899
7889
|
1,
|
|
@@ -8363,14 +8353,14 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8363
8353
|
], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "001", 888, , , , , , , , 1, [[, "(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "\\d{11}", , , , "12345678901"], , , [, , , , , , , , , [-1]]],
|
|
8364
8354
|
979: [, [, , "[1359]\\d{8}", , , , , , , [9], [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "[1359]\\d{8}", , , , "123456789", , , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "001", 979, , , , , , , , 1, [[, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]]
|
|
8365
8355
|
};
|
|
8366
|
-
function
|
|
8356
|
+
function J() {
|
|
8367
8357
|
this.g = {};
|
|
8368
8358
|
}
|
|
8369
|
-
|
|
8370
|
-
|
|
8371
|
-
return
|
|
8359
|
+
J.h = void 0;
|
|
8360
|
+
J.g = function() {
|
|
8361
|
+
return J.h ? J.h : J.h = new J();
|
|
8372
8362
|
};
|
|
8373
|
-
var
|
|
8363
|
+
var Fa = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", "\uFF10": "0", "\uFF11": "1", "\uFF12": "2", "\uFF13": "3", "\uFF14": "4", "\uFF15": "5", "\uFF16": "6", "\uFF17": "7", "\uFF18": "8", "\uFF19": "9", "\u0660": "0", "\u0661": "1", "\u0662": "2", "\u0663": "3", "\u0664": "4", "\u0665": "5", "\u0666": "6", "\u0667": "7", "\u0668": "8", "\u0669": "9", "\u06F0": "0", "\u06F1": "1", "\u06F2": "2", "\u06F3": "3", "\u06F4": "4", "\u06F5": "5", "\u06F6": "6", "\u06F7": "7", "\u06F8": "8", "\u06F9": "9" }, Ga = {
|
|
8374
8364
|
0: "0",
|
|
8375
8365
|
1: "1",
|
|
8376
8366
|
2: "2",
|
|
@@ -8384,7 +8374,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8384
8374
|
"+": "+",
|
|
8385
8375
|
"*": "*",
|
|
8386
8376
|
"#": "#"
|
|
8387
|
-
},
|
|
8377
|
+
}, Ha = {
|
|
8388
8378
|
0: "0",
|
|
8389
8379
|
1: "1",
|
|
8390
8380
|
2: "2",
|
|
@@ -8451,48 +8441,48 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8451
8441
|
X: "9",
|
|
8452
8442
|
Y: "9",
|
|
8453
8443
|
Z: "9"
|
|
8454
|
-
},
|
|
8455
|
-
function
|
|
8444
|
+
}, Ia = RegExp("[+\uFF0B]+"), K = RegExp("^[+\uFF0B]+"), Ja = RegExp("([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])"), Ka = RegExp("[+\uFF0B0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]"), La = /[\\\/] *x/, Ma = RegExp("[^0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9A-Za-z#]+$"), Na = /(?:.*?[A-Za-z]){3}.*/, Oa = RegExp("^\\+([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]|[\\-\\.\\(\\)]?)*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]|[\\-\\.\\(\\)]?)*$"), Pa = RegExp("^([A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]+((\\-)*[A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])*\\.?$");
|
|
8445
|
+
function L(a) {
|
|
8456
8446
|
return "([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{1," + a + "})";
|
|
8457
8447
|
}
|
|
8458
|
-
function
|
|
8459
|
-
return ";ext=" +
|
|
8460
|
-
}
|
|
8461
|
-
var Qa = new RegExp("(?:" + Pa() + ")$", "i"), Ra = new RegExp("^[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{2}$|^[+\uFF0B]*(?:[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*]*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]){3,}[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]*(?:" + Pa() + ")?$", "i"), Sa = /(\$\d)/, Ta = /^\(?\$1\)?$/;
|
|
8462
|
-
function Ua(a) {
|
|
8463
|
-
return 2 > a.length ? false : N(Ra, a);
|
|
8448
|
+
function Qa() {
|
|
8449
|
+
return ";ext=" + L("20") + "|[ \xA0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\xF3))?n?|\uFF45?\uFF58\uFF54\uFF4E?|\u0434\u043E\u0431|anexo)[:\\.\uFF0E]?[ \xA0\\t,-]*" + (L("20") + "#?|[ \xA0\\t,]*(?:[x\uFF58#\uFF03~\uFF5E]|int|\uFF49\uFF4E\uFF54)[:\\.\uFF0E]?[ \xA0\\t,-]*") + (L("9") + "#?|[- ]+") + (L("6") + "#|[ \xA0\\t]*(?:,{2}|;)[:\\.\uFF0E]?[ \xA0\\t,-]*") + (L("15") + "#?|[ \xA0\\t]*(?:,)+[:\\.\uFF0E]?[ \xA0\\t,-]*") + (L("9") + "#?");
|
|
8464
8450
|
}
|
|
8451
|
+
var Ra = new RegExp("(?:" + Qa() + ")$", "i"), Sa = new RegExp("^[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{2}$|^[+\uFF0B]*(?:[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*]*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]){3,}[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]*(?:" + Qa() + ")?$", "i"), Ta = /(\$\d)/, Ua = /^\(?\$1\)?$/;
|
|
8465
8452
|
function Va(a) {
|
|
8466
|
-
return
|
|
8453
|
+
return 2 > a.length ? false : M(Sa, a);
|
|
8467
8454
|
}
|
|
8468
8455
|
function Wa(a) {
|
|
8469
|
-
|
|
8470
|
-
E(a);
|
|
8471
|
-
a.g(b);
|
|
8456
|
+
return M(Na, a) ? N(a, Ha) : N(a, Fa);
|
|
8472
8457
|
}
|
|
8473
8458
|
function Xa(a) {
|
|
8459
|
+
var b = Wa(a.toString());
|
|
8460
|
+
D(a);
|
|
8461
|
+
a.g(b);
|
|
8462
|
+
}
|
|
8463
|
+
function Ya(a) {
|
|
8474
8464
|
return null != a && (1 != x(a, 9) || -1 != u(a, 9)[0]);
|
|
8475
8465
|
}
|
|
8476
|
-
function
|
|
8477
|
-
for (var c = new
|
|
8466
|
+
function N(a, b) {
|
|
8467
|
+
for (var c = new C(), d, e = a.length, f = 0; f < e; ++f) d = a.charAt(f), d = b[d.toUpperCase()], null != d && c.g(d);
|
|
8478
8468
|
return c.toString();
|
|
8479
8469
|
}
|
|
8480
|
-
function
|
|
8481
|
-
return 0 == a.length ||
|
|
8470
|
+
function Za(a) {
|
|
8471
|
+
return 0 == a.length || Ua.test(a);
|
|
8482
8472
|
}
|
|
8483
|
-
function
|
|
8484
|
-
return null != a && isNaN(a) && a.toUpperCase() in
|
|
8473
|
+
function O(a) {
|
|
8474
|
+
return null != a && isNaN(a) && a.toUpperCase() in Ea;
|
|
8485
8475
|
}
|
|
8486
|
-
|
|
8476
|
+
J.prototype.format = function(a, b) {
|
|
8487
8477
|
if (0 == r(a, 2) && q(a, 5)) {
|
|
8488
8478
|
var c = w(a, 5);
|
|
8489
8479
|
if (0 < c.length) return c;
|
|
8490
8480
|
}
|
|
8491
8481
|
c = w(a, 1);
|
|
8492
|
-
var d =
|
|
8493
|
-
if (0 == b) return
|
|
8494
|
-
if (!(c in
|
|
8495
|
-
var e =
|
|
8482
|
+
var d = P(a);
|
|
8483
|
+
if (0 == b) return $a(c, 0, d, "");
|
|
8484
|
+
if (!(c in I)) return d;
|
|
8485
|
+
var e = Q(this, c, R(c));
|
|
8496
8486
|
a = q(a, 3) && 0 != r(a, 3).length ? 3 == b ? ";ext=" + r(a, 3) : q(e, 13) ? r(e, 13) + w(a, 3) : " ext. " + w(a, 3) : "";
|
|
8497
8487
|
a: {
|
|
8498
8488
|
e = 0 == u(e, 20).length || 2 == b ? u(e, 19) : u(e, 20);
|
|
@@ -8500,7 +8490,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8500
8490
|
f = e[h];
|
|
8501
8491
|
var l = x(f, 3);
|
|
8502
8492
|
if (0 == l || 0 == d.search(r(f, 3, l - 1))) {
|
|
8503
|
-
if (l = new RegExp(r(f, 1)),
|
|
8493
|
+
if (l = new RegExp(r(f, 1)), M(l, d)) {
|
|
8504
8494
|
e = f;
|
|
8505
8495
|
break a;
|
|
8506
8496
|
}
|
|
@@ -8511,18 +8501,18 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8511
8501
|
null != e && (g = e, e = w(g, 2), f = new RegExp(r(g, 1)), w(
|
|
8512
8502
|
g,
|
|
8513
8503
|
5
|
|
8514
|
-
), g = w(g, 4), d = 2 == b && null != g && 0 < g.length ? d.replace(f, e.replace(
|
|
8515
|
-
return
|
|
8504
|
+
), g = w(g, 4), d = 2 == b && null != g && 0 < g.length ? d.replace(f, e.replace(Ta, g)) : d.replace(f, e), 3 == b && (d = d.replace(RegExp("^[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]+"), ""), d = d.replace(RegExp("[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]+", "g"), "-")));
|
|
8505
|
+
return $a(c, b, d, a);
|
|
8516
8506
|
};
|
|
8517
|
-
function
|
|
8518
|
-
return "001" == c ?
|
|
8507
|
+
function Q(a, b, c) {
|
|
8508
|
+
return "001" == c ? S(a, "" + b) : S(a, c);
|
|
8519
8509
|
}
|
|
8520
|
-
function
|
|
8510
|
+
function P(a) {
|
|
8521
8511
|
if (!q(a, 2)) return "";
|
|
8522
8512
|
var b = "" + r(a, 2);
|
|
8523
8513
|
return q(a, 4) && r(a, 4) && 0 < w(a, 8) ? Array(w(a, 8) + 1).join("0") + b : b;
|
|
8524
8514
|
}
|
|
8525
|
-
function
|
|
8515
|
+
function $a(a, b, c, d) {
|
|
8526
8516
|
switch (b) {
|
|
8527
8517
|
case 0:
|
|
8528
8518
|
return "+" + a + c + d;
|
|
@@ -8534,7 +8524,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8534
8524
|
return c + d;
|
|
8535
8525
|
}
|
|
8536
8526
|
}
|
|
8537
|
-
function
|
|
8527
|
+
function T(a, b) {
|
|
8538
8528
|
switch (b) {
|
|
8539
8529
|
case 4:
|
|
8540
8530
|
return r(a, 5);
|
|
@@ -8561,42 +8551,42 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8561
8551
|
return r(a, 1);
|
|
8562
8552
|
}
|
|
8563
8553
|
}
|
|
8564
|
-
function
|
|
8565
|
-
return
|
|
8554
|
+
function ab(a, b) {
|
|
8555
|
+
return U(a, r(b, 1)) ? U(a, r(b, 5)) ? 4 : U(a, r(b, 4)) ? 3 : U(a, r(b, 6)) ? 5 : U(a, r(b, 8)) ? 6 : U(a, r(b, 7)) ? 7 : U(a, r(b, 21)) ? 8 : U(a, r(b, 25)) ? 9 : U(a, r(b, 28)) ? 10 : U(a, r(b, 2)) ? r(b, 18) || U(a, r(b, 3)) ? 2 : 0 : !r(b, 18) && U(a, r(b, 3)) ? 1 : -1 : -1;
|
|
8566
8556
|
}
|
|
8567
|
-
function
|
|
8557
|
+
function S(a, b) {
|
|
8568
8558
|
if (null == b) return null;
|
|
8569
8559
|
b = b.toUpperCase();
|
|
8570
8560
|
var c = a.g[b];
|
|
8571
8561
|
if (null == c) {
|
|
8572
|
-
c =
|
|
8562
|
+
c = Ea[b];
|
|
8573
8563
|
if (null == c) return null;
|
|
8574
|
-
c = new
|
|
8564
|
+
c = new B().g(G.m(), c);
|
|
8575
8565
|
a.g[b] = c;
|
|
8576
8566
|
}
|
|
8577
8567
|
return c;
|
|
8578
8568
|
}
|
|
8579
|
-
function
|
|
8569
|
+
function U(a, b) {
|
|
8580
8570
|
var c = a.length;
|
|
8581
|
-
return 0 < x(b, 9) && -1 == u(b, 9).indexOf(c) ? false :
|
|
8571
|
+
return 0 < x(b, 9) && -1 == u(b, 9).indexOf(c) ? false : M(w(b, 2), a);
|
|
8582
8572
|
}
|
|
8583
|
-
function
|
|
8573
|
+
function bb(a, b) {
|
|
8584
8574
|
if (null == b) return null;
|
|
8585
8575
|
var c = w(b, 1);
|
|
8586
|
-
c =
|
|
8576
|
+
c = I[c];
|
|
8587
8577
|
if (null == c) a = null;
|
|
8588
8578
|
else if (1 == c.length) a = c[0];
|
|
8589
8579
|
else a: {
|
|
8590
|
-
b =
|
|
8580
|
+
b = P(b);
|
|
8591
8581
|
for (var d, e = c.length, f = 0; f < e; f++) {
|
|
8592
8582
|
d = c[f];
|
|
8593
|
-
var g =
|
|
8583
|
+
var g = S(a, d);
|
|
8594
8584
|
if (q(g, 23)) {
|
|
8595
8585
|
if (0 == b.search(r(g, 23))) {
|
|
8596
8586
|
a = d;
|
|
8597
8587
|
break a;
|
|
8598
8588
|
}
|
|
8599
|
-
} else if (-1 !=
|
|
8589
|
+
} else if (-1 != ab(b, g)) {
|
|
8600
8590
|
a = d;
|
|
8601
8591
|
break a;
|
|
8602
8592
|
}
|
|
@@ -8605,92 +8595,92 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8605
8595
|
}
|
|
8606
8596
|
return a;
|
|
8607
8597
|
}
|
|
8608
|
-
function
|
|
8609
|
-
a =
|
|
8598
|
+
function R(a) {
|
|
8599
|
+
a = I[a];
|
|
8610
8600
|
return null == a ? "ZZ" : a[0];
|
|
8611
8601
|
}
|
|
8612
|
-
function
|
|
8613
|
-
a =
|
|
8602
|
+
function cb(a, b) {
|
|
8603
|
+
a = S(a, b);
|
|
8614
8604
|
if (null == a) throw Error("Invalid region code: " + b);
|
|
8615
8605
|
return w(a, 10);
|
|
8616
8606
|
}
|
|
8617
|
-
function
|
|
8618
|
-
var e =
|
|
8607
|
+
function V(a, b, c, d) {
|
|
8608
|
+
var e = T(c, d), f = 0 == x(e, 9) ? u(r(c, 1), 9) : u(e, 9);
|
|
8619
8609
|
e = u(e, 10);
|
|
8620
|
-
if (2 == d) if (
|
|
8621
|
-
else return
|
|
8610
|
+
if (2 == d) if (Ya(T(c, 0))) a = T(c, 1), Ya(a) && (f = f.concat(0 == x(a, 9) ? u(r(c, 1), 9) : u(a, 9)), f.sort(), 0 == e.length ? e = u(a, 10) : (e = e.concat(u(a, 10)), e.sort()));
|
|
8611
|
+
else return V(a, b, c, 1);
|
|
8622
8612
|
if (-1 == f[0]) return 5;
|
|
8623
8613
|
b = b.length;
|
|
8624
8614
|
if (-1 < e.indexOf(b)) return 4;
|
|
8625
8615
|
c = f[0];
|
|
8626
8616
|
return c == b ? 0 : c > b ? 2 : f[f.length - 1] < b ? 3 : -1 < f.indexOf(b, 1) ? 0 : 5;
|
|
8627
8617
|
}
|
|
8628
|
-
function
|
|
8629
|
-
var d =
|
|
8618
|
+
function W(a, b, c) {
|
|
8619
|
+
var d = P(b);
|
|
8630
8620
|
b = w(b, 1);
|
|
8631
|
-
if (!(b in
|
|
8632
|
-
b =
|
|
8633
|
-
return
|
|
8621
|
+
if (!(b in I)) return 1;
|
|
8622
|
+
b = Q(a, b, R(b));
|
|
8623
|
+
return V(a, d, b, c);
|
|
8634
8624
|
}
|
|
8635
|
-
function
|
|
8625
|
+
function db(a, b) {
|
|
8636
8626
|
a = a.toString();
|
|
8637
8627
|
if (0 == a.length || "0" == a.charAt(0)) return 0;
|
|
8638
|
-
for (var c, d = a.length, e = 1; 3 >= e && e <= d; ++e) if (c = parseInt(a.substring(0, e), 10), c in
|
|
8628
|
+
for (var c, d = a.length, e = 1; 3 >= e && e <= d; ++e) if (c = parseInt(a.substring(0, e), 10), c in I) return b.g(a.substring(e)), c;
|
|
8639
8629
|
return 0;
|
|
8640
8630
|
}
|
|
8641
|
-
function
|
|
8631
|
+
function eb(a, b, c, d, e, f) {
|
|
8642
8632
|
if (0 == b.length) return 0;
|
|
8643
|
-
b = new
|
|
8633
|
+
b = new C(b);
|
|
8644
8634
|
var g;
|
|
8645
8635
|
null != c && (g = r(c, 11));
|
|
8646
8636
|
null == g && (g = "NonMatch");
|
|
8647
8637
|
var h = b.toString();
|
|
8648
8638
|
if (0 == h.length) g = 20;
|
|
8649
|
-
else if (
|
|
8639
|
+
else if (K.test(h)) h = h.replace(K, ""), D(b), b.g(Wa(h)), g = 1;
|
|
8650
8640
|
else {
|
|
8651
8641
|
h = new RegExp(g);
|
|
8652
|
-
|
|
8642
|
+
Xa(b);
|
|
8653
8643
|
g = b.toString();
|
|
8654
8644
|
if (0 == g.search(h)) {
|
|
8655
8645
|
h = g.match(h)[0].length;
|
|
8656
|
-
var l = g.substring(h).match(
|
|
8657
|
-
l && null != l[1] && 0 < l[1].length && "0" ==
|
|
8646
|
+
var l = g.substring(h).match(Ja);
|
|
8647
|
+
l && null != l[1] && 0 < l[1].length && "0" == N(l[1], Fa) ? g = false : (D(b), b.g(g.substring(h)), g = true);
|
|
8658
8648
|
} else g = false;
|
|
8659
8649
|
g = g ? 5 : 20;
|
|
8660
8650
|
}
|
|
8661
8651
|
e && t(f, 6, g);
|
|
8662
8652
|
if (20 != g) {
|
|
8663
8653
|
if (2 >= b.h.length) throw Error("Phone number too short after IDD");
|
|
8664
|
-
a =
|
|
8654
|
+
a = db(b, d);
|
|
8665
8655
|
if (0 != a) return t(f, 1, a), a;
|
|
8666
8656
|
throw Error("Invalid country calling code");
|
|
8667
8657
|
}
|
|
8668
|
-
if (null != c && (g = w(c, 10), h = "" + g, l = b.toString(), 0 == l.lastIndexOf(h, 0) && (h = new
|
|
8658
|
+
if (null != c && (g = w(c, 10), h = "" + g, l = b.toString(), 0 == l.lastIndexOf(h, 0) && (h = new C(l.substring(h.length)), l = r(c, 1), l = new RegExp(w(l, 2)), fb(h, c, null), h = h.toString(), !M(l, b.toString()) && M(l, h) || 3 == V(a, b.toString(), c, -1)))) return d.g(h), e && t(f, 6, 10), t(f, 1, g), g;
|
|
8669
8659
|
t(f, 1, 0);
|
|
8670
8660
|
return 0;
|
|
8671
8661
|
}
|
|
8672
|
-
function
|
|
8662
|
+
function fb(a, b, c) {
|
|
8673
8663
|
var d = a.toString(), e = d.length, f = r(b, 15);
|
|
8674
8664
|
if (0 != e && null != f && 0 != f.length) {
|
|
8675
8665
|
var g = new RegExp("^(?:" + f + ")");
|
|
8676
8666
|
if (e = g.exec(d)) {
|
|
8677
8667
|
f = new RegExp(w(r(b, 1), 2));
|
|
8678
|
-
var h =
|
|
8668
|
+
var h = M(f, d), l = e.length - 1;
|
|
8679
8669
|
b = r(b, 16);
|
|
8680
8670
|
if (null == b || 0 == b.length || null == e[l] || 0 == e[l].length) {
|
|
8681
|
-
if (!h ||
|
|
8682
|
-
} else if (d = d.replace(g, b), !h ||
|
|
8671
|
+
if (!h || M(f, d.substring(e[0].length))) null != c && 0 < l && null != e[l] && c.g(e[1]), a.set(d.substring(e[0].length));
|
|
8672
|
+
} else if (d = d.replace(g, b), !h || M(f, d)) null != c && 0 < l && c.g(e[1]), a.set(d);
|
|
8683
8673
|
}
|
|
8684
8674
|
}
|
|
8685
8675
|
}
|
|
8686
|
-
function
|
|
8687
|
-
if (!
|
|
8688
|
-
return
|
|
8676
|
+
function X(a, b, c) {
|
|
8677
|
+
if (!O(c) && 0 < b.length && "+" != b.charAt(0)) throw Error("Invalid country calling code");
|
|
8678
|
+
return gb(a, b, c, true);
|
|
8689
8679
|
}
|
|
8690
|
-
function
|
|
8680
|
+
function gb(a, b, c, d) {
|
|
8691
8681
|
if (null == b) throw Error("The string supplied did not seem to be a phone number");
|
|
8692
8682
|
if (250 < b.length) throw Error("The string supplied is too long to be a phone number");
|
|
8693
|
-
var e = new
|
|
8683
|
+
var e = new C();
|
|
8694
8684
|
var f = b.indexOf(";phone-context=");
|
|
8695
8685
|
if (-1 === f) f = null;
|
|
8696
8686
|
else if (f += 15, f >= b.length) f = "";
|
|
@@ -8699,24 +8689,24 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8699
8689
|
f = -1 !== g ? b.substring(f, g) : b.substring(f);
|
|
8700
8690
|
}
|
|
8701
8691
|
var h = f;
|
|
8702
|
-
null == h ? g = true : 0 === h.length ? g = false : (g =
|
|
8692
|
+
null == h ? g = true : 0 === h.length ? g = false : (g = Oa.exec(h), h = Pa.exec(h), g = null !== g || null !== h);
|
|
8703
8693
|
if (!g) throw Error("The string supplied did not seem to be a phone number");
|
|
8704
|
-
null != f ? ("+" === f.charAt(0) && e.g(f), f = b.indexOf("tel:"), e.g(b.substring(0 <= f ? f + 4 : 0, b.indexOf(";phone-context=")))) : (f = e.g, g = b ?? "", h = g.search(
|
|
8694
|
+
null != f ? ("+" === f.charAt(0) && e.g(f), f = b.indexOf("tel:"), e.g(b.substring(0 <= f ? f + 4 : 0, b.indexOf(";phone-context=")))) : (f = e.g, g = b ?? "", h = g.search(Ka), 0 <= h ? (g = g.substring(h), g = g.replace(Ma, ""), h = g.search(La), 0 <= h && (g = g.substring(0, h))) : g = "", f.call(e, g));
|
|
8705
8695
|
f = e.toString();
|
|
8706
8696
|
g = f.indexOf(";isub=");
|
|
8707
|
-
0 < g && (
|
|
8708
|
-
if (!
|
|
8697
|
+
0 < g && (D(e), e.g(f.substring(0, g)));
|
|
8698
|
+
if (!Va(e.toString())) throw Error("The string supplied did not seem to be a phone number");
|
|
8709
8699
|
f = e.toString();
|
|
8710
|
-
if (!(
|
|
8711
|
-
f = new
|
|
8700
|
+
if (!(O(c) || null != f && 0 < f.length && K.test(f))) throw Error("Invalid country calling code");
|
|
8701
|
+
f = new H();
|
|
8712
8702
|
d && t(f, 5, b);
|
|
8713
8703
|
a: {
|
|
8714
8704
|
b = e.toString();
|
|
8715
|
-
g = b.search(
|
|
8716
|
-
if (0 <= g &&
|
|
8717
|
-
h = b.match(
|
|
8705
|
+
g = b.search(Ra);
|
|
8706
|
+
if (0 <= g && Va(b.substring(0, g))) {
|
|
8707
|
+
h = b.match(Ra);
|
|
8718
8708
|
for (var l = h.length, A = 1; A < l; ++A) if (null != h[A] && 0 < h[A].length) {
|
|
8719
|
-
|
|
8709
|
+
D(e);
|
|
8720
8710
|
e.g(b.substring(0, g));
|
|
8721
8711
|
b = h[A];
|
|
8722
8712
|
break a;
|
|
@@ -8725,24 +8715,24 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8725
8715
|
b = "";
|
|
8726
8716
|
}
|
|
8727
8717
|
0 < b.length && t(f, 3, b);
|
|
8728
|
-
g =
|
|
8729
|
-
b = new
|
|
8718
|
+
g = S(a, c);
|
|
8719
|
+
b = new C();
|
|
8730
8720
|
h = 0;
|
|
8731
8721
|
l = e.toString();
|
|
8732
8722
|
try {
|
|
8733
|
-
h =
|
|
8734
|
-
} catch (
|
|
8735
|
-
if ("Invalid country calling code" ==
|
|
8736
|
-
if (l = l.replace(
|
|
8737
|
-
} else throw
|
|
8723
|
+
h = eb(a, l, g, b, d, f);
|
|
8724
|
+
} catch (da) {
|
|
8725
|
+
if ("Invalid country calling code" == da.message && K.test(l)) {
|
|
8726
|
+
if (l = l.replace(K, ""), h = eb(a, l, g, b, d, f), 0 == h) throw da;
|
|
8727
|
+
} else throw da;
|
|
8738
8728
|
}
|
|
8739
|
-
0 != h ? (e =
|
|
8729
|
+
0 != h ? (e = R(h), e != c && (g = Q(a, h, e))) : (Xa(e), b.g(e.toString()), null != c ? (h = w(g, 10), t(
|
|
8740
8730
|
f,
|
|
8741
8731
|
1,
|
|
8742
8732
|
h
|
|
8743
8733
|
)) : d && (delete f.h[6], f.g && delete f.g[6]));
|
|
8744
8734
|
if (2 > b.h.length) throw Error("The string supplied is too short to be a phone number");
|
|
8745
|
-
null != g && (c = new
|
|
8735
|
+
null != g && (c = new C(), e = new C(b.toString()), fb(e, g, c), a = V(a, e.toString(), g, -1), 2 != a && 4 != a && 5 != a && (b = e, d && 0 < c.toString().length && t(f, 7, c.toString())));
|
|
8746
8736
|
d = b.toString();
|
|
8747
8737
|
a = d.length;
|
|
8748
8738
|
if (2 > a) throw Error("The string supplied is too short to be a phone number");
|
|
@@ -8755,70 +8745,70 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8755
8745
|
t(f, 2, parseInt(d, 10));
|
|
8756
8746
|
return f;
|
|
8757
8747
|
}
|
|
8758
|
-
function
|
|
8748
|
+
function M(a, b) {
|
|
8759
8749
|
return (a = "string" == typeof a ? b.match("^(?:" + a + ")$") : b.match(a)) && a[0].length == b.length ? true : false;
|
|
8760
8750
|
}
|
|
8761
8751
|
;
|
|
8762
|
-
function
|
|
8752
|
+
function hb(a) {
|
|
8763
8753
|
this.fa = RegExp("\u2008");
|
|
8764
8754
|
this.ja = "";
|
|
8765
|
-
this.v = new
|
|
8755
|
+
this.v = new C();
|
|
8766
8756
|
this.da = "";
|
|
8767
|
-
this.s = new
|
|
8768
|
-
this.ba = new
|
|
8757
|
+
this.s = new C();
|
|
8758
|
+
this.ba = new C();
|
|
8769
8759
|
this.u = true;
|
|
8770
8760
|
this.ea = this.ca = this.la = false;
|
|
8771
|
-
this.ga =
|
|
8761
|
+
this.ga = J.g();
|
|
8772
8762
|
this.$ = 0;
|
|
8773
|
-
this.h = new
|
|
8763
|
+
this.h = new C();
|
|
8774
8764
|
this.ha = false;
|
|
8775
8765
|
this.o = "";
|
|
8776
|
-
this.g = new
|
|
8766
|
+
this.g = new C();
|
|
8777
8767
|
this.j = [];
|
|
8778
8768
|
this.ka = a;
|
|
8779
|
-
this.l =
|
|
8769
|
+
this.l = ib(this, this.ka);
|
|
8780
8770
|
}
|
|
8781
|
-
var
|
|
8782
|
-
t(
|
|
8783
|
-
var
|
|
8784
|
-
function
|
|
8771
|
+
var jb = new G();
|
|
8772
|
+
t(jb, 11, "NA");
|
|
8773
|
+
var kb = RegExp("^[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*\\$1[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*(\\$\\d[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*)*$"), lb = /[- ]/;
|
|
8774
|
+
function ib(a, b) {
|
|
8785
8775
|
var c = a.ga;
|
|
8786
|
-
b =
|
|
8787
|
-
a =
|
|
8788
|
-
return null != a ? a :
|
|
8776
|
+
b = O(b) ? cb(c, b) : 0;
|
|
8777
|
+
a = S(a.ga, R(b));
|
|
8778
|
+
return null != a ? a : jb;
|
|
8789
8779
|
}
|
|
8790
|
-
function
|
|
8780
|
+
function mb(a) {
|
|
8791
8781
|
for (var b = a.j.length, c = 0; c < b; ++c) {
|
|
8792
8782
|
var d = a.j[c], e = w(d, 1);
|
|
8793
8783
|
if (a.da == e) return false;
|
|
8794
8784
|
var f = a;
|
|
8795
8785
|
var g = d, h = w(g, 1);
|
|
8796
|
-
|
|
8786
|
+
D(f.v);
|
|
8797
8787
|
var l = f;
|
|
8798
8788
|
g = w(g, 2);
|
|
8799
8789
|
var A = "999999999999999".match(h)[0];
|
|
8800
8790
|
A.length < l.g.h.length ? l = "" : (l = A.replace(new RegExp(h, "g"), g), l = l.replace(RegExp("9", "g"), "\u2008"));
|
|
8801
8791
|
0 < l.length ? (f.v.g(l), f = true) : f = false;
|
|
8802
|
-
if (f) return a.da = e, a.ha =
|
|
8792
|
+
if (f) return a.da = e, a.ha = lb.test(r(d, 4)), a.$ = 0, true;
|
|
8803
8793
|
}
|
|
8804
8794
|
return a.u = false;
|
|
8805
8795
|
}
|
|
8806
|
-
function
|
|
8796
|
+
function nb(a, b) {
|
|
8807
8797
|
for (var c = [], d = b.length - 3, e = a.j.length, f = 0; f < e; ++f) {
|
|
8808
8798
|
var g = a.j[f];
|
|
8809
8799
|
0 == x(g, 3) ? c.push(a.j[f]) : (g = r(g, 3, Math.min(d, x(g, 3) - 1)), 0 == b.search(g) && c.push(a.j[f]));
|
|
8810
8800
|
}
|
|
8811
8801
|
a.j = c;
|
|
8812
8802
|
}
|
|
8813
|
-
function
|
|
8803
|
+
function ob(a, b) {
|
|
8814
8804
|
a.s.g(b);
|
|
8815
8805
|
var c = b;
|
|
8816
|
-
|
|
8806
|
+
Ja.test(c) || 1 == a.s.h.length && Ia.test(c) ? ("+" == b ? (c = b, a.ba.g(b)) : (c = Fa[b], a.ba.g(c), a.g.g(c)), b = c) : (a.u = false, a.la = true);
|
|
8817
8807
|
if (!a.u) {
|
|
8818
8808
|
if (!a.la) {
|
|
8819
|
-
if (
|
|
8820
|
-
if (
|
|
8821
|
-
} else if (0 < a.o.length && (b = a.g.toString(),
|
|
8809
|
+
if (pb(a)) {
|
|
8810
|
+
if (qb(a)) return rb(a);
|
|
8811
|
+
} else if (0 < a.o.length && (b = a.g.toString(), D(a.g), a.g.g(a.o), a.g.g(b), b = a.h.toString(), c = b.lastIndexOf(a.o), D(a.h), a.h.g(b.substring(0, c))), a.o != sb(a)) return a.h.g(" "), rb(a);
|
|
8822
8812
|
}
|
|
8823
8813
|
return a.s.toString();
|
|
8824
8814
|
}
|
|
@@ -8828,93 +8818,93 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8828
8818
|
case 2:
|
|
8829
8819
|
return a.s.toString();
|
|
8830
8820
|
case 3:
|
|
8831
|
-
if (
|
|
8832
|
-
else return a.o =
|
|
8821
|
+
if (pb(a)) a.ea = true;
|
|
8822
|
+
else return a.o = sb(a), tb(a);
|
|
8833
8823
|
default:
|
|
8834
|
-
if (a.ea) return
|
|
8824
|
+
if (a.ea) return qb(a) && (a.ea = false), a.h.toString() + a.g.toString();
|
|
8835
8825
|
if (0 < a.j.length) {
|
|
8836
|
-
b =
|
|
8837
|
-
c =
|
|
8826
|
+
b = ub(a, b);
|
|
8827
|
+
c = vb(a);
|
|
8838
8828
|
if (0 < c.length) return c;
|
|
8839
|
-
|
|
8840
|
-
return
|
|
8829
|
+
nb(a, a.g.toString());
|
|
8830
|
+
return mb(a) ? wb(a) : a.u ? Y(a, b) : a.s.toString();
|
|
8841
8831
|
}
|
|
8842
|
-
return
|
|
8832
|
+
return tb(a);
|
|
8843
8833
|
}
|
|
8844
8834
|
}
|
|
8845
|
-
function
|
|
8835
|
+
function rb(a) {
|
|
8846
8836
|
a.u = true;
|
|
8847
8837
|
a.ea = false;
|
|
8848
8838
|
a.j = [];
|
|
8849
8839
|
a.$ = 0;
|
|
8850
|
-
|
|
8840
|
+
D(a.v);
|
|
8851
8841
|
a.da = "";
|
|
8852
|
-
return
|
|
8842
|
+
return tb(a);
|
|
8853
8843
|
}
|
|
8854
|
-
function
|
|
8844
|
+
function vb(a) {
|
|
8855
8845
|
for (var b = a.g.toString(), c = a.j.length, d = 0; d < c; ++d) {
|
|
8856
8846
|
var e = a.j[d], f = w(e, 1);
|
|
8857
|
-
if (new RegExp("^(?:" + f + ")$").test(b) && (a.ha =
|
|
8847
|
+
if (new RegExp("^(?:" + f + ")$").test(b) && (a.ha = lb.test(r(e, 4)), e = b.replace(new RegExp(f, "g"), r(e, 2)), e = Y(a, e), N(e, Ga) == a.ba)) return e;
|
|
8858
8848
|
}
|
|
8859
8849
|
return "";
|
|
8860
8850
|
}
|
|
8861
|
-
function
|
|
8851
|
+
function Y(a, b) {
|
|
8862
8852
|
var c = a.h.h.length;
|
|
8863
8853
|
return a.ha && 0 < c && " " != a.h.toString().charAt(c - 1) ? a.h + " " + b : a.h + b;
|
|
8864
8854
|
}
|
|
8865
|
-
function
|
|
8855
|
+
function tb(a) {
|
|
8866
8856
|
var b = a.g.toString();
|
|
8867
8857
|
if (3 <= b.length) {
|
|
8868
8858
|
for (var c = a.ca && 0 == a.o.length && 0 < x(a.l, 20) ? u(a.l, 20) : u(a.l, 19), d = c.length, e = 0; e < d; ++e) {
|
|
8869
8859
|
var f = c[e];
|
|
8870
|
-
0 < a.o.length &&
|
|
8860
|
+
0 < a.o.length && Za(w(f, 4)) && !r(f, 6) && !q(f, 5) || (0 != a.o.length || a.ca || Za(w(f, 4)) || r(f, 6)) && kb.test(w(f, 2)) && a.j.push(f);
|
|
8871
8861
|
}
|
|
8872
|
-
|
|
8873
|
-
b =
|
|
8874
|
-
return 0 < b.length ? b :
|
|
8862
|
+
nb(a, b);
|
|
8863
|
+
b = vb(a);
|
|
8864
|
+
return 0 < b.length ? b : mb(a) ? wb(a) : a.s.toString();
|
|
8875
8865
|
}
|
|
8876
|
-
return
|
|
8866
|
+
return Y(a, b);
|
|
8877
8867
|
}
|
|
8878
|
-
function
|
|
8868
|
+
function wb(a) {
|
|
8879
8869
|
var b = a.g.toString(), c = b.length;
|
|
8880
8870
|
if (0 < c) {
|
|
8881
|
-
for (var d = "", e = 0; e < c; e++) d =
|
|
8882
|
-
return a.u ?
|
|
8871
|
+
for (var d = "", e = 0; e < c; e++) d = ub(a, b.charAt(e));
|
|
8872
|
+
return a.u ? Y(a, d) : a.s.toString();
|
|
8883
8873
|
}
|
|
8884
8874
|
return a.h.toString();
|
|
8885
8875
|
}
|
|
8886
|
-
function
|
|
8876
|
+
function sb(a) {
|
|
8887
8877
|
var b = a.g.toString(), c = 0;
|
|
8888
8878
|
if (1 != r(a.l, 10)) var d = false;
|
|
8889
8879
|
else d = a.g.toString(), d = "1" == d.charAt(0) && "0" != d.charAt(1) && "1" != d.charAt(1);
|
|
8890
8880
|
d ? (c = 1, a.h.g("1").g(" "), a.ca = true) : q(a.l, 15) && (d = new RegExp("^(?:" + r(a.l, 15) + ")"), d = b.match(d), null != d && null != d[0] && 0 < d[0].length && (a.ca = true, c = d[0].length, a.h.g(b.substring(0, c))));
|
|
8891
|
-
|
|
8881
|
+
D(a.g);
|
|
8892
8882
|
a.g.g(b.substring(c));
|
|
8893
8883
|
return b.substring(0, c);
|
|
8894
8884
|
}
|
|
8895
|
-
function
|
|
8885
|
+
function pb(a) {
|
|
8896
8886
|
var b = a.ba.toString(), c = new RegExp("^(?:\\+|" + r(a.l, 11) + ")");
|
|
8897
8887
|
c = b.match(c);
|
|
8898
|
-
return null != c && null != c[0] && 0 < c[0].length ? (a.ca = true, c = c[0].length,
|
|
8888
|
+
return null != c && null != c[0] && 0 < c[0].length ? (a.ca = true, c = c[0].length, D(a.g), a.g.g(b.substring(c)), D(a.h), a.h.g(b.substring(0, c)), "+" != b.charAt(0) && a.h.g(" "), true) : false;
|
|
8899
8889
|
}
|
|
8900
|
-
function
|
|
8890
|
+
function qb(a) {
|
|
8901
8891
|
if (0 == a.g.h.length) return false;
|
|
8902
|
-
var b = new
|
|
8892
|
+
var b = new C(), c = db(a.g, b);
|
|
8903
8893
|
if (0 == c) return false;
|
|
8904
|
-
|
|
8894
|
+
D(a.g);
|
|
8905
8895
|
a.g.g(b.toString());
|
|
8906
|
-
b =
|
|
8907
|
-
"001" == b ? a.l =
|
|
8896
|
+
b = R(c);
|
|
8897
|
+
"001" == b ? a.l = S(a.ga, "" + c) : b != a.ka && (a.l = ib(a, b));
|
|
8908
8898
|
a.h.g("" + c).g(" ");
|
|
8909
8899
|
a.o = "";
|
|
8910
8900
|
return true;
|
|
8911
8901
|
}
|
|
8912
|
-
function
|
|
8902
|
+
function ub(a, b) {
|
|
8913
8903
|
var c = a.v.toString();
|
|
8914
8904
|
if (0 <= c.substring(a.$).search(a.fa)) {
|
|
8915
8905
|
var d = c.search(a.fa);
|
|
8916
8906
|
b = c.replace(a.fa, b);
|
|
8917
|
-
|
|
8907
|
+
D(a.v);
|
|
8918
8908
|
a.v.g(b);
|
|
8919
8909
|
a.$ = d;
|
|
8920
8910
|
return b.substring(0, a.$ + 1);
|
|
@@ -8924,13 +8914,13 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8924
8914
|
return a.s.toString();
|
|
8925
8915
|
}
|
|
8926
8916
|
;
|
|
8927
|
-
const
|
|
8917
|
+
const Z = { 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 };
|
|
8928
8918
|
m("intlTelInputUtilsTemp", {});
|
|
8929
8919
|
m("intlTelInputUtilsTemp.formatNumberAsYouType", (a, b) => {
|
|
8930
8920
|
try {
|
|
8931
|
-
const c = a.replace(/[^+0-9]/g, ""), d = new
|
|
8921
|
+
const c = a.replace(/[^+0-9]/g, ""), d = new hb(b);
|
|
8932
8922
|
b = "";
|
|
8933
|
-
for (let e = 0; e < c.length; e++) d.ja =
|
|
8923
|
+
for (let e = 0; e < c.length; e++) d.ja = ob(d, c.charAt(e)), b = d.ja;
|
|
8934
8924
|
return b;
|
|
8935
8925
|
} catch (c) {
|
|
8936
8926
|
return a;
|
|
@@ -8938,8 +8928,8 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8938
8928
|
});
|
|
8939
8929
|
m("intlTelInputUtilsTemp.formatNumber", (a, b, c) => {
|
|
8940
8930
|
try {
|
|
8941
|
-
const e =
|
|
8942
|
-
var d =
|
|
8931
|
+
const e = J.g(), f = X(e, a, b);
|
|
8932
|
+
var d = W(e, f, -1);
|
|
8943
8933
|
return 0 == d || 4 == d ? e.format(f, "undefined" === typeof c ? 0 : c) : a;
|
|
8944
8934
|
} catch (e) {
|
|
8945
8935
|
return a;
|
|
@@ -8947,15 +8937,15 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8947
8937
|
});
|
|
8948
8938
|
m("intlTelInputUtilsTemp.getExampleNumber", (a, b, c, d) => {
|
|
8949
8939
|
try {
|
|
8950
|
-
const l =
|
|
8940
|
+
const l = J.g();
|
|
8951
8941
|
a: {
|
|
8952
8942
|
var e = l;
|
|
8953
|
-
if (
|
|
8954
|
-
var f =
|
|
8943
|
+
if (O(a)) {
|
|
8944
|
+
var f = T(S(e, a), c);
|
|
8955
8945
|
try {
|
|
8956
8946
|
if (q(f, 6)) {
|
|
8957
8947
|
var g = r(f, 6);
|
|
8958
|
-
var h =
|
|
8948
|
+
var h = gb(e, g, a, false);
|
|
8959
8949
|
break a;
|
|
8960
8950
|
}
|
|
8961
8951
|
} catch (A) {
|
|
@@ -8970,19 +8960,19 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8970
8960
|
});
|
|
8971
8961
|
m("intlTelInputUtilsTemp.getExtension", (a, b) => {
|
|
8972
8962
|
try {
|
|
8973
|
-
return r(
|
|
8963
|
+
return r(X(J.g(), a, b), 3);
|
|
8974
8964
|
} catch (c) {
|
|
8975
8965
|
return "";
|
|
8976
8966
|
}
|
|
8977
8967
|
});
|
|
8978
8968
|
m("intlTelInputUtilsTemp.getNumberType", (a, b) => {
|
|
8979
8969
|
try {
|
|
8980
|
-
const g =
|
|
8981
|
-
var c =
|
|
8970
|
+
const g = J.g(), h = X(g, a, b);
|
|
8971
|
+
var c = bb(g, h), d = Q(g, w(h, 1), c);
|
|
8982
8972
|
if (null == d) var e = -1;
|
|
8983
8973
|
else {
|
|
8984
|
-
var f =
|
|
8985
|
-
e =
|
|
8974
|
+
var f = P(h);
|
|
8975
|
+
e = ab(f, d);
|
|
8986
8976
|
}
|
|
8987
8977
|
return e;
|
|
8988
8978
|
} catch (g) {
|
|
@@ -8991,22 +8981,22 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8991
8981
|
});
|
|
8992
8982
|
m("intlTelInputUtilsTemp.getValidationError", (a, b) => {
|
|
8993
8983
|
try {
|
|
8994
|
-
const c =
|
|
8995
|
-
return
|
|
8984
|
+
const c = J.g(), d = X(c, a, b);
|
|
8985
|
+
return W(c, d, -1);
|
|
8996
8986
|
} catch (c) {
|
|
8997
8987
|
return "Invalid country calling code" === c.message ? 1 : 3 >= a.length || "Phone number too short after IDD" === c.message || "The string supplied is too short to be a phone number" === c.message ? 2 : "The string supplied is too long to be a phone number" === c.message ? 3 : -99;
|
|
8998
8988
|
}
|
|
8999
8989
|
});
|
|
9000
8990
|
m("intlTelInputUtilsTemp.isValidNumber", (a, b) => {
|
|
9001
8991
|
try {
|
|
9002
|
-
const l =
|
|
9003
|
-
var c =
|
|
8992
|
+
const l = J.g();
|
|
8993
|
+
var c = X(l, a, b), d = bb(l, c);
|
|
9004
8994
|
a = l;
|
|
9005
|
-
var e = w(c, 1), f =
|
|
9006
|
-
if (null == f || "001" != d && e !=
|
|
8995
|
+
var e = w(c, 1), f = Q(a, e, d);
|
|
8996
|
+
if (null == f || "001" != d && e != cb(a, d)) var g = false;
|
|
9007
8997
|
else {
|
|
9008
|
-
var h =
|
|
9009
|
-
g = -1 !=
|
|
8998
|
+
var h = P(c);
|
|
8999
|
+
g = -1 != ab(h, f);
|
|
9010
9000
|
}
|
|
9011
9001
|
return g;
|
|
9012
9002
|
} catch (l) {
|
|
@@ -9015,21 +9005,29 @@ var intl_tel_input_default = intlTelInput;
|
|
|
9015
9005
|
});
|
|
9016
9006
|
m("intlTelInputUtilsTemp.isPossibleNumber", (a, b, c) => {
|
|
9017
9007
|
try {
|
|
9018
|
-
const d =
|
|
9019
|
-
|
|
9008
|
+
const d = J.g(), e = X(d, a, b);
|
|
9009
|
+
if (c) {
|
|
9010
|
+
const f = 0 === W(d, e, Z[c]);
|
|
9011
|
+
if ("FIXED_LINE_OR_MOBILE" === c) {
|
|
9012
|
+
const g = 0 === W(d, e, Z.MOBILE), h = 0 === W(d, e, Z.FIXED_LINE);
|
|
9013
|
+
return g || h || f;
|
|
9014
|
+
}
|
|
9015
|
+
return f;
|
|
9016
|
+
}
|
|
9017
|
+
return 0 === W(d, e, -1);
|
|
9020
9018
|
} catch (d) {
|
|
9021
9019
|
return false;
|
|
9022
9020
|
}
|
|
9023
9021
|
});
|
|
9024
9022
|
m("intlTelInputUtilsTemp.getCoreNumber", (a, b) => {
|
|
9025
9023
|
try {
|
|
9026
|
-
return r(
|
|
9024
|
+
return r(X(J.g(), a, b), 2).toString();
|
|
9027
9025
|
} catch (c) {
|
|
9028
9026
|
return "";
|
|
9029
9027
|
}
|
|
9030
9028
|
});
|
|
9031
9029
|
m("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 });
|
|
9032
|
-
m("intlTelInputUtilsTemp.numberType",
|
|
9030
|
+
m("intlTelInputUtilsTemp.numberType", Z);
|
|
9033
9031
|
m("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 });
|
|
9034
9032
|
})();
|
|
9035
9033
|
var utils = window.intlTelInputUtilsTemp;
|