@yuku123/z-team-component 0.2.73 → 0.2.75

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.
Files changed (27) hide show
  1. package/dist/{ComponentDoc-D6j0q6td.js → ComponentDoc-CMfr27b7.js} +1 -1
  2. package/dist/{InvitationManagementPage-CguvahDP.js → InvitationManagementPage-SMhrq5dN.js} +1 -1
  3. package/dist/{OnboardingPage-CMtXJdWG.js → OnboardingPage-CjLgp-jE.js} +2 -2
  4. package/dist/{ScheduledTasks-CboH2Vtb.js → ScheduledTasks-C2wsuoa9.js} +766 -766
  5. package/dist/{SystemShell-Bj3uLkb-.js → SystemShell-y3kvbENk.js} +215 -196
  6. package/dist/{api-DcV3bpwl.js → api-CVKSSNXw.js} +1 -1
  7. package/dist/{createWorkspaceWsHandler-BUDc2OuA.js → createWorkspaceWsHandler-25JfnMML.js} +1834 -1812
  8. package/dist/{index-CM81Z4Gw.js → index-3c6HvG__.js} +1 -1
  9. package/dist/{index--l2UiQAT.js → index-B_oOPFoQ.js} +30 -30
  10. package/dist/{index-nj-cjKsf.js → index-BohoJQPr.js} +1849 -1857
  11. package/dist/{index-BJqS68-M.js → index-CbTwXfER.js} +1 -1
  12. package/dist/{index-CWnbQ1Ho.js → index-CchpPnBl.js} +1 -1
  13. package/dist/{index-ewTV5yeN.js → index-Cd_xAvmO.js} +3873 -3761
  14. package/dist/{index-Cz45ypLD.js → index-CeCBja5s.js} +3 -3
  15. package/dist/{index-DjFfvrfB.js → index-CfW9kGYJ.js} +16 -15
  16. package/dist/{index-CRgnk_Ly.js → index-D54nAoGP.js} +3 -3
  17. package/dist/{index-DdEl0ec4.js → index-DWd0Y6qP.js} +1 -1
  18. package/dist/{index-D8WafKB8.js → index-Pq3n7-vE.js} +2 -2
  19. package/dist/{index-CfljuY26.js → index-_53KTMhL.js} +1 -1
  20. package/dist/{index-DQ6ZfUO0.js → index-e9H9wjYU.js} +447 -445
  21. package/dist/{index-DB0RIaB4.js → index-fW1JBhEB.js} +2 -2
  22. package/dist/index.js +1 -1
  23. package/dist/{menuPermission-B0HlWqWx.js → menuPermission-CtJddtOO.js} +1 -1
  24. package/dist/pages.js +11 -11
  25. package/dist/z-team-component.css +1 -1
  26. package/package.json +2 -2
  27. package/dist/index-DrDur76N.js +0 -1747
