vue-layout-gitcode 1.9.38 → 1.9.40

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.
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, inject, createElementBlock, openBlock, Fragment, createElementVNode, toDisplayString, createVNode, unref, renderList, withDirectives, createBlock, ref, watch, onMounted, createCommentVNode } from "vue";
2
2
  import "vue-devui-lal/icon";
3
3
  import "vue-devui-lal/icon/style.css";
4
- import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-BiWnren8.js";
4
+ import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-DA28_nab.js";
5
5
  import "lodash/debounce";
6
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-B14l1zxW.js";
7
- import "./transWebUrl-D-MLvrzi.js";
6
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-CfIVby28.js";
7
+ import "./transWebUrl-Dkwb_Npa.js";
8
8
  import "vue-devui-lal/tooltip";
9
9
  import "vue-devui-lal/tooltip/style.css";
10
10
  import "vue-router";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, inject, useSlots, ref, computed, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createTextVNode, createCommentVNode, toDisplayString, renderSlot } from "vue";
2
- import { a as i18n, y as useLayoutConfig, z as ThemeType, A as currentTheme, L as LANG_ZH, B as LANG_EN, x as getLocaleLang, G as GIcon, C as emitEvent, D as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-BiWnren8.js";
2
+ import { a as i18n, y as useLayoutConfig, z as ThemeType, A as currentTheme, L as LANG_ZH, B as LANG_EN, x as getLocaleLang, G as GIcon, C as emitEvent, D as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-DA28_nab.js";
3
3
  import { useRouter } from "vue-router";
4
4
  import { Popover } from "vue-devui-lal/popover";
5
5
  import "vue-devui-lal/popover/style.css";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, inject, ref, reactive, watch, computed, createElementBlock, openBlock, createCommentVNode, createBlock, withDirectives, Fragment, createElementVNode, createVNode, toDisplayString, unref, withModifiers, normalizeClass, withCtx, renderList, createTextVNode, vShow } from "vue";
2
- import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, F as _sfc_main$1, H as loadAsideData, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-BiWnren8.js";
2
+ import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, F as _sfc_main$1, H as loadAsideData, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-DA28_nab.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-D-MLvrzi.js";
4
+ import { t as transWebUrl } from "./transWebUrl-Dkwb_Npa.js";
5
5
  import { Select, Option } from "vue-devui-lal/select";
6
6
  import { Input } from "vue-devui-lal/input";
7
7
  import { Skeleton } from "vue-devui-lal/skeleton";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, inject, ref, reactive, computed, watch, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, withDirectives, toDisplayString, unref, withModifiers, normalizeClass, withCtx, Fragment, renderList, createTextVNode, vShow } from "vue";
2
- import { a as i18n, y as useLayoutConfig, G as GIcon, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, t as transformUrl, _ as _export_sfc } from "./index-BiWnren8.js";
2
+ import { a as i18n, y as useLayoutConfig, G as GIcon, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, t as transformUrl, _ as _export_sfc } from "./index-DA28_nab.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-D-MLvrzi.js";
4
+ import { t as transWebUrl } from "./transWebUrl-Dkwb_Npa.js";
5
5
  import { Input } from "vue-devui-lal/input";
6
6
  import { Skeleton } from "vue-devui-lal/skeleton";
7
7
  import { MenuItem } from "vue-devui-lal/menu";
@@ -1,5 +1,5 @@
1
1
  import { ref, inject, computed, withDirectives, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, vShow } from "vue";
2
- import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-BiWnren8.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-DA28_nab.js";
3
3
  import { useRoute, useRouter } from "vue-router";
4
4
  import "vue-devui-lal/icon";
5
5
  import "vue-devui-lal/icon/style.css";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, createElementBlock, openBlock, createCommentVNode, Fragment, renderList, normalizeClass, createElementVNode, createVNode, toDisplayString, withModifiers } from "vue";
2
- import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-BiWnren8.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-DA28_nab.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
5
  const _hoisted_1 = { class: "history-list" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createElementBlock, openBlock, createElementVNode, withDirectives, toDisplayString, withModifiers, createVNode, vShow } from "vue";
2
- import { G as GIcon, _ as _export_sfc } from "./index-BiWnren8.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-DA28_nab.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
5
  const _hoisted_1 = { class: "ellipsis" };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, inject, ref, onMounted, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, renderSlot, createBlock, createVNode, withCtx } from "vue";
2
- import { u as useReportRepo, S as SearchRepoCard } from "./index-B14l1zxW.js";
3
- import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-BiWnren8.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-CfIVby28.js";
3
+ import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-DA28_nab.js";
4
4
  import { Row, Col } from "vue-devui-lal/grid";
5
5
  import { SkeletonItem } from "vue-devui-lal/skeleton";
6
6
  import "vue-devui-lal/grid/style.css";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createElementBlock, openBlock, Fragment, renderList, createElementVNode, createVNode, createCommentVNode, toDisplayString, unref } from "vue";
