vue-layout-gitcode 1.12.54 → 1.12.56-multiple-account

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.
@@ -10023,25 +10023,25 @@ const currentHelpDocsAiCommunityUrl = () => {
10023
10023
  const baseUrl = isGitCodeHost() ? HELP_DOCS_URL_GITCODE + "/docs/help/home/ai-community/" : HELP_DOCS_URL_ATOMGIT + "/docs/help/home/ai-community/";
10024
10024
  return appendLangPathToHelpDocsUrl(baseUrl);
10025
10025
  };
10026
- const _hoisted_1$J = { class: "gitcode-tools-float-root home-nav-right" };
10027
- const _hoisted_2$x = { class: "float-tooltip" };
10028
- const _hoisted_3$v = { class: "float-tooltip-content" };
10029
- const _hoisted_4$o = {
10026
+ const _hoisted_1$K = { class: "gitcode-tools-float-root home-nav-right" };
10027
+ const _hoisted_2$y = { class: "float-tooltip" };
10028
+ const _hoisted_3$w = { class: "float-tooltip-content" };
10029
+ const _hoisted_4$p = {
10030
10030
  key: 0,
10031
10031
  class: "tools-float-bar"
10032
10032
  };
10033
- const _hoisted_5$j = { class: "float-tooltip" };
10034
- const _hoisted_6$h = { class: "float-tooltip-content" };
10035
- const _hoisted_7$e = { class: "float-tooltip" };
10036
- const _hoisted_8$c = { class: "float-tooltip-content" };
10037
- const _hoisted_9$b = { class: "float-tooltip" };
10038
- const _hoisted_10$a = { class: "float-tooltip-content" };
10039
- const _hoisted_11$8 = { class: "float-tooltip" };
10033
+ const _hoisted_5$k = { class: "float-tooltip" };
10034
+ const _hoisted_6$i = { class: "float-tooltip-content" };
10035
+ const _hoisted_7$f = { class: "float-tooltip" };
10036
+ const _hoisted_8$d = { class: "float-tooltip-content" };
10037
+ const _hoisted_9$c = { class: "float-tooltip" };
10038
+ const _hoisted_10$b = { class: "float-tooltip-content" };
10039
+ const _hoisted_11$9 = { class: "float-tooltip" };
10040
10040
  const _hoisted_12$8 = { class: "float-tooltip-content" };
10041
10041
  const _hoisted_13$6 = { class: "float-tooltip" };
10042
10042
  const _hoisted_14$3 = { class: "float-tooltip-content" };
10043
10043
  const _hoisted_15$3 = ["src", "alt"];
10044
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
10044
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
10045
10045
  ...{ name: "ToolsFloat" },
10046
10046
  __name: "index",
10047
10047
  props: {
@@ -10240,7 +10240,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
10240
10240
  window.removeEventListener("scroll", handleScroll);
10241
10241
  });
10242
10242
  return (_ctx, _cache) => {
10243
- return openBlock(), createElementBlock("div", _hoisted_1$J, [
10243
+ return openBlock(), createElementBlock("div", _hoisted_1$K, [
10244
10244
  createVNode(Transition, { name: "tools-float-fade" }, {
10245
10245
  default: withCtx(() => [
10246
10246
  showScrollToTopBtn.value ? (openBlock(), createElementBlock("div", {
@@ -10270,15 +10270,15 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
10270
10270
  })
10271
10271
  ])
10272
10272
  ], -1)),
10273
- createElementVNode("div", _hoisted_2$x, [
10274
- createElementVNode("span", _hoisted_3$v, toDisplayString$1(unref(t2)("gitCodeLayout.toolsFloat.backToTop")), 1),
10273
+ createElementVNode("div", _hoisted_2$y, [
10274
+ createElementVNode("span", _hoisted_3$w, toDisplayString$1(unref(t2)("gitCodeLayout.toolsFloat.backToTop")), 1),
10275
10275
  _cache[3] || (_cache[3] = createElementVNode("span", { class: "float-tooltip-arrow" }, null, -1))
10276
10276
  ])
10277
10277
  ], 2)) : createCommentVNode("", true)
10278
10278
  ]),
10279
10279
  _: 1
10280
10280
  }),
10281
- !isCollapsed.value ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
10281
+ !isCollapsed.value ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
10282
10282
  isModuleVisible(unref(ToolsFloatDisplayItem).GROWTH_CENTER) ? (openBlock(), createElementBlock("div", {
10283
10283
  key: 0,
10284
10284
  id: "guide-step4",
@@ -10286,8 +10286,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
10286
10286
  onClick: toggleGrowthCenter
10287
10287
  }, [
10288
10288
  _cache[6] || (_cache[6] = createStaticVNode('<div class="tools-float-item__icon" data-v-vue-layout-gitcode><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg" data-v-vue-layout-gitcode><g transform="translate(1, 0.26)" data-v-vue-layout-gitcode><path d="M6.37369 9.73359H7.67369V12.7336H6.37371L6.37369 9.73359Z" data-v-vue-layout-gitcode></path><path d="M9.8064 4.18587L8.34306 5.28613L8.88219 7.02454C8.88219 7.03555 8.89319 7.05755 8.89319 7.06855C8.89319 7.12357 8.87118 7.16758 8.82717 7.20058C8.79416 7.22259 8.76116 7.23359 8.72815 7.23359C8.69514 7.23359 8.66213 7.22259 8.64013 7.20058L7.12177 6.17734L5.61441 7.22259C5.5594 7.2666 5.48238 7.2666 5.42737 7.22259C5.38336 7.17858 5.36135 7.13457 5.36135 7.07956C5.36135 7.05755 5.36135 7.04655 5.37235 7.02454L5.90048 5.28613L4.43713 4.18587C4.38212 4.14186 4.36011 4.06484 4.38212 3.99883C4.40413 3.93281 4.47014 3.8888 4.53616 3.8888L6.37359 3.85579L6.97873 2.12838C7.00074 2.06237 7.06676 2.01836 7.13277 2.01836C7.19879 2.01836 7.2648 2.06237 7.28681 2.12838L7.89195 3.85579L9.72939 3.8888C10.7954 3.8888 10.8614 3.93281 10.8834 3.99883C10.8834 4.06484 10.8614 4.14186 10.8064 4.18587Z" data-v-vue-layout-gitcode></path><path d="M2.32766 2.22724V3.17963C2.26417 3.16693 2.18798 3.15423 2.11179 3.15423C2.0229 3.15423 1.94671 3.15423 1.87052 3.17963C1.10861 3.3701 0.727662 4.48756 1.01973 5.60502C2.2483 6.50661 1.88322 7.19232 2.53084 7.33201C2.53084 7.30661 2.87369 8.24629 2.87369 8.2209C2.8229 8.23359 2.75941 8.23359 2.70861 8.23359C1.60385 8.23359 0.511789 7.25582 0.130837 5.83359C-0.300909 4.2082 0.372107 2.6082 1.61655 2.27804C1.78163 2.23994 1.94671 2.21455 2.11179 2.21455C2.17528 2.21455 2.25147 2.21455 2.32766 2.22724Z" data-v-vue-layout-gitcode></path><path d="M11.6769 2.24629V3.19867C11.7403 3.18597 11.8165 3.17328 11.8927 3.17328C11.9816 3.17328 12.0578 3.17328 13.134 3.19867C12.8959 3.38915 13.2769 4.50661 12.9848 5.62407C12.7562 6.52566 12.1213 7.21137 12.4737 7.35105C12.4737 7.32566 11.1308 8.26534 11.1308 8.23994C11.1816 8.25264 11.2451 8.25264 11.2959 8.25264C12.4007 8.25264 13.4927 7.27486 14.8737 5.85264C14.3054 4.22724 13.6324 2.62724 12.388 2.29709C12.2229 2.25899 12.0578 2.23359 11.8927 2.23359C11.8292 2.23359 11.753 2.23359 11.6769 2.24629Z" data-v-vue-layout-gitcode></path><path d="M7.00412 10.236C6.20909 10.236 5.41406 10.0373 4.7184 9.73913C3.12834 9.24225 2.23393 7.75155 2.23393 6.06211V0.695656C2.23393 0.298125 2.53206 0 2.92959 0H11.178C11.5755 0 11.8737 0.298125 11.8737 0.695656V6.06211C11.8737 7.65217 10.8799 9.14286 9.38921 9.73914C8.59418 10.1366 7.79915 10.236 7.00412 10.236ZM3.22771 0.993781V6.06211C3.22771 7.25466 3.92337 8.34783 5.11592 8.84472C6.40785 9.34161 7.79915 9.34161 8.9917 8.84472C10.0849 8.34783 10.8799 7.25466 10.8799 6.06211V0.993781H3.22771Z" data-v-vue-layout-gitcode></path><path fill-rule="evenodd" clip-rule="evenodd" d="M9.191 13.4781H4.88525L4.71859 14.4781H9.35766L9.191 13.4781ZM4.88525 12.4781H9.191C9.67984 12.4781 10.097 12.8315 10.1774 13.3137L10.3441 14.3137C10.4456 14.9233 9.9756 15.4781 9.35766 15.4781H4.71859C4.10065 15.4781 3.6306 14.9233 3.73219 14.3137L3.89886 13.3137C3.97922 12.8315 4.39641 12.4781 4.88525 12.4781Z" data-v-vue-layout-gitcode></path></g></svg></div>', 1)),
10289
- createElementVNode("div", _hoisted_5$j, [
10290
- createElementVNode("span", _hoisted_6$h, toDisplayString$1(growthCenterTooltip.value), 1),
10289
+ createElementVNode("div", _hoisted_5$k, [
10290
+ createElementVNode("span", _hoisted_6$i, toDisplayString$1(growthCenterTooltip.value), 1),
10291
10291
  _cache[5] || (_cache[5] = createElementVNode("span", { class: "float-tooltip-arrow" }, null, -1))
10292
10292
  ])
10293
10293
  ])) : createCommentVNode("", true),
@@ -10297,8 +10297,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
10297
10297
  onClick: handleInvite
10298
10298
  }, [
10299
10299
  _cache[8] || (_cache[8] = createStaticVNode('<div class="tools-float-item__icon" data-v-vue-layout-gitcode><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-vue-layout-gitcode><path d="M5.76106 0.835284V0.836261C6.72931 0.885228 7.49934 1.6864 7.49934 2.66732V4.49935H5.66731L5.56282 4.49642C4.68866 4.44778 3.97761 3.7865 3.85286 2.93489L3.83625 2.76107L3.83333 2.66732C3.83333 1.65629 4.65197 0.835756 5.66243 0.833331L5.76106 0.835284Z" stroke="currentColor" data-v-vue-layout-gitcode></path><path d="M10.2389 0.835284V0.836261C9.27067 0.885228 8.50064 1.6864 8.50064 2.66732V4.49935H10.3327L10.4372 4.49642C11.3113 4.44778 12.0224 3.7865 12.1471 2.93489L12.1637 2.76107L12.1667 2.66732C12.1667 1.65629 11.348 0.835756 10.3375 0.833331L10.2389 0.835284Z" stroke="currentColor" data-v-vue-layout-gitcode></path><path d="M2.50039 7.52441L2.02578 7.50098L1.90957 7.49512C1.49211 7.45034 1.16657 7.09627 1.16641 6.66699V5.33301L1.17031 5.24805C1.21307 4.82811 1.56865 4.5 2.00039 4.5H14.0004C14.4604 4.50019 14.8332 4.87305 14.8334 5.33301V6.66699L14.8295 6.74707C14.7918 7.14014 14.4809 7.4537 14.0893 7.49512L13.975 7.50098L13.5004 7.52441V14.333C13.5004 14.7932 13.1266 15.167 12.6664 15.167H3.3334C2.87364 15.167 2.50039 14.7937 2.50039 14.333V7.52441Z" stroke="currentColor" data-v-vue-layout-gitcode></path><rect x="5.25" y="12.25" width="5.5" height="0.5" rx="0.25" stroke="currentColor" stroke-width="0.5" stroke-linejoin="round" data-v-vue-layout-gitcode></rect><rect x="2.25" y="7.25" width="11.5" height="0.5" stroke="currentColor" stroke-width="0.5" data-v-vue-layout-gitcode></rect></svg></div>', 1)),
10300
- createElementVNode("div", _hoisted_7$e, [
10301
- createElementVNode("span", _hoisted_8$c, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1),
10300
+ createElementVNode("div", _hoisted_7$f, [
10301
+ createElementVNode("span", _hoisted_8$d, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1),
10302
10302
  _cache[7] || (_cache[7] = createElementVNode("span", { class: "float-tooltip-arrow" }, null, -1))
10303
10303
  ])
10304
10304
  ])) : createCommentVNode("", true),
@@ -10319,8 +10319,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
10319
10319
  createElementVNode("path", { d: "M14.6182 12.3893H12.2961C12.0184 12.3893 11.7934 12.1643 11.7934 11.8865L11.7881 5.96621C11.7564 3.89551 10.0742 2.31523 8 2.30469C5.92578 2.31523 4.24355 3.89551 4.21016 5.96621L4.20664 11.1025C4.20664 11.1025 4.85527 13.342 6.40039 13.0818C6.51816 12.6898 6.93301 12.5422 7.2002 12.5422H8.82793C9.3834 12.5422 9.8334 12.9922 9.8334 13.5477V13.8623C9.8334 14.4178 9.3834 14.8678 8.82793 14.8678H7.33027C6.90488 14.8678 6.54277 14.6006 6.39512 14.2262C6.37051 14.2121 6.17012 14.2297 5.97324 14.1875C4.44922 13.6426 3.78125 12.3822 3.78125 12.3822C3.75488 12.3875 3.72852 12.391 3.70215 12.391H1.38184C1.1041 12.391 0.879102 12.166 0.879102 11.8883V6.73437C0.879102 6.45664 1.1041 6.23164 1.38184 6.23164H3.04121C3.04121 5.80625 3.03945 5.96445 3.03945 5.96445C3.09922 1.1498 7.91738 1.13398 7.91738 1.13398C7.95605 1.13223 8.0457 1.13223 8.08262 1.13398C8.08262 1.13398 12.9008 1.15156 12.9605 5.96445C12.9605 5.96445 12.9605 5.80449 12.9588 6.23164H14.6182C14.8959 6.23164 15.1209 6.45664 15.1209 6.73437V11.8865C15.1209 12.1643 14.8959 12.3893 14.6182 12.3893ZM3.14492 7.70469C3.14492 7.53418 3.05352 7.39531 2.94102 7.39531H2.0832C1.9707 7.39531 1.8793 7.53418 1.8793 7.70469V10.8775C1.8793 11.0498 1.9707 11.1869 2.0832 11.1869H2.94102C3.05352 11.1869 3.14492 11.048 3.14492 10.8775V7.70469ZM14.1207 7.70469C14.1207 7.53418 14.0293 7.39531 13.9168 7.39531H13.0607C12.9482 7.39531 12.8551 7.53418 12.8551 7.70469V10.8775C12.8551 11.0498 12.9482 11.1869 13.0607 11.1869H13.9168C14.0293 11.1869 14.1207 11.048 14.1207 10.8775V7.70469Z" })
10320
10320
  ])
