vue-layout-gitcode 1.1.11 → 1.1.13
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-43d5acdf.js → GloabarSearch-467e80d4.js} +2 -2
- package/{ProjectSearch-842f361f.js → ProjectSearch-5cf60f4e.js} +1 -1
- package/{SearchHistoryList-b0530797.js → SearchHistoryList-126f6acd.js} +1 -1
- package/{SearchPrefixTag-06eeacb3.js → SearchPrefixTag-81a098a9.js} +1 -1
- package/{SearchRecommed-d2f3ceb7.js → SearchRecommed-b33b0da9.js} +4 -4
- package/{SearchScopeList-cfccf897.js → SearchScopeList-68765536.js} +1 -1
- package/{UserSearch-cfd618e3.js → UserSearch-c21145bd.js} +1 -1
- package/{index-227d4793.js → index-0bdc8fd3.js} +948 -675
- package/{index-5a19b8ab.js → index-72da4dc3.js} +1 -1
- package/{index-b7a55717.js → index-c21036dd.js} +38 -10
- package/index.d.ts +12 -1
- package/index.js +11 -11
- package/{notice-dd803ec2.js → notice-fe8afb5d.js} +1 -1
- package/package.json +2 -2
- package/style.css +1 -1
|
@@ -208,6 +208,35 @@ const useRequestReport = (request, globalStore) => {
|
|
|
208
208
|
useReport: useReport2
|
|
209
209
|
};
|
|
210
210
|
};
|
|
211
|
+
const isBrowser$1 = typeof window !== "undefined" && typeof window.localStorage !== "undefined";
|
|
212
|
+
let localStorage$1;
|
|
213
|
+
if (isBrowser$1) {
|
|
214
|
+
localStorage$1 = window.localStorage;
|
|
215
|
+
} else {
|
|
216
|
+
const data = {};
|
|
217
|
+
localStorage$1 = {
|
|
218
|
+
setItem(id, val) {
|
|
219
|
+
data[id] = String(val);
|
|
220
|
+
},
|
|
221
|
+
getItem(id) {
|
|
222
|
+
return Object.prototype.hasOwnProperty.call(data, id) ? data[id] : null;
|
|
223
|
+
},
|
|
224
|
+
removeItem(id) {
|
|
225
|
+
delete data[id];
|
|
226
|
+
},
|
|
227
|
+
clear() {
|
|
228
|
+
Object.keys(data).forEach((key) => delete data[key]);
|
|
229
|
+
},
|
|
230
|
+
get length() {
|
|
231
|
+
return Object.keys(data).length;
|
|
232
|
+
},
|
|
233
|
+
key(index2) {
|
|
234
|
+
const keys2 = Object.keys(data);
|
|
235
|
+
return index2 < keys2.length ? keys2[index2] : null;
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
const localStorage$2 = localStorage$1;
|
|
211
240
|
function generateRandomString(length) {
|
|
212
241
|
let result2 = "";
|
|
213
242
|
const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
@@ -290,7 +319,7 @@ function udeskInit(config = {}) {
|
|
|
290
319
|
return;
|
|
291
320
|
const randomNum = generateRandomString(16);
|
|
292
321
|
const nowTimeStr = Date.now().toString();
|
|
293
|
-
const userInfo = localStorage.getItem("userInfo") || "";
|
|
322
|
+
const userInfo = localStorage$2.getItem("userInfo") || "";
|
|
294
323
|
const cPhone = userInfo ? (_a = JSON.parse(userInfo)) == null ? void 0 : _a.mobile : "";
|
|
295
324
|
const cName = userInfo ? (_b = JSON.parse(userInfo)) == null ? void 0 : _b.username : "";
|
|
296
325
|
const cEmail = userInfo ? (_c = JSON.parse(userInfo)) == null ? void 0 : _c.email : "";
|
|
@@ -423,25 +452,23 @@ const HARMONY_SURVEY_DELAY = "harmony-survey-delay";
|
|
|
423
452
|
const UTM_SOURCE = "utm_source";
|
|
424
453
|
const PASSPORT_PREFIX = "/uc";
|
|
425
454
|
const AUTH_WINDOW = "auth_window";
|
|
426
|
-
/*! @license DOMPurify 2.
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
};
|
|
444
|
-
}
|
|
455
|
+
/*! @license DOMPurify 3.2.5 | (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.5/LICENSE */
|
|
456
|
+
const {
|
|
457
|
+
entries,
|
|
458
|
+
setPrototypeOf,
|
|
459
|
+
isFrozen,
|
|
460
|
+
getPrototypeOf: getPrototypeOf$1,
|
|
461
|
+
getOwnPropertyDescriptor
|
|
462
|
+
} = Object;
|
|
463
|
+
let {
|
|
464
|
+
freeze,
|
|
465
|
+
seal,
|
|
466
|
+
create: create$1
|
|
467
|
+
} = Object;
|
|
468
|
+
let {
|
|
469
|
+
apply: apply$1,
|
|
470
|
+
construct
|
|
471
|
+
} = typeof Reflect !== "undefined" && Reflect;
|
|
445
472
|
if (!freeze) {
|
|
446
473
|
freeze = function freeze2(x) {
|
|
447
474
|
return x;
|
|
@@ -452,24 +479,36 @@ if (!seal) {
|
|
|
452
479
|
return x;
|
|
453
480
|
};
|
|
454
481
|
}
|
|
482
|
+
if (!apply$1) {
|
|
483
|
+
apply$1 = function apply2(fun, thisValue, args) {
|
|
484
|
+
return fun.apply(thisValue, args);
|
|
485
|
+
};
|
|
486
|
+
}
|
|
455
487
|
if (!construct) {
|
|
456
488
|
construct = function construct2(Func, args) {
|
|
457
|
-
return new
|
|
489
|
+
return new Func(...args);
|
|
458
490
|
};
|
|
459
491
|
}
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
492
|
+
const arrayForEach = unapply(Array.prototype.forEach);
|
|
493
|
+
const arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
|
|
494
|
+
const arrayPop = unapply(Array.prototype.pop);
|
|
495
|
+
const arrayPush$3 = unapply(Array.prototype.push);
|
|
496
|
+
const arraySplice = unapply(Array.prototype.splice);
|
|
497
|
+
const stringToLowerCase = unapply(String.prototype.toLowerCase);
|
|
498
|
+
const stringToString = unapply(String.prototype.toString);
|
|
499
|
+
const stringMatch = unapply(String.prototype.match);
|
|
500
|
+
const stringReplace = unapply(String.prototype.replace);
|
|
501
|
+
const stringIndexOf = unapply(String.prototype.indexOf);
|
|
502
|
+
const stringTrim = unapply(String.prototype.trim);
|
|
503
|
+
const objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);
|
|
504
|
+
const regExpTest = unapply(RegExp.prototype.test);
|
|
505
|
+
const typeErrorCreate = unconstruct(TypeError);
|
|
470
506
|
function unapply(func) {
|
|
471
507
|
return function(thisArg) {
|
|
472
|
-
|
|
508
|
+
if (thisArg instanceof RegExp) {
|
|
509
|
+
thisArg.lastIndex = 0;
|
|
510
|
+
}
|
|
511
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
473
512
|
args[_key - 1] = arguments[_key];
|
|
474
513
|
}
|
|
475
514
|
return apply$1(func, thisArg, args);
|
|
@@ -477,21 +516,22 @@ function unapply(func) {
|
|
|
477
516
|
}
|
|
478
517
|
function unconstruct(func) {
|
|
479
518
|
return function() {
|
|
480
|
-
for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
519
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
481
520
|
args[_key2] = arguments[_key2];
|
|
482
521
|
}
|
|
483
522
|
return construct(func, args);
|
|
484
523
|
};
|
|
485
524
|
}
|
|
486
525
|
function addToSet(set, array) {
|
|
526
|
+
let transformCaseFunc = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : stringToLowerCase;
|
|
487
527
|
if (setPrototypeOf) {
|
|
488
528
|
setPrototypeOf(set, null);
|
|
489
529
|
}
|
|
490
|
-
|
|
530
|
+
let l = array.length;
|
|
491
531
|
while (l--) {
|
|
492
|
-
|
|
532
|
+
let element = array[l];
|
|
493
533
|
if (typeof element === "string") {
|
|
494
|
-
|
|
534
|
+
const lcElement = transformCaseFunc(element);
|
|
495
535
|
if (lcElement !== element) {
|
|
496
536
|
if (!isFrozen(array)) {
|
|
497
537
|
array[l] = lcElement;
|
|
@@ -503,19 +543,34 @@ function addToSet(set, array) {
|
|
|
503
543
|
}
|
|
504
544
|
return set;
|
|
505
545
|
}
|
|
546
|
+
function cleanArray(array) {
|
|
547
|
+
for (let index2 = 0; index2 < array.length; index2++) {
|
|
548
|
+
const isPropertyExist = objectHasOwnProperty(array, index2);
|
|
549
|
+
if (!isPropertyExist) {
|
|
550
|
+
array[index2] = null;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
return array;
|
|
554
|
+
}
|
|
506
555
|
function clone(object) {
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
if (
|
|
511
|
-
|
|
556
|
+
const newObject = create$1(null);
|
|
557
|
+
for (const [property, value] of entries(object)) {
|
|
558
|
+
const isPropertyExist = objectHasOwnProperty(object, property);
|
|
559
|
+
if (isPropertyExist) {
|
|
560
|
+
if (Array.isArray(value)) {
|
|
561
|
+
newObject[property] = cleanArray(value);
|
|
562
|
+
} else if (value && typeof value === "object" && value.constructor === Object) {
|
|
563
|
+
newObject[property] = clone(value);
|
|
564
|
+
} else {
|
|
565
|
+
newObject[property] = value;
|
|
566
|
+
}
|
|
512
567
|
}
|
|
513
568
|
}
|
|
514
569
|
return newObject;
|
|
515
570
|
}
|
|
516
571
|
function lookupGetter(object, prop) {
|
|
517
572
|
while (object !== null) {
|
|
518
|
-
|
|
573
|
+
const desc = getOwnPropertyDescriptor(object, prop);
|
|
519
574
|
if (desc) {
|
|
520
575
|
if (desc.get) {
|
|
521
576
|
return unapply(desc.get);
|
|
@@ -526,69 +581,88 @@ function lookupGetter(object, prop) {
|
|
|
526
581
|
}
|
|
527
582
|
object = getPrototypeOf$1(object);
|
|
528
583
|
}
|
|
529
|
-
function fallbackValue(
|
|
530
|
-
console.warn("fallback value for", element);
|
|
584
|
+
function fallbackValue() {
|
|
531
585
|
return null;
|
|
532
586
|
}
|
|
533
587
|
return fallbackValue;
|
|
534
588
|
}
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
589
|
+
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"]);
|
|
590
|
+
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"]);
|
|
591
|
+
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"]);
|
|
592
|
+
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"]);
|
|
593
|
+
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"]);
|
|
594
|
+
const mathMlDisallowed = freeze(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
|
|
595
|
+
const text = freeze(["#text"]);
|
|
596
|
+
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"]);
|
|
597
|
+
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"]);
|
|
598
|
+
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"]);
|
|
599
|
+
const xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
|
|
600
|
+
const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
|
|
601
|
+
const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
|
|
602
|
+
const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm);
|
|
603
|
+
const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);
|
|
604
|
+
const ARIA_ATTR = seal(/^aria-[\-\w]+$/);
|
|
605
|
+
const IS_ALLOWED_URI = seal(
|
|
606
|
+
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
552
607
|
// eslint-disable-line no-useless-escape
|
|
553
608
|
);
|
|
554
|
-
|
|
555
|
-
|
|
609
|
+
const IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i);
|
|
610
|
+
const ATTR_WHITESPACE = seal(
|
|
556
611
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
557
612
|
// eslint-disable-line no-control-regex
|
|
558
613
|
);
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
614
|
+
const DOCTYPE_NAME = seal(/^html$/i);
|
|
615
|
+
const CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
616
|
+
var EXPRESSIONS = /* @__PURE__ */ Object.freeze({
|
|
617
|
+
__proto__: null,
|
|
618
|
+
ARIA_ATTR,
|
|
619
|
+
ATTR_WHITESPACE,
|
|
620
|
+
CUSTOM_ELEMENT,
|
|
621
|
+
DATA_ATTR,
|
|
622
|
+
DOCTYPE_NAME,
|
|
623
|
+
ERB_EXPR,
|
|
624
|
+
IS_ALLOWED_URI,
|
|
625
|
+
IS_SCRIPT_OR_DATA,
|
|
626
|
+
MUSTACHE_EXPR,
|
|
627
|
+
TMPLIT_EXPR
|
|
628
|
+
});
|
|
629
|
+
const NODE_TYPE = {
|
|
630
|
+
element: 1,
|
|
631
|
+
attribute: 2,
|
|
632
|
+
text: 3,
|
|
633
|
+
cdataSection: 4,
|
|
634
|
+
entityReference: 5,
|
|
635
|
+
// Deprecated
|
|
636
|
+
entityNode: 6,
|
|
637
|
+
// Deprecated
|
|
638
|
+
progressingInstruction: 7,
|
|
639
|
+
comment: 8,
|
|
640
|
+
document: 9,
|
|
641
|
+
documentType: 10,
|
|
642
|
+
documentFragment: 11,
|
|
643
|
+
notation: 12
|
|
644
|
+
// Deprecated
|
|
564
645
|
};
|
|
565
|
-
function
|
|
566
|
-
if (Array.isArray(arr)) {
|
|
567
|
-
for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {
|
|
568
|
-
arr2[i] = arr[i];
|
|
569
|
-
}
|
|
570
|
-
return arr2;
|
|
571
|
-
} else {
|
|
572
|
-
return Array.from(arr);
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
var getGlobal = function getGlobal2() {
|
|
646
|
+
const getGlobal = function getGlobal2() {
|
|
576
647
|
return typeof window === "undefined" ? null : window;
|
|
577
648
|
};
|
|
578
|
-
|
|
579
|
-
if (
|
|
649
|
+
const _createTrustedTypesPolicy = function _createTrustedTypesPolicy2(trustedTypes, purifyHostElement) {
|
|
650
|
+
if (typeof trustedTypes !== "object" || typeof trustedTypes.createPolicy !== "function") {
|
|
580
651
|
return null;
|
|
581
652
|
}
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
if (
|
|
585
|
-
suffix =
|
|
653
|
+
let suffix = null;
|
|
654
|
+
const ATTR_NAME = "data-tt-policy-suffix";
|
|
655
|
+
if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {
|
|
656
|
+
suffix = purifyHostElement.getAttribute(ATTR_NAME);
|
|
586
657
|
}
|
|
587
|
-
|
|
658
|
+
const policyName = "dompurify" + (suffix ? "#" + suffix : "");
|
|
588
659
|
try {
|
|
589
660
|
return trustedTypes.createPolicy(policyName, {
|
|
590
|
-
createHTML
|
|
591
|
-
return
|
|
661
|
+
createHTML(html2) {
|
|
662
|
+
return html2;
|
|
663
|
+
},
|
|
664
|
+
createScriptURL(scriptUrl) {
|
|
665
|
+
return scriptUrl;
|
|
592
666
|
}
|
|
593
667
|
});
|
|
594
668
|
} catch (_) {
|
|
@@ -596,49 +670,87 @@ var _createTrustedTypesPolicy = function _createTrustedTypesPolicy2(trustedTypes
|
|
|
596
670
|
return null;
|
|
597
671
|
}
|
|
598
672
|
};
|
|
599
|
-
function
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
673
|
+
const _createHooksMap = function _createHooksMap2() {
|
|
674
|
+
return {
|
|
675
|
+
afterSanitizeAttributes: [],
|
|
676
|
+
afterSanitizeElements: [],
|
|
677
|
+
afterSanitizeShadowDOM: [],
|
|
678
|
+
beforeSanitizeAttributes: [],
|
|
679
|
+
beforeSanitizeElements: [],
|
|
680
|
+
beforeSanitizeShadowDOM: [],
|
|
681
|
+
uponSanitizeAttribute: [],
|
|
682
|
+
uponSanitizeElement: [],
|
|
683
|
+
uponSanitizeShadowNode: []
|
|
603
684
|
};
|
|
604
|
-
|
|
685
|
+
};
|
|
686
|
+
function createDOMPurify() {
|
|
687
|
+
let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
|
|
688
|
+
const DOMPurify = (root2) => createDOMPurify(root2);
|
|
689
|
+
DOMPurify.version = "3.2.5";
|
|
605
690
|
DOMPurify.removed = [];
|
|
606
|
-
if (!window2 || !window2.document || window2.document.nodeType !==
|
|
691
|
+
if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
|
|
607
692
|
DOMPurify.isSupported = false;
|
|
608
693
|
return DOMPurify;
|
|
609
694
|
}
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
695
|
+
let {
|
|
696
|
+
document: document2
|
|
697
|
+
} = window2;
|
|
698
|
+
const originalDocument = document2;
|
|
699
|
+
const currentScript = originalDocument.currentScript;
|
|
700
|
+
const {
|
|
701
|
+
DocumentFragment,
|
|
702
|
+
HTMLTemplateElement,
|
|
703
|
+
Node,
|
|
704
|
+
Element,
|
|
705
|
+
NodeFilter,
|
|
706
|
+
NamedNodeMap = window2.NamedNodeMap || window2.MozNamedAttrMap,
|
|
707
|
+
HTMLFormElement,
|
|
708
|
+
DOMParser,
|
|
709
|
+
trustedTypes
|
|
710
|
+
} = window2;
|
|
711
|
+
const ElementPrototype = Element.prototype;
|
|
712
|
+
const cloneNode = lookupGetter(ElementPrototype, "cloneNode");
|
|
713
|
+
const remove = lookupGetter(ElementPrototype, "remove");
|
|
714
|
+
const getNextSibling = lookupGetter(ElementPrototype, "nextSibling");
|
|
715
|
+
const getChildNodes = lookupGetter(ElementPrototype, "childNodes");
|
|
716
|
+
const getParentNode = lookupGetter(ElementPrototype, "parentNode");
|
|
618
717
|
if (typeof HTMLTemplateElement === "function") {
|
|
619
|
-
|
|
718
|
+
const template = document2.createElement("template");
|
|
620
719
|
if (template.content && template.content.ownerDocument) {
|
|
621
720
|
document2 = template.content.ownerDocument;
|
|
622
721
|
}
|
|
623
722
|
}
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
723
|
+
let trustedTypesPolicy;
|
|
724
|
+
let emptyHTML = "";
|
|
725
|
+
const {
|
|
726
|
+
implementation,
|
|
727
|
+
createNodeIterator,
|
|
728
|
+
createDocumentFragment,
|
|
729
|
+
getElementsByTagName
|
|
730
|
+
} = document2;
|
|
731
|
+
const {
|
|
732
|
+
importNode
|
|
733
|
+
} = originalDocument;
|
|
734
|
+
let hooks = _createHooksMap();
|
|
735
|
+
DOMPurify.isSupported = typeof entries === "function" && typeof getParentNode === "function" && implementation && implementation.createHTMLDocument !== void 0;
|
|
736
|
+
const {
|
|
737
|
+
MUSTACHE_EXPR: MUSTACHE_EXPR2,
|
|
738
|
+
ERB_EXPR: ERB_EXPR2,
|
|
739
|
+
TMPLIT_EXPR: TMPLIT_EXPR2,
|
|
740
|
+
DATA_ATTR: DATA_ATTR2,
|
|
741
|
+
ARIA_ATTR: ARIA_ATTR2,
|
|
742
|
+
IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA2,
|
|
743
|
+
ATTR_WHITESPACE: ATTR_WHITESPACE2,
|
|
744
|
+
CUSTOM_ELEMENT: CUSTOM_ELEMENT2
|
|
745
|
+
} = EXPRESSIONS;
|
|
746
|
+
let {
|
|
747
|
+
IS_ALLOWED_URI: IS_ALLOWED_URI$1
|
|
748
|
+
} = EXPRESSIONS;
|
|
749
|
+
let ALLOWED_TAGS = null;
|
|
750
|
+
const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);
|
|
751
|
+
let ALLOWED_ATTR = null;
|
|
752
|
+
const DEFAULT_ALLOWED_ATTR = addToSet({}, [...html, ...svg, ...mathMl, ...xml]);
|
|
753
|
+
let CUSTOM_ELEMENT_HANDLING = Object.seal(create$1(null, {
|
|
642
754
|
tagNameCheck: {
|
|
643
755
|
writable: true,
|
|
644
756
|
configurable: false,
|
|
@@ -658,72 +770,92 @@ function createDOMPurify() {
|
|
|
658
770
|
value: false
|
|
659
771
|
}
|
|
660
772
|
}));
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
773
|
+
let FORBID_TAGS = null;
|
|
774
|
+
let FORBID_ATTR = null;
|
|
775
|
+
let ALLOW_ARIA_ATTR = true;
|
|
776
|
+
let ALLOW_DATA_ATTR = true;
|
|
777
|
+
let ALLOW_UNKNOWN_PROTOCOLS = false;
|
|
778
|
+
let ALLOW_SELF_CLOSE_IN_ATTR = true;
|
|
779
|
+
let SAFE_FOR_TEMPLATES = false;
|
|
780
|
+
let SAFE_FOR_XML = true;
|
|
781
|
+
let WHOLE_DOCUMENT = false;
|
|
782
|
+
let SET_CONFIG = false;
|
|
783
|
+
let FORCE_BODY = false;
|
|
784
|
+
let RETURN_DOM = false;
|
|
785
|
+
let RETURN_DOM_FRAGMENT = false;
|
|
786
|
+
let RETURN_TRUSTED_TYPE = false;
|
|
787
|
+
let SANITIZE_DOM = true;
|
|
788
|
+
let SANITIZE_NAMED_PROPS = false;
|
|
789
|
+
const SANITIZE_NAMED_PROPS_PREFIX = "user-content-";
|
|
790
|
+
let KEEP_CONTENT = true;
|
|
791
|
+
let IN_PLACE = false;
|
|
792
|
+
let USE_PROFILES = {};
|
|
793
|
+
let FORBID_CONTENTS = null;
|
|
794
|
+
const DEFAULT_FORBID_CONTENTS = addToSet({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
795
|
+
let DATA_URI_TAGS = null;
|
|
796
|
+
const DEFAULT_DATA_URI_TAGS = addToSet({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
797
|
+
let URI_SAFE_ATTRIBUTES = null;
|
|
798
|
+
const DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]);
|
|
799
|
+
const MATHML_NAMESPACE = "http://www.w3.org/1998/Math/MathML";
|
|
800
|
+
const SVG_NAMESPACE = "http://www.w3.org/2000/svg";
|
|
801
|
+
const HTML_NAMESPACE = "http://www.w3.org/1999/xhtml";
|
|
802
|
+
let NAMESPACE = HTML_NAMESPACE;
|
|
803
|
+
let IS_EMPTY_INPUT = false;
|
|
804
|
+
let ALLOWED_NAMESPACES = null;
|
|
805
|
+
const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);
|
|
806
|
+
let MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ["mi", "mo", "mn", "ms", "mtext"]);
|
|
807
|
+
let HTML_INTEGRATION_POINTS = addToSet({}, ["annotation-xml"]);
|
|
808
|
+
const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ["title", "style", "font", "a", "script"]);
|
|
809
|
+
let PARSER_MEDIA_TYPE = null;
|
|
810
|
+
const SUPPORTED_PARSER_MEDIA_TYPES = ["application/xhtml+xml", "text/html"];
|
|
811
|
+
const DEFAULT_PARSER_MEDIA_TYPE = "text/html";
|
|
812
|
+
let transformCaseFunc = null;
|
|
813
|
+
let CONFIG = null;
|
|
814
|
+
const formElement = document2.createElement("form");
|
|
815
|
+
const isRegexOrFunction = function isRegexOrFunction2(testValue) {
|
|
695
816
|
return testValue instanceof RegExp || testValue instanceof Function;
|
|
696
817
|
};
|
|
697
|
-
|
|
818
|
+
const _parseConfig = function _parseConfig2() {
|
|
819
|
+
let cfg = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
698
820
|
if (CONFIG && CONFIG === cfg) {
|
|
699
821
|
return;
|
|
700
822
|
}
|
|
701
|
-
if (!cfg ||
|
|
823
|
+
if (!cfg || typeof cfg !== "object") {
|
|
702
824
|
cfg = {};
|
|
703
825
|
}
|
|
704
826
|
cfg = clone(cfg);
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
827
|
+
PARSER_MEDIA_TYPE = // eslint-disable-next-line unicorn/prefer-includes
|
|
828
|
+
SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? DEFAULT_PARSER_MEDIA_TYPE : cfg.PARSER_MEDIA_TYPE;
|
|
829
|
+
transformCaseFunc = PARSER_MEDIA_TYPE === "application/xhtml+xml" ? stringToString : stringToLowerCase;
|
|
830
|
+
ALLOWED_TAGS = objectHasOwnProperty(cfg, "ALLOWED_TAGS") ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
|
|
831
|
+
ALLOWED_ATTR = objectHasOwnProperty(cfg, "ALLOWED_ATTR") ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
|
|
832
|
+
ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, "ALLOWED_NAMESPACES") ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
|
|
833
|
+
URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, "ADD_URI_SAFE_ATTR") ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
|
|
834
|
+
DATA_URI_TAGS = objectHasOwnProperty(cfg, "ADD_DATA_URI_TAGS") ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
|
|
835
|
+
FORBID_CONTENTS = objectHasOwnProperty(cfg, "FORBID_CONTENTS") ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
|
|
836
|
+
FORBID_TAGS = objectHasOwnProperty(cfg, "FORBID_TAGS") ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};
|
|
837
|
+
FORBID_ATTR = objectHasOwnProperty(cfg, "FORBID_ATTR") ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};
|
|
838
|
+
USE_PROFILES = objectHasOwnProperty(cfg, "USE_PROFILES") ? cfg.USE_PROFILES : false;
|
|
713
839
|
ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false;
|
|
714
840
|
ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false;
|
|
715
841
|
ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false;
|
|
842
|
+
ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false;
|
|
716
843
|
SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false;
|
|
844
|
+
SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false;
|
|
717
845
|
WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false;
|
|
718
846
|
RETURN_DOM = cfg.RETURN_DOM || false;
|
|
719
847
|
RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false;
|
|
720
848
|
RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false;
|
|
721
849
|
FORCE_BODY = cfg.FORCE_BODY || false;
|
|
722
850
|
SANITIZE_DOM = cfg.SANITIZE_DOM !== false;
|
|
851
|
+
SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false;
|
|
723
852
|
KEEP_CONTENT = cfg.KEEP_CONTENT !== false;
|
|
724
853
|
IN_PLACE = cfg.IN_PLACE || false;
|
|
725
|
-
IS_ALLOWED_URI
|
|
854
|
+
IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI;
|
|
726
855
|
NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;
|
|
856
|
+
MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS || MATHML_TEXT_INTEGRATION_POINTS;
|
|
857
|
+
HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS || HTML_INTEGRATION_POINTS;
|
|
858
|
+
CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};
|
|
727
859
|
if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
|
|
728
860
|
CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
|
|
729
861
|
}
|
|
@@ -733,11 +865,6 @@ function createDOMPurify() {
|
|
|
733
865
|
if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === "boolean") {
|
|
734
866
|
CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;
|
|
735
867
|
}
|
|
736
|
-
PARSER_MEDIA_TYPE = // eslint-disable-next-line unicorn/prefer-includes
|
|
737
|
-
SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? PARSER_MEDIA_TYPE = DEFAULT_PARSER_MEDIA_TYPE : PARSER_MEDIA_TYPE = cfg.PARSER_MEDIA_TYPE;
|
|
738
|
-
transformCaseFunc = PARSER_MEDIA_TYPE === "application/xhtml+xml" ? function(x) {
|
|
739
|
-
return x;
|
|
740
|
-
} : stringToLowerCase;
|
|
741
868
|
if (SAFE_FOR_TEMPLATES) {
|
|
742
869
|
ALLOW_DATA_ATTR = false;
|
|
743
870
|
}
|
|
@@ -745,25 +872,25 @@ function createDOMPurify() {
|
|
|
745
872
|
RETURN_DOM = true;
|
|
746
873
|
}
|
|
747
874
|
if (USE_PROFILES) {
|
|
748
|
-
ALLOWED_TAGS = addToSet({},
|
|
875
|
+
ALLOWED_TAGS = addToSet({}, text);
|
|
749
876
|
ALLOWED_ATTR = [];
|
|
750
877
|
if (USE_PROFILES.html === true) {
|
|
751
|
-
addToSet(ALLOWED_TAGS, html);
|
|
752
|
-
addToSet(ALLOWED_ATTR, html
|
|
878
|
+
addToSet(ALLOWED_TAGS, html$1);
|
|
879
|
+
addToSet(ALLOWED_ATTR, html);
|
|
753
880
|
}
|
|
754
881
|
if (USE_PROFILES.svg === true) {
|
|
755
|
-
addToSet(ALLOWED_TAGS, svg);
|
|
756
|
-
addToSet(ALLOWED_ATTR, svg
|
|
882
|
+
addToSet(ALLOWED_TAGS, svg$1);
|
|
883
|
+
addToSet(ALLOWED_ATTR, svg);
|
|
757
884
|
addToSet(ALLOWED_ATTR, xml);
|
|
758
885
|
}
|
|
759
886
|
if (USE_PROFILES.svgFilters === true) {
|
|
760
887
|
addToSet(ALLOWED_TAGS, svgFilters);
|
|
761
|
-
addToSet(ALLOWED_ATTR, svg
|
|
888
|
+
addToSet(ALLOWED_ATTR, svg);
|
|
762
889
|
addToSet(ALLOWED_ATTR, xml);
|
|
763
890
|
}
|
|
764
891
|
if (USE_PROFILES.mathMl === true) {
|
|
765
|
-
addToSet(ALLOWED_TAGS, mathMl);
|
|
766
|
-
addToSet(ALLOWED_ATTR, mathMl
|
|
892
|
+
addToSet(ALLOWED_TAGS, mathMl$1);
|
|
893
|
+
addToSet(ALLOWED_ATTR, mathMl);
|
|
767
894
|
addToSet(ALLOWED_ATTR, xml);
|
|
768
895
|
}
|
|
769
896
|
}
|
|
@@ -771,22 +898,22 @@ function createDOMPurify() {
|
|
|
771
898
|
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
772
899
|
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
|
773
900
|
}
|
|
774
|
-
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS);
|
|
901
|
+
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
775
902
|
}
|
|
776
903
|
if (cfg.ADD_ATTR) {
|
|
777
904
|
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
778
905
|
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
|
779
906
|
}
|
|
780
|
-
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR);
|
|
907
|
+
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
781
908
|
}
|
|
782
909
|
if (cfg.ADD_URI_SAFE_ATTR) {
|
|
783
|
-
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR);
|
|
910
|
+
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
|
784
911
|
}
|
|
785
912
|
if (cfg.FORBID_CONTENTS) {
|
|
786
913
|
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
|
787
914
|
FORBID_CONTENTS = clone(FORBID_CONTENTS);
|
|
788
915
|
}
|
|
789
|
-
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS);
|
|
916
|
+
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
|
|
790
917
|
}
|
|
791
918
|
if (KEEP_CONTENT) {
|
|
792
919
|
ALLOWED_TAGS["#text"] = true;
|
|
@@ -798,28 +925,43 @@ function createDOMPurify() {
|
|
|
798
925
|
addToSet(ALLOWED_TAGS, ["tbody"]);
|
|
799
926
|
delete FORBID_TAGS.tbody;
|
|
800
927
|
}
|
|
928
|
+
if (cfg.TRUSTED_TYPES_POLICY) {
|
|
929
|
+
if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== "function") {
|
|
930
|
+
throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
931
|
+
}
|
|
932
|
+
if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== "function") {
|
|
933
|
+
throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
934
|
+
}
|
|
935
|
+
trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;
|
|
936
|
+
emptyHTML = trustedTypesPolicy.createHTML("");
|
|
937
|
+
} else {
|
|
938
|
+
if (trustedTypesPolicy === void 0) {
|
|
939
|
+
trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);
|
|
940
|
+
}
|
|
941
|
+
if (trustedTypesPolicy !== null && typeof emptyHTML === "string") {
|
|
942
|
+
emptyHTML = trustedTypesPolicy.createHTML("");
|
|
943
|
+
}
|
|
944
|
+
}
|
|
801
945
|
if (freeze) {
|
|
802
946
|
freeze(cfg);
|
|
803
947
|
}
|
|
804
948
|
CONFIG = cfg;
|
|
805
949
|
};
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
addToSet(ALL_SVG_TAGS, svgDisallowed);
|
|
811
|
-
var ALL_MATHML_TAGS = addToSet({}, mathMl);
|
|
812
|
-
addToSet(ALL_MATHML_TAGS, mathMlDisallowed);
|
|
813
|
-
var _checkValidNamespace = function _checkValidNamespace2(element) {
|
|
814
|
-
var parent = getParentNode(element);
|
|
950
|
+
const ALL_SVG_TAGS = addToSet({}, [...svg$1, ...svgFilters, ...svgDisallowed]);
|
|
951
|
+
const ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);
|
|
952
|
+
const _checkValidNamespace = function _checkValidNamespace2(element) {
|
|
953
|
+
let parent = getParentNode(element);
|
|
815
954
|
if (!parent || !parent.tagName) {
|
|
816
955
|
parent = {
|
|
817
|
-
namespaceURI:
|
|
956
|
+
namespaceURI: NAMESPACE,
|
|
818
957
|
tagName: "template"
|
|
819
958
|
};
|
|
820
959
|
}
|
|
821
|
-
|
|
822
|
-
|
|
960
|
+
const tagName = stringToLowerCase(element.tagName);
|
|
961
|
+
const parentTagName = stringToLowerCase(parent.tagName);
|
|
962
|
+
if (!ALLOWED_NAMESPACES[element.namespaceURI]) {
|
|
963
|
+
return false;
|
|
964
|
+
}
|
|
823
965
|
if (element.namespaceURI === SVG_NAMESPACE) {
|
|
824
966
|
if (parent.namespaceURI === HTML_NAMESPACE) {
|
|
825
967
|
return tagName === "svg";
|
|
@@ -845,63 +987,63 @@ function createDOMPurify() {
|
|
|
845
987
|
if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {
|
|
846
988
|
return false;
|
|
847
989
|
}
|
|
848
|
-
|
|
849
|
-
|
|
990
|
+
return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);
|
|
991
|
+
}
|
|
992
|
+
if (PARSER_MEDIA_TYPE === "application/xhtml+xml" && ALLOWED_NAMESPACES[element.namespaceURI]) {
|
|
993
|
+
return true;
|
|
850
994
|
}
|
|
851
995
|
return false;
|
|
852
996
|
};
|
|
853
|
-
|
|
854
|
-
arrayPush$3(DOMPurify.removed, {
|
|
997
|
+
const _forceRemove = function _forceRemove2(node) {
|
|
998
|
+
arrayPush$3(DOMPurify.removed, {
|
|
999
|
+
element: node
|
|
1000
|
+
});
|
|
855
1001
|
try {
|
|
856
|
-
node.
|
|
1002
|
+
getParentNode(node).removeChild(node);
|
|
857
1003
|
} catch (_) {
|
|
858
|
-
|
|
859
|
-
node.outerHTML = emptyHTML;
|
|
860
|
-
} catch (_2) {
|
|
861
|
-
node.remove();
|
|
862
|
-
}
|
|
1004
|
+
remove(node);
|
|
863
1005
|
}
|
|
864
1006
|
};
|
|
865
|
-
|
|
1007
|
+
const _removeAttribute = function _removeAttribute2(name, element) {
|
|
866
1008
|
try {
|
|
867
1009
|
arrayPush$3(DOMPurify.removed, {
|
|
868
|
-
attribute:
|
|
869
|
-
from:
|
|
1010
|
+
attribute: element.getAttributeNode(name),
|
|
1011
|
+
from: element
|
|
870
1012
|
});
|
|
871
1013
|
} catch (_) {
|
|
872
1014
|
arrayPush$3(DOMPurify.removed, {
|
|
873
1015
|
attribute: null,
|
|
874
|
-
from:
|
|
1016
|
+
from: element
|
|
875
1017
|
});
|
|
876
1018
|
}
|
|
877
|
-
|
|
878
|
-
if (name === "is"
|
|
1019
|
+
element.removeAttribute(name);
|
|
1020
|
+
if (name === "is") {
|
|
879
1021
|
if (RETURN_DOM || RETURN_DOM_FRAGMENT) {
|
|
880
1022
|
try {
|
|
881
|
-
_forceRemove(
|
|
1023
|
+
_forceRemove(element);
|
|
882
1024
|
} catch (_) {
|
|
883
1025
|
}
|
|
884
1026
|
} else {
|
|
885
1027
|
try {
|
|
886
|
-
|
|
1028
|
+
element.setAttribute(name, "");
|
|
887
1029
|
} catch (_) {
|
|
888
1030
|
}
|
|
889
1031
|
}
|
|
890
1032
|
}
|
|
891
1033
|
};
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
1034
|
+
const _initDocument = function _initDocument2(dirty) {
|
|
1035
|
+
let doc = null;
|
|
1036
|
+
let leadingWhitespace = null;
|
|
895
1037
|
if (FORCE_BODY) {
|
|
896
1038
|
dirty = "<remove></remove>" + dirty;
|
|
897
1039
|
} else {
|
|
898
|
-
|
|
1040
|
+
const matches = stringMatch(dirty, /^[\r\n\t ]+/);
|
|
899
1041
|
leadingWhitespace = matches && matches[0];
|
|
900
1042
|
}
|
|
901
|
-
if (PARSER_MEDIA_TYPE === "application/xhtml+xml") {
|
|
1043
|
+
if (PARSER_MEDIA_TYPE === "application/xhtml+xml" && NAMESPACE === HTML_NAMESPACE) {
|
|
902
1044
|
dirty = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + dirty + "</body></html>";
|
|
903
1045
|
}
|
|
904
|
-
|
|
1046
|
+
const dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;
|
|
905
1047
|
if (NAMESPACE === HTML_NAMESPACE) {
|
|
906
1048
|
try {
|
|
907
1049
|
doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);
|
|
@@ -911,11 +1053,11 @@ function createDOMPurify() {
|
|
|
911
1053
|
if (!doc || !doc.documentElement) {
|
|
912
1054
|
doc = implementation.createDocument(NAMESPACE, "template", null);
|
|
913
1055
|
try {
|
|
914
|
-
doc.documentElement.innerHTML = IS_EMPTY_INPUT ?
|
|
1056
|
+
doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;
|
|
915
1057
|
} catch (_) {
|
|
916
1058
|
}
|
|
917
1059
|
}
|
|
918
|
-
|
|
1060
|
+
const body = doc.body || doc.documentElement;
|
|
919
1061
|
if (dirty && leadingWhitespace) {
|
|
920
1062
|
body.insertBefore(document2.createTextNode(leadingWhitespace), body.childNodes[0] || null);
|
|
921
1063
|
}
|
|
@@ -924,68 +1066,68 @@ function createDOMPurify() {
|
|
|
924
1066
|
}
|
|
925
1067
|
return WHOLE_DOCUMENT ? doc.documentElement : body;
|
|
926
1068
|
};
|
|
927
|
-
|
|
1069
|
+
const _createNodeIterator = function _createNodeIterator2(root2) {
|
|
928
1070
|
return createNodeIterator.call(
|
|
929
1071
|
root2.ownerDocument || root2,
|
|
930
1072
|
root2,
|
|
931
1073
|
// eslint-disable-next-line no-bitwise
|
|
932
|
-
NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT,
|
|
933
|
-
null
|
|
934
|
-
false
|
|
1074
|
+
NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION,
|
|
1075
|
+
null
|
|
935
1076
|
);
|
|
936
1077
|
};
|
|
937
|
-
|
|
938
|
-
return
|
|
1078
|
+
const _isClobbered = function _isClobbered2(element) {
|
|
1079
|
+
return element instanceof HTMLFormElement && (typeof element.nodeName !== "string" || typeof element.textContent !== "string" || typeof element.removeChild !== "function" || !(element.attributes instanceof NamedNodeMap) || typeof element.removeAttribute !== "function" || typeof element.setAttribute !== "function" || typeof element.namespaceURI !== "string" || typeof element.insertBefore !== "function" || typeof element.hasChildNodes !== "function");
|
|
939
1080
|
};
|
|
940
|
-
|
|
941
|
-
return
|
|
1081
|
+
const _isNode = function _isNode2(value) {
|
|
1082
|
+
return typeof Node === "function" && value instanceof Node;
|
|
942
1083
|
};
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
return;
|
|
946
|
-
}
|
|
947
|
-
arrayForEach(hooks[entryPoint], function(hook) {
|
|
1084
|
+
function _executeHooks(hooks2, currentNode, data) {
|
|
1085
|
+
arrayForEach(hooks2, (hook) => {
|
|
948
1086
|
hook.call(DOMPurify, currentNode, data, CONFIG);
|
|
949
1087
|
});
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
1088
|
+
}
|
|
1089
|
+
const _sanitizeElements = function _sanitizeElements2(currentNode) {
|
|
1090
|
+
let content = null;
|
|
1091
|
+
_executeHooks(hooks.beforeSanitizeElements, currentNode, null);
|
|
954
1092
|
if (_isClobbered(currentNode)) {
|
|
955
1093
|
_forceRemove(currentNode);
|
|
956
1094
|
return true;
|
|
957
1095
|
}
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
return true;
|
|
961
|
-
}
|
|
962
|
-
var tagName = transformCaseFunc(currentNode.nodeName);
|
|
963
|
-
_executeHook("uponSanitizeElement", currentNode, {
|
|
1096
|
+
const tagName = transformCaseFunc(currentNode.nodeName);
|
|
1097
|
+
_executeHooks(hooks.uponSanitizeElement, currentNode, {
|
|
964
1098
|
tagName,
|
|
965
1099
|
allowedTags: ALLOWED_TAGS
|
|
966
1100
|
});
|
|
967
|
-
if (
|
|
1101
|
+
if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) {
|
|
968
1102
|
_forceRemove(currentNode);
|
|
969
1103
|
return true;
|
|
970
1104
|
}
|
|
971
|
-
if (
|
|
1105
|
+
if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {
|
|
1106
|
+
_forceRemove(currentNode);
|
|
1107
|
+
return true;
|
|
1108
|
+
}
|
|
1109
|
+
if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, currentNode.data)) {
|
|
972
1110
|
_forceRemove(currentNode);
|
|
973
1111
|
return true;
|
|
974
1112
|
}
|
|
975
1113
|
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
976
|
-
if (!FORBID_TAGS[tagName] &&
|
|
977
|
-
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName))
|
|
1114
|
+
if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
|
|
1115
|
+
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
|
|
978
1116
|
return false;
|
|
979
|
-
|
|
1117
|
+
}
|
|
1118
|
+
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) {
|
|
980
1119
|
return false;
|
|
1120
|
+
}
|
|
981
1121
|
}
|
|
982
1122
|
if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {
|
|
983
|
-
|
|
984
|
-
|
|
1123
|
+
const parentNode = getParentNode(currentNode) || currentNode.parentNode;
|
|
1124
|
+
const childNodes = getChildNodes(currentNode) || currentNode.childNodes;
|
|
985
1125
|
if (childNodes && parentNode) {
|
|
986
|
-
|
|
987
|
-
for (
|
|
988
|
-
|
|
1126
|
+
const childCount = childNodes.length;
|
|
1127
|
+
for (let i = childCount - 1; i >= 0; --i) {
|
|
1128
|
+
const childClone = cloneNode(childNodes[i], true);
|
|
1129
|
+
childClone.__removalCount = (currentNode.__removalCount || 0) + 1;
|
|
1130
|
+
parentNode.insertBefore(childClone, getNextSibling(currentNode));
|
|
989
1131
|
}
|
|
990
1132
|
}
|
|
991
1133
|
}
|
|
@@ -996,36 +1138,39 @@ function createDOMPurify() {
|
|
|
996
1138
|
_forceRemove(currentNode);
|
|
997
1139
|
return true;
|
|
998
1140
|
}
|
|
999
|
-
if ((tagName === "noscript" || tagName === "noembed") && regExpTest(/<\/no(script|embed)/i, currentNode.innerHTML)) {
|
|
1141
|
+
if ((tagName === "noscript" || tagName === "noembed" || tagName === "noframes") && regExpTest(/<\/no(script|embed|frames)/i, currentNode.innerHTML)) {
|
|
1000
1142
|
_forceRemove(currentNode);
|
|
1001
1143
|
return true;
|
|
1002
1144
|
}
|
|
1003
|
-
if (SAFE_FOR_TEMPLATES && currentNode.nodeType ===
|
|
1145
|
+
if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {
|
|
1004
1146
|
content = currentNode.textContent;
|
|
1005
|
-
|
|
1006
|
-
|
|
1147
|
+
arrayForEach([MUSTACHE_EXPR2, ERB_EXPR2, TMPLIT_EXPR2], (expr) => {
|
|
1148
|
+
content = stringReplace(content, expr, " ");
|
|
1149
|
+
});
|
|
1007
1150
|
if (currentNode.textContent !== content) {
|
|
1008
|
-
arrayPush$3(DOMPurify.removed, {
|
|
1151
|
+
arrayPush$3(DOMPurify.removed, {
|
|
1152
|
+
element: currentNode.cloneNode()
|
|
1153
|
+
});
|
|
1009
1154
|
currentNode.textContent = content;
|
|
1010
1155
|
}
|
|
1011
1156
|
}
|
|
1012
|
-
|
|
1157
|
+
_executeHooks(hooks.afterSanitizeElements, currentNode, null);
|
|
1013
1158
|
return false;
|
|
1014
1159
|
};
|
|
1015
|
-
|
|
1160
|
+
const _isValidAttribute = function _isValidAttribute2(lcTag, lcName, value) {
|
|
1016
1161
|
if (SANITIZE_DOM && (lcName === "id" || lcName === "name") && (value in document2 || value in formElement)) {
|
|
1017
1162
|
return false;
|
|
1018
1163
|
}
|
|
1019
|
-
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(
|
|
1164
|
+
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR2, lcName))
|
|
1020
1165
|
;
|
|
1021
|
-
else if (ALLOW_ARIA_ATTR && regExpTest(
|
|
1166
|
+
else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR2, lcName))
|
|
1022
1167
|
;
|
|
1023
1168
|
else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
|
1024
1169
|
if (
|
|
1025
1170
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
1026
1171
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1027
1172
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
1028
|
-
|
|
1173
|
+
_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
|
|
1029
1174
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1030
1175
|
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))
|
|
1031
1176
|
)
|
|
@@ -1035,50 +1180,60 @@ function createDOMPurify() {
|
|
|
1035
1180
|
}
|
|
1036
1181
|
} else if (URI_SAFE_ATTRIBUTES[lcName])
|
|
1037
1182
|
;
|
|
1038
|
-
else if (regExpTest(IS_ALLOWED_URI
|
|
1183
|
+
else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE2, "")))
|
|
1039
1184
|
;
|
|
1040
1185
|
else if ((lcName === "src" || lcName === "xlink:href" || lcName === "href") && lcTag !== "script" && stringIndexOf(value, "data:") === 0 && DATA_URI_TAGS[lcTag])
|
|
1041
1186
|
;
|
|
1042
|
-
else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(
|
|
1187
|
+
else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA2, stringReplace(value, ATTR_WHITESPACE2, "")))
|
|
1043
1188
|
;
|
|
1044
|
-
else if (
|
|
1045
|
-
;
|
|
1046
|
-
else {
|
|
1189
|
+
else if (value) {
|
|
1047
1190
|
return false;
|
|
1048
|
-
}
|
|
1191
|
+
} else
|
|
1192
|
+
;
|
|
1049
1193
|
return true;
|
|
1050
1194
|
};
|
|
1051
|
-
|
|
1052
|
-
return tagName
|
|
1195
|
+
const _isBasicCustomElement = function _isBasicCustomElement2(tagName) {
|
|
1196
|
+
return tagName !== "annotation-xml" && stringMatch(tagName, CUSTOM_ELEMENT2);
|
|
1053
1197
|
};
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
var attributes = currentNode.attributes;
|
|
1061
|
-
if (!attributes) {
|
|
1198
|
+
const _sanitizeAttributes = function _sanitizeAttributes2(currentNode) {
|
|
1199
|
+
_executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);
|
|
1200
|
+
const {
|
|
1201
|
+
attributes
|
|
1202
|
+
} = currentNode;
|
|
1203
|
+
if (!attributes || _isClobbered(currentNode)) {
|
|
1062
1204
|
return;
|
|
1063
1205
|
}
|
|
1064
|
-
|
|
1206
|
+
const hookEvent = {
|
|
1065
1207
|
attrName: "",
|
|
1066
1208
|
attrValue: "",
|
|
1067
1209
|
keepAttr: true,
|
|
1068
|
-
allowedAttributes: ALLOWED_ATTR
|
|
1210
|
+
allowedAttributes: ALLOWED_ATTR,
|
|
1211
|
+
forceKeepAttr: void 0
|
|
1069
1212
|
};
|
|
1070
|
-
l = attributes.length;
|
|
1213
|
+
let l = attributes.length;
|
|
1071
1214
|
while (l--) {
|
|
1072
|
-
attr = attributes[l];
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1215
|
+
const attr = attributes[l];
|
|
1216
|
+
const {
|
|
1217
|
+
name,
|
|
1218
|
+
namespaceURI,
|
|
1219
|
+
value: attrValue
|
|
1220
|
+
} = attr;
|
|
1221
|
+
const lcName = transformCaseFunc(name);
|
|
1222
|
+
let value = name === "value" ? attrValue : stringTrim(attrValue);
|
|
1076
1223
|
hookEvent.attrName = lcName;
|
|
1077
1224
|
hookEvent.attrValue = value;
|
|
1078
1225
|
hookEvent.keepAttr = true;
|
|
1079
1226
|
hookEvent.forceKeepAttr = void 0;
|
|
1080
|
-
|
|
1227
|
+
_executeHooks(hooks.uponSanitizeAttribute, currentNode, hookEvent);
|
|
1081
1228
|
value = hookEvent.attrValue;
|
|
1229
|
+
if (SANITIZE_NAMED_PROPS && (lcName === "id" || lcName === "name")) {
|
|
1230
|
+
_removeAttribute(name, currentNode);
|
|
1231
|
+
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
|
1232
|
+
}
|
|
1233
|
+
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
|
|
1234
|
+
_removeAttribute(name, currentNode);
|
|
1235
|
+
continue;
|
|
1236
|
+
}
|
|
1082
1237
|
if (hookEvent.forceKeepAttr) {
|
|
1083
1238
|
continue;
|
|
1084
1239
|
}
|
|
@@ -1086,75 +1241,86 @@ function createDOMPurify() {
|
|
|
1086
1241
|
if (!hookEvent.keepAttr) {
|
|
1087
1242
|
continue;
|
|
1088
1243
|
}
|
|
1089
|
-
if (regExpTest(/\/>/i, value)) {
|
|
1244
|
+
if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\/>/i, value)) {
|
|
1090
1245
|
_removeAttribute(name, currentNode);
|
|
1091
1246
|
continue;
|
|
1092
1247
|
}
|
|
1093
1248
|
if (SAFE_FOR_TEMPLATES) {
|
|
1094
|
-
|
|
1095
|
-
|
|
1249
|
+
arrayForEach([MUSTACHE_EXPR2, ERB_EXPR2, TMPLIT_EXPR2], (expr) => {
|
|
1250
|
+
value = stringReplace(value, expr, " ");
|
|
1251
|
+
});
|
|
1096
1252
|
}
|
|
1097
|
-
|
|
1253
|
+
const lcTag = transformCaseFunc(currentNode.nodeName);
|
|
1098
1254
|
if (!_isValidAttribute(lcTag, lcName, value)) {
|
|
1099
1255
|
continue;
|
|
1100
1256
|
}
|
|
1257
|
+
if (trustedTypesPolicy && typeof trustedTypes === "object" && typeof trustedTypes.getAttributeType === "function") {
|
|
1258
|
+
if (namespaceURI)
|
|
1259
|
+
;
|
|
1260
|
+
else {
|
|
1261
|
+
switch (trustedTypes.getAttributeType(lcTag, lcName)) {
|
|
1262
|
+
case "TrustedHTML": {
|
|
1263
|
+
value = trustedTypesPolicy.createHTML(value);
|
|
1264
|
+
break;
|
|
1265
|
+
}
|
|
1266
|
+
case "TrustedScriptURL": {
|
|
1267
|
+
value = trustedTypesPolicy.createScriptURL(value);
|
|
1268
|
+
break;
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1101
1273
|
try {
|
|
1102
1274
|
if (namespaceURI) {
|
|
1103
1275
|
currentNode.setAttributeNS(namespaceURI, name, value);
|
|
1104
1276
|
} else {
|
|
1105
1277
|
currentNode.setAttribute(name, value);
|
|
1106
1278
|
}
|
|
1107
|
-
|
|
1279
|
+
if (_isClobbered(currentNode)) {
|
|
1280
|
+
_forceRemove(currentNode);
|
|
1281
|
+
} else {
|
|
1282
|
+
arrayPop(DOMPurify.removed);
|
|
1283
|
+
}
|
|
1108
1284
|
} catch (_) {
|
|
1109
1285
|
}
|
|
1110
1286
|
}
|
|
1111
|
-
|
|
1287
|
+
_executeHooks(hooks.afterSanitizeAttributes, currentNode, null);
|
|
1112
1288
|
};
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1289
|
+
const _sanitizeShadowDOM = function _sanitizeShadowDOM2(fragment) {
|
|
1290
|
+
let shadowNode = null;
|
|
1291
|
+
const shadowIterator = _createNodeIterator(fragment);
|
|
1292
|
+
_executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);
|
|
1117
1293
|
while (shadowNode = shadowIterator.nextNode()) {
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
}
|
|
1294
|
+
_executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);
|
|
1295
|
+
_sanitizeElements(shadowNode);
|
|
1296
|
+
_sanitizeAttributes(shadowNode);
|
|
1122
1297
|
if (shadowNode.content instanceof DocumentFragment) {
|
|
1123
1298
|
_sanitizeShadowDOM2(shadowNode.content);
|
|
1124
1299
|
}
|
|
1125
|
-
_sanitizeAttributes(shadowNode);
|
|
1126
1300
|
}
|
|
1127
|
-
|
|
1301
|
+
_executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);
|
|
1128
1302
|
};
|
|
1129
|
-
DOMPurify.sanitize = function(dirty
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1303
|
+
DOMPurify.sanitize = function(dirty) {
|
|
1304
|
+
let cfg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1305
|
+
let body = null;
|
|
1306
|
+
let importedNode = null;
|
|
1307
|
+
let currentNode = null;
|
|
1308
|
+
let returnNode = null;
|
|
1135
1309
|
IS_EMPTY_INPUT = !dirty;
|
|
1136
1310
|
if (IS_EMPTY_INPUT) {
|
|
1137
1311
|
dirty = "<!-->";
|
|
1138
1312
|
}
|
|
1139
1313
|
if (typeof dirty !== "string" && !_isNode(dirty)) {
|
|
1140
|
-
if (typeof dirty.toString
|
|
1141
|
-
throw typeErrorCreate("toString is not a function");
|
|
1142
|
-
} else {
|
|
1314
|
+
if (typeof dirty.toString === "function") {
|
|
1143
1315
|
dirty = dirty.toString();
|
|
1144
1316
|
if (typeof dirty !== "string") {
|
|
1145
1317
|
throw typeErrorCreate("dirty is not a string, aborting");
|
|
1146
1318
|
}
|
|
1319
|
+
} else {
|
|
1320
|
+
throw typeErrorCreate("toString is not a function");
|
|
1147
1321
|
}
|
|
1148
1322
|
}
|
|
1149
1323
|
if (!DOMPurify.isSupported) {
|
|
1150
|
-
if (_typeof$2(window2.toStaticHTML) === "object" || typeof window2.toStaticHTML === "function") {
|
|
1151
|
-
if (typeof dirty === "string") {
|
|
1152
|
-
return window2.toStaticHTML(dirty);
|
|
1153
|
-
}
|
|
1154
|
-
if (_isNode(dirty)) {
|
|
1155
|
-
return window2.toStaticHTML(dirty.outerHTML);
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
1324
|
return dirty;
|
|
1159
1325
|
}
|
|
1160
1326
|
if (!SET_CONFIG) {
|
|
@@ -1166,7 +1332,7 @@ function createDOMPurify() {
|
|
|
1166
1332
|
}
|
|
1167
1333
|
if (IN_PLACE) {
|
|
1168
1334
|
if (dirty.nodeName) {
|
|
1169
|
-
|
|
1335
|
+
const tagName = transformCaseFunc(dirty.nodeName);
|
|
1170
1336
|
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
1171
1337
|
throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
|
|
1172
1338
|
}
|
|
@@ -1174,7 +1340,7 @@ function createDOMPurify() {
|
|
|
1174
1340
|
} else if (dirty instanceof Node) {
|
|
1175
1341
|
body = _initDocument("<!---->");
|
|
1176
1342
|
importedNode = body.ownerDocument.importNode(dirty, true);
|
|
1177
|
-
if (importedNode.nodeType ===
|
|
1343
|
+
if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === "BODY") {
|
|
1178
1344
|
body = importedNode;
|
|
1179
1345
|
} else if (importedNode.nodeName === "HTML") {
|
|
1180
1346
|
body = importedNode;
|
|
@@ -1194,21 +1360,14 @@ function createDOMPurify() {
|
|
|
1194
1360
|
if (body && FORCE_BODY) {
|
|
1195
1361
|
_forceRemove(body.firstChild);
|
|
1196
1362
|
}
|
|
1197
|
-
|
|
1363
|
+
const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body);
|
|
1198
1364
|
while (currentNode = nodeIterator.nextNode()) {
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
}
|
|
1202
|
-
if (_sanitizeElements(currentNode)) {
|
|
1203
|
-
continue;
|
|
1204
|
-
}
|
|
1365
|
+
_sanitizeElements(currentNode);
|
|
1366
|
+
_sanitizeAttributes(currentNode);
|
|
1205
1367
|
if (currentNode.content instanceof DocumentFragment) {
|
|
1206
1368
|
_sanitizeShadowDOM(currentNode.content);
|
|
1207
1369
|
}
|
|
1208
|
-
_sanitizeAttributes(currentNode);
|
|
1209
|
-
oldNode = currentNode;
|
|
1210
1370
|
}
|
|
1211
|
-
oldNode = null;
|
|
1212
1371
|
if (IN_PLACE) {
|
|
1213
1372
|
return dirty;
|
|
1214
1373
|
}
|
|
@@ -1221,22 +1380,24 @@ function createDOMPurify() {
|
|
|
1221
1380
|
} else {
|
|
1222
1381
|
returnNode = body;
|
|
1223
1382
|
}
|
|
1224
|
-
if (ALLOWED_ATTR.shadowroot) {
|
|
1383
|
+
if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmode) {
|
|
1225
1384
|
returnNode = importNode.call(originalDocument, returnNode, true);
|
|
1226
1385
|
}
|
|
1227
1386
|
return returnNode;
|
|
1228
1387
|
}
|
|
1229
|
-
|
|
1388
|
+
let serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;
|
|
1230
1389
|
if (WHOLE_DOCUMENT && ALLOWED_TAGS["!doctype"] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {
|
|
1231
1390
|
serializedHTML = "<!DOCTYPE " + body.ownerDocument.doctype.name + ">\n" + serializedHTML;
|
|
1232
1391
|
}
|
|
1233
1392
|
if (SAFE_FOR_TEMPLATES) {
|
|
1234
|
-
|
|
1235
|
-
|
|
1393
|
+
arrayForEach([MUSTACHE_EXPR2, ERB_EXPR2, TMPLIT_EXPR2], (expr) => {
|
|
1394
|
+
serializedHTML = stringReplace(serializedHTML, expr, " ");
|
|
1395
|
+
});
|
|
1236
1396
|
}
|
|
1237
1397
|
return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;
|
|
1238
1398
|
};
|
|
1239
|
-
DOMPurify.setConfig = function(
|
|
1399
|
+
DOMPurify.setConfig = function() {
|
|
1400
|
+
let cfg = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1240
1401
|
_parseConfig(cfg);
|
|
1241
1402
|
SET_CONFIG = true;
|
|
1242
1403
|
};
|
|
@@ -1248,35 +1409,34 @@ function createDOMPurify() {
|
|
|
1248
1409
|
if (!CONFIG) {
|
|
1249
1410
|
_parseConfig({});
|
|
1250
1411
|
}
|
|
1251
|
-
|
|
1252
|
-
|
|
1412
|
+
const lcTag = transformCaseFunc(tag);
|
|
1413
|
+
const lcName = transformCaseFunc(attr);
|
|
1253
1414
|
return _isValidAttribute(lcTag, lcName, value);
|
|
1254
1415
|
};
|
|
1255
1416
|
DOMPurify.addHook = function(entryPoint, hookFunction) {
|
|
1256
1417
|
if (typeof hookFunction !== "function") {
|
|
1257
1418
|
return;
|
|
1258
1419
|
}
|
|
1259
|
-
hooks[entryPoint] = hooks[entryPoint] || [];
|
|
1260
1420
|
arrayPush$3(hooks[entryPoint], hookFunction);
|
|
1261
1421
|
};
|
|
1262
|
-
DOMPurify.removeHook = function(entryPoint) {
|
|
1263
|
-
if (
|
|
1264
|
-
|
|
1422
|
+
DOMPurify.removeHook = function(entryPoint, hookFunction) {
|
|
1423
|
+
if (hookFunction !== void 0) {
|
|
1424
|
+
const index2 = arrayLastIndexOf(hooks[entryPoint], hookFunction);
|
|
1425
|
+
return index2 === -1 ? void 0 : arraySplice(hooks[entryPoint], index2, 1)[0];
|
|
1265
1426
|
}
|
|
1427
|
+
return arrayPop(hooks[entryPoint]);
|
|
1266
1428
|
};
|
|
1267
1429
|
DOMPurify.removeHooks = function(entryPoint) {
|
|
1268
|
-
|
|
1269
|
-
hooks[entryPoint] = [];
|
|
1270
|
-
}
|
|
1430
|
+
hooks[entryPoint] = [];
|
|
1271
1431
|
};
|
|
1272
1432
|
DOMPurify.removeAllHooks = function() {
|
|
1273
|
-
hooks =
|
|
1433
|
+
hooks = _createHooksMap();
|
|
1274
1434
|
};
|
|
1275
1435
|
return DOMPurify;
|
|
1276
1436
|
}
|
|
1277
1437
|
var purify = createDOMPurify();
|
|
1278
1438
|
const purifyConfig = { FORBID_TAGS: ["img"] };
|
|
1279
|
-
if (typeof purify.addHook === "function") {
|
|
1439
|
+
if (typeof purify.addHook === "function" && typeof document !== "undefined" && document.createElement) {
|
|
1280
1440
|
purify.addHook("uponSanitizeElement", (node, data) => {
|
|
1281
1441
|
if (/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(data.tagName)) {
|
|
1282
1442
|
const tag = document.createElement("span");
|
|
@@ -1286,6 +1446,8 @@ if (typeof purify.addHook === "function") {
|
|
|
1286
1446
|
});
|
|
1287
1447
|
}
|
|
1288
1448
|
function xssPurify(str) {
|
|
1449
|
+
if (typeof window === "undefined")
|
|
1450
|
+
return str;
|
|
1289
1451
|
return purify.sanitize(str, purifyConfig);
|
|
1290
1452
|
}
|
|
1291
1453
|
const highlightWords = (Word, title, inherit) => {
|
|
@@ -1395,7 +1557,7 @@ function init(converter, defaultAttributes) {
|
|
|
1395
1557
|
}
|
|
1396
1558
|
var api = init(defaultConverter, { path: "/" });
|
|
1397
1559
|
/*!
|
|
1398
|
-
* shared v9.14.
|
|
1560
|
+
* shared v9.14.4
|
|
1399
1561
|
* (c) 2025 kazuya kawaguchi
|
|
1400
1562
|
* Released under the MIT License.
|
|
1401
1563
|
*/
|
|
@@ -1569,7 +1731,7 @@ function deepCopy(src, des) {
|
|
|
1569
1731
|
}
|
|
1570
1732
|
}
|
|
1571
1733
|
/*!
|
|
1572
|
-
* message-compiler v9.14.
|
|
1734
|
+
* message-compiler v9.14.4
|
|
1573
1735
|
* (c) 2025 kazuya kawaguchi
|
|
1574
1736
|
* Released under the MIT License.
|
|
1575
1737
|
*/
|
|
@@ -1759,7 +1921,7 @@ const DOT = ".";
|
|
|
1759
1921
|
const LITERAL_DELIMITER = "'";
|
|
1760
1922
|
const ERROR_DOMAIN$3 = "tokenizer";
|
|
1761
1923
|
function createTokenizer(source, options = {}) {
|
|
1762
|
-
const
|
|
1924
|
+
const location = options.location !== false;
|
|
1763
1925
|
const _scnr = createScanner(source);
|
|
1764
1926
|
const currentOffset = () => _scnr.index();
|
|
1765
1927
|
const currentPosition = () => createPosition(_scnr.line(), _scnr.column(), _scnr.index());
|
|
@@ -1785,7 +1947,7 @@ function createTokenizer(source, options = {}) {
|
|
|
1785
1947
|
pos.column += offset;
|
|
1786
1948
|
pos.offset += offset;
|
|
1787
1949
|
if (onError) {
|
|
1788
|
-
const loc =
|
|
1950
|
+
const loc = location ? createLocation(ctx.startLoc, pos) : null;
|
|
1789
1951
|
const err = createCompileError(code2, loc, {
|
|
1790
1952
|
domain: ERROR_DOMAIN$3,
|
|
1791
1953
|
args
|
|
@@ -1797,7 +1959,7 @@ function createTokenizer(source, options = {}) {
|
|
|
1797
1959
|
context2.endLoc = currentPosition();
|
|
1798
1960
|
context2.currentType = type;
|
|
1799
1961
|
const token = { type };
|
|
1800
|
-
if (
|
|
1962
|
+
if (location) {
|
|
1801
1963
|
token.loc = createLocation(context2.startLoc, context2.endLoc);
|
|
1802
1964
|
}
|
|
1803
1965
|
if (value != null) {
|
|
@@ -2440,14 +2602,14 @@ function fromEscapeSequence(match, codePoint4, codePoint6) {
|
|
|
2440
2602
|
}
|
|
2441
2603
|
}
|
|
2442
2604
|
function createParser(options = {}) {
|
|
2443
|
-
const
|
|
2605
|
+
const location = options.location !== false;
|
|
2444
2606
|
const { onError, onWarn } = options;
|
|
2445
2607
|
function emitError(tokenzer, code2, start, offset, ...args) {
|
|
2446
2608
|
const end = tokenzer.currentPosition();
|
|
2447
2609
|
end.offset += offset;
|
|
2448
2610
|
end.column += offset;
|
|
2449
2611
|
if (onError) {
|
|
2450
|
-
const loc =
|
|
2612
|
+
const loc = location ? createLocation(start, end) : null;
|
|
2451
2613
|
const err = createCompileError(code2, loc, {
|
|
2452
2614
|
domain: ERROR_DOMAIN$2,
|
|
2453
2615
|
args
|
|
@@ -2460,13 +2622,13 @@ function createParser(options = {}) {
|
|
|
2460
2622
|
end.offset += offset;
|
|
2461
2623
|
end.column += offset;
|
|
2462
2624
|
if (onWarn) {
|
|
2463
|
-
const loc =
|
|
2625
|
+
const loc = location ? createLocation(start, end) : null;
|
|
2464
2626
|
onWarn(createCompileWarn(code2, loc, args));
|
|
2465
2627
|
}
|
|
2466
2628
|
}
|
|
2467
2629
|
function startNode(type, offset, loc) {
|
|
2468
2630
|
const node = { type };
|
|
2469
|
-
if (
|
|
2631
|
+
if (location) {
|
|
2470
2632
|
node.start = offset;
|
|
2471
2633
|
node.end = offset;
|
|
2472
2634
|
node.loc = { start: loc, end: loc };
|
|
@@ -2477,7 +2639,7 @@ function createParser(options = {}) {
|
|
|
2477
2639
|
if (type) {
|
|
2478
2640
|
node.type = type;
|
|
2479
2641
|
}
|
|
2480
|
-
if (
|
|
2642
|
+
if (location) {
|
|
2481
2643
|
node.end = offset;
|
|
2482
2644
|
if (node.loc) {
|
|
2483
2645
|
node.loc.end = pos;
|
|
@@ -2700,7 +2862,7 @@ function createParser(options = {}) {
|
|
|
2700
2862
|
const tokenizer = createTokenizer(source, assign({}, options));
|
|
2701
2863
|
const context = tokenizer.context();
|
|
2702
2864
|
const node = startNode(0, context.offset, context.startLoc);
|
|
2703
|
-
if (
|
|
2865
|
+
if (location && node.loc) {
|
|
2704
2866
|
node.loc.source = source;
|
|
2705
2867
|
}
|
|
2706
2868
|
node.body = parseResource(tokenizer);
|
|
@@ -2917,7 +3079,7 @@ function minify(node) {
|
|
|
2917
3079
|
const ERROR_DOMAIN = "parser";
|
|
2918
3080
|
function createCodeGenerator(ast, options) {
|
|
2919
3081
|
const { sourceMap, filename, breakLineCode, needIndent: _needIndent } = options;
|
|
2920
|
-
const
|
|
3082
|
+
const location = options.location !== false;
|
|
2921
3083
|
const _context = {
|
|
2922
3084
|
filename,
|
|
2923
3085
|
code: "",
|
|
@@ -2929,7 +3091,7 @@ function createCodeGenerator(ast, options) {
|
|
|
2929
3091
|
needIndent: _needIndent,
|
|
2930
3092
|
indentLevel: 0
|
|
2931
3093
|
};
|
|
2932
|
-
if (
|
|
3094
|
+
if (location && ast.loc) {
|
|
2933
3095
|
_context.source = ast.loc.source;
|
|
2934
3096
|
}
|
|
2935
3097
|
const context = () => _context;
|
|
@@ -3127,7 +3289,7 @@ function baseCompile$1(source, options = {}) {
|
|
|
3127
3289
|
}
|
|
3128
3290
|
}
|
|
3129
3291
|
/*!
|
|
3130
|
-
* core-base v9.14.
|
|
3292
|
+
* core-base v9.14.4
|
|
3131
3293
|
* (c) 2025 kazuya kawaguchi
|
|
3132
3294
|
* Released under the MIT License.
|
|
3133
3295
|
*/
|
|
@@ -3142,6 +3304,76 @@ function initFeatureFlags$1() {
|
|
|
3142
3304
|
getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__ = false;
|
|
3143
3305
|
}
|
|
3144
3306
|
}
|
|
3307
|
+
function isMessageAST(val) {
|
|
3308
|
+
return isObject$b(val) && resolveType(val) === 0 && (hasOwn(val, "b") || hasOwn(val, "body"));
|
|
3309
|
+
}
|
|
3310
|
+
const PROPS_BODY = ["b", "body"];
|
|
3311
|
+
function resolveBody(node) {
|
|
3312
|
+
return resolveProps(node, PROPS_BODY);
|
|
3313
|
+
}
|
|
3314
|
+
const PROPS_CASES = ["c", "cases"];
|
|
3315
|
+
function resolveCases(node) {
|
|
3316
|
+
return resolveProps(node, PROPS_CASES, []);
|
|
3317
|
+
}
|
|
3318
|
+
const PROPS_STATIC = ["s", "static"];
|
|
3319
|
+
function resolveStatic(node) {
|
|
3320
|
+
return resolveProps(node, PROPS_STATIC);
|
|
3321
|
+
}
|
|
3322
|
+
const PROPS_ITEMS = ["i", "items"];
|
|
3323
|
+
function resolveItems(node) {
|
|
3324
|
+
return resolveProps(node, PROPS_ITEMS, []);
|
|
3325
|
+
}
|
|
3326
|
+
const PROPS_TYPE = ["t", "type"];
|
|
3327
|
+
function resolveType(node) {
|
|
3328
|
+
return resolveProps(node, PROPS_TYPE);
|
|
3329
|
+
}
|
|
3330
|
+
const PROPS_VALUE = ["v", "value"];
|
|
3331
|
+
function resolveValue$1(node, type) {
|
|
3332
|
+
const resolved = resolveProps(node, PROPS_VALUE);
|
|
3333
|
+
if (resolved != null) {
|
|
3334
|
+
return resolved;
|
|
3335
|
+
} else {
|
|
3336
|
+
throw createUnhandleNodeError(type);
|
|
3337
|
+
}
|
|
3338
|
+
}
|
|
3339
|
+
const PROPS_MODIFIER = ["m", "modifier"];
|
|
3340
|
+
function resolveLinkedModifier(node) {
|
|
3341
|
+
return resolveProps(node, PROPS_MODIFIER);
|
|
3342
|
+
}
|
|
3343
|
+
const PROPS_KEY = ["k", "key"];
|
|
3344
|
+
function resolveLinkedKey(node) {
|
|
3345
|
+
const resolved = resolveProps(node, PROPS_KEY);
|
|
3346
|
+
if (resolved) {
|
|
3347
|
+
return resolved;
|
|
3348
|
+
} else {
|
|
3349
|
+
throw createUnhandleNodeError(
|
|
3350
|
+
6
|
|
3351
|
+
/* NodeTypes.Linked */
|
|
3352
|
+
);
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
function resolveProps(node, props, defaultValue) {
|
|
3356
|
+
for (let i = 0; i < props.length; i++) {
|
|
3357
|
+
const prop = props[i];
|
|
3358
|
+
if (hasOwn(node, prop) && node[prop] != null) {
|
|
3359
|
+
return node[prop];
|
|
3360
|
+
}
|
|
3361
|
+
}
|
|
3362
|
+
return defaultValue;
|
|
3363
|
+
}
|
|
3364
|
+
const AST_NODE_PROPS_KEYS = [
|
|
3365
|
+
...PROPS_BODY,
|
|
3366
|
+
...PROPS_CASES,
|
|
3367
|
+
...PROPS_STATIC,
|
|
3368
|
+
...PROPS_ITEMS,
|
|
3369
|
+
...PROPS_KEY,
|
|
3370
|
+
...PROPS_MODIFIER,
|
|
3371
|
+
...PROPS_VALUE,
|
|
3372
|
+
...PROPS_TYPE
|
|
3373
|
+
];
|
|
3374
|
+
function createUnhandleNodeError(type) {
|
|
3375
|
+
return new Error(`unhandled node type: ${type}`);
|
|
3376
|
+
}
|
|
3145
3377
|
const pathStateMachine = [];
|
|
3146
3378
|
pathStateMachine[
|
|
3147
3379
|
0
|
|
@@ -3548,7 +3780,7 @@ const cache = /* @__PURE__ */ new Map();
|
|
|
3548
3780
|
function resolveWithKeyValue(obj, path) {
|
|
3549
3781
|
return isObject$b(obj) ? obj[path] : null;
|
|
3550
3782
|
}
|
|
3551
|
-
function resolveValue
|
|
3783
|
+
function resolveValue(obj, path) {
|
|
3552
3784
|
if (!isObject$b(obj)) {
|
|
3553
3785
|
return null;
|
|
3554
3786
|
}
|
|
@@ -3566,7 +3798,11 @@ function resolveValue$1(obj, path) {
|
|
|
3566
3798
|
let last = obj;
|
|
3567
3799
|
let i = 0;
|
|
3568
3800
|
while (i < len) {
|
|
3569
|
-
const
|
|
3801
|
+
const key = hit[i];
|
|
3802
|
+
if (AST_NODE_PROPS_KEYS.includes(key) && isMessageAST(last)) {
|
|
3803
|
+
return null;
|
|
3804
|
+
}
|
|
3805
|
+
const val = last[key];
|
|
3570
3806
|
if (val === void 0) {
|
|
3571
3807
|
return null;
|
|
3572
3808
|
}
|
|
@@ -3860,7 +4096,7 @@ function appendItemToChain(chain, target, blocks) {
|
|
|
3860
4096
|
}
|
|
3861
4097
|
return follow;
|
|
3862
4098
|
}
|
|
3863
|
-
const VERSION$2 = "9.14.
|
|
4099
|
+
const VERSION$2 = "9.14.4";
|
|
3864
4100
|
const NOT_REOSLVED = -1;
|
|
3865
4101
|
const DEFAULT_LOCALE = "en-US";
|
|
3866
4102
|
const MISSING_RESOLVE_VALUE = "";
|
|
@@ -4047,14 +4283,6 @@ function formatParts(ctx, ast) {
|
|
|
4047
4283
|
return formatMessageParts(ctx, body);
|
|
4048
4284
|
}
|
|
4049
4285
|
}
|
|
4050
|
-
const PROPS_BODY = ["b", "body"];
|
|
4051
|
-
function resolveBody(node) {
|
|
4052
|
-
return resolveProps(node, PROPS_BODY);
|
|
4053
|
-
}
|
|
4054
|
-
const PROPS_CASES = ["c", "cases"];
|
|
4055
|
-
function resolveCases(node) {
|
|
4056
|
-
return resolveProps(node, PROPS_CASES, []);
|
|
4057
|
-
}
|
|
4058
4286
|
function formatMessageParts(ctx, node) {
|
|
4059
4287
|
const static_ = resolveStatic(node);
|
|
4060
4288
|
if (static_ != null) {
|
|
@@ -4064,22 +4292,14 @@ function formatMessageParts(ctx, node) {
|
|
|
4064
4292
|
return ctx.normalize(messages);
|
|
4065
4293
|
}
|
|
4066
4294
|
}
|
|
4067
|
-
const PROPS_STATIC = ["s", "static"];
|
|
4068
|
-
function resolveStatic(node) {
|
|
4069
|
-
return resolveProps(node, PROPS_STATIC);
|
|
4070
|
-
}
|
|
4071
|
-
const PROPS_ITEMS = ["i", "items"];
|
|
4072
|
-
function resolveItems(node) {
|
|
4073
|
-
return resolveProps(node, PROPS_ITEMS, []);
|
|
4074
|
-
}
|
|
4075
4295
|
function formatMessagePart(ctx, node) {
|
|
4076
4296
|
const type = resolveType(node);
|
|
4077
4297
|
switch (type) {
|
|
4078
4298
|
case 3: {
|
|
4079
|
-
return resolveValue(node, type);
|
|
4299
|
+
return resolveValue$1(node, type);
|
|
4080
4300
|
}
|
|
4081
4301
|
case 9: {
|
|
4082
|
-
return resolveValue(node, type);
|
|
4302
|
+
return resolveValue$1(node, type);
|
|
4083
4303
|
}
|
|
4084
4304
|
case 4: {
|
|
4085
4305
|
const named = node;
|
|
@@ -4108,56 +4328,15 @@ function formatMessagePart(ctx, node) {
|
|
|
4108
4328
|
return ctx.linked(formatMessagePart(ctx, key), modifier ? formatMessagePart(ctx, modifier) : void 0, ctx.type);
|
|
4109
4329
|
}
|
|
4110
4330
|
case 7: {
|
|
4111
|
-
return resolveValue(node, type);
|
|
4331
|
+
return resolveValue$1(node, type);
|
|
4112
4332
|
}
|
|
4113
4333
|
case 8: {
|
|
4114
|
-
return resolveValue(node, type);
|
|
4334
|
+
return resolveValue$1(node, type);
|
|
4115
4335
|
}
|
|
4116
4336
|
default:
|
|
4117
4337
|
throw new Error(`unhandled node on format message part: ${type}`);
|
|
4118
4338
|
}
|
|
4119
4339
|
}
|
|
4120
|
-
const PROPS_TYPE = ["t", "type"];
|
|
4121
|
-
function resolveType(node) {
|
|
4122
|
-
return resolveProps(node, PROPS_TYPE);
|
|
4123
|
-
}
|
|
4124
|
-
const PROPS_VALUE = ["v", "value"];
|
|
4125
|
-
function resolveValue(node, type) {
|
|
4126
|
-
const resolved = resolveProps(node, PROPS_VALUE);
|
|
4127
|
-
if (resolved) {
|
|
4128
|
-
return resolved;
|
|
4129
|
-
} else {
|
|
4130
|
-
throw createUnhandleNodeError(type);
|
|
4131
|
-
}
|
|
4132
|
-
}
|
|
4133
|
-
const PROPS_MODIFIER = ["m", "modifier"];
|
|
4134
|
-
function resolveLinkedModifier(node) {
|
|
4135
|
-
return resolveProps(node, PROPS_MODIFIER);
|
|
4136
|
-
}
|
|
4137
|
-
const PROPS_KEY = ["k", "key"];
|
|
4138
|
-
function resolveLinkedKey(node) {
|
|
4139
|
-
const resolved = resolveProps(node, PROPS_KEY);
|
|
4140
|
-
if (resolved) {
|
|
4141
|
-
return resolved;
|
|
4142
|
-
} else {
|
|
4143
|
-
throw createUnhandleNodeError(
|
|
4144
|
-
6
|
|
4145
|
-
/* NodeTypes.Linked */
|
|
4146
|
-
);
|
|
4147
|
-
}
|
|
4148
|
-
}
|
|
4149
|
-
function resolveProps(node, props, defaultValue) {
|
|
4150
|
-
for (let i = 0; i < props.length; i++) {
|
|
4151
|
-
const prop = props[i];
|
|
4152
|
-
if (hasOwn(node, prop) && node[prop] != null) {
|
|
4153
|
-
return node[prop];
|
|
4154
|
-
}
|
|
4155
|
-
}
|
|
4156
|
-
return defaultValue;
|
|
4157
|
-
}
|
|
4158
|
-
function createUnhandleNodeError(type) {
|
|
4159
|
-
return new Error(`unhandled node type: ${type}`);
|
|
4160
|
-
}
|
|
4161
4340
|
const WARN_MESSAGE = `Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.`;
|
|
4162
4341
|
function checkHtmlMessage(source, warnHtmlMessage) {
|
|
4163
4342
|
if (warnHtmlMessage && detectHtmlTag(source)) {
|
|
@@ -4173,9 +4352,6 @@ reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-forma
|
|
|
4173
4352
|
(message compiler warning message: ${_warn.message})`);
|
|
4174
4353
|
}
|
|
4175
4354
|
}
|
|
4176
|
-
function isMessageAST(val) {
|
|
4177
|
-
return isObject$b(val) && resolveType(val) === 0 && (hasOwn(val, "b") || hasOwn(val, "body"));
|
|
4178
|
-
}
|
|
4179
4355
|
function baseCompile(message, options = {}) {
|
|
4180
4356
|
let detectError = false;
|
|
4181
4357
|
const onError = options.onError || defaultOnError;
|
|
@@ -5004,11 +5180,11 @@ function setupDevtoolsPlugin(pluginDescriptor, setupFn) {
|
|
|
5004
5180
|
}
|
|
5005
5181
|
}
|
|
5006
5182
|
/*!
|
|
5007
|
-
* vue-i18n v9.14.
|
|
5183
|
+
* vue-i18n v9.14.4
|
|
5008
5184
|
* (c) 2025 kazuya kawaguchi
|
|
5009
5185
|
* Released under the MIT License.
|
|
5010
5186
|
*/
|
|
5011
|
-
const VERSION$1 = "9.14.
|
|
5187
|
+
const VERSION$1 = "9.14.4";
|
|
5012
5188
|
function initFeatureFlags() {
|
|
5013
5189
|
if (typeof __VUE_I18N_FULL_INSTALL__ !== "boolean") {
|
|
5014
5190
|
getGlobalThis().__VUE_I18N_FULL_INSTALL__ = true;
|
|
@@ -5141,6 +5317,9 @@ function handleFlatJson(obj) {
|
|
|
5141
5317
|
if (!isObject$b(obj)) {
|
|
5142
5318
|
return obj;
|
|
5143
5319
|
}
|
|
5320
|
+
if (isMessageAST(obj)) {
|
|
5321
|
+
return obj;
|
|
5322
|
+
}
|
|
5144
5323
|
for (const key in obj) {
|
|
5145
5324
|
if (!hasOwn(obj, key)) {
|
|
5146
5325
|
continue;
|
|
@@ -5171,11 +5350,20 @@ function handleFlatJson(obj) {
|
|
|
5171
5350
|
currentObj = currentObj[subKeys[i]];
|
|
5172
5351
|
}
|
|
5173
5352
|
if (!hasStringValue) {
|
|
5174
|
-
currentObj
|
|
5175
|
-
|
|
5353
|
+
if (!isMessageAST(currentObj)) {
|
|
5354
|
+
currentObj[subKeys[lastIndex]] = obj[key];
|
|
5355
|
+
delete obj[key];
|
|
5356
|
+
} else {
|
|
5357
|
+
if (!AST_NODE_PROPS_KEYS.includes(subKeys[lastIndex])) {
|
|
5358
|
+
delete obj[key];
|
|
5359
|
+
}
|
|
5360
|
+
}
|
|
5176
5361
|
}
|
|
5177
|
-
if (
|
|
5178
|
-
|
|
5362
|
+
if (!isMessageAST(currentObj)) {
|
|
5363
|
+
const target = currentObj[subKeys[lastIndex]];
|
|
5364
|
+
if (isObject$b(target)) {
|
|
5365
|
+
handleFlatJson(target);
|
|
5366
|
+
}
|
|
5179
5367
|
}
|
|
5180
5368
|
}
|
|
5181
5369
|
}
|
|
@@ -5265,7 +5453,7 @@ function createComposer(options = {}, VueI18nLegacy) {
|
|
|
5265
5453
|
const { __root, __injectWithOption } = options;
|
|
5266
5454
|
const _isGlobal = __root === void 0;
|
|
5267
5455
|
const flatJson = options.flatJson;
|
|
5268
|
-
const
|
|
5456
|
+
const _ref = inBrowser ? ref : shallowRef;
|
|
5269
5457
|
const translateExistCompatible = !!options.translateExistCompatible;
|
|
5270
5458
|
if (process.env.NODE_ENV !== "production") {
|
|
5271
5459
|
if (translateExistCompatible && true) {
|
|
@@ -5273,17 +5461,17 @@ function createComposer(options = {}, VueI18nLegacy) {
|
|
|
5273
5461
|
}
|
|
5274
5462
|
}
|
|
5275
5463
|
let _inheritLocale = isBoolean$1(options.inheritLocale) ? options.inheritLocale : true;
|
|
5276
|
-
const _locale =
|
|
5464
|
+
const _locale = _ref(
|
|
5277
5465
|
// prettier-ignore
|
|
5278
5466
|
__root && _inheritLocale ? __root.locale.value : isString$2(options.locale) ? options.locale : DEFAULT_LOCALE
|
|
5279
5467
|
);
|
|
5280
|
-
const _fallbackLocale =
|
|
5468
|
+
const _fallbackLocale = _ref(
|
|
5281
5469
|
// prettier-ignore
|
|
5282
5470
|
__root && _inheritLocale ? __root.fallbackLocale.value : isString$2(options.fallbackLocale) || isArray$5(options.fallbackLocale) || isPlainObject$1(options.fallbackLocale) || options.fallbackLocale === false ? options.fallbackLocale : _locale.value
|
|
5283
5471
|
);
|
|
5284
|
-
const _messages =
|
|
5285
|
-
const _datetimeFormats =
|
|
5286
|
-
const _numberFormats =
|
|
5472
|
+
const _messages = _ref(getLocaleMessages(_locale.value, options));
|
|
5473
|
+
const _datetimeFormats = _ref(isPlainObject$1(options.datetimeFormats) ? options.datetimeFormats : { [_locale.value]: {} });
|
|
5474
|
+
const _numberFormats = _ref(isPlainObject$1(options.numberFormats) ? options.numberFormats : { [_locale.value]: {} });
|
|
5287
5475
|
let _missingWarn = __root ? __root.missingWarn : isBoolean$1(options.missingWarn) || isRegExp$1(options.missingWarn) ? options.missingWarn : true;
|
|
5288
5476
|
let _fallbackWarn = __root ? __root.fallbackWarn : isBoolean$1(options.fallbackWarn) || isRegExp$1(options.fallbackWarn) ? options.fallbackWarn : true;
|
|
5289
5477
|
let _fallbackRoot = __root ? __root.fallbackRoot : isBoolean$1(options.fallbackRoot) ? options.fallbackRoot : true;
|
|
@@ -7367,7 +7555,7 @@ if (__INTLIFY_JIT_COMPILATION__) {
|
|
|
7367
7555
|
} else {
|
|
7368
7556
|
registerMessageCompiler(compileToFunction);
|
|
7369
7557
|
}
|
|
7370
|
-
registerMessageResolver(resolveValue
|
|
7558
|
+
registerMessageResolver(resolveValue);
|
|
7371
7559
|
registerLocaleFallbacker(fallbackWithLocaleChain);
|
|
7372
7560
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
7373
7561
|
const target = getGlobalThis();
|
|
@@ -7942,7 +8130,9 @@ function setLocale(i18n2, locale2) {
|
|
|
7942
8130
|
}
|
|
7943
8131
|
}
|
|
7944
8132
|
function setupI18n(options = { locale: LANG_EN }) {
|
|
7945
|
-
document.documentElement
|
|
8133
|
+
if (typeof document !== "undefined" && document.documentElement) {
|
|
8134
|
+
document.documentElement.lang = options.locale;
|
|
8135
|
+
}
|
|
7946
8136
|
const i18n2 = createI18n(options);
|
|
7947
8137
|
setI18nLanguage(i18n2, options.locale);
|
|
7948
8138
|
return i18n2;
|
|
@@ -7951,11 +8141,14 @@ function setI18nLanguage(i18n2, locale2) {
|
|
|
7951
8141
|
setLocale(i18n2, locale2);
|
|
7952
8142
|
}
|
|
7953
8143
|
const getLocaleLang = () => {
|
|
7954
|
-
let localLang = localStorage.getItem(LANG_KEY);
|
|
7955
|
-
if (location.pathname.startsWith("/ai-copilot")) {
|
|
8144
|
+
let localLang = localStorage$2.getItem(LANG_KEY);
|
|
8145
|
+
if (typeof window !== "undefined" && window.location.pathname.startsWith("/ai-copilot")) {
|
|
7956
8146
|
localLang = LANG_ZH;
|
|
7957
8147
|
}
|
|
7958
|
-
|
|
8148
|
+
let navigatorLang = LANG_EN;
|
|
8149
|
+
if (typeof window !== "undefined" && window.navigator) {
|
|
8150
|
+
navigatorLang = window.navigator.language.includes(LANG_ZH) ? LANG_ZH : LANG_EN;
|
|
8151
|
+
}
|
|
7959
8152
|
const lang = localLang ?? navigatorLang;
|
|
7960
8153
|
return lang;
|
|
7961
8154
|
};
|
|
@@ -7972,17 +8165,19 @@ const $i18n = setupI18n({
|
|
|
7972
8165
|
const i18n = $i18n;
|
|
7973
8166
|
const layoutConfig$4 = useLayoutConfig();
|
|
7974
8167
|
function scrollToTop() {
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
|
|
8168
|
+
if (typeof window !== "undefined" && window.pageYOffset) {
|
|
8169
|
+
const c = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop;
|
|
8170
|
+
if (c > 0) {
|
|
8171
|
+
window.requestAnimationFrame(scrollToTop);
|
|
8172
|
+
window.scrollTo(0, c - c / 8);
|
|
8173
|
+
}
|
|
7979
8174
|
}
|
|
7980
8175
|
}
|
|
7981
8176
|
const handleAvatarRedPoint = (type, other) => {
|
|
7982
8177
|
if (type === CLICK_TIME_MODULE.GROWTH_CENTER) {
|
|
7983
8178
|
const dateString = (/* @__PURE__ */ new Date()).toLocaleDateString("zh-CN");
|
|
7984
|
-
localStorage.setItem(AVATAR_VISITED_DATE, dateString);
|
|
7985
|
-
localStorage.setItem(AVATAR_VISITED_USERNAME, other);
|
|
8179
|
+
localStorage$2.setItem(AVATAR_VISITED_DATE, dateString);
|
|
8180
|
+
localStorage$2.setItem(AVATAR_VISITED_USERNAME, other);
|
|
7986
8181
|
}
|
|
7987
8182
|
};
|
|
7988
8183
|
function extractRepoInfoWithURL(repoUrl) {
|
|
@@ -8064,7 +8259,7 @@ const getUtmSourceSign = () => {
|
|
|
8064
8259
|
};
|
|
8065
8260
|
function removeIsLoginParam(url) {
|
|
8066
8261
|
const isAbsolute = url.startsWith("http");
|
|
8067
|
-
const fullUrl = isAbsolute ? url : `${location.origin}${url}`;
|
|
8262
|
+
const fullUrl = isAbsolute ? url : `${window.location.origin}${url}`;
|
|
8068
8263
|
const urlObj = new URL(fullUrl);
|
|
8069
8264
|
urlObj.searchParams.delete("isLogin");
|
|
8070
8265
|
return urlObj.toString();
|
|
@@ -8115,6 +8310,7 @@ function bind(fn, thisArg) {
|
|
|
8115
8310
|
}
|
|
8116
8311
|
const { toString } = Object.prototype;
|
|
8117
8312
|
const { getPrototypeOf } = Object;
|
|
8313
|
+
const { iterator, toStringTag } = Symbol;
|
|
8118
8314
|
const kindOf = ((cache2) => (thing) => {
|
|
8119
8315
|
const str = toString.call(thing);
|
|
8120
8316
|
return cache2[str] || (cache2[str] = str.slice(8, -1).toLowerCase());
|
|
@@ -8149,7 +8345,7 @@ const isPlainObject = (val) => {
|
|
|
8149
8345
|
return false;
|
|
8150
8346
|
}
|
|
8151
8347
|
const prototype2 = getPrototypeOf(val);
|
|
8152
|
-
return (prototype2 === null || prototype2 === Object.prototype || Object.getPrototypeOf(prototype2) === null) && !(
|
|
8348
|
+
return (prototype2 === null || prototype2 === Object.prototype || Object.getPrototypeOf(prototype2) === null) && !(toStringTag in val) && !(iterator in val);
|
|
8153
8349
|
};
|
|
8154
8350
|
const isDate$2 = kindOfTest("Date");
|
|
8155
8351
|
const isFile = kindOfTest("File");
|
|
@@ -8301,10 +8497,10 @@ const isTypedArray$2 = ((TypedArray) => {
|
|
|
8301
8497
|
};
|
|
8302
8498
|
})(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
|
|
8303
8499
|
const forEachEntry = (obj, fn) => {
|
|
8304
|
-
const generator = obj && obj[
|
|
8305
|
-
const
|
|
8500
|
+
const generator = obj && obj[iterator];
|
|
8501
|
+
const _iterator = generator.call(obj);
|
|
8306
8502
|
let result2;
|
|
8307
|
-
while ((result2 =
|
|
8503
|
+
while ((result2 = _iterator.next()) && !result2.done) {
|
|
8308
8504
|
const pair = result2.value;
|
|
8309
8505
|
fn.call(obj, pair[0], pair[1]);
|
|
8310
8506
|
}
|
|
@@ -8375,7 +8571,7 @@ const toFiniteNumber = (value, defaultValue) => {
|
|
|
8375
8571
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
8376
8572
|
};
|
|
8377
8573
|
function isSpecCompliantForm(thing) {
|
|
8378
|
-
return !!(thing && isFunction$3(thing.append) && thing[
|
|
8574
|
+
return !!(thing && isFunction$3(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
|
|
8379
8575
|
}
|
|
8380
8576
|
const toJSONObject = (obj) => {
|
|
8381
8577
|
const stack = new Array(10);
|
|
@@ -8421,6 +8617,7 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
|
8421
8617
|
isFunction$3(_global.postMessage)
|
|
8422
8618
|
);
|
|
8423
8619
|
const asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
|
|
8620
|
+
const isIterable = (thing) => thing != null && isFunction$3(thing[iterator]);
|
|
8424
8621
|
const utils$1 = {
|
|
8425
8622
|
isArray: isArray$4,
|
|
8426
8623
|
isArrayBuffer,
|
|
@@ -8477,7 +8674,8 @@ const utils$1 = {
|
|
|
8477
8674
|
isAsyncFn,
|
|
8478
8675
|
isThenable,
|
|
8479
8676
|
setImmediate: _setImmediate,
|
|
8480
|
-
asap
|
|
8677
|
+
asap,
|
|
8678
|
+
isIterable
|
|
8481
8679
|
};
|
|
8482
8680
|
function AxiosError(message, code2, config, request, response) {
|
|
8483
8681
|
Error.call(this);
|
|
@@ -9107,10 +9305,15 @@ class AxiosHeaders {
|
|
|
9107
9305
|
setHeaders(header, valueOrRewrite);
|
|
9108
9306
|
} else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
9109
9307
|
setHeaders(parseHeaders(header), valueOrRewrite);
|
|
9110
|
-
} else if (utils$1.
|
|
9111
|
-
|
|
9112
|
-
|
|
9308
|
+
} else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
|
|
9309
|
+
let obj = {}, dest, key;
|
|
9310
|
+
for (const entry of header) {
|
|
9311
|
+
if (!utils$1.isArray(entry)) {
|
|
9312
|
+
throw TypeError("Object iterator must return a key-value pair");
|
|
9313
|
+
}
|
|
9314
|
+
obj[key = entry[0]] = (dest = obj[key]) ? utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]] : entry[1];
|
|
9113
9315
|
}
|
|
9316
|
+
setHeaders(obj, valueOrRewrite);
|
|
9114
9317
|
} else {
|
|
9115
9318
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
9116
9319
|
}
|
|
@@ -9214,6 +9417,9 @@ class AxiosHeaders {
|
|
|
9214
9417
|
toString() {
|
|
9215
9418
|
return Object.entries(this.toJSON()).map(([header, value]) => header + ": " + value).join("\n");
|
|
9216
9419
|
}
|
|
9420
|
+
getSetCookie() {
|
|
9421
|
+
return this.get("set-cookie") || [];
|
|
9422
|
+
}
|
|
9217
9423
|
get [Symbol.toStringTag]() {
|
|
9218
9424
|
return "AxiosHeaders";
|
|
9219
9425
|
}
|
|
@@ -9748,7 +9954,7 @@ const readStream = async function* (stream) {
|
|
|
9748
9954
|
}
|
|
9749
9955
|
};
|
|
9750
9956
|
const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
9751
|
-
const
|
|
9957
|
+
const iterator2 = readBytes(stream, chunkSize);
|
|
9752
9958
|
let bytes = 0;
|
|
9753
9959
|
let done;
|
|
9754
9960
|
let _onFinish = (e) => {
|
|
@@ -9760,7 +9966,7 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
9760
9966
|
return new ReadableStream({
|
|
9761
9967
|
async pull(controller) {
|
|
9762
9968
|
try {
|
|
9763
|
-
const { done: done2, value } = await
|
|
9969
|
+
const { done: done2, value } = await iterator2.next();
|
|
9764
9970
|
if (done2) {
|
|
9765
9971
|
_onFinish();
|
|
9766
9972
|
controller.close();
|
|
@@ -9779,7 +9985,7 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
9779
9985
|
},
|
|
9780
9986
|
cancel(reason) {
|
|
9781
9987
|
_onFinish(reason);
|
|
9782
|
-
return
|
|
9988
|
+
return iterator2.return();
|
|
9783
9989
|
}
|
|
9784
9990
|
}, {
|
|
9785
9991
|
highWaterMark: 2
|
|
@@ -9936,7 +10142,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
9936
10142
|
});
|
|
9937
10143
|
} catch (err) {
|
|
9938
10144
|
unsubscribe && unsubscribe();
|
|
9939
|
-
if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
|
|
10145
|
+
if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
|
|
9940
10146
|
throw Object.assign(
|
|
9941
10147
|
new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request),
|
|
9942
10148
|
{
|
|
@@ -10042,7 +10248,7 @@ function dispatchRequest(config) {
|
|
|
10042
10248
|
return Promise.reject(reason);
|
|
10043
10249
|
});
|
|
10044
10250
|
}
|
|
10045
|
-
const VERSION = "1.
|
|
10251
|
+
const VERSION = "1.9.0";
|
|
10046
10252
|
const validators$1 = {};
|
|
10047
10253
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
10048
10254
|
validators$1[type] = function validator2(thing) {
|
|
@@ -10108,7 +10314,7 @@ const validator = {
|
|
|
10108
10314
|
const validators = validator.validators;
|
|
10109
10315
|
class Axios {
|
|
10110
10316
|
constructor(instanceConfig) {
|
|
10111
|
-
this.defaults = instanceConfig;
|
|
10317
|
+
this.defaults = instanceConfig || {};
|
|
10112
10318
|
this.interceptors = {
|
|
10113
10319
|
request: new InterceptorManager$1(),
|
|
10114
10320
|
response: new InterceptorManager$1()
|
|
@@ -10483,11 +10689,14 @@ axios.HttpStatusCode = HttpStatusCode$1;
|
|
|
10483
10689
|
axios.default = axios;
|
|
10484
10690
|
const axios$1 = axios;
|
|
10485
10691
|
function isPhone() {
|
|
10486
|
-
|
|
10487
|
-
|
|
10692
|
+
if (typeof window !== "undefined" && window.navigator) {
|
|
10693
|
+
const flag = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent);
|
|
10694
|
+
return flag;
|
|
10695
|
+
}
|
|
10696
|
+
return false;
|
|
10488
10697
|
}
|
|
10489
10698
|
const getDeviceType = () => {
|
|
10490
|
-
const userAgent = navigator.userAgent || navigator.vendor || window.opera;
|
|
10699
|
+
const userAgent = (window == null ? void 0 : window.navigator.userAgent) || (window == null ? void 0 : window.navigator.vendor) || (window == null ? void 0 : window.opera);
|
|
10491
10700
|
if (/iPad/i.test(userAgent)) {
|
|
10492
10701
|
return "iPadOS";
|
|
10493
10702
|
} else if (/iPhone/i.test(userAgent)) {
|
|
@@ -10564,7 +10773,7 @@ const getOSVersion = () => {
|
|
|
10564
10773
|
return version;
|
|
10565
10774
|
};
|
|
10566
10775
|
const getNetworkType = () => {
|
|
10567
|
-
const connection = navigator.connection || navigator.mozConnection || navigator.webkitConnection;
|
|
10776
|
+
const connection = (window == null ? void 0 : window.navigator.connection) || (window == null ? void 0 : window.navigator.mozConnection) || (window == null ? void 0 : window.navigator.webkitConnection);
|
|
10568
10777
|
if (connection) {
|
|
10569
10778
|
return connection.effectiveType;
|
|
10570
10779
|
} else {
|
|
@@ -10617,7 +10826,7 @@ const proxyService = (params, customConfigs) => {
|
|
|
10617
10826
|
service.interceptors.request.use(
|
|
10618
10827
|
(config) => {
|
|
10619
10828
|
var _a, _b;
|
|
10620
|
-
const access_token =
|
|
10829
|
+
const access_token = localStorage$2.getItem("access_token");
|
|
10621
10830
|
const { url } = config;
|
|
10622
10831
|
if (access_token && !notAuthorization(url)) {
|
|
10623
10832
|
config.headers.Authorization = `Bearer ${access_token}`;
|
|
@@ -10762,7 +10971,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
10762
10971
|
{ name: "gt-nps-4", title: t2("gitCodeLayout.home.bad"), index: 3 },
|
|
10763
10972
|
{ name: "gt-nps-5", title: t2("gitCodeLayout.home.veryBad"), index: 4 }
|
|
10764
10973
|
];
|
|
10765
|
-
const store = localStorage.getItem("spmStatus");
|
|
10974
|
+
const store = localStorage$2.getItem("spmStatus");
|
|
10766
10975
|
const status = store ? JSON.parse(store) : null;
|
|
10767
10976
|
if (status !== null) {
|
|
10768
10977
|
const { nps_global } = status;
|
|
@@ -10793,7 +11002,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
10793
11002
|
window.dispatchEvent(new Event("resize"));
|
|
10794
11003
|
const nextStatus = status || {};
|
|
10795
11004
|
nextStatus.nps_global = { expire: Date.now() + 864e5 * 15 };
|
|
10796
|
-
localStorage.setItem("spmStatus", JSON.stringify(nextStatus));
|
|
11005
|
+
localStorage$2.setItem("spmStatus", JSON.stringify(nextStatus));
|
|
10797
11006
|
setTimeout(() => {
|
|
10798
11007
|
npsPopVisible.value = false;
|
|
10799
11008
|
}, 500);
|
|
@@ -10807,8 +11016,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
10807
11016
|
return {};
|
|
10808
11017
|
});
|
|
10809
11018
|
const fetchAdList = async () => {
|
|
10810
|
-
const closeActive = localStorage.getItem("closeActive");
|
|
10811
|
-
const closeDate = localStorage.getItem("closeDate");
|
|
11019
|
+
const closeActive = localStorage$2.getItem("closeActive");
|
|
11020
|
+
const closeDate = localStorage$2.getItem("closeDate");
|
|
10812
11021
|
const nowDate = (/* @__PURE__ */ new Date()).toLocaleDateString("zh-CN");
|
|
10813
11022
|
if (closeActive && closeActive === "1" && closeDate === nowDate) {
|
|
10814
11023
|
return false;
|
|
@@ -10820,7 +11029,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
10820
11029
|
fetchAdList();
|
|
10821
11030
|
const handleLogin = (type) => {
|
|
10822
11031
|
emitEvent("login", { type, triggerType: activeAdItem.value.title });
|
|
10823
|
-
localStorage.setItem("sign_path", location.href);
|
|
11032
|
+
(window == null ? void 0 : window.location.href) && localStorage$2.setItem("sign_path", window == null ? void 0 : window.location.href);
|
|
10824
11033
|
};
|
|
10825
11034
|
const handleActive = () => {
|
|
10826
11035
|
if (activeAdJson.value) {
|
|
@@ -10840,14 +11049,16 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
10840
11049
|
ad_title: activeAdItem.value.title
|
|
10841
11050
|
});
|
|
10842
11051
|
activeAdJson.value = null;
|
|
10843
|
-
localStorage.setItem("closeActive", "1");
|
|
11052
|
+
localStorage$2.setItem("closeActive", "1");
|
|
10844
11053
|
const dateString = (/* @__PURE__ */ new Date()).toLocaleDateString("zh-CN");
|
|
10845
|
-
localStorage.setItem("closeDate", dateString);
|
|
11054
|
+
localStorage$2.setItem("closeDate", dateString);
|
|
10846
11055
|
};
|
|
10847
11056
|
const showScrollToTopBtn = ref(false);
|
|
10848
11057
|
const handleScroll = () => {
|
|
10849
|
-
|
|
10850
|
-
|
|
11058
|
+
if (typeof window !== "undefined" && window.document) {
|
|
11059
|
+
const scrollTop = window.document.documentElement.scrollTop || window.document.body.scrollTop;
|
|
11060
|
+
showScrollToTopBtn.value = scrollTop > REPO_PAGE_SIZE.HEADERS_HEIGHT + REPO_PAGE_SIZE.REPO_INFO_HEIGHT;
|
|
11061
|
+
}
|
|
10851
11062
|
};
|
|
10852
11063
|
onMounted(() => {
|
|
10853
11064
|
if (isModuleVisible(ToolsFloatDisplayItem.ELSE)) {
|
|
@@ -11110,9 +11321,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
11110
11321
|
};
|
|
11111
11322
|
}
|
|
11112
11323
|
});
|
|
11113
|
-
const
|
|
11324
|
+
const index_vue_vue_type_style_index_0_scoped_1ef34c7b_lang = "";
|
|
11114
11325
|
const index_vue_vue_type_style_index_1_lang$3 = "";
|
|
11115
|
-
const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-
|
|
11326
|
+
const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-1ef34c7b"]]);
|
|
11116
11327
|
function usePopup(className, rootElement) {
|
|
11117
11328
|
const root2 = rootElement || document.getElementById("app");
|
|
11118
11329
|
let cacheClass = "popup-container";
|
|
@@ -11655,15 +11866,17 @@ const currentTheme = computed(() => {
|
|
|
11655
11866
|
return setThemeVal.value || currentThemeStorage.value || ThemeType.WHITE;
|
|
11656
11867
|
});
|
|
11657
11868
|
const setTheme = (theme2) => {
|
|
11658
|
-
setThemeVal.value = theme2 || localStorage.getItem("gitcode_theme") || ThemeType.WHITE;
|
|
11659
|
-
document
|
|
11869
|
+
setThemeVal.value = theme2 || localStorage$2.getItem("gitcode_theme") || ThemeType.WHITE;
|
|
11870
|
+
if (typeof document !== "undefined" && document.documentElement) {
|
|
11871
|
+
document.documentElement.setAttribute("data-theme", setThemeVal.value);
|
|
11872
|
+
}
|
|
11660
11873
|
};
|
|
11661
11874
|
class Theme {
|
|
11662
11875
|
constructor() {
|
|
11663
|
-
this.darkModeMediaQuery = window.matchMedia("(prefers-color-scheme: dark)");
|
|
11876
|
+
this.darkModeMediaQuery = typeof window !== "undefined" && window.matchMedia ? window.matchMedia("(prefers-color-scheme: dark)") : { matches: false, onchange: null };
|
|
11664
11877
|
}
|
|
11665
11878
|
getIsAutoTheme() {
|
|
11666
|
-
return localStorage.getItem("AutoTheme") === "AUTO";
|
|
11879
|
+
return localStorage$2.getItem("AutoTheme") === "AUTO";
|
|
11667
11880
|
}
|
|
11668
11881
|
applyTheme() {
|
|
11669
11882
|
const isAutoTheme = this.getIsAutoTheme();
|
|
@@ -11678,7 +11891,7 @@ class Theme {
|
|
|
11678
11891
|
}
|
|
11679
11892
|
}
|
|
11680
11893
|
initAutoTheme() {
|
|
11681
|
-
const defaultTheme = localStorage.getItem("gitcode_theme");
|
|
11894
|
+
const defaultTheme = localStorage$2.getItem("gitcode_theme");
|
|
11682
11895
|
if (!defaultTheme) {
|
|
11683
11896
|
this.startAutoTheme();
|
|
11684
11897
|
return;
|
|
@@ -11692,14 +11905,14 @@ class Theme {
|
|
|
11692
11905
|
}
|
|
11693
11906
|
startAutoTheme(isInit = false) {
|
|
11694
11907
|
if (!isInit) {
|
|
11695
|
-
localStorage.setItem("AutoTheme", "AUTO");
|
|
11908
|
+
localStorage$2.setItem("AutoTheme", "AUTO");
|
|
11696
11909
|
}
|
|
11697
11910
|
this.darkModeMediaQuery.onchange = () => this.applyTheme();
|
|
11698
11911
|
this.applyTheme();
|
|
11699
11912
|
}
|
|
11700
11913
|
stopAutoTheme(isInit = false) {
|
|
11701
11914
|
if (!isInit) {
|
|
11702
|
-
localStorage.removeItem("AutoTheme");
|
|
11915
|
+
localStorage$2.removeItem("AutoTheme");
|
|
11703
11916
|
}
|
|
11704
11917
|
this.darkModeMediaQuery.onchange = null;
|
|
11705
11918
|
}
|
|
@@ -14316,9 +14529,9 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
14316
14529
|
};
|
|
14317
14530
|
}
|
|
14318
14531
|
});
|
|
14319
|
-
const
|
|
14532
|
+
const AiHubMenus_vue_vue_type_style_index_0_scoped_b21e73c1_lang = "";
|
|
14320
14533
|
const AiHubMenus_vue_vue_type_style_index_1_lang = "";
|
|
14321
|
-
const AiHubMenus = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-
|
|
14534
|
+
const AiHubMenus = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-b21e73c1"]]);
|
|
14322
14535
|
const _hoisted_1$q = ["src"];
|
|
14323
14536
|
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
14324
14537
|
...{ name: "FlashTag" },
|
|
@@ -14343,9 +14556,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
14343
14556
|
return getCNDImageUrl(tagType);
|
|
14344
14557
|
});
|
|
14345
14558
|
const handleClick = () => {
|
|
14346
|
-
if (props == null ? void 0 : props.href) {
|
|
14559
|
+
if ((props == null ? void 0 : props.href) && typeof window !== "undefined") {
|
|
14347
14560
|
window.open(props.href, props.target);
|
|
14348
|
-
localStorage.setItem("GStarOrigin", props.origin || "home");
|
|
14561
|
+
localStorage$2.setItem("GStarOrigin", props.origin || "home");
|
|
14349
14562
|
}
|
|
14350
14563
|
emits("click");
|
|
14351
14564
|
};
|
|
@@ -14436,11 +14649,11 @@ function listCacheSet$1(key, value) {
|
|
|
14436
14649
|
}
|
|
14437
14650
|
var _listCacheSet = listCacheSet$1;
|
|
14438
14651
|
var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
|
|
14439
|
-
function ListCache$4(
|
|
14440
|
-
var index2 = -1, length =
|
|
14652
|
+
function ListCache$4(entries2) {
|
|
14653
|
+
var index2 = -1, length = entries2 == null ? 0 : entries2.length;
|
|
14441
14654
|
this.clear();
|
|
14442
14655
|
while (++index2 < length) {
|
|
14443
|
-
var entry =
|
|
14656
|
+
var entry = entries2[index2];
|
|
14444
14657
|
this.set(entry[0], entry[1]);
|
|
14445
14658
|
}
|
|
14446
14659
|
}
|
|
@@ -14637,11 +14850,11 @@ function hashSet$1(key, value) {
|
|
|
14637
14850
|
}
|
|
14638
14851
|
var _hashSet = hashSet$1;
|
|
14639
14852
|
var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
|
|
14640
|
-
function Hash$1(
|
|
14641
|
-
var index2 = -1, length =
|
|
14853
|
+
function Hash$1(entries2) {
|
|
14854
|
+
var index2 = -1, length = entries2 == null ? 0 : entries2.length;
|
|
14642
14855
|
this.clear();
|
|
14643
14856
|
while (++index2 < length) {
|
|
14644
|
-
var entry =
|
|
14857
|
+
var entry = entries2[index2];
|
|
14645
14858
|
this.set(entry[0], entry[1]);
|
|
14646
14859
|
}
|
|
14647
14860
|
}
|
|
@@ -14698,11 +14911,11 @@ function mapCacheSet$1(key, value) {
|
|
|
14698
14911
|
}
|
|
14699
14912
|
var _mapCacheSet = mapCacheSet$1;
|
|
14700
14913
|
var mapCacheClear = _mapCacheClear, mapCacheDelete = _mapCacheDelete, mapCacheGet = _mapCacheGet, mapCacheHas = _mapCacheHas, mapCacheSet = _mapCacheSet;
|
|
14701
|
-
function MapCache$1(
|
|
14702
|
-
var index2 = -1, length =
|
|
14914
|
+
function MapCache$1(entries2) {
|
|
14915
|
+
var index2 = -1, length = entries2 == null ? 0 : entries2.length;
|
|
14703
14916
|
this.clear();
|
|
14704
14917
|
while (++index2 < length) {
|
|
14705
|
-
var entry =
|
|
14918
|
+
var entry = entries2[index2];
|
|
14706
14919
|
this.set(entry[0], entry[1]);
|
|
14707
14920
|
}
|
|
14708
14921
|
}
|
|
@@ -14731,8 +14944,8 @@ function stackSet$1(key, value) {
|
|
|
14731
14944
|
}
|
|
14732
14945
|
var _stackSet = stackSet$1;
|
|
14733
14946
|
var ListCache = _ListCache, stackClear = _stackClear, stackDelete = _stackDelete, stackGet = _stackGet, stackHas = _stackHas, stackSet = _stackSet;
|
|
14734
|
-
function Stack$1(
|
|
14735
|
-
var data = this.__data__ = new ListCache(
|
|
14947
|
+
function Stack$1(entries2) {
|
|
14948
|
+
var data = this.__data__ = new ListCache(entries2);
|
|
14736
14949
|
this.size = data.size;
|
|
14737
14950
|
}
|
|
14738
14951
|
Stack$1.prototype.clear = stackClear;
|
|
@@ -16298,7 +16511,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
16298
16511
|
if (!topicTag.value)
|
|
16299
16512
|
return;
|
|
16300
16513
|
const aiUrl = `${layoutConfig2.VITE_AI_HOST}${topicTag.value.linkUrl}`;
|
|
16301
|
-
location
|
|
16514
|
+
if (typeof window !== "undefined" && window.location) {
|
|
16515
|
+
window.location.href = aiUrl;
|
|
16516
|
+
}
|
|
16302
16517
|
};
|
|
16303
16518
|
const showTimeTopic = computed(() => {
|
|
16304
16519
|
var _a, _b;
|
|
@@ -16566,9 +16781,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
16566
16781
|
};
|
|
16567
16782
|
}
|
|
16568
16783
|
});
|
|
16569
|
-
const
|
|
16784
|
+
const HeaderCustom_vue_vue_type_style_index_0_scoped_b1bd3db4_lang = "";
|
|
16570
16785
|
const HeaderCustom_vue_vue_type_style_index_1_lang = "";
|
|
16571
|
-
const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
16786
|
+
const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-b1bd3db4"]]);
|
|
16572
16787
|
const logo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANgAAAAkCAYAAADrcPSPAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA8USURBVHgB7V1NbCRHFX6vemx+DmQWIgJc0j5kQ4RQvGeUeHyE2LteEJwixY4EydomthGIG7YvKEIRa7P2ZgEpHitXBLP2rpAipJ1NDjnaOUE2SG6iiEuQcASbLJ7pKt6r7p6p7unf8exidvuT2jPTXf26+lW9V6++et0GKFGixF0DQh84sGvVFsAUgnxSAtq0a9QQ6CiAQzp2dQis5ojTdKBEiQcUhQzsll2bBlDP0VbLfxY2AeT2aeetOpQo8YAhl4G9a9dotFIXybBs6B80somlx51mA0qUeECQamAcCrZBbSlQUzA4rJ123lyCe4SpRVWFdjeEBQmHjcu4DyXuK5ydd1eUwuXODiFndi9V6vA/hkg6QMZlt0DtDdi4GIvv2mN/gHuENhmXq9SNYFMoF6BEiXuEWAPzjevGMUPCRFC4OfWeXatBiRL3OXoMzGMIB2Fc2CRDSgwFFbg2lChxn6PHwNogl+OMCwGJnEAHUkATukOPNVQzp52b4xWw6sllLQdKlLjPUTF/EA0/qkAuxhVsAy49QWtaHNrROpft794/7TQTCQNaAzu8ZY81Y2h95zGn2YQTCE2KHIHtBmt7Ag4tchyNDXYcfcibVaOuIH1JqPJvS4BDWt9vrOFh4jkvKpvOqQW/6fr7ATGj5Zl1k+D0Q9rQfdoukz9+vYL7zKpbgqzB6ywiq596nQRUwj+Zik9HUcNwAWdIQUbIiU3eBwPC1LyquQjnwCX56HcWgjWEM9QgTiE5Si27LTVqyqFYlu4BYHJO8o+6NSRWs+Ryh5NHsKBQLbpAnY9kBHyty99bWl4TlNzevdzLdGnjQrUV/JaoVql+VarflmtGF1w31LIcVFgXw7CeabhDsABSTdN9eveI4fvMqltIXldntRAf3dUZ1UU1cunMrBuoHv0H9bIULg2CBT47qxYQZYddlkIc7l7CTHZ7ck59DRF+Tl8v7Gzg37PKd0JEj3QosoCcDzzqUbg4MgRCbxw6PjGA7A72cqRwzQxSoyxSAzPbWTO23GBlazneedXkksgd84DKL6fVi8uQca2ky2IjElvUYJlOjelnv352QhGbr0fX3eORKa6A7sCW2tO6Sq9Xp25p9zlBxwydJaHq62zv7BwnKMSDj+WsGzlTkpVSrzzgupO+1iTVLdjIkG9mnXduXn2dWPXfKameoM/ffntRfTnrnI6BKUhWAME5rlFwytSg0qZ0J8bMxs2FyVk1zcoucg53Zvbe0f26E3v1yurAprTFyQvuIgwGNnXmG3EHqAP31MubM1PIitDUn9GaJdwn6ww9B5IXVepf9W9Ru0UPsM74GBTQGderX52xMUfrTr9XdzcwMwGCRtJvCISHgP4oBV9pt+BXZxfUI2nnmCRHLakQjdLbcIJAnZjX0ToNojsKdRJBDRVs4HWebGDYG5IsCj/UEoUiZyjMHOFPatEZjHRADtd66mXBcrRe1BlWQ7IQz/sduguBy3oekwlVV4jjJOvU7qbAhLrZk3PhzjfhGYlt7pN0jzubguWM7G6Icf60XBzx7r8LIr2meqoR0Zm+H6qHvkfauI5xOrOwd7Qmw98KiwKnR2csC8P1yq+zLnxjDjlTNq6dDWslz/nXNvCKVPgKjbR0eeRB6Uvgyl+cf1F9MekcPQcjan60BdJOKOM87ry5AicE7D0hPA9piGE93yo8AZ6cb0/R+bYpa+eyOB9TlBu3ziEpdB2Rzd49mMjr0Qu4bh64o4ghHN9ZE06MrMbEvLuC3cyDqmxrcmkFEhDXEfy5yD5duylphOqST3iO/nQ6EkqwQ3MkMojrG1bPqN24gg4Z4xJ1HdOAQnqN6p+MYf3ahhUdTRz+QwbQkC1dr2DkqnH00SFsPJ3VutXSOjtDOou2pdY/6WyNdBYkClTdlpw27zMNfogcHsVJD3mNK8C1TfwljZ4tqdTzyOOTgkdcIVe/+UP1sz9ewg+j5bWBuXpNKilrKj8TxMnAZNXcuKFQwA9FdDiCIN8hX7bfN4uI3VCWGyTBIPKJAmRGtANrOH2SSx71PIVg/wx++969yd/dijsKqhsQkIdLJVmoU66QwY6Bb7A0zxqDxHrSfaZ0BDYMGrXWqWQwQtTYuyc6HQWjkFgv3d7NpOPUp86B6tbLqoiVpKJ8fTKoGZ43BftclDXwR0mTKdWiySGlOcoKXYsM9jnlGwlp+0nIAdaFHzrbwT5tzBXsq+/svmpdmpx1j6gvPqvoDyI+XJHyp5M/UC/v/gb/YZbVPUIlT565E+YKD4mOJyXKLc7SoM02N7rCqEeg0HyHOgEtBdy4ZT99cMt+ahoKAg3jVUquwjFAnbrbQAquZjFdfuM3O3WRaHfrhWanzUVRk/c3J9aJnZ6cVhMyQExdPbTjqNum1jBE5xfViTm5NznbnuZRWG9EjuQJudAcvaheWZEDj1ZmeGcaBQppPua0n0v/qDr9kciJGuSAe6TDUNu4lpNlzFnYvWz9WqF8jfSBUu8RD6th+dJ3l9TnzXIVv6LVpPGrEonJ4+CHmKNQDDbd6hYZ5hgxi7lpe2UM8ZY43mI1NXxVBd5YqM596jAIe+dYPRA04e1WzO4K7urMD00OYs9XoV/VlHr+DTLAneUs0eId/YiuPD5G4dW6EV55joqYQjdQQMv70NS6Yicir8bR9OSUqkbF3wm+9CTbhs7pfqc5zKnOfhCPBrKoTOceec6IKp6sUTl11pHFjCOG82mFwvNFlnCScG2jwkzrEXEeU1JJGsjgC/85ki88c+HwyvVXqzrSERkymPnLtPI7eQmFWKhpGs0yqWoGd9bQjkov81XoyrqzHEdA8sh/0sDzJJ4v5Sha1UseeglBHiTR/hpCFW930ymZu7EbehdA9oiL8qPoPr3wPyhYeiQn4xLa9BXCnduPPPRJcFiPYDRZc3gc6xdM4dP8a4YfxuRwE4vnMS7S+dtpWSEanyZDbsHAQMTBYeARpdlYAkKhYBKEUk6sXBVpeMyWdVz484zUDsdGRk5qrV2RixTSPuk7CDvlFLvd0oztmdijsuuglKQ+JLJDWVJ6p41RyY+UP/c3R7aKhEMygiYMALub1ho5CuYFap2dxACTvvaPO4pNzLdnlITv0dfbZMjU7cUHHw7DlbdX8E5QRhuYAPdQJpIc+UDGUaePevCbM/Lb4bi3ygm+FBYsxOU6Ko8wSDWwaBjkes95OWnnUCOOJhE4SudWemszaMzH/DWRBhSA8ur+nP/dDkgGJiBo1zjcZbhttxYKSCrxuvTrsxh3zAvNmJlDk0gaNdlS0ymZbOXuZayD0f65gHDYiTYROiSPzzIOTGe0/DBDLOueMb1gZ7R1nGsQyfECDVfPkj5ua30oeF+1YP3tTfzELKcNzAKrKeNHMJuz6/OEiVH4i8pOdD/Jq7dBHaieRU98FHLA78g174fiOUWGIeBCsiz5Dl03iM/1RD/Nq/kkgFnvw2CirFDsY7fnVd0jl+XW+5HVF5TohNk+YVBYVsAgkhM7Z7YP9Y0adEZ0JmY6hM5oUZ2ZZWnU2+fh3kfVNOQ8siCnznyWddVgWRk1XqwmRnANCoLmdfPky56n/sfGRZG3cu58Vrz8xiZ+HC2rXZ5nQPE31k5ht/oBX4tGjh7vSgufp/KcH2Heamkr+hNeSo0NiRBN8xdTuampRi21x2lQwQZGY1doxEBzLoriYlzmgpbF4RwxW6Ys3yALgzulvz5nB/tovr1t1puOK3NjQiJNpkqZU0sQpkOrcghZRGdm2Si76XqhW7ws0hld60ZIZ+38mTwcKgLELvDbUAATc+6PSEMvKZrAg+af1MFDnxXLb7yCt+PKd5J9yRBvYkw2h/IWHZswIHgPc2qPGIKAfIQFrYWskXKNR8Px4uQsryfJqwGr6Hph4bms3Er22Dqx1Vg85oYjb1cHZsgULXiirDK17HpPdocWKU1vbDB1ncVji9Z/qG4NYKeg/MVTi2S1mKUMZXw4YtjKFZJGjIkTgCORAMn6VLfjsvcOsYugyZ0Fougdily6Wfr+qxU4eRciTkkYjoh1RvKcYGmHQ0h2TKSzpqkz8oRjLkafhlf1hrHwzjqj87aNkNTTf4LOMJwlQ2uDmEtnAY4bKj4z514gNuPHdPF/cwY2sYfvfe4z+JPXE4yL0TGwYRBrLf0sWBSq9hf7qcWvOm8VHkrj0E7M2I+s4yTAb5Sl0HCvE33FVIdyLjCf5Oxs0tWNcMiK096HlwYfDZ55pKJFyp6lBTZ+fyHUDteNwlDssilR8HpeY62SM6RDGxJIJF2vGAqanGQ0PKpqip6OeE8J6NEbEmQ60bCNCOmZCI1uR3UWbQJv7Un0rFvS+t0i6WysqM64DlAQOlScVzOkcPOVFblDRVER16GtneMpEPKW+li89PpmsnHpc4Iv/jxrPb4QXmQjg2OC1rwSXqCD9UwG0QAP95yvlqdsTw5bBOzBqVOOY84RVHcUpRcpe8qz8Qu3kKxDzgnMeiwkFzgXcwjPxD3KUURfMTJ7vLueqyGeL6SzocHpjK99rc9nzTSBpSLz9pyh4u46vj8k8DsUHv4JPxbf33kN/5V1TmgdbAjECibE32xkbCAc4kFB8KMwXqZHN1fPhAtYuPE51YiTU0nmdmzjUOfgpFNiRzOf8dFG5noJqnGUepBMzEnASZ24I4u85M6mGAlkJehTJ7SSrJHrm0Un2XKd8xKDzU+yPcUJu1mpWawvXgvLcDqO8JOK02RyRw10FievR2cpdYvqLK4MXyPQ2W7B0DAKa1gnIpvtEoSKmfj9Jfzg2qY1m8e4GD2x1F/t2hSxRqlvfSKSosFv7uWcwriRx3vdG5Mj7ijR8qlzIQoCVgeRTBxhmELsUsQ75WKezHOOu15S9PrRTJIiGd8F62XqbKD3ea9lFWUYY8ofu85xiJ2svGs/zSPZMuSEMt7VQd6vqnI+28Pv+XjMudl3su79intlYCXuPmJTpXhE4ZEFcsJM7M1rXHTWfmWArw4oUeIkIjEXsaiRFQPuDwGO97OAXaLE/xNSk329uZGgUWagsen6aefmmdK4SjwIyLVg9GdiDi3vdW7HeO00v4gUV0/q69pKlLgbyL8iC4GhcdZDvn9hpN9JAUA0umiUhlXiQUQhA4uC17eCLHl+aNMTKGgdRb8scr/853slSpQoUeKu4b/VMDt15riwZwAAAABJRU5ErkJggg==";
|
|
16573
16788
|
const _hoisted_1$o = ["src"];
|
|
16574
16789
|
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
@@ -16627,9 +16842,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
16627
16842
|
};
|
|
16628
16843
|
}
|
|
16629
16844
|
});
|
|
16630
|
-
const
|
|
16631
|
-
const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
16632
|
-
const
|
|
16845
|
+
const index_vue_vue_type_style_index_0_scoped_7712be3b_lang = "";
|
|
16846
|
+
const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-7712be3b"]]);
|
|
16847
|
+
const index_vue_vue_type_style_index_0_scoped_b0e16f5f_lang = "";
|
|
16633
16848
|
const _sfc_main$r = /* @__PURE__ */ Object.assign({
|
|
16634
16849
|
name: "Create"
|
|
16635
16850
|
}, {
|
|
@@ -16648,8 +16863,8 @@ const _sfc_main$r = /* @__PURE__ */ Object.assign({
|
|
|
16648
16863
|
const res = await API.checkUserCreateOrg({ username: user });
|
|
16649
16864
|
if (!res.error) {
|
|
16650
16865
|
if (!user) {
|
|
16651
|
-
localStorage.setItem("group_quota", (_a = res.data) == null ? void 0 : _a.data.group_quota);
|
|
16652
|
-
localStorage.setItem("manageable_group_num", (_b = res.data) == null ? void 0 : _b.data.manageable_group_num);
|
|
16866
|
+
localStorage$2.setItem("group_quota", (_a = res.data) == null ? void 0 : _a.data.group_quota);
|
|
16867
|
+
localStorage$2.setItem("manageable_group_num", (_b = res.data) == null ? void 0 : _b.data.manageable_group_num);
|
|
16653
16868
|
orgStore.setIsCreateOrg(((_c = res.data) == null ? void 0 : _c.data.group_quota) - ((_d = res.data) == null ? void 0 : _d.data.manageable_group_num) > 0);
|
|
16654
16869
|
}
|
|
16655
16870
|
}
|
|
@@ -16665,7 +16880,7 @@ const _sfc_main$r = /* @__PURE__ */ Object.assign({
|
|
|
16665
16880
|
useRouter();
|
|
16666
16881
|
const handleClick = async (linkItem, event) => {
|
|
16667
16882
|
if (linkItem.linkName === `newOrg`) {
|
|
16668
|
-
const userInfo = JSON.parse(localStorage.getItem("userInfo") || "{}");
|
|
16883
|
+
const userInfo = JSON.parse(localStorage$2.getItem("userInfo") || "{}");
|
|
16669
16884
|
const flag = await getUserCreateOrg(userInfo == null ? void 0 : userInfo.username);
|
|
16670
16885
|
if (!flag) {
|
|
16671
16886
|
Message.warning($t("gitCodeLayout.userSetting.tips.youCanCreOrManUp", { num: 5 }));
|
|
@@ -16721,7 +16936,7 @@ const _sfc_main$r = /* @__PURE__ */ Object.assign({
|
|
|
16721
16936
|
};
|
|
16722
16937
|
}
|
|
16723
16938
|
});
|
|
16724
|
-
const Create = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
16939
|
+
const Create = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-b0e16f5f"]]);
|
|
16725
16940
|
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
16726
16941
|
...{
|
|
16727
16942
|
name: "DocumentCenter"
|
|
@@ -17046,17 +17261,16 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17046
17261
|
const orgInfo = inject("orgInfo");
|
|
17047
17262
|
const userInfo = inject("userInfo");
|
|
17048
17263
|
const { t: t2 } = i18n.global;
|
|
17049
|
-
useLocalStorage(LANG_KEY, LANG_ZH);
|
|
17050
17264
|
const props = __props;
|
|
17051
17265
|
const router2 = useRouter();
|
|
17052
17266
|
const route = useRoute();
|
|
17053
17267
|
const haveVisited = ref(false);
|
|
17054
17268
|
const clearSurveyDelayStatus = () => {
|
|
17055
|
-
const surveyDelay = localStorage.getItem(HARMONY_VISITED_DATE);
|
|
17269
|
+
const surveyDelay = localStorage$2.getItem(HARMONY_VISITED_DATE);
|
|
17056
17270
|
if (surveyDelay === "true") {
|
|
17057
|
-
localStorage.removeItem(HARMONY_VISITED_DATE);
|
|
17271
|
+
localStorage$2.removeItem(HARMONY_VISITED_DATE);
|
|
17058
17272
|
}
|
|
17059
|
-
localStorage.removeItem(HARMONY_SURVEY_DELAY);
|
|
17273
|
+
localStorage$2.removeItem(HARMONY_SURVEY_DELAY);
|
|
17060
17274
|
};
|
|
17061
17275
|
const logout = async () => {
|
|
17062
17276
|
var _a, _b;
|
|
@@ -17069,7 +17283,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17069
17283
|
} else {
|
|
17070
17284
|
const $route = Object.assign({}, route);
|
|
17071
17285
|
delete $route.query.isLogin;
|
|
17072
|
-
|
|
17286
|
+
if (typeof window !== "undefined" && window.location) {
|
|
17287
|
+
window.location.href = router2.resolve($route).href;
|
|
17288
|
+
}
|
|
17073
17289
|
}
|
|
17074
17290
|
} else {
|
|
17075
17291
|
props.loginOutFinish && props.loginOutFinish();
|
|
@@ -17144,9 +17360,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17144
17360
|
}
|
|
17145
17361
|
}
|
|
17146
17362
|
const getVisit = async (value) => {
|
|
17147
|
-
const visitedDate = value || localStorage.getItem(AVATAR_VISITED_DATE);
|
|
17363
|
+
const visitedDate = value || localStorage$2.getItem(AVATAR_VISITED_DATE);
|
|
17148
17364
|
const nowDate = (/* @__PURE__ */ new Date()).toLocaleDateString("zh-CN");
|
|
17149
|
-
const nowUserName = localStorage.getItem(AVATAR_VISITED_USERNAME);
|
|
17365
|
+
const nowUserName = localStorage$2.getItem(AVATAR_VISITED_USERNAME);
|
|
17150
17366
|
if (visitedDate === nowDate && nowUserName === props.accountInfo.username) {
|
|
17151
17367
|
haveVisited.value = true;
|
|
17152
17368
|
}
|
|
@@ -17217,8 +17433,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17217
17433
|
};
|
|
17218
17434
|
}
|
|
17219
17435
|
});
|
|
17220
|
-
const
|
|
17221
|
-
const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
17436
|
+
const UserAvatarMenu_vue_vue_type_style_index_0_scoped_f5353edc_lang = "";
|
|
17437
|
+
const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-f5353edc"]]);
|
|
17222
17438
|
const _hoisted_1$k = { class: "g-user-avatar flex-center ml-1" };
|
|
17223
17439
|
const _hoisted_2$e = {
|
|
17224
17440
|
key: 0,
|
|
@@ -17236,7 +17452,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17236
17452
|
accountInfo.value = inject("userInfo");
|
|
17237
17453
|
if (!accountInfo.value.avatar) {
|
|
17238
17454
|
console.log("accountInfo", accountInfo.value.avatar);
|
|
17239
|
-
accountInfo.value = JSON.parse(localStorage.getItem("userInfo") || "{}");
|
|
17455
|
+
accountInfo.value = JSON.parse(localStorage$2.getItem("userInfo") || "{}");
|
|
17240
17456
|
}
|
|
17241
17457
|
console.log("accountInfo", accountInfo.value.avatar);
|
|
17242
17458
|
const haveVisited = ref(false);
|
|
@@ -17262,25 +17478,31 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17262
17478
|
handleAvatarRedPoint(CLICK_TIME_MODULE.GROWTH_CENTER, accountInfo.value.username);
|
|
17263
17479
|
};
|
|
17264
17480
|
const getVisit = async (value) => {
|
|
17265
|
-
const visitedDate = value || localStorage.getItem(AVATAR_VISITED_DATE);
|
|
17481
|
+
const visitedDate = value || localStorage$2.getItem(AVATAR_VISITED_DATE);
|
|
17266
17482
|
const nowDate = (/* @__PURE__ */ new Date()).toLocaleDateString("zh-CN");
|
|
17267
|
-
const nowUserName = localStorage.getItem(AVATAR_VISITED_USERNAME);
|
|
17483
|
+
const nowUserName = localStorage$2.getItem(AVATAR_VISITED_USERNAME);
|
|
17268
17484
|
if (visitedDate === nowDate && nowUserName === accountInfo.value.username) {
|
|
17269
17485
|
haveVisited.value = true;
|
|
17270
17486
|
}
|
|
17271
17487
|
};
|
|
17272
|
-
getVisit();
|
|
17488
|
+
getVisit("");
|
|
17273
17489
|
const getScrollDom = () => {
|
|
17274
|
-
|
|
17275
|
-
|
|
17490
|
+
if (typeof document !== "undefined" && document.getElementById) {
|
|
17491
|
+
const appDom = document.getElementById("app");
|
|
17492
|
+
return appDom;
|
|
17493
|
+
}
|
|
17494
|
+
return null;
|
|
17276
17495
|
};
|
|
17277
17496
|
const judgeDrawerScroll = () => {
|
|
17278
17497
|
var _a;
|
|
17279
|
-
|
|
17280
|
-
|
|
17281
|
-
|
|
17498
|
+
if (typeof document !== "undefined" && document.querySelector) {
|
|
17499
|
+
const userDrawerWarpDom = (_a = document.querySelector(".g-user-dropdown")) == null ? void 0 : _a.querySelector(".devui-dropdown__menu-wrap");
|
|
17500
|
+
if (!userDrawerWarpDom) {
|
|
17501
|
+
return false;
|
|
17502
|
+
}
|
|
17503
|
+
return userDrawerWarpDom.scrollHeight > userDrawerWarpDom.clientHeight;
|
|
17282
17504
|
}
|
|
17283
|
-
return
|
|
17505
|
+
return false;
|
|
17284
17506
|
};
|
|
17285
17507
|
const handleDrawerStatus = (status) => {
|
|
17286
17508
|
const appDom = getScrollDom();
|
|
@@ -17332,9 +17554,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17332
17554
|
};
|
|
17333
17555
|
}
|
|
17334
17556
|
});
|
|
17335
|
-
const
|
|
17557
|
+
const UserAvatar_vue_vue_type_style_index_0_scoped_11438075_lang = "";
|
|
17336
17558
|
const UserAvatar_vue_vue_type_style_index_1_lang = "";
|
|
17337
|
-
const UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
17559
|
+
const UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-11438075"]]);
|
|
17338
17560
|
var EVENT_NAME = /* @__PURE__ */ ((EVENT_NAME2) => {
|
|
17339
17561
|
EVENT_NAME2["START_SEARCH"] = "开始搜索";
|
|
17340
17562
|
EVENT_NAME2["SEARCH"] = "搜索";
|
|
@@ -17394,7 +17616,7 @@ function _frEventTrack(eventName, type = "custom") {
|
|
|
17394
17616
|
}
|
|
17395
17617
|
const setlocalVistHistory = (data, localType) => {
|
|
17396
17618
|
const storeName = localType || "localVistList";
|
|
17397
|
-
const localData =
|
|
17619
|
+
const localData = localStorage$2.getItem(storeName);
|
|
17398
17620
|
let cur = [];
|
|
17399
17621
|
if (localData) {
|
|
17400
17622
|
try {
|
|
@@ -17424,7 +17646,7 @@ const setlocalVistHistory = (data, localType) => {
|
|
|
17424
17646
|
const isLocalSearch = localType === "localSearchText";
|
|
17425
17647
|
const storageCount = isLocalSearch ? 10 : 5;
|
|
17426
17648
|
cur.splice(storageCount);
|
|
17427
|
-
|
|
17649
|
+
localStorage$2.setItem(storeName, JSON.stringify(cur));
|
|
17428
17650
|
return cur;
|
|
17429
17651
|
};
|
|
17430
17652
|
var repoTypeEnum = /* @__PURE__ */ ((repoTypeEnum2) => {
|
|
@@ -17504,13 +17726,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17504
17726
|
setup(__props) {
|
|
17505
17727
|
var _a;
|
|
17506
17728
|
const { t: $t } = i18n.global;
|
|
17507
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17508
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17509
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17510
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17511
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17512
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17513
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17729
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-5cf60f4e.js"));
|
|
17730
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-c21145bd.js"));
|
|
17731
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-467e80d4.js"));
|
|
17732
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-126f6acd.js"));
|
|
17733
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-68765536.js"));
|
|
17734
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-81a098a9.js"));
|
|
17735
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-b33b0da9.js"));
|
|
17514
17736
|
const props = __props;
|
|
17515
17737
|
const repoInfo = inject("repoInfo");
|
|
17516
17738
|
const orgInfo = inject("orgInfo");
|
|
@@ -17635,7 +17857,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17635
17857
|
}
|
|
17636
17858
|
return [{ title: $t("gitCodeLayout.header.platformSearch") }];
|
|
17637
17859
|
});
|
|
17638
|
-
let localSearchText = localStorage.getItem("localSearchText");
|
|
17860
|
+
let localSearchText = localStorage$2.getItem("localSearchText");
|
|
17639
17861
|
if (localSearchText) {
|
|
17640
17862
|
try {
|
|
17641
17863
|
localSearchText = JSON.parse(localSearchText).splice(0, 3);
|
|
@@ -17643,7 +17865,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17643
17865
|
console.error(e);
|
|
17644
17866
|
}
|
|
17645
17867
|
}
|
|
17646
|
-
let localVistList = localStorage.getItem("localVistList");
|
|
17868
|
+
let localVistList = localStorage$2.getItem("localVistList");
|
|
17647
17869
|
if (localVistList) {
|
|
17648
17870
|
try {
|
|
17649
17871
|
localVistList = JSON.parse(localVistList);
|
|
@@ -17703,7 +17925,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17703
17925
|
isFocus.value = false;
|
|
17704
17926
|
inputRef.value.blur();
|
|
17705
17927
|
searchDropDownVisible.value = false;
|
|
17706
|
-
if (!searchStr.value && !searchParams.q) {
|
|
17928
|
+
if (!searchStr.value && !searchParams.q && typeof document !== "undefined" && document.querySelector) {
|
|
17707
17929
|
(_a2 = document.querySelector("#golbalSearch")) == null ? void 0 : _a2.blur();
|
|
17708
17930
|
return;
|
|
17709
17931
|
}
|
|
@@ -17762,7 +17984,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17762
17984
|
var _a2;
|
|
17763
17985
|
if (isFocus.value) {
|
|
17764
17986
|
searchDropDownVisible.value = true;
|
|
17765
|
-
(
|
|
17987
|
+
if (typeof document !== "undefined" && document.querySelector) {
|
|
17988
|
+
(_a2 = document.querySelector(".custom-h-searchinput input")) == null ? void 0 : _a2.focus();
|
|
17989
|
+
}
|
|
17766
17990
|
}
|
|
17767
17991
|
}, 300);
|
|
17768
17992
|
};
|
|
@@ -17788,15 +18012,15 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17788
18012
|
};
|
|
17789
18013
|
const clearHistoryData = () => {
|
|
17790
18014
|
searchHistoryList.value = [];
|
|
17791
|
-
|
|
18015
|
+
localStorage$2.setItem("localSearchText", JSON.stringify([]));
|
|
17792
18016
|
};
|
|
17793
18017
|
const onDeleteHistory = (index2) => {
|
|
17794
18018
|
searchHistoryList.value.splice(index2, 1);
|
|
17795
|
-
|
|
18019
|
+
localStorage$2.setItem("localSearchText", JSON.stringify(searchHistoryList.value));
|
|
17796
18020
|
};
|
|
17797
18021
|
const onDeleteVist = (index2) => {
|
|
17798
18022
|
visitHistoryList.value.splice(index2, 1);
|
|
17799
|
-
|
|
18023
|
+
localStorage$2.setItem("localVistList", JSON.stringify(visitHistoryList.value));
|
|
17800
18024
|
};
|
|
17801
18025
|
const onVistPage = (data) => {
|
|
17802
18026
|
const url = `${window.location.origin}${data.path}`;
|
|
@@ -17809,8 +18033,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17809
18033
|
activeIndex.value = -1;
|
|
17810
18034
|
};
|
|
17811
18035
|
useEventListener(document, "keydown", (e) => {
|
|
17812
|
-
if (document
|
|
17813
|
-
|
|
18036
|
+
if (typeof document !== "undefined" && document.activeElement) {
|
|
18037
|
+
if (document.activeElement.tagName === "INPUT" || document.activeElement.tagName === "TEXTAREA") {
|
|
18038
|
+
return;
|
|
18039
|
+
}
|
|
17814
18040
|
}
|
|
17815
18041
|
if (e.key === "/" && !isFocus.value) {
|
|
17816
18042
|
onInputClick();
|
|
@@ -18025,13 +18251,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18025
18251
|
};
|
|
18026
18252
|
}
|
|
18027
18253
|
});
|
|
18028
|
-
const
|
|
18254
|
+
const index_vue_vue_type_style_index_0_scoped_3074798a_lang = "";
|
|
18029
18255
|
const index_vue_vue_type_style_index_1_lang$2 = "";
|
|
18030
|
-
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
18031
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18256
|
+
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-3074798a"]]);
|
|
18257
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-fe8afb5d.js"));
|
|
18032
18258
|
function clearNotice() {
|
|
18033
|
-
if (localStorage.getItem("validator_email")) {
|
|
18034
|
-
localStorage.removeItem("validator_email");
|
|
18259
|
+
if (localStorage$2.getItem("validator_email")) {
|
|
18260
|
+
localStorage$2.removeItem("validator_email");
|
|
18035
18261
|
}
|
|
18036
18262
|
}
|
|
18037
18263
|
function useNotification() {
|
|
@@ -18176,21 +18402,21 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18176
18402
|
});
|
|
18177
18403
|
const handleLogin = (type) => {
|
|
18178
18404
|
emitEvent("login", { type, triggerType: "主动注册" });
|
|
18179
|
-
localStorage.setItem("sign_path", location.href);
|
|
18405
|
+
localStorage$2.setItem("sign_path", (window == null ? void 0 : window.location.href) || "");
|
|
18180
18406
|
};
|
|
18181
18407
|
const { notice } = useNotification();
|
|
18182
18408
|
const status = ref(false);
|
|
18183
18409
|
const { login, isMounted } = useLogin(props.request);
|
|
18184
18410
|
const { t: t2 } = i18n.global;
|
|
18185
18411
|
const toNotice = () => {
|
|
18186
|
-
if (localStorage.getItem("validator_email") === "invalid") {
|
|
18412
|
+
if (localStorage$2.getItem("validator_email") === "invalid") {
|
|
18187
18413
|
notice();
|
|
18188
18414
|
}
|
|
18189
18415
|
};
|
|
18190
18416
|
onMounted(() => {
|
|
18191
18417
|
toNotice();
|
|
18192
18418
|
addEventListener("logout", (options) => {
|
|
18193
|
-
const token = localStorage.getItem("access_token");
|
|
18419
|
+
const token = localStorage$2.getItem("access_token");
|
|
18194
18420
|
if (!status.value) {
|
|
18195
18421
|
status.value = true;
|
|
18196
18422
|
if (isMounted()) {
|
|
@@ -18368,8 +18594,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18368
18594
|
};
|
|
18369
18595
|
}
|
|
18370
18596
|
});
|
|
18371
|
-
const
|
|
18372
|
-
const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
18597
|
+
const index_vue_vue_type_style_index_0_scoped_7f0c99aa_lang = "";
|
|
18598
|
+
const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-7f0c99aa"]]);
|
|
18373
18599
|
const createSetting = () => {
|
|
18374
18600
|
const { t: t2 } = i18n.global;
|
|
18375
18601
|
const settings = {
|
|
@@ -18389,6 +18615,35 @@ const createSetting = () => {
|
|
|
18389
18615
|
};
|
|
18390
18616
|
return settings;
|
|
18391
18617
|
};
|
|
18618
|
+
const isBrowser = typeof window !== "undefined" && typeof window.sessionStorage !== "undefined";
|
|
18619
|
+
let sessionStorage;
|
|
18620
|
+
if (isBrowser) {
|
|
18621
|
+
sessionStorage = window.sessionStorage;
|
|
18622
|
+
} else {
|
|
18623
|
+
const data = {};
|
|
18624
|
+
sessionStorage = {
|
|
18625
|
+
setItem(id, val) {
|
|
18626
|
+
data[id] = String(val);
|
|
18627
|
+
},
|
|
18628
|
+
getItem(id) {
|
|
18629
|
+
return Object.prototype.hasOwnProperty.call(data, id) ? data[id] : null;
|
|
18630
|
+
},
|
|
18631
|
+
removeItem(id) {
|
|
18632
|
+
delete data[id];
|
|
18633
|
+
},
|
|
18634
|
+
clear() {
|
|
18635
|
+
Object.keys(data).forEach((key) => delete data[key]);
|
|
18636
|
+
},
|
|
18637
|
+
get length() {
|
|
18638
|
+
return Object.keys(data).length;
|
|
18639
|
+
},
|
|
18640
|
+
key(index2) {
|
|
18641
|
+
const keys2 = Object.keys(data);
|
|
18642
|
+
return index2 < keys2.length ? keys2[index2] : null;
|
|
18643
|
+
}
|
|
18644
|
+
};
|
|
18645
|
+
}
|
|
18646
|
+
const sessionStorage$1 = sessionStorage;
|
|
18392
18647
|
const _hoisted_1$h = { class: "tools-item-wrapper" };
|
|
18393
18648
|
const _hoisted_2$b = { class: "tools-item-wrapper-checkbox" };
|
|
18394
18649
|
const _hoisted_3$8 = ["onClick", "title"];
|
|
@@ -18405,7 +18660,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18405
18660
|
lang.value = linkItem.value;
|
|
18406
18661
|
const isHomePage = router2.currentRoute.value.name === "home";
|
|
18407
18662
|
if (isHomePage) {
|
|
18408
|
-
sessionStorage.setItem("page_reload", "changedLang");
|
|
18663
|
+
sessionStorage$1.setItem("page_reload", "changedLang");
|
|
18409
18664
|
}
|
|
18410
18665
|
window.location.reload();
|
|
18411
18666
|
};
|
|
@@ -18461,7 +18716,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18461
18716
|
} else {
|
|
18462
18717
|
theme.stopAutoTheme();
|
|
18463
18718
|
}
|
|
18464
|
-
localStorage.setItem(THEME_KEY, themeItem.value);
|
|
18719
|
+
localStorage$2.setItem(THEME_KEY, themeItem.value);
|
|
18465
18720
|
setTheme(activeTheme.value);
|
|
18466
18721
|
};
|
|
18467
18722
|
return (_ctx, _cache) => {
|
|
@@ -18900,9 +19155,9 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18900
19155
|
};
|
|
18901
19156
|
}
|
|
18902
19157
|
});
|
|
18903
|
-
const
|
|
19158
|
+
const ProjectMenuList_vue_vue_type_style_index_0_scoped_78f758d1_lang = "";
|
|
18904
19159
|
const ProjectMenuList_vue_vue_type_style_index_1_lang = "";
|
|
18905
|
-
const ProjectMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
19160
|
+
const ProjectMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-78f758d1"]]);
|
|
18906
19161
|
const _hoisted_1$e = { class: "side-bar-label" };
|
|
18907
19162
|
const _hoisted_2$8 = {
|
|
18908
19163
|
key: 0,
|
|
@@ -18952,6 +19207,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18952
19207
|
isLogin: { type: Boolean, default: false },
|
|
18953
19208
|
asideDefaultWidth: { default: 240 },
|
|
18954
19209
|
asideSetShowLittle: { type: Boolean, default: false },
|
|
19210
|
+
independence: { type: Boolean, default: false },
|
|
18955
19211
|
showPreferencesSetting: { type: Boolean },
|
|
18956
19212
|
showThemeSetting: { type: Boolean },
|
|
18957
19213
|
showLangSetting: { type: Boolean }
|
|
@@ -18990,7 +19246,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18990
19246
|
const isModuleVisible = (auth) => {
|
|
18991
19247
|
return visibleItems.value.includes(auth);
|
|
18992
19248
|
};
|
|
18993
|
-
const username = computed(() => (userInfo == null ? void 0 : userInfo.username) || JSON.parse(localStorage.getItem("userInfo") || "{}").username);
|
|
19249
|
+
const username = computed(() => (userInfo == null ? void 0 : userInfo.username) || JSON.parse(localStorage$2.getItem("userInfo") || "{}").username);
|
|
18994
19250
|
const showPreferencesSetting = computed(() => {
|
|
18995
19251
|
if (props.showPreferencesSetting !== void 0)
|
|
18996
19252
|
return !props.asideSetShowLittle && props.showPreferencesSetting;
|
|
@@ -19021,8 +19277,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19021
19277
|
label: t2("gitCodeLayout.header.home"),
|
|
19022
19278
|
host: layoutConfig2.VITE_HOST,
|
|
19023
19279
|
// 跳转的域名
|
|
19024
|
-
route: { name: "home", microApp: HOMEWEB_APP_NAME }
|
|
19280
|
+
route: props.independence ? "" : { name: "home", microApp: HOMEWEB_APP_NAME },
|
|
19025
19281
|
// 跳转的路径
|
|
19282
|
+
href: `${layoutConfig2.VITE_HOST}`
|
|
19026
19283
|
},
|
|
19027
19284
|
{
|
|
19028
19285
|
key: "issues",
|
|
@@ -19030,7 +19287,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19030
19287
|
activeIcon: "gt-plane-issues-2",
|
|
19031
19288
|
label: "Issues",
|
|
19032
19289
|
host: layoutConfig2.VITE_HOST,
|
|
19033
|
-
route: { name: "issues", login: true }
|
|
19290
|
+
route: props.independence ? "" : { name: "issues", login: true },
|
|
19291
|
+
href: `${layoutConfig2.VITE_HOST}/issues`
|
|
19034
19292
|
},
|
|
19035
19293
|
{
|
|
19036
19294
|
key: "merge",
|
|
@@ -19038,7 +19296,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19038
19296
|
activeIcon: "gt-plane-pullRequest-2",
|
|
19039
19297
|
label: props.asideSetShowLittle ? "PR" : "Pull Requests",
|
|
19040
19298
|
host: layoutConfig2.VITE_HOST,
|
|
19041
|
-
route: { name: "merge", login: true }
|
|
19299
|
+
route: props.independence ? "" : { name: "merge", login: true },
|
|
19300
|
+
href: `${layoutConfig2.VITE_HOST}/pulls`
|
|
19042
19301
|
},
|
|
19043
19302
|
{
|
|
19044
19303
|
key: "kanban",
|
|
@@ -19047,9 +19306,10 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19047
19306
|
label: t2("gitCodeLayout.org.board"),
|
|
19048
19307
|
host: layoutConfig2.VITE_HOST,
|
|
19049
19308
|
// 跳转的域名
|
|
19050
|
-
route: { name: "kanban", login: true },
|
|
19309
|
+
route: props.independence ? "" : { name: "kanban", login: true },
|
|
19051
19310
|
// 跳转的路径
|
|
19052
|
-
hidden: isMobile.value
|
|
19311
|
+
hidden: isMobile.value,
|
|
19312
|
+
href: `${layoutConfig2.VITE_HOST}/kanban`
|
|
19053
19313
|
},
|
|
19054
19314
|
{
|
|
19055
19315
|
key: "discussionCreated",
|
|
@@ -19057,7 +19317,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19057
19317
|
activeIcon: "gt-plane-discussions-2",
|
|
19058
19318
|
label: t2("gitCodeLayout.repo.pr.discussion"),
|
|
19059
19319
|
host: layoutConfig2.VITE_HOST,
|
|
19060
|
-
route: { name: "discussionCreated", login: true }
|
|
19320
|
+
route: props.independence ? "" : { name: "discussionCreated", login: true },
|
|
19321
|
+
href: `${layoutConfig2.VITE_HOST}/discussion`
|
|
19061
19322
|
}
|
|
19062
19323
|
// {
|
|
19063
19324
|
// key: 'userFollowing',
|
|
@@ -19495,9 +19756,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19495
19756
|
};
|
|
19496
19757
|
}
|
|
19497
19758
|
});
|
|
19498
|
-
const
|
|
19759
|
+
const asideContent_vue_vue_type_style_index_0_scoped_76d7f3fb_lang = "";
|
|
19499
19760
|
const asideContent_vue_vue_type_style_index_1_lang = "";
|
|
19500
|
-
const AsideContent = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
19761
|
+
const AsideContent = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-76d7f3fb"]]);
|
|
19501
19762
|
const _hoisted_1$d = { class: "p-[16px] flex justify-between items-center h-[60px]" };
|
|
19502
19763
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
19503
19764
|
__name: "index",
|
|
@@ -19510,6 +19771,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19510
19771
|
globalStore: { default: () => ({
|
|
19511
19772
|
httpStatus: 200
|
|
19512
19773
|
}) },
|
|
19774
|
+
independence: { type: Boolean, default: false },
|
|
19513
19775
|
showPreferencesSetting: { type: Boolean, default: void 0 },
|
|
19514
19776
|
showThemeSetting: { type: Boolean, default: void 0 },
|
|
19515
19777
|
showLangSetting: { type: Boolean, default: void 0 }
|
|
@@ -19584,8 +19846,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19584
19846
|
isLogin: _ctx.isLogin,
|
|
19585
19847
|
showPreferencesSetting: _ctx.showPreferencesSetting,
|
|
19586
19848
|
showThemeSetting: _ctx.showThemeSetting,
|
|
19587
|
-
showLangSetting: _ctx.showLangSetting
|
|
19588
|
-
|
|
19849
|
+
showLangSetting: _ctx.showLangSetting,
|
|
19850
|
+
independence: _ctx.independence
|
|
19851
|
+
}, null, 8, ["sceneValue", "asideDefaultWidth", "asideSetShowLittle", "isLogin", "showPreferencesSetting", "showThemeSetting", "showLangSetting", "independence"])) : createCommentVNode("", true)
|
|
19589
19852
|
]),
|
|
19590
19853
|
_: 1
|
|
19591
19854
|
}, 8, ["class", "style"])) : createCommentVNode("", true),
|
|
@@ -19619,8 +19882,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19619
19882
|
showPreferencesSetting: _ctx.showPreferencesSetting,
|
|
19620
19883
|
showThemeSetting: _ctx.showThemeSetting,
|
|
19621
19884
|
showLangSetting: _ctx.showLangSetting,
|
|
19885
|
+
independence: _ctx.independence,
|
|
19622
19886
|
style: { "height": "calc(100% - 60px)", "padding-top": "0" }
|
|
19623
|
-
}, null, 8, ["sceneValue", "isLogin", "showPreferencesSetting", "showThemeSetting", "showLangSetting"])) : createCommentVNode("", true)
|
|
19887
|
+
}, null, 8, ["sceneValue", "isLogin", "showPreferencesSetting", "showThemeSetting", "showLangSetting", "independence"])) : createCommentVNode("", true)
|
|
19624
19888
|
]),
|
|
19625
19889
|
_: 1
|
|
19626
19890
|
}, 8, ["modelValue"])
|
|
@@ -19628,9 +19892,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19628
19892
|
};
|
|
19629
19893
|
}
|
|
19630
19894
|
});
|
|
19631
|
-
const
|
|
19895
|
+
const index_vue_vue_type_style_index_0_scoped_db4c58e3_lang = "";
|
|
19632
19896
|
const index_vue_vue_type_style_index_1_lang$1 = "";
|
|
19633
|
-
const GitCodeAside = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
19897
|
+
const GitCodeAside = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-db4c58e3"]]);
|
|
19634
19898
|
const repoInfoData = {
|
|
19635
19899
|
"star_count": 0,
|
|
19636
19900
|
"forks_count": 0,
|
|
@@ -20153,17 +20417,17 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20153
20417
|
const loginSuccess = (data) => {
|
|
20154
20418
|
isLogin.value = true;
|
|
20155
20419
|
const { access_token, refresh_token, xauth_token, ...userInfo2 } = data;
|
|
20156
|
-
localStorage.setItem("access_token", access_token);
|
|
20157
|
-
localStorage.setItem("refresh_token", refresh_token);
|
|
20158
|
-
localStorage.setItem("xauth_token", xauth_token);
|
|
20159
|
-
localStorage.setItem("userInfo", JSON.stringify(userInfo2));
|
|
20420
|
+
localStorage$2.setItem("access_token", access_token);
|
|
20421
|
+
localStorage$2.setItem("refresh_token", refresh_token);
|
|
20422
|
+
localStorage$2.setItem("xauth_token", xauth_token);
|
|
20423
|
+
localStorage$2.setItem("userInfo", JSON.stringify(userInfo2));
|
|
20160
20424
|
};
|
|
20161
20425
|
const loginOutFinish = () => {
|
|
20162
20426
|
isLogin.value = false;
|
|
20163
|
-
localStorage.removeItem("access_token");
|
|
20164
|
-
localStorage.removeItem("refresh_token");
|
|
20165
|
-
localStorage.removeItem("xauth_token");
|
|
20166
|
-
localStorage.removeItem("userInfo");
|
|
20427
|
+
localStorage$2.removeItem("access_token");
|
|
20428
|
+
localStorage$2.removeItem("refresh_token");
|
|
20429
|
+
localStorage$2.removeItem("xauth_token");
|
|
20430
|
+
localStorage$2.removeItem("userInfo");
|
|
20167
20431
|
};
|
|
20168
20432
|
const sceneSelected = ref(SceneValue.home);
|
|
20169
20433
|
const independence = ref(false);
|
|
@@ -20205,7 +20469,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20205
20469
|
httpStatus: 200
|
|
20206
20470
|
});
|
|
20207
20471
|
onMounted(() => {
|
|
20208
|
-
const userInfo2 = localStorage.getItem("userInfo");
|
|
20472
|
+
const userInfo2 = localStorage$2.getItem("userInfo");
|
|
20209
20473
|
if (userInfo2) {
|
|
20210
20474
|
isLogin.value = true;
|
|
20211
20475
|
}
|
|
@@ -20237,8 +20501,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20237
20501
|
userInfo: userInfo.value,
|
|
20238
20502
|
isLogin: isLogin.value,
|
|
20239
20503
|
request: unref(proxyService),
|
|
20240
|
-
globalStore: globalStore.value
|
|
20241
|
-
|
|
20504
|
+
globalStore: globalStore.value,
|
|
20505
|
+
independence: independence.value
|
|
20506
|
+
}, null, 8, ["sceneValue", "userInfo", "isLogin", "request", "globalStore", "independence"])
|
|
20242
20507
|
]),
|
|
20243
20508
|
createElementVNode("div", _hoisted_4$3, [
|
|
20244
20509
|
_cache[4] || (_cache[4] = createElementVNode("h1", null, "控制 Header 值传入", -1)),
|
|
@@ -20316,23 +20581,23 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
20316
20581
|
const loginSuccess = (data) => {
|
|
20317
20582
|
isLogin.value = true;
|
|
20318
20583
|
const { access_token, refresh_token, xauth_token, ...userInfo } = data;
|
|
20319
|
-
localStorage.setItem("access_token", access_token);
|
|
20320
|
-
localStorage.setItem("refresh_token", refresh_token);
|
|
20321
|
-
localStorage.setItem("xauth_token", xauth_token);
|
|
20322
|
-
localStorage.setItem("userInfo", JSON.stringify(userInfo));
|
|
20584
|
+
localStorage$2.setItem("access_token", access_token);
|
|
20585
|
+
localStorage$2.setItem("refresh_token", refresh_token);
|
|
20586
|
+
localStorage$2.setItem("xauth_token", xauth_token);
|
|
20587
|
+
localStorage$2.setItem("userInfo", JSON.stringify(userInfo));
|
|
20323
20588
|
};
|
|
20324
20589
|
const loginOutFinish = () => {
|
|
20325
20590
|
isLogin.value = false;
|
|
20326
|
-
localStorage.removeItem("access_token");
|
|
20327
|
-
localStorage.removeItem("refresh_token");
|
|
20328
|
-
localStorage.removeItem("xauth_token");
|
|
20329
|
-
localStorage.removeItem("userInfo");
|
|
20591
|
+
localStorage$2.removeItem("access_token");
|
|
20592
|
+
localStorage$2.removeItem("refresh_token");
|
|
20593
|
+
localStorage$2.removeItem("xauth_token");
|
|
20594
|
+
localStorage$2.removeItem("userInfo");
|
|
20330
20595
|
};
|
|
20331
20596
|
const globalStore = ref({
|
|
20332
20597
|
httpStatus: 200
|
|
20333
20598
|
});
|
|
20334
20599
|
onMounted(() => {
|
|
20335
|
-
const userInfo = localStorage.getItem("userInfo");
|
|
20600
|
+
const userInfo = localStorage$2.getItem("userInfo");
|
|
20336
20601
|
if (userInfo) {
|
|
20337
20602
|
isLogin.value = true;
|
|
20338
20603
|
}
|
|
@@ -20422,24 +20687,24 @@ async function csdnloginCheck(route, loginCallback, request) {
|
|
|
20422
20687
|
if ((_a = route == null ? void 0 : route.query) == null ? void 0 : _a.utm_source) {
|
|
20423
20688
|
setUtmSourceSign(((_b = route == null ? void 0 : route.query) == null ? void 0 : _b.utm_source) || "");
|
|
20424
20689
|
}
|
|
20425
|
-
if (((_c = route == null ? void 0 : route.query) == null ? void 0 : _c.isLogin) && !localStorage.getItem("access_token")) {
|
|
20426
|
-
const cache_timeStamp = Number(localStorage.getItem("cache_timeStamp") || 0);
|
|
20427
|
-
let loginTimes = Number(localStorage.getItem("cache_loginTimes") || 0);
|
|
20690
|
+
if (((_c = route == null ? void 0 : route.query) == null ? void 0 : _c.isLogin) && !localStorage$2.getItem("access_token")) {
|
|
20691
|
+
const cache_timeStamp = Number(localStorage$2.getItem("cache_timeStamp") || 0);
|
|
20692
|
+
let loginTimes = Number(localStorage$2.getItem("cache_loginTimes") || 0);
|
|
20428
20693
|
const loginList = ["88", "99", "always"];
|
|
20429
20694
|
const nowDate = (/* @__PURE__ */ new Date()).toLocaleDateString("zh-CN");
|
|
20430
20695
|
const targetDate = new Date(cache_timeStamp).toLocaleDateString("zh-CN");
|
|
20431
20696
|
const isToDay = nowDate === targetDate;
|
|
20432
20697
|
if (!isToDay) {
|
|
20433
|
-
localStorage.setItem("cache_loginTimes", `0`);
|
|
20434
|
-
loginTimes = Number(localStorage.getItem("cache_loginTimes") || 0);
|
|
20698
|
+
localStorage$2.setItem("cache_loginTimes", `0`);
|
|
20699
|
+
loginTimes = Number(localStorage$2.getItem("cache_loginTimes") || 0);
|
|
20435
20700
|
}
|
|
20436
20701
|
if (loginList.includes((_d = route == null ? void 0 : route.query) == null ? void 0 : _d.isLogin) || !cache_timeStamp || (!isToDay || isToDay && loginTimes < 3 && ((_e = route == null ? void 0 : route.query) == null ? void 0 : _e.isLogin) === "1")) {
|
|
20437
20702
|
const currentTimestamp = Date.now();
|
|
20438
|
-
localStorage.setItem("cache_timeStamp", currentTimestamp.toString());
|
|
20439
|
-
localStorage.setItem("cache_loginTimes", `${Number(loginTimes) + 1}`);
|
|
20703
|
+
localStorage$2.setItem("cache_timeStamp", currentTimestamp.toString());
|
|
20704
|
+
localStorage$2.setItem("cache_loginTimes", `${Number(loginTimes) + 1}`);
|
|
20440
20705
|
window.page_title = ((_f = route.meta) == null ? void 0 : _f.reportTitle) || "";
|
|
20441
20706
|
await useReport("pageview", {}, request);
|
|
20442
|
-
sessionStorage.setItem(GOTO_QUICK_LOGIN, "1");
|
|
20707
|
+
sessionStorage$1.setItem(GOTO_QUICK_LOGIN, "1");
|
|
20443
20708
|
loginCallback();
|
|
20444
20709
|
return true;
|
|
20445
20710
|
}
|
|
@@ -20530,7 +20795,7 @@ const createLoginConfig = (request) => {
|
|
|
20530
20795
|
async beforeCsdnQuickLogin(param) {
|
|
20531
20796
|
const { route } = param;
|
|
20532
20797
|
const loginCallback = () => {
|
|
20533
|
-
saveLoginReturnUrl(location.href);
|
|
20798
|
+
saveLoginReturnUrl((window == null ? void 0 : window.location.href) || "");
|
|
20534
20799
|
saveSignPath();
|
|
20535
20800
|
goAuthPage(AuthTypeEnum.CSDN, true);
|
|
20536
20801
|
};
|
|
@@ -20574,7 +20839,7 @@ const createLoginConfig = (request) => {
|
|
|
20574
20839
|
};
|
|
20575
20840
|
function saveStatusBeforeLogin(param) {
|
|
20576
20841
|
const { triggerType, needRedirect } = param;
|
|
20577
|
-
localStorage.removeItem(UTM_SOURCE);
|
|
20842
|
+
localStorage$2.removeItem(UTM_SOURCE);
|
|
20578
20843
|
if (needRedirect) {
|
|
20579
20844
|
saveLoginReturnUrl();
|
|
20580
20845
|
}
|
|
@@ -20583,22 +20848,22 @@ function saveStatusBeforeLogin(param) {
|
|
|
20583
20848
|
}
|
|
20584
20849
|
function saveLoginReturnUrl(url = "") {
|
|
20585
20850
|
const returnUrl = url || router.currentRoute.value.query.returnUrl || "";
|
|
20586
|
-
localStorage.setItem("loginReturnUrl", returnUrl);
|
|
20851
|
+
localStorage$2.setItem("loginReturnUrl", returnUrl);
|
|
20587
20852
|
}
|
|
20588
20853
|
function saveSignPath() {
|
|
20589
|
-
localStorage.setItem("sign_path", location.href);
|
|
20854
|
+
localStorage$2.setItem("sign_path", (window == null ? void 0 : window.location.href) || "");
|
|
20590
20855
|
}
|
|
20591
20856
|
function saveLoginType(triggerType = "") {
|
|
20592
|
-
sessionStorage.setItem("loginType", triggerType);
|
|
20857
|
+
sessionStorage$1.setItem("loginType", triggerType);
|
|
20593
20858
|
}
|
|
20594
20859
|
function getLoginReturnUrl() {
|
|
20595
|
-
return api.get("third_utm_source_sign_path") || localStorage.getItem("loginReturnUrl") || "/";
|
|
20860
|
+
return api.get("third_utm_source_sign_path") || localStorage$2.getItem("loginReturnUrl") || "/";
|
|
20596
20861
|
}
|
|
20597
20862
|
function setEmailValid(username, email) {
|
|
20598
20863
|
if (`${username}@gitcode.com` === email) {
|
|
20599
|
-
localStorage.setItem("validator_email", "invalid");
|
|
20864
|
+
localStorage$2.setItem("validator_email", "invalid");
|
|
20600
20865
|
} else {
|
|
20601
|
-
localStorage.setItem("validator_email", "valid");
|
|
20866
|
+
localStorage$2.setItem("validator_email", "valid");
|
|
20602
20867
|
}
|
|
20603
20868
|
}
|
|
20604
20869
|
function goAuthPage(type, noOpen = false) {
|
|
@@ -20608,7 +20873,7 @@ function goAuthPage(type, noOpen = false) {
|
|
|
20608
20873
|
url = `${url}${utm_source}`;
|
|
20609
20874
|
}
|
|
20610
20875
|
if (isPhone() || noOpen) {
|
|
20611
|
-
location.href = url;
|
|
20876
|
+
window.location.href = url;
|
|
20612
20877
|
} else {
|
|
20613
20878
|
const windowFeatures = computeWindowFeatures();
|
|
20614
20879
|
window.open(url, AUTH_WINDOW, windowFeatures);
|
|
@@ -20644,8 +20909,8 @@ async function checkProjectIssuePrInfo(API) {
|
|
|
20644
20909
|
const res = await API.getProjectIssuePrInfo();
|
|
20645
20910
|
const { created_issue, created_pr, created_project } = res.data.data || {};
|
|
20646
20911
|
const haveRepositoryInfo = created_issue || created_pr || created_project;
|
|
20647
|
-
localStorage.setItem("project_issue_pr_info", haveRepositoryInfo);
|
|
20648
|
-
localStorage.setItem("project_issue_pr_info_time", (/* @__PURE__ */ new Date()).getTime().toString());
|
|
20912
|
+
localStorage$2.setItem("project_issue_pr_info", haveRepositoryInfo);
|
|
20913
|
+
localStorage$2.setItem("project_issue_pr_info_time", (/* @__PURE__ */ new Date()).getTime().toString());
|
|
20649
20914
|
return haveRepositoryInfo;
|
|
20650
20915
|
}
|
|
20651
20916
|
async function checkUserRepositoryIssue(API) {
|
|
@@ -20740,11 +21005,13 @@ function failResolve(params) {
|
|
|
20740
21005
|
defaultBackResolve(returnUrl);
|
|
20741
21006
|
}
|
|
20742
21007
|
function removeStatusAfterLogin() {
|
|
20743
|
-
localStorage.removeItem("loginReturnUrl");
|
|
21008
|
+
localStorage$2.removeItem("loginReturnUrl");
|
|
20744
21009
|
api.set("third_utm_source_sign_path", "", { expires: -1, domain: layoutConfig.VITE_COOKIE_DOMAIN });
|
|
20745
21010
|
}
|
|
20746
21011
|
function defaultBackResolve(url) {
|
|
20747
|
-
location
|
|
21012
|
+
if (typeof window !== "undefined" && window.location) {
|
|
21013
|
+
window.location.replace(removeIsLoginParam(url));
|
|
21014
|
+
}
|
|
20748
21015
|
}
|
|
20749
21016
|
const HandleParentWindowGetLoginInfo = (request) => {
|
|
20750
21017
|
const API = headRequest(request);
|
|
@@ -20964,7 +21231,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
20964
21231
|
const API = headRequest(inject("request"));
|
|
20965
21232
|
const props = __props;
|
|
20966
21233
|
const emits = __emit;
|
|
20967
|
-
const cache_countdown = JSON.parse(localStorage.getItem("cache_countdown"));
|
|
21234
|
+
const cache_countdown = JSON.parse(localStorage$2.getItem("cache_countdown"));
|
|
20968
21235
|
const { vModels } = useModel(props, emits);
|
|
20969
21236
|
console.log(cache_countdown, "cache_countdown");
|
|
20970
21237
|
const country = ref((cache_countdown == null ? void 0 : cache_countdown.country) || DEFAULT_COUNTRY);
|
|
@@ -21184,7 +21451,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
21184
21451
|
};
|
|
21185
21452
|
const handleClick = () => {
|
|
21186
21453
|
};
|
|
21187
|
-
const cache_countdown = JSON.parse(localStorage.getItem("cache_countdown"));
|
|
21454
|
+
const cache_countdown = JSON.parse(localStorage$2.getItem("cache_countdown"));
|
|
21188
21455
|
const handleOperate = (config) => {
|
|
21189
21456
|
var _a;
|
|
21190
21457
|
const key = ((_a = config == null ? void 0 : config.props) == null ? void 0 : _a.aliasKey) || config.key;
|
|
@@ -21507,7 +21774,7 @@ const verifyCodeRegExp4 = /^\d{4}$/;
|
|
|
21507
21774
|
const verifyCodeRegExp6 = /^\d{6}$/;
|
|
21508
21775
|
const mobileRegExp = /^1[3-9]\d{9}$/;
|
|
21509
21776
|
const usernameRegExp = /^(?!-)(?!.*-$)[a-zA-Z][a-zA-Z0-9_-]{1,18}[a-zA-Z0-9]$/;
|
|
21510
|
-
const metadata = { "version": 4, "country_calling_codes": { "1": ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], "7": ["RU", "KZ"], "20": ["EG"], "27": ["ZA"], "30": ["GR"], "31": ["NL"], "32": ["BE"], "33": ["FR"], "34": ["ES"], "36": ["HU"], "39": ["IT", "VA"], "40": ["RO"], "41": ["CH"], "43": ["AT"], "44": ["GB", "GG", "IM", "JE"], "45": ["DK"], "46": ["SE"], "47": ["NO", "SJ"], "48": ["PL"], "49": ["DE"], "51": ["PE"], "52": ["MX"], "53": ["CU"], "54": ["AR"], "55": ["BR"], "56": ["CL"], "57": ["CO"], "58": ["VE"], "60": ["MY"], "61": ["AU", "CC", "CX"], "62": ["ID"], "63": ["PH"], "64": ["NZ"], "65": ["SG"], "66": ["TH"], "81": ["JP"], "82": ["KR"], "84": ["VN"], "86": ["CN"], "90": ["TR"], "91": ["IN"], "92": ["PK"], "93": ["AF"], "94": ["LK"], "95": ["MM"], "98": ["IR"], "211": ["SS"], "212": ["MA", "EH"], "213": ["DZ"], "216": ["TN"], "218": ["LY"], "220": ["GM"], "221": ["SN"], "222": ["MR"], "223": ["ML"], "224": ["GN"], "225": ["CI"], "226": ["BF"], "227": ["NE"], "228": ["TG"], "229": ["BJ"], "230": ["MU"], "231": ["LR"], "232": ["SL"], "233": ["GH"], "234": ["NG"], "235": ["TD"], "236": ["CF"], "237": ["CM"], "238": ["CV"], "239": ["ST"], "240": ["GQ"], "241": ["GA"], "242": ["CG"], "243": ["CD"], "244": ["AO"], "245": ["GW"], "246": ["IO"], "247": ["AC"], "248": ["SC"], "249": ["SD"], "250": ["RW"], "251": ["ET"], "252": ["SO"], "253": ["DJ"], "254": ["KE"], "255": ["TZ"], "256": ["UG"], "257": ["BI"], "258": ["MZ"], "260": ["ZM"], "261": ["MG"], "262": ["RE", "YT"], "263": ["ZW"], "264": ["NA"], "265": ["MW"], "266": ["LS"], "267": ["BW"], "268": ["SZ"], "269": ["KM"], "290": ["SH", "TA"], "291": ["ER"], "297": ["AW"], "298": ["FO"], "299": ["GL"], "350": ["GI"], "351": ["PT"], "352": ["LU"], "353": ["IE"], "354": ["IS"], "355": ["AL"], "356": ["MT"], "357": ["CY"], "358": ["FI", "AX"], "359": ["BG"], "370": ["LT"], "371": ["LV"], "372": ["EE"], "373": ["MD"], "374": ["AM"], "375": ["BY"], "376": ["AD"], "377": ["MC"], "378": ["SM"], "380": ["UA"], "381": ["RS"], "382": ["ME"], "383": ["XK"], "385": ["HR"], "386": ["SI"], "387": ["BA"], "389": ["MK"], "420": ["CZ"], "421": ["SK"], "423": ["LI"], "500": ["FK"], "501": ["BZ"], "502": ["GT"], "503": ["SV"], "504": ["HN"], "505": ["NI"], "506": ["CR"], "507": ["PA"], "508": ["PM"], "509": ["HT"], "590": ["GP", "BL", "MF"], "591": ["BO"], "592": ["GY"], "593": ["EC"], "594": ["GF"], "595": ["PY"], "596": ["MQ"], "597": ["SR"], "598": ["UY"], "599": ["CW", "BQ"], "670": ["TL"], "672": ["NF"], "673": ["BN"], "674": ["NR"], "675": ["PG"], "676": ["TO"], "677": ["SB"], "678": ["VU"], "679": ["FJ"], "680": ["PW"], "681": ["WF"], "682": ["CK"], "683": ["NU"], "685": ["WS"], "686": ["KI"], "687": ["NC"], "688": ["TV"], "689": ["PF"], "690": ["TK"], "691": ["FM"], "692": ["MH"], "850": ["KP"], "852": ["HK"], "853": ["MO"], "855": ["KH"], "856": ["LA"], "880": ["BD"], "886": ["TW"], "960": ["MV"], "961": ["LB"], "962": ["JO"], "963": ["SY"], "964": ["IQ"], "965": ["KW"], "966": ["SA"], "967": ["YE"], "968": ["OM"], "970": ["PS"], "971": ["AE"], "972": ["IL"], "973": ["BH"], "974": ["QA"], "975": ["BT"], "976": ["MN"], "977": ["NP"], "992": ["TJ"], "993": ["TM"], "994": ["AZ"], "995": ["GE"], "996": ["KG"], "998": ["UZ"] }, "countries": { "AC": ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], "AD": ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], "AE": ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], "AF": ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], "AG": ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], "AI": ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], "AL": ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], "AM": ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], "AO": ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], "AR": ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], "AS": ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], "AT": ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], "AU": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "AW": ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], "AX": ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], "AZ": ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], "BA": ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], "BB": ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], "BD": ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], "BE": ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], "BF": ["226", "00", "[025-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-7]"]]]], "BG": ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], "BH": ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], "BI": ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], "BJ": ["229", "00", "(?:01\\d|[24-689])\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], "BL": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "BM": ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], "BN": ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], "BO": ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], "BQ": ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], "BR": ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37)", "4(?:02|37)0|[34]00"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], "BS": ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], "BT": ["975", "00", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]]], "BW": ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], "BY": ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], "BZ": ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], "CA": ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], "CC": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "CD": ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], "CF": ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], "CG": ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], "CH": ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], "CI": ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], "CK": ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], "CL": ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9[2-9]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], "CM": ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], "CN": ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], "CO": ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|91"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], "CR": ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], "CU": ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], "CV": ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], "CW": ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], "CX": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "CY": ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], "CZ": ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], "DE": ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|31)"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], "DJ": ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], "DK": ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], "DM": ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], "DO": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], "DZ": ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], "EC": ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], "EE": ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], "EG": ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], "EH": ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], "ER": ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], "ES": ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], "ET": ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], "FI": ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], "FJ": ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "FK": ["500", "00", "[2-7]\\d{4}", [5]], "FM": ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], "FO": ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], "FR": ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], "GA": ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], "GB": ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], "GD": ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], "GE": ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], "GF": ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], "GG": ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], "GH": ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], "GI": ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], "GL": ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], "GM": ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "GN": ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], "GP": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "GQ": ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], "GR": ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], "GT": ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], "GU": ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], "GW": ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], "GY": ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "HK": ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "HN": ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], "HR": ["385", "00", "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", [6, 7, 8, 9], [["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], "HT": ["509", "00", "(?:[2-489]\\d|55)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], "HU": ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], "ID": ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], "IE": ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "IL": ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], "IM": ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0", "1624$1", 0, "74576|(?:16|7[56])24"], "IN": ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], "IO": ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], "IQ": ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], "IR": ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], "IS": ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "IT": ["39", "00", "0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, [["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}", [6, 7, 8, 9, 10, 11]], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], "JE": ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], "JM": ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], "JO": ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], "JP": ["81", "010", "00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["[36]|4(?:2[09]|7[01])", "[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[257-9]"], "0$1"]], "0", 0, "(000[259]\\d{6})$|(?:(?:003768)0?)|0", "$1"], "KE": ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], "KG": ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "KH": ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "KI": ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], "KM": ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], "KN": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], "KP": ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], "KR": ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], "KW": ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], "KY": ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], "KZ": ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33|7", 0, "8~10"], "LA": ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["30[0135-9]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], "LB": ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], "LC": ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], "LI": ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], "LK": ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], "LR": ["231", "00", "(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], "LS": ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], "LT": ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], "LU": ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], "LV": ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], "LY": ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], "MA": ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], "MC": ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], "MD": ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], "ME": ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], "MF": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "MG": ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], "MH": ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], "MK": ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], "ML": ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], "MM": ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], "MN": ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], "MO": ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], "MP": ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], "MQ": ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "MR": ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], "MS": ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], "MT": ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], "MU": ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], "MV": ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "MW": ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], "MX": ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "MY": ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], "MZ": ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], "NA": ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], "NC": ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], "NE": ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], "NF": ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], "NG": ["234", "009", "38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}", [8, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["3"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], "NI": ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], "NL": ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], "NO": ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], "NP": ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], "NR": ["674", "00", "(?:444|(?:55|8\\d)\\d|666)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]]], "NU": ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], "NZ": ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], "OM": ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], "PA": ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], "PE": ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], "PF": ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], "PG": ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "PH": ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], "PK": ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], "PL": ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], "PM": ["508", "00", "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "PR": ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], "PS": ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "PT": ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], "PW": ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "PY": ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], "QA": ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[16]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], "RE": ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], "RO": ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], "RS": ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], "RU": ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, "3[04-689]|[489]", 0, "8~10"], "RW": ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], "SA": ["966", "00", "92\\d{7}|(?:[15]|8\\d)\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["81"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], "SB": ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], "SC": ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "SD": ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], "SE": ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], "SG": ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], "SH": ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], "SI": ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], "SJ": ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], "SK": ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], "SL": ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], "SM": ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], "SN": ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], "SO": ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], "0"], "SR": ["597", "00", "(?:[2-5]|68|[78]\\d)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-8]"]]]], "SS": ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], "ST": ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], "SV": ["503", "00", "[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], "SX": ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], "SY": ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], "SZ": ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], "TA": ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], "TC": ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], "TD": ["235", "00|16", "(?:22|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "TG": ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], "TH": ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "TJ": ["992", "810", "[0-57-9]\\d{8}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[0-57-9]"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], "TK": ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], "TL": ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], "TM": ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], "TN": ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], "TO": ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], "TR": ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], "TT": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], "TV": ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], "TW": ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], "TZ": ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], "UA": ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], "UG": ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], "US": ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"], 0, 0, 0, ["305209\\d{4}"]]], "UY": ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], "UZ": ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], "VA": ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], "VC": ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], "VE": ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], "VG": ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], "VI": ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], "VN": ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], "VU": ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], "WF": ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], "WS": ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], "XK": ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], "YE": ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], "YT": ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], "ZA": ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], "ZM": ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], "ZW": ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, "nonGeographic": { "800": ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], "808": ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], "870": ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], "878": ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], "881": ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], "882": ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], "883": ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], "888": ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], "979": ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
|
21777
|
+
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-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37)", "4(?:02|37)0|[34]00"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], "BS": ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], "BT": ["975", "00", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]]], "BW": ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], "BY": ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], "BZ": ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], "CA": ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], "CC": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "CD": ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], "CF": ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], "CG": ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], "CH": ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], "CI": ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], "CK": ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], "CL": ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9[2-9]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], "CM": ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], "CN": ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], "CO": ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|91"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], "CR": ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], "CU": ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], "CV": ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], "CW": ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], "CX": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "CY": ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], "CZ": ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], "DE": ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|31)"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], "DJ": ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], "DK": ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], "DM": ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], "DO": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], "DZ": ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], "EC": ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], "EE": ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], "EG": ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], "EH": ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], "ER": ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], "ES": ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], "ET": ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], "FI": ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], "FJ": ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "FK": ["500", "00", "[2-7]\\d{4}", [5]], "FM": ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], "FO": ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], "FR": ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], "GA": ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], "GB": ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], "GD": ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], "GE": ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], "GF": ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], "GG": ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], "GH": ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], "GI": ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], "GL": ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], "GM": ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "GN": ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], "GP": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "GQ": ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], "GR": ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], "GT": ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], "GU": ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], "GW": ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], "GY": ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "HK": ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "HN": ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], "HR": ["385", "00", "[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", ["30[0135-9]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], "LB": ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], "LC": ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], "LI": ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], "LK": ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], "LR": ["231", "00", "(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], "LS": ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], "LT": ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], "LU": ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], "LV": ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], "LY": ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], "MA": ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], "MC": ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], "MD": ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], "ME": ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], "MF": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "MG": ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], "MH": ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], "MK": ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], "ML": ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], "MM": ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], "MN": ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], "MO": ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], "MP": ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], "MQ": ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "MR": ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], "MS": ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], "MT": ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], "MU": ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], "MV": ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "MW": ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], "MX": ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "MY": ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], "MZ": ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], "NA": ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], "NC": ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], "NE": ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], "NF": ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], "NG": ["234", "009", "38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}", [8, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["3"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], "NI": ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], "NL": ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], "NO": ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], "NP": ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], "NR": ["674", "00", "(?: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[16]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], "RE": ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[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)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-8]"]]]], "SS": ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], "ST": ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], "SV": ["503", "00", "[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], "SX": ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], "SY": ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], "SZ": ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], "TA": ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], "TC": ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], "TD": ["235", "00|16", "(?:22|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "TG": ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], "TH": ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "TJ": ["992", "810", "[0-57-9]\\d{8}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[0-57-9]"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], "TK": ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], "TL": ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], "TM": ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], "TN": ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], "TO": ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], "TR": ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], "TT": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], "TV": ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], "TW": ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], "TZ": ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], "UA": ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], "UG": ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], "US": ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[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}"]]] } };
|
|
21511
21778
|
function withMetadataArgument(func, _arguments) {
|
|
21512
21779
|
var args = Array.prototype.slice.call(_arguments);
|
|
21513
21780
|
args.push(metadata);
|
|
@@ -22498,10 +22765,10 @@ function applyInternationalSeparatorStyle(formattedNumber) {
|
|
|
22498
22765
|
return formattedNumber.replace(new RegExp("[".concat(VALID_PUNCTUATION, "]+"), "g"), " ").trim();
|
|
22499
22766
|
}
|
|
22500
22767
|
var FIRST_GROUP_PATTERN = /(\$\d)/;
|
|
22501
|
-
function formatNationalNumberUsingFormat(number2, format2,
|
|
22502
|
-
var useInternationalFormat =
|
|
22503
|
-
|
|
22504
|
-
|
|
22768
|
+
function formatNationalNumberUsingFormat(number2, format2, _ref) {
|
|
22769
|
+
var useInternationalFormat = _ref.useInternationalFormat, withNationalPrefix = _ref.withNationalPrefix;
|
|
22770
|
+
_ref.carrierCode;
|
|
22771
|
+
_ref.metadata;
|
|
22505
22772
|
var formattedNumber = number2.replace(new RegExp(format2.pattern()), useInternationalFormat ? format2.internationalFormat() : (
|
|
22506
22773
|
// This library doesn't use `domestic_carrier_code_formatting_rule`,
|
|
22507
22774
|
// because that one is only used when formatting phone numbers
|
|
@@ -22575,8 +22842,8 @@ function isViablePhoneNumber(number2) {
|
|
|
22575
22842
|
function isViablePhoneNumberStart(number2) {
|
|
22576
22843
|
return VALID_PHONE_NUMBER_START_REG_EXP.test(number2);
|
|
22577
22844
|
}
|
|
22578
|
-
function formatRFC3966(
|
|
22579
|
-
var number2 =
|
|
22845
|
+
function formatRFC3966(_ref) {
|
|
22846
|
+
var number2 = _ref.number, ext = _ref.ext;
|
|
22580
22847
|
if (!number2) {
|
|
22581
22848
|
return "";
|
|
22582
22849
|
}
|
|
@@ -23286,10 +23553,10 @@ function _arrayLikeToArray$1(arr, len) {
|
|
|
23286
23553
|
}
|
|
23287
23554
|
return arr2;
|
|
23288
23555
|
}
|
|
23289
|
-
function getCountryByNationalNumber(nationalPhoneNumber,
|
|
23290
|
-
var countries =
|
|
23291
|
-
|
|
23292
|
-
var metadata2 =
|
|
23556
|
+
function getCountryByNationalNumber(nationalPhoneNumber, _ref) {
|
|
23557
|
+
var countries = _ref.countries;
|
|
23558
|
+
_ref.defaultCountry;
|
|
23559
|
+
var metadata2 = _ref.metadata;
|
|
23293
23560
|
metadata2 = new Metadata(metadata2);
|
|
23294
23561
|
for (var _iterator = _createForOfIteratorHelperLoose(countries), _step; !(_step = _iterator()).done; ) {
|
|
23295
23562
|
var country = _step.value;
|
|
@@ -23307,8 +23574,8 @@ function getCountryByNationalNumber(nationalPhoneNumber, _ref2) {
|
|
|
23307
23574
|
}
|
|
23308
23575
|
}
|
|
23309
23576
|
var USE_NON_GEOGRAPHIC_COUNTRY_CODE = false;
|
|
23310
|
-
function getCountryByCallingCode(callingCode,
|
|
23311
|
-
var nationalPhoneNumber =
|
|
23577
|
+
function getCountryByCallingCode(callingCode, _ref) {
|
|
23578
|
+
var nationalPhoneNumber = _ref.nationalNumber, defaultCountry = _ref.defaultCountry, metadata2 = _ref.metadata;
|
|
23312
23579
|
if (USE_NON_GEOGRAPHIC_COUNTRY_CODE) {
|
|
23313
23580
|
if (metadata2.isNonGeographicCallingCode(callingCode)) {
|
|
23314
23581
|
return "001";
|
|
@@ -23366,8 +23633,8 @@ function isPhoneContextValid(phoneContext) {
|
|
|
23366
23633
|
}
|
|
23367
23634
|
return RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_.test(phoneContext) || RFC3966_DOMAINNAME_PATTERN_.test(phoneContext);
|
|
23368
23635
|
}
|
|
23369
|
-
function extractFormattedPhoneNumberFromPossibleRfc3966NumberUri(numberToParse,
|
|
23370
|
-
var extractFormattedPhoneNumber =
|
|
23636
|
+
function extractFormattedPhoneNumberFromPossibleRfc3966NumberUri(numberToParse, _ref) {
|
|
23637
|
+
var extractFormattedPhoneNumber = _ref.extractFormattedPhoneNumber;
|
|
23371
23638
|
var phoneContext = extractPhoneContext(numberToParse);
|
|
23372
23639
|
if (!isPhoneContextValid(phoneContext)) {
|
|
23373
23640
|
throw new ParseError("NOT_A_NUMBER");
|
|
@@ -23854,7 +24121,7 @@ const isPhoneNumber = (phone, country = "CN") => {
|
|
|
23854
24121
|
};
|
|
23855
24122
|
const getPhone = (conf) => {
|
|
23856
24123
|
const { value, country } = conf;
|
|
23857
|
-
const cache_countdown = JSON.parse(localStorage.getItem("cache_countdown"));
|
|
24124
|
+
const cache_countdown = JSON.parse(localStorage$2.getItem("cache_countdown"));
|
|
23858
24125
|
const _country = country || (cache_countdown == null ? void 0 : cache_countdown.country);
|
|
23859
24126
|
const isChina = !_country || _country === DEFAULT_COUNTRY;
|
|
23860
24127
|
const countryCode = isChina ? "" : (_country || DEFAULT_COUNTRY).split("_")[1];
|
|
@@ -24321,7 +24588,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24321
24588
|
const MFA_vue_vue_type_style_index_0_lang = "";
|
|
24322
24589
|
const MFA_vue_vue_type_style_index_1_scoped_02a2d8c5_lang = "";
|
|
24323
24590
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-02a2d8c5"]]);
|
|
24324
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24591
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-72da4dc3.js"));
|
|
24325
24592
|
const useSlidCaptcha = () => {
|
|
24326
24593
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24327
24594
|
const open = (config) => {
|
|
@@ -25090,7 +25357,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25090
25357
|
if (!res.error) {
|
|
25091
25358
|
cacheForm.mobile = conf.value;
|
|
25092
25359
|
cacheForm.country = conf.country;
|
|
25093
|
-
localStorage.setItem("cache_countdown", JSON.stringify({
|
|
25360
|
+
localStorage$2.setItem("cache_countdown", JSON.stringify({
|
|
25094
25361
|
mobile: conf.value,
|
|
25095
25362
|
country: conf.country
|
|
25096
25363
|
}));
|
|
@@ -25218,9 +25485,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25218
25485
|
}
|
|
25219
25486
|
});
|
|
25220
25487
|
const hackMsgError = (show_error) => {
|
|
25221
|
-
|
|
25222
|
-
|
|
25223
|
-
|
|
25488
|
+
if (typeof document !== "undefined" && document.querySelector) {
|
|
25489
|
+
const el = document.querySelector(".g-input-button");
|
|
25490
|
+
if (el) {
|
|
25491
|
+
msgError.value = show_error;
|
|
25492
|
+
}
|
|
25224
25493
|
}
|
|
25225
25494
|
};
|
|
25226
25495
|
watch(
|
|
@@ -25259,12 +25528,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25259
25528
|
}
|
|
25260
25529
|
return status.value;
|
|
25261
25530
|
}
|
|
25262
|
-
localStorage.removeItem("loginReturnUrl");
|
|
25263
|
-
localStorage.removeItem("loginModalAuth");
|
|
25531
|
+
localStorage$2.removeItem("loginReturnUrl");
|
|
25532
|
+
localStorage$2.removeItem("loginModalAuth");
|
|
25264
25533
|
const authType = ref(null);
|
|
25265
25534
|
const pcAuthLogin = (type) => {
|
|
25266
25535
|
authType.value = type;
|
|
25267
|
-
if (localStorage.getItem("access_token")) {
|
|
25536
|
+
if (localStorage$2.getItem("access_token")) {
|
|
25268
25537
|
emits("close", true);
|
|
25269
25538
|
} else {
|
|
25270
25539
|
const loginParams = { type, validFunc: checkAgree, triggerType: props.triggerType };
|
|
@@ -25276,8 +25545,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25276
25545
|
[AuthTypeEnum.H_BUILDER]: () => LoginConfig.beforeOtherLogin(loginParams)
|
|
25277
25546
|
};
|
|
25278
25547
|
loginMap[type]();
|
|
25279
|
-
if (localStorage.getItem("utm_source")) {
|
|
25280
|
-
localStorage.removeItem("utm_source");
|
|
25548
|
+
if (localStorage$2.getItem("utm_source")) {
|
|
25549
|
+
localStorage$2.removeItem("utm_source");
|
|
25281
25550
|
}
|
|
25282
25551
|
}
|
|
25283
25552
|
};
|
|
@@ -25674,9 +25943,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25674
25943
|
};
|
|
25675
25944
|
}
|
|
25676
25945
|
});
|
|
25677
|
-
const
|
|
25946
|
+
const index_vue_vue_type_style_index_0_scoped_aaa917cf_lang = "";
|
|
25678
25947
|
const index_vue_vue_type_style_index_1_lang = "";
|
|
25679
|
-
const LoginModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
25948
|
+
const LoginModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-aaa917cf"]]);
|
|
25680
25949
|
const { t } = i18n.global;
|
|
25681
25950
|
function useLogin(request) {
|
|
25682
25951
|
const successMsg = t("gitCodeLayout.common.tips.welcome");
|
|
@@ -25691,8 +25960,8 @@ function useLogin(request) {
|
|
|
25691
25960
|
if (isPhone()) {
|
|
25692
25961
|
saveLoginType(triggerType || "");
|
|
25693
25962
|
let url = window.location.href;
|
|
25694
|
-
if (location.search.includes("?returnUrl=")) {
|
|
25695
|
-
url = location.search;
|
|
25963
|
+
if (window.location.search.includes("?returnUrl=")) {
|
|
25964
|
+
url = window.location.search;
|
|
25696
25965
|
}
|
|
25697
25966
|
const returnUrl = url.replace("?returnUrl=", "");
|
|
25698
25967
|
router2.replace(`/${type}?returnUrl=${returnUrl}`);
|
|
@@ -25713,14 +25982,14 @@ function useLogin(request) {
|
|
|
25713
25982
|
loginSuccess && loginSuccess(conf);
|
|
25714
25983
|
Message.success(successMsg);
|
|
25715
25984
|
if (`${username}@gitcode.com` === email) {
|
|
25716
|
-
localStorage.setItem("validator_email", "invalid");
|
|
25985
|
+
localStorage$2.setItem("validator_email", "invalid");
|
|
25717
25986
|
} else {
|
|
25718
|
-
localStorage.setItem("validator_email", "valid");
|
|
25987
|
+
localStorage$2.setItem("validator_email", "valid");
|
|
25719
25988
|
}
|
|
25720
25989
|
setTimeout(() => {
|
|
25721
25990
|
const returnUrl = route.query.returnUrl;
|
|
25722
25991
|
if (returnUrl) {
|
|
25723
|
-
location.href = returnUrl;
|
|
25992
|
+
window.location.href = returnUrl;
|
|
25724
25993
|
} else {
|
|
25725
25994
|
router2.go(0);
|
|
25726
25995
|
}
|
|
@@ -25777,14 +26046,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25777
26046
|
const { t: t2 } = i18n.global;
|
|
25778
26047
|
const { notice } = useNotification();
|
|
25779
26048
|
const toNotice = () => {
|
|
25780
|
-
if (localStorage.getItem("validator_email") === "invalid") {
|
|
26049
|
+
if (localStorage$2.getItem("validator_email") === "invalid") {
|
|
25781
26050
|
notice();
|
|
25782
26051
|
}
|
|
25783
26052
|
};
|
|
25784
26053
|
onMounted(() => {
|
|
25785
26054
|
toNotice();
|
|
25786
26055
|
addEventListener("logout", (options) => {
|
|
25787
|
-
const token = localStorage.getItem("access_token");
|
|
26056
|
+
const token = localStorage$2.getItem("access_token");
|
|
25788
26057
|
if (!status.value) {
|
|
25789
26058
|
status.value = true;
|
|
25790
26059
|
if (isMounted()) {
|
|
@@ -25843,6 +26112,9 @@ const index = {
|
|
|
25843
26112
|
}
|
|
25844
26113
|
};
|
|
25845
26114
|
export {
|
|
26115
|
+
currentTheme as A,
|
|
26116
|
+
setTheme as B,
|
|
26117
|
+
index as C,
|
|
25846
26118
|
EVENT_NAME as E,
|
|
25847
26119
|
GIcon as G,
|
|
25848
26120
|
REPO_MODULE as R,
|
|
@@ -25858,20 +26130,21 @@ export {
|
|
|
25858
26130
|
usePageResize as g,
|
|
25859
26131
|
headRequest as h,
|
|
25860
26132
|
isPhone as i,
|
|
25861
|
-
|
|
25862
|
-
|
|
25863
|
-
|
|
25864
|
-
|
|
25865
|
-
|
|
25866
|
-
|
|
25867
|
-
|
|
25868
|
-
|
|
26133
|
+
isGstarRepo as j,
|
|
26134
|
+
_sfc_main$v as k,
|
|
26135
|
+
localStorage$2 as l,
|
|
26136
|
+
isIncubationRepo as m,
|
|
26137
|
+
highlightWords as n,
|
|
26138
|
+
_frEventTrack as o,
|
|
26139
|
+
useLayoutConfig as p,
|
|
26140
|
+
ToolsFloat as q,
|
|
25869
26141
|
reqCatch as r,
|
|
25870
|
-
|
|
26142
|
+
_sfc_main as s,
|
|
25871
26143
|
transWebUrl as t,
|
|
25872
26144
|
useModel as u,
|
|
25873
|
-
|
|
25874
|
-
|
|
25875
|
-
|
|
25876
|
-
|
|
26145
|
+
GitCodeAside as v,
|
|
26146
|
+
GitCodeHeader as w,
|
|
26147
|
+
useLogin as x,
|
|
26148
|
+
setLayoutConfig as y,
|
|
26149
|
+
GitCodeLayoutEmitter as z
|
|
25877
26150
|
};
|