2
- import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-BiWnren8.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-DA28_nab.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
5
  const _hoisted_1 = ["onClick"];
@@ -1,5 +1,5 @@
1
1
  import { inject, ref, watch, withDirectives, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, vShow } from "vue";
2
- import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-BiWnren8.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-DA28_nab.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
5
  const _hoisted_1 = { class: "px-[8px] history-list-project pl-[8px]" };
@@ -8,7 +8,7 @@ import { Message } from "vue-devui-lal/message";
8
8
  import "vue-devui-lal/message/style.css";
9
9
  import { FixedOverlay } from "vue-devui-lal/overlay";
10
10
  import "vue-devui-lal/overlay/style.css";
11
- import { a as i18n, k as usePageResize, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-BiWnren8.js";
11
+ import { a as i18n, k as usePageResize, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-DA28_nab.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  constructor() {
14
14
  __publicField(this, "ypRiddlerInstance", null);
@@ -1,7 +1,7 @@
1
1
  import { ref, watchEffect, defineComponent, toDisplayString, unref, mergeModels, useModel, watch, createElementBlock, openBlock, createVNode, withDirectives, normalizeClass, createElementVNode, vShow, inject, withModifiers, createBlock, Fragment, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, renderList, withCtx, reactive } from "vue";
2
2
  import debounce from "lodash/debounce";
3
- import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-BiWnren8.js";
4
- import { t as transWebUrl } from "./transWebUrl-D-MLvrzi.js";
3
+ import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-DA28_nab.js";
4
+ import { t as transWebUrl } from "./transWebUrl-Dkwb_Npa.js";
5
5
  import { useRouter } from "vue-router";
6
6
  import { Row, Col } from "vue-devui-lal/grid";
7
7
  import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
@@ -539,7 +539,7 @@ const LOGO_MAP = {
539
539
  aiLogoDark: "https://cdn-static.gitcode.com/static/images/gitcode-ai-logo-dark_atomgit.png"
540
540
  }
541
541
  };
542
- /*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */
542
+ /*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */
543
543
  const {
544
544
  entries,
545
545
  setPrototypeOf,
@@ -567,12 +567,18 @@ if (!seal) {
567
567
  };
568
568
  }
569
569
  if (!apply$1) {
570
- apply$1 = function apply2(fun, thisValue, args) {
571
- return fun.apply(thisValue, args);
570
+ apply$1 = function apply2(func, thisArg) {
571
+ for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
572
+ args[_key - 2] = arguments[_key];
573
+ }
574
+ return func.apply(thisArg, args);
572
575
  };
573
576
  }
574
577
  if (!construct) {
575
- construct = function construct2(Func, args) {
578
+ construct = function construct2(Func) {
579
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
580
+ args[_key2 - 1] = arguments[_key2];
581
+ }
576
582
  return new Func(...args);
577
583
  };
578
584
  }
@@ -595,18 +601,18 @@ function unapply(func) {
595
601
  if (thisArg instanceof RegExp) {
596
602
  thisArg.lastIndex = 0;
597
603
  }
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];
604
+ for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
605
+ args[_key3 - 1] = arguments[_key3];
600
606
  }
601
607
  return apply$1(func, thisArg, args);
602
608
  };
603
609
  }
604
- function unconstruct(func) {
610
+ function unconstruct(Func) {
605
611
  return function() {
606
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
607
- args[_key2] = arguments[_key2];
612
+ for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
613
+ args[_key4] = arguments[_key4];
608
614
  }
609
- return construct(func, args);
615
+ return construct(Func, args);
610
616
  };
611
617
  }
612
618
  function addToSet(set, array) {
@@ -673,15 +679,15 @@ function lookupGetter(object, prop) {
673
679
  }
674
680
  return fallbackValue;
675
681
  }
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"]);
682
+ 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", "search", "section", "select", "shadow", "slot", "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"]);
683
+ const svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
678
684
  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"]);
679
685
  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"]);
680
686
  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"]);
681
687
  const mathMlDisallowed = freeze(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
682
688
  const text = freeze(["#text"]);
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"]);
689
+ 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", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "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", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
690
+ 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", "mask-type", "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"]);
685
691
  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"]);
686
692
  const xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
687
693
  const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
@@ -690,7 +696,7 @@ const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm);
690
696
  const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);
691
697
  const ARIA_ATTR = seal(/^aria-[\-\w]+$/);
692
698
  const IS_ALLOWED_URI = seal(
693
- /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
699
+ /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
694
700
  // eslint-disable-line no-useless-escape
695
701
  );
696
702
  const IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i);
@@ -764,7 +770,7 @@ const _createHooksMap = function _createHooksMap2() {
764
770
  function createDOMPurify() {
765
771
  let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
766
772
  const DOMPurify = (root) => createDOMPurify(root);
767
- DOMPurify.version = "3.2.5";
773
+ DOMPurify.version = "3.3.0";
768
774
  DOMPurify.removed = [];
769
775
  if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
770
776
  DOMPurify.isSupported = false;
@@ -850,6 +856,20 @@ function createDOMPurify() {
850
856
  }));