10321
10321
  ], -1)),
10322
- createElementVNode("div", _hoisted_9$b, [
10323
- createElementVNode("span", _hoisted_10$a, toDisplayString$1(unref(t2)("gitCodeLayout.home.userFeedback01")), 1),
10322
+ createElementVNode("div", _hoisted_9$c, [
10323
+ createElementVNode("span", _hoisted_10$b, toDisplayString$1(unref(t2)("gitCodeLayout.home.userFeedback01")), 1),
10324
10324
  _cache[9] || (_cache[9] = createElementVNode("span", { class: "float-tooltip-arrow" }, null, -1))
10325
10325
  ])
10326
10326
  ])) : createCommentVNode("", true),
@@ -10344,7 +10344,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
10344
10344
  })
10345
10345
  ])
10346
10346
  ], -1)),
10347
- createElementVNode("div", _hoisted_11$8, [
10347
+ createElementVNode("div", _hoisted_11$9, [
10348
10348
  createElementVNode("span", _hoisted_12$8, toDisplayString$1(unref(t2)("gitCodeLayout.toolsFloat.collapse")), 1),
10349
10349
  _cache[11] || (_cache[11] = createElementVNode("span", { class: "float-tooltip-arrow" }, null, -1))
10350
10350
  ])
@@ -10400,7 +10400,7 @@ const _export_sfc = (sfc, props) => {
10400
10400
  }
10401
10401
  return target;
10402
10402
  };
10403
- const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-vue-layout-gitcode"]]);
10403
+ const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-vue-layout-gitcode"]]);
10404
10404
  var repoTypeEnum = /* @__PURE__ */ ((repoTypeEnum2) => {
10405
10405
  repoTypeEnum2["NORMAL"] = "0";
10406
10406
  repoTypeEnum2["MODEL"] = "1";
@@ -10543,9 +10543,9 @@ const collectRegisterLoginEvent = ({ isRegister, registerLoginMethod, success, e
10543
10543
  delete reportData["utm_source"];
10544
10544
  window.collectEvent("beconEvent", isRegister ? "register" : "login", reportData);
10545
10545
  };
10546
- const _hoisted_1$I = ["xlink:href"];
10547
- const _hoisted_2$w = ["xlink:href"];
10548
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
10546
+ const _hoisted_1$J = ["xlink:href"];
10547
+ const _hoisted_2$x = ["xlink:href"];
10548
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
10549
10549
  __name: "index",
10550
10550
  props: {
10551
10551
  name: { default: "gt-run" },
@@ -10574,7 +10574,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
10574
10574
  }, [
10575
10575
  createElementVNode("use", {
10576
10576
  "xlink:href": `#${__props.name}`
10577
- }, null, 8, _hoisted_1$I)
10577
+ }, null, 8, _hoisted_1$J)
10578
10578
  ], 6)),
10579
10579
  renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
10580
10580
  ], 2)) : (openBlock(), createElementBlock("svg", {
@@ -10585,14 +10585,14 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
10585
10585
  }, [
10586
10586
  createElementVNode("use", {
10587
10587
  "xlink:href": `#${__props.name}`
10588
- }, null, 8, _hoisted_2$w)
10588
+ }, null, 8, _hoisted_2$x)
10589
10589
  ], 6));
10590
10590
  };
10591
10591
  }
10592
10592
  });
10593
- const GIcon = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-vue-layout-gitcode"]]);
10594
- const _hoisted_1$H = ["href", "target", "disabled"];
10595
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
10593
+ const GIcon = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-vue-layout-gitcode"]]);
10594
+ const _hoisted_1$I = ["href", "target", "disabled"];
10595
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
10596
10596
  ...{
10597
10597
  name: "GLink"
10598
10598
  },
@@ -10637,11 +10637,11 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
10637
10637
  disabled: __props.disabled || __props.noPointer
10638
10638
  }, [
10639
10639
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
10640
- ], 10, _hoisted_1$H));
10640
+ ], 10, _hoisted_1$I));
10641
10641
  };
10642
10642
  }
10643
10643
  });
10644
- const GLink = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-vue-layout-gitcode"]]);
10644
+ const GLink = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-vue-layout-gitcode"]]);
10645
10645
  const headerHeight = ref(56);
10646
10646
  const useHeaderHeight = () => {
10647
10647
  const setHeaderHeight = (height) => {
@@ -11274,7 +11274,7 @@ if (isBrowser) {
11274
11274
  }
11275
11275
  const sessionStorage$1 = sessionStorage;
11276
11276
  const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAmsSURBVHgB7VpdbxxnFT7nfccmRam6/gXZXIBy1y3qRe8YR6kUoUpdbhACJNtShFJUSCyBBFd2I1ClAoklVAE32BY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FTkSuQmCC";
11277
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
11277
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
11278
11278
  ...{
11279
11279
  name: "GAvatar"
11280
11280
  },
@@ -11320,8 +11320,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
11320
11320
  };
11321
11321
  }
11322
11322
  });
11323
- const _hoisted_1$G = ["src"];
11324
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
11323
+ const _hoisted_1$H = ["src"];
11324
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
11325
11325
  ...{ name: "FlashTag" },
11326
11326
  __name: "FlashTag",
11327
11327
  props: {
@@ -11366,7 +11366,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
11366
11366
  key: 0,
11367
11367
  class: "gc-flash-tag__icon",
11368
11368
  src: iconUrl.value
11369
- }, null, 8, _hoisted_1$G)) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1)
11369
+ }, null, 8, _hoisted_1$H)) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1)
11370
11370
  ], 16)
11371
11371
  ]),
11372
11372
  _: 3
@@ -14142,36 +14142,36 @@ const useTimeFormat = () => {
14142
14142
  formatTime
14143
14143
  };
14144
14144
  };
