vue-layout-gitcode 1.12.37 → 1.12.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { defineComponent, computed, createBlock, createElementBlock, openBlock, unref, normalizeProps, mergeProps, normalizeClass, renderSlot, normalizeStyle, createElementVNode, reactive, readonly, inject, effectScope, ref, shallowRef, watch, isRef, getCurrentInstance, h, Fragment, onBeforeMount, onMounted, onUnmounted, createVNode, Text, provide, createCommentVNode, withCtx, toDisplayString as toDisplayString$1, renderList, createTextVNode, Transition, withModifiers, resolveComponent, watchEffect, nextTick, onBeforeUnmount, Teleport, resolveDirective, withDirectives, guardReactiveProps, markRaw, resolveDynamicComponent, useAttrs, defineAsyncComponent, vShow, withKeys, createStaticVNode, useCssVars, createSlots, render, toRaw, mergeModels, useModel as useModel$1, watchPostEffect, useSlots } from "vue";
4
+ import { defineComponent, computed, createBlock, createElementBlock, openBlock, unref, normalizeProps, mergeProps, normalizeClass, renderSlot, normalizeStyle, createElementVNode, reactive, readonly, inject, effectScope, ref, shallowRef, watch, isRef, getCurrentInstance, h, Fragment, onBeforeMount, onMounted, onUnmounted, createVNode, Text, provide, createCommentVNode, withCtx, toDisplayString as toDisplayString$1, renderList, createTextVNode, Transition, withModifiers, resolveComponent, watchEffect, nextTick, resolveDirective, withDirectives, onBeforeUnmount, guardReactiveProps, markRaw, resolveDynamicComponent, useAttrs, defineAsyncComponent, vShow, withKeys, useCssVars, createSlots, render, toRaw, mergeModels, useModel as useModel$1, watchPostEffect, useSlots, createStaticVNode } from "vue";
5
5
  import { Button } from "vue-devui-lal/button";
6
6
  import { Popover } from "vue-devui-lal/popover";
7
7
  import { Tooltip } from "vue-devui-lal/tooltip";
@@ -23,6 +23,8 @@ import dayjs from "dayjs";
23
23
  import isDate$1 from "lodash/isDate";
24
24
  import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
25
25
  import "vue-devui-lal/skeleton/style.css";
26
+ import { Dropdown } from "vue-devui-lal/dropdown";
27
+ import "vue-devui-lal/dropdown/style.css";
26
28
  import debounce from "lodash/debounce";
27
29
  import { Badge } from "vue-devui-lal/badge";
28
30
  import "vue-devui-lal/badge/style.css";
@@ -30,8 +32,6 @@ import { Tabs, Tab } from "vue-devui-lal/tabs";
30
32
  import "vue-devui-lal/tabs/style.css";
31
33
  import "vue-devui-lal/loading/style.css";
32
34
  import { LoadingDirective } from "vue-devui-lal/loading";
33
- import { Dropdown } from "vue-devui-lal/dropdown";
34
- import "vue-devui-lal/dropdown/style.css";
35
35
  import { Drawer } from "vue-devui-lal/drawer";
36
36
  import "vue-devui-lal/drawer/style.css";
37
37
  import { Input } from "vue-devui-lal/input";
@@ -57,9 +57,9 @@ import { Checkbox } from "vue-devui-lal/checkbox";
57
57
  import "vue-devui-lal/checkbox/style.css";
58
58
  import { Modal } from "vue-devui-lal/modal";
59
59
  import "vue-devui-lal/modal/style.css";
60
- const _hoisted_1$I = ["xlink:href"];
61
- const _hoisted_2$w = ["xlink:href"];
62
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
60
+ const _hoisted_1$J = ["xlink:href"];
61
+ const _hoisted_2$x = ["xlink:href"];
62
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
63
63
  __name: "index",
64
64
  props: {
65
65
  name: { default: "gt-run" },
@@ -88,7 +88,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
88
88
  }, [
89
89
  createElementVNode("use", {
90
90
  "xlink:href": `#${_ctx.name}`
91
- }, null, 8, _hoisted_1$I)
91
+ }, null, 8, _hoisted_1$J)
92
92
  ], 6)),
93
93
  renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
94
94
  ], 2)) : (openBlock(), createElementBlock("svg", {
@@ -99,7 +99,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
99
99
  }, [
100
100
  createElementVNode("use", {
101
101
  "xlink:href": `#${_ctx.name}`
102
- }, null, 8, _hoisted_2$w)
102
+ }, null, 8, _hoisted_2$x)
103
103
  ], 6));
104
104
  };
105
105
  }
@@ -111,7 +111,7 @@ const _export_sfc = (sfc, props) => {
111
111
  }
112
112
  return target;
113
113
  };
