vue-layout-gitcode 1.12.15-beta.36 → 1.12.15-beta.38
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-CN0qBUrp.js → GloabarSearch-BY4XTK4l.js} +3 -3
- package/{MenuItem-nMj1VEHc.js → MenuItem-Bv3VAwzx.js} +1 -1
- package/{ProjectMenuList-DRaR-P_6.js → ProjectMenuList-DZ8wIN6i.js} +10 -10
- package/{ProjectMenuListV2-KCh-r9n9.js → ProjectMenuListV2-CyF044q6.js} +3 -3
- package/{ProjectSearch-DyLsFRsj.js → ProjectSearch-Bek10-zT.js} +1 -1
- package/{SearchHistoryList-CDyIbrcS.js → SearchHistoryList-DFlAHXRl.js} +5 -5
- package/{SearchRecommed-DEB7OW3g.js → SearchRecommed-CMSfl1RI.js} +2 -2
- package/{SearchScopeList-B8ISBgut.js → SearchScopeList-B0Z6ZP-7.js} +2 -2
- package/{UserSearch-YOC5Q0zn.js → UserSearch-6p9h6q_f.js} +1 -1
- package/{index-9UJb88AH.js → index-C-eKIiQW.js} +5 -4
- package/{index-B_E2tb_f.js → index-CTQ4oqCy.js} +1001 -1129
- package/{index-BNuZ_eoo.js → index-DMeEJtfN.js} +1 -1
- package/{index-Bhl6t4Vl.js → index-vj8RYQ_I.js} +47 -44
- package/index.d.ts +9 -2
- package/index.js +1 -1
- package/{notice-DRoH5J01.js → notice-tEwodXyt.js} +12 -10
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-dcpKXCY6.js → transWebUrl-CPkI4rHC.js} +1 -1
|
@@ -76,29 +76,29 @@ const _sfc_main$P = /* @__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 !_ctx.name.includes("gt-") ? (openBlock(), createBlock(unref(Icon), normalizeProps(mergeProps({ key: 0 }, props)), null, 16)) : _ctx.operable ? (openBlock(), createElementBlock("span", {
|
|
80
80
|
key: 1,
|
|
81
|
-
class: normalizeClass(["custom-icon-container", { disabled:
|
|
81
|
+
class: normalizeClass(["custom-icon-container", { disabled: _ctx.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", _ctx.iconClass]),
|
|
86
86
|
"aria-hidden": "true",
|
|
87
|
-
style: normalizeStyle({ color:
|
|
87
|
+
style: normalizeStyle({ color: _ctx.color, fontSize: fontSize.value, transform: `rotate(${_ctx.rotate})` })
|
|
88
88
|
}, [
|
|
89
89
|
createElementVNode("use", {
|
|
90
|
-
"xlink:href": `#${
|
|
90
|
+
"xlink:href": `#${_ctx.name}`
|
|
91
91
|
}, null, 8, _hoisted_1$I)
|
|
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", _ctx.iconClass]),
|
|
97
97
|
"aria-hidden": "true",
|
|
98
|
-
style: normalizeStyle(
|
|
98
|
+
style: normalizeStyle(_ctx.iconClass ? {} : { color: _ctx.color, fontSize: fontSize.value, transform: `rotate(${_ctx.rotate})` })
|
|
99
99
|
}, [
|
|
100
100
|
createElementVNode("use", {
|
|
101
|
-
"xlink:href": `#${
|
|
101
|
+
"xlink:href": `#${_ctx.name}`
|
|
102
102
|
}, null, 8, _hoisted_2$w)
|
|
103
103
|
], 6));
|
|
104
104
|
};
|
|
@@ -578,7 +578,7 @@ const LOGO_MAP = {
|
|
|
578
578
|
aiLogoDark: "https://cdn-static.gitcode.com/static/images/gitcode-ai-logo-dark_atomgit.png"
|
|
579
579
|
}
|
|
580
580
|
};
|
|
581
|
-
/*! @license DOMPurify 3.
|
|
581
|
+
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
|
|
582
582
|
const {
|
|
583
583
|
entries,
|
|
584
584
|
setPrototypeOf,
|
|
@@ -606,18 +606,12 @@ if (!seal) {
|
|
|
606
606
|
};
|
|
607
607
|
}
|
|
608
608
|
if (!apply$1) {
|
|
609
|
-
apply$1 = function apply2(
|
|
610
|
-
|
|
611
|
-
args[_key - 2] = arguments[_key];
|
|
612
|
-
}
|
|
613
|
-
return func.apply(thisArg, args);
|
|
609
|
+
apply$1 = function apply2(fun, thisValue, args) {
|
|
610
|
+
return fun.apply(thisValue, args);
|
|
614
611
|
};
|
|
615
612
|
}
|
|
616
613
|
if (!construct) {
|
|
617
|
-
construct = function construct2(Func) {
|
|
618
|
-
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
619
|
-
args[_key2 - 1] = arguments[_key2];
|
|
620
|
-
}
|
|
614
|
+
construct = function construct2(Func, args) {
|
|
621
615
|
return new Func(...args);
|
|
622
616
|
};
|
|
623
617
|
}
|
|
@@ -640,18 +634,18 @@ function unapply(func) {
|
|
|
640
634
|
if (thisArg instanceof RegExp) {
|
|
641
635
|
thisArg.lastIndex = 0;
|
|
642
636
|
}
|
|
643
|
-
for (var
|
|
644
|
-
args[
|
|
637
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
638
|
+
args[_key - 1] = arguments[_key];
|
|
645
639
|
}
|
|
646
640
|
return apply$1(func, thisArg, args);
|
|
647
641
|
};
|
|
648
642
|
}
|
|
649
|
-
function unconstruct(
|
|
643
|
+
function unconstruct(func) {
|
|
650
644
|
return function() {
|
|
651
|
-
for (var
|
|
652
|
-
args[
|
|
645
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
646
|
+
args[_key2] = arguments[_key2];
|
|
653
647
|
}
|
|
654
|
-
return construct(
|
|
648
|
+
return construct(func, args);
|
|
655
649
|
};
|
|
656
650
|
}
|
|
657
651
|
function addToSet(set, array) {
|
|
@@ -718,15 +712,15 @@ function lookupGetter(object, prop) {
|
|
|
718
712
|
}
|
|
719
713
|
return fallbackValue;
|
|
720
714
|
}
|
|
721
|
-
const html$1 = freeze(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "
|
|
722
|
-
const svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "
|
|
715
|
+
const html$1 = freeze(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]);
|
|
716
|
+
const svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
|
|
723
717
|
const svgFilters = freeze(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]);
|
|
724
718
|
const svgDisallowed = freeze(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]);
|
|
725
719
|
const mathMl$1 = freeze(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]);
|
|
726
720
|
const mathMlDisallowed = freeze(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
|
|
727
721
|
const text = freeze(["#text"]);
|
|
728
|
-
const html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "
|
|
729
|
-
const svg = freeze(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "
|
|
722
|
+
const html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
|
|
723
|
+
const svg = freeze(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
|
|
730
724
|
const mathMl = freeze(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]);
|
|
731
725
|
const xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
|
|
732
726
|
const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
|
|
@@ -809,7 +803,7 @@ const _createHooksMap = function _createHooksMap2() {
|
|
|
809
803
|
function createDOMPurify() {
|
|
810
804
|
let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
|
|
811
805
|
const DOMPurify = (root) => createDOMPurify(root);
|
|
812
|
-
DOMPurify.version = "3.
|
|
806
|
+
DOMPurify.version = "3.2.6";
|
|
813
807
|
DOMPurify.removed = [];
|
|
814
808
|
if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
|
|
815
809
|
DOMPurify.isSupported = false;
|
|
@@ -895,20 +889,6 @@ function createDOMPurify() {
|
|
|
895
889
|
}));
|
|
896
890
|
let FORBID_TAGS = null;
|
|
897
891
|
let FORBID_ATTR = null;
|
|
898
|
-
const EXTRA_ELEMENT_HANDLING = Object.seal(create$1(null, {
|
|
899
|
-
tagCheck: {
|
|
900
|
-
writable: true,
|
|
901
|
-
configurable: false,
|
|
902
|
-
enumerable: true,
|
|
903
|
-
value: null
|
|
904
|
-
},
|
|
905
|
-
attributeCheck: {
|
|
906
|
-
writable: true,
|
|
907
|
-
configurable: false,
|
|
908
|
-
enumerable: true,
|
|
909
|
-
value: null
|
|
910
|
-
}
|
|
911
|
-
}));
|
|
912
892
|
let ALLOW_ARIA_ATTR = true;
|
|
913
893
|
let ALLOW_DATA_ATTR = true;
|
|
914
894
|
let ALLOW_UNKNOWN_PROTOCOLS = false;
|
|
@@ -1032,24 +1012,16 @@ function createDOMPurify() {
|
|
|
1032
1012
|
}
|
|
1033
1013
|
}
|
|
1034
1014
|
if (cfg.ADD_TAGS) {
|
|
1035
|
-
if (
|
|
1036
|
-
|
|
1037
|
-
} else {
|
|
1038
|
-
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
1039
|
-
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
|
1040
|
-
}
|
|
1041
|
-
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
1015
|
+
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
1016
|
+
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
|
1042
1017
|
}
|
|
1018
|
+
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
1043
1019
|
}
|
|
1044
1020
|
if (cfg.ADD_ATTR) {
|
|
1045
|
-
if (
|
|
1046
|
-
|
|
1047
|
-
} else {
|
|
1048
|
-
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
1049
|
-
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
|
1050
|
-
}
|
|
1051
|
-
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
1021
|
+
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
1022
|
+
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
|
1052
1023
|
}
|
|
1024
|
+
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
1053
1025
|
}
|
|
1054
1026
|
if (cfg.ADD_URI_SAFE_ATTR) {
|
|
1055
1027
|
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
|
@@ -1060,12 +1032,6 @@ function createDOMPurify() {
|
|
|
1060
1032
|
}
|
|
1061
1033
|
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
|
|
1062
1034
|
}
|
|
1063
|
-
if (cfg.ADD_FORBID_CONTENTS) {
|
|
1064
|
-
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
|
1065
|
-
FORBID_CONTENTS = clone(FORBID_CONTENTS);
|
|
1066
|
-
}
|
|
1067
|
-
addToSet(FORBID_CONTENTS, cfg.ADD_FORBID_CONTENTS, transformCaseFunc);
|
|
1068
|
-
}
|
|
1069
1035
|
if (KEEP_CONTENT) {
|
|
1070
1036
|
ALLOWED_TAGS["#text"] = true;
|
|
1071
1037
|
}
|
|
@@ -1261,7 +1227,7 @@ function createDOMPurify() {
|
|
|
1261
1227
|
_forceRemove(currentNode);
|
|
1262
1228
|
return true;
|
|
1263
1229
|
}
|
|
1264
|
-
if (!
|
|
1230
|
+
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
1265
1231
|
if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
|
|
1266
1232
|
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
|
|
1267
1233
|
return false;
|
|
@@ -1314,13 +1280,12 @@ function createDOMPurify() {
|
|
|
1314
1280
|
}
|
|
1315
1281
|
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR2, lcName)) ;
|
|
1316
1282
|
else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR2, lcName)) ;
|
|
1317
|
-
else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ;
|
|
1318
1283
|
else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
|
1319
1284
|
if (
|
|
1320
1285
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
1321
1286
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1322
1287
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
1323
|
-
_isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName
|
|
1288
|
+
_isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
1324
1289
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1325
1290
|
lcName === "is" && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))
|
|
1326
1291
|
) ;
|
|
@@ -1375,11 +1340,7 @@ function createDOMPurify() {
|
|
|
1375
1340
|
_removeAttribute(name, currentNode);
|
|
1376
1341
|
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
|
1377
1342
|
}
|
|
1378
|
-
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title
|
|
1379
|
-
_removeAttribute(name, currentNode);
|
|
1380
|
-
continue;
|
|
1381
|
-
}
|
|
1382
|
-
if (lcName === "attributename" && stringMatch(value, "href")) {
|
|
1343
|
+
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
|
|
1383
1344
|
_removeAttribute(name, currentNode);
|
|
1384
1345
|
continue;
|
|
1385
1346
|
}
|
|
@@ -1707,25 +1668,10 @@ function init(converter, defaultAttributes) {
|
|
|
1707
1668
|
}
|
|
1708
1669
|
var api = init(defaultConverter, { path: "/" });
|
|
1709
1670
|
/*!
|
|
1710
|
-
* shared v9.14.
|
|
1671
|
+
* shared v9.14.4
|
|
1711
1672
|
* (c) 2025 kazuya kawaguchi
|
|
1712
1673
|
* Released under the MIT License.
|
|
1713
1674
|
*/
|
|
1714
|
-
function warn(msg, err) {
|
|
1715
|
-
if (typeof console !== "undefined") {
|
|
1716
|
-
console.warn(`[intlify] ` + msg);
|
|
1717
|
-
if (err) {
|
|
1718
|
-
console.warn(err.stack);
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
}
|
|
1722
|
-
const hasWarned = {};
|
|
1723
|
-
function warnOnce(msg) {
|
|
1724
|
-
if (!hasWarned[msg]) {
|
|
1725
|
-
hasWarned[msg] = true;
|
|
1726
|
-
warn(msg);
|
|
1727
|
-
}
|
|
1728
|
-
}
|
|
1729
1675
|
const inBrowser = typeof window !== "undefined";
|
|
1730
1676
|
let mark;
|
|
1731
1677
|
let measure;
|
|
@@ -1770,31 +1716,7 @@ const getGlobalThis = () => {
|
|
|
1770
1716
|
return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : create());
|
|
1771
1717
|
};
|
|
1772
1718
|
function escapeHtml(rawText) {
|
|
1773
|
-
return rawText.replace(
|
|
1774
|
-
}
|
|
1775
|
-
function escapeAttributeValue(value) {
|
|
1776
|
-
return value.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
1777
|
-
}
|
|
1778
|
-
function sanitizeTranslatedHtml(html2) {
|
|
1779
|
-
html2 = html2.replace(/(\w+)\s*=\s*"([^"]*)"/g, (_, attrName, attrValue) => `${attrName}="${escapeAttributeValue(attrValue)}"`);
|
|
1780
|
-
html2 = html2.replace(/(\w+)\s*=\s*'([^']*)'/g, (_, attrName, attrValue) => `${attrName}='${escapeAttributeValue(attrValue)}'`);
|
|
1781
|
-
const eventHandlerPattern = /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi;
|
|
1782
|
-
if (eventHandlerPattern.test(html2)) {
|
|
1783
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1784
|
-
warn("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages.");
|
|
1785
|
-
}
|
|
1786
|
-
html2 = html2.replace(/(\s+)(on)(\w+\s*=)/gi, "$1on$3");
|
|
1787
|
-
}
|
|
1788
|
-
const javascriptUrlPattern = [
|
|
1789
|
-
// In href, src, action, formaction attributes
|
|
1790
|
-
/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
|
|
1791
|
-
// In style attributes within url()
|
|
1792
|
-
/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi
|
|
1793
|
-
];
|
|
1794
|
-
javascriptUrlPattern.forEach((pattern) => {
|
|
1795
|
-
html2 = html2.replace(pattern, "$1javascript:");
|
|
1796
|
-
});
|
|
1797
|
-
return html2;
|
|
1719
|
+
return rawText.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
1798
1720
|
}
|
|
1799
1721
|
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
1800
1722
|
function hasOwn(obj, key) {
|
|
@@ -1857,6 +1779,21 @@ function incrementer(code2) {
|
|
|
1857
1779
|
let current = code2;
|
|
1858
1780
|
return () => ++current;
|
|
1859
1781
|
}
|
|
1782
|
+
function warn(msg, err) {
|
|
1783
|
+
if (typeof console !== "undefined") {
|
|
1784
|
+
console.warn(`[intlify] ` + msg);
|
|
1785
|
+
if (err) {
|
|
1786
|
+
console.warn(err.stack);
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
}
|
|
1790
|
+
const hasWarned = {};
|
|
1791
|
+
function warnOnce(msg) {
|
|
1792
|
+
if (!hasWarned[msg]) {
|
|
1793
|
+
hasWarned[msg] = true;
|
|
1794
|
+
warn(msg);
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1860
1797
|
function createEmitter() {
|
|
1861
1798
|
const events = /* @__PURE__ */ new Map();
|
|
1862
1799
|
const emitter2 = {
|
|
@@ -1905,7 +1842,7 @@ function deepCopy(src, des) {
|
|
|
1905
1842
|
}
|
|
1906
1843
|
}
|
|
1907
1844
|
/*!
|
|
1908
|
-
* message-compiler v9.14.
|
|
1845
|
+
* message-compiler v9.14.4
|
|
1909
1846
|
* (c) 2025 kazuya kawaguchi
|
|
1910
1847
|
* Released under the MIT License.
|
|
1911
1848
|
*/
|
|
@@ -3455,7 +3392,7 @@ function baseCompile$1(source, options = {}) {
|
|
|
3455
3392
|
}
|
|
3456
3393
|
}
|
|
3457
3394
|
/*!
|
|
3458
|
-
* core-base v9.14.
|
|
3395
|
+
* core-base v9.14.4
|
|
3459
3396
|
* (c) 2025 kazuya kawaguchi
|
|
3460
3397
|
* Released under the MIT License.
|
|
3461
3398
|
*/
|
|
@@ -4262,7 +4199,7 @@ function appendItemToChain(chain, target, blocks) {
|
|
|
4262
4199
|
}
|
|
4263
4200
|
return follow;
|
|
4264
4201
|
}
|
|
4265
|
-
const VERSION$1 = "9.14.
|
|
4202
|
+
const VERSION$1 = "9.14.4";
|
|
4266
4203
|
const NOT_REOSLVED = -1;
|
|
4267
4204
|
const DEFAULT_LOCALE = "en-US";
|
|
4268
4205
|
const MISSING_RESOLVE_VALUE = "";
|
|
@@ -4629,10 +4566,7 @@ function translate(context, ...args) {
|
|
|
4629
4566
|
const ctxOptions = getMessageContextOptions(context, targetLocale, message, options);
|
|
4630
4567
|
const msgContext = createMessageContext(ctxOptions);
|
|
4631
4568
|
const messaged = evaluateMessage(context, msg, msgContext);
|
|
4632
|
-
|
|
4633
|
-
if (escapeParameter && isString$1(ret)) {
|
|
4634
|
-
ret = sanitizeTranslatedHtml(ret);
|
|
4635
|
-
}
|
|
4569
|
+
const ret = postTranslation ? postTranslation(messaged, key) : messaged;
|
|
4636
4570
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
4637
4571
|
const payloads = {
|
|
4638
4572
|
timestamp: Date.now(),
|
|
@@ -5349,11 +5283,11 @@ function setupDevtoolsPlugin(pluginDescriptor, setupFn) {
|
|
|
5349
5283
|
}
|
|
5350
5284
|
}
|
|
5351
5285
|
/*!
|
|
5352
|
-
* vue-i18n v9.14.
|
|
5286
|
+
* vue-i18n v9.14.4
|
|
5353
5287
|
* (c) 2025 kazuya kawaguchi
|
|
5354
5288
|
* Released under the MIT License.
|
|
5355
5289
|
*/
|
|
5356
|
-
const VERSION = "9.14.
|
|
5290
|
+
const VERSION = "9.14.4";
|
|
5357
5291
|
function initFeatureFlags() {
|
|
5358
5292
|
if (typeof __VUE_I18N_FULL_INSTALL__ !== "boolean") {
|
|
5359
5293
|
getGlobalThis().__VUE_I18N_FULL_INSTALL__ = true;
|
|
@@ -9498,7 +9432,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9498
9432
|
}, {
|
|
9499
9433
|
content: withCtx(() => [
|
|
9500
9434
|
createElementVNode("div", _hoisted_6$g, [
|
|
9501
|
-
createElementVNode("div", _hoisted_7$c, toDisplayString$1(
|
|
9435
|
+
createElementVNode("div", _hoisted_7$c, toDisplayString$1(_ctx.isCannWhiteList ? unref(t2)("gitCodeLayout.userSetting.menu.cannTask") : unref(t2)("gitCodeLayout.userSetting.menu.growthCenter")), 1)
|
|
9502
9436
|
])
|
|
9503
9437
|
]),
|
|
9504
9438
|
default: withCtx(() => [
|
|
@@ -9506,7 +9440,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9506
9440
|
id: "guide-step4",
|
|
9507
9441
|
class: "home-nav-link tools-questionnaire",
|
|
9508
9442
|
onClick: toggleGrowthCenter
|
|
9509
|
-
},
|
|
9443
|
+
}, _cache[6] || (_cache[6] = [
|
|
9510
9444
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
9511
9445
|
createElementVNode("img", {
|
|
9512
9446
|
class: "common-icon tools-float-icon",
|
|
@@ -9514,7 +9448,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9514
9448
|
alt: ""
|
|
9515
9449
|
})
|
|
9516
9450
|
], -1)
|
|
9517
|
-
])
|
|
9451
|
+
]))
|
|
9518
9452
|
]),
|
|
9519
9453
|
_: 1
|
|
9520
9454
|
})) : createCommentVNode("", true),
|
|
@@ -9537,7 +9471,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9537
9471
|
id: "gitcode-desk-btn",
|
|
9538
9472
|
class: "home-nav-item kefu",
|
|
9539
9473
|
onClick: showDesk
|
|
9540
|
-
},
|
|
9474
|
+
}, _cache[7] || (_cache[7] = [
|
|
9541
9475
|
createElementVNode("img", {
|
|
9542
9476
|
class: "tools-float-icon",
|
|
9543
9477
|
src: "https://cdn-static.gitcode.com/static/images/desk/kefu.png",
|
|
@@ -9547,7 +9481,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9547
9481
|
createElementVNode("div", null, "客"),
|
|
9548
9482
|
createElementVNode("div", null, "服")
|
|
9549
9483
|
], -1)
|
|
9550
|
-
])
|
|
9484
|
+
]))
|
|
9551
9485
|
])
|
|
9552
9486
|
]),
|
|
9553
9487
|
_: 1
|
|
@@ -9581,7 +9515,8 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9581
9515
|
])
|
|
9582
9516
|
], -1))
|
|
9583
9517
|
]),
|
|
9584
|
-
_: 1
|
|
9518
|
+
_: 1,
|
|
9519
|
+
__: [9]
|
|
9585
9520
|
}),
|
|
9586
9521
|
npsPopVisible.value ? (openBlock(), createBlock(unref(Popover), {
|
|
9587
9522
|
key: 0,
|
|
@@ -9600,9 +9535,9 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9600
9535
|
key: item.index,
|
|
9601
9536
|
class: normalizeClass(["tab-item", opinionStep.value === item.index ? "tab-item--active" : "tab-item--inactive"]),
|
|
9602
9537
|
onClick: ($event) => swTab(item)
|
|
9603
|
-
},
|
|
9538
|
+
}, _cache[11] || (_cache[11] = [
|
|
9604
9539
|
createElementVNode("span", { class: "tools-float-cursor-pointer" }, null, -1)
|
|
9605
|
-
])
|
|
9540
|
+
]), 10, _hoisted_18$3);
|
|
9606
9541
|
}), 64))
|
|
9607
9542
|
]),
|
|
9608
9543
|
createElementVNode("div", null, [
|
|
@@ -9684,7 +9619,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9684
9619
|
trigger: "hover",
|
|
9685
9620
|
offset: { mainAxis: 22, crossAxis: 0 }
|
|
9686
9621
|
}, {
|
|
9687
|
-
default: withCtx(() =>
|
|
9622
|
+
default: withCtx(() => _cache[10] || (_cache[10] = [
|
|
9688
9623
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
9689
9624
|
createElementVNode("img", {
|
|
9690
9625
|
class: "common-icon tools-float-icon",
|
|
@@ -9697,8 +9632,9 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9697
9632
|
alt: ""
|
|
9698
9633
|
})
|
|
9699
9634
|
], -1)
|
|
9700
|
-
])
|
|
9701
|
-
_: 1
|
|
9635
|
+
])),
|
|
9636
|
+
_: 1,
|
|
9637
|
+
__: [10]
|
|
9702
9638
|
}, 8, ["content"])
|
|
9703
9639
|
])
|
|
9704
9640
|
]),
|
|
@@ -9935,11 +9871,11 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
9935
9871
|
});
|
|
9936
9872
|
return (_ctx, _cache) => {
|
|
9937
9873
|
const _component_router_link = resolveComponent("router-link");
|
|
9938
|
-
return
|
|
9874
|
+
return _ctx.to && !_ctx.disabled ? (openBlock(), createBlock(_component_router_link, {
|
|
9939
9875
|
key: 0,
|
|
9940
|
-
class: normalizeClass(["g-link g-link-router-link", { hoverUnderline:
|
|
9941
|
-
to:
|
|
9942
|
-
target:
|
|
9876
|
+
class: normalizeClass(["g-link g-link-router-link", { hoverUnderline: _ctx.underline }]),
|
|
9877
|
+
to: _ctx.to,
|
|
9878
|
+
target: _ctx.target
|
|
9943
9879
|
}, {
|
|
9944
9880
|
default: withCtx(() => [
|
|
9945
9881
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -9947,10 +9883,10 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
9947
9883
|
_: 3
|
|
9948
9884
|
}, 8, ["class", "to", "target"])) : (openBlock(), createElementBlock("a", {
|
|
9949
9885
|
key: 1,
|
|
9950
|
-
class: normalizeClass(["g-link g-link-a", { hoverUnderline:
|
|
9951
|
-
href:
|
|
9952
|
-
target:
|
|
9953
|
-
disabled:
|
|
9886
|
+
class: normalizeClass(["g-link g-link-a", { hoverUnderline: _ctx.underline, noPointer: _ctx.noPointer }]),
|
|
9887
|
+
href: _ctx.disabled || !targetHref.value ? defaultHref.value : targetHref.value,
|
|
9888
|
+
target: _ctx.target,
|
|
9889
|
+
disabled: _ctx.disabled || _ctx.noPointer
|
|
9954
9890
|
}, [
|
|
9955
9891
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
9956
9892
|
], 10, _hoisted_1$G));
|
|
@@ -10629,12 +10565,12 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10629
10565
|
key: 0,
|
|
10630
10566
|
"img-src": imgSrc.value,
|
|
10631
10567
|
name: placeholderName.value,
|
|
10632
|
-
width:
|
|
10633
|
-
height:
|
|
10634
|
-
"is-round":
|
|
10635
|
-
class: normalizeClass({ "devui-avatar-square": !
|
|
10568
|
+
width: _ctx.width,
|
|
10569
|
+
height: _ctx.height,
|
|
10570
|
+
"is-round": _ctx.is_round,
|
|
10571
|
+
class: normalizeClass({ "devui-avatar-square": !_ctx.is_round, "gavatar-custom": !imgSrc.value }),
|
|
10636
10572
|
onLoadError,
|
|
10637
|
-
style: normalizeStyle({ minWidth:
|
|
10573
|
+
style: normalizeStyle({ minWidth: _ctx.width + "px" })
|
|
10638
10574
|
}, null, 8, ["img-src", "name", "width", "height", "is-round", "class", "style"])) : createCommentVNode("", true);
|
|
10639
10575
|
};
|
|
10640
10576
|
}
|
|
@@ -10673,15 +10609,15 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
10673
10609
|
return openBlock(), createBlock(unref(Tooltip), {
|
|
10674
10610
|
class: "flash-tag-message",
|
|
10675
10611
|
position: ["top", "bottom"],
|
|
10676
|
-
content:
|
|
10612
|
+
content: _ctx.message,
|
|
10677
10613
|
"overlay-class": "flash-tag-tooltip",
|
|
10678
|
-
disabled: unref(isPhone)() ||
|
|
10614
|
+
disabled: unref(isPhone)() || _ctx.disabled
|
|
10679
10615
|
}, {
|
|
10680
10616
|
default: withCtx(() => [
|
|
10681
10617
|
createElementVNode("span", mergeProps({
|
|
10682
|
-
class: ["gc-flash-tag", { "gc-trusted-tag":
|
|
10618
|
+
class: ["gc-flash-tag", { "gc-trusted-tag": _ctx.trusted, "gc-flash-tag--clickable": _ctx.clickEnabled, "gc-flash-tag--default": !_ctx.clickEnabled, "gc-icon-tag": _ctx.icon }]
|
|
10683
10619
|
}, _ctx.$attrs, { onClick: handleClick }), [
|
|
10684
|
-
|
|
10620
|
+
_ctx.icon ? (openBlock(), createElementBlock("img", {
|
|
10685
10621
|
key: 0,
|
|
10686
10622
|
class: "gc-flash-tag__icon",
|
|
10687
10623
|
src: iconUrl.value
|
|
@@ -10765,7 +10701,7 @@ function getAugmentedNamespace(n) {
|
|
|
10765
10701
|
return a;
|
|
10766
10702
|
}
|
|
10767
10703
|
var relativeTime$1 = { exports: {} };
|
|
10768
|
-
(function(module, exports
|
|
10704
|
+
(function(module, exports) {
|
|
10769
10705
|
!function(r, e) {
|
|
10770
10706
|
module.exports = e();
|
|
10771
10707
|
}(commonjsGlobal, function() {
|
|
@@ -11336,7 +11272,7 @@ var locale = {
|
|
|
11336
11272
|
};
|
|
11337
11273
|
dayjs.locale(locale, null, true);
|
|
11338
11274
|
var timezone = { exports: {} };
|
|
11339
|
-
(function(module, exports
|
|
11275
|
+
(function(module, exports) {
|
|
11340
11276
|
!function(t2, e) {
|
|
11341
11277
|
module.exports = e();
|
|
11342
11278
|
}(commonjsGlobal, function() {
|
|
@@ -11399,7 +11335,7 @@ var timezone = { exports: {} };
|
|
|
11399
11335
|
var timezoneExports = timezone.exports;
|
|
11400
11336
|
const tz = /* @__PURE__ */ getDefaultExportFromCjs(timezoneExports);
|
|
11401
11337
|
var utc$1 = { exports: {} };
|
|
11402
|
-
(function(module, exports
|
|
11338
|
+
(function(module, exports) {
|
|
11403
11339
|
!function(t2, i) {
|
|
11404
11340
|
module.exports = i();
|
|
11405
11341
|
}(commonjsGlobal, function() {
|
|
@@ -11415,16 +11351,16 @@ var utc$1 = { exports: {} };
|
|
|
11415
11351
|
}, u.local = function() {
|
|
11416
11352
|
return n(this.toDate(), { locale: this.$L, utc: false });
|
|
11417
11353
|
};
|
|
11418
|
-
var
|
|
11354
|
+
var o = u.parse;
|
|
11419
11355
|
u.parse = function(t3) {
|
|
11420
|
-
t3.utc && (this.$u = true), this.$utils().u(t3.$offset) || (this.$offset = t3.$offset),
|
|
11356
|
+
t3.utc && (this.$u = true), this.$utils().u(t3.$offset) || (this.$offset = t3.$offset), o.call(this, t3);
|
|
11421
11357
|
};
|
|
11422
|
-
var
|
|
11358
|
+
var r = u.init;
|
|
11423
11359
|
u.init = function() {
|
|
11424
11360
|
if (this.$u) {
|
|
11425
11361
|
var t3 = this.$d;
|
|
11426
11362
|
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();
|
|
11427
|
-
} else
|
|
11363
|
+
} else r.call(this);
|
|
11428
11364
|
};
|
|
11429
11365
|
var a = u.utcOffset;
|
|
11430
11366
|
u.utcOffset = function(s2, f2) {
|
|
@@ -11437,12 +11373,13 @@ var utc$1 = { exports: {} };
|
|
|
11437
11373
|
var f3 = ("" + s3[0]).match(e) || ["-", 0, 0], n3 = f3[0], u3 = 60 * +f3[1] + +f3[2];
|
|
11438
11374
|
return 0 === u3 ? 0 : "+" === n3 ? u3 : -u3;
|
|
11439
11375
|
}(s2), null === s2)) return this;
|
|
11440
|
-
var u2 = Math.abs(s2) <= 16 ? 60 * s2 : s2;
|
|
11441
|
-
if (0 ===
|
|
11442
|
-
|
|
11443
|
-
|
|
11444
|
-
|
|
11445
|
-
|
|
11376
|
+
var u2 = Math.abs(s2) <= 16 ? 60 * s2 : s2, o2 = this;
|
|
11377
|
+
if (f2) return o2.$offset = u2, o2.$u = 0 === s2, o2;
|
|
11378
|
+
if (0 !== s2) {
|
|
11379
|
+
var r2 = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
11380
|
+
(o2 = this.local().add(u2 + r2, t2)).$offset = u2, o2.$x.$localOffset = r2;
|
|
11381
|
+
} else o2 = this.utc();
|
|
11382
|
+
return o2;
|
|
11446
11383
|
};
|
|
11447
11384
|
var h2 = u.format;
|
|
11448
11385
|
u.format = function(t3) {
|
|
@@ -11672,9 +11609,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
11672
11609
|
});
|
|
11673
11610
|
return (_ctx, _cache) => {
|
|
11674
11611
|
var _a, _b, _c;
|
|
11675
|
-
return
|
|
11612
|
+
return _ctx.scene === unref(SceneValue).org && !_ctx.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
11676
11613
|
createVNode(GLink, {
|
|
11677
|
-
href: ((_a =
|
|
11614
|
+
href: ((_a = _ctx.orgProps) == null ? void 0 : _a.orgHomepageUrl) || "",
|
|
11678
11615
|
class: "header-custom-link"
|
|
11679
11616
|
}, {
|
|
11680
11617
|
default: withCtx(() => {
|
|
@@ -11696,21 +11633,21 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
11696
11633
|
createVNode(unref(Button), {
|
|
11697
11634
|
onClick: _cache[0] || (_cache[0] = ($event) => {
|
|
11698
11635
|
var _a2;
|
|
11699
|
-
return handleOrgFollow((_a2 =
|
|
11636
|
+
return handleOrgFollow((_a2 = _ctx.orgProps) == null ? void 0 : _a2.isOrgFollow);
|
|
11700
11637
|
}),
|
|
11701
11638
|
class: "org-layout-toolbar-follow"
|
|
11702
11639
|
}, {
|
|
11703
11640
|
default: withCtx(() => {
|
|
11704
11641
|
var _a2;
|
|
11705
11642
|
return [
|
|
11706
|
-
createElementVNode("span", _hoisted_3$t, toDisplayString$1(((_a2 =
|
|
11643
|
+
createElementVNode("span", _hoisted_3$t, toDisplayString$1(((_a2 = _ctx.orgProps) == null ? void 0 : _a2.isOrgFollow) ? unref(t2)("gitCodeLayout.home.alreadyFollowed") : unref(t2)("gitCodeLayout.home.focusOn")), 1)
|
|
11707
11644
|
];
|
|
11708
11645
|
}),
|
|
11709
11646
|
_: 1
|
|
11710
11647
|
})
|
|
11711
|
-
])) :
|
|
11648
|
+
])) : _ctx.scene === unref(SceneValue).repo && !_ctx.errorCode ? (openBlock(), createBlock(unref(Skeleton), {
|
|
11712
11649
|
key: 1,
|
|
11713
|
-
loading: (_b =
|
|
11650
|
+
loading: (_b = _ctx.repoProps) == null ? void 0 : _b.repoNameLoading,
|
|
11714
11651
|
rows: 1
|
|
11715
11652
|
}, {
|
|
11716
11653
|
placeholder: withCtx(() => [
|
|
@@ -11733,7 +11670,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
11733
11670
|
default: withCtx(() => {
|
|
11734
11671
|
var _a3, _b3, _c3, _d2;
|
|
11735
11672
|
return [
|
|
11736
|
-
!((_a3 =
|
|
11673
|
+
!((_a3 = _ctx.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$M, {
|
|
11737
11674
|
key: 0,
|
|
11738
11675
|
class: normalizeClass({ "g-border": isOrg.value }),
|
|
11739
11676
|
src: (_c3 = (_b3 = unref(repoInfo)) == null ? void 0 : _b3.namespace) == null ? void 0 : _c3.avatar_url,
|
|
@@ -11749,7 +11686,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
11749
11686
|
_: 1
|
|
11750
11687
|
}, 8, ["href"]),
|
|
11751
11688
|
createElementVNode("div", _hoisted_8$9, [
|
|
11752
|
-
!((_b2 =
|
|
11689
|
+
!((_b2 = _ctx.repoProps) == null ? void 0 : _b2.isGhMirrors) ? (openBlock(), createElementBlock("div", {
|
|
11753
11690
|
key: 0,
|
|
11754
11691
|
ref_key: "breadcrumbRef",
|
|
11755
11692
|
ref: breadcrumbRef,
|
|
@@ -11784,7 +11721,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
11784
11721
|
key: 1,
|
|
11785
11722
|
ref_key: "breadcrumbNextRef",
|
|
11786
11723
|
ref: breadcrumbNextRef,
|
|
11787
|
-
class: normalizeClass(["g-repo-layout-breadcrumb-next", [((_c2 =
|
|
11724
|
+
class: normalizeClass(["g-repo-layout-breadcrumb-next", [((_c2 = _ctx.repoProps) == null ? void 0 : _c2.isGhMirrors) ? "g-repo-layout-breadcrumb-next--full" : "g-repo-layout-breadcrumb-next--limit"]])
|
|
11788
11725
|
}, [
|
|
11789
11726
|
createVNode(GLink, {
|
|
11790
11727
|
class: "linkTx",
|
|
@@ -11807,10 +11744,11 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
11807
11744
|
type: "gstar",
|
|
11808
11745
|
message: `G-Star ${unref(t2)("gitCodeLayout.GStar.project.graduation")}`
|
|
11809
11746
|
}, {
|
|
11810
|
-
default: withCtx(() =>
|
|
11811
|
-
createTextVNode("G-Star "
|
|
11812
|
-
])
|
|
11813
|
-
_: 1
|
|
11747
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
11748
|
+
createTextVNode("G-Star ")
|
|
11749
|
+
])),
|
|
11750
|
+
_: 1,
|
|
11751
|
+
__: [2]
|
|
11814
11752
|
}, 8, ["message"])
|
|
11815
11753
|
])) : unref(isIncubationRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_13$2, [
|
|
11816
11754
|
createVNode(_sfc_main$L, {
|
|
@@ -11819,10 +11757,11 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
11819
11757
|
type: "incubation",
|
|
11820
11758
|
message: `G-Star ${unref(t2)("gitCodeLayout.GStar.project.incubation")}`
|
|
11821
11759
|
}, {
|
|
11822
|
-
default: withCtx(() =>
|
|
11823
|
-
createTextVNode(" G-Star "
|
|
11824
|
-
])
|
|
11825
|
-
_: 1
|
|
11760
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
11761
|
+
createTextVNode(" G-Star ")
|
|
11762
|
+
])),
|
|
11763
|
+
_: 1,
|
|
11764
|
+
__: [3]
|
|
11826
11765
|
}, 8, ["message"])
|
|
11827
11766
|
])) : createCommentVNode("", true),
|
|
11828
11767
|
unref(isTrustedRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_14$2, [
|
|
@@ -11834,7 +11773,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
11834
11773
|
href: "/trusted"
|
|
11835
11774
|
}, null, 8, ["message"])
|
|
11836
11775
|
])) : createCommentVNode("", true),
|
|
11837
|
-
((_d =
|
|
11776
|
+
((_d = _ctx.repoProps) == null ? void 0 : _d.isPrivate) ? (openBlock(), createElementBlock("div", _hoisted_15$2, [
|
|
11838
11777
|
createVNode(GIcon, {
|
|
11839
11778
|
size: "16px",
|
|
11840
11779
|
class: "header-custom-lock-icon",
|
|
@@ -11853,7 +11792,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
11853
11792
|
}, null, 8, ["name"]),
|
|
11854
11793
|
createElementVNode("span", _hoisted_16$2, toDisplayString$1((_f = topicTag.value) == null ? void 0 : _f.suffix), 1)
|
|
11855
11794
|
])) : createCommentVNode("", true),
|
|
11856
|
-
((_g =
|
|
11795
|
+
((_g = _ctx.repoProps) == null ? void 0 : _g.isGhMirrors) && showTimeTopic.value && !unref(isPhone)() ? (openBlock(), createElementBlock("div", _hoisted_17$2, [
|
|
11857
11796
|
createVNode(GIcon, {
|
|
11858
11797
|
name: "gt-line-time",
|
|
11859
11798
|
color: "var(--devui-shape-icon-fill)",
|
|
@@ -11867,7 +11806,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
11867
11806
|
];
|
|
11868
11807
|
}),
|
|
11869
11808
|
_: 1
|
|
11870
|
-
}, 8, ["loading"])) :
|
|
11809
|
+
}, 8, ["loading"])) : _ctx.scene === unref(SceneValue).user && ((_c = _ctx.userProps) == null ? void 0 : _c.isOtherUser) ? (openBlock(), createElementBlock("div", _hoisted_20$2, [
|
|
11871
11810
|
createVNode(GLink, {
|
|
11872
11811
|
to: { name: "homepage" },
|
|
11873
11812
|
class: "header-custom-link"
|
|
@@ -11976,7 +11915,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
11976
11915
|
onClick: handleClick
|
|
11977
11916
|
}, [
|
|
11978
11917
|
createElementVNode("img", {
|
|
11979
|
-
src:
|
|
11918
|
+
src: _ctx.config.logo_url,
|
|
11980
11919
|
alt: "claim power"
|
|
11981
11920
|
}, null, 8, _hoisted_1$C)
|
|
11982
11921
|
])) : createCommentVNode("", true);
|
|
@@ -11984,6 +11923,31 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
11984
11923
|
}
|
|
11985
11924
|
});
|
|
11986
11925
|
const ClaimPower = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
11926
|
+
const DEFAULT_APPLICATION_HOST = "https://gitcode.com";
|
|
11927
|
+
function normalizeApplicationHost(host) {
|
|
11928
|
+
return (host || DEFAULT_APPLICATION_HOST).replace(/\/+$/, "");
|
|
11929
|
+
}
|
|
11930
|
+
function getRoutePart(href, baseUrl) {
|
|
11931
|
+
try {
|
|
11932
|
+
const url = new URL(href || "/", `${baseUrl}/`);
|
|
11933
|
+
return `${url.pathname || "/"}${url.search}${url.hash}`;
|
|
11934
|
+
} catch {
|
|
11935
|
+
const value = href.trim();
|
|
11936
|
+
return value.startsWith("/") ? value : `/${value}`;
|
|
11937
|
+
}
|
|
11938
|
+
}
|
|
11939
|
+
function toApplicationUrl(applicationHost, href) {
|
|
11940
|
+
const host = normalizeApplicationHost(applicationHost);
|
|
11941
|
+
return `${host}${getRoutePart(href, host)}`;
|
|
11942
|
+
}
|
|
11943
|
+
function toApplicationRoute(applicationHost, href) {
|
|
11944
|
+
try {
|
|
11945
|
+
const url = new URL(toApplicationUrl(applicationHost, href));
|
|
11946
|
+
return `${url.pathname || "/"}${url.search}${url.hash}`;
|
|
11947
|
+
} catch {
|
|
11948
|
+
return null;
|
|
11949
|
+
}
|
|
11950
|
+
}
|
|
11987
11951
|
const HEADER_CREATE_MENU_PATHS = [
|
|
11988
11952
|
"/create?position=nav_top",
|
|
11989
11953
|
"/create/migrate?type=3",
|
|
@@ -12028,9 +11992,6 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
12028
11992
|
const menuRef = ref(null);
|
|
12029
11993
|
const menuOpen = ref(false);
|
|
12030
11994
|
const menuStyle = ref({});
|
|
12031
|
-
function joinUrl(base, path) {
|
|
12032
|
-
return `${(base || "").replace(/\/$/, "")}${path}`;
|
|
12033
|
-
}
|
|
12034
11995
|
const defaultMenuItems = computed(() => {
|
|
12035
11996
|
const [repoPath, importPath, modelPath, datasetPath, spacePath, collectionPath, orgPath] = HEADER_CREATE_MENU_PATHS;
|
|
12036
11997
|
return [
|
|
@@ -12038,43 +11999,43 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
12038
11999
|
key: "repo",
|
|
12039
12000
|
icon: "gt-a-Property1default",
|
|
12040
12001
|
label: t2("gitCodeLayout.header.createMenuRepository"),
|
|
12041
|
-
href:
|
|
12002
|
+
href: toApplicationUrl(layoutConfig2.VITE_HOST, repoPath)
|
|
12042
12003
|
},
|
|
12043
12004
|
{
|
|
12044
12005
|
key: "import-repository",
|
|
12045
12006
|
icon: "gt-a-plane-fileinport",
|
|
12046
12007
|
label: t2("gitCodeLayout.header.createMenuImportRepository"),
|
|
12047
|
-
href:
|
|
12008
|
+
href: toApplicationUrl(layoutConfig2.VITE_HOST, importPath)
|
|
12048
12009
|
},
|
|
12049
12010
|
{
|
|
12050
12011
|
key: "model",
|
|
12051
12012
|
icon: "gt-plane-Models",
|
|
12052
12013
|
label: t2("gitCodeLayout.header.createMenuModel"),
|
|
12053
|
-
href:
|
|
12014
|
+
href: toApplicationUrl(layoutConfig2.VITE_HOST, modelPath)
|
|
12054
12015
|
},
|
|
12055
12016
|
{
|
|
12056
12017
|
key: "dataset",
|
|
12057
12018
|
icon: "gt-plane-Datasets",
|
|
12058
12019
|
label: t2("gitCodeLayout.header.createMenuDataset"),
|
|
12059
|
-
href:
|
|
12020
|
+
href: toApplicationUrl(layoutConfig2.VITE_HOST, datasetPath)
|
|
12060
12021
|
},
|
|
12061
12022
|
{
|
|
12062
12023
|
key: "space",
|
|
12063
12024
|
icon: "gt-plane-Space",
|
|
12064
12025
|
label: t2("gitCodeLayout.header.createMenuSpace"),
|
|
12065
|
-
href:
|
|
12026
|
+
href: toApplicationUrl(layoutConfig2.VITE_HOST, spacePath)
|
|
12066
12027
|
},
|
|
12067
12028
|
{
|
|
12068
12029
|
key: "collection",
|
|
12069
12030
|
icon: "gt-a-dashujuyufenxishuxing1guan",
|
|
12070
12031
|
label: t2("gitCodeLayout.header.createMenuCollection"),
|
|
12071
|
-
href:
|
|
12032
|
+
href: toApplicationUrl(layoutConfig2.VITE_HOST, collectionPath)
|
|
12072
12033
|
},
|
|
12073
12034
|
{
|
|
12074
12035
|
key: "organization",
|
|
12075
12036
|
icon: "gt-plane-organization",
|
|
12076
12037
|
label: t2("gitCodeLayout.header.createMenuOrganization"),
|
|
12077
|
-
href:
|
|
12038
|
+
href: toApplicationUrl(layoutConfig2.VITE_HOST, orgPath),
|
|
12078
12039
|
dividerBefore: true
|
|
12079
12040
|
}
|
|
12080
12041
|
];
|
|
@@ -12191,11 +12152,20 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
12191
12152
|
updateMenuPosition();
|
|
12192
12153
|
}
|
|
12193
12154
|
function navigateTo(href) {
|
|
12194
|
-
|
|
12195
|
-
|
|
12155
|
+
const applicationHref = toApplicationUrl(layoutConfig2.VITE_HOST, href);
|
|
12156
|
+
const applicationRoute = toApplicationRoute(layoutConfig2.VITE_HOST, href);
|
|
12157
|
+
if (!applicationRoute) return;
|
|
12158
|
+
if (typeof window !== "undefined") {
|
|
12159
|
+
const applicationUrl = new URL(applicationHref);
|
|
12160
|
+
if (applicationUrl.origin !== window.location.origin) {
|
|
12161
|
+
window.location.href = applicationHref;
|
|
12162
|
+
return;
|
|
12163
|
+
}
|
|
12164
|
+
} else {
|
|
12165
|
+
void router2.push(applicationRoute);
|
|
12196
12166
|
return;
|
|
12197
12167
|
}
|
|
12198
|
-
void router2.push(
|
|
12168
|
+
void router2.push(applicationRoute);
|
|
12199
12169
|
}
|
|
12200
12170
|
async function selectCreateItem(item) {
|
|
12201
12171
|
closeMenu();
|
|
@@ -12275,7 +12245,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
12275
12245
|
}, [
|
|
12276
12246
|
item.dividerBefore ? (openBlock(), createElementBlock("div", _hoisted_5$g)) : createCommentVNode("", true),
|
|
12277
12247
|
createElementVNode("a", {
|
|
12278
|
-
href: item.href,
|
|
12248
|
+
href: unref(toApplicationUrl)(unref(layoutConfig2).VITE_HOST, item.href),
|
|
12279
12249
|
class: "dashboard-create-menu__item",
|
|
12280
12250
|
role: "menuitem",
|
|
12281
12251
|
tabindex: "-1",
|
|
@@ -12315,7 +12285,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
12315
12285
|
return (_ctx, _cache) => {
|
|
12316
12286
|
return openBlock(), createBlock(GLink, {
|
|
12317
12287
|
variant: "text",
|
|
12318
|
-
class: normalizeClass(["g-toolbar-docs",
|
|
12288
|
+
class: normalizeClass(["g-toolbar-docs", _ctx.whiteColor ? "white" : "black"]),
|
|
12319
12289
|
href: unref(currentHelpDocsAiCommunityUrl)(),
|
|
12320
12290
|
target: "_blank"
|
|
12321
12291
|
}, {
|
|
@@ -12343,7 +12313,7 @@ var hasRequiredCore;
|
|
|
12343
12313
|
function requireCore() {
|
|
12344
12314
|
if (hasRequiredCore) return core.exports;
|
|
12345
12315
|
hasRequiredCore = 1;
|
|
12346
|
-
(function(module, exports
|
|
12316
|
+
(function(module, exports) {
|
|
12347
12317
|
(function(root, factory) {
|
|
12348
12318
|
{
|
|
12349
12319
|
module.exports = factory();
|
|
@@ -12950,7 +12920,7 @@ var hasRequiredEncBase64;
|
|
|
12950
12920
|
function requireEncBase64() {
|
|
12951
12921
|
if (hasRequiredEncBase64) return encBase64.exports;
|
|
12952
12922
|
hasRequiredEncBase64 = 1;
|
|
12953
|
-
(function(module, exports
|
|
12923
|
+
(function(module, exports) {
|
|
12954
12924
|
(function(root, factory) {
|
|
12955
12925
|
{
|
|
12956
12926
|
module.exports = factory(requireCore());
|
|
@@ -13057,7 +13027,7 @@ var hasRequiredMd5;
|
|
|
13057
13027
|
function requireMd5() {
|
|
13058
13028
|
if (hasRequiredMd5) return md5.exports;
|
|
13059
13029
|
hasRequiredMd5 = 1;
|
|
13060
|
-
(function(module, exports
|
|
13030
|
+
(function(module, exports) {
|
|
13061
13031
|
(function(root, factory) {
|
|
13062
13032
|
{
|
|
13063
13033
|
module.exports = factory(requireCore());
|
|
@@ -13236,7 +13206,7 @@ var hasRequiredSha1;
|
|
|
13236
13206
|
function requireSha1() {
|
|
13237
13207
|
if (hasRequiredSha1) return sha1.exports;
|
|
13238
13208
|
hasRequiredSha1 = 1;
|
|
13239
|
-
(function(module, exports
|
|
13209
|
+
(function(module, exports) {
|
|
13240
13210
|
(function(root, factory) {
|
|
13241
13211
|
{
|
|
13242
13212
|
module.exports = factory(requireCore());
|
|
@@ -13326,7 +13296,7 @@ var hasRequiredHmac;
|
|
|
13326
13296
|
function requireHmac() {
|
|
13327
13297
|
if (hasRequiredHmac) return hmac.exports;
|
|
13328
13298
|
hasRequiredHmac = 1;
|
|
13329
|
-
(function(module, exports
|
|
13299
|
+
(function(module, exports) {
|
|
13330
13300
|
(function(root, factory) {
|
|
13331
13301
|
{
|
|
13332
13302
|
module.exports = factory(requireCore());
|
|
@@ -13431,7 +13401,7 @@ var hasRequiredEvpkdf;
|
|
|
13431
13401
|
function requireEvpkdf() {
|
|
13432
13402
|
if (hasRequiredEvpkdf) return evpkdf.exports;
|
|
13433
13403
|
hasRequiredEvpkdf = 1;
|
|
13434
|
-
(function(module, exports
|
|
13404
|
+
(function(module, exports) {
|
|
13435
13405
|
(function(root, factory, undef) {
|
|
13436
13406
|
{
|
|
13437
13407
|
module.exports = factory(requireCore(), requireSha1(), requireHmac());
|
|
@@ -13521,7 +13491,7 @@ var hasRequiredCipherCore;
|
|
|
13521
13491
|
function requireCipherCore() {
|
|
13522
13492
|
if (hasRequiredCipherCore) return cipherCore.exports;
|
|
13523
13493
|
hasRequiredCipherCore = 1;
|
|
13524
|
-
(function(module, exports
|
|
13494
|
+
(function(module, exports) {
|
|
13525
13495
|
(function(root, factory, undef) {
|
|
13526
13496
|
{
|
|
13527
13497
|
module.exports = factory(requireCore(), requireEvpkdf());
|
|
@@ -14159,7 +14129,7 @@ function requireCipherCore() {
|
|
|
14159
14129
|
})(cipherCore);
|
|
14160
14130
|
return cipherCore.exports;
|
|
14161
14131
|
}
|
|
14162
|
-
(function(module, exports
|
|
14132
|
+
(function(module, exports) {
|
|
14163
14133
|
(function(root, factory, undef) {
|
|
14164
14134
|
{
|
|
14165
14135
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
@@ -14308,7 +14278,7 @@ function requireCipherCore() {
|
|
|
14308
14278
|
var aesExports = aes.exports;
|
|
14309
14279
|
const AES = /* @__PURE__ */ getDefaultExportFromCjs(aesExports);
|
|
14310
14280
|
var padPkcs7 = { exports: {} };
|
|
14311
|
-
(function(module, exports
|
|
14281
|
+
(function(module, exports) {
|
|
14312
14282
|
(function(root, factory, undef) {
|
|
14313
14283
|
{
|
|
14314
14284
|
module.exports = factory(requireCore(), requireCipherCore());
|
|
@@ -14320,7 +14290,7 @@ var padPkcs7 = { exports: {} };
|
|
|
14320
14290
|
var padPkcs7Exports = padPkcs7.exports;
|
|
14321
14291
|
const Pkcs7 = /* @__PURE__ */ getDefaultExportFromCjs(padPkcs7Exports);
|
|
14322
14292
|
var encUtf8 = { exports: {} };
|
|
14323
|
-
(function(module, exports
|
|
14293
|
+
(function(module, exports) {
|
|
14324
14294
|
(function(root, factory) {
|
|
14325
14295
|
{
|
|
14326
14296
|
module.exports = factory(requireCore());
|
|
@@ -14858,7 +14828,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
14858
14828
|
style: normalizeStyle({ "-webkit-line-clamp": (_b = finalConfig.value) == null ? void 0 : _b.line })
|
|
14859
14829
|
}, [
|
|
14860
14830
|
createVNode(unref(Tooltip), {
|
|
14861
|
-
position:
|
|
14831
|
+
position: _ctx.position,
|
|
14862
14832
|
disabled: !content.value || !((_c = finalConfig.value) == null ? void 0 : _c.tooltip),
|
|
14863
14833
|
content: content.value
|
|
14864
14834
|
}, {
|
|
@@ -14905,16 +14875,16 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
14905
14875
|
createElementVNode("div", _hoisted_2$s, [
|
|
14906
14876
|
createElementVNode("div", {
|
|
14907
14877
|
class: "message-item__avatar-wrap",
|
|
14908
|
-
title:
|
|
14878
|
+
title: _ctx.data.nickname
|
|
14909
14879
|
}, [
|
|
14910
14880
|
createElementVNode("a", {
|
|
14911
|
-
href: unref(transformUrl)((_a =
|
|
14881
|
+
href: unref(transformUrl)((_a = _ctx.data) == null ? void 0 : _a.userPath),
|
|
14912
14882
|
target: "_blank",
|
|
14913
14883
|
class: "user-info linktx message-item__user-info"
|
|
14914
14884
|
}, [
|
|
14915
14885
|
createVNode(_sfc_main$M, {
|
|
14916
|
-
name:
|
|
14917
|
-
src:
|
|
14886
|
+
name: _ctx.data.nickname,
|
|
14887
|
+
src: _ctx.data.avatar,
|
|
14918
14888
|
width: 32,
|
|
14919
14889
|
height: 32
|
|
14920
14890
|
}, null, 8, ["name", "src"])
|
|
@@ -14924,23 +14894,23 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
14924
14894
|
createElementVNode("div", _hoisted_5$f, [
|
|
14925
14895
|
createElementVNode("div", _hoisted_6$d, [
|
|
14926
14896
|
createVNode(GLink, {
|
|
14927
|
-
href: unref(transformUrl)(
|
|
14897
|
+
href: unref(transformUrl)(_ctx.data.url),
|
|
14928
14898
|
target: "_blank",
|
|
14929
|
-
class: normalizeClass(["message-item-content", { "text-light":
|
|
14899
|
+
class: normalizeClass(["message-item-content", { "text-light": _ctx.data.read }]),
|
|
14930
14900
|
onClick: _cache[0] || (_cache[0] = ($event) => emits("trigger"))
|
|
14931
14901
|
}, {
|
|
14932
14902
|
default: withCtx(() => [
|
|
14933
14903
|
createVNode(GText, { class: "devui-link linktx" }, {
|
|
14934
14904
|
default: withCtx(() => [
|
|
14935
|
-
|
|
14905
|
+
_ctx.data.vHtml ? (openBlock(), createElementBlock("div", {
|
|
14936
14906
|
key: 0,
|
|
14937
|
-
title:
|
|
14938
|
-
innerHTML: unref(xssPurify)(
|
|
14907
|
+
title: _ctx.data.title,
|
|
14908
|
+
innerHTML: unref(xssPurify)(_ctx.data.title) || "",
|
|
14939
14909
|
class: "message-item__title"
|
|
14940
14910
|
}, null, 8, _hoisted_7$9)) : (openBlock(), createElementBlock("span", {
|
|
14941
14911
|
key: 1,
|
|
14942
|
-
title:
|
|
14943
|
-
}, toDisplayString$1(
|
|
14912
|
+
title: _ctx.data.title
|
|
14913
|
+
}, toDisplayString$1(_ctx.data.title || "-"), 9, _hoisted_8$8))
|
|
14944
14914
|
]),
|
|
14945
14915
|
_: 1
|
|
14946
14916
|
})
|
|
@@ -14950,21 +14920,21 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
14950
14920
|
createElementVNode("div", _hoisted_9$6, [
|
|
14951
14921
|
createVNode(GText, null, {
|
|
14952
14922
|
default: withCtx(() => [
|
|
14953
|
-
createTextVNode(toDisplayString$1(
|
|
14923
|
+
createTextVNode(toDisplayString$1(_ctx.data.repo), 1)
|
|
14954
14924
|
]),
|
|
14955
14925
|
_: 1
|
|
14956
14926
|
}),
|
|
14957
|
-
_cache[1] || (_cache[1] = createTextVNode(" "
|
|
14927
|
+
_cache[1] || (_cache[1] = createTextVNode(" ")),
|
|
14958
14928
|
createVNode(GText, { class: "message-type-text" }, {
|
|
14959
14929
|
default: withCtx(() => [
|
|
14960
|
-
createTextVNode(toDisplayString$1(
|
|
14930
|
+
createTextVNode(toDisplayString$1(_ctx.data.type || "-"), 1)
|
|
14961
14931
|
]),
|
|
14962
14932
|
_: 1
|
|
14963
14933
|
})
|
|
14964
14934
|
])
|
|
14965
14935
|
])
|
|
14966
14936
|
]),
|
|
14967
|
-
createElementVNode("div", _hoisted_10$6, toDisplayString$1(unref(formatTimeFromNow)(
|
|
14937
|
+
createElementVNode("div", _hoisted_10$6, toDisplayString$1(unref(formatTimeFromNow)(_ctx.data.time)), 1)
|
|
14968
14938
|
]);
|
|
14969
14939
|
};
|
|
14970
14940
|
}
|
|
@@ -15337,14 +15307,14 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
15337
15307
|
class: normalizeClass(["message-content-header-item message-content-header-item--mr", { active: mentionSubTab.value === "project" }]),
|
|
15338
15308
|
onClick: _cache[2] || (_cache[2] = ($event) => switchMentionSubTab("project"))
|
|
15339
15309
|
}, [
|
|
15340
|
-
_cache[6] || (_cache[6] = createTextVNode(" 项目相关 "
|
|
15310
|
+
_cache[6] || (_cache[6] = createTextVNode(" 项目相关 ")),
|
|
15341
15311
|
mentionSubTabCount.value.project > 0 ? (openBlock(), createElementBlock("span", _hoisted_7$8, toDisplayString$1(mentionSubTabCount.value.project), 1)) : createCommentVNode("", true)
|
|
15342
15312
|
], 2),
|
|
15343
15313
|
createElementVNode("div", {
|
|
15344
15314
|
class: normalizeClass(["message-content-header-item", { active: mentionSubTab.value === "discussion" }]),
|
|
15345
15315
|
onClick: _cache[3] || (_cache[3] = ($event) => switchMentionSubTab("discussion"))
|
|
15346
15316
|
}, [
|
|
15347
|
-
_cache[7] || (_cache[7] = createTextVNode(" 在线讨论 "
|
|
15317
|
+
_cache[7] || (_cache[7] = createTextVNode(" 在线讨论 ")),
|
|
15348
15318
|
mentionSubTabCount.value.discussion > 0 ? (openBlock(), createElementBlock("span", _hoisted_8$7, toDisplayString$1(mentionSubTabCount.value.discussion), 1)) : createCommentVNode("", true)
|
|
15349
15319
|
], 2)
|
|
15350
15320
|
])) : createCommentVNode("", true),
|
|
@@ -15899,14 +15869,14 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
15899
15869
|
}, [
|
|
15900
15870
|
createVNode(GLink, {
|
|
15901
15871
|
class: "g-user-drawer-info",
|
|
15902
|
-
href: `${unref(layoutConfig2).VITE_HOST}/${
|
|
15872
|
+
href: `${unref(layoutConfig2).VITE_HOST}/${_ctx.accountInfo.username}`,
|
|
15903
15873
|
key: "myPage",
|
|
15904
|
-
target:
|
|
15874
|
+
target: _ctx.isChatBot ? "_blank" : ""
|
|
15905
15875
|
}, {
|
|
15906
15876
|
default: withCtx(() => [
|
|
15907
15877
|
createVNode(_sfc_main$M, {
|
|
15908
|
-
name:
|
|
15909
|
-
src:
|
|
15878
|
+
name: _ctx.accountInfo.nickname,
|
|
15879
|
+
src: _ctx.accountInfo.avatar,
|
|
15910
15880
|
width: 52,
|
|
15911
15881
|
height: 52
|
|
15912
15882
|
}, null, 8, ["name", "src"]),
|
|
@@ -15914,12 +15884,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
15914
15884
|
createElementVNode("div", _hoisted_2$o, [
|
|
15915
15885
|
createElementVNode("p", {
|
|
15916
15886
|
class: "g-user-drawer-info-list-name ellipsis",
|
|
15917
|
-
title:
|
|
15918
|
-
}, toDisplayString$1(
|
|
15887
|
+
title: _ctx.accountInfo.nickname
|
|
15888
|
+
}, toDisplayString$1(_ctx.accountInfo.nickname), 9, _hoisted_3$n),
|
|
15919
15889
|
createElementVNode("p", {
|
|
15920
15890
|
class: "g-user-drawer-info-list-id ellipsis",
|
|
15921
|
-
title:
|
|
15922
|
-
}, "@" + toDisplayString$1(
|
|
15891
|
+
title: _ctx.accountInfo.username
|
|
15892
|
+
}, "@" + toDisplayString$1(_ctx.accountInfo.username), 9, _hoisted_4$h)
|
|
15923
15893
|
]),
|
|
15924
15894
|
createVNode(GIcon, {
|
|
15925
15895
|
name: "gt-line-right",
|
|
@@ -15929,13 +15899,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
15929
15899
|
]),
|
|
15930
15900
|
_: 1
|
|
15931
15901
|
}, 8, ["href", "target"]),
|
|
15932
|
-
!
|
|
15902
|
+
!_ctx.inAIHub ? (openBlock(), createBlock(UserLevel, {
|
|
15933
15903
|
key: 0,
|
|
15934
|
-
accountInfo:
|
|
15904
|
+
accountInfo: _ctx.accountInfo
|
|
15935
15905
|
}, null, 8, ["accountInfo"])) : createCommentVNode("", true),
|
|
15936
15906
|
(openBlock(true), createElementBlock(Fragment, null, renderList(userMenuList.value, (block, index2) => {
|
|
15937
15907
|
return openBlock(), createElementBlock("div", {
|
|
15938
|
-
class: normalizeClass(["g-user-drawer-block", { "g-user-drawer-block--no-pt": index2 === 0 &&
|
|
15908
|
+
class: normalizeClass(["g-user-drawer-block", { "g-user-drawer-block--no-pt": index2 === 0 && _ctx.inAIHub }]),
|
|
15939
15909
|
key: index2
|
|
15940
15910
|
}, [
|
|
15941
15911
|
block.component ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
@@ -15951,7 +15921,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
15951
15921
|
key: item.id
|
|
15952
15922
|
}, { ref_for: true }, item, {
|
|
15953
15923
|
onClick: ($event) => handleClick(item),
|
|
15954
|
-
target:
|
|
15924
|
+
target: _ctx.isChatBot && !item.action ? "_blank" : item.target || ""
|
|
15955
15925
|
}), {
|
|
15956
15926
|
default: withCtx(() => [
|
|
15957
15927
|
item.icon ? (openBlock(), createBlock(GIcon, {
|
|
@@ -16127,9 +16097,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
16127
16097
|
name: accountInfo.value.nickname,
|
|
16128
16098
|
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
16129
16099
|
}, null, 8, ["name", "src"]),
|
|
16130
|
-
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$n,
|
|
16100
|
+
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$n, _cache[4] || (_cache[4] = [
|
|
16131
16101
|
createElementVNode("div", null, null, -1)
|
|
16132
|
-
])
|
|
16102
|
+
]))) : createCommentVNode("", true)
|
|
16133
16103
|
])
|
|
16134
16104
|
])) : (openBlock(), createBlock(unref(Dropdown), {
|
|
16135
16105
|
key: 1,
|
|
@@ -16142,13 +16112,13 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
16142
16112
|
menu: withCtx(() => [
|
|
16143
16113
|
createElementVNode("div", _hoisted_5$b, [
|
|
16144
16114
|
createVNode(UserAvatarMenu, {
|
|
16145
|
-
independence:
|
|
16146
|
-
loginOutFinish:
|
|
16115
|
+
independence: _ctx.independence,
|
|
16116
|
+
loginOutFinish: _ctx.loginOutFinish,
|
|
16147
16117
|
accountInfo: accountInfo.value,
|
|
16148
|
-
isChatBot:
|
|
16149
|
-
inAIHub:
|
|
16150
|
-
userMenus:
|
|
16151
|
-
inEnterpriseHeader:
|
|
16118
|
+
isChatBot: _ctx.isChatBot,
|
|
16119
|
+
inAIHub: _ctx.inAIHub,
|
|
16120
|
+
userMenus: _ctx.userMenus,
|
|
16121
|
+
inEnterpriseHeader: _ctx.inEnterpriseHeader,
|
|
16152
16122
|
onLinkClick: resetOverflow
|
|
16153
16123
|
}, null, 8, ["independence", "loginOutFinish", "accountInfo", "isChatBot", "inAIHub", "userMenus", "inEnterpriseHeader"])
|
|
16154
16124
|
])
|
|
@@ -16159,9 +16129,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
16159
16129
|
name: accountInfo.value.nickname,
|
|
16160
16130
|
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
16161
16131
|
}, null, 8, ["name", "src"]),
|
|
16162
|
-
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$g,
|
|
16132
|
+
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$g, _cache[5] || (_cache[5] = [
|
|
16163
16133
|
createElementVNode("div", null, null, -1)
|
|
16164
|
-
])
|
|
16134
|
+
]))) : createCommentVNode("", true)
|
|
16165
16135
|
])
|
|
16166
16136
|
]),
|
|
16167
16137
|
_: 1
|
|
@@ -16184,13 +16154,13 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
16184
16154
|
})
|
|
16185
16155
|
]),
|
|
16186
16156
|
createVNode(UserAvatarMenu, {
|
|
16187
|
-
independence:
|
|
16188
|
-
loginOutFinish:
|
|
16157
|
+
independence: _ctx.independence,
|
|
16158
|
+
loginOutFinish: _ctx.loginOutFinish,
|
|
16189
16159
|
accountInfo: accountInfo.value,
|
|
16190
|
-
isChatBot:
|
|
16191
|
-
inAIHub:
|
|
16192
|
-
userMenus:
|
|
16193
|
-
inEnterpriseHeader:
|
|
16160
|
+
isChatBot: _ctx.isChatBot,
|
|
16161
|
+
inAIHub: _ctx.inAIHub,
|
|
16162
|
+
userMenus: _ctx.userMenus,
|
|
16163
|
+
inEnterpriseHeader: _ctx.inEnterpriseHeader,
|
|
16194
16164
|
onClick: _cache[2] || (_cache[2] = ($event) => drawerVisible.value = false),
|
|
16195
16165
|
onLinkClick: resetOverflow
|
|
16196
16166
|
}, null, 8, ["independence", "loginOutFinish", "accountInfo", "isChatBot", "inAIHub", "userMenus", "inEnterpriseHeader"])
|
|
@@ -16617,7 +16587,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
16617
16587
|
ref_key: "nativeRef",
|
|
16618
16588
|
ref: nativeRef,
|
|
16619
16589
|
class: "devui-input__inner hl-search-input__native",
|
|
16620
|
-
value:
|
|
16590
|
+
value: _ctx.modelValue
|
|
16621
16591
|
}, inputAttrs.value, { onInput }), null, 16, _hoisted_2$m)
|
|
16622
16592
|
], 512),
|
|
16623
16593
|
_ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
|
|
@@ -16649,12 +16619,12 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
16649
16619
|
setup(__props) {
|
|
16650
16620
|
const layoutConfig2 = useLayoutConfig();
|
|
16651
16621
|
const { t: $t } = i18n.global;
|
|
16652
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
16653
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
16654
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
16655
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
16656
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
16657
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
16622
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-Bek10-zT.js"));
|
|
16623
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-6p9h6q_f.js"));
|
|
16624
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-BY4XTK4l.js"));
|
|
16625
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DFlAHXRl.js"));
|
|
16626
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-B0Z6ZP-7.js"));
|
|
16627
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-CMSfl1RI.js"));
|
|
16658
16628
|
const props = __props;
|
|
16659
16629
|
const repoInfo = inject("repoInfo");
|
|
16660
16630
|
const orgInfo = inject("orgInfo");
|
|
@@ -17189,9 +17159,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
17189
17159
|
});
|
|
17190
17160
|
return (_ctx, _cache) => {
|
|
17191
17161
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
17192
|
-
!
|
|
17162
|
+
!_ctx.inAIHub ? (openBlock(), createElementBlock("div", {
|
|
17193
17163
|
key: 0,
|
|
17194
|
-
class: normalizeClass([isFocus.value ? "focusSearch" : { "left-search": true }, Boolean(
|
|
17164
|
+
class: normalizeClass([isFocus.value ? "focusSearch" : { "left-search": true }, Boolean(_ctx.isShowStickyNotice) ? "focusSearch-sticky-notice" : ""]),
|
|
17195
17165
|
onClick: _cache[6] || (_cache[6] = withModifiers(() => {
|
|
17196
17166
|
}, ["stop"]))
|
|
17197
17167
|
}, [
|
|
@@ -17204,7 +17174,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
17204
17174
|
createVNode(unref(Dropdown), {
|
|
17205
17175
|
align: "start",
|
|
17206
17176
|
position: ["bottom", "bottom-start"],
|
|
17207
|
-
"overlay-class":
|
|
17177
|
+
"overlay-class": _ctx.isShowStickyNotice ? "history-box-sticky-notice history-box" : "history-box",
|
|
17208
17178
|
trigger: "manually",
|
|
17209
17179
|
visible: dropDownVisible.value,
|
|
17210
17180
|
"close-scope": "none",
|
|
@@ -17342,7 +17312,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
17342
17312
|
_: 3
|
|
17343
17313
|
}, 8, ["overlay-class", "visible"])
|
|
17344
17314
|
], 2)) : createCommentVNode("", true),
|
|
17345
|
-
|
|
17315
|
+
_ctx.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
|
|
17346
17316
|
createVNode(unref(Input), {
|
|
17347
17317
|
placeholder: unref($t)("gitCodeLayout.home.searchPlaceholder"),
|
|
17348
17318
|
onKeydown: withKeys(searchResult, ["enter"]),
|
|
@@ -17527,12 +17497,14 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17527
17497
|
__name: "HomeHeaderActions",
|
|
17528
17498
|
props: {
|
|
17529
17499
|
customItems: { default: void 0 },
|
|
17530
|
-
fallbacks: { default: () => ({}) }
|
|
17500
|
+
fallbacks: { default: () => ({}) },
|
|
17501
|
+
workspaceNavigate: { type: Function, default: void 0 }
|
|
17531
17502
|
},
|
|
17532
17503
|
setup(__props) {
|
|
17533
17504
|
const props = __props;
|
|
17534
17505
|
const { t: t2 } = i18n.global;
|
|
17535
17506
|
const layoutConfig2 = useLayoutConfig();
|
|
17507
|
+
const router2 = useRouter();
|
|
17536
17508
|
const request = inject("request", proxyService);
|
|
17537
17509
|
const API = asideRequest(request);
|
|
17538
17510
|
const isDiscoverOpen = ref(false);
|
|
@@ -17556,11 +17528,18 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17556
17528
|
"/competition?utm_source=toolbar"
|
|
17557
17529
|
),
|
|
17558
17530
|
marketplace: joinUrl(layoutConfig2.VITE_HOST || "https://gitcode.com", "/marketplace"),
|
|
17559
|
-
|
|
17560
|
-
|
|
17531
|
+
...props.fallbacks,
|
|
17532
|
+
workspace: toApplicationUrl(
|
|
17533
|
+
layoutConfig2.VITE_HOST || "https://gitcode.com",
|
|
17534
|
+
props.fallbacks.workspace || "/dashboard"
|
|
17535
|
+
)
|
|
17561
17536
|
}));
|
|
17562
17537
|
const sidebarUrls = ref(null);
|
|
17563
|
-
const actionUrls = computed(() =>
|
|
17538
|
+
const actionUrls = computed(() => ({
|
|
17539
|
+
...sidebarUrls.value ?? fallbackUrls.value,
|
|
17540
|
+
// 工作台始终回到当前应用的 /dashboard,不使用侧栏接口可能返回的旧域名。
|
|
17541
|
+
workspace: fallbackUrls.value.workspace
|
|
17542
|
+
}));
|
|
17564
17543
|
const discoverLinks = computed(() => [
|
|
17565
17544
|
{
|
|
17566
17545
|
label: t2("gitCodeLayout.home.atomCodeOfficial"),
|
|
@@ -17579,6 +17558,25 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17579
17558
|
href: actionUrls.value.marketplace
|
|
17580
17559
|
}
|
|
17581
17560
|
]);
|
|
17561
|
+
function onWorkspaceClick(event) {
|
|
17562
|
+
if (event.defaultPrevented || event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey) {
|
|
17563
|
+
return;
|
|
17564
|
+
}
|
|
17565
|
+
const applicationHost = layoutConfig2.VITE_HOST || "https://gitcode.com";
|
|
17566
|
+
const href = toApplicationUrl(applicationHost, actionUrls.value.workspace);
|
|
17567
|
+
const route = toApplicationRoute(applicationHost, href);
|
|
17568
|
+
if (!route) return;
|
|
17569
|
+
event.preventDefault();
|
|
17570
|
+
if (props.workspaceNavigate) {
|
|
17571
|
+
void props.workspaceNavigate(href);
|
|
17572
|
+
return;
|
|
17573
|
+
}
|
|
17574
|
+
if (typeof window !== "undefined" && new URL(href).origin !== window.location.origin) {
|
|
17575
|
+
window.location.href = href;
|
|
17576
|
+
return;
|
|
17577
|
+
}
|
|
17578
|
+
void router2.push(route);
|
|
17579
|
+
}
|
|
17582
17580
|
const resolveUrlsWithItems = (items) => {
|
|
17583
17581
|
sidebarUrls.value = resolveHomeHeaderActionUrls(
|
|
17584
17582
|
items,
|
|
@@ -17645,7 +17643,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17645
17643
|
}),
|
|
17646
17644
|
createElementVNode("a", {
|
|
17647
17645
|
href: actionUrls.value.workspace,
|
|
17648
|
-
class: "home-header-actions__button home-header-actions__workspace"
|
|
17646
|
+
class: "home-header-actions__button home-header-actions__workspace",
|
|
17647
|
+
onClick: onWorkspaceClick
|
|
17649
17648
|
}, [
|
|
17650
17649
|
_cache[1] || (_cache[1] = createStaticVNode('<svg class="home-header-actions__icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-vue-layout-gitcode><path d="M12 12h.01" data-v-vue-layout-gitcode></path><path d="M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2" data-v-vue-layout-gitcode></path><path d="M22 13a18.15 18.15 0 0 1-20 0" data-v-vue-layout-gitcode></path><rect width="20" height="14" x="2" y="6" rx="2" data-v-vue-layout-gitcode></rect></svg>', 1)),
|
|
17651
17650
|
createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.header.myWorkbench")), 1)
|
|
@@ -17816,7 +17815,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17816
17815
|
"aria-label": unref(t2)("gitCodeLayout.atomCode.openAtomCodeMenu"),
|
|
17817
17816
|
"aria-haspopup": "menu",
|
|
17818
17817
|
"aria-expanded": String(isOpen.value)
|
|
17819
|
-
},
|
|
17818
|
+
}, _cache[1] || (_cache[1] = [
|
|
17820
17819
|
createElementVNode("svg", {
|
|
17821
17820
|
"data-lucide": "chevron-down",
|
|
17822
17821
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -17832,7 +17831,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17832
17831
|
}, [
|
|
17833
17832
|
createElementVNode("path", { d: "m6 9 6 6 6-6" })
|
|
17834
17833
|
], -1)
|
|
17835
|
-
])
|
|
17834
|
+
]), 8, _hoisted_2$i)
|
|
17836
17835
|
]),
|
|
17837
17836
|
_: 1
|
|
17838
17837
|
})
|
|
@@ -17864,7 +17863,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17864
17863
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17865
17864
|
}
|
|
17866
17865
|
};
|
|
17867
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17866
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-tEwodXyt.js"));
|
|
17868
17867
|
function clearNotice() {
|
|
17869
17868
|
if (localStorage$2.getItem("validator_email")) {
|
|
17870
17869
|
localStorage$2.removeItem("validator_email");
|
|
@@ -17943,6 +17942,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17943
17942
|
openCreateDropdown: { type: Boolean, default: false },
|
|
17944
17943
|
createMenuItems: {},
|
|
17945
17944
|
createMenuNavigate: {},
|
|
17945
|
+
workspaceNavigate: {},
|
|
17946
17946
|
atomcodeLaunchQs: { default: "" },
|
|
17947
17947
|
showAtomCodeLauncher: { type: Boolean, default: false }
|
|
17948
17948
|
},
|
|
@@ -18322,7 +18322,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18322
18322
|
style: normalizeStyle({ height: `${unref(height)}px` })
|
|
18323
18323
|
}, [
|
|
18324
18324
|
createElementVNode("div", {
|
|
18325
|
-
class: normalizeClass(["g-header allow-click-stop", [inAIHub.value ? "ai-hub g-header--ai-border " : "", isHome.value && showHeaderShadow.value ? "head-shadow" : "",
|
|
18325
|
+
class: normalizeClass(["g-header allow-click-stop", [inAIHub.value ? "ai-hub g-header--ai-border " : "", isHome.value && showHeaderShadow.value ? "head-shadow" : "", _ctx.headerBorder ? "oldBorder" : "", headerClassName.value, isIndexHead.value && !showHeaderShadow.value ? "g-header--transparent" : ""]]),
|
|
18326
18326
|
ref_key: "headerRef",
|
|
18327
18327
|
ref: headerRef,
|
|
18328
18328
|
style: normalizeStyle(detailBgStyle.value)
|
|
@@ -18360,13 +18360,13 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18360
18360
|
class: "g-toolbar-left-asideicon",
|
|
18361
18361
|
color: "var(--theme-aide-text)"
|
|
18362
18362
|
})) : createCommentVNode("", true),
|
|
18363
|
-
showNameAndIcon.value &&
|
|
18363
|
+
showNameAndIcon.value && _ctx.independence || inAIHub.value ? (openBlock(), createBlock(GLink, {
|
|
18364
18364
|
key: 1,
|
|
18365
18365
|
class: normalizeClass(["g-toolbar-left-logo", [inAIHub.value ? "ai-logo" : ""]]),
|
|
18366
18366
|
style: normalizeStyle(logoStyle.value),
|
|
18367
18367
|
href: inAIHub.value ? `${unref(layoutConfig2).VITE_AI_HOST}` : `${unref(layoutConfig2).VITE_HOST}?p=seo`
|
|
18368
18368
|
}, null, 8, ["class", "style", "href"])) : createCommentVNode("", true),
|
|
18369
|
-
showNameAndIcon.value && !
|
|
18369
|
+
showNameAndIcon.value && !_ctx.independence ? (openBlock(), createBlock(GLink, {
|
|
18370
18370
|
key: 2,
|
|
18371
18371
|
class: normalizeClass(["g-toolbar-left-logo", [inAIHub.value ? "ai-logo" : ""]]),
|
|
18372
18372
|
style: normalizeStyle(logoStyle.value),
|
|
@@ -18380,12 +18380,12 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18380
18380
|
}, [
|
|
18381
18381
|
_ctx.$slots.headerCustom ? renderSlot(_ctx.$slots, "headerCustom", { key: 0 }, void 0, true) : isModuleVisible(unref(HeaderDisplayItem).CUSTOM_CONTENT) && !showNameAndIcon.value ? (openBlock(), createBlock(HeaderCustom, {
|
|
18382
18382
|
key: 1,
|
|
18383
|
-
scene:
|
|
18384
|
-
isLogin:
|
|
18385
|
-
errorCode: (_a2 =
|
|
18386
|
-
orgProps: (_b =
|
|
18387
|
-
repoProps: (_c =
|
|
18388
|
-
userProps: (_d =
|
|
18383
|
+
scene: _ctx.sceneValue,
|
|
18384
|
+
isLogin: _ctx.isLogin,
|
|
18385
|
+
errorCode: (_a2 = _ctx.headerCustomProps) == null ? void 0 : _a2.errorCode,
|
|
18386
|
+
orgProps: (_b = _ctx.headerCustomProps) == null ? void 0 : _b.orgProps,
|
|
18387
|
+
repoProps: (_c = _ctx.headerCustomProps) == null ? void 0 : _c.repoProps,
|
|
18388
|
+
userProps: (_d = _ctx.headerCustomProps) == null ? void 0 : _d.userProps,
|
|
18389
18389
|
onFollowDevCommunity: _cache[1] || (_cache[1] = ($event) => emit("followDevCommunity", $event)),
|
|
18390
18390
|
onFollowUser: _cache[2] || (_cache[2] = ($event) => emit("followUser"))
|
|
18391
18391
|
}, {
|
|
@@ -18404,7 +18404,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18404
18404
|
(openBlock(), createBlock(Search, {
|
|
18405
18405
|
inAIHub: inAIHub.value,
|
|
18406
18406
|
key: _ctx.$route.fullPath,
|
|
18407
|
-
sceneValue:
|
|
18407
|
+
sceneValue: _ctx.sceneValue,
|
|
18408
18408
|
isShowStickyNotice: isShowStickyNoticeByClose.value
|
|
18409
18409
|
}, {
|
|
18410
18410
|
searchRecommend: withCtx(() => [
|
|
@@ -18426,13 +18426,15 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18426
18426
|
}, null, 8, ["atomcodeLaunchQs"])
|
|
18427
18427
|
], true) : createCommentVNode("", true),
|
|
18428
18428
|
!inAIHub.value ? renderSlot(_ctx.$slots, "headerActions", { key: 1 }, () => [
|
|
18429
|
-
createVNode(HomeHeaderActions
|
|
18429
|
+
createVNode(HomeHeaderActions, {
|
|
18430
|
+
"workspace-navigate": props.workspaceNavigate
|
|
18431
|
+
}, null, 8, ["workspace-navigate"])
|
|
18430
18432
|
], true) : createCommentVNode("", true),
|
|
18431
18433
|
createElementVNode("div", _hoisted_4$b, [
|
|
18432
18434
|
createVNode(ClaimPower, { config: claimPowerConfig.value }, null, 8, ["config"]),
|
|
18433
18435
|
isModuleVisible(unref(HeaderDisplayItem).OPERATION_ENTRY) ? (openBlock(), createBlock(OperationEntry, { key: 0 })) : createCommentVNode("", true)
|
|
18434
18436
|
]),
|
|
18435
|
-
!
|
|
18437
|
+
!_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
18436
18438
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
18437
18439
|
unref(isMobile) ? (openBlock(), createElementBlock("section", {
|
|
18438
18440
|
key: 0,
|
|
@@ -18480,10 +18482,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18480
18482
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createBlock(UserAvatar, {
|
|
18481
18483
|
key: 3,
|
|
18482
18484
|
isChatBot: isChatBot.value,
|
|
18483
|
-
loginOutFinish:
|
|
18485
|
+
loginOutFinish: _ctx.loginOutFinish,
|
|
18484
18486
|
inAIHub: inAIHub.value,
|
|
18485
|
-
independence:
|
|
18486
|
-
userMenus:
|
|
18487
|
+
independence: _ctx.independence,
|
|
18488
|
+
userMenus: _ctx.userMenus
|
|
18487
18489
|
}, null, 8, ["isChatBot", "loginOutFinish", "inAIHub", "independence", "userMenus"])) : createCommentVNode("", true)
|
|
18488
18490
|
], 64))
|
|
18489
18491
|
], 2)
|
|
@@ -18615,7 +18617,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18615
18617
|
const { t: t2 } = i18n.global;
|
|
18616
18618
|
return (_ctx, _cache) => {
|
|
18617
18619
|
return openBlock(), createBlock(unref(Dropdown), {
|
|
18618
|
-
position:
|
|
18620
|
+
position: _ctx.position,
|
|
18619
18621
|
align: "end",
|
|
18620
18622
|
"overlay-class": "footer-tools-setting-dropdown"
|
|
18621
18623
|
}, {
|
|
@@ -18623,12 +18625,12 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18623
18625
|
withDirectives(createElementVNode("div", _hoisted_2$f, [
|
|
18624
18626
|
createVNode(_sfc_main$q)
|
|
18625
18627
|
], 512), [
|
|
18626
|
-
[vShow,
|
|
18628
|
+
[vShow, _ctx.showThemeSetting]
|
|
18627
18629
|
]),
|
|
18628
18630
|
withDirectives(createElementVNode("div", _hoisted_3$e, [
|
|
18629
18631
|
createVNode(_sfc_main$A)
|
|
18630
18632
|
], 512), [
|
|
18631
|
-
[vShow,
|
|
18633
|
+
[vShow, _ctx.showLangSetting]
|
|
18632
18634
|
])
|
|
18633
18635
|
]),
|
|
18634
18636
|
default: withCtx(() => [
|
|
@@ -18811,23 +18813,23 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
18811
18813
|
});
|
|
18812
18814
|
return (_ctx, _cache) => {
|
|
18813
18815
|
return openBlock(), createElementBlock("div", {
|
|
18814
|
-
class: normalizeClass(["scroll-active-container-wrapper", [
|
|
18816
|
+
class: normalizeClass(["scroll-active-container-wrapper", [_ctx.wrapperClass, { "scrollbar-none": !isIOSMobile.value }]]),
|
|
18815
18817
|
onMouseenter: handleMouseEnter,
|
|
18816
18818
|
onMouseleave: handleMouseLeave
|
|
18817
18819
|
}, [
|
|
18818
|
-
(openBlock(), createBlock(resolveDynamicComponent(
|
|
18820
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), mergeProps({
|
|
18819
18821
|
ref_key: "containerRef",
|
|
18820
18822
|
ref: containerRef,
|
|
18821
18823
|
class: ["scroll-active-container-scroll", [
|
|
18822
18824
|
!isIOSMobile.value ? "scrollbar-none" : "",
|
|
18823
|
-
|
|
18825
|
+
_ctx.direction === "vertical" ? "is-vertical-scroll" : "is-horizontal-scroll"
|
|
18824
18826
|
]]
|
|
18825
18827
|
}, _ctx.$attrs, { onScroll: handleContainerScroll }), {
|
|
18826
18828
|
default: withCtx(() => [
|
|
18827
18829
|
createElementVNode("div", {
|
|
18828
18830
|
ref_key: "contentRef",
|
|
18829
18831
|
ref: contentRef,
|
|
18830
|
-
class: normalizeClass(["scroll-active-container-content",
|
|
18832
|
+
class: normalizeClass(["scroll-active-container-content", _ctx.contentClass])
|
|
18831
18833
|
}, [
|
|
18832
18834
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
18833
18835
|
], 2)
|
|
@@ -18839,19 +18841,19 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
18839
18841
|
ref_key: "trackRef",
|
|
18840
18842
|
ref: trackRef,
|
|
18841
18843
|
class: normalizeClass(["scroll-active-track", [
|
|
18842
|
-
|
|
18844
|
+
_ctx.direction === "vertical" ? "scroll-active-track--vertical" : "scroll-active-track--horizontal",
|
|
18843
18845
|
showScrollbar.value ? "is-visible" : "is-hidden"
|
|
18844
18846
|
]]),
|
|
18845
18847
|
style: normalizeStyle({
|
|
18846
|
-
height:
|
|
18847
|
-
width:
|
|
18848
|
+
height: _ctx.direction === "vertical" && trackSize.value ? `${trackSize.value}px` : void 0,
|
|
18849
|
+
width: _ctx.direction === "horizontal" && trackSize.value ? `${trackSize.value}px` : void 0
|
|
18848
18850
|
}),
|
|
18849
18851
|
onScroll: handleTrackScroll
|
|
18850
18852
|
}, [
|
|
18851
18853
|
createElementVNode("div", {
|
|
18852
18854
|
style: normalizeStyle({
|
|
18853
|
-
height:
|
|
18854
|
-
width:
|
|
18855
|
+
height: _ctx.direction === "vertical" ? `${spacerSize.value}px` : "1px",
|
|
18856
|
+
width: _ctx.direction === "horizontal" ? `${spacerSize.value}px` : "1px",
|
|
18855
18857
|
pointerEvents: "none"
|
|
18856
18858
|
})
|
|
18857
18859
|
}, null, 4)
|
|
@@ -19242,69 +19244,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
19242
19244
|
}
|
|
19243
19245
|
}
|
|
19244
19246
|
const scrollContainerRef = ref(null);
|
|
19245
|
-
|
|
19247
|
+
ref(true);
|
|
19246
19248
|
const isMounted = ref(false);
|
|
19247
|
-
|
|
19249
|
+
ref(999);
|
|
19248
19250
|
const visibleChannels = computed(() => {
|
|
19249
|
-
|
|
19250
|
-
const count = maxVisibleCount.value;
|
|
19251
|
-
if (count >= channelsList.value.length) return channelsList.value;
|
|
19252
|
-
const activeIndex = channelsList.value.findIndex((item) => item.object_id === currentChannelId.value);
|
|
19253
|
-
const displayCount = activeIndex >= count ? activeIndex + 1 : count;
|
|
19254
|
-
return channelsList.value.slice(0, displayCount);
|
|
19251
|
+
return channelsList.value;
|
|
19255
19252
|
});
|
|
19256
|
-
function expandChannels() {
|
|
19257
|
-
isCollapsed.value = false;
|
|
19258
|
-
}
|
|
19259
|
-
function collapseChannels() {
|
|
19260
|
-
isCollapsed.value = true;
|
|
19261
|
-
}
|
|
19262
|
-
function getItemHeight(item) {
|
|
19263
|
-
let height = 40;
|
|
19264
|
-
if (getItemDesc(item)) {
|
|
19265
|
-
height += 16;
|
|
19266
|
-
}
|
|
19267
|
-
if (item.group && item.groupIndex === 0) {
|
|
19268
|
-
height += 32;
|
|
19269
|
-
}
|
|
19270
|
-
if (item.group && typeof item.group.len === "number" && item.group.len - 1 === item.groupIndex) {
|
|
19271
|
-
height += 12;
|
|
19272
|
-
}
|
|
19273
|
-
return height;
|
|
19274
|
-
}
|
|
19275
|
-
function getScrollElement() {
|
|
19276
|
-
if (!scrollContainerRef.value) return null;
|
|
19277
|
-
if ("containerEl" in scrollContainerRef.value && scrollContainerRef.value.containerEl) {
|
|
19278
|
-
return scrollContainerRef.value.containerEl;
|
|
19279
|
-
}
|
|
19280
|
-
return scrollContainerRef.value;
|
|
19281
|
-
}
|
|
19282
|
-
function calculateVisibleCount() {
|
|
19283
|
-
if (typeof window === "undefined") return;
|
|
19284
|
-
const containerEl = getScrollElement();
|
|
19285
|
-
if (!containerEl) return;
|
|
19286
|
-
const containerHeight = containerEl.getBoundingClientRect().height;
|
|
19287
|
-
const availableHeight = containerHeight - 16;
|
|
19288
|
-
const toggleHeight = 56;
|
|
19289
|
-
const footerHeight = 112;
|
|
19290
|
-
const totalHeight = channelsList.value.reduce((acc, item) => acc + getItemHeight(item), 0);
|
|
19291
|
-
if (totalHeight + footerHeight <= availableHeight) {
|
|
19292
|
-
maxVisibleCount.value = channelsList.value.length;
|
|
19293
|
-
return;
|
|
19294
|
-
}
|
|
19295
|
-
const limitHeight = availableHeight - toggleHeight - footerHeight;
|
|
19296
|
-
let accumulatedHeight = 0;
|
|
19297
|
-
let count = 0;
|
|
19298
|
-
for (const item of channelsList.value) {
|
|
19299
|
-
const h2 = getItemHeight(item);
|
|
19300
|
-
if (accumulatedHeight + h2 > limitHeight) {
|
|
19301
|
-
break;
|
|
19302
|
-
}
|
|
19303
|
-
accumulatedHeight += h2;
|
|
19304
|
-
count++;
|
|
19305
|
-
}
|
|
19306
|
-
maxVisibleCount.value = Math.max(3, count);
|
|
19307
|
-
}
|
|
19308
19253
|
async function fetchChannelsData() {
|
|
19309
19254
|
var _a, _b;
|
|
19310
19255
|
if (props.channels && props.channels.length > 0) return;
|
|
@@ -19322,42 +19267,18 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
19322
19267
|
console.error("[GitCodeAsideV2] fetchChannelsData error:", err);
|
|
19323
19268
|
} finally {
|
|
19324
19269
|
loading.value = false;
|
|
19325
|
-
void nextTick(() => calculateVisibleCount());
|
|
19326
19270
|
}
|
|
19327
19271
|
}
|
|
19328
|
-
let resizeObserver = null;
|
|
19329
19272
|
onMounted(() => {
|
|
19330
19273
|
isMounted.value = true;
|
|
19331
19274
|
void fetchChannelsData();
|
|
19332
|
-
void nextTick(() => {
|
|
19333
|
-
calculateVisibleCount();
|
|
19334
|
-
});
|
|
19335
|
-
if (typeof ResizeObserver !== "undefined") {
|
|
19336
|
-
resizeObserver = new ResizeObserver(() => {
|
|
19337
|
-
calculateVisibleCount();
|
|
19338
|
-
});
|
|
19339
|
-
const containerEl = getScrollElement();
|
|
19340
|
-
if (containerEl) {
|
|
19341
|
-
resizeObserver.observe(containerEl);
|
|
19342
|
-
} else if (typeof document !== "undefined") {
|
|
19343
|
-
resizeObserver.observe(document.body);
|
|
19344
|
-
}
|
|
19345
|
-
} else if (typeof window !== "undefined") {
|
|
19346
|
-
window.addEventListener("resize", calculateVisibleCount);
|
|
19347
|
-
}
|
|
19348
19275
|
});
|
|
19349
19276
|
onBeforeUnmount(() => {
|
|
19350
|
-
if (resizeObserver) {
|
|
19351
|
-
resizeObserver.disconnect();
|
|
19352
|
-
resizeObserver = null;
|
|
19353
|
-
} else if (typeof window !== "undefined") {
|
|
19354
|
-
window.removeEventListener("resize", calculateVisibleCount);
|
|
19355
|
-
}
|
|
19356
19277
|
});
|
|
19357
19278
|
watch(
|
|
19358
19279
|
() => props.channels,
|
|
19359
19280
|
() => {
|
|
19360
|
-
|
|
19281
|
+
return;
|
|
19361
19282
|
},
|
|
19362
19283
|
{ deep: true }
|
|
19363
19284
|
);
|
|
@@ -19464,58 +19385,16 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
19464
19385
|
title: getItemDesc(item)
|
|
19465
19386
|
}, toDisplayString$1(getItemDesc(item)), 9, _hoisted_14$1)) : createCommentVNode("", true)
|
|
19466
19387
|
]),
|
|
19467
|
-
!isRecommendedChannel(item) && item.children && item.children.length > 0 ? (openBlock(), createElementBlock("svg", _hoisted_15$1,
|
|
19388
|
+
!isRecommendedChannel(item) && item.children && item.children.length > 0 ? (openBlock(), createElementBlock("svg", _hoisted_15$1, _cache[1] || (_cache[1] = [
|
|
19468
19389
|
createElementVNode("path", { d: "m9 18 6-6-6-6" }, null, -1)
|
|
19469
|
-
])
|
|
19390
|
+
]))) : createCommentVNode("", true)
|
|
19470
19391
|
], 10, _hoisted_8$4)
|
|
19471
19392
|
], 2)
|
|
19472
19393
|
], 64);
|
|
19473
19394
|
}), 128))
|
|
19474
19395
|
])),
|
|
19475
|
-
|
|
19476
|
-
|
|
19477
|
-
type: "button",
|
|
19478
|
-
class: "home-channel-side-nav__more-toggle",
|
|
19479
|
-
onClick: expandChannels
|
|
19480
|
-
}, [
|
|
19481
|
-
_cache[2] || (_cache[2] = createElementVNode("svg", {
|
|
19482
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
19483
|
-
width: "14",
|
|
19484
|
-
height: "14",
|
|
19485
|
-
viewBox: "0 0 24 24",
|
|
19486
|
-
fill: "none",
|
|
19487
|
-
stroke: "currentColor",
|
|
19488
|
-
"stroke-width": "2",
|
|
19489
|
-
"stroke-linecap": "round",
|
|
19490
|
-
"stroke-linejoin": "round",
|
|
19491
|
-
class: "home-channel-side-nav__more-icon"
|
|
19492
|
-
}, [
|
|
19493
|
-
createElementVNode("path", { d: "m6 9 6 6 6-6" })
|
|
19494
|
-
], -1)),
|
|
19495
|
-
createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.home.channel.moreOpenSource")), 1)
|
|
19496
|
-
])) : createCommentVNode("", true),
|
|
19497
|
-
!isCollapsed.value && channelsList.value.length > maxVisibleCount.value ? (openBlock(), createElementBlock("button", {
|
|
19498
|
-
key: 3,
|
|
19499
|
-
type: "button",
|
|
19500
|
-
class: "home-channel-side-nav__more-collapse",
|
|
19501
|
-
onClick: collapseChannels
|
|
19502
|
-
}, [
|
|
19503
|
-
_cache[3] || (_cache[3] = createElementVNode("svg", {
|
|
19504
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
19505
|
-
width: "14",
|
|
19506
|
-
height: "14",
|
|
19507
|
-
viewBox: "0 0 24 24",
|
|
19508
|
-
fill: "none",
|
|
19509
|
-
stroke: "currentColor",
|
|
19510
|
-
"stroke-width": "2",
|
|
19511
|
-
"stroke-linecap": "round",
|
|
19512
|
-
"stroke-linejoin": "round",
|
|
19513
|
-
class: "home-channel-side-nav__more-icon"
|
|
19514
|
-
}, [
|
|
19515
|
-
createElementVNode("path", { d: "m18 15-6-6-6 6" })
|
|
19516
|
-
], -1)),
|
|
19517
|
-
createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.home.channel.collapseChannels")), 1)
|
|
19518
|
-
])) : createCommentVNode("", true),
|
|
19396
|
+
createCommentVNode("", true),
|
|
19397
|
+
createCommentVNode("", true),
|
|
19519
19398
|
createElementVNode("div", _hoisted_16$1, [
|
|
19520
19399
|
_cache[8] || (_cache[8] = createElementVNode("div", { class: "home-channel-side-nav__footer-divider" }, null, -1)),
|
|
19521
19400
|
createElementVNode("footer", _hoisted_17$1, [
|
|
@@ -19528,20 +19407,20 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
19528
19407
|
target: "_blank",
|
|
19529
19408
|
rel: "noopener noreferrer"
|
|
19530
19409
|
}, [
|
|
19531
|
-
shortcut.icon === "newspaper" ? (openBlock(), createElementBlock("svg", _hoisted_20$1,
|
|
19410
|
+
shortcut.icon === "newspaper" ? (openBlock(), createElementBlock("svg", _hoisted_20$1, _cache[4] || (_cache[4] = [
|
|
19532
19411
|
createElementVNode("path", { d: "M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2" }, null, -1),
|
|
19533
19412
|
createElementVNode("path", { d: "M18 14h-8" }, null, -1),
|
|
19534
19413
|
createElementVNode("path", { d: "M15 18h-5" }, null, -1),
|
|
19535
19414
|
createElementVNode("path", { d: "M10 6h8v4h-8V6Z" }, null, -1)
|
|
19536
|
-
])
|
|
19415
|
+
]))) : shortcut.icon === "book-open" ? (openBlock(), createElementBlock("svg", _hoisted_21$1, _cache[5] || (_cache[5] = [
|
|
19537
19416
|
createElementVNode("path", { d: "M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z" }, null, -1),
|
|
19538
19417
|
createElementVNode("path", { d: "M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z" }, null, -1)
|
|
19539
|
-
])
|
|
19418
|
+
]))) : shortcut.icon === "message-square" ? (openBlock(), createElementBlock("svg", _hoisted_22$1, _cache[6] || (_cache[6] = [
|
|
19540
19419
|
createElementVNode("path", { d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" }, null, -1)
|
|
19541
|
-
])
|
|
19420
|
+
]))) : (openBlock(), createElementBlock("svg", _hoisted_23$1, _cache[7] || (_cache[7] = [
|
|
19542
19421
|
createElementVNode("path", { d: "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1" }, null, -1),
|
|
19543
19422
|
createElementVNode("path", { d: "M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1" }, null, -1)
|
|
19544
|
-
])
|
|
19423
|
+
]))),
|
|
19545
19424
|
createElementVNode("span", null, toDisplayString$1(shortcut.name), 1)
|
|
19546
19425
|
], 8, _hoisted_19$1);
|
|
19547
19426
|
}), 128))
|
|
@@ -19726,8 +19605,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
19726
19605
|
});
|
|
19727
19606
|
return (_ctx, _cache) => {
|
|
19728
19607
|
return props.singleCol ? (openBlock(), createBlock(AsideV2Content, mergeProps({ key: 0 }, props, {
|
|
19729
|
-
showThemeSetting:
|
|
19730
|
-
showLangSetting:
|
|
19608
|
+
showThemeSetting: _ctx.showThemeSetting,
|
|
19609
|
+
showLangSetting: _ctx.showLangSetting,
|
|
19731
19610
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event)),
|
|
19732
19611
|
"onUpdate:activeChannel": _cache[1] || (_cache[1] = ($event) => emit("update:activeChannel", $event)),
|
|
19733
19612
|
onChannelChange: _cache[2] || (_cache[2] = ($event) => emit("channelChange", $event)),
|
|
@@ -19738,8 +19617,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
19738
19617
|
style: normalizeStyle({ width: mainMarginLeftWidth.value + "px", top: unref(headerHeight2) + "px" })
|
|
19739
19618
|
}, [
|
|
19740
19619
|
createVNode(AsideV2Content, mergeProps(props, {
|
|
19741
|
-
showThemeSetting:
|
|
19742
|
-
showLangSetting:
|
|
19620
|
+
showThemeSetting: _ctx.showThemeSetting,
|
|
19621
|
+
showLangSetting: _ctx.showLangSetting,
|
|
19743
19622
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => emit("update:modelValue", $event)),
|
|
19744
19623
|
"onUpdate:activeChannel": _cache[5] || (_cache[5] = ($event) => emit("update:activeChannel", $event)),
|
|
19745
19624
|
onChannelChange: _cache[6] || (_cache[6] = ($event) => emit("channelChange", $event)),
|
|
@@ -19759,8 +19638,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
19759
19638
|
createVNode(GLink, {
|
|
19760
19639
|
class: "g-toolbar-left-logo",
|
|
19761
19640
|
style: normalizeStyle(logoStyle.value),
|
|
19762
|
-
to:
|
|
19763
|
-
href:
|
|
19641
|
+
to: _ctx.independence ? "" : { name: "home" },
|
|
19642
|
+
href: _ctx.independence ? unref(transformUrl)(unref(layoutConfig2).VITE_HOST) : "",
|
|
19764
19643
|
onClickCapture: handleDrawerLogoClick
|
|
19765
19644
|
}, null, 8, ["style", "to", "href"]),
|
|
19766
19645
|
createVNode(unref(Button), {
|
|
@@ -19772,8 +19651,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
19772
19651
|
]),
|
|
19773
19652
|
createVNode(AsideV2Content, mergeProps(props, {
|
|
19774
19653
|
"single-col": "",
|
|
19775
|
-
showThemeSetting:
|
|
19776
|
-
showLangSetting:
|
|
19654
|
+
showThemeSetting: _ctx.showThemeSetting,
|
|
19655
|
+
showLangSetting: _ctx.showLangSetting,
|
|
19777
19656
|
"on-channel-change": handleDrawerChannelChange,
|
|
19778
19657
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => emit("update:modelValue", $event)),
|
|
19779
19658
|
"onUpdate:activeChannel": _cache[10] || (_cache[10] = ($event) => emit("update:activeChannel", $event)),
|
|
@@ -20023,7 +19902,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
20023
19902
|
createElementVNode("div", {
|
|
20024
19903
|
ref_key: "headerRef",
|
|
20025
19904
|
ref: headerRef,
|
|
20026
|
-
class: normalizeClass(["g-header allow-click-stop", [showHeaderShadow.value ? "head-shadow" : "",
|
|
19905
|
+
class: normalizeClass(["g-header allow-click-stop", [showHeaderShadow.value ? "head-shadow" : "", _ctx.headerBorder ? "oldBorder" : "", headerClassName.value]])
|
|
20027
19906
|
}, [
|
|
20028
19907
|
createVNode(SiteAnnouncement),
|
|
20029
19908
|
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
@@ -20038,14 +19917,14 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
20038
19917
|
})) : createCommentVNode("", true),
|
|
20039
19918
|
createElementVNode("div", _hoisted_3$c, [
|
|
20040
19919
|
createVNode(_sfc_main$M, {
|
|
20041
|
-
src: (_a2 =
|
|
20042
|
-
name: (_b =
|
|
19920
|
+
src: (_a2 = _ctx.enterpriseInfo) == null ? void 0 : _a2.avatar,
|
|
19921
|
+
name: (_b = _ctx.enterpriseInfo) == null ? void 0 : _b.name,
|
|
20043
19922
|
isRound: false,
|
|
20044
19923
|
width: 32,
|
|
20045
19924
|
height: 32,
|
|
20046
19925
|
class: "enterprise-avatar"
|
|
20047
19926
|
}, null, 8, ["src", "name"]),
|
|
20048
|
-
createElementVNode("span", _hoisted_4$9, toDisplayString$1((_c =
|
|
19927
|
+
createElementVNode("span", _hoisted_4$9, toDisplayString$1((_c = _ctx.enterpriseInfo) == null ? void 0 : _c.name), 1),
|
|
20049
19928
|
createElementVNode("span", _hoisted_5$5, toDisplayString$1(unref(t2)("gitCodeLayout.header.enterpriseFlag")), 1)
|
|
20050
19929
|
])
|
|
20051
19930
|
]),
|
|
@@ -20069,7 +19948,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
20069
19948
|
]),
|
|
20070
19949
|
createElementVNode("div", _hoisted_7$3, [
|
|
20071
19950
|
createVNode(HomeHeaderActions),
|
|
20072
|
-
!
|
|
19951
|
+
!_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
20073
19952
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
20074
19953
|
unref(isMobile) ? (openBlock(), createElementBlock("section", {
|
|
20075
19954
|
key: 0,
|
|
@@ -20130,10 +20009,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
20130
20009
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createBlock(UserAvatar, {
|
|
20131
20010
|
key: 2,
|
|
20132
20011
|
isChatBot: false,
|
|
20133
|
-
loginOutFinish:
|
|
20012
|
+
loginOutFinish: _ctx.loginOutFinish,
|
|
20134
20013
|
inAIHub: false,
|
|
20135
|
-
independence:
|
|
20136
|
-
userMenus:
|
|
20014
|
+
independence: _ctx.independence,
|
|
20015
|
+
userMenus: _ctx.userMenus,
|
|
20137
20016
|
inEnterpriseHeader: true
|
|
20138
20017
|
}, null, 8, ["loginOutFinish", "independence", "userMenus"])) : createCommentVNode("", true)
|
|
20139
20018
|
], 64))
|
|
@@ -20158,11 +20037,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
20158
20037
|
createVNode(GitCodeAsideV2, {
|
|
20159
20038
|
sceneValue: unref(SceneValue).home,
|
|
20160
20039
|
"disable-flat-mode": "",
|
|
20161
|
-
userInfo:
|
|
20162
|
-
isLogin:
|
|
20163
|
-
request:
|
|
20164
|
-
globalStore:
|
|
20165
|
-
independence:
|
|
20040
|
+
userInfo: _ctx.userInfo,
|
|
20041
|
+
isLogin: _ctx.isLogin,
|
|
20042
|
+
request: _ctx.request,
|
|
20043
|
+
globalStore: _ctx.globalStore,
|
|
20044
|
+
independence: _ctx.independence,
|
|
20166
20045
|
showLangSetting: "",
|
|
20167
20046
|
showThemeSetting: ""
|
|
20168
20047
|
}, null, 8, ["sceneValue", "userInfo", "isLogin", "request", "globalStore", "independence"])
|
|
@@ -20391,9 +20270,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
20391
20270
|
const layoutConfig2 = useLayoutConfig();
|
|
20392
20271
|
const { t: t2 } = i18n.global;
|
|
20393
20272
|
const route = useRoute();
|
|
20394
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
20395
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
20396
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
20273
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-Bv3VAwzx.js"));
|
|
20274
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-CyF044q6.js"));
|
|
20275
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-DZ8wIN6i.js"));
|
|
20397
20276
|
const props = __props;
|
|
20398
20277
|
const useReport2 = inject("useReport");
|
|
20399
20278
|
const userInfo = inject("userInfo");
|
|
@@ -20608,9 +20487,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
20608
20487
|
(openBlock(true), createElementBlock(Fragment, null, renderList(filterList.value, (item) => {
|
|
20609
20488
|
return openBlock(), createBlock(resolveDynamicComponent(renderComponent(item)), mergeProps({
|
|
20610
20489
|
key: item.id,
|
|
20611
|
-
isLogin:
|
|
20490
|
+
isLogin: _ctx.isLogin,
|
|
20612
20491
|
item,
|
|
20613
|
-
slotKeys:
|
|
20492
|
+
slotKeys: _ctx.slotKeys
|
|
20614
20493
|
}, { ref_for: true }, getProps(item)), createSlots({ _: 2 }, [
|
|
20615
20494
|
renderList(mainSiteSlotKeys.value, (key) => {
|
|
20616
20495
|
return {
|
|
@@ -20632,9 +20511,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
20632
20511
|
}, {
|
|
20633
20512
|
default: withCtx(() => [
|
|
20634
20513
|
(openBlock(), createBlock(resolveDynamicComponent(LayoutSlotComponent(key)), mergeProps({ ref_for: true }, getProps(item), {
|
|
20635
|
-
slotKeys:
|
|
20514
|
+
slotKeys: _ctx.slotKeys,
|
|
20636
20515
|
item,
|
|
20637
|
-
isLogin:
|
|
20516
|
+
isLogin: _ctx.isLogin
|
|
20638
20517
|
}), null, 16, ["slotKeys", "item", "isLogin"]))
|
|
20639
20518
|
]),
|
|
20640
20519
|
_: 2
|
|
@@ -20675,17 +20554,17 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
20675
20554
|
withDirectives(createElementVNode("div", _hoisted_2$b, [
|
|
20676
20555
|
createVNode(_sfc_main$q)
|
|
20677
20556
|
], 512), [
|
|
20678
|
-
[vShow,
|
|
20557
|
+
[vShow, _ctx.showThemeSetting]
|
|
20679
20558
|
]),
|
|
20680
20559
|
withDirectives(createElementVNode("div", _hoisted_3$b, [
|
|
20681
20560
|
createVNode(_sfc_main$A)
|
|
20682
20561
|
], 512), [
|
|
20683
|
-
[vShow,
|
|
20562
|
+
[vShow, _ctx.showLangSetting]
|
|
20684
20563
|
])
|
|
20685
20564
|
]),
|
|
20686
20565
|
default: withCtx(() => [
|
|
20687
20566
|
createElementVNode("div", {
|
|
20688
|
-
class: normalizeClass(["aside-footer-tools-item", { "aside-footer-tools-item-little":
|
|
20567
|
+
class: normalizeClass(["aside-footer-tools-item", { "aside-footer-tools-item-little": _ctx.asideSetShowLittle }])
|
|
20689
20568
|
}, [
|
|
20690
20569
|
createVNode(GIcon, {
|
|
20691
20570
|
name: "gt-line-setting",
|
|
@@ -20821,7 +20700,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
20821
20700
|
target: "_blank",
|
|
20822
20701
|
rel: "noopener noreferrer"
|
|
20823
20702
|
}, "CSDN", -1)),
|
|
20824
|
-
_cache[2] || (_cache[2] = createTextVNode(" | "
|
|
20703
|
+
_cache[2] || (_cache[2] = createTextVNode(" | ")),
|
|
20825
20704
|
createElementVNode("a", _hoisted_8$2, toDisplayString$1(unref(t2)("gitCodeLayout.home.HWCloud")), 1)
|
|
20826
20705
|
], 2),
|
|
20827
20706
|
createElementVNode("p", _hoisted_9$2, [
|
|
@@ -20834,7 +20713,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
20834
20713
|
]),
|
|
20835
20714
|
_: 1
|
|
20836
20715
|
}, 8, ["href"]),
|
|
20837
|
-
_cache[3] || (_cache[3] = createTextVNode(" | "
|
|
20716
|
+
_cache[3] || (_cache[3] = createTextVNode(" | ")),
|
|
20838
20717
|
createVNode(GLink, {
|
|
20839
20718
|
target: "_blank",
|
|
20840
20719
|
href: unref(copyright).beian_url
|
|
@@ -21002,11 +20881,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21002
20881
|
});
|
|
21003
20882
|
return (_ctx, _cache) => {
|
|
21004
20883
|
return openBlock(), createBlock(unref(Aside), {
|
|
21005
|
-
class: normalizeClass(["config-aside-content", { "side-bar-content-shot":
|
|
20884
|
+
class: normalizeClass(["config-aside-content", { "side-bar-content-shot": _ctx.asideSetShowLittle }])
|
|
21006
20885
|
}, {
|
|
21007
20886
|
default: withCtx(() => [
|
|
21008
20887
|
createElementVNode("div", {
|
|
21009
|
-
class: normalizeClass(["config-aside__content", { "side-bar-content-shot":
|
|
20888
|
+
class: normalizeClass(["config-aside__content", { "side-bar-content-shot": _ctx.asideSetShowLittle, "shot-isCh": !unref(isEn) }])
|
|
21010
20889
|
}, [
|
|
21011
20890
|
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
21012
20891
|
createElementVNode("div", {
|
|
@@ -21026,10 +20905,10 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21026
20905
|
}, [
|
|
21027
20906
|
createVNode(Area, {
|
|
21028
20907
|
list: getAreaItem(item),
|
|
21029
|
-
isLogin:
|
|
20908
|
+
isLogin: _ctx.isLogin,
|
|
21030
20909
|
slotKeys: layoutSlotKeys.value,
|
|
21031
|
-
sceneValue:
|
|
21032
|
-
asideSetShowLittle:
|
|
20910
|
+
sceneValue: _ctx.sceneValue,
|
|
20911
|
+
asideSetShowLittle: _ctx.asideSetShowLittle
|
|
21033
20912
|
}, createSlots({ _: 2 }, [
|
|
21034
20913
|
renderList(layoutSlotKeys.value, (key) => {
|
|
21035
20914
|
return {
|
|
@@ -21053,24 +20932,24 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21053
20932
|
}, null, 8, ["name"]),
|
|
21054
20933
|
_cache[2] || (_cache[2] = createElementVNode("span", null, "群组讨论", -1))
|
|
21055
20934
|
], 32)) : createCommentVNode("", true),
|
|
21056
|
-
!
|
|
20935
|
+
!_ctx.asideSetShowLittle && index2 !== displayArea.value.length - 1 ? (openBlock(), createElementBlock("hr", _hoisted_4$7)) : createCommentVNode("", true)
|
|
21057
20936
|
], 64);
|
|
21058
20937
|
}), 128)),
|
|
21059
|
-
!
|
|
20938
|
+
!_ctx.asideSetShowLittle && isModuleVisible(unref(AsideDisplayItem).LINK) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
21060
20939
|
_cache[3] || (_cache[3] = createElementVNode("hr", { class: "line line--my" }, null, -1)),
|
|
21061
20940
|
createVNode(SubMenuList)
|
|
21062
20941
|
], 64)) : createCommentVNode("", true)
|
|
21063
20942
|
])),
|
|
21064
|
-
!
|
|
20943
|
+
!_ctx.asideSetShowLittle && isModuleVisible(unref(AsideDisplayItem).SITE_INFO) ? (openBlock(), createBlock(ContactInfo, { key: 2 })) : createCommentVNode("", true)
|
|
21065
20944
|
], 34),
|
|
21066
20945
|
showPreferencesSetting.value ? (openBlock(), createElementBlock("div", {
|
|
21067
20946
|
key: 0,
|
|
21068
|
-
class: normalizeClass(["aside-footer-tools", { "aside-footer-tools-little":
|
|
20947
|
+
class: normalizeClass(["aside-footer-tools", { "aside-footer-tools-little": _ctx.asideSetShowLittle }])
|
|
21069
20948
|
}, [
|
|
21070
20949
|
createVNode(Settings, {
|
|
21071
|
-
"show-lang-setting":
|
|
21072
|
-
"show-theme-setting":
|
|
21073
|
-
asideSetShowLittle:
|
|
20950
|
+
"show-lang-setting": _ctx.showLangSetting,
|
|
20951
|
+
"show-theme-setting": _ctx.showThemeSetting,
|
|
20952
|
+
asideSetShowLittle: _ctx.asideSetShowLittle
|
|
21074
20953
|
}, null, 8, ["show-lang-setting", "show-theme-setting", "asideSetShowLittle"])
|
|
21075
20954
|
], 2)) : createCommentVNode("", true)
|
|
21076
20955
|
])), [
|
|
@@ -21235,18 +21114,18 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21235
21114
|
key: 0,
|
|
21236
21115
|
class: normalizeClass(["left-side-bar", { oldWhite: asideSetShowLittleMode.value, higherZIndex: unref(SITE_STATUS).DISABLE }]),
|
|
21237
21116
|
style: normalizeStyle({ width: mainMarginLeftWidth.value + "px", top: unref(headerHeight2) + "px" }),
|
|
21238
|
-
sceneValue:
|
|
21117
|
+
sceneValue: _ctx.sceneValue,
|
|
21239
21118
|
asideDefaultWidth: mainMarginLeftWidth.value,
|
|
21240
21119
|
asideSetShowLittle: asideSetShowLittleMode.value,
|
|
21241
|
-
isLogin:
|
|
21242
|
-
showPreferencesSetting:
|
|
21243
|
-
showThemeSetting:
|
|
21244
|
-
showLangSetting:
|
|
21245
|
-
independence:
|
|
21246
|
-
slotKeys:
|
|
21247
|
-
collapseMode:
|
|
21120
|
+
isLogin: _ctx.isLogin,
|
|
21121
|
+
showPreferencesSetting: _ctx.showPreferencesSetting,
|
|
21122
|
+
showThemeSetting: _ctx.showThemeSetting,
|
|
21123
|
+
showLangSetting: _ctx.showLangSetting,
|
|
21124
|
+
independence: _ctx.independence,
|
|
21125
|
+
slotKeys: _ctx.slotKeys,
|
|
21126
|
+
collapseMode: _ctx.collapseMode
|
|
21248
21127
|
}, createSlots({ _: 2 }, [
|
|
21249
|
-
renderList(
|
|
21128
|
+
renderList(_ctx.slotKeys, (key) => {
|
|
21250
21129
|
return {
|
|
21251
21130
|
name: key,
|
|
21252
21131
|
fn: withCtx(() => [
|
|
@@ -21268,8 +21147,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21268
21147
|
createVNode(GLink, {
|
|
21269
21148
|
class: "g-toolbar-left-logo",
|
|
21270
21149
|
style: normalizeStyle(logoStyle.value),
|
|
21271
|
-
to:
|
|
21272
|
-
href:
|
|
21150
|
+
to: _ctx.independence ? "" : { name: "home" },
|
|
21151
|
+
href: _ctx.independence ? unref(transformUrl)(unref(layoutConfig2).VITE_HOST) : "",
|
|
21273
21152
|
onClickCapture: handleDrawerLogoClick
|
|
21274
21153
|
}, null, 8, ["style", "to", "href"]),
|
|
21275
21154
|
createVNode(unref(Button), {
|
|
@@ -21280,14 +21159,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21280
21159
|
})
|
|
21281
21160
|
]),
|
|
21282
21161
|
createVNode(ConfigAideContent, mergeProps(props, {
|
|
21283
|
-
sceneValue:
|
|
21162
|
+
sceneValue: _ctx.sceneValue,
|
|
21284
21163
|
asideDefaultWidth: 240,
|
|
21285
|
-
isLogin:
|
|
21286
|
-
showPreferencesSetting:
|
|
21287
|
-
showThemeSetting:
|
|
21288
|
-
showLangSetting:
|
|
21289
|
-
independence:
|
|
21290
|
-
slotKeys:
|
|
21164
|
+
isLogin: _ctx.isLogin,
|
|
21165
|
+
showPreferencesSetting: _ctx.showPreferencesSetting,
|
|
21166
|
+
showThemeSetting: _ctx.showThemeSetting,
|
|
21167
|
+
showLangSetting: _ctx.showLangSetting,
|
|
21168
|
+
independence: _ctx.independence,
|
|
21169
|
+
slotKeys: _ctx.slotKeys
|
|
21291
21170
|
}), null, 16, ["sceneValue", "isLogin", "showPreferencesSetting", "showThemeSetting", "showLangSetting", "independence", "slotKeys"])
|
|
21292
21171
|
]),
|
|
21293
21172
|
_: 1
|
|
@@ -22140,12 +22019,12 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
22140
22019
|
showLangSetting: "",
|
|
22141
22020
|
showThemeSetting: ""
|
|
22142
22021
|
}, {
|
|
22143
|
-
home: withCtx(() =>
|
|
22022
|
+
home: withCtx(() => _cache[4] || (_cache[4] = [
|
|
22144
22023
|
createElementVNode("div", null, "首页hover-插槽", -1)
|
|
22145
|
-
])
|
|
22146
|
-
issues: withCtx(() =>
|
|
22024
|
+
])),
|
|
22025
|
+
issues: withCtx(() => _cache[5] || (_cache[5] = [
|
|
22147
22026
|
createElementVNode("div", null, "issues hover-插槽", -1)
|
|
22148
|
-
])
|
|
22027
|
+
])),
|
|
22149
22028
|
_: 1
|
|
22150
22029
|
}, 8, ["sceneValue", "userInfo", "isLogin", "request", "globalStore", "independence", "collapseMode"]))
|
|
22151
22030
|
]),
|
|
@@ -22161,19 +22040,21 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
22161
22040
|
key: "v1",
|
|
22162
22041
|
value: "v1"
|
|
22163
22042
|
}, {
|
|
22164
|
-
default: withCtx(() =>
|
|
22165
|
-
createTextVNode("Aside V1 (经典)"
|
|
22166
|
-
])
|
|
22167
|
-
_: 1
|
|
22043
|
+
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
22044
|
+
createTextVNode("Aside V1 (经典)")
|
|
22045
|
+
])),
|
|
22046
|
+
_: 1,
|
|
22047
|
+
__: [6]
|
|
22168
22048
|
})),
|
|
22169
22049
|
(openBlock(), createBlock(unref(Radio), {
|
|
22170
22050
|
key: "v2",
|
|
22171
22051
|
value: "v2"
|
|
22172
22052
|
}, {
|
|
22173
|
-
default: withCtx(() =>
|
|
22174
|
-
createTextVNode("Aside V2 (GitCodeAsideV2 频道导航)"
|
|
22175
|
-
])
|
|
22176
|
-
_: 1
|
|
22053
|
+
default: withCtx(() => _cache[7] || (_cache[7] = [
|
|
22054
|
+
createTextVNode("Aside V2 (GitCodeAsideV2 频道导航)")
|
|
22055
|
+
])),
|
|
22056
|
+
_: 1,
|
|
22057
|
+
__: [7]
|
|
22177
22058
|
}))
|
|
22178
22059
|
]),
|
|
22179
22060
|
_: 1
|
|
@@ -22190,19 +22071,21 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
22190
22071
|
key: "是",
|
|
22191
22072
|
value: true
|
|
22192
22073
|
}, {
|
|
22193
|
-
default: withCtx(() =>
|
|
22194
|
-
createTextVNode("普通 Header"
|
|
22195
|
-
])
|
|
22196
|
-
_: 1
|
|
22074
|
+
default: withCtx(() => _cache[8] || (_cache[8] = [
|
|
22075
|
+
createTextVNode("普通 Header")
|
|
22076
|
+
])),
|
|
22077
|
+
_: 1,
|
|
22078
|
+
__: [8]
|
|
22197
22079
|
})),
|
|
22198
22080
|
(openBlock(), createBlock(unref(Radio), {
|
|
22199
22081
|
key: "否",
|
|
22200
22082
|
value: false
|
|
22201
22083
|
}, {
|
|
22202
|
-
default: withCtx(() =>
|
|
22203
|
-
createTextVNode("企业版 Header"
|
|
22204
|
-
])
|
|
22205
|
-
_: 1
|
|
22084
|
+
default: withCtx(() => _cache[9] || (_cache[9] = [
|
|
22085
|
+
createTextVNode("企业版 Header")
|
|
22086
|
+
])),
|
|
22087
|
+
_: 1,
|
|
22088
|
+
__: [9]
|
|
22206
22089
|
}))
|
|
22207
22090
|
]),
|
|
22208
22091
|
_: 1
|
|
@@ -22242,19 +22125,21 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
22242
22125
|
key: "是",
|
|
22243
22126
|
value: true
|
|
22244
22127
|
}, {
|
|
22245
|
-
default: withCtx(() =>
|
|
22246
|
-
createTextVNode("是"
|
|
22247
|
-
])
|
|
22248
|
-
_: 1
|
|
22128
|
+
default: withCtx(() => _cache[10] || (_cache[10] = [
|
|
22129
|
+
createTextVNode("是")
|
|
22130
|
+
])),
|
|
22131
|
+
_: 1,
|
|
22132
|
+
__: [10]
|
|
22249
22133
|
})),
|
|
22250
22134
|
(openBlock(), createBlock(unref(Radio), {
|
|
22251
22135
|
key: "否",
|
|
22252
22136
|
value: false
|
|
22253
22137
|
}, {
|
|
22254
|
-
default: withCtx(() =>
|
|
22255
|
-
createTextVNode("否"
|
|
22256
|
-
])
|
|
22257
|
-
_: 1
|
|
22138
|
+
default: withCtx(() => _cache[11] || (_cache[11] = [
|
|
22139
|
+
createTextVNode("否")
|
|
22140
|
+
])),
|
|
22141
|
+
_: 1,
|
|
22142
|
+
__: [11]
|
|
22258
22143
|
}))
|
|
22259
22144
|
]),
|
|
22260
22145
|
_: 1
|
|
@@ -23125,13 +23010,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
23125
23010
|
});
|
|
23126
23011
|
return (_ctx, _cache) => {
|
|
23127
23012
|
return openBlock(), createElementBlock("div", {
|
|
23128
|
-
class: normalizeClass(["g-input-button", [inputBtnClassName.value,
|
|
23013
|
+
class: normalizeClass(["g-input-button", [inputBtnClassName.value, _ctx.error ? "g-input-button-error" : ""]])
|
|
23129
23014
|
}, [
|
|
23130
23015
|
createVNode(unref(Input), {
|
|
23131
23016
|
modelValue: unref(vModels),
|
|
23132
23017
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(vModels) ? vModels.value = $event : null),
|
|
23133
|
-
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label:
|
|
23134
|
-
autocomplete:
|
|
23018
|
+
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: _ctx.placeholder }),
|
|
23019
|
+
autocomplete: _ctx.autocomplete,
|
|
23135
23020
|
onChange: handleChange,
|
|
23136
23021
|
onFocus: handleInputFocus,
|
|
23137
23022
|
onBlur: handleInputBlur
|
|
@@ -23141,7 +23026,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
23141
23026
|
onClick: withModifiers(handleClick, ["stop"]),
|
|
23142
23027
|
class: normalizeClass([
|
|
23143
23028
|
"g-input-button-append",
|
|
23144
|
-
DisabledBtn.value || !
|
|
23029
|
+
DisabledBtn.value || !_ctx.hasMobile ? "g-input-button-append-inactive" : "g-input-button-append-active"
|
|
23145
23030
|
])
|
|
23146
23031
|
}, [
|
|
23147
23032
|
createElementVNode("span", _hoisted_1$a, toDisplayString$1(BtnText.value), 1)
|
|
@@ -23289,8 +23174,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
23289
23174
|
key: 1,
|
|
23290
23175
|
modelValue: unref(vModels),
|
|
23291
23176
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(vModels) ? vModels.value = $event : null)
|
|
23292
|
-
},
|
|
23293
|
-
placeholder:
|
|
23177
|
+
}, _ctx.prop, {
|
|
23178
|
+
placeholder: _ctx.placeholder,
|
|
23294
23179
|
onChange: handleChange
|
|
23295
23180
|
}), {
|
|
23296
23181
|
prepend: withCtx(() => [
|
|
@@ -23574,23 +23459,23 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
23574
23459
|
rules: GroupRules,
|
|
23575
23460
|
ref_key: "FormRef",
|
|
23576
23461
|
ref: FormRef,
|
|
23577
|
-
"show-feedback":
|
|
23578
|
-
disabled:
|
|
23579
|
-
"message-type":
|
|
23580
|
-
layout:
|
|
23581
|
-
size:
|
|
23582
|
-
"label-size":
|
|
23583
|
-
"label-align":
|
|
23462
|
+
"show-feedback": _ctx.showFeedback,
|
|
23463
|
+
disabled: _ctx.disabled,
|
|
23464
|
+
"message-type": _ctx.MessageType,
|
|
23465
|
+
layout: _ctx.layout,
|
|
23466
|
+
size: _ctx.size,
|
|
23467
|
+
"label-size": _ctx.labelSize,
|
|
23468
|
+
"label-align": _ctx.labelAlign,
|
|
23584
23469
|
class: "g-form",
|
|
23585
23470
|
onInput: handleFormInput,
|
|
23586
23471
|
requirePosition: "right"
|
|
23587
23472
|
}, {
|
|
23588
23473
|
default: withCtx(() => [
|
|
23589
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
23474
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.DataList, (formItem) => {
|
|
23590
23475
|
return openBlock(), createBlock(unref(FormItem), {
|
|
23591
23476
|
key: formItem.key,
|
|
23592
23477
|
field: formItem.key,
|
|
23593
|
-
label:
|
|
23478
|
+
label: _ctx.showLabel ? formItem.label : "",
|
|
23594
23479
|
"help-tips": formItem.help,
|
|
23595
23480
|
"extra-info": formItem.extra,
|
|
23596
23481
|
style: normalizeStyle({ width: getItemWidth.value(formItem) })
|
|
@@ -23620,12 +23505,12 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
23620
23505
|
}, { ref_for: true }, formItem.props, {
|
|
23621
23506
|
hasMobile: !!Data[(_b = formItem.props) == null ? void 0 : _b.aliasKey],
|
|
23622
23507
|
text: unref($t)("gitCodeLayout.userSetting.account.getVerificationCode"),
|
|
23623
|
-
error:
|
|
23508
|
+
error: _ctx.errors.msgError,
|
|
23624
23509
|
autocomplete: autocompleteCalc((_c = formItem.props) == null ? void 0 : _c.autocomplete)
|
|
23625
23510
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "onClick", "onUpdate:countdown", "placeholder", "hasMobile", "text", "error", "autocomplete"])) : formItem.type === "inputSelect" ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
23626
23511
|
key: 2,
|
|
23627
23512
|
country: Data.country,
|
|
23628
|
-
class:
|
|
23513
|
+
class: _ctx.formErrors["mobile"] ? "input-select-error" : "",
|
|
23629
23514
|
modelValue: Data[formItem.key],
|
|
23630
23515
|
"onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
|
|
23631
23516
|
onSelectChange: _cache[0] || (_cache[0] = (evt) => handleSelectChange("country", evt)),
|
|
@@ -23685,7 +23570,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
23685
23570
|
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
23686
23571
|
createElementVNode("div", _hoisted_2$6, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.subtitle.otherLogin")), 1),
|
|
23687
23572
|
createElementVNode("div", _hoisted_3$6, [
|
|
23688
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
23573
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.logos, (icon) => {
|
|
23689
23574
|
return openBlock(), createElementBlock("div", {
|
|
23690
23575
|
key: icon.alt,
|
|
23691
23576
|
class: "icon-wrap otherInfo-icon"
|
|
@@ -23791,7 +23676,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
23791
23676
|
return (_ctx, _cache) => {
|
|
23792
23677
|
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
23793
23678
|
createVNode(unref(Checkbox), {
|
|
23794
|
-
"model-value":
|
|
23679
|
+
"model-value": _ctx.modelValue,
|
|
23795
23680
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:modelValue", val)),
|
|
23796
23681
|
size: "sm"
|
|
23797
23682
|
}, {
|
|
@@ -23810,7 +23695,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
23810
23695
|
_: 1
|
|
23811
23696
|
}, 8, ["model-value"]),
|
|
23812
23697
|
createVNode(unref(Checkbox), {
|
|
23813
|
-
"model-value":
|
|
23698
|
+
"model-value": _ctx.dataShareChecked,
|
|
23814
23699
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = (val) => emits("update:dataShareChecked", val)),
|
|
23815
23700
|
size: "sm"
|
|
23816
23701
|
}, {
|
|
@@ -23859,7 +23744,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
23859
23744
|
return (_ctx, _cache) => {
|
|
23860
23745
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
23861
23746
|
createVNode(unref(Checkbox), {
|
|
23862
|
-
"model-value":
|
|
23747
|
+
"model-value": _ctx.modelValue,
|
|
23863
23748
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:modelValue", val)),
|
|
23864
23749
|
size: "sm",
|
|
23865
23750
|
class: "agree-module agreements"
|
|
@@ -23880,7 +23765,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
23880
23765
|
_: 3
|
|
23881
23766
|
}, 8, ["model-value"]),
|
|
23882
23767
|
createVNode(unref(Checkbox), {
|
|
23883
|
-
"model-value":
|
|
23768
|
+
"model-value": _ctx.dataShareChecked,
|
|
23884
23769
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = (val) => emits("update:dataShareChecked", val)),
|
|
23885
23770
|
size: "sm",
|
|
23886
23771
|
class: "agreements__data-share"
|
|
@@ -23922,14 +23807,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
23922
23807
|
return (_ctx, _cache) => {
|
|
23923
23808
|
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
23924
23809
|
createElementVNode("div", _hoisted_2$3, [
|
|
23925
|
-
|
|
23810
|
+
_ctx.showBack ? (openBlock(), createElementBlock("img", {
|
|
23926
23811
|
key: 0,
|
|
23927
|
-
src:
|
|
23812
|
+
src: _ctx.icon,
|
|
23928
23813
|
class: "g-title__back-img",
|
|
23929
23814
|
onClick: withModifiers(handleClick, ["stop"])
|
|
23930
23815
|
}, null, 8, _hoisted_3$3)) : createCommentVNode("", true)
|
|
23931
23816
|
]),
|
|
23932
|
-
|
|
23817
|
+
_ctx.showTitle ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString$1(_ctx.title), 1)) : createCommentVNode("", true)
|
|
23933
23818
|
]);
|
|
23934
23819
|
};
|
|
23935
23820
|
}
|
|
@@ -23963,7 +23848,7 @@ const verifyCodeRegExp4 = /^\d{4}$/;
|
|
|
23963
23848
|
const verifyCodeRegExp6 = /^\d{6}$/;
|
|
23964
23849
|
const mobileRegExp = /^1[3-9]\d{9}$/;
|
|
23965
23850
|
const usernameRegExp = /^(?!-)[a-zA-Z][a-zA-Z0-9_-]{1,49}$/;
|
|
23966
|
-
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}"]]] } };
|
|
23851
|
+
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, [["(?:(?:(?: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-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", "[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", "[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-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", ["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-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-7]))\\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", "(?: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, "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|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", "[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-39]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-5]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "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[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-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}"]]] } };
|
|
23967
23852
|
function withMetadataArgument(func, _arguments) {
|
|
23968
23853
|
var args = Array.prototype.slice.call(_arguments);
|
|
23969
23854
|
args.push(metadata);
|
|
@@ -23991,39 +23876,32 @@ var objectConstructor = {}.constructor;
|
|
|
23991
23876
|
function isObject(object) {
|
|
23992
23877
|
return object !== void 0 && object !== null && object.constructor === objectConstructor;
|
|
23993
23878
|
}
|
|
23994
|
-
function _typeof$
|
|
23879
|
+
function _typeof$1(obj) {
|
|
23995
23880
|
"@babel/helpers - typeof";
|
|
23996
|
-
return _typeof$
|
|
23997
|
-
return typeof
|
|
23998
|
-
} : function(
|
|
23999
|
-
return
|
|
24000
|
-
}, _typeof$
|
|
24001
|
-
}
|
|
24002
|
-
function _classCallCheck$2(a, n) {
|
|
24003
|
-
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
23881
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
23882
|
+
return typeof obj2;
|
|
23883
|
+
} : function(obj2) {
|
|
23884
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
23885
|
+
}, _typeof$1(obj);
|
|
24004
23886
|
}
|
|
24005
|
-
function
|
|
24006
|
-
|
|
24007
|
-
|
|
24008
|
-
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey$6(o.key), o);
|
|
23887
|
+
function _classCallCheck$2(instance, Constructor) {
|
|
23888
|
+
if (!(instance instanceof Constructor)) {
|
|
23889
|
+
throw new TypeError("Cannot call a class as a function");
|
|
24009
23890
|
}
|
|
24010
23891
|
}
|
|
24011
|
-
function
|
|
24012
|
-
|
|
24013
|
-
|
|
24014
|
-
|
|
24015
|
-
|
|
24016
|
-
|
|
24017
|
-
|
|
24018
|
-
function _toPrimitive$6(t2, r) {
|
|
24019
|
-
if ("object" != _typeof$7(t2) || !t2) return t2;
|
|
24020
|
-
var e = t2[Symbol.toPrimitive];
|
|
24021
|
-
if (void 0 !== e) {
|
|
24022
|
-
var i = e.call(t2, r);
|
|
24023
|
-
if ("object" != _typeof$7(i)) return i;
|
|
24024
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
23892
|
+
function _defineProperties$1(target, props) {
|
|
23893
|
+
for (var i = 0; i < props.length; i++) {
|
|
23894
|
+
var descriptor = props[i];
|
|
23895
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
23896
|
+
descriptor.configurable = true;
|
|
23897
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
23898
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
24025
23899
|
}
|
|
24026
|
-
|
|
23900
|
+
}
|
|
23901
|
+
function _createClass$2(Constructor, protoProps, staticProps) {
|
|
23902
|
+
if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
|
|
23903
|
+
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
23904
|
+
return Constructor;
|
|
24027
23905
|
}
|
|
24028
23906
|
var V3 = "1.2.0";
|
|
24029
23907
|
var V4 = "1.7.35";
|
|
@@ -24036,7 +23914,7 @@ var Metadata = /* @__PURE__ */ function() {
|
|
|
24036
23914
|
this.metadata = metadata2;
|
|
24037
23915
|
setVersion.call(this, metadata2);
|
|
24038
23916
|
}
|
|
24039
|
-
|
|
23917
|
+
_createClass$2(Metadata2, [{
|
|
24040
23918
|
key: "getCountries",
|
|
24041
23919
|
value: function getCountries() {
|
|
24042
23920
|
return Object.keys(this.metadata.countries).filter(function(_) {
|
|
@@ -24241,6 +24119,7 @@ var Metadata = /* @__PURE__ */ function() {
|
|
|
24241
24119
|
return this.numberingPlan !== void 0;
|
|
24242
24120
|
}
|
|
24243
24121
|
}]);
|
|
24122
|
+
return Metadata2;
|
|
24244
24123
|
}();
|
|
24245
24124
|
var NumberingPlan = /* @__PURE__ */ function() {
|
|
24246
24125
|
function NumberingPlan2(metadata2, globalMetadataObject) {
|
|
@@ -24249,7 +24128,7 @@ var NumberingPlan = /* @__PURE__ */ function() {
|
|
|
24249
24128
|
this.metadata = metadata2;
|
|
24250
24129
|
setVersion.call(this, globalMetadataObject.metadata);
|
|
24251
24130
|
}
|
|
24252
|
-
|
|
24131
|
+
_createClass$2(NumberingPlan2, [{
|
|
24253
24132
|
key: "callingCode",
|
|
24254
24133
|
value: function callingCode() {
|
|
24255
24134
|
return this.metadata[0];
|
|
@@ -24388,6 +24267,7 @@ var NumberingPlan = /* @__PURE__ */ function() {
|
|
|
24388
24267
|
return this.metadata[13] || DEFAULT_EXT_PREFIX;
|
|
24389
24268
|
}
|
|
24390
24269
|
}]);
|
|
24270
|
+
return NumberingPlan2;
|
|
24391
24271
|
}();
|
|
24392
24272
|
var Format = /* @__PURE__ */ function() {
|
|
24393
24273
|
function Format2(format2, metadata2) {
|
|
@@ -24395,7 +24275,7 @@ var Format = /* @__PURE__ */ function() {
|
|
|
24395
24275
|
this._format = format2;
|
|
24396
24276
|
this.metadata = metadata2;
|
|
24397
24277
|
}
|
|
24398
|
-
|
|
24278
|
+
_createClass$2(Format2, [{
|
|
24399
24279
|
key: "pattern",
|
|
24400
24280
|
value: function pattern() {
|
|
24401
24281
|
return this._format[0];
|
|
@@ -24438,6 +24318,7 @@ var Format = /* @__PURE__ */ function() {
|
|
|
24438
24318
|
return this._format[5] || this.format();
|
|
24439
24319
|
}
|
|
24440
24320
|
}]);
|
|
24321
|
+
return Format2;
|
|
24441
24322
|
}();
|
|
24442
24323
|
var FIRST_GROUP_ONLY_PREFIX_PATTERN = /^\(?\$1\)?$/;
|
|
24443
24324
|
var Type = /* @__PURE__ */ function() {
|
|
@@ -24446,7 +24327,7 @@ var Type = /* @__PURE__ */ function() {
|
|
|
24446
24327
|
this.type = type;
|
|
24447
24328
|
this.metadata = metadata2;
|
|
24448
24329
|
}
|
|
24449
|
-
|
|
24330
|
+
_createClass$2(Type2, [{
|
|
24450
24331
|
key: "pattern",
|
|
24451
24332
|
value: function pattern() {
|
|
24452
24333
|
if (this.metadata.v1) return this.type;
|
|
@@ -24459,6 +24340,7 @@ var Type = /* @__PURE__ */ function() {
|
|
|
24459
24340
|
return this.type[1] || this.metadata.possibleLengths();
|
|
24460
24341
|
}
|
|
24461
24342
|
}]);
|
|
24343
|
+
return Type2;
|
|
24462
24344
|
}();
|
|
24463
24345
|
function getType(types, type) {
|
|
24464
24346
|
switch (type) {
|
|
@@ -24493,12 +24375,12 @@ function validateMetadata(metadata2) {
|
|
|
24493
24375
|
}
|
|
24494
24376
|
}
|
|
24495
24377
|
var typeOf = function typeOf2(_) {
|
|
24496
|
-
return _typeof$
|
|
24378
|
+
return _typeof$1(_);
|
|
24497
24379
|
};
|
|
24498
24380
|
function getCountryCallingCode(country, metadata2) {
|
|
24499
24381
|
metadata2 = new Metadata(metadata2);
|
|
24500
24382
|
if (metadata2.hasCountry(country)) {
|
|
24501
|
-
return metadata2.
|
|
24383
|
+
return metadata2.country(country).countryCallingCode();
|
|
24502
24384
|
}
|
|
24503
24385
|
throw new Error("Unknown country: ".concat(country));
|
|
24504
24386
|
}
|
|
@@ -24524,14 +24406,10 @@ function setVersion(metadata2) {
|
|
|
24524
24406
|
}
|
|
24525
24407
|
}
|
|
24526
24408
|
}
|
|
24527
|
-
function checkNumberLength(nationalNumber,
|
|
24528
|
-
return checkNumberLengthForType(nationalNumber,
|
|
24409
|
+
function checkNumberLength(nationalNumber, metadata2) {
|
|
24410
|
+
return checkNumberLengthForType(nationalNumber, void 0, metadata2);
|
|
24529
24411
|
}
|
|
24530
|
-
function checkNumberLengthForType(nationalNumber,
|
|
24531
|
-
if (country) {
|
|
24532
|
-
metadata2 = new Metadata(metadata2.metadata);
|
|
24533
|
-
metadata2.selectNumberingPlan(country);
|
|
24534
|
-
}
|
|
24412
|
+
function checkNumberLengthForType(nationalNumber, type, metadata2) {
|
|
24535
24413
|
var type_info = metadata2.type(type);
|
|
24536
24414
|
var possible_lengths = type_info && type_info.possibleLengths() || metadata2.possibleLengths();
|
|
24537
24415
|
if (!possible_lengths) {
|
|
@@ -24568,7 +24446,7 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
24568
24446
|
if (!metadata2.hasCountry(input.country)) {
|
|
24569
24447
|
throw new Error("Unknown country: ".concat(input.country));
|
|
24570
24448
|
}
|
|
24571
|
-
metadata2.
|
|
24449
|
+
metadata2.country(input.country);
|
|
24572
24450
|
} else {
|
|
24573
24451
|
if (!input.countryCallingCode) {
|
|
24574
24452
|
throw new Error("Invalid phone number object passed");
|
|
@@ -24577,7 +24455,7 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
24577
24455
|
}
|
|
24578
24456
|
}
|
|
24579
24457
|
if (metadata2.possibleLengths()) {
|
|
24580
|
-
return isPossibleNumber(input.phone || input.nationalNumber,
|
|
24458
|
+
return isPossibleNumber(input.phone || input.nationalNumber, metadata2);
|
|
24581
24459
|
} else {
|
|
24582
24460
|
if (input.countryCallingCode && metadata2.isNonGeographicCallingCode(input.countryCallingCode)) {
|
|
24583
24461
|
return true;
|
|
@@ -24586,41 +24464,45 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
24586
24464
|
}
|
|
24587
24465
|
}
|
|
24588
24466
|
}
|
|
24589
|
-
function isPossibleNumber(nationalNumber,
|
|
24590
|
-
switch (checkNumberLength(nationalNumber,
|
|
24467
|
+
function isPossibleNumber(nationalNumber, metadata2) {
|
|
24468
|
+
switch (checkNumberLength(nationalNumber, metadata2)) {
|
|
24591
24469
|
case "IS_POSSIBLE":
|
|
24592
24470
|
return true;
|
|
24593
24471
|
default:
|
|
24594
24472
|
return false;
|
|
24595
24473
|
}
|
|
24596
24474
|
}
|
|
24597
|
-
function matchesEntirely(text2,
|
|
24475
|
+
function matchesEntirely(text2, regular_expression) {
|
|
24598
24476
|
text2 = text2 || "";
|
|
24599
|
-
return new RegExp("^(?:" +
|
|
24600
|
-
}
|
|
24601
|
-
function _createForOfIteratorHelperLoose$
|
|
24602
|
-
var
|
|
24603
|
-
if (
|
|
24604
|
-
if (Array.isArray(
|
|
24605
|
-
|
|
24606
|
-
var
|
|
24477
|
+
return new RegExp("^(?:" + regular_expression + ")$").test(text2);
|
|
24478
|
+
}
|
|
24479
|
+
function _createForOfIteratorHelperLoose$3(o, allowArrayLike) {
|
|
24480
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
24481
|
+
if (it) return (it = it.call(o)).next.bind(it);
|
|
24482
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray$4(o)) || allowArrayLike) {
|
|
24483
|
+
if (it) o = it;
|
|
24484
|
+
var i = 0;
|
|
24607
24485
|
return function() {
|
|
24608
|
-
|
|
24486
|
+
if (i >= o.length) return { done: true };
|
|
24487
|
+
return { done: false, value: o[i++] };
|
|
24609
24488
|
};
|
|
24610
24489
|
}
|
|
24611
24490
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
24612
24491
|
}
|
|
24613
|
-
function _unsupportedIterableToArray$
|
|
24614
|
-
if (
|
|
24615
|
-
|
|
24616
|
-
|
|
24617
|
-
|
|
24618
|
-
|
|
24492
|
+
function _unsupportedIterableToArray$4(o, minLen) {
|
|
24493
|
+
if (!o) return;
|
|
24494
|
+
if (typeof o === "string") return _arrayLikeToArray$4(o, minLen);
|
|
24495
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
24496
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
24497
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
24498
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$4(o, minLen);
|
|
24619
24499
|
}
|
|
24620
|
-
function _arrayLikeToArray$
|
|
24621
|
-
(
|
|
24622
|
-
for (var
|
|
24623
|
-
|
|
24500
|
+
function _arrayLikeToArray$4(arr, len) {
|
|
24501
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
24502
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
24503
|
+
arr2[i] = arr[i];
|
|
24504
|
+
}
|
|
24505
|
+
return arr2;
|
|
24624
24506
|
}
|
|
24625
24507
|
var NON_FIXED_LINE_PHONE_TYPES = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
24626
24508
|
function getNumberType(input, options, metadata2) {
|
|
@@ -24646,7 +24528,7 @@ function getNumberType(input, options, metadata2) {
|
|
|
24646
24528
|
}
|
|
24647
24529
|
return "FIXED_LINE";
|
|
24648
24530
|
}
|
|
24649
|
-
for (var _iterator = _createForOfIteratorHelperLoose$
|
|
24531
|
+
for (var _iterator = _createForOfIteratorHelperLoose$3(NON_FIXED_LINE_PHONE_TYPES), _step; !(_step = _iterator()).done; ) {
|
|
24650
24532
|
var type = _step.value;
|
|
24651
24533
|
if (isNumberTypeEqualTo(nationalNumber, type, metadata2)) {
|
|
24652
24534
|
return type;
|
|
@@ -24765,63 +24647,7 @@ function extractNationalNumberFromPossiblyIncompleteNumber(number2, metadata2) {
|
|
|
24765
24647
|
nationalNumber: number2
|
|
24766
24648
|
};
|
|
24767
24649
|
}
|
|
24768
|
-
function
|
|
24769
|
-
var t2 = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
24770
|
-
if (t2) return (t2 = t2.call(r)).next.bind(t2);
|
|
24771
|
-
if (Array.isArray(r) || (t2 = _unsupportedIterableToArray$2(r)) || e) {
|
|
24772
|
-
t2 && (r = t2);
|
|
24773
|
-
var o = 0;
|
|
24774
|
-
return function() {
|
|
24775
|
-
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
24776
|
-
};
|
|
24777
|
-
}
|
|
24778
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
24779
|
-
}
|
|
24780
|
-
function _unsupportedIterableToArray$2(r, a) {
|
|
24781
|
-
if (r) {
|
|
24782
|
-
if ("string" == typeof r) return _arrayLikeToArray$2(r, a);
|
|
24783
|
-
var t2 = {}.toString.call(r).slice(8, -1);
|
|
24784
|
-
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;
|
|
24785
|
-
}
|
|
24786
|
-
}
|
|
24787
|
-
function _arrayLikeToArray$2(r, a) {
|
|
24788
|
-
(null == a || a > r.length) && (a = r.length);
|
|
24789
|
-
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
24790
|
-
return n;
|
|
24791
|
-
}
|
|
24792
|
-
function getCountryByNationalNumber(nationalPhoneNumber, _ref) {
|
|
24793
|
-
var countries = _ref.countries, metadata2 = _ref.metadata;
|
|
24794
|
-
metadata2 = new Metadata(metadata2);
|
|
24795
|
-
for (var _iterator = _createForOfIteratorHelperLoose$1(countries), _step; !(_step = _iterator()).done; ) {
|
|
24796
|
-
var country = _step.value;
|
|
24797
|
-
metadata2.selectNumberingPlan(country);
|
|
24798
|
-
if (metadata2.leadingDigits()) {
|
|
24799
|
-
if (nationalPhoneNumber && nationalPhoneNumber.search(metadata2.leadingDigits()) === 0) {
|
|
24800
|
-
return country;
|
|
24801
|
-
}
|
|
24802
|
-
} else if (getNumberType({
|
|
24803
|
-
phone: nationalPhoneNumber,
|
|
24804
|
-
country
|
|
24805
|
-
}, void 0, metadata2.metadata)) {
|
|
24806
|
-
return country;
|
|
24807
|
-
}
|
|
24808
|
-
}
|
|
24809
|
-
}
|
|
24810
|
-
function getCountryByCallingCode(callingCode, _ref) {
|
|
24811
|
-
var nationalPhoneNumber = _ref.nationalNumber, metadata2 = _ref.metadata;
|
|
24812
|
-
var possibleCountries = metadata2.getCountryCodesForCallingCode(callingCode);
|
|
24813
|
-
if (!possibleCountries) {
|
|
24814
|
-
return;
|
|
24815
|
-
}
|
|
24816
|
-
if (possibleCountries.length === 1) {
|
|
24817
|
-
return possibleCountries[0];
|
|
24818
|
-
}
|
|
24819
|
-
return getCountryByNationalNumber(nationalPhoneNumber, {
|
|
24820
|
-
countries: possibleCountries,
|
|
24821
|
-
metadata: metadata2.metadata
|
|
24822
|
-
});
|
|
24823
|
-
}
|
|
24824
|
-
function extractNationalNumber(number2, country, metadata2) {
|
|
24650
|
+
function extractNationalNumber(number2, metadata2) {
|
|
24825
24651
|
var _extractNationalNumbe = extractNationalNumberFromPossiblyIncompleteNumber(number2, metadata2), carrierCode = _extractNationalNumbe.carrierCode, nationalNumber = _extractNationalNumbe.nationalNumber;
|
|
24826
24652
|
if (nationalNumber !== number2) {
|
|
24827
24653
|
if (!shouldHaveExtractedNationalPrefix(number2, nationalNumber, metadata2)) {
|
|
@@ -24829,14 +24655,8 @@ function extractNationalNumber(number2, country, metadata2) {
|
|
|
24829
24655
|
nationalNumber: number2
|
|
24830
24656
|
};
|
|
24831
24657
|
}
|
|
24832
|
-
if (metadata2.
|
|
24833
|
-
if (!
|
|
24834
|
-
country = getCountryByCallingCode(metadata2.numberingPlan.callingCode(), {
|
|
24835
|
-
nationalNumber,
|
|
24836
|
-
metadata: metadata2
|
|
24837
|
-
});
|
|
24838
|
-
}
|
|
24839
|
-
if (!isPossibleIncompleteNationalNumber(nationalNumber, country, metadata2)) {
|
|
24658
|
+
if (metadata2.possibleLengths()) {
|
|
24659
|
+
if (!isPossibleIncompleteNationalNumber(nationalNumber, metadata2)) {
|
|
24840
24660
|
return {
|
|
24841
24661
|
nationalNumber: number2
|
|
24842
24662
|
};
|
|
@@ -24854,8 +24674,8 @@ function shouldHaveExtractedNationalPrefix(nationalNumberBefore, nationalNumberA
|
|
|
24854
24674
|
}
|
|
24855
24675
|
return true;
|
|
24856
24676
|
}
|
|
24857
|
-
function isPossibleIncompleteNationalNumber(nationalNumber,
|
|
24858
|
-
switch (checkNumberLength(nationalNumber,
|
|
24677
|
+
function isPossibleIncompleteNationalNumber(nationalNumber, metadata2) {
|
|
24678
|
+
switch (checkNumberLength(nationalNumber, metadata2)) {
|
|
24859
24679
|
case "TOO_SHORT":
|
|
24860
24680
|
case "INVALID_LENGTH":
|
|
24861
24681
|
return false;
|
|
@@ -24863,15 +24683,15 @@ function isPossibleIncompleteNationalNumber(nationalNumber, country, metadata2)
|
|
|
24863
24683
|
return true;
|
|
24864
24684
|
}
|
|
24865
24685
|
}
|
|
24866
|
-
function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country,
|
|
24867
|
-
var countryCallingCode =
|
|
24686
|
+
function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country, callingCode, metadata2) {
|
|
24687
|
+
var countryCallingCode = country ? getCountryCallingCode(country, metadata2) : callingCode;
|
|
24868
24688
|
if (number2.indexOf(countryCallingCode) === 0) {
|
|
24869
24689
|
metadata2 = new Metadata(metadata2);
|
|
24870
|
-
metadata2.selectNumberingPlan(
|
|
24690
|
+
metadata2.selectNumberingPlan(country, callingCode);
|
|
24871
24691
|
var possibleShorterNumber = number2.slice(countryCallingCode.length);
|
|
24872
|
-
var _extractNationalNumbe = extractNationalNumber(possibleShorterNumber,
|
|
24873
|
-
var _extractNationalNumbe2 = extractNationalNumber(number2,
|
|
24874
|
-
if (!matchesEntirely(nationalNumber, metadata2.nationalNumberPattern()) && matchesEntirely(possibleShorterNationalNumber, metadata2.nationalNumberPattern()) || checkNumberLength(nationalNumber,
|
|
24692
|
+
var _extractNationalNumbe = extractNationalNumber(possibleShorterNumber, metadata2), possibleShorterNationalNumber = _extractNationalNumbe.nationalNumber;
|
|
24693
|
+
var _extractNationalNumbe2 = extractNationalNumber(number2, metadata2), nationalNumber = _extractNationalNumbe2.nationalNumber;
|
|
24694
|
+
if (!matchesEntirely(nationalNumber, metadata2.nationalNumberPattern()) && matchesEntirely(possibleShorterNationalNumber, metadata2.nationalNumberPattern()) || checkNumberLength(nationalNumber, metadata2) === "TOO_LONG") {
|
|
24875
24695
|
return {
|
|
24876
24696
|
countryCallingCode,
|
|
24877
24697
|
number: possibleShorterNumber
|
|
@@ -24882,19 +24702,19 @@ function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2
|
|
|
24882
24702
|
number: number2
|
|
24883
24703
|
};
|
|
24884
24704
|
}
|
|
24885
|
-
function extractCountryCallingCode(number2, country,
|
|
24705
|
+
function extractCountryCallingCode(number2, country, callingCode, metadata2) {
|
|
24886
24706
|
if (!number2) {
|
|
24887
24707
|
return {};
|
|
24888
24708
|
}
|
|
24889
24709
|
var isNumberWithIddPrefix;
|
|
24890
24710
|
if (number2[0] !== "+") {
|
|
24891
|
-
var numberWithoutIDD = stripIddPrefix(number2,
|
|
24711
|
+
var numberWithoutIDD = stripIddPrefix(number2, country, callingCode, metadata2);
|
|
24892
24712
|
if (numberWithoutIDD && numberWithoutIDD !== number2) {
|
|
24893
24713
|
isNumberWithIddPrefix = true;
|
|
24894
24714
|
number2 = "+" + numberWithoutIDD;
|
|
24895
24715
|
} else {
|
|
24896
|
-
if (
|
|
24897
|
-
var _extractCountryCallin = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country,
|
|
24716
|
+
if (country || callingCode) {
|
|
24717
|
+
var _extractCountryCallin = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country, callingCode, metadata2), countryCallingCode = _extractCountryCallin.countryCallingCode, shorterNumber = _extractCountryCallin.number;
|
|
24898
24718
|
if (countryCallingCode) {
|
|
24899
24719
|
return {
|
|
24900
24720
|
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
|
@@ -25018,6 +24838,63 @@ function formatRFC3966(_ref) {
|
|
|
25018
24838
|
}
|
|
25019
24839
|
return "tel:".concat(number2).concat(ext ? ";ext=" + ext : "");
|
|
25020
24840
|
}
|
|
24841
|
+
function _createForOfIteratorHelperLoose$2(o, allowArrayLike) {
|
|
24842
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
24843
|
+
if (it) return (it = it.call(o)).next.bind(it);
|
|
24844
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray$3(o)) || allowArrayLike) {
|
|
24845
|
+
if (it) o = it;
|
|
24846
|
+
var i = 0;
|
|
24847
|
+
return function() {
|
|
24848
|
+
if (i >= o.length) return { done: true };
|
|
24849
|
+
return { done: false, value: o[i++] };
|
|
24850
|
+
};
|
|
24851
|
+
}
|
|
24852
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
24853
|
+
}
|
|
24854
|
+
function _unsupportedIterableToArray$3(o, minLen) {
|
|
24855
|
+
if (!o) return;
|
|
24856
|
+
if (typeof o === "string") return _arrayLikeToArray$3(o, minLen);
|
|
24857
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
24858
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
24859
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
24860
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$3(o, minLen);
|
|
24861
|
+
}
|
|
24862
|
+
function _arrayLikeToArray$3(arr, len) {
|
|
24863
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
24864
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
24865
|
+
arr2[i] = arr[i];
|
|
24866
|
+
}
|
|
24867
|
+
return arr2;
|
|
24868
|
+
}
|
|
24869
|
+
function ownKeys$6(object, enumerableOnly) {
|
|
24870
|
+
var keys = Object.keys(object);
|
|
24871
|
+
if (Object.getOwnPropertySymbols) {
|
|
24872
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
24873
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
24874
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
24875
|
+
})), keys.push.apply(keys, symbols);
|
|
24876
|
+
}
|
|
24877
|
+
return keys;
|
|
24878
|
+
}
|
|
24879
|
+
function _objectSpread$6(target) {
|
|
24880
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
24881
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
24882
|
+
i % 2 ? ownKeys$6(Object(source), true).forEach(function(key) {
|
|
24883
|
+
_defineProperty$6(target, key, source[key]);
|
|
24884
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$6(Object(source)).forEach(function(key) {
|
|
24885
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
24886
|
+
});
|
|
24887
|
+
}
|
|
24888
|
+
return target;
|
|
24889
|
+
}
|
|
24890
|
+
function _defineProperty$6(obj, key, value) {
|
|
24891
|
+
if (key in obj) {
|
|
24892
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
24893
|
+
} else {
|
|
24894
|
+
obj[key] = value;
|
|
24895
|
+
}
|
|
24896
|
+
return obj;
|
|
24897
|
+
}
|
|
25021
24898
|
var DEFAULT_OPTIONS = {
|
|
25022
24899
|
formatExtension: function formatExtension(formattedNumber, extension, metadata2) {
|
|
25023
24900
|
return "".concat(formattedNumber).concat(metadata2.ext()).concat(extension);
|
|
@@ -25025,7 +24902,7 @@ var DEFAULT_OPTIONS = {
|
|
|
25025
24902
|
};
|
|
25026
24903
|
function formatNumber(input, format2, options, metadata2) {
|
|
25027
24904
|
if (options) {
|
|
25028
|
-
options =
|
|
24905
|
+
options = _objectSpread$6(_objectSpread$6({}, DEFAULT_OPTIONS), options);
|
|
25029
24906
|
} else {
|
|
25030
24907
|
options = DEFAULT_OPTIONS;
|
|
25031
24908
|
}
|
|
@@ -25034,7 +24911,7 @@ function formatNumber(input, format2, options, metadata2) {
|
|
|
25034
24911
|
if (!metadata2.hasCountry(input.country)) {
|
|
25035
24912
|
throw new Error("Unknown country: ".concat(input.country));
|
|
25036
24913
|
}
|
|
25037
|
-
metadata2.
|
|
24914
|
+
metadata2.country(input.country);
|
|
25038
24915
|
} else if (input.countryCallingCode) {
|
|
25039
24916
|
metadata2.selectNumberingPlan(input.countryCallingCode);
|
|
25040
24917
|
} else return input.phone || "";
|
|
@@ -25082,16 +24959,19 @@ function formatNationalNumber(number2, carrierCode, formatAs, metadata2, options
|
|
|
25082
24959
|
withNationalPrefix: format2.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && options && options.nationalPrefix === false ? false : true
|
|
25083
24960
|
});
|
|
25084
24961
|
}
|
|
25085
|
-
function chooseFormatForNumber(availableFormats,
|
|
25086
|
-
|
|
24962
|
+
function chooseFormatForNumber(availableFormats, nationalNnumber) {
|
|
24963
|
+
for (var _iterator = _createForOfIteratorHelperLoose$2(availableFormats), _step; !(_step = _iterator()).done; ) {
|
|
24964
|
+
var format2 = _step.value;
|
|
25087
24965
|
if (format2.leadingDigitsPatterns().length > 0) {
|
|
25088
24966
|
var lastLeadingDigitsPattern = format2.leadingDigitsPatterns()[format2.leadingDigitsPatterns().length - 1];
|
|
25089
|
-
if (
|
|
25090
|
-
|
|
24967
|
+
if (nationalNnumber.search(lastLeadingDigitsPattern) !== 0) {
|
|
24968
|
+
continue;
|
|
25091
24969
|
}
|
|
25092
24970
|
}
|
|
25093
|
-
|
|
25094
|
-
|
|
24971
|
+
if (matchesEntirely(nationalNnumber, format2.pattern())) {
|
|
24972
|
+
return format2;
|
|
24973
|
+
}
|
|
24974
|
+
}
|
|
25095
24975
|
}
|
|
25096
24976
|
function addExtension(formattedNumber, ext, metadata2, formatExtension2) {
|
|
25097
24977
|
return ext ? formatExtension2(formattedNumber, ext, metadata2) : formattedNumber;
|
|
@@ -25110,87 +24990,53 @@ function formatIDD(nationalNumber, carrierCode, countryCallingCode, fromCountry,
|
|
|
25110
24990
|
return "".concat(iddPrefix, " ").concat(countryCallingCode, " ").concat(formatNationalNumber(nationalNumber, null, "INTERNATIONAL", metadata2));
|
|
25111
24991
|
}
|
|
25112
24992
|
}
|
|
25113
|
-
function
|
|
25114
|
-
var
|
|
25115
|
-
|
|
25116
|
-
|
|
25117
|
-
|
|
25118
|
-
|
|
25119
|
-
|
|
25120
|
-
for (var key in objects[i]) {
|
|
25121
|
-
objects[0][key] = objects[i][key];
|
|
25122
|
-
}
|
|
25123
|
-
}
|
|
25124
|
-
i++;
|
|
25125
|
-
}
|
|
25126
|
-
return objects[0];
|
|
25127
|
-
}
|
|
25128
|
-
function pickFirstMatchingElement(elements, testFunction) {
|
|
25129
|
-
var i = 0;
|
|
25130
|
-
while (i < elements.length) {
|
|
25131
|
-
if (testFunction(elements[i])) {
|
|
25132
|
-
return elements[i];
|
|
25133
|
-
}
|
|
25134
|
-
i++;
|
|
24993
|
+
function ownKeys$5(object, enumerableOnly) {
|
|
24994
|
+
var keys = Object.keys(object);
|
|
24995
|
+
if (Object.getOwnPropertySymbols) {
|
|
24996
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
24997
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
24998
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
24999
|
+
})), keys.push.apply(keys, symbols);
|
|
25135
25000
|
}
|
|
25001
|
+
return keys;
|
|
25136
25002
|
}
|
|
25137
|
-
function
|
|
25138
|
-
|
|
25139
|
-
|
|
25140
|
-
|
|
25141
|
-
|
|
25142
|
-
|
|
25143
|
-
|
|
25144
|
-
}
|
|
25145
|
-
function ownKeys$5(e, r) {
|
|
25146
|
-
var t2 = Object.keys(e);
|
|
25147
|
-
if (Object.getOwnPropertySymbols) {
|
|
25148
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
25149
|
-
r && (o = o.filter(function(r2) {
|
|
25150
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
25151
|
-
})), t2.push.apply(t2, o);
|
|
25152
|
-
}
|
|
25153
|
-
return t2;
|
|
25154
|
-
}
|
|
25155
|
-
function _objectSpread$5(e) {
|
|
25156
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
25157
|
-
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
25158
|
-
r % 2 ? ownKeys$5(Object(t2), true).forEach(function(r2) {
|
|
25159
|
-
_defineProperty$5(e, r2, t2[r2]);
|
|
25160
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$5(Object(t2)).forEach(function(r2) {
|
|
25161
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
25003
|
+
function _objectSpread$5(target) {
|
|
25004
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
25005
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
25006
|
+
i % 2 ? ownKeys$5(Object(source), true).forEach(function(key) {
|
|
25007
|
+
_defineProperty$5(target, key, source[key]);
|
|
25008
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function(key) {
|
|
25009
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
25162
25010
|
});
|
|
25163
25011
|
}
|
|
25164
|
-
return
|
|
25165
|
-
}
|
|
25166
|
-
function _defineProperty$5(e, r, t2) {
|
|
25167
|
-
return (r = _toPropertyKey$5(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
25168
|
-
}
|
|
25169
|
-
function _classCallCheck$1(a, n) {
|
|
25170
|
-
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
25012
|
+
return target;
|
|
25171
25013
|
}
|
|
25172
|
-
function
|
|
25173
|
-
|
|
25174
|
-
|
|
25175
|
-
|
|
25014
|
+
function _defineProperty$5(obj, key, value) {
|
|
25015
|
+
if (key in obj) {
|
|
25016
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
25017
|
+
} else {
|
|
25018
|
+
obj[key] = value;
|
|
25176
25019
|
}
|
|
25020
|
+
return obj;
|
|
25177
25021
|
}
|
|
25178
|
-
function
|
|
25179
|
-
|
|
25180
|
-
|
|
25181
|
-
|
|
25182
|
-
var i = _toPrimitive$5(t2, "string");
|
|
25183
|
-
return "symbol" == _typeof$6(i) ? i : i + "";
|
|
25022
|
+
function _classCallCheck$1(instance, Constructor) {
|
|
25023
|
+
if (!(instance instanceof Constructor)) {
|
|
25024
|
+
throw new TypeError("Cannot call a class as a function");
|
|
25025
|
+
}
|
|
25184
25026
|
}
|
|
25185
|
-
function
|
|
25186
|
-
|
|
25187
|
-
|
|
25188
|
-
|
|
25189
|
-
|
|
25190
|
-
if ("
|
|
25191
|
-
|
|
25027
|
+
function _defineProperties(target, props) {
|
|
25028
|
+
for (var i = 0; i < props.length; i++) {
|
|
25029
|
+
var descriptor = props[i];
|
|
25030
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
25031
|
+
descriptor.configurable = true;
|
|
25032
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
25033
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
25192
25034
|
}
|
|
25193
|
-
|
|
25035
|
+
}
|
|
25036
|
+
function _createClass$1(Constructor, protoProps, staticProps) {
|
|
25037
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
25038
|
+
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
25039
|
+
return Constructor;
|
|
25194
25040
|
}
|
|
25195
25041
|
var PhoneNumber = /* @__PURE__ */ function() {
|
|
25196
25042
|
function PhoneNumber2(countryOrCountryCallingCode, nationalNumber, metadata2) {
|
|
@@ -25201,20 +25047,22 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
25201
25047
|
if (typeof countryOrCountryCallingCode !== "string") {
|
|
25202
25048
|
throw new TypeError("First argument must be a string");
|
|
25203
25049
|
}
|
|
25204
|
-
if (countryOrCountryCallingCode
|
|
25205
|
-
|
|
25206
|
-
|
|
25207
|
-
if (isObject(nationalNumber) && isObject(nationalNumber.countries)) {
|
|
25208
|
-
metadata2 = nationalNumber;
|
|
25209
|
-
var e164Number = countryOrCountryCallingCode;
|
|
25210
|
-
if (!E164_NUMBER_REGEXP.test(e164Number)) {
|
|
25211
|
-
throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
|
|
25050
|
+
if (typeof countryOrCountryCallingCode === "string") {
|
|
25051
|
+
if (countryOrCountryCallingCode[0] === "+" && !nationalNumber) {
|
|
25052
|
+
throw new TypeError("`metadata` argument not passed");
|
|
25212
25053
|
}
|
|
25213
|
-
|
|
25214
|
-
|
|
25215
|
-
|
|
25216
|
-
|
|
25217
|
-
|
|
25054
|
+
if (isObject(nationalNumber) && isObject(nationalNumber.countries)) {
|
|
25055
|
+
metadata2 = nationalNumber;
|
|
25056
|
+
var e164Number = countryOrCountryCallingCode;
|
|
25057
|
+
if (!E164_NUMBER_REGEXP.test(e164Number)) {
|
|
25058
|
+
throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
|
|
25059
|
+
}
|
|
25060
|
+
var _extractCountryCallin = extractCountryCallingCode(e164Number, void 0, void 0, metadata2), _countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
25061
|
+
nationalNumber = number2;
|
|
25062
|
+
countryOrCountryCallingCode = _countryCallingCode;
|
|
25063
|
+
if (!nationalNumber) {
|
|
25064
|
+
throw new Error("Invalid `number` argument passed: too short");
|
|
25065
|
+
}
|
|
25218
25066
|
}
|
|
25219
25067
|
}
|
|
25220
25068
|
if (!nationalNumber) {
|
|
@@ -25233,7 +25081,7 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
25233
25081
|
return metadata2;
|
|
25234
25082
|
};
|
|
25235
25083
|
}
|
|
25236
|
-
|
|
25084
|
+
_createClass$1(PhoneNumber2, [{
|
|
25237
25085
|
key: "setExt",
|
|
25238
25086
|
value: function setExt(ext) {
|
|
25239
25087
|
this.ext = ext;
|
|
@@ -25317,6 +25165,7 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
25317
25165
|
return this.format("RFC3966", options);
|
|
25318
25166
|
}
|
|
25319
25167
|
}]);
|
|
25168
|
+
return PhoneNumber2;
|
|
25320
25169
|
}();
|
|
25321
25170
|
var isCountryCode = function isCountryCode2(value) {
|
|
25322
25171
|
return /^[A-Z]{2}$/.test(value);
|
|
@@ -25338,95 +25187,131 @@ function getCountryAndCountryCallingCode(countryOrCountryCallingCode, metadataJs
|
|
|
25338
25187
|
};
|
|
25339
25188
|
}
|
|
25340
25189
|
var E164_NUMBER_REGEXP = /^\+\d+$/;
|
|
25341
|
-
function _typeof
|
|
25190
|
+
function _typeof(obj) {
|
|
25342
25191
|
"@babel/helpers - typeof";
|
|
25343
|
-
return _typeof
|
|
25344
|
-
return typeof
|
|
25345
|
-
} : function(
|
|
25346
|
-
return
|
|
25347
|
-
}, _typeof
|
|
25348
|
-
}
|
|
25349
|
-
function _createClass(
|
|
25350
|
-
|
|
25351
|
-
|
|
25352
|
-
|
|
25353
|
-
|
|
25354
|
-
|
|
25355
|
-
|
|
25356
|
-
|
|
25357
|
-
}
|
|
25358
|
-
function
|
|
25359
|
-
if (
|
|
25360
|
-
|
|
25361
|
-
|
|
25362
|
-
}
|
|
25363
|
-
|
|
25364
|
-
if (
|
|
25365
|
-
|
|
25366
|
-
|
|
25367
|
-
|
|
25368
|
-
|
|
25369
|
-
|
|
25370
|
-
|
|
25371
|
-
|
|
25372
|
-
|
|
25373
|
-
|
|
25374
|
-
|
|
25375
|
-
|
|
25376
|
-
|
|
25377
|
-
|
|
25378
|
-
|
|
25192
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
25193
|
+
return typeof obj2;
|
|
25194
|
+
} : function(obj2) {
|
|
25195
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
25196
|
+
}, _typeof(obj);
|
|
25197
|
+
}
|
|
25198
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
25199
|
+
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
25200
|
+
return Constructor;
|
|
25201
|
+
}
|
|
25202
|
+
function _classCallCheck(instance, Constructor) {
|
|
25203
|
+
if (!(instance instanceof Constructor)) {
|
|
25204
|
+
throw new TypeError("Cannot call a class as a function");
|
|
25205
|
+
}
|
|
25206
|
+
}
|
|
25207
|
+
function _inherits(subClass, superClass) {
|
|
25208
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
25209
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
25210
|
+
}
|
|
25211
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
25212
|
+
Object.defineProperty(subClass, "prototype", { writable: false });
|
|
25213
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
25214
|
+
}
|
|
25215
|
+
function _createSuper(Derived) {
|
|
25216
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
25217
|
+
return function _createSuperInternal() {
|
|
25218
|
+
var Super = _getPrototypeOf(Derived), result2;
|
|
25219
|
+
if (hasNativeReflectConstruct) {
|
|
25220
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
25221
|
+
result2 = Reflect.construct(Super, arguments, NewTarget);
|
|
25222
|
+
} else {
|
|
25223
|
+
result2 = Super.apply(this, arguments);
|
|
25224
|
+
}
|
|
25225
|
+
return _possibleConstructorReturn(this, result2);
|
|
25226
|
+
};
|
|
25227
|
+
}
|
|
25228
|
+
function _possibleConstructorReturn(self2, call) {
|
|
25229
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
25230
|
+
return call;
|
|
25231
|
+
} else if (call !== void 0) {
|
|
25232
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
25233
|
+
}
|
|
25234
|
+
return _assertThisInitialized(self2);
|
|
25235
|
+
}
|
|
25236
|
+
function _assertThisInitialized(self2) {
|
|
25237
|
+
if (self2 === void 0) {
|
|
25238
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
25239
|
+
}
|
|
25240
|
+
return self2;
|
|
25241
|
+
}
|
|
25242
|
+
function _wrapNativeSuper(Class) {
|
|
25243
|
+
var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
25244
|
+
_wrapNativeSuper = function _wrapNativeSuper2(Class2) {
|
|
25245
|
+
if (Class2 === null || !_isNativeFunction(Class2)) return Class2;
|
|
25246
|
+
if (typeof Class2 !== "function") {
|
|
25247
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
25248
|
+
}
|
|
25249
|
+
if (typeof _cache !== "undefined") {
|
|
25250
|
+
if (_cache.has(Class2)) return _cache.get(Class2);
|
|
25251
|
+
_cache.set(Class2, Wrapper);
|
|
25379
25252
|
}
|
|
25380
25253
|
function Wrapper() {
|
|
25381
|
-
return _construct(
|
|
25254
|
+
return _construct(Class2, arguments, _getPrototypeOf(this).constructor);
|
|
25382
25255
|
}
|
|
25383
|
-
|
|
25384
|
-
|
|
25256
|
+
Wrapper.prototype = Object.create(Class2.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } });
|
|
25257
|
+
return _setPrototypeOf(Wrapper, Class2);
|
|
25258
|
+
};
|
|
25259
|
+
return _wrapNativeSuper(Class);
|
|
25385
25260
|
}
|
|
25386
|
-
function _construct(
|
|
25387
|
-
if (_isNativeReflectConstruct())
|
|
25388
|
-
|
|
25389
|
-
|
|
25390
|
-
|
|
25391
|
-
|
|
25261
|
+
function _construct(Parent, args, Class) {
|
|
25262
|
+
if (_isNativeReflectConstruct()) {
|
|
25263
|
+
_construct = Reflect.construct;
|
|
25264
|
+
} else {
|
|
25265
|
+
_construct = function _construct2(Parent2, args2, Class2) {
|
|
25266
|
+
var a = [null];
|
|
25267
|
+
a.push.apply(a, args2);
|
|
25268
|
+
var Constructor = Function.bind.apply(Parent2, a);
|
|
25269
|
+
var instance = new Constructor();
|
|
25270
|
+
if (Class2) _setPrototypeOf(instance, Class2.prototype);
|
|
25271
|
+
return instance;
|
|
25272
|
+
};
|
|
25273
|
+
}
|
|
25274
|
+
return _construct.apply(null, arguments);
|
|
25392
25275
|
}
|
|
25393
25276
|
function _isNativeReflectConstruct() {
|
|
25277
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
25278
|
+
if (Reflect.construct.sham) return false;
|
|
25279
|
+
if (typeof Proxy === "function") return true;
|
|
25394
25280
|
try {
|
|
25395
|
-
|
|
25281
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
25396
25282
|
}));
|
|
25397
|
-
|
|
25283
|
+
return true;
|
|
25284
|
+
} catch (e) {
|
|
25285
|
+
return false;
|
|
25398
25286
|
}
|
|
25399
|
-
return (_isNativeReflectConstruct = function _isNativeReflectConstruct2() {
|
|
25400
|
-
return !!t2;
|
|
25401
|
-
})();
|
|
25402
25287
|
}
|
|
25403
|
-
function _isNativeFunction(
|
|
25404
|
-
|
|
25405
|
-
return -1 !== Function.toString.call(t2).indexOf("[native code]");
|
|
25406
|
-
} catch (n) {
|
|
25407
|
-
return "function" == typeof t2;
|
|
25408
|
-
}
|
|
25288
|
+
function _isNativeFunction(fn) {
|
|
25289
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
25409
25290
|
}
|
|
25410
|
-
function _setPrototypeOf(
|
|
25411
|
-
|
|
25412
|
-
|
|
25413
|
-
|
|
25291
|
+
function _setPrototypeOf(o, p) {
|
|
25292
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf2(o2, p2) {
|
|
25293
|
+
o2.__proto__ = p2;
|
|
25294
|
+
return o2;
|
|
25295
|
+
};
|
|
25296
|
+
return _setPrototypeOf(o, p);
|
|
25414
25297
|
}
|
|
25415
|
-
function _getPrototypeOf(
|
|
25416
|
-
|
|
25417
|
-
return
|
|
25418
|
-
}
|
|
25298
|
+
function _getPrototypeOf(o) {
|
|
25299
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o2) {
|
|
25300
|
+
return o2.__proto__ || Object.getPrototypeOf(o2);
|
|
25301
|
+
};
|
|
25302
|
+
return _getPrototypeOf(o);
|
|
25419
25303
|
}
|
|
25420
25304
|
var ParseError = /* @__PURE__ */ function(_Error) {
|
|
25305
|
+
_inherits(ParseError2, _Error);
|
|
25306
|
+
var _super = _createSuper(ParseError2);
|
|
25421
25307
|
function ParseError2(code2) {
|
|
25422
25308
|
var _this;
|
|
25423
25309
|
_classCallCheck(this, ParseError2);
|
|
25424
|
-
_this =
|
|
25425
|
-
Object.setPrototypeOf(_this, ParseError2.prototype);
|
|
25310
|
+
_this = _super.call(this, code2);
|
|
25311
|
+
Object.setPrototypeOf(_assertThisInitialized(_this), ParseError2.prototype);
|
|
25426
25312
|
_this.name = _this.constructor.name;
|
|
25427
25313
|
return _this;
|
|
25428
25314
|
}
|
|
25429
|
-
_inherits(ParseError2, _Error);
|
|
25430
25315
|
return _createClass(ParseError2);
|
|
25431
25316
|
}(/* @__PURE__ */ _wrapNativeSuper(Error));
|
|
25432
25317
|
var EXTN_PATTERN = new RegExp("(?:" + createExtensionPattern() + ")$", "i");
|
|
@@ -25523,39 +25408,43 @@ var DIGITS = {
|
|
|
25523
25408
|
function parseDigit(character) {
|
|
25524
25409
|
return DIGITS[character];
|
|
25525
25410
|
}
|
|
25526
|
-
function _createForOfIteratorHelperLoose(
|
|
25527
|
-
var
|
|
25528
|
-
if (
|
|
25529
|
-
if (Array.isArray(
|
|
25530
|
-
|
|
25531
|
-
var
|
|
25411
|
+
function _createForOfIteratorHelperLoose$1(o, allowArrayLike) {
|
|
25412
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
25413
|
+
if (it) return (it = it.call(o)).next.bind(it);
|
|
25414
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray$2(o)) || allowArrayLike) {
|
|
25415
|
+
if (it) o = it;
|
|
25416
|
+
var i = 0;
|
|
25532
25417
|
return function() {
|
|
25533
|
-
|
|
25418
|
+
if (i >= o.length) return { done: true };
|
|
25419
|
+
return { done: false, value: o[i++] };
|
|
25534
25420
|
};
|
|
25535
25421
|
}
|
|
25536
25422
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
25537
25423
|
}
|
|
25538
|
-
function _unsupportedIterableToArray$
|
|
25539
|
-
if (
|
|
25540
|
-
|
|
25541
|
-
|
|
25542
|
-
|
|
25543
|
-
|
|
25424
|
+
function _unsupportedIterableToArray$2(o, minLen) {
|
|
25425
|
+
if (!o) return;
|
|
25426
|
+
if (typeof o === "string") return _arrayLikeToArray$2(o, minLen);
|
|
25427
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
25428
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
25429
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
25430
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen);
|
|
25544
25431
|
}
|
|
25545
|
-
function _arrayLikeToArray$
|
|
25546
|
-
(
|
|
25547
|
-
for (var
|
|
25548
|
-
|
|
25432
|
+
function _arrayLikeToArray$2(arr, len) {
|
|
25433
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
25434
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
25435
|
+
arr2[i] = arr[i];
|
|
25436
|
+
}
|
|
25437
|
+
return arr2;
|
|
25549
25438
|
}
|
|
25550
25439
|
function parseIncompletePhoneNumber(string) {
|
|
25551
25440
|
var result2 = "";
|
|
25552
|
-
for (var _iterator = _createForOfIteratorHelperLoose(string.split("")), _step; !(_step = _iterator()).done; ) {
|
|
25441
|
+
for (var _iterator = _createForOfIteratorHelperLoose$1(string.split("")), _step; !(_step = _iterator()).done; ) {
|
|
25553
25442
|
var character = _step.value;
|
|
25554
25443
|
result2 += parsePhoneNumberCharacter(character, result2) || "";
|
|
25555
25444
|
}
|
|
25556
25445
|
return result2;
|
|
25557
25446
|
}
|
|
25558
|
-
function parsePhoneNumberCharacter(character, prevParsedCharacters,
|
|
25447
|
+
function parsePhoneNumberCharacter(character, prevParsedCharacters, emitEvent2) {
|
|
25559
25448
|
if (character === "+") {
|
|
25560
25449
|
if (prevParsedCharacters) {
|
|
25561
25450
|
return;
|
|
@@ -25564,6 +25453,66 @@ function parsePhoneNumberCharacter(character, prevParsedCharacters, eventListene
|
|
|
25564
25453
|
}
|
|
25565
25454
|
return parseDigit(character);
|
|
25566
25455
|
}
|
|
25456
|
+
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
25457
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
25458
|
+
if (it) return (it = it.call(o)).next.bind(it);
|
|
25459
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray$1(o)) || allowArrayLike) {
|
|
25460
|
+
if (it) o = it;
|
|
25461
|
+
var i = 0;
|
|
25462
|
+
return function() {
|
|
25463
|
+
if (i >= o.length) return { done: true };
|
|
25464
|
+
return { done: false, value: o[i++] };
|
|
25465
|
+
};
|
|
25466
|
+
}
|
|
25467
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
25468
|
+
}
|
|
25469
|
+
function _unsupportedIterableToArray$1(o, minLen) {
|
|
25470
|
+
if (!o) return;
|
|
25471
|
+
if (typeof o === "string") return _arrayLikeToArray$1(o, minLen);
|
|
25472
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
25473
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
25474
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
25475
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);
|
|
25476
|
+
}
|
|
25477
|
+
function _arrayLikeToArray$1(arr, len) {
|
|
25478
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
25479
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
25480
|
+
arr2[i] = arr[i];
|
|
25481
|
+
}
|
|
25482
|
+
return arr2;
|
|
25483
|
+
}
|
|
25484
|
+
function getCountryByNationalNumber(nationalPhoneNumber, _ref) {
|
|
25485
|
+
var countries = _ref.countries, metadata2 = _ref.metadata;
|
|
25486
|
+
metadata2 = new Metadata(metadata2);
|
|
25487
|
+
for (var _iterator = _createForOfIteratorHelperLoose(countries), _step; !(_step = _iterator()).done; ) {
|
|
25488
|
+
var country = _step.value;
|
|
25489
|
+
metadata2.country(country);
|
|
25490
|
+
if (metadata2.leadingDigits()) {
|
|
25491
|
+
if (nationalPhoneNumber && nationalPhoneNumber.search(metadata2.leadingDigits()) === 0) {
|
|
25492
|
+
return country;
|
|
25493
|
+
}
|
|
25494
|
+
} else if (getNumberType({
|
|
25495
|
+
phone: nationalPhoneNumber,
|
|
25496
|
+
country
|
|
25497
|
+
}, void 0, metadata2.metadata)) {
|
|
25498
|
+
return country;
|
|
25499
|
+
}
|
|
25500
|
+
}
|
|
25501
|
+
}
|
|
25502
|
+
function getCountryByCallingCode(callingCode, _ref) {
|
|
25503
|
+
var nationalPhoneNumber = _ref.nationalNumber, metadata2 = _ref.metadata;
|
|
25504
|
+
var possibleCountries = metadata2.getCountryCodesForCallingCode(callingCode);
|
|
25505
|
+
if (!possibleCountries) {
|
|
25506
|
+
return;
|
|
25507
|
+
}
|
|
25508
|
+
if (possibleCountries.length === 1) {
|
|
25509
|
+
return possibleCountries[0];
|
|
25510
|
+
}
|
|
25511
|
+
return getCountryByNationalNumber(nationalPhoneNumber, {
|
|
25512
|
+
countries: possibleCountries,
|
|
25513
|
+
metadata: metadata2.metadata
|
|
25514
|
+
});
|
|
25515
|
+
}
|
|
25567
25516
|
var PLUS_SIGN = "+";
|
|
25568
25517
|
var RFC3966_VISUAL_SEPARATOR_ = "[\\-\\.\\(\\)]?";
|
|
25569
25518
|
var RFC3966_PHONE_DIGIT_ = "([" + VALID_DIGITS + "]|" + RFC3966_VISUAL_SEPARATOR_ + ")";
|
|
@@ -25699,7 +25648,7 @@ function parse(text2, options, metadata2) {
|
|
|
25699
25648
|
countryCallingCode,
|
|
25700
25649
|
carrierCode,
|
|
25701
25650
|
valid,
|
|
25702
|
-
possible: valid ? true : options.extended === true && metadata2.possibleLengths() && isPossibleNumber(nationalNumber,
|
|
25651
|
+
possible: valid ? true : options.extended === true && metadata2.possibleLengths() && isPossibleNumber(nationalNumber, metadata2) ? true : false,
|
|
25703
25652
|
phone: nationalNumber,
|
|
25704
25653
|
ext
|
|
25705
25654
|
};
|
|
@@ -25759,7 +25708,7 @@ function result(country, nationalNumber, ext) {
|
|
|
25759
25708
|
return result2;
|
|
25760
25709
|
}
|
|
25761
25710
|
function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCallingCode, metadata2) {
|
|
25762
|
-
var _extractCountryCallin = extractCountryCallingCode(parseIncompletePhoneNumber(formattedPhoneNumber),
|
|
25711
|
+
var _extractCountryCallin = extractCountryCallingCode(parseIncompletePhoneNumber(formattedPhoneNumber), defaultCountry, defaultCallingCode, metadata2.metadata), countryCallingCodeSource = _extractCountryCallin.countryCallingCodeSource, countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
25763
25712
|
var country;
|
|
25764
25713
|
if (countryCallingCode) {
|
|
25765
25714
|
metadata2.selectNumberingPlan(countryCallingCode);
|
|
@@ -25776,7 +25725,7 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
25776
25725
|
countryCallingCode
|
|
25777
25726
|
};
|
|
25778
25727
|
}
|
|
25779
|
-
var _extractNationalNumbe = extractNationalNumber(parseIncompletePhoneNumber(number2),
|
|
25728
|
+
var _extractNationalNumbe = extractNationalNumber(parseIncompletePhoneNumber(number2), metadata2), nationalNumber = _extractNationalNumbe.nationalNumber, carrierCode = _extractNationalNumbe.carrierCode;
|
|
25780
25729
|
var exactCountry = getCountryByCallingCode(countryCallingCode, {
|
|
25781
25730
|
nationalNumber,
|
|
25782
25731
|
metadata: metadata2
|
|
@@ -25785,7 +25734,7 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
25785
25734
|
country = exactCountry;
|
|
25786
25735
|
if (exactCountry === "001") ;
|
|
25787
25736
|
else {
|
|
25788
|
-
metadata2.
|
|
25737
|
+
metadata2.country(country);
|
|
25789
25738
|
}
|
|
25790
25739
|
}
|
|
25791
25740
|
return {
|
|
@@ -25796,142 +25745,116 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
25796
25745
|
carrierCode
|
|
25797
25746
|
};
|
|
25798
25747
|
}
|
|
25799
|
-
function
|
|
25800
|
-
|
|
25801
|
-
return _typeof$4 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
25802
|
-
return typeof o2;
|
|
25803
|
-
} : function(o2) {
|
|
25804
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
25805
|
-
}, _typeof$4(o);
|
|
25806
|
-
}
|
|
25807
|
-
function ownKeys$4(e, r) {
|
|
25808
|
-
var t2 = Object.keys(e);
|
|
25748
|
+
function ownKeys$4(object, enumerableOnly) {
|
|
25749
|
+
var keys = Object.keys(object);
|
|
25809
25750
|
if (Object.getOwnPropertySymbols) {
|
|
25810
|
-
var
|
|
25811
|
-
|
|
25812
|
-
return Object.getOwnPropertyDescriptor(
|
|
25813
|
-
})),
|
|
25814
|
-
}
|
|
25815
|
-
return t2;
|
|
25816
|
-
}
|
|
25817
|
-
function _objectSpread$4(e) {
|
|
25818
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
25819
|
-
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
25820
|
-
r % 2 ? ownKeys$4(Object(t2), true).forEach(function(r2) {
|
|
25821
|
-
_defineProperty$4(e, r2, t2[r2]);
|
|
25822
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$4(Object(t2)).forEach(function(r2) {
|
|
25823
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
25824
|
-
});
|
|
25751
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
25752
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
25753
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
25754
|
+
})), keys.push.apply(keys, symbols);
|
|
25825
25755
|
}
|
|
25826
|
-
return
|
|
25827
|
-
}
|
|
25828
|
-
function _defineProperty$4(e, r, t2) {
|
|
25829
|
-
return (r = _toPropertyKey$4(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
25756
|
+
return keys;
|
|
25830
25757
|
}
|
|
25831
|
-
function
|
|
25832
|
-
var i =
|
|
25833
|
-
|
|
25758
|
+
function _objectSpread$4(target) {
|
|
25759
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
25760
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
25761
|
+
i % 2 ? ownKeys$4(Object(source), true).forEach(function(key) {
|
|
25762
|
+
_defineProperty$4(target, key, source[key]);
|
|
25763
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$4(Object(source)).forEach(function(key) {
|
|
25764
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
25765
|
+
});
|
|
25766
|
+
}
|
|
25767
|
+
return target;
|
|
25834
25768
|
}
|
|
25835
|
-
function
|
|
25836
|
-
if (
|
|
25837
|
-
|
|
25838
|
-
|
|
25839
|
-
|
|
25840
|
-
if ("object" != _typeof$4(i)) return i;
|
|
25841
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25769
|
+
function _defineProperty$4(obj, key, value) {
|
|
25770
|
+
if (key in obj) {
|
|
25771
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
25772
|
+
} else {
|
|
25773
|
+
obj[key] = value;
|
|
25842
25774
|
}
|
|
25843
|
-
return
|
|
25775
|
+
return obj;
|
|
25844
25776
|
}
|
|
25845
25777
|
function parsePhoneNumberWithError(text2, options, metadata2) {
|
|
25846
25778
|
return parse(text2, _objectSpread$4(_objectSpread$4({}, options), {}, {
|
|
25847
25779
|
v2: true
|
|
25848
25780
|
}), metadata2);
|
|
25849
25781
|
}
|
|
25850
|
-
function
|
|
25851
|
-
|
|
25852
|
-
return _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
25853
|
-
return typeof o2;
|
|
25854
|
-
} : function(o2) {
|
|
25855
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
25856
|
-
}, _typeof$3(o);
|
|
25857
|
-
}
|
|
25858
|
-
function ownKeys$3(e, r) {
|
|
25859
|
-
var t2 = Object.keys(e);
|
|
25782
|
+
function ownKeys$3(object, enumerableOnly) {
|
|
25783
|
+
var keys = Object.keys(object);
|
|
25860
25784
|
if (Object.getOwnPropertySymbols) {
|
|
25861
|
-
var
|
|
25862
|
-
|
|
25863
|
-
return Object.getOwnPropertyDescriptor(
|
|
25864
|
-
})),
|
|
25865
|
-
}
|
|
25866
|
-
return t2;
|
|
25867
|
-
}
|
|
25868
|
-
function _objectSpread$3(e) {
|
|
25869
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
25870
|
-
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
25871
|
-
r % 2 ? ownKeys$3(Object(t2), true).forEach(function(r2) {
|
|
25872
|
-
_defineProperty$3(e, r2, t2[r2]);
|
|
25873
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$3(Object(t2)).forEach(function(r2) {
|
|
25874
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
25875
|
-
});
|
|
25785
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
25786
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
25787
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
25788
|
+
})), keys.push.apply(keys, symbols);
|
|
25876
25789
|
}
|
|
25877
|
-
return
|
|
25878
|
-
}
|
|
25879
|
-
function _defineProperty$3(e, r, t2) {
|
|
25880
|
-
return (r = _toPropertyKey$3(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
25790
|
+
return keys;
|
|
25881
25791
|
}
|
|
25882
|
-
function
|
|
25883
|
-
var i =
|
|
25884
|
-
|
|
25792
|
+
function _objectSpread$3(target) {
|
|
25793
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
25794
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
25795
|
+
i % 2 ? ownKeys$3(Object(source), true).forEach(function(key) {
|
|
25796
|
+
_defineProperty$3(target, key, source[key]);
|
|
25797
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function(key) {
|
|
25798
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
25799
|
+
});
|
|
25800
|
+
}
|
|
25801
|
+
return target;
|
|
25885
25802
|
}
|
|
25886
|
-
function
|
|
25887
|
-
if (
|
|
25888
|
-
|
|
25889
|
-
|
|
25890
|
-
|
|
25891
|
-
if ("object" != _typeof$3(i)) return i;
|
|
25892
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25803
|
+
function _defineProperty$3(obj, key, value) {
|
|
25804
|
+
if (key in obj) {
|
|
25805
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
25806
|
+
} else {
|
|
25807
|
+
obj[key] = value;
|
|
25893
25808
|
}
|
|
25894
|
-
return
|
|
25809
|
+
return obj;
|
|
25895
25810
|
}
|
|
25896
|
-
function _slicedToArray(
|
|
25897
|
-
return _arrayWithHoles(
|
|
25811
|
+
function _slicedToArray(arr, i) {
|
|
25812
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
25898
25813
|
}
|
|
25899
25814
|
function _nonIterableRest() {
|
|
25900
25815
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
25901
25816
|
}
|
|
25902
|
-
function _unsupportedIterableToArray(
|
|
25903
|
-
if (
|
|
25904
|
-
|
|
25905
|
-
|
|
25906
|
-
|
|
25907
|
-
|
|
25908
|
-
|
|
25909
|
-
|
|
25910
|
-
|
|
25911
|
-
|
|
25912
|
-
|
|
25913
|
-
|
|
25914
|
-
|
|
25915
|
-
|
|
25916
|
-
|
|
25917
|
-
|
|
25817
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
25818
|
+
if (!o) return;
|
|
25819
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
25820
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
25821
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
25822
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
25823
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
25824
|
+
}
|
|
25825
|
+
function _arrayLikeToArray(arr, len) {
|
|
25826
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
25827
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
25828
|
+
arr2[i] = arr[i];
|
|
25829
|
+
}
|
|
25830
|
+
return arr2;
|
|
25831
|
+
}
|
|
25832
|
+
function _iterableToArrayLimit(arr, i) {
|
|
25833
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
25834
|
+
if (_i == null) return;
|
|
25835
|
+
var _arr = [];
|
|
25836
|
+
var _n = true;
|
|
25837
|
+
var _d = false;
|
|
25838
|
+
var _s, _e;
|
|
25839
|
+
try {
|
|
25840
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
25841
|
+
_arr.push(_s.value);
|
|
25842
|
+
if (i && _arr.length === i) break;
|
|
25843
|
+
}
|
|
25844
|
+
} catch (err) {
|
|
25845
|
+
_d = true;
|
|
25846
|
+
_e = err;
|
|
25847
|
+
} finally {
|
|
25918
25848
|
try {
|
|
25919
|
-
if (
|
|
25920
|
-
else for (; !(f = (e = i.call(t2)).done) && (a.push(e.value), a.length !== l); f = true) ;
|
|
25921
|
-
} catch (r2) {
|
|
25922
|
-
o = true, n = r2;
|
|
25849
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
25923
25850
|
} finally {
|
|
25924
|
-
|
|
25925
|
-
if (!f && null != t2["return"] && (u = t2["return"](), Object(u) !== u)) return;
|
|
25926
|
-
} finally {
|
|
25927
|
-
if (o) throw n;
|
|
25928
|
-
}
|
|
25851
|
+
if (_d) throw _e;
|
|
25929
25852
|
}
|
|
25930
|
-
return a;
|
|
25931
25853
|
}
|
|
25854
|
+
return _arr;
|
|
25932
25855
|
}
|
|
25933
|
-
function _arrayWithHoles(
|
|
25934
|
-
if (Array.isArray(
|
|
25856
|
+
function _arrayWithHoles(arr) {
|
|
25857
|
+
if (Array.isArray(arr)) return arr;
|
|
25935
25858
|
}
|
|
25936
25859
|
function normalizeArguments(args) {
|
|
25937
25860
|
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];
|
|
@@ -25968,51 +25891,34 @@ function normalizeArguments(args) {
|
|
|
25968
25891
|
metadata: metadata2
|
|
25969
25892
|
};
|
|
25970
25893
|
}
|
|
25971
|
-
function
|
|
25972
|
-
|
|
25973
|
-
return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
25974
|
-
return typeof o2;
|
|
25975
|
-
} : function(o2) {
|
|
25976
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
25977
|
-
}, _typeof$2(o);
|
|
25978
|
-
}
|
|
25979
|
-
function ownKeys$2(e, r) {
|
|
25980
|
-
var t2 = Object.keys(e);
|
|
25894
|
+
function ownKeys$2(object, enumerableOnly) {
|
|
25895
|
+
var keys = Object.keys(object);
|
|
25981
25896
|
if (Object.getOwnPropertySymbols) {
|
|
25982
|
-
var
|
|
25983
|
-
|
|
25984
|
-
return Object.getOwnPropertyDescriptor(
|
|
25985
|
-
})),
|
|
25986
|
-
}
|
|
25987
|
-
return t2;
|
|
25988
|
-
}
|
|
25989
|
-
function _objectSpread$2(e) {
|
|
25990
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
25991
|
-
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
25992
|
-
r % 2 ? ownKeys$2(Object(t2), true).forEach(function(r2) {
|
|
25993
|
-
_defineProperty$2(e, r2, t2[r2]);
|
|
25994
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$2(Object(t2)).forEach(function(r2) {
|
|
25995
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
25996
|
-
});
|
|
25897
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
25898
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
25899
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
25900
|
+
})), keys.push.apply(keys, symbols);
|
|
25997
25901
|
}
|
|
25998
|
-
return
|
|
25999
|
-
}
|
|
26000
|
-
function _defineProperty$2(e, r, t2) {
|
|
26001
|
-
return (r = _toPropertyKey$2(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
25902
|
+
return keys;
|
|
26002
25903
|
}
|
|
26003
|
-
function
|
|
26004
|
-
var i =
|
|
26005
|
-
|
|
25904
|
+
function _objectSpread$2(target) {
|
|
25905
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
25906
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
25907
|
+
i % 2 ? ownKeys$2(Object(source), true).forEach(function(key) {
|
|
25908
|
+
_defineProperty$2(target, key, source[key]);
|
|
25909
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function(key) {
|
|
25910
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
25911
|
+
});
|
|
25912
|
+
}
|
|
25913
|
+
return target;
|
|
26006
25914
|
}
|
|
26007
|
-
function
|
|
26008
|
-
if (
|
|
26009
|
-
|
|
26010
|
-
|
|
26011
|
-
|
|
26012
|
-
if ("object" != _typeof$2(i)) return i;
|
|
26013
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25915
|
+
function _defineProperty$2(obj, key, value) {
|
|
25916
|
+
if (key in obj) {
|
|
25917
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
25918
|
+
} else {
|
|
25919
|
+
obj[key] = value;
|
|
26014
25920
|
}
|
|
26015
|
-
return
|
|
25921
|
+
return obj;
|
|
26016
25922
|
}
|
|
26017
25923
|
function parsePhoneNumber(text2, options, metadata2) {
|
|
26018
25924
|
if (options && options.defaultCountry && !isSupportedCountry(options.defaultCountry, metadata2)) {
|
|
@@ -26029,51 +25935,34 @@ function parsePhoneNumber(text2, options, metadata2) {
|
|
|
26029
25935
|
}
|
|
26030
25936
|
}
|
|
26031
25937
|
}
|
|
26032
|
-
function
|
|
26033
|
-
|
|
26034
|
-
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
26035
|
-
return typeof o2;
|
|
26036
|
-
} : function(o2) {
|
|
26037
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
26038
|
-
}, _typeof$1(o);
|
|
26039
|
-
}
|
|
26040
|
-
function ownKeys$1(e, r) {
|
|
26041
|
-
var t2 = Object.keys(e);
|
|
25938
|
+
function ownKeys$1(object, enumerableOnly) {
|
|
25939
|
+
var keys = Object.keys(object);
|
|
26042
25940
|
if (Object.getOwnPropertySymbols) {
|
|
26043
|
-
var
|
|
26044
|
-
|
|
26045
|
-
return Object.getOwnPropertyDescriptor(
|
|
26046
|
-
})),
|
|
26047
|
-
}
|
|
26048
|
-
return t2;
|
|
26049
|
-
}
|
|
26050
|
-
function _objectSpread$1(e) {
|
|
26051
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
26052
|
-
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
26053
|
-
r % 2 ? ownKeys$1(Object(t2), true).forEach(function(r2) {
|
|
26054
|
-
_defineProperty$1(e, r2, t2[r2]);
|
|
26055
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$1(Object(t2)).forEach(function(r2) {
|
|
26056
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
26057
|
-
});
|
|
25941
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
25942
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
25943
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
25944
|
+
})), keys.push.apply(keys, symbols);
|
|
26058
25945
|
}
|
|
26059
|
-
return
|
|
25946
|
+
return keys;
|
|
26060
25947
|
}
|
|
26061
|
-
function
|
|
26062
|
-
|
|
26063
|
-
}
|
|
26064
|
-
|
|
26065
|
-
|
|
26066
|
-
|
|
25948
|
+
function _objectSpread$1(target) {
|
|
25949
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
25950
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
25951
|
+
i % 2 ? ownKeys$1(Object(source), true).forEach(function(key) {
|
|
25952
|
+
_defineProperty$1(target, key, source[key]);
|
|
25953
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function(key) {
|
|
25954
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
25955
|
+
});
|
|
25956
|
+
}
|
|
25957
|
+
return target;
|
|
26067
25958
|
}
|
|
26068
|
-
function
|
|
26069
|
-
if (
|
|
26070
|
-
|
|
26071
|
-
|
|
26072
|
-
|
|
26073
|
-
if ("object" != _typeof$1(i)) return i;
|
|
26074
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25959
|
+
function _defineProperty$1(obj, key, value) {
|
|
25960
|
+
if (key in obj) {
|
|
25961
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
25962
|
+
} else {
|
|
25963
|
+
obj[key] = value;
|
|
26075
25964
|
}
|
|
26076
|
-
return
|
|
25965
|
+
return obj;
|
|
26077
25966
|
}
|
|
26078
25967
|
function isValidPhoneNumber$1() {
|
|
26079
25968
|
var _normalizeArguments = normalizeArguments(arguments), text2 = _normalizeArguments.text, options = _normalizeArguments.options, metadata2 = _normalizeArguments.metadata;
|
|
@@ -26083,51 +25972,34 @@ function isValidPhoneNumber$1() {
|
|
|
26083
25972
|
var phoneNumber = parsePhoneNumber(text2, options, metadata2);
|
|
26084
25973
|
return phoneNumber && phoneNumber.isValid() || false;
|
|
26085
25974
|
}
|
|
26086
|
-
function
|
|
26087
|
-
|
|
26088
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
26089
|
-
return typeof o2;
|
|
26090
|
-
} : function(o2) {
|
|
26091
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
26092
|
-
}, _typeof(o);
|
|
26093
|
-
}
|
|
26094
|
-
function ownKeys(e, r) {
|
|
26095
|
-
var t2 = Object.keys(e);
|
|
25975
|
+
function ownKeys(object, enumerableOnly) {
|
|
25976
|
+
var keys = Object.keys(object);
|
|
26096
25977
|
if (Object.getOwnPropertySymbols) {
|
|
26097
|
-
var
|
|
26098
|
-
|
|
26099
|
-
return Object.getOwnPropertyDescriptor(
|
|
26100
|
-
})),
|
|
26101
|
-
}
|
|
26102
|
-
return t2;
|
|
26103
|
-
}
|
|
26104
|
-
function _objectSpread(e) {
|
|
26105
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
26106
|
-
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
26107
|
-
r % 2 ? ownKeys(Object(t2), true).forEach(function(r2) {
|
|
26108
|
-
_defineProperty(e, r2, t2[r2]);
|
|
26109
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys(Object(t2)).forEach(function(r2) {
|
|
26110
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
26111
|
-
});
|
|
25978
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
25979
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
25980
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
25981
|
+
})), keys.push.apply(keys, symbols);
|
|
26112
25982
|
}
|
|
26113
|
-
return
|
|
26114
|
-
}
|
|
26115
|
-
function _defineProperty(e, r, t2) {
|
|
26116
|
-
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
25983
|
+
return keys;
|
|
26117
25984
|
}
|
|
26118
|
-
function
|
|
26119
|
-
var i =
|
|
26120
|
-
|
|
25985
|
+
function _objectSpread(target) {
|
|
25986
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
25987
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
25988
|
+
i % 2 ? ownKeys(Object(source), true).forEach(function(key) {
|
|
25989
|
+
_defineProperty(target, key, source[key]);
|
|
25990
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
25991
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
25992
|
+
});
|
|
25993
|
+
}
|
|
25994
|
+
return target;
|
|
26121
25995
|
}
|
|
26122
|
-
function
|
|
26123
|
-
if (
|
|
26124
|
-
|
|
26125
|
-
|
|
26126
|
-
|
|
26127
|
-
if ("object" != _typeof(i)) return i;
|
|
26128
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25996
|
+
function _defineProperty(obj, key, value) {
|
|
25997
|
+
if (key in obj) {
|
|
25998
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
25999
|
+
} else {
|
|
26000
|
+
obj[key] = value;
|
|
26129
26001
|
}
|
|
26130
|
-
return
|
|
26002
|
+
return obj;
|
|
26131
26003
|
}
|
|
26132
26004
|
function isPossiblePhoneNumber$1() {
|
|
26133
26005
|
var _normalizeArguments = normalizeArguments(arguments), text2 = _normalizeArguments.text, options = _normalizeArguments.options, metadata2 = _normalizeArguments.metadata;
|
|
@@ -26321,7 +26193,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
26321
26193
|
createVNode(unref(Button), {
|
|
26322
26194
|
variant: "solid",
|
|
26323
26195
|
class: "login-check-modal-footer__btn-confirm",
|
|
26324
|
-
disabled: !
|
|
26196
|
+
disabled: !_ctx.dataShareChecked,
|
|
26325
26197
|
onClick: handleConfirm
|
|
26326
26198
|
}, {
|
|
26327
26199
|
default: withCtx(() => [
|
|
@@ -26350,7 +26222,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
26350
26222
|
createElementVNode("span", null, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.ifYouDoNotAgrWe")), 1)
|
|
26351
26223
|
]),
|
|
26352
26224
|
createVNode(unref(Checkbox), {
|
|
26353
|
-
"model-value":
|
|
26225
|
+
"model-value": _ctx.dataShareChecked,
|
|
26354
26226
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = (val) => emits("update:dataShareChecked", val)),
|
|
26355
26227
|
size: "sm",
|
|
26356
26228
|
class: "login-check-modal-data-share"
|
|
@@ -26600,7 +26472,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
26600
26472
|
]),
|
|
26601
26473
|
createElementVNode("div", _hoisted_11$1, [
|
|
26602
26474
|
createElementVNode("div", _hoisted_12$1, [
|
|
26603
|
-
!
|
|
26475
|
+
!_ctx.hideBack ? (openBlock(), createElementBlock("div", {
|
|
26604
26476
|
key: 0,
|
|
26605
26477
|
onClick: _cache[1] || (_cache[1] = ($event) => emits("back"))
|
|
26606
26478
|
}, [
|
|
@@ -26815,7 +26687,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
|
26815
26687
|
__publicField(_SlidCaptchaManager, "instance");
|
|
26816
26688
|
let SlidCaptchaManager = _SlidCaptchaManager;
|
|
26817
26689
|
const slidCaptchaManager = SlidCaptchaManager.getInstance();
|
|
26818
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
26690
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-C-eKIiQW.js"));
|
|
26819
26691
|
const useSlidCaptcha = () => {
|
|
26820
26692
|
const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
|
|
26821
26693
|
const open = (config) => {
|
|
@@ -26845,7 +26717,7 @@ const useSlidCaptcha = () => {
|
|
|
26845
26717
|
close
|
|
26846
26718
|
};
|
|
26847
26719
|
};
|
|
26848
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
26720
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-DMeEJtfN.js"));
|
|
26849
26721
|
const useYunpianCaptcha = () => {
|
|
26850
26722
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
26851
26723
|
const open = (config) => {
|
|
@@ -27239,7 +27111,7 @@ const useYiDunCaptcha = () => {
|
|
|
27239
27111
|
const _sfc_main$3 = {};
|
|
27240
27112
|
const _hoisted_1$2 = { class: "content-loading" };
|
|
27241
27113
|
function _sfc_render(_ctx, _cache) {
|
|
27242
|
-
return openBlock(), createElementBlock("div", _hoisted_1$2,
|
|
27114
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, _cache[0] || (_cache[0] = [
|
|
27243
27115
|
createElementVNode("div", { class: "content-loading-title" }, [
|
|
27244
27116
|
createElementVNode("div", { class: "content-loading__row" }, [
|
|
27245
27117
|
createElementVNode("img", {
|
|
@@ -27250,7 +27122,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
27250
27122
|
]),
|
|
27251
27123
|
createElementVNode("span", null, "loading...")
|
|
27252
27124
|
], -1)
|
|
27253
|
-
])
|
|
27125
|
+
]));
|
|
27254
27126
|
}
|
|
27255
27127
|
const ContentLoading = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render], ["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
27256
27128
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -27266,15 +27138,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
27266
27138
|
setup(__props) {
|
|
27267
27139
|
return (_ctx, _cache) => {
|
|
27268
27140
|
return openBlock(), createElementBlock("div", {
|
|
27269
|
-
class: normalizeClass(["g-data-panel i-data-panel", { "g-card":
|
|
27141
|
+
class: normalizeClass(["g-data-panel i-data-panel", { "g-card": _ctx.card, "g-border": _ctx.border }])
|
|
27270
27142
|
}, [
|
|
27271
27143
|
renderSlot(_ctx.$slots, "header", {}, void 0, true),
|
|
27272
|
-
|
|
27273
|
-
|
|
27144
|
+
_ctx.loading ? renderSlot(_ctx.$slots, "loading", { key: 0 }, () => [
|
|
27145
|
+
_ctx.skeleton ? (openBlock(), createBlock(unref(Skeleton), {
|
|
27274
27146
|
key: 0,
|
|
27275
27147
|
class: "data-panel__skeleton",
|
|
27276
|
-
rows:
|
|
27277
|
-
}, null, 8, ["rows"])) :
|
|
27148
|
+
rows: _ctx.skeletonRow
|
|
27149
|
+
}, null, 8, ["rows"])) : _ctx.animation ? (openBlock(), createBlock(ContentLoading, {
|
|
27278
27150
|
key: 1,
|
|
27279
27151
|
name: "loading",
|
|
27280
27152
|
class: "data-panel__content-loading"
|
|
@@ -29090,11 +28962,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
29090
28962
|
modelValue: unref(vModels),
|
|
29091
28963
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => isRef(vModels) ? vModels.value = $event : null),
|
|
29092
28964
|
"show-close": false,
|
|
29093
|
-
"lock-scroll":
|
|
29094
|
-
draggable:
|
|
29095
|
-
escapable:
|
|
28965
|
+
"lock-scroll": _ctx.lockScroll,
|
|
28966
|
+
draggable: _ctx.draggable,
|
|
28967
|
+
escapable: _ctx.escapable,
|
|
29096
28968
|
"before-close": handleClose,
|
|
29097
|
-
"append-to-body":
|
|
28969
|
+
"append-to-body": _ctx.appendToBody,
|
|
29098
28970
|
class: normalizeClass([
|
|
29099
28971
|
"login-modal",
|
|
29100
28972
|
formType.value === "login" ? "login-modal-l" : "login-modal-r",
|
|
@@ -29114,7 +28986,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
29114
28986
|
class: "login-modal-title"
|
|
29115
28987
|
}, null, 8, ["icon", "title", "show-title", "show-back"]),
|
|
29116
28988
|
createElementVNode("div", _hoisted_2, [
|
|
29117
|
-
|
|
28989
|
+
_ctx.showClose && !showProtoCheck.value ? (openBlock(), createBlock(GIcon, {
|
|
29118
28990
|
key: 0,
|
|
29119
28991
|
onClick: onClickModalClose,
|
|
29120
28992
|
name: "gt-close",
|
|
@@ -29453,7 +29325,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
29453
29325
|
])
|
|
29454
29326
|
], 2),
|
|
29455
29327
|
createElementVNode("div", _hoisted_60, [
|
|
29456
|
-
|
|
29328
|
+
_ctx.openHarmonyGuide ? (openBlock(), createElementBlock("div", {
|
|
29457
29329
|
key: 0,
|
|
29458
29330
|
class: "login-modal-harmony-entry",
|
|
29459
29331
|
onClick: withModifiers(handleRegisterHarmony, ["stop"])
|