vue-layout-gitcode 1.10.44 → 1.10.46
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/{GloabarSearch-YDHuuDWW.js → GloabarSearch-QcIq6Gh6.js} +3 -3
- package/{MenuItem-DlbxJaOM.js → MenuItem-Bkz4-Vtl.js} +1 -1
- package/{ProjectMenuList-BflGtf7k.js → ProjectMenuList-EYcwoFrJ.js} +8 -8
- package/{ProjectMenuListV2-CAFYMIBK.js → ProjectMenuListV2-ms2ShmJO.js} +3 -3
- package/{ProjectSearch-zu1NglEP.js → ProjectSearch-C4jCJgIU.js} +1 -1
- package/{SearchHistoryList-tMTBm0qH.js → SearchHistoryList-C0yAQcmv.js} +5 -5
- package/{SearchPrefixTag-CNAEATYg.js → SearchPrefixTag-DpB-MKUj.js} +3 -3
- package/{SearchRecommed-D7wbyhd4.js → SearchRecommed-CxtUjDMY.js} +2 -2
- package/{SearchScopeList-DYGedmk1.js → SearchScopeList-BQ2lY7n7.js} +3 -3
- package/{UserSearch-t4GdWDGq.js → UserSearch-BpDgAqo-.js} +1 -1
- package/{index-BcFAnu7q.js → index-BVOQcFnZ.js} +41 -41
- package/{index-BMR0Fwci.js → index-Cfgtkgon.js} +1030 -916
- package/{index-Cpvh8nYC.js → index-CxViqoos.js} +3 -3
- package/{index-BE3Atccs.js → index-D2mdc0Hw.js} +1 -1
- package/index.d.ts +222 -572
- package/index.js +1 -1
- package/{notice-Bp_WbrA4.js → notice-t6YcaAyd.js} +8 -8
- package/package.json +2 -2
- package/style.css +1 -1
- package/{transWebUrl-CxSrqCcd.js → transWebUrl-DpQ1yUC2.js} +1 -1
|
@@ -76,29 +76,29 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
76
76
|
return /px$/i.test(props.size) ? props.size : `${props.size}px`;
|
|
77
77
|
});
|
|
78
78
|
return (_ctx, _cache) => {
|
|
79
|
-
return !
|
|
79
|
+
return !__props.name.includes("gt-") ? (openBlock(), createBlock(unref(Icon), normalizeProps(mergeProps({ key: 0 }, props)), null, 16)) : __props.operable ? (openBlock(), createElementBlock("span", {
|
|
80
80
|
key: 1,
|
|
81
|
-
class: normalizeClass(["custom-icon-container", { disabled:
|
|
81
|
+
class: normalizeClass(["custom-icon-container", { disabled: __props.disabled }])
|
|
82
82
|
}, [
|
|
83
83
|
renderSlot(_ctx.$slots, "prefix", {}, void 0, true),
|
|
84
84
|
(openBlock(), createElementBlock("svg", {
|
|
85
|
-
class: normalizeClass(["icon gt-icon",
|
|
85
|
+
class: normalizeClass(["icon gt-icon", __props.iconClass]),
|
|
86
86
|
"aria-hidden": "true",
|
|
87
|
-
style: normalizeStyle({ color:
|
|
87
|
+
style: normalizeStyle({ color: __props.color, fontSize: fontSize.value, transform: `rotate(${__props.rotate})` })
|
|
88
88
|
}, [
|
|
89
89
|
createElementVNode("use", {
|
|
90
|
-
"xlink:href": `#${
|
|
90
|
+
"xlink:href": `#${__props.name}`
|
|
91
91
|
}, null, 8, _hoisted_1$A)
|
|
92
92
|
], 6)),
|
|
93
93
|
renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
94
94
|
], 2)) : (openBlock(), createElementBlock("svg", {
|
|
95
95
|
key: 2,
|
|
96
|
-
class: normalizeClass(["icon gt-icon",
|
|
96
|
+
class: normalizeClass(["icon gt-icon", __props.iconClass]),
|
|
97
97
|
"aria-hidden": "true",
|
|
98
|
-
style: normalizeStyle(
|
|
98
|
+
style: normalizeStyle(__props.iconClass ? {} : { color: __props.color, fontSize: fontSize.value, transform: `rotate(${__props.rotate})` })
|
|
99
99
|
}, [
|
|
100
100
|
createElementVNode("use", {
|
|
101
|
-
"xlink:href": `#${
|
|
101
|
+
"xlink:href": `#${__props.name}`
|
|
102
102
|
}, null, 8, _hoisted_2$p)
|
|
103
103
|
], 6));
|
|
104
104
|
};
|
|
@@ -568,7 +568,7 @@ const LOGO_MAP = {
|
|
|
568
568
|
aiLogoDark: "https://cdn-static.gitcode.com/static/images/gitcode-ai-logo-dark_atomgit.png"
|
|
569
569
|
}
|
|
570
570
|
};
|
|
571
|
-
/*! @license DOMPurify 3.3.
|
|
571
|
+
/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
|
|
572
572
|
const {
|
|
573
573
|
entries,
|
|
574
574
|
setPrototypeOf,
|
|
@@ -799,7 +799,7 @@ const _createHooksMap = function _createHooksMap2() {
|
|
|
799
799
|
function createDOMPurify() {
|
|
800
800
|
let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
|
|
801
801
|
const DOMPurify = (root) => createDOMPurify(root);
|
|
802
|
-
DOMPurify.version = "3.3.
|
|
802
|
+
DOMPurify.version = "3.3.1";
|
|
803
803
|
DOMPurify.removed = [];
|
|
804
804
|
if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
|
|
805
805
|
DOMPurify.isSupported = false;
|
|
@@ -1050,6 +1050,12 @@ function createDOMPurify() {
|
|
|
1050
1050
|
}
|
|
1051
1051
|
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
|
|
1052
1052
|
}
|
|
1053
|
+
if (cfg.ADD_FORBID_CONTENTS) {
|
|
1054
|
+
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
|
1055
|
+
FORBID_CONTENTS = clone(FORBID_CONTENTS);
|
|
1056
|
+
}
|
|
1057
|
+
addToSet(FORBID_CONTENTS, cfg.ADD_FORBID_CONTENTS, transformCaseFunc);
|
|
1058
|
+
}
|
|
1053
1059
|
if (KEEP_CONTENT) {
|
|
1054
1060
|
ALLOWED_TAGS["#text"] = true;
|
|
1055
1061
|
}
|
|
@@ -1691,10 +1697,25 @@ function init(converter, defaultAttributes) {
|
|
|
1691
1697
|
}
|
|
1692
1698
|
var api = init(defaultConverter, { path: "/" });
|
|
1693
1699
|
/*!
|
|
1694
|
-
* shared v9.14.
|
|
1700
|
+
* shared v9.14.5
|
|
1695
1701
|
* (c) 2025 kazuya kawaguchi
|
|
1696
1702
|
* Released under the MIT License.
|
|
1697
1703
|
*/
|
|
1704
|
+
function warn(msg, err) {
|
|
1705
|
+
if (typeof console !== "undefined") {
|
|
1706
|
+
console.warn(`[intlify] ` + msg);
|
|
1707
|
+
if (err) {
|
|
1708
|
+
console.warn(err.stack);
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
const hasWarned = {};
|
|
1713
|
+
function warnOnce(msg) {
|
|
1714
|
+
if (!hasWarned[msg]) {
|
|
1715
|
+
hasWarned[msg] = true;
|
|
1716
|
+
warn(msg);
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1698
1719
|
const inBrowser = typeof window !== "undefined";
|
|
1699
1720
|
let mark;
|
|
1700
1721
|
let measure;
|
|
@@ -1739,7 +1760,31 @@ const getGlobalThis = () => {
|
|
|
1739
1760
|
return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : create());
|
|
1740
1761
|
};
|
|
1741
1762
|
function escapeHtml(rawText) {
|
|
1742
|
-
return rawText.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
1763
|
+
return rawText.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/\//g, "/").replace(/=/g, "=");
|
|
1764
|
+
}
|
|
1765
|
+
function escapeAttributeValue(value) {
|
|
1766
|
+
return value.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
1767
|
+
}
|
|
1768
|
+
function sanitizeTranslatedHtml(html2) {
|
|
1769
|
+
html2 = html2.replace(/(\w+)\s*=\s*"([^"]*)"/g, (_, attrName, attrValue) => `${attrName}="${escapeAttributeValue(attrValue)}"`);
|
|
1770
|
+
html2 = html2.replace(/(\w+)\s*=\s*'([^']*)'/g, (_, attrName, attrValue) => `${attrName}='${escapeAttributeValue(attrValue)}'`);
|
|
1771
|
+
const eventHandlerPattern = /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi;
|
|
1772
|
+
if (eventHandlerPattern.test(html2)) {
|
|
1773
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1774
|
+
warn("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages.");
|
|
1775
|
+
}
|
|
1776
|
+
html2 = html2.replace(/(\s+)(on)(\w+\s*=)/gi, "$1on$3");
|
|
1777
|
+
}
|
|
1778
|
+
const javascriptUrlPattern = [
|
|
1779
|
+
// In href, src, action, formaction attributes
|
|
1780
|
+
/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
|
|
1781
|
+
// In style attributes within url()
|
|
1782
|
+
/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi
|
|
1783
|
+
];
|
|
1784
|
+
javascriptUrlPattern.forEach((pattern) => {
|
|
1785
|
+
html2 = html2.replace(pattern, "$1javascript:");
|
|
1786
|
+
});
|
|
1787
|
+
return html2;
|
|
1743
1788
|
}
|
|
1744
1789
|
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
1745
1790
|
function hasOwn(obj, key) {
|
|
@@ -1802,21 +1847,6 @@ function incrementer(code2) {
|
|
|
1802
1847
|
let current = code2;
|
|
1803
1848
|
return () => ++current;
|
|
1804
1849
|
}
|
|
1805
|
-
function warn(msg, err) {
|
|
1806
|
-
if (typeof console !== "undefined") {
|
|
1807
|
-
console.warn(`[intlify] ` + msg);
|
|
1808
|
-
if (err) {
|
|
1809
|
-
console.warn(err.stack);
|
|
1810
|
-
}
|
|
1811
|
-
}
|
|
1812
|
-
}
|
|
1813
|
-
const hasWarned = {};
|
|
1814
|
-
function warnOnce(msg) {
|
|
1815
|
-
if (!hasWarned[msg]) {
|
|
1816
|
-
hasWarned[msg] = true;
|
|
1817
|
-
warn(msg);
|
|
1818
|
-
}
|
|
1819
|
-
}
|
|
1820
1850
|
function createEmitter() {
|
|
1821
1851
|
const events = /* @__PURE__ */ new Map();
|
|
1822
1852
|
const emitter2 = {
|
|
@@ -1865,7 +1895,7 @@ function deepCopy(src, des) {
|
|
|
1865
1895
|
}
|
|
1866
1896
|
}
|
|
1867
1897
|
/*!
|
|
1868
|
-
* message-compiler v9.14.
|
|
1898
|
+
* message-compiler v9.14.5
|
|
1869
1899
|
* (c) 2025 kazuya kawaguchi
|
|
1870
1900
|
* Released under the MIT License.
|
|
1871
1901
|
*/
|
|
@@ -3415,7 +3445,7 @@ function baseCompile$1(source, options = {}) {
|
|
|
3415
3445
|
}
|
|
3416
3446
|
}
|
|
3417
3447
|
/*!
|
|
3418
|
-
* core-base v9.14.
|
|
3448
|
+
* core-base v9.14.5
|
|
3419
3449
|
* (c) 2025 kazuya kawaguchi
|
|
3420
3450
|
* Released under the MIT License.
|
|
3421
3451
|
*/
|
|
@@ -3430,6 +3460,76 @@ function initFeatureFlags$1() {
|
|
|
3430
3460
|
getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__ = false;
|
|
3431
3461
|
}
|
|
3432
3462
|
}
|
|
3463
|
+
function isMessageAST(val) {
|
|
3464
|
+
return isObject$2(val) && resolveType(val) === 0 && (hasOwn(val, "b") || hasOwn(val, "body"));
|
|
3465
|
+
}
|
|
3466
|
+
const PROPS_BODY = ["b", "body"];
|
|
3467
|
+
function resolveBody(node) {
|
|
3468
|
+
return resolveProps(node, PROPS_BODY);
|
|
3469
|
+
}
|
|
3470
|
+
const PROPS_CASES = ["c", "cases"];
|
|
3471
|
+
function resolveCases(node) {
|
|
3472
|
+
return resolveProps(node, PROPS_CASES, []);
|
|
3473
|
+
}
|
|
3474
|
+
const PROPS_STATIC = ["s", "static"];
|
|
3475
|
+
function resolveStatic(node) {
|
|
3476
|
+
return resolveProps(node, PROPS_STATIC);
|
|
3477
|
+
}
|
|
3478
|
+
const PROPS_ITEMS = ["i", "items"];
|
|
3479
|
+
function resolveItems(node) {
|
|
3480
|
+
return resolveProps(node, PROPS_ITEMS, []);
|
|
3481
|
+
}
|
|
3482
|
+
const PROPS_TYPE = ["t", "type"];
|
|
3483
|
+
function resolveType(node) {
|
|
3484
|
+
return resolveProps(node, PROPS_TYPE);
|
|
3485
|
+
}
|
|
3486
|
+
const PROPS_VALUE = ["v", "value"];
|
|
3487
|
+
function resolveValue$1(node, type) {
|
|
3488
|
+
const resolved = resolveProps(node, PROPS_VALUE);
|
|
3489
|
+
if (resolved != null) {
|
|
3490
|
+
return resolved;
|
|
3491
|
+
} else {
|
|
3492
|
+
throw createUnhandleNodeError(type);
|
|
3493
|
+
}
|
|
3494
|
+
}
|
|
3495
|
+
const PROPS_MODIFIER = ["m", "modifier"];
|
|
3496
|
+
function resolveLinkedModifier(node) {
|
|
3497
|
+
return resolveProps(node, PROPS_MODIFIER);
|
|
3498
|
+
}
|
|
3499
|
+
const PROPS_KEY = ["k", "key"];
|
|
3500
|
+
function resolveLinkedKey(node) {
|
|
3501
|
+
const resolved = resolveProps(node, PROPS_KEY);
|
|
3502
|
+
if (resolved) {
|
|
3503
|
+
return resolved;
|
|
3504
|
+
} else {
|
|
3505
|
+
throw createUnhandleNodeError(
|
|
3506
|
+
6
|
|
3507
|
+
/* NodeTypes.Linked */
|
|
3508
|
+
);
|
|
3509
|
+
}
|
|
3510
|
+
}
|
|
3511
|
+
function resolveProps(node, props, defaultValue) {
|
|
3512
|
+
for (let i = 0; i < props.length; i++) {
|
|
3513
|
+
const prop = props[i];
|
|
3514
|
+
if (hasOwn(node, prop) && node[prop] != null) {
|
|
3515
|
+
return node[prop];
|
|
3516
|
+
}
|
|
3517
|
+
}
|
|
3518
|
+
return defaultValue;
|
|
3519
|
+
}
|
|
3520
|
+
const AST_NODE_PROPS_KEYS = [
|
|
3521
|
+
...PROPS_BODY,
|
|
3522
|
+
...PROPS_CASES,
|
|
3523
|
+
...PROPS_STATIC,
|
|
3524
|
+
...PROPS_ITEMS,
|
|
3525
|
+
...PROPS_KEY,
|
|
3526
|
+
...PROPS_MODIFIER,
|
|
3527
|
+
...PROPS_VALUE,
|
|
3528
|
+
...PROPS_TYPE
|
|
3529
|
+
];
|
|
3530
|
+
function createUnhandleNodeError(type) {
|
|
3531
|
+
return new Error(`unhandled node type: ${type}`);
|
|
3532
|
+
}
|
|
3433
3533
|
const pathStateMachine = [];
|
|
3434
3534
|
pathStateMachine[
|
|
3435
3535
|
0
|
|
@@ -3836,7 +3936,7 @@ const cache = /* @__PURE__ */ new Map();
|
|
|
3836
3936
|
function resolveWithKeyValue(obj, path) {
|
|
3837
3937
|
return isObject$2(obj) ? obj[path] : null;
|
|
3838
3938
|
}
|
|
3839
|
-
function resolveValue
|
|
3939
|
+
function resolveValue(obj, path) {
|
|
3840
3940
|
if (!isObject$2(obj)) {
|
|
3841
3941
|
return null;
|
|
3842
3942
|
}
|
|
@@ -3854,7 +3954,11 @@ function resolveValue$1(obj, path) {
|
|
|
3854
3954
|
let last = obj;
|
|
3855
3955
|
let i = 0;
|
|
3856
3956
|
while (i < len) {
|
|
3857
|
-
const
|
|
3957
|
+
const key = hit[i];
|
|
3958
|
+
if (AST_NODE_PROPS_KEYS.includes(key) && isMessageAST(last)) {
|
|
3959
|
+
return null;
|
|
3960
|
+
}
|
|
3961
|
+
const val = last[key];
|
|
3858
3962
|
if (val === void 0) {
|
|
3859
3963
|
return null;
|
|
3860
3964
|
}
|
|
@@ -4148,7 +4252,7 @@ function appendItemToChain(chain, target, blocks) {
|
|
|
4148
4252
|
}
|
|
4149
4253
|
return follow;
|
|
4150
4254
|
}
|
|
4151
|
-
const VERSION$1 = "9.14.
|
|
4255
|
+
const VERSION$1 = "9.14.5";
|
|
4152
4256
|
const NOT_REOSLVED = -1;
|
|
4153
4257
|
const DEFAULT_LOCALE = "en-US";
|
|
4154
4258
|
const MISSING_RESOLVE_VALUE = "";
|
|
@@ -4335,14 +4439,6 @@ function formatParts(ctx, ast) {
|
|
|
4335
4439
|
return formatMessageParts(ctx, body);
|
|
4336
4440
|
}
|
|
4337
4441
|
}
|
|
4338
|
-
const PROPS_BODY = ["b", "body"];
|
|
4339
|
-
function resolveBody(node) {
|
|
4340
|
-
return resolveProps(node, PROPS_BODY);
|
|
4341
|
-
}
|
|
4342
|
-
const PROPS_CASES = ["c", "cases"];
|
|
4343
|
-
function resolveCases(node) {
|
|
4344
|
-
return resolveProps(node, PROPS_CASES, []);
|
|
4345
|
-
}
|
|
4346
4442
|
function formatMessageParts(ctx, node) {
|
|
4347
4443
|
const static_ = resolveStatic(node);
|
|
4348
4444
|
if (static_ != null) {
|
|
@@ -4352,22 +4448,14 @@ function formatMessageParts(ctx, node) {
|
|
|
4352
4448
|
return ctx.normalize(messages);
|
|
4353
4449
|
}
|
|
4354
4450
|
}
|
|
4355
|
-
const PROPS_STATIC = ["s", "static"];
|
|
4356
|
-
function resolveStatic(node) {
|
|
4357
|
-
return resolveProps(node, PROPS_STATIC);
|
|
4358
|
-
}
|
|
4359
|
-
const PROPS_ITEMS = ["i", "items"];
|
|
4360
|
-
function resolveItems(node) {
|
|
4361
|
-
return resolveProps(node, PROPS_ITEMS, []);
|
|
4362
|
-
}
|
|
4363
4451
|
function formatMessagePart(ctx, node) {
|
|
4364
4452
|
const type = resolveType(node);
|
|
4365
4453
|
switch (type) {
|
|
4366
4454
|
case 3: {
|
|
4367
|
-
return resolveValue(node, type);
|
|
4455
|
+
return resolveValue$1(node, type);
|
|
4368
4456
|
}
|
|
4369
4457
|
case 9: {
|
|
4370
|
-
return resolveValue(node, type);
|
|
4458
|
+
return resolveValue$1(node, type);
|
|
4371
4459
|
}
|
|
4372
4460
|
case 4: {
|
|
4373
4461
|
const named = node;
|
|
@@ -4396,56 +4484,15 @@ function formatMessagePart(ctx, node) {
|
|
|
4396
4484
|
return ctx.linked(formatMessagePart(ctx, key), modifier ? formatMessagePart(ctx, modifier) : void 0, ctx.type);
|
|
4397
4485
|
}
|
|
4398
4486
|
case 7: {
|
|
4399
|
-
return resolveValue(node, type);
|
|
4487
|
+
return resolveValue$1(node, type);
|
|
4400
4488
|
}
|
|
4401
4489
|
case 8: {
|
|
4402
|
-
return resolveValue(node, type);
|
|
4490
|
+
return resolveValue$1(node, type);
|
|
4403
4491
|
}
|
|
4404
4492
|
default:
|
|
4405
4493
|
throw new Error(`unhandled node on format message part: ${type}`);
|
|
4406
4494
|
}
|
|
4407
4495
|
}
|
|
4408
|
-
const PROPS_TYPE = ["t", "type"];
|
|
4409
|
-
function resolveType(node) {
|
|
4410
|
-
return resolveProps(node, PROPS_TYPE);
|
|
4411
|
-
}
|
|
4412
|
-
const PROPS_VALUE = ["v", "value"];
|
|
4413
|
-
function resolveValue(node, type) {
|
|
4414
|
-
const resolved = resolveProps(node, PROPS_VALUE);
|
|
4415
|
-
if (resolved) {
|
|
4416
|
-
return resolved;
|
|
4417
|
-
} else {
|
|
4418
|
-
throw createUnhandleNodeError(type);
|
|
4419
|
-
}
|
|
4420
|
-
}
|
|
4421
|
-
const PROPS_MODIFIER = ["m", "modifier"];
|
|
4422
|
-
function resolveLinkedModifier(node) {
|
|
4423
|
-
return resolveProps(node, PROPS_MODIFIER);
|
|
4424
|
-
}
|
|
4425
|
-
const PROPS_KEY = ["k", "key"];
|
|
4426
|
-
function resolveLinkedKey(node) {
|
|
4427
|
-
const resolved = resolveProps(node, PROPS_KEY);
|
|
4428
|
-
if (resolved) {
|
|
4429
|
-
return resolved;
|
|
4430
|
-
} else {
|
|
4431
|
-
throw createUnhandleNodeError(
|
|
4432
|
-
6
|
|
4433
|
-
/* NodeTypes.Linked */
|
|
4434
|
-
);
|
|
4435
|
-
}
|
|
4436
|
-
}
|
|
4437
|
-
function resolveProps(node, props, defaultValue) {
|
|
4438
|
-
for (let i = 0; i < props.length; i++) {
|
|
4439
|
-
const prop = props[i];
|
|
4440
|
-
if (hasOwn(node, prop) && node[prop] != null) {
|
|
4441
|
-
return node[prop];
|
|
4442
|
-
}
|
|
4443
|
-
}
|
|
4444
|
-
return defaultValue;
|
|
4445
|
-
}
|
|
4446
|
-
function createUnhandleNodeError(type) {
|
|
4447
|
-
return new Error(`unhandled node type: ${type}`);
|
|
4448
|
-
}
|
|
4449
4496
|
const WARN_MESSAGE = `Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.`;
|
|
4450
4497
|
function checkHtmlMessage(source, warnHtmlMessage) {
|
|
4451
4498
|
if (warnHtmlMessage && detectHtmlTag(source)) {
|
|
@@ -4461,9 +4508,6 @@ reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-forma
|
|
|
4461
4508
|
(message compiler warning message: ${_warn.message})`);
|
|
4462
4509
|
}
|
|
4463
4510
|
}
|
|
4464
|
-
function isMessageAST(val) {
|
|
4465
|
-
return isObject$2(val) && resolveType(val) === 0 && (hasOwn(val, "b") || hasOwn(val, "body"));
|
|
4466
|
-
}
|
|
4467
4511
|
function baseCompile(message, options = {}) {
|
|
4468
4512
|
let detectError = false;
|
|
4469
4513
|
const onError = options.onError || defaultOnError;
|
|
@@ -4575,7 +4619,10 @@ function translate(context, ...args) {
|
|
|
4575
4619
|
const ctxOptions = getMessageContextOptions(context, targetLocale, message, options);
|
|
4576
4620
|
const msgContext = createMessageContext(ctxOptions);
|
|
4577
4621
|
const messaged = evaluateMessage(context, msg, msgContext);
|
|
4578
|
-
|
|
4622
|
+
let ret = postTranslation ? postTranslation(messaged, key) : messaged;
|
|
4623
|
+
if (escapeParameter && isString$1(ret)) {
|
|
4624
|
+
ret = sanitizeTranslatedHtml(ret);
|
|
4625
|
+
}
|
|
4579
4626
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
4580
4627
|
const payloads = {
|
|
4581
4628
|
timestamp: Date.now(),
|
|
@@ -5292,11 +5339,11 @@ function setupDevtoolsPlugin(pluginDescriptor, setupFn) {
|
|
|
5292
5339
|
}
|
|
5293
5340
|
}
|
|
5294
5341
|
/*!
|
|
5295
|
-
* vue-i18n v9.14.
|
|
5342
|
+
* vue-i18n v9.14.5
|
|
5296
5343
|
* (c) 2025 kazuya kawaguchi
|
|
5297
5344
|
* Released under the MIT License.
|
|
5298
5345
|
*/
|
|
5299
|
-
const VERSION = "9.14.
|
|
5346
|
+
const VERSION = "9.14.5";
|
|
5300
5347
|
function initFeatureFlags() {
|
|
5301
5348
|
if (typeof __VUE_I18N_FULL_INSTALL__ !== "boolean") {
|
|
5302
5349
|
getGlobalThis().__VUE_I18N_FULL_INSTALL__ = true;
|
|
@@ -5429,6 +5476,9 @@ function handleFlatJson(obj) {
|
|
|
5429
5476
|
if (!isObject$2(obj)) {
|
|
5430
5477
|
return obj;
|
|
5431
5478
|
}
|
|
5479
|
+
if (isMessageAST(obj)) {
|
|
5480
|
+
return obj;
|
|
5481
|
+
}
|
|
5432
5482
|
for (const key in obj) {
|
|
5433
5483
|
if (!hasOwn(obj, key)) {
|
|
5434
5484
|
continue;
|
|
@@ -5459,11 +5509,20 @@ function handleFlatJson(obj) {
|
|
|
5459
5509
|
currentObj = currentObj[subKeys[i]];
|
|
5460
5510
|
}
|
|
5461
5511
|
if (!hasStringValue) {
|
|
5462
|
-
currentObj
|
|
5463
|
-
|
|
5512
|
+
if (!isMessageAST(currentObj)) {
|
|
5513
|
+
currentObj[subKeys[lastIndex]] = obj[key];
|
|
5514
|
+
delete obj[key];
|
|
5515
|
+
} else {
|
|
5516
|
+
if (!AST_NODE_PROPS_KEYS.includes(subKeys[lastIndex])) {
|
|
5517
|
+
delete obj[key];
|
|
5518
|
+
}
|
|
5519
|
+
}
|
|
5464
5520
|
}
|
|
5465
|
-
if (
|
|
5466
|
-
|
|
5521
|
+
if (!isMessageAST(currentObj)) {
|
|
5522
|
+
const target = currentObj[subKeys[lastIndex]];
|
|
5523
|
+
if (isObject$2(target)) {
|
|
5524
|
+
handleFlatJson(target);
|
|
5525
|
+
}
|
|
5467
5526
|
}
|
|
5468
5527
|
}
|
|
5469
5528
|
}
|
|
@@ -7654,7 +7713,7 @@ if (__INTLIFY_JIT_COMPILATION__) {
|
|
|
7654
7713
|
} else {
|
|
7655
7714
|
registerMessageCompiler(compileToFunction);
|
|
7656
7715
|
}
|
|
7657
|
-
registerMessageResolver(resolveValue
|
|
7716
|
+
registerMessageResolver(resolveValue);
|
|
7658
7717
|
registerLocaleFallbacker(fallbackWithLocaleChain);
|
|
7659
7718
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
7660
7719
|
const target = getGlobalThis();
|
|
@@ -8692,7 +8751,7 @@ const emitEvent = (evtName, payload) => emitter.emit(evtName, payload);
|
|
|
8692
8751
|
const offEvent = (evtName, handler) => emitter.off(evtName, void 0);
|
|
8693
8752
|
function isPhone() {
|
|
8694
8753
|
if (typeof window !== "undefined" && window.navigator) {
|
|
8695
|
-
const flag = /
|
|
8754
|
+
const flag = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent);
|
|
8696
8755
|
return flag;
|
|
8697
8756
|
}
|
|
8698
8757
|
return false;
|
|
@@ -9361,9 +9420,10 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
9361
9420
|
]),
|
|
9362
9421
|
default: withCtx(() => [
|
|
9363
9422
|
createElementVNode("div", {
|
|
9423
|
+
id: "guide-step4",
|
|
9364
9424
|
class: "home-nav-link tools-questionnaire",
|
|
9365
9425
|
onClick: toggleGrowthCenter
|
|
9366
|
-
}, _cache[6] || (_cache[6] = [
|
|
9426
|
+
}, [..._cache[6] || (_cache[6] = [
|
|
9367
9427
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
9368
9428
|
createElementVNode("img", {
|
|
9369
9429
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
@@ -9371,7 +9431,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
9371
9431
|
alt: ""
|
|
9372
9432
|
})
|
|
9373
9433
|
], -1)
|
|
9374
|
-
]))
|
|
9434
|
+
])])
|
|
9375
9435
|
]),
|
|
9376
9436
|
_: 1
|
|
9377
9437
|
})) : createCommentVNode("", true),
|
|
@@ -9394,7 +9454,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
9394
9454
|
id: "gitcode-desk-btn",
|
|
9395
9455
|
class: "home-nav-item kefu",
|
|
9396
9456
|
onClick: showDesk
|
|
9397
|
-
}, _cache[7] || (_cache[7] = [
|
|
9457
|
+
}, [..._cache[7] || (_cache[7] = [
|
|
9398
9458
|
createElementVNode("img", {
|
|
9399
9459
|
class: "inline-block h-[20px] w-[20px]",
|
|
9400
9460
|
src: "https://cdn-static.gitcode.com/static/images/desk/kefu.png",
|
|
@@ -9404,7 +9464,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
9404
9464
|
createElementVNode("div", null, "客"),
|
|
9405
9465
|
createElementVNode("div", null, "服")
|
|
9406
9466
|
], -1)
|
|
9407
|
-
]))
|
|
9467
|
+
])])
|
|
9408
9468
|
])
|
|
9409
9469
|
]),
|
|
9410
9470
|
_: 1
|
|
@@ -9457,9 +9517,9 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
9457
9517
|
key: item.index,
|
|
9458
9518
|
class: normalizeClass(["tab-item w-8 h-1 mr-1 cursor-pointer", opinionStep.value === item.index ? "bg-[var(--theme-home-step-active-bg)]" : "bg-[var(--theme-home-step-bg)]"]),
|
|
9459
9519
|
onClick: ($event) => swTab(item)
|
|
9460
|
-
}, _cache[11] || (_cache[11] = [
|
|
9520
|
+
}, [..._cache[11] || (_cache[11] = [
|
|
9461
9521
|
createElementVNode("span", { class: "cursor-pointer" }, null, -1)
|
|
9462
|
-
]), 10, _hoisted_18$2);
|
|
9522
|
+
])], 10, _hoisted_18$2);
|
|
9463
9523
|
}), 64))
|
|
9464
9524
|
]),
|
|
9465
9525
|
createElementVNode("div", null, [
|
|
@@ -9541,7 +9601,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
9541
9601
|
trigger: "hover",
|
|
9542
9602
|
offset: { mainAxis: 22, crossAxis: 0 }
|
|
9543
9603
|
}, {
|
|
9544
|
-
default: withCtx(() => _cache[10] || (_cache[10] = [
|
|
9604
|
+
default: withCtx(() => [..._cache[10] || (_cache[10] = [
|
|
9545
9605
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
9546
9606
|
createElementVNode("img", {
|
|
9547
9607
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
@@ -9554,7 +9614,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
9554
9614
|
alt: ""
|
|
9555
9615
|
})
|
|
9556
9616
|
], -1)
|
|
9557
|
-
])),
|
|
9617
|
+
])]),
|
|
9558
9618
|
_: 1
|
|
9559
9619
|
}, 8, ["content"])
|
|
9560
9620
|
])
|
|
@@ -9791,11 +9851,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
9791
9851
|
});
|
|
9792
9852
|
return (_ctx, _cache) => {
|
|
9793
9853
|
const _component_router_link = resolveComponent("router-link");
|
|
9794
|
-
return
|
|
9854
|
+
return __props.to && !__props.disabled ? (openBlock(), createBlock(_component_router_link, {
|
|
9795
9855
|
key: 0,
|
|
9796
|
-
class: normalizeClass(["g-link g-link-router-link", { hoverUnderline:
|
|
9797
|
-
to:
|
|
9798
|
-
target:
|
|
9856
|
+
class: normalizeClass(["g-link g-link-router-link", { hoverUnderline: __props.underline }]),
|
|
9857
|
+
to: __props.to,
|
|
9858
|
+
target: __props.target
|
|
9799
9859
|
}, {
|
|
9800
9860
|
default: withCtx(() => [
|
|
9801
9861
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -9803,10 +9863,10 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
9803
9863
|
_: 3
|
|
9804
9864
|
}, 8, ["class", "to", "target"])) : (openBlock(), createElementBlock("a", {
|
|
9805
9865
|
key: 1,
|
|
9806
|
-
class: normalizeClass(["g-link g-link-a", { hoverUnderline:
|
|
9807
|
-
href:
|
|
9808
|
-
target:
|
|
9809
|
-
disabled:
|
|
9866
|
+
class: normalizeClass(["g-link g-link-a", { hoverUnderline: __props.underline, noPointer: __props.noPointer }]),
|
|
9867
|
+
href: __props.disabled || !targetHref.value ? defaultHref.value : targetHref.value,
|
|
9868
|
+
target: __props.target,
|
|
9869
|
+
disabled: __props.disabled || __props.noPointer
|
|
9810
9870
|
}, [
|
|
9811
9871
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
9812
9872
|
], 10, _hoisted_1$y));
|
|
@@ -10407,12 +10467,12 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
10407
10467
|
key: 0,
|
|
10408
10468
|
"img-src": imgSrc.value,
|
|
10409
10469
|
name: placeholderName.value,
|
|
10410
|
-
width:
|
|
10411
|
-
height:
|
|
10412
|
-
"is-round":
|
|
10413
|
-
class: normalizeClass({ "devui-avatar-square": !
|
|
10470
|
+
width: __props.width,
|
|
10471
|
+
height: __props.height,
|
|
10472
|
+
"is-round": __props.is_round,
|
|
10473
|
+
class: normalizeClass({ "devui-avatar-square": !__props.is_round, "gavatar-custom": !imgSrc.value }),
|
|
10414
10474
|
onLoadError,
|
|
10415
|
-
style: normalizeStyle({ minWidth:
|
|
10475
|
+
style: normalizeStyle({ minWidth: __props.width + "px" })
|
|
10416
10476
|
}, null, 8, ["img-src", "name", "width", "height", "is-round", "class", "style"])) : createCommentVNode("", true);
|
|
10417
10477
|
};
|
|
10418
10478
|
}
|
|
@@ -10451,15 +10511,15 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
10451
10511
|
return openBlock(), createBlock(unref(Tooltip), {
|
|
10452
10512
|
class: "flash-tag-message",
|
|
10453
10513
|
position: ["top", "bottom"],
|
|
10454
|
-
content:
|
|
10514
|
+
content: __props.message,
|
|
10455
10515
|
"overlay-class": "flash-tag-tooltip",
|
|
10456
|
-
disabled: unref(isPhone)() ||
|
|
10516
|
+
disabled: unref(isPhone)() || __props.disabled
|
|
10457
10517
|
}, {
|
|
10458
10518
|
default: withCtx(() => [
|
|
10459
10519
|
createElementVNode("span", mergeProps({
|
|
10460
|
-
class: ["gc-flash-tag cursor-default", { "gc-trusted-tag":
|
|
10520
|
+
class: ["gc-flash-tag cursor-default", { "gc-trusted-tag": __props.trusted, "cursor-pointer": __props.clickEnabled, "cursor-default": !__props.clickEnabled, "gc-icon-tag": __props.icon }]
|
|
10461
10521
|
}, _ctx.$attrs, { onClick: handleClick }), [
|
|
10462
|
-
|
|
10522
|
+
__props.icon ? (openBlock(), createElementBlock("img", {
|
|
10463
10523
|
key: 0,
|
|
10464
10524
|
class: "w-[16px] h-[16px]",
|
|
10465
10525
|
src: iconUrl.value
|
|
@@ -10540,7 +10600,7 @@ function getAugmentedNamespace(n) {
|
|
|
10540
10600
|
return a;
|
|
10541
10601
|
}
|
|
10542
10602
|
var relativeTime$1 = { exports: {} };
|
|
10543
|
-
(function(module, exports) {
|
|
10603
|
+
(function(module, exports$1) {
|
|
10544
10604
|
!function(r, e) {
|
|
10545
10605
|
module.exports = e();
|
|
10546
10606
|
}(commonjsGlobal, function() {
|
|
@@ -11111,7 +11171,7 @@ var locale = {
|
|
|
11111
11171
|
};
|
|
11112
11172
|
dayjs.locale(locale, null, true);
|
|
11113
11173
|
var timezone = { exports: {} };
|
|
11114
|
-
(function(module, exports) {
|
|
11174
|
+
(function(module, exports$1) {
|
|
11115
11175
|
!function(t2, e) {
|
|
11116
11176
|
module.exports = e();
|
|
11117
11177
|
}(commonjsGlobal, function() {
|
|
@@ -11174,7 +11234,7 @@ var timezone = { exports: {} };
|
|
|
11174
11234
|
var timezoneExports = timezone.exports;
|
|
11175
11235
|
const tz = /* @__PURE__ */ getDefaultExportFromCjs(timezoneExports);
|
|
11176
11236
|
var utc$1 = { exports: {} };
|
|
11177
|
-
(function(module, exports) {
|
|
11237
|
+
(function(module, exports$1) {
|
|
11178
11238
|
!function(t2, i) {
|
|
11179
11239
|
module.exports = i();
|
|
11180
11240
|
}(commonjsGlobal, function() {
|
|
@@ -11190,16 +11250,16 @@ var utc$1 = { exports: {} };
|
|
|
11190
11250
|
}, u.local = function() {
|
|
11191
11251
|
return n(this.toDate(), { locale: this.$L, utc: false });
|
|
11192
11252
|
};
|
|
11193
|
-
var
|
|
11253
|
+
var r = u.parse;
|
|
11194
11254
|
u.parse = function(t3) {
|
|
11195
|
-
t3.utc && (this.$u = true), this.$utils().u(t3.$offset) || (this.$offset = t3.$offset),
|
|
11255
|
+
t3.utc && (this.$u = true), this.$utils().u(t3.$offset) || (this.$offset = t3.$offset), r.call(this, t3);
|
|
11196
11256
|
};
|
|
11197
|
-
var
|
|
11257
|
+
var o = u.init;
|
|
11198
11258
|
u.init = function() {
|
|
11199
11259
|
if (this.$u) {
|
|
11200
11260
|
var t3 = this.$d;
|
|
11201
11261
|
this.$y = t3.getUTCFullYear(), this.$M = t3.getUTCMonth(), this.$D = t3.getUTCDate(), this.$W = t3.getUTCDay(), this.$H = t3.getUTCHours(), this.$m = t3.getUTCMinutes(), this.$s = t3.getUTCSeconds(), this.$ms = t3.getUTCMilliseconds();
|
|
11202
|
-
} else
|
|
11262
|
+
} else o.call(this);
|
|
11203
11263
|
};
|
|
11204
11264
|
var a = u.utcOffset;
|
|
11205
11265
|
u.utcOffset = function(s2, f2) {
|
|
@@ -11212,13 +11272,12 @@ var utc$1 = { exports: {} };
|
|
|
11212
11272
|
var f3 = ("" + s3[0]).match(e) || ["-", 0, 0], n3 = f3[0], u3 = 60 * +f3[1] + +f3[2];
|
|
11213
11273
|
return 0 === u3 ? 0 : "+" === n3 ? u3 : -u3;
|
|
11214
11274
|
}(s2), null === s2)) return this;
|
|
11215
|
-
var u2 = Math.abs(s2) <= 16 ? 60 * s2 : s2
|
|
11216
|
-
if (
|
|
11217
|
-
|
|
11218
|
-
|
|
11219
|
-
|
|
11220
|
-
|
|
11221
|
-
return o2;
|
|
11275
|
+
var u2 = Math.abs(s2) <= 16 ? 60 * s2 : s2;
|
|
11276
|
+
if (0 === u2) return this.utc(f2);
|
|
11277
|
+
var r2 = this.clone();
|
|
11278
|
+
if (f2) return r2.$offset = u2, r2.$u = false, r2;
|
|
11279
|
+
var o2 = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
11280
|
+
return (r2 = this.local().add(u2 + o2, t2)).$offset = u2, r2.$x.$localOffset = o2, r2;
|
|
11222
11281
|
};
|
|
11223
11282
|
var h2 = u.format;
|
|
11224
11283
|
u.format = function(t3) {
|
|
@@ -11448,7 +11507,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11448
11507
|
});
|
|
11449
11508
|
return (_ctx, _cache) => {
|
|
11450
11509
|
var _a, _b;
|
|
11451
|
-
return
|
|
11510
|
+
return __props.scene === unref(SceneValue).org && !__props.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
11452
11511
|
createVNode(GLink, {
|
|
11453
11512
|
to: { name: "homepage" },
|
|
11454
11513
|
class: "flex flex-1 items-center gap-[8px]"
|
|
@@ -11472,21 +11531,21 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11472
11531
|
createVNode(unref(Button), {
|
|
11473
11532
|
onClick: _cache[0] || (_cache[0] = ($event) => {
|
|
11474
11533
|
var _a2;
|
|
11475
|
-
return handleOrgFollow((_a2 =
|
|
11534
|
+
return handleOrgFollow((_a2 = __props.orgProps) == null ? void 0 : _a2.isOrgFollow);
|
|
11476
11535
|
}),
|
|
11477
11536
|
class: "org-layout-toolbar-follow"
|
|
11478
11537
|
}, {
|
|
11479
11538
|
default: withCtx(() => {
|
|
11480
11539
|
var _a2;
|
|
11481
11540
|
return [
|
|
11482
|
-
createElementVNode("span", _hoisted_3$m, toDisplayString$1(((_a2 =
|
|
11541
|
+
createElementVNode("span", _hoisted_3$m, toDisplayString$1(((_a2 = __props.orgProps) == null ? void 0 : _a2.isOrgFollow) ? unref(t2)("gitCodeLayout.home.alreadyFollowed") : unref(t2)("gitCodeLayout.home.focusOn")), 1)
|
|
11483
11542
|
];
|
|
11484
11543
|
}),
|
|
11485
11544
|
_: 1
|
|
11486
11545
|
})
|
|
11487
|
-
])) :
|
|
11546
|
+
])) : __props.scene === unref(SceneValue).repo && !__props.errorCode ? (openBlock(), createBlock(unref(Skeleton), {
|
|
11488
11547
|
key: 1,
|
|
11489
|
-
loading: (_a =
|
|
11548
|
+
loading: (_a = __props.repoProps) == null ? void 0 : _a.repoNameLoading,
|
|
11490
11549
|
rows: 1
|
|
11491
11550
|
}, {
|
|
11492
11551
|
placeholder: withCtx(() => [
|
|
@@ -11509,7 +11568,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11509
11568
|
default: withCtx(() => {
|
|
11510
11569
|
var _a3, _b3, _c2, _d2;
|
|
11511
11570
|
return [
|
|
11512
|
-
!((_a3 =
|
|
11571
|
+
!((_a3 = __props.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$E, {
|
|
11513
11572
|
key: 0,
|
|
11514
11573
|
class: normalizeClass({ "g-border": isOrg.value }),
|
|
11515
11574
|
src: (_c2 = (_b3 = unref(repoInfo)) == null ? void 0 : _b3.namespace) == null ? void 0 : _c2.avatar_url,
|
|
@@ -11525,7 +11584,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11525
11584
|
_: 1
|
|
11526
11585
|
}, 8, ["href"]),
|
|
11527
11586
|
createElementVNode("div", _hoisted_8$7, [
|
|
11528
|
-
!((_b2 =
|
|
11587
|
+
!((_b2 = __props.repoProps) == null ? void 0 : _b2.isGhMirrors) ? (openBlock(), createElementBlock("div", {
|
|
11529
11588
|
key: 0,
|
|
11530
11589
|
ref_key: "breadcrumbRef",
|
|
11531
11590
|
ref: breadcrumbRef,
|
|
@@ -11560,7 +11619,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11560
11619
|
key: 1,
|
|
11561
11620
|
ref_key: "breadcrumbNextRef",
|
|
11562
11621
|
ref: breadcrumbNextRef,
|
|
11563
|
-
class: normalizeClass(["g-repo-layout-breadcrumb-next max-md:w-full flex items-end gap-[8px]", [((_c =
|
|
11622
|
+
class: normalizeClass(["g-repo-layout-breadcrumb-next max-md:w-full flex items-end gap-[8px]", [((_c = __props.repoProps) == null ? void 0 : _c.isGhMirrors) ? "max-w-full" : "max-w-[60%]"]])
|
|
11564
11623
|
}, [
|
|
11565
11624
|
createVNode(GLink, {
|
|
11566
11625
|
class: "linkTx",
|
|
@@ -11583,9 +11642,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11583
11642
|
type: "gstar",
|
|
11584
11643
|
message: `G-Star ${unref(t2)("gitCodeLayout.GStar.project.graduation")}`
|
|
11585
11644
|
}, {
|
|
11586
|
-
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
11587
|
-
createTextVNode("G-Star ")
|
|
11588
|
-
])),
|
|
11645
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
11646
|
+
createTextVNode("G-Star ", -1)
|
|
11647
|
+
])]),
|
|
11589
11648
|
_: 1
|
|
11590
11649
|
}, 8, ["message"])
|
|
11591
11650
|
])) : unref(isIncubationRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
|
|
@@ -11595,9 +11654,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11595
11654
|
type: "incubation",
|
|
11596
11655
|
message: `G-Star ${unref(t2)("gitCodeLayout.GStar.project.incubation")}`
|
|
11597
11656
|
}, {
|
|
11598
|
-
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
11599
|
-
createTextVNode(" G-Star ")
|
|
11600
|
-
])),
|
|
11657
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
11658
|
+
createTextVNode(" G-Star ", -1)
|
|
11659
|
+
])]),
|
|
11601
11660
|
_: 1
|
|
11602
11661
|
}, 8, ["message"])
|
|
11603
11662
|
])) : createCommentVNode("", true),
|
|
@@ -11610,7 +11669,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11610
11669
|
href: "/trusted"
|
|
11611
11670
|
}, null, 8, ["message"])
|
|
11612
11671
|
])) : createCommentVNode("", true),
|
|
11613
|
-
((_d =
|
|
11672
|
+
((_d = __props.repoProps) == null ? void 0 : _d.isPrivate) ? (openBlock(), createElementBlock("div", _hoisted_15$1, [
|
|
11614
11673
|
createVNode(GIcon, {
|
|
11615
11674
|
size: "16px",
|
|
11616
11675
|
class: "ml-[4px]",
|
|
@@ -11629,7 +11688,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11629
11688
|
}, null, 8, ["name"]),
|
|
11630
11689
|
createElementVNode("span", _hoisted_16$1, toDisplayString$1((_f = topicTag.value) == null ? void 0 : _f.suffix), 1)
|
|
11631
11690
|
])) : createCommentVNode("", true),
|
|
11632
|
-
((_g =
|
|
11691
|
+
((_g = __props.repoProps) == null ? void 0 : _g.isGhMirrors) && showTimeTopic.value && !unref(isPhone)() ? (openBlock(), createElementBlock("div", _hoisted_17$1, [
|
|
11633
11692
|
createVNode(GIcon, {
|
|
11634
11693
|
name: "gt-line-time",
|
|
11635
11694
|
color: "var(--devui-shape-icon-fill)",
|
|
@@ -11643,7 +11702,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11643
11702
|
];
|
|
11644
11703
|
}),
|
|
11645
11704
|
_: 1
|
|
11646
|
-
}, 8, ["loading"])) :
|
|
11705
|
+
}, 8, ["loading"])) : __props.scene === unref(SceneValue).user && ((_b = __props.userProps) == null ? void 0 : _b.isOtherUser) ? (openBlock(), createElementBlock("div", _hoisted_20$1, [
|
|
11647
11706
|
createVNode(GLink, {
|
|
11648
11707
|
to: { name: "homepage" },
|
|
11649
11708
|
class: "flex flex-1 items-center gap-[8px]"
|
|
@@ -11752,7 +11811,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
11752
11811
|
onClick: handleClick
|
|
11753
11812
|
}, [
|
|
11754
11813
|
createElementVNode("img", {
|
|
11755
|
-
src:
|
|
11814
|
+
src: __props.config.logo_url,
|
|
11756
11815
|
alt: "claim power"
|
|
11757
11816
|
}, null, 8, _hoisted_1$u)
|
|
11758
11817
|
])) : createCommentVNode("", true);
|
|
@@ -11806,7 +11865,7 @@ var hasRequiredCore;
|
|
|
11806
11865
|
function requireCore() {
|
|
11807
11866
|
if (hasRequiredCore) return core.exports;
|
|
11808
11867
|
hasRequiredCore = 1;
|
|
11809
|
-
(function(module, exports) {
|
|
11868
|
+
(function(module, exports$1) {
|
|
11810
11869
|
(function(root, factory) {
|
|
11811
11870
|
{
|
|
11812
11871
|
module.exports = factory();
|
|
@@ -12413,7 +12472,7 @@ var hasRequiredEncBase64;
|
|
|
12413
12472
|
function requireEncBase64() {
|
|
12414
12473
|
if (hasRequiredEncBase64) return encBase64.exports;
|
|
12415
12474
|
hasRequiredEncBase64 = 1;
|
|
12416
|
-
(function(module, exports) {
|
|
12475
|
+
(function(module, exports$1) {
|
|
12417
12476
|
(function(root, factory) {
|
|
12418
12477
|
{
|
|
12419
12478
|
module.exports = factory(requireCore());
|
|
@@ -12520,7 +12579,7 @@ var hasRequiredMd5;
|
|
|
12520
12579
|
function requireMd5() {
|
|
12521
12580
|
if (hasRequiredMd5) return md5.exports;
|
|
12522
12581
|
hasRequiredMd5 = 1;
|
|
12523
|
-
(function(module, exports) {
|
|
12582
|
+
(function(module, exports$1) {
|
|
12524
12583
|
(function(root, factory) {
|
|
12525
12584
|
{
|
|
12526
12585
|
module.exports = factory(requireCore());
|
|
@@ -12699,7 +12758,7 @@ var hasRequiredSha1;
|
|
|
12699
12758
|
function requireSha1() {
|
|
12700
12759
|
if (hasRequiredSha1) return sha1.exports;
|
|
12701
12760
|
hasRequiredSha1 = 1;
|
|
12702
|
-
(function(module, exports) {
|
|
12761
|
+
(function(module, exports$1) {
|
|
12703
12762
|
(function(root, factory) {
|
|
12704
12763
|
{
|
|
12705
12764
|
module.exports = factory(requireCore());
|
|
@@ -12789,7 +12848,7 @@ var hasRequiredHmac;
|
|
|
12789
12848
|
function requireHmac() {
|
|
12790
12849
|
if (hasRequiredHmac) return hmac.exports;
|
|
12791
12850
|
hasRequiredHmac = 1;
|
|
12792
|
-
(function(module, exports) {
|
|
12851
|
+
(function(module, exports$1) {
|
|
12793
12852
|
(function(root, factory) {
|
|
12794
12853
|
{
|
|
12795
12854
|
module.exports = factory(requireCore());
|
|
@@ -12894,7 +12953,7 @@ var hasRequiredEvpkdf;
|
|
|
12894
12953
|
function requireEvpkdf() {
|
|
12895
12954
|
if (hasRequiredEvpkdf) return evpkdf.exports;
|
|
12896
12955
|
hasRequiredEvpkdf = 1;
|
|
12897
|
-
(function(module, exports) {
|
|
12956
|
+
(function(module, exports$1) {
|
|
12898
12957
|
(function(root, factory, undef) {
|
|
12899
12958
|
{
|
|
12900
12959
|
module.exports = factory(requireCore(), requireSha1(), requireHmac());
|
|
@@ -12984,7 +13043,7 @@ var hasRequiredCipherCore;
|
|
|
12984
13043
|
function requireCipherCore() {
|
|
12985
13044
|
if (hasRequiredCipherCore) return cipherCore.exports;
|
|
12986
13045
|
hasRequiredCipherCore = 1;
|
|
12987
|
-
(function(module, exports) {
|
|
13046
|
+
(function(module, exports$1) {
|
|
12988
13047
|
(function(root, factory, undef) {
|
|
12989
13048
|
{
|
|
12990
13049
|
module.exports = factory(requireCore(), requireEvpkdf());
|
|
@@ -13543,11 +13602,15 @@ function requireCipherCore() {
|
|
|
13543
13602
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
|
|
13544
13603
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
|
|
13545
13604
|
*/
|
|
13546
|
-
execute: function(password, keySize, ivSize, salt) {
|
|
13605
|
+
execute: function(password, keySize, ivSize, salt, hasher) {
|
|
13547
13606
|
if (!salt) {
|
|
13548
13607
|
salt = WordArray.random(64 / 8);
|
|
13549
13608
|
}
|
|
13550
|
-
|
|
13609
|
+
if (!hasher) {
|
|
13610
|
+
var key = EvpKDF.create({ keySize: keySize + ivSize }).compute(password, salt);
|
|
13611
|
+
} else {
|
|
13612
|
+
var key = EvpKDF.create({ keySize: keySize + ivSize, hasher }).compute(password, salt);
|
|
13613
|
+
}
|
|
13551
13614
|
var iv = WordArray.create(key.words.slice(keySize), ivSize * 4);
|
|
13552
13615
|
key.sigBytes = keySize * 4;
|
|
13553
13616
|
return CipherParams.create({ key, iv, salt });
|
|
@@ -13581,7 +13644,7 @@ function requireCipherCore() {
|
|
|
13581
13644
|
*/
|
|
13582
13645
|
encrypt: function(cipher, message, password, cfg) {
|
|
13583
13646
|
cfg = this.cfg.extend(cfg);
|
|
13584
|
-
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize);
|
|
13647
|
+
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, cfg.salt, cfg.hasher);
|
|
13585
13648
|
cfg.iv = derivedParams.iv;
|
|
13586
13649
|
var ciphertext = SerializableCipher.encrypt.call(this, cipher, message, derivedParams.key, cfg);
|
|
13587
13650
|
ciphertext.mixIn(derivedParams);
|
|
@@ -13607,7 +13670,7 @@ function requireCipherCore() {
|
|
|
13607
13670
|
decrypt: function(cipher, ciphertext, password, cfg) {
|
|
13608
13671
|
cfg = this.cfg.extend(cfg);
|
|
13609
13672
|
ciphertext = this._parse(ciphertext, cfg.format);
|
|
13610
|
-
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt);
|
|
13673
|
+
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt, cfg.hasher);
|
|
13611
13674
|
cfg.iv = derivedParams.iv;
|
|
13612
13675
|
var plaintext = SerializableCipher.decrypt.call(this, cipher, ciphertext, derivedParams.key, cfg);
|
|
13613
13676
|
return plaintext;
|
|
@@ -13618,7 +13681,7 @@ function requireCipherCore() {
|
|
|
13618
13681
|
})(cipherCore);
|
|
13619
13682
|
return cipherCore.exports;
|
|
13620
13683
|
}
|
|
13621
|
-
(function(module, exports) {
|
|
13684
|
+
(function(module, exports$1) {
|
|
13622
13685
|
(function(root, factory, undef) {
|
|
13623
13686
|
{
|
|
13624
13687
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
@@ -13767,7 +13830,7 @@ function requireCipherCore() {
|
|
|
13767
13830
|
var aesExports = aes.exports;
|
|
13768
13831
|
const AES = /* @__PURE__ */ getDefaultExportFromCjs(aesExports);
|
|
13769
13832
|
var padPkcs7 = { exports: {} };
|
|
13770
|
-
(function(module, exports) {
|
|
13833
|
+
(function(module, exports$1) {
|
|
13771
13834
|
(function(root, factory, undef) {
|
|
13772
13835
|
{
|
|
13773
13836
|
module.exports = factory(requireCore(), requireCipherCore());
|
|
@@ -13779,7 +13842,7 @@ var padPkcs7 = { exports: {} };
|
|
|
13779
13842
|
var padPkcs7Exports = padPkcs7.exports;
|
|
13780
13843
|
const Pkcs7 = /* @__PURE__ */ getDefaultExportFromCjs(padPkcs7Exports);
|
|
13781
13844
|
var encUtf8 = { exports: {} };
|
|
13782
|
-
(function(module, exports) {
|
|
13845
|
+
(function(module, exports$1) {
|
|
13783
13846
|
(function(root, factory) {
|
|
13784
13847
|
{
|
|
13785
13848
|
module.exports = factory(requireCore());
|
|
@@ -13945,6 +14008,15 @@ function headRequest(request) {
|
|
|
13945
14008
|
data
|
|
13946
14009
|
});
|
|
13947
14010
|
},
|
|
14011
|
+
/** 启悟社区-是否开启启悟oauth登录 */
|
|
14012
|
+
getCampusWelcomeConfig() {
|
|
14013
|
+
return reqCatch(
|
|
14014
|
+
() => request({
|
|
14015
|
+
url: `/api/v1/search/common/config/campus_welcome_page`,
|
|
14016
|
+
method: "get"
|
|
14017
|
+
})
|
|
14018
|
+
);
|
|
14019
|
+
},
|
|
13948
14020
|
/** 获取gitcode手机号验证码 */
|
|
13949
14021
|
verifyRegisterCode(data) {
|
|
13950
14022
|
const { mobile, type, raw_data, captchaId, token, authenticate, validate } = data;
|
|
@@ -14249,9 +14321,15 @@ const _sfc_main$y = /* @__PURE__ */ Object.assign({
|
|
|
14249
14321
|
isCreateOrg: {
|
|
14250
14322
|
type: Boolean,
|
|
14251
14323
|
default: true
|
|
14324
|
+
},
|
|
14325
|
+
/** 由外部控制下拉是否展开;建议配合 v-model:dropdownVisible 使用 */
|
|
14326
|
+
dropdownVisible: {
|
|
14327
|
+
type: Boolean,
|
|
14328
|
+
default: false
|
|
14252
14329
|
}
|
|
14253
14330
|
},
|
|
14254
|
-
|
|
14331
|
+
emits: ["update:dropdownVisible"],
|
|
14332
|
+
setup(__props, { emit: __emit }) {
|
|
14255
14333
|
const layoutConfig2 = useLayoutConfig();
|
|
14256
14334
|
const API = headRequest(inject("request"));
|
|
14257
14335
|
const getUserCreateOrg = async (user) => {
|
|
@@ -14264,6 +14342,20 @@ const _sfc_main$y = /* @__PURE__ */ Object.assign({
|
|
|
14264
14342
|
num
|
|
14265
14343
|
};
|
|
14266
14344
|
};
|
|
14345
|
+
const props = __props;
|
|
14346
|
+
const emit = __emit;
|
|
14347
|
+
const innerDropdownVisible = ref(false);
|
|
14348
|
+
watch(
|
|
14349
|
+
() => props.dropdownVisible,
|
|
14350
|
+
(isOpen) => {
|
|
14351
|
+
innerDropdownVisible.value = isOpen;
|
|
14352
|
+
},
|
|
14353
|
+
{ immediate: true }
|
|
14354
|
+
);
|
|
14355
|
+
const handleDropdownToggle = (visible) => {
|
|
14356
|
+
innerDropdownVisible.value = visible;
|
|
14357
|
+
emit("update:dropdownVisible", visible);
|
|
14358
|
+
};
|
|
14267
14359
|
const { t: $t } = i18n.global;
|
|
14268
14360
|
const linkList = ref([
|
|
14269
14361
|
{ label: $t("gitCodeLayout.header.createRepo"), href: `${layoutConfig2.VITE_HOST}/create?position=nav_top` },
|
|
@@ -14290,16 +14382,18 @@ const _sfc_main$y = /* @__PURE__ */ Object.assign({
|
|
|
14290
14382
|
return openBlock(), createBlock(unref(Dropdown), {
|
|
14291
14383
|
class: "g-header-create",
|
|
14292
14384
|
position: ["bottom-end"],
|
|
14293
|
-
align: "end"
|
|
14385
|
+
align: "end",
|
|
14386
|
+
visible: innerDropdownVisible.value,
|
|
14387
|
+
onToggle: handleDropdownToggle,
|
|
14388
|
+
"overlay-class": "repo-guide-step3-menu"
|
|
14294
14389
|
}, {
|
|
14295
14390
|
menu: withCtx(() => [
|
|
14296
14391
|
createElementVNode("div", null, [
|
|
14297
14392
|
(openBlock(true), createElementBlock(Fragment, null, renderList(linkList.value, (item) => {
|
|
14298
14393
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
14299
14394
|
item.show !== false ? (openBlock(), createBlock(OptionLink, mergeProps({
|
|
14300
|
-
key: item.label
|
|
14301
|
-
|
|
14302
|
-
}, item, {
|
|
14395
|
+
key: item.label
|
|
14396
|
+
}, { ref_for: true }, item, {
|
|
14303
14397
|
onClick: ($event) => handleClick(item)
|
|
14304
14398
|
}), {
|
|
14305
14399
|
default: withCtx(() => [
|
|
@@ -14313,6 +14407,7 @@ const _sfc_main$y = /* @__PURE__ */ Object.assign({
|
|
|
14313
14407
|
]),
|
|
14314
14408
|
default: withCtx(() => [
|
|
14315
14409
|
createVNode(unref(Button), {
|
|
14410
|
+
id: "guide-step3",
|
|
14316
14411
|
class: "border-none w-84 h-32 btn-add",
|
|
14317
14412
|
variant: "solid"
|
|
14318
14413
|
}, {
|
|
@@ -14328,7 +14423,7 @@ const _sfc_main$y = /* @__PURE__ */ Object.assign({
|
|
|
14328
14423
|
})
|
|
14329
14424
|
]),
|
|
14330
14425
|
_: 1
|
|
14331
|
-
});
|
|
14426
|
+
}, 8, ["visible"]);
|
|
14332
14427
|
};
|
|
14333
14428
|
}
|
|
14334
14429
|
});
|
|
@@ -14346,7 +14441,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
14346
14441
|
return (_ctx, _cache) => {
|
|
14347
14442
|
return openBlock(), createBlock(GLink, {
|
|
14348
14443
|
variant: "text",
|
|
14349
|
-
class: normalizeClass(["g-toolbar-docs",
|
|
14444
|
+
class: normalizeClass(["g-toolbar-docs", __props.whiteColor ? "white" : "black"]),
|
|
14350
14445
|
href: unref(currentHelpDocsAiCommunityUrl)(),
|
|
14351
14446
|
target: "_blank"
|
|
14352
14447
|
}, {
|
|
@@ -14426,7 +14521,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
14426
14521
|
style: normalizeStyle({ "-webkit-line-clamp": (_b = finalConfig.value) == null ? void 0 : _b.line })
|
|
14427
14522
|
}, [
|
|
14428
14523
|
createVNode(unref(Tooltip), {
|
|
14429
|
-
position:
|
|
14524
|
+
position: __props.position,
|
|
14430
14525
|
disabled: !content.value || !((_c = finalConfig.value) == null ? void 0 : _c.tooltip),
|
|
14431
14526
|
content: content.value
|
|
14432
14527
|
}, {
|
|
@@ -14473,16 +14568,16 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
14473
14568
|
createElementVNode("div", _hoisted_2$m, [
|
|
14474
14569
|
createElementVNode("div", {
|
|
14475
14570
|
class: "flex items-center",
|
|
14476
|
-
title:
|
|
14571
|
+
title: __props.data.nickname
|
|
14477
14572
|
}, [
|
|
14478
14573
|
createElementVNode("a", {
|
|
14479
|
-
href: unref(transformUrl)((_a =
|
|
14574
|
+
href: unref(transformUrl)((_a = __props.data) == null ? void 0 : _a.userPath),
|
|
14480
14575
|
target: "_blank",
|
|
14481
14576
|
class: "user-info flex w-[48px] items-center linktx"
|
|
14482
14577
|
}, [
|
|
14483
14578
|
createVNode(_sfc_main$E, {
|
|
14484
|
-
name:
|
|
14485
|
-
src:
|
|
14579
|
+
name: __props.data.nickname,
|
|
14580
|
+
src: __props.data.avatar,
|
|
14486
14581
|
width: 32,
|
|
14487
14582
|
height: 32
|
|
14488
14583
|
}, null, 8, ["name", "src"])
|
|
@@ -14492,23 +14587,23 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
14492
14587
|
createElementVNode("div", _hoisted_5$b, [
|
|
14493
14588
|
createElementVNode("div", _hoisted_6$a, [
|
|
14494
14589
|
createVNode(GLink, {
|
|
14495
|
-
href: unref(transformUrl)(
|
|
14590
|
+
href: unref(transformUrl)(__props.data.url),
|
|
14496
14591
|
target: "_blank",
|
|
14497
|
-
class: normalizeClass(["message-item-content cursor-pointer", { "text-light":
|
|
14592
|
+
class: normalizeClass(["message-item-content cursor-pointer", { "text-light": __props.data.read }]),
|
|
14498
14593
|
onClick: _cache[0] || (_cache[0] = ($event) => emits("trigger"))
|
|
14499
14594
|
}, {
|
|
14500
14595
|
default: withCtx(() => [
|
|
14501
14596
|
createVNode(GText, { class: "devui-link linktx" }, {
|
|
14502
14597
|
default: withCtx(() => [
|
|
14503
|
-
|
|
14598
|
+
__props.data.vHtml ? (openBlock(), createElementBlock("div", {
|
|
14504
14599
|
key: 0,
|
|
14505
|
-
title:
|
|
14506
|
-
innerHTML: unref(xssPurify)(
|
|
14600
|
+
title: __props.data.title,
|
|
14601
|
+
innerHTML: unref(xssPurify)(__props.data.title) || "",
|
|
14507
14602
|
class: "overflow-hidden"
|
|
14508
14603
|
}, null, 8, _hoisted_7$7)) : (openBlock(), createElementBlock("span", {
|
|
14509
14604
|
key: 1,
|
|
14510
|
-
title:
|
|
14511
|
-
}, toDisplayString$1(
|
|
14605
|
+
title: __props.data.title
|
|
14606
|
+
}, toDisplayString$1(__props.data.title || "-"), 9, _hoisted_8$6))
|
|
14512
14607
|
]),
|
|
14513
14608
|
_: 1
|
|
14514
14609
|
})
|
|
@@ -14518,21 +14613,21 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
14518
14613
|
createElementVNode("div", _hoisted_9$4, [
|
|
14519
14614
|
createVNode(GText, null, {
|
|
14520
14615
|
default: withCtx(() => [
|
|
14521
|
-
createTextVNode(toDisplayString$1(
|
|
14616
|
+
createTextVNode(toDisplayString$1(__props.data.repo), 1)
|
|
14522
14617
|
]),
|
|
14523
14618
|
_: 1
|
|
14524
14619
|
}),
|
|
14525
|
-
_cache[1] || (_cache[1] = createTextVNode(" ")),
|
|
14620
|
+
_cache[1] || (_cache[1] = createTextVNode(" ", -1)),
|
|
14526
14621
|
createVNode(GText, { class: "message-type-text" }, {
|
|
14527
14622
|
default: withCtx(() => [
|
|
14528
|
-
createTextVNode(toDisplayString$1(
|
|
14623
|
+
createTextVNode(toDisplayString$1(__props.data.type || "-"), 1)
|
|
14529
14624
|
]),
|
|
14530
14625
|
_: 1
|
|
14531
14626
|
})
|
|
14532
14627
|
])
|
|
14533
14628
|
])
|
|
14534
14629
|
]),
|
|
14535
|
-
createElementVNode("div", _hoisted_10$4, toDisplayString$1(unref(formatTimeFromNow)(
|
|
14630
|
+
createElementVNode("div", _hoisted_10$4, toDisplayString$1(unref(formatTimeFromNow)(__props.data.time)), 1)
|
|
14536
14631
|
]);
|
|
14537
14632
|
};
|
|
14538
14633
|
}
|
|
@@ -14905,14 +15000,14 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
14905
15000
|
class: normalizeClass(["message-content-header-item mr-[8px]", { active: mentionSubTab.value === "project" }]),
|
|
14906
15001
|
onClick: _cache[2] || (_cache[2] = ($event) => switchMentionSubTab("project"))
|
|
14907
15002
|
}, [
|
|
14908
|
-
_cache[6] || (_cache[6] = createTextVNode(" 项目相关 ")),
|
|
15003
|
+
_cache[6] || (_cache[6] = createTextVNode(" 项目相关 ", -1)),
|
|
14909
15004
|
mentionSubTabCount.value.project > 0 ? (openBlock(), createElementBlock("span", _hoisted_7$6, toDisplayString$1(mentionSubTabCount.value.project), 1)) : createCommentVNode("", true)
|
|
14910
15005
|
], 2),
|
|
14911
15006
|
createElementVNode("div", {
|
|
14912
15007
|
class: normalizeClass(["message-content-header-item", { active: mentionSubTab.value === "discussion" }]),
|
|
14913
15008
|
onClick: _cache[3] || (_cache[3] = ($event) => switchMentionSubTab("discussion"))
|
|
14914
15009
|
}, [
|
|
14915
|
-
_cache[7] || (_cache[7] = createTextVNode(" 在线讨论 ")),
|
|
15010
|
+
_cache[7] || (_cache[7] = createTextVNode(" 在线讨论 ", -1)),
|
|
14916
15011
|
mentionSubTabCount.value.discussion > 0 ? (openBlock(), createElementBlock("span", _hoisted_8$5, toDisplayString$1(mentionSubTabCount.value.discussion), 1)) : createCommentVNode("", true)
|
|
14917
15012
|
], 2)
|
|
14918
15013
|
])) : createCommentVNode("", true),
|
|
@@ -15342,14 +15437,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
15342
15437
|
}, [
|
|
15343
15438
|
createVNode(GLink, {
|
|
15344
15439
|
class: "g-user-drawer-info pl-[32px] pr-[16px] cursor-pointer",
|
|
15345
|
-
href: `${unref(layoutConfig2).VITE_HOST}/${
|
|
15440
|
+
href: `${unref(layoutConfig2).VITE_HOST}/${__props.accountInfo.username}`,
|
|
15346
15441
|
key: "myPage",
|
|
15347
|
-
target:
|
|
15442
|
+
target: __props.isChatBot ? "_blank" : ""
|
|
15348
15443
|
}, {
|
|
15349
15444
|
default: withCtx(() => [
|
|
15350
15445
|
createVNode(_sfc_main$E, {
|
|
15351
|
-
name:
|
|
15352
|
-
src:
|
|
15446
|
+
name: __props.accountInfo.nickname,
|
|
15447
|
+
src: __props.accountInfo.avatar,
|
|
15353
15448
|
width: 52,
|
|
15354
15449
|
height: 52
|
|
15355
15450
|
}, null, 8, ["name", "src"]),
|
|
@@ -15357,12 +15452,12 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
15357
15452
|
createElementVNode("div", _hoisted_2$j, [
|
|
15358
15453
|
createElementVNode("p", {
|
|
15359
15454
|
class: "g-user-drawer-info-list-name ellipsis",
|
|
15360
|
-
title:
|
|
15361
|
-
}, toDisplayString$1(
|
|
15455
|
+
title: __props.accountInfo.nickname
|
|
15456
|
+
}, toDisplayString$1(__props.accountInfo.nickname), 9, _hoisted_3$i),
|
|
15362
15457
|
createElementVNode("p", {
|
|
15363
15458
|
class: "g-user-drawer-info-list-id ellipsis",
|
|
15364
|
-
title:
|
|
15365
|
-
}, "@" + toDisplayString$1(
|
|
15459
|
+
title: __props.accountInfo.username
|
|
15460
|
+
}, "@" + toDisplayString$1(__props.accountInfo.username), 9, _hoisted_4$d)
|
|
15366
15461
|
]),
|
|
15367
15462
|
createVNode(GIcon, {
|
|
15368
15463
|
name: "gt-line-right",
|
|
@@ -15372,24 +15467,23 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
15372
15467
|
]),
|
|
15373
15468
|
_: 1
|
|
15374
15469
|
}, 8, ["href", "target"]),
|
|
15375
|
-
!
|
|
15470
|
+
!__props.inAIHub ? (openBlock(), createBlock(UserLevel, {
|
|
15376
15471
|
key: 0,
|
|
15377
|
-
accountInfo:
|
|
15472
|
+
accountInfo: __props.accountInfo
|
|
15378
15473
|
}, null, 8, ["accountInfo"])) : createCommentVNode("", true),
|
|
15379
15474
|
(openBlock(true), createElementBlock(Fragment, null, renderList(userMenuList.value, (block, index2) => {
|
|
15380
15475
|
return openBlock(), createElementBlock("div", {
|
|
15381
|
-
class: normalizeClass(["g-user-drawer-block", { "!pt-[0px]": index2 === 0 &&
|
|
15476
|
+
class: normalizeClass(["g-user-drawer-block", { "!pt-[0px]": index2 === 0 && __props.inAIHub }]),
|
|
15382
15477
|
key: index2
|
|
15383
15478
|
}, [
|
|
15384
15479
|
block.component ? (openBlock(), createBlock(resolveDynamicComponent(block.component), {
|
|
15385
15480
|
key: block.id
|
|
15386
15481
|
})) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(block, (item) => {
|
|
15387
15482
|
return openBlock(), createBlock(OptionLink, mergeProps({
|
|
15388
|
-
key: item.id
|
|
15389
|
-
|
|
15390
|
-
}, item, {
|
|
15483
|
+
key: item.id
|
|
15484
|
+
}, { ref_for: true }, item, {
|
|
15391
15485
|
onClick: ($event) => handleClick(item),
|
|
15392
|
-
target:
|
|
15486
|
+
target: __props.isChatBot && !item.action ? "_blank" : item.target || ""
|
|
15393
15487
|
}), {
|
|
15394
15488
|
default: withCtx(() => [
|
|
15395
15489
|
item.icon ? (openBlock(), createBlock(GIcon, {
|
|
@@ -15558,9 +15652,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
15558
15652
|
name: accountInfo.value.nickname,
|
|
15559
15653
|
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
15560
15654
|
}, null, 8, ["name", "src"]),
|
|
15561
|
-
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$i, _cache[4] || (_cache[4] = [
|
|
15655
|
+
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$i, [..._cache[4] || (_cache[4] = [
|
|
15562
15656
|
createElementVNode("div", null, null, -1)
|
|
15563
|
-
]))) : createCommentVNode("", true)
|
|
15657
|
+
])])) : createCommentVNode("", true)
|
|
15564
15658
|
])
|
|
15565
15659
|
])) : (openBlock(), createBlock(unref(Dropdown), {
|
|
15566
15660
|
key: 1,
|
|
@@ -15589,9 +15683,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
15589
15683
|
name: accountInfo.value.nickname,
|
|
15590
15684
|
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
15591
15685
|
}, null, 8, ["name", "src"]),
|
|
15592
|
-
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$c, _cache[5] || (_cache[5] = [
|
|
15686
|
+
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$c, [..._cache[5] || (_cache[5] = [
|
|
15593
15687
|
createElementVNode("div", null, null, -1)
|
|
15594
|
-
]))) : createCommentVNode("", true)
|
|
15688
|
+
])])) : createCommentVNode("", true)
|
|
15595
15689
|
])
|
|
15596
15690
|
]),
|
|
15597
15691
|
_: 1
|
|
@@ -15740,13 +15834,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15740
15834
|
var _a;
|
|
15741
15835
|
const layoutConfig2 = useLayoutConfig();
|
|
15742
15836
|
const { t: $t } = i18n.global;
|
|
15743
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
15744
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
15745
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
15746
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
15747
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
15748
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
15749
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
15837
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-C4jCJgIU.js"));
|
|
15838
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-BpDgAqo-.js"));
|
|
15839
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-QcIq6Gh6.js"));
|
|
15840
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-C0yAQcmv.js"));
|
|
15841
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BQ2lY7n7.js"));
|
|
15842
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-DpB-MKUj.js"));
|
|
15843
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-CxtUjDMY.js"));
|
|
15750
15844
|
const props = __props;
|
|
15751
15845
|
const repoInfo = inject("repoInfo");
|
|
15752
15846
|
const orgInfo = inject("orgInfo");
|
|
@@ -16203,9 +16297,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16203
16297
|
});
|
|
16204
16298
|
return (_ctx, _cache) => {
|
|
16205
16299
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
16206
|
-
!
|
|
16300
|
+
!__props.inAIHub ? (openBlock(), createElementBlock("div", {
|
|
16207
16301
|
key: 0,
|
|
16208
|
-
class: normalizeClass([isFocus.value ? "focusSearch" : { "left-search": true }, Boolean(
|
|
16302
|
+
class: normalizeClass([isFocus.value ? "focusSearch" : { "left-search": true }, Boolean(__props.isShowStickyNotice) ? "focusSearch-sticky-notice" : ""]),
|
|
16209
16303
|
onClick: _cache[6] || (_cache[6] = withModifiers(() => {
|
|
16210
16304
|
}, ["stop"]))
|
|
16211
16305
|
}, [
|
|
@@ -16218,7 +16312,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16218
16312
|
createVNode(unref(Dropdown), {
|
|
16219
16313
|
align: "start",
|
|
16220
16314
|
position: ["bottom", "bottom-start"],
|
|
16221
|
-
"overlay-class":
|
|
16315
|
+
"overlay-class": __props.isShowStickyNotice ? "history-box-sticky-notice history-box" : "history-box",
|
|
16222
16316
|
trigger: "manually",
|
|
16223
16317
|
visible: dropDownVisible.value,
|
|
16224
16318
|
"close-scope": "none",
|
|
@@ -16373,7 +16467,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16373
16467
|
_: 3
|
|
16374
16468
|
}, 8, ["overlay-class", "visible"])
|
|
16375
16469
|
], 2)) : createCommentVNode("", true),
|
|
16376
|
-
|
|
16470
|
+
__props.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_6$6, [
|
|
16377
16471
|
createVNode(unref(Input), {
|
|
16378
16472
|
placeholder: unref($t)("gitCodeLayout.home.searchPlaceholder"),
|
|
16379
16473
|
onKeydown: withKeys(searchResult, ["enter"]),
|
|
@@ -16520,7 +16614,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
16520
16614
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
16521
16615
|
}
|
|
16522
16616
|
};
|
|
16523
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
16617
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-t6YcaAyd.js"));
|
|
16524
16618
|
function clearNotice() {
|
|
16525
16619
|
if (localStorage$2.getItem("validator_email")) {
|
|
16526
16620
|
localStorage$2.removeItem("validator_email");
|
|
@@ -16595,9 +16689,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16595
16689
|
detail_top_url: "",
|
|
16596
16690
|
index_head_url: "",
|
|
16597
16691
|
detail_toolbar_url: ""
|
|
16598
|
-
}) }
|
|
16692
|
+
}) },
|
|
16693
|
+
openCreateDropdown: { type: Boolean, default: false }
|
|
16599
16694
|
},
|
|
16600
|
-
emits: ["followDevCommunity", "followUser", "resetPwdDirectlySuccess"],
|
|
16695
|
+
emits: ["followDevCommunity", "followUser", "resetPwdDirectlySuccess", "update:openCreateDropdown"],
|
|
16601
16696
|
setup(__props, { emit: __emit }) {
|
|
16602
16697
|
var _a;
|
|
16603
16698
|
useCssVars((_ctx) => ({
|
|
@@ -16952,7 +17047,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16952
17047
|
style: normalizeStyle({ height: `${unref(height)}px` })
|
|
16953
17048
|
}, [
|
|
16954
17049
|
createElementVNode("div", {
|
|
16955
|
-
class: normalizeClass(["g-header allow-click-stop fixed z-[21] bg-[var(--theme-default-bg)]", [inAIHub.value ? "ai-hub border-b border-gray-100 " : "", isHome.value && showHeaderShadow.value ? "head-shadow" : "",
|
|
17050
|
+
class: normalizeClass(["g-header allow-click-stop fixed z-[21] bg-[var(--theme-default-bg)]", [inAIHub.value ? "ai-hub border-b border-gray-100 " : "", isHome.value && showHeaderShadow.value ? "head-shadow" : "", __props.headerBorder ? "oldBorder" : "", headerClassName.value, isIndexHead.value && !showHeaderShadow.value ? "bg-transparent" : ""]]),
|
|
16956
17051
|
ref_key: "headerRef",
|
|
16957
17052
|
ref: headerRef,
|
|
16958
17053
|
style: normalizeStyle(detailBgStyle.value)
|
|
@@ -16990,13 +17085,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16990
17085
|
class: "cursor-pointer hover:!text-[var(--theme-stress-text)] g-toolbar-left-asideicon",
|
|
16991
17086
|
color: "var(--theme-aide-text)"
|
|
16992
17087
|
})) : createCommentVNode("", true),
|
|
16993
|
-
showNameAndIcon.value &&
|
|
17088
|
+
showNameAndIcon.value && __props.independence || inAIHub.value ? (openBlock(), createBlock(GLink, {
|
|
16994
17089
|
key: 1,
|
|
16995
17090
|
class: normalizeClass(["g-toolbar-left-logo", [inAIHub.value ? "ai-logo" : ""]]),
|
|
16996
17091
|
style: normalizeStyle(logoStyle.value),
|
|
16997
17092
|
href: inAIHub.value ? `${unref(layoutConfig2).VITE_AI_HOST}` : `${unref(layoutConfig2).VITE_HOST}?p=seo`
|
|
16998
17093
|
}, null, 8, ["class", "style", "href"])) : createCommentVNode("", true),
|
|
16999
|
-
showNameAndIcon.value && !
|
|
17094
|
+
showNameAndIcon.value && !__props.independence ? (openBlock(), createBlock(GLink, {
|
|
17000
17095
|
key: 2,
|
|
17001
17096
|
class: normalizeClass(["g-toolbar-left-logo", [inAIHub.value ? "ai-logo" : ""]]),
|
|
17002
17097
|
style: normalizeStyle(logoStyle.value),
|
|
@@ -17009,12 +17104,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17009
17104
|
}, [
|
|
17010
17105
|
_ctx.$slots.headerCustom ? renderSlot(_ctx.$slots, "headerCustom", { key: 0 }, void 0, true) : isModuleVisible(unref(HeaderDisplayItem).CUSTOM_CONTENT) && !showNameAndIcon.value ? (openBlock(), createBlock(HeaderCustom, {
|
|
17011
17106
|
key: 1,
|
|
17012
|
-
scene:
|
|
17013
|
-
isLogin:
|
|
17014
|
-
errorCode: (_a2 =
|
|
17015
|
-
orgProps: (_b =
|
|
17016
|
-
repoProps: (_c =
|
|
17017
|
-
userProps: (_d =
|
|
17107
|
+
scene: __props.sceneValue,
|
|
17108
|
+
isLogin: __props.isLogin,
|
|
17109
|
+
errorCode: (_a2 = __props.headerCustomProps) == null ? void 0 : _a2.errorCode,
|
|
17110
|
+
orgProps: (_b = __props.headerCustomProps) == null ? void 0 : _b.orgProps,
|
|
17111
|
+
repoProps: (_c = __props.headerCustomProps) == null ? void 0 : _c.repoProps,
|
|
17112
|
+
userProps: (_d = __props.headerCustomProps) == null ? void 0 : _d.userProps,
|
|
17018
17113
|
onFollowDevCommunity: _cache[1] || (_cache[1] = ($event) => emit("followDevCommunity", $event)),
|
|
17019
17114
|
onFollowUser: _cache[2] || (_cache[2] = ($event) => emit("followUser"))
|
|
17020
17115
|
}, {
|
|
@@ -17033,7 +17128,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17033
17128
|
(openBlock(), createBlock(Search, {
|
|
17034
17129
|
inAIHub: inAIHub.value,
|
|
17035
17130
|
key: _ctx.$route.fullPath,
|
|
17036
|
-
sceneValue:
|
|
17131
|
+
sceneValue: __props.sceneValue,
|
|
17037
17132
|
isShowStickyNotice: isShowStickyNoticeByClose.value
|
|
17038
17133
|
}, {
|
|
17039
17134
|
searchRecommend: withCtx(() => [
|
|
@@ -17053,7 +17148,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17053
17148
|
createVNode(ClaimPower, { config: claimPowerConfig.value }, null, 8, ["config"]),
|
|
17054
17149
|
isModuleVisible(unref(HeaderDisplayItem).OPERATION_ENTRY) ? (openBlock(), createBlock(OperationEntry, { key: 0 })) : createCommentVNode("", true)
|
|
17055
17150
|
]),
|
|
17056
|
-
!
|
|
17151
|
+
!__props.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
17057
17152
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
17058
17153
|
unref(isMobile) ? (openBlock(), createElementBlock("section", {
|
|
17059
17154
|
key: 0,
|
|
@@ -17089,16 +17184,20 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17089
17184
|
], 64)) : createCommentVNode("", true)
|
|
17090
17185
|
], 64)) : createCommentVNode("", true)
|
|
17091
17186
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
17092
|
-
!["sm"].includes(unref(widthType)) && isModuleVisible(unref(HeaderDisplayItem).NEW_BUTTON) ? (openBlock(), createBlock(Create, {
|
|
17187
|
+
!["sm"].includes(unref(widthType)) && isModuleVisible(unref(HeaderDisplayItem).NEW_BUTTON) ? (openBlock(), createBlock(Create, {
|
|
17188
|
+
key: 0,
|
|
17189
|
+
dropdownVisible: props.openCreateDropdown,
|
|
17190
|
+
"onUpdate:dropdownVisible": _cache[6] || (_cache[6] = ($event) => emit("update:openCreateDropdown", $event))
|
|
17191
|
+
}, null, 8, ["dropdownVisible"])) : createCommentVNode("", true),
|
|
17093
17192
|
isModuleVisible(unref(HeaderDisplayItem).DOCUMENT_CENTER) ? (openBlock(), createBlock(DocumentCenter, { key: 1 })) : createCommentVNode("", true),
|
|
17094
17193
|
isModuleVisible(unref(HeaderDisplayItem).MESSAGE_CENTER) ? (openBlock(), createBlock(Notice, { key: 2 })) : createCommentVNode("", true),
|
|
17095
17194
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createBlock(UserAvatar, {
|
|
17096
17195
|
key: 3,
|
|
17097
17196
|
isChatBot: isChatBot.value,
|
|
17098
|
-
loginOutFinish:
|
|
17197
|
+
loginOutFinish: __props.loginOutFinish,
|
|
17099
17198
|
inAIHub: inAIHub.value,
|
|
17100
|
-
independence:
|
|
17101
|
-
userMenus:
|
|
17199
|
+
independence: __props.independence,
|
|
17200
|
+
userMenus: __props.userMenus
|
|
17102
17201
|
}, null, 8, ["isChatBot", "loginOutFinish", "inAIHub", "independence", "userMenus"])) : createCommentVNode("", true)
|
|
17103
17202
|
], 64))
|
|
17104
17203
|
], 2)
|
|
@@ -17327,9 +17426,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17327
17426
|
const layoutConfig2 = useLayoutConfig();
|
|
17328
17427
|
const { t: t2 } = i18n.global;
|
|
17329
17428
|
const route = useRoute();
|
|
17330
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
17331
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
17332
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
17429
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-Bkz4-Vtl.js"));
|
|
17430
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-ms2ShmJO.js"));
|
|
17431
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-EYcwoFrJ.js"));
|
|
17333
17432
|
const props = __props;
|
|
17334
17433
|
console.log("slotKeys", props.slotKeys);
|
|
17335
17434
|
console.log("props", props);
|
|
@@ -17496,11 +17595,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17496
17595
|
(openBlock(true), createElementBlock(Fragment, null, renderList(filterList.value, (item) => {
|
|
17497
17596
|
return openBlock(), createBlock(resolveDynamicComponent(renderComponent(item)), mergeProps({
|
|
17498
17597
|
key: item.id,
|
|
17499
|
-
isLogin:
|
|
17598
|
+
isLogin: __props.isLogin,
|
|
17500
17599
|
item,
|
|
17501
|
-
slotKeys:
|
|
17502
|
-
|
|
17503
|
-
}, getProps(item)), createSlots({ _: 2 }, [
|
|
17600
|
+
slotKeys: __props.slotKeys
|
|
17601
|
+
}, { ref_for: true }, getProps(item)), createSlots({ _: 2 }, [
|
|
17504
17602
|
renderList(mainSiteSlotKeys.value, (key) => {
|
|
17505
17603
|
return {
|
|
17506
17604
|
name: key,
|
|
@@ -17521,9 +17619,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17521
17619
|
}, {
|
|
17522
17620
|
default: withCtx(() => [
|
|
17523
17621
|
(openBlock(), createBlock(resolveDynamicComponent(LayoutSlotComponent(key)), mergeProps({ ref_for: true }, getProps(item), {
|
|
17524
|
-
slotKeys:
|
|
17622
|
+
slotKeys: __props.slotKeys,
|
|
17525
17623
|
item,
|
|
17526
|
-
isLogin:
|
|
17624
|
+
isLogin: __props.isLogin
|
|
17527
17625
|
}), null, 16, ["slotKeys", "item", "isLogin"]))
|
|
17528
17626
|
]),
|
|
17529
17627
|
_: 2
|
|
@@ -17590,9 +17688,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17590
17688
|
createElementVNode("div", _hoisted_2$d, [
|
|
17591
17689
|
(openBlock(true), createElementBlock(Fragment, null, renderList(linkList.value, (item) => {
|
|
17592
17690
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
17593
|
-
key: item.label
|
|
17594
|
-
|
|
17595
|
-
}, item, {
|
|
17691
|
+
key: item.label
|
|
17692
|
+
}, { ref_for: true }, item, {
|
|
17596
17693
|
class: ["tools-item-wrapper-checkbox-item", { "checked": unref(lang) === item.value }],
|
|
17597
17694
|
onClick: ($event) => handleClick(item),
|
|
17598
17695
|
title: item.value
|
|
@@ -17643,9 +17740,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
17643
17740
|
createElementVNode("div", _hoisted_2$c, [
|
|
17644
17741
|
(openBlock(true), createElementBlock(Fragment, null, renderList(themeList.value, (item) => {
|
|
17645
17742
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
17646
|
-
key: item.value
|
|
17647
|
-
|
|
17648
|
-
}, item, {
|
|
17743
|
+
key: item.value
|
|
17744
|
+
}, { ref_for: true }, item, {
|
|
17649
17745
|
class: ["tools-item-wrapper-checkbox-item", { checked: activeTheme.value === item.value }],
|
|
17650
17746
|
onClick: ($event) => handleClick(item),
|
|
17651
17747
|
title: item.value
|
|
@@ -17685,17 +17781,17 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
17685
17781
|
withDirectives(createElementVNode("div", _hoisted_2$b, [
|
|
17686
17782
|
createVNode(_sfc_main$k)
|
|
17687
17783
|
], 512), [
|
|
17688
|
-
[vShow,
|
|
17784
|
+
[vShow, __props.showThemeSetting]
|
|
17689
17785
|
]),
|
|
17690
17786
|
withDirectives(createElementVNode("div", _hoisted_3$b, [
|
|
17691
17787
|
createVNode(_sfc_main$l)
|
|
17692
17788
|
], 512), [
|
|
17693
|
-
[vShow,
|
|
17789
|
+
[vShow, __props.showLangSetting]
|
|
17694
17790
|
])
|
|
17695
17791
|
]),
|
|
17696
17792
|
default: withCtx(() => [
|
|
17697
17793
|
createElementVNode("div", {
|
|
17698
|
-
class: normalizeClass(["aside-footer-tools-item", { "aside-footer-tools-item-little":
|
|
17794
|
+
class: normalizeClass(["aside-footer-tools-item", { "aside-footer-tools-item-little": __props.asideSetShowLittle }])
|
|
17699
17795
|
}, [
|
|
17700
17796
|
createVNode(GIcon, {
|
|
17701
17797
|
name: "gt-line-setting",
|
|
@@ -17869,7 +17965,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
17869
17965
|
target: "_blank",
|
|
17870
17966
|
rel: "noopener noreferrer"
|
|
17871
17967
|
}, "CSDN", -1)),
|
|
17872
|
-
_cache[2] || (_cache[2] = createTextVNode(" | ")),
|
|
17968
|
+
_cache[2] || (_cache[2] = createTextVNode(" | ", -1)),
|
|
17873
17969
|
createElementVNode("a", _hoisted_8$2, toDisplayString$1(unref(t2)("gitCodeLayout.home.HWCloud")), 1)
|
|
17874
17970
|
], 2),
|
|
17875
17971
|
createElementVNode("p", _hoisted_9$2, [
|
|
@@ -17882,7 +17978,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
17882
17978
|
]),
|
|
17883
17979
|
_: 1
|
|
17884
17980
|
}, 8, ["href"]),
|
|
17885
|
-
_cache[3] || (_cache[3] = createTextVNode(" | ")),
|
|
17981
|
+
_cache[3] || (_cache[3] = createTextVNode(" | ", -1)),
|
|
17886
17982
|
createVNode(GLink, {
|
|
17887
17983
|
target: "_blank",
|
|
17888
17984
|
href: unref(copyright).beian_url
|
|
@@ -18039,11 +18135,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18039
18135
|
});
|
|
18040
18136
|
return (_ctx, _cache) => {
|
|
18041
18137
|
return openBlock(), createBlock(unref(Aside), {
|
|
18042
|
-
class: normalizeClass(["config-aside-content", { "side-bar-content-shot":
|
|
18138
|
+
class: normalizeClass(["config-aside-content", { "side-bar-content-shot": __props.asideSetShowLittle }])
|
|
18043
18139
|
}, {
|
|
18044
18140
|
default: withCtx(() => [
|
|
18045
18141
|
createElementVNode("div", {
|
|
18046
|
-
class: normalizeClass(["config-aside__content", { "side-bar-content-shot":
|
|
18142
|
+
class: normalizeClass(["config-aside__content", { "side-bar-content-shot": __props.asideSetShowLittle, "shot-isCh": !unref(isEn) }])
|
|
18047
18143
|
}, [
|
|
18048
18144
|
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
18049
18145
|
createElementVNode("div", {
|
|
@@ -18063,10 +18159,10 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18063
18159
|
}, [
|
|
18064
18160
|
createVNode(Area, {
|
|
18065
18161
|
list: getAreaItem(item),
|
|
18066
|
-
isLogin:
|
|
18162
|
+
isLogin: __props.isLogin,
|
|
18067
18163
|
slotKeys: layoutSlotKeys.value,
|
|
18068
|
-
sceneValue:
|
|
18069
|
-
asideSetShowLittle:
|
|
18164
|
+
sceneValue: __props.sceneValue,
|
|
18165
|
+
asideSetShowLittle: __props.asideSetShowLittle
|
|
18070
18166
|
}, createSlots({ _: 2 }, [
|
|
18071
18167
|
renderList(layoutSlotKeys.value, (key) => {
|
|
18072
18168
|
return {
|
|
@@ -18090,24 +18186,24 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18090
18186
|
}, null, 8, ["name"]),
|
|
18091
18187
|
_cache[2] || (_cache[2] = createElementVNode("span", null, "群组讨论", -1))
|
|
18092
18188
|
], 32)) : createCommentVNode("", true),
|
|
18093
|
-
!
|
|
18189
|
+
!__props.asideSetShowLittle && index2 !== displayArea.value.length - 1 ? (openBlock(), createElementBlock("hr", _hoisted_4$7)) : createCommentVNode("", true)
|
|
18094
18190
|
], 64);
|
|
18095
18191
|
}), 128)),
|
|
18096
|
-
!
|
|
18192
|
+
!__props.asideSetShowLittle && isModuleVisible(unref(AsideDisplayItem).LINK) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
18097
18193
|
_cache[3] || (_cache[3] = createElementVNode("hr", { class: "line mt-[16px] mb-[16px]" }, null, -1)),
|
|
18098
18194
|
createVNode(SubMenuList)
|
|
18099
18195
|
], 64)) : createCommentVNode("", true)
|
|
18100
18196
|
])),
|
|
18101
|
-
!
|
|
18197
|
+
!__props.asideSetShowLittle && isModuleVisible(unref(AsideDisplayItem).SITE_INFO) ? (openBlock(), createBlock(ContactInfo, { key: 2 })) : createCommentVNode("", true)
|
|
18102
18198
|
], 34),
|
|
18103
18199
|
showPreferencesSetting.value ? (openBlock(), createElementBlock("div", {
|
|
18104
18200
|
key: 0,
|
|
18105
|
-
class: normalizeClass(["aside-footer-tools", { "aside-footer-tools-little":
|
|
18201
|
+
class: normalizeClass(["aside-footer-tools", { "aside-footer-tools-little": __props.asideSetShowLittle }])
|
|
18106
18202
|
}, [
|
|
18107
18203
|
createVNode(_sfc_main$j, {
|
|
18108
|
-
"show-lang-setting":
|
|
18109
|
-
"show-theme-setting":
|
|
18110
|
-
asideSetShowLittle:
|
|
18204
|
+
"show-lang-setting": __props.showLangSetting,
|
|
18205
|
+
"show-theme-setting": __props.showThemeSetting,
|
|
18206
|
+
asideSetShowLittle: __props.asideSetShowLittle
|
|
18111
18207
|
}, null, 8, ["show-lang-setting", "show-theme-setting", "asideSetShowLittle"])
|
|
18112
18208
|
], 2)) : createCommentVNode("", true)
|
|
18113
18209
|
])), [
|
|
@@ -18250,18 +18346,18 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18250
18346
|
key: 0,
|
|
18251
18347
|
class: normalizeClass(["left-side-bar", { oldWhite: asideSetShowLittleMode.value, higherZIndex: unref(SITE_STATUS).DISABLE }]),
|
|
18252
18348
|
style: normalizeStyle({ width: mainMarginLeftWidth.value + "px", top: unref(headerHeight2) + "px" }),
|
|
18253
|
-
sceneValue:
|
|
18349
|
+
sceneValue: __props.sceneValue,
|
|
18254
18350
|
asideDefaultWidth: mainMarginLeftWidth.value,
|
|
18255
18351
|
asideSetShowLittle: asideSetShowLittleMode.value,
|
|
18256
|
-
isLogin:
|
|
18257
|
-
showPreferencesSetting:
|
|
18258
|
-
showThemeSetting:
|
|
18259
|
-
showLangSetting:
|
|
18260
|
-
independence:
|
|
18261
|
-
slotKeys:
|
|
18262
|
-
collapseMode:
|
|
18352
|
+
isLogin: __props.isLogin,
|
|
18353
|
+
showPreferencesSetting: __props.showPreferencesSetting,
|
|
18354
|
+
showThemeSetting: __props.showThemeSetting,
|
|
18355
|
+
showLangSetting: __props.showLangSetting,
|
|
18356
|
+
independence: __props.independence,
|
|
18357
|
+
slotKeys: __props.slotKeys,
|
|
18358
|
+
collapseMode: __props.collapseMode
|
|
18263
18359
|
}, createSlots({ _: 2 }, [
|
|
18264
|
-
renderList(
|
|
18360
|
+
renderList(__props.slotKeys, (key) => {
|
|
18265
18361
|
return {
|
|
18266
18362
|
name: key,
|
|
18267
18363
|
fn: withCtx(() => [
|
|
@@ -18283,8 +18379,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18283
18379
|
createVNode(GLink, {
|
|
18284
18380
|
class: "g-toolbar-left-logo",
|
|
18285
18381
|
style: normalizeStyle(logoStyle.value),
|
|
18286
|
-
to:
|
|
18287
|
-
href:
|
|
18382
|
+
to: __props.independence ? "" : { name: "home" },
|
|
18383
|
+
href: __props.independence ? unref(transformUrl)(unref(layoutConfig2).VITE_HOST) : ""
|
|
18288
18384
|
}, null, 8, ["style", "to", "href"]),
|
|
18289
18385
|
createVNode(unref(Button), {
|
|
18290
18386
|
class: "cursor-pointer draw-side-bar-close",
|
|
@@ -18294,14 +18390,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18294
18390
|
})
|
|
18295
18391
|
]),
|
|
18296
18392
|
createVNode(ConfigAideContent, mergeProps(props, {
|
|
18297
|
-
sceneValue:
|
|
18393
|
+
sceneValue: __props.sceneValue,
|
|
18298
18394
|
asideDefaultWidth: 240,
|
|
18299
|
-
isLogin:
|
|
18300
|
-
showPreferencesSetting:
|
|
18301
|
-
showThemeSetting:
|
|
18302
|
-
showLangSetting:
|
|
18303
|
-
independence:
|
|
18304
|
-
slotKeys:
|
|
18395
|
+
isLogin: __props.isLogin,
|
|
18396
|
+
showPreferencesSetting: __props.showPreferencesSetting,
|
|
18397
|
+
showThemeSetting: __props.showThemeSetting,
|
|
18398
|
+
showLangSetting: __props.showLangSetting,
|
|
18399
|
+
independence: __props.independence,
|
|
18400
|
+
slotKeys: __props.slotKeys
|
|
18305
18401
|
}), null, 16, ["sceneValue", "isLogin", "showPreferencesSetting", "showThemeSetting", "showLangSetting", "independence", "slotKeys"])
|
|
18306
18402
|
]),
|
|
18307
18403
|
_: 1
|
|
@@ -18923,12 +19019,12 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
18923
19019
|
showLangSetting: "",
|
|
18924
19020
|
showThemeSetting: ""
|
|
18925
19021
|
}, {
|
|
18926
|
-
home: withCtx(() => _cache[2] || (_cache[2] = [
|
|
19022
|
+
home: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
18927
19023
|
createElementVNode("div", null, "首页hover-插槽", -1)
|
|
18928
|
-
])),
|
|
18929
|
-
issues: withCtx(() => _cache[3] || (_cache[3] = [
|
|
19024
|
+
])]),
|
|
19025
|
+
issues: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
18930
19026
|
createElementVNode("div", null, "issues hover-插槽", -1)
|
|
18931
|
-
])),
|
|
19027
|
+
])]),
|
|
18932
19028
|
_: 1
|
|
18933
19029
|
}, 8, ["sceneValue", "userInfo", "isLogin", "request", "globalStore", "independence", "collapseMode"])
|
|
18934
19030
|
]),
|
|
@@ -18967,18 +19063,18 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
18967
19063
|
key: "是",
|
|
18968
19064
|
value: true
|
|
18969
19065
|
}, {
|
|
18970
|
-
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
18971
|
-
createTextVNode("是")
|
|
18972
|
-
])),
|
|
19066
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
19067
|
+
createTextVNode("是", -1)
|
|
19068
|
+
])]),
|
|
18973
19069
|
_: 1
|
|
18974
19070
|
})),
|
|
18975
19071
|
(openBlock(), createBlock(unref(Radio), {
|
|
18976
19072
|
key: "否",
|
|
18977
19073
|
value: false
|
|
18978
19074
|
}, {
|
|
18979
|
-
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
18980
|
-
createTextVNode("否")
|
|
18981
|
-
])),
|
|
19075
|
+
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
19076
|
+
createTextVNode("否", -1)
|
|
19077
|
+
])]),
|
|
18982
19078
|
_: 1
|
|
18983
19079
|
}))
|
|
18984
19080
|
]),
|
|
@@ -19850,13 +19946,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
19850
19946
|
});
|
|
19851
19947
|
return (_ctx, _cache) => {
|
|
19852
19948
|
return openBlock(), createElementBlock("div", {
|
|
19853
|
-
class: normalizeClass(["flex flex-1 g-input-button", [inputBtnClassName.value,
|
|
19949
|
+
class: normalizeClass(["flex flex-1 g-input-button", [inputBtnClassName.value, __props.error ? "g-input-button-error" : ""]])
|
|
19854
19950
|
}, [
|
|
19855
19951
|
createVNode(unref(Input), {
|
|
19856
19952
|
modelValue: unref(vModels),
|
|
19857
19953
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(vModels) ? vModels.value = $event : null),
|
|
19858
|
-
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label:
|
|
19859
|
-
autocomplete:
|
|
19954
|
+
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: __props.placeholder }),
|
|
19955
|
+
autocomplete: __props.autocomplete,
|
|
19860
19956
|
onChange: handleChange,
|
|
19861
19957
|
onFocus: handleInputFocus,
|
|
19862
19958
|
onBlur: handleInputBlur
|
|
@@ -19866,7 +19962,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
19866
19962
|
onClick: withModifiers(handleClick, ["stop"]),
|
|
19867
19963
|
class: normalizeClass([
|
|
19868
19964
|
"g-input-button-append",
|
|
19869
|
-
DisabledBtn.value || !
|
|
19965
|
+
DisabledBtn.value || !__props.hasMobile ? "g-input-button-append-inactive" : "g-input-button-append-active"
|
|
19870
19966
|
])
|
|
19871
19967
|
}, [
|
|
19872
19968
|
createElementVNode("span", _hoisted_1$a, toDisplayString$1(BtnText.value), 1)
|
|
@@ -20013,8 +20109,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
20013
20109
|
key: 1,
|
|
20014
20110
|
modelValue: unref(vModels),
|
|
20015
20111
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(vModels) ? vModels.value = $event : null)
|
|
20016
|
-
},
|
|
20017
|
-
placeholder:
|
|
20112
|
+
}, __props.prop, {
|
|
20113
|
+
placeholder: __props.placeholder,
|
|
20018
20114
|
onChange: handleChange
|
|
20019
20115
|
}), {
|
|
20020
20116
|
prepend: withCtx(() => [
|
|
@@ -20298,23 +20394,23 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
20298
20394
|
rules: GroupRules,
|
|
20299
20395
|
ref_key: "FormRef",
|
|
20300
20396
|
ref: FormRef,
|
|
20301
|
-
"show-feedback":
|
|
20302
|
-
disabled:
|
|
20303
|
-
"message-type":
|
|
20304
|
-
layout:
|
|
20305
|
-
size:
|
|
20306
|
-
"label-size":
|
|
20307
|
-
"label-align":
|
|
20397
|
+
"show-feedback": __props.showFeedback,
|
|
20398
|
+
disabled: __props.disabled,
|
|
20399
|
+
"message-type": __props.MessageType,
|
|
20400
|
+
layout: __props.layout,
|
|
20401
|
+
size: __props.size,
|
|
20402
|
+
"label-size": __props.labelSize,
|
|
20403
|
+
"label-align": __props.labelAlign,
|
|
20308
20404
|
class: "g-form",
|
|
20309
20405
|
onInput: handleFormInput,
|
|
20310
20406
|
requirePosition: "right"
|
|
20311
20407
|
}, {
|
|
20312
20408
|
default: withCtx(() => [
|
|
20313
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
20409
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.DataList, (formItem) => {
|
|
20314
20410
|
return openBlock(), createBlock(unref(FormItem), {
|
|
20315
20411
|
key: formItem.key,
|
|
20316
20412
|
field: formItem.key,
|
|
20317
|
-
label:
|
|
20413
|
+
label: __props.showLabel ? formItem.label : "",
|
|
20318
20414
|
"help-tips": formItem.help,
|
|
20319
20415
|
"extra-info": formItem.extra,
|
|
20320
20416
|
style: normalizeStyle({ width: getItemWidth.value(formItem) })
|
|
@@ -20328,9 +20424,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
20328
20424
|
"onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
|
|
20329
20425
|
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: formItem.label }),
|
|
20330
20426
|
onChange: () => handleChange(formItem.key),
|
|
20331
|
-
onKeydown: ($event) => formItem.key === "username" ? unref(handleUsernameKeydown) : void 0
|
|
20332
|
-
|
|
20333
|
-
}, formItem.props, {
|
|
20427
|
+
onKeydown: ($event) => formItem.key === "username" ? unref(handleUsernameKeydown) : void 0
|
|
20428
|
+
}, { ref_for: true }, formItem.props, {
|
|
20334
20429
|
autocomplete: autocompleteCalc((_a = formItem.props) == null ? void 0 : _a.autocomplete),
|
|
20335
20430
|
autofocus: formItem.key === "username",
|
|
20336
20431
|
spellcheck: false
|
|
@@ -20341,24 +20436,22 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
20341
20436
|
onChange: ($event) => handleChange(formItem.key),
|
|
20342
20437
|
onClick: ($event) => handleOperate(formItem),
|
|
20343
20438
|
"onUpdate:countdown": ($event) => updateCountdown(formItem),
|
|
20344
|
-
placeholder: formItem.label
|
|
20345
|
-
|
|
20346
|
-
}, formItem.props, {
|
|
20439
|
+
placeholder: formItem.label
|
|
20440
|
+
}, { ref_for: true }, formItem.props, {
|
|
20347
20441
|
hasMobile: !!Data[(_b = formItem.props) == null ? void 0 : _b.aliasKey],
|
|
20348
20442
|
text: unref($t)("gitCodeLayout.userSetting.account.getVerificationCode"),
|
|
20349
|
-
error:
|
|
20443
|
+
error: __props.errors.msgError,
|
|
20350
20444
|
autocomplete: autocompleteCalc((_c = formItem.props) == null ? void 0 : _c.autocomplete)
|
|
20351
20445
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "onClick", "onUpdate:countdown", "placeholder", "hasMobile", "text", "error", "autocomplete"])) : formItem.type === "inputSelect" ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
20352
20446
|
key: 2,
|
|
20353
20447
|
country: Data.country,
|
|
20354
|
-
class:
|
|
20448
|
+
class: __props.formErrors["mobile"] ? "input-select-error" : "",
|
|
20355
20449
|
modelValue: Data[formItem.key],
|
|
20356
20450
|
"onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
|
|
20357
20451
|
onSelectChange: _cache[0] || (_cache[0] = (evt) => handleSelectChange("country", evt)),
|
|
20358
20452
|
onChange: ($event) => handleChange(formItem.key),
|
|
20359
|
-
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: formItem.label })
|
|
20360
|
-
|
|
20361
|
-
}, formItem.props, {
|
|
20453
|
+
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: formItem.label })
|
|
20454
|
+
}, { ref_for: true }, formItem.props, {
|
|
20362
20455
|
editableSelect: formItem.editableSelect
|
|
20363
20456
|
}), null, 16, ["country", "class", "modelValue", "onUpdate:modelValue", "onChange", "placeholder", "editableSelect"])) : (openBlock(), createBlock(resolveDynamicComponent(formItem.render), mergeProps({
|
|
20364
20457
|
key: formItem.key,
|
|
@@ -20366,9 +20459,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
20366
20459
|
"onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
|
|
20367
20460
|
onChange: ($event) => handleChange(formItem.key),
|
|
20368
20461
|
onClick: handleClick,
|
|
20369
|
-
placeholder: formItem.label
|
|
20370
|
-
|
|
20371
|
-
}, formItem.props), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "placeholder"]))
|
|
20462
|
+
placeholder: formItem.label
|
|
20463
|
+
}, { ref_for: true }, formItem.props), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "placeholder"]))
|
|
20372
20464
|
];
|
|
20373
20465
|
}),
|
|
20374
20466
|
_: 2
|
|
@@ -20413,7 +20505,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
20413
20505
|
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
20414
20506
|
createElementVNode("div", _hoisted_2$6, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.subtitle.otherLogin")), 1),
|
|
20415
20507
|
createElementVNode("div", _hoisted_3$6, [
|
|
20416
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
20508
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.logos, (icon) => {
|
|
20417
20509
|
return openBlock(), createElementBlock("div", {
|
|
20418
20510
|
key: icon.alt,
|
|
20419
20511
|
class: "rounded-[50%] w-[40px] h-[40px] border-[1px] icon-wrap border-solid cursor-pointer otherInfo-icon"
|
|
@@ -20519,7 +20611,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
20519
20611
|
return (_ctx, _cache) => {
|
|
20520
20612
|
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
20521
20613
|
createVNode(unref(Checkbox), {
|
|
20522
|
-
"model-value":
|
|
20614
|
+
"model-value": __props.modelValue,
|
|
20523
20615
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:modelValue", val)),
|
|
20524
20616
|
size: "sm"
|
|
20525
20617
|
}, {
|
|
@@ -20538,7 +20630,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
20538
20630
|
_: 1
|
|
20539
20631
|
}, 8, ["model-value"]),
|
|
20540
20632
|
createVNode(unref(Checkbox), {
|
|
20541
|
-
"model-value":
|
|
20633
|
+
"model-value": __props.dataShareChecked,
|
|
20542
20634
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = (val) => emits("update:dataShareChecked", val)),
|
|
20543
20635
|
size: "sm"
|
|
20544
20636
|
}, {
|
|
@@ -20587,7 +20679,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
20587
20679
|
return (_ctx, _cache) => {
|
|
20588
20680
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
20589
20681
|
createVNode(unref(Checkbox), {
|
|
20590
|
-
"model-value":
|
|
20682
|
+
"model-value": __props.modelValue,
|
|
20591
20683
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:modelValue", val)),
|
|
20592
20684
|
size: "sm",
|
|
20593
20685
|
class: "mt-[6px] agree-module flex items-center"
|
|
@@ -20608,7 +20700,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
20608
20700
|
_: 3
|
|
20609
20701
|
}, 8, ["model-value"]),
|
|
20610
20702
|
createVNode(unref(Checkbox), {
|
|
20611
|
-
"model-value":
|
|
20703
|
+
"model-value": __props.dataShareChecked,
|
|
20612
20704
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = (val) => emits("update:dataShareChecked", val)),
|
|
20613
20705
|
size: "sm",
|
|
20614
20706
|
class: "mb-[12px]"
|
|
@@ -20650,14 +20742,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
20650
20742
|
return (_ctx, _cache) => {
|
|
20651
20743
|
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
20652
20744
|
createElementVNode("div", _hoisted_2$3, [
|
|
20653
|
-
|
|
20745
|
+
__props.showBack ? (openBlock(), createElementBlock("img", {
|
|
20654
20746
|
key: 0,
|
|
20655
|
-
src:
|
|
20747
|
+
src: __props.icon,
|
|
20656
20748
|
class: "w-[24px] cursor-pointer",
|
|
20657
20749
|
onClick: withModifiers(handleClick, ["stop"])
|
|
20658
20750
|
}, null, 8, _hoisted_3$3)) : createCommentVNode("", true)
|
|
20659
20751
|
]),
|
|
20660
|
-
|
|
20752
|
+
__props.showTitle ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString$1(__props.title), 1)) : createCommentVNode("", true)
|
|
20661
20753
|
]);
|
|
20662
20754
|
};
|
|
20663
20755
|
}
|
|
@@ -20691,7 +20783,7 @@ const verifyCodeRegExp4 = /^\d{4}$/;
|
|
|
20691
20783
|
const verifyCodeRegExp6 = /^\d{6}$/;
|
|
20692
20784
|
const mobileRegExp = /^1[3-9]\d{9}$/;
|
|
20693
20785
|
const usernameRegExp = /^(?!-)[a-zA-Z][a-zA-Z0-9_-]{1,49}$/;
|
|
20694
|
-
const metadata = { "version": 4, "country_calling_codes": { "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"], "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"], "850": ["KP"], "852": ["HK"], "853": ["MO"], "855": ["KH"], "856": ["LA"], "880": ["BD"], "886": ["TW"], "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"], "992": ["TJ"], "993": ["TM"], "994": ["AZ"], "995": ["GE"], "996": ["KG"], "998": ["UZ"] }, "countries": { "AC": ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], "AD": ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\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"]]]], "AE": ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\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"]], "0"], "AF": ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], "AG": ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], "AI": ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], "AL": ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\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"]], "0"], "AM": ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\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"]], "0"], "AO": ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], "AR": ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\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", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\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", 0, "$1 $2 $3-$4"]], "0", 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"], "AS": ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], "AT": ["43", "00", "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], [["(\\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"]], "0"], "AU": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "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], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\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$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|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])|3\\d\\d)|(?: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}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "AW": ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], "AX": ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], "AZ": ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], "BA": ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], "BB": ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], "BD": ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], "BE": ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], "BF": ["226", "00", "[025-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-7]"]]]], "BG": ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], "BH": ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], "BI": ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], "BJ": ["229", "00", "(?:01\\d|[24-689])\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], "BL": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "BM": ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], "BN": ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], "BO": ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], "BQ": ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], "BR": ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37)", "4(?:02|37)0|[34]00"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], "BS": ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], "BT": ["975", "00", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]]], "BW": ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], "BY": ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], "BZ": ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], "CA": ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["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(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], "CC": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "CD": ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], "CF": ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], "CG": ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], "CH": ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], "CI": ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], "CK": ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], "CL": ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9[2-9]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], "CM": ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], "CN": ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], "CO": ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|91"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], "CR": ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], "CU": ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], "CV": ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], "CW": ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], "CX": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "CY": ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], "CZ": ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], "DE": ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|31)"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], "DJ": ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], "DK": ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], "DM": ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], "DO": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], "DZ": ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], "EC": ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], "EE": ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], "EG": ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], "EH": ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], "ER": ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], "ES": ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], "ET": ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], "FI": ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[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], [["(\\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", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], "FJ": ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "FK": ["500", "00", "[2-7]\\d{4}", [5]], "FM": ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], "FO": ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], "FR": ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], "GA": ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], "GB": ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], "GD": ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], "GE": ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], "GF": ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], "GG": ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], "GH": ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], "GI": ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], "GL": ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], "GM": ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "GN": ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], "GP": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "GQ": ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], "GR": ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], "GT": ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], "GU": ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], "GW": ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], "GY": ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "HK": ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\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"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "HN": ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], "HR": ["385", "00", "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", [6, 7, 8, 9], [["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], "HT": ["509", "00", "(?:[2-489]\\d|55)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], "HU": ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], "ID": ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], "IE": ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "IL": ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], "IM": ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0", "1624$1", 0, "74576|(?:16|7[56])24"], "IN": ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], "IO": ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], "IQ": ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], "IR": ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], "IS": ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "IT": ["39", "00", "0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, [["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}", [6, 7, 8, 9, 10, 11]], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], "JE": ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], "JM": ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], "JO": ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], "JP": ["81", "010", "00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["[36]|4(?:2[09]|7[01])", "[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[257-9]"], "0$1"]], "0", 0, "(000[259]\\d{6})$|(?:(?:003768)0?)|0", "$1"], "KE": ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\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"]], "0"], "KG": ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "KH": ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "KI": ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], "KM": ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], "KN": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], "KP": ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], "KR": ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], "KW": ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], "KY": ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], "KZ": ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33|7", 0, "8~10"], "LA": ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["30[0135-9]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], "LB": ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], "LC": ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], "LI": ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], "LK": ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], "LR": ["231", "00", "(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], "LS": ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], "LT": ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], "LU": ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], "LV": ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], "LY": ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], "MA": ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], "MC": ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], "MD": ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], "ME": ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], "MF": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "MG": ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], "MH": ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], "MK": ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], "ML": ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], "MM": ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], "MN": ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], "MO": ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], "MP": ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], "MQ": ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "MR": ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], "MS": ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], "MT": ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], "MU": ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], "MV": ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "MW": ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], "MX": ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "MY": ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], "MZ": ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], "NA": ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], "NC": ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], "NE": ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], "NF": ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], "NG": ["234", "009", "38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}", [8, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["3"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], "NI": ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], "NL": ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], "NO": ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], "NP": ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], "NR": ["674", "00", "(?:444|(?:55|8\\d)\\d|666)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]]], "NU": ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], "NZ": ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], "OM": ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], "PA": ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], "PE": ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], "PF": ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], "PG": ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "PH": ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], "PK": ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], "PL": ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], "PM": ["508", "00", "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "PR": ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], "PS": ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "PT": ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], "PW": ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "PY": ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], "QA": ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[16]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], "RE": ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], "RO": ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], "RS": ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], "RU": ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, "3[04-689]|[489]", 0, "8~10"], "RW": ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], "SA": ["966", "00", "92\\d{7}|(?:[15]|8\\d)\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["81"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], "SB": ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], "SC": ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "SD": ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], "SE": ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], "SG": ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], "SH": ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], "SI": ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], "SJ": ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], "SK": ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], "SL": ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], "SM": ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], "SN": ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], "SO": ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], "0"], "SR": ["597", "00", "(?:[2-5]|68|[78]\\d)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-8]"]]]], "SS": ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], "ST": ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], "SV": ["503", "00", "[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], "SX": ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], "SY": ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], "SZ": ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], "TA": ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], "TC": ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], "TD": ["235", "00|16", "(?:22|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "TG": ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], "TH": ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "TJ": ["992", "810", "[0-57-9]\\d{8}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[0-57-9]"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], "TK": ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], "TL": ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], "TM": ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], "TN": ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], "TO": ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], "TR": ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], "TT": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], "TV": ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], "TW": ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], "TZ": ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], "UA": ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], "UG": ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], "US": ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|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[0135-79]|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[0-247]|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}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["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}"], 0, 0, 0, ["305209\\d{4}"]]], "UY": ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], "UZ": ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], "VA": ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], "VC": ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], "VE": ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], "VG": ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], "VI": ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], "VN": ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], "VU": ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], "WF": ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], "WS": ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], "XK": ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], "YE": ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], "YT": ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], "ZA": ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], "ZM": ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], "ZW": ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, "nonGeographic": { "800": ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], "808": ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], "870": ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], "878": ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], "881": ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], "882": ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], "883": ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], "888": ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], "979": ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
|
20786
|
+
const metadata = { "version": 4, "country_calling_codes": { "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"], "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"], "850": ["KP"], "852": ["HK"], "853": ["MO"], "855": ["KH"], "856": ["LA"], "880": ["BD"], "886": ["TW"], "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"], "992": ["TJ"], "993": ["TM"], "994": ["AZ"], "995": ["GE"], "996": ["KG"], "998": ["UZ"] }, "countries": { "AC": ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], "AD": ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\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"]]]], "AE": ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\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"]], "0"], "AF": ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], "AG": ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], "AI": ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], "AL": ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\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"]], "0"], "AM": ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\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"]], "0"], "AO": ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], "AR": ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\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", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\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", 0, "$1 $2 $3-$4"]], "0", 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"], "AS": ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], "AT": ["43", "00", "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], [["(\\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(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]", "(?:31|4)6|51|6(?:485|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"]], "0"], "AU": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "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], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\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$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:241|349)0\\d\\d|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])|[34]\\d\\d)|91(?:(?:[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}|(?: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])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "AW": ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], "AX": ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], "AZ": ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], "BA": ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], "BB": ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], "BD": ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], "BE": ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], "BF": ["226", "00", "(?:[025-7]\\d|44)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[024-7]"]]]], "BG": ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], "BH": ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], "BI": ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], "BJ": ["229", "00", "(?:01\\d|8)\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], "BL": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "BM": ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], "BN": ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], "BO": ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], "BQ": ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], "BR": ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37|86)", "300|4(?:0(?:0|20)|370|864)"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], "BS": ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], "BT": ["975", "00", "[178]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|[78]"]]]], "BW": ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], "BY": ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], "BZ": ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], "CA": ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["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(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], "CC": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "CD": ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], "CF": ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], "CG": ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], "CH": ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], "CI": ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], "CK": ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], "CL": ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9(?:10|[2-9])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], "CM": ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], "CN": ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], "CO": ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|9[14]"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], "CR": ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], "CU": ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], "CV": ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], "CW": ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], "CX": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "CY": ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], "CZ": ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], "DE": ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|3[13])"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], "DJ": ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], "DK": ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], "DM": ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], "DO": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], "DZ": ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], "EC": ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], "EE": ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], "EG": ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], "EH": ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], "ER": ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], "ES": ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], "ET": ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], "FI": ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[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], [["(\\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", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], "FJ": ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "FK": ["500", "00", "[2-7]\\d{4}", [5]], "FM": ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], "FO": ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], "FR": ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], "GA": ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], "GB": ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, "0|180020", 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], "GD": ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], "GE": ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], "GF": ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], "GG": ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0|180020", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], "GH": ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], "GI": ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], "GL": ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], "GM": ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "GN": ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], "GP": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "GQ": ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], "GR": ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], "GT": ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], "GU": ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], "GW": ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], "GY": ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "HK": ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\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"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "HN": ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], "HR": ["385", "00", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], "HT": ["509", "00", "[2-589]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], "HU": ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], "ID": ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], "IE": ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "IL": ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], "IM": ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0|180020", "1624$1", 0, "74576|(?:16|7[56])24"], "IN": ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], "IO": ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], "IQ": ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], "IR": ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], "IS": ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "IT": ["39", "00", "0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[03]"]]], 0, 0, 0, 0, 0, 0, [["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], "JE": ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0|180020", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], "JM": ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], "JO": ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[47]"], "0$1"]], "0"], "JP": ["81", "010", "00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0", "$1"], "KE": ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\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"]], "0"], "KG": ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "KH": ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "KI": ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], "KM": ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], "KN": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], "KP": ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], "KR": ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], "KW": ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], "KY": ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], "KZ": ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33622|7", 0, "8~10"], "LA": ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["3"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], "LB": ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], "LC": ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], "LI": ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], "LK": ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], "LR": ["231", "00", "(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], "LS": ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], "LT": ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], "LU": ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], "LV": ["371", "00", "(?:[268]\\d|78|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2679]|8[01]"]]]], "LY": ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], "MA": ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:[19]|2[2-46-9]|3[3-9])|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], "MC": ["377", "00", "(?:[3489]|[67]\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[67]"], "0$1"]], "0"], "MD": ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], "ME": ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], "MF": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "MG": ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], "MH": ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], "MK": ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], "ML": ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], "MM": ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], "MN": ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], "MO": ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], "MP": ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], "MQ": ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "MR": ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], "MS": ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], "MT": ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], "MU": ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], "MV": ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "MW": ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], "MX": ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "MY": ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], "MZ": ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], "NA": ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], "NC": ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], "NE": ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], "NF": ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], "NG": ["234", "009", "(?:20|9\\d)\\d{8}|[78]\\d{9,13}", [10, 11, 12, 13, 14], [["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], "NI": ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], "NL": ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], "NO": ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], "NP": ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], "NR": ["674", "00", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]]], "NU": ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], "NZ": ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], "OM": ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], "PA": ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], "PE": ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], "PF": ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], "PG": ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "PH": ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], "PK": ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], "PL": ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], "PM": ["508", "00", "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "PR": ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], "PS": ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "PT": ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], "PW": ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "PY": ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], "QA": ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[136]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], "RE": ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], "RO": ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], "RS": ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], "RU": ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, 0, [["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}", [10]], ["9\\d{9}", [10]], ["8(?:0[04]|108\\d{3})\\d{7}"], ["80[39]\\d{7}", [10]], ["808\\d{7}", [10]]], "8~10"], "RW": ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], "SA": ["966", "00", "(?:[15]\\d|800|92)\\d{7}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], "SB": ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], "SC": ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "SD": ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], "SE": ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], "SG": ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], "SH": ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], "SI": ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], "SJ": ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], "SK": ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], "SL": ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], "SM": ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], "SN": ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], "SO": ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], "0"], "SR": ["597", "00", "(?:[2-5]|[6-8]\\d|90)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]]], "SS": ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], "ST": ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], "SV": ["503", "00", "[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[25-7]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], "SX": ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], "SY": ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], "SZ": ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], "TA": ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], "TC": ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], "TD": ["235", "00|16", "(?:22|30|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "TG": ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], "TH": ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "TJ": ["992", "810", "(?:[0-57-9]\\d|66)\\d{7}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["\\d"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], "TK": ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], "TL": ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], "TM": ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], "TN": ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], "TO": ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], "TR": ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], "TT": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], "TV": ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], "TW": ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], "TZ": ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], "UA": ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], "UG": ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], "US": ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["3052(?:0[0-8]|[1-9]\\d)\\d{4}|(?:2742|305[3-9])\\d{6}|(?:472|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[013-79]|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-57-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-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|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-3589]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["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}"], 0, 0, 0, ["305209\\d{4}"]]], "UY": ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{4,5})", "$1", ["21"]], ["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], "UZ": ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], "VA": ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], "VC": ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], "VE": ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], "VG": ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], "VI": ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], "VN": ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], "VU": ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], "WF": ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], "WS": ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], "XK": ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], "YE": ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], "YT": ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], "ZA": ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], "ZM": ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], "ZW": ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, "nonGeographic": { "800": ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], "808": ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], "870": ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], "878": ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], "881": ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], "882": ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], "883": ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], "888": ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], "979": ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
|
20695
20787
|
function withMetadataArgument(func, _arguments) {
|
|
20696
20788
|
var args = Array.prototype.slice.call(_arguments);
|
|
20697
20789
|
args.push(metadata);
|
|
@@ -20719,32 +20811,39 @@ var objectConstructor = {}.constructor;
|
|
|
20719
20811
|
function isObject(object) {
|
|
20720
20812
|
return object !== void 0 && object !== null && object.constructor === objectConstructor;
|
|
20721
20813
|
}
|
|
20722
|
-
function _typeof$
|
|
20814
|
+
function _typeof$7(o) {
|
|
20723
20815
|
"@babel/helpers - typeof";
|
|
20724
|
-
return _typeof$
|
|
20725
|
-
return typeof
|
|
20726
|
-
} : function(
|
|
20727
|
-
return
|
|
20728
|
-
}, _typeof$
|
|
20816
|
+
return _typeof$7 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
20817
|
+
return typeof o2;
|
|
20818
|
+
} : function(o2) {
|
|
20819
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
20820
|
+
}, _typeof$7(o);
|
|
20729
20821
|
}
|
|
20730
|
-
function _classCallCheck$2(
|
|
20731
|
-
if (!(
|
|
20732
|
-
throw new TypeError("Cannot call a class as a function");
|
|
20733
|
-
}
|
|
20822
|
+
function _classCallCheck$2(a, n) {
|
|
20823
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
20734
20824
|
}
|
|
20735
|
-
function _defineProperties$1(
|
|
20736
|
-
for (var
|
|
20737
|
-
var
|
|
20738
|
-
|
|
20739
|
-
descriptor.configurable = true;
|
|
20740
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
20741
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
20825
|
+
function _defineProperties$1(e, r) {
|
|
20826
|
+
for (var t2 = 0; t2 < r.length; t2++) {
|
|
20827
|
+
var o = r[t2];
|
|
20828
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey$6(o.key), o);
|
|
20742
20829
|
}
|
|
20743
20830
|
}
|
|
20744
|
-
function _createClass$2(
|
|
20745
|
-
|
|
20746
|
-
|
|
20747
|
-
|
|
20831
|
+
function _createClass$2(e, r, t2) {
|
|
20832
|
+
return r && _defineProperties$1(e.prototype, r), Object.defineProperty(e, "prototype", { writable: false }), e;
|
|
20833
|
+
}
|
|
20834
|
+
function _toPropertyKey$6(t2) {
|
|
20835
|
+
var i = _toPrimitive$6(t2, "string");
|
|
20836
|
+
return "symbol" == _typeof$7(i) ? i : i + "";
|
|
20837
|
+
}
|
|
20838
|
+
function _toPrimitive$6(t2, r) {
|
|
20839
|
+
if ("object" != _typeof$7(t2) || !t2) return t2;
|
|
20840
|
+
var e = t2[Symbol.toPrimitive];
|
|
20841
|
+
if (void 0 !== e) {
|
|
20842
|
+
var i = e.call(t2, r);
|
|
20843
|
+
if ("object" != _typeof$7(i)) return i;
|
|
20844
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
20845
|
+
}
|
|
20846
|
+
return String(t2);
|
|
20748
20847
|
}
|
|
20749
20848
|
var V3 = "1.2.0";
|
|
20750
20849
|
var V4 = "1.7.35";
|
|
@@ -20757,7 +20856,7 @@ var Metadata = /* @__PURE__ */ function() {
|
|
|
20757
20856
|
this.metadata = metadata2;
|
|
20758
20857
|
setVersion.call(this, metadata2);
|
|
20759
20858
|
}
|
|
20760
|
-
_createClass$2(Metadata2, [{
|
|
20859
|
+
return _createClass$2(Metadata2, [{
|
|
20761
20860
|
key: "getCountries",
|
|
20762
20861
|
value: function getCountries() {
|
|
20763
20862
|
return Object.keys(this.metadata.countries).filter(function(_) {
|
|
@@ -20962,7 +21061,6 @@ var Metadata = /* @__PURE__ */ function() {
|
|
|
20962
21061
|
return this.numberingPlan !== void 0;
|
|
20963
21062
|
}
|
|
20964
21063
|
}]);
|
|
20965
|
-
return Metadata2;
|
|
20966
21064
|
}();
|
|
20967
21065
|
var NumberingPlan = /* @__PURE__ */ function() {
|
|
20968
21066
|
function NumberingPlan2(metadata2, globalMetadataObject) {
|
|
@@ -20971,7 +21069,7 @@ var NumberingPlan = /* @__PURE__ */ function() {
|
|
|
20971
21069
|
this.metadata = metadata2;
|
|
20972
21070
|
setVersion.call(this, globalMetadataObject.metadata);
|
|
20973
21071
|
}
|
|
20974
|
-
_createClass$2(NumberingPlan2, [{
|
|
21072
|
+
return _createClass$2(NumberingPlan2, [{
|
|
20975
21073
|
key: "callingCode",
|
|
20976
21074
|
value: function callingCode() {
|
|
20977
21075
|
return this.metadata[0];
|
|
@@ -21110,7 +21208,6 @@ var NumberingPlan = /* @__PURE__ */ function() {
|
|
|
21110
21208
|
return this.metadata[13] || DEFAULT_EXT_PREFIX;
|
|
21111
21209
|
}
|
|
21112
21210
|
}]);
|
|
21113
|
-
return NumberingPlan2;
|
|
21114
21211
|
}();
|
|
21115
21212
|
var Format = /* @__PURE__ */ function() {
|
|
21116
21213
|
function Format2(format2, metadata2) {
|
|
@@ -21118,7 +21215,7 @@ var Format = /* @__PURE__ */ function() {
|
|
|
21118
21215
|
this._format = format2;
|
|
21119
21216
|
this.metadata = metadata2;
|
|
21120
21217
|
}
|
|
21121
|
-
_createClass$2(Format2, [{
|
|
21218
|
+
return _createClass$2(Format2, [{
|
|
21122
21219
|
key: "pattern",
|
|
21123
21220
|
value: function pattern() {
|
|
21124
21221
|
return this._format[0];
|
|
@@ -21161,7 +21258,6 @@ var Format = /* @__PURE__ */ function() {
|
|
|
21161
21258
|
return this._format[5] || this.format();
|
|
21162
21259
|
}
|
|
21163
21260
|
}]);
|
|
21164
|
-
return Format2;
|
|
21165
21261
|
}();
|
|
21166
21262
|
var FIRST_GROUP_ONLY_PREFIX_PATTERN = /^\(?\$1\)?$/;
|
|
21167
21263
|
var Type = /* @__PURE__ */ function() {
|
|
@@ -21170,7 +21266,7 @@ var Type = /* @__PURE__ */ function() {
|
|
|
21170
21266
|
this.type = type;
|
|
21171
21267
|
this.metadata = metadata2;
|
|
21172
21268
|
}
|
|
21173
|
-
_createClass$2(Type2, [{
|
|
21269
|
+
return _createClass$2(Type2, [{
|
|
21174
21270
|
key: "pattern",
|
|
21175
21271
|
value: function pattern() {
|
|
21176
21272
|
if (this.metadata.v1) return this.type;
|
|
@@ -21183,7 +21279,6 @@ var Type = /* @__PURE__ */ function() {
|
|
|
21183
21279
|
return this.type[1] || this.metadata.possibleLengths();
|
|
21184
21280
|
}
|
|
21185
21281
|
}]);
|
|
21186
|
-
return Type2;
|
|
21187
21282
|
}();
|
|
21188
21283
|
function getType(types, type) {
|
|
21189
21284
|
switch (type) {
|
|
@@ -21218,12 +21313,12 @@ function validateMetadata(metadata2) {
|
|
|
21218
21313
|
}
|
|
21219
21314
|
}
|
|
21220
21315
|
var typeOf = function typeOf2(_) {
|
|
21221
|
-
return _typeof$
|
|
21316
|
+
return _typeof$7(_);
|
|
21222
21317
|
};
|
|
21223
21318
|
function getCountryCallingCode(country, metadata2) {
|
|
21224
21319
|
metadata2 = new Metadata(metadata2);
|
|
21225
21320
|
if (metadata2.hasCountry(country)) {
|
|
21226
|
-
return metadata2.
|
|
21321
|
+
return metadata2.selectNumberingPlan(country).countryCallingCode();
|
|
21227
21322
|
}
|
|
21228
21323
|
throw new Error("Unknown country: ".concat(country));
|
|
21229
21324
|
}
|
|
@@ -21249,10 +21344,14 @@ function setVersion(metadata2) {
|
|
|
21249
21344
|
}
|
|
21250
21345
|
}
|
|
21251
21346
|
}
|
|
21252
|
-
function checkNumberLength(nationalNumber, metadata2) {
|
|
21253
|
-
return checkNumberLengthForType(nationalNumber, void 0, metadata2);
|
|
21347
|
+
function checkNumberLength(nationalNumber, country, metadata2) {
|
|
21348
|
+
return checkNumberLengthForType(nationalNumber, country, void 0, metadata2);
|
|
21254
21349
|
}
|
|
21255
|
-
function checkNumberLengthForType(nationalNumber, type, metadata2) {
|
|
21350
|
+
function checkNumberLengthForType(nationalNumber, country, type, metadata2) {
|
|
21351
|
+
if (country) {
|
|
21352
|
+
metadata2 = new Metadata(metadata2.metadata);
|
|
21353
|
+
metadata2.selectNumberingPlan(country);
|
|
21354
|
+
}
|
|
21256
21355
|
var type_info = metadata2.type(type);
|
|
21257
21356
|
var possible_lengths = type_info && type_info.possibleLengths() || metadata2.possibleLengths();
|
|
21258
21357
|
if (!possible_lengths) {
|
|
@@ -21289,7 +21388,7 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
21289
21388
|
if (!metadata2.hasCountry(input.country)) {
|
|
21290
21389
|
throw new Error("Unknown country: ".concat(input.country));
|
|
21291
21390
|
}
|
|
21292
|
-
metadata2.
|
|
21391
|
+
metadata2.selectNumberingPlan(input.country);
|
|
21293
21392
|
} else {
|
|
21294
21393
|
if (!input.countryCallingCode) {
|
|
21295
21394
|
throw new Error("Invalid phone number object passed");
|
|
@@ -21298,7 +21397,7 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
21298
21397
|
}
|
|
21299
21398
|
}
|
|
21300
21399
|
if (metadata2.possibleLengths()) {
|
|
21301
|
-
return isPossibleNumber(input.phone || input.nationalNumber, metadata2);
|
|
21400
|
+
return isPossibleNumber(input.phone || input.nationalNumber, input.country, metadata2);
|
|
21302
21401
|
} else {
|
|
21303
21402
|
if (input.countryCallingCode && metadata2.isNonGeographicCallingCode(input.countryCallingCode)) {
|
|
21304
21403
|
return true;
|
|
@@ -21307,45 +21406,41 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
21307
21406
|
}
|
|
21308
21407
|
}
|
|
21309
21408
|
}
|
|
21310
|
-
function isPossibleNumber(nationalNumber, metadata2) {
|
|
21311
|
-
switch (checkNumberLength(nationalNumber, metadata2)) {
|
|
21409
|
+
function isPossibleNumber(nationalNumber, country, metadata2) {
|
|
21410
|
+
switch (checkNumberLength(nationalNumber, country, metadata2)) {
|
|
21312
21411
|
case "IS_POSSIBLE":
|
|
21313
21412
|
return true;
|
|
21314
21413
|
default:
|
|
21315
21414
|
return false;
|
|
21316
21415
|
}
|
|
21317
21416
|
}
|
|
21318
|
-
function matchesEntirely(text2,
|
|
21417
|
+
function matchesEntirely(text2, regularExpressionText) {
|
|
21319
21418
|
text2 = text2 || "";
|
|
21320
|
-
return new RegExp("^(?:" +
|
|
21321
|
-
}
|
|
21322
|
-
function _createForOfIteratorHelperLoose$
|
|
21323
|
-
var
|
|
21324
|
-
if (
|
|
21325
|
-
if (Array.isArray(
|
|
21326
|
-
|
|
21327
|
-
var
|
|
21419
|
+
return new RegExp("^(?:" + regularExpressionText + ")$").test(text2);
|
|
21420
|
+
}
|
|
21421
|
+
function _createForOfIteratorHelperLoose$2(r, e) {
|
|
21422
|
+
var t2 = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
21423
|
+
if (t2) return (t2 = t2.call(r)).next.bind(t2);
|
|
21424
|
+
if (Array.isArray(r) || (t2 = _unsupportedIterableToArray$3(r)) || e) {
|
|
21425
|
+
t2 && (r = t2);
|
|
21426
|
+
var o = 0;
|
|
21328
21427
|
return function() {
|
|
21329
|
-
|
|
21330
|
-
return { done: false, value: o[i++] };
|
|
21428
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
21331
21429
|
};
|
|
21332
21430
|
}
|
|
21333
21431
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
21334
21432
|
}
|
|
21335
|
-
function _unsupportedIterableToArray$
|
|
21336
|
-
if (
|
|
21337
|
-
|
|
21338
|
-
|
|
21339
|
-
|
|
21340
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
21341
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$4(o, minLen);
|
|
21342
|
-
}
|
|
21343
|
-
function _arrayLikeToArray$4(arr, len) {
|
|
21344
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
21345
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
21346
|
-
arr2[i] = arr[i];
|
|
21433
|
+
function _unsupportedIterableToArray$3(r, a) {
|
|
21434
|
+
if (r) {
|
|
21435
|
+
if ("string" == typeof r) return _arrayLikeToArray$3(r, a);
|
|
21436
|
+
var t2 = {}.toString.call(r).slice(8, -1);
|
|
21437
|
+
return "Object" === t2 && r.constructor && (t2 = r.constructor.name), "Map" === t2 || "Set" === t2 ? Array.from(r) : "Arguments" === t2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t2) ? _arrayLikeToArray$3(r, a) : void 0;
|
|
21347
21438
|
}
|
|
21348
|
-
|
|
21439
|
+
}
|
|
21440
|
+
function _arrayLikeToArray$3(r, a) {
|
|
21441
|
+
(null == a || a > r.length) && (a = r.length);
|
|
21442
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
21443
|
+
return n;
|
|
21349
21444
|
}
|
|
21350
21445
|
var NON_FIXED_LINE_PHONE_TYPES = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
21351
21446
|
function getNumberType(input, options, metadata2) {
|
|
@@ -21371,7 +21466,7 @@ function getNumberType(input, options, metadata2) {
|
|
|
21371
21466
|
}
|
|
21372
21467
|
return "FIXED_LINE";
|
|
21373
21468
|
}
|
|
21374
|
-
for (var _iterator = _createForOfIteratorHelperLoose$
|
|
21469
|
+
for (var _iterator = _createForOfIteratorHelperLoose$2(NON_FIXED_LINE_PHONE_TYPES), _step; !(_step = _iterator()).done; ) {
|
|
21375
21470
|
var type = _step.value;
|
|
21376
21471
|
if (isNumberTypeEqualTo(nationalNumber, type, metadata2)) {
|
|
21377
21472
|
return type;
|
|
@@ -21490,7 +21585,63 @@ function extractNationalNumberFromPossiblyIncompleteNumber(number2, metadata2) {
|
|
|
21490
21585
|
nationalNumber: number2
|
|
21491
21586
|
};
|
|
21492
21587
|
}
|
|
21493
|
-
function
|
|
21588
|
+
function _createForOfIteratorHelperLoose$1(r, e) {
|
|
21589
|
+
var t2 = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
21590
|
+
if (t2) return (t2 = t2.call(r)).next.bind(t2);
|
|
21591
|
+
if (Array.isArray(r) || (t2 = _unsupportedIterableToArray$2(r)) || e) {
|
|
21592
|
+
t2 && (r = t2);
|
|
21593
|
+
var o = 0;
|
|
21594
|
+
return function() {
|
|
21595
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
21596
|
+
};
|
|
21597
|
+
}
|
|
21598
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
21599
|
+
}
|
|
21600
|
+
function _unsupportedIterableToArray$2(r, a) {
|
|
21601
|
+
if (r) {
|
|
21602
|
+
if ("string" == typeof r) return _arrayLikeToArray$2(r, a);
|
|
21603
|
+
var t2 = {}.toString.call(r).slice(8, -1);
|
|
21604
|
+
return "Object" === t2 && r.constructor && (t2 = r.constructor.name), "Map" === t2 || "Set" === t2 ? Array.from(r) : "Arguments" === t2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t2) ? _arrayLikeToArray$2(r, a) : void 0;
|
|
21605
|
+
}
|
|
21606
|
+
}
|
|
21607
|
+
function _arrayLikeToArray$2(r, a) {
|
|
21608
|
+
(null == a || a > r.length) && (a = r.length);
|
|
21609
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
21610
|
+
return n;
|
|
21611
|
+
}
|
|
21612
|
+
function getCountryByNationalNumber(nationalPhoneNumber, _ref) {
|
|
21613
|
+
var countries = _ref.countries, metadata2 = _ref.metadata;
|
|
21614
|
+
metadata2 = new Metadata(metadata2);
|
|
21615
|
+
for (var _iterator = _createForOfIteratorHelperLoose$1(countries), _step; !(_step = _iterator()).done; ) {
|
|
21616
|
+
var country = _step.value;
|
|
21617
|
+
metadata2.selectNumberingPlan(country);
|
|
21618
|
+
if (metadata2.leadingDigits()) {
|
|
21619
|
+
if (nationalPhoneNumber && nationalPhoneNumber.search(metadata2.leadingDigits()) === 0) {
|
|
21620
|
+
return country;
|
|
21621
|
+
}
|
|
21622
|
+
} else if (getNumberType({
|
|
21623
|
+
phone: nationalPhoneNumber,
|
|
21624
|
+
country
|
|
21625
|
+
}, void 0, metadata2.metadata)) {
|
|
21626
|
+
return country;
|
|
21627
|
+
}
|
|
21628
|
+
}
|
|
21629
|
+
}
|
|
21630
|
+
function getCountryByCallingCode(callingCode, _ref) {
|
|
21631
|
+
var nationalPhoneNumber = _ref.nationalNumber, metadata2 = _ref.metadata;
|
|
21632
|
+
var possibleCountries = metadata2.getCountryCodesForCallingCode(callingCode);
|
|
21633
|
+
if (!possibleCountries) {
|
|
21634
|
+
return;
|
|
21635
|
+
}
|
|
21636
|
+
if (possibleCountries.length === 1) {
|
|
21637
|
+
return possibleCountries[0];
|
|
21638
|
+
}
|
|
21639
|
+
return getCountryByNationalNumber(nationalPhoneNumber, {
|
|
21640
|
+
countries: possibleCountries,
|
|
21641
|
+
metadata: metadata2.metadata
|
|
21642
|
+
});
|
|
21643
|
+
}
|
|
21644
|
+
function extractNationalNumber(number2, country, metadata2) {
|
|
21494
21645
|
var _extractNationalNumbe = extractNationalNumberFromPossiblyIncompleteNumber(number2, metadata2), carrierCode = _extractNationalNumbe.carrierCode, nationalNumber = _extractNationalNumbe.nationalNumber;
|
|
21495
21646
|
if (nationalNumber !== number2) {
|
|
21496
21647
|
if (!shouldHaveExtractedNationalPrefix(number2, nationalNumber, metadata2)) {
|
|
@@ -21498,8 +21649,14 @@ function extractNationalNumber(number2, metadata2) {
|
|
|
21498
21649
|
nationalNumber: number2
|
|
21499
21650
|
};
|
|
21500
21651
|
}
|
|
21501
|
-
if (metadata2.possibleLengths()) {
|
|
21502
|
-
if (!
|
|
21652
|
+
if (metadata2.numberingPlan.possibleLengths()) {
|
|
21653
|
+
if (!country) {
|
|
21654
|
+
country = getCountryByCallingCode(metadata2.numberingPlan.callingCode(), {
|
|
21655
|
+
nationalNumber,
|
|
21656
|
+
metadata: metadata2
|
|
21657
|
+
});
|
|
21658
|
+
}
|
|
21659
|
+
if (!isPossibleIncompleteNationalNumber(nationalNumber, country, metadata2)) {
|
|
21503
21660
|
return {
|
|
21504
21661
|
nationalNumber: number2
|
|
21505
21662
|
};
|
|
@@ -21517,8 +21674,8 @@ function shouldHaveExtractedNationalPrefix(nationalNumberBefore, nationalNumberA
|
|
|
21517
21674
|
}
|
|
21518
21675
|
return true;
|
|
21519
21676
|
}
|
|
21520
|
-
function isPossibleIncompleteNationalNumber(nationalNumber, metadata2) {
|
|
21521
|
-
switch (checkNumberLength(nationalNumber, metadata2)) {
|
|
21677
|
+
function isPossibleIncompleteNationalNumber(nationalNumber, country, metadata2) {
|
|
21678
|
+
switch (checkNumberLength(nationalNumber, country, metadata2)) {
|
|
21522
21679
|
case "TOO_SHORT":
|
|
21523
21680
|
case "INVALID_LENGTH":
|
|
21524
21681
|
return false;
|
|
@@ -21526,15 +21683,15 @@ function isPossibleIncompleteNationalNumber(nationalNumber, metadata2) {
|
|
|
21526
21683
|
return true;
|
|
21527
21684
|
}
|
|
21528
21685
|
}
|
|
21529
|
-
function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country,
|
|
21530
|
-
var countryCallingCode =
|
|
21686
|
+
function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country, defaultCountry, defaultCallingCode, metadata2) {
|
|
21687
|
+
var countryCallingCode = defaultCountry ? getCountryCallingCode(defaultCountry, metadata2) : defaultCallingCode;
|
|
21531
21688
|
if (number2.indexOf(countryCallingCode) === 0) {
|
|
21532
21689
|
metadata2 = new Metadata(metadata2);
|
|
21533
|
-
metadata2.selectNumberingPlan(
|
|
21690
|
+
metadata2.selectNumberingPlan(defaultCountry, countryCallingCode);
|
|
21534
21691
|
var possibleShorterNumber = number2.slice(countryCallingCode.length);
|
|
21535
|
-
var _extractNationalNumbe = extractNationalNumber(possibleShorterNumber, metadata2), possibleShorterNationalNumber = _extractNationalNumbe.nationalNumber;
|
|
21536
|
-
var _extractNationalNumbe2 = extractNationalNumber(number2, metadata2), nationalNumber = _extractNationalNumbe2.nationalNumber;
|
|
21537
|
-
if (!matchesEntirely(nationalNumber, metadata2.nationalNumberPattern()) && matchesEntirely(possibleShorterNationalNumber, metadata2.nationalNumberPattern()) || checkNumberLength(nationalNumber, metadata2) === "TOO_LONG") {
|
|
21692
|
+
var _extractNationalNumbe = extractNationalNumber(possibleShorterNumber, country, metadata2), possibleShorterNationalNumber = _extractNationalNumbe.nationalNumber;
|
|
21693
|
+
var _extractNationalNumbe2 = extractNationalNumber(number2, country, metadata2), nationalNumber = _extractNationalNumbe2.nationalNumber;
|
|
21694
|
+
if (!matchesEntirely(nationalNumber, metadata2.nationalNumberPattern()) && matchesEntirely(possibleShorterNationalNumber, metadata2.nationalNumberPattern()) || checkNumberLength(nationalNumber, country, metadata2) === "TOO_LONG") {
|
|
21538
21695
|
return {
|
|
21539
21696
|
countryCallingCode,
|
|
21540
21697
|
number: possibleShorterNumber
|
|
@@ -21545,19 +21702,19 @@ function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2
|
|
|
21545
21702
|
number: number2
|
|
21546
21703
|
};
|
|
21547
21704
|
}
|
|
21548
|
-
function extractCountryCallingCode(number2, country,
|
|
21705
|
+
function extractCountryCallingCode(number2, country, defaultCountry, defaultCallingCode, metadata2) {
|
|
21549
21706
|
if (!number2) {
|
|
21550
21707
|
return {};
|
|
21551
21708
|
}
|
|
21552
21709
|
var isNumberWithIddPrefix;
|
|
21553
21710
|
if (number2[0] !== "+") {
|
|
21554
|
-
var numberWithoutIDD = stripIddPrefix(number2,
|
|
21711
|
+
var numberWithoutIDD = stripIddPrefix(number2, defaultCountry, defaultCallingCode, metadata2);
|
|
21555
21712
|
if (numberWithoutIDD && numberWithoutIDD !== number2) {
|
|
21556
21713
|
isNumberWithIddPrefix = true;
|
|
21557
21714
|
number2 = "+" + numberWithoutIDD;
|
|
21558
21715
|
} else {
|
|
21559
|
-
if (
|
|
21560
|
-
var _extractCountryCallin = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country,
|
|
21716
|
+
if (defaultCountry || defaultCallingCode) {
|
|
21717
|
+
var _extractCountryCallin = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country, defaultCountry, defaultCallingCode, metadata2), countryCallingCode = _extractCountryCallin.countryCallingCode, shorterNumber = _extractCountryCallin.number;
|
|
21561
21718
|
if (countryCallingCode) {
|
|
21562
21719
|
return {
|
|
21563
21720
|
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
|
@@ -21681,63 +21838,6 @@ function formatRFC3966(_ref) {
|
|
|
21681
21838
|
}
|
|
21682
21839
|
return "tel:".concat(number2).concat(ext ? ";ext=" + ext : "");
|
|
21683
21840
|
}
|
|
21684
|
-
function _createForOfIteratorHelperLoose$2(o, allowArrayLike) {
|
|
21685
|
-
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
21686
|
-
if (it) return (it = it.call(o)).next.bind(it);
|
|
21687
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray$3(o)) || allowArrayLike) {
|
|
21688
|
-
if (it) o = it;
|
|
21689
|
-
var i = 0;
|
|
21690
|
-
return function() {
|
|
21691
|
-
if (i >= o.length) return { done: true };
|
|
21692
|
-
return { done: false, value: o[i++] };
|
|
21693
|
-
};
|
|
21694
|
-
}
|
|
21695
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
21696
|
-
}
|
|
21697
|
-
function _unsupportedIterableToArray$3(o, minLen) {
|
|
21698
|
-
if (!o) return;
|
|
21699
|
-
if (typeof o === "string") return _arrayLikeToArray$3(o, minLen);
|
|
21700
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
21701
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
21702
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
21703
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$3(o, minLen);
|
|
21704
|
-
}
|
|
21705
|
-
function _arrayLikeToArray$3(arr, len) {
|
|
21706
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
21707
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
21708
|
-
arr2[i] = arr[i];
|
|
21709
|
-
}
|
|
21710
|
-
return arr2;
|
|
21711
|
-
}
|
|
21712
|
-
function ownKeys$6(object, enumerableOnly) {
|
|
21713
|
-
var keys = Object.keys(object);
|
|
21714
|
-
if (Object.getOwnPropertySymbols) {
|
|
21715
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
21716
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
21717
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21718
|
-
})), keys.push.apply(keys, symbols);
|
|
21719
|
-
}
|
|
21720
|
-
return keys;
|
|
21721
|
-
}
|
|
21722
|
-
function _objectSpread$6(target) {
|
|
21723
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
21724
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
|
21725
|
-
i % 2 ? ownKeys$6(Object(source), true).forEach(function(key) {
|
|
21726
|
-
_defineProperty$6(target, key, source[key]);
|
|
21727
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$6(Object(source)).forEach(function(key) {
|
|
21728
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
21729
|
-
});
|
|
21730
|
-
}
|
|
21731
|
-
return target;
|
|
21732
|
-
}
|
|
21733
|
-
function _defineProperty$6(obj, key, value) {
|
|
21734
|
-
if (key in obj) {
|
|
21735
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
21736
|
-
} else {
|
|
21737
|
-
obj[key] = value;
|
|
21738
|
-
}
|
|
21739
|
-
return obj;
|
|
21740
|
-
}
|
|
21741
21841
|
var DEFAULT_OPTIONS = {
|
|
21742
21842
|
formatExtension: function formatExtension(formattedNumber, extension, metadata2) {
|
|
21743
21843
|
return "".concat(formattedNumber).concat(metadata2.ext()).concat(extension);
|
|
@@ -21745,7 +21845,7 @@ var DEFAULT_OPTIONS = {
|
|
|
21745
21845
|
};
|
|
21746
21846
|
function formatNumber(input, format2, options, metadata2) {
|
|
21747
21847
|
if (options) {
|
|
21748
|
-
options =
|
|
21848
|
+
options = merge({}, DEFAULT_OPTIONS, options);
|
|
21749
21849
|
} else {
|
|
21750
21850
|
options = DEFAULT_OPTIONS;
|
|
21751
21851
|
}
|
|
@@ -21754,7 +21854,7 @@ function formatNumber(input, format2, options, metadata2) {
|
|
|
21754
21854
|
if (!metadata2.hasCountry(input.country)) {
|
|
21755
21855
|
throw new Error("Unknown country: ".concat(input.country));
|
|
21756
21856
|
}
|
|
21757
|
-
metadata2.
|
|
21857
|
+
metadata2.selectNumberingPlan(input.country);
|
|
21758
21858
|
} else if (input.countryCallingCode) {
|
|
21759
21859
|
metadata2.selectNumberingPlan(input.countryCallingCode);
|
|
21760
21860
|
} else return input.phone || "";
|
|
@@ -21802,19 +21902,16 @@ function formatNationalNumber(number2, carrierCode, formatAs, metadata2, options
|
|
|
21802
21902
|
withNationalPrefix: format2.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && options && options.nationalPrefix === false ? false : true
|
|
21803
21903
|
});
|
|
21804
21904
|
}
|
|
21805
|
-
function chooseFormatForNumber(availableFormats,
|
|
21806
|
-
|
|
21807
|
-
var format2 = _step.value;
|
|
21905
|
+
function chooseFormatForNumber(availableFormats, nationalNumber) {
|
|
21906
|
+
return pickFirstMatchingElement(availableFormats, function(format2) {
|
|
21808
21907
|
if (format2.leadingDigitsPatterns().length > 0) {
|
|
21809
21908
|
var lastLeadingDigitsPattern = format2.leadingDigitsPatterns()[format2.leadingDigitsPatterns().length - 1];
|
|
21810
|
-
if (
|
|
21811
|
-
|
|
21909
|
+
if (nationalNumber.search(lastLeadingDigitsPattern) !== 0) {
|
|
21910
|
+
return false;
|
|
21812
21911
|
}
|
|
21813
21912
|
}
|
|
21814
|
-
|
|
21815
|
-
|
|
21816
|
-
}
|
|
21817
|
-
}
|
|
21913
|
+
return matchesEntirely(nationalNumber, format2.pattern());
|
|
21914
|
+
});
|
|
21818
21915
|
}
|
|
21819
21916
|
function addExtension(formattedNumber, ext, metadata2, formatExtension2) {
|
|
21820
21917
|
return ext ? formatExtension2(formattedNumber, ext, metadata2) : formattedNumber;
|
|
@@ -21833,53 +21930,87 @@ function formatIDD(nationalNumber, carrierCode, countryCallingCode, fromCountry,
|
|
|
21833
21930
|
return "".concat(iddPrefix, " ").concat(countryCallingCode, " ").concat(formatNationalNumber(nationalNumber, null, "INTERNATIONAL", metadata2));
|
|
21834
21931
|
}
|
|
21835
21932
|
}
|
|
21836
|
-
function
|
|
21837
|
-
var
|
|
21838
|
-
|
|
21839
|
-
|
|
21840
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
21841
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21842
|
-
})), keys.push.apply(keys, symbols);
|
|
21933
|
+
function merge() {
|
|
21934
|
+
var i = 1;
|
|
21935
|
+
for (var _len = arguments.length, objects = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
21936
|
+
objects[_key] = arguments[_key];
|
|
21843
21937
|
}
|
|
21844
|
-
|
|
21845
|
-
|
|
21846
|
-
|
|
21847
|
-
|
|
21848
|
-
|
|
21849
|
-
|
|
21850
|
-
|
|
21851
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function(key) {
|
|
21852
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
21853
|
-
});
|
|
21938
|
+
while (i < objects.length) {
|
|
21939
|
+
if (objects[i]) {
|
|
21940
|
+
for (var key in objects[i]) {
|
|
21941
|
+
objects[0][key] = objects[i][key];
|
|
21942
|
+
}
|
|
21943
|
+
}
|
|
21944
|
+
i++;
|
|
21854
21945
|
}
|
|
21855
|
-
return
|
|
21946
|
+
return objects[0];
|
|
21856
21947
|
}
|
|
21857
|
-
function
|
|
21858
|
-
|
|
21859
|
-
|
|
21860
|
-
|
|
21861
|
-
|
|
21948
|
+
function pickFirstMatchingElement(elements, testFunction) {
|
|
21949
|
+
var i = 0;
|
|
21950
|
+
while (i < elements.length) {
|
|
21951
|
+
if (testFunction(elements[i])) {
|
|
21952
|
+
return elements[i];
|
|
21953
|
+
}
|
|
21954
|
+
i++;
|
|
21862
21955
|
}
|
|
21863
|
-
return obj;
|
|
21864
21956
|
}
|
|
21865
|
-
function
|
|
21866
|
-
|
|
21867
|
-
|
|
21957
|
+
function _typeof$6(o) {
|
|
21958
|
+
"@babel/helpers - typeof";
|
|
21959
|
+
return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
21960
|
+
return typeof o2;
|
|
21961
|
+
} : function(o2) {
|
|
21962
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
21963
|
+
}, _typeof$6(o);
|
|
21964
|
+
}
|
|
21965
|
+
function ownKeys$5(e, r) {
|
|
21966
|
+
var t2 = Object.keys(e);
|
|
21967
|
+
if (Object.getOwnPropertySymbols) {
|
|
21968
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
21969
|
+
r && (o = o.filter(function(r2) {
|
|
21970
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
21971
|
+
})), t2.push.apply(t2, o);
|
|
21972
|
+
}
|
|
21973
|
+
return t2;
|
|
21974
|
+
}
|
|
21975
|
+
function _objectSpread$5(e) {
|
|
21976
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
21977
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
21978
|
+
r % 2 ? ownKeys$5(Object(t2), true).forEach(function(r2) {
|
|
21979
|
+
_defineProperty$5(e, r2, t2[r2]);
|
|
21980
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$5(Object(t2)).forEach(function(r2) {
|
|
21981
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
21982
|
+
});
|
|
21868
21983
|
}
|
|
21984
|
+
return e;
|
|
21985
|
+
}
|
|
21986
|
+
function _defineProperty$5(e, r, t2) {
|
|
21987
|
+
return (r = _toPropertyKey$5(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
21869
21988
|
}
|
|
21870
|
-
function
|
|
21871
|
-
|
|
21872
|
-
|
|
21873
|
-
|
|
21874
|
-
|
|
21875
|
-
|
|
21876
|
-
Object.defineProperty(
|
|
21989
|
+
function _classCallCheck$1(a, n) {
|
|
21990
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
21991
|
+
}
|
|
21992
|
+
function _defineProperties(e, r) {
|
|
21993
|
+
for (var t2 = 0; t2 < r.length; t2++) {
|
|
21994
|
+
var o = r[t2];
|
|
21995
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey$5(o.key), o);
|
|
21877
21996
|
}
|
|
21878
21997
|
}
|
|
21879
|
-
function _createClass$1(
|
|
21880
|
-
|
|
21881
|
-
|
|
21882
|
-
|
|
21998
|
+
function _createClass$1(e, r, t2) {
|
|
21999
|
+
return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", { writable: false }), e;
|
|
22000
|
+
}
|
|
22001
|
+
function _toPropertyKey$5(t2) {
|
|
22002
|
+
var i = _toPrimitive$5(t2, "string");
|
|
22003
|
+
return "symbol" == _typeof$6(i) ? i : i + "";
|
|
22004
|
+
}
|
|
22005
|
+
function _toPrimitive$5(t2, r) {
|
|
22006
|
+
if ("object" != _typeof$6(t2) || !t2) return t2;
|
|
22007
|
+
var e = t2[Symbol.toPrimitive];
|
|
22008
|
+
if (void 0 !== e) {
|
|
22009
|
+
var i = e.call(t2, r);
|
|
22010
|
+
if ("object" != _typeof$6(i)) return i;
|
|
22011
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
22012
|
+
}
|
|
22013
|
+
return String(t2);
|
|
21883
22014
|
}
|
|
21884
22015
|
var PhoneNumber = /* @__PURE__ */ function() {
|
|
21885
22016
|
function PhoneNumber2(countryOrCountryCallingCode, nationalNumber, metadata2) {
|
|
@@ -21890,22 +22021,20 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
21890
22021
|
if (typeof countryOrCountryCallingCode !== "string") {
|
|
21891
22022
|
throw new TypeError("First argument must be a string");
|
|
21892
22023
|
}
|
|
21893
|
-
if (
|
|
21894
|
-
|
|
21895
|
-
|
|
22024
|
+
if (countryOrCountryCallingCode[0] === "+" && !nationalNumber) {
|
|
22025
|
+
throw new TypeError("`metadata` argument not passed");
|
|
22026
|
+
}
|
|
22027
|
+
if (isObject(nationalNumber) && isObject(nationalNumber.countries)) {
|
|
22028
|
+
metadata2 = nationalNumber;
|
|
22029
|
+
var e164Number = countryOrCountryCallingCode;
|
|
22030
|
+
if (!E164_NUMBER_REGEXP.test(e164Number)) {
|
|
22031
|
+
throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
|
|
21896
22032
|
}
|
|
21897
|
-
|
|
21898
|
-
|
|
21899
|
-
|
|
21900
|
-
|
|
21901
|
-
|
|
21902
|
-
}
|
|
21903
|
-
var _extractCountryCallin = extractCountryCallingCode(e164Number, void 0, void 0, metadata2), _countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
21904
|
-
nationalNumber = number2;
|
|
21905
|
-
countryOrCountryCallingCode = _countryCallingCode;
|
|
21906
|
-
if (!nationalNumber) {
|
|
21907
|
-
throw new Error("Invalid `number` argument passed: too short");
|
|
21908
|
-
}
|
|
22033
|
+
var _extractCountryCallin = extractCountryCallingCode(e164Number, void 0, void 0, void 0, metadata2), _countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
22034
|
+
nationalNumber = number2;
|
|
22035
|
+
countryOrCountryCallingCode = _countryCallingCode;
|
|
22036
|
+
if (!nationalNumber) {
|
|
22037
|
+
throw new Error("Invalid `number` argument passed: too short");
|
|
21909
22038
|
}
|
|
21910
22039
|
}
|
|
21911
22040
|
if (!nationalNumber) {
|
|
@@ -21924,7 +22053,7 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
21924
22053
|
return metadata2;
|
|
21925
22054
|
};
|
|
21926
22055
|
}
|
|
21927
|
-
_createClass$1(PhoneNumber2, [{
|
|
22056
|
+
return _createClass$1(PhoneNumber2, [{
|
|
21928
22057
|
key: "setExt",
|
|
21929
22058
|
value: function setExt(ext) {
|
|
21930
22059
|
this.ext = ext;
|
|
@@ -22008,7 +22137,6 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
22008
22137
|
return this.format("RFC3966", options);
|
|
22009
22138
|
}
|
|
22010
22139
|
}]);
|
|
22011
|
-
return PhoneNumber2;
|
|
22012
22140
|
}();
|
|
22013
22141
|
var isCountryCode = function isCountryCode2(value) {
|
|
22014
22142
|
return /^[A-Z]{2}$/.test(value);
|
|
@@ -22030,131 +22158,95 @@ function getCountryAndCountryCallingCode(countryOrCountryCallingCode, metadataJs
|
|
|
22030
22158
|
};
|
|
22031
22159
|
}
|
|
22032
22160
|
var E164_NUMBER_REGEXP = /^\+\d+$/;
|
|
22033
|
-
function _typeof(
|
|
22161
|
+
function _typeof$5(o) {
|
|
22034
22162
|
"@babel/helpers - typeof";
|
|
22035
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(
|
|
22036
|
-
return typeof
|
|
22037
|
-
} : function(
|
|
22038
|
-
return
|
|
22039
|
-
}, _typeof(
|
|
22040
|
-
}
|
|
22041
|
-
function _createClass(
|
|
22042
|
-
Object.defineProperty(
|
|
22043
|
-
|
|
22044
|
-
|
|
22045
|
-
|
|
22046
|
-
|
|
22047
|
-
|
|
22048
|
-
|
|
22049
|
-
}
|
|
22050
|
-
function
|
|
22051
|
-
if (
|
|
22052
|
-
|
|
22053
|
-
|
|
22054
|
-
|
|
22055
|
-
|
|
22056
|
-
if (
|
|
22057
|
-
|
|
22058
|
-
|
|
22059
|
-
|
|
22060
|
-
|
|
22061
|
-
|
|
22062
|
-
|
|
22063
|
-
|
|
22064
|
-
|
|
22065
|
-
|
|
22066
|
-
|
|
22067
|
-
|
|
22068
|
-
|
|
22069
|
-
|
|
22070
|
-
|
|
22071
|
-
function _possibleConstructorReturn(self2, call) {
|
|
22072
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
22073
|
-
return call;
|
|
22074
|
-
} else if (call !== void 0) {
|
|
22075
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
22076
|
-
}
|
|
22077
|
-
return _assertThisInitialized(self2);
|
|
22078
|
-
}
|
|
22079
|
-
function _assertThisInitialized(self2) {
|
|
22080
|
-
if (self2 === void 0) {
|
|
22081
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
22082
|
-
}
|
|
22083
|
-
return self2;
|
|
22084
|
-
}
|
|
22085
|
-
function _wrapNativeSuper(Class) {
|
|
22086
|
-
var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
22087
|
-
_wrapNativeSuper = function _wrapNativeSuper2(Class2) {
|
|
22088
|
-
if (Class2 === null || !_isNativeFunction(Class2)) return Class2;
|
|
22089
|
-
if (typeof Class2 !== "function") {
|
|
22090
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
22091
|
-
}
|
|
22092
|
-
if (typeof _cache !== "undefined") {
|
|
22093
|
-
if (_cache.has(Class2)) return _cache.get(Class2);
|
|
22094
|
-
_cache.set(Class2, Wrapper);
|
|
22163
|
+
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
22164
|
+
return typeof o2;
|
|
22165
|
+
} : function(o2) {
|
|
22166
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
22167
|
+
}, _typeof$5(o);
|
|
22168
|
+
}
|
|
22169
|
+
function _createClass(e, r, t2) {
|
|
22170
|
+
return Object.defineProperty(e, "prototype", { writable: false }), e;
|
|
22171
|
+
}
|
|
22172
|
+
function _classCallCheck(a, n) {
|
|
22173
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
22174
|
+
}
|
|
22175
|
+
function _callSuper(t2, o, e) {
|
|
22176
|
+
return o = _getPrototypeOf(o), _possibleConstructorReturn(t2, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t2).constructor) : o.apply(t2, e));
|
|
22177
|
+
}
|
|
22178
|
+
function _possibleConstructorReturn(t2, e) {
|
|
22179
|
+
if (e && ("object" == _typeof$5(e) || "function" == typeof e)) return e;
|
|
22180
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
22181
|
+
return _assertThisInitialized(t2);
|
|
22182
|
+
}
|
|
22183
|
+
function _assertThisInitialized(e) {
|
|
22184
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
22185
|
+
return e;
|
|
22186
|
+
}
|
|
22187
|
+
function _inherits(t2, e) {
|
|
22188
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
22189
|
+
t2.prototype = Object.create(e && e.prototype, { constructor: { value: t2, writable: true, configurable: true } }), Object.defineProperty(t2, "prototype", { writable: false }), e && _setPrototypeOf(t2, e);
|
|
22190
|
+
}
|
|
22191
|
+
function _wrapNativeSuper(t2) {
|
|
22192
|
+
var r = "function" == typeof Map ? /* @__PURE__ */ new Map() : void 0;
|
|
22193
|
+
return _wrapNativeSuper = function _wrapNativeSuper2(t3) {
|
|
22194
|
+
if (null === t3 || !_isNativeFunction(t3)) return t3;
|
|
22195
|
+
if ("function" != typeof t3) throw new TypeError("Super expression must either be null or a function");
|
|
22196
|
+
if (void 0 !== r) {
|
|
22197
|
+
if (r.has(t3)) return r.get(t3);
|
|
22198
|
+
r.set(t3, Wrapper);
|
|
22095
22199
|
}
|
|
22096
22200
|
function Wrapper() {
|
|
22097
|
-
return _construct(
|
|
22201
|
+
return _construct(t3, arguments, _getPrototypeOf(this).constructor);
|
|
22098
22202
|
}
|
|
22099
|
-
Wrapper.prototype = Object.create(
|
|
22100
|
-
|
|
22101
|
-
};
|
|
22102
|
-
return _wrapNativeSuper(Class);
|
|
22203
|
+
return Wrapper.prototype = Object.create(t3.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }), _setPrototypeOf(Wrapper, t3);
|
|
22204
|
+
}, _wrapNativeSuper(t2);
|
|
22103
22205
|
}
|
|
22104
|
-
function _construct(
|
|
22105
|
-
if (_isNativeReflectConstruct())
|
|
22106
|
-
|
|
22107
|
-
|
|
22108
|
-
|
|
22109
|
-
|
|
22110
|
-
a.push.apply(a, args2);
|
|
22111
|
-
var Constructor = Function.bind.apply(Parent2, a);
|
|
22112
|
-
var instance = new Constructor();
|
|
22113
|
-
if (Class2) _setPrototypeOf(instance, Class2.prototype);
|
|
22114
|
-
return instance;
|
|
22115
|
-
};
|
|
22116
|
-
}
|
|
22117
|
-
return _construct.apply(null, arguments);
|
|
22206
|
+
function _construct(t2, e, r) {
|
|
22207
|
+
if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
|
|
22208
|
+
var o = [null];
|
|
22209
|
+
o.push.apply(o, e);
|
|
22210
|
+
var p = new (t2.bind.apply(t2, o))();
|
|
22211
|
+
return r && _setPrototypeOf(p, r.prototype), p;
|
|
22118
22212
|
}
|
|
22119
22213
|
function _isNativeReflectConstruct() {
|
|
22120
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
22121
|
-
if (Reflect.construct.sham) return false;
|
|
22122
|
-
if (typeof Proxy === "function") return true;
|
|
22123
22214
|
try {
|
|
22124
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
22215
|
+
var t2 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
22125
22216
|
}));
|
|
22126
|
-
|
|
22127
|
-
} catch (e) {
|
|
22128
|
-
return false;
|
|
22217
|
+
} catch (t3) {
|
|
22129
22218
|
}
|
|
22219
|
+
return (_isNativeReflectConstruct = function _isNativeReflectConstruct2() {
|
|
22220
|
+
return !!t2;
|
|
22221
|
+
})();
|
|
22130
22222
|
}
|
|
22131
|
-
function _isNativeFunction(
|
|
22132
|
-
|
|
22223
|
+
function _isNativeFunction(t2) {
|
|
22224
|
+
try {
|
|
22225
|
+
return -1 !== Function.toString.call(t2).indexOf("[native code]");
|
|
22226
|
+
} catch (n) {
|
|
22227
|
+
return "function" == typeof t2;
|
|
22228
|
+
}
|
|
22133
22229
|
}
|
|
22134
|
-
function _setPrototypeOf(
|
|
22135
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
22136
|
-
|
|
22137
|
-
|
|
22138
|
-
};
|
|
22139
|
-
return _setPrototypeOf(o, p);
|
|
22230
|
+
function _setPrototypeOf(t2, e) {
|
|
22231
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t3, e2) {
|
|
22232
|
+
return t3.__proto__ = e2, t3;
|
|
22233
|
+
}, _setPrototypeOf(t2, e);
|
|
22140
22234
|
}
|
|
22141
|
-
function _getPrototypeOf(
|
|
22142
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function
|
|
22143
|
-
return
|
|
22144
|
-
};
|
|
22145
|
-
return _getPrototypeOf(o);
|
|
22235
|
+
function _getPrototypeOf(t2) {
|
|
22236
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t3) {
|
|
22237
|
+
return t3.__proto__ || Object.getPrototypeOf(t3);
|
|
22238
|
+
}, _getPrototypeOf(t2);
|
|
22146
22239
|
}
|
|
22147
22240
|
var ParseError = /* @__PURE__ */ function(_Error) {
|
|
22148
|
-
_inherits(ParseError2, _Error);
|
|
22149
|
-
var _super = _createSuper(ParseError2);
|
|
22150
22241
|
function ParseError2(code2) {
|
|
22151
22242
|
var _this;
|
|
22152
22243
|
_classCallCheck(this, ParseError2);
|
|
22153
|
-
_this =
|
|
22154
|
-
Object.setPrototypeOf(
|
|
22244
|
+
_this = _callSuper(this, ParseError2, [code2]);
|
|
22245
|
+
Object.setPrototypeOf(_this, ParseError2.prototype);
|
|
22155
22246
|
_this.name = _this.constructor.name;
|
|
22156
22247
|
return _this;
|
|
22157
22248
|
}
|
|
22249
|
+
_inherits(ParseError2, _Error);
|
|
22158
22250
|
return _createClass(ParseError2);
|
|
22159
22251
|
}(/* @__PURE__ */ _wrapNativeSuper(Error));
|
|
22160
22252
|
var EXTN_PATTERN = new RegExp("(?:" + createExtensionPattern() + ")$", "i");
|
|
@@ -22251,43 +22343,39 @@ var DIGITS = {
|
|
|
22251
22343
|
function parseDigit(character) {
|
|
22252
22344
|
return DIGITS[character];
|
|
22253
22345
|
}
|
|
22254
|
-
function _createForOfIteratorHelperLoose
|
|
22255
|
-
var
|
|
22256
|
-
if (
|
|
22257
|
-
if (Array.isArray(
|
|
22258
|
-
|
|
22259
|
-
var
|
|
22346
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
22347
|
+
var t2 = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
22348
|
+
if (t2) return (t2 = t2.call(r)).next.bind(t2);
|
|
22349
|
+
if (Array.isArray(r) || (t2 = _unsupportedIterableToArray$1(r)) || e) {
|
|
22350
|
+
t2 && (r = t2);
|
|
22351
|
+
var o = 0;
|
|
22260
22352
|
return function() {
|
|
22261
|
-
|
|
22262
|
-
return { done: false, value: o[i++] };
|
|
22353
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
22263
22354
|
};
|
|
22264
22355
|
}
|
|
22265
22356
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
22266
22357
|
}
|
|
22267
|
-
function _unsupportedIterableToArray$
|
|
22268
|
-
if (
|
|
22269
|
-
|
|
22270
|
-
|
|
22271
|
-
|
|
22272
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
22273
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen);
|
|
22274
|
-
}
|
|
22275
|
-
function _arrayLikeToArray$2(arr, len) {
|
|
22276
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
22277
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
22278
|
-
arr2[i] = arr[i];
|
|
22358
|
+
function _unsupportedIterableToArray$1(r, a) {
|
|
22359
|
+
if (r) {
|
|
22360
|
+
if ("string" == typeof r) return _arrayLikeToArray$1(r, a);
|
|
22361
|
+
var t2 = {}.toString.call(r).slice(8, -1);
|
|
22362
|
+
return "Object" === t2 && r.constructor && (t2 = r.constructor.name), "Map" === t2 || "Set" === t2 ? Array.from(r) : "Arguments" === t2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t2) ? _arrayLikeToArray$1(r, a) : void 0;
|
|
22279
22363
|
}
|
|
22280
|
-
|
|
22364
|
+
}
|
|
22365
|
+
function _arrayLikeToArray$1(r, a) {
|
|
22366
|
+
(null == a || a > r.length) && (a = r.length);
|
|
22367
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
22368
|
+
return n;
|
|
22281
22369
|
}
|
|
22282
22370
|
function parseIncompletePhoneNumber(string) {
|
|
22283
22371
|
var result2 = "";
|
|
22284
|
-
for (var _iterator = _createForOfIteratorHelperLoose
|
|
22372
|
+
for (var _iterator = _createForOfIteratorHelperLoose(string.split("")), _step; !(_step = _iterator()).done; ) {
|
|
22285
22373
|
var character = _step.value;
|
|
22286
22374
|
result2 += parsePhoneNumberCharacter(character, result2) || "";
|
|
22287
22375
|
}
|
|
22288
22376
|
return result2;
|
|
22289
22377
|
}
|
|
22290
|
-
function parsePhoneNumberCharacter(character, prevParsedCharacters,
|
|
22378
|
+
function parsePhoneNumberCharacter(character, prevParsedCharacters, eventListener) {
|
|
22291
22379
|
if (character === "+") {
|
|
22292
22380
|
if (prevParsedCharacters) {
|
|
22293
22381
|
return;
|
|
@@ -22296,66 +22384,6 @@ function parsePhoneNumberCharacter(character, prevParsedCharacters, emitEvent2)
|
|
|
22296
22384
|
}
|
|
22297
22385
|
return parseDigit(character);
|
|
22298
22386
|
}
|
|
22299
|
-
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
22300
|
-
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
22301
|
-
if (it) return (it = it.call(o)).next.bind(it);
|
|
22302
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray$1(o)) || allowArrayLike) {
|
|
22303
|
-
if (it) o = it;
|
|
22304
|
-
var i = 0;
|
|
22305
|
-
return function() {
|
|
22306
|
-
if (i >= o.length) return { done: true };
|
|
22307
|
-
return { done: false, value: o[i++] };
|
|
22308
|
-
};
|
|
22309
|
-
}
|
|
22310
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
22311
|
-
}
|
|
22312
|
-
function _unsupportedIterableToArray$1(o, minLen) {
|
|
22313
|
-
if (!o) return;
|
|
22314
|
-
if (typeof o === "string") return _arrayLikeToArray$1(o, minLen);
|
|
22315
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
22316
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
22317
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
22318
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);
|
|
22319
|
-
}
|
|
22320
|
-
function _arrayLikeToArray$1(arr, len) {
|
|
22321
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
22322
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
22323
|
-
arr2[i] = arr[i];
|
|
22324
|
-
}
|
|
22325
|
-
return arr2;
|
|
22326
|
-
}
|
|
22327
|
-
function getCountryByNationalNumber(nationalPhoneNumber, _ref) {
|
|
22328
|
-
var countries = _ref.countries, metadata2 = _ref.metadata;
|
|
22329
|
-
metadata2 = new Metadata(metadata2);
|
|
22330
|
-
for (var _iterator = _createForOfIteratorHelperLoose(countries), _step; !(_step = _iterator()).done; ) {
|
|
22331
|
-
var country = _step.value;
|
|
22332
|
-
metadata2.country(country);
|
|
22333
|
-
if (metadata2.leadingDigits()) {
|
|
22334
|
-
if (nationalPhoneNumber && nationalPhoneNumber.search(metadata2.leadingDigits()) === 0) {
|
|
22335
|
-
return country;
|
|
22336
|
-
}
|
|
22337
|
-
} else if (getNumberType({
|
|
22338
|
-
phone: nationalPhoneNumber,
|
|
22339
|
-
country
|
|
22340
|
-
}, void 0, metadata2.metadata)) {
|
|
22341
|
-
return country;
|
|
22342
|
-
}
|
|
22343
|
-
}
|
|
22344
|
-
}
|
|
22345
|
-
function getCountryByCallingCode(callingCode, _ref) {
|
|
22346
|
-
var nationalPhoneNumber = _ref.nationalNumber, metadata2 = _ref.metadata;
|
|
22347
|
-
var possibleCountries = metadata2.getCountryCodesForCallingCode(callingCode);
|
|
22348
|
-
if (!possibleCountries) {
|
|
22349
|
-
return;
|
|
22350
|
-
}
|
|
22351
|
-
if (possibleCountries.length === 1) {
|
|
22352
|
-
return possibleCountries[0];
|
|
22353
|
-
}
|
|
22354
|
-
return getCountryByNationalNumber(nationalPhoneNumber, {
|
|
22355
|
-
countries: possibleCountries,
|
|
22356
|
-
metadata: metadata2.metadata
|
|
22357
|
-
});
|
|
22358
|
-
}
|
|
22359
22387
|
var PLUS_SIGN = "+";
|
|
22360
22388
|
var RFC3966_VISUAL_SEPARATOR_ = "[\\-\\.\\(\\)]?";
|
|
22361
22389
|
var RFC3966_PHONE_DIGIT_ = "([" + VALID_DIGITS + "]|" + RFC3966_VISUAL_SEPARATOR_ + ")";
|
|
@@ -22491,7 +22519,7 @@ function parse(text2, options, metadata2) {
|
|
|
22491
22519
|
countryCallingCode,
|
|
22492
22520
|
carrierCode,
|
|
22493
22521
|
valid,
|
|
22494
|
-
possible: valid ? true : options.extended === true && metadata2.possibleLengths() && isPossibleNumber(nationalNumber, metadata2) ? true : false,
|
|
22522
|
+
possible: valid ? true : options.extended === true && metadata2.possibleLengths() && isPossibleNumber(nationalNumber, country, metadata2) ? true : false,
|
|
22495
22523
|
phone: nationalNumber,
|
|
22496
22524
|
ext
|
|
22497
22525
|
};
|
|
@@ -22551,7 +22579,7 @@ function result(country, nationalNumber, ext) {
|
|
|
22551
22579
|
return result2;
|
|
22552
22580
|
}
|
|
22553
22581
|
function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCallingCode, metadata2) {
|
|
22554
|
-
var _extractCountryCallin = extractCountryCallingCode(parseIncompletePhoneNumber(formattedPhoneNumber), defaultCountry, defaultCallingCode, metadata2.metadata), countryCallingCodeSource = _extractCountryCallin.countryCallingCodeSource, countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
22582
|
+
var _extractCountryCallin = extractCountryCallingCode(parseIncompletePhoneNumber(formattedPhoneNumber), void 0, defaultCountry, defaultCallingCode, metadata2.metadata), countryCallingCodeSource = _extractCountryCallin.countryCallingCodeSource, countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
22555
22583
|
var country;
|
|
22556
22584
|
if (countryCallingCode) {
|
|
22557
22585
|
metadata2.selectNumberingPlan(countryCallingCode);
|
|
@@ -22568,7 +22596,7 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
22568
22596
|
countryCallingCode
|
|
22569
22597
|
};
|
|
22570
22598
|
}
|
|
22571
|
-
var _extractNationalNumbe = extractNationalNumber(parseIncompletePhoneNumber(number2), metadata2), nationalNumber = _extractNationalNumbe.nationalNumber, carrierCode = _extractNationalNumbe.carrierCode;
|
|
22599
|
+
var _extractNationalNumbe = extractNationalNumber(parseIncompletePhoneNumber(number2), country, metadata2), nationalNumber = _extractNationalNumbe.nationalNumber, carrierCode = _extractNationalNumbe.carrierCode;
|
|
22572
22600
|
var exactCountry = getCountryByCallingCode(countryCallingCode, {
|
|
22573
22601
|
nationalNumber,
|
|
22574
22602
|
metadata: metadata2
|
|
@@ -22577,7 +22605,7 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
22577
22605
|
country = exactCountry;
|
|
22578
22606
|
if (exactCountry === "001") ;
|
|
22579
22607
|
else {
|
|
22580
|
-
metadata2.
|
|
22608
|
+
metadata2.selectNumberingPlan(country);
|
|
22581
22609
|
}
|
|
22582
22610
|
}
|
|
22583
22611
|
return {
|
|
@@ -22588,116 +22616,142 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
22588
22616
|
carrierCode
|
|
22589
22617
|
};
|
|
22590
22618
|
}
|
|
22591
|
-
function
|
|
22592
|
-
|
|
22619
|
+
function _typeof$4(o) {
|
|
22620
|
+
"@babel/helpers - typeof";
|
|
22621
|
+
return _typeof$4 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
22622
|
+
return typeof o2;
|
|
22623
|
+
} : function(o2) {
|
|
22624
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
22625
|
+
}, _typeof$4(o);
|
|
22626
|
+
}
|
|
22627
|
+
function ownKeys$4(e, r) {
|
|
22628
|
+
var t2 = Object.keys(e);
|
|
22593
22629
|
if (Object.getOwnPropertySymbols) {
|
|
22594
|
-
var
|
|
22595
|
-
|
|
22596
|
-
return Object.getOwnPropertyDescriptor(
|
|
22597
|
-
})),
|
|
22598
|
-
}
|
|
22599
|
-
return
|
|
22600
|
-
}
|
|
22601
|
-
function _objectSpread$4(
|
|
22602
|
-
for (var
|
|
22603
|
-
var
|
|
22604
|
-
|
|
22605
|
-
_defineProperty$4(
|
|
22606
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
22607
|
-
Object.defineProperty(
|
|
22630
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
22631
|
+
r && (o = o.filter(function(r2) {
|
|
22632
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
22633
|
+
})), t2.push.apply(t2, o);
|
|
22634
|
+
}
|
|
22635
|
+
return t2;
|
|
22636
|
+
}
|
|
22637
|
+
function _objectSpread$4(e) {
|
|
22638
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
22639
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
22640
|
+
r % 2 ? ownKeys$4(Object(t2), true).forEach(function(r2) {
|
|
22641
|
+
_defineProperty$4(e, r2, t2[r2]);
|
|
22642
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$4(Object(t2)).forEach(function(r2) {
|
|
22643
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
22608
22644
|
});
|
|
22609
22645
|
}
|
|
22610
|
-
return
|
|
22646
|
+
return e;
|
|
22611
22647
|
}
|
|
22612
|
-
function _defineProperty$4(
|
|
22613
|
-
|
|
22614
|
-
|
|
22615
|
-
|
|
22616
|
-
|
|
22648
|
+
function _defineProperty$4(e, r, t2) {
|
|
22649
|
+
return (r = _toPropertyKey$4(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
22650
|
+
}
|
|
22651
|
+
function _toPropertyKey$4(t2) {
|
|
22652
|
+
var i = _toPrimitive$4(t2, "string");
|
|
22653
|
+
return "symbol" == _typeof$4(i) ? i : i + "";
|
|
22654
|
+
}
|
|
22655
|
+
function _toPrimitive$4(t2, r) {
|
|
22656
|
+
if ("object" != _typeof$4(t2) || !t2) return t2;
|
|
22657
|
+
var e = t2[Symbol.toPrimitive];
|
|
22658
|
+
if (void 0 !== e) {
|
|
22659
|
+
var i = e.call(t2, r);
|
|
22660
|
+
if ("object" != _typeof$4(i)) return i;
|
|
22661
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
22617
22662
|
}
|
|
22618
|
-
return
|
|
22663
|
+
return ("string" === r ? String : Number)(t2);
|
|
22619
22664
|
}
|
|
22620
22665
|
function parsePhoneNumberWithError(text2, options, metadata2) {
|
|
22621
22666
|
return parse(text2, _objectSpread$4(_objectSpread$4({}, options), {}, {
|
|
22622
22667
|
v2: true
|
|
22623
22668
|
}), metadata2);
|
|
22624
22669
|
}
|
|
22625
|
-
function
|
|
22626
|
-
|
|
22670
|
+
function _typeof$3(o) {
|
|
22671
|
+
"@babel/helpers - typeof";
|
|
22672
|
+
return _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
22673
|
+
return typeof o2;
|
|
22674
|
+
} : function(o2) {
|
|
22675
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
22676
|
+
}, _typeof$3(o);
|
|
22677
|
+
}
|
|
22678
|
+
function ownKeys$3(e, r) {
|
|
22679
|
+
var t2 = Object.keys(e);
|
|
22627
22680
|
if (Object.getOwnPropertySymbols) {
|
|
22628
|
-
var
|
|
22629
|
-
|
|
22630
|
-
return Object.getOwnPropertyDescriptor(
|
|
22631
|
-
})),
|
|
22632
|
-
}
|
|
22633
|
-
return
|
|
22634
|
-
}
|
|
22635
|
-
function _objectSpread$3(
|
|
22636
|
-
for (var
|
|
22637
|
-
var
|
|
22638
|
-
|
|
22639
|
-
_defineProperty$3(
|
|
22640
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
22641
|
-
Object.defineProperty(
|
|
22681
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
22682
|
+
r && (o = o.filter(function(r2) {
|
|
22683
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
22684
|
+
})), t2.push.apply(t2, o);
|
|
22685
|
+
}
|
|
22686
|
+
return t2;
|
|
22687
|
+
}
|
|
22688
|
+
function _objectSpread$3(e) {
|
|
22689
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
22690
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
22691
|
+
r % 2 ? ownKeys$3(Object(t2), true).forEach(function(r2) {
|
|
22692
|
+
_defineProperty$3(e, r2, t2[r2]);
|
|
22693
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$3(Object(t2)).forEach(function(r2) {
|
|
22694
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
22642
22695
|
});
|
|
22643
22696
|
}
|
|
22644
|
-
return
|
|
22697
|
+
return e;
|
|
22645
22698
|
}
|
|
22646
|
-
function _defineProperty$3(
|
|
22647
|
-
|
|
22648
|
-
|
|
22649
|
-
|
|
22650
|
-
|
|
22699
|
+
function _defineProperty$3(e, r, t2) {
|
|
22700
|
+
return (r = _toPropertyKey$3(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
22701
|
+
}
|
|
22702
|
+
function _toPropertyKey$3(t2) {
|
|
22703
|
+
var i = _toPrimitive$3(t2, "string");
|
|
22704
|
+
return "symbol" == _typeof$3(i) ? i : i + "";
|
|
22705
|
+
}
|
|
22706
|
+
function _toPrimitive$3(t2, r) {
|
|
22707
|
+
if ("object" != _typeof$3(t2) || !t2) return t2;
|
|
22708
|
+
var e = t2[Symbol.toPrimitive];
|
|
22709
|
+
if (void 0 !== e) {
|
|
22710
|
+
var i = e.call(t2, r);
|
|
22711
|
+
if ("object" != _typeof$3(i)) return i;
|
|
22712
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
22651
22713
|
}
|
|
22652
|
-
return
|
|
22714
|
+
return ("string" === r ? String : Number)(t2);
|
|
22653
22715
|
}
|
|
22654
|
-
function _slicedToArray(
|
|
22655
|
-
return _arrayWithHoles(
|
|
22716
|
+
function _slicedToArray(r, e) {
|
|
22717
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
22656
22718
|
}
|
|
22657
22719
|
function _nonIterableRest() {
|
|
22658
22720
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
22659
22721
|
}
|
|
22660
|
-
function _unsupportedIterableToArray(
|
|
22661
|
-
if (
|
|
22662
|
-
|
|
22663
|
-
|
|
22664
|
-
|
|
22665
|
-
|
|
22666
|
-
|
|
22667
|
-
|
|
22668
|
-
|
|
22669
|
-
|
|
22670
|
-
|
|
22671
|
-
|
|
22672
|
-
|
|
22673
|
-
|
|
22674
|
-
|
|
22675
|
-
|
|
22676
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
22677
|
-
if (_i == null) return;
|
|
22678
|
-
var _arr = [];
|
|
22679
|
-
var _n = true;
|
|
22680
|
-
var _d = false;
|
|
22681
|
-
var _s, _e;
|
|
22682
|
-
try {
|
|
22683
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
22684
|
-
_arr.push(_s.value);
|
|
22685
|
-
if (i && _arr.length === i) break;
|
|
22686
|
-
}
|
|
22687
|
-
} catch (err) {
|
|
22688
|
-
_d = true;
|
|
22689
|
-
_e = err;
|
|
22690
|
-
} finally {
|
|
22722
|
+
function _unsupportedIterableToArray(r, a) {
|
|
22723
|
+
if (r) {
|
|
22724
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
22725
|
+
var t2 = {}.toString.call(r).slice(8, -1);
|
|
22726
|
+
return "Object" === t2 && r.constructor && (t2 = r.constructor.name), "Map" === t2 || "Set" === t2 ? Array.from(r) : "Arguments" === t2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t2) ? _arrayLikeToArray(r, a) : void 0;
|
|
22727
|
+
}
|
|
22728
|
+
}
|
|
22729
|
+
function _arrayLikeToArray(r, a) {
|
|
22730
|
+
(null == a || a > r.length) && (a = r.length);
|
|
22731
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
22732
|
+
return n;
|
|
22733
|
+
}
|
|
22734
|
+
function _iterableToArrayLimit(r, l) {
|
|
22735
|
+
var t2 = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
22736
|
+
if (null != t2) {
|
|
22737
|
+
var e, n, i, u, a = [], f = true, o = false;
|
|
22691
22738
|
try {
|
|
22692
|
-
if (
|
|
22739
|
+
if (i = (t2 = t2.call(r)).next, 0 === l) ;
|
|
22740
|
+
else for (; !(f = (e = i.call(t2)).done) && (a.push(e.value), a.length !== l); f = true) ;
|
|
22741
|
+
} catch (r2) {
|
|
22742
|
+
o = true, n = r2;
|
|
22693
22743
|
} finally {
|
|
22694
|
-
|
|
22744
|
+
try {
|
|
22745
|
+
if (!f && null != t2["return"] && (u = t2["return"](), Object(u) !== u)) return;
|
|
22746
|
+
} finally {
|
|
22747
|
+
if (o) throw n;
|
|
22748
|
+
}
|
|
22695
22749
|
}
|
|
22750
|
+
return a;
|
|
22696
22751
|
}
|
|
22697
|
-
return _arr;
|
|
22698
22752
|
}
|
|
22699
|
-
function _arrayWithHoles(
|
|
22700
|
-
if (Array.isArray(
|
|
22753
|
+
function _arrayWithHoles(r) {
|
|
22754
|
+
if (Array.isArray(r)) return r;
|
|
22701
22755
|
}
|
|
22702
22756
|
function normalizeArguments(args) {
|
|
22703
22757
|
var _Array$prototype$slic = Array.prototype.slice.call(args), _Array$prototype$slic2 = _slicedToArray(_Array$prototype$slic, 4), arg_1 = _Array$prototype$slic2[0], arg_2 = _Array$prototype$slic2[1], arg_3 = _Array$prototype$slic2[2], arg_4 = _Array$prototype$slic2[3];
|
|
@@ -22734,34 +22788,51 @@ function normalizeArguments(args) {
|
|
|
22734
22788
|
metadata: metadata2
|
|
22735
22789
|
};
|
|
22736
22790
|
}
|
|
22737
|
-
function
|
|
22738
|
-
|
|
22791
|
+
function _typeof$2(o) {
|
|
22792
|
+
"@babel/helpers - typeof";
|
|
22793
|
+
return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
22794
|
+
return typeof o2;
|
|
22795
|
+
} : function(o2) {
|
|
22796
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
22797
|
+
}, _typeof$2(o);
|
|
22798
|
+
}
|
|
22799
|
+
function ownKeys$2(e, r) {
|
|
22800
|
+
var t2 = Object.keys(e);
|
|
22739
22801
|
if (Object.getOwnPropertySymbols) {
|
|
22740
|
-
var
|
|
22741
|
-
|
|
22742
|
-
return Object.getOwnPropertyDescriptor(
|
|
22743
|
-
})),
|
|
22744
|
-
}
|
|
22745
|
-
return
|
|
22746
|
-
}
|
|
22747
|
-
function _objectSpread$2(
|
|
22748
|
-
for (var
|
|
22749
|
-
var
|
|
22750
|
-
|
|
22751
|
-
_defineProperty$2(
|
|
22752
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
22753
|
-
Object.defineProperty(
|
|
22802
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
22803
|
+
r && (o = o.filter(function(r2) {
|
|
22804
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
22805
|
+
})), t2.push.apply(t2, o);
|
|
22806
|
+
}
|
|
22807
|
+
return t2;
|
|
22808
|
+
}
|
|
22809
|
+
function _objectSpread$2(e) {
|
|
22810
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
22811
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
22812
|
+
r % 2 ? ownKeys$2(Object(t2), true).forEach(function(r2) {
|
|
22813
|
+
_defineProperty$2(e, r2, t2[r2]);
|
|
22814
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$2(Object(t2)).forEach(function(r2) {
|
|
22815
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
22754
22816
|
});
|
|
22755
22817
|
}
|
|
22756
|
-
return
|
|
22818
|
+
return e;
|
|
22757
22819
|
}
|
|
22758
|
-
function _defineProperty$2(
|
|
22759
|
-
|
|
22760
|
-
|
|
22761
|
-
|
|
22762
|
-
|
|
22820
|
+
function _defineProperty$2(e, r, t2) {
|
|
22821
|
+
return (r = _toPropertyKey$2(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
22822
|
+
}
|
|
22823
|
+
function _toPropertyKey$2(t2) {
|
|
22824
|
+
var i = _toPrimitive$2(t2, "string");
|
|
22825
|
+
return "symbol" == _typeof$2(i) ? i : i + "";
|
|
22826
|
+
}
|
|
22827
|
+
function _toPrimitive$2(t2, r) {
|
|
22828
|
+
if ("object" != _typeof$2(t2) || !t2) return t2;
|
|
22829
|
+
var e = t2[Symbol.toPrimitive];
|
|
22830
|
+
if (void 0 !== e) {
|
|
22831
|
+
var i = e.call(t2, r);
|
|
22832
|
+
if ("object" != _typeof$2(i)) return i;
|
|
22833
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
22763
22834
|
}
|
|
22764
|
-
return
|
|
22835
|
+
return ("string" === r ? String : Number)(t2);
|
|
22765
22836
|
}
|
|
22766
22837
|
function parsePhoneNumber(text2, options, metadata2) {
|
|
22767
22838
|
if (options && options.defaultCountry && !isSupportedCountry(options.defaultCountry, metadata2)) {
|
|
@@ -22778,34 +22849,51 @@ function parsePhoneNumber(text2, options, metadata2) {
|
|
|
22778
22849
|
}
|
|
22779
22850
|
}
|
|
22780
22851
|
}
|
|
22781
|
-
function
|
|
22782
|
-
|
|
22852
|
+
function _typeof$1(o) {
|
|
22853
|
+
"@babel/helpers - typeof";
|
|
22854
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
22855
|
+
return typeof o2;
|
|
22856
|
+
} : function(o2) {
|
|
22857
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
22858
|
+
}, _typeof$1(o);
|
|
22859
|
+
}
|
|
22860
|
+
function ownKeys$1(e, r) {
|
|
22861
|
+
var t2 = Object.keys(e);
|
|
22783
22862
|
if (Object.getOwnPropertySymbols) {
|
|
22784
|
-
var
|
|
22785
|
-
|
|
22786
|
-
return Object.getOwnPropertyDescriptor(
|
|
22787
|
-
})),
|
|
22788
|
-
}
|
|
22789
|
-
return
|
|
22790
|
-
}
|
|
22791
|
-
function _objectSpread$1(
|
|
22792
|
-
for (var
|
|
22793
|
-
var
|
|
22794
|
-
|
|
22795
|
-
_defineProperty$1(
|
|
22796
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
22797
|
-
Object.defineProperty(
|
|
22863
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
22864
|
+
r && (o = o.filter(function(r2) {
|
|
22865
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
22866
|
+
})), t2.push.apply(t2, o);
|
|
22867
|
+
}
|
|
22868
|
+
return t2;
|
|
22869
|
+
}
|
|
22870
|
+
function _objectSpread$1(e) {
|
|
22871
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
22872
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
22873
|
+
r % 2 ? ownKeys$1(Object(t2), true).forEach(function(r2) {
|
|
22874
|
+
_defineProperty$1(e, r2, t2[r2]);
|
|
22875
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$1(Object(t2)).forEach(function(r2) {
|
|
22876
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
22798
22877
|
});
|
|
22799
22878
|
}
|
|
22800
|
-
return
|
|
22879
|
+
return e;
|
|
22801
22880
|
}
|
|
22802
|
-
function _defineProperty$1(
|
|
22803
|
-
|
|
22804
|
-
|
|
22805
|
-
|
|
22806
|
-
|
|
22881
|
+
function _defineProperty$1(e, r, t2) {
|
|
22882
|
+
return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
22883
|
+
}
|
|
22884
|
+
function _toPropertyKey$1(t2) {
|
|
22885
|
+
var i = _toPrimitive$1(t2, "string");
|
|
22886
|
+
return "symbol" == _typeof$1(i) ? i : i + "";
|
|
22887
|
+
}
|
|
22888
|
+
function _toPrimitive$1(t2, r) {
|
|
22889
|
+
if ("object" != _typeof$1(t2) || !t2) return t2;
|
|
22890
|
+
var e = t2[Symbol.toPrimitive];
|
|
22891
|
+
if (void 0 !== e) {
|
|
22892
|
+
var i = e.call(t2, r);
|
|
22893
|
+
if ("object" != _typeof$1(i)) return i;
|
|
22894
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
22807
22895
|
}
|
|
22808
|
-
return
|
|
22896
|
+
return ("string" === r ? String : Number)(t2);
|
|
22809
22897
|
}
|
|
22810
22898
|
function isValidPhoneNumber$1() {
|
|
22811
22899
|
var _normalizeArguments = normalizeArguments(arguments), text2 = _normalizeArguments.text, options = _normalizeArguments.options, metadata2 = _normalizeArguments.metadata;
|
|
@@ -22815,34 +22903,51 @@ function isValidPhoneNumber$1() {
|
|
|
22815
22903
|
var phoneNumber = parsePhoneNumber(text2, options, metadata2);
|
|
22816
22904
|
return phoneNumber && phoneNumber.isValid() || false;
|
|
22817
22905
|
}
|
|
22818
|
-
function
|
|
22819
|
-
|
|
22906
|
+
function _typeof(o) {
|
|
22907
|
+
"@babel/helpers - typeof";
|
|
22908
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
22909
|
+
return typeof o2;
|
|
22910
|
+
} : function(o2) {
|
|
22911
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
22912
|
+
}, _typeof(o);
|
|
22913
|
+
}
|
|
22914
|
+
function ownKeys(e, r) {
|
|
22915
|
+
var t2 = Object.keys(e);
|
|
22820
22916
|
if (Object.getOwnPropertySymbols) {
|
|
22821
|
-
var
|
|
22822
|
-
|
|
22823
|
-
return Object.getOwnPropertyDescriptor(
|
|
22824
|
-
})),
|
|
22825
|
-
}
|
|
22826
|
-
return
|
|
22827
|
-
}
|
|
22828
|
-
function _objectSpread(
|
|
22829
|
-
for (var
|
|
22830
|
-
var
|
|
22831
|
-
|
|
22832
|
-
_defineProperty(
|
|
22833
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
22834
|
-
Object.defineProperty(
|
|
22917
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
22918
|
+
r && (o = o.filter(function(r2) {
|
|
22919
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
22920
|
+
})), t2.push.apply(t2, o);
|
|
22921
|
+
}
|
|
22922
|
+
return t2;
|
|
22923
|
+
}
|
|
22924
|
+
function _objectSpread(e) {
|
|
22925
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
22926
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
22927
|
+
r % 2 ? ownKeys(Object(t2), true).forEach(function(r2) {
|
|
22928
|
+
_defineProperty(e, r2, t2[r2]);
|
|
22929
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys(Object(t2)).forEach(function(r2) {
|
|
22930
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
22835
22931
|
});
|
|
22836
22932
|
}
|
|
22837
|
-
return
|
|
22933
|
+
return e;
|
|
22838
22934
|
}
|
|
22839
|
-
function _defineProperty(
|
|
22840
|
-
|
|
22841
|
-
|
|
22842
|
-
|
|
22843
|
-
|
|
22935
|
+
function _defineProperty(e, r, t2) {
|
|
22936
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
22937
|
+
}
|
|
22938
|
+
function _toPropertyKey(t2) {
|
|
22939
|
+
var i = _toPrimitive(t2, "string");
|
|
22940
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
22941
|
+
}
|
|
22942
|
+
function _toPrimitive(t2, r) {
|
|
22943
|
+
if ("object" != _typeof(t2) || !t2) return t2;
|
|
22944
|
+
var e = t2[Symbol.toPrimitive];
|
|
22945
|
+
if (void 0 !== e) {
|
|
22946
|
+
var i = e.call(t2, r);
|
|
22947
|
+
if ("object" != _typeof(i)) return i;
|
|
22948
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
22844
22949
|
}
|
|
22845
|
-
return
|
|
22950
|
+
return ("string" === r ? String : Number)(t2);
|
|
22846
22951
|
}
|
|
22847
22952
|
function isPossiblePhoneNumber$1() {
|
|
22848
22953
|
var _normalizeArguments = normalizeArguments(arguments), text2 = _normalizeArguments.text, options = _normalizeArguments.options, metadata2 = _normalizeArguments.metadata;
|
|
@@ -23045,7 +23150,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
23045
23150
|
createVNode(unref(Button), {
|
|
23046
23151
|
variant: "solid",
|
|
23047
23152
|
class: "w-[126px]",
|
|
23048
|
-
disabled: !
|
|
23153
|
+
disabled: !__props.dataShareChecked,
|
|
23049
23154
|
onClick: handleConfirm
|
|
23050
23155
|
}, {
|
|
23051
23156
|
default: withCtx(() => [
|
|
@@ -23074,7 +23179,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
23074
23179
|
createElementVNode("span", null, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.ifYouDoNotAgrWe")), 1)
|
|
23075
23180
|
]),
|
|
23076
23181
|
createVNode(unref(Checkbox), {
|
|
23077
|
-
"model-value":
|
|
23182
|
+
"model-value": __props.dataShareChecked,
|
|
23078
23183
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = (val) => emits("update:dataShareChecked", val)),
|
|
23079
23184
|
size: "sm",
|
|
23080
23185
|
class: "mt-[12px]"
|
|
@@ -23324,7 +23429,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23324
23429
|
]),
|
|
23325
23430
|
createElementVNode("div", _hoisted_11$1, [
|
|
23326
23431
|
createElementVNode("div", _hoisted_12$1, [
|
|
23327
|
-
!
|
|
23432
|
+
!__props.hideBack ? (openBlock(), createElementBlock("div", {
|
|
23328
23433
|
key: 0,
|
|
23329
23434
|
onClick: _cache[1] || (_cache[1] = ($event) => emits("back"))
|
|
23330
23435
|
}, [
|
|
@@ -23539,7 +23644,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
|
23539
23644
|
__publicField(_SlidCaptchaManager, "instance");
|
|
23540
23645
|
let SlidCaptchaManager = _SlidCaptchaManager;
|
|
23541
23646
|
const slidCaptchaManager = SlidCaptchaManager.getInstance();
|
|
23542
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
23647
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-CxViqoos.js"));
|
|
23543
23648
|
const useSlidCaptcha = () => {
|
|
23544
23649
|
const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
|
|
23545
23650
|
const open = (config) => {
|
|
@@ -23569,7 +23674,7 @@ const useSlidCaptcha = () => {
|
|
|
23569
23674
|
close
|
|
23570
23675
|
};
|
|
23571
23676
|
};
|
|
23572
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
23677
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-D2mdc0Hw.js"));
|
|
23573
23678
|
const useYunpianCaptcha = () => {
|
|
23574
23679
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
23575
23680
|
const open = (config) => {
|
|
@@ -23963,7 +24068,7 @@ const useYiDunCaptcha = () => {
|
|
|
23963
24068
|
const _sfc_main$3 = {};
|
|
23964
24069
|
const _hoisted_1$2 = { class: "content-loading" };
|
|
23965
24070
|
function _sfc_render(_ctx, _cache) {
|
|
23966
|
-
return openBlock(), createElementBlock("div", _hoisted_1$2, _cache[0] || (_cache[0] = [
|
|
24071
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, [..._cache[0] || (_cache[0] = [
|
|
23967
24072
|
createElementVNode("div", { class: "content-loading-title" }, [
|
|
23968
24073
|
createElementVNode("div", { class: "w-full flex-center" }, [
|
|
23969
24074
|
createElementVNode("img", {
|
|
@@ -23974,7 +24079,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
23974
24079
|
]),
|
|
23975
24080
|
createElementVNode("span", null, "loading...")
|
|
23976
24081
|
], -1)
|
|
23977
|
-
]));
|
|
24082
|
+
])]);
|
|
23978
24083
|
}
|
|
23979
24084
|
const ContentLoading = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render], ["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
23980
24085
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -23990,15 +24095,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23990
24095
|
setup(__props) {
|
|
23991
24096
|
return (_ctx, _cache) => {
|
|
23992
24097
|
return openBlock(), createElementBlock("div", {
|
|
23993
|
-
class: normalizeClass(["g-data-panel i-data-panel", { "g-card":
|
|
24098
|
+
class: normalizeClass(["g-data-panel i-data-panel", { "g-card": __props.card, "g-border": __props.border }])
|
|
23994
24099
|
}, [
|
|
23995
24100
|
renderSlot(_ctx.$slots, "header", {}, void 0, true),
|
|
23996
|
-
|
|
23997
|
-
|
|
24101
|
+
__props.loading ? renderSlot(_ctx.$slots, "loading", { key: 0 }, () => [
|
|
24102
|
+
__props.skeleton ? (openBlock(), createBlock(unref(Skeleton), {
|
|
23998
24103
|
key: 0,
|
|
23999
24104
|
class: "p-20",
|
|
24000
|
-
rows:
|
|
24001
|
-
}, null, 8, ["rows"])) :
|
|
24105
|
+
rows: __props.skeletonRow
|
|
24106
|
+
}, null, 8, ["rows"])) : __props.animation ? (openBlock(), createBlock(ContentLoading, {
|
|
24002
24107
|
key: 1,
|
|
24003
24108
|
name: "loading",
|
|
24004
24109
|
class: "w-full h-full flex-center"
|
|
@@ -24250,13 +24355,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24250
24355
|
};
|
|
24251
24356
|
let timer = null;
|
|
24252
24357
|
let interval = null;
|
|
24358
|
+
const qiwuLogo = {
|
|
24359
|
+
src: IconQiWu,
|
|
24360
|
+
alt: "sjtu",
|
|
24361
|
+
describe: $t("gitCodeLayout.LoginModal.action.sjtuLogin") + $t("gitCodeLayout.LoginModal.action.AccountLogin"),
|
|
24362
|
+
loginMethodList: ["sjtu"]
|
|
24363
|
+
};
|
|
24253
24364
|
const logos = reactive([
|
|
24254
|
-
{
|
|
24255
|
-
src: IconQiWu,
|
|
24256
|
-
alt: "sjtu",
|
|
24257
|
-
describe: $t("gitCodeLayout.LoginModal.action.sjtuLogin") + $t("gitCodeLayout.LoginModal.action.AccountLogin"),
|
|
24258
|
-
loginMethodList: ["sjtu"]
|
|
24259
|
-
},
|
|
24260
24365
|
{
|
|
24261
24366
|
src: IconC,
|
|
24262
24367
|
alt: "csdn",
|
|
@@ -24294,6 +24399,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24294
24399
|
loginMethodList: ["wechat_open", "wechat_mp"]
|
|
24295
24400
|
}
|
|
24296
24401
|
]);
|
|
24402
|
+
const getQiwuLoginOpen = async () => {
|
|
24403
|
+
var _a;
|
|
24404
|
+
const res = await API.getCampusWelcomeConfig();
|
|
24405
|
+
const { entry_enabled = false } = (_a = res == null ? void 0 : res.data) == null ? void 0 : _a.data;
|
|
24406
|
+
if (entry_enabled && !logos.some(({ alt }) => alt === qiwuLogo.alt)) {
|
|
24407
|
+
logos.unshift(qiwuLogo);
|
|
24408
|
+
}
|
|
24409
|
+
};
|
|
24297
24410
|
const emits = __emit;
|
|
24298
24411
|
const { vModels } = useModel(props, emits);
|
|
24299
24412
|
const VerifyForm = reactive([
|
|
@@ -25720,6 +25833,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25720
25833
|
const resetPwdDirectly = ref(false);
|
|
25721
25834
|
const resetPwdWhiteList = ["change_password"];
|
|
25722
25835
|
onMounted(() => {
|
|
25836
|
+
getQiwuLoginOpen();
|
|
25723
25837
|
getCurrentCaptchaType();
|
|
25724
25838
|
if (tabPanel.value === "miniProgram" && formType.value === "login") {
|
|
25725
25839
|
getMiniProgramQrCode();
|
|
@@ -25736,11 +25850,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25736
25850
|
modelValue: unref(vModels),
|
|
25737
25851
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => isRef(vModels) ? vModels.value = $event : null),
|
|
25738
25852
|
"show-close": false,
|
|
25739
|
-
"lock-scroll":
|
|
25740
|
-
draggable:
|
|
25741
|
-
escapable:
|
|
25853
|
+
"lock-scroll": __props.lockScroll,
|
|
25854
|
+
draggable: __props.draggable,
|
|
25855
|
+
escapable: __props.escapable,
|
|
25742
25856
|
"before-close": handleClose,
|
|
25743
|
-
"append-to-body":
|
|
25857
|
+
"append-to-body": __props.appendToBody,
|
|
25744
25858
|
class: normalizeClass([
|
|
25745
25859
|
"login-modal",
|
|
25746
25860
|
formType.value === "login" ? "login-modal-l" : "login-modal-r",
|
|
@@ -25760,7 +25874,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25760
25874
|
class: "login-modal-title flex-1"
|
|
25761
25875
|
}, null, 8, ["icon", "title", "show-title", "show-back"]),
|
|
25762
25876
|
createElementVNode("div", _hoisted_2, [
|
|
25763
|
-
|
|
25877
|
+
__props.showClose && !showProtoCheck.value ? (openBlock(), createBlock(GIcon, {
|
|
25764
25878
|
key: 0,
|
|
25765
25879
|
onClick: onClickModalClose,
|
|
25766
25880
|
name: "gt-close",
|
|
@@ -26085,7 +26199,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
26085
26199
|
])
|
|
26086
26200
|
], 2),
|
|
26087
26201
|
createElementVNode("div", _hoisted_61, [
|
|
26088
|
-
|
|
26202
|
+
__props.openHarmonyGuide ? (openBlock(), createElementBlock("div", {
|
|
26089
26203
|
key: 0,
|
|
26090
26204
|
class: "text-[var(--theme-link)] flex items-center mt-[12px] cursor-pointer",
|
|
26091
26205
|
onClick: withModifiers(handleRegisterHarmony, ["stop"])
|