851
857
  let FORBID_TAGS = null;
852
858
  let FORBID_ATTR = null;
859
+ const EXTRA_ELEMENT_HANDLING = Object.seal(create$1(null, {
860
+ tagCheck: {
861
+ writable: true,
862
+ configurable: false,
863
+ enumerable: true,
864
+ value: null
865
+ },
866
+ attributeCheck: {
867
+ writable: true,
868
+ configurable: false,
869
+ enumerable: true,
870
+ value: null
871
+ }
872
+ }));
853
873
  let ALLOW_ARIA_ATTR = true;
854
874
  let ALLOW_DATA_ATTR = true;
855
875
  let ALLOW_UNKNOWN_PROTOCOLS = false;
@@ -911,8 +931,8 @@ function createDOMPurify() {
911
931
  URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, "ADD_URI_SAFE_ATTR") ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
912
932
  DATA_URI_TAGS = objectHasOwnProperty(cfg, "ADD_DATA_URI_TAGS") ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
913
933
  FORBID_CONTENTS = objectHasOwnProperty(cfg, "FORBID_CONTENTS") ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
914
- FORBID_TAGS = objectHasOwnProperty(cfg, "FORBID_TAGS") ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};
915
- FORBID_ATTR = objectHasOwnProperty(cfg, "FORBID_ATTR") ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};
934
+ FORBID_TAGS = objectHasOwnProperty(cfg, "FORBID_TAGS") ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone({});
935
+ FORBID_ATTR = objectHasOwnProperty(cfg, "FORBID_ATTR") ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone({});
916
936
  USE_PROFILES = objectHasOwnProperty(cfg, "USE_PROFILES") ? cfg.USE_PROFILES : false;
917
937
  ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false;
918
938
  ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false;
@@ -973,16 +993,24 @@ function createDOMPurify() {
973
993
  }
974
994
  }
975
995
  if (cfg.ADD_TAGS) {
976
- if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
977
- ALLOWED_TAGS = clone(ALLOWED_TAGS);
996
+ if (typeof cfg.ADD_TAGS === "function") {
997
+ EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;
998
+ } else {
999
+ if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
1000
+ ALLOWED_TAGS = clone(ALLOWED_TAGS);
1001
+ }
1002
+ addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
978
1003
  }
979
- addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
980
1004
  }
981
1005
  if (cfg.ADD_ATTR) {
982
- if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
983
- ALLOWED_ATTR = clone(ALLOWED_ATTR);
1006
+ if (typeof cfg.ADD_ATTR === "function") {
1007
+ EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;
1008
+ } else {
1009
+ if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
1010
+ ALLOWED_ATTR = clone(ALLOWED_ATTR);
1011
+ }
1012
+ addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
984
1013
  }
985
- addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
986
1014
  }
987
1015
  if (cfg.ADD_URI_SAFE_ATTR) {
988
1016
  addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
@@ -1176,7 +1204,7 @@ function createDOMPurify() {
1176
1204
  tagName,
1177
1205
  allowedTags: ALLOWED_TAGS
1178
1206
  });
1179
- if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) {
1207
+ if (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) {
1180
1208
  _forceRemove(currentNode);
1181
1209
  return true;
1182
1210
  }
@@ -1188,7 +1216,7 @@ function createDOMPurify() {
1188
1216
  _forceRemove(currentNode);
1189
1217
  return true;
1190
1218
  }
1191
- if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
1219
+ if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName])) {
1192
1220
  if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
1193
1221
  if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
1194
1222
  return false;
@@ -1241,12 +1269,13 @@ function createDOMPurify() {
1241
1269
  }
1242
1270
  if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR2, lcName)) ;
1243
1271
  else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR2, lcName)) ;
1272
+ else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ;
1244
1273
  else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
1245
1274
  if (
1246
1275
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
1247
1276
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
1248
1277
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
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
1278
+ _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, lcTag)) || // Alternative, second condition checks if it's an `is`-attribute, AND
1250
1279
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
1251
1280
  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))
1252
1281
  ) ;
@@ -1289,7 +1318,8 @@ function createDOMPurify() {
1289
1318
  value: attrValue
1290
1319
  } = attr;
1291
1320
  const lcName = transformCaseFunc(name);
1292
- let value = name === "value" ? attrValue : stringTrim(attrValue);
1321
+ const initValue = attrValue;
1322
+ let value = name === "value" ? initValue : stringTrim(initValue);
1293
1323
  hookEvent.attrName = lcName;
1294
1324
  hookEvent.attrValue = value;
1295
1325
  hookEvent.keepAttr = true;
@@ -1300,15 +1330,19 @@ function createDOMPurify() {
1300
1330
  _removeAttribute(name, currentNode);
1301
1331
  value = SANITIZE_NAMED_PROPS_PREFIX + value;
1302
1332
  }
