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