114
- const GIcon = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-vue-layout-gitcode"]]);
114
+ const GIcon = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-vue-layout-gitcode"]]);
115
115
  const defaultConfig = {
116
116
  VITE_ENV: "production",
117
117
  VITE_HOST: "https://gitcode.com",
@@ -823,7 +823,7 @@ function createDOMPurify() {
823
823
  const {
824
824
  DocumentFragment,
825
825
  HTMLTemplateElement,
826
- Node: Node2,
826
+ Node,
827
827
  Element,
828
828
  NodeFilter,
829
829
  NamedNodeMap = window2.NamedNodeMap || window2.MozNamedAttrMap,
@@ -1224,7 +1224,7 @@ function createDOMPurify() {
1224
1224
  return element instanceof HTMLFormElement && (typeof element.nodeName !== "string" || typeof element.textContent !== "string" || typeof element.removeChild !== "function" || !(element.attributes instanceof NamedNodeMap) || typeof element.removeAttribute !== "function" || typeof element.setAttribute !== "function" || typeof element.namespaceURI !== "string" || typeof element.insertBefore !== "function" || typeof element.hasChildNodes !== "function");
1225
1225
  };
1226
1226
  const _isNode = function _isNode2(value) {
1227
- return typeof Node2 === "function" && value instanceof Node2;
1227
+ return typeof Node === "function" && value instanceof Node;
1228
1228
  };
1229
1229
  function _executeHooks(hooks2, currentNode, data) {
1230
1230
  arrayForEach(hooks2, (hook) => {
@@ -1483,7 +1483,7 @@ function createDOMPurify() {
1483
1483
  throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
1484
1484
  }
1485
1485
  }
1486
- } else if (dirty instanceof Node2) {
1486
+ } else if (dirty instanceof Node) {
1487
1487
  body = _initDocument("<!---->");
1488
1488
  importedNode = body.ownerDocument.importNode(dirty, true);
1489
1489
  if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === "BODY") {
@@ -7724,9 +7724,11 @@ const gitCodeLayout$1 = {
7724
7724
  Tianqi: "天启",
7725
7725
  topic: "热门主题",
7726
7726
  discoverMore: "探索更多",
7727
- atomCodeOfficial: "AtomCode 官网",
7728
7727
  competition: "大赛平台",
7729
7728
  aiCommunity: "AI社区",
7729
+ learnCenter: "学习中心",
7730
+ space: "Space",
7731
+ schoolParty: "校源行",
7730
7732
  copyright_atomgit: {
7731
7733
  slogon: "共创AtomGit,开发者的代码家园",
7732
7734
  digest: "深圳开源共创科技有限公司版权所有",
@@ -7742,6 +7744,7 @@ const gitCodeLayout$1 = {
7742
7744
  useAtomCode: "使用 AtomCode…",
7743
7745
  openInWorkbench: "在工作台中打开",
7744
7746
  contextHint: "由 Agent 协助处理当前任务",
7747
+ atomCodeOfficial: "AtomCode 官网",
7745
7748
  downloadCli: "下载 AtomCode CLI"
7746
7749
  },
7747
7750
  header: {
@@ -8142,9 +8145,11 @@ const gitCodeLayout = {
8142
8145
  Tianqi: "Tianqi",
8143
8146
  topic: "Hot topics",
8144
8147
  discoverMore: "Discover More",
8145
- atomCodeOfficial: "AtomCode Website",
8146
8148
  competition: "Competition",
8147
8149
  aiCommunity: "AI Hub",
8150
+ learnCenter: "Learning Center",
8151
+ space: "Space",
8152
+ schoolParty: "School Party",
8148
8153
  copyright_atomgit: {
8149
8154
  slogon: "Co-create AtomGit, the Code Home for Developers",
8150
8155
  digest: "ShenZhenKaiYuanGongChuang Technology Co., Ltd. All Rights Reserved",
@@ -8160,6 +8165,7 @@ const gitCodeLayout = {
8160
8165
  useAtomCode: "Use AtomCode…",
8161
8166
  openInWorkbench: "Open in Dashboard",
8162
8167
  contextHint: "Assisted by Agent for current task",
8168
+ atomCodeOfficial: "AtomCode Website",
8163
8169
  downloadCli: "Download AtomCode CLI"
8164
8170
  },
8165
8171
  header: {
@@ -9113,22 +9119,22 @@ const currentHelpDocsAiCommunityUrl = () => {
9113
9119
  const baseUrl = isGitCodeHost() ? HELP_DOCS_URL_GITCODE + "/docs/help/home/ai-community/" : HELP_DOCS_URL_ATOMGIT + "/docs/help/home/ai-community/";
9114
9120
  return appendLangPathToHelpDocsUrl(baseUrl);
9115
9121
  };
9116
- const _hoisted_1$H = { class: "home-nav-right" };
9117
- const _hoisted_2$v = { class: "home-nav-item" };
9118
- const _hoisted_3$u = { class: "tooltip-sign" };
9119
- const _hoisted_4$n = { class: "home-nav-tooltip-wrapper" };
9120
- const _hoisted_5$i = { class: "home-nav-text" };
9122
+ const _hoisted_1$I = { class: "home-nav-right" };
9123
+ const _hoisted_2$w = { class: "home-nav-item" };
9124
+ const _hoisted_3$v = { class: "tooltip-sign" };
9125
+ const _hoisted_4$o = { class: "home-nav-tooltip-wrapper" };
9126
+ const _hoisted_5$j = { class: "home-nav-text" };
9121
9127
  const _hoisted_6$g = { class: "home-nav-tooltip-wrapper" };
9122
- const _hoisted_7$c = { class: "home-nav-text" };
9123
- const _hoisted_8$a = {
9128
+ const _hoisted_7$d = { class: "home-nav-text" };
9129
+ const _hoisted_8$c = {
9124
9130
  key: 2,
9125
9131
  class: "tools-list"
9126
9132
  };
9127
- const _hoisted_9$8 = { class: "home-nav-tooltip-wrapper" };
9128
- const _hoisted_10$8 = { class: "home-nav-text" };
9129
- const _hoisted_11$7 = { class: "tools-float-feedback-sub" };
9130
- const _hoisted_12$6 = { class: "qrcode-wrapper" };
9131
- const _hoisted_13$3 = { class: "qrcode-wrapper__title" };
9133
+ const _hoisted_9$b = { class: "home-nav-tooltip-wrapper" };
9134
+ const _hoisted_10$a = { class: "home-nav-text" };
9135
+ const _hoisted_11$8 = { class: "tools-float-feedback-sub" };
9136
+ const _hoisted_12$8 = { class: "qrcode-wrapper" };
9137
+ const _hoisted_13$4 = { class: "qrcode-wrapper__title" };
9132
9138
  const _hoisted_14$3 = { class: "tools-list-item" };
9133
9139
  const _hoisted_15$3 = { class: "g-card tools-float-nps-card" };
9134
9140
  const _hoisted_16$3 = {
@@ -9167,7 +9173,7 @@ const _hoisted_30$1 = { class: "tools-float-finish__text" };
9167
9173
  const _hoisted_31$1 = { class: "home-nav-item collapse-tool" };
9168
9174
  const _hoisted_32$1 = { class: "home-nav-item" };
9169
9175
  const _hoisted_33$1 = ["src", "alt"];
9170
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
9176
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
9171
9177
  __name: "index",
9172
9178
  props: {
9173
9179
  sceneValue: { default: SceneValue.home },
@@ -9406,15 +9412,15 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9406
9412
  size: "18px"
9407
9413
  })
9408
9414
  ])) : createCommentVNode("", true),
9409
- createElementVNode("div", _hoisted_1$H, [
9415
+ createElementVNode("div", _hoisted_1$I, [
9410
9416
  inviteVisible.value && isModuleVisible(unref(ToolsFloatDisplayItem).INVITE) ? (openBlock(), createBlock(unref(Tooltip), {
9411
9417
  key: 0,
9412
9418
  position: "left",
9413
9419
  "overlay-class": "tools-tag-tooltip"
9414
9420
  }, {
9415
9421
  content: withCtx(() => [
9416
- createElementVNode("div", _hoisted_4$n, [
9417
- createElementVNode("div", _hoisted_5$i, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
9422
+ createElementVNode("div", _hoisted_4$o, [
9423
+ createElementVNode("div", _hoisted_5$j, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
9418
9424
  ])
9419
9425
  ]),
9420
9426
  default: withCtx(() => [
@@ -9422,13 +9428,13 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9422
9428
  class: "home-nav-link computing",
9423
9429
  onClick: handleInvite
9424
9430
  }, [
9425
- createElementVNode("div", _hoisted_2$v, [
9431
+ createElementVNode("div", _hoisted_2$w, [
9426
9432
  _cache[5] || (_cache[5] = createElementVNode("img", {
9427
9433
  class: "common-icon tools-float-icon",
9428
9434
  src: "https://cdn-static.gitcode.com/static/images/homeweb/invite.svg",
9429
9435
  alt: ""
9430
9436
  }, null, -1)),
9431
- createElementVNode("div", _hoisted_3$u, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
9437
+ createElementVNode("div", _hoisted_3$v, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
9432
9438
  ])
9433
9439
  ])
9434
9440
  ]),
@@ -9441,7 +9447,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9441
9447
  }, {
9442
9448
  content: withCtx(() => [
9443
9449
  createElementVNode("div", _hoisted_6$g, [
9444
- createElementVNode("div", _hoisted_7$c, toDisplayString$1(_ctx.isCannWhiteList ? unref(t2)("gitCodeLayout.userSetting.menu.cannTask") : unref(t2)("gitCodeLayout.userSetting.menu.growthCenter")), 1)
9450
+ createElementVNode("div", _hoisted_7$d, toDisplayString$1(_ctx.isCannWhiteList ? unref(t2)("gitCodeLayout.userSetting.menu.cannTask") : unref(t2)("gitCodeLayout.userSetting.menu.growthCenter")), 1)
9445
9451
  ])
9446
9452
  ]),
9447
9453
  default: withCtx(() => [
@@ -9461,16 +9467,16 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9461
9467
  ]),
9462
9468
  _: 1
9463
9469
  })) : createCommentVNode("", true),
9464
- isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_8$a, [
9470
+ isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_8$c, [
9465
9471
  createVNode(unref(Tooltip), {
9466
9472
  position: "left",
9467
9473
  "overlay-class": "tools-tag-tooltip"
9468
9474
  }, {
9469
9475
  content: withCtx(() => [
9470
- createElementVNode("div", _hoisted_9$8, [
9471
- createElementVNode("div", _hoisted_10$8, [
9476
+ createElementVNode("div", _hoisted_9$b, [
9477
+ createElementVNode("div", _hoisted_10$a, [
9472
9478
  createElementVNode("p", null, toDisplayString$1(unref(t2)("gitCodeLayout.home.userFeedback01")), 1),
9473
- createElementVNode("p", _hoisted_11$7, toDisplayString$1(unref(t2)("gitCodeLayout.home.userFeedback02")), 1)
9479
+ createElementVNode("p", _hoisted_11$8, toDisplayString$1(unref(t2)("gitCodeLayout.home.userFeedback02")), 1)
9474
9480
  ])
9475
9481
  ])
9476
9482
  ]),
@@ -9500,8 +9506,8 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9500
9506
  "overlay-class": "tools-tag-tooltip"
9501
9507
  }, {
9502
9508
  content: withCtx(() => [
9503
- createElementVNode("div", _hoisted_12$6, [
9504
- createElementVNode("div", _hoisted_13$3, toDisplayString$1(unref(t2)("gitCodeLayout.home.followUs")), 1),
9509
+ createElementVNode("div", _hoisted_12$8, [
9510
+ createElementVNode("div", _hoisted_13$4, toDisplayString$1(unref(t2)("gitCodeLayout.home.followUs")), 1),
9505
9511
  _cache[8] || (_cache[8] = createElementVNode("img", {
9506
9512
  class: "qrcode",
9507
9513
  src: "https://cdn-static.gitcode.com/static/images/points/wx_gitcode.png"
@@ -9708,7 +9714,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9708
9714
  };
9709
9715
  }
9710
9716
  });
9711
- const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-vue-layout-gitcode"]]);
9717
+ const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-vue-layout-gitcode"]]);
9712
9718
  var repoTypeEnum = /* @__PURE__ */ ((repoTypeEnum2) => {
9713
9719
  repoTypeEnum2["NORMAL"] = "0";
9714
9720
  repoTypeEnum2["MODEL"] = "1";
@@ -9851,8 +9857,8 @@ const collectRegisterLoginEvent = ({ isRegister, registerLoginMethod, success, e
9851
9857
  delete reportData["utm_source"];
9852
9858
  window.collectEvent("beconEvent", isRegister ? "register" : "login", reportData);
9853
9859
  };
9854
- const _hoisted_1$G = ["href", "target", "disabled"];
9855
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
9860
+ const _hoisted_1$H = ["href", "target", "disabled"];
9861
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9856
9862
  ...{
9857
9863
  name: "GLink"
9858
9864
  },
@@ -9897,11 +9903,11 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
9897
9903
  disabled: _ctx.disabled || _ctx.noPointer
9898
9904
  }, [
9899
9905
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
9900
- ], 10, _hoisted_1$G));
9906
+ ], 10, _hoisted_1$H));
9901
9907
  };
9902
9908
  }
9903
9909
  });
9904
- const GLink = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-vue-layout-gitcode"]]);
9910
+ const GLink = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-vue-layout-gitcode"]]);
9905
9911
  const headerHeight = ref(56);
9906
9912
  const useHeaderHeight = () => {
9907
9913
  const setHeaderHeight = (height) => {
@@ -10349,9 +10355,6 @@ watch(currentThemeStorage, (newValue) => {
10349
10355
  const currentTheme = computed(() => {
10350
10356
  return setThemeVal.value || currentThemeStorage.value || ThemeType.WHITE;
10351
10357
  });
10352
- const isWhiteTheme = () => {
10353
- return currentTheme.value === ThemeType.WHITE;
10354
- };
10355
10358
  const setTheme = (theme2) => {
10356
10359
  const themeValue = theme2 || api.get("gitcode_theme") || ThemeType.WHITE;
10357
10360
  setThemeVal.value = themeValue;
@@ -10537,7 +10540,7 @@ if (isBrowser) {
10537
10540
  }
10538
10541
  const sessionStorage$1 = sessionStorage;
10539
10542
  const _imports_0 = "data:image/png;base64,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";
10540
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
10543
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
10541
10544
  ...{
10542
10545
  name: "GAvatar"
10543
10546
  },
@@ -10583,8 +10586,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
10583
10586
  };
10584
10587
  }
10585
10588
  });
10586
- const _hoisted_1$F = ["src"];
10587
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
10589
+ const _hoisted_1$G = ["src"];
10590
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
10588
10591
  ...{ name: "FlashTag" },
10589
10592
  __name: "FlashTag",
10590
10593
  props: {
@@ -10629,7 +10632,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
10629
10632
  key: 0,
10630
10633
  class: "gc-flash-tag__icon",
10631
10634
  src: iconUrl.value
10632
- }, null, 8, _hoisted_1$F)) : renderSlot(_ctx.$slots, "default", { key: 1 })
10635
+ }, null, 8, _hoisted_1$G)) : renderSlot(_ctx.$slots, "default", { key: 1 })
10633
10636
  ], 16)
10634
10637
  ]),
10635
10638
  _: 3
@@ -10933,14 +10936,14 @@ const useTimeFormat = () => {
10933
10936
  formatTime
10934
10937
  };
10935
10938
  };
10936
- const _hoisted_1$E = {
10939
+ const _hoisted_1$F = {
10937
10940
  key: 0,
10938
10941
  class: "org-layout-toolbar"
10939
10942
  };
10940
- const _hoisted_2$u = { class: "org-layout-toolbar-title ellipsis-two-line" };
10941
- const _hoisted_3$t = { class: "header-custom-btn-label" };
10942
- const _hoisted_4$m = { class: "g-repo-breadcrumb-custom" };
10943
- const _hoisted_5$h = {
10943
+ const _hoisted_2$v = { class: "org-layout-toolbar-title ellipsis-two-line" };
10944
+ const _hoisted_3$u = { class: "header-custom-btn-label" };
10945
+ const _hoisted_4$n = { class: "g-repo-breadcrumb-custom" };
10946
+ const _hoisted_5$i = {
10944
10947
  key: 1,
10945
10948
  class: "header-custom-mirrors-avatar"
10946
10949
  };
@@ -10950,24 +10953,24 @@ const _hoisted_6$f = {
10950
10953
  alt: "mirrors-avatar-phone",
10951
10954
  class: "header-custom-mirrors-img"
10952
10955
  };
10953
- const _hoisted_7$b = {
10956
+ const _hoisted_7$c = {
10954
10957
  key: 1,
10955
10958
  src: "https://cdn-static.gitcode.com/static/images/mirrors-avata_20250411.gif",
10956
10959
  alt: "mirrors-avatar",
10957
10960
  class: "header-custom-mirrors-img-tall"
10958
10961
  };
10959
- const _hoisted_8$9 = { class: "g-repo-breadcrumb-container" };
10960
- const _hoisted_9$7 = {
10962
+ const _hoisted_8$b = { class: "g-repo-breadcrumb-container" };
10963
+ const _hoisted_9$a = {
10961
10964
  key: 0,
10962
10965
  class: "header-custom-breadcrumb-row"
10963
10966
  };
10964
- const _hoisted_10$7 = ["title"];
10965
- const _hoisted_11$6 = ["title"];
10966
- const _hoisted_12$5 = {
10967
+ const _hoisted_10$9 = ["title"];
10968
+ const _hoisted_11$7 = ["title"];
10969
+ const _hoisted_12$7 = {
10967
10970
  key: 0,
10968
10971
  class: "header-custom-tag-mb"
10969
10972
  };
10970
- const _hoisted_13$2 = {
10973
+ const _hoisted_13$3 = {
10971
10974
  key: 1,
10972
10975
  class: "header-custom-tag-mb"
10973
10976
  };
@@ -10992,7 +10995,7 @@ const _hoisted_20$2 = {
10992
10995
  };
10993
10996
  const _hoisted_21$2 = { class: "user-layout-toolbar-title ellipsis-two-line" };
10994
10997
  const _hoisted_22$2 = { class: "header-custom-btn-label" };
10995
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
10998
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
10996
10999
  __name: "HeaderCustom",
10997
11000
  props: {
10998
11001
  scene: { default: SceneValue.home },
@@ -11110,7 +11113,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11110
11113
  });
11111
11114
  return (_ctx, _cache) => {
11112
11115
  var _a, _b, _c;
11113
- return _ctx.scene === unref(SceneValue).org && !_ctx.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
11116
+ return _ctx.scene === unref(SceneValue).org && !_ctx.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
11114
11117
  createVNode(GLink, {
11115
11118
  href: ((_a = _ctx.orgProps) == null ? void 0 : _a.orgHomepageUrl) || "",
11116
11119
  class: "header-custom-link"
@@ -11118,7 +11121,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11118
11121
  default: withCtx(() => {
11119
11122
  var _a2, _b2, _c2;
11120
11123
  return [
11121
- createVNode(_sfc_main$M, {
11124
+ createVNode(_sfc_main$N, {
11122
11125
  class: "g-border",
11123
11126
  src: ((_a2 = unref(orgInfo)) == null ? void 0 : _a2.avatar) || "",
11124
11127
  name: ((_b2 = unref(orgInfo)) == null ? void 0 : _b2.name) || "",
@@ -11126,7 +11129,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11126
11129
  height: 28,
11127
11130
  is_round: false
11128
11131
  }, null, 8, ["src", "name"]),
11129
- createElementVNode("div", _hoisted_2$u, toDisplayString$1((_c2 = unref(orgInfo)) == null ? void 0 : _c2.name), 1)
11132
+ createElementVNode("div", _hoisted_2$v, toDisplayString$1((_c2 = unref(orgInfo)) == null ? void 0 : _c2.name), 1)
11130
11133
  ];
11131
11134
  }),
11132
11135
  _: 1
@@ -11141,7 +11144,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11141
11144
  default: withCtx(() => {
11142
11145
  var _a2;
11143
11146
  return [
11144
- createElementVNode("span", _hoisted_3$t, toDisplayString$1(((_a2 = _ctx.orgProps) == null ? void 0 : _a2.isOrgFollow) ? unref(t2)("gitCodeLayout.home.alreadyFollowed") : unref(t2)("gitCodeLayout.home.focusOn")), 1)
11147
+ createElementVNode("span", _hoisted_3$u, toDisplayString$1(((_a2 = _ctx.orgProps) == null ? void 0 : _a2.isOrgFollow) ? unref(t2)("gitCodeLayout.home.alreadyFollowed") : unref(t2)("gitCodeLayout.home.focusOn")), 1)
11145
11148
  ];
11146
11149
  }),
11147
11150
  _: 1
@@ -11163,7 +11166,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11163
11166
  default: withCtx(() => {
11164
11167
  var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k;
11165
11168
  return [
11166
- createElementVNode("h2", _hoisted_4$m, [
11169
+ createElementVNode("h2", _hoisted_4$n, [
11167
11170
  createVNode(GLink, {
11168
11171
  href: (_a2 = unref(breadcrumb)[0]) == null ? void 0 : _a2.path,
11169
11172
  class: "header-custom-avatar-link"
@@ -11171,7 +11174,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11171
11174
  default: withCtx(() => {
11172
11175
  var _a3, _b3, _c3, _d2;
11173
11176
  return [
11174
- !((_a3 = _ctx.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$M, {
11177
+ !((_a3 = _ctx.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$N, {
11175
11178
  key: 0,
11176
11179
  class: normalizeClass({ "g-border": isOrg.value }),
11177
11180
  src: ((_c3 = (_b3 = unref(repoInfo)) == null ? void 0 : _b3.namespace) == null ? void 0 : _c3.avatar_url) || "",
@@ -11179,14 +11182,14 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11179
11182
  width: 28,
11180
11183
  height: 28,
11181
11184
  is_round: !isOrg.value
11182
- }, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_5$h, [
11183
- unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_6$f)) : (openBlock(), createElementBlock("img", _hoisted_7$b))
11185
+ }, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_5$i, [
11186
+ unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_6$f)) : (openBlock(), createElementBlock("img", _hoisted_7$c))
11184
11187
  ]))
11185
11188
  ];
11186
11189
  }),
11187
11190
  _: 1
11188
11191
  }, 8, ["href"]),
11189
- createElementVNode("div", _hoisted_8$9, [
11192
+ createElementVNode("div", _hoisted_8$b, [
11190
11193
  !((_b2 = _ctx.repoProps) == null ? void 0 : _b2.isGhMirrors) ? (openBlock(), createElementBlock("div", {
11191
11194
  key: 0,
11192
11195
  ref_key: "breadcrumbRef",
@@ -11197,7 +11200,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11197
11200
  return openBlock(), createElementBlock(Fragment, {
11198
11201
  key: item.path
11199
11202
  }, [
11200
- index2 !== unref(breadcrumb).length - 1 ? (openBlock(), createElementBlock("span", _hoisted_9$7, [
11203
+ index2 !== unref(breadcrumb).length - 1 ? (openBlock(), createElementBlock("span", _hoisted_9$a, [
11201
11204
  createVNode(GLink, {
11202
11205
  class: "linkTx",
11203
11206
  href: item.path
@@ -11209,7 +11212,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11209
11212
  ref: breadcrumbTextRef,
11210
11213
  title: item.label,
11211
11214
  class: normalizeClass(["linkTx", index2 === unref(breadcrumb).length - 1 ? "header-custom-bold" : ""])
11212
- }, toDisplayString$1(item.label), 11, _hoisted_10$7)
11215
+ }, toDisplayString$1(item.label), 11, _hoisted_10$9)
11213
11216
  ]),
11214
11217
  _: 2
11215
11218
  }, 1032, ["href"]),
@@ -11234,12 +11237,12 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11234
11237
  ref: breadcrumbNextTextRef,
11235
11238
  title: unref(breadcrumb)[unref(breadcrumb).length - 1].label,
11236
11239
  class: "linkTx header-custom-bold"
11237
- }, toDisplayString$1(unref(breadcrumb)[unref(breadcrumb).length - 1].label), 9, _hoisted_11$6)
11240
+ }, toDisplayString$1(unref(breadcrumb)[unref(breadcrumb).length - 1].label), 9, _hoisted_11$7)
11238
11241
  ]),
11239
11242
  _: 1
11240
11243
  }, 8, ["href"]),
11241
- unref(isGstarRepo)((_e = unref(repoInfo)) == null ? void 0 : _e.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_12$5, [
11242
- createVNode(_sfc_main$L, {
11244
+ unref(isGstarRepo)((_e = unref(repoInfo)) == null ? void 0 : _e.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_12$7, [
11245
+ createVNode(_sfc_main$M, {
11243
11246
  origin: "repo",
11244
11247
  icon: "",
11245
11248
  type: "gstar",
@@ -11250,8 +11253,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11250
11253
  ])),
11251
11254
  _: 1
11252
11255
  }, 8, ["message"])
11253
- ])) : unref(isIncubationRepo)((_f = unref(repoInfo)) == null ? void 0 : _f.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_13$2, [
11254
- createVNode(_sfc_main$L, {
11256
+ ])) : unref(isIncubationRepo)((_f = unref(repoInfo)) == null ? void 0 : _f.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_13$3, [
11257
+ createVNode(_sfc_main$M, {
11255
11258
  origin: "repo",
11256
11259
  icon: "",
11257
11260
  type: "incubation",
@@ -11264,7 +11267,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11264
11267
  }, 8, ["message"])
11265
11268
  ])) : createCommentVNode("", true),
11266
11269
  unref(isTrustedRepo)((_g = unref(repoInfo)) == null ? void 0 : _g.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_14$2, [
11267
- createVNode(_sfc_main$L, {
11270
+ createVNode(_sfc_main$M, {
11268
11271
  trusted: "",
11269
11272
  message: unref(t2)("gitCodeLayout.trusted.title"),
11270
11273
  icon: "",
@@ -11313,7 +11316,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11313
11316
  default: withCtx(() => {
11314
11317
  var _a2, _b2, _c2, _d, _e;
11315
11318
  return [
11316
- createVNode(_sfc_main$M, {
11319
+ createVNode(_sfc_main$N, {
11317
11320
  src: (_a2 = unref(otherUserInfo)) == null ? void 0 : _a2.avatarUrl,
11318
11321
  name: ((_b2 = unref(otherUserInfo)) == null ? void 0 : _b2.name) || ((_c2 = unref(otherUserInfo)) == null ? void 0 : _c2.nickname),
11319
11322
  width: 28,
@@ -11340,9 +11343,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11340
11343
  };
11341
11344
  }
11342
11345
  });
11343
- const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11344
- const _hoisted_1$D = ["src"];
11345
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
11346
+ const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11347
+ const _hoisted_1$E = ["src"];
11348
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11346
11349
  ...{ name: "OperationEntry" },
11347
11350
  __name: "OperationEntry",
11348
11351
  setup(__props) {
@@ -11386,14 +11389,14 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11386
11389
  class: "operation-entry__img",
11387
11390
  src: img.value,
11388
11391
  alt: "operation-entry"
11389
- }, null, 8, _hoisted_1$D)
11392
+ }, null, 8, _hoisted_1$E)
11390
11393
  ])) : createCommentVNode("", true);
11391
11394
  };
11392
11395
  }
11393
11396
  });
11394
- const OperationEntry = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11395
- const _hoisted_1$C = ["src"];
11396
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
11397
+ const OperationEntry = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11398
+ const _hoisted_1$D = ["src"];
11399
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11397
11400
  __name: "ClaimPower",
11398
11401
  props: {
11399
11402
  config: {}
@@ -11416,12 +11419,12 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
11416
11419
  createElementVNode("img", {
11417
11420
  src: _ctx.config.logo_url,
11418
11421
  alt: "claim power"
11419
- }, null, 8, _hoisted_1$C)
11422
+ }, null, 8, _hoisted_1$D)
11420
11423
  ])) : createCommentVNode("", true);
11421
11424
  };
11422
11425
  }
11423
11426
  });
11424
- const ClaimPower = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11427
+ const ClaimPower = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11425
11428
  const DEFAULT_APPLICATION_HOST = "https://gitcode.com";
11426
11429
  function normalizeApplicationHost(host) {
11427
11430
  return (host || DEFAULT_APPLICATION_HOST).replace(/\/+$/, "");
@@ -11456,19 +11459,24 @@ const HEADER_CREATE_MENU_PATHS = [
11456
11459
  "/collections/create",
11457
11460
  "/org/create"
11458
11461
  ];
11459
- const _hoisted_1$B = { class: "g-header-create dashboard-create-menu" };
11460
- const _hoisted_2$t = { class: "dashboard-create-menu__tooltip" };
11461
- const _hoisted_3$s = ["title", "aria-label", "aria-expanded"];
11462
- const _hoisted_4$l = ["aria-label"];
11463
- const _hoisted_5$g = {
11462
+ const _hoisted_1$C = { class: "g-header-create dashboard-create-menu" };
11463
+ const _hoisted_2$u = ["title", "aria-label", "aria-expanded"];
11464
+ const _hoisted_3$t = { class: "dashboard-create-menu__trigger-text" };
11465
+ const _hoisted_4$m = ["aria-label"];
11466
+ const _hoisted_5$h = {
11464
11467
  key: 0,
11465
11468
  class: "dashboard-create-menu__divider",
11466
11469
  role: "separator"
11467
11470
  };
11468
11471
  const _hoisted_6$e = ["href", "onClick", "onKeydown"];
11469
- const _hoisted_7$a = { class: "dashboard-create-menu__copy" };
11472
+ const _hoisted_7$b = { class: "dashboard-create-menu__title-row" };
11473
+ const _hoisted_8$a = { class: "dashboard-create-menu__title" };
11474
+ const _hoisted_9$9 = {
11475
+ key: 0,
11476
+ class: "dashboard-create-menu__desc"
11477
+ };
11470
11478
  const menuId = "gitcode-header-create-menu";
11471
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
11479
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
11472
11480
  ...{
11473
11481
  name: "HeaderCreateMenu"
11474
11482
  },
@@ -11490,7 +11498,6 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
11490
11498
  const triggerRef = ref(null);
11491
11499
  const menuRef = ref(null);
11492
11500
  const menuOpen = ref(false);
11493
- const menuStyle = ref({});
11494
11501
  const defaultMenuItems = computed(() => {
11495
11502
  const [repoPath, importPath, modelPath, datasetPath, spacePath, collectionPath, orgPath] = HEADER_CREATE_MENU_PATHS;
11496
11503
  return [
@@ -11556,63 +11563,33 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
11556
11563
  (_a = items[safeIndex]) == null ? void 0 : _a.focus();
11557
11564
  });
11558
11565
  }
11559
- function updateMenuPosition() {
11560
- if (typeof window === "undefined" || !menuOpen.value || !triggerRef.value) return;
11561
- const triggerRect = triggerRef.value.getBoundingClientRect();
11562
- const menu = menuRef.value;
11563
- const viewportPadding = 8;
11564
- const menuWidth = Math.min(
11565
- (menu == null ? void 0 : menu.offsetWidth) || 240,
11566
- Math.max(0, window.innerWidth - viewportPadding * 2)
11567
- );
11568
- const maxHeight = Math.max(180, window.innerHeight - viewportPadding * 2);
11569
- const menuHeight = Math.min((menu == null ? void 0 : menu.scrollHeight) || maxHeight, maxHeight);
11570
- const maxLeft = Math.max(viewportPadding, window.innerWidth - menuWidth - viewportPadding);
11571
- const left = Math.min(triggerRect.right - menuWidth, maxLeft);
11572
- let top = triggerRect.bottom + viewportPadding;
11573
- if (top + menuHeight > window.innerHeight - viewportPadding) {
11574
- const above = triggerRect.top - viewportPadding - menuHeight;
11575
- top = above >= viewportPadding ? above : window.innerHeight - viewportPadding - menuHeight;
11576
- }
11577
- menuStyle.value = {
11578
- top: `${Math.max(viewportPadding, top)}px`,
11579
- left: `${Math.max(viewportPadding, left)}px`,
11580
- maxHeight: `${maxHeight}px`
11581
- };
11582
- }
11583
- function setMenuOpen(open, restoreFocus = false) {
11584
- menuOpen.value = open;
11585
- emit("update:dropdownVisible", open);
11586
- if (open) {
11587
- void nextTick(updateMenuPosition);
11588
- } else if (restoreFocus) {
11566
+ function closeMenu(restoreFocus = false) {
11567
+ if (!menuOpen.value) return;
11568
+ menuOpen.value = false;
11569
+ emit("update:dropdownVisible", false);
11570
+ if (restoreFocus) {
11589
11571
  void nextTick(() => {
11590
11572
  var _a;
11591
11573
  return (_a = triggerRef.value) == null ? void 0 : _a.focus();
11592
11574
  });
11593
11575
  }
11594
11576
  }
11595
- function closeMenu(restoreFocus = false) {
11596
- setMenuOpen(false, restoreFocus);
11597
- }
11598
- function openMenu(focusIndex) {
11599
- setMenuOpen(true);
11600
- if (focusIndex !== void 0) focusMenuItem(focusIndex);
11601
- }
11602
- function toggleMenu() {
11603
- if (menuOpen.value) closeMenu();
11604
- else openMenu();
11605
- }
11577
+ const handleToggle = (value) => {
11578
+ if (menuOpen.value === value) return;
11579
+ menuOpen.value = value;
11580
+ emit("update:dropdownVisible", value);
11581
+ };
11606
11582
  function onTriggerKeydown(event) {
11607
11583
  if (event.key === "ArrowDown") {
11608
11584
  event.preventDefault();
11609
- openMenu(0);
11585
+ menuOpen.value = true;
11586
+ emit("update:dropdownVisible", true);
11587
+ focusMenuItem(0);
11610
11588
  } else if (event.key === "ArrowUp") {
11611
11589
  event.preventDefault();
11612
- openMenu(menuItems.value.length - 1);
11613
- } else if (event.key === "Enter" || event.key === " ") {
11614
- event.preventDefault();
11615
- toggleMenu();
11590
+ menuOpen.value = true;
11591
+ emit("update:dropdownVisible", true);
11592
+ focusMenuItem(menuItems.value.length - 1);
11616
11593
  } else if (event.key === "Escape") {
11617
11594
  event.preventDefault();
11618
11595
  closeMenu(true);
@@ -11639,17 +11616,6 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
11639
11616
  if (event.currentTarget instanceof HTMLElement) event.currentTarget.click();
11640
11617
  }
11641
11618
  }
11642
- function onDocumentPointerDown(event) {
11643
- var _a, _b;
11644
- if (!menuOpen.value) return;
11645
- const target = event.target;
11646
- if (!(target instanceof Node)) return;
11647
- if (((_a = triggerRef.value) == null ? void 0 : _a.contains(target)) || ((_b = menuRef.value) == null ? void 0 : _b.contains(target))) return;
11648
- closeMenu();
11649
- }
11650
- function onWindowChange() {
11651
- updateMenuPosition();
11652
- }
11653
11619
  function navigateTo(href) {
11654
11620
  const applicationHref = toApplicationUrl(layoutConfig2.VITE_HOST, href);
11655
11621
  const applicationRoute = toApplicationRoute(layoutConfig2.VITE_HOST, href);
@@ -11679,99 +11645,96 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
11679
11645
  () => props.dropdownVisible,
11680
11646
  (visible) => {
11681
11647
  menuOpen.value = visible;
11682
- if (visible) void nextTick(updateMenuPosition);
11683
11648
  },
11684
11649
  { immediate: true }
11685
11650
  );
11686
- watch(menuOpen, (open) => {
11687
- if (open) void nextTick(updateMenuPosition);
11688
- });
11689
11651
  watch(
11690
11652
  () => route == null ? void 0 : route.fullPath,
11691
11653
  () => closeMenu()
11692
11654
  );
11693
- onMounted(() => {
11694
- document.addEventListener("pointerdown", onDocumentPointerDown, true);
11695
- window.addEventListener("resize", onWindowChange);
11696
- window.addEventListener("scroll", onWindowChange, true);
11697
- });
11698
- onBeforeUnmount(() => {
11699
- document.removeEventListener("pointerdown", onDocumentPointerDown, true);
11700
- window.removeEventListener("resize", onWindowChange);
11701
- window.removeEventListener("scroll", onWindowChange, true);
11702
- });
11703
11655
  return (_ctx, _cache) => {
11704
- return openBlock(), createElementBlock("div", _hoisted_1$B, [
11705
- createElementVNode("span", _hoisted_2$t, [
11706
- createElementVNode("button", {
11707
- id: "guide-step3",
11708
- ref_key: "triggerRef",
11709
- ref: triggerRef,
11710
- type: "button",
11711
- class: "dashboard-create-menu__trigger dashboard-create-menu__trigger--header",
11712
- title: unref(t2)("gitCodeLayout.header.create"),
11713
- "aria-label": unref(t2)("gitCodeLayout.header.create"),
11714
- "aria-expanded": menuOpen.value,
11715
- "aria-controls": menuId,
11716
- "aria-haspopup": "menu",
11717
- onClick: withModifiers(toggleMenu, ["stop"]),
11718
- onKeydown: onTriggerKeydown
11719
- }, [
11720
- createVNode(GIcon, {
11721
- name: "gt-add",
11722
- size: "16px",
11723
- color: "var(--theme-light-text)",
11724
- class: "dashboard-create-menu__trigger-icon",
11725
- "aria-hidden": "true"
11726
- }),
11727
- createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.header.create")), 1)
11728
- ], 40, _hoisted_3$s)
11729
- ]),
11730
- (openBlock(), createBlock(Teleport, { to: "body" }, [
11731
- menuOpen.value ? (openBlock(), createElementBlock("div", {
11732
- key: 0,
11733
- id: menuId,
11734
- ref_key: "menuRef",
11735
- ref: menuRef,
11736
- class: "dashboard-create-menu__panel",
11737
- style: normalizeStyle(menuStyle.value),
11738
- role: "menu",
11739
- "aria-label": unref(t2)("gitCodeLayout.header.create")
11740
- }, [
11741
- (openBlock(true), createElementBlock(Fragment, null, renderList(menuItems.value, (item, index2) => {
11742
- return openBlock(), createElementBlock(Fragment, {
11743
- key: item.key
11744
- }, [
11745
- item.dividerBefore ? (openBlock(), createElementBlock("div", _hoisted_5$g)) : createCommentVNode("", true),
11746
- createElementVNode("a", {
11747
- href: unref(toApplicationUrl)(unref(layoutConfig2).VITE_HOST, item.href),
11748
- class: "dashboard-create-menu__item",
11749
- role: "menuitem",
11750
- tabindex: "-1",
11751
- onClick: withModifiers(($event) => selectCreateItem(item), ["prevent"]),
11752
- onKeydown: ($event) => onMenuItemKeydown($event, index2)
11656
+ return openBlock(), createElementBlock("div", _hoisted_1$C, [
11657
+ createVNode(unref(Dropdown), {
11658
+ position: ["bottom-end", "bottom-start"],
11659
+ "destroy-on-hide": false,
11660
+ trigger: "hover",
11661
+ offset: { mainAxis: 4, crossAxis: 0 },
11662
+ onClick: _cache[0] || (_cache[0] = withModifiers(() => {
11663
+ }, ["stop"])),
11664
+ "overlay-class": "dashboard-create-dropdown",
11665
+ visible: menuOpen.value,
11666
+ onToggle: handleToggle
11667
+ }, {
11668
+ menu: withCtx(() => [
11669
+ createElementVNode("div", {
11670
+ id: menuId,
11671
+ ref_key: "menuRef",
11672
+ ref: menuRef,
11673
+ class: "dashboard-create-menu__panel",
11674
+ role: "menu",
11675
+ "aria-label": unref(t2)("gitCodeLayout.header.create")
11676
+ }, [
11677
+ (openBlock(true), createElementBlock(Fragment, null, renderList(menuItems.value, (item, index2) => {
11678
+ return openBlock(), createElementBlock(Fragment, {
11679
+ key: item.key
11753
11680
  }, [
11754
- createVNode(GIcon, {
11755
- name: item.icon,
11756
- size: "16px",
11757
- color: "var(--dashboard-muted-text, var(--theme-aide-text, #707a87))",
11758
- class: "dashboard-create-menu__icon",
11759
- "aria-hidden": "true"
11760
- }, null, 8, ["name"]),
11761
- createElementVNode("span", _hoisted_7$a, [
11762
- createElementVNode("strong", null, toDisplayString$1(item.label), 1)
11763
- ])
11764
- ], 40, _hoisted_6$e)
11765
- ], 64);
11766
- }), 128))
11767
- ], 12, _hoisted_4$l)) : createCommentVNode("", true)
11768
- ]))
11681
+ item.dividerBefore ? (openBlock(), createElementBlock("div", _hoisted_5$h)) : createCommentVNode("", true),
11682
+ createElementVNode("a", {
11683
+ href: unref(toApplicationUrl)(unref(layoutConfig2).VITE_HOST, item.href),
11684
+ class: normalizeClass(["dashboard-create-menu__item", { "dashboard-create-menu__item--with-desc": Boolean(item.desc) }]),
11685
+ role: "menuitem",
11686
+ tabindex: "-1",
11687
+ onClick: withModifiers(($event) => selectCreateItem(item), ["prevent"]),
11688
+ onKeydown: ($event) => onMenuItemKeydown($event, index2)
11689
+ }, [
11690
+ createElementVNode("div", _hoisted_7$b, [
11691
+ createVNode(GIcon, {
11692
+ name: item.icon,
11693
+ size: "16px",
11694
+ color: "currentColor",
11695
+ class: "dashboard-create-menu__icon",
11696
+ "aria-hidden": "true"
11697
+ }, null, 8, ["name"]),
11698
+ createElementVNode("span", _hoisted_8$a, toDisplayString$1(item.label), 1)
11699
+ ]),
11700
+ item.desc ? (openBlock(), createElementBlock("div", _hoisted_9$9, toDisplayString$1(item.desc), 1)) : createCommentVNode("", true)
11701
+ ], 42, _hoisted_6$e)
11702
+ ], 64);
11703
+ }), 128))
11704
+ ], 8, _hoisted_4$m)
11705
+ ]),
11706
+ default: withCtx(() => [
11707
+ createElementVNode("button", {
11708
+ id: "guide-step3",
11709
+ ref_key: "triggerRef",
11710
+ ref: triggerRef,
11711
+ type: "button",
11712
+ class: "dashboard-create-menu__trigger dashboard-create-menu__trigger--header",
11713
+ title: unref(t2)("gitCodeLayout.header.create"),
11714
+ "aria-label": unref(t2)("gitCodeLayout.header.create"),
11715
+ "aria-expanded": menuOpen.value,
11716
+ "aria-controls": menuId,
11717
+ "aria-haspopup": "menu",
11718
+ onKeydown: onTriggerKeydown
11719
+ }, [
11720
+ createVNode(GIcon, {
11721
+ name: "gt-add",
11722
+ size: "16px",
11723
+ color: "var(--theme-light-text)",
11724
+ class: "dashboard-create-menu__trigger-icon",
11725
+ "aria-hidden": "true"
11726
+ }),
11727
+ createElementVNode("span", _hoisted_3$t, toDisplayString$1(unref(t2)("gitCodeLayout.header.create")), 1)
11728
+ ], 40, _hoisted_2$u)
11729
+ ]),
11730
+ _: 1
11731
+ }, 8, ["visible"])
11769
11732
  ]);
11770
11733
  };
11771
11734
  }
11772
11735
  });
11773
- const HeaderCreateMenu = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11774
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
11736
+ const HeaderCreateMenu = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11737
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
11775
11738
  ...{
11776
11739
  name: "DocumentCenter"
11777
11740
  },
@@ -11796,7 +11759,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
11796
11759
  };
11797
11760
  }
11798
11761
  });
11799
- const DocumentCenter = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11762
+ const DocumentCenter = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11800
11763
  var aes = { exports: {} };
11801
11764
  function commonjsRequire(path) {
11802
11765
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -14256,11 +14219,11 @@ function headRequest(request) {
14256
14219
  }
14257
14220
  };
14258
14221
  }
14259
- const _hoisted_1$A = {
14222
+ const _hoisted_1$B = {
14260
14223
  key: 1,
14261
14224
  class: "g-text-all"
14262
14225
  };
14263
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
14226
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
14264
14227
  ...{ name: "GText" },
14265
14228
  __name: "index",
14266
14229
  props: {
@@ -14337,24 +14300,24 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
14337
14300
  class: "watch-all",
14338
14301
  onClick: onShowAll
14339
14302
  }, toDisplayString$1(_ctx.$t("gitCodeLayout.notice.msg.viewAll")), 1)) : createCommentVNode("", true)
14340
- ], 6)) : showAllContent.value && finalConfig.value.showAll ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
14303
+ ], 6)) : showAllContent.value && finalConfig.value.showAll ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
14341
14304
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
14342
14305
  ])) : createCommentVNode("", true);
14343
14306
  };
14344
14307
  }
14345
14308
  });
14346
- const GText = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14347
- const _hoisted_1$z = { class: "message-item" };
14348
- const _hoisted_2$s = { class: "message-item-footer" };
14349
- const _hoisted_3$r = ["title"];
14350
- const _hoisted_4$k = ["href"];
14351
- const _hoisted_5$f = { class: "message-item-info-content" };
14309
+ const GText = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14310
+ const _hoisted_1$A = { class: "message-item" };
14311
+ const _hoisted_2$t = { class: "message-item-footer" };
14312
+ const _hoisted_3$s = ["title"];
14313
+ const _hoisted_4$l = ["href"];
14314
+ const _hoisted_5$g = { class: "message-item-info-content" };
14352
14315
  const _hoisted_6$d = { class: "message-item-body" };
14353
- const _hoisted_7$9 = ["title", "innerHTML"];
14354
- const _hoisted_8$8 = ["title"];
14355
- const _hoisted_9$6 = { class: "message-item-info" };
14356
- const _hoisted_10$6 = { class: "message-item-rightTx message-item-date" };
14357
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
14316
+ const _hoisted_7$a = ["title", "innerHTML"];
14317
+ const _hoisted_8$9 = ["title"];
14318
+ const _hoisted_9$8 = { class: "message-item-info" };
14319
+ const _hoisted_10$8 = { class: "message-item-rightTx message-item-date" };
14320
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
14358
14321
  __name: "index",
14359
14322
  props: {
14360
14323
  data: { default: () => ({}) },
@@ -14366,8 +14329,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
14366
14329
  const { formatTimeFromNow } = useTimeFormat();
14367
14330
  return (_ctx, _cache) => {
14368
14331
  var _a;
14369
- return openBlock(), createElementBlock("div", _hoisted_1$z, [
14370
- createElementVNode("div", _hoisted_2$s, [
14332
+ return openBlock(), createElementBlock("div", _hoisted_1$A, [
14333
+ createElementVNode("div", _hoisted_2$t, [
14371
14334
  createElementVNode("div", {
14372
14335
  class: "message-item__avatar-wrap",
14373
14336
  title: _ctx.data.nickname
@@ -14377,16 +14340,16 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
14377
14340
  target: "_blank",
14378
14341
  class: "user-info linktx message-item__user-info"
14379
14342
  }, [
14380
- createVNode(_sfc_main$M, {
14343
+ createVNode(_sfc_main$N, {
14381
14344
  name: _ctx.data.nickname,
14382
14345
  src: _ctx.data.avatar,
14383
14346
  width: 32,
14384
14347
  height: 32
14385
14348
  }, null, 8, ["name", "src"])
14386
- ], 8, _hoisted_4$k)
14387
- ], 8, _hoisted_3$r)
14349
+ ], 8, _hoisted_4$l)
14350
+ ], 8, _hoisted_3$s)
14388
14351
  ]),
14389
- createElementVNode("div", _hoisted_5$f, [
14352
+ createElementVNode("div", _hoisted_5$g, [
14390
14353
  createElementVNode("div", _hoisted_6$d, [
14391
14354
  createVNode(GLink, {
14392
14355
  href: unref(transformUrl)(_ctx.data.url),
@@ -14402,17 +14365,17 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
14402
14365
  title: _ctx.data.title,
14403
14366
  innerHTML: unref(xssPurify)(_ctx.data.title) || "",
14404
14367
  class: "message-item__title"
14405
- }, null, 8, _hoisted_7$9)) : (openBlock(), createElementBlock("span", {
14368
+ }, null, 8, _hoisted_7$a)) : (openBlock(), createElementBlock("span", {
14406
14369
  key: 1,
14407
14370
  title: _ctx.data.title
14408
- }, toDisplayString$1(_ctx.data.title || "-"), 9, _hoisted_8$8))
14371
+ }, toDisplayString$1(_ctx.data.title || "-"), 9, _hoisted_8$9))
14409
14372
  ]),
14410
14373
  _: 1
14411
14374
  })
14412
14375
  ]),
14413
14376
  _: 1
14414
14377
  }, 8, ["href", "class"]),
14415
- createElementVNode("div", _hoisted_9$6, [
14378
+ createElementVNode("div", _hoisted_9$8, [
14416
14379
  createVNode(GText, null, {
14417
14380
  default: withCtx(() => [
14418
14381
  createTextVNode(toDisplayString$1(_ctx.data.repo), 1)
@@ -14429,52 +14392,52 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
14429
14392
  ])
14430
14393
  ])
14431
14394
  ]),
14432
- createElementVNode("div", _hoisted_10$6, toDisplayString$1(unref(formatTimeFromNow)(_ctx.data.time)), 1)
14395
+ createElementVNode("div", _hoisted_10$8, toDisplayString$1(unref(formatTimeFromNow)(_ctx.data.time)), 1)
14433
14396
  ]);
14434
14397
  };
14435
14398
  }
14436
14399
  });
14437
- const MessageItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14438
- const _hoisted_1$y = { class: "message-header-nav" };
14439
- const _hoisted_2$r = {
14400
+ const MessageItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14401
+ const _hoisted_1$z = { class: "message-header-nav" };
14402
+ const _hoisted_2$s = {
14440
14403
  key: 0,
14441
14404
  class: "item-count-icon"
14442
14405
  };
14443
- const _hoisted_3$q = {
14406
+ const _hoisted_3$r = {
14444
14407
  key: 1,
14445
14408
  class: "g-number"
14446
14409
  };
14447
- const _hoisted_4$j = {
14410
+ const _hoisted_4$k = {
14448
14411
  key: 0,
14449
14412
  class: "g-number message-box__count"
14450
14413
  };
14451
- const _hoisted_5$e = { class: "message-content-cover" };
14414
+ const _hoisted_5$f = { class: "message-content-cover" };
14452
14415
  const _hoisted_6$c = {
14453
14416
  key: 0,
14454
14417
  class: "message-content-header"
14455
14418
  };
14456
- const _hoisted_7$8 = {
14419
+ const _hoisted_7$9 = {
14457
14420
  key: 0,
14458
14421
  class: "g-number"
14459
14422
  };
14460
- const _hoisted_8$7 = {
14423
+ const _hoisted_8$8 = {
14461
14424
  key: 0,
14462
14425
  class: "g-number"
14463
14426
  };
14464
- const _hoisted_9$5 = {
14427
+ const _hoisted_9$7 = {
14465
14428
  key: 2,
14466
14429
  class: "message-content-empty"
14467
14430
  };
14468
- const _hoisted_10$5 = {
14431
+ const _hoisted_10$7 = {
14469
14432
  key: 3,
14470
14433
  class: "loading-more"
14471
14434
  };
14472
- const _hoisted_11$5 = {
14435
+ const _hoisted_11$6 = {
14473
14436
  key: 4,
14474
14437
  class: "no-more"
14475
14438
  };
14476
- const _hoisted_12$4 = { class: "message-footer-nav" };
14477
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
14439
+ const _hoisted_12$6 = { class: "message-footer-nav" };
14440
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
14478
14441
  __name: "MessageBox",
14479
14442
  setup(__props, { expose: __expose }) {
14480
14443
  var _a;
@@ -14745,7 +14708,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
14745
14708
  class: "message-box",
14746
14709
  onClick: _cache[5] || (_cache[5] = withModifiers(($event) => console.log("stop"), ["stop"]))
14747
14710
  }, [
14748
- createElementVNode("div", _hoisted_1$y, [
14711
+ createElementVNode("div", _hoisted_1$z, [
14749
14712
  createVNode(unref(Tabs), {
14750
14713
  modelValue: checkedId.value,
14751
14714
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checkedId.value = $event),
@@ -14761,7 +14724,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
14761
14724
  createElementVNode("div", {
14762
14725
  class: normalizeClass(["message-header-nav-item", { "message-header-nav-item-active": item.messageType === checkedId.value }])
14763
14726
  }, [
14764
- item.icon ? (openBlock(), createElementBlock("div", _hoisted_2$r, [
14727
+ item.icon ? (openBlock(), createElementBlock("div", _hoisted_2$s, [
14765
14728
  createVNode(GIcon, {
14766
14729
  name: item.icon,
14767
14730
  size: "16px",
@@ -14774,7 +14737,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
14774
14737
  }, null, 8, ["name"])
14775
14738
  ])) : createCommentVNode("", true),
14776
14739
  createElementVNode("span", null, toDisplayString$1(item.text), 1),
14777
- item.count > 0 ? (openBlock(), createElementBlock("span", _hoisted_3$q, toDisplayString$1(item.count), 1)) : createCommentVNode("", true)
14740
+ item.count > 0 ? (openBlock(), createElementBlock("span", _hoisted_3$r, toDisplayString$1(item.count), 1)) : createCommentVNode("", true)
14778
14741
  ], 2)
14779
14742
  ]),
14780
14743
  _: 2
@@ -14788,7 +14751,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
14788
14751
  onClick: _cache[1] || (_cache[1] = ($event) => toPage("unread"))
14789
14752
  }, [
14790
14753
  createTextVNode(toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.allUnread")), 1),
14791
- msgCount.value > 0 ? (openBlock(), createElementBlock("span", _hoisted_4$j, toDisplayString$1(msgCount.value), 1)) : createCommentVNode("", true)
14754
+ msgCount.value > 0 ? (openBlock(), createElementBlock("span", _hoisted_4$k, toDisplayString$1(msgCount.value), 1)) : createCommentVNode("", true)
14792
14755
  ])
14793
14756
  ]),
14794
14757
  createElementVNode("div", {
@@ -14796,21 +14759,21 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
14796
14759
  ref: scrollContainer,
14797
14760
  class: "message-content"
14798
14761
  }, [
14799
- withDirectives((openBlock(), createElementBlock("div", _hoisted_5$e, [
14762
+ withDirectives((openBlock(), createElementBlock("div", _hoisted_5$f, [
14800
14763
  currentType.value === "mention" ? (openBlock(), createElementBlock("div", _hoisted_6$c, [
14801
14764
  createElementVNode("div", {
14802
14765
  class: normalizeClass(["message-content-header-item message-content-header-item--mr", { active: mentionSubTab.value === "project" }]),
14803
14766
  onClick: _cache[2] || (_cache[2] = ($event) => switchMentionSubTab("project"))
14804
14767
  }, [
14805
14768
  _cache[6] || (_cache[6] = createTextVNode(" 项目相关 ")),
14806
- mentionSubTabCount.value.project > 0 ? (openBlock(), createElementBlock("span", _hoisted_7$8, toDisplayString$1(mentionSubTabCount.value.project), 1)) : createCommentVNode("", true)
14769
+ mentionSubTabCount.value.project > 0 ? (openBlock(), createElementBlock("span", _hoisted_7$9, toDisplayString$1(mentionSubTabCount.value.project), 1)) : createCommentVNode("", true)
14807
14770
  ], 2),
14808
14771
  createElementVNode("div", {
14809
14772
  class: normalizeClass(["message-content-header-item", { active: mentionSubTab.value === "discussion" }]),
14810
14773
  onClick: _cache[3] || (_cache[3] = ($event) => switchMentionSubTab("discussion"))
14811
14774
  }, [
14812
14775
  _cache[7] || (_cache[7] = createTextVNode(" 在线讨论 ")),
14813
- mentionSubTabCount.value.discussion > 0 ? (openBlock(), createElementBlock("span", _hoisted_8$7, toDisplayString$1(mentionSubTabCount.value.discussion), 1)) : createCommentVNode("", true)
14776
+ mentionSubTabCount.value.discussion > 0 ? (openBlock(), createElementBlock("span", _hoisted_8$8, toDisplayString$1(mentionSubTabCount.value.discussion), 1)) : createCommentVNode("", true)
14814
14777
  ], 2)
14815
14778
  ])) : createCommentVNode("", true),
14816
14779
  listData.value.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(listData.value, (item) => {
@@ -14820,16 +14783,16 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
14820
14783
  data: item,
14821
14784
  onTrigger: ($event) => handleMessageRead(item)
14822
14785
  }, null, 8, ["type", "data", "onTrigger"]);
14823
- }), 128)) : (openBlock(), createElementBlock("div", _hoisted_9$5, [
14786
+ }), 128)) : (openBlock(), createElementBlock("div", _hoisted_9$7, [
14824
14787
  createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.noMessage")), 1)
14825
14788
  ])),
14826
- loadingMore.value ? (openBlock(), createElementBlock("div", _hoisted_10$5, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.loading")) + "... ", 1)) : createCommentVNode("", true),
14827
- !hasMore.value && listData.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_11$5, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.noMore")), 1)) : createCommentVNode("", true)
14789
+ loadingMore.value ? (openBlock(), createElementBlock("div", _hoisted_10$7, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.loading")) + "... ", 1)) : createCommentVNode("", true),
14790
+ !hasMore.value && listData.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_11$6, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.noMore")), 1)) : createCommentVNode("", true)
14828
14791
  ])), [
14829
14792
  [_directive_loading, loading.value]
14830
14793
  ])
14831
14794
  ], 512),
14832
- createElementVNode("div", _hoisted_12$4, [
14795
+ createElementVNode("div", _hoisted_12$6, [
14833
14796
  createElementVNode("div", { onClick: setPageRead }, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.pageRead")), 1),
14834
14797
  createElementVNode("div", {
14835
14798
  onClick: _cache[4] || (_cache[4] = ($event) => toPage("all"))
@@ -14839,8 +14802,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
14839
14802
  };
14840
14803
  }
14841
14804
  });
14842
- const MessageBox = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14843
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
14805
+ const MessageBox = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14806
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
14844
14807
  ...{
14845
14808
  name: "Notice"
14846
14809
  },
@@ -14884,13 +14847,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
14884
14847
  return (_ctx, _cache) => {
14885
14848
  return unref(isMobile) ? (openBlock(), createBlock(GLink, {
14886
14849
  key: 0,
14850
+ class: "g-notice-btn",
14887
14851
  href: `${unref(transformUrl)(unref(layoutConfig2).VITE_HOST)}/notice?message_sate=countNotRead`
14888
14852
  }, {
14889
14853
  default: withCtx(() => [
14890
14854
  createVNode(unref(Badge), {
14891
14855
  class: "g-notice",
14892
14856
  count: counts.value,
14893
- offset: [-4, 0],
14857
+ offset: [-2, -2],
14894
14858
  hidden: !counts.value,
14895
14859
  status: "danger"
14896
14860
  }, {
@@ -14910,7 +14874,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
14910
14874
  position: ["bottom-start"],
14911
14875
  "destroy-on-hide": false,
14912
14876
  trigger: "hover",
14913
- offset: { mainAxis: 14, crossAxis: 0 },
14877
+ offset: { mainAxis: 8, crossAxis: 0 },
14914
14878
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
14915
14879
  }, ["stop"])),
14916
14880
  "overlay-class": "g-user-dropdown",
@@ -14925,13 +14889,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
14925
14889
  ]),
14926
14890
  default: withCtx(() => [
14927
14891
  createVNode(GLink, {
14892
+ class: "g-notice-btn",
14928
14893
  href: `${unref(transformUrl)(unref(layoutConfig2).VITE_HOST)}/notice?message_sate=countNotRead`
14929
14894
  }, {
14930
14895
  default: withCtx(() => [
14931
14896
  createVNode(unref(Badge), {
14932
14897
  class: "g-notice",
14933
14898
  count: counts.value,
14934
- offset: [-4, 0],
14899
+ offset: [-2, -2],
14935
14900
  hidden: !counts.value,
14936
14901
  status: "danger"
14937
14902
  }, {
@@ -14953,9 +14918,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
14953
14918
  };
14954
14919
  }
14955
14920
  });
14956
- const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14957
- const _hoisted_1$x = { class: "devui-select__item g-option-link" };
14958
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
14921
+ const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14922
+ const _hoisted_1$y = { class: "devui-select__item g-option-link" };
14923
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
14959
14924
  ...{
14960
14925
  name: "OptionLink"
14961
14926
  },
@@ -14973,7 +14938,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
14973
14938
  },
14974
14939
  setup(__props) {
14975
14940
  return (_ctx, _cache) => {
14976
- return openBlock(), createElementBlock("li", _hoisted_1$x, [
14941
+ return openBlock(), createElementBlock("li", _hoisted_1$y, [
14977
14942
  createVNode(GLink, normalizeProps(guardReactiveProps(_ctx.$props)), {
14978
14943
  default: withCtx(() => [
14979
14944
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
@@ -14984,7 +14949,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
14984
14949
  };
14985
14950
  }
14986
14951
  });
14987
- const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14952
+ const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14988
14953
  function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
14989
14954
  const allCookies = api.get() || {};
14990
14955
  const storedValue = allCookies[key] || localStorage$2.getItem(key);
@@ -15008,10 +14973,10 @@ function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
15008
14973
  );
15009
14974
  return value;
15010
14975
  }
15011
- const _hoisted_1$w = { class: "tools-item-wrapper" };
15012
- const _hoisted_2$q = { class: "tools-item-wrapper-checkbox" };
15013
- const _hoisted_3$p = ["onClick", "title"];
15014
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
14976
+ const _hoisted_1$x = { class: "tools-item-wrapper" };
14977
+ const _hoisted_2$r = { class: "tools-item-wrapper-checkbox" };
14978
+ const _hoisted_3$q = ["onClick", "title"];
14979
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15015
14980
  __name: "Lang",
15016
14981
  setup(__props) {
15017
14982
  const lang = useCookie(LANG_KEY, LANG_ZH);
@@ -15033,9 +14998,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15033
14998
  window.location.reload();
15034
14999
  };
15035
15000
  return (_ctx, _cache) => {
15036
- return openBlock(), createElementBlock("div", _hoisted_1$w, [
15001
+ return openBlock(), createElementBlock("div", _hoisted_1$x, [
15037
15002
  createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.lang")), 1),
15038
- createElementVNode("div", _hoisted_2$q, [
15003
+ createElementVNode("div", _hoisted_2$r, [
15039
15004
  (openBlock(true), createElementBlock(Fragment, null, renderList(linkList.value, (item) => {
15040
15005
  return openBlock(), createElementBlock("div", mergeProps({
15041
15006
  key: item.label,
@@ -15051,26 +15016,26 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15051
15016
  color: "var(--theme-icon-fill-weak)",
15052
15017
  class: "checkbox-item-icon"
15053
15018
  }, null, 8, ["name"])
15054
- ], 16, _hoisted_3$p);
15019
+ ], 16, _hoisted_3$q);
15055
15020
  }), 128))
15056
15021
  ])
15057
15022
  ]);
15058
15023
  };
15059
15024
  }
15060
15025
  });
15061
- const _hoisted_1$v = {
15026
+ const _hoisted_1$w = {
15062
15027
  key: 0,
15063
15028
  class: "user-level-avatar-badge"
15064
15029
  };
15065
- const _hoisted_2$p = { class: "user-level__row" };
15066
- const _hoisted_3$o = ["src"];
15067
- const _hoisted_4$i = { class: "level-name" };
15068
- const _hoisted_5$d = { class: "level-icon" };
15030
+ const _hoisted_2$q = { class: "user-level__row" };
15031
+ const _hoisted_3$p = ["src"];
15032
+ const _hoisted_4$j = { class: "level-name" };
15033
+ const _hoisted_5$e = { class: "level-icon" };
15069
15034
  const _hoisted_6$b = ["src"];
15070
- const _hoisted_7$7 = { class: "custom-btn" };
15071
- const _hoisted_8$6 = { class: "user-level__btn-text" };
15035
+ const _hoisted_7$8 = { class: "custom-btn" };
15036
+ const _hoisted_8$7 = { class: "user-level__btn-text" };
15072
15037
  const maxLevel = 3;
15073
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
15038
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15074
15039
  ...{ name: "UserLevel" },
15075
15040
  __name: "UserLevel",
15076
15041
  props: ["accountInfo"],
@@ -15121,16 +15086,16 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
15121
15086
  class: normalizeClass(["user-level", { [unref(ThemeType).BLACK]: unref(currentTheme) === unref(ThemeType).BLACK }]),
15122
15087
  onClick: handleUpgrade
15123
15088
  }, [
15124
- __props.accountInfo.need_tips ? (openBlock(), createElementBlock("div", _hoisted_1$v)) : createCommentVNode("", true),
15125
- createElementVNode("div", _hoisted_2$p, [
15089
+ __props.accountInfo.need_tips ? (openBlock(), createElementBlock("div", _hoisted_1$w)) : createCommentVNode("", true),
15090
+ createElementVNode("div", _hoisted_2$q, [
15126
15091
  createElementVNode("img", {
15127
15092
  class: "level-avatar",
15128
15093
  src: levelInfo.value.avatar,
15129
15094
  alt: ""
15130
- }, null, 8, _hoisted_3$o),
15131
- createElementVNode("div", _hoisted_4$i, [
15095
+ }, null, 8, _hoisted_3$p),
15096
+ createElementVNode("div", _hoisted_4$j, [
15132
15097
  createElementVNode("div", null, toDisplayString$1(levelInfo.value.name), 1),
15133
- createElementVNode("div", _hoisted_5$d, [
15098
+ createElementVNode("div", _hoisted_5$e, [
15134
15099
  createElementVNode("img", {
15135
15100
  src: levelInfo.value.level,
15136
15101
  alt: ""
@@ -15138,23 +15103,23 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
15138
15103
  ])
15139
15104
  ])
15140
15105
  ]),
15141
- createElementVNode("div", _hoisted_7$7, [
15142
- createElementVNode("div", _hoisted_8$6, toDisplayString$1(unref(t2)("gitCodeLayout.userSetting.tips.getPoints")), 1)
15106
+ createElementVNode("div", _hoisted_7$8, [
15107
+ createElementVNode("div", _hoisted_8$7, toDisplayString$1(unref(t2)("gitCodeLayout.userSetting.tips.getPoints")), 1)
15143
15108
  ])
15144
15109
  ], 2);
15145
15110
  };
15146
15111
  }
15147
15112
  });
15148
- const UserLevel = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15149
- const _hoisted_1$u = { class: "g-user-drawer-info-list" };
15150
- const _hoisted_2$o = { class: "g-user-drawer-info-list__name-wrap" };
15151
- const _hoisted_3$n = ["title"];
15152
- const _hoisted_4$h = ["title"];
15153
- const _hoisted_5$c = {
15113
+ const UserLevel = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15114
+ const _hoisted_1$v = { class: "g-user-drawer-info-list" };
15115
+ const _hoisted_2$p = { class: "g-user-drawer-info-list__name-wrap" };
15116
+ const _hoisted_3$o = ["title"];
15117
+ const _hoisted_4$i = ["title"];
15118
+ const _hoisted_5$d = {
15154
15119
  key: 0,
15155
15120
  class: "g-user-drawer-lang-row"
15156
15121
  };
15157
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
15122
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
15158
15123
  __name: "UserAvatarMenu",
15159
15124
  props: {
15160
15125
  isChatBot: { type: Boolean },
@@ -15296,7 +15261,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
15296
15261
  });
15297
15262
  const avatarLangBlock = {
15298
15263
  id: "avatar-lang",
15299
- component: markRaw(_sfc_main$A),
15264
+ component: markRaw(_sfc_main$B),
15300
15265
  avatarLangRow: true
15301
15266
  };
15302
15267
  const shouldShowEnterpriseLang = computed(
@@ -15373,22 +15338,22 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
15373
15338
  target: _ctx.isChatBot ? "_blank" : ""
15374
15339
  }, {
15375
15340
  default: withCtx(() => [
15376
- createVNode(_sfc_main$M, {
15341
+ createVNode(_sfc_main$N, {
15377
15342
  name: _ctx.accountInfo.nickname || "",
15378
15343
  src: _ctx.accountInfo.avatar || "",
15379
15344
  width: 52,
15380
15345
  height: 52
15381
15346
  }, null, 8, ["name", "src"]),
15382
- createElementVNode("div", _hoisted_1$u, [
15383
- createElementVNode("div", _hoisted_2$o, [
15347
+ createElementVNode("div", _hoisted_1$v, [
15348
+ createElementVNode("div", _hoisted_2$p, [
15384
15349
  createElementVNode("p", {
15385
15350
  class: "g-user-drawer-info-list-name ellipsis",
15386
15351
  title: _ctx.accountInfo.nickname
15387
- }, toDisplayString$1(_ctx.accountInfo.nickname), 9, _hoisted_3$n),
15352
+ }, toDisplayString$1(_ctx.accountInfo.nickname), 9, _hoisted_3$o),
15388
15353
  createElementVNode("p", {
15389
15354
  class: "g-user-drawer-info-list-id ellipsis",
15390
15355
  title: _ctx.accountInfo.username
15391
- }, "@" + toDisplayString$1(_ctx.accountInfo.username), 9, _hoisted_4$h)
15356
+ }, "@" + toDisplayString$1(_ctx.accountInfo.username), 9, _hoisted_4$i)
15392
15357
  ]),
15393
15358
  createVNode(GIcon, {
15394
15359
  name: "gt-line-right",
@@ -15408,7 +15373,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
15408
15373
  key: index2
15409
15374
  }, [
15410
15375
  block.component ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
15411
- block.avatarLangRow ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
15376
+ block.avatarLangRow ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
15412
15377
  (openBlock(), createBlock(resolveDynamicComponent(block.component), {
15413
15378
  key: block.id
15414
15379
  }))
@@ -15441,20 +15406,20 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
15441
15406
  };
15442
15407
  }
15443
15408
  });
15444
- const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15445
- const _hoisted_1$t = { class: "g-user-avatar flex-center" };
15446
- const _hoisted_2$n = {
15409
+ const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15410
+ const _hoisted_1$u = { class: "g-user-avatar flex-center" };
15411
+ const _hoisted_2$o = {
15447
15412
  key: 0,
15448
15413
  class: "g-user-avatar__badge"
15449
15414
  };
15450
- const _hoisted_3$m = { class: "g-user-avatar flex-center" };
15451
- const _hoisted_4$g = {
15415
+ const _hoisted_3$n = { class: "g-user-avatar flex-center" };
15416
+ const _hoisted_4$h = {
15452
15417
  key: 0,
15453
15418
  class: "g-user-avatar__badge"
15454
15419
  };
15455
- const _hoisted_5$b = { class: "g-user-drawer" };
15420
+ const _hoisted_5$c = { class: "g-user-drawer" };
15456
15421
  const _hoisted_6$a = { class: "user-avatar__drawer-header" };
15457
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
15422
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
15458
15423
  ...{
15459
15424
  name: "UserAvatar"
15460
15425
  },
@@ -15593,12 +15558,12 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15593
15558
  key: 0,
15594
15559
  onClick: _cache[0] || (_cache[0] = ($event) => drawerVisible.value = true)
15595
15560
  }, [
15596
- createElementVNode("div", _hoisted_1$t, [
15597
- createVNode(_sfc_main$M, {
15561
+ createElementVNode("div", _hoisted_1$u, [
15562
+ createVNode(_sfc_main$N, {
15598
15563
  name: accountInfo.value.nickname,
15599
15564
  src: unref(transformUrl)(accountInfo.value.avatar)
15600
15565
  }, null, 8, ["name", "src"]),
15601
- accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$n, _cache[4] || (_cache[4] = [
15566
+ accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$o, _cache[4] || (_cache[4] = [
15602
15567
  createElementVNode("div", null, null, -1)
15603
15568
  ]))) : createCommentVNode("", true)
15604
15569
  ])
@@ -15611,7 +15576,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15611
15576
  onToggle: handleToggle
15612
15577
  }, {
15613
15578
  menu: withCtx(() => [
15614
- createElementVNode("div", _hoisted_5$b, [
15579
+ createElementVNode("div", _hoisted_5$c, [
15615
15580
  createVNode(UserAvatarMenu, {
15616
15581
  independence: _ctx.independence,
15617
15582
  loginOutFinish: _ctx.loginOutFinish,
@@ -15625,12 +15590,12 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15625
15590
  ])
15626
15591
  ]),
15627
15592
  default: withCtx(() => [
15628
- createElementVNode("div", _hoisted_3$m, [
15629
- createVNode(_sfc_main$M, {
15593
+ createElementVNode("div", _hoisted_3$n, [
15594
+ createVNode(_sfc_main$N, {
15630
15595
  name: accountInfo.value.nickname,
15631
15596
  src: unref(transformUrl)(accountInfo.value.avatar)
15632
15597
  }, null, 8, ["name", "src"]),
15633
- accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$g, _cache[5] || (_cache[5] = [
15598
+ accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$h, _cache[5] || (_cache[5] = [
15634
15599
  createElementVNode("div", null, null, -1)
15635
15600
  ]))) : createCommentVNode("", true)
15636
15601
  ])
@@ -15673,7 +15638,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15673
15638
  };
15674
15639
  }
15675
15640
  });
15676
- const UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15641
+ const UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15677
15642
  var EVENT_NAME = /* @__PURE__ */ ((EVENT_NAME2) => {
15678
15643
  EVENT_NAME2["START_SEARCH"] = "开始搜索";
15679
15644
  EVENT_NAME2["SEARCH"] = "搜索";
@@ -15909,16 +15874,16 @@ const buildQualifierPrefix = (info) => {
15909
15874
  }
15910
15875
  return `${key}:${info.searchScopeName} `;
15911
15876
  };
15912
- const _hoisted_1$s = {
15877
+ const _hoisted_1$t = {
15913
15878
  key: 0,
15914
15879
  class: "devui-input-slot__prefix"
15915
15880
  };
15916
- const _hoisted_2$m = ["value"];
15917
- const _hoisted_3$l = {
15881
+ const _hoisted_2$n = ["value"];
15882
+ const _hoisted_3$m = {
15918
15883
  key: 1,
15919
15884
  class: "devui-input-slot__suffix"
15920
15885
  };
15921
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
15886
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15922
15887
  ...{
15923
15888
  name: "HighlightInput",
15924
15889
  inheritAttrs: false
@@ -16086,7 +16051,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
16086
16051
  class: normalizeClass(["devui-input__wrapper devui-input--glow-style hl-search-input", [rootClass.value, { "devui-input--focus": isFocused.value }]]),
16087
16052
  style: normalizeStyle(rootStyle.value)
16088
16053
  }, [
16089
- _ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
16054
+ _ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_1$t, [
16090
16055
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
16091
16056
  ])) : createCommentVNode("", true),
16092
16057
  createElementVNode("div", {
@@ -16112,16 +16077,16 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
16112
16077
  ref: nativeRef,
16113
16078
  class: "devui-input__inner hl-search-input__native",
16114
16079
  value: _ctx.modelValue
16115
- }, inputAttrs.value, { onInput }), null, 16, _hoisted_2$m)
16080
+ }, inputAttrs.value, { onInput }), null, 16, _hoisted_2$n)
16116
16081
  ], 512),
16117
- _ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
16082
+ _ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_3$m, [
16118
16083
  renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
16119
16084
  ])) : createCommentVNode("", true)
16120
16085
  ], 6);
16121
16086
  };
16122
16087
  }
16123
16088
  });
16124
- const HighlightInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-vue-layout-gitcode"]]);
16089
+ const HighlightInput = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-vue-layout-gitcode"]]);
16125
16090
  const SEARCH_ROUTE_PATHS = /* @__PURE__ */ new Set(["/search", "/search/"]);
16126
16091
  const SEARCH_SCOPE_QUERY_KEYS = ["scope", "repo", "org", "user", "namespace"];
16127
16092
  const firstNonEmpty = (...values) => {
@@ -16172,18 +16137,18 @@ const normalizeSearchHotWordUrl = (original, defaultGlobalSearchType, sourceModu
16172
16137
  }
16173
16138
  return serializeHotWordUrl(url, original);
16174
16139
  };
16175
- const _hoisted_1$r = { class: "g-header-search-prefix" };
16176
- const _hoisted_2$l = ["innerHTML"];
16177
- const _hoisted_3$k = { class: "g-header-search-suffix-splitline" };
16178
- const _hoisted_4$f = { class: "g-header-search-suffix-suffixIcon" };
16179
- const _hoisted_5$a = { class: "history-list" };
16140
+ const _hoisted_1$s = { class: "g-header-search-prefix" };
16141
+ const _hoisted_2$m = ["innerHTML"];
16142
+ const _hoisted_3$l = { class: "g-header-search-suffix-splitline" };
16143
+ const _hoisted_4$g = { class: "g-header-search-suffix-suffixIcon" };
16144
+ const _hoisted_5$b = { class: "history-list" };
16180
16145
  const _hoisted_6$9 = {
16181
16146
  key: 1,
16182
16147
  class: "aireposearch aireposearch--flex"
16183
16148
  };
16184
16149
  const RECOMMEND_RESERVE = 60;
16185
16150
  const HISTORY_DISPLAY_COUNT = 3;
16186
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
16151
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
16187
16152
  __name: "index",
16188
16153
  props: {
16189
16154
  inAIHub: { type: Boolean },
@@ -16194,12 +16159,12 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
16194
16159
  setup(__props) {
16195
16160
  const layoutConfig2 = useLayoutConfig();
16196
16161
  const { t: $t } = i18n.global;
16197
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BF6NwnUD.js"));
16198
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-B3OpNc8B.js"));
16199
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CbyaXQ9_.js"));
16200
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-HPLScuap.js"));
16201
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-MDfy39Wg.js"));
16202
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-CfoABOec.js"));
16162
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-B1B_ylR5.js"));
16163
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-DXsK2ra4.js"));
16164
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DJ6iKp30.js"));
16165
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-kUU1YE6C.js"));
16166
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-xTv1h5WH.js"));
16167
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-3QMNGnAW.js"));
16203
16168
  const props = __props;
16204
16169
  const repoInfo = inject("repoInfo", computed(() => void 0));
16205
16170
  const orgInfo = inject("orgInfo", computed(() => void 0));
@@ -16753,7 +16718,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
16753
16718
  }, {
16754
16719
  menu: withCtx(() => [
16755
16720
  createElementVNode("div", null, [
16756
- withDirectives(createElementVNode("div", _hoisted_5$a, [
16721
+ withDirectives(createElementVNode("div", _hoisted_5$b, [
16757
16722
  createVNode(unref(SearchScopeList), {
16758
16723
  searchScopeList: searchScopeList.value,
16759
16724
  onScopeSearch
@@ -16821,7 +16786,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
16821
16786
  ref: inputRef
16822
16787
  }, {
16823
16788
  prefix: withCtx(() => [
16824
- createElementVNode("div", _hoisted_1$r, [
16789
+ createElementVNode("div", _hoisted_1$s, [
16825
16790
  createVNode(GIcon, {
16826
16791
  name: "gt-search",
16827
16792
  class: "g-header-search-icon",
@@ -16845,7 +16810,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
16845
16810
  class: "quick-tips",
16846
16811
  innerHTML: unref(quickTips),
16847
16812
  onClick: onInputClick
16848
- }, null, 8, _hoisted_2$l)), [
16813
+ }, null, 8, _hoisted_2$m)), [
16849
16814
  [vShow, placeholderVisible.value]
16850
16815
  ])
16851
16816
  ]),
@@ -16862,10 +16827,10 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
16862
16827
  }, null, 512), [
16863
16828
  [vShow, searchStr.value]
16864
16829
  ]),
16865
- withDirectives(createElementVNode("span", _hoisted_3$k, "|", 512), [
16830
+ withDirectives(createElementVNode("span", _hoisted_3$l, "|", 512), [
16866
16831
  [vShow, searchStr.value]
16867
16832
  ]),
16868
- createElementVNode("div", _hoisted_4$f, [
16833
+ createElementVNode("div", _hoisted_4$g, [
16869
16834
  createVNode(GIcon, {
16870
16835
  name: "search",
16871
16836
  class: "g-header-search-icon",
@@ -16903,16 +16868,16 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
16903
16868
  };
16904
16869
  }
16905
16870
  });
16906
- const Search = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-vue-layout-gitcode"]]);
16907
- const _hoisted_1$q = { class: "announce-mobile-top" };
16908
- const _hoisted_2$k = { class: "announce-mobile-bottom" };
16909
- const _hoisted_3$j = ["href"];
16910
- const _hoisted_4$e = { class: "announce-content" };
16911
- const _hoisted_5$9 = { class: "announce-content-inner" };
16871
+ const Search = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-vue-layout-gitcode"]]);
16872
+ const _hoisted_1$r = { class: "announce-mobile-top" };
16873
+ const _hoisted_2$l = { class: "announce-mobile-bottom" };
16874
+ const _hoisted_3$k = ["href"];
16875
+ const _hoisted_4$f = { class: "announce-content" };
16876
+ const _hoisted_5$a = { class: "announce-content-inner" };
16912
16877
  const _hoisted_6$8 = ["href"];
16913
- const _hoisted_7$6 = { class: "announce-handle-wrapper" };
16878
+ const _hoisted_7$7 = { class: "announce-handle-wrapper" };
16914
16879
  const ANNOUNCE_STATUS_KEY = "site_announcement_status";
16915
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
16880
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
16916
16881
  ...{ name: "SiteAnnouncement" },
16917
16882
  __name: "SiteAnnouncement",
16918
16883
  setup(__props) {
@@ -16960,7 +16925,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
16960
16925
  class: normalizeClass(["announce-wrapper", { mobile: unref(isMobile) }])
16961
16926
  }, [
16962
16927
  unref(isMobile) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
16963
- createElementVNode("div", _hoisted_1$q, [
16928
+ createElementVNode("div", _hoisted_1$r, [
16964
16929
  createElementVNode("div", null, [
16965
16930
  createVNode(GIcon, {
16966
16931
  name: "gt-plane-warningCircular-blue",
@@ -16970,19 +16935,19 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
16970
16935
  ]),
16971
16936
  createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.content")), 1)
16972
16937
  ]),
16973
- createElementVNode("div", _hoisted_2$k, [
16938
+ createElementVNode("div", _hoisted_2$l, [
16974
16939
  createElementVNode("a", {
16975
16940
  class: "announce-detail",
16976
16941
  href: migrationAnnounceUrl.value
16977
- }, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail_mobile")), 9, _hoisted_3$j),
16942
+ }, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail_mobile")), 9, _hoisted_3$k),
16978
16943
  createElementVNode("span", {
16979
16944
  class: "announce-handle",
16980
16945
  onClick: _cache[0] || (_cache[0] = ($event) => handleClose())
16981
16946
  }, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.close")), 1)
16982
16947
  ])
16983
16948
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
16984
- createElementVNode("div", _hoisted_4$e, [
16985
- createElementVNode("div", _hoisted_5$9, [
16949
+ createElementVNode("div", _hoisted_4$f, [
16950
+ createElementVNode("div", _hoisted_5$a, [
16986
16951
  createVNode(GIcon, {
16987
16952
  name: "gt-plane-warningCircular-blue",
16988
16953
  size: "16",
@@ -16995,7 +16960,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
16995
16960
  }, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail")), 9, _hoisted_6$8)
16996
16961
  ])
16997
16962
  ]),
16998
- createElementVNode("div", _hoisted_7$6, [
16963
+ createElementVNode("div", _hoisted_7$7, [
16999
16964
  createElementVNode("span", {
17000
16965
  class: "announce-handle",
17001
16966
  onClick: _cache[1] || (_cache[1] = ($event) => handleClose())
@@ -17006,7 +16971,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17006
16971
  };
17007
16972
  }
17008
16973
  });
17009
- const SiteAnnouncement = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-vue-layout-gitcode"]]);
16974
+ const SiteAnnouncement = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-vue-layout-gitcode"]]);
17010
16975
  const DEFAULT_LOGIN_REDIRECT_STORAGE_KEY = "ag_login_pending_redirect";
17011
16976
  function useLoginRedirect(options) {
17012
16977
  const {
@@ -17076,8 +17041,10 @@ function useLoginRedirect(options) {
17076
17041
  }
17077
17042
  const actionMenuNames = {
17078
17043
  atomCode: ["AtomCode"],
17079
- aiCommunity: ["AI社区"],
17080
- competition: ["大赛平台"],
17044
+ learn: ["学习中心"],
17045
+ space: ["Space"],
17046
+ schoolParty: ["校源行"],
17047
+ competition: ["大赛平台", "大赛"],
17081
17048
  marketplace: ["应用市场"],
17082
17049
  workspace: ["工作台"]
17083
17050
  };
@@ -17109,6 +17076,14 @@ function transformHomeSidebarUrl(url, transformers) {
17109
17076
  customHost: transformers.aiHost
17110
17077
  });
17111
17078
  }
17079
+ if (/^https?:\/\/activity\./i.test(url)) {
17080
+ return (transformers.transformUrl || transformUrl)(
17081
+ replaceHost({
17082
+ url,
17083
+ customHost: "https://activity.gitcode.com"
17084
+ })
17085
+ );
17086
+ }
17112
17087
  return (transformers.transformUrl || transformUrl)(url);
17113
17088
  }
17114
17089
  function resolveHomeHeaderActionUrls(items, fallbacks, transformers) {
@@ -17118,17 +17093,20 @@ function resolveHomeHeaderActionUrls(items, fallbacks, transformers) {
17118
17093
  };
17119
17094
  return {
17120
17095
  atomCode: resolve("atomCode"),
17121
- aiCommunity: resolve("aiCommunity"),
17096
+ learn: resolve("learn"),
17097
+ space: resolve("space"),
17098
+ schoolParty: resolve("schoolParty"),
17122
17099
  competition: resolve("competition"),
17123
17100
  marketplace: resolve("marketplace"),
17124
17101
  workspace: resolve("workspace")
17125
17102
  };
17126
17103
  }
17127
- const _hoisted_1$p = { class: "home-header-actions" };
17128
- const _hoisted_2$j = { class: "home-header-actions__menu" };
17129
- const _hoisted_3$i = ["href"];
17130
- const _hoisted_4$d = ["href"];
17131
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
17104
+ const _hoisted_1$q = { class: "home-header-actions" };
17105
+ const _hoisted_2$k = { class: "home-header-actions__menu" };
17106
+ const _hoisted_3$j = ["href"];
17107
+ const _hoisted_4$e = ["href"];
17108
+ const _hoisted_5$9 = { class: "home-header-actions__workspace-text" };
17109
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17132
17110
  ...{
17133
17111
  name: "HomeHeaderActions"
17134
17112
  },
@@ -17162,10 +17140,9 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17162
17140
  );
17163
17141
  const fallbackUrls = computed(() => ({
17164
17142
  atomCode: "https://atomcode.atomgit.com/",
17165
- aiCommunity: joinUrl(
17166
- aiHost.value,
17167
- "/serverless-api?source_module=home_sidebar_ai_community"
17168
- ),
17143
+ learn: "/learn",
17144
+ space: "/space",
17145
+ schoolParty: transformUrl("https://activity.gitcode.com/schoolparty?utm_source=homepage"),
17169
17146
  competition: joinUrl(
17170
17147
  layoutConfig2.VITE_COMPETITION_HOST || "https://competition.gitcode.com",
17171
17148
  "/competition?utm_source=toolbar"
@@ -17185,12 +17162,16 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17185
17162
  }));
17186
17163
  const discoverLinks = computed(() => [
17187
17164
  {
17188
- label: t2("gitCodeLayout.home.atomCodeOfficial"),
17189
- href: actionUrls.value.atomCode
17165
+ label: t2("gitCodeLayout.home.learnCenter"),
17166
+ href: actionUrls.value.learn
17190
17167
  },
17191
17168
  {
17192
- label: t2("gitCodeLayout.home.aiCommunity"),
17193
- href: actionUrls.value.aiCommunity
17169
+ label: t2("gitCodeLayout.home.space"),
17170
+ href: actionUrls.value.space
17171
+ },
17172
+ {
17173
+ label: t2("gitCodeLayout.home.schoolParty"),
17174
+ href: actionUrls.value.schoolParty
17194
17175
  },
17195
17176
  {
17196
17177
  label: t2("gitCodeLayout.home.competition"),
@@ -17254,7 +17235,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17254
17235
  }
17255
17236
  });
17256
17237
  return (_ctx, _cache) => {
17257
- return openBlock(), createElementBlock("div", _hoisted_1$p, [
17238
+ return openBlock(), createElementBlock("div", _hoisted_1$q, [
17258
17239
  createVNode(unref(Dropdown), {
17259
17240
  position: ["bottom-start"],
17260
17241
  "destroy-on-hide": false,
@@ -17264,14 +17245,14 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17264
17245
  onToggle: handleDiscoverToggle
17265
17246
  }, {
17266
17247
  menu: withCtx(() => [
17267
- createElementVNode("div", _hoisted_2$j, [
17248
+ createElementVNode("div", _hoisted_2$k, [
17268
17249
  (openBlock(true), createElementBlock(Fragment, null, renderList(discoverLinks.value, (item) => {
17269
17250
  return openBlock(), createElementBlock("a", {
17270
17251
  key: item.label,
17271
17252
  href: item.href,
17272
17253
  class: "home-header-actions__menu-item",
17273
17254
  onClick: _cache[0] || (_cache[0] = ($event) => isDiscoverOpen.value = false)
17274
- }, toDisplayString$1(item.label), 9, _hoisted_3$i);
17255
+ }, toDisplayString$1(item.label), 9, _hoisted_3$j);
17275
17256
  }), 128))
17276
17257
  ])
17277
17258
  ]),
@@ -17296,25 +17277,39 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17296
17277
  class: "home-header-actions__button home-header-actions__workspace",
17297
17278
  onClick: onWorkspaceClick
17298
17279
  }, [
17299
- _cache[1] || (_cache[1] = createStaticVNode('<svg class="home-header-actions__icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-vue-layout-gitcode><path d="M12 12h.01" data-v-vue-layout-gitcode></path><path d="M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2" data-v-vue-layout-gitcode></path><path d="M22 13a18.15 18.15 0 0 1-20 0" data-v-vue-layout-gitcode></path><rect width="20" height="14" x="2" y="6" rx="2" data-v-vue-layout-gitcode></rect></svg>', 1)),
17300
- createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.header.myWorkbench")), 1)
17301
- ], 8, _hoisted_4$d)
17280
+ createVNode(GIcon, {
17281
+ class: "home-header-actions__icon",
17282
+ name: "gt-line-work",
17283
+ size: "16px",
17284
+ color: "currentColor"
17285
+ }),
17286
+ createElementVNode("span", _hoisted_5$9, toDisplayString$1(unref(t2)("gitCodeLayout.header.myWorkbench")), 1)
17287
+ ], 8, _hoisted_4$e)
17302
17288
  ]);
17303
17289
  };
17304
17290
  }
17305
17291
  });
17306
- const HomeHeaderActions = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-vue-layout-gitcode"]]);
17307
- const _hoisted_1$o = ["aria-label"];
17308
- const _hoisted_2$i = ["aria-label", "aria-expanded"];
17309
- const _hoisted_3$h = {
17292
+ const HomeHeaderActions = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-vue-layout-gitcode"]]);
17293
+ const _hoisted_1$p = ["aria-label", "aria-expanded"];
17294
+ const _hoisted_2$j = { class: "atomcode-launcher-text" };
17295
+ const _hoisted_3$i = {
17310
17296
  id: "atomCodeLaunchMenu",
17311
17297
  class: "atomcode-launch-menu",
17312
17298
  role: "menu"
17313
17299
  };
17314
- const _hoisted_4$c = { class: "atomcode-launch-heading" };
17315
- const _hoisted_5$8 = { id: "atomCodeContextHint" };
17316
- const _hoisted_6$7 = ["href"];
17317
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
17300
+ const _hoisted_4$d = { class: "atomcode-launch-item__title-row" };
17301
+ const _hoisted_5$8 = { class: "atomcode-launch-item__title" };
17302
+ const _hoisted_6$7 = {
17303
+ id: "atomCodeContextHint",
17304
+ class: "atomcode-launch-item__desc"
17305
+ };
17306
+ const _hoisted_7$6 = ["href"];
17307
+ const _hoisted_8$6 = { class: "atomcode-launch-item__title-row" };
17308
+ const _hoisted_9$6 = { class: "atomcode-launch-item__title" };
17309
+ const _hoisted_10$6 = ["href"];
17310
+ const _hoisted_11$5 = { class: "atomcode-launch-item__title-row" };
17311
+ const _hoisted_12$5 = { class: "atomcode-launch-item__title" };
17312
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17318
17313
  ...{
17319
17314
  name: "AtomCodeLauncher"
17320
17315
  },
@@ -17322,7 +17317,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17322
17317
  props: {
17323
17318
  atomcodeLaunchQs: { default: "" },
17324
17319
  isLogin: { type: Boolean, default: false },
17325
- launchAtomCode: { type: Function, default: void 0 }
17320
+ launchAtomCode: { type: Function, default: void 0 },
17321
+ officialUrl: { default: "" },
17322
+ atomcodeOfficialUrl: { default: "" }
17326
17323
  },
17327
17324
  setup(__props) {
17328
17325
  const props = __props;
@@ -17347,6 +17344,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17347
17344
  const separator = url.includes("?") ? "&" : "?";
17348
17345
  return `${url}${separator}${qs}`;
17349
17346
  });
17347
+ const resolvedOfficialUrl = computed(() => {
17348
+ return props.atomcodeOfficialUrl || props.officialUrl || "https://atomcode.atomgit.com/";
17349
+ });
17350
17350
  const resolvedCliDownloadUrl = computed(() => {
17351
17351
  return joinUrl(layoutConfig2.VITE_HOST, "/?tn=atomcode-coding-plan");
17352
17352
  });
@@ -17384,16 +17384,6 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17384
17384
  id: "atomCodeLauncher",
17385
17385
  class: normalizeClass(["atomcode-launcher", { open: isOpen.value }])
17386
17386
  }, [
17387
- createElementVNode("button", {
17388
- id: "atomCodeLaunchMain",
17389
- class: "atomcode-launch-main",
17390
- type: "button",
17391
- "aria-label": unref(t2)("gitCodeLayout.atomCode.openAtomCode"),
17392
- onClick: handleLaunchMain
17393
- }, [
17394
- _cache[0] || (_cache[0] = createStaticVNode('<svg data-lucide="sparkles" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-v-vue-layout-gitcode><path d="m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z" data-v-vue-layout-gitcode></path><path d="M5 3v4" data-v-vue-layout-gitcode></path><path d="M19 17v4" data-v-vue-layout-gitcode></path><path d="M3 5h4" data-v-vue-layout-gitcode></path><path d="M17 19h4" data-v-vue-layout-gitcode></path></svg>', 1)),
17395
- createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.title")), 1)
17396
- ], 8, _hoisted_1$o),
17397
17387
  createVNode(unref(Dropdown), {
17398
17388
  position: ["bottom-end", "bottom-start"],
17399
17389
  "destroy-on-hide": false,
@@ -17403,112 +17393,92 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17403
17393
  onToggle: handleToggle
17404
17394
  }, {
17405
17395
  menu: withCtx(() => [
17406
- createElementVNode("div", _hoisted_3$h, [
17407
- createElementVNode("div", _hoisted_4$c, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.useAtomCode")), 1),
17396
+ createElementVNode("div", _hoisted_3$i, [
17408
17397
  createElementVNode("button", {
17409
17398
  type: "button",
17399
+ class: "atomcode-launch-item atomcode-launch-item--with-desc",
17410
17400
  role: "menuitem",
17411
17401
  "data-atomcode-open": "",
17412
17402
  onClick: openAtomCode
17413
17403
  }, [
17414
- _cache[2] || (_cache[2] = createElementVNode("svg", {
17415
- "data-lucide": "arrow-up-right",
17416
- xmlns: "http://www.w3.org/2000/svg",
17417
- width: "16",
17418
- height: "16",
17419
- viewBox: "0 0 24 24",
17420
- fill: "none",
17421
- stroke: "currentColor",
17422
- "stroke-width": "2",
17423
- "stroke-linecap": "round",
17424
- "stroke-linejoin": "round",
17425
- "aria-hidden": "true"
17426
- }, [
17427
- createElementVNode("path", { d: "M7 7h10v10" }),
17428
- createElementVNode("path", { d: "M7 17 17 7" })
17429
- ], -1)),
17430
- createElementVNode("span", null, [
17431
- createElementVNode("strong", null, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.openInWorkbench")), 1),
17432
- createElementVNode("small", _hoisted_5$8, toDisplayString$1(contextHintText.value), 1)
17433
- ])
17404
+ createElementVNode("div", _hoisted_4$d, [
17405
+ createVNode(GIcon, {
17406
+ name: "gt-link",
17407
+ size: "16px",
17408
+ color: "currentColor",
17409
+ class: "atomcode-item-icon"
17410
+ }),
17411
+ createElementVNode("span", _hoisted_5$8, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.openInWorkbench")), 1)
17412
+ ]),
17413
+ createElementVNode("div", _hoisted_6$7, toDisplayString$1(contextHintText.value), 1)
17434
17414
  ]),
17435
- _cache[5] || (_cache[5] = createElementVNode("div", { class: "atomcode-launch-divider" }, null, -1)),
17415
+ createElementVNode("a", {
17416
+ href: resolvedOfficialUrl.value,
17417
+ target: "_blank",
17418
+ rel: "noopener noreferrer",
17419
+ class: "atomcode-launch-item",
17420
+ role: "menuitem",
17421
+ "data-atomcode-official": ""
17422
+ }, [
17423
+ createElementVNode("div", _hoisted_8$6, [
17424
+ createVNode(GIcon, {
17425
+ name: "gt-link",
17426
+ size: "16px",
17427
+ color: "currentColor",
17428
+ class: "atomcode-item-icon"
17429
+ }),
17430
+ createElementVNode("span", _hoisted_9$6, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.atomCodeOfficial")), 1)
17431
+ ])
17432
+ ], 8, _hoisted_7$6),
17436
17433
  createElementVNode("a", {
17437
17434
  href: resolvedCliDownloadUrl.value,
17438
17435
  target: "_blank",
17439
17436
  rel: "noopener noreferrer",
17437
+ class: "atomcode-launch-item",
17440
17438
  role: "menuitem",
17441
17439
  "data-atomcode-cli": ""
17442
17440
  }, [
17443
- _cache[3] || (_cache[3] = createElementVNode("svg", {
17444
- "data-lucide": "download",
17445
- xmlns: "http://www.w3.org/2000/svg",
17446
- width: "16",
17447
- height: "16",
17448
- viewBox: "0 0 24 24",
17449
- fill: "none",
17450
- stroke: "currentColor",
17451
- "stroke-width": "2",
17452
- "stroke-linecap": "round",
17453
- "stroke-linejoin": "round",
17454
- "aria-hidden": "true"
17455
- }, [
17456
- createElementVNode("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
17457
- createElementVNode("polyline", { points: "7 10 12 15 17 10" }),
17458
- createElementVNode("line", {
17459
- x1: "12",
17460
- x2: "12",
17461
- y1: "15",
17462
- y2: "3"
17463
- })
17464
- ], -1)),
17465
- createElementVNode("span", null, [
17466
- createElementVNode("strong", null, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.downloadCli")), 1)
17467
- ]),
17468
- _cache[4] || (_cache[4] = createElementVNode("svg", {
17469
- "data-lucide": "arrow-up-right",
17470
- xmlns: "http://www.w3.org/2000/svg",
17471
- width: "15",
17472
- height: "15",
17473
- viewBox: "0 0 24 24",
17474
- fill: "none",
17475
- stroke: "currentColor",
17476
- "stroke-width": "2",
17477
- "stroke-linecap": "round",
17478
- "stroke-linejoin": "round",
17479
- "aria-hidden": "true"
17480
- }, [
17481
- createElementVNode("path", { d: "M7 7h10v10" }),
17482
- createElementVNode("path", { d: "M7 17 17 7" })
17483
- ], -1))
17484
- ], 8, _hoisted_6$7)
17441
+ createElementVNode("div", _hoisted_11$5, [
17442
+ createVNode(GIcon, {
17443
+ name: "gt-line-upload",
17444
+ size: "16px",
17445
+ color: "currentColor",
17446
+ class: "atomcode-item-icon"
17447
+ }),
17448
+ createElementVNode("span", _hoisted_12$5, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.downloadCli")), 1)
17449
+ ])
17450
+ ], 8, _hoisted_10$6)
17485
17451
  ])
17486
17452
  ]),
17487
17453
  default: withCtx(() => [
17488
17454
  createElementVNode("button", {
17489
- id: "atomCodeLaunchToggle",
17490
- class: "atomcode-launch-toggle",
17455
+ id: "atomCodeLaunchMain",
17456
+ class: "atomcode-launcher-btn",
17491
17457
  type: "button",
17492
- "aria-label": unref(t2)("gitCodeLayout.atomCode.openAtomCodeMenu"),
17458
+ "aria-label": unref(t2)("gitCodeLayout.atomCode.openAtomCode"),
17493
17459
  "aria-haspopup": "menu",
17494
- "aria-expanded": isOpen.value
17495
- }, _cache[1] || (_cache[1] = [
17496
- createElementVNode("svg", {
17497
- "data-lucide": "chevron-down",
17498
- xmlns: "http://www.w3.org/2000/svg",
17499
- width: "16",
17500
- height: "16",
17501
- viewBox: "0 0 24 24",
17502
- fill: "none",
17503
- stroke: "currentColor",
17504
- "stroke-width": "2",
17505
- "stroke-linecap": "round",
17506
- "stroke-linejoin": "round",
17507
- "aria-hidden": "true"
17508
- }, [
17509
- createElementVNode("path", { d: "m6 9 6 6 6-6" })
17510
- ], -1)
17511
- ]), 8, _hoisted_2$i)
17460
+ "aria-expanded": isOpen.value,
17461
+ onClick: handleLaunchMain
17462
+ }, [
17463
+ createVNode(GIcon, {
17464
+ name: "gt-line-copilot-light",
17465
+ size: "16px",
17466
+ class: "atomcode-icon atomcode-icon--light"
17467
+ }),
17468
+ createVNode(GIcon, {
17469
+ name: "gt-line-copilot-dark",
17470
+ size: "16px",
17471
+ class: "atomcode-icon atomcode-icon--dark"
17472
+ }),
17473
+ createElementVNode("span", _hoisted_2$j, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.title")), 1),
17474
+ createVNode(GIcon, {
17475
+ name: "gt-line-down",
17476
+ size: "16px",
17477
+ color: "currentColor",
17478
+ rotate: isOpen.value ? "180deg" : "0deg",
17479
+ class: "atomcode-launcher-chevron"
17480
+ }, null, 8, ["rotate"])
17481
+ ], 8, _hoisted_1$p)
17512
17482
  ]),
17513
17483
  _: 1
17514
17484
  })
@@ -17516,7 +17486,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17516
17486
  };
17517
17487
  }
17518
17488
  });
17519
- const AtomCodeLauncher = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-vue-layout-gitcode"]]);
17489
+ const AtomCodeLauncher = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-vue-layout-gitcode"]]);
17520
17490
  const vElementExposure = {
17521
17491
  mounted(el, binding) {
17522
17492
  const observer = new IntersectionObserver(function(entries2, observer2) {
@@ -17533,7 +17503,7 @@ const vElementExposure = {
17533
17503
  beforeUnmount() {
17534
17504
  }
17535
17505
  };
17536
- const NoticeModal = defineAsyncComponent(() => import("./notice-wiD3_kEI.js"));
17506
+ const NoticeModal = defineAsyncComponent(() => import("./notice-BHOroXPp.js"));
17537
17507
  function clearNotice() {
17538
17508
  if (localStorage$2.getItem("validator_email")) {
17539
17509
  localStorage$2.removeItem("validator_email");
@@ -17560,21 +17530,32 @@ function useNotification() {
17560
17530
  notice
17561
17531
  };
17562
17532
  }
17563
- const _hoisted_1$n = { class: "g-toolbar-left allow-click-stop" };
17564
- const _hoisted_2$h = { key: 0 };
17565
- const _hoisted_3$g = {
17533
+ const _hoisted_1$o = { class: "g-toolbar-left allow-click-stop" };
17534
+ const _hoisted_2$i = { key: 0 };
17535
+ const _hoisted_3$h = {
17566
17536
  key: 1,
17567
17537
  class: "search-avatar"
17568
17538
  };
17569
- const _hoisted_4$b = { class: "g-toolbar-right__claim-row" };
17539
+ const _hoisted_4$c = {
17540
+ key: 2,
17541
+ class: "g-toolbar-right__claim-row"
17542
+ };
17570
17543
  const _hoisted_5$7 = {
17544
+ key: 0,
17545
+ class: "g-toolbar-right-divider"
17546
+ };
17547
+ const _hoisted_6$6 = {
17548
+ key: 0,
17549
+ class: "g-toolbar-right-divider"
17550
+ };
17551
+ const _hoisted_7$5 = {
17571
17552
  key: 1,
17572
17553
  class: "g-header-body"
17573
17554
  };
17574
- const _hoisted_6$6 = { class: "g-header-body-left" };
17575
- const _hoisted_7$5 = { class: "g-header-body-right" };
17576
- const _hoisted_8$5 = { key: 2 };
17577
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
17555
+ const _hoisted_8$5 = { class: "g-header-body-left" };
17556
+ const _hoisted_9$5 = { class: "g-header-body-right" };
17557
+ const _hoisted_10$5 = { key: 2 };
17558
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17578
17559
  ...{
17579
17560
  name: "GitCodeHeader"
17580
17561
  },
@@ -17901,6 +17882,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17901
17882
  });
17902
17883
  claimPowerConfig.value = (res == null ? void 0 : res.data) || {};
17903
17884
  };
17885
+ const isClaimRowVisible = computed(() => {
17886
+ var _a2;
17887
+ return Boolean(((_a2 = claimPowerConfig.value) == null ? void 0 : _a2.visible) || isModuleVisible(HeaderDisplayItem.OPERATION_ENTRY));
17888
+ });
17904
17889
  onMounted(() => {
17905
17890
  getClaimPowerConfig();
17906
17891
  toNotice();
@@ -18017,7 +18002,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18017
18002
  class: "g-toolbar allow-click-stop",
18018
18003
  onClick: withModifiers(handleToolbarClick, ["stop"])
18019
18004
  }, [
18020
- createElementVNode("div", _hoisted_1$n, [
18005
+ createElementVNode("div", _hoisted_1$o, [
18021
18006
  createElementVNode("div", {
18022
18007
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
18023
18008
  }, ["stop"])),
@@ -18067,10 +18052,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18067
18052
  }, 8, ["scene", "isLogin", "errorCode", "orgProps", "repoProps", "userProps"])) : createCommentVNode("", true)
18068
18053
  ], 2)) : createCommentVNode("", true)
18069
18054
  ]),
18070
- _ctx.$slots.headerMiddleRight ? (openBlock(), createElementBlock("div", _hoisted_2$h, [
18055
+ _ctx.$slots.headerMiddleRight ? (openBlock(), createElementBlock("div", _hoisted_2$i, [
18071
18056
  renderSlot(_ctx.$slots, "headerMiddleRight", {}, void 0, true)
18072
18057
  ])) : createCommentVNode("", true),
18073
- !inAIHub.value ? (openBlock(), createElementBlock("div", _hoisted_3$g, [
18058
+ !inAIHub.value ? (openBlock(), createElementBlock("div", _hoisted_3$h, [
18074
18059
  isModuleVisible(unref(HeaderDisplayItem).SEARCH_BUTTON) ? renderSlot(_ctx.$slots, "search", { key: 0 }, () => [
18075
18060
  (openBlock(), createBlock(Search, {
18076
18061
  inAIHub: inAIHub.value,
@@ -18112,12 +18097,13 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18112
18097
  isLogin: props.isLogin
18113
18098
  }, null, 8, ["workspace-navigate", "isLogin"])
18114
18099
  ], true) : createCommentVNode("", true),
18115
- createElementVNode("div", _hoisted_4$b, [
18100
+ isClaimRowVisible.value ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
18116
18101
  createVNode(ClaimPower, { config: claimPowerConfig.value }, null, 8, ["config"]),
18117
18102
  isModuleVisible(unref(HeaderDisplayItem).OPERATION_ENTRY) ? (openBlock(), createBlock(OperationEntry, { key: 0 })) : createCommentVNode("", true)
18118
- ]),
18119
- !_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
18120
- isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
18103
+ ])) : createCommentVNode("", true),
18104
+ !_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
18105
+ !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_5$7)) : createCommentVNode("", true),
18106
+ isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
18121
18107
  unref(isMobile) ? (openBlock(), createElementBlock("section", {
18122
18108
  key: 0,
18123
18109
  class: "app-login-warp login-icon",
@@ -18151,18 +18137,19 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18151
18137
  })
18152
18138
  ], 64)) : createCommentVNode("", true)
18153
18139
  ], 64)) : createCommentVNode("", true)
18154
- ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
18140
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 4 }, [
18141
+ !["sm"].includes(unref(widthType)) ? (openBlock(), createElementBlock("div", _hoisted_6$6)) : createCommentVNode("", true),
18155
18142
  !["sm"].includes(unref(widthType)) && isModuleVisible(unref(HeaderDisplayItem).NEW_BUTTON) ? (openBlock(), createBlock(HeaderCreateMenu, {
18156
- key: 0,
18143
+ key: 1,
18157
18144
  dropdownVisible: props.openCreateDropdown,
18158
18145
  items: props.createMenuItems,
18159
18146
  onNavigate: props.createMenuNavigate,
18160
18147
  "onUpdate:dropdownVisible": _cache[6] || (_cache[6] = ($event) => emit("update:openCreateDropdown", $event))
18161
18148
  }, null, 8, ["dropdownVisible", "items", "onNavigate"])) : createCommentVNode("", true),
18162
- isModuleVisible(unref(HeaderDisplayItem).DOCUMENT_CENTER) ? (openBlock(), createBlock(DocumentCenter, { key: 1 })) : createCommentVNode("", true),
18163
- isModuleVisible(unref(HeaderDisplayItem).MESSAGE_CENTER) ? (openBlock(), createBlock(Notice, { key: 2 })) : createCommentVNode("", true),
18149
+ isModuleVisible(unref(HeaderDisplayItem).DOCUMENT_CENTER) ? (openBlock(), createBlock(DocumentCenter, { key: 2 })) : createCommentVNode("", true),
18150
+ isModuleVisible(unref(HeaderDisplayItem).MESSAGE_CENTER) ? (openBlock(), createBlock(Notice, { key: 3 })) : createCommentVNode("", true),
18164
18151
  isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createBlock(UserAvatar, {
18165
- key: 3,
18152
+ key: 4,
18166
18153
  isChatBot: isChatBot.value,
18167
18154
  loginOutFinish: _ctx.loginOutFinish,
18168
18155
  inAIHub: inAIHub.value,
@@ -18174,17 +18161,17 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18174
18161
  ])), [
18175
18162
  [unref(vElementExposure), { trigger: () => handleToolbarExpo() }]
18176
18163
  ]),
18177
- _ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
18164
+ _ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
18178
18165
  renderSlot(_ctx.$slots, "bodyHeader", {}, () => [
18179
- createElementVNode("div", _hoisted_6$6, [
18166
+ createElementVNode("div", _hoisted_8$5, [
18180
18167
  renderSlot(_ctx.$slots, "info", {}, void 0, true)
18181
18168
  ]),
18182
- createElementVNode("div", _hoisted_7$5, [
18169
+ createElementVNode("div", _hoisted_9$5, [
18183
18170
  renderSlot(_ctx.$slots, "menu", {}, void 0, true)
18184
18171
  ])
18185
18172
  ], true)
18186
18173
  ])) : createCommentVNode("", true),
18187
- _ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
18174
+ _ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_10$5, [
18188
18175
  renderSlot(_ctx.$slots, "headerBottom", {}, void 0, true)
18189
18176
  ])) : createCommentVNode("", true)
18190
18177
  ], 6)
@@ -18192,11 +18179,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18192
18179
  };
18193
18180
  }
18194
18181
  });
18195
- const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-vue-layout-gitcode"]]);
18196
- const _hoisted_1$m = { class: "tools-item-wrapper" };
18197
- const _hoisted_2$g = { class: "tools-item-wrapper-checkbox" };
18198
- const _hoisted_3$f = ["onClick", "title"];
18199
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
18182
+ const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-vue-layout-gitcode"]]);
18183
+ const _hoisted_1$n = { class: "tools-item-wrapper" };
18184
+ const _hoisted_2$h = { class: "tools-item-wrapper-checkbox" };
18185
+ const _hoisted_3$g = ["onClick", "title"];
18186
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18200
18187
  __name: "Theme",
18201
18188
  setup(__props) {
18202
18189
  const { t: t2 } = i18n.global;
@@ -18221,9 +18208,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
18221
18208
  setTheme(activeTheme.value);
18222
18209
  };
18223
18210
  return (_ctx, _cache) => {
18224
- return openBlock(), createElementBlock("div", _hoisted_1$m, [
18211
+ return openBlock(), createElementBlock("div", _hoisted_1$n, [
18225
18212
  createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.theme")), 1),
18226
- createElementVNode("div", _hoisted_2$g, [
18213
+ createElementVNode("div", _hoisted_2$h, [
18227
18214
  (openBlock(true), createElementBlock(Fragment, null, renderList(themeList.value, (item) => {
18228
18215
  return openBlock(), createElementBlock("div", mergeProps({
18229
18216
  key: item.value,
@@ -18239,17 +18226,17 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
18239
18226
  color: "var(--theme-icon-fill-weak)",
18240
18227
  class: "checkbox-item-icon"
18241
18228
  }, null, 8, ["name"])
18242
- ], 16, _hoisted_3$f);
18229
+ ], 16, _hoisted_3$g);
18243
18230
  }), 128))
18244
18231
  ])
18245
18232
  ]);
18246
18233
  };
18247
18234
  }
18248
18235
  });
18249
- const _hoisted_1$l = { class: "aside-footer-tools-item" };
18250
- const _hoisted_2$f = { class: "aside-footer-tools-item-dropdown-item" };
18251
- const _hoisted_3$e = { class: "aside-footer-tools-item-dropdown-item" };
18252
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
18236
+ const _hoisted_1$m = { class: "aside-footer-tools-item" };
18237
+ const _hoisted_2$g = { class: "aside-footer-tools-item-dropdown-item" };
18238
+ const _hoisted_3$f = { class: "aside-footer-tools-item-dropdown-item" };
18239
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
18253
18240
  ...{ name: "AsideFooterTools" },
18254
18241
  __name: "index",
18255
18242
  props: {
@@ -18266,19 +18253,19 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
18266
18253
  "overlay-class": "footer-tools-setting-dropdown"
18267
18254
  }, {
18268
18255
  menu: withCtx(() => [
18269
- withDirectives(createElementVNode("div", _hoisted_2$f, [
18270
- createVNode(_sfc_main$q)
18256
+ withDirectives(createElementVNode("div", _hoisted_2$g, [
18257
+ createVNode(_sfc_main$r)
18271
18258
  ], 512), [
18272
18259
  [vShow, _ctx.showThemeSetting]
18273
18260
  ]),
18274
- withDirectives(createElementVNode("div", _hoisted_3$e, [
18275
- createVNode(_sfc_main$A)
18261
+ withDirectives(createElementVNode("div", _hoisted_3$f, [
18262
+ createVNode(_sfc_main$B)
18276
18263
  ], 512), [
18277
18264
  [vShow, _ctx.showLangSetting]
18278
18265
  ])
18279
18266
  ]),
18280
18267
  default: withCtx(() => [
18281
- createElementVNode("div", _hoisted_1$l, [
18268
+ createElementVNode("div", _hoisted_1$m, [
18282
18269
  createVNode(GIcon, {
18283
18270
  name: "gt-line-setting",
18284
18271
  size: "16",
@@ -18297,8 +18284,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
18297
18284
  };
18298
18285
  }
18299
18286
  });
18300
- const AsideFooterTools = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-vue-layout-gitcode"]]);
18301
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
18287
+ const AsideFooterTools = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-vue-layout-gitcode"]]);
18288
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
18302
18289
  ...{
18303
18290
  name: "ScrollActiveContainer",
18304
18291
  inheritAttrs: false
@@ -18506,7 +18493,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
18506
18493
  };
18507
18494
  }
18508
18495
  });
18509
- const ScrollActiveContainer = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-vue-layout-gitcode"]]);
18496
+ const ScrollActiveContainer = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-vue-layout-gitcode"]]);
18510
18497
  function asideV2Request(request) {
18511
18498
  return {
18512
18499
  /**
@@ -18611,18 +18598,18 @@ function mergeChannelsWithRecommendBlocks(originalChannels, blocks = []) {
18611
18598
  }
18612
18599
  const newTagImg = "data:image/png;base64,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";
18613
18600
  const newTagDarkImg = "data:image/png;base64,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";
18614
- const _hoisted_1$k = { class: "home-channel-side-nav" };
18615
- const _hoisted_2$e = {
18601
+ const _hoisted_1$l = { class: "home-channel-side-nav" };
18602
+ const _hoisted_2$f = {
18616
18603
  key: 0,
18617
18604
  class: "home-channel-side-nav__list",
18618
18605
  "aria-busy": "true",
18619
18606
  "aria-label": "加载中"
18620
18607
  };
18621
- const _hoisted_3$d = {
18608
+ const _hoisted_3$e = {
18622
18609
  key: 0,
18623
18610
  class: "home-channel-side-nav__group-title home-channel-side-nav__group-title--skeleton"
18624
18611
  };
18625
- const _hoisted_4$a = { class: "home-channel-side-nav__info" };
18612
+ const _hoisted_4$b = { class: "home-channel-side-nav__info" };
18626
18613
  const _hoisted_5$6 = { class: "home-channel-side-nav__label-row" };
18627
18614
  const _hoisted_6$5 = {
18628
18615
  key: 1,
@@ -18636,8 +18623,8 @@ const _hoisted_8$4 = ["aria-current", "title", "onClick"];
18636
18623
  const _hoisted_9$4 = ["src", "alt", "onClick"];
18637
18624
  const _hoisted_10$4 = { class: "home-channel-side-nav__info" };
18638
18625
  const _hoisted_11$4 = { class: "home-channel-side-nav__label-row" };
18639
- const _hoisted_12$3 = { class: "home-channel-side-nav__label" };
18640
- const _hoisted_13$1 = ["src"];
18626
+ const _hoisted_12$4 = { class: "home-channel-side-nav__label" };
18627
+ const _hoisted_13$2 = ["src"];
18641
18628
  const _hoisted_14$1 = ["title"];
18642
18629
  const _hoisted_15$1 = {
18643
18630
  key: 3,
@@ -18715,7 +18702,7 @@ const _hoisted_24$1 = {
18715
18702
  class: "home-channel-side-nav__footer-tools-container"
18716
18703
  };
18717
18704
  const _hoisted_25$1 = { class: "home-channel-side-nav__footer-tools-inner" };
18718
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
18705
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
18719
18706
  ...{ name: "AsideV2Content", inheritAttrs: false },
18720
18707
  __name: "asideV2Content",
18721
18708
  props: {
@@ -18929,7 +18916,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18929
18916
  return openBlock(), createElementBlock("div", {
18930
18917
  class: normalizeClass(["gitcode-aside-v2-content home-channel-navigation", { "is-single-col": props.singleCol }])
18931
18918
  }, [
18932
- createElementVNode("div", _hoisted_1$k, [
18919
+ createElementVNode("div", _hoisted_1$l, [
18933
18920
  createVNode(ScrollActiveContainer, {
18934
18921
  ref_key: "scrollContainerRef",
18935
18922
  ref: scrollContainerRef,
@@ -18939,12 +18926,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18939
18926
  "aria-label": "首页频道"
18940
18927
  }, {
18941
18928
  default: withCtx(() => [
18942
- loading.value && (!channelsList.value || channelsList.value.length === 0) ? (openBlock(), createElementBlock("ul", _hoisted_2$e, [
18929
+ loading.value && (!channelsList.value || channelsList.value.length === 0) ? (openBlock(), createElementBlock("ul", _hoisted_2$f, [
18943
18930
  (openBlock(), createElementBlock(Fragment, null, renderList(skeletonItems, (sk, idx) => {
18944
18931
  return openBlock(), createElementBlock(Fragment, {
18945
18932
  key: `skeleton-${idx}`
18946
18933
  }, [
18947
- sk.isGroupTitle ? (openBlock(), createElementBlock("div", _hoisted_3$d, [
18934
+ sk.isGroupTitle ? (openBlock(), createElementBlock("div", _hoisted_3$e, [
18948
18935
  createElementVNode("span", {
18949
18936
  class: "home-channel-side-nav__skeleton-block home-channel-side-nav__group-skeleton",
18950
18937
  style: normalizeStyle({ width: sk.width })
@@ -18957,7 +18944,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18957
18944
  class: normalizeClass(["home-channel-side-nav__item home-channel-side-nav__item--skeleton", { "has-desc": !!sk.descWidth }])
18958
18945
  }, [
18959
18946
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "home-channel-side-nav__skeleton-block home-channel-side-nav__logo-skeleton" }, null, -1)),
18960
- createElementVNode("div", _hoisted_4$a, [
18947
+ createElementVNode("div", _hoisted_4$b, [
18961
18948
  createElementVNode("span", _hoisted_5$6, [
18962
18949
  createElementVNode("span", {
18963
18950
  class: "home-channel-side-nav__skeleton-block home-channel-side-nav__label-skeleton",
@@ -19014,13 +19001,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
19014
19001
  }, null, 8, ["name", "onClick"])) : createCommentVNode("", true),
19015
19002
  createElementVNode("div", _hoisted_10$4, [
19016
19003
  createElementVNode("span", _hoisted_11$4, [
19017
- createElementVNode("span", _hoisted_12$3, toDisplayString$1(getItemName(item)), 1),
19004
+ createElementVNode("span", _hoisted_12$4, toDisplayString$1(getItemName(item)), 1),
19018
19005
  item.is_new ? (openBlock(), createElementBlock("img", {
19019
19006
  key: 0,
19020
19007
  src: newTagSrc.value,
19021
19008
  alt: "New",
19022
19009
  class: "home-channel-side-nav__new-tag"
19023
- }, null, 8, _hoisted_13$1)) : createCommentVNode("", true)
19010
+ }, null, 8, _hoisted_13$2)) : createCommentVNode("", true)
19024
19011
  ]),
19025
19012
  getItemDesc(item) ? (openBlock(), createElementBlock("span", {
19026
19013
  key: 0,
@@ -19087,9 +19074,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
19087
19074
  };
19088
19075
  }
19089
19076
  });
19090
- const AsideV2Content = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-vue-layout-gitcode"]]);
19091
- const _hoisted_1$j = { class: "aside-drawer-header" };
19092
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
19077
+ const AsideV2Content = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-vue-layout-gitcode"]]);
19078
+ const _hoisted_1$k = { class: "aside-drawer-header" };
19079
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
19093
19080
  ...{ name: "GitCodeAsideV2", inheritAttrs: false },
19094
19081
  __name: "index",
19095
19082
  props: {
@@ -19273,7 +19260,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
19273
19260
  class: "draw-side-bar"
19274
19261
  }, {
19275
19262
  default: withCtx(() => [
19276
- createElementVNode("div", _hoisted_1$j, [
19263
+ createElementVNode("div", _hoisted_1$k, [
19277
19264
  createVNode(GLink, {
19278
19265
  class: "g-toolbar-left-logo",
19279
19266
  style: normalizeStyle(logoStyle.value),
@@ -19304,22 +19291,33 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
19304
19291
  };
19305
19292
  }
19306
19293
  });
19307
- const GitCodeAsideV2 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-vue-layout-gitcode"]]);
19308
- const _hoisted_1$i = { class: "g-toolbar allow-click-stop" };
19309
- const _hoisted_2$d = { class: "g-toolbar-left allow-click-stop" };
19310
- const _hoisted_3$c = { class: "g-toolbar-custom" };
19311
- const _hoisted_4$9 = { class: "enterprise-name" };
19294
+ const GitCodeAsideV2 = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-vue-layout-gitcode"]]);
19295
+ const _hoisted_1$j = { class: "g-toolbar allow-click-stop" };
19296
+ const _hoisted_2$e = { class: "g-toolbar-left allow-click-stop" };
19297
+ const _hoisted_3$d = {
19298
+ key: 1,
19299
+ class: "g-toolbar-custom"
19300
+ };
19301
+ const _hoisted_4$a = { class: "enterprise-name" };
19312
19302
  const _hoisted_5$5 = { class: "enterprise-flag" };
19313
19303
  const _hoisted_6$4 = { class: "search-avatar" };
19314
19304
  const _hoisted_7$3 = { class: "g-toolbar-right allow-click-stop" };
19315
19305
  const _hoisted_8$3 = {
19306
+ key: 0,
19307
+ class: "g-toolbar-right-divider"
19308
+ };
19309
+ const _hoisted_9$3 = {
19310
+ key: 0,
19311
+ class: "g-toolbar-right-divider"
19312
+ };
19313
+ const _hoisted_10$3 = {
19316
19314
  key: 0,
19317
19315
  class: "g-header-body"
19318
19316
  };
19319
- const _hoisted_9$3 = { class: "g-header-body-left" };
19320
- const _hoisted_10$3 = { class: "g-header-body-right" };
19321
- const _hoisted_11$3 = { key: 1 };
19322
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
19317
+ const _hoisted_11$3 = { class: "g-header-body-left" };
19318
+ const _hoisted_12$3 = { class: "g-header-body-right" };
19319
+ const _hoisted_13$1 = { key: 1 };
19320
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
19323
19321
  ...{
19324
19322
  name: "EnterpriseHeader"
19325
19323
  },
@@ -19350,9 +19348,12 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19350
19348
  atomcodeLaunchQs: { default: "" },
19351
19349
  showAtomCodeLauncher: { type: Boolean, default: false },
19352
19350
  launchAtomCode: { type: Function, default: void 0 },
19353
- defaultGlobalSearchType: { default: "repo" }
19351
+ defaultGlobalSearchType: { default: "repo" },
19352
+ openCreateDropdown: { type: Boolean, default: false },
19353
+ createMenuItems: {},
19354
+ createMenuNavigate: {}
19354
19355
  },
19355
- emits: ["followDevCommunity", "followUser", "resetPwdDirectlySuccess"],
19356
+ emits: ["followDevCommunity", "followUser", "resetPwdDirectlySuccess", "update:openCreateDropdown"],
19356
19357
  setup(__props, { emit: __emit }) {
19357
19358
  var _a;
19358
19359
  const route = useRoute();
@@ -19419,6 +19420,21 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19419
19420
  }
19420
19421
  return "";
19421
19422
  });
19423
+ const hasEnterpriseInfo = computed(() => {
19424
+ var _a2, _b;
19425
+ return Boolean(((_a2 = props.enterpriseInfo) == null ? void 0 : _a2.name) || ((_b = props.enterpriseInfo) == null ? void 0 : _b.avatar));
19426
+ });
19427
+ const logoConfig = getCurrentLogoMap();
19428
+ const logoStyle = computed(() => {
19429
+ const isBlackTheme = currentTheme.value === ThemeType.BLACK;
19430
+ const logoUrl = isBlackTheme ? logoConfig.siteLogoWhite : logoConfig.siteLogoDark;
19431
+ return {
19432
+ backgroundImage: `url(${logoUrl})`,
19433
+ backgroundRepeat: "no-repeat",
19434
+ backgroundPosition: "0 center",
19435
+ backgroundSize: isMobile.value ? "cover" : "contain"
19436
+ };
19437
+ });
19422
19438
  if (!((_a = route == null ? void 0 : route.meta) == null ? void 0 : _a.hiddenThemeSetting)) {
19423
19439
  theme.initAutoTheme();
19424
19440
  }
@@ -19461,13 +19477,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19461
19477
  emitEvent("toggleAsideMenuByHamburger");
19462
19478
  useReport2(REPO_EVENT.CLICK, { module_name: ASIDE_MENU_REPO.ASIDEBTNCLICK });
19463
19479
  };
19464
- const handleThemeChange = () => {
19465
- setTheme(currentTheme.value === ThemeType.WHITE ? ThemeType.BLACK : ThemeType.WHITE);
19466
- };
19467
19480
  const layoutConfig2 = useLayoutConfig();
19468
- const handleNewRepo = () => {
19469
- window.open(`${layoutConfig2.VITE_HOST}/create?position=nav_top`, "_blank");
19470
- };
19471
19481
  const loginDataFormat = (options) => {
19472
19482
  return {
19473
19483
  ...options || {},
@@ -19541,8 +19551,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19541
19551
  class: normalizeClass(["g-header allow-click-stop", [showHeaderShadow.value ? "head-shadow" : "", _ctx.headerBorder ? "oldBorder" : "", headerClassName.value]])
19542
19552
  }, [
19543
19553
  createVNode(SiteAnnouncement),
19544
- withDirectives((openBlock(), createElementBlock("div", _hoisted_1$i, [
19545
- createElementVNode("div", _hoisted_2$d, [
19554
+ withDirectives((openBlock(), createElementBlock("div", _hoisted_1$j, [
19555
+ createElementVNode("div", _hoisted_2$e, [
19546
19556
  isModuleVisible(unref(HeaderDisplayItem).ASIDE_BUTTON) ? (openBlock(), createBlock(GIcon, {
19547
19557
  key: 0,
19548
19558
  onClick: handleHamburgerClick,
@@ -19551,8 +19561,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19551
19561
  class: "g-toolbar-left-asideicon",
19552
19562
  color: "var(--theme-aide-text)"
19553
19563
  })) : createCommentVNode("", true),
19554
- createElementVNode("div", _hoisted_3$c, [
19555
- createVNode(_sfc_main$M, {
19564
+ hasEnterpriseInfo.value ? (openBlock(), createElementBlock("div", _hoisted_3$d, [
19565
+ createVNode(_sfc_main$N, {
19556
19566
  src: (_a2 = _ctx.enterpriseInfo) == null ? void 0 : _a2.avatar,
19557
19567
  name: (_b = _ctx.enterpriseInfo) == null ? void 0 : _b.name,
19558
19568
  isRound: false,
@@ -19560,9 +19570,21 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19560
19570
  height: 32,
19561
19571
  class: "enterprise-avatar"
19562
19572
  }, null, 8, ["src", "name"]),
19563
- createElementVNode("span", _hoisted_4$9, toDisplayString$1((_c = _ctx.enterpriseInfo) == null ? void 0 : _c.name), 1),
19573
+ createElementVNode("span", _hoisted_4$a, toDisplayString$1((_c = _ctx.enterpriseInfo) == null ? void 0 : _c.name), 1),
19564
19574
  createElementVNode("span", _hoisted_5$5, toDisplayString$1(unref(t2)("gitCodeLayout.header.enterpriseFlag")), 1)
19565
- ])
19575
+ ])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
19576
+ _ctx.independence ? (openBlock(), createBlock(GLink, {
19577
+ key: 0,
19578
+ class: "g-toolbar-left-logo",
19579
+ style: normalizeStyle(logoStyle.value),
19580
+ href: `${unref(layoutConfig2).VITE_HOST}?p=seo`
19581
+ }, null, 8, ["style", "href"])) : (openBlock(), createBlock(GLink, {
19582
+ key: 1,
19583
+ class: "g-toolbar-left-logo",
19584
+ style: normalizeStyle(logoStyle.value),
19585
+ to: { name: "home" }
19586
+ }, null, 8, ["style"]))
19587
+ ], 64))
19566
19588
  ]),
19567
19589
  createElementVNode("div", _hoisted_6$4, [
19568
19590
  isModuleVisible(unref(HeaderDisplayItem).SEARCH_BUTTON) ? renderSlot(_ctx.$slots, "search", { key: 0 }, () => [
@@ -19591,15 +19613,17 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19591
19613
  ], true) : createCommentVNode("", true)
19592
19614
  ]),
19593
19615
  createElementVNode("div", _hoisted_7$3, [
19594
- _ctx.showAtomCodeLauncher ? (openBlock(), createBlock(AtomCodeLauncher, {
19595
- key: 0,
19596
- atomcodeLaunchQs: _ctx.atomcodeLaunchQs,
19597
- isLogin: _ctx.isLogin,
19598
- launchAtomCode: _ctx.launchAtomCode
19599
- }, null, 8, ["atomcodeLaunchQs", "isLogin", "launchAtomCode"])) : createCommentVNode("", true),
19600
- createVNode(HomeHeaderActions),
19616
+ _ctx.showAtomCodeLauncher ? renderSlot(_ctx.$slots, "atomCodeLauncher", { key: 0 }, () => [
19617
+ createVNode(AtomCodeLauncher, {
19618
+ atomcodeLaunchQs: _ctx.atomcodeLaunchQs,
19619
+ isLogin: _ctx.isLogin,
19620
+ launchAtomCode: _ctx.launchAtomCode
19621
+ }, null, 8, ["atomcodeLaunchQs", "isLogin", "launchAtomCode"])
19622
+ ], true) : createCommentVNode("", true),
19623
+ createVNode(HomeHeaderActions, { isLogin: _ctx.isLogin }, null, 8, ["isLogin"]),
19601
19624
  !_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
19602
- isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
19625
+ !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_8$3)) : createCommentVNode("", true),
19626
+ isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
19603
19627
  unref(isMobile) ? (openBlock(), createElementBlock("section", {
19604
19628
  key: 0,
19605
19629
  class: "app-login-warp login-icon",
@@ -19633,31 +19657,17 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19633
19657
  ], 64))
19634
19658
  ], 64)) : createCommentVNode("", true)
19635
19659
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
19636
- !["sm"].includes(unref(widthType)) && isModuleVisible(unref(HeaderDisplayItem).NEW_BUTTON) ? (openBlock(), createBlock(unref(Button), {
19637
- key: 0,
19638
- class: "btn-add",
19639
- variant: "solid",
19640
- onClick: handleNewRepo
19641
- }, {
19642
- default: withCtx(() => [
19643
- createVNode(GIcon, {
19644
- name: "gt-add",
19645
- color: "var(--theme-light-text)",
19646
- class: "btn-add-icon"
19647
- }),
19648
- createTextVNode(toDisplayString$1(unref(t2)("gitCodeLayout.header.create")), 1)
19649
- ]),
19650
- _: 1
19651
- })) : createCommentVNode("", true),
19652
- isModuleVisible(unref(HeaderDisplayItem).MESSAGE_CENTER) ? (openBlock(), createBlock(Notice, { key: 1 })) : createCommentVNode("", true),
19653
- createVNode(GIcon, {
19654
- name: unref(isWhiteTheme)() ? "gt-line-light" : "gt-line-dark",
19655
- size: "16px",
19656
- onClick: handleThemeChange,
19657
- class: "theme-toggle-icon"
19658
- }, null, 8, ["name"]),
19660
+ !["sm"].includes(unref(widthType)) ? (openBlock(), createElementBlock("div", _hoisted_9$3)) : createCommentVNode("", true),
19661
+ !["sm"].includes(unref(widthType)) && isModuleVisible(unref(HeaderDisplayItem).NEW_BUTTON) ? (openBlock(), createBlock(HeaderCreateMenu, {
19662
+ key: 1,
19663
+ dropdownVisible: _ctx.openCreateDropdown,
19664
+ items: _ctx.createMenuItems,
19665
+ onNavigate: _ctx.createMenuNavigate,
19666
+ "onUpdate:dropdownVisible": _cache[3] || (_cache[3] = ($event) => emit("update:openCreateDropdown", $event))
19667
+ }, null, 8, ["dropdownVisible", "items", "onNavigate"])) : createCommentVNode("", true),
19668
+ isModuleVisible(unref(HeaderDisplayItem).MESSAGE_CENTER) ? (openBlock(), createBlock(Notice, { key: 2 })) : createCommentVNode("", true),
19659
19669
  isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createBlock(UserAvatar, {
19660
- key: 2,
19670
+ key: 3,
19661
19671
  isChatBot: false,
19662
19672
  loginOutFinish: _ctx.loginOutFinish,
19663
19673
  inAIHub: false,
@@ -19670,17 +19680,17 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19670
19680
  ])), [
19671
19681
  [unref(vElementExposure), { trigger: (type) => handleToolbarExpo() }]
19672
19682
  ]),
19673
- _ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_8$3, [
19683
+ _ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_10$3, [
19674
19684
  renderSlot(_ctx.$slots, "bodyHeader", {}, () => [
19675
- createElementVNode("div", _hoisted_9$3, [
19685
+ createElementVNode("div", _hoisted_11$3, [
19676
19686
  renderSlot(_ctx.$slots, "info", {}, void 0, true)
19677
19687
  ]),
19678
- createElementVNode("div", _hoisted_10$3, [
19688
+ createElementVNode("div", _hoisted_12$3, [
19679
19689
  renderSlot(_ctx.$slots, "menu", {}, void 0, true)
19680
19690
  ])
19681
19691
  ], true)
19682
19692
  ])) : createCommentVNode("", true),
19683
- _ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_11$3, [
19693
+ _ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
19684
19694
  renderSlot(_ctx.$slots, "headerBottom", {}, void 0, true)
19685
19695
  ])) : createCommentVNode("", true)
19686
19696
  ], 2),
@@ -19699,7 +19709,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19699
19709
  };
19700
19710
  }
19701
19711
  });
19702
- const EnterpriseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-vue-layout-gitcode"]]);
19712
+ const EnterpriseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-vue-layout-gitcode"]]);
19703
19713
  const layoutConfig$2 = useLayoutConfig();
19704
19714
  const useConfigSide = (request, sceneValue) => {
19705
19715
  const API = asideRequest(request);
@@ -19905,9 +19915,9 @@ var SearchType = /* @__PURE__ */ ((SearchType2) => {
19905
19915
  SearchType2[SearchType2["Enterprise"] = 3] = "Enterprise";
19906
19916
  return SearchType2;
19907
19917
  })(SearchType || {});
19908
- const _hoisted_1$h = { class: "area" };
19909
- const _hoisted_2$c = { class: "area__layout-slot" };
19910
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
19918
+ const _hoisted_1$i = { class: "area" };
19919
+ const _hoisted_2$d = { class: "area__layout-slot" };
19920
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19911
19921
  __name: "Area",
19912
19922
  props: {
19913
19923
  list: {},
@@ -19920,9 +19930,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
19920
19930
  const layoutConfig2 = useLayoutConfig();
19921
19931
  const { t: t2 } = i18n.global;
19922
19932
  const route = useRoute();
19923
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-CpNGRzXl.js"));
19924
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-BWAcoaLB.js"));
19925
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-i-DG-Lp_.js"));
19933
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-xIMjCwZH.js"));
19934
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-NUlc_WSF.js"));
19935
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-CUzk1aT1.js"));
19926
19936
  const props = __props;
19927
19937
  const useReport2 = inject("useReport");
19928
19938
  const userInfo = inject("userInfo");
@@ -20127,7 +20137,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
20127
20137
  window.open(url, openMode);
20128
20138
  };
20129
20139
  return (_ctx, _cache) => {
20130
- return openBlock(), createElementBlock("div", _hoisted_1$h, [
20140
+ return openBlock(), createElementBlock("div", _hoisted_1$i, [
20131
20141
  createVNode(unref(Menu), {
20132
20142
  class: "menu",
20133
20143
  onSelect: onMenuClick,
@@ -20154,7 +20164,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
20154
20164
  return {
20155
20165
  name: key,
20156
20166
  fn: withCtx(() => [
20157
- createElementVNode("div", _hoisted_2$c, [
20167
+ createElementVNode("div", _hoisted_2$d, [
20158
20168
  createVNode(unref(Menu), {
20159
20169
  class: "menu",
20160
20170
  onSelect: onMenuClick,
@@ -20182,11 +20192,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
20182
20192
  };
20183
20193
  }
20184
20194
  });
20185
- const Area = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-vue-layout-gitcode"]]);
20186
- const _hoisted_1$g = { class: "settings__label" };
20187
- const _hoisted_2$b = { class: "aside-footer-tools-item-dropdown-item" };
20188
- const _hoisted_3$b = { class: "aside-footer-tools-item-dropdown-item" };
20189
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
20195
+ const Area = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-vue-layout-gitcode"]]);
20196
+ const _hoisted_1$h = { class: "settings__label" };
20197
+ const _hoisted_2$c = { class: "aside-footer-tools-item-dropdown-item" };
20198
+ const _hoisted_3$c = { class: "aside-footer-tools-item-dropdown-item" };
20199
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
20190
20200
  __name: "Settings",
20191
20201
  props: {
20192
20202
  showThemeSetting: { type: Boolean },
@@ -20202,13 +20212,13 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
20202
20212
  "overlay-class": "footer-tools-setting-dropdown"
20203
20213
  }, {
20204
20214
  menu: withCtx(() => [
20205
- withDirectives(createElementVNode("div", _hoisted_2$b, [
20206
- createVNode(_sfc_main$q)
20215
+ withDirectives(createElementVNode("div", _hoisted_2$c, [
20216
+ createVNode(_sfc_main$r)
20207
20217
  ], 512), [
20208
20218
  [vShow, _ctx.showThemeSetting]
20209
20219
  ]),
20210
- withDirectives(createElementVNode("div", _hoisted_3$b, [
20211
- createVNode(_sfc_main$A)
20220
+ withDirectives(createElementVNode("div", _hoisted_3$c, [
20221
+ createVNode(_sfc_main$B)
20212
20222
  ], 512), [
20213
20223
  [vShow, _ctx.showLangSetting]
20214
20224
  ])
@@ -20227,7 +20237,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
20227
20237
  size: "16",
20228
20238
  class: "active-icon settings__icon-min"
20229
20239
  }),
20230
- createElementVNode("span", _hoisted_1$g, toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.preSettingLittle")), 1)
20240
+ createElementVNode("span", _hoisted_1$h, toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.preSettingLittle")), 1)
20231
20241
  ], 2)
20232
20242
  ]),
20233
20243
  _: 1
@@ -20235,9 +20245,9 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
20235
20245
  };
20236
20246
  }
20237
20247
  });
20238
- const Settings = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-vue-layout-gitcode"]]);
20248
+ const Settings = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-vue-layout-gitcode"]]);
20239
20249
  const FEEDBACK_CENTER_URL = "https://gitcode.com/Gitcode-offical-team/GitCode-Docs/issues";
20240
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
20250
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
20241
20251
  __name: "SubMenuList",
20242
20252
  setup(__props) {
20243
20253
  const layoutConfig2 = useLayoutConfig();
@@ -20292,7 +20302,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
20292
20302
  };
20293
20303
  }
20294
20304
  });
20295
- const SubMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-vue-layout-gitcode"]]);
20305
+ const SubMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-vue-layout-gitcode"]]);
20296
20306
  const createSetting = () => {
20297
20307
  const { t: t2 } = i18n.global;
20298
20308
  const isGitCodeHost2 = typeof window !== "undefined" && window.location.hostname.includes("gitcode");
@@ -20332,10 +20342,10 @@ const createSetting = () => {
20332
20342
  }
20333
20343
  return settings;
20334
20344
  };
20335
- const _hoisted_1$f = { class: "aside-footer" };
20336
- const _hoisted_2$a = { class: "remake-message" };
20337
- const _hoisted_3$a = ["title"];
20338
- const _hoisted_4$8 = { class: "remake-message__line" };
20345
+ const _hoisted_1$g = { class: "aside-footer" };
20346
+ const _hoisted_2$b = { class: "remake-message" };
20347
+ const _hoisted_3$b = ["title"];
20348
+ const _hoisted_4$9 = { class: "remake-message__line" };
20339
20349
  const _hoisted_5$4 = {
20340
20350
  href: "https://beian.miit.gov.cn/#/Integrated/index",
20341
20351
  target: "_blank"
@@ -20354,7 +20364,7 @@ const _hoisted_9$2 = { class: "contact-info__about-row" };
20354
20364
  const _hoisted_10$2 = { class: "footer-work-info" };
20355
20365
  const _hoisted_11$2 = { class: "footer-work-info__item footer-work-info__item--mt" };
20356
20366
  const _hoisted_12$2 = { class: "" };
20357
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
20367
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
20358
20368
  __name: "ContactInfo",
20359
20369
  setup(__props) {
20360
20370
  const { t: t2 } = i18n.global;
@@ -20364,13 +20374,13 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
20364
20374
  return getLocaleLang() === LANG_EN;
20365
20375
  });
20366
20376
  return (_ctx, _cache) => {
20367
- return openBlock(), createElementBlock("div", _hoisted_1$f, [
20368
- createElementVNode("div", _hoisted_2$a, [
20377
+ return openBlock(), createElementBlock("div", _hoisted_1$g, [
20378
+ createElementVNode("div", _hoisted_2$b, [
20369
20379
  createElementVNode("p", {
20370
20380
  class: "remake-message__line remake-message__line--break",
20371
20381
  title: unref(copyright).digestAbbr
20372
- }, " © " + toDisplayString$1(unref(copyright).digestAbbr), 9, _hoisted_3$a),
20373
- createElementVNode("p", _hoisted_4$8, [
20382
+ }, " © " + toDisplayString$1(unref(copyright).digestAbbr), 9, _hoisted_3$b),
20383
+ createElementVNode("p", _hoisted_4$9, [
20374
20384
  createElementVNode("a", _hoisted_5$4, toDisplayString$1(unref(copyright).icp), 1)
20375
20385
  ]),
20376
20386
  unref(copyright).publicSecurity_url ? (openBlock(), createElementBlock("p", _hoisted_6$3, [
@@ -20426,18 +20436,18 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
20426
20436
  };
20427
20437
  }
20428
20438
  });
20429
- const ContactInfo = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-vue-layout-gitcode"]]);
20430
- const _hoisted_1$e = { class: "config-aside__main" };
20431
- const _hoisted_2$9 = { key: 0 };
20432
- const _hoisted_3$9 = {
20439
+ const ContactInfo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-vue-layout-gitcode"]]);
20440
+ const _hoisted_1$f = { class: "config-aside__main" };
20441
+ const _hoisted_2$a = { key: 0 };
20442
+ const _hoisted_3$a = {
20433
20443
  key: 1,
20434
20444
  class: "aside-menus"
20435
20445
  };
20436
- const _hoisted_4$7 = {
20446
+ const _hoisted_4$8 = {
20437
20447
  key: 1,
20438
20448
  class: "line line--mt"
20439
20449
  };
20440
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
20450
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
20441
20451
  __name: "configAideContent",
20442
20452
  props: {
20443
20453
  sceneValue: { default: SceneValue.home },
@@ -20575,18 +20585,18 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
20575
20585
  createElementVNode("div", {
20576
20586
  class: normalizeClass(["config-aside__content", { "side-bar-content-shot": _ctx.asideSetShowLittle, "shot-isCh": !unref(isEn) }])
20577
20587
  }, [
20578
- withDirectives((openBlock(), createElementBlock("div", _hoisted_1$e, [
20588
+ withDirectives((openBlock(), createElementBlock("div", _hoisted_1$f, [
20579
20589
  createElementVNode("div", {
20580
20590
  class: normalizeClass(["scroll-content config-aside__scroll", { scroll: isScroll.value }]),
20581
20591
  onScroll: handleScroll,
20582
20592
  onMouseleave: handleMouseLeave
20583
20593
  }, [
20584
- unref(sideLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
20594
+ unref(sideLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
20585
20595
  createVNode(unref(Skeleton), {
20586
20596
  loading: unref(sideLoading),
20587
20597
  row: 4
20588
20598
  }, null, 8, ["loading"])
20589
- ])) : (openBlock(), createElementBlock("div", _hoisted_3$9, [
20599
+ ])) : (openBlock(), createElementBlock("div", _hoisted_3$a, [
20590
20600
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayArea.value, (item, index2) => {
20591
20601
  return openBlock(), createElementBlock(Fragment, {
20592
20602
  key: item.id
@@ -20620,7 +20630,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
20620
20630
  }, null, 8, ["name"]),
20621
20631
  _cache[2] || (_cache[2] = createElementVNode("span", null, "群组讨论", -1))
20622
20632
  ], 32)) : createCommentVNode("", true),
20623
- !_ctx.asideSetShowLittle && index2 !== displayArea.value.length - 1 ? (openBlock(), createElementBlock("hr", _hoisted_4$7)) : createCommentVNode("", true)
20633
+ !_ctx.asideSetShowLittle && index2 !== displayArea.value.length - 1 ? (openBlock(), createElementBlock("hr", _hoisted_4$8)) : createCommentVNode("", true)
20624
20634
  ], 64);
20625
20635
  }), 128)),
20626
20636
  !_ctx.asideSetShowLittle && isModuleVisible(unref(AsideDisplayItem).LINK) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
@@ -20650,9 +20660,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
20650
20660
  };
20651
20661
  }
20652
20662
  });
20653
- const ConfigAideContent = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-vue-layout-gitcode"]]);
20654
- const _hoisted_1$d = { class: "aside-drawer-header" };
20655
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
20663
+ const ConfigAideContent = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-vue-layout-gitcode"]]);
20664
+ const _hoisted_1$e = { class: "aside-drawer-header" };
20665
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
20656
20666
  __name: "index",
20657
20667
  props: {
20658
20668
  sceneValue: { default: SceneValue.home },
@@ -20827,7 +20837,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
20827
20837
  class: "draw-side-bar"
20828
20838
  }, {
20829
20839
  default: withCtx(() => [
20830
- createElementVNode("div", _hoisted_1$d, [
20840
+ createElementVNode("div", _hoisted_1$e, [
20831
20841
  createVNode(GLink, {
20832
20842
  class: "g-toolbar-left-logo",
20833
20843
  style: normalizeStyle(logoStyle.value),
@@ -20858,7 +20868,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
20858
20868
  };
20859
20869
  }
20860
20870
  });
20861
- const GitCodeAside = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-vue-layout-gitcode"]]);
20871
+ const GitCodeAside = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-vue-layout-gitcode"]]);
20862
20872
  const repoInfoData = {
20863
20873
  "star_count": 0,
20864
20874
  "forks_count": 0,
@@ -21565,11 +21575,11 @@ const headerCustomPropsData = {
21565
21575
  isOtherUser: true
21566
21576
  }
21567
21577
  };
21568
- const _hoisted_1$c = { class: "home-wrapper" };
21569
- const _hoisted_2$8 = { class: "home-content" };
21570
- const _hoisted_3$8 = { class: "home-left-side" };
21571
- const _hoisted_4$6 = { class: "home-main" };
21572
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
21578
+ const _hoisted_1$d = { class: "home-wrapper" };
21579
+ const _hoisted_2$9 = { class: "home-content" };
21580
+ const _hoisted_3$9 = { class: "home-left-side" };
21581
+ const _hoisted_4$7 = { class: "home-main" };
21582
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
21573
21583
  __name: "home",
21574
21584
  setup(__props) {
21575
21585
  const asideVersion = ref("v2");
@@ -21645,7 +21655,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
21645
21655
  }
21646
21656
  });
21647
21657
  return (_ctx, _cache) => {
21648
- return openBlock(), createElementBlock("div", _hoisted_1$c, [
21658
+ return openBlock(), createElementBlock("div", _hoisted_1$d, [
21649
21659
  showCommonHeader.value ? (openBlock(), createBlock(GitCodeHeader, {
21650
21660
  key: 0,
21651
21661
  sceneValue: sceneSelected.value,
@@ -21678,8 +21688,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
21678
21688
  openHarmonyGuide: true,
21679
21689
  headerCustomProps: headerCustomProps.value
21680
21690
  }, null, 8, ["independence", "isLogin", "request", "globalStore", "enterpriseInfo", "userInfo", "headerCustomProps"])),
21681
- createElementVNode("div", _hoisted_2$8, [
21682
- createElementVNode("div", _hoisted_3$8, [
21691
+ createElementVNode("div", _hoisted_2$9, [
21692
+ createElementVNode("div", _hoisted_3$9, [
21683
21693
  asideVersion.value === "v2" ? (openBlock(), createBlock(GitCodeAsideV2, {
21684
21694
  key: 0,
21685
21695
  sceneValue: sceneSelected.value,
@@ -21712,7 +21722,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
21712
21722
  _: 1
21713
21723
  }, 8, ["sceneValue", "userInfo", "isLogin", "request", "globalStore", "independence", "collapseMode"]))
21714
21724
  ]),
21715
- createElementVNode("div", _hoisted_4$6, [
21725
+ createElementVNode("div", _hoisted_4$7, [
21716
21726
  _cache[12] || (_cache[12] = createElementVNode("h1", null, "Aside 版本切换", -1)),
21717
21727
  createVNode(unref(RadioGroup), {
21718
21728
  direction: "row",
@@ -21834,8 +21844,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
21834
21844
  };
21835
21845
  }
21836
21846
  });
21837
- const _hoisted_1$b = { class: "home-wrapper" };
21838
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
21847
+ const _hoisted_1$c = { class: "home-wrapper" };
21848
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
21839
21849
  __name: "login",
21840
21850
  setup(__props) {
21841
21851
  const isLogin = ref(false);
@@ -21867,8 +21877,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
21867
21877
  }
21868
21878
  });
21869
21879
  return (_ctx, _cache) => {
21870
- return openBlock(), createElementBlock("div", _hoisted_1$b, [
21871
- createVNode(_sfc_main, {
21880
+ return openBlock(), createElementBlock("div", _hoisted_1$c, [
21881
+ createVNode(_sfc_main$1, {
21872
21882
  isLogin: isLogin.value,
21873
21883
  request: unref(proxyService),
21874
21884
  loginSuccess,
@@ -21885,7 +21895,7 @@ const routes = [
21885
21895
  {
21886
21896
  path: "/",
21887
21897
  name: "home",
21888
- component: _sfc_main$e,
21898
+ component: _sfc_main$f,
21889
21899
  meta: {
21890
21900
  // showBgColor: true,
21891
21901
  asideMenu: "flat"
@@ -21894,52 +21904,52 @@ const routes = [
21894
21904
  {
21895
21905
  path: "/dashboard",
21896
21906
  name: "dashboard",
21897
- component: _sfc_main$e
21907
+ component: _sfc_main$f
21898
21908
  },
21899
21909
  {
21900
21910
  path: "/repoDashboard",
21901
21911
  name: "repoDashboard",
21902
- component: _sfc_main$e
21912
+ component: _sfc_main$f
21903
21913
  },
21904
21914
  {
21905
21915
  path: "/",
21906
21916
  name: "homepage",
21907
- component: _sfc_main$e
21917
+ component: _sfc_main$f
21908
21918
  },
21909
21919
  {
21910
21920
  path: "/settingOrganization",
21911
21921
  name: "settingOrganization",
21912
- component: _sfc_main$e
21922
+ component: _sfc_main$f
21913
21923
  },
21914
21924
  {
21915
21925
  path: "/settingRepo",
21916
21926
  name: "settingRepo",
21917
- component: _sfc_main$e
21927
+ component: _sfc_main$f
21918
21928
  },
21919
21929
  {
21920
21930
  path: "/myNotebook",
21921
21931
  name: "myNotebook",
21922
- component: _sfc_main$e
21932
+ component: _sfc_main$f
21923
21933
  },
21924
21934
  {
21925
21935
  path: "/userSpaces",
21926
21936
  name: "userSpaces",
21927
- component: _sfc_main$e
21937
+ component: _sfc_main$f
21928
21938
  },
21929
21939
  {
21930
21940
  path: "/userStars",
21931
21941
  name: "userStars",
21932
- component: _sfc_main$e
21942
+ component: _sfc_main$f
21933
21943
  },
21934
21944
  {
21935
21945
  path: "/setting",
21936
21946
  name: "setting",
21937
- component: _sfc_main$e
21947
+ component: _sfc_main$f
21938
21948
  },
21939
21949
  {
21940
21950
  path: "/login",
21941
21951
  name: "/login",
21942
- component: _sfc_main$d
21952
+ component: _sfc_main$e
21943
21953
  }
21944
21954
  ];
21945
21955
  const router = createRouter({
@@ -22599,8 +22609,8 @@ function useModel(props, emits) {
22599
22609
  vModels
22600
22610
  };
22601
22611
  }
22602
- const _hoisted_1$a = { class: "g-input-button-append__text" };
22603
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
22612
+ const _hoisted_1$b = { class: "g-input-button-append__text" };
22613
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
22604
22614
  __name: "inputButton",
22605
22615
  props: {
22606
22616
  modelValue: {},
@@ -22708,7 +22718,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
22708
22718
  DisabledBtn.value || !_ctx.hasMobile ? "g-input-button-append-inactive" : "g-input-button-append-active"
22709
22719
  ])
22710
22720
  }, [
22711
- createElementVNode("span", _hoisted_1$a, toDisplayString$1(BtnText.value), 1)
22721
+ createElementVNode("span", _hoisted_1$b, toDisplayString$1(BtnText.value), 1)
22712
22722
  ], 2)
22713
22723
  ]),
22714
22724
  _: 1
@@ -22717,12 +22727,12 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
22717
22727
  };
22718
22728
  }
22719
22729
  });
22720
- const _hoisted_1$9 = { class: "g-input-select" };
22721
- const _hoisted_2$7 = { class: "login-phone" };
22722
- const _hoisted_3$7 = { class: "g-input-select__option-row" };
22723
- const _hoisted_4$5 = { class: "g-input-select__item-row" };
22730
+ const _hoisted_1$a = { class: "g-input-select" };
22731
+ const _hoisted_2$8 = { class: "login-phone" };
22732
+ const _hoisted_3$8 = { class: "g-input-select__option-row" };
22733
+ const _hoisted_4$6 = { class: "g-input-select__item-row" };
22724
22734
  const _hoisted_5$3 = { class: "g-input-select__option-row" };
22725
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
22735
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
22726
22736
  __name: "inputSelect",
22727
22737
  props: {
22728
22738
  modelValue: {},
@@ -22800,8 +22810,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
22800
22810
  }
22801
22811
  });
22802
22812
  return (_ctx, _cache) => {
22803
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
22804
- createElementVNode("div", _hoisted_2$7, [
22813
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
22814
+ createElementVNode("div", _hoisted_2$8, [
22805
22815
  (props == null ? void 0 : props.editableSelect) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
22806
22816
  createVNode(unref(Select), {
22807
22817
  class: "login-country-select",
@@ -22818,7 +22828,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
22818
22828
  value: item.value
22819
22829
  }, {
22820
22830
  default: withCtx(() => [
22821
- createElementVNode("div", _hoisted_3$7, [
22831
+ createElementVNode("div", _hoisted_3$8, [
22822
22832
  createElementVNode("span", null, toDisplayString$1(item.name), 1),
22823
22833
  createElementVNode("span", null, toDisplayString$1(item.label), 1)
22824
22834
  ])
@@ -22842,7 +22852,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
22842
22852
  class: "login-phone-select"
22843
22853
  }), {
22844
22854
  item: withCtx((slotProps) => [
22845
- createElementVNode("div", _hoisted_4$5, [
22855
+ createElementVNode("div", _hoisted_4$6, [
22846
22856
  createElementVNode("div", null, toDisplayString$1(slotProps.option.label), 1),
22847
22857
  createVNode(GIcon, {
22848
22858
  name: "gt-line-delete",
@@ -22922,7 +22932,7 @@ function useNoSpaceInput(getter, setter) {
22922
22932
  handleKeydown
22923
22933
  };
22924
22934
  }
22925
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
22935
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
22926
22936
  __name: "index",
22927
22937
  props: {
22928
22938
  DataList: {},
@@ -23178,7 +23188,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
23178
23188
  autocomplete: autocompleteCalc((_a = formItem.props) == null ? void 0 : _a.autocomplete),
23179
23189
  autofocus: formItem.key === "username",
23180
23190
  spellcheck: false
23181
- }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange", "onKeydown", "autocomplete", "autofocus"])) : formItem.type === "inputButton" ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
23191
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange", "onKeydown", "autocomplete", "autofocus"])) : formItem.type === "inputButton" ? (openBlock(), createBlock(_sfc_main$d, mergeProps({
23182
23192
  key: 1,
23183
23193
  modelValue: Data[formItem.key],
23184
23194
  "onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
@@ -23192,7 +23202,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
23192
23202
  text: unref($t)("gitCodeLayout.userSetting.account.getVerificationCode"),
23193
23203
  error: _ctx.errors.msgError,
23194
23204
  autocomplete: autocompleteCalc((_c = formItem.props) == null ? void 0 : _c.autocomplete)
23195
- }), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "onClick", "onUpdate:countdown", "placeholder", "hasMobile", "text", "error", "autocomplete"])) : formItem.type === "inputSelect" ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
23205
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "onClick", "onUpdate:countdown", "placeholder", "hasMobile", "text", "error", "autocomplete"])) : formItem.type === "inputSelect" ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
23196
23206
  key: 2,
23197
23207
  country: Data.country,
23198
23208
  class: _ctx.formErrors["mobile"] ? "input-select-error" : "",
@@ -23227,13 +23237,13 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
23227
23237
  }
23228
23238
  });
23229
23239
  const recentLoginImg = "data:image/png;base64,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";
23230
- const _hoisted_1$8 = { class: "auth-container" };
23231
- const _hoisted_2$6 = { class: "tips" };
23232
- const _hoisted_3$6 = { class: "icons" };
23233
- const _hoisted_4$4 = ["src", "alt", "onClick"];
23240
+ const _hoisted_1$9 = { class: "auth-container" };
23241
+ const _hoisted_2$7 = { class: "tips" };
23242
+ const _hoisted_3$7 = { class: "icons" };
23243
+ const _hoisted_4$5 = ["src", "alt", "onClick"];
23234
23244
  const _hoisted_5$2 = { class: "recent-login-img" };
23235
23245
  const _hoisted_6$2 = ["src"];
23236
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
23246
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
23237
23247
  __name: "auth",
23238
23248
  props: {
23239
23249
  logos: {},
@@ -23254,9 +23264,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
23254
23264
  return loginMethodList.includes(props.recentLoginType);
23255
23265
  };
23256
23266
  return (_ctx, _cache) => {
23257
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
23258
- createElementVNode("div", _hoisted_2$6, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.subtitle.otherLogin")), 1),
23259
- createElementVNode("div", _hoisted_3$6, [
23267
+ return openBlock(), createElementBlock("div", _hoisted_1$9, [
23268
+ createElementVNode("div", _hoisted_2$7, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.subtitle.otherLogin")), 1),
23269
+ createElementVNode("div", _hoisted_3$7, [
23260
23270
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.logos, (icon) => {
23261
23271
  return openBlock(), createElementBlock("div", {
23262
23272
  key: icon.alt,
@@ -23273,7 +23283,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
23273
23283
  src: icon.src,
23274
23284
  alt: icon.alt,
23275
23285
  onClick: withModifiers(($event) => handleClick(icon), ["stop"])
23276
- }, null, 8, _hoisted_4$4)
23286
+ }, null, 8, _hoisted_4$5)
23277
23287
  ]),
23278
23288
  _: 2
23279
23289
  }, 1032, ["content", "disabled"]),
@@ -23291,7 +23301,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
23291
23301
  };
23292
23302
  }
23293
23303
  });
23294
- const GAuth = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-vue-layout-gitcode"]]);
23304
+ const GAuth = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-vue-layout-gitcode"]]);
23295
23305
  const LOGIN_DECLARE_KEY = "g-login-declare-status";
23296
23306
  const useDeclareStatus = () => {
23297
23307
  const declareNotClicked = ref({
@@ -23333,11 +23343,11 @@ const useDeclareStatus = () => {
23333
23343
  resetDeclareStatus
23334
23344
  };
23335
23345
  };
23336
- const _hoisted_1$7 = { class: "agreement" };
23337
- const _hoisted_2$5 = { class: "agreement__placeholder" };
23338
- const _hoisted_3$5 = { class: "agreement__placeholder" };
23339
- const _hoisted_4$3 = { class: "agreement__placeholder" };
23340
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
23346
+ const _hoisted_1$8 = { class: "agreement" };
23347
+ const _hoisted_2$6 = { class: "agreement__placeholder" };
23348
+ const _hoisted_3$6 = { class: "agreement__placeholder" };
23349
+ const _hoisted_4$4 = { class: "agreement__placeholder" };
23350
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
23341
23351
  __name: "agreement",
23342
23352
  props: {
23343
23353
  modelValue: { type: Boolean },
@@ -23361,19 +23371,19 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
23361
23371
  }
23362
23372
  });
23363
23373
  return (_ctx, _cache) => {
23364
- return openBlock(), createElementBlock("div", _hoisted_1$7, [
23374
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
23365
23375
  createVNode(unref(Checkbox), {
23366
23376
  "model-value": _ctx.modelValue,
23367
23377
  "onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:modelValue", val)),
23368
23378
  size: "sm"
23369
23379
  }, {
23370
23380
  default: withCtx(() => [
23371
- createElementVNode("span", _hoisted_2$5, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.agree")), 1),
23381
+ createElementVNode("span", _hoisted_2$6, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.agree")), 1),
23372
23382
  createElementVNode("span", {
23373
23383
  class: normalizeClass(["agreement__link", unref(declareNotClicked)["agreement"] ? "badge-dot-item" : ""]),
23374
23384
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleClick("agreement"), ["stop"]))
23375
23385
  }, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.link.agreement")), 3),
23376
- createElementVNode("span", _hoisted_3$5, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.and")), 1),
23386
+ createElementVNode("span", _hoisted_3$6, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.and")), 1),
23377
23387
  createElementVNode("span", {
23378
23388
  class: normalizeClass(["agreement__link", unref(declareNotClicked)["privacy"] ? "badge-dot-item" : ""]),
23379
23389
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleClick("privacy"), ["stop"]))
@@ -23387,7 +23397,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
23387
23397
  size: "sm"
23388
23398
  }, {
23389
23399
  default: withCtx(() => [
23390
- createElementVNode("span", _hoisted_4$3, [
23400
+ createElementVNode("span", _hoisted_4$4, [
23391
23401
  createTextVNode(toDisplayString$1(dataShareName.value) + " ", 1),
23392
23402
  createElementVNode("span", {
23393
23403
  class: "agreement__link",
@@ -23401,11 +23411,11 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
23401
23411
  };
23402
23412
  }
23403
23413
  });
23404
- const GAgreement = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-vue-layout-gitcode"]]);
23405
- const _hoisted_1$6 = { class: "agreements__hint" };
23406
- const _hoisted_2$4 = { class: "agreements__hint-plain" };
23407
- const _hoisted_3$4 = { class: "agreements__hint" };
23408
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
23414
+ const GAgreement = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-vue-layout-gitcode"]]);
23415
+ const _hoisted_1$7 = { class: "agreements__hint" };
23416
+ const _hoisted_2$5 = { class: "agreements__hint-plain" };
23417
+ const _hoisted_3$5 = { class: "agreements__hint" };
23418
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
23409
23419
  __name: "agreements",
23410
23420
  props: {
23411
23421
  modelValue: { type: Boolean },
@@ -23437,12 +23447,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
23437
23447
  class: "agree-module agreements"
23438
23448
  }, {
23439
23449
  default: withCtx(() => [
23440
- createElementVNode("span", _hoisted_1$6, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.readAgree")), 1),
23450
+ createElementVNode("span", _hoisted_1$7, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.readAgree")), 1),
23441
23451
  createElementVNode("a", {
23442
23452
  class: normalizeClass(["agreements__link", unref(declareNotClicked)["agreement"] ? "badge-dot-item" : ""]),
23443
23453
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleClick("agreement"), ["stop"]))
23444
23454
  }, toDisplayString$1("《" + unref($t)("gitCodeLayout.LoginModal.link.agreement") + "》"), 3),
23445
- createElementVNode("span", _hoisted_2$4, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.and")), 1),
23455
+ createElementVNode("span", _hoisted_2$5, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.and")), 1),
23446
23456
  createElementVNode("a", {
23447
23457
  class: normalizeClass(["agreements__link", unref(declareNotClicked)["privacy"] ? "badge-dot-item" : ""]),
23448
23458
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleClick("privacy"), ["stop"]))
@@ -23458,7 +23468,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
23458
23468
  class: "agreements__data-share"
23459
23469
  }, {
23460
23470
  default: withCtx(() => [
23461
- createElementVNode("span", _hoisted_3$4, toDisplayString$1(dataShareName.value), 1),
23471
+ createElementVNode("span", _hoisted_3$5, toDisplayString$1(dataShareName.value), 1),
23462
23472
  createElementVNode("span", {
23463
23473
  class: "agreements__data-link",
23464
23474
  onClick: _cache[3] || (_cache[3] = withModifiers(($event) => handleClick("dataShare"), ["stop"]))
@@ -23470,14 +23480,14 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
23470
23480
  };
23471
23481
  }
23472
23482
  });
23473
- const _hoisted_1$5 = { class: "g-title" };
23474
- const _hoisted_2$3 = { class: "back-img" };
23475
- const _hoisted_3$3 = ["src"];
23476
- const _hoisted_4$2 = {
23483
+ const _hoisted_1$6 = { class: "g-title" };
23484
+ const _hoisted_2$4 = { class: "back-img" };
23485
+ const _hoisted_3$4 = ["src"];
23486
+ const _hoisted_4$3 = {
23477
23487
  key: 0,
23478
23488
  class: "g-title__text"
23479
23489
  };
23480
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
23490
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
23481
23491
  __name: "title",
23482
23492
  props: {
23483
23493
  title: {},
@@ -23492,21 +23502,21 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
23492
23502
  emits("back");
23493
23503
  };
23494
23504
  return (_ctx, _cache) => {
23495
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
23496
- createElementVNode("div", _hoisted_2$3, [
23505
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
23506
+ createElementVNode("div", _hoisted_2$4, [
23497
23507
  _ctx.showBack ? (openBlock(), createElementBlock("img", {
23498
23508
  key: 0,
23499
23509
  src: _ctx.icon,
23500
23510
  class: "g-title__back-img",
23501
23511
  onClick: withModifiers(handleClick, ["stop"])
23502
- }, null, 8, _hoisted_3$3)) : createCommentVNode("", true)
23512
+ }, null, 8, _hoisted_3$4)) : createCommentVNode("", true)
23503
23513
  ]),
23504
- _ctx.showTitle ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString$1(_ctx.title), 1)) : createCommentVNode("", true)
23514
+ _ctx.showTitle ? (openBlock(), createElementBlock("span", _hoisted_4$3, toDisplayString$1(_ctx.title), 1)) : createCommentVNode("", true)
23505
23515
  ]);
23506
23516
  };
23507
23517
  }
23508
23518
  });
23509
- const GTitle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-vue-layout-gitcode"]]);
23519
+ const GTitle = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-vue-layout-gitcode"]]);
23510
23520
  const FindFileName = (path) => {
23511
23521
  var _a;
23512
23522
  const isName = /.*\/.*\/(.*\..*)/;
@@ -25822,10 +25832,10 @@ const getFormRules = () => ({
25822
25832
  }
25823
25833
  ]
25824
25834
  });
25825
- const _hoisted_1$4 = { class: "modal-body" };
25826
- const _hoisted_2$2 = { class: "login-check-modal-text" };
25827
- const _hoisted_3$2 = { class: "login-check-modal-footer" };
25828
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
25835
+ const _hoisted_1$5 = { class: "modal-body" };
25836
+ const _hoisted_2$3 = { class: "login-check-modal-text" };
25837
+ const _hoisted_3$3 = { class: "login-check-modal-footer" };
25838
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
25829
25839
  __name: "loginCheckModal",
25830
25840
  props: /* @__PURE__ */ mergeModels({
25831
25841
  dataShareChecked: { type: Boolean }
@@ -25867,7 +25877,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
25867
25877
  title: unref($t)("gitCodeLayout.LoginModal.subtitle.useAgrAndPriPolTip")
25868
25878
  }, {
25869
25879
  footer: withCtx(() => [
25870
- createElementVNode("div", _hoisted_3$2, [
25880
+ createElementVNode("div", _hoisted_3$3, [
25871
25881
  createVNode(unref(Button), {
25872
25882
  class: "login-check-modal-footer__btn-cancel",
25873
25883
  onClick: close
@@ -25891,7 +25901,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
25891
25901
  ])
25892
25902
  ]),
25893
25903
  default: withCtx(() => [
25894
- createElementVNode("div", _hoisted_1$4, [
25904
+ createElementVNode("div", _hoisted_1$5, [
25895
25905
  createElementVNode("div", null, [
25896
25906
  createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.youNeeToAgr")) + " ", 1),
25897
25907
  createElementVNode("span", {
@@ -25915,7 +25925,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
25915
25925
  class: "login-check-modal-data-share"
25916
25926
  }, {
25917
25927
  default: withCtx(() => [
25918
- createElementVNode("span", _hoisted_2$2, toDisplayString$1(dataShareName.value), 1),
25928
+ createElementVNode("span", _hoisted_2$3, toDisplayString$1(dataShareName.value), 1),
25919
25929
  createElementVNode("span", {
25920
25930
  class: "login-check-modal-link login-check-modal-link--sm",
25921
25931
  onClick: _cache[2] || (_cache[2] = withModifiers(($event) => handleClick("dataShare"), ["stop"]))
@@ -25930,10 +25940,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
25930
25940
  };
25931
25941
  }
25932
25942
  });
25933
- const _hoisted_1$3 = { class: "mfa" };
25934
- const _hoisted_2$1 = ["src"];
25935
- const _hoisted_3$1 = { class: "mfa__title" };
25936
- const _hoisted_4$1 = { class: "mfa__desc" };
25943
+ const _hoisted_1$4 = { class: "mfa" };
25944
+ const _hoisted_2$2 = ["src"];
25945
+ const _hoisted_3$2 = { class: "mfa__title" };
25946
+ const _hoisted_4$2 = { class: "mfa__desc" };
25937
25947
  const _hoisted_5$1 = {
25938
25948
  key: 0,
25939
25949
  class: "input-list"
@@ -25957,7 +25967,7 @@ const _hoisted_9$1 = {
25957
25967
  const _hoisted_10$1 = { class: "mfa__action" };
25958
25968
  const _hoisted_11$1 = { class: "mfa__footer" };
25959
25969
  const _hoisted_12$1 = { class: "mfa__back" };
25960
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
25970
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
25961
25971
  __name: "MFA",
25962
25972
  props: {
25963
25973
  mask: {},
@@ -26107,14 +26117,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
26107
26117
  focusInput();
26108
26118
  });
26109
26119
  return (_ctx, _cache) => {
26110
- return openBlock(), createElementBlock("div", _hoisted_1$3, [
26120
+ return openBlock(), createElementBlock("div", _hoisted_1$4, [
26111
26121
  createElementVNode("img", {
26112
26122
  class: "mfa__logo",
26113
26123
  src: currentLogo.value,
26114
26124
  alt: ""
26115
- }, null, 8, _hoisted_2$1),
26116
- createElementVNode("p", _hoisted_3$1, toDisplayString$1(modeTitle.value), 1),
26117
- createElementVNode("p", _hoisted_4$1, toDisplayString$1(unref(t2)("gitCodeLayout.LoginModal.mfatip5")), 1),
26125
+ }, null, 8, _hoisted_2$2),
26126
+ createElementVNode("p", _hoisted_3$2, toDisplayString$1(modeTitle.value), 1),
26127
+ createElementVNode("p", _hoisted_4$2, toDisplayString$1(unref(t2)("gitCodeLayout.LoginModal.mfatip5")), 1),
26118
26128
  mode.value === "code" ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
26119
26129
  (openBlock(true), createElementBlock(Fragment, null, renderList(inputList.value, (item, index2) => {
26120
26130
  return openBlock(), createElementBlock("div", {
@@ -26187,7 +26197,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
26187
26197
  };
26188
26198
  }
26189
26199
  });
26190
- const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
26200
+ const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-vue-layout-gitcode"]]);
26191
26201
  const _SlidCaptchaManager = class _SlidCaptchaManager {
26192
26202
  // eslint-disable-next-line no-useless-constructor
26193
26203
  constructor() {
@@ -26375,7 +26385,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
26375
26385
  __publicField(_SlidCaptchaManager, "instance");
26376
26386
  let SlidCaptchaManager = _SlidCaptchaManager;
26377
26387
  const slidCaptchaManager = SlidCaptchaManager.getInstance();
26378
- const SlidCaptcha = defineAsyncComponent(() => import("./index-CDZJ6srp.js"));
26388
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-DoT6AhvJ.js"));
26379
26389
  const useSlidCaptcha = () => {
26380
26390
  const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
26381
26391
  const open = (config) => {
@@ -26405,7 +26415,7 @@ const useSlidCaptcha = () => {
26405
26415
  close
26406
26416
  };
26407
26417
  };
26408
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-BsMZ1sa2.js"));
26418
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-BFQb7Dbz.js"));
26409
26419
  const useYunpianCaptcha = () => {
26410
26420
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
26411
26421
  const open = (config) => {
@@ -26796,10 +26806,10 @@ const useYiDunCaptcha = () => {
26796
26806
  close
26797
26807
  };
26798
26808
  };
26799
- const _sfc_main$3 = {};
26800
- const _hoisted_1$2 = { class: "content-loading" };
26809
+ const _sfc_main$4 = {};
26810
+ const _hoisted_1$3 = { class: "content-loading" };
26801
26811
  function _sfc_render(_ctx, _cache) {
26802
- return openBlock(), createElementBlock("div", _hoisted_1$2, _cache[0] || (_cache[0] = [
26812
+ return openBlock(), createElementBlock("div", _hoisted_1$3, _cache[0] || (_cache[0] = [
26803
26813
  createElementVNode("div", { class: "content-loading-title" }, [
26804
26814
  createElementVNode("div", { class: "content-loading__row" }, [
26805
26815
  createElementVNode("img", {
@@ -26812,8 +26822,8 @@ function _sfc_render(_ctx, _cache) {
26812
26822
  ], -1)
26813
26823
  ]));
26814
26824
  }
26815
- const ContentLoading = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render], ["__scopeId", "data-v-vue-layout-gitcode"]]);
26816
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
26825
+ const ContentLoading = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render], ["__scopeId", "data-v-vue-layout-gitcode"]]);
26826
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
26817
26827
  __name: "index",
26818
26828
  props: {
26819
26829
  loading: { type: Boolean },
@@ -26844,7 +26854,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
26844
26854
  };
26845
26855
  }
26846
26856
  });
26847
- const DataPanel = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-vue-layout-gitcode"]]);
26857
+ const DataPanel = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-vue-layout-gitcode"]]);
26848
26858
  function useVisibilityPoll(pollFunction, options = {}, shouldPoll) {
26849
26859
  const { interval = 1e4, immediate = true } = options;
26850
26860
  const timer = ref(null);
@@ -26900,16 +26910,16 @@ function useVisibilityPoll(pollFunction, options = {}, shouldPoll) {
26900
26910
  stopPoll
26901
26911
  };
26902
26912
  }
26903
- const _hoisted_1$1 = {
26913
+ const _hoisted_1$2 = {
26904
26914
  key: 0,
26905
26915
  class: "login-modal-header"
26906
26916
  };
26907
- const _hoisted_2 = { class: "devui-icon__container devui-icon--operable devui-icon--no-slots login-modal-header__close-wrap" };
26908
- const _hoisted_3 = {
26917
+ const _hoisted_2$1 = { class: "devui-icon__container devui-icon--operable devui-icon--no-slots login-modal-header__close-wrap" };
26918
+ const _hoisted_3$1 = {
26909
26919
  key: 0,
26910
26920
  class: "login-modal-content-left login-modal-content-left-register"
26911
26921
  };
26912
- const _hoisted_4 = { class: "login-modal-content-left-register-logo" };
26922
+ const _hoisted_4$1 = { class: "login-modal-content-left-register-logo" };
26913
26923
  const _hoisted_5 = ["src"];
26914
26924
  const _hoisted_6 = { class: "login-modal-logo-desc" };
26915
26925
  const _hoisted_7 = { class: "login-modal-history" };
@@ -26999,7 +27009,7 @@ const _hoisted_69 = { key: 3 };
26999
27009
  const _hoisted_70 = { class: "login-modal-error login-modal-error--register" };
27000
27010
  const _hoisted_71 = { class: "login-modal-error__text" };
27001
27011
  const _hoisted_72 = { class: "absolute-btn" };
27002
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
27012
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
27003
27013
  ...{
27004
27014
  name: "GLoginModal"
27005
27015
  },
@@ -28674,7 +28684,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
28674
28684
  onClose: onModalClose
28675
28685
  }, {
28676
28686
  header: withCtx(() => [
28677
- !mfaCheck.value ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
28687
+ !mfaCheck.value ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
28678
28688
  createVNode(GTitle, {
28679
28689
  icon: unref(IconB) || "",
28680
28690
  title: FormConfig.value.title || "",
@@ -28683,7 +28693,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
28683
28693
  "show-back": FormConfig.value.showBack,
28684
28694
  class: "login-modal-title"
28685
28695
  }, null, 8, ["icon", "title", "show-title", "show-back"]),
28686
- createElementVNode("div", _hoisted_2, [
28696
+ createElementVNode("div", _hoisted_2$1, [
28687
28697
  _ctx.showClose && !showProtoCheck.value ? (openBlock(), createBlock(GIcon, {
28688
28698
  key: 0,
28689
28699
  onClick: onClickModalClose,
@@ -28707,8 +28717,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
28707
28717
  key: 1,
28708
28718
  class: normalizeClass(["login-modal-content", { "login-modal-content--forget": formType.value === "forget" }])
28709
28719
  }, [
28710
- ["register", "login", "bindPhone", "bindPhoneConflict"].includes(formType.value) ? (openBlock(), createElementBlock("div", _hoisted_3, [
28711
- createElementVNode("div", _hoisted_4, [
28720
+ ["register", "login", "bindPhone", "bindPhoneConflict"].includes(formType.value) ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
28721
+ createElementVNode("div", _hoisted_4$1, [
28712
28722
  createElementVNode("img", {
28713
28723
  src: isAIHub.value ? AiLogoType[unref(currentTheme)] : logoType[unref(currentTheme)],
28714
28724
  alt: "gitcode-logo",
@@ -28952,7 +28962,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
28952
28962
  ]),
28953
28963
  _: 1
28954
28964
  }, 8, ["loading"])) : createCommentVNode("", true),
28955
- formType.value !== "bindPhoneConflict" ? (openBlock(), createBlock(unref(_sfc_main$a), {
28965
+ formType.value !== "bindPhoneConflict" ? (openBlock(), createBlock(unref(_sfc_main$b), {
28956
28966
  ref_key: "FormRef",
28957
28967
  ref: FormRef,
28958
28968
  key: formType.value === "forget" ? `${formType.value}-${forgetVerificationType.value}` : formType.value,
@@ -29067,7 +29077,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
29067
29077
  createElementVNode("div", {
29068
29078
  class: normalizeClass(["register-agree", [AgreementWarn.value ? "shaking-box" : ""]])
29069
29079
  }, [
29070
- createVNode(_sfc_main$7, {
29080
+ createVNode(_sfc_main$8, {
29071
29081
  modelValue: status.value,
29072
29082
  "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => status.value = $event),
29073
29083
  dataShareChecked: dataShareChecked.value,
@@ -29124,7 +29134,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
29124
29134
  }),
29125
29135
  _: 3
29126
29136
  }, 8, ["modelValue", "lock-scroll", "draggable", "escapable", "append-to-body", "class"]),
29127
- showProtoCheck.value ? (openBlock(), createBlock(_sfc_main$5, {
29137
+ showProtoCheck.value ? (openBlock(), createBlock(_sfc_main$6, {
29128
29138
  key: 0,
29129
29139
  visible: showProtoCheck.value,
29130
29140
  "onUpdate:visible": _cache[19] || (_cache[19] = ($event) => showProtoCheck.value = $event),
@@ -29137,7 +29147,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
29137
29147
  };
29138
29148
  }
29139
29149
  });
29140
- const LoginModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-vue-layout-gitcode"]]);
29150
+ const LoginModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-vue-layout-gitcode"]]);
29141
29151
  const { t } = i18n.global;
29142
29152
  function useLogin(request, globalStore) {
29143
29153
  const successMsg = t("gitCodeLayout.common.tips.welcome");
@@ -29241,8 +29251,8 @@ function useLogin(request, globalStore) {
29241
29251
  isMounted
29242
29252
  };
29243
29253
  }
29244
- const _hoisted_1 = { style: { "display": "none" } };
29245
- const _sfc_main = /* @__PURE__ */ defineComponent({
29254
+ const _hoisted_1$1 = { style: { "display": "none" } };
29255
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
29246
29256
  ...{
29247
29257
  name: "Login"
29248
29258
  },
@@ -29361,10 +29371,93 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29361
29371
  offEvent("logout");
29362
29372
  });
29363
29373
  return (_ctx, _cache) => {
29364
- return openBlock(), createElementBlock("div", _hoisted_1);
29374
+ return openBlock(), createElementBlock("div", _hoisted_1$1);
29375
+ };
29376
+ }
29377
+ });
29378
+ const _hoisted_1 = { class: "g-header-skeleton__left" };
29379
+ const _hoisted_2 = { class: "g-header-skeleton__search-avatar" };
29380
+ const _hoisted_3 = { class: "g-header-skeleton__right" };
29381
+ const _hoisted_4 = {
29382
+ key: 0,
29383
+ class: "g-header-skeleton__body"
29384
+ };
29385
+ const _sfc_main = /* @__PURE__ */ defineComponent({
29386
+ ...{
29387
+ name: "HeaderSkeleton"
29388
+ },
29389
+ __name: "HeaderSkeleton",
29390
+ props: {
29391
+ withBody: { type: Boolean, default: false },
29392
+ isLogin: { type: Boolean, default: true },
29393
+ position: { default: "sticky" },
29394
+ top: { default: 0 },
29395
+ zIndex: { default: 21 },
29396
+ height: { default: void 0 }
29397
+ },
29398
+ setup(__props) {
29399
+ const props = __props;
29400
+ const containerStyle = computed(() => {
29401
+ const style = {
29402
+ position: props.position,
29403
+ zIndex: props.zIndex
29404
+ };
29405
+ if (props.position === "sticky" || props.position === "fixed") {
29406
+ style.top = typeof props.top === "number" ? `${props.top}px` : props.top;
29407
+ }
29408
+ return style;
29409
+ });
29410
+ const toolbarStyle = computed(() => {
29411
+ if (!props.height) return {};
29412
+ const h2 = typeof props.height === "number" ? `${props.height}px` : props.height;
29413
+ return {
29414
+ height: h2,
29415
+ minHeight: h2,
29416
+ flexBasis: h2
29417
+ };
29418
+ });
29419
+ return (_ctx, _cache) => {
29420
+ return openBlock(), createElementBlock("div", {
29421
+ class: normalizeClass(["g-header-skeleton", [`g-header-skeleton--${_ctx.position}`]]),
29422
+ style: normalizeStyle(containerStyle.value),
29423
+ "aria-hidden": "true"
29424
+ }, [
29425
+ createElementVNode("div", {
29426
+ class: "g-header-skeleton__toolbar",
29427
+ style: normalizeStyle(toolbarStyle.value)
29428
+ }, [
29429
+ createElementVNode("div", _hoisted_1, [
29430
+ _cache[0] || (_cache[0] = createElementVNode("span", { class: "g-header-skeleton__block g-header-skeleton__hamburger" }, null, -1)),
29431
+ _cache[1] || (_cache[1] = createElementVNode("span", { class: "g-header-skeleton__block g-header-skeleton__logo" }, null, -1)),
29432
+ renderSlot(_ctx.$slots, "headerCustom", {}, void 0, true)
29433
+ ]),
29434
+ createElementVNode("div", _hoisted_2, [
29435
+ renderSlot(_ctx.$slots, "search", {}, () => [
29436
+ _cache[2] || (_cache[2] = createElementVNode("span", { class: "g-header-skeleton__block g-header-skeleton__search" }, null, -1))
29437
+ ], true)
29438
+ ]),
29439
+ createElementVNode("div", _hoisted_3, [
29440
+ _ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
29441
+ _cache[3] || (_cache[3] = createStaticVNode('<span class="g-header-skeleton__block g-header-skeleton__atomcode" data-v-vue-layout-gitcode></span><span class="g-header-skeleton__block g-header-skeleton__discover" data-v-vue-layout-gitcode></span><span class="g-header-skeleton__block g-header-skeleton__workbench" data-v-vue-layout-gitcode></span><span class="g-header-skeleton__divider" data-v-vue-layout-gitcode></span><span class="g-header-skeleton__block g-header-skeleton__create-btn" data-v-vue-layout-gitcode></span><span class="g-header-skeleton__block g-header-skeleton__notice-btn" data-v-vue-layout-gitcode></span><span class="g-header-skeleton__block g-header-skeleton__avatar" data-v-vue-layout-gitcode></span>', 7))
29442
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
29443
+ _cache[4] || (_cache[4] = createElementVNode("span", { class: "g-header-skeleton__divider g-header-skeleton__divider--unlogin" }, null, -1)),
29444
+ _cache[5] || (_cache[5] = createElementVNode("span", { class: "g-header-skeleton__block g-header-skeleton__login-btn" }, null, -1)),
29445
+ _cache[6] || (_cache[6] = createElementVNode("span", { class: "g-header-skeleton__block g-header-skeleton__register-btn" }, null, -1))
29446
+ ], 64)),
29447
+ renderSlot(_ctx.$slots, "rightExtra", {}, void 0, true)
29448
+ ])
29449
+ ], 4),
29450
+ _ctx.withBody ? (openBlock(), createElementBlock("div", _hoisted_4, [
29451
+ renderSlot(_ctx.$slots, "body", {}, () => [
29452
+ _cache[7] || (_cache[7] = createStaticVNode('<div class="g-header-skeleton__body-left" data-v-vue-layout-gitcode><span class="g-header-skeleton__block g-header-skeleton__tab" data-v-vue-layout-gitcode></span><span class="g-header-skeleton__block g-header-skeleton__tab" data-v-vue-layout-gitcode></span><span class="g-header-skeleton__block g-header-skeleton__tab" data-v-vue-layout-gitcode></span><span class="g-header-skeleton__block g-header-skeleton__tab" data-v-vue-layout-gitcode></span></div>', 1))
29453
+ ], true)
29454
+ ])) : createCommentVNode("", true),
29455
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
29456
+ ], 6);
29365
29457
  };
29366
29458
  }
29367
29459
  });
29460
+ const HeaderSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-vue-layout-gitcode"]]);
29368
29461
  const GitCodeLayoutEmitter = emitter;
29369
29462
  const index = {
29370
29463
  install: (app) => {
@@ -29373,6 +29466,7 @@ const index = {
29373
29466
  app.component("GitCodeAsideV2", GitCodeAsideV2);
29374
29467
  app.component("ScrollActiveContainer", ScrollActiveContainer);
29375
29468
  app.component("GitCodeHeader", GitCodeHeader);
29469
+ app.component("HeaderSkeleton", HeaderSkeleton);
29376
29470
  app.component("HomeHeaderActions", HomeHeaderActions);
29377
29471
  app.component("AtomCodeLauncher", AtomCodeLauncher);
29378
29472
  app.component("HeaderCreateMenu", HeaderCreateMenu);
@@ -29380,7 +29474,7 @@ const index = {
29380
29474
  }
29381
29475
  };
29382
29476
  export {
29383
- HeaderCreateMenu as $,
29477
+ AtomCodeLauncher as $,
29384
29478
  isZh as A,
29385
29479
  ThemeType as B,
29386
29480
  currentTheme as C,
@@ -29394,10 +29488,10 @@ export {
29394
29488
  navigateWithMigrationGuard as K,
29395
29489
  LANG_ZH as L,
29396
29490
  asideRequest as M,
29397
- _sfc_main$M as N,
29491
+ _sfc_main$N as N,
29398
29492
  loadAsideData as O,
29399
29493
  ToolsFloat as P,
29400
- _sfc_main as Q,
29494
+ _sfc_main$1 as Q,
29401
29495
  REPO_MODULE as R,
29402
29496
  SceneValue as S,
29403
29497
  TOPIC_TYPE as T,
@@ -29405,19 +29499,20 @@ export {
29405
29499
  GitCodeAsideV2 as V,
29406
29500
  ScrollActiveContainer as W,
29407
29501
  GitCodeHeader as X,
29408
- HomeHeaderActions as Y,
29409
- AtomCodeLauncher as Z,
29502
+ HeaderSkeleton as Y,
29503
+ HomeHeaderActions as Z,
29410
29504
  _export_sfc as _,
29411
29505
  i18n as a,
29412
- EnterpriseHeader as a0,
29413
- SiteAnnouncement as a1,
29414
- AsideFooterTools as a2,
29415
- useLogin as a3,
29416
- setLayoutConfig as a4,
29417
- GitCodeLayoutEmitter as a5,
29418
- setTheme as a6,
29419
- HEADER_CREATE_MENU_PATHS as a7,
29420
- index as a8,
29506
+ HeaderCreateMenu as a0,
29507
+ EnterpriseHeader as a1,
29508
+ SiteAnnouncement as a2,
29509
+ AsideFooterTools as a3,
29510
+ useLogin as a4,
29511
+ setLayoutConfig as a5,
29512
+ GitCodeLayoutEmitter as a6,
29513
+ setTheme as a7,
29514
+ HEADER_CREATE_MENU_PATHS as a8,
29515
+ index as a9,
29421
29516
  REPO_EVENT as b,
29422
29517
  REPO_TYPE as c,
29423
29518
  transferNumber as d,
@@ -29431,7 +29526,7 @@ export {
29431
29526
  localStorage$2 as l,
29432
29527
  isGstarRepo as m,
29433
29528
  normalizeSearchHistoryEntry as n,
29434
- _sfc_main$L as o,
29529
+ _sfc_main$M as o,
29435
29530
  isIncubationRepo as p,
29436
29531
  highlightWords as q,
29437
29532
  reqCatch as r,