@@ -6,22 +6,22 @@ import { useState as o, useRef as De, useCallback as E, useEffect as te, useMemo
6
6
  import ln from "react-markdown";
7
7
  import on from "remark-gfm";
8
8
  import { f as As, u as Bs, a as Rs, b as Ds, s as Ps } from "./webide-BlpH-J-H.js";
9
- import { Z as sa, _ as vn, $ as la, a0 as Ms, F as bn, R as rn, L as Nn, P as Es, D as $s, a1 as ia, a2 as Os, a3 as oa, a4 as kn, a5 as Hs, C as js, a6 as Gs } from "./index-ewTV5yeN.js";
9
+ import { Z as sa, _ as vn, $ as la, a0 as Ms, F as bn, R as rn, L as Nn, P as Es, D as $s, a1 as ia, a2 as Os, a3 as oa, a4 as kn, a5 as Hs, C as js, a6 as Gs } from "./index-Cd_xAvmO.js";
10
10
  import { u as Le, s as Cn } from "./useAppStore-DQP0l22d.js";
11
11
  import { a as Fs, b as zs, s as Us, c as Ws, d as qs, u as Vs, e as Ks, t as Js, r as Ys, m as Qs, g as Xs } from "./schedule-iMEGim0L.js";
12
12
  import Zs from "rehype-highlight";
13
- import { u as el, s as tl, i as nl, t as al, v as sl } from "./createWorkspaceWsHandler-BUDc2OuA.js";
13
+ import { u as el, s as tl, a as nl, i as al, v as sl, w as ll } from "./createWorkspaceWsHandler-25JfnMML.js";
14
14
  import xt from "dayjs";
15
15
  import * as Wt from "echarts/core";
16
- import { BarChart as ll, LineChart as il, PieChart as ol } from "echarts/charts";
17
- import { GridComponent as rl, LegendComponent as cl, TitleComponent as dl, TooltipComponent as ml } from "echarts/components";
18
- import { CanvasRenderer as ul } from "echarts/renderers";
19
- import { a as hl } from "./instance-B9aQMplq.js";
20
- import { diffLines as pl } from "diff";
21
- import _l, { DiffMethod as gl } from "react-diff-viewer-continued";
22
- import { format as fl } from "sql-formatter";
23
- import { V as ra, W as yl, k as vl, h as bl, X as ca, Y as Nl, Z as kl, _ as wn, $ as Cl, a0 as wl, a1 as da, a2 as Sl, a3 as Tl, a4 as xl, a5 as Il, a6 as Ll, a7 as Al } from "./training-DeyqAiin.js";
24
- async function Bl(t = {}, s = "") {
16
+ import { BarChart as il, LineChart as ol, PieChart as rl } from "echarts/charts";
17
+ import { GridComponent as cl, LegendComponent as dl, TitleComponent as ml, TooltipComponent as ul } from "echarts/components";
18
+ import { CanvasRenderer as hl } from "echarts/renderers";
19
+ import { a as pl } from "./instance-B9aQMplq.js";
20
+ import { diffLines as _l } from "diff";
21
+ import gl, { DiffMethod as fl } from "react-diff-viewer-continued";
22
+ import { format as yl } from "sql-formatter";
23
+ import { V as ra, W as vl, k as bl, h as Nl, X as ca, Y as kl, Z as Cl, _ as wn, $ as wl, a0 as Sl, a1 as da, a2 as Tl, a3 as xl, a4 as Il, a5 as Ll, a6 as Al, a7 as Bl } from "./training-DeyqAiin.js";
24
+ async function Rl(t = {}, s = "") {
25
25
  const a = new URLSearchParams();
26
26
  t.keyword && a.set("keyword", t.keyword), t.category && a.set("category", t.category), t.status !== void 0 && a.set("status", String(t.status)), s && a.set("token", s);
27
27
  const i = await Vn(
@@ -32,114 +32,114 @@ async function Bl(t = {}, s = "") {
32
32
  const c = l == null ? void 0 : l.items;
33
33
  return Array.isArray(c) ? c : [];
34
34
  }
35
- async function Rl(t, s = "") {
35
+ async function Dl(t, s = "") {
36
36
  const a = s ? `?token=${encodeURIComponent(s)}` : "", i = await Vn(
37
37
  `${Jn}/admin/ft-skills/${t}${a}`,
38
38
  Kn
39
39
  );
40
40
  return Yn(i, "获取 FT skill 详情失败");
41
41
  }
42
- const Dl = "_container_oyitu_1", Pl = "_header_oyitu_9", Ml = "_backBtn_oyitu_20", El = "_headerTitle_oyitu_40", $l = "_headerAgentName_oyitu_46", Ol = "_body_oyitu_52", Hl = "_taskListPanel_oyitu_59", jl = "_taskListHeader_oyitu_69", Gl = "_taskListTitle_oyitu_77", Fl = "_newTaskBtn_oyitu_83", zl = "_taskList_oyitu_59", Ul = "_taskCard_oyitu_105", Wl = "_taskCardActive_oyitu_118", ql = "_taskCardHeader_oyitu_123", Vl = "_taskDot_oyitu_130", Kl = "_taskDotEnabled_oyitu_137", Jl = "_taskDotDisabled_oyitu_141", Yl = "_taskName_oyitu_145", Ql = "_taskCron_oyitu_155", Xl = "_taskNextRun_oyitu_161", Zl = "_detailPanel_oyitu_167", ei = "_emptyState_oyitu_173", ti = "_formGroup_oyitu_183", ni = "_formLabel_oyitu_187", ai = "_formInput_oyitu_195", si = "_formTextarea_oyitu_213", li = "_formHint_oyitu_234", ii = "_cronPresets_oyitu_240", oi = "_cronPreset_oyitu_240", ri = "_actions_oyitu_264", ci = "_btn_oyitu_271", di = "_btnPrimary_oyitu_287", mi = "_btnDanger_oyitu_298", ui = "_logSection_oyitu_309", hi = "_logSectionTitle_oyitu_313", pi = "_logList_oyitu_322", _i = "_logItem_oyitu_328", gi = "_logStatus_oyitu_337", fi = "_logStatusSuccess_oyitu_349", yi = "_logStatusFailed_oyitu_354", vi = "_logStatusRunning_oyitu_359", bi = "_logContent_oyitu_364", Ni = "_logTime_oyitu_369", ki = "_logSnippet_oyitu_375", Ci = "_logError_oyitu_386", wi = "_logActions_oyitu_392", Si = "_pagination_oyitu_408", Ti = "_pageBtn_oyitu_416", xi = "_pageInfo_oyitu_437", Ii = "_statusBadge_oyitu_443", Li = "_statusBadgeEnabled_oyitu_452", Ai = "_statusBadgeDisabled_oyitu_457", Bi = "_createForm_oyitu_463", Ri = "_headerRight_oyitu_468", Di = "_bellBtn_oyitu_476", Pi = "_bellBadge_oyitu_497", Mi = "_notifPanel_oyitu_514", Ei = "_notifPanelHeader_oyitu_530", $i = "_notifPanelTitle_oyitu_538", Oi = "_notifMarkAllBtn_oyitu_545", Hi = "_notifCloseBtn_oyitu_561", ji = "_notifList_oyitu_577", Gi = "_notifEmpty_oyitu_583", Fi = "_notifCard_oyitu_590", zi = "_notifCardUnread_oyitu_602", Ui = "_notifCardHeader_oyitu_607", Wi = "_notifStatusDot_oyitu_614", qi = "_notifStatusSuccess_oyitu_621", Vi = "_notifStatusFailed_oyitu_625", Ki = "_notifTaskName_oyitu_629", Ji = "_notifTime_oyitu_639", Yi = "_notifReadBtn_oyitu_645", Qi = "_notifAgentName_oyitu_661", Xi = "_notifResult_oyitu_667", Zi = "_notifError_oyitu_680", eo = "_staffDropdown_oyitu_687", to = "_staffInputWrap_oyitu_692", no = "_staffClearBtn_oyitu_696", ao = "_staffResults_oyitu_720", so = "_staffLoading_oyitu_735", lo = "_staffEmpty_oyitu_736", io = "_staffItem_oyitu_743", oo = "_staffName_oyitu_761", ro = "_staffMeta_oyitu_767", co = "_notifySelected_oyitu_773", mo = "_notifySelectedName_oyitu_785", uo = "_notifyClearBtn_oyitu_792", ho = "_taskNotify_oyitu_808", po = "_logLinkBtn_oyitu_824", _o = "_sessionModalOverlay_oyitu_844", go = "_sessionModal_oyitu_844", fo = "_sessionModalHeader_oyitu_870", yo = "_sessionModalTitle_oyitu_879", vo = "_sessionModalClose_oyitu_885", bo = "_sessionModalBody_oyitu_905", No = "_sessionModalEmpty_oyitu_914", ko = "_sessionMsgRow_oyitu_921", Co = "_sessionMsgUser_oyitu_927", wo = "_sessionMsgRole_oyitu_931", So = "_sessionMsgBubble_oyitu_937", v = {
43
- container: Dl,
44
- header: Pl,
45
- backBtn: Ml,
46
- headerTitle: El,
47
- headerAgentName: $l,
48
- body: Ol,
49
- taskListPanel: Hl,
50
- taskListHeader: jl,
51
- taskListTitle: Gl,
52
- newTaskBtn: Fl,
53
- taskList: zl,
54
- taskCard: Ul,
55
- taskCardActive: Wl,
56
- taskCardHeader: ql,
57
- taskDot: Vl,
58
- taskDotEnabled: Kl,
59
- taskDotDisabled: Jl,
60
- taskName: Yl,
61
- taskCron: Ql,
62
- taskNextRun: Xl,
63
- detailPanel: Zl,
64
- emptyState: ei,
65
- formGroup: ti,
66
- formLabel: ni,
67
- formInput: ai,
68
- formTextarea: si,
69
- formHint: li,
70
- cronPresets: ii,
71
- cronPreset: oi,
72
- actions: ri,
73
- btn: ci,
74
- btnPrimary: di,
75
- btnDanger: mi,
76
- logSection: ui,
77
- logSectionTitle: hi,
78
- logList: pi,
79
- logItem: _i,
80
- logStatus: gi,
81
- logStatusSuccess: fi,
82
- logStatusFailed: yi,
83
- logStatusRunning: vi,
84
- logContent: bi,
85
- logTime: Ni,
86
- logSnippet: ki,
87
- logError: Ci,
88
- logActions: wi,
89
- pagination: Si,
90
- pageBtn: Ti,
91
- pageInfo: xi,
92
- statusBadge: Ii,
93
- statusBadgeEnabled: Li,
94
- statusBadgeDisabled: Ai,
95
- createForm: Bi,
96
- headerRight: Ri,
97
- bellBtn: Di,
98
- bellBadge: Pi,
99
- notifPanel: Mi,
100
- notifPanelHeader: Ei,
101
- notifPanelTitle: $i,
102
- notifMarkAllBtn: Oi,
103
- notifCloseBtn: Hi,
104
- notifList: ji,
105
- notifEmpty: Gi,
106
- notifCard: Fi,
107
- notifCardUnread: zi,
108
- notifCardHeader: Ui,
109
- notifStatusDot: Wi,
110
- notifStatusSuccess: qi,
111
- notifStatusFailed: Vi,
112
- notifTaskName: Ki,
113
- notifTime: Ji,
114
- notifReadBtn: Yi,
115
- notifAgentName: Qi,
116
- notifResult: Xi,
117
- notifError: Zi,
118
- staffDropdown: eo,
119
- staffInputWrap: to,
120
- staffClearBtn: no,
121
- staffResults: ao,
122
- staffLoading: so,
123
- staffEmpty: lo,
124
- staffItem: io,
125
- staffName: oo,
126
- staffMeta: ro,
127
- notifySelected: co,
128
- notifySelectedName: mo,
129
- notifyClearBtn: uo,
130
- taskNotify: ho,
131
- logLinkBtn: po,
132
- sessionModalOverlay: _o,
133
- sessionModal: go,
134
- sessionModalHeader: fo,
135
- sessionModalTitle: yo,
136
- sessionModalClose: vo,
137
- sessionModalBody: bo,
138
- sessionModalEmpty: No,
139
- sessionMsgRow: ko,
140
- sessionMsgUser: Co,
141
- sessionMsgRole: wo,
142
- sessionMsgBubble: So
42
+ const Pl = "_container_oyitu_1", Ml = "_header_oyitu_9", El = "_backBtn_oyitu_20", $l = "_headerTitle_oyitu_40", Ol = "_headerAgentName_oyitu_46", Hl = "_body_oyitu_52", jl = "_taskListPanel_oyitu_59", Gl = "_taskListHeader_oyitu_69", Fl = "_taskListTitle_oyitu_77", zl = "_newTaskBtn_oyitu_83", Ul = "_taskList_oyitu_59", Wl = "_taskCard_oyitu_105", ql = "_taskCardActive_oyitu_118", Vl = "_taskCardHeader_oyitu_123", Kl = "_taskDot_oyitu_130", Jl = "_taskDotEnabled_oyitu_137", Yl = "_taskDotDisabled_oyitu_141", Ql = "_taskName_oyitu_145", Xl = "_taskCron_oyitu_155", Zl = "_taskNextRun_oyitu_161", ei = "_detailPanel_oyitu_167", ti = "_emptyState_oyitu_173", ni = "_formGroup_oyitu_183", ai = "_formLabel_oyitu_187", si = "_formInput_oyitu_195", li = "_formTextarea_oyitu_213", ii = "_formHint_oyitu_234", oi = "_cronPresets_oyitu_240", ri = "_cronPreset_oyitu_240", ci = "_actions_oyitu_264", di = "_btn_oyitu_271", mi = "_btnPrimary_oyitu_287", ui = "_btnDanger_oyitu_298", hi = "_logSection_oyitu_309", pi = "_logSectionTitle_oyitu_313", _i = "_logList_oyitu_322", gi = "_logItem_oyitu_328", fi = "_logStatus_oyitu_337", yi = "_logStatusSuccess_oyitu_349", vi = "_logStatusFailed_oyitu_354", bi = "_logStatusRunning_oyitu_359", Ni = "_logContent_oyitu_364", ki = "_logTime_oyitu_369", Ci = "_logSnippet_oyitu_375", wi = "_logError_oyitu_386", Si = "_logActions_oyitu_392", Ti = "_pagination_oyitu_408", xi = "_pageBtn_oyitu_416", Ii = "_pageInfo_oyitu_437", Li = "_statusBadge_oyitu_443", Ai = "_statusBadgeEnabled_oyitu_452", Bi = "_statusBadgeDisabled_oyitu_457", Ri = "_createForm_oyitu_463", Di = "_headerRight_oyitu_468", Pi = "_bellBtn_oyitu_476", Mi = "_bellBadge_oyitu_497", Ei = "_notifPanel_oyitu_514", $i = "_notifPanelHeader_oyitu_530", Oi = "_notifPanelTitle_oyitu_538", Hi = "_notifMarkAllBtn_oyitu_545", ji = "_notifCloseBtn_oyitu_561", Gi = "_notifList_oyitu_577", Fi = "_notifEmpty_oyitu_583", zi = "_notifCard_oyitu_590", Ui = "_notifCardUnread_oyitu_602", Wi = "_notifCardHeader_oyitu_607", qi = "_notifStatusDot_oyitu_614", Vi = "_notifStatusSuccess_oyitu_621", Ki = "_notifStatusFailed_oyitu_625", Ji = "_notifTaskName_oyitu_629", Yi = "_notifTime_oyitu_639", Qi = "_notifReadBtn_oyitu_645", Xi = "_notifAgentName_oyitu_661", Zi = "_notifResult_oyitu_667", eo = "_notifError_oyitu_680", to = "_staffDropdown_oyitu_687", no = "_staffInputWrap_oyitu_692", ao = "_staffClearBtn_oyitu_696", so = "_staffResults_oyitu_720", lo = "_staffLoading_oyitu_735", io = "_staffEmpty_oyitu_736", oo = "_staffItem_oyitu_743", ro = "_staffName_oyitu_761", co = "_staffMeta_oyitu_767", mo = "_notifySelected_oyitu_773", uo = "_notifySelectedName_oyitu_785", ho = "_notifyClearBtn_oyitu_792", po = "_taskNotify_oyitu_808", _o = "_logLinkBtn_oyitu_824", go = "_sessionModalOverlay_oyitu_844", fo = "_sessionModal_oyitu_844", yo = "_sessionModalHeader_oyitu_870", vo = "_sessionModalTitle_oyitu_879", bo = "_sessionModalClose_oyitu_885", No = "_sessionModalBody_oyitu_905", ko = "_sessionModalEmpty_oyitu_914", Co = "_sessionMsgRow_oyitu_921", wo = "_sessionMsgUser_oyitu_927", So = "_sessionMsgRole_oyitu_931", To = "_sessionMsgBubble_oyitu_937", v = {
43
+ container: Pl,
44
+ header: Ml,
45
+ backBtn: El,
46
+ headerTitle: $l,
47
+ headerAgentName: Ol,
48
+ body: Hl,
49
+ taskListPanel: jl,
50
+ taskListHeader: Gl,
51
+ taskListTitle: Fl,
52
+ newTaskBtn: zl,
53
+ taskList: Ul,
54
+ taskCard: Wl,
55
+ taskCardActive: ql,
56
+ taskCardHeader: Vl,
57
+ taskDot: Kl,
58
+ taskDotEnabled: Jl,
59
+ taskDotDisabled: Yl,
60
+ taskName: Ql,
61
+ taskCron: Xl,
62
+ taskNextRun: Zl,
63
+ detailPanel: ei,
64
+ emptyState: ti,
65
+ formGroup: ni,
66
+ formLabel: ai,
67
+ formInput: si,
68
+ formTextarea: li,
69
+ formHint: ii,
70
+ cronPresets: oi,
71
+ cronPreset: ri,
72
+ actions: ci,
73
+ btn: di,
74
+ btnPrimary: mi,
75
+ btnDanger: ui,
76
+ logSection: hi,
77
+ logSectionTitle: pi,
78
+ logList: _i,
79
+ logItem: gi,
80
+ logStatus: fi,
81
+ logStatusSuccess: yi,
82
+ logStatusFailed: vi,
83
+ logStatusRunning: bi,
84
+ logContent: Ni,
85
+ logTime: ki,
86
+ logSnippet: Ci,
87
+ logError: wi,
88
+ logActions: Si,
89
+ pagination: Ti,
90
+ pageBtn: xi,
91
+ pageInfo: Ii,
92
+ statusBadge: Li,
93
+ statusBadgeEnabled: Ai,
94
+ statusBadgeDisabled: Bi,
95
+ createForm: Ri,
96
+ headerRight: Di,
97
+ bellBtn: Pi,
98
+ bellBadge: Mi,
99
+ notifPanel: Ei,
100
+ notifPanelHeader: $i,
101
+ notifPanelTitle: Oi,
102
+ notifMarkAllBtn: Hi,
103
+ notifCloseBtn: ji,
104
+ notifList: Gi,
105
+ notifEmpty: Fi,
106
+ notifCard: zi,
107
+ notifCardUnread: Ui,
108
+ notifCardHeader: Wi,
109
+ notifStatusDot: qi,
110
+ notifStatusSuccess: Vi,
111
+ notifStatusFailed: Ki,
112
+ notifTaskName: Ji,
113
+ notifTime: Yi,
114
+ notifReadBtn: Qi,
115
+ notifAgentName: Xi,
116
+ notifResult: Zi,
117
+ notifError: eo,
118
+ staffDropdown: to,
119
+ staffInputWrap: no,
120
+ staffClearBtn: ao,
121
+ staffResults: so,
122
+ staffLoading: lo,
123
+ staffEmpty: io,
124
+ staffItem: oo,
125
+ staffName: ro,
126
+ staffMeta: co,
127
+ notifySelected: mo,
128
+ notifySelectedName: uo,
129
+ notifyClearBtn: ho,
130
+ taskNotify: po,
131
+ logLinkBtn: _o,
132
+ sessionModalOverlay: go,
133
+ sessionModal: fo,
134
+ sessionModalHeader: yo,
135
+ sessionModalTitle: vo,
136
+ sessionModalClose: bo,
137
+ sessionModalBody: No,
138
+ sessionModalEmpty: ko,
139
+ sessionMsgRow: Co,
140
+ sessionMsgUser: wo,
141
+ sessionMsgRole: So,
142
+ sessionMsgBubble: To
143
143
  }, Sn = [
144
144
  { label: "每分钟", value: "0 * * * * ?" },
145
145
  { label: "每5分钟", value: "0 */5 * * * ?" },
@@ -162,7 +162,7 @@ function Tt(t) {
162
162
  return t;
163
163
  }
164
164
  }
165
- function To({
165
+ function xo({
166
166
  agent: t,
167
167
  onBack: s,
168
168
  embedded: a = !1,
@@ -816,70 +816,70 @@ function To({
816
816
  )
817
817
  ] });
818
818
  }
819
- const xo = "_container_nbkud_1", Io = "_header_nbkud_10", Lo = "_headerLeft_nbkud_20", Ao = "_headerTitle_nbkud_27", Bo = "_headerActions_nbkud_36", Ro = "_backBtn_nbkud_43", Do = "_saveBtn_nbkud_62", Po = "_tabBar_nbkud_86", Mo = "_tab_nbkud_86", Eo = "_tabActive_nbkud_114", $o = "_body_nbkud_120", Oo = "_bodyNoPadding_nbkud_126", Ho = "_sectionHead_nbkud_132", jo = "_sectionTitle_nbkud_136", Go = "_sectionDesc_nbkud_143", Fo = "_sectionDivider_nbkud_150", zo = "_fieldGrid_nbkud_156", Uo = "_field_nbkud_156", Wo = "_fieldLabel_nbkud_166", qo = "_required_nbkud_174", Vo = "_fieldInput_nbkud_179", Ko = "_fieldHint_nbkud_183", Jo = "_switchGrid_nbkud_191", Yo = "_switchItem_nbkud_197", Qo = "_switchLabel_nbkud_203", Xo = "_switchHint_nbkud_209", Zo = "_loading_nbkud_215", er = "_filesContainer_nbkud_260", tr = "_fileTreePanel_nbkud_267", nr = "_fileTreeHeader_nbkud_277", ar = "_fileTreeBody_nbkud_286", sr = "_fileTreeNode_nbkud_292", lr = "_fileTreeNodeActive_nbkud_311", ir = "_fileTreeIcon_nbkud_316", or = "_fileTreeName_nbkud_326", rr = "_fileTreeEmpty_nbkud_332", cr = "_fileContentPanel_nbkud_342", dr = "_fileContentEmpty_nbkud_350", mr = "_fileContentInner_nbkud_359", ur = "_fileContentPath_nbkud_366", hr = "_fileContentPre_nbkud_376", pr = "_markdownBody_nbkud_389", _r = "_skillsContainer_nbkud_492", gr = "_skillsEmpty_nbkud_499", fr = "_skillList_nbkud_508", yr = "_skillCard_nbkud_514", vr = "_skillCardInfo_nbkud_530", br = "_skillCardName_nbkud_535", Nr = "_skillCardDesc_nbkud_542", kr = "_skillCardMeta_nbkud_554", Cr = "_skillBadge_nbkud_560", wr = "_skillCode_nbkud_570", Sr = "_skillCardAction_nbkud_579", Tr = "_skillPagination_nbkud_585", xr = "_pageBtn_nbkud_593", Ir = "_pageInfo_nbkud_614", A = {
820
- container: xo,
821
- header: Io,
822
- headerLeft: Lo,
823
- headerTitle: Ao,
824
- headerActions: Bo,
825
- backBtn: Ro,
826
- saveBtn: Do,
827
- tabBar: Po,
828
- tab: Mo,
829
- tabActive: Eo,
830
- body: $o,
831
- bodyNoPadding: Oo,
832
- sectionHead: Ho,
833
- sectionTitle: jo,
834
- sectionDesc: Go,
835
- sectionDivider: Fo,
836
- fieldGrid: zo,
837
- field: Uo,
838
- fieldLabel: Wo,
839
- required: qo,
840
- fieldInput: Vo,
841
- fieldHint: Ko,
842
- switchGrid: Jo,
843
- switchItem: Yo,
844
- switchLabel: Qo,
845
- switchHint: Xo,
846
- loading: Zo,
847
- filesContainer: er,
848
- fileTreePanel: tr,
849
- fileTreeHeader: nr,
850
- fileTreeBody: ar,
851
- fileTreeNode: sr,
852
- fileTreeNodeActive: lr,
853
- fileTreeIcon: ir,
854
- fileTreeName: or,
855
- fileTreeEmpty: rr,
856
- fileContentPanel: cr,
857
- fileContentEmpty: dr,
858
- fileContentInner: mr,
859
- fileContentPath: ur,
860
- fileContentPre: hr,
861
- markdownBody: pr,
862
- skillsContainer: _r,
863
- skillsEmpty: gr,
864
- skillList: fr,
865
- skillCard: yr,
866
- skillCardInfo: vr,
867
- skillCardName: br,
868
- skillCardDesc: Nr,
869
- skillCardMeta: kr,
870
- skillBadge: Cr,
871
- skillCode: wr,
872
- skillCardAction: Sr,
873
- skillPagination: Tr,
874
- pageBtn: xr,
875
- pageInfo: Ir
819
+ const Io = "_container_nbkud_1", Lo = "_header_nbkud_10", Ao = "_headerLeft_nbkud_20", Bo = "_headerTitle_nbkud_27", Ro = "_headerActions_nbkud_36", Do = "_backBtn_nbkud_43", Po = "_saveBtn_nbkud_62", Mo = "_tabBar_nbkud_86", Eo = "_tab_nbkud_86", $o = "_tabActive_nbkud_114", Oo = "_body_nbkud_120", Ho = "_bodyNoPadding_nbkud_126", jo = "_sectionHead_nbkud_132", Go = "_sectionTitle_nbkud_136", Fo = "_sectionDesc_nbkud_143", zo = "_sectionDivider_nbkud_150", Uo = "_fieldGrid_nbkud_156", Wo = "_field_nbkud_156", qo = "_fieldLabel_nbkud_166", Vo = "_required_nbkud_174", Ko = "_fieldInput_nbkud_179", Jo = "_fieldHint_nbkud_183", Yo = "_switchGrid_nbkud_191", Qo = "_switchItem_nbkud_197", Xo = "_switchLabel_nbkud_203", Zo = "_switchHint_nbkud_209", er = "_loading_nbkud_215", tr = "_filesContainer_nbkud_260", nr = "_fileTreePanel_nbkud_267", ar = "_fileTreeHeader_nbkud_277", sr = "_fileTreeBody_nbkud_286", lr = "_fileTreeNode_nbkud_292", ir = "_fileTreeNodeActive_nbkud_311", or = "_fileTreeIcon_nbkud_316", rr = "_fileTreeName_nbkud_326", cr = "_fileTreeEmpty_nbkud_332", dr = "_fileContentPanel_nbkud_342", mr = "_fileContentEmpty_nbkud_350", ur = "_fileContentInner_nbkud_359", hr = "_fileContentPath_nbkud_366", pr = "_fileContentPre_nbkud_376", _r = "_markdownBody_nbkud_389", gr = "_skillsContainer_nbkud_492", fr = "_skillsEmpty_nbkud_499", yr = "_skillList_nbkud_508", vr = "_skillCard_nbkud_514", br = "_skillCardInfo_nbkud_530", Nr = "_skillCardName_nbkud_535", kr = "_skillCardDesc_nbkud_542", Cr = "_skillCardMeta_nbkud_554", wr = "_skillBadge_nbkud_560", Sr = "_skillCode_nbkud_570", Tr = "_skillCardAction_nbkud_579", xr = "_skillPagination_nbkud_585", Ir = "_pageBtn_nbkud_593", Lr = "_pageInfo_nbkud_614", A = {
820
+ container: Io,
821
+ header: Lo,
822
+ headerLeft: Ao,
823
+ headerTitle: Bo,
824
+ headerActions: Ro,
825
+ backBtn: Do,
826
+ saveBtn: Po,
827
+ tabBar: Mo,
828
+ tab: Eo,
829
+ tabActive: $o,
830
+ body: Oo,
831
+ bodyNoPadding: Ho,
832
+ sectionHead: jo,
833
+ sectionTitle: Go,
834
+ sectionDesc: Fo,
835
+ sectionDivider: zo,
836
+ fieldGrid: Uo,
837
+ field: Wo,
838
+ fieldLabel: qo,
839
+ required: Vo,
840
+ fieldInput: Ko,
841
+ fieldHint: Jo,
842
+ switchGrid: Yo,
843
+ switchItem: Qo,
844
+ switchLabel: Xo,
845
+ switchHint: Zo,
846
+ loading: er,
847
+ filesContainer: tr,
848
+ fileTreePanel: nr,
849
+ fileTreeHeader: ar,
850
+ fileTreeBody: sr,
851
+ fileTreeNode: lr,
852
+ fileTreeNodeActive: ir,
853
+ fileTreeIcon: or,
854
+ fileTreeName: rr,
855
+ fileTreeEmpty: cr,
856
+ fileContentPanel: dr,
857
+ fileContentEmpty: mr,
858
+ fileContentInner: ur,
859
+ fileContentPath: hr,
860
+ fileContentPre: pr,
861
+ markdownBody: _r,
862
+ skillsContainer: gr,
863
+ skillsEmpty: fr,
864
+ skillList: yr,
865
+ skillCard: vr,
866
+ skillCardInfo: br,
867
+ skillCardName: Nr,
868
+ skillCardDesc: kr,
869
+ skillCardMeta: Cr,
870
+ skillBadge: wr,
871
+ skillCode: Sr,
872
+ skillCardAction: Tr,
873
+ skillPagination: xr,
874
+ pageBtn: Ir,
875
+ pageInfo: Lr
876
876
  };
877
- function Lr(t, s) {
877
+ function Ar(t, s) {
878
878
  if (!t) return !1;
879
879
  const i = (t._agenthub_raw ?? {})[s];
880
880
  return typeof i == "boolean" ? i : typeof i == "string" ? i === "true" || i === "1" : typeof i == "number" ? i === 1 : !1;
881
881
  }
882
- function xf({
882
+ function If({
883
883
  agent: t,
884
884
  onBack: s,
885
885
  initialTab: a,
@@ -911,7 +911,7 @@ function xf({
911
911
  const lt = Re.modelExt;
912
912
  k(!!((lt == null ? void 0 : lt.enable_thinking) ?? !1)), F(!!((lt == null ? void 0 : lt.send_thinking) ?? !1));
913
913
  const St = Re.sensitiveFilterConfig;
914
- re(!!((St == null ? void 0 : St.enabled) ?? !1)), ve(Lr(le, "enable")), H(Array.isArray(je) ? je : []);
914
+ re(!!((St == null ? void 0 : St.enabled) ?? !1)), ve(Ar(le, "enable")), H(Array.isArray(je) ? je : []);
915
915
  } catch (le) {
916
916
  D || se.error((le == null ? void 0 : le.userMessage) ?? "加载 Agent 配置失败");
917
917
  } finally {
@@ -1452,7 +1452,7 @@ function xf({
1452
1452
  ] })
1453
1453
  ] }) }),
1454
1454
  m === "schedule" && /* @__PURE__ */ e(
1455
- To,
1455
+ xo,
1456
1456
  {
1457
1457
  agent: t,
1458
1458
  embedded: !0,
@@ -1464,66 +1464,66 @@ function xf({
1464
1464
  )
1465
1465
  ] });
1466
1466
  }
1467
- const Ar = "_container_1c3er_1", Br = "_sessionPanel_1c3er_8", Rr = "_sessionHeader_1c3er_18", Dr = "_sessionHeaderActions_1c3er_29", Pr = "_sessionBtnSm_1c3er_34", Mr = "_sessionList_1c3er_49", Er = "_sessionItem_1c3er_55", $r = "_sessionItemActive_1c3er_73", Or = "_sessionItemTitle_1c3er_78", Hr = "_sessionRenameBtn_1c3er_85", jr = "_sessionDeleteBtn_1c3er_107", Gr = "_sessionEmpty_1c3er_129", Fr = "_sessionTabBar_1c3er_143", zr = "_sessionTab_1c3er_143", Ur = "_sessionTabActive_1c3er_169", Wr = "_sessionGroup_1c3er_176", qr = "_sessionGroupHeader_1c3er_180", Vr = "_sessionGroupArrow_1c3er_198", Kr = "_sessionGroupName_1c3er_206", Jr = "_sessionGroupCount_1c3er_213", Yr = "_sessionItemNested_1c3er_224", Qr = "_chatPanel_1c3er_232", Xr = "_scrollTopBtn_1c3er_243", Zr = "_scrollTopBtnVisible_1c3er_264", ec = "_chatHeader_1c3er_285", tc = "_chatHeaderName_1c3er_298", nc = "_messageList_1c3er_305", ac = "_messageRow_1c3er_314", sc = "_messageRowUser_1c3er_320", lc = "_messageAvatar_1c3er_324", ic = "_messageBubble_1c3er_337", oc = "_messageBubbleUser_1c3er_347", rc = "_messageBubbleAssistant_1c3er_353", cc = "_chatEmpty_1c3er_361", dc = "_inputArea_1c3er_371", mc = "_modeBar_1c3er_379", uc = "_imagePreviewBar_1c3er_411", hc = "_imagePreviewItem_1c3er_418", pc = "_imagePreviewRemove_1c3er_434", _c = "_msgImages_1c3er_465", gc = "_msgImageThumb_1c3er_472", fc = "_inputBox_1c3er_480", yc = "_streamingIndicator_1c3er_521", vc = "_sessionCreateRow_1c3er_529", bc = "_sessionCreateInput_1c3er_540", Nc = "_sessionCreateConfirm_1c3er_555", kc = "_sessionCreateCancel_1c3er_574", Cc = "_sessionExpandBtn_1c3er_596", wc = "_reasoningBlock_1c3er_641", Sc = "_reasoningSummary_1c3er_649", Tc = "_reasoningContent_1c3er_674", xc = "_pickerWrap_1c3er_684", Ic = "_pickerChip_1c3er_689", Lc = "_pickerCaret_1c3er_711", Ac = "_pickerMenu_1c3er_716", Bc = "_pickerMenuItem_1c3er_734", Rc = "_pickerItemActive_1c3er_754", Dc = "_suggestionRow_1c3er_771", Pc = "_suggestionChip_1c3er_778", x = {
1468
- container: Ar,
1469
- sessionPanel: Br,
1470
- sessionHeader: Rr,
1471
- sessionHeaderActions: Dr,
1472
- sessionBtnSm: Pr,
1473
- sessionList: Mr,
1474
- sessionItem: Er,
1475
- sessionItemActive: $r,
1476
- sessionItemTitle: Or,
1477
- sessionRenameBtn: Hr,
1478
- sessionDeleteBtn: jr,
1479
- sessionEmpty: Gr,
1480
- sessionTabBar: Fr,
1481
- sessionTab: zr,
1482
- sessionTabActive: Ur,
1483
- sessionGroup: Wr,
1484
- sessionGroupHeader: qr,
1485
- sessionGroupArrow: Vr,
1486
- sessionGroupName: Kr,
1487
- sessionGroupCount: Jr,
1488
- sessionItemNested: Yr,
1489
- chatPanel: Qr,
1490
- scrollTopBtn: Xr,
1491
- scrollTopBtnVisible: Zr,
1492
- chatHeader: ec,
1493
- chatHeaderName: tc,
1494
- messageList: nc,
1495
- messageRow: ac,
1496
- messageRowUser: sc,
1497
- messageAvatar: lc,
1498
- messageBubble: ic,
1499
- messageBubbleUser: oc,
1500
- messageBubbleAssistant: rc,
1501
- chatEmpty: cc,
1502
- inputArea: dc,
1503
- modeBar: mc,
1504
- imagePreviewBar: uc,
1505
- imagePreviewItem: hc,
1506
- imagePreviewRemove: pc,
1507
- msgImages: _c,
1508
- msgImageThumb: gc,
1509
- inputBox: fc,
1510
- streamingIndicator: yc,
1511
- sessionCreateRow: vc,
1512
- sessionCreateInput: bc,
1513
- sessionCreateConfirm: Nc,
1514
- sessionCreateCancel: kc,
1515
- sessionExpandBtn: Cc,
1516
- reasoningBlock: wc,
1517
- reasoningSummary: Sc,
1518
- reasoningContent: Tc,
1519
- pickerWrap: xc,
1520
- pickerChip: Ic,
1521
- pickerCaret: Lc,
1522
- pickerMenu: Ac,
1523
- pickerMenuItem: Bc,
1524
- pickerItemActive: Rc,
1525
- suggestionRow: Dc,
1526
- suggestionChip: Pc
1467
+ const Br = "_container_1c3er_1", Rr = "_sessionPanel_1c3er_8", Dr = "_sessionHeader_1c3er_18", Pr = "_sessionHeaderActions_1c3er_29", Mr = "_sessionBtnSm_1c3er_34", Er = "_sessionList_1c3er_49", $r = "_sessionItem_1c3er_55", Or = "_sessionItemActive_1c3er_73", Hr = "_sessionItemTitle_1c3er_78", jr = "_sessionRenameBtn_1c3er_85", Gr = "_sessionDeleteBtn_1c3er_107", Fr = "_sessionEmpty_1c3er_129", zr = "_sessionTabBar_1c3er_143", Ur = "_sessionTab_1c3er_143", Wr = "_sessionTabActive_1c3er_169", qr = "_sessionGroup_1c3er_176", Vr = "_sessionGroupHeader_1c3er_180", Kr = "_sessionGroupArrow_1c3er_198", Jr = "_sessionGroupName_1c3er_206", Yr = "_sessionGroupCount_1c3er_213", Qr = "_sessionItemNested_1c3er_224", Xr = "_chatPanel_1c3er_232", Zr = "_scrollTopBtn_1c3er_243", ec = "_scrollTopBtnVisible_1c3er_264", tc = "_chatHeader_1c3er_285", nc = "_chatHeaderName_1c3er_298", ac = "_messageList_1c3er_305", sc = "_messageRow_1c3er_314", lc = "_messageRowUser_1c3er_320", ic = "_messageAvatar_1c3er_324", oc = "_messageBubble_1c3er_337", rc = "_messageBubbleUser_1c3er_347", cc = "_messageBubbleAssistant_1c3er_353", dc = "_chatEmpty_1c3er_361", mc = "_inputArea_1c3er_371", uc = "_modeBar_1c3er_379", hc = "_imagePreviewBar_1c3er_411", pc = "_imagePreviewItem_1c3er_418", _c = "_imagePreviewRemove_1c3er_434", gc = "_msgImages_1c3er_465", fc = "_msgImageThumb_1c3er_472", yc = "_inputBox_1c3er_480", vc = "_streamingIndicator_1c3er_521", bc = "_sessionCreateRow_1c3er_529", Nc = "_sessionCreateInput_1c3er_540", kc = "_sessionCreateConfirm_1c3er_555", Cc = "_sessionCreateCancel_1c3er_574", wc = "_sessionExpandBtn_1c3er_596", Sc = "_reasoningBlock_1c3er_641", Tc = "_reasoningSummary_1c3er_649", xc = "_reasoningContent_1c3er_674", Ic = "_pickerWrap_1c3er_684", Lc = "_pickerChip_1c3er_689", Ac = "_pickerCaret_1c3er_711", Bc = "_pickerMenu_1c3er_716", Rc = "_pickerMenuItem_1c3er_734", Dc = "_pickerItemActive_1c3er_754", Pc = "_suggestionRow_1c3er_771", Mc = "_suggestionChip_1c3er_778", x = {
1468
+ container: Br,
1469
+ sessionPanel: Rr,
1470
+ sessionHeader: Dr,
1471
+ sessionHeaderActions: Pr,
1472
+ sessionBtnSm: Mr,
1473
+ sessionList: Er,
1474
+ sessionItem: $r,
1475
+ sessionItemActive: Or,
1476
+ sessionItemTitle: Hr,
1477
+ sessionRenameBtn: jr,
1478
+ sessionDeleteBtn: Gr,
1479
+ sessionEmpty: Fr,
1480
+ sessionTabBar: zr,
1481
+ sessionTab: Ur,
1482
+ sessionTabActive: Wr,
1483
+ sessionGroup: qr,
1484
+ sessionGroupHeader: Vr,
1485
+ sessionGroupArrow: Kr,
1486
+ sessionGroupName: Jr,
1487
+ sessionGroupCount: Yr,
1488
+ sessionItemNested: Qr,
1489
+ chatPanel: Xr,
1490
+ scrollTopBtn: Zr,
1491
+ scrollTopBtnVisible: ec,
1492
+ chatHeader: tc,
1493
+ chatHeaderName: nc,
1494
+ messageList: ac,
1495
+ messageRow: sc,
1496
+ messageRowUser: lc,
1497
+ messageAvatar: ic,
1498
+ messageBubble: oc,
1499
+ messageBubbleUser: rc,
1500
+ messageBubbleAssistant: cc,
1501
+ chatEmpty: dc,
1502
+ inputArea: mc,
1503
+ modeBar: uc,
1504
+ imagePreviewBar: hc,
1505
+ imagePreviewItem: pc,
1506
+ imagePreviewRemove: _c,
1507
+ msgImages: gc,
1508
+ msgImageThumb: fc,
1509
+ inputBox: yc,
1510
+ streamingIndicator: vc,
1511
+ sessionCreateRow: bc,
1512
+ sessionCreateInput: Nc,
1513
+ sessionCreateConfirm: kc,
1514
+ sessionCreateCancel: Cc,
1515
+ sessionExpandBtn: wc,
1516
+ reasoningBlock: Sc,
1517
+ reasoningSummary: Tc,
1518
+ reasoningContent: xc,
1519
+ pickerWrap: Ic,
1520
+ pickerChip: Lc,
1521
+ pickerCaret: Ac,
1522
+ pickerMenu: Bc,
1523
+ pickerMenuItem: Rc,
1524
+ pickerItemActive: Dc,
1525
+ suggestionRow: Pc,
1526
+ suggestionChip: Mc
1527
1527
  }, Tn = [
1528
1528
  "#2F70F1",
1529
1529
  "#52c41a",
@@ -1542,8 +1542,8 @@ function Vt(t) {
1542
1542
  function Ft(t) {
1543
1543
  return t ? t.charAt(0).toUpperCase() : "?";
1544
1544
  }
1545
- function Mc({ content: t }) {
1546
- const s = al(t);
1545
+ function Ec({ content: t }) {
1546
+ const s = sl(t);
1547
1547
  return /* @__PURE__ */ e(fe, { children: s.map((a, i) => a.type === "reasoning" ? /* @__PURE__ */ n("details", { className: x.reasoningBlock, children: [
1548
1548
  /* @__PURE__ */ n("summary", { className: x.reasoningSummary, children: [
1549
1549
  /* @__PURE__ */ e(Ja, { style: { marginRight: 4 } }),
@@ -1560,7 +1560,7 @@ function Mc({ content: t }) {
1560
1560
  i
1561
1561
  ) : null) });
1562
1562
  }
1563
- function If({
1563
+ function Lf({
1564
1564
  agent: t,
1565
1565
  newSessionTrigger: s = 0,
1566
1566
  initialSessionId: a = null,
@@ -1703,7 +1703,7 @@ function If({
1703
1703
  } catch {
1704
1704
  }
1705
1705
  }, ae = async (p) => {
1706
- if (t && window.confirm("确定删除此会话吗?"))
1706
+ if (t && await nl({ content: "确定删除此会话吗?" }))
1707
1707
  try {
1708
1708
  await Ra(t.id, p, d), S((O) => O.filter((ee) => !Ze(ee.id, p))), Ze(L, p) && (H(null), B([]));
1709
1709
  } catch {
@@ -1816,7 +1816,7 @@ ${Te}` : Te;
1816
1816
  });
1817
1817
  },
1818
1818
  () => {
1819
- Z(!1), Ue.current = !1, r.desktopNotify && document.hidden && sl((t == null ? void 0 : t.displayName) || "智能伙伴", "回复已生成,点击查看"), r.suggestReplies && (void 0)(t.id, L, d).then((Te) => Fe(Array.isArray(Te) ? Te : [])).catch(() => {
1819
+ Z(!1), Ue.current = !1, r.desktopNotify && document.hidden && ll((t == null ? void 0 : t.displayName) || "智能伙伴", "回复已生成,点击查看"), r.suggestReplies && (void 0)(t.id, L, d).then((Te) => Fe(Array.isArray(Te) ? Te : [])).catch(() => {
1820
1820
  });
1821
1821
  },
1822
1822
  (Te) => {
@@ -1842,7 +1842,7 @@ ${Te}` : Te;
1842
1842
  );
1843
1843
  }, [M]);
1844
1844
  const ka = (p) => {
1845
- nl(p, r.sendKey) && !p.nativeEvent.isComposing && (p.preventDefault(), lt());
1845
+ al(p, r.sendKey) && !p.nativeEvent.isComposing && (p.preventDefault(), lt());
1846
1846
  }, Rt = g.filter((p) => !p.title.startsWith("[定时] ")), Ht = g.filter(
1847
1847
  (p) => p.title.startsWith("[定时] ")
1848
1848
  ), jt = {};
@@ -2416,7 +2416,7 @@ ${Te}` : Te;
2416
2416
  {
2417
2417
  className: `${x.messageBubble} ${p.role === "user" ? x.messageBubbleUser : x.messageBubbleAssistant}${p.role === "assistant" ? " markdown-body" : ""}`,
2418
2418
  children: [
2419
- p.role === "assistant" ? /* @__PURE__ */ e(Mc, { content: p.content || "" }) : p.content || "...",
2419
+ p.role === "assistant" ? /* @__PURE__ */ e(Ec, { content: p.content || "" }) : p.content || "...",
2420
2420
  p.imageUrls && p.imageUrls.length > 0 && /* @__PURE__ */ e("div", { className: x.msgImages, children: p.imageUrls.map((O, ee) => /* @__PURE__ */ e(
2421
2421
  "img",
2422
2422
  {
@@ -2597,64 +2597,64 @@ ${Te}` : Te;
2597
2597
  ] })
2598
2598
  ] });
2599
2599
  }
2600
- const Ec = "_page_snv35_9", $c = "_pageHeader_snv35_15", Oc = "_headerLeft_snv35_25", Hc = "_pageTitle_snv35_32", jc = "_headerMeta_snv35_40", Gc = "_headerDot_snv35_52", Fc = "_headerRight_snv35_58", zc = "_scenarioSelect_snv35_66", Uc = "_kpiGrid_snv35_72", Wc = "_kpiCard_snv35_80", qc = "_kpiCardClickable_snv35_90", Vc = "_kpiTop_snv35_107", Kc = "_kpiLabel_snv35_115", Jc = "_kpiIcon_snv35_122", Yc = "_chipBlue_snv35_133", Qc = "_chipCyan_snv35_138", Xc = "_chipGreen_snv35_143", Zc = "_chipAmber_snv35_148", ed = "_kpiValue_snv35_154", td = "_kpiSuffix_snv35_163", nd = "_rateTrack_snv35_171", ad = "_rateFill_snv35_180", sd = "_kpiFooter_snv35_188", ld = "_kpiDeltaUp_snv35_195", id = "_kpiDeltaDown_snv35_204", od = "_kpiDeltaFlat_snv35_213", rd = "_kpiDeltaLabel_snv35_221", cd = "_chartCard_snv35_229", dd = "_chartRow_snv35_238", md = "_chartCardNarrow_snv35_250", ud = "_chartCardWide_snv35_256", hd = "_chartHeader_snv35_262", pd = "_chartTitle_snv35_270", _d = "_chartBreadcrumb_snv35_277", gd = "_chartBreadcrumbLink_snv35_284", fd = "_chartBreadcrumbSep_snv35_300", yd = "_chartSub_snv35_306", vd = "_chartEmpty_snv35_312", Q = {
2601
- page: Ec,
2602
- pageHeader: $c,
2603
- headerLeft: Oc,
2604
- pageTitle: Hc,
2605
- headerMeta: jc,
2606
- headerDot: Gc,
2607
- headerRight: Fc,
2608
- scenarioSelect: zc,
2609
- kpiGrid: Uc,
2610
- kpiCard: Wc,
2611
- kpiCardClickable: qc,
2612
- kpiTop: Vc,
2613
- kpiLabel: Kc,
2614
- kpiIcon: Jc,
2615
- chipBlue: Yc,
2616
- chipCyan: Qc,
2617
- chipGreen: Xc,
2618
- chipAmber: Zc,
2619
- kpiValue: ed,
2620
- kpiSuffix: td,
2621
- rateTrack: nd,
2622
- rateFill: ad,
2623
- kpiFooter: sd,
2624
- kpiDeltaUp: ld,
2625
- kpiDeltaDown: id,
2626
- kpiDeltaFlat: od,
2627
- kpiDeltaLabel: rd,
2628
- chartCard: cd,
2629
- chartRow: dd,
2630
- chartCardNarrow: md,
2631
- chartCardWide: ud,
2632
- chartHeader: hd,
2633
- chartTitle: pd,
2634
- chartBreadcrumb: _d,
2635
- chartBreadcrumbLink: gd,
2636
- chartBreadcrumbSep: fd,
2637
- chartSub: yd,
2638
- chartEmpty: vd
2639
- }, bd = "_listHeader_1p45v_8", Nd = "_listTitle_1p45v_16", kd = "_listTitleIcon_1p45v_27", Cd = "_listSummary_1p45v_33", wd = "_listSummaryVal_1p45v_42", Sd = "_filterBar_1p45v_48", Td = "_searchInput_1p45v_60", xd = "_filterCount_1p45v_65", ct = {
2640
- listHeader: bd,
2641
- listTitle: Nd,
2642
- listTitleIcon: kd,
2643
- listSummary: Cd,
2644
- listSummaryVal: wd,
2645
- filterBar: Sd,
2646
- searchInput: Td,
2647
- filterCount: xd
2600
+ const $c = "_page_snv35_9", Oc = "_pageHeader_snv35_15", Hc = "_headerLeft_snv35_25", jc = "_pageTitle_snv35_32", Gc = "_headerMeta_snv35_40", Fc = "_headerDot_snv35_52", zc = "_headerRight_snv35_58", Uc = "_scenarioSelect_snv35_66", Wc = "_kpiGrid_snv35_72", qc = "_kpiCard_snv35_80", Vc = "_kpiCardClickable_snv35_90", Kc = "_kpiTop_snv35_107", Jc = "_kpiLabel_snv35_115", Yc = "_kpiIcon_snv35_122", Qc = "_chipBlue_snv35_133", Xc = "_chipCyan_snv35_138", Zc = "_chipGreen_snv35_143", ed = "_chipAmber_snv35_148", td = "_kpiValue_snv35_154", nd = "_kpiSuffix_snv35_163", ad = "_rateTrack_snv35_171", sd = "_rateFill_snv35_180", ld = "_kpiFooter_snv35_188", id = "_kpiDeltaUp_snv35_195", od = "_kpiDeltaDown_snv35_204", rd = "_kpiDeltaFlat_snv35_213", cd = "_kpiDeltaLabel_snv35_221", dd = "_chartCard_snv35_229", md = "_chartRow_snv35_238", ud = "_chartCardNarrow_snv35_250", hd = "_chartCardWide_snv35_256", pd = "_chartHeader_snv35_262", _d = "_chartTitle_snv35_270", gd = "_chartBreadcrumb_snv35_277", fd = "_chartBreadcrumbLink_snv35_284", yd = "_chartBreadcrumbSep_snv35_300", vd = "_chartSub_snv35_306", bd = "_chartEmpty_snv35_312", Q = {
2601
+ page: $c,
2602
+ pageHeader: Oc,
2603
+ headerLeft: Hc,
2604
+ pageTitle: jc,
2605
+ headerMeta: Gc,
2606
+ headerDot: Fc,
2607
+ headerRight: zc,
2608
+ scenarioSelect: Uc,
2609
+ kpiGrid: Wc,
2610
+ kpiCard: qc,
2611
+ kpiCardClickable: Vc,
2612
+ kpiTop: Kc,
2613
+ kpiLabel: Jc,
2614
+ kpiIcon: Yc,
2615
+ chipBlue: Qc,
2616
+ chipCyan: Xc,
2617
+ chipGreen: Zc,
2618
+ chipAmber: ed,
2619
+ kpiValue: td,
2620
+ kpiSuffix: nd,
2621
+ rateTrack: ad,
2622
+ rateFill: sd,
2623
+ kpiFooter: ld,
2624
+ kpiDeltaUp: id,
2625
+ kpiDeltaDown: od,
2626
+ kpiDeltaFlat: rd,
2627
+ kpiDeltaLabel: cd,
2628
+ chartCard: dd,
2629
+ chartRow: md,
2630
+ chartCardNarrow: ud,
2631
+ chartCardWide: hd,
2632
+ chartHeader: pd,
2633
+ chartTitle: _d,
2634
+ chartBreadcrumb: gd,
2635
+ chartBreadcrumbLink: fd,
2636
+ chartBreadcrumbSep: yd,
2637
+ chartSub: vd,
2638
+ chartEmpty: bd
2639
+ }, Nd = "_listHeader_1p45v_8", kd = "_listTitle_1p45v_16", Cd = "_listTitleIcon_1p45v_27", wd = "_listSummary_1p45v_33", Sd = "_listSummaryVal_1p45v_42", Td = "_filterBar_1p45v_48", xd = "_searchInput_1p45v_60", Id = "_filterCount_1p45v_65", ct = {
2640
+ listHeader: Nd,
2641
+ listTitle: kd,
2642
+ listTitleIcon: Cd,
2643
+ listSummary: wd,
2644
+ listSummaryVal: Sd,
2645
+ filterBar: Td,
2646
+ searchInput: xd,
2647
+ filterCount: Id
2648
2648
  };
2649
2649
  Wt.use([
2650
- ll,
2651
2650
  il,
2652
2651
  ol,
2653
2652
  rl,
2654
2653
  cl,
2655
2654
  dl,
2656
2655
  ml,
2657
- ul
2656
+ ul,
2657
+ hl
2658
2658
  ]);
2659
2659
  function Kt({
2660
2660
  option: t,
@@ -2688,18 +2688,18 @@ const ma = {
2688
2688
  ACTIVE: "活跃",
2689
2689
  CLOSED: "关单",
2690
2690
  ARCHIVED: "归档"
2691
- }, Id = {
2691
+ }, Ld = {
2692
2692
  ACTIVE: "green",
2693
2693
  CLOSED: "red",
2694
2694
  ARCHIVED: "default"
2695
- }, Ld = {
2695
+ }, Ad = {
2696
2696
  ACTIVE: "#1973cc",
2697
2697
  // 活跃 → 品牌蓝(进行中语义)
2698
2698
  CLOSED: "#52c41a",
2699
2699
  // 关单 → 绿(完成语义)
2700
2700
  ARCHIVED: "#bfbfbf"
2701
2701
  // 归档 → 灰
2702
- }, Ad = "#bfbfbf", Jt = {
2702
+ }, Bd = "#bfbfbf", Jt = {
2703
2703
  ai_effective: "#13c2c2",
2704
2704
  ai_ineffective: "#ff7875",
2705
2705
  unlabeled: "#bfbfbf"
@@ -2711,7 +2711,7 @@ function In(t) {
2711
2711
  return String(t).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
2712
2712
  }
2713
2713
  const Yt = "__no_scenario__", ua = "ft_personal_stats_scenario_codes";
2714
- function Bd() {
2714
+ function Rd() {
2715
2715
  try {
2716
2716
  const t = localStorage.getItem(ua);
2717
2717
  if (!t) return [];
@@ -2727,7 +2727,7 @@ function Ln(t) {
2727
2727
  } catch {
2728
2728
  }
2729
2729
  }
2730
- const Rd = [
2730
+ const Dd = [
2731
2731
  {
2732
2732
  key: "ppt-creation",
2733
2733
  icon: /* @__PURE__ */ e(Xa, {}),
@@ -2807,7 +2807,7 @@ const Rd = [
2807
2807
  }
2808
2808
  }
2809
2809
  ];
2810
- function Dd({
2810
+ function Pd({
2811
2811
  scenario: t,
2812
2812
  onClose: s,
2813
2813
  onCreated: a
@@ -2926,7 +2926,7 @@ function An({
2926
2926
  gridTemplateColumns: "repeat(auto-fill, minmax(340px, 1fr))",
2927
2927
  gap: 16
2928
2928
  },
2929
- children: Rd.map((i) => /* @__PURE__ */ n(
2929
+ children: Dd.map((i) => /* @__PURE__ */ n(
2930
2930
  Cs,
2931
2931
  {
2932
2932
  hoverable: !0,
@@ -2959,7 +2959,7 @@ function An({
2959
2959
  }
2960
2960
  ),
2961
2961
  s && /* @__PURE__ */ e(
2962
- Dd,
2962
+ Pd,
2963
2963
  {
2964
2964
  scenario: s,
2965
2965
  onClose: () => a(null),
@@ -2991,7 +2991,7 @@ function Bn({
2991
2991
  }, []), V = E(async () => {
2992
2992
  d(!0);
2993
2993
  try {
2994
- const _ = await hl(
2994
+ const _ = await pl(
2995
2995
  {
2996
2996
  scenario_code: L || void 0,
2997
2997
  status: I || void 0,
@@ -3180,7 +3180,7 @@ function Bn({
3180
3180
  render: (_) => /* @__PURE__ */ e(
3181
3181
  K,
3182
3182
  {
3183
- color: Id[_] || "default",
3183
+ color: Ld[_] || "default",
3184
3184
  style: { borderRadius: 4, minWidth: 48, textAlign: "center" },
3185
3185
  children: ma[_] || _
3186
3186
  }
@@ -3243,7 +3243,7 @@ function Rn({
3243
3243
  onNavigateToProjects: a
3244
3244
  }) {
3245
3245
  const [i, l] = o("30d"), [c, h] = o(null), [u, d] = o(
3246
- () => Bd()
3246
+ () => Rd()
3247
3247
  ), [m, r] = o("root"), g = be(() => s != null && s.id ? t : [], [t, s]), S = be(() => {
3248
3248
  const y = /* @__PURE__ */ new Map();
3249
3249
  for (const k of g) {
@@ -3511,7 +3511,7 @@ function Rn({
3511
3511
  })) : C.map((F) => ({
3512
3512
  name: F.label,
3513
3513
  value: F.count,
3514
- color: Ld[F.status] || Ad
3514
+ color: Ad[F.status] || Bd
3515
3515
  })), W = y ? f.closedTotal : j.total;
3516
3516
  return {
3517
3517
  tooltip: {
@@ -3865,7 +3865,7 @@ function Rn({
3865
3865
  ] })
3866
3866
  ] });
3867
3867
  }
3868
- function Lf({
3868
+ function Af({
3869
3869
  activeTab: t,
3870
3870
  onActiveTabChange: s,
3871
3871
  onOpenProject: a,
@@ -3967,13 +3967,13 @@ function Lf({
3967
3967
  }
3968
3968
  );
3969
3969
  }
3970
- const Pd = "_readOnlyCodeView_ioz80_1", Md = "_header_ioz80_10", Ed = "_title_ioz80_20", $d = "_copyButton_ioz80_25", Od = "_pre_ioz80_39", Mt = {
3971
- readOnlyCodeView: Pd,
3972
- header: Md,
3973
- title: Ed,
3974
- copyButton: $d,
3975
- pre: Od
3976
- }, Hd = ({
3970
+ const Md = "_readOnlyCodeView_ioz80_1", Ed = "_header_ioz80_10", $d = "_title_ioz80_20", Od = "_copyButton_ioz80_25", Hd = "_pre_ioz80_39", Mt = {
3971
+ readOnlyCodeView: Md,
3972
+ header: Ed,
3973
+ title: $d,
3974
+ copyButton: Od,
3975
+ pre: Hd
3976
+ }, jd = ({
3977
3977
  code: t,
3978
3978
  value: s,
3979
3979
  language: a,
@@ -4014,57 +4014,57 @@ const Pd = "_readOnlyCodeView_ioz80_1", Md = "_header_ioz80_10", Ed = "_title_io
4014
4014
  ]
4015
4015
  }
4016
4016
  );
4017
- }, jd = "_root_teqr2_6", Gd = "_toolsLayout_teqr2_24", Fd = "_toolSidebar_teqr2_33", zd = "_toolGroup_teqr2_42", Ud = "_toolGroupTitle_teqr2_46", Wd = "_toolItem_teqr2_56", qd = "_toolItemActive_teqr2_71", Vd = "_toolIcon_teqr2_76", Kd = "_toolLabel_teqr2_80", Jd = "_toolInfo_teqr2_102", Yd = "_toolDesc_teqr2_113", Qd = "_toolPanel_teqr2_122", Xd = "_websiteCard_teqr2_131", Zd = "_websiteLink_teqr2_140", em = "_outputArea_teqr2_145", tm = "_panelLabel_teqr2_150", nm = "_diffBox_teqr2_157", am = "_jwtPre_teqr2_305", sm = "_jwtPayload_teqr2_318", lm = "_jwtRow_teqr2_324", im = "_jwtKey_teqr2_336", om = "_jwtVal_teqr2_343", rm = "_hashResult_teqr2_351", cm = "_hashCode_teqr2_361", dm = "_caseRow_teqr2_370", mm = "_parsedBox_teqr2_381", um = "_cronDesc_teqr2_393", hm = "_cronNext_teqr2_404", pm = "_cronExample_teqr2_414", _m = "_colorPicker_teqr2_426", gm = "_colorPreview_teqr2_436", fm = "_colorRow_teqr2_443", ym = "_httpHeaderRow_teqr2_454", vm = "_httpResp_teqr2_461", bm = "_httpRespMeta_teqr2_467", Nm = "_scriptConsole_teqr2_498", km = "_scriptConsoleHeader_teqr2_508", Cm = "_scriptConsoleBody_teqr2_521", wm = "_scriptEmpty_teqr2_528", Sm = "_scriptLine_teqr2_536", Tm = "_scriptTime_teqr2_546", xm = "_scriptLevelBadge_teqr2_553", Im = "_scriptContent_teqr2_560", Lm = "_scriptLog_teqr2_570", Am = "_scriptInfo_teqr2_574", Bm = "_scriptDebug_teqr2_578", Rm = "_scriptWarn_teqr2_582", Dm = "_scriptError_teqr2_587", Pm = "_scriptReturn_teqr2_592", R = {
4018
- root: jd,
4019
- toolsLayout: Gd,
4020
- toolSidebar: Fd,
4021
- toolGroup: zd,
4022
- toolGroupTitle: Ud,
4023
- toolItem: Wd,
4024
- toolItemActive: qd,
4025
- toolIcon: Vd,
4026
- toolLabel: Kd,
4027
- toolInfo: Jd,
4028
- toolDesc: Yd,
4029
- toolPanel: Qd,
4030
- websiteCard: Xd,
4031
- websiteLink: Zd,
4032
- outputArea: em,
4033
- panelLabel: tm,
4034
- diffBox: nm,
4035
- jwtPre: am,
4036
- jwtPayload: sm,
4037
- jwtRow: lm,
4038
- jwtKey: im,
4039
- jwtVal: om,
4040
- hashResult: rm,
4041
- hashCode: cm,
4042
- caseRow: dm,
4043
- parsedBox: mm,
4044
- cronDesc: um,
4045
- cronNext: hm,
4046
- cronExample: pm,
4047
- colorPicker: _m,
4048
- colorPreview: gm,
4049
- colorRow: fm,
4050
- httpHeaderRow: ym,
4051
- httpResp: vm,
4052
- httpRespMeta: bm,
4053
- scriptConsole: Nm,
4054
- scriptConsoleHeader: km,
4055
- scriptConsoleBody: Cm,
4056
- scriptEmpty: wm,
4057
- scriptLine: Sm,
4058
- scriptTime: Tm,
4059
- scriptLevelBadge: xm,
4060
- scriptContent: Im,
4061
- scriptLog: Lm,
4062
- scriptInfo: Am,
4063
- scriptDebug: Bm,
4064
- scriptWarn: Rm,
4065
- scriptError: Dm,
4066
- scriptReturn: Pm
4067
- }, { TextArea: ye } = _e, { Text: ot, Title: Mm } = xs, ha = [
4017
+ }, Gd = "_root_teqr2_6", Fd = "_toolsLayout_teqr2_24", zd = "_toolSidebar_teqr2_33", Ud = "_toolGroup_teqr2_42", Wd = "_toolGroupTitle_teqr2_46", qd = "_toolItem_teqr2_56", Vd = "_toolItemActive_teqr2_71", Kd = "_toolIcon_teqr2_76", Jd = "_toolLabel_teqr2_80", Yd = "_toolInfo_teqr2_102", Qd = "_toolDesc_teqr2_113", Xd = "_toolPanel_teqr2_122", Zd = "_websiteCard_teqr2_131", em = "_websiteLink_teqr2_140", tm = "_outputArea_teqr2_145", nm = "_panelLabel_teqr2_150", am = "_diffBox_teqr2_157", sm = "_jwtPre_teqr2_305", lm = "_jwtPayload_teqr2_318", im = "_jwtRow_teqr2_324", om = "_jwtKey_teqr2_336", rm = "_jwtVal_teqr2_343", cm = "_hashResult_teqr2_351", dm = "_hashCode_teqr2_361", mm = "_caseRow_teqr2_370", um = "_parsedBox_teqr2_381", hm = "_cronDesc_teqr2_393", pm = "_cronNext_teqr2_404", _m = "_cronExample_teqr2_414", gm = "_colorPicker_teqr2_426", fm = "_colorPreview_teqr2_436", ym = "_colorRow_teqr2_443", vm = "_httpHeaderRow_teqr2_454", bm = "_httpResp_teqr2_461", Nm = "_httpRespMeta_teqr2_467", km = "_scriptConsole_teqr2_498", Cm = "_scriptConsoleHeader_teqr2_508", wm = "_scriptConsoleBody_teqr2_521", Sm = "_scriptEmpty_teqr2_528", Tm = "_scriptLine_teqr2_536", xm = "_scriptTime_teqr2_546", Im = "_scriptLevelBadge_teqr2_553", Lm = "_scriptContent_teqr2_560", Am = "_scriptLog_teqr2_570", Bm = "_scriptInfo_teqr2_574", Rm = "_scriptDebug_teqr2_578", Dm = "_scriptWarn_teqr2_582", Pm = "_scriptError_teqr2_587", Mm = "_scriptReturn_teqr2_592", R = {
4018
+ root: Gd,
4019
+ toolsLayout: Fd,
4020
+ toolSidebar: zd,
4021
+ toolGroup: Ud,
4022
+ toolGroupTitle: Wd,
4023
+ toolItem: qd,
4024
+ toolItemActive: Vd,
4025
+ toolIcon: Kd,
4026
+ toolLabel: Jd,
4027
+ toolInfo: Yd,
4028
+ toolDesc: Qd,
4029
+ toolPanel: Xd,
4030
+ websiteCard: Zd,
4031
+ websiteLink: em,
4032
+ outputArea: tm,
4033
+ panelLabel: nm,
4034
+ diffBox: am,
4035
+ jwtPre: sm,
4036
+ jwtPayload: lm,
4037
+ jwtRow: im,
4038
+ jwtKey: om,
4039
+ jwtVal: rm,
4040
+ hashResult: cm,
4041
+ hashCode: dm,
4042
+ caseRow: mm,
4043
+ parsedBox: um,
4044
+ cronDesc: hm,
4045
+ cronNext: pm,
4046
+ cronExample: _m,
4047
+ colorPicker: gm,
4048
+ colorPreview: fm,
4049
+ colorRow: ym,
4050
+ httpHeaderRow: vm,
4051
+ httpResp: bm,
4052
+ httpRespMeta: Nm,
4053
+ scriptConsole: km,
4054
+ scriptConsoleHeader: Cm,
4055
+ scriptConsoleBody: wm,
4056
+ scriptEmpty: Sm,
4057
+ scriptLine: Tm,
4058
+ scriptTime: xm,
4059
+ scriptLevelBadge: Im,
4060
+ scriptContent: Lm,
4061
+ scriptLog: Am,
4062
+ scriptInfo: Bm,
4063
+ scriptDebug: Rm,
4064
+ scriptWarn: Dm,
4065
+ scriptError: Pm,
4066
+ scriptReturn: Mm
4067
+ }, { TextArea: ye } = _e, { Text: ot, Title: Em } = xs, ha = [
4068
4068
  {
4069
4069
  key: "formatter",
4070
4070
  label: "格式化",
@@ -4373,7 +4373,7 @@ function _a() {
4373
4373
  )
4374
4374
  ] });
4375
4375
  }
4376
- function Em() {
4376
+ function $m() {
4377
4377
  const [t, s] = o(""), [a, i] = o(""), [l, c] = o(""), h = E(() => {
4378
4378
  try {
4379
4379
  const m = new DOMParser().parseFromString(t, "application/xml"), r = m.querySelector("parsererror");
@@ -4430,8 +4430,8 @@ function Em() {
4430
4430
  }
4431
4431
  );
4432
4432
  }
4433
- function $m(t) {
4434
- return fl(t, {
4433
+ function Om(t) {
4434
+ return yl(t, {
4435
4435
  language: "mysql",
4436
4436
  // @ts-ignore
4437
4437
  tabWidth: 2,
@@ -4440,10 +4440,10 @@ function $m(t) {
4440
4440
  linesBetweenQueries: 2
4441
4441
  });
4442
4442
  }
4443
- function Om() {
4443
+ function Hm() {
4444
4444
  const [t, s] = o(""), [a, i] = o(""), [l, c] = o(""), h = E(() => {
4445
4445
  try {
4446
- i($m(t)), c("");
4446
+ i(Om(t)), c("");
4447
4447
  } catch (d) {
4448
4448
  i(""), c(d instanceof Error ? d.message : "SQL 格式化失败");
4449
4449
  }
@@ -4468,7 +4468,7 @@ function Om() {
4468
4468
  }
4469
4469
  ),
4470
4470
  output: /* @__PURE__ */ e(
4471
- Hd,
4471
+ jd,
4472
4472
  {
4473
4473
  value: a,
4474
4474
  language: "sql",
@@ -4479,7 +4479,7 @@ function Om() {
4479
4479
  }
4480
4480
  );
4481
4481
  }
4482
- function Hm() {
4482
+ function jm() {
4483
4483
  const [t, s] = o(""), [a, i] = o(""), l = E(() => {
4484
4484
  let h = 0;
4485
4485
  const u = t.replace(/>\s*</g, `>
@@ -4527,7 +4527,7 @@ function Hm() {
4527
4527
  }
4528
4528
  );
4529
4529
  }
4530
- function jm() {
4530
+ function Gm() {
4531
4531
  const [t, s] = o(""), [a, i] = o(""), [l, c] = o(""), h = De(null), u = E(() => {
4532
4532
  try {
4533
4533
  i(btoa(unescape(encodeURIComponent(t)))), c("");
@@ -4612,7 +4612,7 @@ function jm() {
4612
4612
  ) })
4613
4613
  ] });
4614
4614
  }
4615
- function Gm() {
4615
+ function Fm() {
4616
4616
  const [t, s] = o(""), [a, i] = o(""), [l, c] = o(null), h = E(() => {
4617
4617
  i(encodeURIComponent(t)), c(null);
4618
4618
  }, [t]), u = E(() => {
@@ -4678,7 +4678,7 @@ function Gm() {
4678
4678
  ] }, m)) })
4679
4679
  ] });
4680
4680
  }
4681
- function Fm() {
4681
+ function zm() {
4682
4682
  const [t, s] = o(""), [a, i] = o(""), l = (h) => h.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;"), c = (h) => {
4683
4683
  const u = document.createElement("textarea");
4684
4684
  return u.innerHTML = h, u.value;
@@ -4712,7 +4712,7 @@ function Fm() {
4712
4712
  }
4713
4713
  );
4714
4714
  }
4715
- function zm() {
4715
+ function Um() {
4716
4716
  const [t, s] = o(""), a = be(() => {
4717
4717
  if (!t.trim()) return null;
4718
4718
  const c = t.split(".");
@@ -4792,18 +4792,18 @@ function zm() {
4792
4792
  ] })
4793
4793
  ] });
4794
4794
  }
4795
- async function Um(t, s) {
4795
+ async function Wm(t, s) {
4796
4796
  if (t === "MD5")
4797
4797
  return (await import("./spark-md5-Dld54a-T.js").then((c) => c.s)).default.hash(s);
4798
4798
  const a = new TextEncoder(), i = await crypto.subtle.digest(t, a.encode(s));
4799
4799
  return Array.from(new Uint8Array(i)).map((l) => l.toString(16).padStart(2, "0")).join("");
4800
4800
  }
4801
- function Wm() {
4801
+ function qm() {
4802
4802
  const [t, s] = o(""), [a, i] = o("SHA-256"), [l, c] = o(""), [h, u] = o(!1), d = E(async () => {
4803
4803
  if (t) {
4804
4804
  u(!0);
4805
4805
  try {
4806
- c(await Um(a, t));
4806
+ c(await Wm(a, t));
4807
4807
  } catch {
4808
4808
  se.error("计算失败");
4809
4809
  } finally {
@@ -4842,7 +4842,7 @@ function Wm() {
4842
4842
  ] })
4843
4843
  ] });
4844
4844
  }
4845
- async function qm(t, s, a) {
4845
+ async function Vm(t, s, a) {
4846
4846
  const i = new TextEncoder(), l = await crypto.subtle.importKey(
4847
4847
  "raw",
4848
4848
  i.encode(s),
@@ -4852,7 +4852,7 @@ async function qm(t, s, a) {
4852
4852
  ), c = await crypto.subtle.sign("HMAC", l, i.encode(a));
4853
4853
  return Array.from(new Uint8Array(c)).map((h) => h.toString(16).padStart(2, "0")).join("");
4854
4854
  }
4855
- function Vm() {
4855
+ function Km() {
4856
4856
  const [t, s] = o(""), [a, i] = o(""), [l, c] = o("SHA-256"), [h, u] = o(""), [d, m] = o(!1), r = E(async () => {
4857
4857
  if (!t || !a) {
4858
4858
  se.warning("消息和密钥不能为空");
@@ -4860,7 +4860,7 @@ function Vm() {
4860
4860
  }
4861
4861
  m(!0);
4862
4862
  try {
4863
- u(await qm(l, a, t));
4863
+ u(await Vm(l, a, t));
4864
4864
  } catch {
4865
4865
  se.error("计算失败");
4866
4866
  } finally {
@@ -4919,9 +4919,9 @@ function Vm() {
4919
4919
  ] })
4920
4920
  ] });
4921
4921
  }
4922
- function Km(t, s) {
4922
+ function Jm(t, s) {
4923
4923
  if (!t && !s) return { add: 0, remove: 0 };
4924
- const a = pl(t, s);
4924
+ const a = _l(t, s);
4925
4925
  let i = 0, l = 0;
4926
4926
  for (const c of a) {
4927
4927
  const h = c.value.split(`
@@ -4930,7 +4930,7 @@ function Km(t, s) {
4930
4930
  }
4931
4931
  return { add: i, remove: l };
4932
4932
  }
4933
- function Jm() {
4933
+ function Ym() {
4934
4934
  const [t, s] = o(""), [a, i] = o(""), [l, c] = o(!0), [h, u] = o({ add: 0, remove: 0 }), d = De(null);
4935
4935
  return te(() => {
4936
4936
  if (!t && !a) {
@@ -4938,7 +4938,7 @@ function Jm() {
4938
4938
  return;
4939
4939
  }
4940
4940
  return d.current && clearTimeout(d.current), d.current = setTimeout(() => {
4941
- u(Km(t, a));
4941
+ u(Jm(t, a));
4942
4942
  }, 300), () => {
4943
4943
  d.current && clearTimeout(d.current);
4944
4944
  };
@@ -4998,13 +4998,13 @@ function Jm() {
4998
4998
  ] })
4999
4999
  ] }) }) }),
5000
5000
  (t || a) && /* @__PURE__ */ e("div", { className: R.diffBox, children: /* @__PURE__ */ e(
5001
- _l,
5001
+ gl,
5002
5002
  {
5003
5003
  oldValue: t,
5004
5004
  newValue: a,
5005
5005
  splitView: l,
5006
5006
  showDiffOnly: !1,
5007
- compareMethod: gl.LINES,
5007
+ compareMethod: fl.LINES,
5008
5008
  hideLineNumbers: !1,
5009
5009
  extraLinesSurroundingDiff: 3,
5010
5010
  styles: {
@@ -5029,27 +5029,27 @@ function Jm() {
5029
5029
  function ga(t) {
5030
5030
  return t.replace(/[-_\s]+(.)/g, (s, a) => a.toUpperCase()).replace(/^./, (s) => s.toLowerCase());
5031
5031
  }
5032
- function Ym(t) {
5032
+ function Qm(t) {
5033
5033
  const s = ga(t);
5034
5034
  return s.charAt(0).toUpperCase() + s.slice(1);
5035
5035
  }
5036
5036
  function nn(t) {
5037
5037
  return t.replace(/([A-Z])/g, "_$1").replace(/[-\s]+/g, "_").replace(/^_/, "").toLowerCase();
5038
5038
  }
5039
- function Qm(t) {
5039
+ function Xm(t) {
5040
5040
  return nn(t).replace(/_/g, "-");
5041
5041
  }
5042
- function Xm(t) {
5042
+ function Zm(t) {
5043
5043
  return t.replace(/[-_]/g, " ").replace(/\b\w/g, (s) => s.toUpperCase());
5044
5044
  }
5045
- function Zm() {
5045
+ function eu() {
5046
5046
  const [t, s] = o(""), a = be(
5047
5047
  () => [
5048
5048
  { label: "camelCase", value: ga(t) },
5049
- { label: "PascalCase", value: Ym(t) },
5049
+ { label: "PascalCase", value: Qm(t) },
5050
5050
  { label: "snake_case", value: nn(t) },
5051
- { label: "kebab-case", value: Qm(t) },
5052
- { label: "Title Case", value: Xm(t) },
5051
+ { label: "kebab-case", value: Xm(t) },
5052
+ { label: "Title Case", value: Zm(t) },
5053
5053
  { label: "UPPER_CASE", value: nn(t).toUpperCase() },
5054
5054
  { label: "lower case", value: t.toLowerCase() },
5055
5055
  { label: "UPPER CASE", value: t.toUpperCase() }
@@ -5085,7 +5085,7 @@ function Zm() {
5085
5085
  )
5086
5086
  ] });
5087
5087
  }
5088
- function eu() {
5088
+ function tu() {
5089
5089
  const [t, s] = o(""), a = be(() => {
5090
5090
  const i = t.length, l = t ? t.split(`
5091
5091
  `).length : 0, c = t.trim() ? t.trim().split(/\s+/).length : 0, h = (t.match(/[\u4e00-\u9fa5]/g) || []).length, u = (t.match(/[a-zA-Z]/g) || []).length, d = (t.match(/[0-9]/g) || []).length, m = t.replace(/\s/g, "").length;
@@ -5121,7 +5121,7 @@ function eu() {
5121
5121
  ) }, i.title)) })
5122
5122
  ] });
5123
5123
  }
5124
- function tu() {
5124
+ function nu() {
5125
5125
  const [t, s] = o(""), [a, i] = o("g"), [l, c] = o(""), [h, u] = o([]), [d, m] = o(""), r = E(() => {
5126
5126
  try {
5127
5127
  const g = [], S = new RegExp(t, a);
@@ -5199,7 +5199,7 @@ function tu() {
5199
5199
  ] }) : l && t ? /* @__PURE__ */ e(ot, { type: "secondary", children: "无匹配" }) : null
5200
5200
  ] });
5201
5201
  }
5202
- function nu() {
5202
+ function au() {
5203
5203
  const [t, s] = o([]), [a, i] = o(1), [l, c] = o(16), [h, u] = o([]), d = E(() => {
5204
5204
  const r = [];
5205
5205
  for (let g = 0; g < Math.max(1, Math.min(a, 50)); g++)
@@ -5298,7 +5298,7 @@ function nu() {
5298
5298
  ] })
5299
5299
  ] });
5300
5300
  }
5301
- function au() {
5301
+ function su() {
5302
5302
  const [t, s] = o(String(Math.floor(Date.now() / 1e3))), [a, i] = o((/* @__PURE__ */ new Date()).toISOString().slice(0, 19)), [l, c] = o("local"), h = E(() => {
5303
5303
  const m = Number(t);
5304
5304
  if (!Number.isFinite(m)) {
@@ -5385,12 +5385,12 @@ function au() {
5385
5385
  })() })
5386
5386
  ] });
5387
5387
  }
5388
- function su() {
5388
+ function lu() {
5389
5389
  const [t, s] = o("0 9 * * 1-5"), [a, i] = o(
5390
5390
  null
5391
5391
  ), [l, c] = o(""), h = E(async () => {
5392
5392
  try {
5393
- const { CronExpressionParser: d } = await import("./index-nj-cjKsf.js").then((q) => q.i), m = d.parse(t, {
5393
+ const { CronExpressionParser: d } = await import("./index-BohoJQPr.js").then((q) => q.i), m = d.parse(t, {
5394
5394
  tz: "Asia/Shanghai"
5395
5395
  }), r = [];
5396
5396
  for (let q = 0; q < 5; q++)
@@ -5454,11 +5454,11 @@ function su() {
5454
5454
  ] })
5455
5455
  ] });
5456
5456
  }
5457
- function lu(t) {
5457
+ function iu(t) {
5458
5458
  const s = t.replace("#", "").match(/^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i);
5459
5459
  return s ? [parseInt(s[1], 16), parseInt(s[2], 16), parseInt(s[3], 16)] : null;
5460
5460
  }
5461
- function iu(t, s, a) {
5461
+ function ou(t, s, a) {
5462
5462
  t /= 255, s /= 255, a /= 255;
5463
5463
  const i = Math.max(t, s, a), l = Math.min(t, s, a);
5464
5464
  let c = 0, h = 0;
@@ -5479,8 +5479,8 @@ function iu(t, s, a) {
5479
5479
  }
5480
5480
  return [Math.round(c * 360), Math.round(h * 100), Math.round(u * 100)];
5481
5481
  }
5482
- function ou() {
5483
- const [t, s] = o("#4285f4"), [a, i] = o("#4285f4"), l = lu(t), c = l ? iu(...l) : null, h = (u) => {
5482
+ function ru() {
5483
+ const [t, s] = o("#4285f4"), [a, i] = o("#4285f4"), l = iu(t), c = l ? ou(...l) : null, h = (u) => {
5484
5484
  s(u), /^#[0-9a-fA-F]{6}$/.test(u) && i(u);
5485
5485
  };
5486
5486
  return /* @__PURE__ */ n("div", { children: [
@@ -5547,7 +5547,7 @@ function ou() {
5547
5547
  ] })
5548
5548
  ] });
5549
5549
  }
5550
- function ru() {
5550
+ function cu() {
5551
5551
  const [t, s] = o(""), [a, i] = o(""), l = De(null), c = E(async () => {
5552
5552
  if (!t.trim()) {
5553
5553
  se.warning("请输入内容");
@@ -5613,7 +5613,7 @@ function ru() {
5613
5613
  ] })
5614
5614
  ] });
5615
5615
  }
5616
- function cu(t) {
5616
+ function du(t) {
5617
5617
  var h, u, d;
5618
5618
  const s = t.replace(/\\\n/g, " ").replace(/\s+/g, " ").trim().match(/(?:[^\s"']+|"[^"]*"|'[^']*')+/g) ?? [];
5619
5619
  let a = "GET", i = "";
@@ -5635,12 +5635,12 @@ function cu(t) {
5635
5635
  }
5636
5636
  return { method: a, url: i, headers: l, body: c };
5637
5637
  }
5638
- function du(t, s, a, i) {
5638
+ function mu(t, s, a, i) {
5639
5639
  const l = [`curl -X ${t}`];
5640
5640
  return a.filter((c) => c.enabled && c.key).forEach((c) => l.push(` -H '${c.key}: ${c.value}'`)), i && l.push(` -d '${i.replace(/'/g, "'\\''")}'`), l.push(` '${s}'`), l.join(` \\
5641
5641
  `);
5642
5642
  }
5643
- const mu = [
5643
+ const uu = [
5644
5644
  "GET",
5645
5645
  "POST",
5646
5646
  "PUT",
@@ -5649,11 +5649,11 @@ const mu = [
5649
5649
  "HEAD",
5650
5650
  "OPTIONS"
5651
5651
  ];
5652
- function uu() {
5652
+ function hu() {
5653
5653
  const [t, s] = o("GET"), [a, i] = o(""), [l, c] = o([
5654
5654
  { key: "Content-Type", value: "application/json", enabled: !0 }
5655
5655
  ]), [h, u] = o(""), [d, m] = o(""), [r, g] = o(!1), [S, L] = o(null), [H, I] = o(""), [B, z] = o(""), [J, U] = o(null), [Z, q] = o("body"), [j, X] = o(!1), C = E(() => {
5656
- const $ = cu(d);
5656
+ const $ = du(d);
5657
5657
  s($.method), i($.url), c(
5658
5658
  $.headers.length ? $.headers : [{ key: "Content-Type", value: "application/json", enabled: !0 }]
5659
5659
  ), u($.body), X(!1), m(""), se.success("导入成功");
@@ -5662,7 +5662,7 @@ function uu() {
5662
5662
  se.warning("请先填写 URL");
5663
5663
  return;
5664
5664
  }
5665
- pa(du(t, a, l, h));
5665
+ pa(mu(t, a, l, h));
5666
5666
  }, [t, a, l, h]), G = E(async () => {
5667
5667
  if (!a.trim()) {
5668
5668
  se.warning("请先填写 URL");
@@ -5702,7 +5702,7 @@ function uu() {
5702
5702
  value: t,
5703
5703
  onChange: s,
5704
5704
  style: { width: 120 },
5705
- options: mu.map(($) => ({ value: $, label: $ }))
5705
+ options: uu.map(($) => ({ value: $, label: $ }))
5706
5706
  }
5707
5707
  ),
5708
5708
  /* @__PURE__ */ e(
@@ -5868,7 +5868,7 @@ function Pn(t) {
5868
5868
  }
5869
5869
  return String(t);
5870
5870
  }
5871
- const hu = [
5871
+ const pu = [
5872
5872
  {
5873
5873
  label: "整数排列",
5874
5874
  code: `// 生成并打印小于 30 的质数
@@ -5908,7 +5908,7 @@ const batch = Array.from({length: 5}, uuid);
5908
5908
  batch.forEach((id, i) => console.log(i + 1, id));`
5909
5909
  }
5910
5910
  ];
5911
- function pu() {
5911
+ function _u() {
5912
5912
  const [t, s] = o(
5913
5913
  `// 在浏览器内执行 JavaScript,支持 async/await
5914
5914
  console.log("Hello, World!");
@@ -5976,7 +5976,7 @@ ${t}
5976
5976
  return /* @__PURE__ */ n("div", { style: { display: "flex", flexDirection: "column", gap: 12 }, children: [
5977
5977
  /* @__PURE__ */ n("div", { children: [
5978
5978
  /* @__PURE__ */ e("div", { className: R.panelLabel, children: "快速预设" }),
5979
- /* @__PURE__ */ e(Ce, { wrap: !0, children: hu.map((r) => /* @__PURE__ */ e(P, { size: "small", onClick: () => s(r.code), children: r.label }, r.label)) })
5979
+ /* @__PURE__ */ e(Ce, { wrap: !0, children: pu.map((r) => /* @__PURE__ */ e(P, { size: "small", onClick: () => s(r.code), children: r.label }, r.label)) })
5980
5980
  ] }),
5981
5981
  /* @__PURE__ */ n("div", { children: [
5982
5982
  /* @__PURE__ */ n(
@@ -6062,28 +6062,28 @@ ${t}
6062
6062
  ] })
6063
6063
  ] });
6064
6064
  }
6065
- const _u = {
6065
+ const gu = {
6066
6066
  json: _a,
6067
- xml: Em,
6068
- sql: Om,
6069
- "html-fmt": Hm,
6070
- base64: jm,
6071
- url: Gm,
6072
- "html-entity": Fm,
6073
- jwt: zm,
6074
- hash: Wm,
6075
- hmac: Vm,
6076
- diff: Jm,
6077
- case: Zm,
6078
- count: eu,
6079
- regex: tu,
6080
- uuid: nu,
6081
- timestamp: au,
6082
- cron: su,
6083
- color: ou,
6084
- qrcode: ru,
6085
- http: uu,
6086
- script: pu
6067
+ xml: $m,
6068
+ sql: Hm,
6069
+ "html-fmt": jm,
6070
+ base64: Gm,
6071
+ url: Fm,
6072
+ "html-entity": zm,
6073
+ jwt: Um,
6074
+ hash: qm,
6075
+ hmac: Km,
6076
+ diff: Ym,
6077
+ case: eu,
6078
+ count: tu,
6079
+ regex: nu,
6080
+ uuid: au,
6081
+ timestamp: su,
6082
+ cron: lu,
6083
+ color: ru,
6084
+ qrcode: cu,
6085
+ http: hu,
6086
+ script: _u
6087
6087
  }, Mn = typeof window < "u" && window.ZTEAM_FONE_BASE || "", Qt = [
6088
6088
  { id: "default-admin", name: "Admin 后台", url: "/admin", category: "平台" },
6089
6089
  {
@@ -6101,7 +6101,7 @@ const _u = {
6101
6101
  }
6102
6102
  ] : []
6103
6103
  ], fa = "ft_personal_workspace_websites", En = "ft_personal_workspace_last_tool";
6104
- function gu() {
6104
+ function fu() {
6105
6105
  try {
6106
6106
  const t = localStorage.getItem(fa);
6107
6107
  if (!t) return Qt;
@@ -6113,16 +6113,16 @@ function gu() {
6113
6113
  return Qt;
6114
6114
  }
6115
6115
  }
6116
- function fu(t) {
6116
+ function yu(t) {
6117
6117
  try {
6118
6118
  localStorage.setItem(fa, JSON.stringify(t));
6119
6119
  } catch {
6120
6120
  }
6121
6121
  }
6122
- function yu() {
6122
+ function vu() {
6123
6123
  return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
6124
6124
  }
6125
- function vu({
6125
+ function bu({
6126
6126
  item: t,
6127
6127
  onClose: s,
6128
6128
  onSave: a
@@ -6139,7 +6139,7 @@ function vu({
6139
6139
  i.validateFields().then((c) => {
6140
6140
  var h;
6141
6141
  a({
6142
- id: (t == null ? void 0 : t.id) || yu(),
6142
+ id: (t == null ? void 0 : t.id) || vu(),
6143
6143
  name: c.name.trim(),
6144
6144
  url: c.url.trim(),
6145
6145
  category: ((h = c.category) == null ? void 0 : h.trim()) || void 0
@@ -6188,7 +6188,7 @@ function vu({
6188
6188
  }
6189
6189
  );
6190
6190
  }
6191
- function bu({
6191
+ function Nu({
6192
6192
  websites: t,
6193
6193
  onChange: s
6194
6194
  }) {
@@ -6221,7 +6221,7 @@ function bu({
6221
6221
  marginBottom: 16
6222
6222
  },
6223
6223
  children: [
6224
- /* @__PURE__ */ n(Mm, { level: 5, style: { margin: 0 }, children: [
6224
+ /* @__PURE__ */ n(Em, { level: 5, style: { margin: 0 }, children: [
6225
6225
  /* @__PURE__ */ e(en, { style: { marginRight: 8 } }),
6226
6226
  "常用网站"
6227
6227
  ] }),
@@ -6297,7 +6297,7 @@ function bu({
6297
6297
  }
6298
6298
  ) }, m.id)) }),
6299
6299
  (l || a) && /* @__PURE__ */ e(
6300
- vu,
6300
+ bu,
6301
6301
  {
6302
6302
  item: a,
6303
6303
  onClose: () => {
@@ -6308,7 +6308,7 @@ function bu({
6308
6308
  )
6309
6309
  ] });
6310
6310
  }
6311
- function Af({
6311
+ function Bf({
6312
6312
  showTools: t = !0,
6313
6313
  showWebsites: s = !0
6314
6314
  }) {
@@ -6319,16 +6319,16 @@ function Af({
6319
6319
  } catch {
6320
6320
  }
6321
6321
  return Dn[0].key;
6322
- }), [l, c] = o(gu);
6322
+ }), [l, c] = o(fu);
6323
6323
  te(() => {
6324
6324
  try {
6325
6325
  localStorage.setItem(En, a);
6326
6326
  } catch {
6327
6327
  }
6328
6328
  }, [a]), te(() => {
6329
- fu(l);
6329
+ yu(l);
6330
6330
  }, [l]);
6331
- const h = _u[a] || _a;
6331
+ const h = gu[a] || _a;
6332
6332
  return /* @__PURE__ */ n("div", { className: R.root, children: [
6333
6333
  t && /* @__PURE__ */ e(
6334
6334
  "div",
@@ -6367,64 +6367,64 @@ function Af({
6367
6367
  ] })
6368
6368
  }
6369
6369
  ),
6370
- s && /* @__PURE__ */ e(bu, { websites: l, onChange: c })
6370
+ s && /* @__PURE__ */ e(Nu, { websites: l, onChange: c })
6371
6371
  ] });
6372
6372
  }
6373
- const Nu = "_tabWrap_1hjjv_3", ku = "_viewHeader_1hjjv_10", Cu = "_viewTitle_1hjjv_17", wu = "_viewSub_1hjjv_22", Su = "_cardGrid_1hjjv_27", Tu = "_learnCard_1hjjv_33", xu = "_cardTitleRow_1hjjv_48", Iu = "_cardTitle_1hjjv_48", Lu = "_cardDesc_1hjjv_62", Au = "_cardFooter_1hjjv_73", Bu = "_learnLayout_1hjjv_91", Ru = "_materialList_1hjjv_97", Du = "_materialItem_1hjjv_111", Pu = "_materialItemActive_1hjjv_125", Mu = "_materialTitleRow_1hjjv_130", Eu = "_materialTitle_1hjjv_130", $u = "_materialMeta_1hjjv_144", Ou = "_docPanel_1hjjv_152", Hu = "_docContent_1hjjv_163", ju = "_finishBar_1hjjv_176", Gu = "_pathBoard_1hjjv_187", Fu = "_stageHeader_1hjjv_194", zu = "_nodeColumn_1hjjv_201", Uu = "_nodeCard_1hjjv_208", Wu = "_nodeCardDone_1hjjv_227", qu = "_nodeCardDoing_1hjjv_232", Vu = "_nodeCardLocked_1hjjv_237", Ku = "_nodeLink_1hjjv_243", Ju = "_nodeIndex_1hjjv_249", Yu = "_nodeIndexDone_1hjjv_262", Qu = "_nodeIndexDoing_1hjjv_267", Xu = "_nodeBody_1hjjv_272", Zu = "_nodeTitle_1hjjv_277", eh = "_nodeMeta_1hjjv_282", th = "_mapGrid_1hjjv_288", nh = "_examWrap_1hjjv_295", ah = "_examMetaRow_1hjjv_304", sh = "_questionCard_1hjjv_314", lh = "_questionTitle_1hjjv_322", ih = "_optionRow_1hjjv_329", oh = "_optionRowSelected_1hjjv_344", rh = "_answerBlock_1hjjv_348", ch = "_examResultCard_1hjjv_358", dh = "_examScore_1hjjv_363", mh = "_gloryGrid_1hjjv_369", T = {
6374
- tabWrap: Nu,
6375
- viewHeader: ku,
6376
- viewTitle: Cu,
6377
- viewSub: wu,
6378
- cardGrid: Su,
6379
- learnCard: Tu,
6380
- cardTitleRow: xu,
6381
- cardTitle: Iu,
6382
- cardDesc: Lu,
6383
- cardFooter: Au,
6384
- learnLayout: Bu,
6385
- materialList: Ru,
6386
- materialItem: Du,
6387
- materialItemActive: Pu,
6388
- materialTitleRow: Mu,
6389
- materialTitle: Eu,
6390
- materialMeta: $u,
6391
- docPanel: Ou,
6392
- docContent: Hu,
6393
- finishBar: ju,
6394
- pathBoard: Gu,
6395
- stageHeader: Fu,
6396
- nodeColumn: zu,
6397
- nodeCard: Uu,
6398
- nodeCardDone: Wu,
6399
- nodeCardDoing: qu,
6400
- nodeCardLocked: Vu,
6401
- nodeLink: Ku,
6402
- nodeIndex: Ju,
6403
- nodeIndexDone: Yu,
6404
- nodeIndexDoing: Qu,
6405
- nodeBody: Xu,
6406
- nodeTitle: Zu,
6407
- nodeMeta: eh,
6408
- mapGrid: th,
6409
- examWrap: nh,
6410
- examMetaRow: ah,
6411
- questionCard: sh,
6412
- questionTitle: lh,
6413
- optionRow: ih,
6414
- optionRowSelected: oh,
6415
- answerBlock: rh,
6416
- examResultCard: ch,
6417
- examScore: dh,
6418
- gloryGrid: mh
6373
+ const ku = "_tabWrap_1hjjv_3", Cu = "_viewHeader_1hjjv_10", wu = "_viewTitle_1hjjv_17", Su = "_viewSub_1hjjv_22", Tu = "_cardGrid_1hjjv_27", xu = "_learnCard_1hjjv_33", Iu = "_cardTitleRow_1hjjv_48", Lu = "_cardTitle_1hjjv_48", Au = "_cardDesc_1hjjv_62", Bu = "_cardFooter_1hjjv_73", Ru = "_learnLayout_1hjjv_91", Du = "_materialList_1hjjv_97", Pu = "_materialItem_1hjjv_111", Mu = "_materialItemActive_1hjjv_125", Eu = "_materialTitleRow_1hjjv_130", $u = "_materialTitle_1hjjv_130", Ou = "_materialMeta_1hjjv_144", Hu = "_docPanel_1hjjv_152", ju = "_docContent_1hjjv_163", Gu = "_finishBar_1hjjv_176", Fu = "_pathBoard_1hjjv_187", zu = "_stageHeader_1hjjv_194", Uu = "_nodeColumn_1hjjv_201", Wu = "_nodeCard_1hjjv_208", qu = "_nodeCardDone_1hjjv_227", Vu = "_nodeCardDoing_1hjjv_232", Ku = "_nodeCardLocked_1hjjv_237", Ju = "_nodeLink_1hjjv_243", Yu = "_nodeIndex_1hjjv_249", Qu = "_nodeIndexDone_1hjjv_262", Xu = "_nodeIndexDoing_1hjjv_267", Zu = "_nodeBody_1hjjv_272", eh = "_nodeTitle_1hjjv_277", th = "_nodeMeta_1hjjv_282", nh = "_mapGrid_1hjjv_288", ah = "_examWrap_1hjjv_295", sh = "_examMetaRow_1hjjv_304", lh = "_questionCard_1hjjv_314", ih = "_questionTitle_1hjjv_322", oh = "_optionRow_1hjjv_329", rh = "_optionRowSelected_1hjjv_344", ch = "_answerBlock_1hjjv_348", dh = "_examResultCard_1hjjv_358", mh = "_examScore_1hjjv_363", uh = "_gloryGrid_1hjjv_369", T = {
6374
+ tabWrap: ku,
6375
+ viewHeader: Cu,
6376
+ viewTitle: wu,
6377
+ viewSub: Su,
6378
+ cardGrid: Tu,
6379
+ learnCard: xu,
6380
+ cardTitleRow: Iu,
6381
+ cardTitle: Lu,
6382
+ cardDesc: Au,
6383
+ cardFooter: Bu,
6384
+ learnLayout: Ru,
6385
+ materialList: Du,
6386
+ materialItem: Pu,
6387
+ materialItemActive: Mu,
6388
+ materialTitleRow: Eu,
6389
+ materialTitle: $u,
6390
+ materialMeta: Ou,
6391
+ docPanel: Hu,
6392
+ docContent: ju,
6393
+ finishBar: Gu,
6394
+ pathBoard: Fu,
6395
+ stageHeader: zu,
6396
+ nodeColumn: Uu,
6397
+ nodeCard: Wu,
6398
+ nodeCardDone: qu,
6399
+ nodeCardDoing: Vu,
6400
+ nodeCardLocked: Ku,
6401
+ nodeLink: Ju,
6402
+ nodeIndex: Yu,
6403
+ nodeIndexDone: Qu,
6404
+ nodeIndexDoing: Xu,
6405
+ nodeBody: Zu,
6406
+ nodeTitle: eh,
6407
+ nodeMeta: th,
6408
+ mapGrid: nh,
6409
+ examWrap: ah,
6410
+ examMetaRow: sh,
6411
+ questionCard: lh,
6412
+ questionTitle: ih,
6413
+ optionRow: oh,
6414
+ optionRowSelected: rh,
6415
+ answerBlock: ch,
6416
+ examResultCard: dh,
6417
+ examScore: mh,
6418
+ gloryGrid: uh
6419
6419
  };
6420
- function uh(t) {
6420
+ function hh(t) {
6421
6421
  var i;
6422
6422
  const s = t.match(/videoId:\s*(\d+)/i);
6423
6423
  if (!s) return null;
6424
6424
  const a = t.match(/title:\s*(.+)/i);
6425
6425
  return { videoId: Number(s[1]), title: (i = a == null ? void 0 : a[1]) == null ? void 0 : i.trim() };
6426
6426
  }
6427
- function hh({
6427
+ function ph({
6428
6428
  courseId: t,
6429
6429
  onBack: s,
6430
6430
  onOpenExam: a
@@ -6446,7 +6446,7 @@ function hh({
6446
6446
  const j = E(async () => {
6447
6447
  u(!0);
6448
6448
  try {
6449
- const M = await yl(t, i);
6449
+ const M = await vl(t, i);
6450
6450
  c(M), m((Y) => {
6451
6451
  var y, k;
6452
6452
  return Y ?? ((k = (y = M.materials) == null ? void 0 : y[0]) == null ? void 0 : k.materialId) ?? null;
@@ -6459,10 +6459,10 @@ function hh({
6459
6459
  te(() => {
6460
6460
  j();
6461
6461
  }, [j]), te(() => {
6462
- vl("", "", i).then((M) => I(Object.fromEntries(M.map((Y) => [Y.id, Y])))).catch(() => {
6462
+ bl("", "", i).then((M) => I(Object.fromEntries(M.map((Y) => [Y.id, Y])))).catch(() => {
6463
6463
  });
6464
6464
  }, [i]), te(() => {
6465
- d && (L(!0), bl(d, i).then(g).catch(() => g(null)).finally(() => L(!1)));
6465
+ d && (L(!0), Nl(d, i).then(g).catch(() => g(null)).finally(() => L(!1)));
6466
6466
  }, [d, i]);
6467
6467
  const X = (l == null ? void 0 : l.materials) ?? [], C = l != null && l.finalPaperId ? Z[l.finalPaperId] ?? null : null, f = be(
6468
6468
  () => X.find((M) => M.materialId === d) ?? null,
@@ -6479,7 +6479,7 @@ function hh({
6479
6479
  if (f) {
6480
6480
  U(!0);
6481
6481
  try {
6482
- await Nl(t, f.materialId, i), se.success("已记录学习进度"), j();
6482
+ await kl(t, f.materialId, i), se.success("已记录学习进度"), j();
6483
6483
  } catch {
6484
6484
  } finally {
6485
6485
  U(!1);
@@ -6536,7 +6536,7 @@ function hh({
6536
6536
  /* @__PURE__ */ n("div", { className: T.learnLayout, children: [
6537
6537
  /* @__PURE__ */ n("div", { className: T.materialList, children: [
6538
6538
  X.map((M, Y) => /* @__PURE__ */ e(
6539
- ph,
6539
+ _h,
6540
6540
  {
6541
6541
  item: M,
6542
6542
  index: Y,
@@ -6608,9 +6608,9 @@ function hh({
6608
6608
  components: {
6609
6609
  code({ className: M, children: Y, ...y }) {
6610
6610
  return M === "language-video" ? /* @__PURE__ */ e(
6611
- _h,
6611
+ gh,
6612
6612
  {
6613
- block: uh(String(Y)),
6613
+ block: hh(String(Y)),
6614
6614
  videoMap: H
6615
6615
  }
6616
6616
  ) : /* @__PURE__ */ e("code", { className: M, ...y, children: Y });
@@ -6661,7 +6661,7 @@ function hh({
6661
6661
  ] })
6662
6662
  ] });
6663
6663
  }
6664
- function ph({
6664
+ function _h({
6665
6665
  item: t,
6666
6666
  index: s,
6667
6667
  active: a,
@@ -6712,7 +6712,7 @@ function ph({
6712
6712
  }
6713
6713
  );
6714
6714
  }
6715
- function _h({
6715
+ function gh({
6716
6716
  block: t,
6717
6717
  videoMap: s
6718
6718
  }) {
@@ -6759,7 +6759,7 @@ const ya = {
6759
6759
  MULTI: "多选题",
6760
6760
  FREE: "自由题"
6761
6761
  };
6762
- function gh(t) {
6762
+ function fh(t) {
6763
6763
  if (!t) return [];
6764
6764
  try {
6765
6765
  return JSON.parse(t).filter((a) => a.key != null).map((a) => ({ key: String(a.key), label: a.label ?? "" }));
@@ -6767,11 +6767,11 @@ function gh(t) {
6767
6767
  return [];
6768
6768
  }
6769
6769
  }
6770
- function fh(t) {
6770
+ function yh(t) {
6771
6771
  const s = Math.floor(t / 60), a = t % 60;
6772
6772
  return `${s}:${String(a).padStart(2, "0")}`;
6773
6773
  }
6774
- function yh({
6774
+ function vh({
6775
6775
  paperId: t,
6776
6776
  courseId: s,
6777
6777
  materialId: a,
@@ -6782,7 +6782,7 @@ function yh({
6782
6782
  const h = Le((_) => _.token), [u, d] = o("loading"), [m, r] = o(null), [g, S] = o({}), [L, H] = o(!1), [I, B] = o(null), [z, J] = o(null), U = De(!1), Z = E(async () => {
6783
6783
  d("loading"), B(null), S({}), U.current = !1;
6784
6784
  try {
6785
- const _ = await kl(
6785
+ const _ = await Cl(
6786
6786
  t,
6787
6787
  s,
6788
6788
  a,
@@ -6808,7 +6808,7 @@ function yh({
6808
6808
  if (!(!m || L)) {
6809
6809
  H(!0);
6810
6810
  try {
6811
- const $ = await Cl(
6811
+ const $ = await wl(
6812
6812
  {
6813
6813
  paperId: t,
6814
6814
  courseId: s ?? null,
@@ -6884,7 +6884,7 @@ function yh({
6884
6884
  if (u === "result" && I) {
6885
6885
  const _ = !i && !l && (!m || m.retryLimit == null || (m.retryCount ?? 0) + 1 < m.retryLimit);
6886
6886
  return /* @__PURE__ */ e(
6887
- bh,
6887
+ Nh,
6888
6888
  {
6889
6889
  record: I,
6890
6890
  onBack: c,
@@ -6952,13 +6952,13 @@ function yh({
6952
6952
  children: [
6953
6953
  /* @__PURE__ */ e(Zt, {}),
6954
6954
  " 剩余 ",
6955
- fh(z)
6955
+ yh(z)
6956
6956
  ]
6957
6957
  }
6958
6958
  )
6959
6959
  ] }),
6960
6960
  V.map((_, $) => /* @__PURE__ */ e(
6961
- vh,
6961
+ bh,
6962
6962
  {
6963
6963
  q: _,
6964
6964
  index: $,
@@ -6986,7 +6986,7 @@ function yh({
6986
6986
  )
6987
6987
  ] });
6988
6988
  }
6989
- function vh({
6989
+ function bh({
6990
6990
  q: t,
6991
6991
  index: s,
6992
6992
  value: a,
@@ -6994,7 +6994,7 @@ function vh({
6994
6994
  onToggle: l,
6995
6995
  onWrite: c
6996
6996
  }) {
6997
- const h = t.type === "FREE" ? [] : gh(t.options);
6997
+ const h = t.type === "FREE" ? [] : fh(t.options);
6998
6998
  return /* @__PURE__ */ n("div", { className: T.questionCard, children: [
6999
6999
  /* @__PURE__ */ n("div", { className: T.questionTitle, children: [
7000
7000
  s + 1,
@@ -7042,7 +7042,7 @@ function vh({
7042
7042
  )
7043
7043
  ] });
7044
7044
  }
7045
- function bh({
7045
+ function Nh({
7046
7046
  record: t,
7047
7047
  onBack: s,
7048
7048
  onRetry: a
@@ -7085,7 +7085,7 @@ function bh({
7085
7085
  i ? t.passed ? "成绩已最终确认" : "未达到及格线,可返回重考" : "客观题已判分;自由题由 AI 初评并进入人工复核,最终成绩请稍后查看"
7086
7086
  ] })
7087
7087
  ] }),
7088
- (t.answers ?? []).map((c, h) => /* @__PURE__ */ e(Nh, { item: c, index: h }, c.answerId)),
7088
+ (t.answers ?? []).map((c, h) => /* @__PURE__ */ e(kh, { item: c, index: h }, c.answerId)),
7089
7089
  /* @__PURE__ */ n(
7090
7090
  "div",
7091
7091
  {
@@ -7112,7 +7112,7 @@ function bh({
7112
7112
  )
7113
7113
  ] });
7114
7114
  }
7115
- function Nh({
7115
+ function kh({
7116
7116
  item: t,
7117
7117
  index: s
7118
7118
  }) {
@@ -7154,18 +7154,18 @@ function Nh({
7154
7154
  ] })
7155
7155
  ] });
7156
7156
  }
7157
- const kh = {
7157
+ const Ch = {
7158
7158
  SEQUENTIAL: "按顺序解锁:完成前一课程后解锁下一门",
7159
7159
  STAGE: "按阶段解锁:完成本阶段全部课程后解锁下一阶段",
7160
7160
  FREE: "全部开放:可自由选择任意课程学习"
7161
7161
  };
7162
- function Ch(t) {
7162
+ function wh(t) {
7163
7163
  return t === "done" ? T.nodeCardDone : t === "doing" ? T.nodeCardDoing : t === "locked" ? T.nodeCardLocked : "";
7164
7164
  }
7165
- function wh(t) {
7165
+ function Sh(t) {
7166
7166
  return t === "done" ? T.nodeIndexDone : t === "doing" ? T.nodeIndexDoing : "";
7167
7167
  }
7168
- function Sh(t) {
7168
+ function Th(t) {
7169
7169
  switch (t.nodeStatus) {
7170
7170
  case "done":
7171
7171
  return "已完成";
@@ -7177,7 +7177,7 @@ function Sh(t) {
7177
7177
  return "可开始学习";
7178
7178
  }
7179
7179
  }
7180
- function Th({
7180
+ function xh({
7181
7181
  pathId: t,
7182
7182
  onBack: s,
7183
7183
  onOpenCourse: a
@@ -7186,7 +7186,7 @@ function Th({
7186
7186
  const i = Le((q) => q.token), [l, c] = o(null), [h, u] = o(!0), [d, m] = o(!1), r = E(async () => {
7187
7187
  u(!0);
7188
7188
  try {
7189
- c(await wl(t, i));
7189
+ c(await Sl(t, i));
7190
7190
  } catch {
7191
7191
  } finally {
7192
7192
  u(!1);
@@ -7251,7 +7251,7 @@ function Th({
7251
7251
  l.description ? /* @__PURE__ */ e("div", { children: l.description }) : null,
7252
7252
  /* @__PURE__ */ n("div", { children: [
7253
7253
  "解锁规则:",
7254
- kh[l.unlockRule ?? "SEQUENTIAL"] ?? l.unlockRule,
7254
+ Ch[l.unlockRule ?? "SEQUENTIAL"] ?? l.unlockRule,
7255
7255
  (Z = l.rewardNames) != null && Z.length ? /* @__PURE__ */ n("span", { style: { marginLeft: 12, color: "#d48806" }, children: [
7256
7256
  /* @__PURE__ */ e(na, {}),
7257
7257
  " 完成可得:",
@@ -7335,14 +7335,14 @@ function $n({
7335
7335
  return /* @__PURE__ */ n(
7336
7336
  "div",
7337
7337
  {
7338
- className: `${T.nodeCard} ${Ch(i)}`,
7338
+ className: `${T.nodeCard} ${wh(i)}`,
7339
7339
  onClick: a,
7340
7340
  role: "button",
7341
7341
  children: [
7342
- /* @__PURE__ */ e("div", { className: `${T.nodeIndex} ${wh(i)}`, children: i === "done" ? /* @__PURE__ */ e(_s, {}) : i === "locked" ? /* @__PURE__ */ e(zt, {}) : s }),
7342
+ /* @__PURE__ */ e("div", { className: `${T.nodeIndex} ${Sh(i)}`, children: i === "done" ? /* @__PURE__ */ e(_s, {}) : i === "locked" ? /* @__PURE__ */ e(zt, {}) : s }),
7343
7343
  /* @__PURE__ */ n("div", { className: T.nodeBody, children: [
7344
7344
  /* @__PURE__ */ e("div", { className: T.nodeTitle, children: t.courseTitle }),
7345
- /* @__PURE__ */ e("div", { className: T.nodeMeta, children: Sh(t) })
7345
+ /* @__PURE__ */ e("div", { className: T.nodeMeta, children: Th(t) })
7346
7346
  ] }),
7347
7347
  i === "doing" ? /* @__PURE__ */ e(gt, { style: { color: "#2f70f1", fontSize: 18 } }) : i === "done" ? /* @__PURE__ */ e(K, { color: "success", children: "完成" }) : i === "locked" ? /* @__PURE__ */ e(zt, { style: { color: "#bbb" } }) : null
7348
7348
  ]
@@ -7353,7 +7353,7 @@ const va = {
7353
7353
  STAIRS: "爬楼梯",
7354
7354
  MAP: "地图"
7355
7355
  };
7356
- function Bf() {
7356
+ function Rf() {
7357
7357
  const [t, s] = o([
7358
7358
  { type: "tabs", sub: "my-paths" }
7359
7359
  ]), a = t[t.length - 1], i = E((h) => {
@@ -7364,21 +7364,21 @@ function Bf() {
7364
7364
  s((d) => d[d.length - 1].type === "tabs" ? [...d.slice(0, -1), { type: "tabs", sub: h }, u] : [...d, u]), requestAnimationFrame(() => window.scrollTo(0, 0));
7365
7365
  }, []);
7366
7366
  return a.type === "course-learn" ? /* @__PURE__ */ e("div", { className: T.tabWrap, children: /* @__PURE__ */ e(
7367
- hh,
7367
+ ph,
7368
7368
  {
7369
7369
  courseId: a.courseId,
7370
7370
  onBack: l,
7371
7371
  onOpenExam: (h, u, d, m) => i({ type: "exam", paperId: h, courseId: u, materialId: d, recordExamId: m })
7372
7372
  }
7373
7373
  ) }) : a.type === "path-learn" ? /* @__PURE__ */ e("div", { className: T.tabWrap, children: /* @__PURE__ */ e(
7374
- Th,
7374
+ xh,
7375
7375
  {
7376
7376
  pathId: a.pathId,
7377
7377
  onBack: l,
7378
7378
  onOpenCourse: (h) => i({ type: "course-learn", courseId: h })
7379
7379
  }
7380
7380
  ) }) : a.type === "exam" ? /* @__PURE__ */ e("div", { className: T.tabWrap, children: /* @__PURE__ */ e(
7381
- yh,
7381
+ vh,
7382
7382
  {
7383
7383
  paperId: a.paperId,
7384
7384
  courseId: a.courseId ?? null,
@@ -7388,7 +7388,7 @@ function Bf() {
7388
7388
  onBack: l
7389
7389
  }
7390
7390
  ) }) : /* @__PURE__ */ e(
7391
- Ih,
7391
+ Lh,
7392
7392
  {
7393
7393
  sub: a.sub,
7394
7394
  onPush: i,
@@ -7396,7 +7396,7 @@ function Bf() {
7396
7396
  }
7397
7397
  );
7398
7398
  }
7399
- const xh = [
7399
+ const Ih = [
7400
7400
  { key: "my-paths", label: "我的路径" },
7401
7401
  { key: "my-courses", label: "我的课程" },
7402
7402
  { key: "my-exams", label: "我的考试" },
@@ -7404,7 +7404,7 @@ const xh = [
7404
7404
  { key: "path-overview", label: "路径总览" },
7405
7405
  { key: "course-overview", label: "课程总览" }
7406
7406
  ];
7407
- function Ih({
7407
+ function Lh({
7408
7408
  sub: t,
7409
7409
  onPush: s,
7410
7410
  onPushExam: a
@@ -7424,7 +7424,7 @@ function Ih({
7424
7424
  borderBottom: "1px solid #e5e7eb",
7425
7425
  marginBottom: 16
7426
7426
  },
7427
- children: xh.map((c) => /* @__PURE__ */ e(
7427
+ children: Ih.map((c) => /* @__PURE__ */ e(
7428
7428
  "button",
7429
7429
  {
7430
7430
  type: "button",
@@ -7447,21 +7447,21 @@ function Ih({
7447
7447
  }
7448
7448
  ),
7449
7449
  i === "my-paths" && /* @__PURE__ */ e(
7450
- Lh,
7450
+ Ah,
7451
7451
  {
7452
7452
  onOpenPath: (c) => s({ type: "path-learn", pathId: c }),
7453
7453
  onGotoOverview: () => l("path-overview")
7454
7454
  }
7455
7455
  ),
7456
7456
  i === "my-courses" && /* @__PURE__ */ e(
7457
- Ah,
7457
+ Bh,
7458
7458
  {
7459
7459
  onOpenCourse: (c) => s({ type: "course-learn", courseId: c }),
7460
7460
  onGotoOverview: () => l("course-overview")
7461
7461
  }
7462
7462
  ),
7463
7463
  i === "my-exams" && /* @__PURE__ */ e(
7464
- Dh,
7464
+ Ph,
7465
7465
  {
7466
7466
  onOpenExam: (c) => a("my-exams", {
7467
7467
  type: "exam",
@@ -7473,29 +7473,29 @@ function Ih({
7473
7473
  })
7474
7474
  }
7475
7475
  ),
7476
- i === "my-glory" && /* @__PURE__ */ e(Bh, {}),
7476
+ i === "my-glory" && /* @__PURE__ */ e(Rh, {}),
7477
7477
  i === "path-overview" && /* @__PURE__ */ e(
7478
- Ph,
7478
+ Mh,
7479
7479
  {
7480
7480
  onOpenPath: (c) => s({ type: "path-learn", pathId: c })
7481
7481
  }
7482
7482
  ),
7483
7483
  i === "course-overview" && /* @__PURE__ */ e(
7484
- Mh,
7484
+ Eh,
7485
7485
  {
7486
7486
  onOpenCourse: (c) => s({ type: "course-learn", courseId: c })
7487
7487
  }
7488
7488
  )
7489
7489
  ] });
7490
7490
  }
7491
- function Lh({
7491
+ function Ah({
7492
7492
  onOpenPath: t,
7493
7493
  onGotoOverview: s
7494
7494
  }) {
7495
7495
  const a = Le((d) => d.token), [i, l] = o([]), [c, h] = o(!0), u = E(async () => {
7496
7496
  h(!0);
7497
7497
  try {
7498
- l(await Sl(a));
7498
+ l(await Tl(a));
7499
7499
  } catch {
7500
7500
  } finally {
7501
7501
  h(!1);
@@ -7535,14 +7535,14 @@ function Lh({
7535
7535
  ] }, d.pathId);
7536
7536
  }) });
7537
7537
  }
7538
- function Ah({
7538
+ function Bh({
7539
7539
  onOpenCourse: t,
7540
7540
  onGotoOverview: s
7541
7541
  }) {
7542
7542
  const a = Le((d) => d.token), [i, l] = o([]), [c, h] = o(!0), u = E(async () => {
7543
7543
  h(!0);
7544
7544
  try {
7545
- l(await Tl(a));
7545
+ l(await xl(a));
7546
7546
  } catch {
7547
7547
  } finally {
7548
7548
  h(!1);
@@ -7581,11 +7581,11 @@ function Ah({
7581
7581
  ] }, d.courseId);
7582
7582
  }) });
7583
7583
  }
7584
- function Bh() {
7584
+ function Rh() {
7585
7585
  const t = Le((u) => u.token), [s, a] = o([]), [i, l] = o(!0), c = E(async () => {
7586
7586
  l(!0);
7587
7587
  try {
7588
- a(await xl(t));
7588
+ a(await Il(t));
7589
7589
  } catch {
7590
7590
  } finally {
7591
7591
  l(!1);
@@ -7604,7 +7604,7 @@ function Bh() {
7604
7604
  );
7605
7605
  const h = async (u) => {
7606
7606
  try {
7607
- await Al(u, t), se.success("已提交兑换申请,等待运营确认发放"), c();
7607
+ await Bl(u, t), se.success("已提交兑换申请,等待运营确认发放"), c();
7608
7608
  } catch {
7609
7609
  }
7610
7610
  };
@@ -7641,12 +7641,12 @@ function Bh() {
7641
7641
  ] })
7642
7642
  ] }, u.id)) });
7643
7643
  }
7644
- const Rh = {
7644
+ const Dh = {
7645
7645
  ASSIGNED: { label: "待考", color: "warning" },
7646
7646
  SUBMITTED: { label: "批改中", color: "processing" },
7647
7647
  GRADED: { label: "已出分", color: "success" }
7648
7648
  };
7649
- function Dh({
7649
+ function Ph({
7650
7650
  onOpenExam: t
7651
7651
  }) {
7652
7652
  const s = Le((d) => d.token), [a, i] = o([]), [l, c] = o(!0), h = E(async () => {
@@ -7696,7 +7696,7 @@ function Dh({
7696
7696
  }
7697
7697
  ),
7698
7698
  /* @__PURE__ */ e("div", { className: T.cardGrid, children: a.map((d) => {
7699
- const m = d.status === "GRADED", r = Rh[d.status ?? ""] ?? {
7699
+ const m = d.status === "GRADED", r = Dh[d.status ?? ""] ?? {
7700
7700
  label: d.status ?? "-",
7701
7701
  color: "default"
7702
7702
  }, g = d.status === "ASSIGNED" ? "等待作答" : m ? `${(d.gradeTime ?? d.submitTime ?? "").replace("T", " ").slice(0, 16)} 出分` : `${(d.submitTime ?? "").replace("T", " ").slice(0, 16)} 交卷`;
@@ -7738,13 +7738,13 @@ function Dh({
7738
7738
  }) })
7739
7739
  ] });
7740
7740
  }
7741
- function Ph({
7741
+ function Mh({
7742
7742
  onOpenPath: t
7743
7743
  }) {
7744
7744
  const s = Le((r) => r.token), [a, i] = o([]), [l, c] = o(!0), [h, u] = o(null), d = E(async () => {
7745
7745
  c(!0);
7746
7746
  try {
7747
- i(await Il(s));
7747
+ i(await Ll(s));
7748
7748
  } catch {
7749
7749
  } finally {
7750
7750
  c(!1);
@@ -7827,13 +7827,13 @@ function Ph({
7827
7827
  }) })
7828
7828
  ] });
7829
7829
  }
7830
- function Mh({
7830
+ function Eh({
7831
7831
  onOpenCourse: t
7832
7832
  }) {
7833
7833
  const s = Le((r) => r.token), [a, i] = o([]), [l, c] = o(!0), [h, u] = o(null), d = E(async () => {
7834
7834
  c(!0);
7835
7835
  try {
7836
- i(await Ll(s));
7836
+ i(await Al(s));
7837
7837
  } catch {
7838
7838
  } finally {
7839
7839
  c(!1);
@@ -7928,31 +7928,31 @@ function ba({ text: t, onGo: s }) {
7928
7928
  }
7929
7929
  );
7930
7930
  }
7931
- const Eh = "_root_s8ypb_1", $h = "_section_s8ypb_13", Oh = "_sectionHeader_s8ypb_23", Hh = "_sectionIcon_s8ypb_31", jh = "_sectionTitle_s8ypb_36", Gh = "_sectionDesc_s8ypb_42", Fh = "_cardGrid_s8ypb_49", zh = "_card_s8ypb_49", Uh = "_cardHead_s8ypb_71", Wh = "_cardName_s8ypb_78", qh = "_cardMeta_s8ypb_88", Vh = "_cardFoot_s8ypb_96", Kh = "_instanceList_s8ypb_107", Jh = "_instanceRow_s8ypb_113", Yh = "_instanceInfo_s8ypb_124", Qh = "_instanceName_s8ypb_132", Xh = "_instancePath_s8ypb_143", Zh = "_instanceOps_s8ypb_153", ep = "_empty_s8ypb_161", tp = "_loadingWrap_s8ypb_165", np = "_formRow_s8ypb_172", ap = "_formLabel_s8ypb_179", ce = {
7932
- root: Eh,
7933
- section: $h,
7934
- sectionHeader: Oh,
7935
- sectionIcon: Hh,
7936
- sectionTitle: jh,
7937
- sectionDesc: Gh,
7938
- cardGrid: Fh,
7939
- card: zh,
7940
- cardHead: Uh,
7941
- cardName: Wh,
7942
- cardMeta: qh,
7943
- cardFoot: Vh,
7944
- instanceList: Kh,
7945
- instanceRow: Jh,
7946
- instanceInfo: Yh,
7947
- instanceName: Qh,
7948
- instancePath: Xh,
7949
- instanceOps: Zh,
7950
- empty: ep,
7951
- loadingWrap: tp,
7952
- formRow: np,
7953
- formLabel: ap
7931
+ const $h = "_root_s8ypb_1", Oh = "_section_s8ypb_13", Hh = "_sectionHeader_s8ypb_23", jh = "_sectionIcon_s8ypb_31", Gh = "_sectionTitle_s8ypb_36", Fh = "_sectionDesc_s8ypb_42", zh = "_cardGrid_s8ypb_49", Uh = "_card_s8ypb_49", Wh = "_cardHead_s8ypb_71", qh = "_cardName_s8ypb_78", Vh = "_cardMeta_s8ypb_88", Kh = "_cardFoot_s8ypb_96", Jh = "_instanceList_s8ypb_107", Yh = "_instanceRow_s8ypb_113", Qh = "_instanceInfo_s8ypb_124", Xh = "_instanceName_s8ypb_132", Zh = "_instancePath_s8ypb_143", ep = "_instanceOps_s8ypb_153", tp = "_empty_s8ypb_161", np = "_loadingWrap_s8ypb_165", ap = "_formRow_s8ypb_172", sp = "_formLabel_s8ypb_179", ce = {
7932
+ root: $h,
7933
+ section: Oh,
7934
+ sectionHeader: Hh,
7935
+ sectionIcon: jh,
7936
+ sectionTitle: Gh,
7937
+ sectionDesc: Fh,
7938
+ cardGrid: zh,
7939
+ card: Uh,
7940
+ cardHead: Wh,
7941
+ cardName: qh,
7942
+ cardMeta: Vh,
7943
+ cardFoot: Kh,
7944
+ instanceList: Jh,
7945
+ instanceRow: Yh,
7946
+ instanceInfo: Qh,
7947
+ instanceName: Xh,
7948
+ instancePath: Zh,
7949
+ instanceOps: ep,
7950
+ empty: tp,
7951
+ loadingWrap: np,
7952
+ formRow: ap,
7953
+ formLabel: sp
7954
7954
  }, Na = (t) => `ft_webide_spaces_${t ?? "guest"}`;
7955
- function sp(t) {
7955
+ function lp(t) {
7956
7956
  try {
7957
7957
  const s = localStorage.getItem(Na(t));
7958
7958
  if (!s) return [];
@@ -7976,10 +7976,10 @@ const Xt = {
7976
7976
  workspace: "",
7977
7977
  path: ""
7978
7978
  };
7979
- function Rf() {
7979
+ function Df() {
7980
7980
  const t = Le((C) => C.currentUser), s = t == null ? void 0 : t.id, [a, i] = o([]), [l, c] = o([]), [h, u] = o(!1), [d, m] = o(!1), [r, g] = o(Xt), [S, L] = o(!1), [H, I] = o(null);
7981
7981
  te(() => {
7982
- i(sp(s));
7982
+ i(lp(s));
7983
7983
  }, [s]);
7984
7984
  const B = E(async () => {
7985
7985
  u(!0);
@@ -8170,7 +8170,7 @@ function Rf() {
8170
8170
  {
8171
8171
  className: ce.instanceName,
8172
8172
  title: C.name || C.workspaceDir,
8173
- children: C.name || lp(C.workspaceDir) || `实例 #${C.id}`
8173
+ children: C.name || ip(C.workspaceDir) || `实例 #${C.id}`
8174
8174
  }
8175
8175
  ),
8176
8176
  /* @__PURE__ */ e(K, { color: C.status === 1 ? "green" : "default", children: C.status === 1 ? "运行中" : "已停止" }),
@@ -8317,63 +8317,63 @@ function Hn(t) {
8317
8317
  }
8318
8318
  return t.path || "—";
8319
8319
  }
8320
- function lp(t) {
8320
+ function ip(t) {
8321
8321
  if (!t) return "";
8322
8322
  const s = t.replace(/\/+$/, ""), a = s.lastIndexOf("/");
8323
8323
  return a >= 0 ? s.substring(a + 1) : s;
8324
8324
  }
8325
- const ip = "_host_5n5e5_1", op = "_header_5n5e5_11", rp = "_title_5n5e5_18", cp = "_subtitle_5n5e5_25", dp = "_searchWrap_5n5e5_31", mp = "_searchIcon_5n5e5_47", up = "_searchInput_5n5e5_52", hp = "_dimBar_5n5e5_66", pp = "_dimBarLabel_5n5e5_73", _p = "_dimChip_5n5e5_78", gp = "_dimChipActive_5n5e5_96", fp = "_dimOrder_5n5e5_102", yp = "_dimReset_5n5e5_115", vp = "_dimSummary_5n5e5_128", bp = "_listHost_5n5e5_135", Np = "_groupHeader_5n5e5_141", kp = "_groupCaret_5n5e5_158", Cp = "_groupCaretOpen_5n5e5_165", wp = "_groupLabel_5n5e5_169", Sp = "_groupCount_5n5e5_175", Tp = "_rowWrap_5n5e5_183", xp = "_row_5n5e5_183", Ip = "_agentDot_5n5e5_212", Lp = "_rowTitle_5n5e5_225", Ap = "_spacePill_5n5e5_235", Bp = "_rowAgent_5n5e5_251", Rp = "_rowTime_5n5e5_265", Dp = "_rowActions_5n5e5_273", Pp = "_rowActionBtn_5n5e5_281", Mp = "_rowActionBtnActive_5n5e5_297", Ep = "_rowUpdating_5n5e5_310", $p = "_menuMask_5n5e5_315", Op = "_empty_5n5e5_322", Hp = "_emptySpinner_5n5e5_332", jp = "_emptyTitle_5n5e5_336", Gp = "_rowSummary_5n5e5_343", de = {
8326
- host: ip,
8327
- header: op,
8328
- title: rp,
8329
- subtitle: cp,
8330
- searchWrap: dp,
8331
- searchIcon: mp,
8332
- searchInput: up,
8333
- dimBar: hp,
8334
- dimBarLabel: pp,
8335
- dimChip: _p,
8336
- dimChipActive: gp,
8337
- dimOrder: fp,
8338
- dimReset: yp,
8339
- dimSummary: vp,
8340
- listHost: bp,
8341
- groupHeader: Np,
8342
- groupCaret: kp,
8343
- groupCaretOpen: Cp,
8344
- groupLabel: wp,
8345
- groupCount: Sp,
8346
- rowWrap: Tp,
8347
- row: xp,
8348
- agentDot: Ip,
8349
- rowTitle: Lp,
8350
- spacePill: Ap,
8351
- rowAgent: Bp,
8352
- rowTime: Rp,
8353
- rowActions: Dp,
8354
- rowActionBtn: Pp,
8355
- rowActionBtnActive: Mp,
8356
- rowUpdating: Ep,
8357
- menuMask: $p,
8358
- empty: Op,
8359
- emptySpinner: Hp,
8360
- emptyTitle: jp,
8361
- rowSummary: Gp
8325
+ const op = "_host_5n5e5_1", rp = "_header_5n5e5_11", cp = "_title_5n5e5_18", dp = "_subtitle_5n5e5_25", mp = "_searchWrap_5n5e5_31", up = "_searchIcon_5n5e5_47", hp = "_searchInput_5n5e5_52", pp = "_dimBar_5n5e5_66", _p = "_dimBarLabel_5n5e5_73", gp = "_dimChip_5n5e5_78", fp = "_dimChipActive_5n5e5_96", yp = "_dimOrder_5n5e5_102", vp = "_dimReset_5n5e5_115", bp = "_dimSummary_5n5e5_128", Np = "_listHost_5n5e5_135", kp = "_groupHeader_5n5e5_141", Cp = "_groupCaret_5n5e5_158", wp = "_groupCaretOpen_5n5e5_165", Sp = "_groupLabel_5n5e5_169", Tp = "_groupCount_5n5e5_175", xp = "_rowWrap_5n5e5_183", Ip = "_row_5n5e5_183", Lp = "_agentDot_5n5e5_212", Ap = "_rowTitle_5n5e5_225", Bp = "_spacePill_5n5e5_235", Rp = "_rowAgent_5n5e5_251", Dp = "_rowTime_5n5e5_265", Pp = "_rowActions_5n5e5_273", Mp = "_rowActionBtn_5n5e5_281", Ep = "_rowActionBtnActive_5n5e5_297", $p = "_rowUpdating_5n5e5_310", Op = "_menuMask_5n5e5_315", Hp = "_empty_5n5e5_322", jp = "_emptySpinner_5n5e5_332", Gp = "_emptyTitle_5n5e5_336", Fp = "_rowSummary_5n5e5_343", de = {
8326
+ host: op,
8327
+ header: rp,
8328
+ title: cp,
8329
+ subtitle: dp,
8330
+ searchWrap: mp,
8331
+ searchIcon: up,
8332
+ searchInput: hp,
8333
+ dimBar: pp,
8334
+ dimBarLabel: _p,
8335
+ dimChip: gp,
8336
+ dimChipActive: fp,
8337
+ dimOrder: yp,
8338
+ dimReset: vp,
8339
+ dimSummary: bp,
8340
+ listHost: Np,
8341
+ groupHeader: kp,
8342
+ groupCaret: Cp,
8343
+ groupCaretOpen: wp,
8344
+ groupLabel: Sp,
8345
+ groupCount: Tp,
8346
+ rowWrap: xp,
8347
+ row: Ip,
8348
+ agentDot: Lp,
8349
+ rowTitle: Ap,
8350
+ spacePill: Bp,
8351
+ rowAgent: Rp,
8352
+ rowTime: Dp,
8353
+ rowActions: Pp,
8354
+ rowActionBtn: Mp,
8355
+ rowActionBtnActive: Ep,
8356
+ rowUpdating: $p,
8357
+ menuMask: Op,
8358
+ empty: Hp,
8359
+ emptySpinner: jp,
8360
+ emptyTitle: Gp,
8361
+ rowSummary: Fp
8362
8362
  }, jn = [
8363
8363
  { key: "time", label: "时间" },
8364
8364
  { key: "space", label: "项目空间" },
8365
8365
  { key: "agent", label: "伙伴" }
8366
8366
  ], Gn = "ft_exclusive_history_groupDims", Fn = ["#2F70F1", "#52c41a", "#fa8c16", "#722ed1", "#13c2c2"];
8367
- function Fp(t) {
8367
+ function zp(t) {
8368
8368
  let s = 0;
8369
8369
  for (let a = 0; a < t.length; a++) s = s * 31 + t.charCodeAt(a) | 0;
8370
8370
  return Fn[Math.abs(s) % Fn.length];
8371
8371
  }
8372
- function zp(t) {
8372
+ function Up(t) {
8373
8373
  const s = t.updateTime || t.createTime || "";
8374
8374
  return s.length >= 16 ? s.slice(5, 16) : s || "--";
8375
8375
  }
8376
- function Up(t) {
8376
+ function Wp(t) {
8377
8377
  const s = t.updateTime || t.createTime || "";
8378
8378
  if (!s) return ["5", "未知时间"];
8379
8379
  const a = new Date(s.replace(" ", "T"));
@@ -8385,7 +8385,7 @@ function Up(t) {
8385
8385
  ).getTime(), c = a.getTime();
8386
8386
  return c >= l ? ["1", "今天"] : c >= l - 864e5 ? ["2", "昨天"] : c >= l - 7 * 864e5 ? ["3", "近7天"] : ["4", "更早"];
8387
8387
  }
8388
- function Df({
8388
+ function Pf({
8389
8389
  agents: t,
8390
8390
  token: s,
8391
8391
  onOpenSession: a
@@ -8437,7 +8437,7 @@ function Df({
8437
8437
  var M;
8438
8438
  switch ($) {
8439
8439
  case "time":
8440
- return Up(_);
8440
+ return Wp(_);
8441
8441
  case "space":
8442
8442
  return _.projectSpaceId != null ? [
8443
8443
  String(_.projectSpaceId),
@@ -8514,7 +8514,7 @@ function Df({
8514
8514
  {
8515
8515
  className: de.agentDot,
8516
8516
  style: {
8517
- background: Fp(
8517
+ background: zp(
8518
8518
  (V == null ? void 0 : V.displayName) || String(f.personalAgentId)
8519
8519
  )
8520
8520
  },
@@ -8531,7 +8531,7 @@ function Df({
8531
8531
  /* @__PURE__ */ e(rn, {}),
8532
8532
  (V == null ? void 0 : V.displayName) || "未知伙伴"
8533
8533
  ] }),
8534
- /* @__PURE__ */ e("span", { className: de.rowTime, children: zp(f) })
8534
+ /* @__PURE__ */ e("span", { className: de.rowTime, children: Up(f) })
8535
8535
  ]
8536
8536
  }
8537
8537
  ),
@@ -8655,93 +8655,93 @@ function Df({
8655
8655
  ] }) : q === 0 ? /* @__PURE__ */ e("div", { className: de.empty, children: /* @__PURE__ */ e("span", { className: de.emptyTitle, children: i.length === 0 ? "还没有会话,去新建任务开始第一段对话吧" : "没有匹配的会话" }) }) : Z.map((f) => C(f, 0)) })
8656
8656
  ] });
8657
8657
  }
8658
- const Wp = "_host_m1ima_1", qp = "_header_m1ima_11", Vp = "_title_m1ima_17", Kp = "_subtitle_m1ima_24", Jp = "_pageTabs_m1ima_31", Yp = "_pageTab_m1ima_31", Qp = "_pageTabActive_m1ima_50", Xp = "_manageGrid_m1ima_58", Zp = "_manageCard_m1ima_64", e_ = "_manageIcon_m1ima_82", t_ = "_manageName_m1ima_88", n_ = "_section_m1ima_92", a_ = "_sectionHead_m1ima_98", s_ = "_sectionIcon_m1ima_104", l_ = "_sectionTitle_m1ima_110", i_ = "_sectionDesc_m1ima_116", o_ = "_empty_m1ima_121", r_ = "_agentList_m1ima_131", c_ = "_agentRow_m1ima_140", d_ = "_agentDot_m1ima_152", m_ = "_agentMain_m1ima_165", u_ = "_agentName_m1ima_173", h_ = "_sharedBadge_m1ima_182", p_ = "_agentCode_m1ima_191", __ = "_rowBtn_m1ima_199", g_ = "_rowBtnGhost_m1ima_218", f_ = "_createRow_m1ima_222", y_ = "_createInput_m1ima_229", v_ = "_createBtn_m1ima_244", b_ = "_skillGrid_m1ima_264", N_ = "_skillCard_m1ima_270", k_ = "_skillHead_m1ima_280", C_ = "_skillName_m1ima_287", w_ = "_skillToggle_m1ima_293", S_ = "_skillToggleOn_m1ima_316", T_ = "_skillToggling_m1ima_324", x_ = "_skillCategory_m1ima_329", I_ = "_skillDesc_m1ima_338", L_ = "_marketToolbar_m1ima_348", A_ = "_marketSearch_m1ima_354", B_ = "_marketSearchIcon_m1ima_369", R_ = "_chipRow_m1ima_386", D_ = "_chipRowLabel_m1ima_393", P_ = "_tagChip_m1ima_401", M_ = "_chip_m1ima_386", E_ = "_chipActive_m1ima_423", $_ = "_marketGroups_m1ima_430", O_ = "_marketGroup_m1ima_430", H_ = "_marketGroupHead_m1ima_442", j_ = "_marketGroupName_m1ima_450", G_ = "_marketGroupCount_m1ima_456", F_ = "_marketGrid_m1ima_461", z_ = "_marketCard_m1ima_467", U_ = "_cardHead_m1ima_489", W_ = "_cardIcon_m1ima_495", q_ = "_cardTitle_m1ima_507", V_ = "_cardName_m1ima_514", K_ = "_cardCode_m1ima_523", J_ = "_cardDesc_m1ima_532", Y_ = "_tagRow_m1ima_541", Q_ = "_tagPill_m1ima_547", X_ = "_cardSymptom_m1ima_557", Z_ = "_cardFoot_m1ima_577", eg = "_footTag_m1ima_585", tg = "_footMeta_m1ima_594", ng = "_detailMask_m1ima_604", ag = "_detailPanel_m1ima_611", sg = "_detailHead_m1ima_629", lg = "_detailTitleWrap_m1ima_636", ig = "_detailTitle_m1ima_636", og = "_detailCode_m1ima_649", rg = "_detailClose_m1ima_655", cg = "_detailMeta_m1ima_672", dg = "_metaItem_m1ima_678", mg = "_detailSymptoms_m1ima_686", ug = "_detailSymptomLabel_m1ima_697", hg = "_detailBody_m1ima_704", pg = "_detailRefs_m1ima_719", _g = "_detailRefsBody_m1ima_725", gg = "_detailNote_m1ima_740", fg = "_placeholderGrid_m1ima_748", yg = "_placeholderCard_m1ima_754", vg = "_placeholderName_m1ima_763", bg = "_placeholderDesc_m1ima_769", N = {
8659
- host: Wp,
8660
- header: qp,
8661
- title: Vp,
8662
- subtitle: Kp,
8663
- pageTabs: Jp,
8664
- pageTab: Yp,
8665
- pageTabActive: Qp,
8666
- manageGrid: Xp,
8667
- manageCard: Zp,
8668
- manageIcon: e_,
8669
- manageName: t_,
8670
- section: n_,
8671
- sectionHead: a_,
8672
- sectionIcon: s_,
8673
- sectionTitle: l_,
8674
- sectionDesc: i_,
8675
- empty: o_,
8676
- agentList: r_,
8677
- agentRow: c_,
8678
- agentDot: d_,
8679
- agentMain: m_,
8680
- agentName: u_,
8681
- sharedBadge: h_,
8682
- agentCode: p_,
8683
- rowBtn: __,
8684
- rowBtnGhost: g_,
8685
- createRow: f_,
8686
- createInput: y_,
8687
- createBtn: v_,
8688
- skillGrid: b_,
8689
- skillCard: N_,
8690
- skillHead: k_,
8691
- skillName: C_,
8692
- skillToggle: w_,
8693
- skillToggleOn: S_,
8694
- skillToggling: T_,
8695
- skillCategory: x_,
8696
- skillDesc: I_,
8697
- marketToolbar: L_,
8698
- marketSearch: A_,
8699
- marketSearchIcon: B_,
8700
- chipRow: R_,
8701
- chipRowLabel: D_,
8702
- tagChip: P_,
8703
- chip: M_,
8704
- chipActive: E_,
8705
- marketGroups: $_,
8706
- marketGroup: O_,
8707
- marketGroupHead: H_,
8708
- marketGroupName: j_,
8709
- marketGroupCount: G_,
8710
- marketGrid: F_,
8711
- marketCard: z_,
8712
- cardHead: U_,
8713
- cardIcon: W_,
8714
- cardTitle: q_,
8715
- cardName: V_,
8716
- cardCode: K_,
8717
- cardDesc: J_,
8718
- tagRow: Y_,
8719
- tagPill: Q_,
8720
- cardSymptom: X_,
8721
- cardFoot: Z_,
8722
- footTag: eg,
8723
- footMeta: tg,
8724
- detailMask: ng,
8725
- detailPanel: ag,
8726
- detailHead: sg,
8727
- detailTitleWrap: lg,
8728
- detailTitle: ig,
8729
- detailCode: og,
8730
- detailClose: rg,
8731
- detailMeta: cg,
8732
- metaItem: dg,
8733
- detailSymptoms: mg,
8734
- detailSymptomLabel: ug,
8735
- detailBody: hg,
8736
- detailRefs: pg,
8737
- detailRefsBody: _g,
8738
- detailNote: gg,
8739
- placeholderGrid: fg,
8740
- placeholderCard: yg,
8741
- placeholderName: vg,
8742
- placeholderDesc: bg
8658
+ const qp = "_host_m1ima_1", Vp = "_header_m1ima_11", Kp = "_title_m1ima_17", Jp = "_subtitle_m1ima_24", Yp = "_pageTabs_m1ima_31", Qp = "_pageTab_m1ima_31", Xp = "_pageTabActive_m1ima_50", Zp = "_manageGrid_m1ima_58", e_ = "_manageCard_m1ima_64", t_ = "_manageIcon_m1ima_82", n_ = "_manageName_m1ima_88", a_ = "_section_m1ima_92", s_ = "_sectionHead_m1ima_98", l_ = "_sectionIcon_m1ima_104", i_ = "_sectionTitle_m1ima_110", o_ = "_sectionDesc_m1ima_116", r_ = "_empty_m1ima_121", c_ = "_agentList_m1ima_131", d_ = "_agentRow_m1ima_140", m_ = "_agentDot_m1ima_152", u_ = "_agentMain_m1ima_165", h_ = "_agentName_m1ima_173", p_ = "_sharedBadge_m1ima_182", __ = "_agentCode_m1ima_191", g_ = "_rowBtn_m1ima_199", f_ = "_rowBtnGhost_m1ima_218", y_ = "_createRow_m1ima_222", v_ = "_createInput_m1ima_229", b_ = "_createBtn_m1ima_244", N_ = "_skillGrid_m1ima_264", k_ = "_skillCard_m1ima_270", C_ = "_skillHead_m1ima_280", w_ = "_skillName_m1ima_287", S_ = "_skillToggle_m1ima_293", T_ = "_skillToggleOn_m1ima_316", x_ = "_skillToggling_m1ima_324", I_ = "_skillCategory_m1ima_329", L_ = "_skillDesc_m1ima_338", A_ = "_marketToolbar_m1ima_348", B_ = "_marketSearch_m1ima_354", R_ = "_marketSearchIcon_m1ima_369", D_ = "_chipRow_m1ima_386", P_ = "_chipRowLabel_m1ima_393", M_ = "_tagChip_m1ima_401", E_ = "_chip_m1ima_386", $_ = "_chipActive_m1ima_423", O_ = "_marketGroups_m1ima_430", H_ = "_marketGroup_m1ima_430", j_ = "_marketGroupHead_m1ima_442", G_ = "_marketGroupName_m1ima_450", F_ = "_marketGroupCount_m1ima_456", z_ = "_marketGrid_m1ima_461", U_ = "_marketCard_m1ima_467", W_ = "_cardHead_m1ima_489", q_ = "_cardIcon_m1ima_495", V_ = "_cardTitle_m1ima_507", K_ = "_cardName_m1ima_514", J_ = "_cardCode_m1ima_523", Y_ = "_cardDesc_m1ima_532", Q_ = "_tagRow_m1ima_541", X_ = "_tagPill_m1ima_547", Z_ = "_cardSymptom_m1ima_557", eg = "_cardFoot_m1ima_577", tg = "_footTag_m1ima_585", ng = "_footMeta_m1ima_594", ag = "_detailMask_m1ima_604", sg = "_detailPanel_m1ima_611", lg = "_detailHead_m1ima_629", ig = "_detailTitleWrap_m1ima_636", og = "_detailTitle_m1ima_636", rg = "_detailCode_m1ima_649", cg = "_detailClose_m1ima_655", dg = "_detailMeta_m1ima_672", mg = "_metaItem_m1ima_678", ug = "_detailSymptoms_m1ima_686", hg = "_detailSymptomLabel_m1ima_697", pg = "_detailBody_m1ima_704", _g = "_detailRefs_m1ima_719", gg = "_detailRefsBody_m1ima_725", fg = "_detailNote_m1ima_740", yg = "_placeholderGrid_m1ima_748", vg = "_placeholderCard_m1ima_754", bg = "_placeholderName_m1ima_763", Ng = "_placeholderDesc_m1ima_769", N = {
8659
+ host: qp,
8660
+ header: Vp,
8661
+ title: Kp,
8662
+ subtitle: Jp,
8663
+ pageTabs: Yp,
8664
+ pageTab: Qp,
8665
+ pageTabActive: Xp,
8666
+ manageGrid: Zp,
8667
+ manageCard: e_,
8668
+ manageIcon: t_,
8669
+ manageName: n_,
8670
+ section: a_,
8671
+ sectionHead: s_,
8672
+ sectionIcon: l_,
8673
+ sectionTitle: i_,
8674
+ sectionDesc: o_,
8675
+ empty: r_,
8676
+ agentList: c_,
8677
+ agentRow: d_,
8678
+ agentDot: m_,
8679
+ agentMain: u_,
8680
+ agentName: h_,
8681
+ sharedBadge: p_,
8682
+ agentCode: __,
8683
+ rowBtn: g_,
8684
+ rowBtnGhost: f_,
8685
+ createRow: y_,
8686
+ createInput: v_,
8687
+ createBtn: b_,
8688
+ skillGrid: N_,
8689
+ skillCard: k_,
8690
+ skillHead: C_,
8691
+ skillName: w_,
8692
+ skillToggle: S_,
8693
+ skillToggleOn: T_,
8694
+ skillToggling: x_,
8695
+ skillCategory: I_,
8696
+ skillDesc: L_,
8697
+ marketToolbar: A_,
8698
+ marketSearch: B_,
8699
+ marketSearchIcon: R_,
8700
+ chipRow: D_,
8701
+ chipRowLabel: P_,
8702
+ tagChip: M_,
8703
+ chip: E_,
8704
+ chipActive: $_,
8705
+ marketGroups: O_,
8706
+ marketGroup: H_,
8707
+ marketGroupHead: j_,
8708
+ marketGroupName: G_,
8709
+ marketGroupCount: F_,
8710
+ marketGrid: z_,
8711
+ marketCard: U_,
8712
+ cardHead: W_,
8713
+ cardIcon: q_,
8714
+ cardTitle: V_,
8715
+ cardName: K_,
8716
+ cardCode: J_,
8717
+ cardDesc: Y_,
8718
+ tagRow: Q_,
8719
+ tagPill: X_,
8720
+ cardSymptom: Z_,
8721
+ cardFoot: eg,
8722
+ footTag: tg,
8723
+ footMeta: ng,
8724
+ detailMask: ag,
8725
+ detailPanel: sg,
8726
+ detailHead: lg,
8727
+ detailTitleWrap: ig,
8728
+ detailTitle: og,
8729
+ detailCode: rg,
8730
+ detailClose: cg,
8731
+ detailMeta: dg,
8732
+ metaItem: mg,
8733
+ detailSymptoms: ug,
8734
+ detailSymptomLabel: hg,
8735
+ detailBody: pg,
8736
+ detailRefs: _g,
8737
+ detailRefsBody: gg,
8738
+ detailNote: fg,
8739
+ placeholderGrid: yg,
8740
+ placeholderCard: vg,
8741
+ placeholderName: bg,
8742
+ placeholderDesc: Ng
8743
8743
  };
8744
- function Pf({
8744
+ function Mf({
8745
8745
  agents: t,
8746
8746
  loading: s,
8747
8747
  skillsAgent: a,
@@ -8762,7 +8762,7 @@ function Pf({
8762
8762
  const rt = E(async () => {
8763
8763
  G(!0), oe("");
8764
8764
  try {
8765
- const w = await Bl(
8765
+ const w = await Rl(
8766
8766
  { status: 1, keyword: M || void 0 },
8767
8767
  i
8768
8768
  );
@@ -8795,7 +8795,7 @@ function Pf({
8795
8795
  if (ve(w), Ae(null), re(!0), !!w.id) {
8796
8796
  Oe(!0);
8797
8797
  try {
8798
- Ae(await Rl(w.id, i));
8798
+ Ae(await Dl(w.id, i));
8799
8799
  } catch {
8800
8800
  Ae(null);
8801
8801
  } finally {
@@ -9193,44 +9193,44 @@ function Un(t) {
9193
9193
  for (let a = 0; a < t.length; a++) s = s * 31 + t.charCodeAt(a) | 0;
9194
9194
  return zn[Math.abs(s) % zn.length];
9195
9195
  }
9196
- const Ng = "_host_yz5cm_1", kg = "_header_yz5cm_11", Cg = "_title_yz5cm_18", wg = "_subtitle_yz5cm_25", Sg = "_newBtn_yz5cm_31", Tg = "_schedulerBanner_yz5cm_47", xg = "_statusDot_yz5cm_57", Ig = "_statusDotOn_yz5cm_65", Lg = "_schedulerText_yz5cm_70", Ag = "_schedulerTitle_yz5cm_77", Bg = "_schedulerDesc_yz5cm_83", Rg = "_demoBadge_yz5cm_88", Dg = "_taskList_yz5cm_97", Pg = "_sectionHead_yz5cm_104", Mg = "_sectionTitle_yz5cm_111", Eg = "_sectionCount_yz5cm_117", $g = "_recordList_yz5cm_123", Og = "_recordRow_yz5cm_129", Hg = "_runStatus_yz5cm_139", jg = "_run_success_yz5cm_149", Gg = "_run_failed_yz5cm_154", Fg = "_run_running_yz5cm_159", zg = "_recordMain_yz5cm_164", Ug = "_recordTask_yz5cm_172", Wg = "_recordSummary_yz5cm_178", qg = "_recordMeta_yz5cm_186", Vg = "_taskRow_yz5cm_196", Kg = "_toggle_yz5cm_206", Jg = "_taskMain_yz5cm_227", Yg = "_taskName_yz5cm_235", Qg = "_taskDesc_yz5cm_241", Xg = "_taskMeta_yz5cm_249", Zg = "_metaLine_yz5cm_256", ef = "_metaNext_yz5cm_264", tf = "_footerHint_yz5cm_272", me = {
9197
- host: Ng,
9198
- header: kg,
9199
- title: Cg,
9200
- subtitle: wg,
9201
- newBtn: Sg,
9202
- schedulerBanner: Tg,
9203
- statusDot: xg,
9204
- statusDotOn: Ig,
9205
- schedulerText: Lg,
9206
- schedulerTitle: Ag,
9207
- schedulerDesc: Bg,
9208
- demoBadge: Rg,
9209
- taskList: Dg,
9210
- sectionHead: Pg,
9211
- sectionTitle: Mg,
9212
- sectionCount: Eg,
9213
- recordList: $g,
9214
- recordRow: Og,
9215
- runStatus: Hg,
9216
- run_success: jg,
9217
- run_failed: Gg,
9218
- run_running: Fg,
9219
- recordMain: zg,
9220
- recordTask: Ug,
9221
- recordSummary: Wg,
9222
- recordMeta: qg,
9223
- taskRow: Vg,
9224
- toggle: Kg,
9225
- taskMain: Jg,
9226
- taskName: Yg,
9227
- taskDesc: Qg,
9228
- taskMeta: Xg,
9229
- metaLine: Zg,
9230
- metaNext: ef,
9231
- footerHint: tf
9196
+ const kg = "_host_yz5cm_1", Cg = "_header_yz5cm_11", wg = "_title_yz5cm_18", Sg = "_subtitle_yz5cm_25", Tg = "_newBtn_yz5cm_31", xg = "_schedulerBanner_yz5cm_47", Ig = "_statusDot_yz5cm_57", Lg = "_statusDotOn_yz5cm_65", Ag = "_schedulerText_yz5cm_70", Bg = "_schedulerTitle_yz5cm_77", Rg = "_schedulerDesc_yz5cm_83", Dg = "_demoBadge_yz5cm_88", Pg = "_taskList_yz5cm_97", Mg = "_sectionHead_yz5cm_104", Eg = "_sectionTitle_yz5cm_111", $g = "_sectionCount_yz5cm_117", Og = "_recordList_yz5cm_123", Hg = "_recordRow_yz5cm_129", jg = "_runStatus_yz5cm_139", Gg = "_run_success_yz5cm_149", Fg = "_run_failed_yz5cm_154", zg = "_run_running_yz5cm_159", Ug = "_recordMain_yz5cm_164", Wg = "_recordTask_yz5cm_172", qg = "_recordSummary_yz5cm_178", Vg = "_recordMeta_yz5cm_186", Kg = "_taskRow_yz5cm_196", Jg = "_toggle_yz5cm_206", Yg = "_taskMain_yz5cm_227", Qg = "_taskName_yz5cm_235", Xg = "_taskDesc_yz5cm_241", Zg = "_taskMeta_yz5cm_249", ef = "_metaLine_yz5cm_256", tf = "_metaNext_yz5cm_264", nf = "_footerHint_yz5cm_272", me = {
9197
+ host: kg,
9198
+ header: Cg,
9199
+ title: wg,
9200
+ subtitle: Sg,
9201
+ newBtn: Tg,
9202
+ schedulerBanner: xg,
9203
+ statusDot: Ig,
9204
+ statusDotOn: Lg,
9205
+ schedulerText: Ag,
9206
+ schedulerTitle: Bg,
9207
+ schedulerDesc: Rg,
9208
+ demoBadge: Dg,
9209
+ taskList: Pg,
9210
+ sectionHead: Mg,
9211
+ sectionTitle: Eg,
9212
+ sectionCount: $g,
9213
+ recordList: Og,
9214
+ recordRow: Hg,
9215
+ runStatus: jg,
9216
+ run_success: Gg,
9217
+ run_failed: Fg,
9218
+ run_running: zg,
9219
+ recordMain: Ug,
9220
+ recordTask: Wg,
9221
+ recordSummary: qg,
9222
+ recordMeta: Vg,
9223
+ taskRow: Kg,
9224
+ toggle: Jg,
9225
+ taskMain: Yg,
9226
+ taskName: Qg,
9227
+ taskDesc: Xg,
9228
+ taskMeta: Zg,
9229
+ metaLine: ef,
9230
+ metaNext: tf,
9231
+ footerHint: nf
9232
9232
  };
9233
- function nf(t) {
9233
+ function af(t) {
9234
9234
  const s = t.trim().split(/\s+/);
9235
9235
  if (s.length !== 5) return t;
9236
9236
  const [a, i, l, c, h] = s;
@@ -9296,12 +9296,12 @@ const Wn = [
9296
9296
  duration: "1 分 03 秒",
9297
9297
  summary: "晨报已生成并发送到聊天:昨日 8 条群聊进展、2 个代码变更"
9298
9298
  }
9299
- ], af = {
9299
+ ], sf = {
9300
9300
  success: "成功",
9301
9301
  failed: "失败",
9302
9302
  running: "进行中"
9303
9303
  };
9304
- function Mf({
9304
+ function Ef({
9305
9305
  localOnline: t
9306
9306
  }) {
9307
9307
  return /* @__PURE__ */ n("div", { className: me.host, children: [
@@ -9353,7 +9353,7 @@ function Mf({
9353
9353
  /* @__PURE__ */ n("div", { className: me.taskMeta, children: [
9354
9354
  /* @__PURE__ */ n("span", { className: me.metaLine, children: [
9355
9355
  /* @__PURE__ */ e(Gs, {}),
9356
- nf(s.cron)
9356
+ af(s.cron)
9357
9357
  ] }),
9358
9358
  /* @__PURE__ */ n("span", { className: me.metaLine, children: [
9359
9359
  /* @__PURE__ */ e(rn, {}),
@@ -9378,7 +9378,7 @@ function Mf({
9378
9378
  "span",
9379
9379
  {
9380
9380
  className: `${me.runStatus} ${me[`run_${s.status}`]}`,
9381
- children: af[s.status]
9381
+ children: sf[s.status]
9382
9382
  }
9383
9383
  ),
9384
9384
  /* @__PURE__ */ n("div", { className: me.recordMain, children: [
@@ -9394,13 +9394,13 @@ function Mf({
9394
9394
  ] });
9395
9395
  }
9396
9396
  export {
9397
- Df as C,
9398
- Pf as E,
9399
- If as P,
9400
- Mf as S,
9401
- Bf as T,
9402
- Lf as W,
9403
- xf as a,
9404
- Af as b,
9405
- Rf as c
9397
+ Pf as C,
9398
+ Mf as E,
9399
+ Lf as P,
9400
+ Ef as S,
9401
+ Rf as T,
9402
+ Af as W,
9403
+ If as a,
9404
+ Bf as b,
9405
+ Df as c
9406
9406
  };