bilitoolkit-ui 0.0.9 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,21 +1,21 @@
1
- import { reactive as Ce, watch as le, ref as z, onMounted as ne, onUnmounted as ce, computed as C, toValue as te, shallowRef as Bt, useTemplateRef as K, defineComponent as B, openBlock as r, createElementBlock as f, createElementVNode as a, toDisplayString as m, renderSlot as I, normalizeClass as se, createVNode as v, createCommentVNode as $, useModel as he, createBlock as k, withCtx as d, unref as h, createTextVNode as A, mergeModels as J, withDirectives as W, Fragment as R, renderList as O, normalizeStyle as xe, toRaw as St, render as me, vShow as ge, createApp as De, useCssVars as $t, mergeProps as G, normalizeProps as zt, guardReactiveProps as Dt, withModifiers as Ee, nextTick as we, useSlots as Oe, useAttrs as Pt, h as It } from "vue";
2
- import { defineStore as je, storeToRefs as Mt } from "pinia";
3
- import { defaultAppThemeState as Ne, APP_THEME_STATE as Te, UI_DB_KEYS as Le } from "./common.js";
4
- import { setupToolkitApi as Vt } from "bilitoolkit-runtime";
5
- import Ze from "lodash-es/cloneDeep";
1
+ import { reactive as Ce, watch as X, ref as S, onMounted as ne, onUnmounted as ce, computed as C, toValue as Z, shallowRef as St, useTemplateRef as ee, onBeforeUnmount as $t, defineComponent as B, withDirectives as J, openBlock as r, createElementBlock as g, createElementVNode as a, vShow as me, toDisplayString as p, createApp as De, renderSlot as I, normalizeClass as G, createVNode as v, createCommentVNode as z, useModel as he, createBlock as A, withCtx as d, unref as h, createTextVNode as k, mergeModels as Y, Fragment as R, renderList as O, normalizeStyle as xe, toRaw as zt, render as ge, useCssVars as Dt, mergeProps as K, normalizeProps as Pt, guardReactiveProps as It, withModifiers as Ee, nextTick as we, useSlots as Ne, useAttrs as Vt, h as Mt } from "vue";
2
+ import { defineStore as Ze, storeToRefs as Qt } from "pinia";
3
+ import { defaultAppThemeState as We, APP_THEME_STATE as Le, UI_DB_KEYS as Re } from "./common.js";
4
+ import { setupToolkitApi as Tt } from "bilitoolkit-runtime";
5
+ import Ge from "lodash-es/cloneDeep";
6
6
  import "element-plus/theme-chalk/dark/css-vars.css";
7
7
  import "element-plus/theme-chalk/el-loading.css";
8
8
  import "element-plus/theme-chalk/el-message.css";
9
9
  import "element-plus/theme-chalk/el-message-box.css";
10
- import { ElMessageBox as Qt, ElMessage as Ht } from "element-plus";
11
- import { BiliApiBusinessError as Tt, BiliClient as Lt, audioQualityMap as Rt, videoQualityMap as Ft, videoCodecIdMap as Ut, parseVideoZoneV1 as qt, parseVideoZoneV2 as Ot } from "@ybgnb/bili-api";
12
- import { isCanceledError as jt, getErrorMessage as Nt, createAbortError as We, serializeError as Zt, getFormattedDateTime as Wt, unwrapBizResult as Gt, inArray as Jt, formatFileSizeFromKB as Kt, formatDuration as Pe, formatTime as fe } from "@ybgnb/utils";
13
- import { AppError as Yt, downloadTaskStatusMap as Ge, downloadResourceNameMap as Xt } from "bilitoolkit-types";
14
- import { ElDialog as re, ElButton as Z, ElLoadingDirective as Ie, ElRow as es, ElCol as ts, ElInput as Je, ElProgress as Ke, ElIcon as Me, ElTooltip as Ye, ElPopconfirm as ss, ElMenuItem as Xe, ElSubMenu as ls, ElMenu as ns, ElPopover as as, ElDropdown as os, ElDropdownMenu as is, ElDropdownItem as cs, ElTable as rs, ElTableColumn as us, ElEmpty as et, ElPagination as tt, ElCheckbox as ds, ElTag as st, ElText as vs, ElImage as lt, ElDescriptions as ps, ElDescriptionsItem as ms, ElRadioGroup as gs, ElRadioButton as fs } from "element-plus/es";
10
+ import { ElMessageBox as Ht, ElMessage as Lt } from "element-plus";
11
+ import { BiliApiBusinessError as Rt, BiliClient as Ft, audioQualityMap as Ut, videoQualityMap as qt, videoCodecIdMap as Ot, parseVideoZoneV1 as jt, parseVideoZoneV2 as Nt } from "@ybgnb/bili-api";
12
+ import { isCanceledError as Zt, getErrorMessage as Wt, createAbortError as Je, serializeError as Gt, getFormattedDateTime as Jt, unwrapBizResult as Kt, inArray as Yt, formatFileSizeFromKB as Xt, formatDuration as Pe, formatTime as fe } from "@ybgnb/utils";
13
+ import { AppError as es, downloadTaskStatusMap as Ke, downloadResourceNameMap as ts } from "bilitoolkit-types";
14
+ import { ElLoadingDirective as Ie, ElDialog as re, ElButton as W, ElRow as ss, ElCol as ls, ElInput as Ye, ElProgress as Xe, ElIcon as Ve, ElTooltip as et, ElPopconfirm as ns, ElMenuItem as tt, ElSubMenu as as, ElMenu as os, ElPopover as is, ElDropdown as cs, ElDropdownMenu as rs, ElDropdownItem as us, ElTable as ds, ElTableColumn as vs, ElEmpty as st, ElPagination as lt, ElCheckbox as ps, ElTag as nt, ElText as ms, ElImage as at, ElDescriptions as gs, ElDescriptionsItem as fs, ElRadioGroup as _s, ElRadioButton as hs } from "element-plus/es";
15
15
  import "element-plus/es/components/base/style/css";
16
+ import "element-plus/es/components/loading/style/css";
16
17
  import "element-plus/es/components/dialog/style/css";
17
18
  import "element-plus/es/components/button/style/css";
18
- import "element-plus/es/components/loading/style/css";
19
19
  import "element-plus/es/components/row/style/css";
20
20
  import "element-plus/es/components/col/style/css";
21
21
  import "element-plus/es/components/input/style/css";
@@ -42,57 +42,57 @@ import "element-plus/es/components/image/style/css";
42
42
  import "element-plus/es/components/text/style/css";
43
43
  import "element-plus/es/components/radio-group/style/css";
44
44
  import "element-plus/es/components/radio-button/style/css";