14145
- const _hoisted_1$F = {
14145
+ const _hoisted_1$G = {
14146
14146
  key: 0,
14147
14147
  class: "org-layout-toolbar"
14148
14148
  };
14149
- const _hoisted_2$v = { class: "org-layout-toolbar-title ellipsis-two-line" };
14150
- const _hoisted_3$u = { class: "org-layout-toolbar-name" };
14151
- const _hoisted_4$n = { class: "header-custom-btn-label" };
14152
- const _hoisted_5$i = { class: "g-repo-breadcrumb-custom" };
14153
- const _hoisted_6$g = {
14149
+ const _hoisted_2$w = { class: "org-layout-toolbar-title ellipsis-two-line" };
14150
+ const _hoisted_3$v = { class: "org-layout-toolbar-name" };
14151
+ const _hoisted_4$o = { class: "header-custom-btn-label" };
14152
+ const _hoisted_5$j = { class: "g-repo-breadcrumb-custom" };
14153
+ const _hoisted_6$h = {
14154
14154
  key: 1,
14155
14155
  class: "header-custom-mirrors-avatar"
14156
14156
  };
14157
- const _hoisted_7$d = {
14157
+ const _hoisted_7$e = {
14158
14158
  key: 0,
14159
14159
  src: _imports_0,
14160
14160
  alt: "mirrors-avatar-phone",
14161
14161
  class: "header-custom-mirrors-img"
14162
14162
  };
14163
- const _hoisted_8$b = {
14163
+ const _hoisted_8$c = {
14164
14164
  key: 1,
14165
14165
  src: "https://cdn-static.gitcode.com/static/images/mirrors-avata_20250411.gif",
14166
14166
  alt: "mirrors-avatar",
14167
14167
  class: "header-custom-mirrors-img-tall"
14168
14168
  };
14169
- const _hoisted_9$a = { class: "g-repo-breadcrumb-container" };
14170
- const _hoisted_10$9 = {
14169
+ const _hoisted_9$b = { class: "g-repo-breadcrumb-container" };
14170
+ const _hoisted_10$a = {
14171
14171
  key: 0,
14172
14172
  class: "header-custom-breadcrumb-row"
14173
14173
  };
14174
- const _hoisted_11$7 = ["title"];
14174
+ const _hoisted_11$8 = ["title"];
14175
14175
  const _hoisted_12$7 = ["title"];
14176
14176
  const _hoisted_13$5 = {
14177
14177
  key: 0,
@@ -14202,7 +14202,7 @@ const _hoisted_21$2 = {
14202
14202
  };
14203
14203
  const _hoisted_22$2 = { class: "user-layout-toolbar-title ellipsis-two-line" };
14204
14204
  const _hoisted_23$2 = { class: "header-custom-btn-label" };
14205
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
14205
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
14206
14206
  __name: "HeaderCustom",
14207
14207
  props: {
14208
14208
  scene: { default: SceneValue.home },
@@ -14377,7 +14377,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14377
14377
  });
14378
14378
  return (_ctx, _cache) => {
14379
14379
  var _a, _b, _c;
14380
- return __props.scene === unref(SceneValue).org && !__props.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
14380
+ return __props.scene === unref(SceneValue).org && !__props.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
14381
14381
  createVNode(GLink, {
14382
14382
  href: ((_a = __props.orgProps) == null ? void 0 : _a.orgHomepageUrl) || "",
14383
14383
  class: "header-custom-link"
@@ -14385,7 +14385,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14385
14385
  default: withCtx(() => {
14386
14386
  var _a2, _b2, _c2;
14387
14387
  return [
14388
- createVNode(_sfc_main$N, {
14388
+ createVNode(_sfc_main$O, {
14389
14389
  class: "g-border",
14390
14390
  src: ((_a2 = unref(orgInfo)) == null ? void 0 : _a2.avatar) || "",
14391
14391
  name: ((_b2 = unref(orgInfo)) == null ? void 0 : _b2.name) || "",
@@ -14393,8 +14393,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14393
14393
  height: 28,
14394
14394
  is_round: false
14395
14395
  }, null, 8, ["src", "name"]),
14396
- createElementVNode("div", _hoisted_2$v, [
14397
- createElementVNode("span", _hoisted_3$u, toDisplayString$1((_c2 = unref(orgInfo)) == null ? void 0 : _c2.name), 1)
14396
+ createElementVNode("div", _hoisted_2$w, [
14397
+ createElementVNode("span", _hoisted_3$v, toDisplayString$1((_c2 = unref(orgInfo)) == null ? void 0 : _c2.name), 1)
14398
14398
  ]),
14399
14399
  orgEnterpriseId.value ? (openBlock(), createBlock(unref(Tooltip), {
14400
14400
  key: 0,
@@ -14429,7 +14429,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14429
14429
  default: withCtx(() => {
14430
14430
  var _a2;
14431
14431
  return [
14432
- createElementVNode("span", _hoisted_4$n, toDisplayString$1(((_a2 = __props.orgProps) == null ? void 0 : _a2.isOrgFollow) ? unref(t2)("gitCodeLayout.home.alreadyFollowed") : unref(t2)("gitCodeLayout.home.focusOn")), 1)
14432
+ createElementVNode("span", _hoisted_4$o, toDisplayString$1(((_a2 = __props.orgProps) == null ? void 0 : _a2.isOrgFollow) ? unref(t2)("gitCodeLayout.home.alreadyFollowed") : unref(t2)("gitCodeLayout.home.focusOn")), 1)
14433
14433
  ];
14434
14434
  }),
14435
14435
  _: 1
@@ -14451,7 +14451,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14451
14451
  default: withCtx(() => {
14452
14452
  var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k;
14453
14453
  return [
14454
- createElementVNode("h2", _hoisted_5$i, [
14454
+ createElementVNode("h2", _hoisted_5$j, [
14455
14455
  createVNode(GLink, {
14456
14456
  href: (_a2 = unref(breadcrumb)[0]) == null ? void 0 : _a2.path,
14457
14457
  class: "header-custom-avatar-link"
@@ -14459,7 +14459,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14459
14459
  default: withCtx(() => {
14460
14460
  var _a3, _b3, _c3, _d2;
14461
14461
  return [
14462
- !((_a3 = __props.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$N, {
14462
+ !((_a3 = __props.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$O, {
14463
14463
  key: 0,
14464
14464
  class: normalizeClass({ "g-border": isOrg.value }),
14465
14465
  src: ((_c3 = (_b3 = unref(repoInfo)) == null ? void 0 : _b3.namespace) == null ? void 0 : _c3.avatar_url) || "",
@@ -14467,14 +14467,14 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14467
14467
  width: 28,
14468
14468
  height: 28,
14469
14469
  is_round: !isOrg.value
14470
- }, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_6$g, [
14471
- unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_7$d)) : (openBlock(), createElementBlock("img", _hoisted_8$b))
14470
+ }, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_6$h, [
14471
+ unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_7$e)) : (openBlock(), createElementBlock("img", _hoisted_8$c))
14472
14472
  ]))
14473
14473
  ];
14474
14474
  }),
14475
14475
  _: 1
14476
14476
  }, 8, ["href"]),
14477
- createElementVNode("div", _hoisted_9$a, [
14477
+ createElementVNode("div", _hoisted_9$b, [
14478
14478
  !((_b2 = __props.repoProps) == null ? void 0 : _b2.isGhMirrors) ? (openBlock(), createElementBlock("div", {
14479
14479
  key: 0,
14480
14480
  ref_key: "breadcrumbRef",
@@ -14485,7 +14485,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14485
14485
  return openBlock(), createElementBlock(Fragment, {
14486
14486
  key: item.path
14487
14487
  }, [
14488
- index2 !== unref(breadcrumb).length - 1 ? (openBlock(), createElementBlock("span", _hoisted_10$9, [
14488
+ index2 !== unref(breadcrumb).length - 1 ? (openBlock(), createElementBlock("span", _hoisted_10$a, [
14489
14489
  createVNode(GLink, {
14490
14490
  class: "linkTx",
14491
14491
  href: item.path
@@ -14497,7 +14497,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14497
14497
  ref: breadcrumbTextRef,
14498
14498
  title: item.label,
14499
14499
  class: normalizeClass(["linkTx", index2 === unref(breadcrumb).length - 1 ? "header-custom-bold" : ""])
14500
- }, toDisplayString$1(item.label), 11, _hoisted_11$7)
14500
+ }, toDisplayString$1(item.label), 11, _hoisted_11$8)
14501
14501
  ]),
14502
14502
  _: 2
14503
14503
  }, 1032, ["href"]),
@@ -14527,7 +14527,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14527
14527
  _: 1
14528
14528
  }, 8, ["href"]),
14529
14529
  unref(isGstarRepo)((_e = unref(repoInfo)) == null ? void 0 : _e.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_13$5, [
14530
- createVNode(_sfc_main$M, {
14530
+ createVNode(_sfc_main$N, {
14531
14531
  origin: "repo",
14532
14532
  icon: "",
14533
14533
  type: "gstar",
@@ -14539,7 +14539,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14539
14539
  _: 1
14540
14540
  }, 8, ["message"])
14541
14541
  ])) : unref(isIncubationRepo)((_f = unref(repoInfo)) == null ? void 0 : _f.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_14$2, [
14542
- createVNode(_sfc_main$M, {
14542
+ createVNode(_sfc_main$N, {
14543
14543
  origin: "repo",
14544
14544
  icon: "",
14545
14545
  type: "incubation",
@@ -14571,7 +14571,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14571
14571
  _: 1
14572
14572
  }, 8, ["content"])) : createCommentVNode("", true),
14573
14573
  unref(isTrustedRepo)((_g = unref(repoInfo)) == null ? void 0 : _g.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_15$2, [
14574
- createVNode(_sfc_main$M, {
14574
+ createVNode(_sfc_main$N, {
14575
14575
  trusted: "",
14576
14576
  message: unref(t2)("gitCodeLayout.trusted.title"),
14577
14577
  icon: "",
@@ -14620,7 +14620,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14620
14620
  default: withCtx(() => {
14621
14621
  var _a2, _b2, _c2, _d, _e;
14622
14622
  return [
14623
- createVNode(_sfc_main$N, {
14623
+ createVNode(_sfc_main$O, {
14624
14624
  src: (_a2 = unref(otherUserInfo)) == null ? void 0 : _a2.avatarUrl,
14625
14625
  name: ((_b2 = unref(otherUserInfo)) == null ? void 0 : _b2.name) || ((_c2 = unref(otherUserInfo)) == null ? void 0 : _c2.nickname),
14626
14626
  width: 28,
@@ -14647,9 +14647,9 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14647
14647
  };
14648
14648
  }
14649
14649
  });
14650
- const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14651
- const _hoisted_1$E = ["src"];
14652
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
14650
+ const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14651
+ const _hoisted_1$F = ["src"];
14652
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14653
14653
  ...{ name: "OperationEntry" },
14654
14654
  __name: "OperationEntry",
14655
14655
  setup(__props) {
@@ -14693,14 +14693,14 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
14693
14693
  class: "operation-entry__img",
14694
14694
  src: img.value,
14695
14695
  alt: "operation-entry"
14696
- }, null, 8, _hoisted_1$E)
14696
+ }, null, 8, _hoisted_1$F)
14697
14697
  ])) : createCommentVNode("", true);
14698
14698
  };
14699
14699
  }
14700
14700
  });
14701
- const OperationEntry = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14702
- const _hoisted_1$D = ["src"];
14703
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
14701
+ const OperationEntry = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14702
+ const _hoisted_1$E = ["src"];
14703
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
14704
14704
  __name: "ClaimPower",
14705
14705
  props: {
14706
14706
  config: {}
@@ -14723,12 +14723,12 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
14723
14723
  createElementVNode("img", {
14724
14724
  src: __props.config.logo_url,
14725
14725
  alt: "claim power"
14726
- }, null, 8, _hoisted_1$D)
14726
+ }, null, 8, _hoisted_1$E)
14727
14727
  ])) : createCommentVNode("", true);
14728
14728
  };
14729
14729
  }
14730
14730
  });
14731
- const ClaimPower = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14731
+ const ClaimPower = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14732
14732
  const DEFAULT_APPLICATION_HOST = "https://gitcode.com";
14733
14733
  function normalizeApplicationHost(host) {
14734
14734
  return (host || DEFAULT_APPLICATION_HOST).replace(/\/+$/, "");
@@ -14764,24 +14764,24 @@ const HEADER_CREATE_MENU_PATHS = [
14764
14764
  "/org/create"
14765
14765
  ];
14766
14766
  const HEADER_CREATE_ENTERPRISE_PATH = "/enterprises/new";
14767
- const _hoisted_1$C = { class: "g-header-create dashboard-create-menu" };
14768
- const _hoisted_2$u = ["title", "aria-label", "aria-expanded"];
14769
- const _hoisted_3$t = { class: "dashboard-create-menu__trigger-text" };
14770
- const _hoisted_4$m = ["aria-label"];
14771
- const _hoisted_5$h = {
14767
+ const _hoisted_1$D = { class: "g-header-create dashboard-create-menu" };
14768
+ const _hoisted_2$v = ["title", "aria-label", "aria-expanded"];
14769
+ const _hoisted_3$u = { class: "dashboard-create-menu__trigger-text" };
14770
+ const _hoisted_4$n = ["aria-label"];
14771
+ const _hoisted_5$i = {
14772
14772
  key: 0,
14773
14773
  class: "dashboard-create-menu__divider",
14774
14774
  role: "separator"
14775
14775
  };
14776
- const _hoisted_6$f = ["href", "onClick", "onKeydown"];
14777
- const _hoisted_7$c = { class: "dashboard-create-menu__title-row" };
14778
- const _hoisted_8$a = { class: "dashboard-create-menu__title" };
14779
- const _hoisted_9$9 = {
14776
+ const _hoisted_6$g = ["href", "onClick", "onKeydown"];
14777
+ const _hoisted_7$d = { class: "dashboard-create-menu__title-row" };
14778
+ const _hoisted_8$b = { class: "dashboard-create-menu__title" };
14779
+ const _hoisted_9$a = {
14780
14780
  key: 0,
14781
14781
  class: "dashboard-create-menu__desc"
14782
14782
  };
14783
14783
  const menuId = "gitcode-header-create-menu";
14784
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
14784
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
14785
14785
  ...{
14786
14786
  name: "HeaderCreateMenu"
14787
14787
  },
@@ -14980,7 +14980,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
14980
14980
  () => closeMenu()
14981
14981
  );
14982
14982
  return (_ctx, _cache) => {
14983
- return openBlock(), createElementBlock("div", _hoisted_1$C, [
14983
+ return openBlock(), createElementBlock("div", _hoisted_1$D, [
14984
14984
  createVNode(unref(Dropdown), {
14985
14985
  position: ["bottom-end", "bottom-start"],
14986
14986
  "destroy-on-hide": false,
@@ -15005,7 +15005,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
15005
15005
  return openBlock(), createElementBlock(Fragment, {
15006
15006
  key: item.key
15007
15007
  }, [
15008
- item.dividerBefore ? (openBlock(), createElementBlock("div", _hoisted_5$h)) : createCommentVNode("", true),
15008
+ item.dividerBefore ? (openBlock(), createElementBlock("div", _hoisted_5$i)) : createCommentVNode("", true),
15009
15009
  createElementVNode("a", {
15010
15010
  href: unref(toApplicationUrl)(unref(layoutConfig2).VITE_HOST, item.href),
15011
15011
  class: normalizeClass(["dashboard-create-menu__item", { "dashboard-create-menu__item--with-desc": Boolean(item.desc) }]),
@@ -15014,7 +15014,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
15014
15014
  onClick: withModifiers(($event) => selectCreateItem(item), ["prevent"]),
15015
15015
  onKeydown: ($event) => onMenuItemKeydown($event, index2)
15016
15016
  }, [
15017
- createElementVNode("div", _hoisted_7$c, [
15017
+ createElementVNode("div", _hoisted_7$d, [
15018
15018
  createVNode(GIcon, {
15019
15019
  name: item.icon,
15020
15020
  size: "16px",
@@ -15022,13 +15022,13 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
15022
15022
  class: "dashboard-create-menu__icon",
15023
15023
  "aria-hidden": "true"
15024
15024
  }, null, 8, ["name"]),
15025
- createElementVNode("span", _hoisted_8$a, toDisplayString$1(item.label), 1)
15025
+ createElementVNode("span", _hoisted_8$b, toDisplayString$1(item.label), 1)
15026
15026
  ]),
15027
- item.desc ? (openBlock(), createElementBlock("div", _hoisted_9$9, toDisplayString$1(item.desc), 1)) : createCommentVNode("", true)
15028
- ], 42, _hoisted_6$f)
15027
+ item.desc ? (openBlock(), createElementBlock("div", _hoisted_9$a, toDisplayString$1(item.desc), 1)) : createCommentVNode("", true)
15028
+ ], 42, _hoisted_6$g)
15029
15029
  ], 64);
15030
15030
  }), 128))
15031
- ], 8, _hoisted_4$m)
15031
+ ], 8, _hoisted_4$n)
15032
15032
  ]),
15033
15033
  default: withCtx(() => [
15034
15034
  createElementVNode("button", {
@@ -15051,8 +15051,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
15051
15051
  class: "dashboard-create-menu__trigger-icon",
15052
15052
  "aria-hidden": "true"
15053
15053
  }),
15054
- createElementVNode("span", _hoisted_3$t, toDisplayString$1(unref(t2)("gitCodeLayout.header.create")), 1)
15055
- ], 40, _hoisted_2$u)
15054
+ createElementVNode("span", _hoisted_3$u, toDisplayString$1(unref(t2)("gitCodeLayout.header.create")), 1)
15055
+ ], 40, _hoisted_2$v)
15056
15056
  ]),
15057
15057
  _: 1
15058
15058
  }, 8, ["visible"])
@@ -15060,8 +15060,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
15060
15060
  };
15061
15061
  }
15062
15062
  });
15063
- const HeaderCreateMenu = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15064
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
15063
+ const HeaderCreateMenu = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15064
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
15065
15065
  ...{
15066
15066
  name: "DocumentCenter"
15067
15067
  },
@@ -15086,12 +15086,12 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
15086
15086
  };
15087
15087
  }
15088
15088
  });
15089
- const DocumentCenter = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15090
- const _hoisted_1$B = {
15089
+ const DocumentCenter = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15090
+ const _hoisted_1$C = {
15091
15091
  key: 1,
15092
15092
  class: "g-text-all"
15093
15093
  };
15094
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
15094
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
15095
15095
  ...{ name: "GText" },
15096
15096
  __name: "index",
15097
15097
  props: {
@@ -15168,24 +15168,24 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
15168
15168
  class: "watch-all",
15169
15169
  onClick: onShowAll
15170
15170
  }, toDisplayString$1(_ctx.$t("gitCodeLayout.notice.msg.viewAll")), 1)) : createCommentVNode("", true)
15171
- ], 6)) : showAllContent.value && finalConfig.value.showAll ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
15171
+ ], 6)) : showAllContent.value && finalConfig.value.showAll ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
15172
15172
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
15173
15173
  ])) : createCommentVNode("", true);
15174
15174
  };
