supertokens-auth-react
Version:
ReactJS SDK that provides login functionality with SuperTokens.
1,247 lines (1,237 loc) • 528 kB
JavaScript
"use strict";
(function () {
/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/
var aa = this || self;
function k(a, b) {
a = a.split(".");
var c = aa;
a[0] in c || "undefined" == typeof c.execScript || c.execScript("var " + a[0]);
for (var d; a.length && (d = a.shift()); )
a.length || void 0 === b
? c[d] && c[d] !== Object.prototype[d]
? (c = c[d])
: (c = c[d] = {})
: (c[d] = b);
}
function m(a, b) {
function c() {}
c.prototype = b.prototype;
a.$ = b.prototype;
a.prototype = new c();
a.prototype.constructor = a;
a.fa = function (d, e, g) {
for (var f = Array(arguments.length - 2), h = 2; h < arguments.length; h++) f[h - 2] = arguments[h];
return b.prototype[e].apply(d, f);
};
}
function ba(a) {
var b = [],
c = 0,
d;
for (d in a) b[c++] = a[d];
return b;
}
function ca(a, b) {
a.sort(b || da);
}
function da(a, b) {
return a > b ? 1 : a < b ? -1 : 0;
}
function ea(a, b) {
this.g = a;
this.m = !!b.o;
this.i = b.h;
this.v = b.type;
this.u = !1;
switch (this.i) {
case fa:
case ha:
case ia:
case ja:
case ka:
case la:
case ma:
this.u = !0;
}
this.l = b.defaultValue;
}
var ma = 1,
la = 2,
fa = 3,
ha = 4,
ia = 6,
ja = 16,
ka = 18;
function na(a, b) {
this.i = a;
this.g = {};
for (a = 0; a < b.length; a++) {
var c = b[a];
this.g[c.g] = c;
}
}
function oa(a) {
a = ba(a.g);
ca(a, function (b, c) {
return b.g - c.g;
});
return a;
}
function n() {
this.g = {};
this.l = this.j().g;
this.i = this.m = null;
}
n.prototype.has = function (a) {
return null != this.g[a.g];
};
n.prototype.get = function (a, b) {
return p(this, a.g, b);
};
n.prototype.set = function (a, b) {
q(this, a.g, b);
};
n.prototype.add = function (a, b) {
r(this, a.g, b);
};
function t(a, b) {
for (var c = oa(a.j()), d = 0; d < c.length; d++) {
var e = c[d],
g = e.g;
if (null != b.g[g]) {
a.i && delete a.i[e.g];
var f = 11 == e.i || 10 == e.i;
if (e.m) {
e = u(b, g);
for (var h = 0; h < e.length; h++) r(a, g, f ? e[h].clone() : e[h]);
} else (e = v(b, g)), f ? ((f = v(a, g)) ? t(f, e) : q(a, g, e.clone())) : q(a, g, e);
}
}
}
n.prototype.clone = function () {
var a = new this.constructor();
a != this && ((a.g = {}), a.i && (a.i = {}), t(a, this));
return a;
};
function v(a, b) {
var c = a.g[b];
if (null == c) return null;
if (a.m) {
if (!(b in a.i)) {
var d = a.m,
e = a.l[b];
if (null != c)
if (e.m) {
for (var g = [], f = 0; f < c.length; f++) g[f] = d.i(e, c[f]);
c = g;
} else c = d.i(e, c);
return (a.i[b] = c);
}
return a.i[b];
}
return c;
}
function p(a, b, c) {
var d = v(a, b);
return a.l[b].m ? d[c || 0] : d;
}
function w(a, b) {
if (null != a.g[b]) a = p(a, b, void 0);
else
a: {
a = a.l[b];
if (void 0 === a.l)
if (((b = a.v), b === Boolean)) a.l = !1;
else if (b === Number) a.l = 0;
else if (b === String) a.l = a.u ? "0" : "";
else {
a = new b();
break a;
}
a = a.l;
}
return a;
}
function u(a, b) {
return v(a, b) || [];
}
function x(a, b) {
return a.l[b].m ? (null != a.g[b] ? a.g[b].length : 0) : null != a.g[b] ? 1 : 0;
}
function q(a, b, c) {
a.g[b] = c;
a.i && (a.i[b] = c);
}
function r(a, b, c) {
a.g[b] || (a.g[b] = []);
a.g[b].push(c);
a.i && delete a.i[b];
}
function y(a, b) {
var c = [],
d;
for (d in b) 0 != d && c.push(new ea(d, b[d]));
return new na(a, c);
}
function A() {}
A.prototype.g = function (a) {
new a.i();
throw Error("Unimplemented");
};
A.prototype.i = function (a, b) {
if (11 == a.i || 10 == a.i) return b instanceof n ? b : this.g(a.v.prototype.j(), b);
if (14 == a.i) return "string" === typeof b && B.test(b) && ((a = Number(b)), 0 < a) ? a : b;
if (!a.u) return b;
a = a.v;
if (a === String) {
if ("number" === typeof b) return String(b);
} else if (
a === Number &&
"string" === typeof b &&
("Infinity" === b || "-Infinity" === b || "NaN" === b || B.test(b))
)
return Number(b);
return b;
};
var B = /^-?[0-9]+$/;
function C() {}
m(C, A);
C.prototype.g = function (a, b) {
a = new a.i();
a.m = this;
a.g = b;
a.i = {};
return a;
};
function D() {}
m(D, C);
D.prototype.i = function (a, b) {
return 8 == a.i ? !!b : A.prototype.i.apply(this, arguments);
};
D.prototype.g = function (a, b) {
return D.$.g.call(this, a, b);
};
function E(a, b) {
null != a && this.g.apply(this, arguments);
}
E.prototype.i = "";
E.prototype.set = function (a) {
this.i = "" + a;
};
E.prototype.g = function (a, b, c) {
this.i += String(a);
if (null != b) for (var d = 1; d < arguments.length; d++) this.i += arguments[d];
return this;
};
E.prototype.toString = function () {
return this.i;
}; /*
Protocol Buffer 2 Copyright 2008 Google Inc.
All other code copyright its respective owners.
Copyright (C) 2010 The Libphonenumber Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
function F() {
n.call(this);
}
m(F, n);
var pa = null;
function G() {
n.call(this);
}
m(G, n);
var qa = null;
function H() {
n.call(this);
}
m(H, n);
var ra = null;
F.prototype.j = function () {
var a = pa;
a ||
(pa = a =
y(F, {
0: { name: "NumberFormat", s: "i18n.phonenumbers.NumberFormat" },
1: { name: "pattern", required: !0, h: 9, type: String },
2: { name: "format", required: !0, h: 9, type: String },
3: { name: "leading_digits_pattern", o: !0, h: 9, type: String },
4: { name: "national_prefix_formatting_rule", h: 9, type: String },
6: { name: "national_prefix_optional_when_formatting", h: 8, defaultValue: !1, type: Boolean },
5: { name: "domestic_carrier_code_formatting_rule", h: 9, type: String },
}));
return a;
};
F.j = F.prototype.j;
G.prototype.j = function () {
var a = qa;
a ||
(qa = a =
y(G, {
0: { name: "PhoneNumberDesc", s: "i18n.phonenumbers.PhoneNumberDesc" },
2: { name: "national_number_pattern", h: 9, type: String },
9: { name: "possible_length", o: !0, h: 5, type: Number },
10: { name: "possible_length_local_only", o: !0, h: 5, type: Number },
6: { name: "example_number", h: 9, type: String },
}));
return a;
};
G.j = G.prototype.j;
H.prototype.j = function () {
var a = ra;
a ||
(ra = a =
y(H, {
0: { name: "PhoneMetadata", s: "i18n.phonenumbers.PhoneMetadata" },
1: { name: "general_desc", h: 11, type: G },
2: { name: "fixed_line", h: 11, type: G },
3: { name: "mobile", h: 11, type: G },
4: { name: "toll_free", h: 11, type: G },
5: { name: "premium_rate", h: 11, type: G },
6: { name: "shared_cost", h: 11, type: G },
7: { name: "personal_number", h: 11, type: G },
8: { name: "voip", h: 11, type: G },
21: { name: "pager", h: 11, type: G },
25: { name: "uan", h: 11, type: G },
27: { name: "emergency", h: 11, type: G },
28: { name: "voicemail", h: 11, type: G },
29: { name: "short_code", h: 11, type: G },
30: { name: "standard_rate", h: 11, type: G },
31: { name: "carrier_specific", h: 11, type: G },
33: { name: "sms_services", h: 11, type: G },
24: { name: "no_international_dialling", h: 11, type: G },
9: { name: "id", required: !0, h: 9, type: String },
10: { name: "country_code", h: 5, type: Number },
11: { name: "international_prefix", h: 9, type: String },
17: { name: "preferred_international_prefix", h: 9, type: String },
12: { name: "national_prefix", h: 9, type: String },
13: { name: "preferred_extn_prefix", h: 9, type: String },
15: { name: "national_prefix_for_parsing", h: 9, type: String },
16: { name: "national_prefix_transform_rule", h: 9, type: String },
18: { name: "same_mobile_and_fixed_line_pattern", h: 8, defaultValue: !1, type: Boolean },
19: { name: "number_format", o: !0, h: 11, type: F },
20: { name: "intl_number_format", o: !0, h: 11, type: F },
22: { name: "main_country_for_code", h: 8, defaultValue: !1, type: Boolean },
23: { name: "leading_digits", h: 9, type: String },
}));
return a;
};
H.j = H.prototype.j;
function I() {
n.call(this);
}
m(I, n);
var sa = null,
ta = { ea: 0, da: 1, ca: 5, ba: 10, aa: 20 };
I.prototype.j = function () {
var a = sa;
a ||
(sa = a =
y(I, {
0: { name: "PhoneNumber", s: "i18n.phonenumbers.PhoneNumber" },
1: { name: "country_code", required: !0, h: 5, type: Number },
2: { name: "national_number", required: !0, h: 4, type: Number },
3: { name: "extension", h: 9, type: String },
4: { name: "italian_leading_zero", h: 8, type: Boolean },
8: { name: "number_of_leading_zeros", h: 5, defaultValue: 1, type: Number },
5: { name: "raw_input", h: 9, type: String },
6: { name: "country_code_source", h: 14, defaultValue: 0, type: ta },
7: { name: "preferred_domestic_carrier_code", h: 9, type: String },
}));
return a;
};
I.ctor = I;
I.ctor.j = I.prototype.j; /*
Copyright (C) 2010 The Libphonenumber Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
var J = {
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(" "),
7: ["RU", "KZ"],
20: ["EG"],
27: ["ZA"],
30: ["GR"],
31: ["NL"],
32: ["BE"],
33: ["FR"],
34: ["ES"],
36: ["HU"],
39: ["IT", "VA"],
40: ["RO"],
41: ["CH"],
43: ["AT"],
44: ["GB", "GG", "IM", "JE"],
45: ["DK"],
46: ["SE"],
47: ["NO", "SJ"],
48: ["PL"],
49: ["DE"],
51: ["PE"],
52: ["MX"],
53: ["CU"],
54: ["AR"],
55: ["BR"],
56: ["CL"],
57: ["CO"],
58: ["VE"],
60: ["MY"],
61: ["AU", "CC", "CX"],
62: ["ID"],
63: ["PH"],
64: ["NZ"],
65: ["SG"],
66: ["TH"],
81: ["JP"],
82: ["KR"],
84: ["VN"],
86: ["CN"],
90: ["TR"],
91: ["IN"],
92: ["PK"],
93: ["AF"],
94: ["LK"],
95: ["MM"],
98: ["IR"],
211: ["SS"],
212: ["MA", "EH"],
213: ["DZ"],
216: ["TN"],
218: ["LY"],
220: ["GM"],
221: ["SN"],
222: ["MR"],
223: ["ML"],
224: ["GN"],
225: ["CI"],
226: ["BF"],
227: ["NE"],
228: ["TG"],
229: ["BJ"],
230: ["MU"],
231: ["LR"],
232: ["SL"],
233: ["GH"],
234: ["NG"],
235: ["TD"],
236: ["CF"],
237: ["CM"],
238: ["CV"],
239: ["ST"],
240: ["GQ"],
241: ["GA"],
242: ["CG"],
243: ["CD"],
244: ["AO"],
245: ["GW"],
246: ["IO"],
247: ["AC"],
248: ["SC"],
249: ["SD"],
250: ["RW"],
251: ["ET"],
252: ["SO"],
253: ["DJ"],
254: ["KE"],
255: ["TZ"],
256: ["UG"],
257: ["BI"],
258: ["MZ"],
260: ["ZM"],
261: ["MG"],
262: ["RE", "YT"],
263: ["ZW"],
264: ["NA"],
265: ["MW"],
266: ["LS"],
267: ["BW"],
268: ["SZ"],
269: ["KM"],
290: ["SH", "TA"],
291: ["ER"],
297: ["AW"],
298: ["FO"],
299: ["GL"],
350: ["GI"],
351: ["PT"],
352: ["LU"],
353: ["IE"],
354: ["IS"],
355: ["AL"],
356: ["MT"],
357: ["CY"],
358: ["FI", "AX"],
359: ["BG"],
370: ["LT"],
371: ["LV"],
372: ["EE"],
373: ["MD"],
374: ["AM"],
375: ["BY"],
376: ["AD"],
377: ["MC"],
378: ["SM"],
380: ["UA"],
381: ["RS"],
382: ["ME"],
383: ["XK"],
385: ["HR"],
386: ["SI"],
387: ["BA"],
389: ["MK"],
420: ["CZ"],
421: ["SK"],
423: ["LI"],
500: ["FK"],
501: ["BZ"],
502: ["GT"],
503: ["SV"],
504: ["HN"],
505: ["NI"],
506: ["CR"],
507: ["PA"],
508: ["PM"],
509: ["HT"],
590: ["GP", "BL", "MF"],
591: ["BO"],
592: ["GY"],
593: ["EC"],
594: ["GF"],
595: ["PY"],
596: ["MQ"],
597: ["SR"],
598: ["UY"],
599: ["CW", "BQ"],
670: ["TL"],
672: ["NF"],
673: ["BN"],
674: ["NR"],
675: ["PG"],
676: ["TO"],
677: ["SB"],
678: ["VU"],
679: ["FJ"],
680: ["PW"],
681: ["WF"],
682: ["CK"],
683: ["NU"],
685: ["WS"],
686: ["KI"],
687: ["NC"],
688: ["TV"],
689: ["PF"],
690: ["TK"],
691: ["FM"],
692: ["MH"],
800: ["001"],
808: ["001"],
850: ["KP"],
852: ["HK"],
853: ["MO"],
855: ["KH"],
856: ["LA"],
870: ["001"],
878: ["001"],
880: ["BD"],
881: ["001"],
882: ["001"],
883: ["001"],
886: ["TW"],
888: ["001"],
960: ["MV"],
961: ["LB"],
962: ["JO"],
963: ["SY"],
964: ["IQ"],
965: ["KW"],
966: ["SA"],
967: ["YE"],
968: ["OM"],
970: ["PS"],
971: ["AE"],
972: ["IL"],
973: ["BH"],
974: ["QA"],
975: ["BT"],
976: ["MN"],
977: ["NP"],
979: ["001"],
992: ["TJ"],
993: ["TM"],
994: ["AZ"],
995: ["GE"],
996: ["KG"],
998: ["UZ"],
},
va = {
AC: [
,
[, , "(?:[01589]\\d|[46])\\d{4}", , , , , , , [5, 6]],
[, , "6[2-467]\\d{3}", , , , "62889", , , [5]],
[, , "4\\d{4}", , , , "40123", , , [5]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
"AC",
247,
"00",
,
,
,
,
,
,
,
,
,
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
[, , "(?:0[1-9]|[1589]\\d)\\d{4}", , , , "542011", , , [6]],
,
,
[, , , , , , , , , [-1]],
],
AD: [
,
[, , "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", , , , , , , [6, 8, 9]],
[, , "[78]\\d{5}", , , , "712345", , , [6]],
[, , "690\\d{6}|[356]\\d{5}", , , , "312345", , , [6, 9]],
[, , "180[02]\\d{4}", , , , "18001234", , , [8]],
[, , "[19]\\d{5}", , , , "912345", , , [6]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
"AD",
376,
"00",
,
,
,
,
,
,
,
[
[, "(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]],
[, "(\\d{4})(\\d{4})", "$1 $2", ["1"]],
[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]],
],
,
[, , , , , , , , , [-1]],
,
,
[, , "1800\\d{4}", , , , , , , [8]],
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
],
AE: [
,
[, , "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", , , , , , , [5, 6, 7, 8, 9, 10, 11, 12]],
[, , "[2-4679][2-8]\\d{6}", , , , "22345678", , , [8], [7]],
[, , "5[024-68]\\d{7}", , , , "501234567", , , [9]],
[, , "400\\d{6}|800\\d{2,9}", , , , "800123456"],
[, , "900[02]\\d{5}", , , , "900234567", , , [9]],
[, , "700[05]\\d{5}", , , , "700012345", , , [9]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
"AE",
971,
"00",
"0",
,
,
"0",
,
,
,
[
[, "(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]],
[, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"],
[, "(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]],
[, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"],
],
,
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
[, , "600[25]\\d{5}", , , , "600212345", , , [9]],
,
,
[, , , , , , , , , [-1]],
],
AF: [
,
[, , "[2-7]\\d{8}", , , , , , , [9], [7]],
[, , "(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}", , , , "234567890", , , , [7]],
[, , "7\\d{8}", , , , "701234567", , , , [7]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
"AF",
93,
"00",
"0",
,
,
"0",
,
,
,
[
[, "(\\d{3})(\\d{4})", "$1 $2", ["[1-9]"]],
[, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"],
],
[[, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]],
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
],
AG: [
,
[, , "(?:268|[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]],
[, , "268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}", , , , "2684601234", , , , [7]],
[, , "268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}", , , , "2684641234", , , , [7]],
[, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"],
[, , "900[2-9]\\d{6}", , , , "9002123456"],
[, , , , , , , , , [-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",
],
[, , "26848[01]\\d{4}", , , , "2684801234", , , , [7]],
"AG",
1,
"011",
"1",
,
,
"([457]\\d{6})$|1",
"268$1",
,
,
,
,
[, , "26840[69]\\d{4}", , , , "2684061234", , , , [7]],
,
"268",
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
],
AI: [
,
[, , "(?:264|[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]],
[, , "264(?:292|4(?:6[12]|9[78]))\\d{4}", , , , "2644612345", , , , [7]],
[, , "264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}", , , , "2642351234", , , , [7]],
[, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"],
[, , "900[2-9]\\d{6}", , , , "9002123456"],
[, , , , , , , , , [-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",
],
[, , , , , , , , , [-1]],
"AI",
1,
"011",
"1",
,
,
"([2457]\\d{6})$|1",
"264$1",
,
,
,
,
[, , "264724\\d{4}", , , , "2647241234", , , , [7]],
,
"264",
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
],
AL: [
,
[, , "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", , , , , , , [6, 7, 8, 9], [5]],
[
,
,
"4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",
,
,
,
"22345678",
,
,
[8],
[5, 6, 7],
],
[, , "6(?:[78][2-9]|9\\d)\\d{6}", , , , "672123456", , , [9]],
[, , "800\\d{4}", , , , "8001234", , , [7]],
[, , "900[1-9]\\d\\d", , , , "900123", , , [6]],
[, , "808[1-9]\\d\\d", , , , "808123", , , [6]],
[, , "700[2-9]\\d{4}", , , , "70021234", , , [8]],
[, , , , , , , , , [-1]],
"AL",
355,
"00",
"0",
,
,
"0",
,
,
,
[
[, "(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"],
[, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"],
[, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"],
[, "(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"],
[, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"],
],
,
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
],
AM: [
,
[, , "(?:[1-489]\\d|55|60|77)\\d{6}", , , , , , , [8], [5, 6]],
[
,
,
"(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}",
,
,
,
"10123456",
,
,
,
[5, 6],
],
[, , "(?:33|4[1349]|55|77|88|9[13-9])\\d{6}", , , , "77123456"],
[, , "800\\d{5}", , , , "80012345"],
[, , "90[016]\\d{5}", , , , "90012345"],
[, , "80[1-4]\\d{5}", , , , "80112345"],
[, , , , , , , , , [-1]],
[, , "60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[01])\\d{4}", , , , "60271234"],
"AM",
374,
"00",
"0",
,
,
"0",
,
,
,
[
[, "(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"],
[, "(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"],
[, "(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"],
[, "(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"],
],
,
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
],
AO: [
,
[, , "[29]\\d{8}", , , , , , , [9]],
[, , "2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}", , , , "222123456"],
[, , "9[1-59]\\d{7}", , , , "923123456"],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
"AO",
244,
"00",
,
,
,
,
,
,
,
[[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]],
,
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
],
AR: [
,
[, , "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", , , , , , , [10, 11], [6, 7, 8]],
[
,
,
"3888[013-9]\\d{5}|3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",
,
,
,
"1123456789",
,
,
[10],
[6, 7, 8],
],
[
,
,
"93(?:7(?:1[15]|81)[46]|8(?:(?:21|4[16]|69|9[12])[46]|88[013-9]))\\d{5}|9(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",
,
,
,
"91123456789",
,
,
,
[6, 7, 8],
],
[, , "800\\d{7,8}", , , , "8001234567"],
[, , "60[04579]\\d{7}", , , , "6001234567", , , [10]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
"AR",
54,
"00",
"0",
,
,
"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?",
"9$1",
,
,
[
[, "(\\d{3})", "$1", ["0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911"]],
[, "(\\d{2})(\\d{4})", "$1-$2", ["[1-9]"]],
[, "(\\d{3})(\\d{4})", "$1-$2", ["[2-9]"]],
[, "(\\d{4})(\\d{4})", "$1-$2", ["[1-8]"]],
[
,
"(\\d{4})(\\d{2})(\\d{4})",
"$1 $2-$3",
[
"2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])",
"2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)",
"2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]",
"2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]",
],
"0$1",
,
1,
],
[, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", , 1],
[, "(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"],
[, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", , 1],
[
,
"(\\d)(\\d{4})(\\d{2})(\\d{4})",
"$2 15-$3-$4",
[
"9(?:2[2-469]|3[3-578])",
"9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))",
"9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)",
"9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]",
"9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]",
],
"0$1",
],
[, "(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1"],
[, "(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"],
[, "(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1"],
],
[
[
,
"(\\d{4})(\\d{2})(\\d{4})",
"$1 $2-$3",
[
"2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])",
"2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)",
"2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]",
"2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]",
],
"0$1",
,
1,
],
[, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", , 1],
[, "(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"],
[, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", , 1],
[
,
"(\\d)(\\d{4})(\\d{2})(\\d{4})",
"$1 $2 $3-$4",
[
"9(?:2[2-469]|3[3-578])",
"9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))",
"9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)",
"9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]",
"9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]",
],
],
[, "(\\d)(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3-$4", ["91"]],
[, "(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"],
[, "(\\d)(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3-$4", ["9"]],
],
[, , , , , , , , , [-1]],
,
,
[, , "810\\d{7}", , , , , , , [10]],
[, , "810\\d{7}", , , , "8101234567", , , [10]],
,
,
[, , , , , , , , , [-1]],
],
AS: [
,
[, , "(?:[58]\\d\\d|684|900)\\d{7}", , , , , , , [10], [7]],
[, , "6846(?:22|33|44|55|77|88|9[19])\\d{4}", , , , "6846221234", , , , [7]],
[, , "684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}", , , , "6847331234", , , , [7]],
[, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"],
[, , "900[2-9]\\d{6}", , , , "9002123456"],
[, , , , , , , , , [-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",
],
[, , , , , , , , , [-1]],
"AS",
1,
"011",
"1",
,
,
"([267]\\d{6})$|1",
"684$1",
,
,
,
,
[, , , , , , , , , [-1]],
,
"684",
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
],
AT: [
,
[
,
,
"1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",
,
,
,
,
,
,
[4, 5, 6, 7, 8, 9, 10, 11, 12, 13],
[3],
],
[
,
,
"1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}",
,
,
,
"1234567890",
,
,
,
[3],
],
[, , "6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}", , , , "664123456", , , [7, 8, 9, 10, 11, 12, 13]],
[, , "800\\d{6,10}", , , , "800123456", , , [9, 10, 11, 12, 13]],
[, , "(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}", , , , "900123456", , , [9, 10, 11, 12, 13]],
[, , "8(?:10|2[018])\\d{6,10}|828\\d{5}", , , , "810123456", , , [8, 9, 10, 11, 12, 13]],
[, , , , , , , , , [-1]],
[
,
,
"5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",
,
,
,
"780123456",
,
,
[5, 6, 7, 8, 9, 10, 11, 12, 13],
],
"AT",
43,
"00",
"0",
,
,
"0",
,
,
,
[
[, "(\\d{4})", "$1", ["14"]],
[, "(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"],
[, "(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"],
[, "(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"],
[, "(\\d{6})", "$1", ["[18]"]],
[, "(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"],
[, "(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"],
[, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"],
[, "(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"],
],
[
[, "(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"],
[, "(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"],
[, "(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"],
[, "(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"],
[, "(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"],
[, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"],
[, "(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"],
],
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
[, , , , , , , , , [-1]],
,
,
[, , , , , , , , , [-1]],
],
AU: [
,
[
,
,
"1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",
,
,
,
,
,
,
[5, 6, 7, 8, 9, 10, 12],
],
[
,
,
"(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",
,
,
,
"212345678",
,
,
[9],
[8],
],
[
,
,
"4(?:79[01]|83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\d{6}",
,
,
,
"412345678",
,
,
[9],
],
[, , "180(?:0\\d{3}|2)\\d{3}", , , , "1800123456", , , [7, 10]],
[, , "190[0-26]\\d{6}", , , , "1900123456", , , [10]],
[, , "13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", , , , "1300123456", , , [6, 8, 10, 12]],
[, , , , , , , , , [-1]],
[, , "14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", , , , "147101234", , , [9]],
"AU",
61,
"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011",
"0",
,
,
"(183[12])|0",
,
"0011",
,
[
[, "(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"],
[, "(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["13"]],
[, "(\\d{3})(\\d{3})", "$1 $2", ["19"]],
[, "(\\d{3})(\\d{4})", "$1 $2", ["180", "1802"]],
[, "(\\d{4})(\\d{3,4})", "$1 $2", ["19"]],
[, "(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"],
[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"],
[, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0