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
|
@@ -1720,9 +1720,7 @@ var Iti = class {
|
|
|
1720
1720
|
this.countryContainer
|
|
1721
1721
|
);
|
|
1722
1722
|
if (this.telInput.disabled) {
|
|
1723
|
-
this.selectedCountry.setAttribute("
|
|
1724
|
-
} else {
|
|
1725
|
-
this.selectedCountry.setAttribute("tabindex", "0");
|
|
1723
|
+
this.selectedCountry.setAttribute("disabled", "true");
|
|
1726
1724
|
}
|
|
1727
1725
|
} else {
|
|
1728
1726
|
this.selectedCountry = createEl(
|
|
@@ -2819,7 +2817,7 @@ var intlTelInput = Object.assign(
|
|
|
2819
2817
|
//* A map from instance ID to instance object.
|
|
2820
2818
|
instances: {},
|
|
2821
2819
|
loadUtils,
|
|
2822
|
-
version: "23.
|
|
2820
|
+
version: "23.6.1"
|
|
2823
2821
|
}
|
|
2824
2822
|
);
|
|
2825
2823
|
var intl_tel_input_default = intlTelInput;
|
|
@@ -2853,7 +2851,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
2853
2851
|
return b;
|
|
2854
2852
|
}
|
|
2855
2853
|
;
|
|
2856
|
-
var
|
|
2854
|
+
var ca = class {
|
|
2857
2855
|
constructor(a) {
|
|
2858
2856
|
if (ba !== ba) throw Error("SafeUrl is not meant to be built directly");
|
|
2859
2857
|
this.g = a;
|
|
@@ -2862,8 +2860,8 @@ var intl_tel_input_default = intlTelInput;
|
|
|
2862
2860
|
return this.g.toString();
|
|
2863
2861
|
}
|
|
2864
2862
|
}, ba = {};
|
|
2865
|
-
new
|
|
2866
|
-
new
|
|
2863
|
+
new ca("about:invalid#zClosurez");
|
|
2864
|
+
new ca("about:blank");
|
|
2867
2865
|
const ea = {};
|
|
2868
2866
|
class fa {
|
|
2869
2867
|
constructor() {
|
|
@@ -3042,91 +3040,91 @@ var intl_tel_input_default = intlTelInput;
|
|
|
3042
3040
|
return b;
|
|
3043
3041
|
};
|
|
3044
3042
|
var xa = /^-?[0-9]+$/;
|
|
3045
|
-
function
|
|
3043
|
+
function ya() {
|
|
3046
3044
|
}
|
|
3047
|
-
n(
|
|
3048
|
-
|
|
3045
|
+
n(ya, z);
|
|
3046
|
+
ya.prototype.g = function(a, b) {
|
|
3049
3047
|
a = new a.h();
|
|
3050
3048
|
a.l = this;
|
|
3051
3049
|
a.h = b;
|
|
3052
3050
|
a.g = {};
|
|
3053
3051
|
return a;
|
|
3054
3052
|
};
|
|
3055
|
-
function
|
|
3053
|
+
function B() {
|
|
3056
3054
|
}
|
|
3057
|
-
n(
|
|
3058
|
-
|
|
3055
|
+
n(B, ya);
|
|
3056
|
+
B.prototype.h = function(a, b) {
|
|
3059
3057
|
return 8 == a.h ? !!b : z.prototype.h.apply(this, arguments);
|
|
3060
3058
|
};
|
|
3061
|
-
|
|
3062
|
-
return
|
|
3059
|
+
B.prototype.g = function(a, b) {
|
|
3060
|
+
return B.ma.g.call(this, a, b);
|
|
3063
3061
|
};
|
|
3064
|
-
function
|
|
3062
|
+
function C(a, b) {
|
|
3065
3063
|
null != a && this.g.apply(this, arguments);
|
|
3066
3064
|
}
|
|
3067
|
-
|
|
3068
|
-
|
|
3065
|
+
C.prototype.h = "";
|
|
3066
|
+
C.prototype.set = function(a) {
|
|
3069
3067
|
this.h = "" + a;
|
|
3070
3068
|
};
|
|
3071
|
-
|
|
3069
|
+
C.prototype.g = function(a, b, c) {
|
|
3072
3070
|
this.h += String(a);
|
|
3073
3071
|
if (null != b) for (let d = 1; d < arguments.length; d++) this.h += arguments[d];
|
|
3074
3072
|
return this;
|
|
3075
3073
|
};
|
|
3076
|
-
function
|
|
3074
|
+
function D(a) {
|
|
3077
3075
|
a.h = "";
|
|
3078
3076
|
}
|
|
3079
|
-
|
|
3077
|
+
C.prototype.toString = function() {
|
|
3080
3078
|
return this.h;
|
|
3081
3079
|
};
|
|
3080
|
+
function E() {
|
|
3081
|
+
p.call(this);
|
|
3082
|
+
}
|
|
3083
|
+
n(E, p);
|
|
3084
|
+
var za = null;
|
|
3082
3085
|
function F() {
|
|
3083
3086
|
p.call(this);
|
|
3084
3087
|
}
|
|
3085
3088
|
n(F, p);
|
|
3086
|
-
var
|
|
3089
|
+
var Aa = null;
|
|
3087
3090
|
function G() {
|
|
3088
3091
|
p.call(this);
|
|
3089
3092
|
}
|
|
3090
3093
|
n(G, p);
|
|
3091
|
-
var
|
|
3092
|
-
function
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3094
|
+
var Ba = null;
|
|
3095
|
+
E.prototype.m = function() {
|
|
3096
|
+
var a = za;
|
|
3097
|
+
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 } }));
|
|
3098
|
+
return a;
|
|
3099
|
+
};
|
|
3100
|
+
E.m = E.prototype.m;
|
|
3097
3101
|
F.prototype.m = function() {
|
|
3098
|
-
var a =
|
|
3099
|
-
a || (
|
|
3102
|
+
var a = Aa;
|
|
3103
|
+
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 } }));
|
|
3100
3104
|
return a;
|
|
3101
3105
|
};
|
|
3102
3106
|
F.m = F.prototype.m;
|
|
3103
3107
|
G.prototype.m = function() {
|
|
3104
|
-
var a =
|
|
3105
|
-
a || (
|
|
3106
|
-
return a;
|
|
3107
|
-
};
|
|
3108
|
-
G.m = G.prototype.m;
|
|
3109
|
-
H.prototype.m = function() {
|
|
3110
|
-
var a = Aa;
|
|
3111
|
-
a || (Aa = a = y(H, {
|
|
3108
|
+
var a = Ba;
|
|
3109
|
+
a || (Ba = a = y(G, {
|
|
3112
3110
|
0: { name: "PhoneMetadata", ia: "i18n.phonenumbers.PhoneMetadata" },
|
|
3113
|
-
1: { name: "general_desc", i: 11, type:
|
|
3114
|
-
2: { name: "fixed_line", i: 11, type:
|
|
3115
|
-
3: { name: "mobile", i: 11, type:
|
|
3116
|
-
4: { name: "toll_free", i: 11, type:
|
|
3117
|
-
5: { name: "premium_rate", i: 11, type:
|
|
3118
|
-
6: { name: "shared_cost", i: 11, type:
|
|
3119
|
-
7: { name: "personal_number", i: 11, type:
|
|
3120
|
-
8: { name: "voip", i: 11, type:
|
|
3121
|
-
21: { name: "pager", i: 11, type:
|
|
3122
|
-
25: { name: "uan", i: 11, type:
|
|
3123
|
-
27: { name: "emergency", i: 11, type:
|
|
3124
|
-
28: { name: "voicemail", i: 11, type:
|
|
3125
|
-
29: { name: "short_code", i: 11, type:
|
|
3126
|
-
30: { name: "standard_rate", i: 11, type:
|
|
3127
|
-
31: { name: "carrier_specific", i: 11, type:
|
|
3128
|
-
33: { name: "sms_services", i: 11, type:
|
|
3129
|
-
24: { name: "no_international_dialling", i: 11, type:
|
|
3111
|
+
1: { name: "general_desc", i: 11, type: F },
|
|
3112
|
+
2: { name: "fixed_line", i: 11, type: F },
|
|
3113
|
+
3: { name: "mobile", i: 11, type: F },
|
|
3114
|
+
4: { name: "toll_free", i: 11, type: F },
|
|
3115
|
+
5: { name: "premium_rate", i: 11, type: F },
|
|
3116
|
+
6: { name: "shared_cost", i: 11, type: F },
|
|
3117
|
+
7: { name: "personal_number", i: 11, type: F },
|
|
3118
|
+
8: { name: "voip", i: 11, type: F },
|
|
3119
|
+
21: { name: "pager", i: 11, type: F },
|
|
3120
|
+
25: { name: "uan", i: 11, type: F },
|
|
3121
|
+
27: { name: "emergency", i: 11, type: F },
|
|
3122
|
+
28: { name: "voicemail", i: 11, type: F },
|
|
3123
|
+
29: { name: "short_code", i: 11, type: F },
|
|
3124
|
+
30: { name: "standard_rate", i: 11, type: F },
|
|
3125
|
+
31: { name: "carrier_specific", i: 11, type: F },
|
|
3126
|
+
33: { name: "sms_services", i: 11, type: F },
|
|
3127
|
+
24: { name: "no_international_dialling", i: 11, type: F },
|
|
3130
3128
|
9: { name: "id", required: true, i: 9, type: String },
|
|
3131
3129
|
10: { name: "country_code", i: 5, type: Number },
|
|
3132
3130
|
11: { name: "international_prefix", i: 9, type: String },
|
|
@@ -3140,31 +3138,31 @@ var intl_tel_input_default = intlTelInput;
|
|
|
3140
3138
|
},
|
|
3141
3139
|
16: { name: "national_prefix_transform_rule", i: 9, type: String },
|
|
3142
3140
|
18: { name: "same_mobile_and_fixed_line_pattern", i: 8, defaultValue: false, type: Boolean },
|
|
3143
|
-
19: { name: "number_format", aa: true, i: 11, type:
|
|
3144
|
-
20: { name: "intl_number_format", aa: true, i: 11, type:
|
|
3141
|
+
19: { name: "number_format", aa: true, i: 11, type: E },
|
|
3142
|
+
20: { name: "intl_number_format", aa: true, i: 11, type: E },
|
|
3145
3143
|
22: { name: "main_country_for_code", i: 8, defaultValue: false, type: Boolean },
|
|
3146
3144
|
23: { name: "leading_digits", i: 9, type: String }
|
|
3147
3145
|
}));
|
|
3148
3146
|
return a;
|
|
3149
3147
|
};
|
|
3150
|
-
|
|
3151
|
-
function
|
|
3148
|
+
G.m = G.prototype.m;
|
|
3149
|
+
function H() {
|
|
3152
3150
|
p.call(this);
|
|
3153
3151
|
}
|
|
3154
|
-
n(
|
|
3155
|
-
var
|
|
3156
|
-
|
|
3157
|
-
var a =
|
|
3158
|
-
a || (
|
|
3152
|
+
n(H, p);
|
|
3153
|
+
var Ca = null, Da = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
|
|
3154
|
+
H.prototype.m = function() {
|
|
3155
|
+
var a = Ca;
|
|
3156
|
+
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: {
|
|
3159
3157
|
name: "preferred_domestic_carrier_code",
|
|
3160
3158
|
i: 9,
|
|
3161
3159
|
type: String
|
|
3162
3160
|
} }));
|
|
3163
3161
|
return a;
|
|
3164
3162
|
};
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
var
|
|
3163
|
+
H.ctor = H;
|
|
3164
|
+
H.ctor.m = H.prototype.m;
|
|
3165
|
+
var I = {
|
|
3168
3166
|
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(" "),
|
|
3169
3167
|
7: ["RU", "KZ"],
|
|
3170
3168
|
20: ["EG"],
|
|
@@ -3380,7 +3378,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
3380
3378
|
995: ["GE"],
|
|
3381
3379
|
996: ["KG"],
|
|
3382
3380
|
998: ["UZ"]
|
|
3383
|
-
},
|
|
3381
|
+
}, Ea = {
|
|
3384
3382
|
AC: [, [
|
|
3385
3383
|
,
|
|
3386
3384
|
,
|
|
@@ -4839,54 +4837,28 @@ var intl_tel_input_default = intlTelInput;
|
|
|
4839
4837
|
,
|
|
4840
4838
|
[7]
|
|
4841
4839
|
], [, , "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]]],
|
|
4842
|
-
FI: [
|
|
4840
|
+
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]], [
|
|
4843
4841
|
,
|
|
4844
|
-
[, , "[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]],
|
|
4845
|
-
[
|
|
4846
|
-
,
|
|
4847
|
-
,
|
|
4848
|
-
"(?:1[3-79][1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",
|
|
4849
|
-
,
|
|
4850
|
-
,
|
|
4851
|
-
,
|
|
4852
|
-
"131234567",
|
|
4853
|
-
,
|
|
4854
|
-
,
|
|
4855
|
-
[5, 6, 7, 8, 9]
|
|
4856
|
-
],
|
|
4857
|
-
[, , "4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}", , , , "412345678", , , [6, 7, 8, 9, 10]],
|
|
4858
|
-
[, , "800\\d{4,6}", , , , "800123456", , , [7, 8, 9]],
|
|
4859
|
-
[, , "[67]00\\d{5,6}", , , , "600123456", , , [8, 9]],
|
|
4860
|
-
[, , , , , , , , , [-1]],
|
|
4861
|
-
[, , , , , , , , , [-1]],
|
|
4862
|
-
[, , , , , , , , , [-1]],
|
|
4863
|
-
"FI",
|
|
4864
|
-
358,
|
|
4865
|
-
"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))",
|
|
4866
|
-
"0",
|
|
4867
4842
|
,
|
|
4843
|
+
"1[35-7][1-8]\\d{3,6}|(?:1[49][1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",
|
|
4868
4844
|
,
|
|
4869
|
-
"0",
|
|
4870
4845
|
,
|
|
4871
|
-
"00",
|
|
4872
4846
|
,
|
|
4873
|
-
|
|
4874
|
-
,
|
|
4875
|
-
"(\\d{2})(\\d{4,8})",
|
|
4876
|
-
"$1 $2",
|
|
4877
|
-
["[14]|2[09]|50|7[135]"],
|
|
4878
|
-
"0$1"
|
|
4879
|
-
], [, "(\\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"]],
|
|
4880
|
-
[[, "(\\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"]],
|
|
4881
|
-
[, , , , , , , , , [-1]],
|
|
4882
|
-
1,
|
|
4883
|
-
"1[03-79]|[2-9]",
|
|
4884
|
-
[, , "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}"],
|
|
4885
|
-
[, , "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"],
|
|
4847
|
+
"131234567",
|
|
4886
4848
|
,
|
|
4887
4849
|
,
|
|
4888
|
-
[, , , ,
|
|
4889
|
-
],
|
|
4850
|
+
[5, 6, 7, 8, 9]
|
|
4851
|
+
], [, , "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"], [
|
|
4852
|
+
,
|
|
4853
|
+
"(\\d{2})(\\d{4,8})",
|
|
4854
|
+
"$1 $2",
|
|
4855
|
+
["[14]|2[09]|50|7[135]"],
|
|
4856
|
+
"0$1"
|
|
4857
|
+
], [, "(\\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]", [
|
|
4858
|
+
,
|
|
4859
|
+
,
|
|
4860
|
+
"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}"
|
|
4861
|
+
], [, , "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]]],
|
|
4890
4862
|
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]], [
|
|
4891
4863
|
,
|
|
4892
4864
|
,
|
|
@@ -5035,7 +5007,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
5035
5007
|
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]], [
|
|
5036
5008
|
,
|
|
5037
5009
|
,
|
|
5038
|
-
"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}",
|
|
5010
|
+
"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}",
|
|
5039
5011
|
,
|
|
5040
5012
|
,
|
|
5041
5013
|
,
|
|
@@ -5264,41 +5236,60 @@ var intl_tel_input_default = intlTelInput;
|
|
|
5264
5236
|
,
|
|
5265
5237
|
,
|
|
5266
5238
|
"2201234"
|
|
5267
|
-
], [, , "(?:510|6\\d\\d|7(?:[
|
|
5268
|
-
HK: [
|
|
5269
|
-
,
|
|
5270
|
-
,
|
|
5271
|
-
"(?: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}",
|
|
5272
|
-
,
|
|
5273
|
-
,
|
|
5274
|
-
,
|
|
5275
|
-
"21234567",
|
|
5276
|
-
,
|
|
5277
|
-
,
|
|
5278
|
-
[8]
|
|
5279
|
-
], [, , "(?: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]], [
|
|
5280
|
-
,
|
|
5281
|
-
,
|
|
5282
|
-
,
|
|
5283
|
-
,
|
|
5239
|
+
], [, , "(?: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]]],
|
|
5240
|
+
HK: [
|
|
5284
5241
|
,
|
|
5242
|
+
[, , "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", , , , , , , [5, 6, 7, 8, 9, 11]],
|
|
5243
|
+
[
|
|
5244
|
+
,
|
|
5245
|
+
,
|
|
5246
|
+
"(?: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}",
|
|
5247
|
+
,
|
|
5248
|
+
,
|
|
5249
|
+
,
|
|
5250
|
+
"21234567",
|
|
5251
|
+
,
|
|
5252
|
+
,
|
|
5253
|
+
[8]
|
|
5254
|
+
],
|
|
5255
|
+
[, , "(?: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]],
|
|
5256
|
+
[, , "800\\d{6}", , , , "800123456", , , [9]],
|
|
5257
|
+
[, , "900(?:[0-24-9]\\d{7}|3\\d{1,4})", , , , "90012345678", , , [5, 6, 7, 8, 11]],
|
|
5258
|
+
[, , , , , , , , , [-1]],
|
|
5259
|
+
[, , "8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}", , , , "81123456", , , [8]],
|
|
5260
|
+
[, , , , , , , , , [-1]],
|
|
5261
|
+
"HK",
|
|
5262
|
+
852,
|
|
5263
|
+
"00(?:30|5[09]|[126-9]?)",
|
|
5285
5264
|
,
|
|
5286
5265
|
,
|
|
5287
5266
|
,
|
|
5288
5267
|
,
|
|
5289
|
-
[-1]
|
|
5290
|
-
], [, , "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"]]], , [
|
|
5291
5268
|
,
|
|
5269
|
+
"00",
|
|
5292
5270
|
,
|
|
5293
|
-
"
|
|
5271
|
+
[[, "(\\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"]]],
|
|
5294
5272
|
,
|
|
5273
|
+
[
|
|
5274
|
+
,
|
|
5275
|
+
,
|
|
5276
|
+
"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}",
|
|
5277
|
+
,
|
|
5278
|
+
,
|
|
5279
|
+
,
|
|
5280
|
+
"71123456",
|
|
5281
|
+
,
|
|
5282
|
+
,
|
|
5283
|
+
[8]
|
|
5284
|
+
],
|
|
5295
5285
|
,
|
|
5296
5286
|
,
|
|
5297
|
-
|
|
5287
|
+
[, , , , , , , , , [-1]],
|
|
5288
|
+
[, , "30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}", , , , "30161234", , , [8]],
|
|
5298
5289
|
,
|
|
5299
5290
|
,
|
|
5300
|
-
[
|
|
5301
|
-
],
|
|
5291
|
+
[, , , , , , , , , [-1]]
|
|
5292
|
+
],
|
|
5302
5293
|
HN: [, [, , "8\\d{10}|[237-9]\\d{7}", , , , , , , [8, 11]], [
|
|
5303
5294
|
,
|
|
5304
5295
|
,
|
|
@@ -5429,7 +5420,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
5429
5420
|
], [, , "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]], [
|
|
5430
5421
|
,
|
|
5431
5422
|
,
|
|
5432
|
-
"7(?:38(?:0\\d|5[0-
|
|
5423
|
+
"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}",
|
|
5433
5424
|
,
|
|
5434
5425
|
,
|
|
5435
5426
|
,
|
|
@@ -5793,7 +5784,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
5793
5784
|
,
|
|
5794
5785
|
,
|
|
5795
5786
|
[7, 8, 9]
|
|
5796
|
-
], [, , "(?:1(?:0[0-8]|1[0-
|
|
5787
|
+
], [, , "(?: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]]],
|
|
5797
5788
|
KG: [, [
|
|
5798
5789
|
,
|
|
5799
5790
|
,
|
|
@@ -6503,7 +6494,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
6503
6494
|
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]], [
|
|
6504
6495
|
,
|
|
6505
6496
|
,
|
|
6506
|
-
"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-
|
|
6497
|
+
"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}",
|
|
6507
6498
|
,
|
|
6508
6499
|
,
|
|
6509
6500
|
,
|
|
@@ -6536,7 +6527,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
6536
6527
|
MX: [, [, , "[2-9]\\d{9}", , , , , , , [10], [7, 8]], [
|
|
6537
6528
|
,
|
|
6538
6529
|
,
|
|
6539
|
-
"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[
|
|
6530
|
+
"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}",
|
|
6540
6531
|
,
|
|
6541
6532
|
,
|
|
6542
6533
|
,
|
|
@@ -6545,7 +6536,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
6545
6536
|
,
|
|
6546
6537
|
,
|
|
6547
6538
|
[7, 8]
|
|
6548
|
-
], [, , "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[
|
|
6539
|
+
], [, , "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]], [
|
|
6549
6540
|
,
|
|
6550
6541
|
,
|
|
6551
6542
|
"8(?:00|88)\\d{7}",
|
|
@@ -7607,7 +7598,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7607
7598
|
,
|
|
7608
7599
|
"8002345678"
|
|
7609
7600
|
], [, , "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]]],
|
|
7610
|
-
TD: [, [, , "(?:22|[
|
|
7601
|
+
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]]],
|
|
7611
7602
|
TG: [, [, , "[279]\\d{7}", , , , , , , [8]], [, , "2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}", , , , "22212345"], [
|
|
7612
7603
|
,
|
|
7613
7604
|
,
|
|
@@ -7886,7 +7877,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7886
7877
|
[
|
|
7887
7878
|
,
|
|
7888
7879
|
,
|
|
7889
|
-
"(?: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-
|
|
7880
|
+
"(?: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}",
|
|
7890
7881
|
,
|
|
7891
7882
|
,
|
|
7892
7883
|
,
|
|
@@ -7899,7 +7890,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7899
7890
|
[
|
|
7900
7891
|
,
|
|
7901
7892
|
,
|
|
7902
|
-
"(?: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-
|
|
7893
|
+
"(?: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}",
|
|
7903
7894
|
,
|
|
7904
7895
|
,
|
|
7905
7896
|
,
|
|
@@ -7913,7 +7904,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7913
7904
|
[, , "900[2-9]\\d{6}", , , , "9002345678"],
|
|
7914
7905
|
[, , , , , , , , , [-1]],
|
|
7915
7906
|
[, , "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"],
|
|
7916
|
-
[, , , , , , , , , [
|
|
7907
|
+
[, , "305209\\d{4}", , , , "3052090123", , , , [7]],
|
|
7917
7908
|
"US",
|
|
7918
7909
|
1,
|
|
7919
7910
|
"011",
|
|
@@ -7924,12 +7915,11 @@ var intl_tel_input_default = intlTelInput;
|
|
|
7924
7915
|
,
|
|
7925
7916
|
,
|
|
7926
7917
|
1,
|
|
7927
|
-
[
|
|
7928
|
-
,
|
|
7929
|
-
"(\\d{3})(\\d{4})",
|
|
7930
|
-
"$1-$2",
|
|
7931
|
-
|
|
7932
|
-
], [, "(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], , , 1]],
|
|
7918
|
+
[
|
|
7919
|
+
[, "(\\d{3})(\\d{4})", "$1-$2", ["310"], , , 1],
|
|
7920
|
+
[, "(\\d{3})(\\d{4})", "$1-$2", ["[24-9]|3(?:[02-9]|1[1-9])"]],
|
|
7921
|
+
[, "(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], , , 1]
|
|
7922
|
+
],
|
|
7933
7923
|
[[, "(\\d{3})(\\d{4})", "$1-$2", ["310"], , , 1], [, "(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-9]"]]],
|
|
7934
7924
|
[, , , , , , , , , [-1]],
|
|
7935
7925
|
1,
|
|
@@ -8399,14 +8389,14 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8399
8389
|
], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "001", 888, , , , , , , , 1, [[, "(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "\\d{11}", , , , "12345678901"], , , [, , , , , , , , , [-1]]],
|
|
8400
8390
|
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]]]
|
|
8401
8391
|
};
|
|
8402
|
-
function
|
|
8392
|
+
function J() {
|
|
8403
8393
|
this.g = {};
|
|
8404
8394
|
}
|
|
8405
|
-
|
|
8406
|
-
|
|
8407
|
-
return
|
|
8395
|
+
J.h = void 0;
|
|
8396
|
+
J.g = function() {
|
|
8397
|
+
return J.h ? J.h : J.h = new J();
|
|
8408
8398
|
};
|
|
8409
|
-
var
|
|
8399
|
+
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 = {
|
|
8410
8400
|
0: "0",
|
|
8411
8401
|
1: "1",
|
|
8412
8402
|
2: "2",
|
|
@@ -8420,7 +8410,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8420
8410
|
"+": "+",
|
|
8421
8411
|
"*": "*",
|
|
8422
8412
|
"#": "#"
|
|
8423
|
-
},
|
|
8413
|
+
}, Ha = {
|
|
8424
8414
|
0: "0",
|
|
8425
8415
|
1: "1",
|
|
8426
8416
|
2: "2",
|
|
@@ -8487,48 +8477,48 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8487
8477
|
X: "9",
|
|
8488
8478
|
Y: "9",
|
|
8489
8479
|
Z: "9"
|
|
8490
|
-
},
|
|
8491
|
-
function
|
|
8480
|
+
}, 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])*\\.?$");
|
|
8481
|
+
function L(a) {
|
|
8492
8482
|
return "([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{1," + a + "})";
|
|
8493
8483
|
}
|
|
8494
|
-
function
|
|
8495
|
-
return ";ext=" +
|
|
8496
|
-
}
|
|
8497
|
-
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\)?$/;
|
|
8498
|
-
function Ua(a) {
|
|
8499
|
-
return 2 > a.length ? false : N(Ra, a);
|
|
8484
|
+
function Qa() {
|
|
8485
|
+
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") + "#?");
|
|
8500
8486
|
}
|
|
8487
|
+
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\)?$/;
|
|
8501
8488
|
function Va(a) {
|
|
8502
|
-
return
|
|
8489
|
+
return 2 > a.length ? false : M(Sa, a);
|
|
8503
8490
|
}
|
|
8504
8491
|
function Wa(a) {
|
|
8505
|
-
|
|
8506
|
-
E(a);
|
|
8507
|
-
a.g(b);
|
|
8492
|
+
return M(Na, a) ? N(a, Ha) : N(a, Fa);
|
|
8508
8493
|
}
|
|
8509
8494
|
function Xa(a) {
|
|
8495
|
+
var b = Wa(a.toString());
|
|
8496
|
+
D(a);
|
|
8497
|
+
a.g(b);
|
|
8498
|
+
}
|
|
8499
|
+
function Ya(a) {
|
|
8510
8500
|
return null != a && (1 != x(a, 9) || -1 != u(a, 9)[0]);
|
|
8511
8501
|
}
|
|
8512
|
-
function
|
|
8513
|
-
for (var c = new
|
|
8502
|
+
function N(a, b) {
|
|
8503
|
+
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);
|
|
8514
8504
|
return c.toString();
|
|
8515
8505
|
}
|
|
8516
|
-
function
|
|
8517
|
-
return 0 == a.length ||
|
|
8506
|
+
function Za(a) {
|
|
8507
|
+
return 0 == a.length || Ua.test(a);
|
|
8518
8508
|
}
|
|
8519
|
-
function
|
|
8520
|
-
return null != a && isNaN(a) && a.toUpperCase() in
|
|
8509
|
+
function O(a) {
|
|
8510
|
+
return null != a && isNaN(a) && a.toUpperCase() in Ea;
|
|
8521
8511
|
}
|
|
8522
|
-
|
|
8512
|
+
J.prototype.format = function(a, b) {
|
|
8523
8513
|
if (0 == r(a, 2) && q(a, 5)) {
|
|
8524
8514
|
var c = w(a, 5);
|
|
8525
8515
|
if (0 < c.length) return c;
|
|
8526
8516
|
}
|
|
8527
8517
|
c = w(a, 1);
|
|
8528
|
-
var d =
|
|
8529
|
-
if (0 == b) return
|
|
8530
|
-
if (!(c in
|
|
8531
|
-
var e =
|
|
8518
|
+
var d = P(a);
|
|
8519
|
+
if (0 == b) return $a(c, 0, d, "");
|
|
8520
|
+
if (!(c in I)) return d;
|
|
8521
|
+
var e = Q(this, c, R(c));
|
|
8532
8522
|
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) : "";
|
|
8533
8523
|
a: {
|
|
8534
8524
|
e = 0 == u(e, 20).length || 2 == b ? u(e, 19) : u(e, 20);
|
|
@@ -8536,7 +8526,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8536
8526
|
f = e[h];
|
|
8537
8527
|
var l = x(f, 3);
|
|
8538
8528
|
if (0 == l || 0 == d.search(r(f, 3, l - 1))) {
|
|
8539
|
-
if (l = new RegExp(r(f, 1)),
|
|
8529
|
+
if (l = new RegExp(r(f, 1)), M(l, d)) {
|
|
8540
8530
|
e = f;
|
|
8541
8531
|
break a;
|
|
8542
8532
|
}
|
|
@@ -8547,18 +8537,18 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8547
8537
|
null != e && (g = e, e = w(g, 2), f = new RegExp(r(g, 1)), w(
|
|
8548
8538
|
g,
|
|
8549
8539
|
5
|
|
8550
|
-
), g = w(g, 4), d = 2 == b && null != g && 0 < g.length ? d.replace(f, e.replace(
|
|
8551
|
-
return
|
|
8540
|
+
), 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"), "-")));
|
|
8541
|
+
return $a(c, b, d, a);
|
|
8552
8542
|
};
|
|
8553
|
-
function
|
|
8554
|
-
return "001" == c ?
|
|
8543
|
+
function Q(a, b, c) {
|
|
8544
|
+
return "001" == c ? S(a, "" + b) : S(a, c);
|
|
8555
8545
|
}
|
|
8556
|
-
function
|
|
8546
|
+
function P(a) {
|
|
8557
8547
|
if (!q(a, 2)) return "";
|
|
8558
8548
|
var b = "" + r(a, 2);
|
|
8559
8549
|
return q(a, 4) && r(a, 4) && 0 < w(a, 8) ? Array(w(a, 8) + 1).join("0") + b : b;
|
|
8560
8550
|
}
|
|
8561
|
-
function
|
|
8551
|
+
function $a(a, b, c, d) {
|
|
8562
8552
|
switch (b) {
|
|
8563
8553
|
case 0:
|
|
8564
8554
|
return "+" + a + c + d;
|
|
@@ -8570,7 +8560,7 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8570
8560
|
return c + d;
|
|
8571
8561
|
}
|
|
8572
8562
|
}
|
|
8573
|
-
function
|
|
8563
|
+
function T(a, b) {
|
|
8574
8564
|
switch (b) {
|
|
8575
8565
|
case 4:
|
|
8576
8566
|
return r(a, 5);
|
|
@@ -8597,42 +8587,42 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8597
8587
|
return r(a, 1);
|
|
8598
8588
|
}
|
|
8599
8589
|
}
|
|
8600
|
-
function
|
|
8601
|
-
return
|
|
8590
|
+
function ab(a, b) {
|
|
8591
|
+
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;
|
|
8602
8592
|
}
|
|
8603
|
-
function
|
|
8593
|
+
function S(a, b) {
|
|
8604
8594
|
if (null == b) return null;
|
|
8605
8595
|
b = b.toUpperCase();
|
|
8606
8596
|
var c = a.g[b];
|
|
8607
8597
|
if (null == c) {
|
|
8608
|
-
c =
|
|
8598
|
+
c = Ea[b];
|
|
8609
8599
|
if (null == c) return null;
|
|
8610
|
-
c = new
|
|
8600
|
+
c = new B().g(G.m(), c);
|
|
8611
8601
|
a.g[b] = c;
|
|
8612
8602
|
}
|
|
8613
8603
|
return c;
|
|
8614
8604
|
}
|
|
8615
|
-
function
|
|
8605
|
+
function U(a, b) {
|
|
8616
8606
|
var c = a.length;
|
|
8617
|
-
return 0 < x(b, 9) && -1 == u(b, 9).indexOf(c) ? false :
|
|
8607
|
+
return 0 < x(b, 9) && -1 == u(b, 9).indexOf(c) ? false : M(w(b, 2), a);
|
|
8618
8608
|
}
|
|
8619
|
-
function
|
|
8609
|
+
function bb(a, b) {
|
|
8620
8610
|
if (null == b) return null;
|
|
8621
8611
|
var c = w(b, 1);
|
|
8622
|
-
c =
|
|
8612
|
+
c = I[c];
|
|
8623
8613
|
if (null == c) a = null;
|
|
8624
8614
|
else if (1 == c.length) a = c[0];
|
|
8625
8615
|
else a: {
|
|
8626
|
-
b =
|
|
8616
|
+
b = P(b);
|
|
8627
8617
|
for (var d, e = c.length, f = 0; f < e; f++) {
|
|
8628
8618
|
d = c[f];
|
|
8629
|
-
var g =
|
|
8619
|
+
var g = S(a, d);
|
|
8630
8620
|
if (q(g, 23)) {
|
|
8631
8621
|
if (0 == b.search(r(g, 23))) {
|
|
8632
8622
|
a = d;
|
|
8633
8623
|
break a;
|
|
8634
8624
|
}
|
|
8635
|
-
} else if (-1 !=
|
|
8625
|
+
} else if (-1 != ab(b, g)) {
|
|
8636
8626
|
a = d;
|
|
8637
8627
|
break a;
|
|
8638
8628
|
}
|
|
@@ -8641,92 +8631,92 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8641
8631
|
}
|
|
8642
8632
|
return a;
|
|
8643
8633
|
}
|
|
8644
|
-
function
|
|
8645
|
-
a =
|
|
8634
|
+
function R(a) {
|
|
8635
|
+
a = I[a];
|
|
8646
8636
|
return null == a ? "ZZ" : a[0];
|
|
8647
8637
|
}
|
|
8648
|
-
function
|
|
8649
|
-
a =
|
|
8638
|
+
function cb(a, b) {
|
|
8639
|
+
a = S(a, b);
|
|
8650
8640
|
if (null == a) throw Error("Invalid region code: " + b);
|
|
8651
8641
|
return w(a, 10);
|
|
8652
8642
|
}
|
|
8653
|
-
function
|
|
8654
|
-
var e =
|
|
8643
|
+
function V(a, b, c, d) {
|
|
8644
|
+
var e = T(c, d), f = 0 == x(e, 9) ? u(r(c, 1), 9) : u(e, 9);
|
|
8655
8645
|
e = u(e, 10);
|
|
8656
|
-
if (2 == d) if (
|
|
8657
|
-
else return
|
|
8646
|
+
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()));
|
|
8647
|
+
else return V(a, b, c, 1);
|
|
8658
8648
|
if (-1 == f[0]) return 5;
|
|
8659
8649
|
b = b.length;
|
|
8660
8650
|
if (-1 < e.indexOf(b)) return 4;
|
|
8661
8651
|
c = f[0];
|
|
8662
8652
|
return c == b ? 0 : c > b ? 2 : f[f.length - 1] < b ? 3 : -1 < f.indexOf(b, 1) ? 0 : 5;
|
|
8663
8653
|
}
|
|
8664
|
-
function
|
|
8665
|
-
var d =
|
|
8654
|
+
function W(a, b, c) {
|
|
8655
|
+
var d = P(b);
|
|
8666
8656
|
b = w(b, 1);
|
|
8667
|
-
if (!(b in
|
|
8668
|
-
b =
|
|
8669
|
-
return
|
|
8657
|
+
if (!(b in I)) return 1;
|
|
8658
|
+
b = Q(a, b, R(b));
|
|
8659
|
+
return V(a, d, b, c);
|
|
8670
8660
|
}
|
|
8671
|
-
function
|
|
8661
|
+
function db(a, b) {
|
|
8672
8662
|
a = a.toString();
|
|
8673
8663
|
if (0 == a.length || "0" == a.charAt(0)) return 0;
|
|
8674
|
-
for (var c, d = a.length, e = 1; 3 >= e && e <= d; ++e) if (c = parseInt(a.substring(0, e), 10), c in
|
|
8664
|
+
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;
|
|
8675
8665
|
return 0;
|
|
8676
8666
|
}
|
|
8677
|
-
function
|
|
8667
|
+
function eb(a, b, c, d, e, f) {
|
|
8678
8668
|
if (0 == b.length) return 0;
|
|
8679
|
-
b = new
|
|
8669
|
+
b = new C(b);
|
|
8680
8670
|
var g;
|
|
8681
8671
|
null != c && (g = r(c, 11));
|
|
8682
8672
|
null == g && (g = "NonMatch");
|
|
8683
8673
|
var h = b.toString();
|
|
8684
8674
|
if (0 == h.length) g = 20;
|
|
8685
|
-
else if (
|
|
8675
|
+
else if (K.test(h)) h = h.replace(K, ""), D(b), b.g(Wa(h)), g = 1;
|
|
8686
8676
|
else {
|
|
8687
8677
|
h = new RegExp(g);
|
|
8688
|
-
|
|
8678
|
+
Xa(b);
|
|
8689
8679
|
g = b.toString();
|
|
8690
8680
|
if (0 == g.search(h)) {
|
|
8691
8681
|
h = g.match(h)[0].length;
|
|
8692
|
-
var l = g.substring(h).match(
|
|
8693
|
-
l && null != l[1] && 0 < l[1].length && "0" ==
|
|
8682
|
+
var l = g.substring(h).match(Ja);
|
|
8683
|
+
l && null != l[1] && 0 < l[1].length && "0" == N(l[1], Fa) ? g = false : (D(b), b.g(g.substring(h)), g = true);
|
|
8694
8684
|
} else g = false;
|
|
8695
8685
|
g = g ? 5 : 20;
|
|
8696
8686
|
}
|
|
8697
8687
|
e && t(f, 6, g);
|
|
8698
8688
|
if (20 != g) {
|
|
8699
8689
|
if (2 >= b.h.length) throw Error("Phone number too short after IDD");
|
|
8700
|
-
a =
|
|
8690
|
+
a = db(b, d);
|
|
8701
8691
|
if (0 != a) return t(f, 1, a), a;
|
|
8702
8692
|
throw Error("Invalid country calling code");
|
|
8703
8693
|
}
|
|
8704
|
-
if (null != c && (g = w(c, 10), h = "" + g, l = b.toString(), 0 == l.lastIndexOf(h, 0) && (h = new
|
|
8694
|
+
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;
|
|
8705
8695
|
t(f, 1, 0);
|
|
8706
8696
|
return 0;
|
|
8707
8697
|
}
|
|
8708
|
-
function
|
|
8698
|
+
function fb(a, b, c) {
|
|
8709
8699
|
var d = a.toString(), e = d.length, f = r(b, 15);
|
|
8710
8700
|
if (0 != e && null != f && 0 != f.length) {
|
|
8711
8701
|
var g = new RegExp("^(?:" + f + ")");
|
|
8712
8702
|
if (e = g.exec(d)) {
|
|
8713
8703
|
f = new RegExp(w(r(b, 1), 2));
|
|
8714
|
-
var h =
|
|
8704
|
+
var h = M(f, d), l = e.length - 1;
|
|
8715
8705
|
b = r(b, 16);
|
|
8716
8706
|
if (null == b || 0 == b.length || null == e[l] || 0 == e[l].length) {
|
|
8717
|
-
if (!h ||
|
|
8718
|
-
} else if (d = d.replace(g, b), !h ||
|
|
8707
|
+
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));
|
|
8708
|
+
} else if (d = d.replace(g, b), !h || M(f, d)) null != c && 0 < l && c.g(e[1]), a.set(d);
|
|
8719
8709
|
}
|
|
8720
8710
|
}
|
|
8721
8711
|
}
|
|
8722
|
-
function
|
|
8723
|
-
if (!
|
|
8724
|
-
return
|
|
8712
|
+
function X(a, b, c) {
|
|
8713
|
+
if (!O(c) && 0 < b.length && "+" != b.charAt(0)) throw Error("Invalid country calling code");
|
|
8714
|
+
return gb(a, b, c, true);
|
|
8725
8715
|
}
|
|
8726
|
-
function
|
|
8716
|
+
function gb(a, b, c, d) {
|
|
8727
8717
|
if (null == b) throw Error("The string supplied did not seem to be a phone number");
|
|
8728
8718
|
if (250 < b.length) throw Error("The string supplied is too long to be a phone number");
|
|
8729
|
-
var e = new
|
|
8719
|
+
var e = new C();
|
|
8730
8720
|
var f = b.indexOf(";phone-context=");
|
|
8731
8721
|
if (-1 === f) f = null;
|
|
8732
8722
|
else if (f += 15, f >= b.length) f = "";
|
|
@@ -8735,24 +8725,24 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8735
8725
|
f = -1 !== g ? b.substring(f, g) : b.substring(f);
|
|
8736
8726
|
}
|
|
8737
8727
|
var h = f;
|
|
8738
|
-
null == h ? g = true : 0 === h.length ? g = false : (g =
|
|
8728
|
+
null == h ? g = true : 0 === h.length ? g = false : (g = Oa.exec(h), h = Pa.exec(h), g = null !== g || null !== h);
|
|
8739
8729
|
if (!g) throw Error("The string supplied did not seem to be a phone number");
|
|
8740
|
-
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(
|
|
8730
|
+
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));
|
|
8741
8731
|
f = e.toString();
|
|
8742
8732
|
g = f.indexOf(";isub=");
|
|
8743
|
-
0 < g && (
|
|
8744
|
-
if (!
|
|
8733
|
+
0 < g && (D(e), e.g(f.substring(0, g)));
|
|
8734
|
+
if (!Va(e.toString())) throw Error("The string supplied did not seem to be a phone number");
|
|
8745
8735
|
f = e.toString();
|
|
8746
|
-
if (!(
|
|
8747
|
-
f = new
|
|
8736
|
+
if (!(O(c) || null != f && 0 < f.length && K.test(f))) throw Error("Invalid country calling code");
|
|
8737
|
+
f = new H();
|
|
8748
8738
|
d && t(f, 5, b);
|
|
8749
8739
|
a: {
|
|
8750
8740
|
b = e.toString();
|
|
8751
|
-
g = b.search(
|
|
8752
|
-
if (0 <= g &&
|
|
8753
|
-
h = b.match(
|
|
8741
|
+
g = b.search(Ra);
|
|
8742
|
+
if (0 <= g && Va(b.substring(0, g))) {
|
|
8743
|
+
h = b.match(Ra);
|
|
8754
8744
|
for (var l = h.length, A = 1; A < l; ++A) if (null != h[A] && 0 < h[A].length) {
|
|
8755
|
-
|
|
8745
|
+
D(e);
|
|
8756
8746
|
e.g(b.substring(0, g));
|
|
8757
8747
|
b = h[A];
|
|
8758
8748
|
break a;
|
|
@@ -8761,24 +8751,24 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8761
8751
|
b = "";
|
|
8762
8752
|
}
|
|
8763
8753
|
0 < b.length && t(f, 3, b);
|
|
8764
|
-
g =
|
|
8765
|
-
b = new
|
|
8754
|
+
g = S(a, c);
|
|
8755
|
+
b = new C();
|
|
8766
8756
|
h = 0;
|
|
8767
8757
|
l = e.toString();
|
|
8768
8758
|
try {
|
|
8769
|
-
h =
|
|
8770
|
-
} catch (
|
|
8771
|
-
if ("Invalid country calling code" ==
|
|
8772
|
-
if (l = l.replace(
|
|
8773
|
-
} else throw
|
|
8759
|
+
h = eb(a, l, g, b, d, f);
|
|
8760
|
+
} catch (da) {
|
|
8761
|
+
if ("Invalid country calling code" == da.message && K.test(l)) {
|
|
8762
|
+
if (l = l.replace(K, ""), h = eb(a, l, g, b, d, f), 0 == h) throw da;
|
|
8763
|
+
} else throw da;
|
|
8774
8764
|
}
|
|
8775
|
-
0 != h ? (e =
|
|
8765
|
+
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(
|
|
8776
8766
|
f,
|
|
8777
8767
|
1,
|
|
8778
8768
|
h
|
|
8779
8769
|
)) : d && (delete f.h[6], f.g && delete f.g[6]));
|
|
8780
8770
|
if (2 > b.h.length) throw Error("The string supplied is too short to be a phone number");
|
|
8781
|
-
null != g && (c = new
|
|
8771
|
+
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())));
|
|
8782
8772
|
d = b.toString();
|
|
8783
8773
|
a = d.length;
|
|
8784
8774
|
if (2 > a) throw Error("The string supplied is too short to be a phone number");
|
|
@@ -8791,70 +8781,70 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8791
8781
|
t(f, 2, parseInt(d, 10));
|
|
8792
8782
|
return f;
|
|
8793
8783
|
}
|
|
8794
|
-
function
|
|
8784
|
+
function M(a, b) {
|
|
8795
8785
|
return (a = "string" == typeof a ? b.match("^(?:" + a + ")$") : b.match(a)) && a[0].length == b.length ? true : false;
|
|
8796
8786
|
}
|
|
8797
8787
|
;
|
|
8798
|
-
function
|
|
8788
|
+
function hb(a) {
|
|
8799
8789
|
this.fa = RegExp("\u2008");
|
|
8800
8790
|
this.ja = "";
|
|
8801
|
-
this.v = new
|
|
8791
|
+
this.v = new C();
|
|
8802
8792
|
this.da = "";
|
|
8803
|
-
this.s = new
|
|
8804
|
-
this.ba = new
|
|
8793
|
+
this.s = new C();
|
|
8794
|
+
this.ba = new C();
|
|
8805
8795
|
this.u = true;
|
|
8806
8796
|
this.ea = this.ca = this.la = false;
|
|
8807
|
-
this.ga =
|
|
8797
|
+
this.ga = J.g();
|
|
8808
8798
|
this.$ = 0;
|
|
8809
|
-
this.h = new
|
|
8799
|
+
this.h = new C();
|
|
8810
8800
|
this.ha = false;
|
|
8811
8801
|
this.o = "";
|
|
8812
|
-
this.g = new
|
|
8802
|
+
this.g = new C();
|
|
8813
8803
|
this.j = [];
|
|
8814
8804
|
this.ka = a;
|
|
8815
|
-
this.l =
|
|
8805
|
+
this.l = ib(this, this.ka);
|
|
8816
8806
|
}
|
|
8817
|
-
var
|
|
8818
|
-
t(
|
|
8819
|
-
var
|
|
8820
|
-
function
|
|
8807
|
+
var jb = new G();
|
|
8808
|
+
t(jb, 11, "NA");
|
|
8809
|
+
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 = /[- ]/;
|
|
8810
|
+
function ib(a, b) {
|
|
8821
8811
|
var c = a.ga;
|
|
8822
|
-
b =
|
|
8823
|
-
a =
|
|
8824
|
-
return null != a ? a :
|
|
8812
|
+
b = O(b) ? cb(c, b) : 0;
|
|
8813
|
+
a = S(a.ga, R(b));
|
|
8814
|
+
return null != a ? a : jb;
|
|
8825
8815
|
}
|
|
8826
|
-
function
|
|
8816
|
+
function mb(a) {
|
|
8827
8817
|
for (var b = a.j.length, c = 0; c < b; ++c) {
|
|
8828
8818
|
var d = a.j[c], e = w(d, 1);
|
|
8829
8819
|
if (a.da == e) return false;
|
|
8830
8820
|
var f = a;
|
|
8831
8821
|
var g = d, h = w(g, 1);
|
|
8832
|
-
|
|
8822
|
+
D(f.v);
|
|
8833
8823
|
var l = f;
|
|
8834
8824
|
g = w(g, 2);
|
|
8835
8825
|
var A = "999999999999999".match(h)[0];
|
|
8836
8826
|
A.length < l.g.h.length ? l = "" : (l = A.replace(new RegExp(h, "g"), g), l = l.replace(RegExp("9", "g"), "\u2008"));
|
|
8837
8827
|
0 < l.length ? (f.v.g(l), f = true) : f = false;
|
|
8838
|
-
if (f) return a.da = e, a.ha =
|
|
8828
|
+
if (f) return a.da = e, a.ha = lb.test(r(d, 4)), a.$ = 0, true;
|
|
8839
8829
|
}
|
|
8840
8830
|
return a.u = false;
|
|
8841
8831
|
}
|
|
8842
|
-
function
|
|
8832
|
+
function nb(a, b) {
|
|
8843
8833
|
for (var c = [], d = b.length - 3, e = a.j.length, f = 0; f < e; ++f) {
|
|
8844
8834
|
var g = a.j[f];
|
|
8845
8835
|
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]));
|
|
8846
8836
|
}
|
|
8847
8837
|
a.j = c;
|
|
8848
8838
|
}
|
|
8849
|
-
function
|
|
8839
|
+
function ob(a, b) {
|
|
8850
8840
|
a.s.g(b);
|
|
8851
8841
|
var c = b;
|
|
8852
|
-
|
|
8842
|
+
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);
|
|
8853
8843
|
if (!a.u) {
|
|
8854
8844
|
if (!a.la) {
|
|
8855
|
-
if (
|
|
8856
|
-
if (
|
|
8857
|
-
} else if (0 < a.o.length && (b = a.g.toString(),
|
|
8845
|
+
if (pb(a)) {
|
|
8846
|
+
if (qb(a)) return rb(a);
|
|
8847
|
+
} 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);
|
|
8858
8848
|
}
|
|
8859
8849
|
return a.s.toString();
|
|
8860
8850
|
}
|
|
@@ -8864,93 +8854,93 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8864
8854
|
case 2:
|
|
8865
8855
|
return a.s.toString();
|
|
8866
8856
|
case 3:
|
|
8867
|
-
if (
|
|
8868
|
-
else return a.o =
|
|
8857
|
+
if (pb(a)) a.ea = true;
|
|
8858
|
+
else return a.o = sb(a), tb(a);
|
|
8869
8859
|
default:
|
|
8870
|
-
if (a.ea) return
|
|
8860
|
+
if (a.ea) return qb(a) && (a.ea = false), a.h.toString() + a.g.toString();
|
|
8871
8861
|
if (0 < a.j.length) {
|
|
8872
|
-
b =
|
|
8873
|
-
c =
|
|
8862
|
+
b = ub(a, b);
|
|
8863
|
+
c = vb(a);
|
|
8874
8864
|
if (0 < c.length) return c;
|
|
8875
|
-
|
|
8876
|
-
return
|
|
8865
|
+
nb(a, a.g.toString());
|
|
8866
|
+
return mb(a) ? wb(a) : a.u ? Y(a, b) : a.s.toString();
|
|
8877
8867
|
}
|
|
8878
|
-
return
|
|
8868
|
+
return tb(a);
|
|
8879
8869
|
}
|
|
8880
8870
|
}
|
|
8881
|
-
function
|
|
8871
|
+
function rb(a) {
|
|
8882
8872
|
a.u = true;
|
|
8883
8873
|
a.ea = false;
|
|
8884
8874
|
a.j = [];
|
|
8885
8875
|
a.$ = 0;
|
|
8886
|
-
|
|
8876
|
+
D(a.v);
|
|
8887
8877
|
a.da = "";
|
|
8888
|
-
return
|
|
8878
|
+
return tb(a);
|
|
8889
8879
|
}
|
|
8890
|
-
function
|
|
8880
|
+
function vb(a) {
|
|
8891
8881
|
for (var b = a.g.toString(), c = a.j.length, d = 0; d < c; ++d) {
|
|
8892
8882
|
var e = a.j[d], f = w(e, 1);
|
|
8893
|
-
if (new RegExp("^(?:" + f + ")$").test(b) && (a.ha =
|
|
8883
|
+
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;
|
|
8894
8884
|
}
|
|
8895
8885
|
return "";
|
|
8896
8886
|
}
|
|
8897
|
-
function
|
|
8887
|
+
function Y(a, b) {
|
|
8898
8888
|
var c = a.h.h.length;
|
|
8899
8889
|
return a.ha && 0 < c && " " != a.h.toString().charAt(c - 1) ? a.h + " " + b : a.h + b;
|
|
8900
8890
|
}
|
|
8901
|
-
function
|
|
8891
|
+
function tb(a) {
|
|
8902
8892
|
var b = a.g.toString();
|
|
8903
8893
|
if (3 <= b.length) {
|
|
8904
8894
|
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) {
|
|
8905
8895
|
var f = c[e];
|
|
8906
|
-
0 < a.o.length &&
|
|
8896
|
+
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);
|
|
8907
8897
|
}
|
|
8908
|
-
|
|
8909
|
-
b =
|
|
8910
|
-
return 0 < b.length ? b :
|
|
8898
|
+
nb(a, b);
|
|
8899
|
+
b = vb(a);
|
|
8900
|
+
return 0 < b.length ? b : mb(a) ? wb(a) : a.s.toString();
|
|
8911
8901
|
}
|
|
8912
|
-
return
|
|
8902
|
+
return Y(a, b);
|
|
8913
8903
|
}
|
|
8914
|
-
function
|
|
8904
|
+
function wb(a) {
|
|
8915
8905
|
var b = a.g.toString(), c = b.length;
|
|
8916
8906
|
if (0 < c) {
|
|
8917
|
-
for (var d = "", e = 0; e < c; e++) d =
|
|
8918
|
-
return a.u ?
|
|
8907
|
+
for (var d = "", e = 0; e < c; e++) d = ub(a, b.charAt(e));
|
|
8908
|
+
return a.u ? Y(a, d) : a.s.toString();
|
|
8919
8909
|
}
|
|
8920
8910
|
return a.h.toString();
|
|
8921
8911
|
}
|
|
8922
|
-
function
|
|
8912
|
+
function sb(a) {
|
|
8923
8913
|
var b = a.g.toString(), c = 0;
|
|
8924
8914
|
if (1 != r(a.l, 10)) var d = false;
|
|
8925
8915
|
else d = a.g.toString(), d = "1" == d.charAt(0) && "0" != d.charAt(1) && "1" != d.charAt(1);
|
|
8926
8916
|
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))));
|
|
8927
|
-
|
|
8917
|
+
D(a.g);
|
|
8928
8918
|
a.g.g(b.substring(c));
|
|
8929
8919
|
return b.substring(0, c);
|
|
8930
8920
|
}
|
|
8931
|
-
function
|
|
8921
|
+
function pb(a) {
|
|
8932
8922
|
var b = a.ba.toString(), c = new RegExp("^(?:\\+|" + r(a.l, 11) + ")");
|
|
8933
8923
|
c = b.match(c);
|
|
8934
|
-
return null != c && null != c[0] && 0 < c[0].length ? (a.ca = true, c = c[0].length,
|
|
8924
|
+
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;
|
|
8935
8925
|
}
|
|
8936
|
-
function
|
|
8926
|
+
function qb(a) {
|
|
8937
8927
|
if (0 == a.g.h.length) return false;
|
|
8938
|
-
var b = new
|
|
8928
|
+
var b = new C(), c = db(a.g, b);
|
|
8939
8929
|
if (0 == c) return false;
|
|
8940
|
-
|
|
8930
|
+
D(a.g);
|
|
8941
8931
|
a.g.g(b.toString());
|
|
8942
|
-
b =
|
|
8943
|
-
"001" == b ? a.l =
|
|
8932
|
+
b = R(c);
|
|
8933
|
+
"001" == b ? a.l = S(a.ga, "" + c) : b != a.ka && (a.l = ib(a, b));
|
|
8944
8934
|
a.h.g("" + c).g(" ");
|
|
8945
8935
|
a.o = "";
|
|
8946
8936
|
return true;
|
|
8947
8937
|
}
|
|
8948
|
-
function
|
|
8938
|
+
function ub(a, b) {
|
|
8949
8939
|
var c = a.v.toString();
|
|
8950
8940
|
if (0 <= c.substring(a.$).search(a.fa)) {
|
|
8951
8941
|
var d = c.search(a.fa);
|
|
8952
8942
|
b = c.replace(a.fa, b);
|
|
8953
|
-
|
|
8943
|
+
D(a.v);
|
|
8954
8944
|
a.v.g(b);
|
|
8955
8945
|
a.$ = d;
|
|
8956
8946
|
return b.substring(0, a.$ + 1);
|
|
@@ -8960,13 +8950,13 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8960
8950
|
return a.s.toString();
|
|
8961
8951
|
}
|
|
8962
8952
|
;
|
|
8963
|
-
const
|
|
8953
|
+
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 };
|
|
8964
8954
|
m("intlTelInputUtilsTemp", {});
|
|
8965
8955
|
m("intlTelInputUtilsTemp.formatNumberAsYouType", (a, b) => {
|
|
8966
8956
|
try {
|
|
8967
|
-
const c = a.replace(/[^+0-9]/g, ""), d = new
|
|
8957
|
+
const c = a.replace(/[^+0-9]/g, ""), d = new hb(b);
|
|
8968
8958
|
b = "";
|
|
8969
|
-
for (let e = 0; e < c.length; e++) d.ja =
|
|
8959
|
+
for (let e = 0; e < c.length; e++) d.ja = ob(d, c.charAt(e)), b = d.ja;
|
|
8970
8960
|
return b;
|
|
8971
8961
|
} catch (c) {
|
|
8972
8962
|
return a;
|
|
@@ -8974,8 +8964,8 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8974
8964
|
});
|
|
8975
8965
|
m("intlTelInputUtilsTemp.formatNumber", (a, b, c) => {
|
|
8976
8966
|
try {
|
|
8977
|
-
const e =
|
|
8978
|
-
var d =
|
|
8967
|
+
const e = J.g(), f = X(e, a, b);
|
|
8968
|
+
var d = W(e, f, -1);
|
|
8979
8969
|
return 0 == d || 4 == d ? e.format(f, "undefined" === typeof c ? 0 : c) : a;
|
|
8980
8970
|
} catch (e) {
|
|
8981
8971
|
return a;
|
|
@@ -8983,15 +8973,15 @@ var intl_tel_input_default = intlTelInput;
|
|
|
8983
8973
|
});
|
|
8984
8974
|
m("intlTelInputUtilsTemp.getExampleNumber", (a, b, c, d) => {
|
|
8985
8975
|
try {
|
|
8986
|
-
const l =
|
|
8976
|
+
const l = J.g();
|
|
8987
8977
|
a: {
|
|
8988
8978
|
var e = l;
|
|
8989
|
-
if (
|
|
8990
|
-
var f =
|
|
8979
|
+
if (O(a)) {
|
|
8980
|
+
var f = T(S(e, a), c);
|
|
8991
8981
|
try {
|
|
8992
8982
|
if (q(f, 6)) {
|
|
8993
8983
|
var g = r(f, 6);
|
|
8994
|
-
var h =
|
|
8984
|
+
var h = gb(e, g, a, false);
|
|
8995
8985
|
break a;
|
|
8996
8986
|
}
|
|
8997
8987
|
} catch (A) {
|
|
@@ -9006,19 +8996,19 @@ var intl_tel_input_default = intlTelInput;
|
|
|
9006
8996
|
});
|
|
9007
8997
|
m("intlTelInputUtilsTemp.getExtension", (a, b) => {
|
|
9008
8998
|
try {
|
|
9009
|
-
return r(
|
|
8999
|
+
return r(X(J.g(), a, b), 3);
|
|
9010
9000
|
} catch (c) {
|
|
9011
9001
|
return "";
|
|
9012
9002
|
}
|
|
9013
9003
|
});
|
|
9014
9004
|
m("intlTelInputUtilsTemp.getNumberType", (a, b) => {
|
|
9015
9005
|
try {
|
|
9016
|
-
const g =
|
|
9017
|
-
var c =
|
|
9006
|
+
const g = J.g(), h = X(g, a, b);
|
|
9007
|
+
var c = bb(g, h), d = Q(g, w(h, 1), c);
|
|
9018
9008
|
if (null == d) var e = -1;
|
|
9019
9009
|
else {
|
|
9020
|
-
var f =
|
|
9021
|
-
e =
|
|
9010
|
+
var f = P(h);
|
|
9011
|
+
e = ab(f, d);
|
|
9022
9012
|
}
|
|
9023
9013
|
return e;
|
|
9024
9014
|
} catch (g) {
|
|
@@ -9027,22 +9017,22 @@ var intl_tel_input_default = intlTelInput;
|
|
|
9027
9017
|
});
|
|
9028
9018
|
m("intlTelInputUtilsTemp.getValidationError", (a, b) => {
|
|
9029
9019
|
try {
|
|
9030
|
-
const c =
|
|
9031
|
-
return
|
|
9020
|
+
const c = J.g(), d = X(c, a, b);
|
|
9021
|
+
return W(c, d, -1);
|
|
9032
9022
|
} catch (c) {
|
|
9033
9023
|
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;
|
|
9034
9024
|
}
|
|
9035
9025
|
});
|
|
9036
9026
|
m("intlTelInputUtilsTemp.isValidNumber", (a, b) => {
|
|
9037
9027
|
try {
|
|
9038
|
-
const l =
|
|
9039
|
-
var c =
|
|
9028
|
+
const l = J.g();
|
|
9029
|
+
var c = X(l, a, b), d = bb(l, c);
|
|
9040
9030
|
a = l;
|
|
9041
|
-
var e = w(c, 1), f =
|
|
9042
|
-
if (null == f || "001" != d && e !=
|
|
9031
|
+
var e = w(c, 1), f = Q(a, e, d);
|
|
9032
|
+
if (null == f || "001" != d && e != cb(a, d)) var g = false;
|
|
9043
9033
|
else {
|
|
9044
|
-
var h =
|
|
9045
|
-
g = -1 !=
|
|
9034
|
+
var h = P(c);
|
|
9035
|
+
g = -1 != ab(h, f);
|
|
9046
9036
|
}
|
|
9047
9037
|
return g;
|
|
9048
9038
|
} catch (l) {
|
|
@@ -9051,21 +9041,29 @@ var intl_tel_input_default = intlTelInput;
|
|
|
9051
9041
|
});
|
|
9052
9042
|
m("intlTelInputUtilsTemp.isPossibleNumber", (a, b, c) => {
|
|
9053
9043
|
try {
|
|
9054
|
-
const d =
|
|
9055
|
-
|
|
9044
|
+
const d = J.g(), e = X(d, a, b);
|
|
9045
|
+
if (c) {
|
|
9046
|
+
const f = 0 === W(d, e, Z[c]);
|
|
9047
|
+
if ("FIXED_LINE_OR_MOBILE" === c) {
|
|
9048
|
+
const g = 0 === W(d, e, Z.MOBILE), h = 0 === W(d, e, Z.FIXED_LINE);
|
|
9049
|
+
return g || h || f;
|
|
9050
|
+
}
|
|
9051
|
+
return f;
|
|
9052
|
+
}
|
|
9053
|
+
return 0 === W(d, e, -1);
|
|
9056
9054
|
} catch (d) {
|
|
9057
9055
|
return false;
|
|
9058
9056
|
}
|
|
9059
9057
|
});
|
|
9060
9058
|
m("intlTelInputUtilsTemp.getCoreNumber", (a, b) => {
|
|
9061
9059
|
try {
|
|
9062
|
-
return r(
|
|
9060
|
+
return r(X(J.g(), a, b), 2).toString();
|
|
9063
9061
|
} catch (c) {
|
|
9064
9062
|
return "";
|
|
9065
9063
|
}
|
|
9066
9064
|
});
|
|
9067
9065
|
m("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 });
|
|
9068
|
-
m("intlTelInputUtilsTemp.numberType",
|
|
9066
|
+
m("intlTelInputUtilsTemp.numberType", Z);
|
|
9069
9067
|
m("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 });
|
|
9070
9068
|
})();
|
|
9071
9069
|
var utils = window.intlTelInputUtilsTemp;
|