15175
15175
  }
15176
15176
  });
15177
- const GText = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15178
- const _hoisted_1$A = { class: "message-item" };
15179
- const _hoisted_2$t = { class: "message-item-footer" };
15180
- const _hoisted_3$s = ["title"];
15181
- const _hoisted_4$l = ["href"];
15182
- const _hoisted_5$g = { class: "message-item-info-content" };
15183
- const _hoisted_6$e = { class: "message-item-body" };
15184
- const _hoisted_7$b = ["title", "innerHTML"];
15185
- const _hoisted_8$9 = ["title"];
15186
- const _hoisted_9$8 = { class: "message-item-info" };
15187
- const _hoisted_10$8 = { class: "message-item-rightTx message-item-date" };
15188
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
15177
+ const GText = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15178
+ const _hoisted_1$B = { class: "message-item" };
15179
+ const _hoisted_2$u = { class: "message-item-footer" };
15180
+ const _hoisted_3$t = ["title"];
15181
+ const _hoisted_4$m = ["href"];
15182
+ const _hoisted_5$h = { class: "message-item-info-content" };
15183
+ const _hoisted_6$f = { class: "message-item-body" };
15184
+ const _hoisted_7$c = ["title", "innerHTML"];
15185
+ const _hoisted_8$a = ["title"];
15186
+ const _hoisted_9$9 = { class: "message-item-info" };
15187
+ const _hoisted_10$9 = { class: "message-item-rightTx message-item-date" };
15188
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
15189
15189
  __name: "index",
15190
15190
  props: {
15191
15191
  data: { default: () => ({}) },
@@ -15197,8 +15197,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15197
15197
  const { formatTimeFromNow } = useTimeFormat();
15198
15198
  return (_ctx, _cache) => {
15199
15199
  var _a;
15200
- return openBlock(), createElementBlock("div", _hoisted_1$A, [
15201
- createElementVNode("div", _hoisted_2$t, [
15200
+ return openBlock(), createElementBlock("div", _hoisted_1$B, [
15201
+ createElementVNode("div", _hoisted_2$u, [
15202
15202
  createElementVNode("div", {
15203
15203
  class: "message-item__avatar-wrap",
15204
15204
  title: __props.data.nickname
@@ -15208,17 +15208,17 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15208
15208
  target: "_blank",
15209
15209
  class: "user-info linktx message-item__user-info"
15210
15210
  }, [
15211
- createVNode(_sfc_main$N, {
15211
+ createVNode(_sfc_main$O, {
15212
15212
  name: __props.data.nickname,
15213
15213
  src: __props.data.avatar,
15214
15214
  width: 32,
15215
15215
  height: 32
15216
15216
  }, null, 8, ["name", "src"])
15217
- ], 8, _hoisted_4$l)
15218
- ], 8, _hoisted_3$s)
15217
+ ], 8, _hoisted_4$m)
15218
+ ], 8, _hoisted_3$t)
15219
15219
  ]),
15220
- createElementVNode("div", _hoisted_5$g, [
15221
- createElementVNode("div", _hoisted_6$e, [
15220
+ createElementVNode("div", _hoisted_5$h, [
15221
+ createElementVNode("div", _hoisted_6$f, [
15222
15222
  createVNode(GLink, {
15223
15223
  href: unref(transformUrl)(__props.data.url),
15224
15224
  target: "_blank",
@@ -15233,17 +15233,17 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15233
15233
  title: __props.data.title,
15234
15234
  innerHTML: unref(xssPurify)(__props.data.title) || "",
15235
15235
  class: "message-item__title"
15236
- }, null, 8, _hoisted_7$b)) : (openBlock(), createElementBlock("span", {
15236
+ }, null, 8, _hoisted_7$c)) : (openBlock(), createElementBlock("span", {
15237
15237
  key: 1,
15238
15238
  title: __props.data.title
15239
- }, toDisplayString$1(__props.data.title || "-"), 9, _hoisted_8$9))
15239
+ }, toDisplayString$1(__props.data.title || "-"), 9, _hoisted_8$a))
15240
15240
  ]),
15241
15241
  _: 1
15242
15242
  })
15243
15243
  ]),
15244
15244
  _: 1
15245
15245
  }, 8, ["href", "class"]),
15246
- createElementVNode("div", _hoisted_9$8, [
15246
+ createElementVNode("div", _hoisted_9$9, [
15247
15247
  createVNode(GText, null, {
15248
15248
  default: withCtx(() => [
15249
15249
  createTextVNode(toDisplayString$1(__props.data.repo), 1)
@@ -15260,47 +15260,47 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15260
15260
  ])
15261
15261
  ])
15262
15262
  ]),
15263
- createElementVNode("div", _hoisted_10$8, toDisplayString$1(unref(formatTimeFromNow)(__props.data.time)), 1)
15263
+ createElementVNode("div", _hoisted_10$9, toDisplayString$1(unref(formatTimeFromNow)(__props.data.time)), 1)
15264
15264
  ]);
15265
15265
  };
15266
15266
  }
15267
15267
  });