1303
- if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
1333
+ if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, value)) {
1334
+ _removeAttribute(name, currentNode);
1335
+ continue;
1336
+ }
1337
+ if (lcName === "attributename" && stringMatch(value, "href")) {
1304
1338
  _removeAttribute(name, currentNode);
1305
1339
  continue;
1306
1340
  }
1307
1341
  if (hookEvent.forceKeepAttr) {
1308
1342
  continue;
1309
1343
  }
1310
- _removeAttribute(name, currentNode);
1311
1344
  if (!hookEvent.keepAttr) {
1345
+ _removeAttribute(name, currentNode);
1312
1346
  continue;
1313
1347
  }
1314
1348
  if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\/>/i, value)) {
@@ -1322,6 +1356,7 @@ function createDOMPurify() {
1322
1356
  }
1323
1357
  const lcTag = transformCaseFunc(currentNode.nodeName);
1324
1358
  if (!_isValidAttribute(lcTag, lcName, value)) {
1359
+ _removeAttribute(name, currentNode);
1325
1360
  continue;
1326
1361
  }
1327
1362
  if (trustedTypesPolicy && typeof trustedTypes === "object" && typeof trustedTypes.getAttributeType === "function") {
@@ -1339,18 +1374,21 @@ function createDOMPurify() {
1339
1374
  }
1340
1375
  }
1341
1376
  }
1342
- try {
1343
- if (namespaceURI) {
1344
- currentNode.setAttributeNS(namespaceURI, name, value);
1345
- } else {
1346
- currentNode.setAttribute(name, value);
1347
- }
1348
- if (_isClobbered(currentNode)) {
1349
- _forceRemove(currentNode);
1350
- } else {
1351
- arrayPop(DOMPurify.removed);
1377
+ if (value !== initValue) {
1378
+ try {
1379
+ if (namespaceURI) {
1380
+ currentNode.setAttributeNS(namespaceURI, name, value);
1381
+ } else {
1382
+ currentNode.setAttribute(name, value);
1383
+ }
1384
+ if (_isClobbered(currentNode)) {
1385
+ _forceRemove(currentNode);
1386
+ } else {
1387
+ arrayPop(DOMPurify.removed);
1388
+ }
1389
+ } catch (_) {
1390
+ _removeAttribute(name, currentNode);
1352
1391
  }
1353
- } catch (_) {
1354
1392
  }
1355
1393
  }
1356
1394
  _executeHooks(hooks.afterSanitizeAttributes, currentNode, null);
@@ -11070,6 +11108,132 @@ const proxyService = (params, customConfigs) => {
11070
11108
  );
11071
11109
  return service(params);
11072
11110
  };
