vue-layout-gitcode 1.9.53 → 1.9.55
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-D7b4NrGu.js → GloabarSearch-H3vDxme0.js} +3 -3
- package/{MenuItem-NXCr4K25.js → MenuItem-CzvnmAxx.js} +1 -1
- package/{ProjectMenuList-Fh5qV4eA.js → ProjectMenuList-Dk2MZ4OP.js} +4 -4
- package/{ProjectMenuListV2-g8GW_Fx8.js → ProjectMenuListV2-VW3DEFfH.js} +3 -3
- package/{ProjectSearch-BZpDrC6-.js → ProjectSearch-DrgUNf2c.js} +1 -1
- package/{SearchHistoryList-gD4XlWI-.js → SearchHistoryList-Cd2uW6rE.js} +1 -1
- package/{SearchPrefixTag-DTDUKd0T.js → SearchPrefixTag-5Zk19uBK.js} +1 -1
- package/{SearchRecommed-DoFx6I6g.js → SearchRecommed-C0zBe2PT.js} +2 -2
- package/{SearchScopeList-803XzJrl.js → SearchScopeList-DQc6OI01.js} +1 -1
- package/{UserSearch-jO_8UINd.js → UserSearch-CxTf3KKJ.js} +11 -2
- package/{index-DmK6EVbR.js → index-B9QNtqtc.js} +9 -6
- package/{index-lHH4eI3c.js → index-BJ_tDUmJ.js} +1 -1
- package/{index-CTBLbh6u.js → index-BSgfb2Bf.js} +3 -2
- package/{index-D33NzfYP.js → index-Yj0ntzfM.js} +1183 -668
- package/index.d.ts +2 -0
- package/index.js +12 -11
- package/{notice-BJPAGOXm.js → notice-ZbkZMqvf.js} +5 -3
- package/package.json +2 -2
- package/style.css +1 -1
- package/{transWebUrl-BlGsld3x.js → transWebUrl-3xQ-ZU7Y.js} +1 -1
|
@@ -9,12 +9,12 @@ import "vue-devui-lal/tooltip/style.css";
|
|
|
9
9
|
import "vue-devui-lal/textarea/style.css";
|
|
10
10
|
import { Icon } from "vue-devui-lal/icon";
|
|
11
11
|
import "vue-devui-lal/icon/style.css";
|
|
12
|
+
import cloneDeep from "lodash/cloneDeep";
|
|
12
13
|
import { useRouter, useRoute, createRouter, createWebHistory, createMemoryHistory } from "vue-router";
|
|
13
14
|
import { useWindowSize, useEventListener, useElementSize, useStorage, useDebounceFn } from "@vueuse/core";
|
|
14
15
|
import { Avatar } from "vue-devui-lal/avatar";
|
|
15
16
|
import "vue-devui-lal/avatar/style.css";
|
|
16
17
|
import "lodash/last";
|
|
17
|
-
import cloneDeep from "lodash/cloneDeep";
|
|
18
18
|
import dayjs$1 from "dayjs";
|
|
19
19
|
import isDate$2 from "lodash/isDate";
|
|
20
20
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
|
@@ -50,9 +50,9 @@ import { Checkbox } from "vue-devui-lal/checkbox";
|
|
|
50
50
|
import "vue-devui-lal/checkbox/style.css";
|
|
51
51
|
import { Modal } from "vue-devui-lal/modal";
|
|
52
52
|
import "vue-devui-lal/modal/style.css";
|
|
53
|
-
const _hoisted_1$
|
|
54
|
-
const _hoisted_2$
|
|
55
|
-
const _sfc_main$
|
|
53
|
+
const _hoisted_1$w = ["xlink:href"];
|
|
54
|
+
const _hoisted_2$n = ["xlink:href"];
|
|
55
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
56
56
|
__name: "index",
|
|
57
57
|
props: {
|
|
58
58
|
name: { default: "gt-run" },
|
|
@@ -81,7 +81,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
81
81
|
}, [
|
|
82
82
|
createElementVNode("use", {
|
|
83
83
|
"xlink:href": `#${_ctx.name}`
|
|
84
|
-
}, null, 8, _hoisted_1$
|
|
84
|
+
}, null, 8, _hoisted_1$w)
|
|
85
85
|
], 6)),
|
|
86
86
|
renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
87
87
|
], 2)) : (openBlock(), createElementBlock("svg", {
|
|
@@ -92,7 +92,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
92
92
|
}, [
|
|
93
93
|
createElementVNode("use", {
|
|
94
94
|
"xlink:href": `#${_ctx.name}`
|
|
95
|
-
}, null, 8, _hoisted_2$
|
|
95
|
+
}, null, 8, _hoisted_2$n)
|
|
96
96
|
], 6));
|
|
97
97
|
};
|
|
98
98
|
}
|
|
@@ -104,7 +104,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
104
104
|
}
|
|
105
105
|
return target;
|
|
106
106
|
};
|
|
107
|
-
const GIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
107
|
+
const GIcon = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
108
108
|
const defaultConfig = {
|
|
109
109
|
VITE_ENV: "production",
|
|
110
110
|
VITE_HOST: "https://gitcode.com",
|
|
@@ -120,12 +120,12 @@ const defaultConfig = {
|
|
|
120
120
|
VITE_SECRET_KEY: "SA!nUNPZ5o!OSV&B",
|
|
121
121
|
VITE_SECRET_IV: "SA!nwwwZ5o!OSV&B"
|
|
122
122
|
};
|
|
123
|
-
|
|
123
|
+
const layoutConfig$6 = reactive({ ...defaultConfig });
|
|
124
124
|
function setLayoutConfig(customConfig) {
|
|
125
|
-
Object.assign(layoutConfig$
|
|
125
|
+
Object.assign(layoutConfig$6, customConfig);
|
|
126
126
|
}
|
|
127
127
|
function useLayoutConfig() {
|
|
128
|
-
return readonly(layoutConfig$
|
|
128
|
+
return readonly(layoutConfig$6);
|
|
129
129
|
}
|
|
130
130
|
async function reqCatch(req, params) {
|
|
131
131
|
try {
|
|
@@ -474,7 +474,8 @@ var AsideReportEvent = /* @__PURE__ */ ((AsideReportEvent2) => {
|
|
|
474
474
|
return AsideReportEvent2;
|
|
475
475
|
})(AsideReportEvent || {});
|
|
476
476
|
const AICopilot_ROUTE_NAME = "aiCopilot";
|
|
477
|
-
const
|
|
477
|
+
const HELP_DOCS_URL_GITCODE = "https://docs.gitcode.com";
|
|
478
|
+
const HELP_DOCS_URL_ATOMGIT = "https://docs.atomgit.com";
|
|
478
479
|
const INFORMATION_CENTER_URL = "https://news.gitcode.com/news";
|
|
479
480
|
const AVATAR_VISITED_DATE = "avatar-visitedDate";
|
|
480
481
|
const AVATAR_VISITED_USERNAME = "avatar-visited-username";
|
|
@@ -494,6 +495,12 @@ const DEFAULT_COUNTRY = "CN_0086";
|
|
|
494
495
|
const IMAGE_CDN_PREFIX = "https://cdn-static.gitcode.com";
|
|
495
496
|
const HARMONY_VISITED_DATE = "harmony-visitedDate";
|
|
496
497
|
const HARMONY_SURVEY_DELAY = "harmony-survey-delay";
|
|
498
|
+
const SITE_STATUS = {
|
|
499
|
+
DISABLE: true,
|
|
500
|
+
// 是否维护中(true代表全站维护)
|
|
501
|
+
COMMUNITY: false
|
|
502
|
+
// 是否开启社区
|
|
503
|
+
};
|
|
497
504
|
const UTM_SOURCE = "utm_source";
|
|
498
505
|
const PASSPORT_PREFIX = "/uc";
|
|
499
506
|
const AUTH_WINDOW = "auth_window";
|
|
@@ -511,7 +518,28 @@ const TOOLS_FLOAT_COLLAPSE_STATUS = {
|
|
|
511
518
|
const TOOLS_FLOAT_COLLAPSE_STATUS_KEY_FOR_REPO = "asideTool_collapse_status_repo";
|
|
512
519
|
const TOOLS_FLOAT_COLLAPSE_STATUS_KEY = "asideTool_collapse_status";
|
|
513
520
|
const TOOLS_FLOAT_COLLAPSE_DATE_KEY = "asideTool_collapse_date";
|
|
514
|
-
|
|
521
|
+
const GUI_YANG_GITCODE_HOST = "gitcode.host";
|
|
522
|
+
const LOGO_MAP = {
|
|
523
|
+
gitcode: {
|
|
524
|
+
favicon: "https://cdn-static.gitcode.com/static/images/logo-favicon.png",
|
|
525
|
+
siteLogoDark: "https://cdn-static.gitcode.com/static/images/bind-logo-dark.png",
|
|
526
|
+
siteLogoWhite: "https://cdn-static.gitcode.com/static/images/bind-logo-white.png",
|
|
527
|
+
tianqiLogoLocalWhite: "https://cdn-static.gitcode.com/static/images/tianqi-white-bind.png",
|
|
528
|
+
tianqiLogoLocalDark: "https://cdn-static.gitcode.com/static/images/tianqi-black-bind.png",
|
|
529
|
+
aiLogoWhite: "https://cdn-static.gitcode.com/static/images/gitcode-ai-logo-white_atomgit.png",
|
|
530
|
+
aiLogoDark: "https://cdn-static.gitcode.com/static/images/gitcode-ai-logo-dark_atomgit.png"
|
|
531
|
+
},
|
|
532
|
+
atomgit: {
|
|
533
|
+
favicon: "https://cdn-static.gitcode.com/static/images/logo-favicon.png",
|
|
534
|
+
siteLogoDark: "https://cdn-static.gitcode.com/static/images/bind-logo-dark.png",
|
|
535
|
+
siteLogoWhite: "https://cdn-static.gitcode.com/static/images/bind-logo-white.png",
|
|
536
|
+
tianqiLogoLocalWhite: "https://cdn-static.gitcode.com/static/images/tianqi-white-bind.png",
|
|
537
|
+
tianqiLogoLocalDark: "https://cdn-static.gitcode.com/static/images/tianqi-black-bind.png",
|
|
538
|
+
aiLogoWhite: "https://cdn-static.gitcode.com/static/images/gitcode-ai-logo-white_atomgit.png",
|
|
539
|
+
aiLogoDark: "https://cdn-static.gitcode.com/static/images/gitcode-ai-logo-dark_atomgit.png"
|
|
540
|
+
}
|
|
541
|
+
};
|
|
542
|
+
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
|
|
515
543
|
const {
|
|
516
544
|
entries,
|
|
517
545
|
setPrototypeOf,
|
|
@@ -539,18 +567,12 @@ if (!seal) {
|
|
|
539
567
|
};
|
|
540
568
|
}
|
|
541
569
|
if (!apply$1) {
|
|
542
|
-
apply$1 = function apply2(
|
|
543
|
-
|
|
544
|
-
args[_key - 2] = arguments[_key];
|
|
545
|
-
}
|
|
546
|
-
return func.apply(thisArg, args);
|
|
570
|
+
apply$1 = function apply2(fun, thisValue, args) {
|
|
571
|
+
return fun.apply(thisValue, args);
|
|
547
572
|
};
|
|
548
573
|
}
|
|
549
574
|
if (!construct) {
|
|
550
|
-
construct = function construct2(Func) {
|
|
551
|
-
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
552
|
-
args[_key2 - 1] = arguments[_key2];
|
|
553
|
-
}
|
|
575
|
+
construct = function construct2(Func, args) {
|
|
554
576
|
return new Func(...args);
|
|
555
577
|
};
|
|
556
578
|
}
|
|
@@ -573,18 +595,18 @@ function unapply(func) {
|
|
|
573
595
|
if (thisArg instanceof RegExp) {
|
|
574
596
|
thisArg.lastIndex = 0;
|
|
575
597
|
}
|
|
576
|
-
for (var
|
|
577
|
-
args[
|
|
598
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
599
|
+
args[_key - 1] = arguments[_key];
|
|
578
600
|
}
|
|
579
601
|
return apply$1(func, thisArg, args);
|
|
580
602
|
};
|
|
581
603
|
}
|
|
582
|
-
function unconstruct(
|
|
604
|
+
function unconstruct(func) {
|
|
583
605
|
return function() {
|
|
584
|
-
for (var
|
|
585
|
-
args[
|
|
606
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
607
|
+
args[_key2] = arguments[_key2];
|
|
586
608
|
}
|
|
587
|
-
return construct(
|
|
609
|
+
return construct(func, args);
|
|
588
610
|
};
|
|
589
611
|
}
|
|
590
612
|
function addToSet(set, array) {
|
|
@@ -651,15 +673,15 @@ function lookupGetter(object, prop) {
|
|
|
651
673
|
}
|
|
652
674
|
return fallbackValue;
|
|
653
675
|
}
|
|
654
|
-
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", "
|
|
655
|
-
const svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "
|
|
676
|
+
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"]);
|
|
677
|
+
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"]);
|
|
656
678
|
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"]);
|
|
657
679
|
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"]);
|
|
658
680
|
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"]);
|
|
659
681
|
const mathMlDisallowed = freeze(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
|
|
660
682
|
const text = freeze(["#text"]);
|
|
661
|
-
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", "
|
|
662
|
-
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", "
|
|
683
|
+
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"]);
|
|
684
|
+
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"]);
|
|
663
685
|
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"]);
|
|
664
686
|
const xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
|
|
665
687
|
const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
|
|
@@ -742,7 +764,7 @@ const _createHooksMap = function _createHooksMap2() {
|
|
|
742
764
|
function createDOMPurify() {
|
|
743
765
|
let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
|
|
744
766
|
const DOMPurify = (root) => createDOMPurify(root);
|
|
745
|
-
DOMPurify.version = "3.
|
|
767
|
+
DOMPurify.version = "3.2.6";
|
|
746
768
|
DOMPurify.removed = [];
|
|
747
769
|
if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
|
|
748
770
|
DOMPurify.isSupported = false;
|
|
@@ -828,20 +850,6 @@ function createDOMPurify() {
|
|
|
828
850
|
}));
|
|
829
851
|
let FORBID_TAGS = null;
|
|
830
852
|
let FORBID_ATTR = null;
|
|
831
|
-
const EXTRA_ELEMENT_HANDLING = Object.seal(create$1(null, {
|
|
832
|
-
tagCheck: {
|
|
833
|
-
writable: true,
|
|
834
|
-
configurable: false,
|
|
835
|
-
enumerable: true,
|
|
836
|
-
value: null
|
|
837
|
-
},
|
|
838
|
-
attributeCheck: {
|
|
839
|
-
writable: true,
|
|
840
|
-
configurable: false,
|
|
841
|
-
enumerable: true,
|
|
842
|
-
value: null
|
|
843
|
-
}
|
|
844
|
-
}));
|
|
845
853
|
let ALLOW_ARIA_ATTR = true;
|
|
846
854
|
let ALLOW_DATA_ATTR = true;
|
|
847
855
|
let ALLOW_UNKNOWN_PROTOCOLS = false;
|
|
@@ -965,24 +973,16 @@ function createDOMPurify() {
|
|
|
965
973
|
}
|
|
966
974
|
}
|
|
967
975
|
if (cfg.ADD_TAGS) {
|
|
968
|
-
if (
|
|
969
|
-
|
|
970
|
-
} else {
|
|
971
|
-
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
972
|
-
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
|
973
|
-
}
|
|
974
|
-
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
976
|
+
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
977
|
+
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
|
975
978
|
}
|
|
979
|
+
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
976
980
|
}
|
|
977
981
|
if (cfg.ADD_ATTR) {
|
|
978
|
-
if (
|
|
979
|
-
|
|
980
|
-
} else {
|
|
981
|
-
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
982
|
-
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
|
983
|
-
}
|
|
984
|
-
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
982
|
+
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
983
|
+
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
|
985
984
|
}
|
|
985
|
+
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
986
986
|
}
|
|
987
987
|
if (cfg.ADD_URI_SAFE_ATTR) {
|
|
988
988
|
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
|
@@ -1188,7 +1188,7 @@ function createDOMPurify() {
|
|
|
1188
1188
|
_forceRemove(currentNode);
|
|
1189
1189
|
return true;
|
|
1190
1190
|
}
|
|
1191
|
-
if (!
|
|
1191
|
+
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
1192
1192
|
if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
|
|
1193
1193
|
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
|
|
1194
1194
|
return false;
|
|
@@ -1241,13 +1241,12 @@ function createDOMPurify() {
|
|
|
1241
1241
|
}
|
|
1242
1242
|
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR2, lcName)) ;
|
|
1243
1243
|
else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR2, lcName)) ;
|
|
1244
|
-
else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ;
|
|
1245
1244
|
else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
|
1246
1245
|
if (
|
|
1247
1246
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
1248
1247
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1249
1248
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
1250
|
-
_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
|
|
1249
|
+
_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
|
|
1251
1250
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1252
1251
|
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))
|
|
1253
1252
|
) ;
|
|
@@ -1302,11 +1301,7 @@ function createDOMPurify() {
|
|
|
1302
1301
|
_removeAttribute(name, currentNode);
|
|
1303
1302
|
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
|
1304
1303
|
}
|
|
1305
|
-
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title
|
|
1306
|
-
_removeAttribute(name, currentNode);
|
|
1307
|
-
continue;
|
|
1308
|
-
}
|
|
1309
|
-
if (lcName === "attributename" && stringMatch(value, "href")) {
|
|
1304
|
+
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
|
|
1310
1305
|
_removeAttribute(name, currentNode);
|
|
1311
1306
|
continue;
|
|
1312
1307
|
}
|
|
@@ -1634,7 +1629,7 @@ function init(converter, defaultAttributes) {
|
|
|
1634
1629
|
}
|
|
1635
1630
|
var api = init(defaultConverter, { path: "/" });
|
|
1636
1631
|
/*!
|
|
1637
|
-
* shared v9.14.
|
|
1632
|
+
* shared v9.14.4
|
|
1638
1633
|
* (c) 2025 kazuya kawaguchi
|
|
1639
1634
|
* Released under the MIT License.
|
|
1640
1635
|
*/
|
|
@@ -1808,7 +1803,7 @@ function deepCopy(src, des) {
|
|
|
1808
1803
|
}
|
|
1809
1804
|
}
|
|
1810
1805
|
/*!
|
|
1811
|
-
* message-compiler v9.14.
|
|
1806
|
+
* message-compiler v9.14.4
|
|
1812
1807
|
* (c) 2025 kazuya kawaguchi
|
|
1813
1808
|
* Released under the MIT License.
|
|
1814
1809
|
*/
|
|
@@ -3358,7 +3353,7 @@ function baseCompile$1(source, options = {}) {
|
|
|
3358
3353
|
}
|
|
3359
3354
|
}
|
|
3360
3355
|
/*!
|
|
3361
|
-
* core-base v9.14.
|
|
3356
|
+
* core-base v9.14.4
|
|
3362
3357
|
* (c) 2025 kazuya kawaguchi
|
|
3363
3358
|
* Released under the MIT License.
|
|
3364
3359
|
*/
|
|
@@ -3373,6 +3368,76 @@ function initFeatureFlags$1() {
|
|
|
3373
3368
|
getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__ = false;
|
|
3374
3369
|
}
|
|
3375
3370
|
}
|
|
3371
|
+
function isMessageAST(val) {
|
|
3372
|
+
return isObject$3(val) && resolveType(val) === 0 && (hasOwn(val, "b") || hasOwn(val, "body"));
|
|
3373
|
+
}
|
|
3374
|
+
const PROPS_BODY = ["b", "body"];
|
|
3375
|
+
function resolveBody(node) {
|
|
3376
|
+
return resolveProps(node, PROPS_BODY);
|
|
3377
|
+
}
|
|
3378
|
+
const PROPS_CASES = ["c", "cases"];
|
|
3379
|
+
function resolveCases(node) {
|
|
3380
|
+
return resolveProps(node, PROPS_CASES, []);
|
|
3381
|
+
}
|
|
3382
|
+
const PROPS_STATIC = ["s", "static"];
|
|
3383
|
+
function resolveStatic(node) {
|
|
3384
|
+
return resolveProps(node, PROPS_STATIC);
|
|
3385
|
+
}
|
|
3386
|
+
const PROPS_ITEMS = ["i", "items"];
|
|
3387
|
+
function resolveItems(node) {
|
|
3388
|
+
return resolveProps(node, PROPS_ITEMS, []);
|
|
3389
|
+
}
|
|
3390
|
+
const PROPS_TYPE = ["t", "type"];
|
|
3391
|
+
function resolveType(node) {
|
|
3392
|
+
return resolveProps(node, PROPS_TYPE);
|
|
3393
|
+
}
|
|
3394
|
+
const PROPS_VALUE = ["v", "value"];
|
|
3395
|
+
function resolveValue$1(node, type) {
|
|
3396
|
+
const resolved = resolveProps(node, PROPS_VALUE);
|
|
3397
|
+
if (resolved != null) {
|
|
3398
|
+
return resolved;
|
|
3399
|
+
} else {
|
|
3400
|
+
throw createUnhandleNodeError(type);
|
|
3401
|
+
}
|
|
3402
|
+
}
|
|
3403
|
+
const PROPS_MODIFIER = ["m", "modifier"];
|
|
3404
|
+
function resolveLinkedModifier(node) {
|
|
3405
|
+
return resolveProps(node, PROPS_MODIFIER);
|
|
3406
|
+
}
|
|
3407
|
+
const PROPS_KEY = ["k", "key"];
|
|
3408
|
+
function resolveLinkedKey(node) {
|
|
3409
|
+
const resolved = resolveProps(node, PROPS_KEY);
|
|
3410
|
+
if (resolved) {
|
|
3411
|
+
return resolved;
|
|
3412
|
+
} else {
|
|
3413
|
+
throw createUnhandleNodeError(
|
|
3414
|
+
6
|
|
3415
|
+
/* NodeTypes.Linked */
|
|
3416
|
+
);
|
|
3417
|
+
}
|
|
3418
|
+
}
|
|
3419
|
+
function resolveProps(node, props, defaultValue) {
|
|
3420
|
+
for (let i = 0; i < props.length; i++) {
|
|
3421
|
+
const prop = props[i];
|
|
3422
|
+
if (hasOwn(node, prop) && node[prop] != null) {
|
|
3423
|
+
return node[prop];
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
3426
|
+
return defaultValue;
|
|
3427
|
+
}
|
|
3428
|
+
const AST_NODE_PROPS_KEYS = [
|
|
3429
|
+
...PROPS_BODY,
|
|
3430
|
+
...PROPS_CASES,
|
|
3431
|
+
...PROPS_STATIC,
|
|
3432
|
+
...PROPS_ITEMS,
|
|
3433
|
+
...PROPS_KEY,
|
|
3434
|
+
...PROPS_MODIFIER,
|
|
3435
|
+
...PROPS_VALUE,
|
|
3436
|
+
...PROPS_TYPE
|
|
3437
|
+
];
|
|
3438
|
+
function createUnhandleNodeError(type) {
|
|
3439
|
+
return new Error(`unhandled node type: ${type}`);
|
|
3440
|
+
}
|
|
3376
3441
|
const pathStateMachine = [];
|
|
3377
3442
|
pathStateMachine[
|
|
3378
3443
|
0
|
|
@@ -3779,7 +3844,7 @@ const cache = /* @__PURE__ */ new Map();
|
|
|
3779
3844
|
function resolveWithKeyValue(obj, path) {
|
|
3780
3845
|
return isObject$3(obj) ? obj[path] : null;
|
|
3781
3846
|
}
|
|
3782
|
-
function resolveValue
|
|
3847
|
+
function resolveValue(obj, path) {
|
|
3783
3848
|
if (!isObject$3(obj)) {
|
|
3784
3849
|
return null;
|
|
3785
3850
|
}
|
|
@@ -3797,7 +3862,11 @@ function resolveValue$1(obj, path) {
|
|
|
3797
3862
|
let last = obj;
|
|
3798
3863
|
let i = 0;
|
|
3799
3864
|
while (i < len) {
|
|
3800
|
-
const
|
|
3865
|
+
const key = hit[i];
|
|
3866
|
+
if (AST_NODE_PROPS_KEYS.includes(key) && isMessageAST(last)) {
|
|
3867
|
+
return null;
|
|
3868
|
+
}
|
|
3869
|
+
const val = last[key];
|
|
3801
3870
|
if (val === void 0) {
|
|
3802
3871
|
return null;
|
|
3803
3872
|
}
|
|
@@ -4091,7 +4160,7 @@ function appendItemToChain(chain, target, blocks) {
|
|
|
4091
4160
|
}
|
|
4092
4161
|
return follow;
|
|
4093
4162
|
}
|
|
4094
|
-
const VERSION$3 = "9.14.
|
|
4163
|
+
const VERSION$3 = "9.14.4";
|
|
4095
4164
|
const NOT_REOSLVED = -1;
|
|
4096
4165
|
const DEFAULT_LOCALE = "en-US";
|
|
4097
4166
|
const MISSING_RESOLVE_VALUE = "";
|
|
@@ -4278,14 +4347,6 @@ function formatParts(ctx, ast) {
|
|
|
4278
4347
|
return formatMessageParts(ctx, body);
|
|
4279
4348
|
}
|
|
4280
4349
|
}
|
|
4281
|
-
const PROPS_BODY = ["b", "body"];
|
|
4282
|
-
function resolveBody(node) {
|
|
4283
|
-
return resolveProps(node, PROPS_BODY);
|
|
4284
|
-
}
|
|
4285
|
-
const PROPS_CASES = ["c", "cases"];
|
|
4286
|
-
function resolveCases(node) {
|
|
4287
|
-
return resolveProps(node, PROPS_CASES, []);
|
|
4288
|
-
}
|
|
4289
4350
|
function formatMessageParts(ctx, node) {
|
|
4290
4351
|
const static_ = resolveStatic(node);
|
|
4291
4352
|
if (static_ != null) {
|
|
@@ -4295,22 +4356,14 @@ function formatMessageParts(ctx, node) {
|
|
|
4295
4356
|
return ctx.normalize(messages);
|
|
4296
4357
|
}
|
|
4297
4358
|
}
|
|
4298
|
-
const PROPS_STATIC = ["s", "static"];
|
|
4299
|
-
function resolveStatic(node) {
|
|
4300
|
-
return resolveProps(node, PROPS_STATIC);
|
|
4301
|
-
}
|
|
4302
|
-
const PROPS_ITEMS = ["i", "items"];
|
|
4303
|
-
function resolveItems(node) {
|
|
4304
|
-
return resolveProps(node, PROPS_ITEMS, []);
|
|
4305
|
-
}
|
|
4306
4359
|
function formatMessagePart(ctx, node) {
|
|
4307
4360
|
const type = resolveType(node);
|
|
4308
4361
|
switch (type) {
|
|
4309
4362
|
case 3: {
|
|
4310
|
-
return resolveValue(node, type);
|
|
4363
|
+
return resolveValue$1(node, type);
|
|
4311
4364
|
}
|
|
4312
4365
|
case 9: {
|
|
4313
|
-
return resolveValue(node, type);
|
|
4366
|
+
return resolveValue$1(node, type);
|
|
4314
4367
|
}
|
|
4315
4368
|
case 4: {
|
|
4316
4369
|
const named = node;
|
|
@@ -4339,56 +4392,15 @@ function formatMessagePart(ctx, node) {
|
|
|
4339
4392
|
return ctx.linked(formatMessagePart(ctx, key), modifier ? formatMessagePart(ctx, modifier) : void 0, ctx.type);
|
|
4340
4393
|
}
|
|
4341
4394
|
case 7: {
|
|
4342
|
-
return resolveValue(node, type);
|
|
4395
|
+
return resolveValue$1(node, type);
|
|
4343
4396
|
}
|
|
4344
4397
|
case 8: {
|
|
4345
|
-
return resolveValue(node, type);
|
|
4398
|
+
return resolveValue$1(node, type);
|
|
4346
4399
|
}
|
|
4347
4400
|
default:
|
|
4348
4401
|
throw new Error(`unhandled node on format message part: ${type}`);
|
|
4349
4402
|
}
|
|
4350
4403
|
}
|
|
4351
|
-
const PROPS_TYPE = ["t", "type"];
|
|
4352
|
-
function resolveType(node) {
|
|
4353
|
-
return resolveProps(node, PROPS_TYPE);
|
|
4354
|
-
}
|
|
4355
|
-
const PROPS_VALUE = ["v", "value"];
|
|
4356
|
-
function resolveValue(node, type) {
|
|
4357
|
-
const resolved = resolveProps(node, PROPS_VALUE);
|
|
4358
|
-
if (resolved) {
|
|
4359
|
-
return resolved;
|
|
4360
|
-
} else {
|
|
4361
|
-
throw createUnhandleNodeError(type);
|
|
4362
|
-
}
|
|
4363
|
-
}
|
|
4364
|
-
const PROPS_MODIFIER = ["m", "modifier"];
|
|
4365
|
-
function resolveLinkedModifier(node) {
|
|
4366
|
-
return resolveProps(node, PROPS_MODIFIER);
|
|
4367
|
-
}
|
|
4368
|
-
const PROPS_KEY = ["k", "key"];
|
|
4369
|
-
function resolveLinkedKey(node) {
|
|
4370
|
-
const resolved = resolveProps(node, PROPS_KEY);
|
|
4371
|
-
if (resolved) {
|
|
4372
|
-
return resolved;
|
|
4373
|
-
} else {
|
|
4374
|
-
throw createUnhandleNodeError(
|
|
4375
|
-
6
|
|
4376
|
-
/* NodeTypes.Linked */
|
|
4377
|
-
);
|
|
4378
|
-
}
|
|
4379
|
-
}
|
|
4380
|
-
function resolveProps(node, props, defaultValue) {
|
|
4381
|
-
for (let i = 0; i < props.length; i++) {
|
|
4382
|
-
const prop = props[i];
|
|
4383
|
-
if (hasOwn(node, prop) && node[prop] != null) {
|
|
4384
|
-
return node[prop];
|
|
4385
|
-
}
|
|
4386
|
-
}
|
|
4387
|
-
return defaultValue;
|
|
4388
|
-
}
|
|
4389
|
-
function createUnhandleNodeError(type) {
|
|
4390
|
-
return new Error(`unhandled node type: ${type}`);
|
|
4391
|
-
}
|
|
4392
4404
|
const WARN_MESSAGE = `Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.`;
|
|
4393
4405
|
function checkHtmlMessage(source, warnHtmlMessage) {
|
|
4394
4406
|
if (warnHtmlMessage && detectHtmlTag(source)) {
|
|
@@ -4404,9 +4416,6 @@ reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-forma
|
|
|
4404
4416
|
(message compiler warning message: ${_warn.message})`);
|
|
4405
4417
|
}
|
|
4406
4418
|
}
|
|
4407
|
-
function isMessageAST(val) {
|
|
4408
|
-
return isObject$3(val) && resolveType(val) === 0 && (hasOwn(val, "b") || hasOwn(val, "body"));
|
|
4409
|
-
}
|
|
4410
4419
|
function baseCompile(message, options = {}) {
|
|
4411
4420
|
let detectError = false;
|
|
4412
4421
|
const onError = options.onError || defaultOnError;
|
|
@@ -5235,11 +5244,11 @@ function setupDevtoolsPlugin(pluginDescriptor, setupFn) {
|
|
|
5235
5244
|
}
|
|
5236
5245
|
}
|
|
5237
5246
|
/*!
|
|
5238
|
-
* vue-i18n v9.14.
|
|
5247
|
+
* vue-i18n v9.14.4
|
|
5239
5248
|
* (c) 2025 kazuya kawaguchi
|
|
5240
5249
|
* Released under the MIT License.
|
|
5241
5250
|
*/
|
|
5242
|
-
const VERSION$2 = "9.14.
|
|
5251
|
+
const VERSION$2 = "9.14.4";
|
|
5243
5252
|
function initFeatureFlags() {
|
|
5244
5253
|
if (typeof __VUE_I18N_FULL_INSTALL__ !== "boolean") {
|
|
5245
5254
|
getGlobalThis().__VUE_I18N_FULL_INSTALL__ = true;
|
|
@@ -5372,6 +5381,9 @@ function handleFlatJson(obj) {
|
|
|
5372
5381
|
if (!isObject$3(obj)) {
|
|
5373
5382
|
return obj;
|
|
5374
5383
|
}
|
|
5384
|
+
if (isMessageAST(obj)) {
|
|
5385
|
+
return obj;
|
|
5386
|
+
}
|
|
5375
5387
|
for (const key in obj) {
|
|
5376
5388
|
if (!hasOwn(obj, key)) {
|
|
5377
5389
|
continue;
|
|
@@ -5402,11 +5414,20 @@ function handleFlatJson(obj) {
|
|
|
5402
5414
|
currentObj = currentObj[subKeys[i]];
|
|
5403
5415
|
}
|
|
5404
5416
|
if (!hasStringValue) {
|
|
5405
|
-
currentObj
|
|
5406
|
-
|
|
5417
|
+
if (!isMessageAST(currentObj)) {
|
|
5418
|
+
currentObj[subKeys[lastIndex]] = obj[key];
|
|
5419
|
+
delete obj[key];
|
|
5420
|
+
} else {
|
|
5421
|
+
if (!AST_NODE_PROPS_KEYS.includes(subKeys[lastIndex])) {
|
|
5422
|
+
delete obj[key];
|
|
5423
|
+
}
|
|
5424
|
+
}
|
|
5407
5425
|
}
|
|
5408
|
-
if (
|
|
5409
|
-
|
|
5426
|
+
if (!isMessageAST(currentObj)) {
|
|
5427
|
+
const target = currentObj[subKeys[lastIndex]];
|
|
5428
|
+
if (isObject$3(target)) {
|
|
5429
|
+
handleFlatJson(target);
|
|
5430
|
+
}
|
|
5410
5431
|
}
|
|
5411
5432
|
}
|
|
5412
5433
|
}
|
|
@@ -7597,7 +7618,7 @@ if (__INTLIFY_JIT_COMPILATION__) {
|
|
|
7597
7618
|
} else {
|
|
7598
7619
|
registerMessageCompiler(compileToFunction);
|
|
7599
7620
|
}
|
|
7600
|
-
registerMessageResolver(resolveValue
|
|
7621
|
+
registerMessageResolver(resolveValue);
|
|
7601
7622
|
registerLocaleFallbacker(fallbackWithLocaleChain);
|
|
7602
7623
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
7603
7624
|
const target = getGlobalThis();
|
|
@@ -7607,13 +7628,20 @@ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
|
7607
7628
|
if (process.env.NODE_ENV !== "production") ;
|
|
7608
7629
|
const gitCodeLayout$1 = {
|
|
7609
7630
|
home: {
|
|
7631
|
+
migrationAnnounce: {
|
|
7632
|
+
preContent: "亲爱的 {siteName} 开发者:平台正在进行系统化融合与升级,预计将于10月28日12:00完成。之后,您将体验更强大、更稳定的平台。",
|
|
7633
|
+
content: "亲爱的开发者:GitCode 与 AtomGit 已完成深度整合升级,您将体验更稳定、更精彩的开源社区服务!",
|
|
7634
|
+
viewDetail: "【查看详情】",
|
|
7635
|
+
closePermanently: "不再提醒",
|
|
7636
|
+
close: "关闭"
|
|
7637
|
+
},
|
|
7610
7638
|
alreadyFollowed: "已关注",
|
|
7611
7639
|
focusOn: "关注",
|
|
7612
7640
|
star: "星标",
|
|
7613
7641
|
informationCenter: "资讯中心",
|
|
7614
7642
|
feedbackCenter: "反馈中心",
|
|
7615
7643
|
companyInformation: "重庆开源共创",
|
|
7616
|
-
recordInformation: "渝ICP备2023009037
|
|
7644
|
+
recordInformation: "渝ICP备2023009037号-1",
|
|
7617
7645
|
technicalSupport: "技术支持:",
|
|
7618
7646
|
HWCloud: "华为云",
|
|
7619
7647
|
userFeedback01: "在线客服",
|
|
@@ -7643,7 +7671,14 @@ const gitCodeLayout$1 = {
|
|
|
7643
7671
|
channel: {},
|
|
7644
7672
|
TianqiAI: "天启 AI",
|
|
7645
7673
|
Tianqi: "天启",
|
|
7646
|
-
topic: "热门主题"
|
|
7674
|
+
topic: "热门主题",
|
|
7675
|
+
copyright_atomgit: {
|
|
7676
|
+
slogon: "共创GitCode,开发者的代码家园",
|
|
7677
|
+
digest: "重庆开源共创科技有限公司版权所有",
|
|
7678
|
+
companyInformation: "重庆开源共创",
|
|
7679
|
+
recordInformation: "渝ICP备2023009037号-12",
|
|
7680
|
+
publicSecurity: "xxxx"
|
|
7681
|
+
}
|
|
7647
7682
|
},
|
|
7648
7683
|
header: {
|
|
7649
7684
|
create: "新建",
|
|
@@ -7741,11 +7776,12 @@ const gitCodeLayout$1 = {
|
|
|
7741
7776
|
attention: "关注"
|
|
7742
7777
|
},
|
|
7743
7778
|
tips: {
|
|
7744
|
-
notcieTitle: "
|
|
7779
|
+
notcieTitle: "GitCode 提示",
|
|
7745
7780
|
notcie1: "你的登录信息已过期,请重新登录!",
|
|
7746
7781
|
notcie2: "登录之后才能开启全新体验哦",
|
|
7747
7782
|
readPrivacyPolicy: "请阅读并同意用户协议以及其隐私政策",
|
|
7748
|
-
welcome: "欢迎来到
|
|
7783
|
+
welcome: "欢迎来到 GitCode",
|
|
7784
|
+
agreementTip: "请阅读并同意用户协议、隐私政策和数据共享"
|
|
7749
7785
|
},
|
|
7750
7786
|
foldup: "收起",
|
|
7751
7787
|
iCreated: "我创建的",
|
|
@@ -7792,7 +7828,7 @@ const gitCodeLayout$1 = {
|
|
|
7792
7828
|
},
|
|
7793
7829
|
LoginModal: {
|
|
7794
7830
|
title: {
|
|
7795
|
-
login: "欢迎登录你的GitCode账号",
|
|
7831
|
+
login: "欢迎登录你的 GitCode 账号",
|
|
7796
7832
|
register: "欢迎注册"
|
|
7797
7833
|
},
|
|
7798
7834
|
subtitle: {
|
|
@@ -7841,7 +7877,7 @@ const gitCodeLayout$1 = {
|
|
|
7841
7877
|
SMSVerificationCode: "请输入{count}位有效的短信验证码",
|
|
7842
7878
|
fillNecessaryInfo: "请输入有效的手机号码",
|
|
7843
7879
|
youNeeToAgr: "您需要同意",
|
|
7844
|
-
toUseGit: "
|
|
7880
|
+
toUseGit: "才能使用。",
|
|
7845
7881
|
ifYouDoNotAgrWe: "如果您不同意,很遗憾我们无法为您提供服务。",
|
|
7846
7882
|
disAndQui: "不同意并退出",
|
|
7847
7883
|
agrAndSigIn: "同意并登录",
|
|
@@ -7853,7 +7889,13 @@ const gitCodeLayout$1 = {
|
|
|
7853
7889
|
agreement: "用户协议",
|
|
7854
7890
|
privacyPolicy: "隐私政策",
|
|
7855
7891
|
huaweiCloudAgreement: "华为云用户协议",
|
|
7856
|
-
agreementPrivacy: "华为云隐私政策声明"
|
|
7892
|
+
agreementPrivacy: "华为云隐私政策声明",
|
|
7893
|
+
gitCodeProtocol: "GitCode用户协议",
|
|
7894
|
+
gitCodePrivacy: "GitCode隐私政策",
|
|
7895
|
+
dataShare: "我同意将账号、组织、仓库等信息提供给{name}进行数据共享",
|
|
7896
|
+
chiCloDevSerAgr: "华为云开发者服务协议",
|
|
7897
|
+
chiCloDevPriPolSta: "华为云开发者隐私政策声明",
|
|
7898
|
+
dataShareTip: "数据共享"
|
|
7857
7899
|
},
|
|
7858
7900
|
registerDesc: "GitCode 与华为云共同为用户提供代码托管服务,在使用代码托管相关服务时,将同步授权并开通华为云服务,并与重庆开源共创科技有限公司(GitCode的运营主体)关联及共享。",
|
|
7859
7901
|
rule: {
|
|
@@ -7911,6 +7953,13 @@ const zh = {
|
|
|
7911
7953
|
};
|
|
7912
7954
|
const gitCodeLayout = {
|
|
7913
7955
|
home: {
|
|
7956
|
+
migrationAnnounce: {
|
|
7957
|
+
preContent: "Dear {siteName} developer, the platform is undergoing integration, expected to be completed on October 28, 12:00. You will experience a more powerful platform.",
|
|
7958
|
+
content: "GitCode and AtomGit are now fully integrated. Enjoy a more stable and vibrant open source community!",
|
|
7959
|
+
viewDetail: "[View detail]",
|
|
7960
|
+
closePermanently: "Don't remind again",
|
|
7961
|
+
close: "Close"
|
|
7962
|
+
},
|
|
7914
7963
|
veryGood: "Excellent",
|
|
7915
7964
|
good: "Good",
|
|
7916
7965
|
generally: "Average",
|
|
@@ -7939,7 +7988,7 @@ const gitCodeLayout = {
|
|
|
7939
7988
|
slogon: "Co-create GitCode, the Code Home for Developers",
|
|
7940
7989
|
digest: "ChongQingKaiYuanGongChuang Technology Co., Ltd. All Rights Reserved",
|
|
7941
7990
|
companyInformation: "ChongQingKaiYuanGongChuang",
|
|
7942
|
-
recordInformation: "Yu ICP No. 2023009037",
|
|
7991
|
+
recordInformation: "Yu ICP No. 2023009037-1",
|
|
7943
7992
|
searchPlaceholder2: "Type <kbd>/</kbd> to search",
|
|
7944
7993
|
searchPlaceholder: "Search",
|
|
7945
7994
|
alreadyFollowed: "Followed",
|
|
@@ -7947,7 +7996,14 @@ const gitCodeLayout = {
|
|
|
7947
7996
|
org: {},
|
|
7948
7997
|
TianqiAI: "Tianqi AI",
|
|
7949
7998
|
Tianqi: "Tianqi",
|
|
7950
|
-
topic: "Hot topics"
|
|
7999
|
+
topic: "Hot topics",
|
|
8000
|
+
copyright_atomgit: {
|
|
8001
|
+
slogon: "Co-create GitCode, the Code Home for Developers",
|
|
8002
|
+
digest: "ChongQingKaiYuanGongChuang Technology Co., Ltd. All Rights Reserved",
|
|
8003
|
+
companyInformation: "ChongQingKaiYuanGongChuang",
|
|
8004
|
+
recordInformation: "Yu ICP No. 2023009037-12",
|
|
8005
|
+
publicSecurity: "xxxx"
|
|
8006
|
+
}
|
|
7951
8007
|
},
|
|
7952
8008
|
header: {
|
|
7953
8009
|
create: "New",
|
|
@@ -8049,7 +8105,8 @@ const gitCodeLayout = {
|
|
|
8049
8105
|
notcie1: "Login has expired, please log in again!",
|
|
8050
8106
|
notcie2: "Log in to unlock a brand new experience!",
|
|
8051
8107
|
readPrivacyPolicy: "Please Read and Agree to the User Agreement and Privacy Policy",
|
|
8052
|
-
welcome: "Welcome to GitCode"
|
|
8108
|
+
welcome: "Welcome to GitCode",
|
|
8109
|
+
agreementTip: "Please read and agree to the user agreement, privacy policy and data sharing"
|
|
8053
8110
|
},
|
|
8054
8111
|
foldup: "Collapse",
|
|
8055
8112
|
iCreated: "Yours",
|
|
@@ -8157,7 +8214,13 @@ const gitCodeLayout = {
|
|
|
8157
8214
|
agreement: "User Agreement",
|
|
8158
8215
|
privacyPolicy: "Privacy Policy",
|
|
8159
8216
|
huaweiCloudAgreement: "Huawei Cloud User Agreement",
|
|
8160
|
-
agreementPrivacy: "Huawei Cloud Privacy Policy Statement"
|
|
8217
|
+
agreementPrivacy: "Huawei Cloud Privacy Policy Statement",
|
|
8218
|
+
gitCodeProtocol: "GitCode User Agreement",
|
|
8219
|
+
gitCodePrivacy: "GitCode Privacy Policy",
|
|
8220
|
+
dataShare: "I agree to share my account, organization, repository information with {name} for data sharing",
|
|
8221
|
+
chiCloDevSerAgr: "Huawei Cloud Developer Service Agreement",
|
|
8222
|
+
chiCloDevPriPolSta: "Huawei Cloud Developer Privacy Policy Statement",
|
|
8223
|
+
dataShareTip: "Data Sharing"
|
|
8161
8224
|
},
|
|
8162
8225
|
registerDesc: "GitCode and Huawei Cloud jointly provide code hosting services for users. When using code hosting services, you will synchronize authorization and activate Huawei Cloud services, and share information with Chongqing Open Source Co-Creation Technology Co., Ltd. (the operator of GitCode).",
|
|
8163
8226
|
rule: {
|
|
@@ -8222,9 +8285,24 @@ const LANGUAGE = [
|
|
|
8222
8285
|
{ label: "English", value: LANG_EN, language: LANGUAGE_EN, icon: "gt-line-English1" }
|
|
8223
8286
|
];
|
|
8224
8287
|
const LANG_KEY = "gitcode_lang";
|
|
8288
|
+
const COOKIE_DOMAIN = () => {
|
|
8289
|
+
if (typeof window !== "undefined" && window.location.hostname.includes("atomgit.com")) {
|
|
8290
|
+
return ".atomgit.com";
|
|
8291
|
+
} else if (typeof window !== "undefined" && window.location.hostname.includes("gitcode.com")) {
|
|
8292
|
+
return ".gitcode.com";
|
|
8293
|
+
}
|
|
8294
|
+
return ".gitcode.com";
|
|
8295
|
+
};
|
|
8296
|
+
const COOKIE_OPTIONS = {
|
|
8297
|
+
expires: 365,
|
|
8298
|
+
path: "/",
|
|
8299
|
+
secure: typeof window !== "undefined" && window.location.protocol === "https:",
|
|
8300
|
+
sameSite: "Lax",
|
|
8301
|
+
domain: COOKIE_DOMAIN()
|
|
8302
|
+
};
|
|
8225
8303
|
const SUPPORT_LOCALES = [LANG_EN, LANG_ZH];
|
|
8226
8304
|
const currentDomainCookie = api.get(LANG_KEY);
|
|
8227
|
-
if (currentDomainCookie && "." + window.location.hostname !==
|
|
8305
|
+
if (currentDomainCookie && "." + window.location.hostname !== COOKIE_DOMAIN() || !SUPPORT_LOCALES.includes(currentDomainCookie)) {
|
|
8228
8306
|
api.remove(LANG_KEY);
|
|
8229
8307
|
}
|
|
8230
8308
|
function isComposer(instance, mode) {
|
|
@@ -8241,7 +8319,7 @@ function setupI18n(options = { locale: LANG_EN }) {
|
|
|
8241
8319
|
if (typeof document !== "undefined" && document.documentElement) {
|
|
8242
8320
|
document.documentElement.lang = options.locale;
|
|
8243
8321
|
}
|
|
8244
|
-
const i18n2 = createI18n(options);
|
|
8322
|
+
const i18n2 = createI18n({ ...options });
|
|
8245
8323
|
setI18nLanguage(i18n2, options.locale);
|
|
8246
8324
|
return i18n2;
|
|
8247
8325
|
}
|
|
@@ -8275,7 +8353,7 @@ const $i18n = setupI18n({
|
|
|
8275
8353
|
}
|
|
8276
8354
|
});
|
|
8277
8355
|
const i18n = $i18n;
|
|
8278
|
-
const layoutConfig$
|
|
8356
|
+
const layoutConfig$5 = useLayoutConfig();
|
|
8279
8357
|
function scrollToTop() {
|
|
8280
8358
|
if (typeof window !== "undefined" && window.pageYOffset) {
|
|
8281
8359
|
const c = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop;
|
|
@@ -8304,7 +8382,7 @@ function extractRepoInfoWithURL(repoUrl) {
|
|
|
8304
8382
|
return parts.join("/");
|
|
8305
8383
|
}
|
|
8306
8384
|
const isGstarRepo = (topics) => {
|
|
8307
|
-
const gstarTopicIds = layoutConfig$
|
|
8385
|
+
const gstarTopicIds = layoutConfig$5.VITE_GSTAR_TOPIC.split(",");
|
|
8308
8386
|
let isGstar = false;
|
|
8309
8387
|
topics && topics.forEach((item) => {
|
|
8310
8388
|
if (gstarTopicIds.includes(item.topic_id || item.id)) {
|
|
@@ -8314,7 +8392,7 @@ const isGstarRepo = (topics) => {
|
|
|
8314
8392
|
return isGstar;
|
|
8315
8393
|
};
|
|
8316
8394
|
const isTrustedRepo = (topics) => {
|
|
8317
|
-
const trustedTopicIds = layoutConfig$
|
|
8395
|
+
const trustedTopicIds = layoutConfig$5.VITE_TRUSTED_TOPIC.split(",");
|
|
8318
8396
|
let isTrusted = false;
|
|
8319
8397
|
topics && topics.forEach((item) => {
|
|
8320
8398
|
if (trustedTopicIds.includes(item.topic_id || item.id)) {
|
|
@@ -8323,7 +8401,7 @@ const isTrustedRepo = (topics) => {
|
|
|
8323
8401
|
});
|
|
8324
8402
|
return isTrusted;
|
|
8325
8403
|
};
|
|
8326
|
-
const INCUBATION_TOPICS = layoutConfig$
|
|
8404
|
+
const INCUBATION_TOPICS = layoutConfig$5.VITE_INCUBATION_TOPIC || "";
|
|
8327
8405
|
const isIncubationRepo = (topics = []) => {
|
|
8328
8406
|
if (!topics) return false;
|
|
8329
8407
|
const incubationIds = INCUBATION_TOPICS.split(",");
|
|
@@ -8366,7 +8444,7 @@ const getLastTimeRepoId = () => {
|
|
|
8366
8444
|
};
|
|
8367
8445
|
const setUtmSourceSign = (utm_source) => {
|
|
8368
8446
|
const time = new Date((/* @__PURE__ */ new Date()).getTime() + 60 * 60 * 1e3);
|
|
8369
|
-
return api.set("utm_source_sign", utm_source, { expires: time, domain: layoutConfig$
|
|
8447
|
+
return api.set("utm_source_sign", utm_source, { expires: time, domain: layoutConfig$5.VITE_COOKIE_DOMAIN });
|
|
8370
8448
|
};
|
|
8371
8449
|
const getUtmSourceSign = () => {
|
|
8372
8450
|
return api.get("utm_source_sign") || "";
|
|
@@ -8466,6 +8544,7 @@ function bind(fn, thisArg) {
|
|
|
8466
8544
|
}
|
|
8467
8545
|
const { toString } = Object.prototype;
|
|
8468
8546
|
const { getPrototypeOf } = Object;
|
|
8547
|
+
const { iterator, toStringTag } = Symbol;
|
|
8469
8548
|
const kindOf = /* @__PURE__ */ ((cache2) => (thing) => {
|
|
8470
8549
|
const str = toString.call(thing);
|
|
8471
8550
|
return cache2[str] || (cache2[str] = str.slice(8, -1).toLowerCase());
|
|
@@ -8500,7 +8579,7 @@ const isPlainObject = (val) => {
|
|
|
8500
8579
|
return false;
|
|
8501
8580
|
}
|
|
8502
8581
|
const prototype2 = getPrototypeOf(val);
|
|
8503
|
-
return (prototype2 === null || prototype2 === Object.prototype || Object.getPrototypeOf(prototype2) === null) && !(
|
|
8582
|
+
return (prototype2 === null || prototype2 === Object.prototype || Object.getPrototypeOf(prototype2) === null) && !(toStringTag in val) && !(iterator in val);
|
|
8504
8583
|
};
|
|
8505
8584
|
const isDate = kindOfTest("Date");
|
|
8506
8585
|
const isFile = kindOfTest("File");
|
|
@@ -8647,10 +8726,10 @@ const isTypedArray = /* @__PURE__ */ ((TypedArray) => {
|
|
|
8647
8726
|
};
|
|
8648
8727
|
})(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
|
|
8649
8728
|
const forEachEntry = (obj, fn) => {
|
|
8650
|
-
const generator = obj && obj[
|
|
8651
|
-
const
|
|
8729
|
+
const generator = obj && obj[iterator];
|
|
8730
|
+
const _iterator = generator.call(obj);
|
|
8652
8731
|
let result2;
|
|
8653
|
-
while ((result2 =
|
|
8732
|
+
while ((result2 = _iterator.next()) && !result2.done) {
|
|
8654
8733
|
const pair = result2.value;
|
|
8655
8734
|
fn.call(obj, pair[0], pair[1]);
|
|
8656
8735
|
}
|
|
@@ -8720,7 +8799,7 @@ const toFiniteNumber = (value, defaultValue) => {
|
|
|
8720
8799
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
8721
8800
|
};
|
|
8722
8801
|
function isSpecCompliantForm(thing) {
|
|
8723
|
-
return !!(thing && isFunction(thing.append) && thing[
|
|
8802
|
+
return !!(thing && isFunction(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
|
|
8724
8803
|
}
|
|
8725
8804
|
const toJSONObject = (obj) => {
|
|
8726
8805
|
const stack = new Array(10);
|
|
@@ -8766,6 +8845,7 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
|
8766
8845
|
isFunction(_global.postMessage)
|
|
8767
8846
|
);
|
|
8768
8847
|
const asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
|
|
8848
|
+
const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
8769
8849
|
const utils$1 = {
|
|
8770
8850
|
isArray,
|
|
8771
8851
|
isArrayBuffer,
|
|
@@ -8822,7 +8902,8 @@ const utils$1 = {
|
|
|
8822
8902
|
isAsyncFn,
|
|
8823
8903
|
isThenable,
|
|
8824
8904
|
setImmediate: _setImmediate,
|
|
8825
|
-
asap
|
|
8905
|
+
asap,
|
|
8906
|
+
isIterable
|
|
8826
8907
|
};
|
|
8827
8908
|
function AxiosError$1(message, code2, config, request, response) {
|
|
8828
8909
|
Error.call(this);
|
|
@@ -9445,10 +9526,15 @@ let AxiosHeaders$1 = class AxiosHeaders {
|
|
|
9445
9526
|
setHeaders(header, valueOrRewrite);
|
|
9446
9527
|
} else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
9447
9528
|
setHeaders(parseHeaders(header), valueOrRewrite);
|
|
9448
|
-
} else if (utils$1.
|
|
9449
|
-
|
|
9450
|
-
|
|
9529
|
+
} else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
|
|
9530
|
+
let obj = {}, dest, key;
|
|
9531
|
+
for (const entry of header) {
|
|
9532
|
+
if (!utils$1.isArray(entry)) {
|
|
9533
|
+
throw TypeError("Object iterator must return a key-value pair");
|
|
9534
|
+
}
|
|
9535
|
+
obj[key = entry[0]] = (dest = obj[key]) ? utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]] : entry[1];
|
|
9451
9536
|
}
|
|
9537
|
+
setHeaders(obj, valueOrRewrite);
|
|
9452
9538
|
} else {
|
|
9453
9539
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
9454
9540
|
}
|
|
@@ -9552,6 +9638,9 @@ let AxiosHeaders$1 = class AxiosHeaders {
|
|
|
9552
9638
|
toString() {
|
|
9553
9639
|
return Object.entries(this.toJSON()).map(([header, value]) => header + ": " + value).join("\n");
|
|
9554
9640
|
}
|
|
9641
|
+
getSetCookie() {
|
|
9642
|
+
return this.get("set-cookie") || [];
|
|
9643
|
+
}
|
|
9555
9644
|
get [Symbol.toStringTag]() {
|
|
9556
9645
|
return "AxiosHeaders";
|
|
9557
9646
|
}
|
|
@@ -10084,7 +10173,7 @@ const readStream = async function* (stream) {
|
|
|
10084
10173
|
}
|
|
10085
10174
|
};
|
|
10086
10175
|
const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
10087
|
-
const
|
|
10176
|
+
const iterator2 = readBytes(stream, chunkSize);
|
|
10088
10177
|
let bytes = 0;
|
|
10089
10178
|
let done;
|
|
10090
10179
|
let _onFinish = (e) => {
|
|
@@ -10096,7 +10185,7 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
10096
10185
|
return new ReadableStream({
|
|
10097
10186
|
async pull(controller) {
|
|
10098
10187
|
try {
|
|
10099
|
-
const { done: done2, value } = await
|
|
10188
|
+
const { done: done2, value } = await iterator2.next();
|
|
10100
10189
|
if (done2) {
|
|
10101
10190
|
_onFinish();
|
|
10102
10191
|
controller.close();
|
|
@@ -10115,7 +10204,7 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
10115
10204
|
},
|
|
10116
10205
|
cancel(reason) {
|
|
10117
10206
|
_onFinish(reason);
|
|
10118
|
-
return
|
|
10207
|
+
return iterator2.return();
|
|
10119
10208
|
}
|
|
10120
10209
|
}, {
|
|
10121
10210
|
highWaterMark: 2
|
|
@@ -10272,7 +10361,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
10272
10361
|
});
|
|
10273
10362
|
} catch (err) {
|
|
10274
10363
|
unsubscribe && unsubscribe();
|
|
10275
|
-
if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
|
|
10364
|
+
if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
|
|
10276
10365
|
throw Object.assign(
|
|
10277
10366
|
new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, config, request),
|
|
10278
10367
|
{
|
|
@@ -10378,7 +10467,7 @@ function dispatchRequest(config) {
|
|
|
10378
10467
|
return Promise.reject(reason);
|
|
10379
10468
|
});
|
|
10380
10469
|
}
|
|
10381
|
-
const VERSION$1 = "1.
|
|
10470
|
+
const VERSION$1 = "1.9.0";
|
|
10382
10471
|
const validators$1 = {};
|
|
10383
10472
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
10384
10473
|
validators$1[type] = function validator2(thing) {
|
|
@@ -10444,7 +10533,7 @@ const validator = {
|
|
|
10444
10533
|
const validators = validator.validators;
|
|
10445
10534
|
let Axios$1 = class Axios {
|
|
10446
10535
|
constructor(instanceConfig) {
|
|
10447
|
-
this.defaults = instanceConfig;
|
|
10536
|
+
this.defaults = instanceConfig || {};
|
|
10448
10537
|
this.interceptors = {
|
|
10449
10538
|
request: new InterceptorManager(),
|
|
10450
10539
|
response: new InterceptorManager()
|
|
@@ -10926,7 +11015,7 @@ const getCommonHeadInfo = (isAiHub) => {
|
|
|
10926
11015
|
"X-Device-ID": "unknown"
|
|
10927
11016
|
};
|
|
10928
11017
|
};
|
|
10929
|
-
const layoutConfig$
|
|
11018
|
+
const layoutConfig$4 = useLayoutConfig();
|
|
10930
11019
|
const setPassportPrefix = (url, method) => {
|
|
10931
11020
|
const prefix = "/uc";
|
|
10932
11021
|
{
|
|
@@ -10950,7 +11039,7 @@ const setPassportPrefix = (url, method) => {
|
|
|
10950
11039
|
};
|
|
10951
11040
|
const proxyService = (params, customConfigs) => {
|
|
10952
11041
|
const service = axios.create({
|
|
10953
|
-
baseURL: layoutConfig$
|
|
11042
|
+
baseURL: layoutConfig$4.VITE_API_HOST,
|
|
10954
11043
|
timeout: (customConfigs == null ? void 0 : customConfigs.customTimeout) || 3e4,
|
|
10955
11044
|
withCredentials: true
|
|
10956
11045
|
});
|
|
@@ -10998,10 +11087,136 @@ const proxyService = (params, customConfigs) => {
|
|
|
10998
11087
|
);
|
|
10999
11088
|
return service(params);
|
|
11000
11089
|
};
|
|
11001
|
-
const
|
|
11002
|
-
|
|
11003
|
-
|
|
11004
|
-
|
|
11090
|
+
const transformUrl = (url) => {
|
|
11091
|
+
var _a;
|
|
11092
|
+
if (!url) return url;
|
|
11093
|
+
if (url.startsWith("/") && !url.startsWith("//")) return url;
|
|
11094
|
+
if (typeof window !== "undefined" && typeof location !== "undefined") {
|
|
11095
|
+
if (url == null ? void 0 : url.startsWith("https://cdn-")) {
|
|
11096
|
+
return url;
|
|
11097
|
+
}
|
|
11098
|
+
if (url == null ? void 0 : url.includes("myhuaweicloud.com")) {
|
|
11099
|
+
return url;
|
|
11100
|
+
}
|
|
11101
|
+
const host = (_a = location.host) == null ? void 0 : _a.replace(/^ai\./, "");
|
|
11102
|
+
if (host.includes("gitcode.host")) {
|
|
11103
|
+
return url == null ? void 0 : url.replace(/gitcode\.com/g, host);
|
|
11104
|
+
}
|
|
11105
|
+
if (url == null ? void 0 : url.includes("test.gitcode.net")) {
|
|
11106
|
+
return url == null ? void 0 : url.replace(/test\.gitcode\.net/g, host);
|
|
11107
|
+
}
|
|
11108
|
+
try {
|
|
11109
|
+
const urlObj = new URL(url);
|
|
11110
|
+
if (urlObj.host === host) {
|
|
11111
|
+
return url;
|
|
11112
|
+
}
|
|
11113
|
+
} catch (error) {
|
|
11114
|
+
console.error("transformUrl: URL 解析失败", error);
|
|
11115
|
+
}
|
|
11116
|
+
return transformUrlWithSpecialPrefix({ url, host });
|
|
11117
|
+
}
|
|
11118
|
+
return url;
|
|
11119
|
+
};
|
|
11120
|
+
const transformUrlWithSpecialPrefix = ({ url, host }) => {
|
|
11121
|
+
const specialPrefix = ["-tianqi", "-ai", "-news", "-competition"];
|
|
11122
|
+
const isTestEnv = /^(test|local)\./i.test(host);
|
|
11123
|
+
const isPreEnv = /^(pre|loc-pre)\./i.test(host);
|
|
11124
|
+
const isNonProdEnv = isTestEnv || isPreEnv;
|
|
11125
|
+
if (!isNonProdEnv) {
|
|
11126
|
+
return url == null ? void 0 : url.replace(/gitcode\.com/g, host);
|
|
11127
|
+
}
|
|
11128
|
+
if (specialPrefix.some((prefix) => url == null ? void 0 : url.includes(prefix))) {
|
|
11129
|
+
try {
|
|
11130
|
+
const urlObj = new URL(url);
|
|
11131
|
+
const urlHost = urlObj.host;
|
|
11132
|
+
const specialPrefixMatch = specialPrefix.find((prefix) => urlHost.includes(prefix));
|
|
11133
|
+
if (specialPrefixMatch) {
|
|
11134
|
+
const prefixPart = urlHost.split(".")[0];
|
|
11135
|
+
const mainDomain = host.replace(/^(test|pre|local|loc-pre)\./, "");
|
|
11136
|
+
urlObj.host = `${prefixPart}.${mainDomain}`;
|
|
11137
|
+
return urlObj.toString();
|
|
11138
|
+
}
|
|
11139
|
+
} catch (error) {
|
|
11140
|
+
return url == null ? void 0 : url.replace(/gitcode\.com/g, host);
|
|
11141
|
+
}
|
|
11142
|
+
}
|
|
11143
|
+
return url == null ? void 0 : url.replace(/gitcode\.com/g, host);
|
|
11144
|
+
};
|
|
11145
|
+
const transformNewsUrl = (url) => {
|
|
11146
|
+
if (url.startsWith("/") && !url.startsWith("//")) return url;
|
|
11147
|
+
if (url.includes("-news.")) return url;
|
|
11148
|
+
let transformedUrl = transformUrl(url);
|
|
11149
|
+
if (typeof window !== "undefined" && typeof location !== "undefined") {
|
|
11150
|
+
const host = location.host;
|
|
11151
|
+
const isGitcodeHost = host.includes("gitcode");
|
|
11152
|
+
if (host.includes("gitcode.host")) {
|
|
11153
|
+
try {
|
|
11154
|
+
const urlObj = new URL(url);
|
|
11155
|
+
const pathAndQuery = urlObj.pathname + urlObj.search + urlObj.hash;
|
|
11156
|
+
return `https://news.${host}${pathAndQuery}`;
|
|
11157
|
+
} catch (error) {
|
|
11158
|
+
return transformedUrl;
|
|
11159
|
+
}
|
|
11160
|
+
}
|
|
11161
|
+
let needAppendPath = false;
|
|
11162
|
+
if (host === "local.atomgit.com" || host === "local.gitcode.net" || transformedUrl.includes("news.local")) {
|
|
11163
|
+
transformedUrl = isGitcodeHost ? "https://test-news.gitcode.net" : "https://test-news.atomgit.com";
|
|
11164
|
+
needAppendPath = true;
|
|
11165
|
+
} else if (transformedUrl.includes("news.test")) {
|
|
11166
|
+
transformedUrl = isGitcodeHost ? "https://test-news.gitcode.net" : "https://test-news.atomgit.com";
|
|
11167
|
+
needAppendPath = true;
|
|
11168
|
+
} else if (transformedUrl.includes("news.pre")) {
|
|
11169
|
+
transformedUrl = isGitcodeHost ? "https://pre-news.gitcode.com" : "https://pre-news.atomgit.com";
|
|
11170
|
+
needAppendPath = true;
|
|
11171
|
+
}
|
|
11172
|
+
if (needAppendPath) {
|
|
11173
|
+
try {
|
|
11174
|
+
const originalUrlObj = new URL(url);
|
|
11175
|
+
const pathAndQuery = originalUrlObj.pathname + originalUrlObj.search + originalUrlObj.hash;
|
|
11176
|
+
if (pathAndQuery && pathAndQuery !== "/") {
|
|
11177
|
+
transformedUrl = transformedUrl + pathAndQuery;
|
|
11178
|
+
}
|
|
11179
|
+
} catch (error) {
|
|
11180
|
+
console.error("transformNewsUrl: URL 解析失败", error);
|
|
11181
|
+
}
|
|
11182
|
+
}
|
|
11183
|
+
}
|
|
11184
|
+
return transformedUrl;
|
|
11185
|
+
};
|
|
11186
|
+
const replaceHost = ({ url, customHost }) => {
|
|
11187
|
+
if (!url || !customHost) return url;
|
|
11188
|
+
try {
|
|
11189
|
+
const urlObj = new URL(url);
|
|
11190
|
+
let pureHost = customHost;
|
|
11191
|
+
if (customHost.includes("://")) {
|
|
11192
|
+
const customUrlObj = new URL(customHost);
|
|
11193
|
+
pureHost = customUrlObj.host;
|
|
11194
|
+
}
|
|
11195
|
+
urlObj.host = pureHost;
|
|
11196
|
+
return urlObj.toString();
|
|
11197
|
+
} catch (error) {
|
|
11198
|
+
return url;
|
|
11199
|
+
}
|
|
11200
|
+
};
|
|
11201
|
+
const getCurrentLogoMap = () => {
|
|
11202
|
+
if (typeof window === "undefined" || typeof location === "undefined") {
|
|
11203
|
+
console.warn("[getCurrentLogoMap] 在 SSR 环境中被调用,返回默认配置");
|
|
11204
|
+
return LOGO_MAP.gitcode;
|
|
11205
|
+
}
|
|
11206
|
+
const siteType = location.host.includes("atomgit") ? "atomgit" : "gitcode";
|
|
11207
|
+
return LOGO_MAP[siteType];
|
|
11208
|
+
};
|
|
11209
|
+
const isGitCodeHost = () => {
|
|
11210
|
+
if (typeof window === "undefined" || typeof location === "undefined") return false;
|
|
11211
|
+
return location.hostname.includes("gitcode");
|
|
11212
|
+
};
|
|
11213
|
+
const currentHelpDocsUrl = () => isGitCodeHost() ? HELP_DOCS_URL_GITCODE : HELP_DOCS_URL_ATOMGIT;
|
|
11214
|
+
const currentHelpDocsAboutUsUrl = () => isGitCodeHost() ? HELP_DOCS_URL_GITCODE + "/docs/help/home/aboutus/" : HELP_DOCS_URL_ATOMGIT + "/docs/help/home/aboutus/";
|
|
11215
|
+
const currentHelpDocsAiCommunityUrl = () => isGitCodeHost() ? HELP_DOCS_URL_GITCODE + "/docs/help/home/ai-community/" : HELP_DOCS_URL_ATOMGIT + "/docs/help/home/ai-community/";
|
|
11216
|
+
const _hoisted_1$v = { class: "home-nav-right" };
|
|
11217
|
+
const _hoisted_2$m = { class: "home-nav-item" };
|
|
11218
|
+
const _hoisted_3$l = { class: "tooltip-sign" };
|
|
11219
|
+
const _hoisted_4$g = { class: "home-nav-tooltip-wrapper" };
|
|
11005
11220
|
const _hoisted_5$a = { class: "home-nav-text" };
|
|
11006
11221
|
const _hoisted_6$9 = { class: "home-nav-tooltip-wrapper" };
|
|
11007
11222
|
const _hoisted_7$6 = { class: "home-nav-text" };
|
|
@@ -11052,7 +11267,7 @@ const _hoisted_30$1 = { class: "ml-2 font-[600] text-[var(--theme-aide-text)] te
|
|
|
11052
11267
|
const _hoisted_31$1 = { class: "home-nav-item collapse-tool" };
|
|
11053
11268
|
const _hoisted_32$1 = { class: "home-nav-item" };
|
|
11054
11269
|
const _hoisted_33$1 = ["src", "alt"];
|
|
11055
|
-
const _sfc_main$
|
|
11270
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
11056
11271
|
__name: "index",
|
|
11057
11272
|
props: {
|
|
11058
11273
|
sceneValue: { default: SceneValue.home },
|
|
@@ -11105,7 +11320,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11105
11320
|
emits("toggle-growth-center");
|
|
11106
11321
|
};
|
|
11107
11322
|
const handleInvite = () => {
|
|
11108
|
-
|
|
11323
|
+
const link = transformUrl("https://gitcode.com/setting/points?type=invite");
|
|
11324
|
+
window.open(link, "_blank");
|
|
11109
11325
|
};
|
|
11110
11326
|
const showDesk = () => {
|
|
11111
11327
|
if (window.ud) {
|
|
@@ -11284,13 +11500,13 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11284
11500
|
size: "18px"
|
|
11285
11501
|
})
|
|
11286
11502
|
])) : createCommentVNode("", true),
|
|
11287
|
-
createElementVNode("div", _hoisted_1$
|
|
11503
|
+
createElementVNode("div", _hoisted_1$v, [
|
|
11288
11504
|
createVNode(unref(Tooltip), {
|
|
11289
11505
|
position: "left",
|
|
11290
11506
|
"overlay-class": "tools-tag-tooltip"
|
|
11291
11507
|
}, {
|
|
11292
11508
|
content: withCtx(() => [
|
|
11293
|
-
createElementVNode("div", _hoisted_4$
|
|
11509
|
+
createElementVNode("div", _hoisted_4$g, [
|
|
11294
11510
|
createElementVNode("div", _hoisted_5$a, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
|
|
11295
11511
|
])
|
|
11296
11512
|
]),
|
|
@@ -11299,13 +11515,13 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11299
11515
|
class: "home-nav-link computing",
|
|
11300
11516
|
onClick: handleInvite
|
|
11301
11517
|
}, [
|
|
11302
|
-
createElementVNode("div", _hoisted_2$
|
|
11518
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
11303
11519
|
_cache[5] || (_cache[5] = createElementVNode("img", {
|
|
11304
11520
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
11305
11521
|
src: "https://cdn-static.gitcode.com/static/images/homeweb/invite.svg",
|
|
11306
11522
|
alt: ""
|
|
11307
11523
|
}, null, -1)),
|
|
11308
|
-
createElementVNode("div", _hoisted_3$
|
|
11524
|
+
createElementVNode("div", _hoisted_3$l, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
|
|
11309
11525
|
])
|
|
11310
11526
|
])
|
|
11311
11527
|
]),
|
|
@@ -11400,7 +11616,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11400
11616
|
])
|
|
11401
11617
|
], -1))
|
|
11402
11618
|
]),
|
|
11403
|
-
_: 1
|
|
11619
|
+
_: 1,
|
|
11620
|
+
__: [9]
|
|
11404
11621
|
}),
|
|
11405
11622
|
npsPopVisible.value ? (openBlock(), createBlock(unref(Popover), {
|
|
11406
11623
|
key: 0,
|
|
@@ -11517,7 +11734,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11517
11734
|
})
|
|
11518
11735
|
], -1)
|
|
11519
11736
|
])),
|
|
11520
|
-
_: 1
|
|
11737
|
+
_: 1,
|
|
11738
|
+
__: [10]
|
|
11521
11739
|
}, 8, ["content"])
|
|
11522
11740
|
])
|
|
11523
11741
|
]),
|
|
@@ -11584,7 +11802,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11584
11802
|
};
|
|
11585
11803
|
}
|
|
11586
11804
|
});
|
|
11587
|
-
const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11805
|
+
const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
11588
11806
|
var repoTypeEnum = /* @__PURE__ */ ((repoTypeEnum2) => {
|
|
11589
11807
|
repoTypeEnum2["NORMAL"] = "0";
|
|
11590
11808
|
repoTypeEnum2["MODEL"] = "1";
|
|
@@ -11681,7 +11899,7 @@ var REPO_TYPE = /* @__PURE__ */ ((REPO_TYPE2) => {
|
|
|
11681
11899
|
REPO_TYPE2[REPO_TYPE2["HUGGINGFACE_MIRRORS"] = 2] = "HUGGINGFACE_MIRRORS";
|
|
11682
11900
|
return REPO_TYPE2;
|
|
11683
11901
|
})(REPO_TYPE || {});
|
|
11684
|
-
const layoutConfig$
|
|
11902
|
+
const layoutConfig$3 = useLayoutConfig();
|
|
11685
11903
|
const registerLoginMethodMap = {
|
|
11686
11904
|
[LoginMethodEnum.PHONE]: "短信",
|
|
11687
11905
|
[LoginMethodEnum.PASSWORD]: "密码",
|
|
@@ -11714,8 +11932,8 @@ const collectRegisterLoginEvent = ({ isRegister, registerLoginMethod, success, e
|
|
|
11714
11932
|
article_id: searchParams["from_id"] || "",
|
|
11715
11933
|
userid_fast_application: searchParams["uuid_tt_dd"] || "",
|
|
11716
11934
|
gitcode_utm_source: searchParams["utm_source"] || "",
|
|
11717
|
-
page_url: location.href || "",
|
|
11718
|
-
env: layoutConfig$
|
|
11935
|
+
page_url: (location == null ? void 0 : location.href) || "",
|
|
11936
|
+
env: layoutConfig$3.VITE_ENV,
|
|
11719
11937
|
namespace: extraData.namespace || "",
|
|
11720
11938
|
...extraData,
|
|
11721
11939
|
...searchParams
|
|
@@ -11725,8 +11943,8 @@ const collectRegisterLoginEvent = ({ isRegister, registerLoginMethod, success, e
|
|
|
11725
11943
|
delete reportData["utm_source"];
|
|
11726
11944
|
window.collectEvent("beconEvent", isRegister ? "register" : "login", reportData);
|
|
11727
11945
|
};
|
|
11728
|
-
const _hoisted_1$
|
|
11729
|
-
const _sfc_main$
|
|
11946
|
+
const _hoisted_1$u = ["href", "target", "disabled"];
|
|
11947
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
11730
11948
|
...{
|
|
11731
11949
|
name: "GLink"
|
|
11732
11950
|
},
|
|
@@ -11770,11 +11988,25 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
11770
11988
|
disabled: _ctx.disabled || _ctx.noPointer
|
|
11771
11989
|
}, [
|
|
11772
11990
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
11773
|
-
], 10, _hoisted_1$
|
|
11991
|
+
], 10, _hoisted_1$u));
|
|
11774
11992
|
};
|
|
11775
11993
|
}
|
|
11776
11994
|
});
|
|
11777
|
-
const GLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11995
|
+
const GLink = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
11996
|
+
const headerHeight = ref(56);
|
|
11997
|
+
const useHeaderHeight = () => {
|
|
11998
|
+
const setHeaderHeight = (height) => {
|
|
11999
|
+
headerHeight.value = height;
|
|
12000
|
+
};
|
|
12001
|
+
const getHeaderHeight = () => {
|
|
12002
|
+
return headerHeight;
|
|
12003
|
+
};
|
|
12004
|
+
return {
|
|
12005
|
+
setHeaderHeight,
|
|
12006
|
+
getHeaderHeight,
|
|
12007
|
+
headerHeight
|
|
12008
|
+
};
|
|
12009
|
+
};
|
|
11778
12010
|
const black = {
|
|
11779
12011
|
"theme-stress-text": "#f0f6fc",
|
|
11780
12012
|
"theme-text": "#D2D8E4",
|
|
@@ -12189,14 +12421,6 @@ var ThemeType = /* @__PURE__ */ ((ThemeType2) => {
|
|
|
12189
12421
|
return ThemeType2;
|
|
12190
12422
|
})(ThemeType || {});
|
|
12191
12423
|
const THEME_KEY = "gitcode_theme";
|
|
12192
|
-
const COOKIE_DOMAIN = ".gitcode.com";
|
|
12193
|
-
const COOKIE_OPTIONS = {
|
|
12194
|
-
expires: 365,
|
|
12195
|
-
path: "/",
|
|
12196
|
-
secure: typeof window !== "undefined" && window.location.protocol === "https:",
|
|
12197
|
-
sameSite: "Lax",
|
|
12198
|
-
domain: COOKIE_DOMAIN
|
|
12199
|
-
};
|
|
12200
12424
|
const currentThemeStorage = ref(api.get(THEME_KEY) || "");
|
|
12201
12425
|
const themeColorMap = {
|
|
12202
12426
|
[ThemeType.BLACK]: black,
|
|
@@ -12210,7 +12434,7 @@ watch(currentThemeStorage, (newValue) => {
|
|
|
12210
12434
|
if (newValue) {
|
|
12211
12435
|
api.set(THEME_KEY, newValue, COOKIE_OPTIONS);
|
|
12212
12436
|
} else {
|
|
12213
|
-
api.remove(THEME_KEY, { domain: COOKIE_DOMAIN });
|
|
12437
|
+
api.remove(THEME_KEY, { domain: COOKIE_DOMAIN() });
|
|
12214
12438
|
}
|
|
12215
12439
|
});
|
|
12216
12440
|
const currentTheme = computed(() => {
|
|
@@ -12264,7 +12488,7 @@ class Theme {
|
|
|
12264
12488
|
}
|
|
12265
12489
|
stopAutoTheme(isInit = false) {
|
|
12266
12490
|
if (!isInit) {
|
|
12267
|
-
api.remove("AutoTheme", { domain: COOKIE_DOMAIN });
|
|
12491
|
+
api.remove("AutoTheme", { domain: COOKIE_DOMAIN() });
|
|
12268
12492
|
}
|
|
12269
12493
|
this.darkModeMediaQuery.onchange = null;
|
|
12270
12494
|
}
|
|
@@ -12326,7 +12550,7 @@ if (isBrowser) {
|
|
|
12326
12550
|
}
|
|
12327
12551
|
const sessionStorage$1 = sessionStorage;
|
|
12328
12552
|
const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAmsSURBVHgB7VpdbxxnFT7nfccmRam6/gXZXIBy1y3qRe8YR6kUoUpdbhACJNtShFJUSCyBBFd2I1ClAoklVAE32BYXRAJqIwEyUOrNL4h70dtm+wvqNG7deGbe03PO+7Gzlr27/kpzsSeazO5kZvZ95jnnOR8TgLGNbWxjG9vYDjWEp8zyNjUg22lBiS1TuOeNo5YFbBgyTUMAFgz4PXYnDEzf3XimO+h+GTwFls9S43G5O2NLaLtqp2VKaJiSCB0yGEQEJAHFIMkwKXxMjl8AopwvXxl07y8V4EvXdnMo3cye+6xtK3jOVISmYCAlb/KZgTBT4Pd8TD+TfGegiApyiH0pAF+6vpvzOhegoNxUvNiSwZS88II32VcAniVhTIAya6AgeS9/AK0AFXKH2BMFmN+kxqfF4wVXwA0snQdUgQcXtwoFgLJk/T6xqG7Kx2w4xi5Mw37ziQF88fXd/NHe58scZxfYBdGzBQkYFkxVpSBQAXkXZJC8CYMUXTQCxZEU0sATsG/c+PwOL3/TVnhBY0vYqyABk7jjGJSnvc0L72qMeQaxB8gIWGGPgtjw+fRw2G+fKYMv/nQ3dwUuG2VNGfPMCagYd+yiWFGXH8Dcfzae7cRr2y/vzHJKuM3gGh4cX+tUXKAHHLvD1nDqAFuLnMc+ezyLlXnVFS5XN4ziUQpbAgySqGAF3Qmqpjc2prr1+6z/7/zK917e2XJg70eXtMFtmT3vtkDbw9ZzKon+0pvUnHhc5FTiDC+a8xg1AqAeuCIATIqpqUCUcva/G+dXD7v39y/v3WGtvGlDHhT2VGD4+zkwU0sdHAjyWAxeukPN0rk2L/J5jp0c98omRcGoakCKnoik3BZFpRQmDHz1XPGPQb9ljemgo5uqrME1hRWpZIaBOzLA5u+paQtYLsX1Ks8ABpZEJDAy0wcuuWUQFU0FZFBiCmh9fWrgIvmah2iikqJPH8j3Q3h/lDWPrKLNt9n1CrrP+csn5+hyhVN2cE/VkIL7UQIXXJKBkX8QoTLhLeNE/cqVR/nABRpq8oNgl/R50fKDsfp0cG2UdY8EsLnMMVXBGi/4OSvMFE4XbXnxtopMyTEXlNFFEQmqGR6IVigQVVBSAWQ2mxn023zWgj4MERjJg6wslv3OTMC9UdY+EsDsISx4qYeecIgCMns+j0VBCUAkaSc2fcxZ513MahaLUs/XOJz5zpXdhf2/eZO7imt5cYfBNbkk89UN/2Wt7jtLG8NThD6gYSc0WVAy5x54twzMiEDsOS8a+/KaFXctqFah+PhM8aN1pCFflYSqhUQMcIvBrPDnh/xvF9glZxUcqKCw2PBemBOA6OZ+/e9sBUawoQC/dts9QGEvyb1DDyLGmcP+dKAu7MWHY9CD6wGJUh9rTHG/UHv6mtMBxHNDyabgBJjN+GEZ7L71L3MRRrSBKvr13xJX/K5py6CWQe49uAgUA9CacqrCgiRxBReSMwYwmBbv/PFQY1I6FyXeQu3JMafgdOPjhlbhCHYoQMl1VLhFLFMq6CXp0ss+ps91Nw0PoFIgqXAOe5V7jF2BB5diUhllcCgs8lkh5lBc0wOELv/CCpwGQCroDvbnsH4gyhz0qpJ6T1ehFxBfYlESlBqbsWnt6xS0BZIYkwTvgSX2BCSz98t3TBeOYAfG4KU3ixwcbpr9zNVbnCIJSmSOcE/Usq8TT66Zvke2yAMSN62XXypE/CVL4CiIC3Z/9ffRYw8GMUgOb2S9uDuIuRCLdRfl4YmLAKJi1kQDtFHt7+sAUroQcJzEGQhhxh8YEMeegGOWeZ9N4DQcww4EyMm8lUQlxlMCF5SzSK7pK5Z6zGm+gygUDLWW96AmJnXBAc+c5jmvmOgFRkYT8Mbi3dHy3n47MNEjuG/bgrZToSzlWFBOTfBclmEsrKtQRGs745N4HDlEoKl/A8+irXUF0uvptfyFFRJqiklh3731N7sIx7QDGfxgcXKr9fPdF0xpZpjJpq14CZXTeQlUjmeU1LAFflNd1Lugd0+o5bveyCG5pSWsl2qQ4s5qKsAAKqgmPzQ+MTPuDTiBHbsfnH7lExlB5LXRQm3EkJJ5YJFrVj8Ng16CD6ADY3W19PUmCeDuwl+OLix1O/ZMxpbY6WND48r/8SoJyT2TgjrwM5U4ejBQT+ReVEL8yT7LTsae2LFHFnzhPaxJvwmioi2NqqKh9AB6M03vxj7PxdoSA3PskqKerJiqoPJvpgMntJEYlPcFl9uP1vJv8TuDYBs8IGK366TOoDfew1ploqzG2EsTamFuXxKXOLS6MThR0Azu/WLleMpZt6EM6ssQ+HQTKmhxLPFnSPkoq9w8w7kfhAXrc0uLWC/HQicuSokQSi8VFE0DNpRk1gNX0BO4DqdgZhRwnAZakhZ4LfnVq70OnCdfW8aZeY0pCnNLrSf9GyDjAjBhTjvx0BHYmkpmQWgyVKDqnpnQX440kjg2wDo4yYVZSuDY14G/8+65JSbjlk/aRgXEhpFEHL2r+5rohqjllzKVEZhYivETUbCBwZ/9YaIDZwkQYIcHtk7BCQvowhgdcLZ9ld8K1ezuu88sctjMsQt/JC6JFAe0Rl2Vi2Sf2zxbJHspx2RLzPnc5/OhwQ6ckh0K0Mo7uirlLazFklQvy9+9utusn//n9yZXVt+bvIhEcxnRvfSiJDSrPgWI/OsGsQyzNbeMdSczuwVnDfD//3x2+vxXqqmswhdSJ06hM+BRAlRm8wdXuOvYZ3/qTK78sZNNy1CWF7uqOU3Z8e6X1DMd90OkkOxD/JmRBkonAigmM0t+yg27r8XxsQVNbjs2Zy/vLV87AKgMZTNrHphepRJryyQq3j1DUpcyLdNOovvjpdNR0KEAxfg3W2mkUJuraCog7Q1moMLNH+buw+t5P1BTYybLVDUpxCKpm6ZeT87V7kEGSieuXo4EkJ/zq71SLPV2aHsvJH1sAl3k5JD33TxUK6FhpSyopWctdQuh7lT3nH/t9mjTslFtaKKX/+Vgomv29pReK8euHczK2x1c7Lv5pNOXzCE1qFJpM5tRck3f97FqUjn/o99Mnpq4jASwnX/cCFVJlxN6B8m9n7lJjo9ShrGbCSgquLn91xumS1XReLc0me/5bOr54GNm+dbrS2YJzsgGAlzvTG2323Txr+v9b3Gu57vgaBJC4bx6EDi9eVZ9pNWo1pYI/eCwU1mc+8nSyevNQXbsfvC13K2xi24fBk5scZYaWUUfcgxOxZqT43Cbg3d+/nenG2uH2Zn/T6e3ZvdarCJrIjA8w181k9nS/NLw93pjG9vYxja2p8G+ADz7MtW/3lU1AAAAAElFTkSuQmCC";
|
|
12329
|
-
const _sfc_main$
|
|
12553
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
12330
12554
|
...{
|
|
12331
12555
|
name: "GAvatar"
|
|
12332
12556
|
},
|
|
@@ -12355,7 +12579,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
12355
12579
|
});
|
|
12356
12580
|
return (_ctx, _cache) => {
|
|
12357
12581
|
return openBlock(), createBlock(unref(Avatar), {
|
|
12358
|
-
"img-src": imgSrc.value,
|
|
12582
|
+
"img-src": unref(transformUrl)(imgSrc.value),
|
|
12359
12583
|
name: placeholderName.value,
|
|
12360
12584
|
width: _ctx.width,
|
|
12361
12585
|
height: _ctx.height,
|
|
@@ -12367,8 +12591,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
12367
12591
|
};
|
|
12368
12592
|
}
|
|
12369
12593
|
});
|
|
12370
|
-
const _hoisted_1$
|
|
12371
|
-
const _sfc_main$
|
|
12594
|
+
const _hoisted_1$t = ["src"];
|
|
12595
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
12372
12596
|
...{ name: "FlashTag" },
|
|
12373
12597
|
__name: "FlashTag",
|
|
12374
12598
|
props: {
|
|
@@ -12413,7 +12637,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
12413
12637
|
key: 0,
|
|
12414
12638
|
class: "w-[16px] h-[16px]",
|
|
12415
12639
|
src: iconUrl.value
|
|
12416
|
-
}, null, 8, _hoisted_1$
|
|
12640
|
+
}, null, 8, _hoisted_1$t)) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
12417
12641
|
], 16)
|
|
12418
12642
|
]),
|
|
12419
12643
|
_: 3
|
|
@@ -13219,13 +13443,13 @@ const useTimeFormat = () => {
|
|
|
13219
13443
|
formatTime
|
|
13220
13444
|
};
|
|
13221
13445
|
};
|
|
13222
|
-
const _hoisted_1$
|
|
13446
|
+
const _hoisted_1$s = {
|
|
13223
13447
|
key: 0,
|
|
13224
13448
|
class: "org-layout-toolbar"
|
|
13225
13449
|
};
|
|
13226
|
-
const _hoisted_2$
|
|
13227
|
-
const _hoisted_3$
|
|
13228
|
-
const _hoisted_4$
|
|
13450
|
+
const _hoisted_2$l = { class: "org-layout-toolbar-title flex-1 ellipsis-two-line" };
|
|
13451
|
+
const _hoisted_3$k = { class: "text-xs" };
|
|
13452
|
+
const _hoisted_4$f = { class: "flex items-center w-full g-repo-breadcrumb-custom" };
|
|
13229
13453
|
const _hoisted_5$9 = {
|
|
13230
13454
|
key: 1,
|
|
13231
13455
|
class: "flex items-center min-w-[30px]"
|
|
@@ -13278,7 +13502,7 @@ const _hoisted_20$1 = {
|
|
|
13278
13502
|
};
|
|
13279
13503
|
const _hoisted_21$1 = { class: "user-layout-toolbar-title flex-1 ellipsis-two-line" };
|
|
13280
13504
|
const _hoisted_22$1 = { class: "text-xs" };
|
|
13281
|
-
const _sfc_main$
|
|
13505
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
13282
13506
|
__name: "HeaderCustom",
|
|
13283
13507
|
props: {
|
|
13284
13508
|
scene: { default: SceneValue.home },
|
|
@@ -13398,7 +13622,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13398
13622
|
});
|
|
13399
13623
|
return (_ctx, _cache) => {
|
|
13400
13624
|
var _a, _b;
|
|
13401
|
-
return _ctx.scene === unref(SceneValue).org && !_ctx.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
13625
|
+
return _ctx.scene === unref(SceneValue).org && !_ctx.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
13402
13626
|
createVNode(GLink, {
|
|
13403
13627
|
to: { name: "homepage" },
|
|
13404
13628
|
class: "flex flex-1 items-center gap-[8px]"
|
|
@@ -13406,7 +13630,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13406
13630
|
default: withCtx(() => {
|
|
13407
13631
|
var _a2, _b2, _c;
|
|
13408
13632
|
return [
|
|
13409
|
-
createVNode(_sfc_main$
|
|
13633
|
+
createVNode(_sfc_main$A, {
|
|
13410
13634
|
class: "g-border",
|
|
13411
13635
|
src: (_a2 = unref(orgInfo)) == null ? void 0 : _a2.avatar,
|
|
13412
13636
|
name: (_b2 = unref(orgInfo)) == null ? void 0 : _b2.name,
|
|
@@ -13414,7 +13638,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13414
13638
|
height: 28,
|
|
13415
13639
|
is_round: false
|
|
13416
13640
|
}, null, 8, ["src", "name"]),
|
|
13417
|
-
createElementVNode("div", _hoisted_2$
|
|
13641
|
+
createElementVNode("div", _hoisted_2$l, toDisplayString$1((_c = unref(orgInfo)) == null ? void 0 : _c.name), 1)
|
|
13418
13642
|
];
|
|
13419
13643
|
}),
|
|
13420
13644
|
_: 1
|
|
@@ -13429,7 +13653,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13429
13653
|
default: withCtx(() => {
|
|
13430
13654
|
var _a2;
|
|
13431
13655
|
return [
|
|
13432
|
-
createElementVNode("span", _hoisted_3$
|
|
13656
|
+
createElementVNode("span", _hoisted_3$k, toDisplayString$1(((_a2 = _ctx.orgProps) == null ? void 0 : _a2.isOrgFollow) ? unref(t2)("gitCodeLayout.home.alreadyFollowed") : unref(t2)("gitCodeLayout.home.focusOn")), 1)
|
|
13433
13657
|
];
|
|
13434
13658
|
}),
|
|
13435
13659
|
_: 1
|
|
@@ -13451,7 +13675,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13451
13675
|
default: withCtx(() => {
|
|
13452
13676
|
var _a2, _b2, _c, _d, _e, _f, _g;
|
|
13453
13677
|
return [
|
|
13454
|
-
createElementVNode("h2", _hoisted_4$
|
|
13678
|
+
createElementVNode("h2", _hoisted_4$f, [
|
|
13455
13679
|
createVNode(GLink, {
|
|
13456
13680
|
href: (_a2 = unref(breadcrumb)[0]) == null ? void 0 : _a2.path,
|
|
13457
13681
|
class: "pr-[12px]"
|
|
@@ -13459,7 +13683,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13459
13683
|
default: withCtx(() => {
|
|
13460
13684
|
var _a3, _b3, _c2, _d2;
|
|
13461
13685
|
return [
|
|
13462
|
-
!((_a3 = _ctx.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$
|
|
13686
|
+
!((_a3 = _ctx.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$A, {
|
|
13463
13687
|
key: 0,
|
|
13464
13688
|
class: normalizeClass({ "g-border": isOrg.value }),
|
|
13465
13689
|
src: (_c2 = (_b3 = unref(repoInfo)) == null ? void 0 : _b3.namespace) == null ? void 0 : _c2.avatar_url,
|
|
@@ -13527,7 +13751,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13527
13751
|
_: 1
|
|
13528
13752
|
}, 8, ["to"]),
|
|
13529
13753
|
unref(isGstarRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_12$3, [
|
|
13530
|
-
createVNode(_sfc_main$
|
|
13754
|
+
createVNode(_sfc_main$z, {
|
|
13531
13755
|
origin: "repo",
|
|
13532
13756
|
icon: "",
|
|
13533
13757
|
type: "gstar",
|
|
@@ -13536,10 +13760,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13536
13760
|
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
13537
13761
|
createTextVNode("G-Star ")
|
|
13538
13762
|
])),
|
|
13539
|
-
_: 1
|
|
13763
|
+
_: 1,
|
|
13764
|
+
__: [2]
|
|
13540
13765
|
}, 8, ["message"])
|
|
13541
13766
|
])) : unref(isIncubationRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
|
|
13542
|
-
createVNode(_sfc_main$
|
|
13767
|
+
createVNode(_sfc_main$z, {
|
|
13543
13768
|
origin: "repo",
|
|
13544
13769
|
icon: "",
|
|
13545
13770
|
type: "incubation",
|
|
@@ -13548,11 +13773,12 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13548
13773
|
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
13549
13774
|
createTextVNode(" G-Star ")
|
|
13550
13775
|
])),
|
|
13551
|
-
_: 1
|
|
13776
|
+
_: 1,
|
|
13777
|
+
__: [3]
|
|
13552
13778
|
}, 8, ["message"])
|
|
13553
13779
|
])) : createCommentVNode("", true),
|
|
13554
13780
|
unref(isTrustedRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
|
|
13555
|
-
createVNode(_sfc_main$
|
|
13781
|
+
createVNode(_sfc_main$z, {
|
|
13556
13782
|
trusted: "",
|
|
13557
13783
|
message: unref(t2)("gitCodeLayout.trusted.title"),
|
|
13558
13784
|
icon: "",
|
|
@@ -13601,7 +13827,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13601
13827
|
default: withCtx(() => {
|
|
13602
13828
|
var _a2, _b2, _c, _d, _e;
|
|
13603
13829
|
return [
|
|
13604
|
-
createVNode(_sfc_main$
|
|
13830
|
+
createVNode(_sfc_main$A, {
|
|
13605
13831
|
src: (_a2 = unref(otherUserInfo)) == null ? void 0 : _a2.avatarUrl,
|
|
13606
13832
|
name: ((_b2 = unref(otherUserInfo)) == null ? void 0 : _b2.name) || ((_c = unref(otherUserInfo)) == null ? void 0 : _c.nickname),
|
|
13607
13833
|
width: 28,
|
|
@@ -13628,9 +13854,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13628
13854
|
};
|
|
13629
13855
|
}
|
|
13630
13856
|
});
|
|
13631
|
-
const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13632
|
-
const _hoisted_1$
|
|
13633
|
-
const _sfc_main$
|
|
13857
|
+
const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
13858
|
+
const _hoisted_1$r = ["src"];
|
|
13859
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
13634
13860
|
__name: "ClaimPower",
|
|
13635
13861
|
props: {
|
|
13636
13862
|
config: {}
|
|
@@ -13653,14 +13879,14 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
13653
13879
|
createElementVNode("img", {
|
|
13654
13880
|
src: _ctx.config.logo_url,
|
|
13655
13881
|
alt: "claim power"
|
|
13656
|
-
}, null, 8, _hoisted_1$
|
|
13882
|
+
}, null, 8, _hoisted_1$r)
|
|
13657
13883
|
])) : createCommentVNode("", true);
|
|
13658
13884
|
};
|
|
13659
13885
|
}
|
|
13660
13886
|
});
|
|
13661
|
-
const ClaimPower = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13662
|
-
const _hoisted_1$
|
|
13663
|
-
const _sfc_main$
|
|
13887
|
+
const ClaimPower = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
13888
|
+
const _hoisted_1$q = { class: "devui-select__item g-option-link" };
|
|
13889
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
13664
13890
|
...{
|
|
13665
13891
|
name: "OptionLink"
|
|
13666
13892
|
},
|
|
@@ -13678,7 +13904,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
13678
13904
|
},
|
|
13679
13905
|
setup(__props) {
|
|
13680
13906
|
return (_ctx, _cache) => {
|
|
13681
|
-
return openBlock(), createElementBlock("li", _hoisted_1$
|
|
13907
|
+
return openBlock(), createElementBlock("li", _hoisted_1$q, [
|
|
13682
13908
|
createVNode(GLink, normalizeProps(guardReactiveProps(_ctx.$props)), {
|
|
13683
13909
|
default: withCtx(() => [
|
|
13684
13910
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -13689,7 +13915,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
13689
13915
|
};
|
|
13690
13916
|
}
|
|
13691
13917
|
});
|
|
13692
|
-
const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13918
|
+
const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
13693
13919
|
var aes = { exports: {} };
|
|
13694
13920
|
function commonjsRequire(path) {
|
|
13695
13921
|
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
@@ -15442,11 +15668,15 @@ function requireCipherCore() {
|
|
|
15442
15668
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
|
|
15443
15669
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
|
|
15444
15670
|
*/
|
|
15445
|
-
execute: function(password, keySize, ivSize, salt) {
|
|
15671
|
+
execute: function(password, keySize, ivSize, salt, hasher) {
|
|
15446
15672
|
if (!salt) {
|
|
15447
15673
|
salt = WordArray.random(64 / 8);
|
|
15448
15674
|
}
|
|
15449
|
-
|
|
15675
|
+
if (!hasher) {
|
|
15676
|
+
var key = EvpKDF.create({ keySize: keySize + ivSize }).compute(password, salt);
|
|
15677
|
+
} else {
|
|
15678
|
+
var key = EvpKDF.create({ keySize: keySize + ivSize, hasher }).compute(password, salt);
|
|
15679
|
+
}
|
|
15450
15680
|
var iv = WordArray.create(key.words.slice(keySize), ivSize * 4);
|
|
15451
15681
|
key.sigBytes = keySize * 4;
|
|
15452
15682
|
return CipherParams.create({ key, iv, salt });
|
|
@@ -15480,7 +15710,7 @@ function requireCipherCore() {
|
|
|
15480
15710
|
*/
|
|
15481
15711
|
encrypt: function(cipher, message, password, cfg) {
|
|
15482
15712
|
cfg = this.cfg.extend(cfg);
|
|
15483
|
-
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize);
|
|
15713
|
+
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, cfg.salt, cfg.hasher);
|
|
15484
15714
|
cfg.iv = derivedParams.iv;
|
|
15485
15715
|
var ciphertext = SerializableCipher.encrypt.call(this, cipher, message, derivedParams.key, cfg);
|
|
15486
15716
|
ciphertext.mixIn(derivedParams);
|
|
@@ -15506,7 +15736,7 @@ function requireCipherCore() {
|
|
|
15506
15736
|
decrypt: function(cipher, ciphertext, password, cfg) {
|
|
15507
15737
|
cfg = this.cfg.extend(cfg);
|
|
15508
15738
|
ciphertext = this._parse(ciphertext, cfg.format);
|
|
15509
|
-
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt);
|
|
15739
|
+
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt, cfg.hasher);
|
|
15510
15740
|
cfg.iv = derivedParams.iv;
|
|
15511
15741
|
var plaintext = SerializableCipher.decrypt.call(this, cipher, ciphertext, derivedParams.key, cfg);
|
|
15512
15742
|
return plaintext;
|
|
@@ -15689,7 +15919,7 @@ var encUtf8 = { exports: {} };
|
|
|
15689
15919
|
})(encUtf8);
|
|
15690
15920
|
var encUtf8Exports = encUtf8.exports;
|
|
15691
15921
|
const Utf8 = /* @__PURE__ */ getDefaultExportFromCjs(encUtf8Exports);
|
|
15692
|
-
const layoutConfig$
|
|
15922
|
+
const layoutConfig$2 = useLayoutConfig();
|
|
15693
15923
|
function headRequest(request) {
|
|
15694
15924
|
return {
|
|
15695
15925
|
getSearchHot() {
|
|
@@ -15929,8 +16159,8 @@ function headRequest(request) {
|
|
|
15929
16159
|
},
|
|
15930
16160
|
// 密码登录
|
|
15931
16161
|
toLogin(data) {
|
|
15932
|
-
const key = Utf8.parse(layoutConfig$
|
|
15933
|
-
const iv = Utf8.parse(layoutConfig$
|
|
16162
|
+
const key = Utf8.parse(layoutConfig$2.VITE_SECRET_KEY);
|
|
16163
|
+
const iv = Utf8.parse(layoutConfig$2.VITE_SECRET_IV);
|
|
15934
16164
|
const cryptoCode = AES.encrypt(data.password, key, {
|
|
15935
16165
|
iv,
|
|
15936
16166
|
padding: Pkcs7
|
|
@@ -16059,7 +16289,7 @@ function headRequest(request) {
|
|
|
16059
16289
|
}
|
|
16060
16290
|
};
|
|
16061
16291
|
}
|
|
16062
|
-
const _sfc_main$
|
|
16292
|
+
const _sfc_main$v = /* @__PURE__ */ Object.assign({
|
|
16063
16293
|
name: "Create"
|
|
16064
16294
|
}, {
|
|
16065
16295
|
__name: "index",
|
|
@@ -16115,9 +16345,8 @@ const _sfc_main$u = /* @__PURE__ */ Object.assign({
|
|
|
16115
16345
|
(openBlock(true), createElementBlock(Fragment, null, renderList(linkList.value, (item) => {
|
|
16116
16346
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
16117
16347
|
item.show !== false ? (openBlock(), createBlock(OptionLink, mergeProps({
|
|
16118
|
-
key: item.label
|
|
16119
|
-
|
|
16120
|
-
}, item, {
|
|
16348
|
+
key: item.label
|
|
16349
|
+
}, { ref_for: true }, item, {
|
|
16121
16350
|
onClick: ($event) => handleClick(item)
|
|
16122
16351
|
}), {
|
|
16123
16352
|
default: withCtx(() => [
|
|
@@ -16150,8 +16379,8 @@ const _sfc_main$u = /* @__PURE__ */ Object.assign({
|
|
|
16150
16379
|
};
|
|
16151
16380
|
}
|
|
16152
16381
|
});
|
|
16153
|
-
const Create = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16154
|
-
const _sfc_main$
|
|
16382
|
+
const Create = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
16383
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
16155
16384
|
...{
|
|
16156
16385
|
name: "DocumentCenter"
|
|
16157
16386
|
},
|
|
@@ -16165,19 +16394,19 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
16165
16394
|
return openBlock(), createBlock(GLink, {
|
|
16166
16395
|
variant: "text",
|
|
16167
16396
|
class: normalizeClass(["g-toolbar-docs", _ctx.whiteColor ? "white" : "black"]),
|
|
16168
|
-
href:
|
|
16397
|
+
href: unref(currentHelpDocsAiCommunityUrl)(),
|
|
16169
16398
|
target: "_blank"
|
|
16170
16399
|
}, {
|
|
16171
16400
|
default: withCtx(() => [
|
|
16172
16401
|
createTextVNode(toDisplayString$1(unref(t2)("gitCodeLayout.header.aihub.documentCenter")), 1)
|
|
16173
16402
|
]),
|
|
16174
16403
|
_: 1
|
|
16175
|
-
}, 8, ["class"]);
|
|
16404
|
+
}, 8, ["class", "href"]);
|
|
16176
16405
|
};
|
|
16177
16406
|
}
|
|
16178
16407
|
});
|
|
16179
|
-
const DocumentCenter = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16180
|
-
const _sfc_main$
|
|
16408
|
+
const DocumentCenter = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
16409
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
16181
16410
|
...{
|
|
16182
16411
|
name: "Notice"
|
|
16183
16412
|
},
|
|
@@ -16212,7 +16441,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
16212
16441
|
});
|
|
16213
16442
|
return (_ctx, _cache) => {
|
|
16214
16443
|
return openBlock(), createBlock(GLink, {
|
|
16215
|
-
href: `${unref(layoutConfig2).VITE_HOST}/notice?message_sate=countNotRead`
|
|
16444
|
+
href: `${unref(transformUrl)(unref(layoutConfig2).VITE_HOST)}/notice?message_sate=countNotRead`
|
|
16216
16445
|
}, {
|
|
16217
16446
|
default: withCtx(() => [
|
|
16218
16447
|
createVNode(unref(Badge), {
|
|
@@ -16237,20 +16466,20 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
16237
16466
|
};
|
|
16238
16467
|
}
|
|
16239
16468
|
});
|
|
16240
|
-
const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16241
|
-
const _hoisted_1$
|
|
16469
|
+
const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
16470
|
+
const _hoisted_1$p = {
|
|
16242
16471
|
key: 0,
|
|
16243
16472
|
class: "user-level-avatar-badge"
|
|
16244
16473
|
};
|
|
16245
|
-
const _hoisted_2$
|
|
16246
|
-
const _hoisted_3$
|
|
16247
|
-
const _hoisted_4$
|
|
16474
|
+
const _hoisted_2$k = { class: "flex items-center font-medium gap-[4px]" };
|
|
16475
|
+
const _hoisted_3$j = ["src"];
|
|
16476
|
+
const _hoisted_4$e = { class: "level-name" };
|
|
16248
16477
|
const _hoisted_5$8 = { class: "level-icon" };
|
|
16249
16478
|
const _hoisted_6$7 = ["src"];
|
|
16250
16479
|
const _hoisted_7$4 = { class: "custom-btn" };
|
|
16251
16480
|
const _hoisted_8$4 = { class: "flex items-center justify-center" };
|
|
16252
16481
|
const maxLevel = 3;
|
|
16253
|
-
const _sfc_main$
|
|
16482
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
16254
16483
|
...{ name: "UserLevel" },
|
|
16255
16484
|
__name: "UserLevel",
|
|
16256
16485
|
props: ["accountInfo"],
|
|
@@ -16286,7 +16515,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16286
16515
|
if (router2.hasRoute("settingPoints")) {
|
|
16287
16516
|
router2.push("/setting/points");
|
|
16288
16517
|
} else {
|
|
16289
|
-
location.href = `${layoutConfig2.VITE_HOST}/setting/points`;
|
|
16518
|
+
location.href = `${transformUrl(layoutConfig2.VITE_HOST)}/setting/points`;
|
|
16290
16519
|
}
|
|
16291
16520
|
};
|
|
16292
16521
|
const levelInfo = computed(() => {
|
|
@@ -16301,14 +16530,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16301
16530
|
class: normalizeClass(["user-level cursor-pointer", { [unref(ThemeType).BLACK]: unref(currentTheme) === unref(ThemeType).BLACK }]),
|
|
16302
16531
|
onClick: handleUpgrade
|
|
16303
16532
|
}, [
|
|
16304
|
-
__props.accountInfo.need_tips ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
16305
|
-
createElementVNode("div", _hoisted_2$
|
|
16533
|
+
__props.accountInfo.need_tips ? (openBlock(), createElementBlock("div", _hoisted_1$p)) : createCommentVNode("", true),
|
|
16534
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
16306
16535
|
createElementVNode("img", {
|
|
16307
16536
|
class: "level-avatar",
|
|
16308
16537
|
src: levelInfo.value.avatar,
|
|
16309
16538
|
alt: ""
|
|
16310
|
-
}, null, 8, _hoisted_3$
|
|
16311
|
-
createElementVNode("div", _hoisted_4$
|
|
16539
|
+
}, null, 8, _hoisted_3$j),
|
|
16540
|
+
createElementVNode("div", _hoisted_4$e, [
|
|
16312
16541
|
createElementVNode("div", null, toDisplayString$1(levelInfo.value.name), 1),
|
|
16313
16542
|
createElementVNode("div", _hoisted_5$8, [
|
|
16314
16543
|
createElementVNode("img", {
|
|
@@ -16325,15 +16554,23 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16325
16554
|
};
|
|
16326
16555
|
}
|
|
16327
16556
|
});
|
|
16328
|
-
const UserLevel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16329
|
-
const _hoisted_1$
|
|
16330
|
-
const _hoisted_2$
|
|
16331
|
-
const _hoisted_3$
|
|
16332
|
-
const _hoisted_4$
|
|
16333
|
-
const _sfc_main$
|
|
16557
|
+
const UserLevel = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
16558
|
+
const _hoisted_1$o = { class: "g-user-drawer-info-list pl-[16px]" };
|
|
16559
|
+
const _hoisted_2$j = { class: "max-w-[200px]" };
|
|
16560
|
+
const _hoisted_3$i = ["title"];
|
|
16561
|
+
const _hoisted_4$d = ["title"];
|
|
16562
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
16334
16563
|
__name: "UserAvatarMenu",
|
|
16335
|
-
props:
|
|
16336
|
-
|
|
16564
|
+
props: {
|
|
16565
|
+
isChatBot: { type: Boolean },
|
|
16566
|
+
accountInfo: {},
|
|
16567
|
+
loginOutFinish: { type: Function },
|
|
16568
|
+
inAIHub: { type: Boolean },
|
|
16569
|
+
independence: { type: Boolean },
|
|
16570
|
+
userMenus: {}
|
|
16571
|
+
},
|
|
16572
|
+
emits: ["link-click"],
|
|
16573
|
+
setup(__props, { emit: __emit }) {
|
|
16337
16574
|
const layoutConfig2 = useLayoutConfig();
|
|
16338
16575
|
const API = headRequest(inject("request"));
|
|
16339
16576
|
const repoInfo = inject("repoInfo");
|
|
@@ -16341,9 +16578,11 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16341
16578
|
const userInfo = inject("userInfo");
|
|
16342
16579
|
const { t: t2, locale: locale2 } = i18n.global;
|
|
16343
16580
|
const props = __props;
|
|
16581
|
+
const emit = __emit;
|
|
16344
16582
|
const router2 = useRouter();
|
|
16345
16583
|
const route = useRoute();
|
|
16346
16584
|
const haveVisited = ref(false);
|
|
16585
|
+
const menuContainerRef = ref(null);
|
|
16347
16586
|
const clearSurveyDelayStatus = () => {
|
|
16348
16587
|
const surveyDelay = localStorage$2.getItem(HARMONY_VISITED_DATE);
|
|
16349
16588
|
if (surveyDelay === "true") {
|
|
@@ -16351,7 +16590,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16351
16590
|
}
|
|
16352
16591
|
localStorage$2.removeItem(HARMONY_SURVEY_DELAY);
|
|
16353
16592
|
};
|
|
16354
|
-
const
|
|
16593
|
+
const handleLogout = async () => {
|
|
16355
16594
|
var _a, _b;
|
|
16356
16595
|
const res = await API.toLogout();
|
|
16357
16596
|
clearSurveyDelayStatus();
|
|
@@ -16389,13 +16628,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16389
16628
|
...params
|
|
16390
16629
|
};
|
|
16391
16630
|
};
|
|
16392
|
-
const
|
|
16393
|
-
if (props.independence) {
|
|
16394
|
-
return hrefList.value;
|
|
16395
|
-
}
|
|
16396
|
-
return routerHref.value;
|
|
16397
|
-
});
|
|
16398
|
-
const menueDataFormat = (data) => {
|
|
16631
|
+
const menuDataFormat = (data) => {
|
|
16399
16632
|
data.forEach((item) => {
|
|
16400
16633
|
if (Array.isArray(item)) {
|
|
16401
16634
|
item.forEach((item2) => {
|
|
@@ -16407,13 +16640,13 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16407
16640
|
});
|
|
16408
16641
|
return data;
|
|
16409
16642
|
};
|
|
16410
|
-
const
|
|
16643
|
+
const userCustomMenus = computed(() => {
|
|
16411
16644
|
if (props.userMenus) {
|
|
16412
|
-
return
|
|
16645
|
+
return menuDataFormat(props.userMenus);
|
|
16413
16646
|
}
|
|
16414
16647
|
return [];
|
|
16415
16648
|
});
|
|
16416
|
-
const
|
|
16649
|
+
const baseRouterMenus = [
|
|
16417
16650
|
[
|
|
16418
16651
|
{ id: "dashboard", label: t2("gitCodeLayout.header.workbench"), icon: "gt-plane-user", to: getRouterLink("dashboard") },
|
|
16419
16652
|
{ id: "myOrg", label: t2("gitCodeLayout.header.myOrg"), icon: "gt-plane-organization", to: getRouterLink({ name: "settingOrganization" }) },
|
|
@@ -16424,20 +16657,20 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16424
16657
|
],
|
|
16425
16658
|
[
|
|
16426
16659
|
{ id: "personalSetting", label: t2("gitCodeLayout.header.personSetting"), icon: "gt-plane-setting", to: getRouterLink("setting") },
|
|
16427
|
-
{ id: "news", label: t2("gitCodeLayout.home.informationCenter"), icon: "gt-plane-consulting", target: "_blank", href: `${INFORMATION_CENTER_URL}?lang=${(locale2 == null ? void 0 : locale2.value) || "zh"}` },
|
|
16428
|
-
{ id: "help", label: t2("gitCodeLayout.header.helpDocument"), icon: "gt-plane-project-opened", href:
|
|
16660
|
+
{ id: "news", label: t2("gitCodeLayout.home.informationCenter"), icon: "gt-plane-consulting", target: "_blank", href: `${transformNewsUrl(INFORMATION_CENTER_URL)}?lang=${(locale2 == null ? void 0 : locale2.value) || "zh"}` },
|
|
16661
|
+
{ id: "help", label: t2("gitCodeLayout.header.helpDocument"), icon: "gt-plane-project-opened", href: currentHelpDocsUrl() }
|
|
16429
16662
|
]
|
|
16430
16663
|
];
|
|
16431
|
-
const
|
|
16664
|
+
const routerMenuList = computed(() => {
|
|
16432
16665
|
var _a;
|
|
16433
16666
|
return [
|
|
16434
|
-
...((_a =
|
|
16667
|
+
...((_a = userCustomMenus.value) == null ? void 0 : _a.length) ? userCustomMenus.value : baseRouterMenus,
|
|
16435
16668
|
[
|
|
16436
|
-
{ id: "logout", label: t2("gitCodeLayout.header.logout"), icon: "gt-default", action:
|
|
16669
|
+
{ id: "logout", label: t2("gitCodeLayout.header.logout"), icon: "gt-default", action: handleLogout }
|
|
16437
16670
|
]
|
|
16438
16671
|
];
|
|
16439
16672
|
});
|
|
16440
|
-
const
|
|
16673
|
+
const baseHrefMenus = [
|
|
16441
16674
|
[
|
|
16442
16675
|
{ id: "dashboard", label: t2("gitCodeLayout.header.workbench"), icon: "gt-plane-user", link: "/dashboard" },
|
|
16443
16676
|
{ id: "myOrg", label: t2("gitCodeLayout.header.myOrg"), icon: "gt-plane-organization", link: "/setting/organization" },
|
|
@@ -16448,28 +16681,61 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16448
16681
|
],
|
|
16449
16682
|
[
|
|
16450
16683
|
{ id: "personalSetting", label: t2("gitCodeLayout.header.personSetting"), icon: "gt-plane-setting", link: "/setting" },
|
|
16451
|
-
{ id: "news", label: t2("gitCodeLayout.home.informationCenter"), icon: "gt-plane-consulting", target: "_blank", href: `${INFORMATION_CENTER_URL}?lang=${(locale2 == null ? void 0 : locale2.value) || "zh"}` },
|
|
16452
|
-
{ id: "help", label: t2("gitCodeLayout.header.helpDocument"), icon: "gt-plane-project-opened", target: "_blank", href:
|
|
16684
|
+
{ id: "news", label: t2("gitCodeLayout.home.informationCenter"), icon: "gt-plane-consulting", target: "_blank", href: `${transformNewsUrl(INFORMATION_CENTER_URL)}?lang=${(locale2 == null ? void 0 : locale2.value) || "zh"}` },
|
|
16685
|
+
{ id: "help", label: t2("gitCodeLayout.header.helpDocument"), icon: "gt-plane-project-opened", target: "_blank", href: currentHelpDocsUrl() }
|
|
16453
16686
|
]
|
|
16454
16687
|
];
|
|
16455
16688
|
const hrefList = computed(() => {
|
|
16456
16689
|
var _a;
|
|
16457
16690
|
return [
|
|
16458
|
-
...((_a =
|
|
16691
|
+
...((_a = userCustomMenus.value) == null ? void 0 : _a.length) ? userCustomMenus.value : baseHrefMenus,
|
|
16459
16692
|
[
|
|
16460
|
-
{ id: "logout", label: t2("gitCodeLayout.header.logout"), icon: "gt-default", action:
|
|
16693
|
+
{ id: "logout", label: t2("gitCodeLayout.header.logout"), icon: "gt-default", action: handleLogout }
|
|
16461
16694
|
]
|
|
16462
16695
|
];
|
|
16463
16696
|
});
|
|
16697
|
+
const userMenuList = computed(() => {
|
|
16698
|
+
if (props.independence) {
|
|
16699
|
+
return hrefList.value;
|
|
16700
|
+
}
|
|
16701
|
+
return routerMenuList.value;
|
|
16702
|
+
});
|
|
16464
16703
|
function handleClick(item) {
|
|
16465
16704
|
if (item == null ? void 0 : item.action) {
|
|
16466
16705
|
item.action();
|
|
16467
16706
|
}
|
|
16468
16707
|
if (item == null ? void 0 : item.link) {
|
|
16469
16708
|
const link = `${layoutConfig2.VITE_HOST}${item.link}`;
|
|
16470
|
-
|
|
16709
|
+
emit("link-click");
|
|
16710
|
+
setTimeout(() => {
|
|
16711
|
+
window.open(link, "_self");
|
|
16712
|
+
}, 100);
|
|
16471
16713
|
}
|
|
16472
16714
|
}
|
|
16715
|
+
const handleLinkClick = (e) => {
|
|
16716
|
+
const target = e.target;
|
|
16717
|
+
const linkElement = target.closest("a.g-link, .g-link");
|
|
16718
|
+
if (!linkElement) return;
|
|
16719
|
+
const isDisabled = linkElement.hasAttribute("disabled") || linkElement.getAttribute("disabled") === "true" || linkElement.classList.contains("noPointer");
|
|
16720
|
+
if (isDisabled) return;
|
|
16721
|
+
const href = linkElement.getAttribute("href");
|
|
16722
|
+
const to = linkElement.getAttribute("to");
|
|
16723
|
+
const isValidHref = href && href !== "javascript:void(0)" && href !== "#" && href !== "";
|
|
16724
|
+
const isValidTo = to && to !== "";
|
|
16725
|
+
if (isValidHref || isValidTo) {
|
|
16726
|
+
emit("link-click");
|
|
16727
|
+
}
|
|
16728
|
+
};
|
|
16729
|
+
onMounted(() => {
|
|
16730
|
+
if (menuContainerRef.value) {
|
|
16731
|
+
menuContainerRef.value.addEventListener("click", handleLinkClick, true);
|
|
16732
|
+
}
|
|
16733
|
+
});
|
|
16734
|
+
onBeforeUnmount(() => {
|
|
16735
|
+
if (menuContainerRef.value) {
|
|
16736
|
+
menuContainerRef.value.removeEventListener("click", handleLinkClick, true);
|
|
16737
|
+
}
|
|
16738
|
+
});
|
|
16473
16739
|
const getVisit = async (value) => {
|
|
16474
16740
|
const visitedDate = localStorage$2.getItem(AVATAR_VISITED_DATE);
|
|
16475
16741
|
const nowDate = (/* @__PURE__ */ new Date()).toLocaleDateString("zh-CN");
|
|
@@ -16480,30 +16746,33 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16480
16746
|
};
|
|
16481
16747
|
getVisit();
|
|
16482
16748
|
return (_ctx, _cache) => {
|
|
16483
|
-
return openBlock(), createElementBlock("div",
|
|
16749
|
+
return openBlock(), createElementBlock("div", {
|
|
16750
|
+
ref_key: "menuContainerRef",
|
|
16751
|
+
ref: menuContainerRef
|
|
16752
|
+
}, [
|
|
16484
16753
|
createVNode(GLink, {
|
|
16485
16754
|
class: "g-user-drawer-info pl-[32px] pr-[16px] cursor-pointer",
|
|
16486
|
-
href: `${unref(layoutConfig2).VITE_HOST}/${
|
|
16755
|
+
href: `${unref(layoutConfig2).VITE_HOST}/${_ctx.accountInfo.username}`,
|
|
16487
16756
|
key: "myPage",
|
|
16488
|
-
target:
|
|
16757
|
+
target: _ctx.isChatBot ? "_blank" : ""
|
|
16489
16758
|
}, {
|
|
16490
16759
|
default: withCtx(() => [
|
|
16491
|
-
createVNode(_sfc_main$
|
|
16492
|
-
name:
|
|
16493
|
-
src:
|
|
16760
|
+
createVNode(_sfc_main$A, {
|
|
16761
|
+
name: _ctx.accountInfo.nickname,
|
|
16762
|
+
src: _ctx.accountInfo.avatar,
|
|
16494
16763
|
width: 52,
|
|
16495
16764
|
height: 52
|
|
16496
16765
|
}, null, 8, ["name", "src"]),
|
|
16497
|
-
createElementVNode("div", _hoisted_1$
|
|
16498
|
-
createElementVNode("div", _hoisted_2$
|
|
16766
|
+
createElementVNode("div", _hoisted_1$o, [
|
|
16767
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
16499
16768
|
createElementVNode("p", {
|
|
16500
16769
|
class: "g-user-drawer-info-list-name ellipsis",
|
|
16501
|
-
title:
|
|
16502
|
-
}, toDisplayString$1(
|
|
16770
|
+
title: _ctx.accountInfo.nickname
|
|
16771
|
+
}, toDisplayString$1(_ctx.accountInfo.nickname), 9, _hoisted_3$i),
|
|
16503
16772
|
createElementVNode("p", {
|
|
16504
16773
|
class: "g-user-drawer-info-list-id ellipsis",
|
|
16505
|
-
title:
|
|
16506
|
-
}, "@" + toDisplayString$1(
|
|
16774
|
+
title: _ctx.accountInfo.username
|
|
16775
|
+
}, "@" + toDisplayString$1(_ctx.accountInfo.username), 9, _hoisted_4$d)
|
|
16507
16776
|
]),
|
|
16508
16777
|
createVNode(GIcon, {
|
|
16509
16778
|
name: "gt-line-right",
|
|
@@ -16513,24 +16782,23 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16513
16782
|
]),
|
|
16514
16783
|
_: 1
|
|
16515
16784
|
}, 8, ["href", "target"]),
|
|
16516
|
-
!
|
|
16785
|
+
!_ctx.inAIHub ? (openBlock(), createBlock(UserLevel, {
|
|
16517
16786
|
key: 0,
|
|
16518
|
-
accountInfo:
|
|
16787
|
+
accountInfo: _ctx.accountInfo
|
|
16519
16788
|
}, null, 8, ["accountInfo"])) : createCommentVNode("", true),
|
|
16520
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
16789
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(userMenuList.value, (block, index2) => {
|
|
16521
16790
|
return openBlock(), createElementBlock("div", {
|
|
16522
|
-
class: normalizeClass(["g-user-drawer-block", { "!pt-[0px]": index2 === 0 &&
|
|
16791
|
+
class: normalizeClass(["g-user-drawer-block", { "!pt-[0px]": index2 === 0 && _ctx.inAIHub }]),
|
|
16523
16792
|
key: index2
|
|
16524
16793
|
}, [
|
|
16525
16794
|
block.component ? (openBlock(), createBlock(resolveDynamicComponent(block.component), {
|
|
16526
16795
|
key: block.id
|
|
16527
16796
|
})) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(block, (item) => {
|
|
16528
16797
|
return openBlock(), createBlock(OptionLink, mergeProps({
|
|
16529
|
-
key: item.id
|
|
16530
|
-
|
|
16531
|
-
}, item, {
|
|
16798
|
+
key: item.id
|
|
16799
|
+
}, { ref_for: true }, item, {
|
|
16532
16800
|
onClick: ($event) => handleClick(item),
|
|
16533
|
-
target:
|
|
16801
|
+
target: _ctx.isChatBot && !item.action ? "_blank" : item.target || ""
|
|
16534
16802
|
}), {
|
|
16535
16803
|
default: withCtx(() => [
|
|
16536
16804
|
item.icon ? (openBlock(), createBlock(GIcon, {
|
|
@@ -16545,24 +16813,24 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16545
16813
|
}), 128))
|
|
16546
16814
|
], 2);
|
|
16547
16815
|
}), 128))
|
|
16548
|
-
]);
|
|
16816
|
+
], 512);
|
|
16549
16817
|
};
|
|
16550
16818
|
}
|
|
16551
16819
|
});
|
|
16552
|
-
const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16553
|
-
const _hoisted_1$
|
|
16554
|
-
const _hoisted_2$
|
|
16820
|
+
const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
16821
|
+
const _hoisted_1$n = { class: "g-user-avatar flex-center ml-1" };
|
|
16822
|
+
const _hoisted_2$i = {
|
|
16555
16823
|
key: 0,
|
|
16556
16824
|
class: "g-user-avatar__badge"
|
|
16557
16825
|
};
|
|
16558
|
-
const _hoisted_3$
|
|
16559
|
-
const _hoisted_4$
|
|
16826
|
+
const _hoisted_3$h = { class: "g-user-avatar flex-center ml-1" };
|
|
16827
|
+
const _hoisted_4$c = {
|
|
16560
16828
|
key: 0,
|
|
16561
16829
|
class: "g-user-avatar__badge"
|
|
16562
16830
|
};
|
|
16563
16831
|
const _hoisted_5$7 = { class: "g-user-drawer" };
|
|
16564
16832
|
const _hoisted_6$6 = { class: "p-[16px] pt-[8px] pb-0 flex justify-end items-center h-[48px]" };
|
|
16565
|
-
const _sfc_main$
|
|
16833
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
16566
16834
|
...{
|
|
16567
16835
|
name: "UserAvatar"
|
|
16568
16836
|
},
|
|
@@ -16572,11 +16840,27 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16572
16840
|
const { isMobile } = usePageResize();
|
|
16573
16841
|
const drawerVisible = ref(false);
|
|
16574
16842
|
const userInfo = inject("userInfo");
|
|
16575
|
-
const
|
|
16576
|
-
|
|
16577
|
-
|
|
16843
|
+
const getLocalStorageUserInfo = () => {
|
|
16844
|
+
try {
|
|
16845
|
+
return JSON.parse(localStorage$2.getItem("userInfo") || "{}");
|
|
16846
|
+
} catch {
|
|
16847
|
+
return {};
|
|
16848
|
+
}
|
|
16849
|
+
};
|
|
16850
|
+
const accountInfo = ref(userInfo.value || getLocalStorageUserInfo());
|
|
16578
16851
|
const haveVisited = ref(false);
|
|
16579
16852
|
const useReport2 = inject("useReport");
|
|
16853
|
+
watch(
|
|
16854
|
+
() => userInfo.value,
|
|
16855
|
+
(newValue) => {
|
|
16856
|
+
if (newValue) {
|
|
16857
|
+
accountInfo.value = newValue;
|
|
16858
|
+
} else {
|
|
16859
|
+
accountInfo.value = getLocalStorageUserInfo();
|
|
16860
|
+
}
|
|
16861
|
+
},
|
|
16862
|
+
{ immediate: true }
|
|
16863
|
+
);
|
|
16580
16864
|
const handleToggle = (status) => {
|
|
16581
16865
|
visitedClick();
|
|
16582
16866
|
const params = { need_tips: accountInfo.value.need_tips, prompt_style: accountInfo.value.style_tips };
|
|
@@ -16628,9 +16912,21 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16628
16912
|
const appDom = getScrollDom();
|
|
16629
16913
|
appDom && (appDom.style.overflow = status ? "hidden" : "unset");
|
|
16630
16914
|
};
|
|
16915
|
+
const resetOverflow = () => {
|
|
16916
|
+
const appDom = getScrollDom();
|
|
16917
|
+
if (appDom && appDom.style.overflow === "hidden") {
|
|
16918
|
+
appDom.style.overflow = "unset";
|
|
16919
|
+
}
|
|
16920
|
+
};
|
|
16631
16921
|
const handleStorageChange = (e) => {
|
|
16632
16922
|
if (e.key === "userInfo") {
|
|
16633
|
-
|
|
16923
|
+
if (!userInfo.value) {
|
|
16924
|
+
try {
|
|
16925
|
+
accountInfo.value = JSON.parse(e.newValue || "{}");
|
|
16926
|
+
} catch {
|
|
16927
|
+
accountInfo.value = {};
|
|
16928
|
+
}
|
|
16929
|
+
}
|
|
16634
16930
|
}
|
|
16635
16931
|
};
|
|
16636
16932
|
onMounted(() => {
|
|
@@ -16638,6 +16934,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16638
16934
|
});
|
|
16639
16935
|
onBeforeUnmount(() => {
|
|
16640
16936
|
window.removeEventListener("storage", handleStorageChange);
|
|
16937
|
+
resetOverflow();
|
|
16641
16938
|
});
|
|
16642
16939
|
return (_ctx, _cache) => {
|
|
16643
16940
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -16645,12 +16942,12 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16645
16942
|
key: 0,
|
|
16646
16943
|
onClick: _cache[0] || (_cache[0] = ($event) => drawerVisible.value = true)
|
|
16647
16944
|
}, [
|
|
16648
|
-
createElementVNode("div", _hoisted_1$
|
|
16649
|
-
createVNode(_sfc_main$
|
|
16945
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
16946
|
+
createVNode(_sfc_main$A, {
|
|
16650
16947
|
name: accountInfo.value.nickname,
|
|
16651
|
-
src: accountInfo.value.avatar
|
|
16948
|
+
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
16652
16949
|
}, null, 8, ["name", "src"]),
|
|
16653
|
-
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16950
|
+
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$i, _cache[4] || (_cache[4] = [
|
|
16654
16951
|
createElementVNode("div", null, null, -1)
|
|
16655
16952
|
]))) : createCommentVNode("", true)
|
|
16656
16953
|
])
|
|
@@ -16670,17 +16967,18 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16670
16967
|
accountInfo: accountInfo.value,
|
|
16671
16968
|
isChatBot: __props.isChatBot,
|
|
16672
16969
|
inAIHub: __props.inAIHub,
|
|
16673
|
-
userMenus: __props.userMenus
|
|
16970
|
+
userMenus: __props.userMenus,
|
|
16971
|
+
onLinkClick: resetOverflow
|
|
16674
16972
|
}, null, 8, ["independence", "loginOutFinish", "accountInfo", "isChatBot", "inAIHub", "userMenus"])
|
|
16675
16973
|
])
|
|
16676
16974
|
]),
|
|
16677
16975
|
default: withCtx(() => [
|
|
16678
|
-
createElementVNode("div", _hoisted_3$
|
|
16679
|
-
createVNode(_sfc_main$
|
|
16976
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
16977
|
+
createVNode(_sfc_main$A, {
|
|
16680
16978
|
name: accountInfo.value.nickname,
|
|
16681
|
-
src: accountInfo.value.avatar
|
|
16979
|
+
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
16682
16980
|
}, null, 8, ["name", "src"]),
|
|
16683
|
-
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
16981
|
+
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$c, _cache[5] || (_cache[5] = [
|
|
16684
16982
|
createElementVNode("div", null, null, -1)
|
|
16685
16983
|
]))) : createCommentVNode("", true)
|
|
16686
16984
|
])
|
|
@@ -16711,7 +17009,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16711
17009
|
isChatBot: __props.isChatBot,
|
|
16712
17010
|
inAIHub: __props.inAIHub,
|
|
16713
17011
|
userMenus: __props.userMenus,
|
|
16714
|
-
onClick: _cache[2] || (_cache[2] = ($event) => drawerVisible.value = false)
|
|
17012
|
+
onClick: _cache[2] || (_cache[2] = ($event) => drawerVisible.value = false),
|
|
17013
|
+
onLinkClick: resetOverflow
|
|
16715
17014
|
}, null, 8, ["independence", "loginOutFinish", "accountInfo", "isChatBot", "inAIHub", "userMenus"])
|
|
16716
17015
|
])
|
|
16717
17016
|
]),
|
|
@@ -16721,7 +17020,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16721
17020
|
};
|
|
16722
17021
|
}
|
|
16723
17022
|
});
|
|
16724
|
-
const UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17023
|
+
const UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
16725
17024
|
var EVENT_NAME = /* @__PURE__ */ ((EVENT_NAME2) => {
|
|
16726
17025
|
EVENT_NAME2["START_SEARCH"] = "开始搜索";
|
|
16727
17026
|
EVENT_NAME2["SEARCH"] = "搜索";
|
|
@@ -16809,16 +17108,16 @@ const setlocalVistHistory = (data, localType) => {
|
|
|
16809
17108
|
localStorage$2.setItem(storeName, JSON.stringify(cur));
|
|
16810
17109
|
return cur;
|
|
16811
17110
|
};
|
|
16812
|
-
const _hoisted_1$
|
|
16813
|
-
const _hoisted_2$
|
|
16814
|
-
const _hoisted_3$
|
|
16815
|
-
const _hoisted_4$
|
|
17111
|
+
const _hoisted_1$m = { class: "g-header-search-prefix" };
|
|
17112
|
+
const _hoisted_2$h = ["innerHTML"];
|
|
17113
|
+
const _hoisted_3$g = { class: "g-header-search-suffix-splitline" };
|
|
17114
|
+
const _hoisted_4$b = { class: "g-header-search-suffix-suffixIcon" };
|
|
16816
17115
|
const _hoisted_5$6 = { class: "history-list" };
|
|
16817
17116
|
const _hoisted_6$5 = {
|
|
16818
17117
|
key: 1,
|
|
16819
17118
|
class: "aireposearch flex-1"
|
|
16820
17119
|
};
|
|
16821
|
-
const _sfc_main$
|
|
17120
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
16822
17121
|
__name: "index",
|
|
16823
17122
|
props: {
|
|
16824
17123
|
inAIHub: { type: Boolean },
|
|
@@ -16829,13 +17128,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
16829
17128
|
var _a;
|
|
16830
17129
|
const layoutConfig2 = useLayoutConfig();
|
|
16831
17130
|
const { t: $t } = i18n.global;
|
|
16832
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
16833
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
16834
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
16835
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
16836
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
16837
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
16838
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17131
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DrgUNf2c.js"));
|
|
17132
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-CxTf3KKJ.js"));
|
|
17133
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-H3vDxme0.js"));
|
|
17134
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-Cd2uW6rE.js"));
|
|
17135
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-DQc6OI01.js"));
|
|
17136
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-5Zk19uBK.js"));
|
|
17137
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-C0zBe2PT.js"));
|
|
16839
17138
|
const props = __props;
|
|
16840
17139
|
const repoInfo = inject("repoInfo");
|
|
16841
17140
|
const orgInfo = inject("orgInfo");
|
|
@@ -17073,7 +17372,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17073
17372
|
} else {
|
|
17074
17373
|
hotUrl = `${hotUrl}?source_module=search_box_hot_word`;
|
|
17075
17374
|
}
|
|
17076
|
-
window.open(hotUrl, "_blank");
|
|
17375
|
+
window.open(transformUrl(hotUrl), "_blank");
|
|
17077
17376
|
return;
|
|
17078
17377
|
}
|
|
17079
17378
|
isSearchHistory.value = false;
|
|
@@ -17384,7 +17683,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17384
17683
|
ref: inputRef
|
|
17385
17684
|
}, {
|
|
17386
17685
|
prefix: withCtx(() => [
|
|
17387
|
-
createElementVNode("div", _hoisted_1$
|
|
17686
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
17388
17687
|
createVNode(GIcon, {
|
|
17389
17688
|
name: "gt-search",
|
|
17390
17689
|
class: "g-header-search-icon",
|
|
@@ -17407,7 +17706,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17407
17706
|
class: "quick-tips",
|
|
17408
17707
|
innerHTML: unref(quickTips),
|
|
17409
17708
|
onClick: onInputClick
|
|
17410
|
-
}, null, 8, _hoisted_2$
|
|
17709
|
+
}, null, 8, _hoisted_2$h)), [
|
|
17411
17710
|
[vShow, placeholderVisible.value]
|
|
17412
17711
|
]),
|
|
17413
17712
|
withDirectives(createVNode(unref(SearchPrefixTag), {
|
|
@@ -17440,10 +17739,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17440
17739
|
}, null, 512), [
|
|
17441
17740
|
[vShow, searchStr.value]
|
|
17442
17741
|
]),
|
|
17443
|
-
withDirectives(createElementVNode("span", _hoisted_3$
|
|
17742
|
+
withDirectives(createElementVNode("span", _hoisted_3$g, "|", 512), [
|
|
17444
17743
|
[vShow, searchStr.value]
|
|
17445
17744
|
]),
|
|
17446
|
-
createElementVNode("div", _hoisted_4$
|
|
17745
|
+
createElementVNode("div", _hoisted_4$b, [
|
|
17447
17746
|
createVNode(GIcon, {
|
|
17448
17747
|
name: "search",
|
|
17449
17748
|
class: "g-header-search-icon",
|
|
@@ -17481,7 +17780,86 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17481
17780
|
};
|
|
17482
17781
|
}
|
|
17483
17782
|
});
|
|
17484
|
-
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17783
|
+
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
17784
|
+
const _hoisted_1$l = { class: "announce-content" };
|
|
17785
|
+
const _hoisted_2$g = { class: "text-left" };
|
|
17786
|
+
const _hoisted_3$f = ["href"];
|
|
17787
|
+
const _hoisted_4$a = { class: "announce-handle-wrapper" };
|
|
17788
|
+
const ANNOUNCE_STATUS_KEY = "site_announcement_status";
|
|
17789
|
+
const announcementWidth = "100%";
|
|
17790
|
+
const announcementLeft = "0";
|
|
17791
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
17792
|
+
...{ name: "SiteAnnouncement" },
|
|
17793
|
+
__name: "SiteAnnouncement",
|
|
17794
|
+
setup(__props) {
|
|
17795
|
+
const { t: t2 } = i18n.global;
|
|
17796
|
+
const isShow = ref(SITE_STATUS.DISABLE);
|
|
17797
|
+
const handleClose = (type) => {
|
|
17798
|
+
isShow.value = false;
|
|
17799
|
+
{
|
|
17800
|
+
const now2 = /* @__PURE__ */ new Date();
|
|
17801
|
+
const today = `${now2.getFullYear()}-${String(now2.getMonth() + 1).padStart(2, "0")}-${String(now2.getDate()).padStart(2, "0")}`;
|
|
17802
|
+
localStorage$2.setItem(ANNOUNCE_STATUS_KEY, today);
|
|
17803
|
+
}
|
|
17804
|
+
};
|
|
17805
|
+
const migrationAnnounceUrl = computed(() => {
|
|
17806
|
+
var _a, _b;
|
|
17807
|
+
return ((_b = (_a = window == null ? void 0 : window.location) == null ? void 0 : _a.hostname) == null ? void 0 : _b.includes("gitcode")) ? "https://gitcode.com/gitcode" : "https://atomgit.com/gitcode";
|
|
17808
|
+
});
|
|
17809
|
+
const initShowStatus = () => {
|
|
17810
|
+
if (!SITE_STATUS.DISABLE) {
|
|
17811
|
+
isShow.value = false;
|
|
17812
|
+
return;
|
|
17813
|
+
}
|
|
17814
|
+
const now2 = /* @__PURE__ */ new Date();
|
|
17815
|
+
const deadline = /* @__PURE__ */ new Date("2025-12-31");
|
|
17816
|
+
if (now2 >= deadline) {
|
|
17817
|
+
isShow.value = false;
|
|
17818
|
+
localStorage$2.removeItem(ANNOUNCE_STATUS_KEY);
|
|
17819
|
+
return;
|
|
17820
|
+
}
|
|
17821
|
+
const announceStatus = localStorage$2.getItem(ANNOUNCE_STATUS_KEY);
|
|
17822
|
+
if (announceStatus) {
|
|
17823
|
+
const today = `${now2.getFullYear()}-${String(now2.getMonth() + 1).padStart(2, "0")}-${String(now2.getDate()).padStart(2, "0")}`;
|
|
17824
|
+
if (announceStatus === today) {
|
|
17825
|
+
isShow.value = false;
|
|
17826
|
+
}
|
|
17827
|
+
}
|
|
17828
|
+
};
|
|
17829
|
+
onMounted(() => {
|
|
17830
|
+
initShowStatus();
|
|
17831
|
+
});
|
|
17832
|
+
return (_ctx, _cache) => {
|
|
17833
|
+
return isShow.value ? (openBlock(), createElementBlock("div", {
|
|
17834
|
+
key: 0,
|
|
17835
|
+
class: "announce-wrapper",
|
|
17836
|
+
style: normalizeStyle(`width: ${announcementWidth};margin-left: ${announcementLeft}`)
|
|
17837
|
+
}, [
|
|
17838
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
17839
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
17840
|
+
createVNode(GIcon, {
|
|
17841
|
+
name: "gt-plane-warningCircular-blue",
|
|
17842
|
+
size: "16",
|
|
17843
|
+
class: "mr-2"
|
|
17844
|
+
}),
|
|
17845
|
+
createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.content")), 1),
|
|
17846
|
+
createElementVNode("a", {
|
|
17847
|
+
class: "announce-detail",
|
|
17848
|
+
href: migrationAnnounceUrl.value
|
|
17849
|
+
}, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail")), 9, _hoisted_3$f)
|
|
17850
|
+
])
|
|
17851
|
+
]),
|
|
17852
|
+
createElementVNode("div", _hoisted_4$a, [
|
|
17853
|
+
createElementVNode("span", {
|
|
17854
|
+
class: "announce-handle",
|
|
17855
|
+
onClick: _cache[0] || (_cache[0] = ($event) => handleClose())
|
|
17856
|
+
}, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.close")), 1)
|
|
17857
|
+
])
|
|
17858
|
+
], 4)) : createCommentVNode("", true);
|
|
17859
|
+
};
|
|
17860
|
+
}
|
|
17861
|
+
});
|
|
17862
|
+
const SiteAnnouncement = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
17485
17863
|
const vElementExposure = {
|
|
17486
17864
|
mounted(el, binding) {
|
|
17487
17865
|
let observer = new IntersectionObserver(function(entries2, observer2) {
|
|
@@ -17505,7 +17883,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17505
17883
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17506
17884
|
}
|
|
17507
17885
|
};
|
|
17508
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17886
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-ZbkZMqvf.js"));
|
|
17509
17887
|
function clearNotice() {
|
|
17510
17888
|
if (localStorage$2.getItem("validator_email")) {
|
|
17511
17889
|
localStorage$2.removeItem("validator_email");
|
|
@@ -17533,12 +17911,12 @@ function useNotification() {
|
|
|
17533
17911
|
};
|
|
17534
17912
|
}
|
|
17535
17913
|
const _hoisted_1$k = { class: "g-toolbar-left items-center allow-click-stop flex-[1] min-w-0" };
|
|
17536
|
-
const _hoisted_2$
|
|
17537
|
-
const _hoisted_3$
|
|
17914
|
+
const _hoisted_2$f = { key: 0 };
|
|
17915
|
+
const _hoisted_3$e = {
|
|
17538
17916
|
key: 1,
|
|
17539
17917
|
class: "search-avatar flex-1 flex items-center justify-center"
|
|
17540
17918
|
};
|
|
17541
|
-
const _hoisted_4$
|
|
17919
|
+
const _hoisted_4$9 = { class: "flex items-center gap-[8px]" };
|
|
17542
17920
|
const _hoisted_5$5 = {
|
|
17543
17921
|
key: 1,
|
|
17544
17922
|
class: "g-header-body"
|
|
@@ -17637,7 +18015,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17637
18015
|
const { isMobile } = usePageResize();
|
|
17638
18016
|
const { widthType } = usePageResize();
|
|
17639
18017
|
const headerRef = ref(null);
|
|
17640
|
-
const { height
|
|
18018
|
+
const { height } = useElementSize(headerRef);
|
|
18019
|
+
const { setHeaderHeight } = useHeaderHeight();
|
|
18020
|
+
watch(height, (newHeight) => {
|
|
18021
|
+
if (newHeight) {
|
|
18022
|
+
setHeaderHeight(newHeight);
|
|
18023
|
+
}
|
|
18024
|
+
}, { immediate: true });
|
|
17641
18025
|
const GrayBgSceneValue = [SceneValue.repo, SceneValue.org, SceneValue.user];
|
|
17642
18026
|
const headerClassName = computed(() => {
|
|
17643
18027
|
var _a2, _b;
|
|
@@ -17884,10 +18268,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17884
18268
|
emit("resetPwdDirectlySuccess");
|
|
17885
18269
|
});
|
|
17886
18270
|
window.addEventListener("message", (event) => {
|
|
17887
|
-
var _a2, _b;
|
|
18271
|
+
var _a2, _b, _c, _d, _e, _f;
|
|
17888
18272
|
const action = HandleParentWindowGetLoginInfo(props.request);
|
|
17889
|
-
if (
|
|
17890
|
-
|
|
18273
|
+
if (((_a2 = event == null ? void 0 : event.data) == null ? void 0 : _a2.type) === "main_report") {
|
|
18274
|
+
collectRegisterLoginEvent({ isRegister: (_b = event.data.report) == null ? void 0 : _b.isRegister, registerLoginMethod: (_c = event.data.report) == null ? void 0 : _c.registerLoginMethod, success: (_d = event.data.report) == null ? void 0 : _d.success });
|
|
18275
|
+
}
|
|
18276
|
+
if ([AuthResType.SUCCESS, AuthResType.FAIL].includes((_e = event.data) == null ? void 0 : _e.type)) {
|
|
18277
|
+
action[(_f = event.data) == null ? void 0 : _f.type](event);
|
|
17891
18278
|
}
|
|
17892
18279
|
});
|
|
17893
18280
|
});
|
|
@@ -17901,6 +18288,22 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17901
18288
|
const handleCloseStickyNotice = () => {
|
|
17902
18289
|
closeStickyNotice.value = true;
|
|
17903
18290
|
};
|
|
18291
|
+
const logoConfig = getCurrentLogoMap();
|
|
18292
|
+
const logoStyle = computed(() => {
|
|
18293
|
+
const isBlackTheme = currentTheme.value === "black";
|
|
18294
|
+
let logoUrl = isBlackTheme ? logoConfig.siteLogoWhite : logoConfig.siteLogoDark;
|
|
18295
|
+
let backgroundSize = isMobile.value ? "cover" : "contain";
|
|
18296
|
+
if (inAIHub.value) {
|
|
18297
|
+
logoUrl = isBlackTheme ? logoConfig.aiLogoWhite : logoConfig.aiLogoDark;
|
|
18298
|
+
backgroundSize = "contain";
|
|
18299
|
+
}
|
|
18300
|
+
return {
|
|
18301
|
+
backgroundImage: `url(${logoUrl})`,
|
|
18302
|
+
backgroundRepeat: "no-repeat",
|
|
18303
|
+
backgroundPosition: "0 center",
|
|
18304
|
+
backgroundSize
|
|
18305
|
+
};
|
|
18306
|
+
});
|
|
17904
18307
|
return (_ctx, _cache) => {
|
|
17905
18308
|
var _a2, _b, _c, _d;
|
|
17906
18309
|
return openBlock(), createElementBlock("div", {
|
|
@@ -17928,6 +18331,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17928
18331
|
], 4)), [
|
|
17929
18332
|
[unref(vElementExposure), { trigger: (type) => handleStickyNoticeExpo() }]
|
|
17930
18333
|
]) : createCommentVNode("", true),
|
|
18334
|
+
createVNode(SiteAnnouncement),
|
|
17931
18335
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
17932
18336
|
class: "g-toolbar w-full overflow-hidden allow-click-stop",
|
|
17933
18337
|
onClick: withModifiers(handleToolbarClick, ["stop"])
|
|
@@ -17948,14 +18352,16 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17948
18352
|
})) : createCommentVNode("", true),
|
|
17949
18353
|
showNameAndIcon.value && _ctx.independence || inAIHub.value ? (openBlock(), createBlock(GLink, {
|
|
17950
18354
|
key: 1,
|
|
17951
|
-
class: normalizeClass(["g-toolbar-left-logo", [
|
|
18355
|
+
class: normalizeClass(["g-toolbar-left-logo", [inAIHub.value ? "ai-logo" : ""]]),
|
|
18356
|
+
style: normalizeStyle(logoStyle.value),
|
|
17952
18357
|
href: inAIHub.value ? `${unref(layoutConfig2).VITE_AI_HOST}` : `${unref(layoutConfig2).VITE_HOST}?p=seo`
|
|
17953
|
-
}, null, 8, ["class", "href"])) : createCommentVNode("", true),
|
|
18358
|
+
}, null, 8, ["class", "style", "href"])) : createCommentVNode("", true),
|
|
17954
18359
|
showNameAndIcon.value && !_ctx.independence ? (openBlock(), createBlock(GLink, {
|
|
17955
18360
|
key: 2,
|
|
17956
|
-
class: normalizeClass(["g-toolbar-left-logo", [
|
|
18361
|
+
class: normalizeClass(["g-toolbar-left-logo", [inAIHub.value ? "ai-logo" : ""]]),
|
|
18362
|
+
style: normalizeStyle(logoStyle.value),
|
|
17957
18363
|
to: { name: "home" }
|
|
17958
|
-
}, null, 8, ["class"])) : createCommentVNode("", true)
|
|
18364
|
+
}, null, 8, ["class", "style"])) : createCommentVNode("", true)
|
|
17959
18365
|
]),
|
|
17960
18366
|
isModuleVisible(unref(HeaderDisplayItem).CUSTOM_CONTENT) ? (openBlock(), createElementBlock("div", {
|
|
17961
18367
|
key: 0,
|
|
@@ -17979,10 +18385,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17979
18385
|
}, 8, ["scene", "isLogin", "errorCode", "orgProps", "repoProps", "userProps"])) : createCommentVNode("", true)
|
|
17980
18386
|
], 2)) : createCommentVNode("", true)
|
|
17981
18387
|
]),
|
|
17982
|
-
_ctx.$slots.headerMiddleRight ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
18388
|
+
_ctx.$slots.headerMiddleRight ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
|
|
17983
18389
|
renderSlot(_ctx.$slots, "headerMiddleRight", {}, void 0, true)
|
|
17984
18390
|
])) : createCommentVNode("", true),
|
|
17985
|
-
!inAIHub.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
18391
|
+
!inAIHub.value ? (openBlock(), createElementBlock("div", _hoisted_3$e, [
|
|
17986
18392
|
isModuleVisible(unref(HeaderDisplayItem).SEARCH_BUTTON) ? renderSlot(_ctx.$slots, "search", { key: 0 }, () => [
|
|
17987
18393
|
(openBlock(), createBlock(Search, {
|
|
17988
18394
|
inAIHub: inAIHub.value,
|
|
@@ -18003,7 +18409,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18003
18409
|
createElementVNode("div", {
|
|
18004
18410
|
class: normalizeClass(["g-toolbar-right gap-[16px] flex-[1] justify-end max-md:gap-[12px] allow-click-stop", inAIHub.value ? "flex-none" : ""])
|
|
18005
18411
|
}, [
|
|
18006
|
-
createElementVNode("div", _hoisted_4$
|
|
18412
|
+
createElementVNode("div", _hoisted_4$9, [
|
|
18007
18413
|
createVNode(ClaimPower, { config: claimPowerConfig.value }, null, 8, ["config"])
|
|
18008
18414
|
]),
|
|
18009
18415
|
!_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
@@ -18077,6 +18483,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18077
18483
|
}
|
|
18078
18484
|
});
|
|
18079
18485
|
const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
18486
|
+
const layoutConfig$1 = useLayoutConfig();
|
|
18080
18487
|
const useConfigSide = (request, sceneValue) => {
|
|
18081
18488
|
const API = asideRequest(request);
|
|
18082
18489
|
const route = useRoute();
|
|
@@ -18133,10 +18540,30 @@ const useConfigSide = (request, sceneValue) => {
|
|
|
18133
18540
|
return Object.values(grouped);
|
|
18134
18541
|
};
|
|
18135
18542
|
const fetchArea = async () => {
|
|
18136
|
-
var _a;
|
|
18543
|
+
var _a, _b;
|
|
18137
18544
|
sideLoading.value = true;
|
|
18138
18545
|
const res = await API.getAsideConfig();
|
|
18139
|
-
|
|
18546
|
+
let asideList = (((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.data) || []).map((item) => {
|
|
18547
|
+
let processedUrl = item.left_menu_url;
|
|
18548
|
+
if (processedUrl == null ? void 0 : processedUrl.startsWith("https://competition.")) {
|
|
18549
|
+
processedUrl = replaceHost({ url: processedUrl, customHost: transformUrl(layoutConfig$1.VITE_COMPETITION_HOST) });
|
|
18550
|
+
} else if (processedUrl == null ? void 0 : processedUrl.startsWith("https://ai.")) {
|
|
18551
|
+
processedUrl = replaceHost({ url: processedUrl, customHost: transformUrl(layoutConfig$1.VITE_AI_HOST) });
|
|
18552
|
+
} else {
|
|
18553
|
+
processedUrl = transformUrl(processedUrl);
|
|
18554
|
+
}
|
|
18555
|
+
return {
|
|
18556
|
+
...item,
|
|
18557
|
+
left_menu_url: processedUrl,
|
|
18558
|
+
left_menu_logo: transformUrl(item.left_menu_logo),
|
|
18559
|
+
left_menu_logo_black: transformUrl(item.left_menu_logo_black),
|
|
18560
|
+
left_menu_logo_hover: transformUrl(item.left_menu_logo_hover),
|
|
18561
|
+
left_menu_logo_hover_black: transformUrl(item.left_menu_logo_hover_black)
|
|
18562
|
+
};
|
|
18563
|
+
});
|
|
18564
|
+
if (typeof window !== "undefined" && GUI_YANG_GITCODE_HOST && ((_b = window.location) == null ? void 0 : _b.origin.includes(GUI_YANG_GITCODE_HOST))) {
|
|
18565
|
+
asideList = asideList.filter((item) => !(item.left_menu_url && item.left_menu_url.includes("https://competition.gitcode")));
|
|
18566
|
+
}
|
|
18140
18567
|
if (judgeIsShowAssetMenus(asideList)) {
|
|
18141
18568
|
area.value = groupByArea([...assetMenus.value, ...asideList]);
|
|
18142
18569
|
} else {
|
|
@@ -18206,8 +18633,8 @@ const loadUserProjectsInvolved = async (requestFn, params = {}) => {
|
|
|
18206
18633
|
var _a;
|
|
18207
18634
|
return {
|
|
18208
18635
|
key: item.name,
|
|
18209
|
-
web_url: item.web_url,
|
|
18210
|
-
avatar: item.avatar,
|
|
18636
|
+
web_url: transformUrl(item.web_url),
|
|
18637
|
+
avatar: transformUrl(item.avatar),
|
|
18211
18638
|
id: item.id,
|
|
18212
18639
|
label: item.name,
|
|
18213
18640
|
namespace: (_a = item.namespace_info) == null ? void 0 : _a.name
|
|
@@ -18244,7 +18671,7 @@ var SearchType = /* @__PURE__ */ ((SearchType2) => {
|
|
|
18244
18671
|
return SearchType2;
|
|
18245
18672
|
})(SearchType || {});
|
|
18246
18673
|
const _hoisted_1$j = { class: "area" };
|
|
18247
|
-
const _hoisted_2$
|
|
18674
|
+
const _hoisted_2$e = { class: "w-[208px] max-h-[240px]" };
|
|
18248
18675
|
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
18249
18676
|
__name: "Area",
|
|
18250
18677
|
props: {
|
|
@@ -18258,9 +18685,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18258
18685
|
const layoutConfig2 = useLayoutConfig();
|
|
18259
18686
|
const { t: t2 } = i18n.global;
|
|
18260
18687
|
const route = useRoute();
|
|
18261
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18262
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18263
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18688
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-CzvnmAxx.js"));
|
|
18689
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-VW3DEFfH.js"));
|
|
18690
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-Dk2MZ4OP.js"));
|
|
18264
18691
|
const props = __props;
|
|
18265
18692
|
console.log("slotKeys", props.slotKeys);
|
|
18266
18693
|
console.log("props", props);
|
|
@@ -18429,9 +18856,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18429
18856
|
key: item.id,
|
|
18430
18857
|
isLogin: _ctx.isLogin,
|
|
18431
18858
|
item,
|
|
18432
|
-
slotKeys: _ctx.slotKeys
|
|
18433
|
-
|
|
18434
|
-
}, getProps(item)), createSlots({ _: 2 }, [
|
|
18859
|
+
slotKeys: _ctx.slotKeys
|
|
18860
|
+
}, { ref_for: true }, getProps(item)), createSlots({ _: 2 }, [
|
|
18435
18861
|
renderList(mainSiteSlotKeys.value, (key) => {
|
|
18436
18862
|
return {
|
|
18437
18863
|
name: key,
|
|
@@ -18444,7 +18870,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18444
18870
|
return {
|
|
18445
18871
|
name: key,
|
|
18446
18872
|
fn: withCtx(() => [
|
|
18447
|
-
createElementVNode("div", _hoisted_2$
|
|
18873
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
18448
18874
|
createVNode(unref(Menu), {
|
|
18449
18875
|
class: "menu",
|
|
18450
18876
|
onSelect: onMenuClick,
|
|
@@ -18488,7 +18914,7 @@ function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
|
|
|
18488
18914
|
api.set(key, newValue, options);
|
|
18489
18915
|
localStorage$2.setItem(key, newValue);
|
|
18490
18916
|
} else {
|
|
18491
|
-
api.remove(key, { domain: COOKIE_DOMAIN });
|
|
18917
|
+
api.remove(key, { domain: COOKIE_DOMAIN() });
|
|
18492
18918
|
}
|
|
18493
18919
|
},
|
|
18494
18920
|
{ flush: "sync" }
|
|
@@ -18497,8 +18923,8 @@ function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
|
|
|
18497
18923
|
return value;
|
|
18498
18924
|
}
|
|
18499
18925
|
const _hoisted_1$i = { class: "tools-item-wrapper" };
|
|
18500
|
-
const _hoisted_2$
|
|
18501
|
-
const _hoisted_3$
|
|
18926
|
+
const _hoisted_2$d = { class: "tools-item-wrapper-checkbox" };
|
|
18927
|
+
const _hoisted_3$d = ["onClick", "title"];
|
|
18502
18928
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
18503
18929
|
__name: "Lang",
|
|
18504
18930
|
setup(__props) {
|
|
@@ -18518,12 +18944,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18518
18944
|
return (_ctx, _cache) => {
|
|
18519
18945
|
return openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
18520
18946
|
createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.lang")), 1),
|
|
18521
|
-
createElementVNode("div", _hoisted_2$
|
|
18947
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
18522
18948
|
(openBlock(true), createElementBlock(Fragment, null, renderList(linkList.value, (item) => {
|
|
18523
18949
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
18524
|
-
key: item.label
|
|
18525
|
-
|
|
18526
|
-
}, item, {
|
|
18950
|
+
key: item.label
|
|
18951
|
+
}, { ref_for: true }, item, {
|
|
18527
18952
|
class: ["tools-item-wrapper-checkbox-item", { "checked": unref(lang) === item.value }],
|
|
18528
18953
|
onClick: ($event) => handleClick(item),
|
|
18529
18954
|
title: item.value
|
|
@@ -18534,7 +18959,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18534
18959
|
color: "var(--theme-icon-fill-weak)",
|
|
18535
18960
|
class: "checkbox-item-icon"
|
|
18536
18961
|
}, null, 8, ["name"])
|
|
18537
|
-
], 16, _hoisted_3$
|
|
18962
|
+
], 16, _hoisted_3$d);
|
|
18538
18963
|
}), 128))
|
|
18539
18964
|
])
|
|
18540
18965
|
]);
|
|
@@ -18542,8 +18967,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18542
18967
|
}
|
|
18543
18968
|
});
|
|
18544
18969
|
const _hoisted_1$h = { class: "tools-item-wrapper" };
|
|
18545
|
-
const _hoisted_2$
|
|
18546
|
-
const _hoisted_3$
|
|
18970
|
+
const _hoisted_2$c = { class: "tools-item-wrapper-checkbox" };
|
|
18971
|
+
const _hoisted_3$c = ["onClick", "title"];
|
|
18547
18972
|
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
18548
18973
|
__name: "Theme",
|
|
18549
18974
|
setup(__props) {
|
|
@@ -18571,12 +18996,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18571
18996
|
return (_ctx, _cache) => {
|
|
18572
18997
|
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
18573
18998
|
createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.theme")), 1),
|
|
18574
|
-
createElementVNode("div", _hoisted_2$
|
|
18999
|
+
createElementVNode("div", _hoisted_2$c, [
|
|
18575
19000
|
(openBlock(true), createElementBlock(Fragment, null, renderList(themeList.value, (item) => {
|
|
18576
19001
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
18577
|
-
key: item.value
|
|
18578
|
-
|
|
18579
|
-
}, item, {
|
|
19002
|
+
key: item.value
|
|
19003
|
+
}, { ref_for: true }, item, {
|
|
18580
19004
|
class: ["tools-item-wrapper-checkbox-item", { checked: activeTheme.value === item.value }],
|
|
18581
19005
|
onClick: ($event) => handleClick(item),
|
|
18582
19006
|
title: item.value
|
|
@@ -18587,7 +19011,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18587
19011
|
color: "var(--theme-icon-fill-weak)",
|
|
18588
19012
|
class: "checkbox-item-icon"
|
|
18589
19013
|
}, null, 8, ["name"])
|
|
18590
|
-
], 16, _hoisted_3$
|
|
19014
|
+
], 16, _hoisted_3$c);
|
|
18591
19015
|
}), 128))
|
|
18592
19016
|
])
|
|
18593
19017
|
]);
|
|
@@ -18595,8 +19019,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18595
19019
|
}
|
|
18596
19020
|
});
|
|
18597
19021
|
const _hoisted_1$g = { class: "leading-[16px]" };
|
|
18598
|
-
const _hoisted_2$
|
|
18599
|
-
const _hoisted_3$
|
|
19022
|
+
const _hoisted_2$b = { class: "aside-footer-tools-item-dropdown-item" };
|
|
19023
|
+
const _hoisted_3$b = { class: "aside-footer-tools-item-dropdown-item" };
|
|
18600
19024
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
18601
19025
|
__name: "Settings",
|
|
18602
19026
|
props: {
|
|
@@ -18613,12 +19037,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18613
19037
|
"overlay-class": "footer-tools-setting-dropdown"
|
|
18614
19038
|
}, {
|
|
18615
19039
|
menu: withCtx(() => [
|
|
18616
|
-
withDirectives(createElementVNode("div", _hoisted_2$
|
|
19040
|
+
withDirectives(createElementVNode("div", _hoisted_2$b, [
|
|
18617
19041
|
createVNode(_sfc_main$k)
|
|
18618
19042
|
], 512), [
|
|
18619
19043
|
[vShow, _ctx.showThemeSetting]
|
|
18620
19044
|
]),
|
|
18621
|
-
withDirectives(createElementVNode("div", _hoisted_3$
|
|
19045
|
+
withDirectives(createElementVNode("div", _hoisted_3$b, [
|
|
18622
19046
|
createVNode(_sfc_main$l)
|
|
18623
19047
|
], 512), [
|
|
18624
19048
|
[vShow, _ctx.showLangSetting]
|
|
@@ -18650,6 +19074,7 @@ const FEEDBACK_CENTER_URL = "https://gitcode.com/Gitcode-offical-team/GitCode-Do
|
|
|
18650
19074
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
18651
19075
|
__name: "SubMenuList",
|
|
18652
19076
|
setup(__props) {
|
|
19077
|
+
const layoutConfig2 = useLayoutConfig();
|
|
18653
19078
|
const { t: t2 } = i18n.global;
|
|
18654
19079
|
const isEn = computed(() => {
|
|
18655
19080
|
return getLocaleLang() === LANG_EN;
|
|
@@ -18659,13 +19084,13 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18659
19084
|
{
|
|
18660
19085
|
name: t2("gitCodeLayout.header.helpDocument"),
|
|
18661
19086
|
icon: "gt-line-file",
|
|
18662
|
-
url:
|
|
19087
|
+
url: currentHelpDocsUrl(),
|
|
18663
19088
|
target: "_blank"
|
|
18664
19089
|
},
|
|
18665
19090
|
{
|
|
18666
19091
|
name: t2("gitCodeLayout.home.feedbackCenter"),
|
|
18667
19092
|
icon: "gt-line-Checks",
|
|
18668
|
-
url: FEEDBACK_CENTER_URL,
|
|
19093
|
+
url: replaceHost({ url: FEEDBACK_CENTER_URL, customHost: layoutConfig2.VITE_HOST }),
|
|
18669
19094
|
target: "_self"
|
|
18670
19095
|
}
|
|
18671
19096
|
];
|
|
@@ -18698,6 +19123,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18698
19123
|
const SubMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
18699
19124
|
const createSetting = () => {
|
|
18700
19125
|
const { t: t2 } = i18n.global;
|
|
19126
|
+
const isGitCodeHost2 = typeof window !== "undefined" && window.location.hostname.includes("gitcode");
|
|
18701
19127
|
const settings = {
|
|
18702
19128
|
slogan: t2("gitCodeLayout.home.slogon"),
|
|
18703
19129
|
copyright: {
|
|
@@ -18708,26 +19134,45 @@ const createSetting = () => {
|
|
|
18708
19134
|
phone: "400-6868-951",
|
|
18709
19135
|
serviceTime: "9:00-18:00",
|
|
18710
19136
|
publicSecurity: t2("gitCodeLayout.common.publicSecurity"),
|
|
19137
|
+
publicSecurity_url: "https://beian.mps.gov.cn/#/query/webSearch?code=11010502055713",
|
|
18711
19138
|
aboutUs: t2("gitCodeLayout.common.aboutUs"),
|
|
18712
19139
|
recruitment: t2("gitCodeLayout.common.recruitment"),
|
|
18713
|
-
price: t2("gitCodeLayout.common.prices")
|
|
19140
|
+
price: t2("gitCodeLayout.common.prices"),
|
|
19141
|
+
beian_url: "https://www.zhipin.com/gongsi/job/b1eccc6dba1cc0d41Hd60tW0GVc~.html?ka=company-jobs"
|
|
18714
19142
|
}
|
|
18715
19143
|
};
|
|
19144
|
+
if (!isGitCodeHost2) {
|
|
19145
|
+
settings.slogan = "";
|
|
19146
|
+
settings.copyright = {
|
|
19147
|
+
digest: (/* @__PURE__ */ new Date()).getFullYear() + " " + t2("gitCodeLayout.home.copyright_atomgit.digest"),
|
|
19148
|
+
digestAbbr: (/* @__PURE__ */ new Date()).getFullYear() + " " + t2("gitCodeLayout.home.copyright_atomgit.companyInformation"),
|
|
19149
|
+
icp: t2("gitCodeLayout.home.copyright_atomgit.recordInformation"),
|
|
19150
|
+
beian: "11010502030143",
|
|
19151
|
+
phone: "400-6868-951",
|
|
19152
|
+
serviceTime: "9:00-18:00",
|
|
19153
|
+
publicSecurity: t2("gitCodeLayout.home.copyright_atomgit.publicSecurity"),
|
|
19154
|
+
publicSecurity_url: "",
|
|
19155
|
+
aboutUs: t2("gitCodeLayout.common.aboutUs"),
|
|
19156
|
+
recruitment: t2("gitCodeLayout.common.recruitment"),
|
|
19157
|
+
price: t2("gitCodeLayout.common.prices"),
|
|
19158
|
+
beian_url: "https://www.zhipin.com/gongsi/job/b1eccc6dba1cc0d41Hd60tW0GVc~.html?ka=company-jobs"
|
|
19159
|
+
};
|
|
19160
|
+
}
|
|
18716
19161
|
return settings;
|
|
18717
19162
|
};
|
|
18718
19163
|
const _hoisted_1$f = { class: "aside-footer" };
|
|
18719
|
-
const _hoisted_2$
|
|
18720
|
-
const _hoisted_3$
|
|
18721
|
-
const _hoisted_4$
|
|
19164
|
+
const _hoisted_2$a = { class: "remake-message mt-[16px]" };
|
|
19165
|
+
const _hoisted_3$a = ["title"];
|
|
19166
|
+
const _hoisted_4$8 = { class: "whitespace-nowrap" };
|
|
18722
19167
|
const _hoisted_5$4 = {
|
|
18723
19168
|
href: "https://beian.miit.gov.cn/#/Integrated/index",
|
|
18724
19169
|
target: "_blank"
|
|
18725
19170
|
};
|
|
18726
|
-
const _hoisted_6$3 = {
|
|
18727
|
-
|
|
18728
|
-
|
|
18729
|
-
target: "_blank"
|
|
19171
|
+
const _hoisted_6$3 = {
|
|
19172
|
+
key: 0,
|
|
19173
|
+
class: "whitespace-nowrap public-security"
|
|
18730
19174
|
};
|
|
19175
|
+
const _hoisted_7$2 = ["href"];
|
|
18731
19176
|
const _hoisted_8$2 = {
|
|
18732
19177
|
href: "https://www.huaweicloud.com/",
|
|
18733
19178
|
target: "_blank",
|
|
@@ -18748,18 +19193,21 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18748
19193
|
});
|
|
18749
19194
|
return (_ctx, _cache) => {
|
|
18750
19195
|
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
18751
|
-
createElementVNode("div", _hoisted_2$
|
|
19196
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
18752
19197
|
createElementVNode("p", {
|
|
18753
19198
|
class: "break-all whitespace-normal",
|
|
18754
19199
|
title: unref(copyright).digestAbbr
|
|
18755
|
-
}, " © " + toDisplayString$1(unref(copyright).digestAbbr), 9, _hoisted_3$
|
|
18756
|
-
createElementVNode("p", _hoisted_4$
|
|
19200
|
+
}, " © " + toDisplayString$1(unref(copyright).digestAbbr), 9, _hoisted_3$a),
|
|
19201
|
+
createElementVNode("p", _hoisted_4$8, [
|
|
18757
19202
|
createElementVNode("a", _hoisted_5$4, toDisplayString$1(unref(copyright).icp), 1)
|
|
18758
19203
|
]),
|
|
18759
|
-
|
|
19204
|
+
unref(copyright).publicSecurity_url ? (openBlock(), createElementBlock("p", _hoisted_6$3, [
|
|
18760
19205
|
_cache[0] || (_cache[0] = createElementVNode("img", { src: "//g.csdnimg.cn/common/csdn-footer/images/badge.png" }, null, -1)),
|
|
18761
|
-
createElementVNode("a",
|
|
18762
|
-
|
|
19206
|
+
createElementVNode("a", {
|
|
19207
|
+
href: unref(copyright).publicSecurity_url,
|
|
19208
|
+
target: "_blank"
|
|
19209
|
+
}, toDisplayString$1(unref(copyright).publicSecurity), 9, _hoisted_7$2)
|
|
19210
|
+
])) : createCommentVNode("", true)
|
|
18763
19211
|
]),
|
|
18764
19212
|
createElementVNode("p", {
|
|
18765
19213
|
class: normalizeClass(["whitespace-nowrap mt-[16px] support", { en: isEn.value }])
|
|
@@ -18776,23 +19224,23 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18776
19224
|
createElementVNode("p", _hoisted_9$2, [
|
|
18777
19225
|
createVNode(GLink, {
|
|
18778
19226
|
target: "_blank",
|
|
18779
|
-
href:
|
|
19227
|
+
href: unref(currentHelpDocsAboutUsUrl)()
|
|
18780
19228
|
}, {
|
|
18781
19229
|
default: withCtx(() => [
|
|
18782
19230
|
createTextVNode(toDisplayString$1(unref(copyright).aboutUs), 1)
|
|
18783
19231
|
]),
|
|
18784
19232
|
_: 1
|
|
18785
|
-
}),
|
|
19233
|
+
}, 8, ["href"]),
|
|
18786
19234
|
_cache[3] || (_cache[3] = createTextVNode(" | ")),
|
|
18787
19235
|
createVNode(GLink, {
|
|
18788
19236
|
target: "_blank",
|
|
18789
|
-
href:
|
|
19237
|
+
href: unref(copyright).beian_url
|
|
18790
19238
|
}, {
|
|
18791
19239
|
default: withCtx(() => [
|
|
18792
19240
|
createTextVNode(toDisplayString$1(unref(copyright).recruitment), 1)
|
|
18793
19241
|
]),
|
|
18794
19242
|
_: 1
|
|
18795
|
-
})
|
|
19243
|
+
}, 8, ["href"])
|
|
18796
19244
|
]),
|
|
18797
19245
|
createElementVNode("ul", _hoisted_10$2, [
|
|
18798
19246
|
_cache[4] || (_cache[4] = createElementVNode("li", { class: "flex items-center" }, [
|
|
@@ -18808,12 +19256,12 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18808
19256
|
});
|
|
18809
19257
|
const ContactInfo = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
18810
19258
|
const _hoisted_1$e = { class: "flex-[1] flex flex-col justify-between min-h-0" };
|
|
18811
|
-
const _hoisted_2$
|
|
18812
|
-
const _hoisted_3$
|
|
19259
|
+
const _hoisted_2$9 = { key: 0 };
|
|
19260
|
+
const _hoisted_3$9 = {
|
|
18813
19261
|
key: 1,
|
|
18814
19262
|
class: "aside-menus"
|
|
18815
19263
|
};
|
|
18816
|
-
const _hoisted_4$
|
|
19264
|
+
const _hoisted_4$7 = {
|
|
18817
19265
|
key: 0,
|
|
18818
19266
|
class: "line mt-[16px] mb-[6px]"
|
|
18819
19267
|
};
|
|
@@ -18937,12 +19385,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18937
19385
|
onScroll: handleScroll,
|
|
18938
19386
|
onMouseleave: handleMouseLeave
|
|
18939
19387
|
}, [
|
|
18940
|
-
unref(sideLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
19388
|
+
unref(sideLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
|
|
18941
19389
|
createVNode(unref(Skeleton), {
|
|
18942
19390
|
loading: unref(sideLoading),
|
|
18943
19391
|
row: 4
|
|
18944
19392
|
}, null, 8, ["loading"])
|
|
18945
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
19393
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$9, [
|
|
18946
19394
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayArea.value, (item, index2) => {
|
|
18947
19395
|
return openBlock(), createElementBlock(Fragment, {
|
|
18948
19396
|
key: item.id
|
|
@@ -18963,7 +19411,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18963
19411
|
};
|
|
18964
19412
|
})
|
|
18965
19413
|
]), 1032, ["list", "isLogin", "slotKeys", "sceneValue", "asideSetShowLittle"]),
|
|
18966
|
-
!_ctx.asideSetShowLittle && index2 !== displayArea.value.length - 1 ? (openBlock(), createElementBlock("hr", _hoisted_4$
|
|
19414
|
+
!_ctx.asideSetShowLittle && index2 !== displayArea.value.length - 1 ? (openBlock(), createElementBlock("hr", _hoisted_4$7)) : createCommentVNode("", true)
|
|
18967
19415
|
], 64);
|
|
18968
19416
|
}), 128)),
|
|
18969
19417
|
!_ctx.asideSetShowLittle && isModuleVisible(unref(AsideDisplayItem).LINK) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
@@ -19016,6 +19464,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19016
19464
|
setup(__props) {
|
|
19017
19465
|
const route = useRoute();
|
|
19018
19466
|
const layoutConfig2 = useLayoutConfig();
|
|
19467
|
+
const { headerHeight: headerHeight2 } = useHeaderHeight();
|
|
19019
19468
|
const props = __props;
|
|
19020
19469
|
const { useReport: useReport2 } = useRequestReport(props.request, props.globalStore);
|
|
19021
19470
|
provide(
|
|
@@ -19032,6 +19481,17 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19032
19481
|
if (route.meta.showBgColor) return true;
|
|
19033
19482
|
return false;
|
|
19034
19483
|
});
|
|
19484
|
+
const logoConfig = getCurrentLogoMap();
|
|
19485
|
+
const logoStyle = computed(() => {
|
|
19486
|
+
const isBlackTheme = currentTheme.value === "black";
|
|
19487
|
+
const logoUrl = isBlackTheme ? logoConfig.siteLogoWhite : logoConfig.siteLogoDark;
|
|
19488
|
+
return {
|
|
19489
|
+
backgroundImage: `url(${logoUrl})`,
|
|
19490
|
+
backgroundRepeat: "no-repeat",
|
|
19491
|
+
backgroundPosition: "0 center",
|
|
19492
|
+
backgroundSize: "contain"
|
|
19493
|
+
};
|
|
19494
|
+
});
|
|
19035
19495
|
const sizeStore = usePageResize();
|
|
19036
19496
|
const asideSetShow = computed(() => {
|
|
19037
19497
|
return (props.sceneValue === SceneValue.home && !sizeStore.isMobile.value || props.collapseMode) && !props.disableFlatMode;
|
|
@@ -19041,7 +19501,6 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19041
19501
|
const isHome = computed(() => {
|
|
19042
19502
|
return props.sceneValue === SceneValue.home && ["home", "issues", "kanban", "discussionCreated", "merge", "dashboard"].includes(route.name);
|
|
19043
19503
|
});
|
|
19044
|
-
usePageResize();
|
|
19045
19504
|
const asideSize = computed(() => {
|
|
19046
19505
|
if (props.collapseMode) {
|
|
19047
19506
|
return ASIDE_MENU_MODE.collapse;
|
|
@@ -19110,8 +19569,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19110
19569
|
return (_ctx, _cache) => {
|
|
19111
19570
|
return asideSetShow.value ? (openBlock(), createBlock(ConfigAideContent, {
|
|
19112
19571
|
key: 0,
|
|
19113
|
-
class: normalizeClass(["left-side-bar", { oldWhite: asideSetShowLittleMode.value }]),
|
|
19114
|
-
style: normalizeStyle({ width: mainMarginLeftWidth.value + "px" }),
|
|
19572
|
+
class: normalizeClass(["left-side-bar", { oldWhite: asideSetShowLittleMode.value, higherZIndex: unref(SITE_STATUS).DISABLE }]),
|
|
19573
|
+
style: normalizeStyle({ width: mainMarginLeftWidth.value + "px", top: unref(headerHeight2) + "px" }),
|
|
19115
19574
|
sceneValue: _ctx.sceneValue,
|
|
19116
19575
|
asideDefaultWidth: mainMarginLeftWidth.value,
|
|
19117
19576
|
asideSetShowLittle: asideSetShowLittleMode.value,
|
|
@@ -19144,10 +19603,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19144
19603
|
default: withCtx(() => [
|
|
19145
19604
|
createElementVNode("div", _hoisted_1$d, [
|
|
19146
19605
|
createVNode(GLink, {
|
|
19147
|
-
class:
|
|
19606
|
+
class: "g-toolbar-left-logo",
|
|
19607
|
+
style: normalizeStyle(logoStyle.value),
|
|
19148
19608
|
to: _ctx.independence ? "" : { name: "home" },
|
|
19149
|
-
href: _ctx.independence ? unref(layoutConfig2).VITE_HOST : ""
|
|
19150
|
-
}, null, 8, ["
|
|
19609
|
+
href: _ctx.independence ? unref(transformUrl)(unref(layoutConfig2).VITE_HOST) : ""
|
|
19610
|
+
}, null, 8, ["style", "to", "href"]),
|
|
19151
19611
|
createVNode(unref(Button), {
|
|
19152
19612
|
class: "cursor-pointer draw-side-bar-close",
|
|
19153
19613
|
icon: "close",
|
|
@@ -19679,9 +20139,9 @@ const headerCustomPropsData = {
|
|
|
19679
20139
|
}
|
|
19680
20140
|
};
|
|
19681
20141
|
const _hoisted_1$c = { class: "home-wrapper" };
|
|
19682
|
-
const _hoisted_2$
|
|
19683
|
-
const _hoisted_3$
|
|
19684
|
-
const _hoisted_4$
|
|
20142
|
+
const _hoisted_2$8 = { class: "home-content" };
|
|
20143
|
+
const _hoisted_3$8 = { class: "home-left-side" };
|
|
20144
|
+
const _hoisted_4$6 = { class: "home-main" };
|
|
19685
20145
|
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
19686
20146
|
__name: "home",
|
|
19687
20147
|
setup(__props) {
|
|
@@ -19771,8 +20231,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
19771
20231
|
onFollowDevCommunity: followDevCommunity,
|
|
19772
20232
|
onFollowUser: followUser
|
|
19773
20233
|
}, null, 8, ["sceneValue", "independence", "isLogin", "request", "globalStore", "userInfo", "repoInfo", "orgInfo", "otherUserInfo", "headerCustomProps"]),
|
|
19774
|
-
createElementVNode("div", _hoisted_2$
|
|
19775
|
-
createElementVNode("div", _hoisted_3$
|
|
20234
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
20235
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
19776
20236
|
createVNode(GitCodeAside, {
|
|
19777
20237
|
sceneValue: sceneSelected.value,
|
|
19778
20238
|
userInfo: userInfo.value,
|
|
@@ -19781,7 +20241,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
19781
20241
|
globalStore: globalStore.value,
|
|
19782
20242
|
independence: independence.value,
|
|
19783
20243
|
slotKeys: ["home", "issues"],
|
|
19784
|
-
collapseMode: sceneSelected.value == unref(SceneValue).repo
|
|
20244
|
+
collapseMode: sceneSelected.value == unref(SceneValue).repo,
|
|
20245
|
+
showLangSetting: "",
|
|
20246
|
+
showThemeSetting: ""
|
|
19785
20247
|
}, {
|
|
19786
20248
|
home: withCtx(() => _cache[2] || (_cache[2] = [
|
|
19787
20249
|
createElementVNode("div", null, "首页hover-插槽", -1)
|
|
@@ -19792,7 +20254,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
19792
20254
|
_: 1
|
|
19793
20255
|
}, 8, ["sceneValue", "userInfo", "isLogin", "request", "globalStore", "independence", "collapseMode"])
|
|
19794
20256
|
]),
|
|
19795
|
-
createElementVNode("div", _hoisted_4$
|
|
20257
|
+
createElementVNode("div", _hoisted_4$6, [
|
|
19796
20258
|
_cache[6] || (_cache[6] = createElementVNode("h1", null, "控制 Header 值传入", -1)),
|
|
19797
20259
|
_cache[7] || (_cache[7] = createElementVNode("h2", null, "场景值 SceneValue", -1)),
|
|
19798
20260
|
createVNode(unref(RadioGroup), {
|
|
@@ -19830,7 +20292,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
19830
20292
|
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
19831
20293
|
createTextVNode("是")
|
|
19832
20294
|
])),
|
|
19833
|
-
_: 1
|
|
20295
|
+
_: 1,
|
|
20296
|
+
__: [4]
|
|
19834
20297
|
})),
|
|
19835
20298
|
(openBlock(), createBlock(unref(Radio), {
|
|
19836
20299
|
key: "否",
|
|
@@ -19839,7 +20302,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
19839
20302
|
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
19840
20303
|
createTextVNode("否")
|
|
19841
20304
|
])),
|
|
19842
|
-
_: 1
|
|
20305
|
+
_: 1,
|
|
20306
|
+
__: [5]
|
|
19843
20307
|
}))
|
|
19844
20308
|
]),
|
|
19845
20309
|
_: 1
|
|
@@ -20290,9 +20754,13 @@ async function checkUserRepositoryIssue(API, isRegister = false) {
|
|
|
20290
20754
|
async function successResolve(params, API, isRegister = false) {
|
|
20291
20755
|
var _a;
|
|
20292
20756
|
const { path, userInfo, type, loginMethod } = params;
|
|
20757
|
+
const transformUserInfo = {
|
|
20758
|
+
...userInfo,
|
|
20759
|
+
avatar: transformUrl(userInfo == null ? void 0 : userInfo.avatar)
|
|
20760
|
+
};
|
|
20293
20761
|
if (userInfo) {
|
|
20294
|
-
emitEvent("updateUserInfo",
|
|
20295
|
-
const { username, email } =
|
|
20762
|
+
emitEvent("updateUserInfo", transformUserInfo);
|
|
20763
|
+
const { username, email } = transformUserInfo;
|
|
20296
20764
|
setEmailValid(username, email);
|
|
20297
20765
|
}
|
|
20298
20766
|
saveLastLoginType(loginMethod);
|
|
@@ -20673,9 +21141,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
20673
21141
|
}
|
|
20674
21142
|
});
|
|
20675
21143
|
const _hoisted_1$9 = { class: "flex flex-1 g-input-select" };
|
|
20676
|
-
const _hoisted_2$
|
|
20677
|
-
const _hoisted_3$
|
|
20678
|
-
const _hoisted_4$
|
|
21144
|
+
const _hoisted_2$7 = { class: "login-phone" };
|
|
21145
|
+
const _hoisted_3$7 = { class: "flex justify-between gap-[8px] flex-wrap" };
|
|
21146
|
+
const _hoisted_4$5 = { class: "flex items-center justify-between" };
|
|
20679
21147
|
const _hoisted_5$3 = { class: "flex justify-between gap-[8px] flex-wrap" };
|
|
20680
21148
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
20681
21149
|
__name: "inputSelect",
|
|
@@ -20751,7 +21219,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
20751
21219
|
});
|
|
20752
21220
|
return (_ctx, _cache) => {
|
|
20753
21221
|
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
20754
|
-
createElementVNode("div", _hoisted_2$
|
|
21222
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
20755
21223
|
(props == null ? void 0 : props.editableSelect) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
20756
21224
|
createVNode(unref(Select), {
|
|
20757
21225
|
class: "login-country-select",
|
|
@@ -20768,7 +21236,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
20768
21236
|
value: item.value
|
|
20769
21237
|
}, {
|
|
20770
21238
|
default: withCtx(() => [
|
|
20771
|
-
createElementVNode("div", _hoisted_3$
|
|
21239
|
+
createElementVNode("div", _hoisted_3$7, [
|
|
20772
21240
|
createElementVNode("span", null, toDisplayString$1(item.name), 1),
|
|
20773
21241
|
createElementVNode("span", null, toDisplayString$1(item.label), 1)
|
|
20774
21242
|
])
|
|
@@ -20792,7 +21260,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
20792
21260
|
class: "login-phone-select"
|
|
20793
21261
|
}), {
|
|
20794
21262
|
item: withCtx((slotProps) => [
|
|
20795
|
-
createElementVNode("div", _hoisted_4$
|
|
21263
|
+
createElementVNode("div", _hoisted_4$5, [
|
|
20796
21264
|
createElementVNode("div", null, toDisplayString$1(slotProps.option.label), 1),
|
|
20797
21265
|
createVNode(GIcon, {
|
|
20798
21266
|
name: "gt-line-delete",
|
|
@@ -21089,9 +21557,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
21089
21557
|
modelValue: Data[formItem.key],
|
|
21090
21558
|
"onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
|
|
21091
21559
|
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: formItem.label }),
|
|
21092
|
-
onChange: () => handleChange(formItem.key)
|
|
21093
|
-
|
|
21094
|
-
}, formItem.props, {
|
|
21560
|
+
onChange: () => handleChange(formItem.key)
|
|
21561
|
+
}, { ref_for: true }, formItem.props, {
|
|
21095
21562
|
autocomplete: autocompleteCalc((_a = formItem.props) == null ? void 0 : _a.autocomplete),
|
|
21096
21563
|
autofocus: formItem.key === "username",
|
|
21097
21564
|
spellcheck: false
|
|
@@ -21102,9 +21569,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
21102
21569
|
onChange: ($event) => handleChange(formItem.key),
|
|
21103
21570
|
onClick: ($event) => handleOperate(formItem),
|
|
21104
21571
|
"onUpdate:countdown": ($event) => updateCountdown(formItem),
|
|
21105
|
-
placeholder: formItem.label
|
|
21106
|
-
|
|
21107
|
-
}, formItem.props, {
|
|
21572
|
+
placeholder: formItem.label
|
|
21573
|
+
}, { ref_for: true }, formItem.props, {
|
|
21108
21574
|
hasMobile: !!Data[(_b = formItem.props) == null ? void 0 : _b.aliasKey],
|
|
21109
21575
|
text: unref($t)("gitCodeLayout.userSetting.account.getVerificationCode"),
|
|
21110
21576
|
error: _ctx.errors.msgError,
|
|
@@ -21117,9 +21583,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
21117
21583
|
"onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
|
|
21118
21584
|
onSelectChange: _cache[0] || (_cache[0] = (evt) => handleSelectChange("country", evt)),
|
|
21119
21585
|
onChange: ($event) => handleChange(formItem.key),
|
|
21120
|
-
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: formItem.label })
|
|
21121
|
-
|
|
21122
|
-
}, formItem.props, {
|
|
21586
|
+
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: formItem.label })
|
|
21587
|
+
}, { ref_for: true }, formItem.props, {
|
|
21123
21588
|
editableSelect: formItem.editableSelect
|
|
21124
21589
|
}), null, 16, ["country", "class", "modelValue", "onUpdate:modelValue", "onChange", "placeholder", "editableSelect"])) : (openBlock(), createBlock(resolveDynamicComponent(formItem.render), mergeProps({
|
|
21125
21590
|
key: formItem.key,
|
|
@@ -21127,9 +21592,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
21127
21592
|
"onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
|
|
21128
21593
|
onChange: ($event) => handleChange(formItem.key),
|
|
21129
21594
|
onClick: handleClick,
|
|
21130
|
-
placeholder: formItem.label
|
|
21131
|
-
|
|
21132
|
-
}, formItem.props), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "placeholder"]))
|
|
21595
|
+
placeholder: formItem.label
|
|
21596
|
+
}, { ref_for: true }, formItem.props), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "placeholder"]))
|
|
21133
21597
|
];
|
|
21134
21598
|
}),
|
|
21135
21599
|
_: 2
|
|
@@ -21145,9 +21609,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
21145
21609
|
});
|
|
21146
21610
|
const recentLoginImg = "data:image/png;base64,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";
|
|
21147
21611
|
const _hoisted_1$8 = { class: "auth-container" };
|
|
21148
|
-
const _hoisted_2$
|
|
21149
|
-
const _hoisted_3$
|
|
21150
|
-
const _hoisted_4$
|
|
21612
|
+
const _hoisted_2$6 = { class: "tips text-[var(--devui-disabled-text)]" };
|
|
21613
|
+
const _hoisted_3$6 = { class: "icons" };
|
|
21614
|
+
const _hoisted_4$4 = ["src", "alt", "onClick"];
|
|
21151
21615
|
const _hoisted_5$2 = { class: "w-[50px] h-[20px] recent-login-img" };
|
|
21152
21616
|
const _hoisted_6$2 = ["src"];
|
|
21153
21617
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
@@ -21172,8 +21636,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
21172
21636
|
};
|
|
21173
21637
|
return (_ctx, _cache) => {
|
|
21174
21638
|
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
21175
|
-
createElementVNode("div", _hoisted_2$
|
|
21176
|
-
createElementVNode("div", _hoisted_3$
|
|
21639
|
+
createElementVNode("div", _hoisted_2$6, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.subtitle.otherLogin")), 1),
|
|
21640
|
+
createElementVNode("div", _hoisted_3$6, [
|
|
21177
21641
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.logos, (icon) => {
|
|
21178
21642
|
return openBlock(), createElementBlock("div", {
|
|
21179
21643
|
key: icon.alt,
|
|
@@ -21190,7 +21654,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
21190
21654
|
src: icon.src,
|
|
21191
21655
|
alt: icon.alt,
|
|
21192
21656
|
onClick: withModifiers(($event) => handleClick(icon), ["stop"])
|
|
21193
|
-
}, null, 8, _hoisted_4$
|
|
21657
|
+
}, null, 8, _hoisted_4$4)
|
|
21194
21658
|
]),
|
|
21195
21659
|
_: 2
|
|
21196
21660
|
}, 1032, ["content", "disabled"]),
|
|
@@ -21209,91 +21673,131 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
21209
21673
|
}
|
|
21210
21674
|
});
|
|
21211
21675
|
const GAuth = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
21212
|
-
const _hoisted_1$7 = { class: "
|
|
21213
|
-
const _hoisted_2$
|
|
21676
|
+
const _hoisted_1$7 = { class: "flex-col items-center" };
|
|
21677
|
+
const _hoisted_2$5 = { class: "text-[var(--theme-placeholder)]" };
|
|
21678
|
+
const _hoisted_3$5 = { class: "text-[var(--theme-placeholder)]" };
|
|
21679
|
+
const _hoisted_4$3 = { class: "text-[var(--theme-placeholder)]" };
|
|
21214
21680
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
21215
21681
|
__name: "agreement",
|
|
21216
21682
|
props: {
|
|
21217
21683
|
modelValue: { type: Boolean },
|
|
21218
|
-
|
|
21684
|
+
dataShareChecked: { type: Boolean }
|
|
21219
21685
|
},
|
|
21220
|
-
emits: ["update:modelValue", "
|
|
21686
|
+
emits: ["declares", "update:modelValue", "update:dataShareChecked"],
|
|
21221
21687
|
setup(__props, { emit: __emit }) {
|
|
21222
21688
|
const { t: $t } = i18n.global;
|
|
21223
|
-
const props = __props;
|
|
21224
21689
|
const emits = __emit;
|
|
21225
|
-
const { vModels } = useModel(props, emits);
|
|
21226
21690
|
const handleClick = (type) => {
|
|
21227
21691
|
emits("declares", type);
|
|
21228
21692
|
};
|
|
21693
|
+
const dataShareName = computed(() => {
|
|
21694
|
+
var _a, _b;
|
|
21695
|
+
if ((_b = (_a = window == null ? void 0 : window.location) == null ? void 0 : _a.host) == null ? void 0 : _b.includes("gitcode")) {
|
|
21696
|
+
return $t("gitCodeLayout.LoginModal.link.dataShare", { name: "AtomGit" });
|
|
21697
|
+
} else {
|
|
21698
|
+
return $t("gitCodeLayout.LoginModal.link.dataShare", { name: "GitCode" });
|
|
21699
|
+
}
|
|
21700
|
+
});
|
|
21229
21701
|
return (_ctx, _cache) => {
|
|
21230
|
-
return openBlock(),
|
|
21231
|
-
|
|
21232
|
-
|
|
21233
|
-
|
|
21234
|
-
|
|
21235
|
-
|
|
21236
|
-
|
|
21237
|
-
|
|
21238
|
-
|
|
21239
|
-
|
|
21240
|
-
|
|
21241
|
-
|
|
21242
|
-
|
|
21243
|
-
|
|
21244
|
-
|
|
21245
|
-
|
|
21246
|
-
|
|
21247
|
-
|
|
21248
|
-
|
|
21702
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
21703
|
+
createVNode(unref(Checkbox), {
|
|
21704
|
+
"model-value": _ctx.modelValue,
|
|
21705
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:modelValue", val)),
|
|
21706
|
+
size: "sm"
|
|
21707
|
+
}, {
|
|
21708
|
+
default: withCtx(() => [
|
|
21709
|
+
createElementVNode("span", _hoisted_2$5, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.agree")), 1),
|
|
21710
|
+
createElementVNode("span", {
|
|
21711
|
+
class: "text-[var(--theme-link)] cursor-pointer mx-[1px]",
|
|
21712
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleClick("agreement"), ["stop"]))
|
|
21713
|
+
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.link.agreement")), 1),
|
|
21714
|
+
createElementVNode("span", _hoisted_3$5, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.and")), 1),
|
|
21715
|
+
createElementVNode("span", {
|
|
21716
|
+
class: "text-[var(--theme-link)] cursor-pointer mx-[1px]",
|
|
21717
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleClick("privacy"), ["stop"]))
|
|
21718
|
+
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.link.privacyPolicy")), 1)
|
|
21719
|
+
]),
|
|
21720
|
+
_: 1
|
|
21721
|
+
}, 8, ["model-value"]),
|
|
21722
|
+
createVNode(unref(Checkbox), {
|
|
21723
|
+
"model-value": _ctx.dataShareChecked,
|
|
21724
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = (val) => emits("update:dataShareChecked", val)),
|
|
21725
|
+
size: "sm"
|
|
21726
|
+
}, {
|
|
21727
|
+
default: withCtx(() => [
|
|
21728
|
+
createElementVNode("span", _hoisted_4$3, toDisplayString$1(dataShareName.value), 1)
|
|
21729
|
+
]),
|
|
21730
|
+
_: 1
|
|
21731
|
+
}, 8, ["model-value"])
|
|
21732
|
+
]);
|
|
21249
21733
|
};
|
|
21250
21734
|
}
|
|
21251
21735
|
});
|
|
21252
21736
|
const _hoisted_1$6 = { class: "text-[var(--devui-aide-text)] text-[12px]" };
|
|
21737
|
+
const _hoisted_2$4 = { class: "text-[var(--devui-aide-text)]" };
|
|
21738
|
+
const _hoisted_3$4 = { class: "text-[var(--devui-aide-text)] text-[12px]" };
|
|
21253
21739
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
21254
21740
|
__name: "agreements",
|
|
21255
21741
|
props: {
|
|
21256
21742
|
modelValue: { type: Boolean },
|
|
21257
|
-
|
|
21258
|
-
privacyText: {},
|
|
21259
|
-
"onUpdate:modelValue": { type: Function }
|
|
21743
|
+
dataShareChecked: { type: Boolean }
|
|
21260
21744
|
},
|
|
21261
|
-
emits: ["update:modelValue", "
|
|
21745
|
+
emits: ["declares", "update:modelValue", "update:dataShareChecked"],
|
|
21262
21746
|
setup(__props, { emit: __emit }) {
|
|
21263
21747
|
const { t: $t } = i18n.global;
|
|
21264
|
-
const props = __props;
|
|
21265
21748
|
const emits = __emit;
|
|
21266
|
-
const { vModels } = useModel(props, emits);
|
|
21267
21749
|
const handleClick = (type) => {
|
|
21268
21750
|
emits("declares", type);
|
|
21269
21751
|
};
|
|
21752
|
+
const dataShareName = computed(() => {
|
|
21753
|
+
var _a, _b;
|
|
21754
|
+
if ((_b = (_a = window == null ? void 0 : window.location) == null ? void 0 : _a.host) == null ? void 0 : _b.includes("gitcode")) {
|
|
21755
|
+
return $t("gitCodeLayout.LoginModal.link.dataShare", { name: "AtomGit" });
|
|
21756
|
+
} else {
|
|
21757
|
+
return $t("gitCodeLayout.LoginModal.link.dataShare", { name: "GitCode" });
|
|
21758
|
+
}
|
|
21759
|
+
});
|
|
21270
21760
|
return (_ctx, _cache) => {
|
|
21271
|
-
return openBlock(),
|
|
21272
|
-
|
|
21273
|
-
|
|
21274
|
-
|
|
21275
|
-
|
|
21276
|
-
|
|
21277
|
-
|
|
21278
|
-
|
|
21279
|
-
|
|
21280
|
-
|
|
21281
|
-
|
|
21282
|
-
|
|
21283
|
-
|
|
21284
|
-
|
|
21285
|
-
|
|
21286
|
-
|
|
21287
|
-
|
|
21288
|
-
|
|
21289
|
-
|
|
21290
|
-
|
|
21761
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
21762
|
+
createVNode(unref(Checkbox), {
|
|
21763
|
+
"model-value": _ctx.modelValue,
|
|
21764
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:modelValue", val)),
|
|
21765
|
+
size: "sm",
|
|
21766
|
+
class: "mt-[6px] agree-module flex items-center"
|
|
21767
|
+
}, {
|
|
21768
|
+
default: withCtx(() => [
|
|
21769
|
+
createElementVNode("span", _hoisted_1$6, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.readAgree")), 1),
|
|
21770
|
+
createElementVNode("a", {
|
|
21771
|
+
class: "text-[var(--devui-link)] cursor-pointer mx-[1px] text-[12px]",
|
|
21772
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleClick("agreement"), ["stop"]))
|
|
21773
|
+
}, toDisplayString$1("《" + unref($t)("gitCodeLayout.LoginModal.link.agreement") + "》"), 1),
|
|
21774
|
+
createElementVNode("span", _hoisted_2$4, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.and")), 1),
|
|
21775
|
+
createElementVNode("a", {
|
|
21776
|
+
class: "text-[var(--devui-link)] cursor-pointer mx-[1px] text-[12px]",
|
|
21777
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleClick("privacy"), ["stop"]))
|
|
21778
|
+
}, toDisplayString$1("《" + unref($t)("gitCodeLayout.LoginModal.link.privacyPolicy") + "》"), 1),
|
|
21779
|
+
renderSlot(_ctx.$slots, "default")
|
|
21780
|
+
]),
|
|
21781
|
+
_: 3
|
|
21782
|
+
}, 8, ["model-value"]),
|
|
21783
|
+
createVNode(unref(Checkbox), {
|
|
21784
|
+
"model-value": _ctx.dataShareChecked,
|
|
21785
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = (val) => emits("update:dataShareChecked", val)),
|
|
21786
|
+
size: "sm",
|
|
21787
|
+
class: "mb-[12px]"
|
|
21788
|
+
}, {
|
|
21789
|
+
default: withCtx(() => [
|
|
21790
|
+
createElementVNode("span", _hoisted_3$4, toDisplayString$1(dataShareName.value), 1)
|
|
21791
|
+
]),
|
|
21792
|
+
_: 1
|
|
21793
|
+
}, 8, ["model-value"])
|
|
21794
|
+
], 64);
|
|
21291
21795
|
};
|
|
21292
21796
|
}
|
|
21293
21797
|
});
|
|
21294
21798
|
const _hoisted_1$5 = { class: "text-center text-[18px] leading-[26px] font-bold mb-[24px] flex items-center justify-center relative" };
|
|
21295
21799
|
const _hoisted_2$3 = { class: "back-img absolute mr-[24px] left-0" };
|
|
21296
|
-
const _hoisted_3$
|
|
21800
|
+
const _hoisted_3$3 = ["src"];
|
|
21297
21801
|
const _hoisted_4$2 = {
|
|
21298
21802
|
key: 0,
|
|
21299
21803
|
class: "tracking-[.5px]"
|
|
@@ -21320,7 +21824,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
21320
21824
|
src: _ctx.icon,
|
|
21321
21825
|
class: "w-[24px] cursor-pointer",
|
|
21322
21826
|
onClick: withModifiers(handleClick, ["stop"])
|
|
21323
|
-
}, null, 8, _hoisted_3$
|
|
21827
|
+
}, null, 8, _hoisted_3$3)) : createCommentVNode("", true)
|
|
21324
21828
|
]),
|
|
21325
21829
|
_ctx.showTitle ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString$1(_ctx.title), 1)) : createCommentVNode("", true)
|
|
21326
21830
|
]);
|
|
@@ -21356,7 +21860,7 @@ const verifyCodeRegExp4 = /^\d{4}$/;
|
|
|
21356
21860
|
const verifyCodeRegExp6 = /^\d{6}$/;
|
|
21357
21861
|
const mobileRegExp = /^1[3-9]\d{9}$/;
|
|
21358
21862
|
const usernameRegExp = /^(?!-)[a-zA-Z][a-zA-Z0-9_-]{1,49}$/;
|
|
21359
|
-
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}"]]] } };
|
|
21863
|
+
const metadata = { "version": 4, "country_calling_codes": { "1": ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], "7": ["RU", "KZ"], "20": ["EG"], "27": ["ZA"], "30": ["GR"], "31": ["NL"], "32": ["BE"], "33": ["FR"], "34": ["ES"], "36": ["HU"], "39": ["IT", "VA"], "40": ["RO"], "41": ["CH"], "43": ["AT"], "44": ["GB", "GG", "IM", "JE"], "45": ["DK"], "46": ["SE"], "47": ["NO", "SJ"], "48": ["PL"], "49": ["DE"], "51": ["PE"], "52": ["MX"], "53": ["CU"], "54": ["AR"], "55": ["BR"], "56": ["CL"], "57": ["CO"], "58": ["VE"], "60": ["MY"], "61": ["AU", "CC", "CX"], "62": ["ID"], "63": ["PH"], "64": ["NZ"], "65": ["SG"], "66": ["TH"], "81": ["JP"], "82": ["KR"], "84": ["VN"], "86": ["CN"], "90": ["TR"], "91": ["IN"], "92": ["PK"], "93": ["AF"], "94": ["LK"], "95": ["MM"], "98": ["IR"], "211": ["SS"], "212": ["MA", "EH"], "213": ["DZ"], "216": ["TN"], "218": ["LY"], "220": ["GM"], "221": ["SN"], "222": ["MR"], "223": ["ML"], "224": ["GN"], "225": ["CI"], "226": ["BF"], "227": ["NE"], "228": ["TG"], "229": ["BJ"], "230": ["MU"], "231": ["LR"], "232": ["SL"], "233": ["GH"], "234": ["NG"], "235": ["TD"], "236": ["CF"], "237": ["CM"], "238": ["CV"], "239": ["ST"], "240": ["GQ"], "241": ["GA"], "242": ["CG"], "243": ["CD"], "244": ["AO"], "245": ["GW"], "246": ["IO"], "247": ["AC"], "248": ["SC"], "249": ["SD"], "250": ["RW"], "251": ["ET"], "252": ["SO"], "253": ["DJ"], "254": ["KE"], "255": ["TZ"], "256": ["UG"], "257": ["BI"], "258": ["MZ"], "260": ["ZM"], "261": ["MG"], "262": ["RE", "YT"], "263": ["ZW"], "264": ["NA"], "265": ["MW"], "266": ["LS"], "267": ["BW"], "268": ["SZ"], "269": ["KM"], "290": ["SH", "TA"], "291": ["ER"], "297": ["AW"], "298": ["FO"], "299": ["GL"], "350": ["GI"], "351": ["PT"], "352": ["LU"], "353": ["IE"], "354": ["IS"], "355": ["AL"], "356": ["MT"], "357": ["CY"], "358": ["FI", "AX"], "359": ["BG"], "370": ["LT"], "371": ["LV"], "372": ["EE"], "373": ["MD"], "374": ["AM"], "375": ["BY"], "376": ["AD"], "377": ["MC"], "378": ["SM"], "380": ["UA"], "381": ["RS"], "382": ["ME"], "383": ["XK"], "385": ["HR"], "386": ["SI"], "387": ["BA"], "389": ["MK"], "420": ["CZ"], "421": ["SK"], "423": ["LI"], "500": ["FK"], "501": ["BZ"], "502": ["GT"], "503": ["SV"], "504": ["HN"], "505": ["NI"], "506": ["CR"], "507": ["PA"], "508": ["PM"], "509": ["HT"], "590": ["GP", "BL", "MF"], "591": ["BO"], "592": ["GY"], "593": ["EC"], "594": ["GF"], "595": ["PY"], "596": ["MQ"], "597": ["SR"], "598": ["UY"], "599": ["CW", "BQ"], "670": ["TL"], "672": ["NF"], "673": ["BN"], "674": ["NR"], "675": ["PG"], "676": ["TO"], "677": ["SB"], "678": ["VU"], "679": ["FJ"], "680": ["PW"], "681": ["WF"], "682": ["CK"], "683": ["NU"], "685": ["WS"], "686": ["KI"], "687": ["NC"], "688": ["TV"], "689": ["PF"], "690": ["TK"], "691": ["FM"], "692": ["MH"], "850": ["KP"], "852": ["HK"], "853": ["MO"], "855": ["KH"], "856": ["LA"], "880": ["BD"], "886": ["TW"], "960": ["MV"], "961": ["LB"], "962": ["JO"], "963": ["SY"], "964": ["IQ"], "965": ["KW"], "966": ["SA"], "967": ["YE"], "968": ["OM"], "970": ["PS"], "971": ["AE"], "972": ["IL"], "973": ["BH"], "974": ["QA"], "975": ["BT"], "976": ["MN"], "977": ["NP"], "992": ["TJ"], "993": ["TM"], "994": ["AZ"], "995": ["GE"], "996": ["KG"], "998": ["UZ"] }, "countries": { "AC": ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], "AD": ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], "AE": ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], "AF": ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], "AG": ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], "AI": ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], "AL": ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], "AM": ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], "AO": ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], "AR": ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], "AS": ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], "AT": ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]", "(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], "AU": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "AW": ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], "AX": ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], "AZ": ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], "BA": ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], "BB": ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], "BD": ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], "BE": ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], "BF": ["226", "00", "[025-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-7]"]]]], "BG": ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], "BH": ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], "BI": ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], "BJ": ["229", "00", "(?:01\\d|[24-689])\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], "BL": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "BM": ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], "BN": ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], "BO": ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], "BQ": ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], "BR": ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37|86)", "300|4(?:0(?:0|20)|370|864)"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], "BS": ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], "BT": ["975", "00", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]]], "BW": ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], "BY": ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], "BZ": ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], "CA": ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], "CC": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "CD": ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], "CF": ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], "CG": ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], "CH": ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], "CI": ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], "CK": ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], "CL": ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9[2-9]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], "CM": ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], "CN": ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], "CO": ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|91"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], "CR": ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], "CU": ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], "CV": ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], "CW": ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], "CX": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "CY": ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], "CZ": ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], "DE": ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|31)"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], "DJ": ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], "DK": ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], "DM": ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], "DO": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], "DZ": ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], "EC": ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], "EE": ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], "EG": ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], "EH": ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], "ER": ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], "ES": ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], "ET": ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], "FI": ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], "FJ": ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "FK": ["500", "00", "[2-7]\\d{4}", [5]], "FM": ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], "FO": ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], "FR": ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], "GA": ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], "GB": ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], "GD": ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], "GE": ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], "GF": ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], "GG": ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], "GH": ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], "GI": ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], "GL": ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], "GM": ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "GN": ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], "GP": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "GQ": ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], "GR": ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], "GT": ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], "GU": ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], "GW": ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], "GY": ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "HK": ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "HN": ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], "HR": ["385", "00", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], "HT": ["509", "00", "(?:[2-489]\\d|55)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], "HU": ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], "ID": ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], "IE": ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "IL": ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], "IM": ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0", "1624$1", 0, "74576|(?:16|7[56])24"], "IN": ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], "IO": ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], "IQ": ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], "IR": ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], "IS": ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "IT": ["39", "00", "0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, [["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}", [6, 7, 8, 9, 10, 11]], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], "JE": ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], "JM": ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], "JO": ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], "JP": ["81", "010", "00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["[36]|4(?:2[09]|7[01])", "[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[257-9]"], "0$1"]], "0", 0, "(000[259]\\d{6})$|(?:(?:003768)0?)|0", "$1"], "KE": ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], "KG": ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "KH": ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "KI": ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], "KM": ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], "KN": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], "KP": ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], "KR": ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], "KW": ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], "KY": ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], "KZ": ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33|7", 0, "8~10"], "LA": ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["3"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], "LB": ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], "LC": ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], "LI": ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], "LK": ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], "LR": ["231", "00", "(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], "LS": ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], "LT": ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], "LU": ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], "LV": ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], "LY": ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], "MA": ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-7]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], "MC": ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], "MD": ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], "ME": ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], "MF": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "MG": ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], "MH": ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], "MK": ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], "ML": ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], "MM": ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], "MN": ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], "MO": ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], "MP": ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], "MQ": ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "MR": ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], "MS": ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], "MT": ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], "MU": ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], "MV": ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "MW": ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], "MX": ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "MY": ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], "MZ": ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], "NA": ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], "NC": ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], "NE": ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], "NF": ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], "NG": ["234", "009", "(?:20|9\\d)\\d{8}|[78]\\d{9,13}", [10, 11, 12, 13, 14], [["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], "NI": ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], "NL": ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], "NO": ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], "NP": ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], "NR": ["674", "00", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]]], "NU": ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], "NZ": ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], "OM": ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], "PA": ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], "PE": ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], "PF": ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], "PG": ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "PH": ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], "PK": ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], "PL": ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], "PM": ["508", "00", "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "PR": ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], "PS": ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "PT": ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], "PW": ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "PY": ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], "QA": ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[136]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], "RE": ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], "RO": ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], "RS": ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], "RU": ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, "3[04-689]|[489]", 0, "8~10"], "RW": ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], "SA": ["966", "00", "92\\d{7}|(?:[15]|8\\d)\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["81"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], "SB": ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], "SC": ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "SD": ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], "SE": ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], "SG": ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], "SH": ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], "SI": ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], "SJ": ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], "SK": ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], "SL": ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], "SM": ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], "SN": ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], "SO": ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], "0"], "SR": ["597", "00", "(?:[2-5]|68|[78]\\d|90)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]]], "SS": ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], "ST": ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], "SV": ["503", "00", "[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], "SX": ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], "SY": ["963", "00", "[1-39]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-5]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1", 1]], "0"], "SZ": ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], "TA": ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], "TC": ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], "TD": ["235", "00|16", "(?:22|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "TG": ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], "TH": ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "TJ": ["992", "810", "[0-57-9]\\d{8}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[0-57-9]"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], "TK": ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], "TL": ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], "TM": ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], "TN": ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], "TO": ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], "TR": ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], "TT": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], "TV": ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], "TW": ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], "TZ": ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], "UA": ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], "UG": ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], "US": ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"], 0, 0, 0, ["305209\\d{4}"]]], "UY": ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], "UZ": ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], "VA": ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], "VC": ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], "VE": ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], "VG": ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], "VI": ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], "VN": ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], "VU": ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], "WF": ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], "WS": ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], "XK": ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], "YE": ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], "YT": ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], "ZA": ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], "ZM": ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], "ZW": ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, "nonGeographic": { "800": ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], "808": ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], "870": ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], "878": ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], "881": ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], "882": ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], "883": ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], "888": ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], "979": ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
|
21360
21864
|
function withMetadataArgument(func, _arguments) {
|
|
21361
21865
|
var args = Array.prototype.slice.call(_arguments);
|
|
21362
21866
|
args.push(metadata);
|
|
@@ -23653,14 +24157,17 @@ const isMobileEmail = (val) => {
|
|
|
23653
24157
|
return t$1("gitCodeLayout.common.phone") + "/" + t$1("gitCodeLayout.common.email");
|
|
23654
24158
|
};
|
|
23655
24159
|
const _hoisted_1$4 = { class: "modal-body" };
|
|
23656
|
-
const _hoisted_2$2 = { class: "
|
|
24160
|
+
const _hoisted_2$2 = { class: "text-[13px]" };
|
|
24161
|
+
const _hoisted_3$2 = { class: "flex items-center justify-end px-[24px] pb-[24px]" };
|
|
23657
24162
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
23658
24163
|
__name: "loginCheckModal",
|
|
23659
|
-
props: {
|
|
24164
|
+
props: /* @__PURE__ */ mergeModels({
|
|
24165
|
+
dataShareChecked: { type: Boolean }
|
|
24166
|
+
}, {
|
|
23660
24167
|
"visible": { type: Boolean },
|
|
23661
24168
|
"visibleModifiers": {}
|
|
23662
|
-
},
|
|
23663
|
-
emits: /* @__PURE__ */ mergeModels(["declares", "confirm"], ["update:visible"]),
|
|
24169
|
+
}),
|
|
24170
|
+
emits: /* @__PURE__ */ mergeModels(["declares", "confirm", "update:dataShareChecked"], ["update:visible"]),
|
|
23664
24171
|
setup(__props, { emit: __emit }) {
|
|
23665
24172
|
const { t: $t } = i18n.global;
|
|
23666
24173
|
const visible = useModel$1(__props, "visible");
|
|
@@ -23671,20 +24178,28 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
23671
24178
|
const handleConfirm = () => {
|
|
23672
24179
|
emits("confirm");
|
|
23673
24180
|
};
|
|
24181
|
+
const dataShareName = computed(() => {
|
|
24182
|
+
var _a;
|
|
24183
|
+
if ((_a = window == null ? void 0 : window.location) == null ? void 0 : _a.host.includes("gitcode")) {
|
|
24184
|
+
return $t("gitCodeLayout.LoginModal.link.dataShare", { name: "AtomGit" });
|
|
24185
|
+
} else {
|
|
24186
|
+
return $t("gitCodeLayout.LoginModal.link.dataShare", { name: "GitCode" });
|
|
24187
|
+
}
|
|
24188
|
+
});
|
|
23674
24189
|
const close = () => {
|
|
23675
24190
|
visible.value = false;
|
|
23676
24191
|
};
|
|
23677
24192
|
return (_ctx, _cache) => {
|
|
23678
24193
|
return openBlock(), createBlock(unref(Modal), {
|
|
23679
24194
|
modelValue: visible.value,
|
|
23680
|
-
"onUpdate:modelValue": _cache[
|
|
24195
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => visible.value = $event),
|
|
23681
24196
|
"close-on-click-overlay": false,
|
|
23682
24197
|
"show-overlay": true,
|
|
23683
24198
|
class: "second-sure-proto",
|
|
23684
24199
|
title: unref($t)("gitCodeLayout.LoginModal.subtitle.useAgrAndPriPolTip")
|
|
23685
24200
|
}, {
|
|
23686
24201
|
footer: withCtx(() => [
|
|
23687
|
-
createElementVNode("div",
|
|
24202
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
23688
24203
|
createVNode(unref(Button), {
|
|
23689
24204
|
class: "mr-2",
|
|
23690
24205
|
onClick: close
|
|
@@ -23697,13 +24212,14 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
23697
24212
|
createVNode(unref(Button), {
|
|
23698
24213
|
variant: "solid",
|
|
23699
24214
|
class: "w-[126px]",
|
|
24215
|
+
disabled: !_ctx.dataShareChecked,
|
|
23700
24216
|
onClick: handleConfirm
|
|
23701
24217
|
}, {
|
|
23702
24218
|
default: withCtx(() => [
|
|
23703
24219
|
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.agrAndSigIn")), 1)
|
|
23704
24220
|
]),
|
|
23705
24221
|
_: 1
|
|
23706
|
-
})
|
|
24222
|
+
}, 8, ["disabled"])
|
|
23707
24223
|
])
|
|
23708
24224
|
]),
|
|
23709
24225
|
default: withCtx(() => [
|
|
@@ -23719,9 +24235,22 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
23719
24235
|
class: "text-[var(--theme-link)] cursor-pointer mx-[1px]",
|
|
23720
24236
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleClick("privacy"), ["stop"]))
|
|
23721
24237
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.link.privacyPolicy")), 1),
|
|
23722
|
-
createTextVNode(
|
|
24238
|
+
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.toUseGit")), 1)
|
|
24239
|
+
]),
|
|
24240
|
+
createElementVNode("div", null, [
|
|
24241
|
+
createElementVNode("span", null, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.ifYouDoNotAgrWe")), 1)
|
|
23723
24242
|
]),
|
|
23724
|
-
|
|
24243
|
+
createVNode(unref(Checkbox), {
|
|
24244
|
+
"model-value": _ctx.dataShareChecked,
|
|
24245
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:dataShareChecked", val)),
|
|
24246
|
+
size: "sm",
|
|
24247
|
+
class: "mt-[12px]"
|
|
24248
|
+
}, {
|
|
24249
|
+
default: withCtx(() => [
|
|
24250
|
+
createElementVNode("span", _hoisted_2$2, toDisplayString$1(dataShareName.value), 1)
|
|
24251
|
+
]),
|
|
24252
|
+
_: 1
|
|
24253
|
+
}, 8, ["model-value"])
|
|
23725
24254
|
])
|
|
23726
24255
|
]),
|
|
23727
24256
|
_: 1
|
|
@@ -23729,7 +24258,6 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
23729
24258
|
};
|
|
23730
24259
|
}
|
|
23731
24260
|
});
|
|
23732
|
-
const GIT_CODE_LOGO_WHITE = "data:image/png;base64,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";
|
|
23733
24261
|
const _hoisted_1$3 = { class: "mfa" };
|
|
23734
24262
|
const _hoisted_2$1 = ["src"];
|
|
23735
24263
|
const _hoisted_3$1 = { class: "text-[20px] font-[600] mb-[8px]" };
|
|
@@ -23757,7 +24285,6 @@ const _hoisted_9$1 = {
|
|
|
23757
24285
|
const _hoisted_10$1 = { class: "my-[32px]" };
|
|
23758
24286
|
const _hoisted_11$1 = { class: "flex items-center justify-between" };
|
|
23759
24287
|
const _hoisted_12$1 = { class: "cursor-pointer" };
|
|
23760
|
-
const GIT_CODE_LOGO_BLACK = "https://cdn-static.gitcode.com/static/images/gitcode-logo-dark.png";
|
|
23761
24288
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
23762
24289
|
__name: "MFA",
|
|
23763
24290
|
props: {
|
|
@@ -23767,11 +24294,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23767
24294
|
},
|
|
23768
24295
|
emits: ["success", "back", "fail"],
|
|
23769
24296
|
setup(__props, { emit: __emit }) {
|
|
24297
|
+
const logoConfig = getCurrentLogoMap();
|
|
23770
24298
|
const currentLogo = computed(() => {
|
|
23771
|
-
|
|
23772
|
-
return GIT_CODE_LOGO_WHITE;
|
|
23773
|
-
}
|
|
23774
|
-
return GIT_CODE_LOGO_BLACK;
|
|
24299
|
+
return currentTheme.value === ThemeType.BLACK ? logoConfig.siteLogoWhite : logoConfig.siteLogoDark;
|
|
23775
24300
|
});
|
|
23776
24301
|
const { t: t2 } = i18n.global;
|
|
23777
24302
|
const emits = __emit;
|
|
@@ -23990,7 +24515,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23990
24515
|
}
|
|
23991
24516
|
});
|
|
23992
24517
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
23993
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24518
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-BSgfb2Bf.js"));
|
|
23994
24519
|
const useSlidCaptcha = () => {
|
|
23995
24520
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
23996
24521
|
const open = (config) => {
|
|
@@ -24009,7 +24534,7 @@ const useSlidCaptcha = () => {
|
|
|
24009
24534
|
close: unMount
|
|
24010
24535
|
};
|
|
24011
24536
|
};
|
|
24012
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
24537
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-BJ_tDUmJ.js"));
|
|
24013
24538
|
const useYunpianCaptcha = () => {
|
|
24014
24539
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
24015
24540
|
const open = (config) => {
|
|
@@ -24084,8 +24609,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
24084
24609
|
}
|
|
24085
24610
|
});
|
|
24086
24611
|
const DataPanel = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
24087
|
-
const AiLogoDark = "data:image/png;base64,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";
|
|
24088
|
-
const AiLogoWhite = "data:image/png;base64,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";
|
|
24089
24612
|
function useVisibilityPoll(pollFunction, options = {}, shouldPoll) {
|
|
24090
24613
|
const { interval = 1e4, immediate = true } = options;
|
|
24091
24614
|
const timer = ref(null);
|
|
@@ -24177,46 +24700,45 @@ const _hoisted_21 = { key: 2 };
|
|
|
24177
24700
|
const _hoisted_22 = { class: "flex items-center justify-between" };
|
|
24178
24701
|
const _hoisted_23 = { class: "text-[var(--devui-text-weak)] font-bold text-[16px]" };
|
|
24179
24702
|
const _hoisted_24 = { class: "text-[12px] leading-[32px]" };
|
|
24180
|
-
const _hoisted_25 = { class: "
|
|
24181
|
-
const _hoisted_26 = { class: "
|
|
24182
|
-
const _hoisted_27 =
|
|
24183
|
-
const _hoisted_28 =
|
|
24184
|
-
const _hoisted_29 = {
|
|
24703
|
+
const _hoisted_25 = { class: "qrcode-container flex flex-col items-center justify-center" };
|
|
24704
|
+
const _hoisted_26 = { class: "flex flex-col items-center justify-center w-[180px] h-[180px] relative" };
|
|
24705
|
+
const _hoisted_27 = ["src"];
|
|
24706
|
+
const _hoisted_28 = {
|
|
24185
24707
|
key: 0,
|
|
24186
24708
|
class: "mask"
|
|
24187
24709
|
};
|
|
24188
|
-
const
|
|
24189
|
-
const
|
|
24190
|
-
const
|
|
24191
|
-
const
|
|
24710
|
+
const _hoisted_29 = { class: "flex gap-1 items-center justify-center text-[16px] flex-wrap font-medium" };
|
|
24711
|
+
const _hoisted_30 = { class: "text-[#252B3A]" };
|
|
24712
|
+
const _hoisted_31 = { class: "text-[var(--theme-link)]" };
|
|
24713
|
+
const _hoisted_32 = {
|
|
24192
24714
|
key: 1,
|
|
24193
24715
|
class: "flex flex-col gap-3 items-center justify-center"
|
|
24194
24716
|
};
|
|
24195
|
-
const
|
|
24196
|
-
const
|
|
24197
|
-
const
|
|
24717
|
+
const _hoisted_33 = { class: "text-[var(--color-success)]" };
|
|
24718
|
+
const _hoisted_34 = { class: "text-center" };
|
|
24719
|
+
const _hoisted_35 = {
|
|
24198
24720
|
key: 0,
|
|
24199
24721
|
class: "text-center text-[16px] mt-[40px] text-[var(--devui-text-weak)] font-bold"
|
|
24200
24722
|
};
|
|
24201
|
-
const
|
|
24723
|
+
const _hoisted_36 = {
|
|
24202
24724
|
key: 0,
|
|
24203
24725
|
class: "login-modal-info h-[20px]"
|
|
24204
24726
|
};
|
|
24205
|
-
const
|
|
24206
|
-
const
|
|
24727
|
+
const _hoisted_37 = { class: "login-modal-info-left" };
|
|
24728
|
+
const _hoisted_38 = {
|
|
24207
24729
|
key: 0,
|
|
24208
24730
|
class: "mt-[18px]"
|
|
24209
24731
|
};
|
|
24210
|
-
const
|
|
24211
|
-
const
|
|
24212
|
-
const
|
|
24213
|
-
const
|
|
24214
|
-
const
|
|
24215
|
-
const
|
|
24216
|
-
const
|
|
24217
|
-
const
|
|
24218
|
-
const
|
|
24219
|
-
const
|
|
24732
|
+
const _hoisted_39 = { class: "flex justify-center" };
|
|
24733
|
+
const _hoisted_40 = { class: "flex items-center justify-center pr-[16px] mt-[16px]" };
|
|
24734
|
+
const _hoisted_41 = { class: "harmony-icon" };
|
|
24735
|
+
const _hoisted_42 = { class: "w-[50px] h-[20px] last-login-img" };
|
|
24736
|
+
const _hoisted_43 = ["src"];
|
|
24737
|
+
const _hoisted_44 = { class: "ml-[8px] text-[12px]" };
|
|
24738
|
+
const _hoisted_45 = { class: "login-modal-footer flex items-center justify-center" };
|
|
24739
|
+
const _hoisted_46 = { key: 2 };
|
|
24740
|
+
const _hoisted_47 = { class: "line-clamp-2" };
|
|
24741
|
+
const _hoisted_48 = { class: "absolute-btn" };
|
|
24220
24742
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
24221
24743
|
...{
|
|
24222
24744
|
name: "GLoginModal"
|
|
@@ -24265,13 +24787,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24265
24787
|
const IconW = TransAssetsUrl(IconSource, "logo-wechat");
|
|
24266
24788
|
const IconHb = TransAssetsUrl(IconSource, "logo-hb");
|
|
24267
24789
|
const IconHW = TransAssetsUrl(IconSource, "logo-huawei");
|
|
24790
|
+
const logoConfig = getCurrentLogoMap();
|
|
24268
24791
|
const logoType = {
|
|
24269
|
-
black:
|
|
24270
|
-
white:
|
|
24792
|
+
black: logoConfig.siteLogoWhite,
|
|
24793
|
+
white: logoConfig.siteLogoDark
|
|
24271
24794
|
};
|
|
24272
24795
|
const AiLogoType = {
|
|
24273
|
-
black:
|
|
24274
|
-
white:
|
|
24796
|
+
black: logoConfig.aiLogoWhite,
|
|
24797
|
+
white: logoConfig.aiLogoDark
|
|
24275
24798
|
};
|
|
24276
24799
|
const formErrors = reactive({});
|
|
24277
24800
|
const extraErrors = reactive({
|
|
@@ -24551,7 +25074,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24551
25074
|
...VerifyPassword
|
|
24552
25075
|
]);
|
|
24553
25076
|
const status = ref(false);
|
|
24554
|
-
const
|
|
25077
|
+
const dataShareChecked = ref(false);
|
|
25078
|
+
ref(true);
|
|
24555
25079
|
const FormRef = shallowRef(null);
|
|
24556
25080
|
const tabPanel = ref("miniProgram");
|
|
24557
25081
|
const formType = ref(props.defaultType);
|
|
@@ -24685,13 +25209,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24685
25209
|
const slidCaptcha = useSlidCaptcha();
|
|
24686
25210
|
const yunpianCaptcha = useYunpianCaptcha();
|
|
24687
25211
|
const LoginCheck = async () => {
|
|
24688
|
-
const formData = await FormRef.value.ValidateForm();
|
|
24689
25212
|
let agreementFlag = false;
|
|
24690
|
-
if (
|
|
24691
|
-
extraErrors.agreement = $t("gitCodeLayout.
|
|
24692
|
-
agreementFlag = true;
|
|
24693
|
-
}
|
|
24694
|
-
if (!status.value && !agreementFlag) {
|
|
25213
|
+
if (!status.value || !dataShareChecked.value) {
|
|
25214
|
+
extraErrors.agreement = $t("gitCodeLayout.common.tips.agreementTip");
|
|
24695
25215
|
agreementFlag = true;
|
|
24696
25216
|
showProtoCheck.value = true;
|
|
24697
25217
|
}
|
|
@@ -24702,6 +25222,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24702
25222
|
}, 500);
|
|
24703
25223
|
return false;
|
|
24704
25224
|
}
|
|
25225
|
+
const formData = await FormRef.value.ValidateForm();
|
|
24705
25226
|
extraErrors.agreement = "";
|
|
24706
25227
|
if (formData.type === "success") {
|
|
24707
25228
|
clearFormError();
|
|
@@ -24835,8 +25356,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24835
25356
|
}
|
|
24836
25357
|
};
|
|
24837
25358
|
const links = {
|
|
24838
|
-
agreement: "
|
|
24839
|
-
privacy: "
|
|
25359
|
+
agreement: currentHelpDocsUrl() + "/docs/help/home/protocol/terms-of-service",
|
|
25360
|
+
privacy: currentHelpDocsUrl() + "/docs/help/home/protocol/privacy-policy"
|
|
24840
25361
|
};
|
|
24841
25362
|
const links_hw = {
|
|
24842
25363
|
agreement: "https://www.huaweicloud.com/declaration/sa_cua.html",
|
|
@@ -25209,8 +25730,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25209
25730
|
}
|
|
25210
25731
|
);
|
|
25211
25732
|
function checkAgree() {
|
|
25212
|
-
if (!status.value) {
|
|
25213
|
-
extraErrors.agreement = $t("gitCodeLayout.common.tips.
|
|
25733
|
+
if (!status.value || !dataShareChecked.value) {
|
|
25734
|
+
extraErrors.agreement = $t("gitCodeLayout.common.tips.agreementTip");
|
|
25214
25735
|
AgreementWarn.value = true;
|
|
25215
25736
|
showProtoCheck.value = true;
|
|
25216
25737
|
setTimeout(() => {
|
|
@@ -25246,11 +25767,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25246
25767
|
}
|
|
25247
25768
|
};
|
|
25248
25769
|
watchEffect(() => {
|
|
25249
|
-
if (
|
|
25250
|
-
if (status.value && hwStatus.value && extraErrors.agreement) {
|
|
25251
|
-
extraErrors.agreement = "";
|
|
25252
|
-
}
|
|
25253
|
-
} else if (status.value && extraErrors.agreement) {
|
|
25770
|
+
if (status.value && dataShareChecked.value && extraErrors.agreement) {
|
|
25254
25771
|
extraErrors.agreement = "";
|
|
25255
25772
|
}
|
|
25256
25773
|
});
|
|
@@ -25421,7 +25938,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25421
25938
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
25422
25939
|
createVNode(unref(Modal), {
|
|
25423
25940
|
modelValue: unref(vModels),
|
|
25424
|
-
"onUpdate:modelValue": _cache[
|
|
25941
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => isRef(vModels) ? vModels.value = $event : null),
|
|
25425
25942
|
"show-close": false,
|
|
25426
25943
|
"lock-scroll": _ctx.lockScroll,
|
|
25427
25944
|
draggable: _ctx.draggable,
|
|
@@ -25539,8 +26056,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25539
26056
|
class: "text-[var(--theme-link)] cursor-pointer hover:underline"
|
|
25540
26057
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.backLogin")), 1)
|
|
25541
26058
|
])
|
|
25542
|
-
])
|
|
25543
|
-
createElementVNode("div", _hoisted_25, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.registerDesc")), 1)
|
|
26059
|
+
])
|
|
25544
26060
|
])) : createCommentVNode("", true),
|
|
25545
26061
|
formType.value === "login" && tabPanel.value === "miniProgram" ? (openBlock(), createBlock(DataPanel, {
|
|
25546
26062
|
key: 3,
|
|
@@ -25556,14 +26072,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25556
26072
|
})
|
|
25557
26073
|
}, {
|
|
25558
26074
|
default: withCtx(() => [
|
|
25559
|
-
createElementVNode("div",
|
|
25560
|
-
createElementVNode("div",
|
|
26075
|
+
createElementVNode("div", _hoisted_25, [
|
|
26076
|
+
createElementVNode("div", _hoisted_26, [
|
|
25561
26077
|
createElementVNode("img", {
|
|
25562
26078
|
src: miniProgramInfo.value.qrcode,
|
|
25563
26079
|
alt: "小程序二维码",
|
|
25564
26080
|
class: "w-[180px] h-[180px]"
|
|
25565
|
-
}, null, 8,
|
|
25566
|
-
miniProgramStatus.value !== "WAITING" ? (openBlock(), createElementBlock("div",
|
|
26081
|
+
}, null, 8, _hoisted_27),
|
|
26082
|
+
miniProgramStatus.value !== "WAITING" ? (openBlock(), createElementBlock("div", _hoisted_28, [
|
|
25567
26083
|
miniProgramStatus.value === "TIMEOUT" ? (openBlock(), createElementBlock("div", {
|
|
25568
26084
|
key: 0,
|
|
25569
26085
|
onClick: getMiniProgramQrCode,
|
|
@@ -25574,18 +26090,18 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25574
26090
|
size: "18",
|
|
25575
26091
|
color: "#3B3E55"
|
|
25576
26092
|
}),
|
|
25577
|
-
createElementVNode("div",
|
|
25578
|
-
createElementVNode("div",
|
|
25579
|
-
createElementVNode("button",
|
|
26093
|
+
createElementVNode("div", _hoisted_29, [
|
|
26094
|
+
createElementVNode("div", _hoisted_30, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.miniProgram.tip01")), 1),
|
|
26095
|
+
createElementVNode("button", _hoisted_31, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.miniProgram.tip02")), 1)
|
|
25580
26096
|
])
|
|
25581
26097
|
])) : createCommentVNode("", true),
|
|
25582
|
-
["SCAN", "CANCEL", "LOGIN"].includes(miniProgramStatus.value) ? (openBlock(), createElementBlock("div",
|
|
25583
|
-
createElementVNode("div",
|
|
25584
|
-
createElementVNode("div",
|
|
26098
|
+
["SCAN", "CANCEL", "LOGIN"].includes(miniProgramStatus.value) ? (openBlock(), createElementBlock("div", _hoisted_32, [
|
|
26099
|
+
createElementVNode("div", _hoisted_33, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.miniProgram.tip03")), 1),
|
|
26100
|
+
createElementVNode("div", _hoisted_34, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.miniProgram.tip04")), 1)
|
|
25585
26101
|
])) : createCommentVNode("", true)
|
|
25586
26102
|
])) : createCommentVNode("", true)
|
|
25587
26103
|
]),
|
|
25588
|
-
!["SCAN", "CANCEL", "LOGIN"].includes(miniProgramStatus.value) ? (openBlock(), createElementBlock("p",
|
|
26104
|
+
!["SCAN", "CANCEL", "LOGIN"].includes(miniProgramStatus.value) ? (openBlock(), createElementBlock("p", _hoisted_35, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.miniProgram.tip05")), 1)) : (openBlock(), createElementBlock("button", {
|
|
25589
26105
|
key: 1,
|
|
25590
26106
|
onClick: getMiniProgramQrCode,
|
|
25591
26107
|
class: "mt-2"
|
|
@@ -25617,8 +26133,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25617
26133
|
submit: withCtx(() => {
|
|
25618
26134
|
var _a2;
|
|
25619
26135
|
return [
|
|
25620
|
-
formType.value === "login" && tabPanel.value !== "miniProgram" ? (openBlock(), createElementBlock("div",
|
|
25621
|
-
createElementVNode("div",
|
|
26136
|
+
formType.value === "login" && tabPanel.value !== "miniProgram" ? (openBlock(), createElementBlock("div", _hoisted_36, [
|
|
26137
|
+
createElementVNode("div", _hoisted_37, [
|
|
25622
26138
|
createTextVNode(toDisplayString$1(errorMsg.value) + " ", 1),
|
|
25623
26139
|
errForRemoteLogin.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
25624
26140
|
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.unusualLogin")), 1),
|
|
@@ -25636,7 +26152,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25636
26152
|
])
|
|
25637
26153
|
])) : createCommentVNode("", true),
|
|
25638
26154
|
formType.value === "login" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
25639
|
-
tabPanel.value !== "miniProgram" ? (openBlock(), createElementBlock("div",
|
|
26155
|
+
tabPanel.value !== "miniProgram" ? (openBlock(), createElementBlock("div", _hoisted_38, [
|
|
25640
26156
|
createVNode(unref(Button), {
|
|
25641
26157
|
color: "primary",
|
|
25642
26158
|
variant: "solid",
|
|
@@ -25654,39 +26170,41 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25654
26170
|
createElementVNode("div", {
|
|
25655
26171
|
class: normalizeClass([["login-modal-footer-args", AgreementWarn.value ? "shaking-box" : ""], "mt-[16px]"])
|
|
25656
26172
|
}, [
|
|
25657
|
-
createElementVNode("div",
|
|
26173
|
+
createElementVNode("div", _hoisted_39, [
|
|
25658
26174
|
createVNode(_sfc_main$8, {
|
|
25659
26175
|
modelValue: status.value,
|
|
25660
26176
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => status.value = $event),
|
|
25661
|
-
|
|
25662
|
-
|
|
26177
|
+
dataShareChecked: dataShareChecked.value,
|
|
26178
|
+
"onUpdate:dataShareChecked": _cache[8] || (_cache[8] = ($event) => dataShareChecked.value = $event),
|
|
26179
|
+
onDeclares: _cache[9] || (_cache[9] = (typ) => handleDisplay(typ))
|
|
26180
|
+
}, null, 8, ["modelValue", "dataShareChecked"])
|
|
25663
26181
|
])
|
|
25664
26182
|
], 2),
|
|
25665
|
-
createElementVNode("div",
|
|
26183
|
+
createElementVNode("div", _hoisted_40, [
|
|
25666
26184
|
_ctx.openHarmonyGuide ? (openBlock(), createElementBlock("div", {
|
|
25667
26185
|
key: 0,
|
|
25668
26186
|
class: "text-[var(--theme-link)] flex items-center mt-[12px] cursor-pointer",
|
|
25669
26187
|
onClick: withModifiers(handleRegisterHarmony, ["stop"])
|
|
25670
26188
|
}, [
|
|
25671
|
-
createElementVNode("div",
|
|
26189
|
+
createElementVNode("div", _hoisted_41, [
|
|
25672
26190
|
_cache[18] || (_cache[18] = createElementVNode("img", {
|
|
25673
26191
|
src: "https://cdn-static.gitcode.com/static/images/guide/openharmony.svg",
|
|
25674
26192
|
alt: "",
|
|
25675
26193
|
class: "w-[32px] h-[32px] inline-block harmony-icon-img"
|
|
25676
26194
|
}, null, -1)),
|
|
25677
|
-
createElementVNode("div",
|
|
26195
|
+
createElementVNode("div", _hoisted_42, [
|
|
25678
26196
|
recentLoginType.value === unref(LoginMethodEnum).HARMONY ? (openBlock(), createElementBlock("img", {
|
|
25679
26197
|
key: 0,
|
|
25680
26198
|
src: unref(recentLoginImg),
|
|
25681
26199
|
class: "w-[50px] h-[20px]"
|
|
25682
|
-
}, null, 8,
|
|
26200
|
+
}, null, 8, _hoisted_43)) : createCommentVNode("", true)
|
|
25683
26201
|
])
|
|
25684
26202
|
]),
|
|
25685
|
-
createElementVNode("span",
|
|
26203
|
+
createElementVNode("span", _hoisted_44, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.oh")), 1)
|
|
25686
26204
|
])) : createCommentVNode("", true)
|
|
25687
26205
|
])
|
|
25688
26206
|
])) : createCommentVNode("", true),
|
|
25689
|
-
createElementVNode("div",
|
|
26207
|
+
createElementVNode("div", _hoisted_45, [
|
|
25690
26208
|
createVNode(GAuth, {
|
|
25691
26209
|
logos,
|
|
25692
26210
|
onAuth: pcAuthLogin,
|
|
@@ -25695,36 +26213,28 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25695
26213
|
}, null, 8, ["logos", "recentLoginType"])
|
|
25696
26214
|
])
|
|
25697
26215
|
], 64)) : createCommentVNode("", true),
|
|
25698
|
-
formType.value === "register" || formType.value === "forget" ? (openBlock(), createElementBlock("div",
|
|
26216
|
+
formType.value === "register" || formType.value === "forget" ? (openBlock(), createElementBlock("div", _hoisted_46, [
|
|
25699
26217
|
createElementVNode("div", {
|
|
25700
26218
|
class: normalizeClass([
|
|
25701
26219
|
"text-[var(--devui-danger)] text-[14px] break-all box-border leading-[20px] h-[40px]",
|
|
25702
26220
|
formType.value === "register" ? "mt-[-8px]" : ((_a2 = formErrors == null ? void 0 : formErrors.username) == null ? void 0 : _a2.length) > 42 ? "cursor-pointer" : ""
|
|
25703
26221
|
])
|
|
25704
26222
|
}, [
|
|
25705
|
-
createElementVNode("span",
|
|
26223
|
+
createElementVNode("span", _hoisted_47, toDisplayString$1(errorMsg.value), 1)
|
|
25706
26224
|
], 2),
|
|
25707
26225
|
createElementVNode("div", {
|
|
25708
26226
|
class: normalizeClass(["register-agree mt-[16px]", [AgreementWarn.value ? "shaking-box" : ""]])
|
|
25709
26227
|
}, [
|
|
25710
|
-
createVNode(_sfc_main$7, {
|
|
25711
|
-
modelValue: hwStatus.value,
|
|
25712
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => hwStatus.value = $event),
|
|
25713
|
-
onDeclares: _cache[10] || (_cache[10] = (typ) => handleDisplay(typ, "huawei")),
|
|
25714
|
-
"agreement-text": `《${unref($t)("gitCodeLayout.LoginModal.link.huaweiCloudAgreement")}》`,
|
|
25715
|
-
"privacy-text": `《${unref($t)("gitCodeLayout.LoginModal.link.agreementPrivacy")}》`,
|
|
25716
|
-
onClick: _cache[11] || (_cache[11] = ($event) => agreementReport("signup_select", `hw${hwStatus.value ? 1 : 0}`))
|
|
25717
|
-
}, null, 8, ["modelValue", "agreement-text", "privacy-text"]),
|
|
25718
26228
|
createVNode(_sfc_main$7, {
|
|
25719
26229
|
modelValue: status.value,
|
|
25720
|
-
"onUpdate:modelValue": _cache[
|
|
25721
|
-
|
|
25722
|
-
"
|
|
25723
|
-
|
|
25724
|
-
onClick: _cache[
|
|
25725
|
-
}, null, 8, ["modelValue", "
|
|
26230
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => status.value = $event),
|
|
26231
|
+
dataShareChecked: dataShareChecked.value,
|
|
26232
|
+
"onUpdate:dataShareChecked": _cache[11] || (_cache[11] = ($event) => dataShareChecked.value = $event),
|
|
26233
|
+
onDeclares: _cache[12] || (_cache[12] = (typ) => handleDisplay(typ)),
|
|
26234
|
+
onClick: _cache[13] || (_cache[13] = ($event) => agreementReport("signup_select", `gitcode${status.value ? 1 : 0}`))
|
|
26235
|
+
}, null, 8, ["modelValue", "dataShareChecked"])
|
|
25726
26236
|
], 2),
|
|
25727
|
-
createElementVNode("div",
|
|
26237
|
+
createElementVNode("div", _hoisted_48, [
|
|
25728
26238
|
createVNode(unref(Button), {
|
|
25729
26239
|
color: "primary",
|
|
25730
26240
|
variant: "solid",
|
|
@@ -25776,12 +26286,15 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25776
26286
|
key: "0"
|
|
25777
26287
|
} : void 0
|
|
25778
26288
|
]), 1032, ["modelValue", "lock-scroll", "draggable", "escapable", "append-to-body", "class"]),
|
|
25779
|
-
|
|
26289
|
+
showProtoCheck.value ? (openBlock(), createBlock(_sfc_main$5, {
|
|
26290
|
+
key: 0,
|
|
25780
26291
|
visible: showProtoCheck.value,
|
|
25781
|
-
"onUpdate:visible": _cache[
|
|
26292
|
+
"onUpdate:visible": _cache[15] || (_cache[15] = ($event) => showProtoCheck.value = $event),
|
|
25782
26293
|
onConfirm: agreeAndLogin,
|
|
25783
|
-
onDeclares: _cache[
|
|
25784
|
-
|
|
26294
|
+
onDeclares: _cache[16] || (_cache[16] = (typ) => handleDisplay(typ)),
|
|
26295
|
+
dataShareChecked: dataShareChecked.value,
|
|
26296
|
+
"onUpdate:dataShareChecked": _cache[17] || (_cache[17] = ($event) => dataShareChecked.value = $event)
|
|
26297
|
+
}, null, 8, ["visible", "dataShareChecked"])) : createCommentVNode("", true)
|
|
25785
26298
|
], 64);
|
|
25786
26299
|
};
|
|
25787
26300
|
}
|
|
@@ -26028,52 +26541,54 @@ const index = {
|
|
|
26028
26541
|
}
|
|
26029
26542
|
};
|
|
26030
26543
|
export {
|
|
26031
|
-
|
|
26032
|
-
|
|
26033
|
-
|
|
26034
|
-
|
|
26544
|
+
currentTheme as A,
|
|
26545
|
+
LANG_EN as B,
|
|
26546
|
+
emitEvent as C,
|
|
26547
|
+
isHttps as D,
|
|
26035
26548
|
EVENT_NAME as E,
|
|
26036
|
-
|
|
26549
|
+
_sfc_main$A as F,
|
|
26037
26550
|
GIcon as G,
|
|
26038
|
-
|
|
26039
|
-
|
|
26040
|
-
|
|
26041
|
-
|
|
26551
|
+
loadAsideData as H,
|
|
26552
|
+
asideRequest as I,
|
|
26553
|
+
ToolsFloat as J,
|
|
26554
|
+
_sfc_main as K,
|
|
26042
26555
|
LANG_ZH as L,
|
|
26043
|
-
|
|
26044
|
-
|
|
26045
|
-
|
|
26046
|
-
|
|
26047
|
-
|
|
26556
|
+
GitCodeAside as M,
|
|
26557
|
+
GitCodeHeader as N,
|
|
26558
|
+
SiteAnnouncement as O,
|
|
26559
|
+
useLogin as P,
|
|
26560
|
+
setLayoutConfig as Q,
|
|
26048
26561
|
REPO_MODULE as R,
|
|
26049
26562
|
SceneValue as S,
|
|
26050
26563
|
TOPIC_TYPE as T,
|
|
26051
|
-
|
|
26564
|
+
GitCodeLayoutEmitter as U,
|
|
26565
|
+
setTheme as V,
|
|
26566
|
+
index as W,
|
|
26052
26567
|
_export_sfc as _,
|
|
26053
26568
|
i18n as a,
|
|
26054
26569
|
REPO_EVENT as b,
|
|
26055
26570
|
REPO_TYPE as c,
|
|
26056
|
-
|
|
26571
|
+
transferNumber as d,
|
|
26057
26572
|
extractRepoInfoWithURL as e,
|
|
26058
|
-
|
|
26059
|
-
|
|
26573
|
+
useRequestReport as f,
|
|
26574
|
+
useTimeFormat as g,
|
|
26060
26575
|
headRequest as h,
|
|
26061
26576
|
isPhone as i,
|
|
26062
|
-
|
|
26063
|
-
|
|
26577
|
+
useCookie as j,
|
|
26578
|
+
usePageResize as k,
|
|
26064
26579
|
localStorage$2 as l,
|
|
26065
|
-
|
|
26066
|
-
|
|
26067
|
-
|
|
26068
|
-
|
|
26069
|
-
|
|
26580
|
+
isGstarRepo as m,
|
|
26581
|
+
_sfc_main$z as n,
|
|
26582
|
+
isIncubationRepo as o,
|
|
26583
|
+
highlightWords as p,
|
|
26584
|
+
_frEventTrack as q,
|
|
26070
26585
|
reqCatch as r,
|
|
26071
26586
|
setLoginTriggerSource as s,
|
|
26072
|
-
|
|
26587
|
+
transformUrl as t,
|
|
26073
26588
|
useModel as u,
|
|
26074
26589
|
vElementExposure as v,
|
|
26075
|
-
|
|
26076
|
-
|
|
26077
|
-
|
|
26078
|
-
|
|
26590
|
+
LANG_KEY as w,
|
|
26591
|
+
getLocaleLang as x,
|
|
26592
|
+
useLayoutConfig as y,
|
|
26593
|
+
ThemeType as z
|
|
26079
26594
|
};
|