15268
- const MessageItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15269
- const _hoisted_1$z = { class: "message-header-nav" };
15270
- const _hoisted_2$s = {
15268
+ const MessageItem = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15269
+ const _hoisted_1$A = { class: "message-header-nav" };
15270
+ const _hoisted_2$t = {
15271
15271
  key: 0,
15272
15272
  class: "item-count-icon"
15273
15273
  };
15274
- const _hoisted_3$r = {
15274
+ const _hoisted_3$s = {
15275
15275
  key: 1,
15276
15276
  class: "g-number"
15277
15277
  };
15278
- const _hoisted_4$k = {
15278
+ const _hoisted_4$l = {
15279
15279
  key: 0,
15280
15280
  class: "g-number message-box__count"
15281
15281
  };
15282
- const _hoisted_5$f = { class: "message-content-cover" };
15283
- const _hoisted_6$d = {
15282
+ const _hoisted_5$g = { class: "message-content-cover" };
15283
+ const _hoisted_6$e = {
15284
15284
  key: 0,
15285
15285
  class: "message-content-header"
15286
15286
  };
15287
- const _hoisted_7$a = {
15287
+ const _hoisted_7$b = {
15288
15288
  key: 0,
15289
15289
  class: "g-number"
15290
15290
  };
15291
- const _hoisted_8$8 = {
15291
+ const _hoisted_8$9 = {
15292
15292
  key: 0,
15293
15293
  class: "g-number"
15294
15294
  };
15295
- const _hoisted_9$7 = {
15295
+ const _hoisted_9$8 = {
15296
15296
  key: 0,
15297
15297
  class: "g-number"
15298
15298
  };
15299
- const _hoisted_10$7 = {
15299
+ const _hoisted_10$8 = {
15300
15300
  key: 2,
15301
15301
  class: "message-content-empty"
15302
15302
  };
15303
- const _hoisted_11$6 = {
15303
+ const _hoisted_11$7 = {
15304
15304
  key: 3,
15305
15305
  class: "loading-more"
15306
15306
  };
@@ -15309,7 +15309,7 @@ const _hoisted_12$6 = {
15309
15309
  class: "no-more"
15310
15310
  };
15311
15311
  const _hoisted_13$4 = { class: "message-footer-nav" };
15312
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
15312
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15313
15313
  __name: "MessageBox",
15314
15314
  setup(__props, { expose: __expose }) {
15315
15315
  var _a;
@@ -15589,7 +15589,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
15589
15589
  class: "message-box",
15590
15590
  onClick: _cache[6] || (_cache[6] = withModifiers(($event) => console.log("stop"), ["stop"]))
15591
15591
  }, [
15592
- createElementVNode("div", _hoisted_1$z, [
15592
+ createElementVNode("div", _hoisted_1$A, [
15593
15593
  createVNode(unref(Tabs), {
15594
15594
  modelValue: checkedId.value,
15595
15595
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checkedId.value = $event),
@@ -15605,7 +15605,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
15605
15605
  createElementVNode("div", {
15606
15606
  class: normalizeClass(["message-header-nav-item", { "message-header-nav-item-active": item.messageType === checkedId.value }])
15607
15607
  }, [
15608
- item.icon ? (openBlock(), createElementBlock("div", _hoisted_2$s, [
15608
+ item.icon ? (openBlock(), createElementBlock("div", _hoisted_2$t, [
15609
15609
  createVNode(GIcon, {
15610
15610
  name: item.icon,
15611
15611
  size: "16px",
@@ -15618,7 +15618,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
15618
15618
  }, null, 8, ["name"])
15619
15619
  ])) : createCommentVNode("", true),
15620
15620
  createElementVNode("span", null, toDisplayString$1(item.text), 1),
15621
- item.count > 0 ? (openBlock(), createElementBlock("span", _hoisted_3$r, toDisplayString$1(item.count), 1)) : createCommentVNode("", true)
15621
+ item.count > 0 ? (openBlock(), createElementBlock("span", _hoisted_3$s, toDisplayString$1(item.count), 1)) : createCommentVNode("", true)
15622
15622
  ], 2)
15623
15623
  ]),
15624
15624
  _: 2
@@ -15632,7 +15632,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
15632
15632
  onClick: _cache[1] || (_cache[1] = ($event) => toPage("unread"))
15633
15633
  }, [
15634
15634
  createTextVNode(toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.allUnread")), 1),
15635
- msgCount.value > 0 ? (openBlock(), createElementBlock("span", _hoisted_4$k, toDisplayString$1(msgCount.value), 1)) : createCommentVNode("", true)
15635
+ msgCount.value > 0 ? (openBlock(), createElementBlock("span", _hoisted_4$l, toDisplayString$1(msgCount.value), 1)) : createCommentVNode("", true)
15636
15636
  ])
15637
15637
  ]),
15638
15638
  createElementVNode("div", {
@@ -15640,28 +15640,28 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
15640
15640
  ref: scrollContainer,
15641
15641
  class: "message-content"
15642
15642
  }, [
15643
- withDirectives((openBlock(), createElementBlock("div", _hoisted_5$f, [
15644
- currentType.value === "mention" ? (openBlock(), createElementBlock("div", _hoisted_6$d, [
15643
+ withDirectives((openBlock(), createElementBlock("div", _hoisted_5$g, [
15644
+ currentType.value === "mention" ? (openBlock(), createElementBlock("div", _hoisted_6$e, [
15645
15645
  createElementVNode("div", {
15646
15646
  class: normalizeClass(["message-content-header-item message-content-header-item--mr", { active: mentionSubTab.value === "project" }]),
15647
15647
  onClick: _cache[2] || (_cache[2] = ($event) => switchMentionSubTab("project"))
15648
15648
  }, [
15649
15649
  _cache[7] || (_cache[7] = createTextVNode(" 项目相关 ", -1)),
15650
- mentionSubTabCount.value.project > 0 ? (openBlock(), createElementBlock("span", _hoisted_7$a, toDisplayString$1(mentionSubTabCount.value.project), 1)) : createCommentVNode("", true)
15650
+ mentionSubTabCount.value.project > 0 ? (openBlock(), createElementBlock("span", _hoisted_7$b, toDisplayString$1(mentionSubTabCount.value.project), 1)) : createCommentVNode("", true)
15651
15651
  ], 2),
15652
15652
  createElementVNode("div", {
15653
15653
  class: normalizeClass(["message-content-header-item message-content-header-item--mr", { active: mentionSubTab.value === "private" }]),
15654
15654
  onClick: _cache[3] || (_cache[3] = ($event) => switchMentionSubTab("private"))
15655
15655
  }, [
15656
15656
  _cache[8] || (_cache[8] = createTextVNode(" 私信 ", -1)),
15657
- mentionSubTabCount.value.private > 0 ? (openBlock(), createElementBlock("span", _hoisted_8$8, toDisplayString$1(mentionSubTabCount.value.private), 1)) : createCommentVNode("", true)
15657
+ mentionSubTabCount.value.private > 0 ? (openBlock(), createElementBlock("span", _hoisted_8$9, toDisplayString$1(mentionSubTabCount.value.private), 1)) : createCommentVNode("", true)
15658
15658
  ], 2),
15659
15659
  createElementVNode("div", {
15660
15660
  class: normalizeClass(["message-content-header-item", { active: mentionSubTab.value === "discussion" }]),
15661
15661
  onClick: _cache[4] || (_cache[4] = ($event) => switchMentionSubTab("discussion"))
15662
15662
  }, [
15663
15663
  _cache[9] || (_cache[9] = createTextVNode(" 在线讨论 ", -1)),
15664
- mentionSubTabCount.value.discussion > 0 ? (openBlock(), createElementBlock("span", _hoisted_9$7, toDisplayString$1(mentionSubTabCount.value.discussion), 1)) : createCommentVNode("", true)
15664
+ mentionSubTabCount.value.discussion > 0 ? (openBlock(), createElementBlock("span", _hoisted_9$8, toDisplayString$1(mentionSubTabCount.value.discussion), 1)) : createCommentVNode("", true)
15665
15665
  ], 2)
15666
15666
  ])) : createCommentVNode("", true),
15667
15667
  listData.value.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(listData.value, (item) => {
@@ -15671,10 +15671,10 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
15671
15671
  data: item,
15672
15672
  onTrigger: ($event) => handleMessageRead(item)
15673
15673
  }, null, 8, ["type", "data", "onTrigger"]);
15674
- }), 128)) : (openBlock(), createElementBlock("div", _hoisted_10$7, [
15674
+ }), 128)) : (openBlock(), createElementBlock("div", _hoisted_10$8, [
15675
15675
  createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.noMessage")), 1)
15676
15676
  ])),
15677
- loadingMore.value ? (openBlock(), createElementBlock("div", _hoisted_11$6, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.loading")) + "... ", 1)) : createCommentVNode("", true),
15677
+ loadingMore.value ? (openBlock(), createElementBlock("div", _hoisted_11$7, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.loading")) + "... ", 1)) : createCommentVNode("", true),
15678
15678
  !hasMore.value && listData.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_12$6, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.noMore")), 1)) : createCommentVNode("", true)
15679
15679
  ])), [
15680
15680
  [_directive_loading, loading.value]
@@ -15690,8 +15690,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
15690
15690
  };
15691
15691
  }
15692
15692
  });
15693
- const MessageBox = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15694
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
15693
+ const MessageBox = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15694
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
15695
15695
  ...{
15696
15696
  name: "Notice"
15697
15697
  },
@@ -15806,9 +15806,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
15806
15806
  };
15807
15807
  }
15808
15808
  });
15809
- const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15810
- const _hoisted_1$y = { class: "devui-select__item g-option-link" };
15811
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
15809
+ const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15810
+ const _hoisted_1$z = { class: "devui-select__item g-option-link" };
15811
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
15812
15812
  ...{
15813
15813
  name: "OptionLink"
15814
15814
  },
@@ -15826,7 +15826,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15826
15826
  },
15827
15827
  setup(__props) {
15828
15828
  return (_ctx, _cache) => {
15829
- return openBlock(), createElementBlock("li", _hoisted_1$y, [
15829
+ return openBlock(), createElementBlock("li", _hoisted_1$z, [
15830
15830
  createVNode(GLink, normalizeProps(guardReactiveProps(_ctx.$props)), {
15831
15831
  default: withCtx(() => [
15832
15832
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
@@ -15837,7 +15837,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15837
15837
  };
15838
15838
  }
15839
15839
  });
15840
- const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15840
+ const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15841
15841
  function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
15842
15842
  const allCookies = api.get() || {};
15843
15843
  const storedValue = allCookies[key] || localStorage$2.getItem(key);
@@ -15861,10 +15861,10 @@ function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
15861
15861
  );
15862
15862
  return value;
15863
15863
  }
15864
- const _hoisted_1$x = { class: "tools-item-wrapper" };
15865
- const _hoisted_2$r = { class: "tools-item-wrapper-checkbox" };
15866
- const _hoisted_3$q = ["onClick", "title"];
15867
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
15864
+ const _hoisted_1$y = { class: "tools-item-wrapper" };
15865
+ const _hoisted_2$s = { class: "tools-item-wrapper-checkbox" };
15866
+ const _hoisted_3$r = ["onClick", "title"];
15867
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15868
15868
  __name: "Lang",
15869
15869
  setup(__props) {
15870
15870
  const lang = useCookie(LANG_KEY, LANG_ZH);
@@ -15886,9 +15886,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15886
15886
  window.location.reload();
15887
15887
  };
15888
15888
  return (_ctx, _cache) => {
15889
- return openBlock(), createElementBlock("div", _hoisted_1$x, [
15889
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
15890
15890
  createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.lang")), 1),
15891
- createElementVNode("div", _hoisted_2$r, [
15891
+ createElementVNode("div", _hoisted_2$s, [
15892
15892
  (openBlock(true), createElementBlock(Fragment, null, renderList(linkList.value, (item) => {
15893
15893
  return openBlock(), createElementBlock("div", mergeProps({
15894
15894
  key: item.label
@@ -15903,26 +15903,26 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15903
15903
  color: "var(--theme-icon-fill-weak)",
15904
15904
  class: "checkbox-item-icon"
15905
15905
  }, null, 8, ["name"])
15906
- ], 16, _hoisted_3$q);
15906
+ ], 16, _hoisted_3$r);
15907
15907
  }), 128))
15908
15908
  ])
15909
15909
  ]);
15910
15910
  };
15911
15911
  }
15912
15912
  });
15913
- const _hoisted_1$w = {
15913
+ const _hoisted_1$x = {
15914
15914
  key: 0,
15915
15915
  class: "user-level-avatar-badge"
15916
15916
  };
15917
- const _hoisted_2$q = { class: "user-level__row" };
15918
- const _hoisted_3$p = ["src"];
15919
- const _hoisted_4$j = { class: "level-name" };
15920
- const _hoisted_5$e = { class: "level-icon" };
15921
- const _hoisted_6$c = ["src"];
15922
- const _hoisted_7$9 = { class: "custom-btn" };
15923
- const _hoisted_8$7 = { class: "user-level__btn-text" };
15917
+ const _hoisted_2$r = { class: "user-level__row" };
15918
+ const _hoisted_3$q = ["src"];
15919
+ const _hoisted_4$k = { class: "level-name" };
15920
+ const _hoisted_5$f = { class: "level-icon" };
15921
+ const _hoisted_6$d = ["src"];
15922
+ const _hoisted_7$a = { class: "custom-btn" };
15923
+ const _hoisted_8$8 = { class: "user-level__btn-text" };
15924
15924
  const maxLevel = 3;
15925
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
15925
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15926
15926
  ...{ name: "UserLevel" },
15927
15927
  __name: "UserLevel",
15928
15928
  props: ["accountInfo"],
@@ -15973,31 +15973,130 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15973
15973
  class: normalizeClass(["user-level", { [unref(ThemeType).BLACK]: unref(currentTheme) === unref(ThemeType).BLACK }]),
15974
15974
  onClick: handleUpgrade
15975
15975
  }, [
15976
- __props.accountInfo.need_tips ? (openBlock(), createElementBlock("div", _hoisted_1$w)) : createCommentVNode("", true),
15977
- createElementVNode("div", _hoisted_2$q, [
15976
+ __props.accountInfo.need_tips ? (openBlock(), createElementBlock("div", _hoisted_1$x)) : createCommentVNode("", true),
15977
+ createElementVNode("div", _hoisted_2$r, [
15978
15978
  createElementVNode("img", {
15979
15979
  class: "level-avatar",
15980
15980
  src: levelInfo.value.avatar,
15981
15981
  alt: ""
15982
- }, null, 8, _hoisted_3$p),
15983
- createElementVNode("div", _hoisted_4$j, [
15982
+ }, null, 8, _hoisted_3$q),
15983
+ createElementVNode("div", _hoisted_4$k, [
15984
15984
  createElementVNode("div", null, toDisplayString$1(levelInfo.value.name), 1),
15985
- createElementVNode("div", _hoisted_5$e, [
15985
+ createElementVNode("div", _hoisted_5$f, [
15986
15986
  createElementVNode("img", {
15987
15987
  src: levelInfo.value.level,
15988
15988
  alt: ""
15989
- }, null, 8, _hoisted_6$c)
15989
+ }, null, 8, _hoisted_6$d)
15990
15990
  ])
15991
15991
  ])
15992
15992
  ]),
15993
- createElementVNode("div", _hoisted_7$9, [
15994
- createElementVNode("div", _hoisted_8$7, toDisplayString$1(unref(t2)("gitCodeLayout.userSetting.tips.getPoints")), 1)
15993
+ createElementVNode("div", _hoisted_7$a, [
15994
+ createElementVNode("div", _hoisted_8$8, toDisplayString$1(unref(t2)("gitCodeLayout.userSetting.tips.getPoints")), 1)
15995
15995
  ])
15996
15996
  ], 2);
15997
15997
  };
15998
15998
  }
15999
15999
  });
16000
- const UserLevel = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-vue-layout-gitcode"]]);
16000
+ const UserLevel = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-vue-layout-gitcode"]]);
16001
+ const _hoisted_1$w = {
16002
+ key: 0,
16003
+ class: "g-user-drawer-account-session"
16004
+ };
16005
+ const _hoisted_2$q = { class: "g-user-drawer-account-session-title" };
16006
+ const _hoisted_3$p = { class: "g-user-drawer-account-session-info" };
16007
+ const _hoisted_4$j = ["title"];
16008
+ const _hoisted_5$e = ["title"];
16009
+ const _hoisted_6$c = {
16010
+ key: 0,
16011
+ class: "g-user-drawer-account-session-badge"
16012
+ };
16013
+ const _hoisted_7$9 = {
16014
+ key: 1,
16015
+ class: "g-user-drawer-account-session-badge is-current"
16016
+ };
16017
+ const _hoisted_8$7 = ["disabled", "onClick"];
16018
+ const _hoisted_9$7 = ["disabled", "onClick"];
16019
+ const _hoisted_10$7 = ["disabled", "onClick"];
16020
+ const _hoisted_11$6 = ["disabled"];
16021
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
16022
+ __name: "AccountSessionList",
16023
+ props: {
16024
+ items: { default: () => [] },
16025
+ activeRef: { default: null },
16026
+ max: { default: 5 },
16027
+ busy: { type: Boolean, default: false }
16028
+ },
16029
+ emits: ["switch", "add", "reauthorize", "remove"],
16030
+ setup(__props, { emit: __emit }) {
16031
+ const props = __props;
16032
+ const emit = __emit;
16033
+ const { t: t2 } = i18n.global;
16034
+ const canAdd = computed(() => props.items.length < props.max);
16035
+ return (_ctx, _cache) => {
16036
+ return __props.items.length || canAdd.value ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
16037
+ createElementVNode("div", _hoisted_2$q, toDisplayString$1(unref(t2)("gitCodeLayout.header.accountSessions")), 1),
16038
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
16039
+ return openBlock(), createElementBlock("div", {
16040
+ key: item.ref,
16041
+ class: normalizeClass(["g-user-drawer-account-session-item", { "is-active": item.ref === __props.activeRef }])
16042
+ }, [
16043
+ createVNode(_sfc_main$O, {
16044
+ name: item.nickname || item.username,
16045
+ src: item.avatarUrl || "",
16046
+ width: 28,
16047
+ height: 28
16048
+ }, null, 8, ["name", "src"]),
16049
+ createElementVNode("div", _hoisted_3$p, [
16050
+ createElementVNode("p", {
16051
+ class: "ellipsis",
16052
+ title: item.nickname || item.username
16053
+ }, toDisplayString$1(item.nickname || item.username), 9, _hoisted_4$j),
16054
+ createElementVNode("p", {
16055
+ class: "ellipsis g-user-drawer-account-session-id",
16056
+ title: item.username
16057
+ }, "@" + toDisplayString$1(item.username), 9, _hoisted_5$e)
16058
+ ]),
16059
+ item.status !== "valid" ? (openBlock(), createElementBlock("span", _hoisted_6$c, toDisplayString$1(unref(t2)("gitCodeLayout.header.accountNeedReauth")), 1)) : item.ref === __props.activeRef ? (openBlock(), createElementBlock("span", _hoisted_7$9, toDisplayString$1(unref(t2)("gitCodeLayout.header.accountCurrent")), 1)) : createCommentVNode("", true),
16060
+ item.status !== "valid" ? (openBlock(), createElementBlock("button", {
16061
+ key: 2,
16062
+ type: "button",
16063
+ class: "g-user-drawer-account-session-action",
16064
+ disabled: __props.busy,
16065
+ onClick: ($event) => emit("reauthorize", item.ref)
16066
+ }, toDisplayString$1(unref(t2)("gitCodeLayout.header.accountReauthorize")), 9, _hoisted_8$7)) : item.ref !== __props.activeRef ? (openBlock(), createElementBlock("button", {
16067
+ key: 3,
16068
+ type: "button",
16069
+ class: "g-user-drawer-account-session-action",
16070
+ disabled: __props.busy,
16071
+ onClick: ($event) => emit("switch", item.ref)
16072
+ }, toDisplayString$1(unref(t2)("gitCodeLayout.header.accountSwitch")), 9, _hoisted_9$7)) : createCommentVNode("", true),
16073
+ item.ref !== __props.activeRef ? (openBlock(), createElementBlock("button", {
16074
+ key: 4,
16075
+ type: "button",
16076
+ class: "g-user-drawer-account-session-action",
16077
+ disabled: __props.busy,
16078
+ onClick: ($event) => emit("remove", item.ref)
16079
+ }, toDisplayString$1(unref(t2)("gitCodeLayout.header.accountRemove")), 9, _hoisted_10$7)) : createCommentVNode("", true)
16080
+ ], 2);
16081
+ }), 128)),
16082
+ canAdd.value ? (openBlock(), createElementBlock("button", {
16083
+ key: 0,
16084
+ type: "button",
16085
+ class: "g-user-drawer-account-session-add",
16086
+ disabled: __props.busy,
16087
+ onClick: _cache[0] || (_cache[0] = ($event) => emit("add"))
16088
+ }, [
16089
+ createVNode(GIcon, {
16090
+ name: "gt-line-plus",
16091
+ size: "16px"
16092
+ }),
16093
+ createTextVNode(toDisplayString$1(unref(t2)("gitCodeLayout.header.accountAdd")), 1)
16094
+ ], 8, _hoisted_11$6)) : createCommentVNode("", true)
16095
+ ])) : createCommentVNode("", true);
16096
+ };
16097
+ }
16098
+ });
16099
+ const AccountSessionList = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-vue-layout-gitcode"]]);
16001
16100
  const _hoisted_1$v = { class: "g-user-drawer-info-list" };
16002
16101
  const _hoisted_2$p = { class: "g-user-drawer-info-list__name-wrap" };
16003
16102
  const _hoisted_3$o = ["title"];
@@ -16015,9 +16114,14 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
16015
16114
  inAIHub: { type: Boolean },
16016
16115
  independence: { type: Boolean },
16017
16116
  userMenus: {},
16018
- inEnterpriseHeader: { type: Boolean }
16117
+ inEnterpriseHeader: { type: Boolean },
16118
+ accountSessionSupported: { type: Boolean },
16119
+ accountSessions: {},
16120
+ accountSessionActiveRef: {},
16121
+ accountSessionMax: {},
16122
+ accountSessionBusy: { type: Boolean }
16019
16123
  },
16020
- emits: ["link-click"],
16124
+ emits: ["link-click", "account-switch", "account-add", "account-reauthorize", "account-remove"],
16021
16125
  setup(__props, { emit: __emit }) {
16022
16126
  const layoutConfig2 = useLayoutConfig();
16023
16127
  const API = headRequest(inject("request"));
@@ -16148,7 +16252,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
16148
16252
  });
16149
16253
  const avatarLangBlock = {
16150
16254
  id: "avatar-lang",
16151
- component: markRaw(_sfc_main$B),
16255
+ component: markRaw(_sfc_main$C),
16152
16256
  avatarLangRow: true
16153
16257
  };
16154
16258
  const shouldShowEnterpriseLang = computed(
@@ -16157,13 +16261,41 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
16157
16261
  return Boolean(props.inEnterpriseHeader && !((_a = props.userMenus) == null ? void 0 : _a.length));
16158
16262
  }
16159
16263
  );
16264
+ const accountSessionBlock = computed(() => {
16265
+ if (!props.accountSessionSupported) {
16266
+ return null;
16267
+ }
16268
+ return {
16269
+ id: "avatar-account-sessions",
16270
+ label: "",
16271
+ component: markRaw(AccountSessionList),
16272
+ componentProps: {
16273
+ items: props.accountSessions || [],
16274
+ activeRef: props.accountSessionActiveRef ?? null,
16275
+ max: props.accountSessionMax ?? 5,
16276
+ busy: props.accountSessionBusy ?? false,
16277
+ onSwitch: (ref2) => emit("account-switch", ref2),
16278
+ onAdd: () => emit("account-add"),
16279
+ onReauthorize: (ref2) => emit("account-reauthorize", ref2),
16280
+ onRemove: (ref2) => emit("account-remove", ref2)
16281
+ }
16282
+ };
16283
+ });
16160
16284
  const userMenuList = computed(() => {
16161
16285
  const base = props.independence ? hrefList.value : routerMenuList.value;
16162
- if (!shouldShowEnterpriseLang.value) {
16286
+ const inserts = [];
16287
+ if (shouldShowEnterpriseLang.value) {
16288
+ inserts.push(avatarLangBlock);
16289
+ }
16290
+ const accountBlock = accountSessionBlock.value;
16291
+ if (accountBlock) {
16292
+ inserts.push(accountBlock);
16293
+ }
16294
+ if (!inserts.length) {
16163
16295
  return base;
16164
16296
  }
16165
16297
  const next = [...base];
16166
- next.splice(next.length - 1, 0, avatarLangBlock);
16298
+ next.splice(next.length - 1, 0, ...inserts);
16167
16299
  return next;
16168
16300
  });
16169
16301
  const getMenuHref = (item) => {
@@ -16225,7 +16357,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
16225
16357
  target: __props.isChatBot ? "_blank" : ""
16226
16358
  }, {
16227
16359
  default: withCtx(() => [
16228
- createVNode(_sfc_main$N, {
16360
+ createVNode(_sfc_main$O, {
16229
16361
  name: __props.accountInfo.nickname || "",
16230
16362
  src: __props.accountInfo.avatar || "",
16231
16363
  width: 52,
@@ -16264,9 +16396,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
16264
16396
  (openBlock(), createBlock(resolveDynamicComponent(block.component), {
16265
16397
  key: block.id
16266
16398
  }))
16267
- ])) : (openBlock(), createBlock(resolveDynamicComponent(block.component), {
16399
+ ])) : (openBlock(), createBlock(resolveDynamicComponent(block.component), mergeProps({
16268
16400
  key: block.id
16269
- }))
16401
+ }, { ref_for: true }, block.componentProps || {}), null, 16))
16270
16402
  ], 64)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(block, (item) => {
16271
16403
  return openBlock(), createBlock(OptionLink, mergeProps({
16272
16404
  key: item.id
@@ -16316,9 +16448,28 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
16316
16448
  inAIHub: { type: Boolean, default: false },
16317
16449
  independence: { type: Boolean, default: false },
16318
16450
  userMenus: { default: () => [] },
16319
- inEnterpriseHeader: { type: Boolean, default: false }
16451
+ inEnterpriseHeader: { type: Boolean, default: false },
16452
+ accountSessionSupported: { type: Boolean, default: false },
16453
+ accountSessions: { default: () => [] },
16454
+ accountSessionActiveRef: { default: null },
16455
+ accountSessionMax: { default: 5 },
16456
+ accountSessionBusy: { type: Boolean, default: false }
16320
16457
  },
16321
- setup(__props) {
16458
+ emits: ["account-switch", "account-add", "account-reauthorize", "account-remove"],
16459
+ setup(__props, { emit: __emit }) {
16460
+ const props = __props;
16461
+ const emit = __emit;
16462
+ const accountSessionBindings = computed(() => ({
16463
+ accountSessionSupported: props.accountSessionSupported,
16464
+ accountSessions: props.accountSessions,
16465
+ accountSessionActiveRef: props.accountSessionActiveRef,
16466
+ accountSessionMax: props.accountSessionMax,
16467
+ accountSessionBusy: props.accountSessionBusy,
16468
+ onAccountSwitch: (ref2) => emit("account-switch", ref2),
16469
+ onAccountAdd: () => emit("account-add"),
16470
+ onAccountReauthorize: (ref2) => emit("account-reauthorize", ref2),
16471
+ onAccountRemove: (ref2) => emit("account-remove", ref2)
16472
+ }));
16322
16473
  const { isMobile } = usePageResize();
16323
16474
  const drawerVisible = ref(false);
16324
16475
  const userInfo = inject("userInfo");
@@ -16445,7 +16596,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
16445
16596
  onClick: _cache[0] || (_cache[0] = ($event) => drawerVisible.value = true)
16446
16597
  }, [
16447
16598
  createElementVNode("div", _hoisted_1$u, [
16448
- createVNode(_sfc_main$N, {
16599
+ createVNode(_sfc_main$O, {
16449
16600
  name: accountInfo.value.nickname,
16450
16601
  src: unref(transformUrl)(accountInfo.value.avatar)
16451
16602
  }, null, 8, ["name", "src"]),
@@ -16463,21 +16614,20 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
16463
16614
  }, {
16464
16615
  menu: withCtx(() => [
16465
16616
  createElementVNode("div", _hoisted_5$c, [
16466
- createVNode(UserAvatarMenu, {
16617
+ createVNode(UserAvatarMenu, mergeProps({
16467
16618
  independence: __props.independence,
16468
16619
  loginOutFinish: __props.loginOutFinish,
16469
16620
  accountInfo: accountInfo.value,
16470
16621
  isChatBot: __props.isChatBot,
16471
16622
  inAIHub: __props.inAIHub,
16472
16623
  userMenus: __props.userMenus,
16473
- inEnterpriseHeader: __props.inEnterpriseHeader,
16474
- onLinkClick: resetOverflow
16475
- }, null, 8, ["independence", "loginOutFinish", "accountInfo", "isChatBot", "inAIHub", "userMenus", "inEnterpriseHeader"])
16624
+ inEnterpriseHeader: __props.inEnterpriseHeader
16625
+ }, accountSessionBindings.value, { onLinkClick: resetOverflow }), null, 16, ["independence", "loginOutFinish", "accountInfo", "isChatBot", "inAIHub", "userMenus", "inEnterpriseHeader"])
16476
16626
  ])
16477
16627
  ]),
16478
16628
  default: withCtx(() => [
16479
16629
  createElementVNode("div", _hoisted_3$n, [
16480
- createVNode(_sfc_main$N, {
16630
+ createVNode(_sfc_main$O, {
16481
16631
  name: accountInfo.value.nickname,
16482
16632
  src: unref(transformUrl)(accountInfo.value.avatar)
16483
16633
  }, null, 8, ["name", "src"]),
@@ -16505,17 +16655,18 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
16505
16655
  variant: "text"
16506
16656
  })
16507
16657
  ]),
16508
- createVNode(UserAvatarMenu, {
16658
+ createVNode(UserAvatarMenu, mergeProps({
16509
16659
  independence: __props.independence,
16510
16660
  loginOutFinish: __props.loginOutFinish,
16511
16661
  accountInfo: accountInfo.value,
16512
16662
  isChatBot: __props.isChatBot,
16513
16663
  inAIHub: __props.inAIHub,
16514
16664
  userMenus: __props.userMenus,
16515
- inEnterpriseHeader: __props.inEnterpriseHeader,
16665
+ inEnterpriseHeader: __props.inEnterpriseHeader
16666
+ }, accountSessionBindings.value, {
16516
16667
  onClick: _cache[2] || (_cache[2] = ($event) => drawerVisible.value = false),
16517
16668
  onLinkClick: resetOverflow
16518
- }, null, 8, ["independence", "loginOutFinish", "accountInfo", "isChatBot", "inAIHub", "userMenus", "inEnterpriseHeader"])
16669
+ }), null, 16, ["independence", "loginOutFinish", "accountInfo", "isChatBot", "inAIHub", "userMenus", "inEnterpriseHeader"])
16519
16670
  ])
16520
16671
  ]),
16521
16672
  _: 1
@@ -17077,12 +17228,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
17077
17228
  setup(__props) {
17078
17229
  const layoutConfig2 = useLayoutConfig();
17079
17230
  const { t: $t } = i18n.global;
17080
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DzbH-bqt.js"));
17081
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-BDv9VoKV.js"));
17082
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CyqYE-oU.js"));
17083
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CpJYD474.js"));
17084
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-cN4MRz7O.js"));
17085
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BMi4fhX2.js"));
17231
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-1Hm9SElE.js"));
17232
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-HK39vA5N.js"));
17233
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CVynas9C.js"));
17234
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-cKXg5Pm2.js"));
17235
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-8OySkylf.js"));
17236
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-pa6eebM8.js"));
17086
17237
  const props = __props;
17087
17238
  const repoInfo = inject("repoInfo", computed(() => void 0));
17088
17239
  const orgInfo = inject("orgInfo", computed(() => void 0));
@@ -18451,7 +18602,7 @@ const vElementExposure = {
18451
18602
  beforeUnmount() {
18452
18603
  }
18453
18604
  };
18454
- const NoticeModal = defineAsyncComponent(() => import("./notice-BCsRECZ7.js"));
18605
+ const NoticeModal = defineAsyncComponent(() => import("./notice-Ca46j16T.js"));
18455
18606
  function clearNotice() {
18456
18607
  if (localStorage$2.getItem("validator_email")) {
18457
18608
  localStorage$2.removeItem("validator_email");
@@ -18545,9 +18696,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
18545
18696
  atomcodeLaunchQs: { default: "" },
18546
18697
  showAtomCodeLauncher: { type: Boolean, default: false },
18547
18698
  launchAtomCode: { type: Function, default: void 0 },
18548
- defaultGlobalSearchType: { default: "repo" }
18699
+ defaultGlobalSearchType: { default: "repo" },
18700
+ accountSessionSupported: { type: Boolean, default: false },
18701
+ accountSessions: { default: () => [] },
18702
+ accountSessionActiveRef: { default: null },
18703
+ accountSessionMax: { default: 5 },
18704
+ accountSessionBusy: { type: Boolean, default: false }
18549
18705
  },
18550
- emits: ["followDevCommunity", "followUser", "resetPwdDirectlySuccess", "update:openCreateDropdown"],
18706
+ emits: ["followDevCommunity", "followUser", "resetPwdDirectlySuccess", "update:openCreateDropdown", "account-switch", "account-add", "account-reauthorize", "account-remove"],
18551
18707
  setup(__props, { emit: __emit }) {
18552
18708
  var _a;
18553
18709
  useCssVars((_ctx) => ({
@@ -18580,6 +18736,17 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
18580
18736
  console.log("props.bgConfig", props.bgConfig);
18581
18737
  const { useReport: useReport2 } = useRequestReport(props.request, props.globalStore);
18582
18738
  const emit = __emit;
18739
+ const accountSessionBindings = computed(() => ({
18740
+ accountSessionSupported: props.accountSessionSupported,
18741
+ accountSessions: props.accountSessions,
18742
+ accountSessionActiveRef: props.accountSessionActiveRef,
18743
+ accountSessionMax: props.accountSessionMax,
18744
+ accountSessionBusy: props.accountSessionBusy,
18745
+ onAccountSwitch: (ref2) => emit("account-switch", ref2),
18746
+ onAccountAdd: () => emit("account-add"),
18747
+ onAccountReauthorize: (ref2) => emit("account-reauthorize", ref2),
18748
+ onAccountRemove: (ref2) => emit("account-remove", ref2)
18749
+ }));
18583
18750
  provide("request", props.request);
18584
18751
  provide("globalStore", computed(() => props.globalStore));
18585
18752
  provide("repoInfo", computed(() => props.repoInfo));
@@ -19103,14 +19270,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
19103
19270
  }, null, 8, ["dropdownVisible", "items", "onNavigate", "isCreateEnterprise", "independence"])) : createCommentVNode("", true),
19104
19271
  isModuleVisible(unref(HeaderDisplayItem).DOCUMENT_CENTER) ? (openBlock(), createBlock(DocumentCenter, { key: 2 })) : createCommentVNode("", true),
19105
19272
  isModuleVisible(unref(HeaderDisplayItem).MESSAGE_CENTER) ? (openBlock(), createBlock(Notice, { key: 3 })) : createCommentVNode("", true),
19106
- isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createBlock(UserAvatar, {
19273
+ isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createBlock(UserAvatar, mergeProps({
19107
19274
  key: 4,
19108
19275
  isChatBot: isChatBot.value,
19109
19276
  loginOutFinish: __props.loginOutFinish,
19110
19277
  inAIHub: inAIHub.value,
19111
19278
  independence: __props.independence,
19112
19279
  userMenus: __props.userMenus
19113
- }, null, 8, ["isChatBot", "loginOutFinish", "inAIHub", "independence", "userMenus"])) : createCommentVNode("", true)
19280
+ }, accountSessionBindings.value), null, 16, ["isChatBot", "loginOutFinish", "inAIHub", "independence", "userMenus"])) : createCommentVNode("", true)
19114
19281
  ], 64))
19115
19282
  ], 2)
19116
19283
  ])), [
@@ -19213,7 +19380,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
19213
19380
  [vShow, __props.showThemeSetting]
19214
19381
  ]),
19215
19382
  withDirectives(createElementVNode("div", _hoisted_3$f, [
19216
- createVNode(_sfc_main$B)
19383
+ createVNode(_sfc_main$C)
19217
19384
  ], 512), [
19218
19385
  [vShow, __props.showLangSetting]
19219
19386
  ])
@@ -19507,6 +19674,7 @@ function mapRecommendBlockItemToChannel(item, block, itemIndex) {
19507
19674
  desc_en: item.desc_en,
19508
19675
  url: item.url,
19509
19676
  is_new: item.is_new,
19677
+ is_recommend: item.is_recommend,
19510
19678
  links: item.links,
19511
19679
  children,
19512
19680
  group: {
@@ -19550,8 +19718,11 @@ function mergeChannelsWithRecommendBlocks(originalChannels, blocks = []) {
19550
19718
  }
19551
19719
  return result2;
19552
19720
  }
19553
- const newTagImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAoCAYAAABpYH0BAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAClJJREFUeAHtWn1sHEcVn5nd+9rzNeePJjitseOE0iQtdWlJ0xKlMYW2VFRNqQRCQkVVEfBHUVsQfyAhYgN/8QdEFRJIqEqQEAgJUApSv1SUD0IoSdMmKU1KSRuDKzuYnH227/bu9nZmeG/2w3vr3buzDVSK80vWOzvz5mN/8968N7NHSRPICxfytp5+XEq5i0gyADkDZHWgSCg9JSR5JiXoAbqhdyxOkEZlVi5MDmia3EeQuCtAlvYnOBuNInIRgdb4xceJ4COQzMMsSJpMVFlCt4iu2/AsHClJLmdIm+tESCbrVkpadtrNLgpCR9P96/cGZRsIrI9P7pFCjKgHXbO0juy8T5oE0oBQRZ7iT7pZYTaDTUr3WQbKJIlWfBmqH56kSGMh0ZNJW+TT0PjiIbnQZKWalZaVwZellI4k+q8ZDbao4GqeYpdmUmWWTptOCy5xUmBSwsxgr5JiiRSNw1MEBzqXkobz2kWruktpu13ZsBw+451SRkSlmsPL0Rj5ZHpjv8MV/lFrHhOvQTLPMukyTadMd3Yc4oRDHVGMweWSqP69F+bcWnH+qwC9Q41hslK5SpjVPNFYUejk5syGDWM6CgB5e+CWx/VOkae0DikDpoQUVEoOpi0EtwWThEulh9LRQtWFWAGPzKnfMq/dukttowko/mfYClVIJgu0XE2IWj1PbbYPJIapq30XVJdrctOU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ymWvL20pZwqjjMPnL67HYiJZ6lHbYEfttpzI4+OatuT46sqY2uCiyXWCMRrjzcJzIlkmsqOFE3KSL8J8D4x6YE4kYmoz8O7xY+kQqEqR0t4U+aN9zgNtid76CPZRbjUYfaOSTJYod9nn19Vwy6KZLSRHmBM4DC9PcfP2XLj4ZOR0+59S2WLUHoi9pjKDQshiIHAIOZY7Jx2KxPomkyWX++kogZjmJHsFly5Qwh1Y+Oitd24b1JLDHmgEeoOW2lwv5M+Z0abJM5ksjTKmE8YeJlmisW639mTkpTvvmfUPeOlXNfn+qTU/ePH5RniRGoEj+i1EVW/4d4//R/zx8TVzL7d/9nvwsCZBpbQZK/vOnZ8Gb2KuWQ2TB34V0Xvp8+gjIRUaBPjYwf/Hw/e5Z8GFf71XQG4iKVC+kUCA77eiTN8Wak41eeGDahO8SC04+stfbyE3kRSfupvX4RnkuX+j95MOngcqorgcqryhq/6HXv/Rs4+Rm0iIPfOXrY95n1dURP6yRMQ/Ry93eKsnTA4TplYHevpmnmlwk3uXzG8lNwOIjlcWPbEi4OnbiGVK2caf957lTzuiZnD0SufJ2eMnUfjWWRXy+x/88M2/lPT39LaVPTA151zpy4z/HGl0HPzx87tDXv/TvIIx1ws97b/S2odE2pfKpq6FT5u1kMk48eu7zW4/5Cwpco8pKuxasHVTGxkBaIJA0X3mk2/7Ll2pDPr9j8aepLzgea5NV9rN/8VXw9ayijIWCW9WZfY4BBf+/XMkAxK6JlEWl2PQGNKWrOPW4illiswWwoPWAuAQ/wnJSUYAKKEdhLIO+DzZrMjyjs3eDq+Z7f8AUBTucqXJpZAAAAAASUVORK5CYII=";
19721
+ const getChannelTagType = (item) => {
19722
+ if (item.is_recommend === true) return "hot";
19723
+ if (item.is_new === true) return "new";
19724
+ return null;
19725
+ };
19555
19726
  const _hoisted_1$l = { class: "home-channel-side-nav" };
19556
19727
  const _hoisted_2$f = {
19557
19728
  key: 0,
@@ -19578,9 +19749,18 @@ const _hoisted_9$4 = ["src", "alt", "onClick"];
19578
19749
  const _hoisted_10$4 = { class: "home-channel-side-nav__info" };
19579
19750
  const _hoisted_11$4 = { class: "home-channel-side-nav__label-row" };
19580
19751
  const _hoisted_12$4 = { class: "home-channel-side-nav__label" };
19581
- const _hoisted_13$2 = ["src"];
19582
- const _hoisted_14$1 = ["title"];
19583
- const _hoisted_15$1 = {
19752
+ const _hoisted_13$2 = {
19753
+ key: 0,
19754
+ class: "home-channel-side-nav__tag",
19755
+ "aria-label": "HOT"
19756
+ };
19757
+ const _hoisted_14$1 = {
19758
+ key: 1,
19759
+ class: "home-channel-side-nav__tag",
19760
+ "aria-label": "New"
19761
+ };
19762
+ const _hoisted_15$1 = ["title"];
19763
+ const _hoisted_16$1 = {
19584
19764
  key: 3,
19585
19765
  xmlns: "http://www.w3.org/2000/svg",
19586
19766
  width: "14",
@@ -19593,17 +19773,17 @@ const _hoisted_15$1 = {
19593
19773
  "stroke-linejoin": "round",
19594
19774
  class: "home-channel-side-nav__chevron"
19595
19775
  };
19596
- const _hoisted_16$1 = { class: "home-channel-side-nav__footer-wrapper" };
19597
- const _hoisted_17$1 = {
19776
+ const _hoisted_17$1 = { class: "home-channel-side-nav__footer-wrapper" };
19777
+ const _hoisted_18$1 = {
19598
19778
  class: "aside-footer nav-site-footer",
19599
19779
  "aria-label": "网站备案与站点链接"
19600
19780
  };
19601
- const _hoisted_18$1 = {
19781
+ const _hoisted_19$1 = {
19602
19782
  class: "nav-site-shortcuts",
19603
19783
  "aria-label": "站点服务"
19604
19784
  };
19605
- const _hoisted_19$1 = ["href"];
19606
- const _hoisted_20$1 = {
19785
+ const _hoisted_20$1 = ["href"];
19786
+ const _hoisted_21$1 = {
19607
19787
  key: 0,
19608
19788
  xmlns: "http://www.w3.org/2000/svg",
19609
19789
  width: "14",
@@ -19615,7 +19795,7 @@ const _hoisted_20$1 = {
19615
19795
  "stroke-linecap": "round",
19616
19796
  "stroke-linejoin": "round"
19617
19797
  };
19618
- const _hoisted_21$1 = {
19798
+ const _hoisted_22$1 = {
19619
19799
  key: 1,
19620
19800
  xmlns: "http://www.w3.org/2000/svg",
19621
19801
  width: "14",
@@ -19627,7 +19807,7 @@ const _hoisted_21$1 = {
19627
19807
  "stroke-linecap": "round",
19628
19808
  "stroke-linejoin": "round"
19629
19809
  };
19630
- const _hoisted_22$1 = {
19810
+ const _hoisted_23$1 = {
19631
19811
  key: 2,
19632
19812
  xmlns: "http://www.w3.org/2000/svg",
19633
19813
  width: "14",
@@ -19639,7 +19819,7 @@ const _hoisted_22$1 = {
19639
19819
  "stroke-linecap": "round",
19640
19820
  "stroke-linejoin": "round"
19641
19821
  };
19642
- const _hoisted_23$1 = {
19822
+ const _hoisted_24$1 = {
19643
19823
  key: 3,
19644
19824
  xmlns: "http://www.w3.org/2000/svg",
19645
19825
  width: "14",
@@ -19651,11 +19831,11 @@ const _hoisted_23$1 = {
19651
19831
  "stroke-linecap": "round",
19652
19832
  "stroke-linejoin": "round"
19653
19833
  };
19654
- const _hoisted_24$1 = {
19834
+ const _hoisted_25$1 = {
19655
19835
  key: 0,
19656
19836
  class: "home-channel-side-nav__footer-tools-container"
19657
19837
  };
19658
- const _hoisted_25$1 = { class: "home-channel-side-nav__footer-tools-inner" };
19838
+ const _hoisted_26$1 = { class: "home-channel-side-nav__footer-tools-inner" };
19659
19839
  const _sfc_main$o = /* @__PURE__ */ defineComponent({
19660
19840
  ...{ name: "AsideV2Content", inheritAttrs: false },
19661
19841
  __name: "asideV2Content",
@@ -19714,7 +19894,6 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
19714
19894
  return true;
19715
19895
  });
19716
19896
  const isDarkTheme = computed(() => currentTheme.value === "black");
19717
- const newTagSrc = computed(() => isDarkTheme.value ? newTagDarkImg : newTagImg);
19718
19897
  const siteShortcutLinks = computed(() => [
19719
19898
  {
19720
19899
  name: t2("gitCodeLayout.home.informationCenter"),
@@ -19956,20 +20135,15 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
19956
20135
  createElementVNode("div", _hoisted_10$4, [
19957
20136
  createElementVNode("span", _hoisted_11$4, [
19958
20137
  createElementVNode("span", _hoisted_12$4, toDisplayString$1(getItemName(item)), 1),
19959
- item.is_new ? (openBlock(), createElementBlock("img", {
19960
- key: 0,
19961
- src: newTagSrc.value,
19962
- alt: "New",
19963
- class: "home-channel-side-nav__new-tag"
19964
- }, null, 8, _hoisted_13$2)) : createCommentVNode("", true)
20138
+ unref(getChannelTagType)(item) === "hot" ? (openBlock(), createElementBlock("span", _hoisted_13$2, "HOT")) : unref(getChannelTagType)(item) === "new" ? (openBlock(), createElementBlock("span", _hoisted_14$1, "NEW")) : createCommentVNode("", true)
19965
20139
  ]),
19966
20140
  getItemDesc(item) ? (openBlock(), createElementBlock("span", {
19967
20141
  key: 0,
19968
20142
  class: "home-channel-side-nav__desc",
19969
20143
  title: getItemDesc(item)
19970
- }, toDisplayString$1(getItemDesc(item)), 9, _hoisted_14$1)) : createCommentVNode("", true)
20144
+ }, toDisplayString$1(getItemDesc(item)), 9, _hoisted_15$1)) : createCommentVNode("", true)
19971
20145
  ]),
19972
- !isRecommendedChannel(item) && item.children && item.children.length > 0 ? (openBlock(), createElementBlock("svg", _hoisted_15$1, [..._cache[1] || (_cache[1] = [
20146
+ !isRecommendedChannel(item) && item.children && item.children.length > 0 ? (openBlock(), createElementBlock("svg", _hoisted_16$1, [..._cache[1] || (_cache[1] = [
19973
20147
  createElementVNode("path", { d: "m9 18 6-6-6-6" }, null, -1)
19974
20148
  ])])) : createCommentVNode("", true)
19975
20149
  ], 10, _hoisted_8$4)
@@ -19979,10 +20153,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
19979
20153
  ])),
19980
20154
  createCommentVNode("", true),
19981
20155
  createCommentVNode("", true),
19982
- createElementVNode("div", _hoisted_16$1, [
20156
+ createElementVNode("div", _hoisted_17$1, [
19983
20157
  _cache[8] || (_cache[8] = createElementVNode("div", { class: "home-channel-side-nav__footer-divider" }, null, -1)),
19984
- createElementVNode("footer", _hoisted_17$1, [
19985
- createElementVNode("nav", _hoisted_18$1, [
20158
+ createElementVNode("footer", _hoisted_18$1, [
20159
+ createElementVNode("nav", _hoisted_19$1, [
19986
20160
  (openBlock(true), createElementBlock(Fragment, null, renderList(siteShortcutLinks.value, (shortcut) => {
19987
20161
  return openBlock(), createElementBlock("a", {
19988
20162
  key: shortcut.name,
@@ -19991,22 +20165,22 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
19991
20165
  target: "_blank",
19992
20166
  rel: "noopener noreferrer"
19993
20167
  }, [
19994
- shortcut.icon === "newspaper" ? (openBlock(), createElementBlock("svg", _hoisted_20$1, [..._cache[4] || (_cache[4] = [
20168
+ shortcut.icon === "newspaper" ? (openBlock(), createElementBlock("svg", _hoisted_21$1, [..._cache[4] || (_cache[4] = [
19995
20169
  createElementVNode("path", { d: "M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2" }, null, -1),
19996
20170
  createElementVNode("path", { d: "M18 14h-8" }, null, -1),
19997
20171
  createElementVNode("path", { d: "M15 18h-5" }, null, -1),
19998
20172
  createElementVNode("path", { d: "M10 6h8v4h-8V6Z" }, null, -1)
19999
- ])])) : shortcut.icon === "book-open" ? (openBlock(), createElementBlock("svg", _hoisted_21$1, [..._cache[5] || (_cache[5] = [
20173
+ ])])) : shortcut.icon === "book-open" ? (openBlock(), createElementBlock("svg", _hoisted_22$1, [..._cache[5] || (_cache[5] = [
20000
20174
  createElementVNode("path", { d: "M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z" }, null, -1),
20001
20175
  createElementVNode("path", { d: "M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z" }, null, -1)
20002
- ])])) : shortcut.icon === "message-square" ? (openBlock(), createElementBlock("svg", _hoisted_22$1, [..._cache[6] || (_cache[6] = [
20176
+ ])])) : shortcut.icon === "message-square" ? (openBlock(), createElementBlock("svg", _hoisted_23$1, [..._cache[6] || (_cache[6] = [
20003
20177
  createElementVNode("path", { d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" }, null, -1)
20004
- ])])) : (openBlock(), createElementBlock("svg", _hoisted_23$1, [..._cache[7] || (_cache[7] = [
20178
+ ])])) : (openBlock(), createElementBlock("svg", _hoisted_24$1, [..._cache[7] || (_cache[7] = [
20005
20179
  createElementVNode("path", { d: "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1" }, null, -1),
20006
20180
  createElementVNode("path", { d: "M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1" }, null, -1)
20007
20181
  ])])),
20008
20182
  createElementVNode("span", null, toDisplayString$1(shortcut.name), 1)
20009
- ], 8, _hoisted_19$1);
20183
+ ], 8, _hoisted_20$1);
20010
20184
  }), 128))
20011
20185
  ])
20012
20186
  ])
@@ -20014,8 +20188,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
20014
20188
  ]),
20015
20189
  _: 1
20016
20190
  }, 512),
20017
- showThemeSetting.value || showLangSetting.value ? (openBlock(), createElementBlock("div", _hoisted_24$1, [
20018
- createElementVNode("div", _hoisted_25$1, [
20191
+ showThemeSetting.value || showLangSetting.value ? (openBlock(), createElementBlock("div", _hoisted_25$1, [
20192
+ createElementVNode("div", _hoisted_26$1, [
20019
20193
  createVNode(AsideFooterTools, {
20020
20194
  "show-theme-setting": showThemeSetting.value,
20021
20195
  "show-lang-setting": showLangSetting.value,
@@ -20529,7 +20703,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
20529
20703
  color: "var(--theme-aide-text)"
20530
20704
  })) : createCommentVNode("", true),
20531
20705
  hasEnterpriseInfo.value ? (openBlock(), createElementBlock("div", _hoisted_3$d, [
20532
- createVNode(_sfc_main$N, {
20706
+ createVNode(_sfc_main$O, {
20533
20707
  src: (_a2 = __props.enterpriseInfo) == null ? void 0 : _a2.avatar,
20534
20708
  name: (_b = __props.enterpriseInfo) == null ? void 0 : _b.name,
20535
20709
  isRound: false,
@@ -20902,9 +21076,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
20902
21076
  const layoutConfig2 = useLayoutConfig();
20903
21077
  const { t: t2 } = i18n.global;
20904
21078
  const route = useRoute();
20905
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-Fu7SS3Tz.js"));
20906
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-nSkrRa6K.js"));
20907
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-DPscVNRR.js"));
21079
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-BcjMjZGl.js"));
21080
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-d-Ee1ezf.js"));
21081
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-vzlQsyut.js"));
20908
21082
  const props = __props;
20909
21083
  const useReport2 = inject("useReport");
20910
21084
  const userInfo = inject("userInfo");
@@ -21189,7 +21363,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
21189
21363
  [vShow, __props.showThemeSetting]
21190
21364
  ]),
21191
21365
  withDirectives(createElementVNode("div", _hoisted_3$c, [
21192
- createVNode(_sfc_main$B)
21366
+ createVNode(_sfc_main$C)
21193
21367
  ], 512), [
21194
21368
  [vShow, __props.showLangSetting]
21195
21369
  ])
@@ -27442,7 +27616,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
27442
27616
  __publicField(_SlidCaptchaManager, "instance");
27443
27617
  let SlidCaptchaManager = _SlidCaptchaManager;
27444
27618
  const slidCaptchaManager = SlidCaptchaManager.getInstance();
27445
- const SlidCaptcha = defineAsyncComponent(() => import("./index-BVtkY7Om.js"));
27619
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-rBvNoB6A.js"));
27446
27620
  const useSlidCaptcha = () => {
27447
27621
  const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
27448
27622
  const open = (config) => {
@@ -27472,7 +27646,7 @@ const useSlidCaptcha = () => {
27472
27646
  close
27473
27647
  };
27474
27648
  };
27475
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-Ds8UDIgP.js"));
27649
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-B3zAYcaR.js"));
27476
27650
  const useYunpianCaptcha = () => {
27477
27651
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
27478
27652
  const open = (config) => {
@@ -30497,7 +30671,7 @@ export {
30497
30671
  navigateWithMigrationGuard as K,
30498
30672
  LANG_ZH as L,
30499
30673
  asideRequest as M,
30500
- _sfc_main$N as N,
30674
+ _sfc_main$O as N,
30501
30675
  loadAsideData as O,
30502
30676
  AsideFooterTools as P,
30503
30677
  AtomCodeLauncher as Q,
@@ -30533,7 +30707,7 @@ export {
30533
30707
  usePageResize as j,
30534
30708
  isGstarRepo as k,
30535
30709
  localStorage$2 as l,
30536
- _sfc_main$M as m,
30710
+ _sfc_main$N as m,
30537
30711
  normalizeSearchHistoryEntry as n,
30538
30712
  isIncubationRepo as o,
30539
30713
  highlightWords as p,