11111
+ const transformUrl = (url) => {
11112
+ var _a;
11113
+ if (!url) return url;
11114
+ if (url.startsWith("/") && !url.startsWith("//")) return url;
11115
+ if (typeof window !== "undefined" && typeof location !== "undefined") {
11116
+ if (url == null ? void 0 : url.startsWith("https://cdn-")) {
11117
+ return url;
11118
+ }
11119
+ if (url == null ? void 0 : url.includes("myhuaweicloud.com")) {
11120
+ return url;
11121
+ }
11122
+ const host = (_a = location.host) == null ? void 0 : _a.replace(/^ai\./, "");
11123
+ if (host.includes("gitcode.host")) {
11124
+ return url == null ? void 0 : url.replace(/gitcode\.com/g, host);
11125
+ }
11126
+ if (url == null ? void 0 : url.includes("test.gitcode.net")) {
11127
+ return url == null ? void 0 : url.replace(/test\.gitcode\.net/g, host);
11128
+ }
11129
+ try {
11130
+ const urlObj = new URL(url);
11131
+ if (urlObj.host === host) {
11132
+ return url;
11133
+ }
11134
+ } catch (error) {
11135
+ console.error("transformUrl: URL 解析失败", error);
11136
+ }
11137
+ return transformUrlWithSpecialPrefix({ url, host });
11138
+ }
11139
+ return url;
11140
+ };
11141
+ const transformUrlWithSpecialPrefix = ({ url, host }) => {
11142
+ const specialPrefix = ["-tianqi", "-ai", "-news", "-competition"];
11143
+ const isTestEnv = /^(test|local)\./i.test(host);
11144
+ const isPreEnv = /^(pre|loc-pre)\./i.test(host);
11145
+ const isNonProdEnv = isTestEnv || isPreEnv;
11146
+ if (!isNonProdEnv) {
11147
+ return url == null ? void 0 : url.replace(/gitcode\.com/g, host);
11148
+ }
11149
+ if (specialPrefix.some((prefix) => url == null ? void 0 : url.includes(prefix))) {
11150
+ try {
11151
+ const urlObj = new URL(url);
11152
+ const urlHost = urlObj.host;
11153
+ const specialPrefixMatch = specialPrefix.find((prefix) => urlHost.includes(prefix));
11154
+ if (specialPrefixMatch) {
11155
+ const prefixPart = urlHost.split(".")[0];
11156
+ const mainDomain = host.replace(/^(test|pre|local|loc-pre)\./, "");
11157
+ urlObj.host = `${prefixPart}.${mainDomain}`;
11158
+ return urlObj.toString();
11159
+ }
11160
+ } catch (error) {
11161
+ return url == null ? void 0 : url.replace(/gitcode\.com/g, host);
11162
+ }
11163
+ }
11164
+ return url == null ? void 0 : url.replace(/gitcode\.com/g, host);
11165
+ };
11166
+ const transformNewsUrl = (url) => {
11167
+ if (url.startsWith("/") && !url.startsWith("//")) return url;
11168
+ if (url.includes("-news.")) return url;
11169
+ let transformedUrl = transformUrl(url);
11170
+ if (typeof window !== "undefined" && typeof location !== "undefined") {
11171
+ const host = location.host;
11172
+ const isGitcodeHost = host.includes("gitcode");
11173
+ if (host.includes("gitcode.host")) {
11174
+ try {
11175
+ const urlObj = new URL(url);
11176
+ const pathAndQuery = urlObj.pathname + urlObj.search + urlObj.hash;
11177
+ return `https://news.${host}${pathAndQuery}`;
11178
+ } catch (error) {
11179
+ return transformedUrl;
11180
+ }
11181
+ }
11182
+ let needAppendPath = false;
11183
+ if (host === "local.atomgit.com" || host === "local.gitcode.net" || transformedUrl.includes("news.local.")) {
11184
+ transformedUrl = isGitcodeHost ? "https://test-news.gitcode.net" : "https://test-news.atomgit.com";
11185
+ needAppendPath = true;
11186
+ } else if (transformedUrl.includes("news.test.")) {
11187
+ transformedUrl = isGitcodeHost ? "https://test-news.gitcode.net" : "https://test-news.atomgit.com";
11188
+ needAppendPath = true;
11189
+ } else if (transformedUrl.includes("news.pre.")) {
11190
+ transformedUrl = isGitcodeHost ? "https://pre-news.gitcode.com" : "https://pre-news.atomgit.com";
11191
+ needAppendPath = true;
11192
+ }
11193
+ if (needAppendPath) {
11194
+ try {
11195
+ const originalUrlObj = new URL(url);
11196
+ const pathAndQuery = originalUrlObj.pathname + originalUrlObj.search + originalUrlObj.hash;
11197
+ if (pathAndQuery && pathAndQuery !== "/") {
11198
+ transformedUrl = transformedUrl + pathAndQuery;
11199
+ }
11200
+ } catch (error) {
11201
+ console.error("transformNewsUrl: URL 解析失败", error);
11202
+ }
11203
+ }
11204
+ }
11205
+ return transformedUrl;
11206
+ };
11207
+ const replaceHost = ({ url, customHost }) => {
11208
+ if (!url || !customHost) return url;
11209
+ try {
11210
+ const urlObj = new URL(url);
11211
+ let pureHost = customHost;
11212
+ if (customHost.includes("://")) {
11213
+ const customUrlObj = new URL(customHost);
11214
+ pureHost = customUrlObj.host;
11215
+ }
11216
+ urlObj.host = pureHost;
11217
+ return urlObj.toString();
11218
+ } catch (error) {
11219
+ return url;
11220
+ }
11221
+ };
11222
+ const getCurrentLogoMap = () => {
11223
+ if (typeof window === "undefined" || typeof location === "undefined") {
11224
+ console.warn("[getCurrentLogoMap] 在 SSR 环境中被调用,返回默认配置");
11225
+ return LOGO_MAP.gitcode;
11226
+ }
11227
+ const siteType = location.host.includes("atomgit") ? "atomgit" : "gitcode";
11228
+ return LOGO_MAP[siteType];
11229
+ };
11230
+ const isGitCodeHost = () => {
11231
+ if (typeof window === "undefined" || typeof location === "undefined") return false;
11232
+ return location.hostname.includes("gitcode");
11233
+ };
11234
+ const currentHelpDocsUrl = () => isGitCodeHost() ? HELP_DOCS_URL_GITCODE : HELP_DOCS_URL_ATOMGIT;
11235
+ const currentHelpDocsAboutUsUrl = () => isGitCodeHost() ? HELP_DOCS_URL_GITCODE + "/docs/help/home/aboutus/" : HELP_DOCS_URL_ATOMGIT + "/docs/help/home/aboutus/";
11236
+ const currentHelpDocsAiCommunityUrl = () => isGitCodeHost() ? HELP_DOCS_URL_GITCODE + "/docs/help/home/ai-community/" : HELP_DOCS_URL_ATOMGIT + "/docs/help/home/ai-community/";
11073
11237
  const _hoisted_1$w = { class: "home-nav-right" };
11074
11238
  const _hoisted_2$m = { class: "home-nav-item" };
11075
11239
  const _hoisted_3$l = { class: "tooltip-sign" };
@@ -11177,7 +11341,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
11177
11341
  emits("toggle-growth-center");
11178
11342
  };
