zyjj-web-sdk 1.1.4 → 1.1.6

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.
@@ -2,9 +2,9 @@ var Mo = Object.defineProperty;
2
2
  var Uo = (e, t, r) => t in e ? Mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var Nt = (e, t, r) => Uo(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import { Message as xe, Typography as wn, Space as wr, Input as Ae, Button as $e, Modal as Bo, Form as ie, Table as zo } from "@arco-design/web-react";
5
- import To from "cos-js-sdk-v5";
6
- import Vo from "ali-oss";
7
- import En, { useState as Pe, useRef as Lo, useEffect as Tt, lazy as me } from "react";
5
+ import Vo from "cos-js-sdk-v5";
6
+ import Lo from "ali-oss";
7
+ import En, { useState as Pe, useRef as To, useEffect as Vt, lazy as me } from "react";
8
8
  import qo from "mqtt";
9
9
  function Sn(e, t) {
10
10
  return function() {
@@ -57,10 +57,10 @@ function On(e, t) {
57
57
  return null;
58
58
  }
59
59
  const Cn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Rn = (e) => !Xe(e) && e !== Cn;
60
- function Vt() {
60
+ function Lt() {
61
61
  const { caseless: e } = Rn(this) && this || {}, t = {}, r = (n, o) => {
62
62
  const s = e && On(t, o) || o;
63
- dt(t[s]) && dt(n) ? t[s] = Vt(t[s], n) : dt(n) ? t[s] = Vt({}, n) : qe(n) ? t[s] = n.slice() : t[s] = n;
63
+ dt(t[s]) && dt(n) ? t[s] = Lt(t[s], n) : dt(n) ? t[s] = Lt({}, n) : qe(n) ? t[s] = n.slice() : t[s] = n;
64
64
  };
65
65
  for (let n = 0, o = arguments.length; n < o; n++)
66
66
  arguments[n] && tt(arguments[n], r);
@@ -113,7 +113,7 @@ const os = (e, t, r, { allOwnKeys: n } = {}) => (tt(t, (o, s) => {
113
113
  function(r, n, o) {
114
114
  return n.toUpperCase() + o;
115
115
  }
116
- ), Tr = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), ms = _e("RegExp"), Dn = (e, t) => {
116
+ ), Vr = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), ms = _e("RegExp"), Dn = (e, t) => {
117
117
  const r = Object.getOwnPropertyDescriptors(e), n = {};
118
118
  tt(r, (o, s) => {
119
119
  let i;
@@ -142,10 +142,10 @@ const os = (e, t, r, { allOwnKeys: n } = {}) => (tt(t, (o, s) => {
142
142
  };
143
143
  return qe(e) ? n(e) : n(String(e).split(t)), r;
144
144
  }, bs = () => {
145
- }, ws = (e, t) => (e = +e, Number.isFinite(e) ? e : t), It = "abcdefghijklmnopqrstuvwxyz", Vr = "0123456789", xn = {
146
- DIGIT: Vr,
145
+ }, ws = (e, t) => (e = +e, Number.isFinite(e) ? e : t), It = "abcdefghijklmnopqrstuvwxyz", Lr = "0123456789", xn = {
146
+ DIGIT: Lr,
147
147
  ALPHA: It,
148
- ALPHA_DIGIT: It + It.toUpperCase() + Vr
148
+ ALPHA_DIGIT: It + It.toUpperCase() + Lr
149
149
  }, Es = (e = 16, t = xn.ALPHA_DIGIT) => {
150
150
  let r = "";
151
151
  const { length: n } = t;
@@ -195,7 +195,7 @@ const _s = (e) => {
195
195
  isTypedArray: ls,
196
196
  isFileList: Qo,
197
197
  forEach: tt,
198
- merge: Vt,
198
+ merge: Lt,
199
199
  extend: os,
200
200
  trim: ns,
201
201
  stripBOM: ss,
@@ -208,8 +208,8 @@ const _s = (e) => {
208
208
  forEachEntry: fs,
209
209
  matchAll: ds,
210
210
  isHTMLForm: hs,
211
- hasOwnProperty: Tr,
212
- hasOwnProp: Tr,
211
+ hasOwnProperty: Vr,
212
+ hasOwnProp: Vr,
213
213
  // an alias to avoid ESLint no-prototype-builtins detection
214
214
  reduceDescriptors: Dn,
215
215
  freezeMethods: ys,
@@ -278,19 +278,19 @@ F.from = (e, t, r, n, o, s) => {
278
278
  }, (c) => c !== "isAxiosError"), F.call(i, e.message, t, r, n, o), i.cause = e, i.name = e.name, s && Object.assign(i, s), i;
279
279
  };
280
280
  const Cs = null;
281
- function Lt(e) {
281
+ function Tt(e) {
282
282
  return h.isPlainObject(e) || h.isArray(e);
283
283
  }
284
284
  function Nn(e) {
285
285
  return h.endsWith(e, "[]") ? e.slice(0, -2) : e;
286
286
  }
287
- function Lr(e, t, r) {
287
+ function Tr(e, t, r) {
288
288
  return e ? e.concat(t).map(function(o, s) {
289
289
  return o = Nn(o), !r && s ? "[" + o + "]" : o;
290
290
  }).join(r ? "." : "") : t;
291
291
  }
292
292
  function Rs(e) {
293
- return h.isArray(e) && !e.some(Lt);
293
+ return h.isArray(e) && !e.some(Tt);
294
294
  }
295
295
  const Ds = h.toFlatObject(h, {}, null, function(t) {
296
296
  return /^is[A-Z]/.test(t);
@@ -325,17 +325,17 @@ function Et(e, t, r) {
325
325
  return b = Nn(b), M.forEach(function(P, A) {
326
326
  !(h.isUndefined(P) || P === null) && t.append(
327
327
  // eslint-disable-next-line no-nested-ternary
328
- i === !0 ? Lr([b], A, s) : i === null ? b : b + "[]",
328
+ i === !0 ? Tr([b], A, s) : i === null ? b : b + "[]",
329
329
  d(P)
330
330
  );
331
331
  }), !1;
332
332
  }
333
- return Lt(m) ? !0 : (t.append(Lr(N, b, s), d(m)), !1);
333
+ return Tt(m) ? !0 : (t.append(Tr(N, b, s), d(m)), !1);
334
334
  }
335
335
  const f = [], S = Object.assign(Ds, {
336
336
  defaultVisitor: l,
337
337
  convertValue: d,
338
- isVisitable: Lt
338
+ isVisitable: Tt
339
339
  });
340
340
  function x(m, b) {
341
341
  if (!h.isUndefined(m)) {
@@ -604,7 +604,7 @@ const zs = h.toObjectSet([
604
604
  "referer",
605
605
  "retry-after",
606
606
  "user-agent"
607
- ]), Ts = (e) => {
607
+ ]), Vs = (e) => {
608
608
  const t = {};
609
609
  let r, n, o;
610
610
  return e && e.split(`
@@ -618,14 +618,14 @@ function Ge(e) {
618
618
  function ht(e) {
619
619
  return e === !1 || e == null ? e : h.isArray(e) ? e.map(ht) : String(e);
620
620
  }
621
- function Vs(e) {
621
+ function Ls(e) {
622
622
  const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
623
623
  let n;
624
624
  for (; n = r.exec(e); )
625
625
  t[n[1]] = n[2];
626
626
  return t;
627
627
  }
628
- const Ls = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
628
+ const Ts = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
629
629
  function kt(e, t, r, n, o) {
630
630
  if (h.isFunction(n))
631
631
  return n.call(this, t, r);
@@ -664,7 +664,7 @@ class pe {
664
664
  (!f || o[f] === void 0 || d === !0 || d === void 0 && o[f] !== !1) && (o[f || u] = ht(c));
665
665
  }
666
666
  const i = (c, u) => h.forEach(c, (d, l) => s(d, l, u));
667
- return h.isPlainObject(t) || t instanceof this.constructor ? i(t, r) : h.isString(t) && (t = t.trim()) && !Ls(t) ? i(Ts(t), r) : t != null && s(r, t, n), this;
667
+ return h.isPlainObject(t) || t instanceof this.constructor ? i(t, r) : h.isString(t) && (t = t.trim()) && !Ts(t) ? i(Vs(t), r) : t != null && s(r, t, n), this;
668
668
  }
669
669
  get(t, r) {
670
670
  if (t = Ge(t), t) {
@@ -674,7 +674,7 @@ class pe {
674
674
  if (!r)
675
675
  return o;
676
676
  if (r === !0)
677
- return Vs(o);
677
+ return Ls(o);
678
678
  if (h.isFunction(r))
679
679
  return r.call(this, o, n);
680
680
  if (h.isRegExp(r))
@@ -1043,7 +1043,7 @@ function Jr(e) {
1043
1043
  });
1044
1044
  }
1045
1045
  const Kr = (e) => e instanceof pe ? { ...e } : e;
1046
- function Ve(e, t) {
1046
+ function Le(e, t) {
1047
1047
  t = t || {};
1048
1048
  const r = {};
1049
1049
  function n(d, l, f) {
@@ -1183,7 +1183,7 @@ class Fe {
1183
1183
  }
1184
1184
  }
1185
1185
  _request(t, r) {
1186
- typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = Ve(this.defaults, r);
1186
+ typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = Le(this.defaults, r);
1187
1187
  const { transitional: n, paramsSerializer: o, headers: s } = r;
1188
1188
  n !== void 0 && Wt.assertOptions(n, {
1189
1189
  silentJSONParsing: De.transitional(De.boolean),
@@ -1242,14 +1242,14 @@ class Fe {
1242
1242
  return l;
1243
1243
  }
1244
1244
  getUri(t) {
1245
- t = Ve(this.defaults, t);
1245
+ t = Le(this.defaults, t);
1246
1246
  const r = Un(t.baseURL, t.url);
1247
1247
  return kn(r, t.params, t.paramsSerializer);
1248
1248
  }
1249
1249
  }
1250
1250
  h.forEach(["delete", "get", "head", "options"], function(t) {
1251
1251
  Fe.prototype[t] = function(r, n) {
1252
- return this.request(Ve(n || {}, {
1252
+ return this.request(Le(n || {}, {
1253
1253
  method: t,
1254
1254
  url: r,
1255
1255
  data: (n || {}).data
@@ -1259,7 +1259,7 @@ h.forEach(["delete", "get", "head", "options"], function(t) {
1259
1259
  h.forEach(["post", "put", "patch"], function(t) {
1260
1260
  function r(n) {
1261
1261
  return function(s, i, c) {
1262
- return this.request(Ve(c || {}, {
1262
+ return this.request(Le(c || {}, {
1263
1263
  method: t,
1264
1264
  headers: n ? {
1265
1265
  "Content-Type": "multipart/form-data"
@@ -1414,13 +1414,13 @@ const Ht = {
1414
1414
  Object.entries(Ht).forEach(([e, t]) => {
1415
1415
  Ht[t] = e;
1416
1416
  });
1417
- function Tn(e) {
1417
+ function Vn(e) {
1418
1418
  const t = new Fe(e), r = Sn(Fe.prototype.request, t);
1419
1419
  return h.extend(r, Fe.prototype, t, { allOwnKeys: !0 }), h.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(o) {
1420
- return Tn(Ve(e, o));
1420
+ return Vn(Le(e, o));
1421
1421
  }, r;
1422
1422
  }
1423
- const H = Tn(rt);
1423
+ const H = Vn(rt);
1424
1424
  H.Axios = Fe;
1425
1425
  H.CanceledError = nt;
1426
1426
  H.CancelToken = vr;
@@ -1434,7 +1434,7 @@ H.all = function(t) {
1434
1434
  };
1435
1435
  H.spread = ni;
1436
1436
  H.isAxiosError = oi;
1437
- H.mergeConfig = Ve;
1437
+ H.mergeConfig = Le;
1438
1438
  H.AxiosHeaders = pe;
1439
1439
  H.formToJSON = (e) => Fn(h.isHTMLForm(e) ? new FormData(e) : e);
1440
1440
  H.getAdapter = Bn.getAdapter;
@@ -1516,7 +1516,7 @@ const li = (e) => e >= 1073741824 ? (e / 1073741824).toFixed(2) + " GB" : e >= 1
1516
1516
  }, di = (e) => new Date(e * 1e3).toISOString().substring(11, 19), hi = async () => {
1517
1517
  const e = await Hn(), t = e.token;
1518
1518
  return {
1519
- cos: new To({
1519
+ cos: new Vo({
1520
1520
  getAuthorization: function(r, n) {
1521
1521
  n({
1522
1522
  TmpSecretId: t.TmpSecretId,
@@ -1535,7 +1535,7 @@ const li = (e) => e >= 1073741824 ? (e / 1073741824).toFixed(2) + " GB" : e >= 1
1535
1535
  }, pi = async () => {
1536
1536
  const e = await ji(), t = e.token;
1537
1537
  return {
1538
- oss: new Vo({
1538
+ oss: new Lo({
1539
1539
  region: e.region,
1540
1540
  accessKeyId: t.TmpSecretId,
1541
1541
  accessKeySecret: t.TmpSecretKey,
@@ -1546,7 +1546,7 @@ const li = (e) => e >= 1073741824 ? (e / 1073741824).toFixed(2) + " GB" : e >= 1
1546
1546
  bucket: e.bucket,
1547
1547
  region: e.region
1548
1548
  };
1549
- }, Vn = (e) => {
1549
+ }, Ln = (e) => {
1550
1550
  const t = [];
1551
1551
  for (const r in e) {
1552
1552
  const n = e[r];
@@ -1568,15 +1568,15 @@ const li = (e) => e >= 1073741824 ? (e / 1073741824).toFixed(2) + " GB" : e >= 1
1568
1568
  }).join("&"), bi = (e) => new Promise((t, r) => {
1569
1569
  const n = new XMLHttpRequest();
1570
1570
  n.open("get", e), n.responseType = "blob", n.send(), n.onload = function() {
1571
- (this.status === 200 || this.status === 304) && (Ln(URL.createObjectURL(this.response)), t());
1571
+ (this.status === 200 || this.status === 304) && (Tn(URL.createObjectURL(this.response)), t());
1572
1572
  }, n.onerror = function() {
1573
1573
  r("下载失败,请在新窗口打开");
1574
1574
  };
1575
- }), Ln = (e, t) => {
1575
+ }), Tn = (e, t) => {
1576
1576
  var n;
1577
1577
  const r = document.createElement("a");
1578
1578
  r.style.display = "none", r.href = e, t ? r.download = t : r.download = ((n = e.split("?").shift()) == null ? void 0 : n.split("/").pop()) || e, document.body.appendChild(r), r.click(), document.body.removeChild(r), URL.revokeObjectURL(e);
1579
- }, Y = process.env.NODE_ENV == "production" ? "https://api.zyjj.cc/api/v1" : "http://127.0.0.1:3000/api/v1", wi = (e) => G(`${Y}/common/user/login`, e, "post"), Ei = (e, t, r) => G(`${Y}/common/app/info?os=${e}&version=${t}&uid=${r || ""}`, {}, "get"), Si = (e) => G(`${Y}/common/user/register`, e, "post"), _i = (e) => G(`${Y}/common/user/reset/password`, e, "post"), qn = (e) => G(`${Y}/common/user/email/token`, { email: e }, "post"), Wn = () => G(`${Y}/user/user/info`, {}, "get", !1), vi = (e) => G(`${Y}/user/user/info`, e, "put"), Oi = (e) => G(`${Y}/user/point/deducting`, e, "post"), Ci = (e) => G(`${Y}/common/tool/list?${Vn(e)}`, {}, "get"), Ri = () => G(`${Y}/common/tool/all`, {}, "get"), Di = (e) => G(`${Y}/common/tool/${e}`, {}, "get"), xi = (e) => G(`${Y}/common/tool/inc/${e}`, {}, "get"), Pi = () => G(`${Y}/common/tool/tags`, {}, "get"), Hn = () => G(`${Y}/user/cloud/tencent/cos`, {}, "get"), ji = () => G(`${Y}/user/cloud/aliyun/oss`, {}, "get"), Ni = (e) => G(`${Y}/user/task`, e, "post"), Ii = (e) => G(`${Y}/user/task/${e}`, {}, "get"), Gn = () => G(`${Y}/user/cloud/mqtt/task`, {}, "get"), ki = () => G(`${Y}/common/material/tags`, {}, "get"), Ai = (e) => G(`${Y}/user/material/${e}`, {}, "get"), $i = (e) => G(`${Y}/user/material/url`, { key_list: e }, "post"), xc = (e) => G(`${Y}${e.url}`, e.data || {}, e.method);
1579
+ }, Y = process.env.NODE_ENV == "production" ? "https://api.zyjj.cc/api/v1" : "http://127.0.0.1:3000/api/v1", wi = (e) => G(`${Y}/common/user/login`, e, "post"), Ei = (e, t, r) => G(`${Y}/common/app/info?os=${e}&version=${t}&uid=${r || ""}`, {}, "get"), Si = (e) => G(`${Y}/common/user/register`, e, "post"), _i = (e) => G(`${Y}/common/user/reset/password`, e, "post"), qn = (e) => G(`${Y}/common/user/email/token`, { email: e }, "post"), Wn = () => G(`${Y}/user/user/info`, {}, "get", !1), vi = (e) => G(`${Y}/user/user/info`, e, "put"), Oi = (e) => G(`${Y}/user/point/deducting`, e, "post"), Ci = (e) => G(`${Y}/common/tool/list?${Ln(e)}`, {}, "get"), Ri = () => G(`${Y}/common/tool/all`, {}, "get"), Di = (e) => G(`${Y}/common/tool/${e}`, {}, "get"), xi = (e) => G(`${Y}/common/tool/inc/${e}`, {}, "get"), Pi = () => G(`${Y}/common/tool/tags`, {}, "get"), Hn = () => G(`${Y}/user/cloud/tencent/cos`, {}, "get"), ji = () => G(`${Y}/user/cloud/aliyun/oss`, {}, "get"), Ni = (e) => G(`${Y}/user/task`, e, "post"), Ii = (e) => G(`${Y}/user/task/${e}`, {}, "get"), Gn = () => G(`${Y}/user/cloud/mqtt/task`, {}, "get"), ki = () => G(`${Y}/common/material/tags`, {}, "get"), Ai = (e) => G(`${Y}/user/material/${e}`, {}, "get"), $i = (e) => G(`${Y}/user/material/url`, { key_list: e }, "post"), xc = (e) => G(`${Y}${e.url}`, e.data || {}, e.method);
1580
1580
  var Zt;
1581
1581
  (function(e) {
1582
1582
  e[e.Task = 0] = "Task", e[e.Lab = 1] = "Lab", e[e.Flow = 2] = "Flow";
@@ -1665,16 +1665,16 @@ function Bi() {
1665
1665
  {
1666
1666
  var C = M.ReactDebugCurrentFrame, z = C.getStackAddendum();
1667
1667
  z !== "" && (p += "%s", g = g.concat([z]));
1668
- var L = g.map(function($) {
1668
+ var T = g.map(function($) {
1669
1669
  return String($);
1670
1670
  });
1671
- L.unshift("Warning: " + p), Function.prototype.apply.call(console[a], console, L);
1671
+ T.unshift("Warning: " + p), Function.prototype.apply.call(console[a], console, T);
1672
1672
  }
1673
1673
  }
1674
- var A = !1, V = !1, B = !1, Z = !1, k = !1, ee;
1674
+ var A = !1, L = !1, B = !1, Z = !1, k = !1, ee;
1675
1675
  ee = Symbol.for("react.module.reference");
1676
1676
  function q(a) {
1677
- return !!(typeof a == "string" || typeof a == "function" || a === n || a === s || k || a === o || a === d || a === l || Z || a === x || A || V || B || typeof a == "object" && a !== null && (a.$$typeof === S || a.$$typeof === f || a.$$typeof === i || a.$$typeof === c || a.$$typeof === u || // This needs to include all possible module reference object
1677
+ return !!(typeof a == "string" || typeof a == "function" || a === n || a === s || k || a === o || a === d || a === l || Z || a === x || A || L || B || typeof a == "object" && a !== null && (a.$$typeof === S || a.$$typeof === f || a.$$typeof === i || a.$$typeof === c || a.$$typeof === u || // This needs to include all possible module reference object
1678
1678
  // types supported by any Flight configuration anywhere since
1679
1679
  // we don't know which Flight build this will end up being used
1680
1680
  // with.
@@ -1725,9 +1725,9 @@ function Bi() {
1725
1725
  var C = a.displayName || null;
1726
1726
  return C !== null ? C : fe(a.type) || "Memo";
1727
1727
  case S: {
1728
- var z = a, L = z._payload, $ = z._init;
1728
+ var z = a, T = z._payload, $ = z._init;
1729
1729
  try {
1730
- return fe($(L));
1730
+ return fe($(T));
1731
1731
  } catch {
1732
1732
  return null;
1733
1733
  }
@@ -1735,14 +1735,14 @@ function Bi() {
1735
1735
  }
1736
1736
  return null;
1737
1737
  }
1738
- var O = Object.assign, w = 0, y, v, E, R, D, T, W;
1738
+ var O = Object.assign, w = 0, y, v, E, R, D, V, W;
1739
1739
  function J() {
1740
1740
  }
1741
1741
  J.__reactDisabledLog = !0;
1742
1742
  function re() {
1743
1743
  {
1744
1744
  if (w === 0) {
1745
- y = console.log, v = console.info, E = console.warn, R = console.error, D = console.group, T = console.groupCollapsed, W = console.groupEnd;
1745
+ y = console.log, v = console.info, E = console.warn, R = console.error, D = console.group, V = console.groupCollapsed, W = console.groupEnd;
1746
1746
  var a = {
1747
1747
  configurable: !0,
1748
1748
  enumerable: !0,
@@ -1787,7 +1787,7 @@ function Bi() {
1787
1787
  value: D
1788
1788
  }),
1789
1789
  groupCollapsed: O({}, a, {
1790
- value: T
1790
+ value: V
1791
1791
  }),
1792
1792
  groupEnd: O({}, a, {
1793
1793
  value: W
@@ -1828,8 +1828,8 @@ function Bi() {
1828
1828
  ge = !0;
1829
1829
  var z = Error.prepareStackTrace;
1830
1830
  Error.prepareStackTrace = void 0;
1831
- var L;
1832
- L = be.current, be.current = null, re();
1831
+ var T;
1832
+ T = be.current, be.current = null, re();
1833
1833
  try {
1834
1834
  if (p) {
1835
1835
  var $ = function() {
@@ -1882,9 +1882,9 @@ function Bi() {
1882
1882
  }
1883
1883
  }
1884
1884
  } finally {
1885
- ge = !1, be.current = L, ae(), Error.prepareStackTrace = z;
1885
+ ge = !1, be.current = T, ae(), Error.prepareStackTrace = z;
1886
1886
  }
1887
- var Te = a ? a.displayName || a.name : "", zr = Te ? we(Te) : "";
1887
+ var Ve = a ? a.displayName || a.name : "", zr = Ve ? we(Ve) : "";
1888
1888
  return typeof a == "function" && te.set(a, zr), zr;
1889
1889
  }
1890
1890
  function Be(a, p, g) {
@@ -1914,9 +1914,9 @@ function Bi() {
1914
1914
  case f:
1915
1915
  return st(a.type, p, g);
1916
1916
  case S: {
1917
- var C = a, z = C._payload, L = C._init;
1917
+ var C = a, z = C._payload, T = C._init;
1918
1918
  try {
1919
- return st(L(z), p, g);
1919
+ return st(T(z), p, g);
1920
1920
  } catch {
1921
1921
  }
1922
1922
  }
@@ -1933,9 +1933,9 @@ function Bi() {
1933
1933
  }
1934
1934
  function go(a, p, g, C, z) {
1935
1935
  {
1936
- var L = Function.call.bind(it);
1936
+ var T = Function.call.bind(it);
1937
1937
  for (var $ in a)
1938
- if (L(a, $)) {
1938
+ if (T(a, $)) {
1939
1939
  var I = void 0;
1940
1940
  try {
1941
1941
  if (typeof a[$] != "function") {
@@ -2025,7 +2025,7 @@ function Bi() {
2025
2025
  });
2026
2026
  }
2027
2027
  }
2028
- var Do = function(a, p, g, C, z, L, $) {
2028
+ var Do = function(a, p, g, C, z, T, $) {
2029
2029
  var I = {
2030
2030
  // This tag allows us to uniquely identify this as a React Element
2031
2031
  $$typeof: t,
@@ -2035,7 +2035,7 @@ function Bi() {
2035
2035
  ref: g,
2036
2036
  props: $,
2037
2037
  // Record the component responsible for creating this element.
2038
- _owner: L
2038
+ _owner: T
2039
2039
  };
2040
2040
  return I._store = {}, Object.defineProperty(I._store, "validated", {
2041
2041
  configurable: !1,
@@ -2056,14 +2056,14 @@ function Bi() {
2056
2056
  };
2057
2057
  function xo(a, p, g, C, z) {
2058
2058
  {
2059
- var L, $ = {}, I = null, oe = null;
2059
+ var T, $ = {}, I = null, oe = null;
2060
2060
  g !== void 0 && (Nr(g), I = "" + g), vo(p) && (Nr(p.key), I = "" + p.key), _o(p) && (oe = p.ref, Oo(p, z));
2061
- for (L in p)
2062
- it.call(p, L) && !So.hasOwnProperty(L) && ($[L] = p[L]);
2061
+ for (T in p)
2062
+ it.call(p, T) && !So.hasOwnProperty(T) && ($[T] = p[T]);
2063
2063
  if (a && a.defaultProps) {
2064
2064
  var K = a.defaultProps;
2065
- for (L in K)
2066
- $[L] === void 0 && ($[L] = K[L]);
2065
+ for (T in K)
2066
+ $[T] === void 0 && ($[T] = K[T]);
2067
2067
  }
2068
2068
  if (I || oe) {
2069
2069
  var Q = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
@@ -2140,7 +2140,7 @@ Check the top-level render call using <` + g + ">.");
2140
2140
  else if (a) {
2141
2141
  var z = N(a);
2142
2142
  if (typeof z == "function" && z !== a.entries)
2143
- for (var L = z.call(a), $; !($ = L.next()).done; )
2143
+ for (var T = z.call(a), $; !($ = T.next()).done; )
2144
2144
  jt($.value) && Mr($.value, p);
2145
2145
  }
2146
2146
  }
@@ -2182,7 +2182,7 @@ Check the top-level render call using <` + g + ">.");
2182
2182
  a.ref !== null && (ze(a), j("Invalid attribute `ref` supplied to `React.Fragment`."), ze(null));
2183
2183
  }
2184
2184
  }
2185
- function Br(a, p, g, C, z, L) {
2185
+ function Br(a, p, g, C, z, T) {
2186
2186
  {
2187
2187
  var $ = q(a);
2188
2188
  if (!$) {
@@ -2193,7 +2193,7 @@ Check the top-level render call using <` + g + ">.");
2193
2193
  var K;
2194
2194
  a === null ? K = "null" : Rt(a) ? K = "array" : a !== void 0 && a.$$typeof === t ? (K = "<" + (fe(a.type) || "Unknown") + " />", I = " Did you accidentally export a JSX literal instead of a component?") : K = typeof a, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", K, I);
2195
2195
  }
2196
- var Q = xo(a, p, g, z, L);
2196
+ var Q = xo(a, p, g, z, T);
2197
2197
  if (Q == null)
2198
2198
  return Q;
2199
2199
  if ($) {
@@ -2201,8 +2201,8 @@ Check the top-level render call using <` + g + ">.");
2201
2201
  if (de !== void 0)
2202
2202
  if (C)
2203
2203
  if (Rt(de)) {
2204
- for (var Te = 0; Te < de.length; Te++)
2205
- Ur(de[Te], a);
2204
+ for (var Ve = 0; Ve < de.length; Ve++)
2205
+ Ur(de[Ve], a);
2206
2206
  Object.freeze && Object.freeze(de);
2207
2207
  } else
2208
2208
  j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
@@ -2247,23 +2247,23 @@ var _ = nr.exports, Yn = { exports: {} };
2247
2247
  return { M: f, y: x, w: l, d, D: m, h: u, m: c, s: i, ms: s, Q: S }[O] || String(O || "").toLowerCase().replace(/s$/, "");
2248
2248
  }, u: function(O) {
2249
2249
  return O === void 0;
2250
- } }, V = "en", B = {};
2251
- B[V] = j;
2250
+ } }, L = "en", B = {};
2251
+ B[L] = j;
2252
2252
  var Z = "$isDayjsObject", k = function(O) {
2253
2253
  return O instanceof Ne || !(!O || !O[Z]);
2254
2254
  }, ee = function O(w, y, v) {
2255
2255
  var E;
2256
- if (!w) return V;
2256
+ if (!w) return L;
2257
2257
  if (typeof w == "string") {
2258
2258
  var R = w.toLowerCase();
2259
2259
  B[R] && (E = R), y && (B[R] = y, E = R);
2260
2260
  var D = w.split("-");
2261
2261
  if (!E && D.length > 1) return O(D[0]);
2262
2262
  } else {
2263
- var T = w.name;
2264
- B[T] = w, E = T;
2263
+ var V = w.name;
2264
+ B[V] = w, E = V;
2265
2265
  }
2266
- return !v && E && (V = E), E || !v && V;
2266
+ return !v && E && (L = E), E || !v && L;
2267
2267
  }, q = function(O, w) {
2268
2268
  if (k(O)) return O.clone();
2269
2269
  var y = typeof w == "object" ? w : {};
@@ -2286,8 +2286,8 @@ var _ = nr.exports, Yn = { exports: {} };
2286
2286
  if (typeof E == "string" && !/Z$/i.test(E)) {
2287
2287
  var D = E.match(N);
2288
2288
  if (D) {
2289
- var T = D[2] - 1 || 0, W = (D[7] || "0").substring(0, 3);
2290
- return R ? new Date(Date.UTC(D[1], T, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, W)) : new Date(D[1], T, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, W);
2289
+ var V = D[2] - 1 || 0, W = (D[7] || "0").substring(0, 3);
2290
+ return R ? new Date(Date.UTC(D[1], V, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, W)) : new Date(D[1], V, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, W);
2291
2291
  }
2292
2292
  }
2293
2293
  return new Date(E);
@@ -2313,7 +2313,7 @@ var _ = nr.exports, Yn = { exports: {} };
2313
2313
  }, w.valueOf = function() {
2314
2314
  return this.$d.getTime();
2315
2315
  }, w.startOf = function(y, v) {
2316
- var E = this, R = !!U.u(v) || v, D = U.p(y), T = function(ge, te) {
2316
+ var E = this, R = !!U.u(v) || v, D = U.p(y), V = function(ge, te) {
2317
2317
  var Ee = U.w(E.$u ? Date.UTC(E.$y, te, ge) : new Date(E.$y, te, ge), E);
2318
2318
  return R ? Ee : Ee.endOf(d);
2319
2319
  }, W = function(ge, te) {
@@ -2321,12 +2321,12 @@ var _ = nr.exports, Yn = { exports: {} };
2321
2321
  }, J = this.$W, re = this.$M, ae = this.$D, be = "set" + (this.$u ? "UTC" : "");
2322
2322
  switch (D) {
2323
2323
  case x:
2324
- return R ? T(1, 0) : T(31, 11);
2324
+ return R ? V(1, 0) : V(31, 11);
2325
2325
  case f:
2326
- return R ? T(1, re) : T(0, re + 1);
2326
+ return R ? V(1, re) : V(0, re + 1);
2327
2327
  case l:
2328
2328
  var ye = this.$locale().weekStart || 0, we = (J < ye ? J + 7 : J) - ye;
2329
- return T(R ? ae - we : ae + (6 - we), re);
2329
+ return V(R ? ae - we : ae + (6 - we), re);
2330
2330
  case d:
2331
2331
  case m:
2332
2332
  return W(be + "Hours", 0);
@@ -2342,11 +2342,11 @@ var _ = nr.exports, Yn = { exports: {} };
2342
2342
  }, w.endOf = function(y) {
2343
2343
  return this.startOf(y, !1);
2344
2344
  }, w.$set = function(y, v) {
2345
- var E, R = U.p(y), D = "set" + (this.$u ? "UTC" : ""), T = (E = {}, E[d] = D + "Date", E[m] = D + "Date", E[f] = D + "Month", E[x] = D + "FullYear", E[u] = D + "Hours", E[c] = D + "Minutes", E[i] = D + "Seconds", E[s] = D + "Milliseconds", E)[R], W = R === d ? this.$D + (v - this.$W) : v;
2345
+ var E, R = U.p(y), D = "set" + (this.$u ? "UTC" : ""), V = (E = {}, E[d] = D + "Date", E[m] = D + "Date", E[f] = D + "Month", E[x] = D + "FullYear", E[u] = D + "Hours", E[c] = D + "Minutes", E[i] = D + "Seconds", E[s] = D + "Milliseconds", E)[R], W = R === d ? this.$D + (v - this.$W) : v;
2346
2346
  if (R === f || R === x) {
2347
2347
  var J = this.clone().set(m, 1);
2348
- J.$d[T](W), J.init(), this.$d = J.set(m, Math.min(this.$D, J.daysInMonth())).$d;
2349
- } else T && this.$d[T](W);
2348
+ J.$d[V](W), J.init(), this.$d = J.set(m, Math.min(this.$D, J.daysInMonth())).$d;
2349
+ } else V && this.$d[V](W);
2350
2350
  return this.init(), this;
2351
2351
  }, w.set = function(y, v) {
2352
2352
  return this.clone().$set(y, v);
@@ -2355,14 +2355,14 @@ var _ = nr.exports, Yn = { exports: {} };
2355
2355
  }, w.add = function(y, v) {
2356
2356
  var E, R = this;
2357
2357
  y = Number(y);
2358
- var D = U.p(v), T = function(re) {
2358
+ var D = U.p(v), V = function(re) {
2359
2359
  var ae = q(R);
2360
2360
  return U.w(ae.date(ae.date() + Math.round(re * y)), R);
2361
2361
  };
2362
2362
  if (D === f) return this.set(f, this.$M + y);
2363
2363
  if (D === x) return this.set(x, this.$y + y);
2364
- if (D === d) return T(1);
2365
- if (D === l) return T(7);
2364
+ if (D === d) return V(1);
2365
+ if (D === l) return V(7);
2366
2366
  var W = (E = {}, E[c] = n, E[u] = o, E[i] = r, E)[D] || 1, J = this.$d.getTime() + y * W;
2367
2367
  return U.w(J, this);
2368
2368
  }, w.subtract = function(y, v) {
@@ -2370,10 +2370,10 @@ var _ = nr.exports, Yn = { exports: {} };
2370
2370
  }, w.format = function(y) {
2371
2371
  var v = this, E = this.$locale();
2372
2372
  if (!this.isValid()) return E.invalidDate || b;
2373
- var R = y || "YYYY-MM-DDTHH:mm:ssZ", D = U.z(this), T = this.$H, W = this.$m, J = this.$M, re = E.weekdays, ae = E.months, be = E.meridiem, ye = function(te, Ee, Re, Be) {
2373
+ var R = y || "YYYY-MM-DDTHH:mm:ssZ", D = U.z(this), V = this.$H, W = this.$m, J = this.$M, re = E.weekdays, ae = E.months, be = E.meridiem, ye = function(te, Ee, Re, Be) {
2374
2374
  return te && (te[Ee] || te(v, R)) || Re[Ee].slice(0, Be);
2375
2375
  }, we = function(te) {
2376
- return U.s(T % 12 || 12, te, "0");
2376
+ return U.s(V % 12 || 12, te, "0");
2377
2377
  }, ge = be || function(te, Ee, Re) {
2378
2378
  var Be = te < 12 ? "AM" : "PM";
2379
2379
  return Re ? Be.toLowerCase() : Be;
@@ -2406,17 +2406,17 @@ var _ = nr.exports, Yn = { exports: {} };
2406
2406
  case "dddd":
2407
2407
  return re[v.$W];
2408
2408
  case "H":
2409
- return String(T);
2409
+ return String(V);
2410
2410
  case "HH":
2411
- return U.s(T, 2, "0");
2411
+ return U.s(V, 2, "0");
2412
2412
  case "h":
2413
2413
  return we(1);
2414
2414
  case "hh":
2415
2415
  return we(2);
2416
2416
  case "a":
2417
- return ge(T, W, !0);
2417
+ return ge(V, W, !0);
2418
2418
  case "A":
2419
- return ge(T, W, !1);
2419
+ return ge(V, W, !1);
2420
2420
  case "m":
2421
2421
  return String(W);
2422
2422
  case "mm":
@@ -2436,10 +2436,10 @@ var _ = nr.exports, Yn = { exports: {} };
2436
2436
  }, w.utcOffset = function() {
2437
2437
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
2438
2438
  }, w.diff = function(y, v, E) {
2439
- var R, D = this, T = U.p(v), W = q(y), J = (W.utcOffset() - this.utcOffset()) * n, re = this - W, ae = function() {
2439
+ var R, D = this, V = U.p(v), W = q(y), J = (W.utcOffset() - this.utcOffset()) * n, re = this - W, ae = function() {
2440
2440
  return U.m(D, W);
2441
2441
  };
2442
- switch (T) {
2442
+ switch (V) {
2443
2443
  case x:
2444
2444
  R = ae() / 12;
2445
2445
  break;
@@ -2496,11 +2496,11 @@ var _ = nr.exports, Yn = { exports: {} };
2496
2496
  return O.$i || (O(w, Ne, q), O.$i = !0), q;
2497
2497
  }, q.locale = ee, q.isDayjs = k, q.unix = function(O) {
2498
2498
  return q(1e3 * O);
2499
- }, q.en = B[V], q.Ls = B, q.p = {}, q;
2499
+ }, q.en = B[L], q.Ls = B, q.p = {}, q;
2500
2500
  });
2501
2501
  })(Yn);
2502
2502
  var zi = Yn.exports;
2503
- const Ti = /* @__PURE__ */ Mi(zi), Vi = (e) => Ti(e).format("YYYY-MM-DD HH:mm:ss"), Li = (e) => _.jsx(wn.Paragraph, { copyable: !0, children: e }), qi = (e) => _.jsx(wn.Ellipsis, { style: { maxWidth: 300 }, rows: 1, showTooltip: !0, children: e });
2503
+ const Vi = /* @__PURE__ */ Mi(zi), Li = (e) => Vi(e).format("YYYY-MM-DD HH:mm:ss"), Ti = (e) => _.jsx(wn.Paragraph, { copyable: !0, children: e }), qi = (e) => _.jsx(wn.Ellipsis, { style: { maxWidth: 300 }, rows: 1, showTooltip: !0, children: e });
2504
2504
  function Wi(e) {
2505
2505
  if (typeof e != "object" || e === null)
2506
2506
  return !1;
@@ -2552,7 +2552,7 @@ function ce(e, ...t) {
2552
2552
  `[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`
2553
2553
  );
2554
2554
  }
2555
- var Le = Object.getPrototypeOf;
2555
+ var Te = Object.getPrototypeOf;
2556
2556
  function je(e) {
2557
2557
  return !!e && !!e[ue];
2558
2558
  }
@@ -2564,7 +2564,7 @@ var Yi = Object.prototype.constructor.toString();
2564
2564
  function Kn(e) {
2565
2565
  if (!e || typeof e != "object")
2566
2566
  return !1;
2567
- const t = Le(e);
2567
+ const t = Te(e);
2568
2568
  if (t === null)
2569
2569
  return !0;
2570
2570
  const r = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
@@ -2620,9 +2620,9 @@ function sr(e, t) {
2620
2620
  value: e[i]
2621
2621
  });
2622
2622
  }
2623
- return Object.create(Le(e), n);
2623
+ return Object.create(Te(e), n);
2624
2624
  } else {
2625
- const n = Le(e);
2625
+ const n = Te(e);
2626
2626
  if (n !== null && r)
2627
2627
  return { ...e };
2628
2628
  const o = Object.create(n);
@@ -2810,7 +2810,7 @@ var Cr = {
2810
2810
  ce(11);
2811
2811
  },
2812
2812
  getPrototypeOf(e) {
2813
- return Le(e.base_);
2813
+ return Te(e.base_);
2814
2814
  },
2815
2815
  setPrototypeOf() {
2816
2816
  ce(12);
@@ -2843,12 +2843,12 @@ function ta(e, t, r) {
2843
2843
  function Qn(e, t) {
2844
2844
  if (!(t in e))
2845
2845
  return;
2846
- let r = Le(e);
2846
+ let r = Te(e);
2847
2847
  for (; r; ) {
2848
2848
  const n = Object.getOwnPropertyDescriptor(r, t);
2849
2849
  if (n)
2850
2850
  return n;
2851
- r = Le(r);
2851
+ r = Te(r);
2852
2852
  }
2853
2853
  }
2854
2854
  function cr(e) {
@@ -3147,7 +3147,7 @@ function no(e, ...t) {
3147
3147
  );
3148
3148
  }, ...N);
3149
3149
  let A = !0;
3150
- const V = x(function() {
3150
+ const L = x(function() {
3151
3151
  i++;
3152
3152
  const Z = cn(
3153
3153
  j,
@@ -3174,7 +3174,7 @@ function no(e, ...t) {
3174
3174
  }
3175
3175
  return c;
3176
3176
  }, ...M);
3177
- return Object.assign(V, {
3177
+ return Object.assign(L, {
3178
3178
  resultFunc: d,
3179
3179
  memoizedResultFunc: P,
3180
3180
  dependencies: j,
@@ -3412,7 +3412,7 @@ var va = ["name", "message", "stack", "code"], Ut = class {
3412
3412
  b = j, x.abort();
3413
3413
  }
3414
3414
  const M = async function() {
3415
- var A, V;
3415
+ var A, L;
3416
3416
  let j;
3417
3417
  try {
3418
3418
  let B = (A = n == null ? void 0 : n.condition) == null ? void 0 : A.call(n, u, {
@@ -3432,7 +3432,7 @@ var va = ["name", "message", "stack", "code"], Ut = class {
3432
3432
  });
3433
3433
  }, x.signal.addEventListener("abort", m);
3434
3434
  });
3435
- d(s(S, u, (V = n == null ? void 0 : n.getPendingMeta) == null ? void 0 : V.call(n, {
3435
+ d(s(S, u, (L = n == null ? void 0 : n.getPendingMeta) == null ? void 0 : L.call(n, {
3436
3436
  requestId: S,
3437
3437
  arg: u
3438
3438
  }, {
@@ -3513,12 +3513,12 @@ function Pa({
3513
3513
  sliceMatchers: []
3514
3514
  }, l = {
3515
3515
  addCase(P, A) {
3516
- const V = typeof P == "string" ? P : P.type;
3517
- if (!V)
3516
+ const L = typeof P == "string" ? P : P.type;
3517
+ if (!L)
3518
3518
  throw new Error(process.env.NODE_ENV === "production" ? X(12) : "`context.addCase` cannot be called with an empty action type");
3519
- if (V in d.sliceCaseReducersByType)
3520
- throw new Error(process.env.NODE_ENV === "production" ? X(13) : "`context.addCase` cannot be called with two reducers for the same action type: " + V);
3521
- return d.sliceCaseReducersByType[V] = A, l;
3519
+ if (L in d.sliceCaseReducersByType)
3520
+ throw new Error(process.env.NODE_ENV === "production" ? X(13) : "`context.addCase` cannot be called with two reducers for the same action type: " + L);
3521
+ return d.sliceCaseReducersByType[L] = A, l;
3522
3522
  },
3523
3523
  addMatcher(P, A) {
3524
3524
  return d.sliceMatchers.push({
@@ -3534,17 +3534,17 @@ function Pa({
3534
3534
  }
3535
3535
  };
3536
3536
  u.forEach((P) => {
3537
- const A = c[P], V = {
3537
+ const A = c[P], L = {
3538
3538
  reducerName: P,
3539
3539
  type: xa(s, P),
3540
3540
  createNotation: typeof o.reducers == "function"
3541
3541
  };
3542
- ka(A) ? $a(V, A, l, t) : Ia(V, A, l);
3542
+ ka(A) ? $a(L, A, l, t) : Ia(L, A, l);
3543
3543
  });
3544
3544
  function f() {
3545
3545
  if (process.env.NODE_ENV !== "production" && typeof o.extraReducers == "object")
3546
3546
  throw new Error(process.env.NODE_ENV === "production" ? X(14) : "The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");
3547
- const [P = {}, A = [], V = void 0] = typeof o.extraReducers == "function" ? oo(o.extraReducers) : [o.extraReducers], B = {
3547
+ const [P = {}, A = [], L = void 0] = typeof o.extraReducers == "function" ? oo(o.extraReducers) : [o.extraReducers], B = {
3548
3548
  ...P,
3549
3549
  ...d.sliceCaseReducersByType
3550
3550
  };
@@ -3555,7 +3555,7 @@ function Pa({
3555
3555
  Z.addMatcher(k.matcher, k.reducer);
3556
3556
  for (let k of A)
3557
3557
  Z.addMatcher(k.matcher, k.reducer);
3558
- V && Z.addDefaultCase(V);
3558
+ L && Z.addDefaultCase(L);
3559
3559
  });
3560
3560
  }
3561
3561
  const S = (P) => P, x = /* @__PURE__ */ new Map();
@@ -3567,7 +3567,7 @@ function Pa({
3567
3567
  return m || (m = f()), m.getInitialState();
3568
3568
  }
3569
3569
  function M(P, A = !1) {
3570
- function V(Z) {
3570
+ function L(Z) {
3571
3571
  let k = Z[P];
3572
3572
  if (typeof k > "u") {
3573
3573
  if (A)
@@ -3594,9 +3594,9 @@ function Pa({
3594
3594
  reducerPath: P,
3595
3595
  getSelectors: B,
3596
3596
  get selectors() {
3597
- return B(V);
3597
+ return B(L);
3598
3598
  },
3599
- selectSlice: V
3599
+ selectSlice: L
3600
3600
  };
3601
3601
  }
3602
3602
  const j = {
@@ -3608,13 +3608,13 @@ function Pa({
3608
3608
  ...M(i),
3609
3609
  injectInto(P, {
3610
3610
  reducerPath: A,
3611
- ...V
3611
+ ...L
3612
3612
  } = {}) {
3613
3613
  const B = A ?? i;
3614
3614
  return P.inject({
3615
3615
  reducerPath: B,
3616
3616
  reducer: b
3617
- }, V), {
3617
+ }, L), {
3618
3618
  ...j,
3619
3619
  ...M(B, !0)
3620
3620
  };
@@ -3762,14 +3762,14 @@ var za = Object.assign(Oe(`${Dr}/remove`), {
3762
3762
  function X(e) {
3763
3763
  return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
3764
3764
  }
3765
- const Ta = {
3765
+ const Va = {
3766
3766
  showLogin: !1
3767
3767
  }, lr = io("user/getUserInfo", async () => {
3768
3768
  if (localStorage.getItem("token"))
3769
3769
  return await Wn();
3770
3770
  }), co = ao({
3771
3771
  name: "user",
3772
- initialState: Ta,
3772
+ initialState: Va,
3773
3773
  reducers: {
3774
3774
  // 退出登录
3775
3775
  loginOut(e) {
@@ -3789,7 +3789,7 @@ const Ta = {
3789
3789
  t.isLogin = !1, t.userInfo = void 0;
3790
3790
  });
3791
3791
  }
3792
- }), Va = co.actions, La = co.reducer, fr = (e, t) => t.some((r) => e instanceof r);
3792
+ }), La = co.actions, Ta = co.reducer, fr = (e, t) => t.some((r) => e instanceof r);
3793
3793
  let hn, pn;
3794
3794
  function qa() {
3795
3795
  return hn || (hn = [
@@ -4007,7 +4007,7 @@ const We = "task", ot = () => Ka("zyjj", 2, {
4007
4007
  }), po = ho.actions, cc = ho.reducer;
4008
4008
  var yr;
4009
4009
  (function(e) {
4010
- e[e.MqttListener = 0] = "MqttListener", e[e.CloudFileUpload = 1] = "CloudFileUpload", e[e.CloudFileDownload = 2] = "CloudFileDownload", e[e.GetInitData = 3] = "GetInitData", e[e.NavigateTo = 4] = "NavigateTo", e[e.CloseWindow = 5] = "CloseWindow", e[e.TaskAction = 6] = "TaskAction", e[e.SendRequest = 7] = "SendRequest", e[e.FFMPEG = 8] = "FFMPEG", e[e.FileDownload = 9] = "FileDownload";
4010
+ e[e.MqttListener = 0] = "MqttListener", e[e.CloudFileUpload = 1] = "CloudFileUpload", e[e.CloudFileDownload = 2] = "CloudFileDownload", e[e.GetInitData = 3] = "GetInitData", e[e.NavigateTo = 4] = "NavigateTo", e[e.CloseWindow = 5] = "CloseWindow", e[e.TaskAction = 6] = "TaskAction", e[e.SendRequest = 7] = "SendRequest", e[e.FFMPEG = 8] = "FFMPEG", e[e.FileDownload = 9] = "FileDownload", e[e.OpenVideoEditor = 10] = "OpenVideoEditor";
4011
4011
  })(yr || (yr = {}));
4012
4012
  var gr;
4013
4013
  (function(e) {
@@ -4019,8 +4019,8 @@ var br;
4019
4019
  })(br || (br = {}));
4020
4020
  const ft = 60;
4021
4021
  function mo(e) {
4022
- const [t, r] = Pe(ft), n = Lo();
4023
- Tt(() => {
4022
+ const [t, r] = Pe(ft), n = To();
4023
+ Vt(() => {
4024
4024
  t == 0 && (clearInterval(n.current), r(ft));
4025
4025
  }, [t]);
4026
4026
  const o = () => {
@@ -4072,9 +4072,9 @@ function jc(e) {
4072
4072
  r(d.list), i((l) => (l.total = d.total, l)), o(!1);
4073
4073
  });
4074
4074
  };
4075
- return Tt(() => {
4075
+ return Vt(() => {
4076
4076
  u();
4077
- }, [s.current, s.pageSize]), Tt(() => {
4077
+ }, [s.current, s.pageSize]), Vt(() => {
4078
4078
  u(), e.refresh && e.refresh(() => u());
4079
4079
  }, []), _.jsxs(_.Fragment, { children: [e.search ? _.jsxs(ie, { form: c, layout: "inline", onSubmit: u, children: [e.search.map((d) => {
4080
4080
  let l = _.jsx(_.Fragment, {});
@@ -4082,7 +4082,7 @@ function jc(e) {
4082
4082
  return d.tp == "input" ? l = _.jsx(Ae, { allowClear: !0, placeholder: f.placeholder }) : d.tp == "custom" && (l = d.ele), _.jsx(ie.Item, { label: d.label, field: d.field, children: l }, d.field);
4083
4083
  }), _.jsx(ie.Item, { children: _.jsx($e, { htmlType: "submit", children: "搜索" }) })] }) : null, _.jsx(zo, { loading: n, pagination: s, onChange: (d) => i({ ...s, current: (d == null ? void 0 : d.current) || s.current, pageSize: (d == null ? void 0 : d.pageSize) || s.pageSize }), rowKey: e.id || "id", columns: e.columns, data: t })] });
4084
4084
  }
4085
- const fc = me(() => import("./ElementTypeInput-khx9Bnra.js")), dc = me(() => import("./ElementTypeSelect-BnBYykvw.js")), hc = me(() => import("./ElementTypeTextArea-DUp-KoHF.js")), bn = me(() => import("./ElementTypeText-Bj0Gtt5k.js").then((e) => e.E)), pc = me(() => import("./ElementTypeAudio-Cr9cYS9F.js")), mc = me(() => import("./ElementTypeUpload-DiIOzcTc.js")), yc = me(() => import("./ElementTypeNumber-DvmxbEW2.js")), gc = me(() => import("./ElementTypeImageList-x-OFmgPd.js")), bc = me(() => import("./ElementTypeImage-g1KwCGd5.js")), wc = me(() => import("./ElementTypeAlert-CrTUt6Y8.js")), Ec = me(() => import("./ElementTypeVideo-BPdozUUx.js")), Sc = me(() => import("./ElementTypeNumber-DvmxbEW2.js"));
4085
+ const fc = me(() => import("./ElementTypeInput-CZzdW5Dq.js")), dc = me(() => import("./ElementTypeSelect-C0QOG2s4.js")), hc = me(() => import("./ElementTypeTextArea-QdA2Oc7M.js")), bn = me(() => import("./ElementTypeText-CcDoswg4.js").then((e) => e.E)), pc = me(() => import("./ElementTypeAudio-B03fqxlI.js")), mc = me(() => import("./ElementTypeUpload-Dl8m_Nka.js")), yc = me(() => import("./ElementTypeNumber-DKtckJS2.js")), gc = me(() => import("./ElementTypeImageList-CWc6kKUq.js")), bc = me(() => import("./ElementTypeImage-DXbbzVZL.js")), wc = me(() => import("./ElementTypeAlert-D69MD1Hv.js")), Ec = me(() => import("./ElementTypeVideo-JPjwlOxb.js")), Sc = me(() => import("./ElementTypeNumber-DKtckJS2.js"));
4086
4086
  function Nc(e) {
4087
4087
  const { tp: t, isInput: r, data: n, value: o, onChange: s } = e;
4088
4088
  switch (t) {
@@ -4150,19 +4150,19 @@ const Ic = {
4150
4150
  TaskActionType: gr
4151
4151
  }, Ac = {
4152
4152
  render: {
4153
- renderTime: Vi,
4153
+ renderTime: Li,
4154
4154
  renderEllipsis: qi,
4155
- renderCopy: Li
4155
+ renderCopy: Ti
4156
4156
  },
4157
4157
  utils: {
4158
4158
  file2ToolParamFile: fi,
4159
4159
  seconds2TimeStr: di,
4160
- object2query: Vn,
4160
+ object2query: Ln,
4161
4161
  paramReplace: yi,
4162
4162
  object2urlParam: gi,
4163
4163
  convertFileSize: li,
4164
4164
  downloadFile: bi,
4165
- downloadFileDirect: Ln
4165
+ downloadFileDirect: Tn
4166
4166
  },
4167
4167
  cloud: {
4168
4168
  getTencentCosInfo: hi,
@@ -4176,8 +4176,8 @@ const Ic = {
4176
4176
  deleteData: ic
4177
4177
  }
4178
4178
  }, $c = {
4179
- UserReducer: La,
4180
- UserAction: Va,
4179
+ UserReducer: Ta,
4180
+ UserAction: La,
4181
4181
  GetUserInfo: lr,
4182
4182
  MqttReducer: cc,
4183
4183
  MqttAction: po,