45
- const H = Vt();
46
- var T = (e, l, s, t = "srgb", i) => `color-mix(in ${t}, ${e} ${s}%, ${l} ${100 - s}%)`, nt = (e) => {
45
+ const T = Tt();
46
+ var H = (e, l, s, t = "srgb", i) => `color-mix(in ${t}, ${e} ${s}%, ${l} ${100 - s}%)`, ot = (e) => {
47
47
  let l = parseInt(e.slice(1, 3), 16), s = parseInt(e.slice(3, 5), 16), t = parseInt(e.slice(5, 7), 16);
48
48
  return { r: l, g: s, b: t };
49
- }, _s = (e, l) => {
49
+ }, ws = (e, l) => {
50
50
  document.documentElement.style.setProperty(e, l);
51
51
  };
52
- const Re = "#ffffff", Fe = "#000000", ke = (e, l, s) => {
53
- const { r: t, g: i, b: n } = nt(e);
52
+ const Fe = "#ffffff", Ue = "#000000", Ae = (e, l, s) => {
53
+ const { r: t, g: i, b: n } = ot(e);
54
54
  for (let o = 2; o < 100; ) {
55
55
  const c = o / 100;
56
56
  l[`${s}-transparent-${o}`] = `rgba(${t}, ${i}, ${n}, ${c})`, o >= 10 ? o += 5 : o++;
57
57
  }
58
- }, Ve = (e, l, s) => {
58
+ }, Me = (e, l, s) => {
59
59
  const t = {};
60
60
  s ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
61
- const i = t["--app-color-foreground"] = s ? Re : Fe, n = t["--app-color-background"] = s ? Fe : Re;
62
- t["--app-primary-color"] = e, t["--el-color-primary"] = e, t["--el-color-primary-light-1"] = T(e, n, 90), t["--el-color-primary-light-2"] = T(e, n, 80), t["--el-color-primary-light-3"] = T(e, n, 70), t["--el-color-primary-light-4"] = T(e, n, 60), t["--el-color-primary-light-5"] = T(e, n, 50), t["--el-color-primary-light-6"] = T(e, n, 40), t["--el-color-primary-light-7"] = T(e, n, 30), t["--el-color-primary-light-8"] = T(e, n, 20), t["--el-color-primary-light-9"] = T(e, n, 12), t["--el-color-primary-dark-1"] = T(e, i, 90), t["--el-color-primary-dark-2"] = T(e, i, 80), t["--el-color-primary-dark-3"] = T(e, i, 70), t["--el-color-primary-dark-4"] = T(e, i, 60), t["--el-color-primary-dark-5"] = T(e, i, 50), t["--el-color-primary-dark-6"] = T(e, i, 40), t["--el-color-primary-dark-7"] = T(e, i, 30), t["--el-color-primary-dark-8"] = T(e, i, 20), t["--el-color-primary-dark-9"] = T(e, i, 12);
63
- const { r: o, g: c, b: u } = nt(e);
64
- t["--app-bg-color-overlay"] = `rgba(${o}, ${c}, ${u}, 0.05)`, t["--app-bg-color-overlay-hover"] = `rgba(${o}, ${c}, ${u}, 0.15)`, t["--app-bg-color-page"] = s ? "var(--el-fill-color-blank)" : "transparent", t["--app-bg-color-menus"] = "var(--app-bg-color-page)", s ? t["--app-text-shadow"] = " 0px 1px 2px rgba(255, 255, 255, .4)" : t["--app-text-shadow"] = " 0px 1px 2px rgba(0, 0, 0, .4)", ke(e, t, "--app-color-primary"), ke(n, t, "--app-color-background"), ke(i, t, "--app-color-foreground");
65
- for (const p in t)
66
- _s(p, t[p]);
61
+ const i = t["--app-color-foreground"] = s ? Fe : Ue, n = t["--app-color-background"] = s ? Ue : Fe;
62
+ t["--app-primary-color"] = e, t["--el-color-primary"] = e, t["--el-color-primary-light-1"] = H(e, n, 90), t["--el-color-primary-light-2"] = H(e, n, 80), t["--el-color-primary-light-3"] = H(e, n, 70), t["--el-color-primary-light-4"] = H(e, n, 60), t["--el-color-primary-light-5"] = H(e, n, 50), t["--el-color-primary-light-6"] = H(e, n, 40), t["--el-color-primary-light-7"] = H(e, n, 30), t["--el-color-primary-light-8"] = H(e, n, 20), t["--el-color-primary-light-9"] = H(e, n, 12), t["--el-color-primary-dark-1"] = H(e, i, 90), t["--el-color-primary-dark-2"] = H(e, i, 80), t["--el-color-primary-dark-3"] = H(e, i, 70), t["--el-color-primary-dark-4"] = H(e, i, 60), t["--el-color-primary-dark-5"] = H(e, i, 50), t["--el-color-primary-dark-6"] = H(e, i, 40), t["--el-color-primary-dark-7"] = H(e, i, 30), t["--el-color-primary-dark-8"] = H(e, i, 20), t["--el-color-primary-dark-9"] = H(e, i, 12);
63
+ const { r: o, g: c, b: u } = ot(e);
64
+ t["--app-bg-color-overlay"] = `rgba(${o}, ${c}, ${u}, 0.05)`, t["--app-bg-color-overlay-hover"] = `rgba(${o}, ${c}, ${u}, 0.15)`, t["--app-bg-color-page"] = s ? "var(--el-fill-color-blank)" : "transparent", t["--app-bg-color-menus"] = "var(--app-bg-color-page)", s ? t["--app-text-shadow"] = " 0px 1px 2px rgba(255, 255, 255, .4)" : t["--app-text-shadow"] = " 0px 1px 2px rgba(0, 0, 0, .4)", Ae(e, t, "--app-color-primary"), Ae(n, t, "--app-color-background"), Ae(i, t, "--app-color-foreground");
65
+ for (const m in t)
66
+ ws(m, t[m]);
67
67
  }, Qe = async (e) => {
68
- const l = e ?? (await H.system.getAppThemeState()).themeMode;
69
- return l === "system" ? await H.system.shouldUseDarkColors() : l === "dark";
68
+ const l = e ?? (await T.system.getAppThemeState()).themeMode;
69
+ return l === "system" ? await T.system.shouldUseDarkColors() : l === "dark";
70
70
  }, _e = async (e) => {
71
- const l = e ?? await H.system.getAppThemeState(), s = await Qe(l.themeMode);
72
- Ve(l.primaryColor, l.themeMode, s);
73
- }, fo = async () => {
71
+ const l = e ?? await T.system.getAppThemeState(), s = await Qe(l.themeMode);
72
+ Me(l.primaryColor, l.themeMode, s);
73
+ }, bo = async () => {
74
74
  await _e(void 0);
75
- }, _o = async () => {
76
- await _e(Ne);
77
- }, ho = async (e) => {
75
+ }, Co = async () => {
76
+ await _e(We);
77
+ }, xo = async (e) => {
78
78
  const s = ye().state, t = await Qe(e);
79
- s.dark = t, s.themeMode = e, Ve(s.primaryColor, e, t);
80
- }, wo = async (e) => {
79
+ s.dark = t, s.themeMode = e, Me(s.primaryColor, e, t);
80
+ }, Eo = async (e) => {
81
81
  const s = ye().state, t = await Qe(s.themeMode);
82
- s.primaryColor = e, Ve(e, s.themeMode, t);
83
- }, ye = je(
82
+ s.primaryColor = e, Me(e, s.themeMode, t);
83
+ }, ye = Ze(
84
84
  "biliToolkit-ui-theme",
85
85
  () => {
86
- const e = Ce(Ne);
86
+ const e = Ce(We);
87
87
  let l = !1;
88
88
  const s = async (n, o) => {
89
89
  const c = await window.toolkitApi.system.getAppThemeState();
90
- Object.assign(e, c), await _e(c), n && o && (l = !0, le(
90
+ Object.assign(e, c), await _e(c), n && o && (l = !0, X(
91
91
  () => e,
92
92
  (u) => {
93
- const p = Ze(u);
94
- window.toolkitApi.db.write(n, p).then(async () => {
95
- await window.toolkitApi.event.emit(o, p);
93
+ const m = Ge(u);
94
+ window.toolkitApi.db.write(n, m).then(async () => {
95
+ await window.toolkitApi.event.emit(o, m);
96
96
  });
97
97
  },
98
98
  { deep: !0 }
@@ -103,8 +103,8 @@ const Re = "#ffffff", Fe = "#000000", ke = (e, l, s) => {
103
103
  }).catch();
104
104
  const t = (n) => (e.primaryColor = n, e.primaryColor);
105
105
  return { init: s, state: e, switchThemeColor: () => {
106
- e.primaryColorIndex = (e.primaryColorIndex + 1) % Te.primaryColors.length;
107
- const n = Te.primaryColors[e.primaryColorIndex];
106
+ e.primaryColorIndex = (e.primaryColorIndex + 1) % Le.primaryColors.length;
107
+ const n = Le.primaryColors[e.primaryColorIndex];
108
108
  return t(n);
109
109
  }, setPrimaryColor: t };
110
110
  },
@@ -113,18 +113,18 @@ const Re = "#ffffff", Fe = "#000000", ke = (e, l, s) => {
113
113
  persist: !1
114
114
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
115
115
  }
116
- ), at = je("biliToolkit-ui-selected-user", () => {
117
- const e = z(null), l = async () => {
116
+ ), Te = Ze("biliToolkit-ui-selected-user", () => {
117
+ const e = S(null), l = async () => {
118
118
  try {
119
- e.value = (await window.toolkitApi.db.init(Le.UI_SELECTED_USER))?.user ?? null;
119
+ e.value = (await window.toolkitApi.db.init(Re.UI_SELECTED_USER))?.user ?? null;
120
120
  } catch {
121
121
  }
122
122
  };
123
- return le(
123
+ return X(
124
124
  () => e.value,
125
125
  async (n) => {
126
- let o = n != null ? Ze(n) : null;
127
- await window.toolkitApi.db.write(Le.UI_SELECTED_USER, {
126
+ let o = n != null ? Ge(n) : null;
127
+ await window.toolkitApi.db.write(Re.UI_SELECTED_USER, {
128
128
  user: o
129
129
  }), o && await window.toolkitApi.user.switchCurrUser(o);
130
130
  },
@@ -137,56 +137,56 @@ const Re = "#ffffff", Fe = "#000000", ke = (e, l, s) => {
137
137
  if (e.value == null)
138
138
  throw new Error("请先登录");
139
139
  } };
140
- }), yo = async (e, l) => (Promise.resolve({ }), Promise.resolve({ }), Promise.resolve({ }), await ye(e).init(l?.appThemeDBName, l?.appThemeUpdateEvent), await at(e).init(), {
140
+ }), Bo = async (e, l) => (Promise.resolve({ }), Promise.resolve({ }), Promise.resolve({ }), await ye(e).init(l?.appThemeDBName, l?.appThemeUpdateEvent), await Te(e).init(), {
141
141
  install(s) {
142
142
  }
143
143
  });
144
- function hs(e) {
145
- H.system.saveLog({
144
+ function ys(e) {
145
+ T.system.saveLog({
146
146
  level: "error",
147
- data: [JSON.stringify(Zt(e))]
147
+ data: [JSON.stringify(Gt(e))]
148
148
  }).catch();
149
149
  }
150
- function Ue(e, l) {
150
+ function qe(e, l) {
151
151
  return e == null ? !1 : e instanceof l || typeof e == "object" && "name" in e && e.name === l.name;
152
152
  }
153
- const Ao = (e) => {
154
- if (!jt(e))
153
+ const So = (e) => {
154
+ if (!Zt(e))
155
155
  if (e) {
156
156
  console.error(e);
157
157
  const l = () => {
158
- H && H.system && hs(e);
158
+ T && T.system && ys(e);
159
159
  };
160
- Ue(e, Yt) ? ie(`${e.message}`) : Ue(e, Tt) ? (ie(`${e.message} (${e.responseCode})`), l()) : (ie(Nt(e)), l());
160
+ qe(e, es) ? ie(`${e.message}`) : qe(e, Rt) ? (ie(`${e.message} (${e.responseCode})`), l()) : (ie(Wt(e)), l());
161
161
  } else
162
- Y({
162
+ te({
163
163
  message: "未知错误",
164
164
  type: "error"
165
165
  });
166
166
  };
167
- function Y(e) {
167
+ function te(e) {
168
168
  const l = {
169
169
  message: "",
170
170
  type: "success",
171
171
  duration: 3e3
172
172
  };
173
- typeof e == "string" ? l.message = e : Object.assign(l, e), Ht(l);
173
+ typeof e == "string" ? l.message = e : Object.assign(l, e), Lt(l);
174
174
  }
175
175
  function ie(e) {
176
- Y({
176
+ te({
177
177
  message: e,
178
178
  type: "error"
179
179
  });
180
180
  }
181
- function ko(e) {
182
- Y({
181
+ function $o(e) {
182
+ te({
183
183
  message: e,
184
184
  type: "warning"
185
185
  });
186
186
  }
187
- function ws(e, l = "提示", s = {}) {
187
+ function ks(e, l = "提示", s = {}) {
188
188
  return new Promise((t, i) => {
189
- Qt.confirm(
189
+ Ht.confirm(
190
190
  e,
191
191
  l,
192
192
  Object.assign(
@@ -202,18 +202,18 @@ function ws(e, l = "提示", s = {}) {
202
202
  ).then(() => {
203
203
  t();
204
204
  }).catch(() => {
205
- i(We());
205
+ i(Je());
206
206
  });
207
207
  });
208
208
  }
209
- async function bo(e) {
209
+ async function zo(e) {
210
210
  for (const [l, s, t] of e)
211
- await ws(l, s, t);
211
+ await ks(l, s, t);
212
212
  }
213
213
  const He = (e) => {
214
- const l = e?.loading ?? z(!1);
214
+ const l = e?.loading ?? S(!1);
215
215
  let s = null;
216
- const t = z(!1);
216
+ const t = S(!1);
217
217
  return {
218
218
  loading: l,
219
219
  hasLoaded: t,
@@ -226,7 +226,7 @@ const He = (e) => {
226
226
  }
227
227
  })()), s)
228
228
  };
229
- }, Co = (e, l = 3e3) => {
229
+ }, Do = (e, l = 3e3) => {
230
230
  const { loading: s, loadingData: t } = He({ singleFlight: !0 }), i = t(e);
231
231
  let n = null;
232
232
  return ne(async () => {
@@ -236,29 +236,29 @@ const He = (e) => {
236
236
  }), { loading: s, refreshTableData: i, reset: () => {
237
237
  n && (clearInterval(n), n = null), i(), n = setInterval(i, l);
238
238
  } };
239
- }, ot = (e) => {
239
+ }, it = (e) => {
240
240
  const { fetchPage: l, pageParams: s, queryParams: t, autoLoad: i, onLoaded: n } = e, o = C(() => {
241
- const D = te(s);
241
+ const D = Z(s);
242
242
  return {
243
243
  pageNum: D?.pageNum ?? 1,
244
244
  pageSize: D?.pageSize ?? 20,
245
245
  totalPages: 0,
246
246
  total: 0
247
247
  };
248
- }), c = z(o.value), u = z([]), { loading: p, loadingData: _ } = He(), w = _(async () => {
249
- const D = te(t), V = {
248
+ }), c = S(o.value), u = S([]), { loading: m, loadingData: f } = He(), w = f(async () => {
249
+ const D = Z(t), M = {
250
250
  pageNum: c.value.pageNum,
251
251
  pageSize: c.value.pageSize
252
- }, { data: F, ...P } = D ? await l(V, D) : await l(V);
252
+ }, { data: F, ...P } = D ? await l(M, D) : await l(M);
253
253
  u.value = F, c.value = P, n?.();
254
- }), g = () => {
255
- const { pageSize: D, ...V } = o.value;
256
- Object.assign(c.value, V);
254
+ }), _ = () => {
255
+ const { pageSize: D, ...M } = o.value;
256
+ Object.assign(c.value, M);
257
257
  }, b = async () => {
258
- g(), await w();
258
+ _(), await w();
259
259
  }, x = async () => {
260
260
  c.value.pageNum = 1, await w();
261
- }, M = async () => {
261
+ }, V = async () => {
262
262
  await x();
263
263
  }, E = async () => {
264
264
  await w();
@@ -268,41 +268,41 @@ const He = (e) => {
268
268
  }), {
269
269
  pageData: c,
270
270
  tableData: u,
271
- loading: p,
271
+ loading: m,
272
272
  refresh: w,
273
273
  resetAndRefresh: b,
274
274
  resetPageAndRefresh: x,
275
- handleSizeChange: M,
275
+ handleSizeChange: V,
276
276
  handleCurrPageChange: E
277
277
  };
278
- }, xo = (e, l, s = []) => {
279
- const t = Bt([...s]);
280
- function i(g) {
281
- return t.value.includes(l(g));
278
+ }, Po = (e, l, s = []) => {
279
+ const t = St([...s]);
280
+ function i(_) {
281
+ return t.value.includes(l(_));
282
282
  }
283
- function n(g) {
284
- const b = l(g);
285
- i(g) ? t.value = t.value.filter((x) => x !== b) : t.value = [...t.value, b];
283
+ function n(_) {
284
+ const b = l(_);
285
+ i(_) ? t.value = t.value.filter((x) => x !== b) : t.value = [...t.value, b];
286
286
  }
287
287
  const o = C(() => {
288
- const g = te(e);
289
- return g.length > 0 && g.every((b) => t.value.includes(l(b)));
288
+ const _ = Z(e);
289
+ return _.length > 0 && _.every((b) => t.value.includes(l(b)));
290
290
  });
291
291
  function c() {
292
- o.value ? t.value = [] : t.value = te(e).map(l);
292
+ o.value ? t.value = [] : t.value = Z(e).map(l);
293
293
  }
294
294
  function u() {
295
- return te(e).filter((g) => t.value.includes(l(g)));
295
+ return Z(e).filter((_) => t.value.includes(l(_)));
296
296
  }
297
- function p() {
298
- const g = new Set(te(e).map(l));
299
- t.value = t.value.filter((b) => g.has(b));
297
+ function m() {
298
+ const _ = new Set(Z(e).map(l));
299
+ t.value = t.value.filter((b) => _.has(b));
300
300
  }
301
- function _() {
301
+ function f() {
302
302
  t.value = [];
303
303
  }
304
- function w(g) {
305
- t.value = [...g];
304
+ function w(_) {
305
+ t.value = [..._];
306
306
  }
307
307
  return {
308
308
  selectedIds: t,
@@ -311,12 +311,12 @@ const He = (e) => {
311
311
  isAllSelected: o,
312
312
  toggleAll: c,
313
313
  getSelectedData: u,
314
- cleanupSelected: p,
315
- clearSelected: _,
314
+ cleanupSelected: m,
315
+ clearSelected: f,
316
316
  select: w
317
317
  };
318
- }, ys = (e) => {
319
- const l = K(e), s = z(0), t = () => {
318
+ }, As = (e) => {
319
+ const l = ee(e), s = S(0), t = () => {
320
320
  l.value?.clientHeight && (s.value = l.value.clientHeight);
321
321
  };
322
322
  let i, n = 0;
@@ -331,16 +331,140 @@ const He = (e) => {
331
331
  height: s,
332
332
  updateHeight: t
333
333
  };
334
- }, As = { class: "setting-group" }, ks = { class: "setting-group__name" }, bs = { class: "setting-group__list" }, Eo = /* @__PURE__ */ B({
334
+ };
335
+ function Io(e) {
336
+ const l = S(!1), s = S(!1), t = S(!1);
337
+ let i = null, n = null;
338
+ const o = () => {
339
+ const c = Z(e);
340
+ if (!c) {
341
+ l.value = !1, s.value = !1, t.value = !1;
342
+ return;
343
+ }
344
+ l.value = c.scrollWidth > c.clientWidth, s.value = c.scrollHeight > c.clientHeight, t.value = l.value || s.value;
345
+ };
346
+ return X(
347
+ () => Z(e),
348
+ (c) => {
349
+ i?.disconnect(), n?.disconnect(), c && (o(), i = new ResizeObserver(() => {
350
+ o();
351
+ }), i.observe(c), n = new MutationObserver(() => {
352
+ o();
353
+ }), n.observe(c, {
354
+ childList: !0,
355
+ subtree: !0,
356
+ characterData: !0
357
+ }));
358
+ },
359
+ {
360
+ immediate: !0
361
+ }
362
+ ), $t(() => {
363
+ i?.disconnect(), n?.disconnect();
364
+ }), {
365
+ hasHorizontalScrollbar: l,
366
+ hasVerticalScrollbar: s,
367
+ hasScrollbar: t,
368
+ checkScrollbar: o
369
+ };
370
+ }
371
+ const bs = { class: "loading-mask el-overlay" }, Cs = { class: "loading-content" }, xs = { class: "loading-spinner" }, Es = { class: "loading-text" }, Bs = /* @__PURE__ */ B({
372
+ __name: "LoadingDialog",
373
+ setup(e, { expose: l }) {
374
+ const s = S(!1), t = S(""), i = S(!1);
375
+ let n;
376
+ const o = (f = {}) => {
377
+ typeof f == "string" ? t.value = f || "加载中" : (t.value = f.message ?? "加载中", i.value = f.showCancel ?? !1, n = f.onCancel, f?.autoCloseDelay && setTimeout(() => {
378
+ u();
379
+ }, f?.autoCloseDelay)), s.value = !0;
380
+ }, c = (f) => {
381
+ t.value = f;
382
+ }, u = () => {
383
+ s.value = !1;
384
+ }, m = async () => {
385
+ await n?.(), u();
386
+ };
387
+ return l({
388
+ show: o,
389
+ update: c,
390
+ close: u
391
+ }), (f, w) => {
392
+ const _ = Ie;
393
+ return J((r(), g("div", bs, [
394
+ a("div", Cs, [
395
+ J(a("div", {
396
+ class: "options-close-btn",
397
+ onClick: m
398
+ }, null, 512), [
399
+ [me, i.value]
400
+ ]),
401
+ J(a("div", xs, null, 512), [
402
+ [_, !0]
403
+ ]),
404
+ a("div", Es, p(t.value), 1)
405
+ ])
406
+ ], 512)), [
407
+ [me, s.value]
408
+ ]);
409
+ };
410
+ }
411
+ }), L = (e, l) => {
412
+ const s = e.__vccOpts || e;
413
+ for (const [t, i] of l)
414
+ s[t] = i;
415
+ return s;
416
+ }, Ss = /* @__PURE__ */ L(Bs, [["__scopeId", "data-v-3a3348da"]]);
417
+ let ve = null;
418
+ function be() {
419
+ if (ve) return ve;
420
+ const e = document.createElement("div");
421
+ return document.body.appendChild(e), ve = De(Ss).mount(e), ve;
422
+ }
423
+ const Oe = {
424
+ show(e) {
425
+ be().show(e);
426
+ },
427
+ update(e) {
428
+ be().update(e);
429
+ },
430
+ close() {
431
+ be().close();
432
+ }
433
+ }, Vo = (e, l) => {
434
+ const s = l?.loading ?? S(!1), t = S(!1), i = Te();
435
+ return {
436
+ loading: s,
437
+ execTask: async (...o) => {
438
+ try {
439
+ s.value = !0, i.assertLoggedIn();
440
+ const c = new AbortController();
441
+ return Oe.show({
442
+ message: l?.initMsg ?? "加载中",
443
+ showCancel: !l?.disableCancel,
444
+ onCancel: () => c.abort()
445
+ }), await e(
446
+ {
447
+ signal: c.signal,
448
+ user: i.user
449
+ },
450
+ ...o
451
+ );
452
+ } finally {
453
+ Oe.close(), s.value = !1;
454
+ }
455
+ },
456
+ isAborted: t
457
+ };
458
+ }, $s = { class: "setting-group" }, zs = { class: "setting-group__name" }, Ds = { class: "setting-group__list" }, Mo = /* @__PURE__ */ B({
335
459
  __name: "SettingGroup",
336
460
  props: {
337
461
  name: {}
338
462
  },
339
463
  setup(e) {
340
464
  const l = e;
341
- return (s, t) => (r(), f("div", As, [
342
- a("div", ks, m(l.name), 1),
343
- a("div", bs, [
465
+ return (s, t) => (r(), g("div", $s, [
466
+ a("div", zs, p(l.name), 1),
467
+ a("div", Ds, [
344
468
  I(s.$slots, "default")
345
469
  ])
346
470
  ]));
@@ -352,14 +476,14 @@ const He = (e) => {
352
476
  },
353
477
  setup(e) {
354
478
  const l = e, s = ye(), t = C(() => s.state.dark ? `ri-${l.icon}-fill` : `ri-${l.icon}-line`);
355
- return (i, n) => (r(), f("i", {
356
- class: se([t.value, "icon-font"])
479
+ return (i, n) => (r(), g("i", {
480
+ class: G([t.value, "icon-font"])
357
481
  }, null, 2));
358
482
  }
359
- }), Cs = { class: "setting-item" }, xs = { class: "setting-item__content" }, Es = { class: "setting-item__content__title" }, Bs = {
483
+ }), Ps = { class: "setting-item" }, Is = { class: "setting-item__content" }, Vs = { class: "setting-item__content__title" }, Ms = {
360
484
  key: 0,
361
485
  class: "setting-item__content__desc"
362
- }, Ss = { class: "setting-item__options" }, $s = /* @__PURE__ */ B({
486
+ }, Qs = { class: "setting-item__options" }, Ts = /* @__PURE__ */ B({
363
487
  __name: "SettingItem",
364
488
  props: {
365
489
  title: {},
@@ -367,32 +491,27 @@ const He = (e) => {
367
491
  iconClass: {}
368
492
  },
369
493
  setup(e) {
370
- const l = e, s = z("equalizer-2");
494
+ const l = e, s = S("equalizer-2");
371
495
  return (t, i) => {
372
496
  const n = N;
373
- return r(), f("div", Cs, [
497
+ return r(), g("div", Ps, [
374
498
  v(n, {
375
499
  class: "setting-item__icon",
376
500
  icon: l.iconClass || s.value
377
501
  }, null, 8, ["icon"]),
378
- a("div", xs, [
379
- a("div", Es, m(l.title), 1),
380
- l.desc ? (r(), f("div", Bs, m(l.desc), 1)) : $("", !0)
502
+ a("div", Is, [
503
+ a("div", Vs, p(l.title), 1),
504
+ l.desc ? (r(), g("div", Ms, p(l.desc), 1)) : z("", !0)
381
505
  ]),
382
- a("div", Ss, [
506
+ a("div", Qs, [
383
507
  I(t.$slots, "default", {}, void 0, !0)
384
508
  ])
385
509
  ]);
386
510
  };
387
511
  }
388
- }), L = (e, l) => {
389
- const s = e.__vccOpts || e;
390
- for (const [t, i] of l)
391
- s[t] = i;
392
- return s;
393
- }, Bo = /* @__PURE__ */ L($s, [["__scopeId", "data-v-bb581bf5"]]);
394
- function zs(e) {
395
- const l = z(e), s = z(null), t = (n) => {
512
+ }), Qo = /* @__PURE__ */ L(Ts, [["__scopeId", "data-v-bb581bf5"]]);
513
+ function Hs(e) {
514
+ const l = S(e), s = S(null), t = (n) => {
396
515
  l.value = e, s.value = setInterval(() => {
397
516
  l.value > 1 ? l.value-- : (i(), n());
398
517
  }, 1e3);
@@ -401,9 +520,9 @@ function zs(e) {
401
520
  };
402
521
  return ce(i), { countdown: l, start: t, stop: i };
403
522
  }
404
- const Ds = { class: "dialog-footer" }, So = /* @__PURE__ */ B({
523
+ const Ls = { class: "dialog-footer" }, To = /* @__PURE__ */ B({
405
524
  __name: "CountdownDialog",
406
- props: /* @__PURE__ */ J({
525
+ props: /* @__PURE__ */ Y({
407
526
  content: {},
408
527
  countdown: {},
409
528
  title: { default: "提示" },
@@ -414,22 +533,22 @@ const Ds = { class: "dialog-footer" }, So = /* @__PURE__ */ B({
414
533
  modelValue: { type: Boolean, required: !0 },
415
534
  modelModifiers: {}
416
535
  }),
417
- emits: /* @__PURE__ */ J(["onConfirm", "onCancel"], ["update:modelValue"]),
536
+ emits: /* @__PURE__ */ Y(["onConfirm", "onCancel"], ["update:modelValue"]),
418
537
  setup(e, { expose: l, emit: s }) {
419
- const t = e, i = he(e, "modelValue"), n = s, { countdown: o, start: c, stop: u } = zs(t.countdown);
420
- let p = !1;
421
- const _ = (x) => {
422
- p || (p = !0, u(), n(x === "confirm" ? "onConfirm" : "onCancel", x), i.value = !1, p = !1);
423
- }, w = () => _("confirm"), g = () => _("cancel"), b = () => {
424
- i.value = !0, c(g);
538
+ const t = e, i = he(e, "modelValue"), n = s, { countdown: o, start: c, stop: u } = Hs(t.countdown);
539
+ let m = !1;
540
+ const f = (x) => {
541
+ m || (m = !0, u(), n(x === "confirm" ? "onConfirm" : "onCancel", x), i.value = !1, m = !1);
542
+ }, w = () => f("confirm"), _ = () => f("cancel"), b = () => {
543
+ i.value = !0, c(_);
425
544
  };
426
- return le(i, (x, M) => {
427
- x && !M && c(g);
428
- }), l({ show: b }), (x, M) => {
429
- const E = Z, D = re;
430
- return r(), k(D, {
545
+ return X(i, (x, V) => {
546
+ x && !V && c(_);
547
+ }), l({ show: b }), (x, V) => {
548
+ const E = W, D = re;
549
+ return r(), A(D, {
431
550
  modelValue: i.value,
432
- "onUpdate:modelValue": M[0] || (M[0] = (V) => i.value = V),
551
+ "onUpdate:modelValue": V[0] || (V[0] = (M) => i.value = M),
433
552
  title: e.title,
434
553
  width: e.width,
435
554
  "close-on-click-modal": !1,
@@ -438,10 +557,10 @@ const Ds = { class: "dialog-footer" }, So = /* @__PURE__ */ B({
438
557
  "append-to-body": !0
439
558
  }, {
440
559
  footer: d(() => [
441
- a("div", Ds, [
442
- v(E, { onClick: g }, {
560
+ a("div", Ls, [
561
+ v(E, { onClick: _ }, {
443
562
  default: d(() => [
444
- A(m(e.cancelBtnText) + "(" + m(h(o)) + "s)", 1)
563
+ k(p(e.cancelBtnText) + "(" + p(h(o)) + "s)", 1)
445
564
  ]),
446
565
  _: 1
447
566
  }),
@@ -451,23 +570,23 @@ const Ds = { class: "dialog-footer" }, So = /* @__PURE__ */ B({
451
570
  onClick: w
452
571
  }, {
453
572
  default: d(() => [
454
- A(m(e.confirmBtnText), 1)
573
+ k(p(e.confirmBtnText), 1)
455
574
  ]),
456
575
  _: 1
457
576
  }, 8, ["disabled"])
458
577
  ])
459
578
  ]),
460
579
  default: d(() => [
461
- a("div", null, m(e.content), 1),
462
- a("div", null, m(h(o)) + "秒后自动取消", 1)
580
+ a("div", null, p(e.content), 1),
581
+ a("div", null, p(h(o)) + "秒后自动取消", 1)
463
582
  ]),
464
583
  _: 1
465
584
  }, 8, ["modelValue", "title", "width"]);
466
585
  };
467
586
  }
468
- }), Ps = { class: "select-dialog" }, Is = ["onClick"], Ms = { class: "option-item-label" }, Vs = { key: 0 }, Qs = { key: 1 }, Hs = /* @__PURE__ */ B({
587
+ }), Rs = { class: "select-dialog" }, Fs = ["onClick"], Us = { class: "option-item-label" }, qs = { key: 0 }, Os = { key: 1 }, js = /* @__PURE__ */ B({
469
588
  __name: "SelectDialog",
470
- props: /* @__PURE__ */ J({
589
+ props: /* @__PURE__ */ Y({
471
590
  title: { default: "请选择" },
472
591
  options: {},
473
592
  defaultSelectedList: { default: () => [] },
@@ -483,24 +602,24 @@ const Ds = { class: "dialog-footer" }, So = /* @__PURE__ */ B({
483
602
  modelValue: { type: Boolean, required: !0 },
484
603
  modelModifiers: {}
485
604
  }),
486
- emits: /* @__PURE__ */ J(["confirm"], ["update:modelValue"]),
605
+ emits: /* @__PURE__ */ Y(["confirm"], ["update:modelValue"]),
487
606
  setup(e, { emit: l }) {
488
- const s = e, t = he(e, "modelValue"), i = Ce([]), n = Ce([]), o = z(0), c = K("listRef"), { loading: u, loadingData: p } = He(), _ = z(!1), w = p(async (y) => {
607
+ const s = e, t = he(e, "modelValue"), i = Ce([]), n = Ce([]), o = S(0), c = ee("listRef"), { loading: u, loadingData: m } = He(), f = S(!1), w = m(async (y) => {
489
608
  n.splice(0, n.length, ...s.defaultSelectedList);
490
- let S = !1;
609
+ let $ = !1;
491
610
  y(() => {
492
- S = !0;
611
+ $ = !0;
493
612
  });
494
613
  const U = typeof s.options == "function" ? await s.options() : s.options;
495
- S || i.splice(0, i.length, ...U);
496
- }), g = () => {
497
- o.value = c.value?.clientWidth ?? 0, _.value = !0;
614
+ $ || i.splice(0, i.length, ...U);
615
+ }), _ = () => {
616
+ o.value = c.value?.clientWidth ?? 0, f.value = !0;
498
617
  };
499
- le(
618
+ X(
500
619
  t,
501
- async (y, S, U) => {
620
+ async (y, $, U) => {
502
621
  if (!y) {
503
- _.value = !1;
622
+ f.value = !1;
504
623
  return;
505
624
  }
506
625
  await w(U);
@@ -509,101 +628,101 @@ const Ds = { class: "dialog-footer" }, So = /* @__PURE__ */ B({
509
628
  );
510
629
  const b = l, x = () => {
511
630
  t.value = !1;
512
- }, M = () => {
631
+ }, V = () => {
513
632
  if (!n || n.length === 0) {
514
633
  ie(s.noSelectionTip);
515
634
  return;
516
635
  }
517
- b("confirm", St(n)), t.value = !1;
518
- }, E = C(() => s.showCurrentSelection && _.value && !u.value && n.length > 0), D = (y) => n.includes(y), V = (y) => {
519
- const S = n.indexOf(y);
520
- S > -1 ? n.splice(S, 1) : s.multiple ? n.push(y) : n.splice(0, n.length, y);
636
+ b("confirm", zt(n)), t.value = !1;
637
+ }, E = C(() => s.showCurrentSelection && f.value && !u.value && n.length > 0), D = (y) => n.includes(y), M = (y) => {
638
+ const $ = n.indexOf(y);
639
+ $ > -1 ? n.splice($, 1) : s.multiple ? n.push(y) : n.splice(0, n.length, y);
521
640
  }, F = C(() => i.every((y) => n.includes(y))), P = () => {
522
641
  F.value ? n.splice(0, n.length) : n.splice(0, n.length, ...i);
523
642
  };
524
- return (y, S) => {
525
- const U = Z, X = re, ee = Ie;
526
- return r(), f("div", Ps, [
527
- v(X, {
643
+ return (y, $) => {
644
+ const U = W, se = re, le = Ie;
645
+ return r(), g("div", Rs, [
646
+ v(se, {
528
647
  title: e.title,
529
648
  modelValue: t.value,
530
- "onUpdate:modelValue": S[0] || (S[0] = (q) => t.value = q),
649
+ "onUpdate:modelValue": $[0] || ($[0] = (q) => t.value = q),
531
650
  style: { width: "fit-content", "min-width": "300px", "max-width": "800px", "max-height": "88vh", overflow: "auto" },
532
651
  "close-on-click-modal": !1,
533
652
  "close-on-press-escape": !1,
534
653
  "show-close": !0,
535
654
  "align-center": "",
536
- onOpened: g
655
+ onOpened: _
537
656
  }, {
538
657
  footer: d(() => [
539
- e.multiple && e.canSelectAll ? (r(), f("span", {
658
+ e.multiple && e.canSelectAll ? (r(), g("span", {
540
659
  key: 0,
541
- class: se(["select-all", F.value ? "selected" : ""]),
660
+ class: G(["select-all", F.value ? "selected" : ""]),
542
661
  onClick: P
543
- }, [...S[1] || (S[1] = [
662
+ }, [...$[1] || ($[1] = [
544
663
  a("span", { class: "select-icon" }, null, -1),
545
- A("全选", -1)
546
- ])], 2)) : $("", !0),
664
+ k("全选", -1)
665
+ ])], 2)) : z("", !0),
547
666
  v(U, { onClick: x }, {
548
667
  default: d(() => [
549
- A(m(e.cancelText), 1)
668
+ k(p(e.cancelText), 1)
550
669
  ]),
551
670
  _: 1
552
671
  }),
553
672
  v(U, {
554
673
  type: "primary",
555
- onClick: M,
674
+ onClick: V,
556
675
  disabled: h(u)
557
676
  }, {
558
677
  default: d(() => [
559
- A(m(e.confirmText), 1)
678
+ k(p(e.confirmText), 1)
560
679
  ]),
561
680
  _: 1
562
681
  }, 8, ["disabled"])
563
682
  ]),
564
683
  default: d(() => [
565
- W((r(), f("div", {
566
- class: se(["dialog-content", h(u) ? "loading" : ""])
684
+ J((r(), g("div", {
685
+ class: G(["dialog-content", h(u) ? "loading" : ""])
567
686
  }, [
568
687
  a("div", {
569
688
  ref_key: "listRef",
570
689
  ref: c,
571
690
  class: "option-list"
572
691
  }, [
573
- (r(!0), f(R, null, O(i, (q) => (r(), f("div", {
574
- class: se(["option-item", D(q) ? "selected" : ""]),
692
+ (r(!0), g(R, null, O(i, (q) => (r(), g("div", {
693
+ class: G(["option-item", D(q) ? "selected" : ""]),
575
694
  key: e.getDataId(q),
576
- onClick: (ue) => V(q)
695
+ onClick: (ue) => M(q)
577
696
  }, [
578
697
  I(y.$slots, "item", {}, () => [
579
698
  a("span", {
580
- class: se(["select-icon", e.multiple ? "checkbox" : "radio"])
699
+ class: G(["select-icon", e.multiple ? "checkbox" : "radio"])
581
700
  }, null, 2),
582
- a("span", Ms, [
701
+ a("span", Us, [
583
702
  I(y.$slots, "item-label", {}, () => [
584
- A(m(e.getDataLabel(q)), 1)
703
+ k(p(e.getDataLabel(q)), 1)
585
704
  ], !0)
586
705
  ])
587
706
  ], !0)
588
- ], 10, Is))), 128))
707
+ ], 10, Fs))), 128))
589
708
  ], 512),
590
- E.value ? (r(), f("div", {
709
+ E.value ? (r(), g("div", {
591
710
  key: 0,
592
711
  class: "current-selection",
593
712
  style: xe({ width: `${o.value}px` })
594
713
  }, [
595
- e.multiple ? (r(), f("span", Vs, "已选择(" + m(n.length) + "):", 1)) : (r(), f("span", Qs, "已选择:")),
714
+ e.multiple ? (r(), g("span", qs, "已选择(" + p(n.length) + "):", 1)) : (r(), g("span", Os, "已选择:")),
596
715
  a("div", {
597
716
  class: "current-selection-list",
598
717
  style: xe({ display: e.multiple ? "flex" : "contents" })
599
718
  }, [
600
- (r(!0), f(R, null, O(n, (q) => (r(), f("span", {
719
+ (r(!0), g(R, null, O(n, (q) => (r(), g("span", {
601
720
  key: e.getDataId(q)
602
- }, m(e.getDataLabel(q)), 1))), 128))
721
+ }, p(e.getDataLabel(q)), 1))), 128))
603
722
  ], 4)
604
- ], 4)) : $("", !0)
723
+ ], 4)) : z("", !0)
605
724
  ], 2)), [
606
- [ee, h(u)]
725
+ [le, h(u)]
607
726
  ])
608
727
  ]),
609
728
  _: 3
@@ -611,11 +730,11 @@ const Ds = { class: "dialog-footer" }, So = /* @__PURE__ */ B({
611
730
  ]);
612
731
  };
613
732
  }
614
- }), Ts = /* @__PURE__ */ L(Hs, [["__scopeId", "data-v-2ad04bd4"]]), $o = (e) => new Promise((l) => {
733
+ }), Ns = /* @__PURE__ */ L(js, [["__scopeId", "data-v-2ad04bd4"]]), Ho = (e) => new Promise((l) => {
615
734
  let s = document.createElement("div");
616
735
  const t = (n) => {
617
- l(n), s && (me(null, s), s.remove(), s = null);
618
- }, i = v(Ts, {
736
+ l(n), s && (ge(null, s), s.remove(), s = null);
737
+ }, i = v(Ns, {
619
738
  ...e,
620
739
  modelValue: !0,
621
740
  "onUpdate:modelValue": (n) => {
@@ -625,13 +744,13 @@ const Ds = { class: "dialog-footer" }, So = /* @__PURE__ */ B({
625
744
  t(n);
626
745
  }
627
746
  });
628
- document.body.appendChild(s), me(i, s);
629
- }), Ls = { class: "dialog-content" }, Rs = { class: "header" }, Fs = {
747
+ document.body.appendChild(s), ge(i, s);
748
+ }), Zs = { class: "dialog-content" }, Ws = { class: "header" }, Gs = {
630
749
  key: 0,
631
750
  class: "total-desc"
632
- }, Us = { class: "page-size-desc" }, qs = { class: "range-desc" }, Os = /* @__PURE__ */ B({
751
+ }, Js = { class: "page-size-desc" }, Ks = { class: "range-desc" }, Ys = /* @__PURE__ */ B({
633
752
  __name: "PageRangeDialog",
634
- props: /* @__PURE__ */ J({
753
+ props: /* @__PURE__ */ Y({
635
754
  title: { default: "请选择页码范围" },
636
755
  defaultRange: { default: () => [1, 1] },
637
756
  total: {},
@@ -644,30 +763,30 @@ const Ds = { class: "dialog-footer" }, So = /* @__PURE__ */ B({
644
763
  modelValue: { type: Boolean, required: !0 },
645
764
  modelModifiers: {}
646
765
  }),
647
- emits: /* @__PURE__ */ J(["confirm"], ["update:modelValue"]),
766
+ emits: /* @__PURE__ */ Y(["confirm"], ["update:modelValue"]),
648
767
  setup(e, { emit: l }) {
649
- const s = e, t = he(e, "modelValue"), i = C(() => s.total != null && s.maxPage != null ? Math.min(s.maxPage, Math.ceil(s.total / s.pageSize)) : s.total != null ? Math.ceil(s.total / s.pageSize) : s.maxPage), n = z(1), o = z(1), c = C(() => `共有 ${s.total} 条数据`), u = C(() => `每页可获取 ${s.pageSize} 条数据`), p = C(() => {
768
+ const s = e, t = he(e, "modelValue"), i = C(() => s.total != null && s.maxPage != null ? Math.min(s.maxPage, Math.ceil(s.total / s.pageSize)) : s.total != null ? Math.ceil(s.total / s.pageSize) : s.maxPage), n = S(1), o = S(1), c = C(() => `共有 ${s.total} 条数据`), u = C(() => `每页可获取 ${s.pageSize} 条数据`), m = C(() => {
650
769
  if (s.total != null) {
651
770
  const b = s.pageSize - Math.max(o.value * s.pageSize - s.total, 0);
652
771
  return `共选择 ${(o.value - n.value) * s.pageSize + b} 条数据`;
653
772
  } else
654
773
  return `共选择 ${(o.value + 1 - n.value) * s.pageSize} 条数据`;
655
774
  });
656
- le(
775
+ X(
657
776
  t,
658
777
  async (b) => {
659
778
  b && (n.value = s.defaultRange[0], o.value = s.defaultRange[1]);
660
779
  },
661
780
  { immediate: !0 }
662
781
  );
663
- const _ = l, w = () => {
782
+ const f = l, w = () => {
664
783
  t.value = !1;
665
- }, g = () => {
666
- _("confirm", [n.value, o.value]), t.value = !1;
784
+ }, _ = () => {
785
+ f("confirm", [n.value, o.value]), t.value = !1;
667
786
  };
668
787
  return (b, x) => {
669
- const M = Je, E = ts, D = es, V = Z, F = re;
670
- return r(), k(F, {
788
+ const V = Ye, E = ls, D = ss, M = W, F = re;
789
+ return r(), A(F, {
671
790
  title: e.title,
672
791
  modelValue: t.value,
673
792
  "onUpdate:modelValue": x[2] || (x[2] = (P) => t.value = P),
@@ -678,33 +797,33 @@ const Ds = { class: "dialog-footer" }, So = /* @__PURE__ */ B({
678
797
  "align-center": ""
679
798
  }, {
680
799
  footer: d(() => [
681
- v(V, { onClick: w }, {
800
+ v(M, { onClick: w }, {
682
801
  default: d(() => [
683
- A(m(e.cancelText), 1)
802
+ k(p(e.cancelText), 1)
684
803
  ]),
685
804
  _: 1
686
805
  }),
687
- v(V, {
806
+ v(M, {
688
807
  type: "primary",
689
- onClick: g
808
+ onClick: _
690
809
  }, {
691
810
  default: d(() => [
692
- A(m(e.confirmText), 1)
811
+ k(p(e.confirmText), 1)
693
812
  ]),
694
813
  _: 1
695
814
  })
696
815
  ]),
697
816
  default: d(() => [
698
- a("div", Ls, [
699
- a("div", Rs, [
700
- e.total ? (r(), f("div", Fs, m(c.value), 1)) : $("", !0),
701
- a("div", Us, m(u.value), 1)
817
+ a("div", Zs, [
818
+ a("div", Ws, [
819
+ e.total ? (r(), g("div", Gs, p(c.value), 1)) : z("", !0),
820
+ a("div", Js, p(u.value), 1)
702
821
  ]),
703
822
  v(D, { class: "page-range" }, {
704
823
  default: d(() => [
705
824
  v(E, { span: 11 }, {
706
825
  default: d(() => [
707
- v(M, {
826
+ v(V, {
708
827
  type: "number",
709
828
  modelValue: n.value,
710
829
  "onUpdate:modelValue": x[0] || (x[0] = (P) => n.value = P),
@@ -725,7 +844,7 @@ const Ds = { class: "dialog-footer" }, So = /* @__PURE__ */ B({
725
844
  }),
726
845
  v(E, { span: 11 }, {
727
846
  default: d(() => [
728
- v(M, {
847
+ v(V, {
729
848
  type: "number",
730
849
  modelValue: o.value,
731
850
  "onUpdate:modelValue": x[1] || (x[1] = (P) => o.value = P),
@@ -738,18 +857,18 @@ const Ds = { class: "dialog-footer" }, So = /* @__PURE__ */ B({
738
857
  ]),
739
858
  _: 1
740
859
  }),
741
- a("div", qs, m(p.value), 1)
860
+ a("div", Ks, p(m.value), 1)
742
861
  ])
743
862
  ]),
744
863
  _: 1
745
864
  }, 8, ["title", "modelValue"]);
746
865
  };
747
866
  }
748
- }), js = /* @__PURE__ */ L(Os, [["__scopeId", "data-v-715af5da"]]), zo = (e) => new Promise((l) => {
867
+ }), Xs = /* @__PURE__ */ L(Ys, [["__scopeId", "data-v-715af5da"]]), Lo = (e) => new Promise((l) => {
749
868
  let s = document.createElement("div");
750
869
  const t = (n) => {
751
- s && (me(null, s), s.remove(), s = null), l(n);
752
- }, i = v(js, {
870
+ s && (ge(null, s), s.remove(), s = null), l(n);
871
+ }, i = v(Xs, {
753
872
  ...e,
754
873
  modelValue: !0,
755
874
  "onUpdate:modelValue"(n) {
@@ -759,70 +878,13 @@ const Ds = { class: "dialog-footer" }, So = /* @__PURE__ */ B({
759
878
  t(n);
760
879
  }
761
880
  });
762
- document.body.appendChild(s), me(i, s);
763
- }), Ns = { class: "loading-mask el-overlay" }, Zs = { class: "loading-content" }, Ws = { class: "loading-spinner" }, Gs = { class: "loading-text" }, Js = /* @__PURE__ */ B({
764
- __name: "LoadingDialog",
765
- setup(e, { expose: l }) {
766
- const s = z(!1), t = z(""), i = z(!1);
767
- let n;
768
- const o = (_ = {}) => {
769
- t.value = _.message ?? "加载中", i.value = _.showCancel ?? !1, n = _.onCancel, _?.autoCloseDelay && setTimeout(() => {
770
- u();
771
- }, _?.autoCloseDelay), s.value = !0;
772
- }, c = (_) => {
773
- t.value = _;
774
- }, u = () => {
775
- s.value = !1;
776
- }, p = async () => {
777
- await n?.(), u();
778
- };
779
- return l({
780
- show: o,
781
- update: c,
782
- close: u
783
- }), (_, w) => {
784
- const g = Ie;
785
- return W((r(), f("div", Ns, [
786
- a("div", Zs, [
787
- W(a("div", {
788
- class: "options-close-btn",
789
- onClick: p
790
- }, null, 512), [
791
- [ge, i.value]
792
- ]),
793
- W(a("div", Ws, null, 512), [
794
- [g, !0]
795
- ]),
796
- a("div", Gs, m(t.value), 1)
797
- ])
798
- ], 512)), [
799
- [ge, s.value]
800
- ]);
801
- };
802
- }
803
- }), Ks = /* @__PURE__ */ L(Js, [["__scopeId", "data-v-a0557392"]]);
804
- let ve = null;
805
- function be() {
806
- if (ve) return ve;
807
- const e = document.createElement("div");
808
- return document.body.appendChild(e), ve = De(Ks).mount(e), ve;
809
- }
810
- const Do = {
811
- show(e) {
812
- be().show(e);
813
- },
814
- update(e) {
815
- be().update(e);
816
- },
817
- close() {
818
- be().close();
819
- }
820
- };
821
- var Ys = /* @__PURE__ */ B({
881
+ document.body.appendChild(s), ge(i, s);
882
+ });
883
+ var el = /* @__PURE__ */ B({
822
884
  name: "CircleCheck",
823
885
  __name: "circle-check",
824
886
  setup(e) {
825
- return (l, s) => (r(), f("svg", {
887
+ return (l, s) => (r(), g("svg", {
826
888
  xmlns: "http://www.w3.org/2000/svg",
827
889
  viewBox: "0 0 1024 1024"
828
890
  }, [
@@ -836,11 +898,11 @@ var Ys = /* @__PURE__ */ B({
836
898
  })
837
899
  ]));
838
900
  }
839
- }), Xs = Ys, el = /* @__PURE__ */ B({
901
+ }), tl = el, sl = /* @__PURE__ */ B({
840
902
  name: "CircleClose",
841
903
  __name: "circle-close",
842
904
  setup(e) {
843
- return (l, s) => (r(), f("svg", {
905
+ return (l, s) => (r(), g("svg", {
844
906
  xmlns: "http://www.w3.org/2000/svg",
845
907
  viewBox: "0 0 1024 1024"
846
908
  }, [
@@ -854,11 +916,11 @@ var Ys = /* @__PURE__ */ B({
854
916
  })
855
917
  ]));
856
918
  }
857
- }), tl = el, sl = /* @__PURE__ */ B({
919
+ }), ll = sl, nl = /* @__PURE__ */ B({
858
920
  name: "Picture",
859
921
  __name: "picture",
860
922
  setup(e) {
861
- return (l, s) => (r(), f("svg", {
923
+ return (l, s) => (r(), g("svg", {
862
924
  xmlns: "http://www.w3.org/2000/svg",
863
925
  viewBox: "0 0 1024 1024"
864
926
  }, [
@@ -872,103 +934,103 @@ var Ys = /* @__PURE__ */ B({
872
934
  })
873
935
  ]));
874
936
  }
875
- }), it = sl;
876
- const ll = { class: "loading-mask el-overlay" }, nl = { class: "loading-content" }, al = { class: "status-icon" }, ol = { class: "loading-text" }, il = { class: "actions" }, cl = /* @__PURE__ */ B({
937
+ }), ct = nl;
938
+ const al = { class: "loading-mask el-overlay" }, ol = { class: "loading-content" }, il = { class: "status-icon" }, cl = { class: "loading-text" }, rl = { class: "actions" }, ul = /* @__PURE__ */ B({
877
939
  __name: "ProcessDialog",
878
940
  setup(e, { expose: l }) {
879
- const s = z(!1), t = z(""), i = z(0), n = z("loading"), o = z(!1);
941
+ const s = S(!1), t = S(""), i = S(0), n = S("loading"), o = S(!1);
880
942
  let c, u;
881
- const p = (E = {}) => {
943
+ const m = (E = {}) => {
882
944
  t.value = E.message ?? "加载中", o.value = E.showCancel ?? !1, i.value = E.percentage ?? 0, n.value = "loading", c = E.onCancel, u = E.onConfirm, s.value = !0;
883
- }, _ = (E, D) => {
945
+ }, f = (E, D) => {
884
946
  E != null && (i.value = E), D != null && (t.value = D);
885
947
  }, w = (E = "操作成功") => {
886
948
  n.value = "success", t.value = E;
887
- }, g = (E = "操作失败") => {
949
+ }, _ = (E = "操作失败") => {
888
950
  n.value = "error", t.value = E;
889
951
  }, b = () => {
890
952
  s.value = !1;
891
953
  }, x = async () => {
892
954
  await c?.(), b();
893
- }, M = async () => {
955
+ }, V = async () => {
894
956
  await u?.(n.value), b();
895
957
  };
896
958
  return l({
897
- show: p,
898
- update: _,
959
+ show: m,
960
+ update: f,
899
961
  setSuccess: w,
900
- setError: g,
962
+ setError: _,
901
963
  close: b
902
964
  }), (E, D) => {
903
- const V = Ke, F = Me, P = Z;
904
- return W((r(), f("div", ll, [
905
- a("div", nl, [
906
- W(a("div", {
965
+ const M = Xe, F = Ve, P = W;
966
+ return J((r(), g("div", al, [
967
+ a("div", ol, [
968
+ J(a("div", {
907
969
  class: "options-close-btn",
908
970
  onClick: x
909
971
  }, null, 512), [
910
- [ge, o.value && n.value === "loading"]
972
+ [me, o.value && n.value === "loading"]
911
973
  ]),
912
- a("div", al, [
913
- n.value === "loading" ? (r(), k(V, {
974
+ a("div", il, [
975
+ n.value === "loading" ? (r(), A(M, {
914
976
  key: 0,
915
977
  type: "circle",
916
978
  percentage: i.value,
917
979
  width: 96
918
- }, null, 8, ["percentage"])) : n.value === "success" ? (r(), k(F, {
980
+ }, null, 8, ["percentage"])) : n.value === "success" ? (r(), A(F, {
919
981
  key: 1,
920
982
  size: 42
921
983
  }, {
922
984
  default: d(() => [
923
- v(h(Xs), { style: { color: "var(--el-color-success)" } })
985
+ v(h(tl), { style: { color: "var(--el-color-success)" } })
924
986
  ]),
925
987
  _: 1
926
- })) : (r(), k(F, {
988
+ })) : (r(), A(F, {
927
989
  key: 2,
928
990
  size: 42
929
991
  }, {
930
992
  default: d(() => [
931
- v(h(tl), { style: { color: "var(--el-color-error)" } })
993
+ v(h(ll), { style: { color: "var(--el-color-error)" } })
932
994
  ]),
933
995
  _: 1
934
996
  }))
935
997
  ]),
936
- a("div", ol, m(t.value), 1),
937
- a("div", il, [
938
- o.value && n.value === "loading" ? (r(), k(P, {
998
+ a("div", cl, p(t.value), 1),
999
+ a("div", rl, [
1000
+ o.value && n.value === "loading" ? (r(), A(P, {
939
1001
  key: 0,
940
1002
  onClick: x
941
1003
  }, {
942
1004
  default: d(() => [...D[0] || (D[0] = [
943
- A(" 取消 ", -1)
1005
+ k(" 取消 ", -1)
944
1006
  ])]),
945
1007
  _: 1
946
- })) : $("", !0),
947
- n.value !== "loading" ? (r(), k(P, {
1008
+ })) : z("", !0),
1009
+ n.value !== "loading" ? (r(), A(P, {
948
1010
  key: 1,
949
1011
  type: "primary",
950
- onClick: M
1012
+ onClick: V
951
1013
  }, {
952
1014
  default: d(() => [...D[1] || (D[1] = [
953
- A(" 确定 ", -1)
1015
+ k(" 确定 ", -1)
954
1016
  ])]),
955
1017
  _: 1
956
- })) : $("", !0)
1018
+ })) : z("", !0)
957
1019
  ])
958
1020
  ])
959
1021
  ], 512)), [
960
- [ge, s.value]
1022
+ [me, s.value]
961
1023
  ]);
962
1024
  };
963
1025
  }
964
- }), rl = /* @__PURE__ */ L(cl, [["__scopeId", "data-v-8ddebb07"]]);
1026
+ }), dl = /* @__PURE__ */ L(ul, [["__scopeId", "data-v-8ddebb07"]]);
965
1027
  let pe = null;
966
1028
  function oe() {
967
1029
  if (pe) return pe;
968
1030
  const e = document.createElement("div");
969
- return document.body.appendChild(e), pe = De(rl).mount(e), pe;
1031
+ return document.body.appendChild(e), pe = De(dl).mount(e), pe;
970
1032
  }
971
- const Po = {
1033
+ const Ro = {
972
1034
  show(e) {
973
1035
  oe().show(e);
974
1036
  },
@@ -984,7 +1046,7 @@ const Po = {
984
1046
  close() {
985
1047
  oe().close();
986
1048
  }
987
- }, ul = { class: "tooltip" }, dl = { class: "label" }, ae = /* @__PURE__ */ B({
1049
+ }, vl = { class: "tooltip" }, pl = { class: "label" }, ae = /* @__PURE__ */ B({
988
1050
  __name: "AppTooltip",
989
1051
  props: {
990
1052
  content: {},
@@ -993,14 +1055,14 @@ const Po = {
993
1055
  iconClass: {}
994
1056
  },
995
1057
  setup(e) {
996
- $t((c) => ({
1058
+ Dt((c) => ({
997
1059
  v22da9023: h(s)
998
1060
  }));
999
1061
  const l = e, s = l.lines, t = () => ({
1000
1062
  "txt-ellipsis-right": l.ellipsis === "right",
1001
1063
  "txt-ellipsis-left": l.ellipsis === "left",
1002
1064
  "single-line": l.lines === 1
1003
- }), i = z(!1), n = K("refContent"), o = new ResizeObserver(() => {
1065
+ }), i = S(!1), n = ee("refContent"), o = new ResizeObserver(() => {
1004
1066
  n.value && (l.lines === 1 ? i.value = n.value.scrollWidth > n.value.clientWidth : i.value = n.value.scrollHeight > n.value.clientHeight);
1005
1067
  });
1006
1068
  return ne(() => {
@@ -1008,15 +1070,15 @@ const Po = {
1008
1070
  }), ce(() => {
1009
1071
  o.disconnect();
1010
1072
  }), (c, u) => {
1011
- const p = Ye;
1012
- return r(), f("div", ul, [
1013
- a("div", dl, [
1014
- e.iconClass ? (r(), k(N, {
1073
+ const m = et;
1074
+ return r(), g("div", vl, [
1075
+ a("div", pl, [
1076
+ e.iconClass ? (r(), A(N, {
1015
1077
  key: 0,
1016
1078
  icon: e.iconClass
1017
- }, null, 8, ["icon"])) : $("", !0)
1079
+ }, null, 8, ["icon"])) : z("", !0)
1018
1080
  ]),
1019
- e.content ? (r(), k(p, {
1081
+ e.content ? (r(), A(m, {
1020
1082
  key: 0,
1021
1083
  effect: "light",
1022
1084
  content: e.content,
@@ -1028,7 +1090,7 @@ const Po = {
1028
1090
  I(c.$slots, "tooltipContent")
1029
1091
  ]),
1030
1092
  default: d(() => [
1031
- a("div", G({
1093
+ a("div", K({
1032
1094
  ref_key: "refContent",
1033
1095
  ref: n
1034
1096
  }, c.$attrs, {
@@ -1036,17 +1098,17 @@ const Po = {
1036
1098
  }), [
1037
1099
  a("span", null, [
1038
1100
  I(c.$slots, "default", {}, () => [
1039
- A(m(e.content), 1)
1101
+ k(p(e.content), 1)
1040
1102
  ])
1041
1103
  ])
1042
1104
  ], 16)
1043
1105
  ]),
1044
1106
  _: 3
1045
- }, 8, ["content", "disabled"])) : $("", !0)
1107
+ }, 8, ["content", "disabled"])) : z("", !0)
1046
1108
  ]);
1047
1109
  };
1048
1110
  }
1049
- }), Io = /* @__PURE__ */ B({
1111
+ }), Fo = /* @__PURE__ */ B({
1050
1112
  inheritAttrs: !1,
1051
1113
  __name: "IconButton",
1052
1114
  props: {
@@ -1060,16 +1122,16 @@ const Po = {
1060
1122
  s("click");
1061
1123
  };
1062
1124
  return (i, n) => {
1063
- const o = Ye, c = ss;
1064
- return e.tip ? (r(), f(R, { key: 0 }, [
1065
- e.confirm ? (r(), k(c, {
1125
+ const o = et, c = ns;
1126
+ return e.tip ? (r(), g(R, { key: 0 }, [
1127
+ e.confirm ? (r(), A(c, {
1066
1128
  key: 0,
1067
1129
  title: e.confirm,
1068
1130
  placement: "left",
1069
1131
  onConfirm: t
1070
1132
  }, {
1071
1133
  reference: d(() => [
1072
- a("span", zt(Dt(i.$attrs)), [
1134
+ a("span", Pt(It(i.$attrs)), [
1073
1135
  v(o, {
1074
1136
  effect: "light",
1075
1137
  content: e.tip,
@@ -1087,7 +1149,7 @@ const Po = {
1087
1149
  ], 16)
1088
1150
  ]),
1089
1151
  _: 1
1090
- }, 8, ["title"])) : (r(), k(o, {
1152
+ }, 8, ["title"])) : (r(), A(o, {
1091
1153
  key: 1,
1092
1154
  effect: "light",
1093
1155
  content: e.tip,
@@ -1095,7 +1157,7 @@ const Po = {
1095
1157
  "show-after": 800
1096
1158
  }, {
1097
1159
  default: d(() => [
1098
- v(N, G({
1160
+ v(N, K({
1099
1161
  class: "icon-btn",
1100
1162
  icon: e.icon,
1101
1163
  onClick: Ee(t, ["stop"])
@@ -1103,21 +1165,21 @@ const Po = {
1103
1165
  ]),
1104
1166
  _: 1
1105
1167
  }, 8, ["content"]))
1106
- ], 64)) : (r(), f(R, { key: 1 }, [
1107
- e.confirm ? (r(), k(c, {
1168
+ ], 64)) : (r(), g(R, { key: 1 }, [
1169
+ e.confirm ? (r(), A(c, {
1108
1170
  key: 0,
1109
1171
  title: e.confirm,
1110
1172
  placement: "left",
1111
1173
  onConfirm: t
1112
1174
  }, {
1113
1175
  reference: d(() => [
1114
- v(N, G({
1176
+ v(N, K({
1115
1177
  class: "icon-btn",
1116
1178
  icon: e.icon
1117
1179
  }, i.$attrs), null, 16, ["icon"])
1118
1180
  ]),
1119
1181
  _: 1
1120
- }, 8, ["title"])) : (r(), k(N, G({
1182
+ }, 8, ["title"])) : (r(), A(N, K({
1121
1183
  key: 1,
1122
1184
  class: "icon-btn",
1123
1185
  icon: e.icon,
@@ -1126,39 +1188,39 @@ const Po = {
1126
1188
  ], 64));
1127
1189
  };
1128
1190
  }
1129
- }), vl = { class: "icon-label" }, ct = /* @__PURE__ */ B({
1191
+ }), ml = { class: "icon-label" }, rt = /* @__PURE__ */ B({
1130
1192
  __name: "IconLabel",
1131
1193
  props: {
1132
1194
  icon: {}
1133
1195
  },
1134
1196
  setup(e) {
1135
- return (l, s) => (r(), f("div", vl, [
1197
+ return (l, s) => (r(), g("div", ml, [
1136
1198
  v(N, { icon: e.icon }, null, 8, ["icon"]),
1137
1199
  I(l.$slots, "default")
1138
1200
  ]));
1139
1201
  }
1140
- }), Mo = /* @__PURE__ */ B({
1202
+ }), Uo = /* @__PURE__ */ B({
1141
1203
  __name: "ExternalLink",
1142
1204
  props: {
1143
1205
  url: {}
1144
1206
  },
1145
1207
  setup(e) {
1146
1208
  const l = e, s = () => {
1147
- H.system.browsePage(l.url);
1209
+ T.system.browsePage(l.url);
1148
1210
  };
1149
- return (t, i) => (r(), f("span", {
1211
+ return (t, i) => (r(), g("span", {
1150
1212
  class: "external-link",
1151
1213
  onClick: Ee(s, ["prevent"])
1152
1214
  }, [
1153
1215
  I(t.$slots, "default")
1154
1216
  ]));
1155
1217
  }
1156
- }), pl = ["innerHTML"], Vo = /* @__PURE__ */ B({
1218
+ }), gl = ["innerHTML"], qo = /* @__PURE__ */ B({
1157
1219
  __name: "LogPrint",
1158
1220
  setup(e, { expose: l }) {
1159
- const s = z([]), t = K("logBoxRef");
1221
+ const s = S([]), t = ee("logBoxRef");
1160
1222
  function i(o) {
1161
- s.value.push(`[${Wt()}] ${o}`), s.value.length > 500 && s.value.shift(), we(() => {
1223
+ s.value.push(`[${Jt()}] ${o}`), s.value.length > 500 && s.value.shift(), we(() => {
1162
1224
  t.value && (t.value.scrollTop = t.value.scrollHeight);
1163
1225
  });
1164
1226
  }
@@ -1167,42 +1229,42 @@ const Po = {
1167
1229
  reset: () => {
1168
1230
  s.value = [];
1169
1231
  }
1170
- }), (o, c) => (r(), f("div", {
1232
+ }), (o, c) => (r(), g("div", {
1171
1233
  ref_key: "logBoxRef",
1172
1234
  ref: t,
1173
1235
  class: "log-print-box"
1174
1236
  }, [
1175
- (r(!0), f(R, null, O(s.value, (u, p) => (r(), f("div", {
1176
- key: p,
1237
+ (r(!0), g(R, null, O(s.value, (u, m) => (r(), g("div", {
1238
+ key: m,
1177
1239
  innerHTML: u,
1178
1240
  class: "log-print-box__line"
1179
- }, null, 8, pl))), 128))
1241
+ }, null, 8, gl))), 128))
1180
1242
  ], 512));
1181
1243
  }
1182
- }), rt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv1{fill:transparent;}.st1.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23C0C0C0;}%3c/style%3e%3crect%20class='st0%20lv1'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv1'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv1'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.2v0.7c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M15.8,18.9h2.6c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4h-0.6%20v-5.6c0-0.2-0.2-0.4-0.4-0.4h-1.4c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h0.4v4.6h-0.6c-0.2,0-0.4,0.2-0.4,0.4v0.6%20C15.3,18.7,15.5,18.9,15.8,18.9z%20M12.7,16.3v0.1c0,0.1-0.1,0.2-0.2,0.2c0,0,0,0-0.1,0.1l-2,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4V16.3L12.7,16.3z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", ut = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv2{fill:transparent;}.st1.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%238BD29B;}%3c/style%3e%3crect%20class='st0%20lv2'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv2'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv2'%20d='M14,10h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6C1.3,20,1,19.8,1,19.4v-7.8%20C1,11.3,1.2,11,1.6,11h11.8v-0.4C13.4,10.3,13.6,10,14,10z%20M19.4,15.8c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H16v-1.7H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", dt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv3{fill:transparent;}.st1.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%237BCDEF;}%3c/style%3e%3crect%20class='st0%20lv3'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv3'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv3'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", vt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv4{fill:transparent;}.st1.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FEBB8B;}%3c/style%3e%3crect%20class='st0%20lv4'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv4'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv4'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4h-0.6%20c-0.2,0-0.4,0.2-0.4,0.4v2.7H16v-2.7c0-0.2-0.2-0.4-0.4-0.4H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v2.7%20c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1s-0.4,0-0.5-0.1l-2-2%20c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", pt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv5{fill:transparent;}.st1.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23EE672A;}%3c/style%3e%3crect%20class='st0%20lv5'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv5'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv5'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,12.7c0.2,0,0.4-0.2,0.4-0.4v-0.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H16v-1.6H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2%20v-3.3c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", mt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv6{fill:transparent;}.st1.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23F04C49;}%3c/style%3e%3crect%20class='st0%20lv6'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv6'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv6'%20d='M14,10c-0.4,0-0.6,0.3-0.6,0.6V11H1.6C1.2,11,1,11.3,1,11.6v7.8C1,19.8,1.3,20,1.6,20h18.8%20c0.4,0,0.6-0.3,0.6-0.6v-8.8c0.1-0.3-0.2-0.6-0.5-0.6H14z%20M19.8,12.3c0,0.2-0.2,0.4-0.4,0.4H16v1.6h3.4c0.2,0,0.4,0.2,0.4,0.4v3.7%20c0,0.2-0.2,0.4-0.4,0.4H15c-0.2,0-0.4-0.2-0.4-0.4v-6.8c0-0.2,0.2-0.4,0.4-0.4h4.4c0.2,0,0.4,0.2,0.4,0.4V12.3z%20M12.6,16.7%20c0.1-0.1,0.1-0.2,0.1-0.4v-0.1v-3.4c0-0.2-0.2-0.4-0.4-0.4h-0.6c-0.2,0-0.4,0.2-0.4,0.4v3.3L10,17.3l-1.2-1.2v-3.4%20c0-0.2-0.2-0.4-0.4-0.4H7.8c-0.2,0-0.4,0.2-0.4,0.4v3.5v0.1c0,0.2,0,0.4,0.1,0.4l2,2c0.1,0.1,0.5,0.1,0.5,0.1s0.4,0,0.5-0.1%20L12.6,16.7z%20M6.1,18.9H2.6c-0.2,0-0.4-0.2-0.4-0.4v-5.8c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v4.7h2.4%20c0.2,0,0.4,0.2,0.4,0.4v0.6C6.5,18.7,6.3,18.9,6.1,18.9z%20M18.4,17.4H16v-1.7h2.4V17.4z'/%3e%3c/svg%3e", Be = "data:image/jpeg;base64,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", ml = { class: "user-card" }, gl = { class: "user-card__face-wrapper" }, fl = ["src"], _l = {
1244
+ }), ut = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv1{fill:transparent;}.st1.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23C0C0C0;}%3c/style%3e%3crect%20class='st0%20lv1'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv1'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv1'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.2v0.7c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M15.8,18.9h2.6c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4h-0.6%20v-5.6c0-0.2-0.2-0.4-0.4-0.4h-1.4c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h0.4v4.6h-0.6c-0.2,0-0.4,0.2-0.4,0.4v0.6%20C15.3,18.7,15.5,18.9,15.8,18.9z%20M12.7,16.3v0.1c0,0.1-0.1,0.2-0.2,0.2c0,0,0,0-0.1,0.1l-2,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4V16.3L12.7,16.3z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", dt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv2{fill:transparent;}.st1.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%238BD29B;}%3c/style%3e%3crect%20class='st0%20lv2'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv2'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv2'%20d='M14,10h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6C1.3,20,1,19.8,1,19.4v-7.8%20C1,11.3,1.2,11,1.6,11h11.8v-0.4C13.4,10.3,13.6,10,14,10z%20M19.4,15.8c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H16v-1.7H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", vt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv3{fill:transparent;}.st1.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%237BCDEF;}%3c/style%3e%3crect%20class='st0%20lv3'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv3'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv3'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", pt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv4{fill:transparent;}.st1.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FEBB8B;}%3c/style%3e%3crect%20class='st0%20lv4'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv4'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv4'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4h-0.6%20c-0.2,0-0.4,0.2-0.4,0.4v2.7H16v-2.7c0-0.2-0.2-0.4-0.4-0.4H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v2.7%20c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1s-0.4,0-0.5-0.1l-2-2%20c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", mt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv5{fill:transparent;}.st1.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23EE672A;}%3c/style%3e%3crect%20class='st0%20lv5'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv5'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv5'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,12.7c0.2,0,0.4-0.2,0.4-0.4v-0.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H16v-1.6H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2%20v-3.3c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", gt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv6{fill:transparent;}.st1.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23F04C49;}%3c/style%3e%3crect%20class='st0%20lv6'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv6'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv6'%20d='M14,10c-0.4,0-0.6,0.3-0.6,0.6V11H1.6C1.2,11,1,11.3,1,11.6v7.8C1,19.8,1.3,20,1.6,20h18.8%20c0.4,0,0.6-0.3,0.6-0.6v-8.8c0.1-0.3-0.2-0.6-0.5-0.6H14z%20M19.8,12.3c0,0.2-0.2,0.4-0.4,0.4H16v1.6h3.4c0.2,0,0.4,0.2,0.4,0.4v3.7%20c0,0.2-0.2,0.4-0.4,0.4H15c-0.2,0-0.4-0.2-0.4-0.4v-6.8c0-0.2,0.2-0.4,0.4-0.4h4.4c0.2,0,0.4,0.2,0.4,0.4V12.3z%20M12.6,16.7%20c0.1-0.1,0.1-0.2,0.1-0.4v-0.1v-3.4c0-0.2-0.2-0.4-0.4-0.4h-0.6c-0.2,0-0.4,0.2-0.4,0.4v3.3L10,17.3l-1.2-1.2v-3.4%20c0-0.2-0.2-0.4-0.4-0.4H7.8c-0.2,0-0.4,0.2-0.4,0.4v3.5v0.1c0,0.2,0,0.4,0.1,0.4l2,2c0.1,0.1,0.5,0.1,0.5,0.1s0.4,0,0.5-0.1%20L12.6,16.7z%20M6.1,18.9H2.6c-0.2,0-0.4-0.2-0.4-0.4v-5.8c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v4.7h2.4%20c0.2,0,0.4,0.2,0.4,0.4v0.6C6.5,18.7,6.3,18.9,6.1,18.9z%20M18.4,17.4H16v-1.7h2.4V17.4z'/%3e%3c/svg%3e", Be = "data:image/jpeg;base64,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", fl = { class: "user-card" }, _l = { class: "user-card__face-wrapper" }, hl = ["src"], wl = {
1183
1245
  key: 0,
1184
1246
  class: "user-card--blocked"
1185
- }, hl = { class: "user-card__info" }, wl = { class: "user-card__row" }, yl = ["src"], Al = { class: "user-card__row" }, kl = { class: "user-card__uid" }, bl = { class: "user-card__row" }, Cl = { class: "user-card__stat__item" }, xl = { class: "user-card__stat__value" }, El = { class: "user-card__stat__item" }, Bl = { class: "user-card__stat__value" }, Sl = { class: "user-card__stat__item" }, $l = { class: "user-card__stat__value" }, zl = /* @__PURE__ */ B({
1247
+ }, yl = { class: "user-card__info" }, kl = { class: "user-card__row" }, Al = ["src"], bl = { class: "user-card__row" }, Cl = { class: "user-card__uid" }, xl = { class: "user-card__row" }, El = { class: "user-card__stat__item" }, Bl = { class: "user-card__stat__value" }, Sl = { class: "user-card__stat__item" }, $l = { class: "user-card__stat__value" }, zl = { class: "user-card__stat__item" }, Dl = { class: "user-card__stat__value" }, Pl = /* @__PURE__ */ B({
1186
1248
  __name: "BiliUserCard",
1187
1249
  props: {
1188
1250
  user: {}
1189
1251
  },
1190
1252
  setup(e) {
1191
- const l = e, s = C(() => l.user.face || Be), t = C(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": rt, "../../assets/images/user_level/level_2.svg": ut, "../../assets/images/user_level/level_3.svg": dt, "../../assets/images/user_level/level_4.svg": vt, "../../assets/images/user_level/level_5.svg": pt, "../../assets/images/user_level/level_6.svg": mt }))[`../../assets/images/user_level/level_${l.user.level}.svg`], import.meta.url).href);
1253
+ const l = e, s = C(() => l.user.face || Be), t = C(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": ut, "../../assets/images/user_level/level_2.svg": dt, "../../assets/images/user_level/level_3.svg": vt, "../../assets/images/user_level/level_4.svg": pt, "../../assets/images/user_level/level_5.svg": mt, "../../assets/images/user_level/level_6.svg": gt }))[`../../assets/images/user_level/level_${l.user.level}.svg`], import.meta.url).href);
1192
1254
  return (i, n) => {
1193
1255
  const o = ae;
1194
- return r(), f("div", ml, [
1256
+ return r(), g("div", fl, [
1195
1257
  I(i.$slots, "default"),
1196
- a("div", gl, [
1258
+ a("div", _l, [
1197
1259
  a("img", {
1198
1260
  class: "user-card__face",
1199
1261
  alt: "face",
1200
1262
  src: s.value
1201
- }, null, 8, fl),
1202
- e.user.silence === 1 ? (r(), f("span", _l, "账号已封禁")) : $("", !0)
1263
+ }, null, 8, hl),
1264
+ e.user.silence === 1 ? (r(), g("span", wl, "账号已封禁")) : z("", !0)
1203
1265
  ]),
1204
- a("div", hl, [
1205
- a("div", wl, [
1266
+ a("div", yl, [
1267
+ a("div", kl, [
1206
1268
  v(o, {
1207
1269
  class: "user-card__name",
1208
1270
  content: e.user.name
@@ -1211,23 +1273,23 @@ const Po = {
1211
1273
  class: "user-card__level",
1212
1274
  src: t.value,
1213
1275
  alt: "level"
1214
- }, null, 8, yl)
1276
+ }, null, 8, Al)
1215
1277
  ]),
1216
- a("div", Al, [
1278
+ a("div", bl, [
1217
1279
  n[0] || (n[0] = a("span", { class: "user-card__uid-icon" }, null, -1)),
1218
- a("span", kl, m(e.user.mid), 1)
1280
+ a("span", Cl, p(e.user.mid), 1)
1219
1281
  ]),
1220
- a("div", bl, [
1221
- a("span", Cl, [
1222
- a("span", xl, m(e.user.following), 1),
1282
+ a("div", xl, [
1283
+ a("span", El, [
1284
+ a("span", Bl, p(e.user.following), 1),
1223
1285
  n[1] || (n[1] = a("span", { class: "user-card__stat__label" }, "关注", -1))
1224
1286
  ]),
1225
- a("span", El, [
1226
- a("span", Bl, m(e.user.follower), 1),
1287
+ a("span", Sl, [
1288
+ a("span", $l, p(e.user.follower), 1),
1227
1289
  n[2] || (n[2] = a("span", { class: "user-card__stat__label" }, "粉丝", -1))
1228
1290
  ]),
1229
- a("span", Sl, [
1230
- a("span", $l, m(e.user.coins), 1),
1291
+ a("span", zl, [
1292
+ a("span", Dl, p(e.user.coins), 1),
1231
1293
  n[3] || (n[3] = a("span", { class: "user-card__stat__label" }, "硬币", -1))
1232
1294
  ])
1233
1295
  ])
@@ -1235,7 +1297,7 @@ const Po = {
1235
1297
  ]);
1236
1298
  };
1237
1299
  }
1238
- }), Dl = { class: "bili-user-info" }, Pl = ["src"], Il = { class: "bili-user-info__right" }, Ml = { class: "bili-user-info__info-row" }, Vl = { class: "bili-user-info__uid" }, Ql = /* @__PURE__ */ B({
1300
+ }), Il = { class: "bili-user-info" }, Vl = ["src"], Ml = { class: "bili-user-info__right" }, Ql = { class: "bili-user-info__info-row" }, Tl = { class: "bili-user-info__uid" }, Hl = /* @__PURE__ */ B({
1239
1301
  __name: "BiliUserInfo",
1240
1302
  props: {
1241
1303
  user: {}
@@ -1243,51 +1305,51 @@ const Po = {
1243
1305
  setup(e) {
1244
1306
  return (l, s) => {
1245
1307
  const t = ae;
1246
- return r(), f("div", Dl, [
1247
- e.user.face ? (r(), f("img", {
1308
+ return r(), g("div", Il, [
1309
+ e.user.face ? (r(), g("img", {
1248
1310
  key: 0,
1249
1311
  class: "bili-user-info__face",
1250
1312
  src: e.user.face,
1251
1313
  alt: "face"
1252
- }, null, 8, Pl)) : $("", !0),
1253
- a("div", Il, [
1314
+ }, null, 8, Vl)) : z("", !0),
1315
+ a("div", Ml, [
1254
1316
  v(t, {
1255
1317
  class: "bili-user-info__name",
1256
1318
  content: e.user.name
1257
1319
  }, null, 8, ["content"]),
1258
- a("div", Ml, [
1320
+ a("div", Ql, [
1259
1321
  s[0] || (s[0] = a("span", { class: "bili-user-info__uid-icon" }, null, -1)),
1260
- a("span", Vl, m(e.user.mid), 1)
1322
+ a("span", Tl, p(e.user.mid), 1)
1261
1323
  ])
1262
1324
  ])
1263
1325
  ]);
1264
1326
  };
1265
1327
  }
1266
- }), Qo = /* @__PURE__ */ L(Ql, [["__scopeId", "data-v-a22bf16f"]]), gt = /* @__PURE__ */ B({
1328
+ }), Oo = /* @__PURE__ */ L(Hl, [["__scopeId", "data-v-a22bf16f"]]), ft = /* @__PURE__ */ B({
1267
1329
  __name: "PluginMenuItem",
1268
1330
  props: {
1269
1331
  menu: {}
1270
1332
  },
1271
1333
  setup(e) {
1272
1334
  return (l, s) => {
1273
- const t = Xe, i = ls;
1274
- return !e.menu.children || e.menu.children.length === 0 ? (r(), k(t, {
1335
+ const t = tt, i = as;
1336
+ return !e.menu.children || e.menu.children.length === 0 ? (r(), A(t, {
1275
1337
  key: 0,
1276
1338
  index: e.menu.path
1277
1339
  }, {
1278
1340
  title: d(() => [
1279
- A(m(e.menu.title), 1)
1341
+ k(p(e.menu.title), 1)
1280
1342
  ]),
1281
1343
  _: 1
1282
- }, 8, ["index"])) : (r(), k(i, {
1344
+ }, 8, ["index"])) : (r(), A(i, {
1283
1345
  key: 1,
1284
1346
  index: e.menu.path
1285
1347
  }, {
1286
1348
  title: d(() => [
1287
- A(m(e.menu.title), 1)
1349
+ k(p(e.menu.title), 1)
1288
1350
  ]),
1289
1351
  default: d(() => [
1290
- (r(!0), f(R, null, O(e.menu.children, (n) => (r(), k(gt, {
1352
+ (r(!0), g(R, null, O(e.menu.children, (n) => (r(), A(ft, {
1291
1353
  key: n.path,
1292
1354
  menu: n
1293
1355
  }, null, 8, ["menu"]))), 128))
@@ -1296,7 +1358,7 @@ const Po = {
1296
1358
  }, 8, ["index"]));
1297
1359
  };
1298
1360
  }
1299
- }), Hl = /* @__PURE__ */ B({
1361
+ }), Ll = /* @__PURE__ */ B({
1300
1362
  __name: "PluginMenus",
1301
1363
  props: {
1302
1364
  menus: {},
@@ -1304,15 +1366,15 @@ const Po = {
1304
1366
  },
1305
1367
  emits: ["handleSelect"],
1306
1368
  setup(e, { emit: l }) {
1307
- const s = e, t = (_, w = /* @__PURE__ */ new Map()) => (_.forEach((g) => {
1308
- w.set(g.path, g), g.children && g.children.length > 0 && t(g.children, w);
1309
- }), w), i = C(() => t(s.menus)), n = l, o = (_) => {
1310
- const w = i.value.get(_);
1369
+ const s = e, t = (f, w = /* @__PURE__ */ new Map()) => (f.forEach((_) => {
1370
+ w.set(_.path, _), _.children && _.children.length > 0 && t(_.children, w);
1371
+ }), w), i = C(() => t(s.menus)), n = l, o = (f) => {
1372
+ const w = i.value.get(f);
1311
1373
  w && n("handleSelect", w);
1312
- }, c = Oe(), u = C(() => !!c["left-item"] || !!c.left), p = C(() => !!c["right-item"] || !!c.right);
1313
- return (_, w) => {
1314
- const g = Xe, b = ns;
1315
- return r(), k(b, {
1374
+ }, c = Ne(), u = C(() => !!c["left-item"] || !!c.left), m = C(() => !!c["right-item"] || !!c.right);
1375
+ return (f, w) => {
1376
+ const _ = tt, b = os;
1377
+ return r(), A(b, {
1316
1378
  "default-active": e.activeIndex,
1317
1379
  class: "plugin-menus",
1318
1380
  mode: "horizontal",
@@ -1320,41 +1382,41 @@ const Po = {
1320
1382
  onSelect: o
1321
1383
  }, {
1322
1384
  default: d(() => [
1323
- u.value ? I(_.$slots, "left-item", { key: 0 }, () => [
1324
- v(g, {
1385
+ u.value ? I(f.$slots, "left-item", { key: 0 }, () => [
1386
+ v(_, {
1325
1387
  index: "-left",
1326
1388
  style: { "margin-right": "auto" }
1327
1389
  }, {
1328
1390
  default: d(() => [
1329
- I(_.$slots, "left", {}, void 0, !0)
1391
+ I(f.$slots, "left", {}, void 0, !0)
1330
1392
  ]),
1331
1393
  _: 3
1332
1394
  })
1333
- ], !0) : $("", !0),
1334
- (r(!0), f(R, null, O(e.menus, (x) => (r(), k(gt, {
1395
+ ], !0) : z("", !0),
1396
+ (r(!0), g(R, null, O(e.menus, (x) => (r(), A(ft, {
1335
1397
  key: x.path,
1336
1398
  menu: x,
1337
1399
  index: String(x.path)
1338
1400
  }, null, 8, ["menu", "index"]))), 128)),
1339
- p.value ? I(_.$slots, "right-item", { key: 1 }, () => [
1340
- v(g, {
1401
+ m.value ? I(f.$slots, "right-item", { key: 1 }, () => [
1402
+ v(_, {
1341
1403
  index: "-right",
1342
1404
  style: { "margin-left": "auto" }
1343
1405
  }, {
1344
1406
  default: d(() => [
1345
- I(_.$slots, "right", {}, void 0, !0)
1407
+ I(f.$slots, "right", {}, void 0, !0)
1346
1408
  ]),
1347
1409
  _: 3
1348
1410
  })
1349
- ], !0) : $("", !0)
1411
+ ], !0) : z("", !0)
1350
1412
  ]),
1351
1413
  _: 3
1352
1414
  }, 8, ["default-active"]);
1353
1415
  };
1354
1416
  }
1355
- }), Tl = /* @__PURE__ */ L(Hl, [["__scopeId", "data-v-6dfc7821"]]);
1356
- new Lt();
1357
- var Se = /* @__PURE__ */ new Map(), ft = async (e, l) => {
1417
+ }), Rl = /* @__PURE__ */ L(Ll, [["__scopeId", "data-v-6dfc7821"]]);
1418
+ new Ft();
1419
+ var Se = /* @__PURE__ */ new Map(), _t = async (e, l) => {
1358
1420
  const s = await window.toolkitApi.bili.createBiliClient({
1359
1421
  context: {
1360
1422
  userCookie: e.userCookie
@@ -1363,19 +1425,19 @@ var Se = /* @__PURE__ */ new Map(), ft = async (e, l) => {
1363
1425
  });
1364
1426
  if (!s) throw new Error("内部错误,创建 BiliClient 失败");
1365
1427
  return Se.set(e.mid, s.id), s.id;
1366
- }, Ll = async (e, l) => {
1428
+ }, Fl = async (e, l) => {
1367
1429
  if (!e || !e.mid) throw new Error("用户未登录");
1368
- return Se.has(e.mid) ? Se.get(e.mid) : await ft(e, l);
1369
- }, Rl = {
1370
- reset: ft,
1371
- get: Ll
1372
- }, Fl = () => {
1373
- }, Ul = /* @__PURE__ */ new Set(["then", "catch", "finally", "toJSON", "toString", "valueOf"]);
1374
- function _t(e, l = []) {
1375
- return new Proxy(Fl, {
1430
+ return Se.has(e.mid) ? Se.get(e.mid) : await _t(e, l);
1431
+ }, Ul = {
1432
+ reset: _t,
1433
+ get: Fl
1434
+ }, ql = () => {
1435
+ }, Ol = /* @__PURE__ */ new Set(["then", "catch", "finally", "toJSON", "toString", "valueOf"]);
1436
+ function ht(e, l = []) {
1437
+ return new Proxy(ql, {
1376
1438
  get(s, t) {
1377
- if (typeof t != "symbol" && !(l.length === 0 && Ul.has(t)))
1378
- return _t(e, l.concat(t));
1439
+ if (typeof t != "symbol" && !(l.length === 0 && Ol.has(t)))
1440
+ return ht(e, l.concat(t));
1379
1441
  },
1380
1442
  async apply(s, t, i) {
1381
1443
  let n, o, c;
@@ -1393,20 +1455,20 @@ function _t(e, l = []) {
1393
1455
  l.join("."),
1394
1456
  ...i
1395
1457
  );
1396
- return Gt(u);
1458
+ return Kt(u);
1397
1459
  } finally {
1398
1460
  c && n && n.removeEventListener("abort", c);
1399
1461
  }
1400
1462
  }
1401
1463
  });
1402
1464
  }
1403
- async function ql(e, l) {
1404
- return _t(await Rl.reset(e, l));
1465
+ async function jl(e, l) {
1466
+ return ht(await Ul.reset(e, l));
1405
1467
  }
1406
- const Ol = { class: "plugin-page-header" }, jl = { class: "plugin-page-header__user-container" }, Nl = { class: "plugin-page-header__user-container__info" }, Zl = ["src"], Wl = ["src"], Gl = {
1468
+ const Nl = { class: "plugin-page-header" }, Zl = { class: "plugin-page-header__user-container" }, Wl = { class: "plugin-page-header__user-container__info" }, Gl = ["src"], Jl = ["src"], Kl = {
1407
1469
  key: 1,
1408
1470
  class: "plugin-page-header__user-container__info"
1409
- }, Ho = /* @__PURE__ */ B({
1471
+ }, jo = /* @__PURE__ */ B({
1410
1472
  __name: "PluginPageHeader",
1411
1473
  props: {
1412
1474
  menus: {},
@@ -1414,45 +1476,45 @@ const Ol = { class: "plugin-page-header" }, jl = { class: "plugin-page-header__u
1414
1476
  },
1415
1477
  emits: ["handleMenuSelect"],
1416
1478
  setup(e, { emit: l }) {
1417
- const s = at(), { user: t } = Mt(s), i = C(() => t.value?.face || Be), n = C(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": rt, "../../assets/images/user_level/level_2.svg": ut, "../../assets/images/user_level/level_3.svg": dt, "../../assets/images/user_level/level_4.svg": vt, "../../assets/images/user_level/level_5.svg": pt, "../../assets/images/user_level/level_6.svg": mt }))[`../../assets/images/user_level/level_${t.value?.level ?? 0}.svg`], import.meta.url).href), o = async () => {
1418
- const _ = await H.user.switchUser(!0);
1419
- s.setUser(_), await ql(_);
1479
+ const s = Te(), { user: t } = Qt(s), i = C(() => t.value?.face || Be), n = C(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": ut, "../../assets/images/user_level/level_2.svg": dt, "../../assets/images/user_level/level_3.svg": vt, "../../assets/images/user_level/level_4.svg": pt, "../../assets/images/user_level/level_5.svg": mt, "../../assets/images/user_level/level_6.svg": gt }))[`../../assets/images/user_level/level_${t.value?.level ?? 0}.svg`], import.meta.url).href), o = async () => {
1480
+ const f = await T.user.switchUser(!0);
1481
+ s.setUser(f), await jl(f);
1420
1482
  }, c = () => {
1421
1483
  s.deleteUser();
1422
- }, u = l, p = (_) => {
1423
- _ && u("handleMenuSelect", _);
1484
+ }, u = l, m = (f) => {
1485
+ f && u("handleMenuSelect", f);
1424
1486
  };
1425
1487
  return ne(async () => {
1426
1488
  if (t.value)
1427
1489
  try {
1428
- const _ = await H.user.getMyInfoByCookie(t.value.userCookie);
1429
- s.setUser(_);
1490
+ const f = await T.user.getMyInfoByCookie(t.value.userCookie);
1491
+ s.setUser(f);
1430
1492
  } catch {
1431
1493
  ie("当前用户 cookie 已失效"), s.deleteUser();
1432
1494
  }
1433
- }), (_, w) => {
1434
- const g = Tl, b = ae, x = zl, M = as, E = cs, D = is, V = os;
1435
- return r(), f("div", Ol, [
1436
- v(g, {
1495
+ }), (f, w) => {
1496
+ const _ = Rl, b = ae, x = Pl, V = is, E = us, D = rs, M = cs;
1497
+ return r(), g("div", Nl, [
1498
+ v(_, {
1437
1499
  class: "plugin-page-header__menus",
1438
1500
  "active-index": e.activeIndex,
1439
1501
  menus: e.menus,
1440
- onHandleSelect: p
1502
+ onHandleSelect: m
1441
1503
  }, null, 8, ["active-index", "menus"]),
1442
- a("div", jl, [
1443
- h(t) ? (r(), k(M, {
1504
+ a("div", Zl, [
1505
+ h(t) ? (r(), A(V, {
1444
1506
  key: 0,
1445
1507
  placement: "bottom-end",
1446
1508
  width: "auto",
1447
1509
  trigger: "hover"
1448
1510
  }, {
1449
1511
  reference: d(() => [
1450
- a("div", Nl, [
1512
+ a("div", Wl, [
1451
1513
  a("img", {
1452
1514
  class: "plugin-page-header__user-container__info__face",
1453
1515
  src: i.value,
1454
1516
  alt: "face"
1455
- }, null, 8, Zl),
1517
+ }, null, 8, Gl),
1456
1518
  v(b, {
1457
1519
  class: "plugin-page-header__user-container__info__name",
1458
1520
  content: h(t).name
@@ -1461,14 +1523,14 @@ const Ol = { class: "plugin-page-header" }, jl = { class: "plugin-page-header__u
1461
1523
  class: "plugin-page-header__user-container__info__level",
1462
1524
  src: n.value,
1463
1525
  alt: "level img"
1464
- }, null, 8, Wl)
1526
+ }, null, 8, Jl)
1465
1527
  ])
1466
1528
  ]),
1467
1529
  default: d(() => [
1468
1530
  v(x, { user: h(t) }, null, 8, ["user"])
1469
1531
  ]),
1470
1532
  _: 1
1471
- })) : (r(), f("div", Gl, [...w[0] || (w[0] = [
1533
+ })) : (r(), g("div", Kl, [...w[0] || (w[0] = [
1472
1534
  a("img", {
1473
1535
  class: "plugin-page-header__user-container__info__face",
1474
1536
  alt: "",
@@ -1476,7 +1538,7 @@ const Ol = { class: "plugin-page-header" }, jl = { class: "plugin-page-header__u
1476
1538
  }, null, -1),
1477
1539
  a("span", { class: "plugin-page-header__user-container__info__name" }, "未登录", -1)
1478
1540
  ])])),
1479
- v(V, {
1541
+ v(M, {
1480
1542
  placement: "bottom-end",
1481
1543
  trigger: "click",
1482
1544
  size: "default"
@@ -1486,19 +1548,19 @@ const Ol = { class: "plugin-page-header" }, jl = { class: "plugin-page-header__u
1486
1548
  default: d(() => [
1487
1549
  v(E, { onClick: o }, {
1488
1550
  default: d(() => [...w[1] || (w[1] = [
1489
- A("选择用户", -1)
1551
+ k("选择用户", -1)
1490
1552
  ])]),
1491
1553
  _: 1
1492
1554
  }),
1493
- h(t) ? (r(), k(E, {
1555
+ h(t) ? (r(), A(E, {
1494
1556
  key: 0,
1495
1557
  onClick: c
1496
1558
  }, {
1497
1559
  default: d(() => [...w[2] || (w[2] = [
1498
- A("取消选择", -1)
1560
+ k("取消选择", -1)
1499
1561
  ])]),
1500
1562
  _: 1
1501
- })) : $("", !0)
1563
+ })) : z("", !0)
1502
1564
  ]),
1503
1565
  _: 1
1504
1566
  })
@@ -1512,13 +1574,13 @@ const Ol = { class: "plugin-page-header" }, jl = { class: "plugin-page-header__u
1512
1574
  ]);
1513
1575
  };
1514
1576
  }
1515
- }), Jl = {}, Kl = { class: "plugin-page-container" };
1516
- function Yl(e, l) {
1517
- return r(), f("div", Kl, [
1577
+ }), Yl = {}, Xl = { class: "plugin-page-container" };
1578
+ function en(e, l) {
1579
+ return r(), g("div", Xl, [
1518
1580
  I(e.$slots, "default", {}, void 0, !0)
1519
1581
  ]);
1520
1582
  }
1521
- const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392"]]), Xl = { class: "page-table__toolbar" }, en = { class: "page-table__actions" }, tn = /* @__PURE__ */ B({
1583
+ const No = /* @__PURE__ */ L(Yl, [["render", en], ["__scopeId", "data-v-ddcb3392"]]), tn = { class: "page-table__toolbar" }, sn = { class: "page-table__actions" }, ln = /* @__PURE__ */ B({
1522
1584
  inheritAttrs: !1,
1523
1585
  __name: "PageTable",
1524
1586
  props: {
@@ -1535,82 +1597,82 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1535
1597
  },
1536
1598
  emits: ["reset", "search"],
1537
1599
  setup(e, { expose: l, emit: s }) {
1538
- const t = Pt(), i = C(() => ({
1600
+ const t = Vt(), i = C(() => ({
1539
1601
  class: t.class,
1540
1602
  style: t.style
1541
1603
  })), n = C(() => {
1542
1604
  const { class: Q, style: j, ...de } = t;
1543
1605
  return de;
1544
- }), o = e, c = z(!1), u = C(() => o.pageParams ? o.pageParams : {
1606
+ }), o = e, c = S(!1), u = C(() => o.pageParams ? o.pageParams : {
1545
1607
  pageNum: 1,
1546
1608
  pageSize: o.pageSizes[0]
1547
1609
  }), {
1548
- pageData: p,
1549
- tableData: _,
1610
+ pageData: m,
1611
+ tableData: f,
1550
1612
  loading: w,
1551
- refresh: g,
1613
+ refresh: _,
1552
1614
  resetAndRefresh: b,
1553
1615
  resetPageAndRefresh: x,
1554
- handleSizeChange: M,
1616
+ handleSizeChange: V,
1555
1617
  handleCurrPageChange: E
1556
- } = ot({
1618
+ } = it({
1557
1619
  fetchPage: o.fetchPage,
1558
1620
  pageParams: () => u.value,
1559
1621
  queryParams: o.queryParams ? () => o.queryParams : void 0,
1560
1622
  autoLoad: o.autoLoad,
1561
1623
  onLoaded: () => {
1562
- c.value = !0, S.value?.setScrollTop(0);
1624
+ c.value = !0, $.value?.setScrollTop(0);
1563
1625
  }
1564
- }), D = s, V = () => {
1565
- D("search"), g();
1626
+ }), D = s, M = () => {
1627
+ D("search"), _();
1566
1628
  }, F = async () => {
1567
1629
  D("reset"), await we(), await b();
1568
- }, { elementRef: P, height: y } = ys("tableWrapperRef"), S = K("tableRef"), U = C(() => o.tableHeight ? o.tableHeight : y.value), X = C(() => ({
1630
+ }, { elementRef: P, height: y } = As("tableWrapperRef"), $ = ee("tableRef"), U = C(() => o.tableHeight ? o.tableHeight : y.value), se = C(() => ({
1569
1631
  search: o.actions.includes("search"),
1570
1632
  resetQuery: o.actions.includes("resetQuery")
1571
- })), ee = C(() => o.pageSizes && o.pageSizes.length > 1 ? "total, sizes, prev, pager, next, jumper" : "total, prev, pager, next, jumper"), ue = !!Oe().query;
1633
+ })), le = C(() => o.pageSizes && o.pageSizes.length > 1 ? "total, sizes, prev, pager, next, jumper" : "total, prev, pager, next, jumper"), ue = !!Ne().query;
1572
1634
  return l({
1573
1635
  loading: w,
1574
- tableRef: S,
1575
- tableData: _,
1576
- pageData: p,
1577
- refresh: g,
1636
+ tableRef: $,
1637
+ tableData: f,
1638
+ pageData: m,
1639
+ refresh: _,
1578
1640
  resetAndRefresh: b,
1579
1641
  resetPageAndRefresh: x,
1580
- getSelectionRows: S.value?.getSelectionRows,
1581
- toggleRowSelection: S.value?.toggleRowSelection,
1582
- setCurrentRow: S.value?.setCurrentRow,
1583
- clearSelection: S.value?.clearSelection,
1584
- scrollTo: S.value?.scrollTo
1642
+ getSelectionRows: $.value?.getSelectionRows,
1643
+ toggleRowSelection: $.value?.toggleRowSelection,
1644
+ setCurrentRow: $.value?.setCurrentRow,
1645
+ clearSelection: $.value?.clearSelection,
1646
+ scrollTo: $.value?.scrollTo
1585
1647
  }), (Q, j) => {
1586
- const de = Z, kt = us, bt = et, Ct = rs, xt = tt, Et = Ie;
1587
- return W((r(), f("div", G({ class: "page-table" }, i.value), [
1588
- a("div", Xl, [
1648
+ const de = W, bt = vs, Ct = st, xt = ds, Et = lt, Bt = Ie;
1649
+ return J((r(), g("div", K({ class: "page-table" }, i.value), [
1650
+ a("div", tn, [
1589
1651
  a("div", {
1590
- class: se(["page-table__query", ue ? "has-query" : ""])
1652
+ class: G(["page-table__query", ue ? "has-query" : ""])
1591
1653
  }, [
1592
1654
  I(Q.$slots, "query", {}, void 0, !0),
1593
- a("div", en, [
1655
+ a("div", sn, [
1594
1656
  I(Q.$slots, "actions", {}, void 0, !0),
1595
- X.value.search ? (r(), k(de, {
1657
+ se.value.search ? (r(), A(de, {
1596
1658
  key: 0,
1597
1659
  type: "primary",
1598
- onClick: V
1660
+ onClick: M
1599
1661
  }, {
1600
1662
  default: d(() => [
1601
- A(m(e.searchActionLabel), 1)
1663
+ k(p(e.searchActionLabel), 1)
1602
1664
  ]),
1603
1665
  _: 1
1604
- })) : $("", !0),
1605
- X.value.resetQuery ? (r(), k(de, {
1666
+ })) : z("", !0),
1667
+ se.value.resetQuery ? (r(), A(de, {
1606
1668
  key: 1,
1607
1669
  onClick: F
1608
1670
  }, {
1609
1671
  default: d(() => [...j[2] || (j[2] = [
1610
- A("重置", -1)
1672
+ k("重置", -1)
1611
1673
  ])]),
1612
1674
  _: 1
1613
- })) : $("", !0)
1675
+ })) : z("", !0)
1614
1676
  ])
1615
1677
  ], 2)
1616
1678
  ]),
@@ -1619,13 +1681,13 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1619
1681
  ref: P,
1620
1682
  class: "page-table__table-wrapper"
1621
1683
  }, [
1622
- c.value ? (r(), k(Ct, G({
1684
+ c.value ? (r(), A(xt, K({
1623
1685
  key: 0,
1624
1686
  ref_key: "tableRef",
1625
- ref: S
1687
+ ref: $
1626
1688
  }, n.value, {
1627
1689
  class: "page-table__table",
1628
- data: h(_),
1690
+ data: h(f),
1629
1691
  border: "",
1630
1692
  height: U.value,
1631
1693
  "table-layout": e.tableLayout,
@@ -1633,38 +1695,38 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1633
1695
  }), {
1634
1696
  empty: d(() => [
1635
1697
  I(Q.$slots, "empty", {}, () => [
1636
- v(bt, { description: "没有数据" })
1698
+ v(Ct, { description: "没有数据" })
1637
1699
  ], !0)
1638
1700
  ]),
1639
1701
  default: d(() => [
1640
- e.selectionMode === "multiple" ? (r(), k(kt, {
1702
+ e.selectionMode === "multiple" ? (r(), A(bt, {
1641
1703
  key: 0,
1642
1704
  type: "selection",
1643
1705
  width: "55"
1644
- })) : $("", !0),
1706
+ })) : z("", !0),
1645
1707
  I(Q.$slots, "default", {}, void 0, !0)
1646
1708
  ]),
1647
1709
  _: 3
1648
- }, 16, ["data", "height", "table-layout", "highlight-current-row"])) : $("", !0)
1710
+ }, 16, ["data", "height", "table-layout", "highlight-current-row"])) : z("", !0)
1649
1711
  ], 512),
1650
- v(xt, {
1712
+ v(Et, {
1651
1713
  class: "page-table__pagination",
1652
- "current-page": h(p).pageNum,
1653
- "onUpdate:currentPage": j[0] || (j[0] = (Ae) => h(p).pageNum = Ae),
1654
- "page-size": h(p).pageSize,
1655
- "onUpdate:pageSize": j[1] || (j[1] = (Ae) => h(p).pageSize = Ae),
1714
+ "current-page": h(m).pageNum,
1715
+ "onUpdate:currentPage": j[0] || (j[0] = (ke) => h(m).pageNum = ke),
1716
+ "page-size": h(m).pageSize,
1717
+ "onUpdate:pageSize": j[1] || (j[1] = (ke) => h(m).pageSize = ke),
1656
1718
  "page-sizes": e.pageSizes,
1657
- total: h(p).total,
1658
- layout: ee.value,
1719
+ total: h(m).total,
1720
+ layout: le.value,
1659
1721
  onCurrentChange: h(E),
1660
- onSizeChange: h(M)
1722
+ onSizeChange: h(V)
1661
1723
  }, null, 8, ["current-page", "page-size", "page-sizes", "total", "layout", "onCurrentChange", "onSizeChange"])
1662
1724
  ], 16)), [
1663
- [Et, h(w)]
1725
+ [Bt, h(w)]
1664
1726
  ]);
1665
1727
  };
1666
1728
  }
1667
- }), Lo = /* @__PURE__ */ L(tn, [["__scopeId", "data-v-293a15d1"]]), qe = "delete-confirm-dialog:delete-source-file", sn = /* @__PURE__ */ B({
1729
+ }), Zo = /* @__PURE__ */ L(ln, [["__scopeId", "data-v-293a15d1"]]), je = "delete-confirm-dialog:delete-source-file", nn = /* @__PURE__ */ B({
1668
1730
  __name: "DeleteConfirmDialog",
1669
1731
  props: {
1670
1732
  visible: { type: Boolean },
@@ -1675,9 +1737,9 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1675
1737
  },
1676
1738
  emits: ["confirm", "cancel"],
1677
1739
  setup(e, { emit: l }) {
1678
- const s = l, t = z(localStorage.getItem(qe) === "true");
1740
+ const s = l, t = S(localStorage.getItem(je) === "true");
1679
1741
  function i() {
1680
- localStorage.setItem(qe, String(t.value));
1742
+ localStorage.setItem(je, String(t.value));
1681
1743
  }
1682
1744
  function n() {
1683
1745
  s("confirm", t.value);
@@ -1686,8 +1748,8 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1686
1748
  s("cancel");
1687
1749
  }
1688
1750
  return (c, u) => {
1689
- const p = ds, _ = Z, w = re;
1690
- return r(), k(w, {
1751
+ const m = ps, f = W, w = re;
1752
+ return r(), A(w, {
1691
1753
  "model-value": e.visible,
1692
1754
  title: e.title,
1693
1755
  width: "420px",
@@ -1696,32 +1758,32 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1696
1758
  onClose: o
1697
1759
  }, {
1698
1760
  footer: d(() => [
1699
- v(_, { onClick: o }, {
1761
+ v(f, { onClick: o }, {
1700
1762
  default: d(() => [
1701
- A(m(e.cancelButtonText), 1)
1763
+ k(p(e.cancelButtonText), 1)
1702
1764
  ]),
1703
1765
  _: 1
1704
1766
  }),
1705
- v(_, {
1767
+ v(f, {
1706
1768
  type: "danger",
1707
1769
  onClick: n
1708
1770
  }, {
1709
1771
  default: d(() => [
1710
- A(m(e.confirmButtonText), 1)
1772
+ k(p(e.confirmButtonText), 1)
1711
1773
  ]),
1712
1774
  _: 1
1713
1775
  })
1714
1776
  ]),
1715
1777
  default: d(() => [
1716
- a("div", null, m(e.message), 1),
1717
- v(p, {
1778
+ a("div", null, p(e.message), 1),
1779
+ v(m, {
1718
1780
  modelValue: t.value,
1719
- "onUpdate:modelValue": u[0] || (u[0] = (g) => t.value = g),
1781
+ "onUpdate:modelValue": u[0] || (u[0] = (_) => t.value = _),
1720
1782
  style: { "margin-top": "16px" },
1721
1783
  onChange: i
1722
1784
  }, {
1723
1785
  default: d(() => [...u[1] || (u[1] = [
1724
- A(" 同时删除本地磁盘源文件 ", -1)
1786
+ k(" 同时删除本地磁盘源文件 ", -1)
1725
1787
  ])]),
1726
1788
  _: 1
1727
1789
  }, 8, ["modelValue"])
@@ -1730,7 +1792,7 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1730
1792
  }, 8, ["model-value", "title"]);
1731
1793
  };
1732
1794
  }
1733
- }), ht = /* @__PURE__ */ B({
1795
+ }), wt = /* @__PURE__ */ B({
1734
1796
  __name: "DownloadStatus",
1735
1797
  props: {
1736
1798
  task: {}
@@ -1755,22 +1817,22 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1755
1817
  default:
1756
1818
  return "info";
1757
1819
  }
1758
- }), t = C(() => Ge[l.task.status]);
1820
+ }), t = C(() => Ke[l.task.status]);
1759
1821
  return (i, n) => {
1760
- const o = st;
1761
- return r(), k(o, {
1822
+ const o = nt;
1823
+ return r(), A(o, {
1762
1824
  type: s.value,
1763
1825
  "disable-transitions": "",
1764
1826
  size: "small"
1765
1827
  }, {
1766
1828
  default: d(() => [
1767
- A(m(t.value), 1)
1829
+ k(p(t.value), 1)
1768
1830
  ]),
1769
1831
  _: 1
1770
1832
  }, 8, ["type"]);
1771
1833
  };
1772
1834
  }
1773
- }), wt = /* @__PURE__ */ B({
1835
+ }), yt = /* @__PURE__ */ B({
1774
1836
  __name: "DownloadProgress",
1775
1837
  props: {
1776
1838
  task: {}
@@ -1785,10 +1847,10 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1785
1847
  default:
1786
1848
  return;
1787
1849
  }
1788
- }), t = C(() => Jt(l.task.status, ["downloading", "merging"]));
1850
+ }), t = C(() => Yt(l.task.status, ["downloading", "merging"]));
1789
1851
  return (i, n) => {
1790
- const o = Ke;
1791
- return r(), k(o, {
1852
+ const o = Xe;
1853
+ return r(), A(o, {
1792
1854
  percentage: e.task.progress ? e.task.progress.percent : 0,
1793
1855
  "stroke-width": 8,
1794
1856
  "show-text": !0,
@@ -1799,7 +1861,7 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1799
1861
  }, null, 8, ["percentage", "status", "striped", "striped-flow"]);
1800
1862
  };
1801
1863
  }
1802
- }), $e = (e) => Kt(e / 1024), ln = (e) => e === 0 ? "0 KB/s" : e < 1024 ? e.toFixed(1) + " KB/s" : (e / 1024).toFixed(1) + " MB/s", ze = (e) => e <= 1e4 ? String(e) : e < 1e8 ? (e / 1e4).toFixed(1) + "万" : (e / 1e8).toFixed(1) + "亿", nn = { class: "detail-item" }, an = { class: "value" }, on = { class: "detail-item" }, cn = { class: "value" }, rn = { class: "detail-item" }, un = { class: "value" }, dn = /* @__PURE__ */ B({
1864
+ }), $e = (e) => Xt(e / 1024), an = (e) => e === 0 ? "0 KB/s" : e < 1024 ? e.toFixed(1) + " KB/s" : (e / 1024).toFixed(1) + " MB/s", ze = (e) => e <= 1e4 ? String(e) : e < 1e8 ? (e / 1e4).toFixed(1) + "万" : (e / 1e8).toFixed(1) + "亿", on = { class: "detail-item" }, cn = { class: "value" }, rn = { class: "detail-item" }, un = { class: "value" }, dn = { class: "detail-item" }, vn = { class: "value" }, pn = /* @__PURE__ */ B({
1803
1865
  __name: "DownloadProgressDetails",
1804
1866
  props: {
1805
1867
  task: {},
@@ -1807,38 +1869,38 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1807
1869
  isCompact: { type: Boolean }
1808
1870
  },
1809
1871
  setup(e) {
1810
- return (l, s) => (r(), f("div", {
1872
+ return (l, s) => (r(), g("div", {
1811
1873
  class: "download-progress-details",
1812
1874
  style: xe({ gap: e.isCompact ? "10px" : "20px" })
1813
1875
  }, [
1814
- e.task.progress ? (r(), f(R, { key: 0 }, [
1815
- a("div", nn, [
1876
+ e.task.progress ? (r(), g(R, { key: 0 }, [
1877
+ a("div", on, [
1816
1878
  s[0] || (s[0] = a("span", { class: "label" }, "速度:", -1)),
1817
- a("span", an, m(h(ln)(e.task.progress.speedKBps)), 1)
1879
+ a("span", cn, p(h(an)(e.task.progress.speedKBps)), 1)
1818
1880
  ]),
1819
- a("div", on, [
1881
+ a("div", rn, [
1820
1882
  s[2] || (s[2] = a("span", { class: "label" }, "文件:", -1)),
1821
- a("div", cn, [
1822
- a("span", null, m(e.task.progress?.currentItem), 1),
1883
+ a("div", un, [
1884
+ a("span", null, p(e.task.progress?.currentItem), 1),
1823
1885
  s[1] || (s[1] = a("span", null, " / ", -1)),
1824
- a("span", null, m(e.resourceCount), 1)
1886
+ a("span", null, p(e.resourceCount), 1)
1825
1887
  ])
1826
1888
  ]),
1827
- a("div", rn, [
1889
+ a("div", dn, [
1828
1890
  s[4] || (s[4] = a("span", { class: "label" }, "已完成:", -1)),
1829
- a("div", un, [
1830
- a("span", null, m(h($e)(e.task.progress.completedBytes)), 1),
1891
+ a("div", vn, [
1892
+ a("span", null, p(h($e)(e.task.progress.completedBytes)), 1),
1831
1893
  s[3] || (s[3] = a("span", null, " / ", -1)),
1832
- a("span", null, m(h($e)(e.task.progress.totalBytes)), 1)
1894
+ a("span", null, p(h($e)(e.task.progress.totalBytes)), 1)
1833
1895
  ])
1834
1896
  ])
1835
- ], 64)) : $("", !0)
1897
+ ], 64)) : z("", !0)
1836
1898
  ], 4));
1837
1899
  }
1838
- }), yt = /* @__PURE__ */ L(dn, [["__scopeId", "data-v-1923a35f"]]), vn = { class: "download-result" }, pn = {
1900
+ }), kt = /* @__PURE__ */ L(pn, [["__scopeId", "data-v-1923a35f"]]), mn = { class: "download-result" }, gn = {
1839
1901
  key: 0,
1840
1902
  class: "detail-item"
1841
- }, mn = { class: "detail-item" }, gn = { class: "detail-item" }, fn = /* @__PURE__ */ B({
1903
+ }, fn = { class: "detail-item" }, _n = { class: "detail-item" }, hn = /* @__PURE__ */ B({
1842
1904
  __name: "DownloadResult",
1843
1905
  props: {
1844
1906
  task: {},
@@ -1848,23 +1910,23 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1848
1910
  setup(e) {
1849
1911
  return (l, s) => {
1850
1912
  const t = N;
1851
- return r(), f("div", vn, [
1913
+ return r(), g("div", mn, [
1852
1914
  s[0] || (s[0] = a("span", { class: "hint" }, "总共:", -1)),
1853
- e.task.result ? (r(), f("span", pn, [
1854
- a("span", null, m(h($e)(e.task.result.totalBytes)), 1)
1855
- ])) : $("", !0),
1856
- a("span", mn, [
1915
+ e.task.result ? (r(), g("span", gn, [
1916
+ a("span", null, p(h($e)(e.task.result.totalBytes)), 1)
1917
+ ])) : z("", !0),
1918
+ a("span", fn, [
1857
1919
  v(t, { icon: "video" }),
1858
- a("span", null, m(e.videoCount) + " 个视频", 1)
1920
+ a("span", null, p(e.videoCount) + " 个视频", 1)
1859
1921
  ]),
1860
- a("span", gn, [
1922
+ a("span", _n, [
1861
1923
  v(t, { icon: "file" }),
1862
- a("span", null, m(e.resourceCount) + " 个文件", 1)
1924
+ a("span", null, p(e.resourceCount) + " 个文件", 1)
1863
1925
  ])
1864
1926
  ]);
1865
1927
  };
1866
1928
  }
1867
- }), At = /* @__PURE__ */ L(fn, [["__scopeId", "data-v-a28b3695"]]), _n = { class: "video-stats-info" }, hn = { class: "value" }, wn = /* @__PURE__ */ B({
1929
+ }), At = /* @__PURE__ */ L(hn, [["__scopeId", "data-v-a28b3695"]]), wn = { class: "video-stats-info" }, yn = { class: "value" }, kn = /* @__PURE__ */ B({
1868
1930
  __name: "VideoStatsInfo",
1869
1931
  props: {
1870
1932
  stat: {},
@@ -1872,7 +1934,7 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1872
1934
  },
1873
1935
  setup(e) {
1874
1936
  const l = e, s = {
1875
- like: "heart",
1937
+ like: "thumb-up",
1876
1938
  coin: "money-cny-circle",
1877
1939
  favorite: "star",
1878
1940
  share: "share-forward",
@@ -1888,26 +1950,26 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1888
1950
  });
1889
1951
  return (i, n) => {
1890
1952
  const o = N;
1891
- return r(), f("div", _n, [
1892
- (r(!0), f(R, null, O(t.value, (c) => (r(), f("div", {
1953
+ return r(), g("div", wn, [
1954
+ (r(!0), g(R, null, O(t.value, (c) => (r(), g("div", {
1893
1955
  class: "stat-item",
1894
1956
  key: c.icon
1895
1957
  }, [
1896
1958
  v(o, {
1897
1959
  icon: c.icon
1898
1960
  }, null, 8, ["icon"]),
1899
- a("span", hn, m(c.value), 1)
1961
+ a("span", yn, p(c.value), 1)
1900
1962
  ]))), 128))
1901
1963
  ]);
1902
1964
  };
1903
1965
  }
1904
- }), yn = /* @__PURE__ */ L(wn, [["__scopeId", "data-v-b9c6ece7"]]), An = /* @__PURE__ */ B({
1966
+ }), An = /* @__PURE__ */ L(kn, [["__scopeId", "data-v-f75c0017"]]), bn = /* @__PURE__ */ B({
1905
1967
  __name: "DownloadResourceTag",
1906
1968
  props: {
1907
1969
  type: {}
1908
1970
  },
1909
1971
  setup(e) {
1910
- const l = e, s = C(() => Xt[l.type]), t = {
1972
+ const l = e, s = C(() => ts[l.type]), t = {
1911
1973
  audio: "file-music",
1912
1974
  video: "file-video",
1913
1975
  dm: "keyboard",
@@ -1915,19 +1977,19 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1915
1977
  subtitle: "closed-captioning"
1916
1978
  };
1917
1979
  return (i, n) => {
1918
- const o = st;
1919
- return r(), k(o, {
1980
+ const o = nt;
1981
+ return r(), A(o, {
1920
1982
  type: "primary",
1921
1983
  effect: "plain",
1922
1984
  "disable-transitions": "",
1923
1985
  size: "small"
1924
1986
  }, {
1925
1987
  default: d(() => [
1926
- v(ct, {
1988
+ v(rt, {
1927
1989
  icon: t[e.type]
1928
1990
  }, {
1929
1991
  default: d(() => [
1930
- A(m(s.value), 1)
1992
+ k(p(s.value), 1)
1931
1993
  ]),
1932
1994
  _: 1
1933
1995
  }, 8, ["icon"])
@@ -1936,7 +1998,7 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1936
1998
  });
1937
1999
  };
1938
2000
  }
1939
- }), kn = { class: "download-video-part-card" }, bn = { class: "left-info" }, Cn = { class: "right-info" }, xn = /* @__PURE__ */ B({
2001
+ }), Cn = { class: "download-video-part-card" }, xn = { class: "left-info" }, En = { class: "right-info" }, Bn = /* @__PURE__ */ B({
1940
2002
  __name: "DownloadVideoPartCard",
1941
2003
  props: {
1942
2004
  part: {}
@@ -1944,59 +2006,59 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
1944
2006
  setup(e) {
1945
2007
  const l = e, s = C(() => l.part.resources.find((n) => n.type === "audio")?.source.audioQuality), t = C(() => l.part.resources.find((n) => n.type === "video")?.source.videoQuality), i = C(() => l.part.resources.find((n) => n.type === "video")?.source.videoCodec);
1946
2008
  return (n, o) => {
1947
- const c = ae, u = vs;
1948
- return r(), f("div", kn, [
1949
- a("div", bn, [
1950
- a("div", null, m(e.part.snapshot.page) + "P", 1),
2009
+ const c = ae, u = ms;
2010
+ return r(), g("div", Cn, [
2011
+ a("div", xn, [
2012
+ a("div", null, p(e.part.snapshot.page) + "P", 1),
1951
2013
  v(c, {
1952
2014
  content: e.part.snapshot.part
1953
2015
  }, {
1954
2016
  default: d(() => [
1955
- A(m(e.part.snapshot.part), 1)
2017
+ k(p(e.part.snapshot.part), 1)
1956
2018
  ]),
1957
2019
  _: 1
1958
2020
  }, 8, ["content"])
1959
2021
  ]),
1960
- a("div", Cn, [
1961
- s.value ? (r(), k(u, {
2022
+ a("div", En, [
2023
+ s.value ? (r(), A(u, {
1962
2024
  key: 0,
1963
2025
  type: "info",
1964
2026
  effect: "plain"
1965
2027
  }, {
1966
2028
  default: d(() => [
1967
- A(m(h(Rt)[s.value]), 1)
2029
+ k(p(h(Ut)[s.value]), 1)
1968
2030
  ]),
1969
2031
  _: 1
1970
- })) : $("", !0),
1971
- t.value ? (r(), k(u, {
2032
+ })) : z("", !0),
2033
+ t.value ? (r(), A(u, {
1972
2034
  key: 1,
1973
2035
  type: "info",
1974
2036
  effect: "plain"
1975
2037
  }, {
1976
2038
  default: d(() => [
1977
- A(m(h(Ft)[t.value]), 1)
2039
+ k(p(h(qt)[t.value]), 1)
1978
2040
  ]),
1979
2041
  _: 1
1980
- })) : $("", !0),
1981
- i.value ? (r(), k(u, {
2042
+ })) : z("", !0),
2043
+ i.value ? (r(), A(u, {
1982
2044
  key: 2,
1983
2045
  type: "info",
1984
2046
  effect: "plain"
1985
2047
  }, {
1986
2048
  default: d(() => [
1987
- A(m(h(Ut)[i.value]), 1)
2049
+ k(p(h(Ot)[i.value]), 1)
1988
2050
  ]),
1989
2051
  _: 1
1990
- })) : $("", !0),
1991
- a("span", null, m(h(Pe)(e.part.snapshot.duration)), 1)
2052
+ })) : z("", !0),
2053
+ a("span", null, p(h(Pe)(e.part.snapshot.duration)), 1)
1992
2054
  ])
1993
2055
  ]);
1994
2056
  };
1995
2057
  }
1996
- }), En = /* @__PURE__ */ L(xn, [["__scopeId", "data-v-84c28695"]]), Bn = (e) => {
1997
- const l = qt(e.tid), s = Ot(e.tid_v2);
2058
+ }), Sn = /* @__PURE__ */ L(Bn, [["__scopeId", "data-v-84c28695"]]), $n = (e) => {
2059
+ const l = jt(e.tid), s = Nt(e.tid_v2);
1998
2060
  return s ? s.subZoneName ? `${s.mainZoneName} > ${s.subZoneName}` : s.mainZoneName : l ? l.subZoneName ? `${l.mainZoneName} > ${l.subZoneName}` : l.mainZoneName : "";
1999
- }, Sn = { class: "download-video-card" }, $n = { class: "info-row" }, zn = { class: "info-left" }, Dn = { class: "cover-image" }, Pn = { class: "cover-placeholder" }, In = { class: "download-cover-stats" }, Mn = { class: "download-cover-stats__duration" }, Vn = { class: "info-right" }, Qn = { class: "info-row" }, Hn = { class: "info-row" }, Tn = { class: "user-info" }, Ln = ["src"], Rn = { class: "user-name" }, Fn = { class: "zone" }, Un = { class: "pubdate" }, qn = { class: "info-row stats" }, On = { class: "bvid" }, jn = { class: "info-row" }, Nn = { class: "part-list" }, Zn = /* @__PURE__ */ B({
2061
+ }, zn = { class: "download-video-card" }, Dn = { class: "info-row" }, Pn = { class: "info-left" }, In = { class: "cover-image" }, Vn = { class: "cover-placeholder" }, Mn = { class: "download-cover-stats" }, Qn = { class: "download-cover-stats__duration" }, Tn = { class: "info-right" }, Hn = { class: "info-row" }, Ln = { class: "info-row" }, Rn = { class: "user-info" }, Fn = ["src"], Un = { class: "user-name" }, qn = { class: "zone" }, On = { class: "pubdate" }, jn = { class: "info-row stats" }, Nn = { class: "bvid" }, Zn = { class: "info-row" }, Wn = { class: "part-list" }, Gn = /* @__PURE__ */ B({
2000
2062
  __name: "DownloadVideoCard",
2001
2063
  props: {
2002
2064
  video: {}
@@ -2010,24 +2072,24 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
2010
2072
  window.open(`https://www.bilibili.com/video/${t.value.bvid}`);
2011
2073
  }, o = l;
2012
2074
  return (c, u) => {
2013
- const p = Me, _ = lt, w = ct, g = ae;
2014
- return r(), f("div", Sn, [
2015
- a("div", $n, [
2016
- a("div", zn, [
2075
+ const m = Ve, f = at, w = rt, _ = ae;
2076
+ return r(), g("div", zn, [
2077
+ a("div", Dn, [
2078
+ a("div", Pn, [
2017
2079
  a("div", {
2018
2080
  class: "cover",
2019
2081
  onClick: n
2020
2082
  }, [
2021
- a("div", Dn, [
2022
- v(_, {
2083
+ a("div", In, [
2084
+ v(f, {
2023
2085
  src: t.value.pic,
2024
2086
  fit: "cover"
2025
2087
  }, {
2026
2088
  error: d(() => [
2027
- a("div", Pn, [
2028
- v(p, null, {
2089
+ a("div", Vn, [
2090
+ v(m, null, {
2029
2091
  default: d(() => [
2030
- v(h(it))
2092
+ v(h(ct))
2031
2093
  ]),
2032
2094
  _: 1
2033
2095
  })
@@ -2035,82 +2097,82 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
2035
2097
  ]),
2036
2098
  _: 1
2037
2099
  }, 8, ["src"]),
2038
- a("div", In, [
2100
+ a("div", Mn, [
2039
2101
  v(w, { icon: "video" }, {
2040
2102
  default: d(() => [
2041
- A(m(h(ze)(t.value.stat.view)), 1)
2103
+ k(p(h(ze)(t.value.stat.view)), 1)
2042
2104
  ]),
2043
2105
  _: 1
2044
2106
  }),
2045
2107
  v(w, { icon: "keyboard" }, {
2046
2108
  default: d(() => [
2047
- A(m(h(ze)(t.value.stat.danmaku)), 1)
2109
+ k(p(h(ze)(t.value.stat.danmaku)), 1)
2048
2110
  ]),
2049
2111
  _: 1
2050
2112
  }),
2051
2113
  u[0] || (u[0] = a("span", null, null, -1)),
2052
2114
  u[1] || (u[1] = a("span", null, null, -1)),
2053
- a("span", Mn, m(h(Pe)(t.value.duration)), 1)
2115
+ a("span", Qn, p(h(Pe)(t.value.duration)), 1)
2054
2116
  ])
2055
2117
  ])
2056
2118
  ])
2057
2119
  ]),
2058
- a("div", Vn, [
2059
- a("div", Qn, [
2060
- v(g, {
2120
+ a("div", Tn, [
2121
+ a("div", Hn, [
2122
+ v(_, {
2061
2123
  class: "title",
2062
2124
  content: t.value.title
2063
2125
  }, {
2064
2126
  default: d(() => [
2065
- A(m(t.value.title), 1)
2127
+ k(p(t.value.title), 1)
2066
2128
  ]),
2067
2129
  _: 1
2068
2130
  }, 8, ["content"])
2069
2131
  ]),
2070
- a("div", Hn, [
2071
- a("div", Tn, [
2132
+ a("div", Ln, [
2133
+ a("div", Rn, [
2072
2134
  a("img", {
2073
2135
  class: "user-face",
2074
2136
  src: t.value.owner.face,
2075
2137
  alt: "face"
2076
- }, null, 8, Ln),
2077
- a("div", Rn, m(t.value.owner.name), 1)
2138
+ }, null, 8, Fn),
2139
+ a("div", Un, p(t.value.owner.name), 1)
2078
2140
  ]),
2079
- a("div", Fn, m(h(Bn)(t.value)), 1),
2080
- a("div", Un, m(h(fe)(t.value.pubdate)), 1)
2141
+ a("div", qn, p(h($n)(t.value)), 1),
2142
+ a("div", On, p(h(fe)(t.value.pubdate)), 1)
2081
2143
  ]),
2082
- a("div", qn, [
2083
- a("div", On, m(t.value.bvid), 1),
2084
- v(yn, {
2144
+ a("div", jn, [
2145
+ a("div", Nn, p(t.value.bvid), 1),
2146
+ v(An, {
2085
2147
  stat: t.value.stat
2086
2148
  }, null, 8, ["stat"])
2087
2149
  ]),
2088
- a("div", jn, [
2150
+ a("div", Zn, [
2089
2151
  u[2] || (u[2] = a("div", null, "下载的资源:", -1)),
2090
- (r(!0), f(R, null, O(i.value, (b) => (r(), k(An, {
2152
+ (r(!0), g(R, null, O(i.value, (b) => (r(), A(bn, {
2091
2153
  key: b,
2092
2154
  type: b
2093
2155
  }, null, 8, ["type"]))), 128))
2094
2156
  ])
2095
2157
  ])
2096
2158
  ]),
2097
- a("div", Nn, [
2159
+ a("div", Wn, [
2098
2160
  u[3] || (u[3] = a("div", { class: "header" }, "视频分P:", -1)),
2099
- (r(!0), f(R, null, O(e.video.parts, (b, x) => (r(), k(En, {
2161
+ (r(!0), g(R, null, O(e.video.parts, (b, x) => (r(), A(Sn, {
2100
2162
  key: b.snapshot.cid,
2101
2163
  part: b,
2102
- onClick: (M) => o("open-folder", x)
2164
+ onClick: (V) => o("open-folder", x)
2103
2165
  }, null, 8, ["part", "onClick"]))), 128))
2104
2166
  ])
2105
2167
  ]);
2106
2168
  };
2107
2169
  }
2108
- }), Wn = /* @__PURE__ */ L(Zn, [["__scopeId", "data-v-48f910dd"]]), Gn = { class: "task-modal" }, Jn = {
2170
+ }), Jn = /* @__PURE__ */ L(Gn, [["__scopeId", "data-v-48f910dd"]]), Kn = { class: "task-modal" }, Yn = {
2109
2171
  key: 0,
2110
2172
  class: "dialog-content"
2111
- }, Kn = { key: 1 }, Yn = { class: "video-list-container" }, Xn = { class: "header" }, ea = /* @__PURE__ */ B({
2173
+ }, Xn = { key: 1 }, ea = { class: "video-list-container" }, ta = { class: "header" }, sa = /* @__PURE__ */ B({
2112
2174
  __name: "DownloadDetailsDialog",
2113
- props: /* @__PURE__ */ J({
2175
+ props: /* @__PURE__ */ Y({
2114
2176
  task: {}
2115
2177
  }, {
2116
2178
  modelValue: { required: !0, type: Boolean },
@@ -2118,8 +2180,8 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
2118
2180
  }),
2119
2181
  emits: ["update:modelValue"],
2120
2182
  setup(e) {
2121
- const l = e, s = he(e, "modelValue"), t = C(() => l.task?.videos.reduce((c, u) => c + u.parts.length, 0) ?? 0), i = C(() => l.task?.videos.reduce((c, u) => c + u.parts.reduce((p, _) => p + _.resources.length, 0), 0) ?? 0), n = K("refVideoList");
2122
- le(
2183
+ const l = e, s = he(e, "modelValue"), t = C(() => l.task?.videos.reduce((c, u) => c + u.parts.length, 0) ?? 0), i = C(() => l.task?.videos.reduce((c, u) => c + u.parts.reduce((m, f) => m + f.resources.length, 0), 0) ?? 0), n = ee("refVideoList");
2184
+ X(
2123
2185
  () => s.value,
2124
2186
  (c) => {
2125
2187
  c && n.value && we(() => {
@@ -2128,15 +2190,15 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
2128
2190
  }
2129
2191
  );
2130
2192
  const o = async (c, u) => {
2131
- l.task && await H.download.openFolder(l.task.id, c, u);
2193
+ l.task && await T.download.openFolder(l.task.id, c, u);
2132
2194
  };
2133
2195
  return (c, u) => {
2134
- const p = ms, _ = ps, w = re;
2135
- return r(), f("div", Gn, [
2196
+ const m = fs, f = gs, w = re;
2197
+ return r(), g("div", Kn, [
2136
2198
  v(w, {
2137
2199
  title: "任务详情",
2138
2200
  modelValue: s.value,
2139
- "onUpdate:modelValue": u[0] || (u[0] = (g) => s.value = g),
2201
+ "onUpdate:modelValue": u[0] || (u[0] = (_) => s.value = _),
2140
2202
  width: "80%",
2141
2203
  style: { "max-height": "88vh" },
2142
2204
  "close-on-click-modal": !0,
@@ -2148,65 +2210,65 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
2148
2210
  a("div", { class: "dialog-footer" }, null, -1)
2149
2211
  ])]),
2150
2212
  default: d(() => [
2151
- e.task ? (r(), f("div", Jn, [
2152
- v(_, {
2213
+ e.task ? (r(), g("div", Yn, [
2214
+ v(f, {
2153
2215
  border: "",
2154
2216
  column: 2
2155
2217
  }, {
2156
2218
  default: d(() => [
2157
- v(p, { label: "任务 ID" }, {
2219
+ v(m, { label: "任务 ID" }, {
2158
2220
  default: d(() => [
2159
- A(m(e.task.id), 1)
2221
+ k(p(e.task.id), 1)
2160
2222
  ]),
2161
2223
  _: 1
2162
2224
  }),
2163
- v(p, { label: "任务类型" }, {
2225
+ v(m, { label: "任务类型" }, {
2164
2226
  default: d(() => [
2165
- A(m(e.task.title), 1)
2227
+ k(p(e.task.title), 1)
2166
2228
  ]),
2167
2229
  _: 1
2168
2230
  }),
2169
- v(p, { label: "创建时间" }, {
2231
+ v(m, { label: "创建时间" }, {
2170
2232
  default: d(() => [
2171
- A(m(h(fe)(e.task.createdAt)), 1)
2233
+ k(p(h(fe)(e.task.createdAt)), 1)
2172
2234
  ]),
2173
2235
  _: 1
2174
2236
  }),
2175
- v(p, { label: "更新时间" }, {
2237
+ v(m, { label: "更新时间" }, {
2176
2238
  default: d(() => [
2177
- A(m(e.task.updatedAt ? h(fe)(e.task.updatedAt) : "-"), 1)
2239
+ k(p(e.task.updatedAt ? h(fe)(e.task.updatedAt) : "-"), 1)
2178
2240
  ]),
2179
2241
  _: 1
2180
2242
  }),
2181
- v(p, { label: "任务状态" }, {
2243
+ v(m, { label: "任务状态" }, {
2182
2244
  default: d(() => [
2183
- v(ht, { task: e.task }, null, 8, ["task"])
2245
+ v(wt, { task: e.task }, null, 8, ["task"])
2184
2246
  ]),
2185
2247
  _: 1
2186
2248
  }),
2187
- v(p, { label: "任务进度" }, {
2249
+ v(m, { label: "任务进度" }, {
2188
2250
  default: d(() => [
2189
- e.task.progress ? (r(), k(wt, {
2251
+ e.task.progress ? (r(), A(yt, {
2190
2252
  key: 0,
2191
2253
  task: e.task
2192
- }, null, 8, ["task"])) : (r(), f("span", Kn, "-"))
2254
+ }, null, 8, ["task"])) : (r(), g("span", Xn, "-"))
2193
2255
  ]),
2194
2256
  _: 1
2195
2257
  }),
2196
- e.task.progress ? (r(), k(p, {
2258
+ e.task.progress ? (r(), A(m, {
2197
2259
  key: 0,
2198
2260
  label: "进度详情",
2199
2261
  span: 2
2200
2262
  }, {
2201
2263
  default: d(() => [
2202
- v(yt, {
2264
+ v(kt, {
2203
2265
  task: e.task,
2204
2266
  resourceCount: i.value
2205
2267
  }, null, 8, ["task", "resourceCount"])
2206
2268
  ]),
2207
2269
  _: 1
2208
- })) : $("", !0),
2209
- e.task.result ? (r(), k(p, {
2270
+ })) : z("", !0),
2271
+ e.task.result ? (r(), A(m, {
2210
2272
  key: 1,
2211
2273
  label: "任务结果",
2212
2274
  span: 2
@@ -2219,25 +2281,25 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
2219
2281
  }, null, 8, ["task", "videoCount", "resourceCount"])
2220
2282
  ]),
2221
2283
  _: 1
2222
- })) : $("", !0),
2223
- e.task.error ? (r(), k(p, {
2284
+ })) : z("", !0),
2285
+ e.task.error ? (r(), A(m, {
2224
2286
  key: 2,
2225
2287
  label: "错误信息",
2226
2288
  span: 2,
2227
2289
  style: { color: "var(--el-color-danger)" }
2228
2290
  }, {
2229
2291
  default: d(() => [
2230
- A(m(e.task.error), 1)
2292
+ k(p(e.task.error), 1)
2231
2293
  ]),
2232
2294
  _: 1
2233
- })) : $("", !0),
2234
- v(p, { label: "操作用户" }, {
2295
+ })) : z("", !0),
2296
+ v(m, { label: "操作用户" }, {
2235
2297
  default: d(() => [
2236
2298
  u[1] || (u[1] = a("div", {
2237
2299
  class: "uid-icon",
2238
2300
  style: { display: "inline-block" }
2239
2301
  }, null, -1)),
2240
- A(" " + m(e.task.userCookie.uid), 1)
2302
+ k(" " + p(e.task.userCookie.uid), 1)
2241
2303
  ]),
2242
2304
  _: 1
2243
2305
  }),
@@ -2245,35 +2307,35 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
2245
2307
  ]),
2246
2308
  _: 3
2247
2309
  }),
2248
- a("div", Yn, [
2310
+ a("div", ea, [
2249
2311
  u[2] || (u[2] = a("div", { class: "header" }, "视频列表:", -1)),
2250
2312
  a("div", {
2251
2313
  class: "video-list",
2252
2314
  ref_key: "refVideoList",
2253
2315
  ref: n
2254
2316
  }, [
2255
- (r(!0), f(R, null, O(e.task.videos, (g, b) => (r(), f("div", {
2317
+ (r(!0), g(R, null, O(e.task.videos, (_, b) => (r(), g("div", {
2256
2318
  class: "video-item",
2257
- key: g.snapshot.aid
2319
+ key: _.snapshot.aid
2258
2320
  }, [
2259
- a("div", Xn, [
2260
- a("span", null, "#" + m(b + 1), 1)
2321
+ a("div", ta, [
2322
+ a("span", null, "#" + p(b + 1), 1)
2261
2323
  ]),
2262
- v(Wn, {
2263
- video: g,
2324
+ v(Jn, {
2325
+ video: _,
2264
2326
  onOpenFolder: (x) => o(b, x)
2265
2327
  }, null, 8, ["video", "onOpenFolder"])
2266
2328
  ]))), 128))
2267
2329
  ], 512)
2268
2330
  ])
2269
- ])) : $("", !0)
2331
+ ])) : z("", !0)
2270
2332
  ]),
2271
2333
  _: 3
2272
2334
  }, 8, ["modelValue"])
2273
2335
  ]);
2274
2336
  };
2275
2337
  }
2276
- }), ta = /* @__PURE__ */ L(ea, [["__scopeId", "data-v-61e2a51e"]]), sa = { class: "download-task-card" }, la = { class: "cover" }, na = { class: "cover-image" }, aa = { class: "cover-placeholder" }, oa = { class: "download-cover-stats" }, ia = { class: "download-stats__duration" }, ca = { class: "time" }, ra = { class: "content" }, ua = { class: "header" }, da = { class: "actions" }, va = /* @__PURE__ */ B({
2338
+ }), la = /* @__PURE__ */ L(sa, [["__scopeId", "data-v-61e2a51e"]]), na = { class: "download-task-card" }, aa = { class: "cover" }, oa = { class: "cover-image" }, ia = { class: "cover-placeholder" }, ca = { class: "download-cover-stats" }, ra = { class: "download-stats__duration" }, ua = { class: "time" }, da = { class: "content" }, va = { class: "header" }, pa = { class: "actions" }, ma = /* @__PURE__ */ B({
2277
2339
  __name: "DownloadItem",
2278
2340
  props: {
2279
2341
  task: {}
@@ -2281,24 +2343,24 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
2281
2343
  emits: ["action"],
2282
2344
  setup(e) {
2283
2345
  const l = e, s = C(() => l.task.videos[0].snapshot.pic), t = C(() => l.task.videos.reduce((o, c) => o + c.parts.length, 0)), i = C(
2284
- () => l.task.videos.reduce((o, c) => o + c.parts.reduce((u, p) => u + p.resources.length, 0), 0)
2346
+ () => l.task.videos.reduce((o, c) => o + c.parts.reduce((u, m) => u + m.resources.length, 0), 0)
2285
2347
  ), n = C(
2286
- () => l.task.videos.reduce((o, c) => o + c.parts.reduce((u, p) => u + p.snapshot.duration, 0), 0)
2348
+ () => l.task.videos.reduce((o, c) => o + c.parts.reduce((u, m) => u + m.snapshot.duration, 0), 0)
2287
2349
  );
2288
2350
  return (o, c) => {
2289
- const u = Me, p = lt, _ = ae, w = Z;
2290
- return r(), f("div", sa, [
2291
- a("div", la, [
2292
- a("div", na, [
2293
- v(p, {
2351
+ const u = Ve, m = at, f = ae, w = W;
2352
+ return r(), g("div", na, [
2353
+ a("div", aa, [
2354
+ a("div", oa, [
2355
+ v(m, {
2294
2356
  src: s.value,
2295
2357
  fit: "cover"
2296
2358
  }, {
2297
2359
  error: d(() => [
2298
- a("div", aa, [
2360
+ a("div", ia, [
2299
2361
  v(u, null, {
2300
2362
  default: d(() => [
2301
- v(h(it))
2363
+ v(h(ct))
2302
2364
  ]),
2303
2365
  _: 1
2304
2366
  })
@@ -2306,29 +2368,29 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
2306
2368
  ]),
2307
2369
  _: 1
2308
2370
  }, 8, ["src"]),
2309
- a("div", oa, [
2371
+ a("div", ca, [
2310
2372
  c[6] || (c[6] = a("span", null, null, -1)),
2311
- a("span", ia, m(h(Pe)(n.value)), 1)
2373
+ a("span", ra, p(h(Pe)(n.value)), 1)
2312
2374
  ])
2313
2375
  ]),
2314
- a("span", ca, m(h(fe)(e.task.createdAt)), 1)
2376
+ a("span", ua, p(h(fe)(e.task.createdAt)), 1)
2315
2377
  ]),
2316
- a("div", ra, [
2317
- a("div", ua, [
2318
- v(_, {
2378
+ a("div", da, [
2379
+ a("div", va, [
2380
+ v(f, {
2319
2381
  class: "title",
2320
2382
  content: e.task.title
2321
2383
  }, {
2322
2384
  default: d(() => [
2323
- A(m(e.task.title), 1)
2385
+ k(p(e.task.title), 1)
2324
2386
  ]),
2325
2387
  _: 1
2326
2388
  }, 8, ["content"]),
2327
- v(ht, { task: e.task }, null, 8, ["task"]),
2389
+ v(wt, { task: e.task }, null, 8, ["task"]),
2328
2390
  I(o.$slots, "titleExtra", { task: e.task }, void 0, !0)
2329
2391
  ]),
2330
- v(wt, { task: e.task }, null, 8, ["task"]),
2331
- v(yt, {
2392
+ v(yt, { task: e.task }, null, 8, ["task"]),
2393
+ v(kt, {
2332
2394
  task: e.task,
2333
2395
  resourceCount: i.value
2334
2396
  }, null, 8, ["task", "resourceCount"]),
@@ -2337,71 +2399,71 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
2337
2399
  videoCount: t.value,
2338
2400
  resourceCount: i.value
2339
2401
  }, null, 8, ["task", "videoCount", "resourceCount"]),
2340
- e.task.error ? (r(), k(_, {
2402
+ e.task.error ? (r(), A(f, {
2341
2403
  key: 0,
2342
2404
  class: "error",
2343
2405
  content: e.task.error
2344
2406
  }, {
2345
2407
  default: d(() => [
2346
- A(m(e.task.error), 1)
2408
+ k(p(e.task.error), 1)
2347
2409
  ]),
2348
2410
  _: 1
2349
- }, 8, ["content"])) : $("", !0),
2350
- a("div", da, [
2411
+ }, 8, ["content"])) : z("", !0),
2412
+ a("div", pa, [
2351
2413
  v(w, {
2352
2414
  size: "small",
2353
- onClick: c[0] || (c[0] = (g) => o.$emit("action", "show-details", e.task))
2415
+ onClick: c[0] || (c[0] = (_) => o.$emit("action", "show-details", e.task))
2354
2416
  }, {
2355
2417
  default: d(() => [...c[7] || (c[7] = [
2356
- A(" 详情 ", -1)
2418
+ k(" 详情 ", -1)
2357
2419
  ])]),
2358
2420
  _: 1
2359
2421
  }),
2360
2422
  v(w, {
2361
2423
  size: "small",
2362
- onClick: c[1] || (c[1] = (g) => o.$emit("action", "open-folder", e.task))
2424
+ onClick: c[1] || (c[1] = (_) => o.$emit("action", "open-folder", e.task))
2363
2425
  }, {
2364
2426
  default: d(() => [...c[8] || (c[8] = [
2365
- A(" 打开文件夹 ", -1)
2427
+ k(" 打开文件夹 ", -1)
2366
2428
  ])]),
2367
2429
  _: 1
2368
2430
  }),
2369
- e.task.status === "downloading" ? (r(), k(w, {
2431
+ e.task.status === "downloading" ? (r(), A(w, {
2370
2432
  key: 0,
2371
2433
  size: "small",
2372
- onClick: c[2] || (c[2] = (g) => o.$emit("action", "pause", e.task))
2434
+ onClick: c[2] || (c[2] = (_) => o.$emit("action", "pause", e.task))
2373
2435
  }, {
2374
2436
  default: d(() => [...c[9] || (c[9] = [
2375
- A(" 暂停 ", -1)
2437
+ k(" 暂停 ", -1)
2376
2438
  ])]),
2377
2439
  _: 1
2378
- })) : $("", !0),
2379
- e.task.status === "paused" || e.task.status === "pending" ? (r(), k(w, {
2440
+ })) : z("", !0),
2441
+ e.task.status === "paused" || e.task.status === "pending" ? (r(), A(w, {
2380
2442
  key: 1,
2381
2443
  size: "small",
2382
- onClick: c[3] || (c[3] = (g) => o.$emit("action", "cancel", e.task))
2444
+ onClick: c[3] || (c[3] = (_) => o.$emit("action", "cancel", e.task))
2383
2445
  }, {
2384
2446
  default: d(() => [...c[10] || (c[10] = [
2385
- A(" 取消 ", -1)
2447
+ k(" 取消 ", -1)
2386
2448
  ])]),
2387
2449
  _: 1
2388
- })) : $("", !0),
2389
- e.task.status === "paused" ? (r(), k(w, {
2450
+ })) : z("", !0),
2451
+ e.task.status === "paused" ? (r(), A(w, {
2390
2452
  key: 2,
2391
2453
  size: "small",
2392
- onClick: c[4] || (c[4] = (g) => o.$emit("action", "resume", e.task))
2454
+ onClick: c[4] || (c[4] = (_) => o.$emit("action", "resume", e.task))
2393
2455
  }, {
2394
2456
  default: d(() => [...c[11] || (c[11] = [
2395
- A(" 继续 ", -1)
2457
+ k(" 继续 ", -1)
2396
2458
  ])]),
2397
2459
  _: 1
2398
- })) : $("", !0),
2460
+ })) : z("", !0),
2399
2461
  v(w, {
2400
2462
  size: "small",
2401
- onClick: c[5] || (c[5] = (g) => o.$emit("action", "delete", e.task))
2463
+ onClick: c[5] || (c[5] = (_) => o.$emit("action", "delete", e.task))
2402
2464
  }, {
2403
2465
  default: d(() => [...c[12] || (c[12] = [
2404
- A(" 删除 ", -1)
2466
+ k(" 删除 ", -1)
2405
2467
  ])]),
2406
2468
  _: 1
2407
2469
  })
@@ -2410,10 +2472,10 @@ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392
2410
2472
  ]);
2411
2473
  };
2412
2474
  }
2413
- }), pa = /* @__PURE__ */ L(va, [["__scopeId", "data-v-71192ed6"]]);
2414
- function ma(e) {
2475
+ }), ga = /* @__PURE__ */ L(ma, [["__scopeId", "data-v-71192ed6"]]);
2476
+ function fa(e) {
2415
2477
  return new Promise((l, s) => {
2416
- const t = z(!0), i = document.createElement("div");
2478
+ const t = S(!0), i = document.createElement("div");
2417
2479
  document.body.appendChild(i);
2418
2480
  let n = null;
2419
2481
  function o() {
@@ -2423,7 +2485,7 @@ function ma(e) {
2423
2485
  }
2424
2486
  n = De({
2425
2487
  render() {
2426
- return It(sn, {
2488
+ return Mt(nn, {
2427
2489
  ...e,
2428
2490
  visible: t.value,
2429
2491
  onConfirm(c) {
@@ -2432,61 +2494,61 @@ function ma(e) {
2432
2494
  }), o();
2433
2495
  },
2434
2496
  onCancel() {
2435
- t.value = !1, s(We()), o();
2497
+ t.value = !1, s(Je()), o();
2436
2498
  }
2437
2499
  });
2438
2500
  }
2439
2501
  }), n?.mount(i);
2440
2502
  });
2441
2503
  }
2442
- const ga = async (e) => {
2443
- await H.download.openFolder(e.id, 0, 0);
2444
- }, fa = async (e) => {
2445
- await H.download.pause(e.id), Y("暂停任务成功");
2446
- }, _a = async (e) => {
2447
- await H.download.resume(e.id), Y("正在继续下载");
2504
+ const _a = async (e) => {
2505
+ await T.download.openFolder(e.id, 0, 0);
2448
2506
  }, ha = async (e) => {
2449
- await H.download.cancel(e.id), Y("取消任务成功");
2507
+ await T.download.pause(e.id), te("暂停任务成功");
2450
2508
  }, wa = async (e) => {
2451
- const { deleteSourceFile: l } = await ma({
2509
+ await T.download.resume(e.id), te("正在继续下载");
2510
+ }, ya = async (e) => {
2511
+ await T.download.cancel(e.id), te("取消任务成功");
2512
+ }, ka = async (e) => {
2513
+ const { deleteSourceFile: l } = await fa({
2452
2514
  message: "确定删除该下载任务吗?"
2453
2515
  });
2454
- await H.download.remove(e.id, {
2516
+ await T.download.remove(e.id, {
2455
2517
  deleteFiles: l
2456
2518
  });
2457
- }, ya = { class: "header" }, Aa = { class: "query-list" }, ka = { class: "actions" }, ba = { class: "download-list-container" }, Ca = /* @__PURE__ */ B({
2519
+ }, Aa = { class: "header" }, ba = { class: "query-list" }, Ca = { class: "actions" }, xa = { class: "download-list-container" }, Ea = /* @__PURE__ */ B({
2458
2520
  __name: "DownloadManagePage",
2459
2521
  props: {
2460
2522
  showDefaultActions: { type: Boolean, default: !0 },
2461
2523
  pageSizes: { default: () => [20, 40, 100] }
2462
2524
  },
2463
2525
  setup(e, { expose: l }) {
2464
- const s = e, t = K("refList"), i = z({
2526
+ const s = e, t = ee("refList"), i = S({
2465
2527
  pageNum: 1,
2466
2528
  pageSize: s.pageSizes[0]
2467
- }), n = z("all"), o = z({
2529
+ }), n = S("all"), o = S({
2468
2530
  status: void 0,
2469
2531
  title: ""
2470
2532
  }), c = () => {
2471
- n.value === "all" ? o.value.status = void 0 : o.value.status = n.value, g();
2533
+ n.value === "all" ? o.value.status = void 0 : o.value.status = n.value, _();
2472
2534
  }, {
2473
2535
  pageData: u,
2474
- tableData: p,
2475
- loading: _,
2536
+ tableData: m,
2537
+ loading: f,
2476
2538
  refresh: w,
2477
- resetAndRefresh: g,
2539
+ resetAndRefresh: _,
2478
2540
  resetPageAndRefresh: b,
2479
2541
  handleSizeChange: x,
2480
- handleCurrPageChange: M
2481
- } = ot({
2482
- fetchPage: H.download.fetchPage,
2542
+ handleCurrPageChange: V
2543
+ } = it({
2544
+ fetchPage: T.download.fetchPage,
2483
2545
  pageParams: () => i.value,
2484
2546
  queryParams: () => o.value,
2485
2547
  autoLoad: !0,
2486
2548
  onLoaded: () => {
2487
2549
  we(() => t.value?.scrollTo(0, 0));
2488
2550
  }
2489
- }), E = z({
2551
+ }), E = S({
2490
2552
  visible: !1
2491
2553
  }), D = async (P, y) => {
2492
2554
  switch (P) {
@@ -2494,47 +2556,47 @@ const ga = async (e) => {
2494
2556
  E.value.task = y, E.value.visible = !0;
2495
2557
  break;
2496
2558
  case "open-folder":
2497
- await ga(y);
2559
+ await _a(y);
2498
2560
  break;
2499
2561
  case "pause":
2500
- await fa(y);
2562
+ await ha(y);
2501
2563
  break;
2502
2564
  case "resume":
2503
- await _a(y);
2565
+ await wa(y);
2504
2566
  break;
2505
2567
  case "cancel":
2506
- await ha(y);
2568
+ await ya(y);
2507
2569
  break;
2508
2570
  case "delete":
2509
- await wa(y);
2510
- const S = p.value.findIndex((U) => U.id === y.id);
2511
- S > -1 && p.value.splice(S, 1), p.value.length < 1 && await b(), Y("删除任务成功");
2571
+ await ka(y);
2572
+ const $ = m.value.findIndex((U) => U.id === y.id);
2573
+ $ > -1 && m.value.splice($, 1), m.value.length < 1 && await b(), te("删除任务成功");
2512
2574
  break;
2513
2575
  }
2514
2576
  };
2515
- let V = null;
2577
+ let M = null;
2516
2578
  ne(async () => {
2517
- V = await H.download.onUpdated((P) => {
2518
- for (let y = 0; y < p.value.length; y++) {
2519
- const S = p.value[y];
2520
- if (S.id === P.id) {
2521
- n.value === "all" || S.status === P.status ? Object.assign(S, P) : p.value.splice(y, 1);
2579
+ M = await T.download.onUpdated((P) => {
2580
+ for (let y = 0; y < m.value.length; y++) {
2581
+ const $ = m.value[y];
2582
+ if ($.id === P.id) {
2583
+ n.value === "all" || $.status === P.status ? Object.assign($, P) : m.value.splice(y, 1);
2522
2584
  return;
2523
2585
  }
2524
2586
  }
2525
2587
  });
2526
2588
  }), ce(() => {
2527
- V?.();
2589
+ M?.();
2528
2590
  });
2529
- const F = C(() => o.value.status ? `暂无${Ge[o.value.status]}的任务` : "暂无下载任务");
2591
+ const F = C(() => o.value.status ? `暂无${Ke[o.value.status]}的任务` : "暂无下载任务");
2530
2592
  return l({
2531
2593
  refresh: w,
2532
- resetAndRefresh: g
2594
+ resetAndRefresh: _
2533
2595
  }), (P, y) => {
2534
- const S = fs, U = gs, X = Je, ee = Z, q = et, ue = tt;
2535
- return r(), f(R, null, [
2536
- a("div", ya, [
2537
- a("div", Aa, [
2596
+ const $ = hs, U = _s, se = Ye, le = W, q = st, ue = lt;
2597
+ return r(), g(R, null, [
2598
+ a("div", Aa, [
2599
+ a("div", ba, [
2538
2600
  I(P.$slots, "queryList", {}, () => [
2539
2601
  v(U, {
2540
2602
  modelValue: n.value,
@@ -2543,30 +2605,30 @@ const ga = async (e) => {
2543
2605
  onChange: c
2544
2606
  }, {
2545
2607
  default: d(() => [
2546
- v(S, {
2608
+ v($, {
2547
2609
  label: "全部",
2548
2610
  value: "all"
2549
2611
  }),
2550
- v(S, {
2612
+ v($, {
2551
2613
  label: "已完成",
2552
2614
  value: "completed"
2553
2615
  }),
2554
- v(S, {
2616
+ v($, {
2555
2617
  label: "下载中",
2556
2618
  value: "downloading"
2557
2619
  }),
2558
- v(S, {
2620
+ v($, {
2559
2621
  label: "暂停中",
2560
2622
  value: "paused"
2561
2623
  }),
2562
- v(S, {
2624
+ v($, {
2563
2625
  label: "已失败",
2564
2626
  value: "failed"
2565
2627
  })
2566
2628
  ]),
2567
2629
  _: 1
2568
2630
  }, 8, ["modelValue"]),
2569
- v(X, {
2631
+ v(se, {
2570
2632
  modelValue: o.value.title,
2571
2633
  "onUpdate:modelValue": y[1] || (y[1] = (Q) => o.value.title = Q),
2572
2634
  onChange: h(b),
@@ -2577,47 +2639,47 @@ const ga = async (e) => {
2577
2639
  }, null, 8, ["modelValue", "onChange"])
2578
2640
  ], !0)
2579
2641
  ]),
2580
- a("div", ka, [
2642
+ a("div", Ca, [
2581
2643
  I(P.$slots, "actions", {}, void 0, !0),
2582
- e.showDefaultActions ? (r(), f(R, { key: 0 }, [
2583
- v(ee, {
2644
+ e.showDefaultActions ? (r(), g(R, { key: 0 }, [
2645
+ v(le, {
2584
2646
  size: "small",
2585
- onClick: y[2] || (y[2] = (Q) => h(H).download.pauseAll())
2647
+ onClick: y[2] || (y[2] = (Q) => h(T).download.pauseAll())
2586
2648
  }, {
2587
2649
  default: d(() => [...y[7] || (y[7] = [
2588
- A("暂停所有任务", -1)
2650
+ k("暂停所有任务", -1)
2589
2651
  ])]),
2590
2652
  _: 1
2591
2653
  }),
2592
- v(ee, {
2654
+ v(le, {
2593
2655
  size: "small",
2594
- onClick: y[3] || (y[3] = (Q) => h(H).download.resumeAll())
2656
+ onClick: y[3] || (y[3] = (Q) => h(T).download.resumeAll())
2595
2657
  }, {
2596
2658
  default: d(() => [...y[8] || (y[8] = [
2597
- A("继续所有任务", -1)
2659
+ k("继续所有任务", -1)
2598
2660
  ])]),
2599
2661
  _: 1
2600
2662
  })
2601
- ], 64)) : $("", !0)
2663
+ ], 64)) : z("", !0)
2602
2664
  ])
2603
2665
  ]),
2604
- a("div", ba, [
2666
+ a("div", xa, [
2605
2667
  a("div", {
2606
2668
  ref_key: "refList",
2607
2669
  ref: t,
2608
2670
  class: "download-list"
2609
2671
  }, [
2610
- (r(!0), f(R, null, O(h(p), (Q) => (r(), k(pa, {
2672
+ (r(!0), g(R, null, O(h(m), (Q) => (r(), A(ga, {
2611
2673
  task: Q,
2612
2674
  key: Q.id,
2613
2675
  onAction: D
2614
2676
  }, {
2615
2677
  titleExtra: d((j) => [
2616
- I(P.$slots, "itemTitleExtra", G({ ref_for: !0 }, j), void 0, !0)
2678
+ I(P.$slots, "itemTitleExtra", K({ ref_for: !0 }, j), void 0, !0)
2617
2679
  ]),
2618
2680
  _: 3
2619
2681
  }, 8, ["task"]))), 128)),
2620
- h(p).length ? $("", !0) : (r(), k(q, {
2682
+ h(m).length ? z("", !0) : (r(), A(q, {
2621
2683
  key: 0,
2622
2684
  description: F.value
2623
2685
  }, null, 8, ["description"]))
@@ -2632,10 +2694,10 @@ const ga = async (e) => {
2632
2694
  "page-sizes": e.pageSizes,
2633
2695
  total: h(u).total,
2634
2696
  layout: "total, sizes, prev, pager, next, jumper",
2635
- onCurrentChange: h(M),
2697
+ onCurrentChange: h(V),
2636
2698
  onSizeChange: h(x)
2637
2699
  }, null, 8, ["current-page", "page-size", "page-sizes", "total", "onCurrentChange", "onSizeChange"]),
2638
- v(ta, {
2700
+ v(la, {
2639
2701
  modelValue: E.value.visible,
2640
2702
  "onUpdate:modelValue": y[6] || (y[6] = (Q) => E.value.visible = Q),
2641
2703
  task: E.value.task
@@ -2644,85 +2706,123 @@ const ga = async (e) => {
2644
2706
  E.value.task ? I(P.$slots, "detailsDialog", {
2645
2707
  key: 0,
2646
2708
  task: E.value.task
2647
- }, void 0, !0) : $("", !0)
2709
+ }, void 0, !0) : z("", !0)
2648
2710
  ]),
2649
2711
  _: 3
2650
2712
  }, 8, ["modelValue", "task"])
2651
2713
  ], 64);
2652
2714
  };
2653
2715
  }
2654
- }), Ro = /* @__PURE__ */ L(Ca, [["__scopeId", "data-v-19b20db4"]]);
2716
+ }), Wo = /* @__PURE__ */ L(Ea, [["__scopeId", "data-v-19b20db4"]]);
2717
+ function Go(e) {
2718
+ return `${e}@48w_48h_1s.avif`;
2719
+ }
2720
+ const Jo = (e) => {
2721
+ window.open(`https://space.bilibili.com/${e}`);
2722
+ }, Ba = { class: "key-value-tag" }, Sa = { class: "label" }, $a = { class: "value" }, za = /* @__PURE__ */ B({
2723
+ __name: "KeyValueTag",
2724
+ props: {
2725
+ label: {},
2726
+ value: {}
2727
+ },
2728
+ setup(e) {
2729
+ return (l, s) => (r(), g("div", Ba, [
2730
+ a("span", Sa, p(e.label), 1),
2731
+ a("span", $a, p(e.value), 1)
2732
+ ]));
2733
+ }
2734
+ }), Ko = /* @__PURE__ */ L(za, [["__scopeId", "data-v-be2d6a5f"]]), Da = { class: "el-input-group__prepend prefix" }, Yo = /* @__PURE__ */ B({
2735
+ __name: "QueryFormItem",
2736
+ props: {
2737
+ prefix: {},
2738
+ small: { type: Boolean }
2739
+ },
2740
+ setup(e) {
2741
+ return (l, s) => (r(), g("div", {
2742
+ class: G(["el-input el-input-group el-input-group--append el-input-group--prepend app-query-form-item", e.small ? "el-input--small" : ""])
2743
+ }, [
2744
+ a("span", Da, p(e.prefix), 1),
2745
+ I(l.$slots, "default")
2746
+ ], 2));
2747
+ }
2748
+ });
2655
2749
  export {
2656
2750
  N as AppIcon,
2657
2751
  ae as AppTooltip,
2658
- zl as BiliUserCard,
2659
- Qo as BiliUserInfo,
2660
- So as CountdownDialog,
2661
- sn as DeleteConfirmDialog,
2662
- ta as DownloadDetailsDialog,
2663
- pa as DownloadItem,
2664
- Ro as DownloadManagePage,
2665
- wt as DownloadProgress,
2666
- yt as DownloadProgressDetails,
2667
- An as DownloadResourceTag,
2752
+ Pl as BiliUserCard,
2753
+ Oo as BiliUserInfo,
2754
+ To as CountdownDialog,
2755
+ nn as DeleteConfirmDialog,
2756
+ la as DownloadDetailsDialog,
2757
+ ga as DownloadItem,
2758
+ Wo as DownloadManagePage,
2759
+ yt as DownloadProgress,
2760
+ kt as DownloadProgressDetails,
2761
+ bn as DownloadResourceTag,
2668
2762
  At as DownloadResult,
2669
- ht as DownloadStatus,
2670
- Wn as DownloadVideoCard,
2671
- En as DownloadVideoPartCard,
2672
- Mo as ExternalLink,
2673
- Io as IconButton,
2674
- ct as IconLabel,
2675
- Ks as LoadingDialog,
2676
- Vo as LogPrint,
2677
- js as PageRangeDialog,
2678
- Lo as PageTable,
2679
- gt as PluginMenuItem,
2680
- Tl as PluginMenus,
2681
- To as PluginPageContent,
2682
- Ho as PluginPageHeader,
2683
- rl as ProcessDialog,
2684
- Ts as SelectDialog,
2685
- Eo as SettingGroup,
2686
- Bo as SettingItem,
2687
- yn as VideoStatsInfo,
2688
- Ve as baseUpdateThemeColor,
2689
- Fe as blackColor,
2763
+ wt as DownloadStatus,
2764
+ Jn as DownloadVideoCard,
2765
+ Sn as DownloadVideoPartCard,
2766
+ Uo as ExternalLink,
2767
+ Fo as IconButton,
2768
+ rt as IconLabel,
2769
+ Ko as KeyValueTag,
2770
+ Ss as LoadingDialog,
2771
+ qo as LogPrint,
2772
+ Xs as PageRangeDialog,
2773
+ Zo as PageTable,
2774
+ ft as PluginMenuItem,
2775
+ Rl as PluginMenus,
2776
+ No as PluginPageContent,
2777
+ jo as PluginPageHeader,
2778
+ dl as ProcessDialog,
2779
+ Yo as QueryFormItem,
2780
+ Ns as SelectDialog,
2781
+ Mo as SettingGroup,
2782
+ Qo as SettingItem,
2783
+ An as VideoStatsInfo,
2784
+ Me as baseUpdateThemeColor,
2785
+ Ue as blackColor,
2690
2786
  $e as formatBytes,
2691
- ln as formatSpeed,
2787
+ an as formatSpeed,
2692
2788
  ze as formatStatCount,
2693
- ha as handleCancel,
2694
- wa as handleDelete,
2695
- Ao as handleError,
2696
- ga as handleOpenFolder,
2697
- fa as handlePause,
2698
- _a as handleResume,
2699
- fo as initAppTheme,
2700
- yo as initBilitoolkitUi,
2701
- ke as initTransparentColors,
2789
+ Go as getUserAvatarThumbnail,
2790
+ ya as handleCancel,
2791
+ ka as handleDelete,
2792
+ So as handleError,
2793
+ _a as handleOpenFolder,
2794
+ Jo as handleOpenSpace,
2795
+ ha as handlePause,
2796
+ wa as handleResume,
2797
+ bo as initAppTheme,
2798
+ Bo as initBilitoolkitUi,
2799
+ Ae as initTransparentColors,
2702
2800
  Qe as isDarkTheme,
2703
- Do as loadingDialog,
2704
- Bn as parseVideoZoneLabel,
2705
- Po as processDialog,
2706
- ws as showConfirm,
2707
- bo as showConfirmSequence,
2708
- ma as showDeleteConfirmDialog,
2801
+ Oe as loadingDialog,
2802
+ $n as parseVideoZoneLabel,
2803
+ Ro as processDialog,
2804
+ ks as showConfirm,
2805
+ zo as showConfirmSequence,
2806
+ fa as showDeleteConfirmDialog,
2709
2807
  ie as showError,
2710
- zo as showPageRangeDialog,
2711
- $o as showSelectDialog,
2712
- Y as showToast,
2713
- ko as showWarning,
2714
- _o as switchDefaultTheme,
2715
- ho as switchThemeMode,
2716
- H as toolkitApi,
2808
+ Lo as showPageRangeDialog,
2809
+ Ho as showSelectDialog,
2810
+ te as showToast,
2811
+ $o as showWarning,
2812
+ Co as switchDefaultTheme,
2813
+ xo as switchThemeMode,
2814
+ T as toolkitApi,
2717
2815
  _e as updateAppTheme,
2718
- wo as updatePrimaryColor,
2816
+ Eo as updatePrimaryColor,
2719
2817
  ye as useAppThemeStore,
2720
- Co as useAutoRefreshData,
2721
- zs as useCountdown,
2722
- ys as useElementHeight,
2818
+ Do as useAutoRefreshData,
2819
+ Hs as useCountdown,
2820
+ As as useElementHeight,
2821
+ Io as useElementScrollbar,
2723
2822
  He as useLoadingData,
2724
- ot as usePageTable,
2725
- xo as useSelectData,
2726
- at as useSelectedUserStore,
2727
- Re as whiteColor
2823
+ Vo as useLoadingTask,
2824
+ it as usePageTable,
2825
+ Po as useSelectData,
2826
+ Te as useSelectedUserStore,
2827
+ Fe as whiteColor
2728
2828
  };