11179
11343
  const handleInvite = () => {
11180
- window.open("https://gitcode.com/setting/points?type=invite", "_blank");
11344
+ const link = transformUrl("https://gitcode.com/setting/points?type=invite");
11345
+ window.open(link, "_blank");
11181
11346
  };
11182
11347
  const showDesk = () => {
11183
11348
  if (window.ud) {
@@ -12412,132 +12577,6 @@ if (isBrowser) {
12412
12577
  }
12413
12578
  const sessionStorage$1 = sessionStorage;
12414
12579
  const _imports_0 = "data:image/png;base64,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";
12415
- const transformUrl = (url) => {
12416
- var _a;
12417
- if (!url) return url;
12418
- if (url.startsWith("/") && !url.startsWith("//")) return url;
12419
- if (typeof window !== "undefined" && typeof location !== "undefined") {
12420
- if (url == null ? void 0 : url.startsWith("https://cdn-")) {
12421
- return url;
12422
- }
12423
- if (url == null ? void 0 : url.includes("myhuaweicloud.com")) {
12424
- return url;
12425
- }
12426
- const host = (_a = location.host) == null ? void 0 : _a.replace(/^ai\./, "");
12427
- if (host.includes("gitcode.host")) {
12428
- return url == null ? void 0 : url.replace(/gitcode\.com/g, host);
12429
- }
12430
- if (url == null ? void 0 : url.includes("test.gitcode.net")) {
12431
- return url == null ? void 0 : url.replace(/test\.gitcode\.net/g, host);
12432
- }
12433
- try {
12434
- const urlObj = new URL(url);
12435
- if (urlObj.host === host) {
12436
- return url;
12437
- }
12438
- } catch (error) {
12439
- console.error("transformUrl: URL 解析失败", error);
12440
- }
12441
- return transformUrlWithSpecialPrefix({ url, host });
12442
- }
12443
- return url;
12444
- };
12445
- const transformUrlWithSpecialPrefix = ({ url, host }) => {
12446
- const specialPrefix = ["-tianqi", "-ai", "-news", "-competition"];
12447
- const isTestEnv = /^(test|local)\./i.test(host);
12448
- const isPreEnv = /^(pre|loc-pre)\./i.test(host);
12449
- const isNonProdEnv = isTestEnv || isPreEnv;
12450
- if (!isNonProdEnv) {
12451
- return url == null ? void 0 : url.replace(/gitcode\.com/g, host);
12452
- }
12453
- if (specialPrefix.some((prefix) => url == null ? void 0 : url.includes(prefix))) {
12454
- try {
12455
- const urlObj = new URL(url);
12456
- const urlHost = urlObj.host;
12457
- const specialPrefixMatch = specialPrefix.find((prefix) => urlHost.includes(prefix));
12458
- if (specialPrefixMatch) {
12459
- const prefixPart = urlHost.split(".")[0];
12460
- const mainDomain = host.replace(/^(test|pre|local|loc-pre)\./, "");
12461
- urlObj.host = `${prefixPart}.${mainDomain}`;
12462
- return urlObj.toString();
12463
- }
12464
- } catch (error) {
12465
- return url == null ? void 0 : url.replace(/gitcode\.com/g, host);
12466
- }
12467
- }
12468
- return url == null ? void 0 : url.replace(/gitcode\.com/g, host);
12469
- };
12470
- const transformNewsUrl = (url) => {
12471
- if (url.startsWith("/") && !url.startsWith("//")) return url;
12472
- if (url.includes("-news.")) return url;
12473
- let transformedUrl = transformUrl(url);
12474
- if (typeof window !== "undefined" && typeof location !== "undefined") {
12475
- const host = location.host;
12476
- const isGitcodeHost = host.includes("gitcode");
12477
- if (host.includes("gitcode.host")) {
12478
- try {
12479
- const urlObj = new URL(url);
12480
- const pathAndQuery = urlObj.pathname + urlObj.search + urlObj.hash;
12481
- return `https://news.${host}${pathAndQuery}`;
12482
- } catch (error) {
12483
- return transformedUrl;
12484
- }
12485
- }
12486
- let needAppendPath = false;
12487
- if (host === "local.atomgit.com" || host === "local.gitcode.net" || transformedUrl.includes("news.local.")) {
12488
- transformedUrl = isGitcodeHost ? "https://test-news.gitcode.net" : "https://test-news.atomgit.com";
12489
- needAppendPath = true;
12490
- } else if (transformedUrl.includes("news.test.")) {
12491
- transformedUrl = isGitcodeHost ? "https://test-news.gitcode.net" : "https://test-news.atomgit.com";
12492
- needAppendPath = true;
12493
- } else if (transformedUrl.includes("news.pre.")) {
12494
- transformedUrl = isGitcodeHost ? "https://pre-news.gitcode.com" : "https://pre-news.atomgit.com";
12495
- needAppendPath = true;
12496
- }
12497
- if (needAppendPath) {
12498
- try {
12499
- const originalUrlObj = new URL(url);
12500
- const pathAndQuery = originalUrlObj.pathname + originalUrlObj.search + originalUrlObj.hash;
12501
- if (pathAndQuery && pathAndQuery !== "/") {
12502
- transformedUrl = transformedUrl + pathAndQuery;
12503
- }
12504
- } catch (error) {
12505
- console.error("transformNewsUrl: URL 解析失败", error);
12506
- }
12507
- }
12508
- }
12509
- return transformedUrl;
12510
- };
12511
- const replaceHost = ({ url, customHost }) => {
12512
- if (!url || !customHost) return url;
12513
- try {
12514
- const urlObj = new URL(url);
12515
- let pureHost = customHost;
12516
- if (customHost.includes("://")) {
12517
- const customUrlObj = new URL(customHost);
12518
- pureHost = customUrlObj.host;
12519
- }
12520
- urlObj.host = pureHost;
12521
- return urlObj.toString();
12522
- } catch (error) {
12523
- return url;
12524
- }
12525
- };
12526
- const getCurrentLogoMap = () => {
12527
- if (typeof window === "undefined" || typeof location === "undefined") {
12528
- console.warn("[getCurrentLogoMap] 在 SSR 环境中被调用,返回默认配置");
12529
- return LOGO_MAP.gitcode;
12530
- }
12531
- const siteType = location.host.includes("atomgit") ? "atomgit" : "gitcode";
12532
- return LOGO_MAP[siteType];
12533
- };
12534
- const isGitCodeHost = () => {
12535
- if (typeof window === "undefined" || typeof location === "undefined") return false;
12536
- return location.hostname.includes("gitcode");
12537
- };
12538
- const currentHelpDocsUrl = () => isGitCodeHost() ? HELP_DOCS_URL_GITCODE : HELP_DOCS_URL_ATOMGIT;
12539
- const currentHelpDocsAboutUsUrl = () => isGitCodeHost() ? HELP_DOCS_URL_GITCODE + "/docs/help/home/aboutus/" : HELP_DOCS_URL_ATOMGIT + "/docs/help/home/aboutus/";
12540
- const currentHelpDocsAiCommunityUrl = () => isGitCodeHost() ? HELP_DOCS_URL_GITCODE + "/docs/help/home/ai-community/" : HELP_DOCS_URL_ATOMGIT + "/docs/help/home/ai-community/";
12541
12580
  const _sfc_main$B = /* @__PURE__ */ defineComponent({
12542
12581
  ...{
12543
12582
  name: "GAvatar"
@@ -15759,15 +15798,11 @@ function requireCipherCore() {
15759
15798
  * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
15760
15799
  * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
15761
15800
  */
15762
- execute: function(password, keySize, ivSize, salt, hasher) {
15801
+ execute: function(password, keySize, ivSize, salt) {
15763
15802
  if (!salt) {
15764
15803
  salt = WordArray.random(64 / 8);
15765
15804
  }
15766
- if (!hasher) {
15767
- var key = EvpKDF.create({ keySize: keySize + ivSize }).compute(password, salt);
15768
- } else {
15769
- var key = EvpKDF.create({ keySize: keySize + ivSize, hasher }).compute(password, salt);
15770
- }
15805
+ var key = EvpKDF.create({ keySize: keySize + ivSize }).compute(password, salt);
15771
15806
  var iv = WordArray.create(key.words.slice(keySize), ivSize * 4);
15772
15807
  key.sigBytes = keySize * 4;
15773
15808
  return CipherParams.create({ key, iv, salt });
@@ -15801,7 +15836,7 @@ function requireCipherCore() {
15801
15836
  */
15802
15837
  encrypt: function(cipher, message, password, cfg) {
15803
15838
  cfg = this.cfg.extend(cfg);
15804
- var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, cfg.salt, cfg.hasher);
15839
+ var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize);
15805
15840
  cfg.iv = derivedParams.iv;
15806
15841
  var ciphertext = SerializableCipher.encrypt.call(this, cipher, message, derivedParams.key, cfg);
15807
15842
  ciphertext.mixIn(derivedParams);
@@ -15827,7 +15862,7 @@ function requireCipherCore() {
15827
15862
  decrypt: function(cipher, ciphertext, password, cfg) {
15828
15863
  cfg = this.cfg.extend(cfg);
15829
15864
  ciphertext = this._parse(ciphertext, cfg.format);
15830
- var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt, cfg.hasher);
15865
+ var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt);
15831
15866
  cfg.iv = derivedParams.iv;
15832
15867
  var plaintext = SerializableCipher.decrypt.call(this, cipher, ciphertext, derivedParams.key, cfg);
15833
15868
  return plaintext;
@@ -16790,7 +16825,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
16790
16825
  item.action();
16791
16826
  }
16792
16827
  if (item == null ? void 0 : item.link) {
16793
- const link = `${transformUrl(layoutConfig2.VITE_HOST)}${item.link}`;
16828
+ let link = "";
16829
+ if ((item == null ? void 0 : item.link) === "/setting") {
16830
+ link = `${layoutConfig2.VITE_HOST}/setting`;
16831
+ }
16832
+ link = `${transformUrl(layoutConfig2.VITE_HOST)}${item.link}`;
16794
16833
  emit("link-click");
16795
16834
  window.open(link, "_self");
16796
16835
  }
@@ -17212,13 +17251,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
17212
17251
  var _a;
17213
17252
  const layoutConfig2 = useLayoutConfig();
17214
17253
  const { t: $t } = i18n.global;
17215
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-ekmfo018.js"));
17216
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-BlV94GMN.js"));
17217
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DZvlk0oj.js"));
17218
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-BNaEyfCr.js"));
17219
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-D47vDru4.js"));
17220
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-BvFufnUh.js"));
17221
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BFKsXmH1.js"));
17254
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-Dh-HrHfE.js"));
17255
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-DoqY9xWw.js"));
17256
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CLGkvwud.js"));
17257
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-BM-JsOt3.js"));
17258
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-B1lD-Yfq.js"));
17259
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-eMoQEc4_.js"));
17260
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-D10ZeNUs.js"));
17222
17261
  const props = __props;
17223
17262
  const repoInfo = inject("repoInfo");
17224
17263
  const orgInfo = inject("orgInfo");
@@ -17959,7 +17998,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
17959
17998
  loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
17960
17999
  }
17961
18000
  };
17962
- const NoticeModal = defineAsyncComponent(() => import("./notice-Cy4JZT0O.js"));
18001
+ const NoticeModal = defineAsyncComponent(() => import("./notice-BWDs3h0g.js"));
17963
18002
  function clearNotice() {
17964
18003
  if (localStorage$2.getItem("validator_email")) {
17965
18004
  localStorage$2.removeItem("validator_email");
@@ -18762,9 +18801,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18762
18801
  const layoutConfig2 = useLayoutConfig();
18763
18802
  const { t: t2 } = i18n.global;
18764
18803
  const route = useRoute();
18765
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-BqcPovSb.js"));
18766
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-BXHKvJpR.js"));
18767
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-eEmKYXv7.js"));
18804
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-DAZus3jl.js"));
18805
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-DFD0fuuJ.js"));
18806
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-DaBBRDc8.js"));
18768
18807
  const props = __props;
18769
18808
  console.log("slotKeys", props.slotKeys);
18770
18809
  console.log("props", props);
@@ -24609,7 +24648,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
24609
24648
  }
24610
24649
  });
24611
24650
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
24612
- const SlidCaptcha = defineAsyncComponent(() => import("./index-VnV9_L78.js"));
24651
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-T4Z5OkVh.js"));
24613
24652
  const useSlidCaptcha = () => {
24614
24653
  const { mount, unMount } = usePopup("slid-captcha-popup");
24615
24654
  const open = (config) => {
@@ -24628,7 +24667,7 @@ const useSlidCaptcha = () => {
24628
24667
  close: unMount
24629
24668
  };
24630
24669
  };
24631
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-BPy8zOU4.js"));
24670
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-CIU_9hcx.js"));
24632
24671
  const useYunpianCaptcha = () => {
24633
24672
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
24634
24673
  const open = (config) => {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, onMounted, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
2
- import { x as getLocaleLang, L as LANG_ZH, y as useLayoutConfig, _ as _export_sfc } from "./index-BiWnren8.js";
2
+ import { x as getLocaleLang, L as LANG_ZH, y as useLayoutConfig, _ as _export_sfc } from "./index-DA28_nab.js";
3
3
  import { FixedOverlay } from "vue-devui-lal/overlay";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const TARGET_TEXT = "Click in order:";
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M, N, Q, K, S, J, A, V, P, U, O } from "./index-BiWnren8.js";
1
+ import { M, N, Q, K, S, J, A, V, P, U, O } from "./index-DA28_nab.js";
2
2
  export {
3
3
  M as GitCodeAside,
4
4
  N as GitCodeHeader,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, createBlock, openBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
2
- import { i as isPhone, u as useModel } from "./index-BiWnren8.js";
2
+ import { i as isPhone, u as useModel } from "./index-DA28_nab.js";
3
3
  import { Notification } from "vue-devui-lal/notification";
4
4
  import { Button } from "vue-devui-lal/button";
5
5
  import "vue-devui-lal/notification/style.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-layout-gitcode",
3
- "version": "1.9.38",
3
+ "version": "1.9.40",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",
@@ -10,4 +10,4 @@
10
10
  },
11
11
  "author": "lal,nevins",
12
12
  "license": "ISC"
13
- }
13
+ }
@@ -1,4 +1,4 @@
1
- import { y as useLayoutConfig } from "./index-BiWnren8.js";
1
+ import { y as useLayoutConfig } from "./index-DA28_nab.js";
2
2
  const layoutConfig = useLayoutConfig();
3
3
  const transWebUrl = (url, params) => {
4
4
  if (!url) return url;