zyjj-web-sdk 1.1.14 → 1.1.15

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/lib/index.js CHANGED
@@ -1,29 +1,29 @@
1
- var Ao = Object.defineProperty;
2
- var $o = (e, t, r) => t in e ? Ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
1
+ var Io = Object.defineProperty;
2
+ var $o = (e, t, r) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var xt = (e, t, r) => $o(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { Message as Ce, Typography as bn, Space as br, Input as ke, Button as Ie, Modal as Fo, Form as se, Table as Mo } from "@arco-design/web-react";
4
+ import { Message as Ce, Typography as bn, Space as br, Input as ke, Button as Ae, Modal as Fo, Form as se, Table as Mo } from "@arco-design/web-react";
5
5
  import Uo from "cos-js-sdk-v5";
6
6
  import Bo from "ali-oss";
7
7
  import wn, { useState as De, useRef as zo, useEffect as Bt } from "react";
8
- import Vo from "mqtt";
8
+ import qo from "mqtt";
9
9
  function En(e, t) {
10
10
  return function() {
11
11
  return e.apply(t, arguments);
12
12
  };
13
13
  }
14
- const { toString: qo } = Object.prototype, { getPrototypeOf: wr } = Object, mt = /* @__PURE__ */ ((e) => (t) => {
15
- const r = qo.call(t);
14
+ const { toString: Vo } = Object.prototype, { getPrototypeOf: wr } = Object, mt = /* @__PURE__ */ ((e) => (t) => {
15
+ const r = Vo.call(t);
16
16
  return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
17
- })(/* @__PURE__ */ Object.create(null)), Ee = (e) => (e = e.toLowerCase(), (t) => mt(t) === e), yt = (e) => (t) => typeof t === e, { isArray: qe } = Array, Je = yt("undefined");
17
+ })(/* @__PURE__ */ Object.create(null)), Ee = (e) => (e = e.toLowerCase(), (t) => mt(t) === e), yt = (e) => (t) => typeof t === e, { isArray: Ve } = Array, Je = yt("undefined");
18
18
  function Lo(e) {
19
19
  return e !== null && !Je(e) && e.constructor !== null && !Je(e.constructor) && de(e.constructor.isBuffer) && e.constructor.isBuffer(e);
20
20
  }
21
21
  const Sn = Ee("ArrayBuffer");
22
- function Wo(e) {
22
+ function To(e) {
23
23
  let t;
24
24
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Sn(e.buffer), t;
25
25
  }
26
- const To = yt("string"), de = yt("function"), _n = yt("number"), gt = (e) => e !== null && typeof e == "object", Ho = (e) => e === !0 || e === !1, lt = (e) => {
26
+ const Wo = yt("string"), de = yt("function"), _n = yt("number"), gt = (e) => e !== null && typeof e == "object", Ho = (e) => e === !0 || e === !1, lt = (e) => {
27
27
  if (mt(e) !== "object")
28
28
  return !1;
29
29
  const t = wr(e);
@@ -37,7 +37,7 @@ function Qe(e, t, { allOwnKeys: r = !1 } = {}) {
37
37
  if (e === null || typeof e > "u")
38
38
  return;
39
39
  let n, o;
40
- if (typeof e != "object" && (e = [e]), qe(e))
40
+ if (typeof e != "object" && (e = [e]), Ve(e))
41
41
  for (n = 0, o = e.length; n < o; n++)
42
42
  t.call(null, e[n], n, e);
43
43
  else {
@@ -60,7 +60,7 @@ const vn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
60
60
  function zt() {
61
61
  const { caseless: e } = Rn(this) && this || {}, t = {}, r = (n, o) => {
62
62
  const s = e && On(t, o) || o;
63
- lt(t[s]) && lt(n) ? t[s] = zt(t[s], n) : lt(n) ? t[s] = zt({}, n) : qe(n) ? t[s] = n.slice() : t[s] = n;
63
+ lt(t[s]) && lt(n) ? t[s] = zt(t[s], n) : lt(n) ? t[s] = zt({}, n) : Ve(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] && Qe(arguments[n], r);
@@ -88,7 +88,7 @@ const ts = (e, t, r, { allOwnKeys: n } = {}) => (Qe(t, (o, s) => {
88
88
  return n !== -1 && n === r;
89
89
  }, is = (e) => {
90
90
  if (!e) return null;
91
- if (qe(e)) return e;
91
+ if (Ve(e)) return e;
92
92
  let t = e.length;
93
93
  if (!_n(t)) return null;
94
94
  const r = new Array(t);
@@ -113,7 +113,7 @@ const ts = (e, t, r, { allOwnKeys: n } = {}) => (Qe(t, (o, s) => {
113
113
  function(r, n, o) {
114
114
  return n.toUpperCase() + o;
115
115
  }
116
- ), Vr = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), ds = Ee("RegExp"), Cn = (e, t) => {
116
+ ), qr = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), ds = Ee("RegExp"), Cn = (e, t) => {
117
117
  const r = Object.getOwnPropertyDescriptors(e), n = {};
118
118
  Qe(r, (o, s) => {
119
119
  let i;
@@ -140,12 +140,12 @@ const ts = (e, t, r, { allOwnKeys: n } = {}) => (Qe(t, (o, s) => {
140
140
  r[s] = !0;
141
141
  });
142
142
  };
143
- return qe(e) ? n(e) : n(String(e).split(t)), r;
143
+ return Ve(e) ? n(e) : n(String(e).split(t)), r;
144
144
  }, ms = () => {
145
- }, ys = (e, t) => (e = +e, Number.isFinite(e) ? e : t), jt = "abcdefghijklmnopqrstuvwxyz", qr = "0123456789", Dn = {
146
- DIGIT: qr,
145
+ }, ys = (e, t) => (e = +e, Number.isFinite(e) ? e : t), jt = "abcdefghijklmnopqrstuvwxyz", Vr = "0123456789", Dn = {
146
+ DIGIT: Vr,
147
147
  ALPHA: jt,
148
- ALPHA_DIGIT: jt + jt.toUpperCase() + qr
148
+ ALPHA_DIGIT: jt + jt.toUpperCase() + Vr
149
149
  }, gs = (e = 16, t = Dn.ALPHA_DIGIT) => {
150
150
  let r = "";
151
151
  const { length: n } = t;
@@ -163,7 +163,7 @@ const ws = (e) => {
163
163
  return;
164
164
  if (!("toJSON" in n)) {
165
165
  t[o] = n;
166
- const s = qe(n) ? [] : {};
166
+ const s = Ve(n) ? [] : {};
167
167
  return Qe(n, (i, c) => {
168
168
  const u = r(i, o + 1);
169
169
  !Je(u) && (s[c] = u);
@@ -174,12 +174,12 @@ const ws = (e) => {
174
174
  };
175
175
  return r(e, 0);
176
176
  }, Es = Ee("AsyncFunction"), Ss = (e) => e && (gt(e) || de(e)) && de(e.then) && de(e.catch), h = {
177
- isArray: qe,
177
+ isArray: Ve,
178
178
  isArrayBuffer: Sn,
179
179
  isBuffer: Lo,
180
180
  isFormData: Zo,
181
- isArrayBufferView: Wo,
182
- isString: To,
181
+ isArrayBufferView: To,
182
+ isString: Wo,
183
183
  isNumber: _n,
184
184
  isBoolean: Ho,
185
185
  isObject: gt,
@@ -208,8 +208,8 @@ const ws = (e) => {
208
208
  forEachEntry: cs,
209
209
  matchAll: us,
210
210
  isHTMLForm: ls,
211
- hasOwnProperty: Vr,
212
- hasOwnProp: Vr,
211
+ hasOwnProperty: qr,
212
+ hasOwnProp: qr,
213
213
  // an alias to avoid ESLint no-prototype-builtins detection
214
214
  reduceDescriptors: Cn,
215
215
  freezeMethods: hs,
@@ -278,7 +278,7 @@ 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 _s = null;
281
- function Vt(e) {
281
+ function qt(e) {
282
282
  return h.isPlainObject(e) || h.isArray(e);
283
283
  }
284
284
  function jn(e) {
@@ -290,7 +290,7 @@ function Lr(e, t, r) {
290
290
  }).join(r ? "." : "") : t;
291
291
  }
292
292
  function Os(e) {
293
- return h.isArray(e) && !e.some(Vt);
293
+ return h.isArray(e) && !e.some(qt);
294
294
  }
295
295
  const vs = h.toFlatObject(h, {}, null, function(t) {
296
296
  return /^is[A-Z]/.test(t);
@@ -322,20 +322,20 @@ function bt(e, t, r) {
322
322
  if (h.endsWith(b, "{}"))
323
323
  b = n ? b : b.slice(0, -2), m = JSON.stringify(m);
324
324
  else if (h.isArray(m) && Os(m) || (h.isFileList(m) || h.endsWith(b, "[]")) && (M = h.toArray(m)))
325
- return b = jn(b), M.forEach(function(x, A) {
325
+ return b = jn(b), M.forEach(function(x, I) {
326
326
  !(h.isUndefined(x) || x === 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 ? Lr([b], I, s) : i === null ? b : b + "[]",
329
329
  d(x)
330
330
  );
331
331
  }), !1;
332
332
  }
333
- return Vt(m) ? !0 : (t.append(Lr(N, b, s), d(m)), !1);
333
+ return qt(m) ? !0 : (t.append(Lr(N, b, s), d(m)), !1);
334
334
  }
335
335
  const f = [], S = Object.assign(vs, {
336
336
  defaultVisitor: l,
337
337
  convertValue: d,
338
- isVisitable: Vt
338
+ isVisitable: qt
339
339
  });
340
340
  function P(m, b) {
341
341
  if (!h.isUndefined(m)) {
@@ -356,7 +356,7 @@ function bt(e, t, r) {
356
356
  throw new TypeError("data must be an object");
357
357
  return P(e), t;
358
358
  }
359
- function Wr(e) {
359
+ function Tr(e) {
360
360
  const t = {
361
361
  "!": "%21",
362
362
  "'": "%27",
@@ -379,8 +379,8 @@ Nn.append = function(t, r) {
379
379
  };
380
380
  Nn.toString = function(t) {
381
381
  const r = t ? function(n) {
382
- return t.call(this, n, Wr);
383
- } : Wr;
382
+ return t.call(this, n, Tr);
383
+ } : Tr;
384
384
  return this._pairs.map(function(o) {
385
385
  return r(o[0]) + "=" + r(o[1]);
386
386
  }, "").join("&");
@@ -399,7 +399,7 @@ function kn(e, t, r) {
399
399
  }
400
400
  return e;
401
401
  }
402
- class Tr {
402
+ class Wr {
403
403
  constructor() {
404
404
  this.handlers = [];
405
405
  }
@@ -453,7 +453,7 @@ class Tr {
453
453
  });
454
454
  }
455
455
  }
456
- const In = {
456
+ const An = {
457
457
  silentJSONParsing: !0,
458
458
  forcedJSONParsing: !0,
459
459
  clarifyTimeoutError: !1
@@ -465,24 +465,24 @@ const In = {
465
465
  Blob: Ps
466
466
  },
467
467
  protocols: ["http", "https", "file", "blob", "url", "data"]
468
- }, An = typeof window < "u" && typeof document < "u", js = ((e) => An && ["ReactNative", "NativeScript", "NS"].indexOf(e) < 0)(typeof navigator < "u" && navigator.product), Ns = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
468
+ }, In = typeof window < "u" && typeof document < "u", js = ((e) => In && ["ReactNative", "NativeScript", "NS"].indexOf(e) < 0)(typeof navigator < "u" && navigator.product), Ns = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
469
469
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ks = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
470
470
  __proto__: null,
471
- hasBrowserEnv: An,
471
+ hasBrowserEnv: In,
472
472
  hasStandardBrowserEnv: js,
473
473
  hasStandardBrowserWebWorkerEnv: Ns
474
474
  }, Symbol.toStringTag, { value: "Module" })), we = {
475
475
  ...ks,
476
476
  ...xs
477
477
  };
478
- function Is(e, t) {
478
+ function As(e, t) {
479
479
  return bt(e, new we.classes.URLSearchParams(), Object.assign({
480
480
  visitor: function(r, n, o, s) {
481
481
  return we.isNode && h.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
482
482
  }
483
483
  }, t));
484
484
  }
485
- function As(e) {
485
+ function Is(e) {
486
486
  return h.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
487
487
  }
488
488
  function $s(e) {
@@ -504,7 +504,7 @@ function $n(e) {
504
504
  if (h.isFormData(e) && h.isFunction(e.entries)) {
505
505
  const r = {};
506
506
  return h.forEachEntry(e, (n, o) => {
507
- t(As(n), o, r, 0);
507
+ t(Is(n), o, r, 0);
508
508
  }), r;
509
509
  }
510
510
  return null;
@@ -520,7 +520,7 @@ function Fs(e, t, r) {
520
520
  return (0, JSON.stringify)(e);
521
521
  }
522
522
  const et = {
523
- transitional: In,
523
+ transitional: An,
524
524
  adapter: ["xhr", "http"],
525
525
  transformRequest: [function(t, r) {
526
526
  const n = r.getContentType() || "", o = n.indexOf("application/json") > -1, s = h.isObject(t);
@@ -535,7 +535,7 @@ const et = {
535
535
  let c;
536
536
  if (s) {
537
537
  if (n.indexOf("application/x-www-form-urlencoded") > -1)
538
- return Is(t, this.formSerializer).toString();
538
+ return As(t, this.formSerializer).toString();
539
539
  if ((c = h.isFileList(t)) || n.indexOf("multipart/form-data") > -1) {
540
540
  const u = this.env && this.env.FormData;
541
541
  return bt(
@@ -612,7 +612,7 @@ const Ms = h.toObjectSet([
612
612
  o = i.indexOf(":"), r = i.substring(0, o).trim().toLowerCase(), n = i.substring(o + 1).trim(), !(!r || t[r] && Ms[r]) && (r === "set-cookie" ? t[r] ? t[r].push(n) : t[r] = [n] : t[r] = t[r] ? t[r] + ", " + n : n);
613
613
  }), t;
614
614
  }, Hr = Symbol("internals");
615
- function Te(e) {
615
+ function We(e) {
616
616
  return e && String(e).trim().toLowerCase();
617
617
  }
618
618
  function ft(e) {
@@ -636,10 +636,10 @@ function Nt(e, t, r, n, o) {
636
636
  return n.test(t);
637
637
  }
638
638
  }
639
- function Vs(e) {
639
+ function qs(e) {
640
640
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
641
641
  }
642
- function qs(e, t) {
642
+ function Vs(e, t) {
643
643
  const r = h.toCamelCase(" " + t);
644
644
  ["get", "set", "has"].forEach((n) => {
645
645
  Object.defineProperty(e, n + r, {
@@ -657,7 +657,7 @@ class he {
657
657
  set(t, r, n) {
658
658
  const o = this;
659
659
  function s(c, u, d) {
660
- const l = Te(u);
660
+ const l = We(u);
661
661
  if (!l)
662
662
  throw new Error("header name must be a non-empty string");
663
663
  const f = h.findKey(o, l);
@@ -667,7 +667,7 @@ class he {
667
667
  return h.isPlainObject(t) || t instanceof this.constructor ? i(t, r) : h.isString(t) && (t = t.trim()) && !zs(t) ? i(Us(t), r) : t != null && s(r, t, n), this;
668
668
  }
669
669
  get(t, r) {
670
- if (t = Te(t), t) {
670
+ if (t = We(t), t) {
671
671
  const n = h.findKey(this, t);
672
672
  if (n) {
673
673
  const o = this[n];
@@ -684,7 +684,7 @@ class he {
684
684
  }
685
685
  }
686
686
  has(t, r) {
687
- if (t = Te(t), t) {
687
+ if (t = We(t), t) {
688
688
  const n = h.findKey(this, t);
689
689
  return !!(n && this[n] !== void 0 && (!r || Nt(this, this[n], n, r)));
690
690
  }
@@ -694,7 +694,7 @@ class he {
694
694
  const n = this;
695
695
  let o = !1;
696
696
  function s(i) {
697
- if (i = Te(i), i) {
697
+ if (i = We(i), i) {
698
698
  const c = h.findKey(n, i);
699
699
  c && (!r || Nt(n, n[c], c, r)) && (delete n[c], o = !0);
700
700
  }
@@ -718,7 +718,7 @@ class he {
718
718
  r[i] = ft(o), delete r[s];
719
719
  return;
720
720
  }
721
- const c = t ? Vs(s) : String(s).trim();
721
+ const c = t ? qs(s) : String(s).trim();
722
722
  c !== s && delete r[s], r[c] = ft(o), n[c] = !0;
723
723
  }), this;
724
724
  }
@@ -753,8 +753,8 @@ class he {
753
753
  accessors: {}
754
754
  }).accessors, o = this.prototype;
755
755
  function s(i) {
756
- const c = Te(i);
757
- n[c] || (qs(o, i), n[c] = !0);
756
+ const c = We(i);
757
+ n[c] || (Vs(o, i), n[c] = !0);
758
758
  }
759
759
  return h.isArray(t) ? t.forEach(s) : s(t), this;
760
760
  }
@@ -796,7 +796,7 @@ function Ls(e, t, r) {
796
796
  r
797
797
  ));
798
798
  }
799
- const Ws = we.hasStandardBrowserEnv ? (
799
+ const Ts = we.hasStandardBrowserEnv ? (
800
800
  // Standard browser envs support document.cookie
801
801
  {
802
802
  write(e, t, r, n, o, s) {
@@ -823,14 +823,14 @@ const Ws = we.hasStandardBrowserEnv ? (
823
823
  }
824
824
  }
825
825
  );
826
- function Ts(e) {
826
+ function Ws(e) {
827
827
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
828
828
  }
829
829
  function Hs(e, t) {
830
830
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
831
831
  }
832
832
  function Mn(e, t) {
833
- return e && !Ts(t) ? Hs(e, t) : t;
833
+ return e && !Ws(t) ? Hs(e, t) : t;
834
834
  }
835
835
  const Gs = we.hasStandardBrowserEnv ? (
836
836
  // Standard browser envs have full support of the APIs needed to test
@@ -953,7 +953,7 @@ const Ks = typeof XMLHttpRequest < "u", Xs = Ks && function(e) {
953
953
  n(new F("Network Error", F.ERR_NETWORK, e, f)), f = null;
954
954
  }, f.ontimeout = function() {
955
955
  let N = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
956
- const M = e.transitional || In;
956
+ const M = e.transitional || An;
957
957
  e.timeoutErrorMessage && (N = e.timeoutErrorMessage), n(new F(
958
958
  N,
959
959
  M.clarifyTimeoutError ? F.ETIMEDOUT : F.ECONNABORTED,
@@ -961,7 +961,7 @@ const Ks = typeof XMLHttpRequest < "u", Xs = Ks && function(e) {
961
961
  f
962
962
  )), f = null;
963
963
  }, we.hasStandardBrowserEnv && (c && h.isFunction(c) && (c = c(e)), c || c !== !1 && Gs(S))) {
964
- const b = e.xsrfHeaderName && e.xsrfCookieName && Ws.read(e.xsrfCookieName);
964
+ const b = e.xsrfHeaderName && e.xsrfCookieName && Ts.read(e.xsrfCookieName);
965
965
  b && s.set(e.xsrfHeaderName, b);
966
966
  }
967
967
  o === void 0 && s.setContentType(null), "setRequestHeader" in f && h.forEach(s.toJSON(), function(N, M) {
@@ -976,11 +976,11 @@ const Ks = typeof XMLHttpRequest < "u", Xs = Ks && function(e) {
976
976
  }
977
977
  f.send(o || null);
978
978
  });
979
- }, qt = {
979
+ }, Vt = {
980
980
  http: _s,
981
981
  xhr: Xs
982
982
  };
983
- h.forEach(qt, (e, t) => {
983
+ h.forEach(Vt, (e, t) => {
984
984
  if (e) {
985
985
  try {
986
986
  Object.defineProperty(e, "name", { value: t });
@@ -998,7 +998,7 @@ const Yr = (e) => `- ${e}`, Zs = (e) => h.isFunction(e) || e === null || e === !
998
998
  for (let s = 0; s < t; s++) {
999
999
  r = e[s];
1000
1000
  let i;
1001
- if (n = r, !Zs(r) && (n = qt[(i = String(r)).toLowerCase()], n === void 0))
1001
+ if (n = r, !Zs(r) && (n = Vt[(i = String(r)).toLowerCase()], n === void 0))
1002
1002
  throw new F(`Unknown adapter '${i}'`);
1003
1003
  if (n)
1004
1004
  break;
@@ -1018,24 +1018,24 @@ const Yr = (e) => `- ${e}`, Zs = (e) => h.isFunction(e) || e === null || e === !
1018
1018
  }
1019
1019
  return n;
1020
1020
  },
1021
- adapters: qt
1021
+ adapters: Vt
1022
1022
  };
1023
- function It(e) {
1023
+ function At(e) {
1024
1024
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1025
1025
  throw new tt(null, e);
1026
1026
  }
1027
1027
  function Jr(e) {
1028
- return It(e), e.headers = he.from(e.headers), e.data = kt.call(
1028
+ return At(e), e.headers = he.from(e.headers), e.data = kt.call(
1029
1029
  e,
1030
1030
  e.transformRequest
1031
1031
  ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Un.getAdapter(e.adapter || et.adapter)(e).then(function(n) {
1032
- return It(e), n.data = kt.call(
1032
+ return At(e), n.data = kt.call(
1033
1033
  e,
1034
1034
  e.transformResponse,
1035
1035
  n
1036
1036
  ), n.headers = he.from(n.headers), n;
1037
1037
  }, function(n) {
1038
- return Fn(n) || (It(e), n && n.response && (n.response.data = kt.call(
1038
+ return Fn(n) || (At(e), n && n.response && (n.response.data = kt.call(
1039
1039
  e,
1040
1040
  e.transformResponse,
1041
1041
  n.response
@@ -1153,11 +1153,11 @@ const Lt = {
1153
1153
  assertOptions: Qs,
1154
1154
  validators: Sr
1155
1155
  }, Re = Lt.validators;
1156
- class Ae {
1156
+ class Ie {
1157
1157
  constructor(t) {
1158
1158
  this.defaults = t, this.interceptors = {
1159
- request: new Tr(),
1160
- response: new Tr()
1159
+ request: new Wr(),
1160
+ response: new Wr()
1161
1161
  };
1162
1162
  }
1163
1163
  /**
@@ -1248,7 +1248,7 @@ class Ae {
1248
1248
  }
1249
1249
  }
1250
1250
  h.forEach(["delete", "get", "head", "options"], function(t) {
1251
- Ae.prototype[t] = function(r, n) {
1251
+ Ie.prototype[t] = function(r, n) {
1252
1252
  return this.request(ze(n || {}, {
1253
1253
  method: t,
1254
1254
  url: r,
@@ -1269,7 +1269,7 @@ h.forEach(["post", "put", "patch"], function(t) {
1269
1269
  }));
1270
1270
  };
1271
1271
  }
1272
- Ae.prototype[t] = r(), Ae.prototype[t + "Form"] = r(!0);
1272
+ Ie.prototype[t] = r(), Ie.prototype[t + "Form"] = r(!0);
1273
1273
  });
1274
1274
  class _r {
1275
1275
  constructor(t) {
@@ -1346,7 +1346,7 @@ function ei(e) {
1346
1346
  function ti(e) {
1347
1347
  return h.isObject(e) && e.isAxiosError === !0;
1348
1348
  }
1349
- const Wt = {
1349
+ const Tt = {
1350
1350
  Continue: 100,
1351
1351
  SwitchingProtocols: 101,
1352
1352
  Processing: 102,
@@ -1411,17 +1411,17 @@ const Wt = {
1411
1411
  NotExtended: 510,
1412
1412
  NetworkAuthenticationRequired: 511
1413
1413
  };
1414
- Object.entries(Wt).forEach(([e, t]) => {
1415
- Wt[t] = e;
1414
+ Object.entries(Tt).forEach(([e, t]) => {
1415
+ Tt[t] = e;
1416
1416
  });
1417
1417
  function zn(e) {
1418
- const t = new Ae(e), r = En(Ae.prototype.request, t);
1419
- return h.extend(r, Ae.prototype, t, { allOwnKeys: !0 }), h.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(o) {
1418
+ const t = new Ie(e), r = En(Ie.prototype.request, t);
1419
+ return h.extend(r, Ie.prototype, t, { allOwnKeys: !0 }), h.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(o) {
1420
1420
  return zn(ze(e, o));
1421
1421
  }, r;
1422
1422
  }
1423
1423
  const H = zn(et);
1424
- H.Axios = Ae;
1424
+ H.Axios = Ie;
1425
1425
  H.CanceledError = tt;
1426
1426
  H.CancelToken = _r;
1427
1427
  H.isCancel = Fn;
@@ -1438,7 +1438,7 @@ H.mergeConfig = ze;
1438
1438
  H.AxiosHeaders = he;
1439
1439
  H.formToJSON = (e) => $n(h.isHTMLForm(e) ? new FormData(e) : e);
1440
1440
  H.getAdapter = Un.getAdapter;
1441
- H.HttpStatusCode = Wt;
1441
+ H.HttpStatusCode = Tt;
1442
1442
  H.default = H;
1443
1443
  const He = () => localStorage.getItem("token");
1444
1444
  async function G(e, t, r, n = !0) {
@@ -1483,10 +1483,10 @@ var Ke;
1483
1483
  (function(e) {
1484
1484
  e[e.LocalPath = 0] = "LocalPath", e[e.TencentCos = 1] = "TencentCos", e[e.ObjectUrl = 2] = "ObjectUrl", e[e.AliYunOss = 3] = "AliYunOss";
1485
1485
  })(Ke || (Ke = {}));
1486
- var Tt;
1486
+ var Wt;
1487
1487
  (function(e) {
1488
- e[e.TaskAction = 0] = "TaskAction", e[e.WorkAction = 1] = "WorkAction", e[e.MqttSend = 3] = "MqttSend", e[e.ActionClose = 4] = "ActionClose", e[e.MqttReconnect = 5] = "MqttReconnect", e[e.NavigateTo = 7] = "NavigateTo", e[e.ExtensionBlobConvert = 8] = "ExtensionBlobConvert", e[e.ExtensionGetId = 9] = "ExtensionGetId", e[e.OpenTool = 10] = "OpenTool", e[e.DownloadFile = 11] = "DownloadFile";
1489
- })(Tt || (Tt = {}));
1488
+ e[e.TaskAction = 0] = "TaskAction", e[e.WorkAction = 1] = "WorkAction", e[e.MqttSend = 3] = "MqttSend", e[e.ActionClose = 4] = "ActionClose", e[e.MqttReconnect = 5] = "MqttReconnect", e[e.NavigateTo = 7] = "NavigateTo", e[e.DownloadFile = 11] = "DownloadFile";
1489
+ })(Wt || (Wt = {}));
1490
1490
  var Ht;
1491
1491
  (function(e) {
1492
1492
  e[e.TaskAction = 0] = "TaskAction", e[e.NavigateTo = 3] = "NavigateTo", e[e.OpenTool = 6] = "OpenTool", e[e.MqttBack = 1] = "MqttBack", e[e.ExtensionBlobUrl = 4] = "ExtensionBlobUrl", e[e.ExtensionId = 5] = "ExtensionId", e[e.UrlCallback = 7] = "UrlCallback", e[e.DownloadFileRes = 8] = "DownloadFileRes";
@@ -1515,7 +1515,7 @@ const ai = (e) => e >= 1073741824 ? (e / 1073741824).toFixed(2) + " GB" : e >= 1
1515
1515
  uid: ii()
1516
1516
  };
1517
1517
  }, ui = (e) => new Date(e * 1e3).toISOString().substring(11, 19), li = async () => {
1518
- const e = await Tn(), t = e.token;
1518
+ const e = await Wn(), t = e.token;
1519
1519
  return {
1520
1520
  cos: new Uo({
1521
1521
  getAuthorization: function(r, n) {
@@ -1547,7 +1547,7 @@ const ai = (e) => e >= 1073741824 ? (e / 1073741824).toFixed(2) + " GB" : e >= 1
1547
1547
  bucket: e.bucket,
1548
1548
  region: e.region
1549
1549
  };
1550
- }, Vn = (e) => {
1550
+ }, qn = (e) => {
1551
1551
  const t = [];
1552
1552
  for (const r in e) {
1553
1553
  const n = e[r];
@@ -1569,15 +1569,15 @@ const ai = (e) => e >= 1073741824 ? (e / 1073741824).toFixed(2) + " GB" : e >= 1
1569
1569
  }).join("&"), mi = (e) => new Promise((t, r) => {
1570
1570
  const n = new XMLHttpRequest();
1571
1571
  n.open("get", e), n.responseType = "blob", n.send(), n.onload = function() {
1572
- (this.status === 200 || this.status === 304) && (qn(URL.createObjectURL(this.response)), t());
1572
+ (this.status === 200 || this.status === 304) && (Vn(URL.createObjectURL(this.response)), t());
1573
1573
  }, n.onerror = function() {
1574
1574
  r("下载失败,请在新窗口打开");
1575
1575
  };
1576
- }), qn = (e, t) => {
1576
+ }), Vn = (e, t) => {
1577
1577
  var n;
1578
1578
  const r = document.createElement("a");
1579
1579
  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);
1580
- }, Y = process.env.NODE_ENV == "production" ? "https://api.zyjj.cc/api/v1" : "http://127.0.0.1:3000/api/v1", yi = process.env.NODE_ENV == "production" ? "https://knowledge.zyjj.cc/api/v1" : "http://127.0.0.1:3001/api/v1", gi = (e) => G(`${Y}/common/user/login`, e, "post"), bi = (e, t, r) => G(`${Y}/common/app/info?os=${e}&version=${t}&uid=${r || ""}`, {}, "get"), wi = (e) => G(`${Y}/common/user/register`, e, "post"), Ei = (e) => G(`${Y}/common/user/reset/password`, e, "post"), Ln = (e) => G(`${Y}/common/user/email/token`, { email: e }, "post"), Wn = () => G(`${Y}/user/user/info`, {}, "get", !1), Si = (e) => G(`${Y}/user/user/info`, e, "put"), _i = (e) => G(`${Y}/user/point/deducting`, e, "post"), Oi = (e) => G(`${Y}/common/tool/list?${Vn(e)}`, {}, "get"), vi = () => G(`${Y}/common/tool/all`, {}, "get"), Ri = (e) => G(`${Y}/common/tool/${e}`, {}, "get"), Ci = (e) => G(`${Y}/common/tool/inc/${e}`, {}, "get"), Di = () => G(`${Y}/common/tool/tags`, {}, "get"), Tn = () => G(`${Y}/user/cloud/tencent/cos`, {}, "get"), Pi = () => G(`${Y}/user/cloud/aliyun/oss`, {}, "get"), xi = (e) => G(`${Y}/user/task`, e, "post"), ji = (e) => G(`${Y}/user/task/${e}`, {}, "get"), Hn = () => G(`${Y}/user/cloud/mqtt/task`, {}, "get"), Ni = () => G(`${Y}/common/material/tags`, {}, "get"), ki = (e) => G(`${Y}/user/material/${e}`, {}, "get"), Ii = (e) => G(`${Y}/user/material/url`, { key_list: e }, "post"), gc = (e) => G(`${Y}${e.url}`, e.data || {}, e.method), bc = (e) => G(`${yi}${e.url}`, e.data || {}, e.method);
1580
+ }, Y = process.env.NODE_ENV == "production" ? "https://api.zyjj.cc/api/v1" : "http://127.0.0.1:3000/api/v1", yi = process.env.NODE_ENV == "production" ? "https://knowledge.zyjj.cc/api/v1" : "http://127.0.0.1:3001/api/v1", gi = (e) => G(`${Y}/common/user/login`, e, "post"), bi = (e, t, r) => G(`${Y}/common/app/info?os=${e}&version=${t}&uid=${r || ""}`, {}, "get"), wi = (e) => G(`${Y}/common/user/register`, e, "post"), Ei = (e) => G(`${Y}/common/user/reset/password`, e, "post"), Ln = (e) => G(`${Y}/common/user/email/token`, { email: e }, "post"), Tn = () => G(`${Y}/user/user/info`, {}, "get", !1), Si = (e) => G(`${Y}/user/user/info`, e, "put"), _i = (e) => G(`${Y}/user/point/deducting`, e, "post"), Oi = (e) => G(`${Y}/common/tool/list?${qn(e)}`, {}, "get"), vi = () => G(`${Y}/common/tool/all`, {}, "get"), Ri = (e) => G(`${Y}/common/tool/${e}`, {}, "get"), Ci = (e) => G(`${Y}/common/tool/inc/${e}`, {}, "get"), Di = () => G(`${Y}/common/tool/tags`, {}, "get"), Wn = () => G(`${Y}/user/cloud/tencent/cos`, {}, "get"), Pi = () => G(`${Y}/user/cloud/aliyun/oss`, {}, "get"), xi = (e) => G(`${Y}/user/task`, e, "post"), ji = (e) => G(`${Y}/user/task/${e}`, {}, "get"), Hn = () => G(`${Y}/user/cloud/mqtt/task`, {}, "get"), Ni = () => G(`${Y}/common/material/tags`, {}, "get"), ki = (e) => G(`${Y}/user/material/${e}`, {}, "get"), Ai = (e) => G(`${Y}/user/material/url`, { key_list: e }, "post"), gc = (e) => G(`${Y}${e.url}`, e.data || {}, e.method), bc = (e) => G(`${yi}${e.url}`, e.data || {}, e.method);
1581
1581
  var Kt;
1582
1582
  (function(e) {
1583
1583
  e[e.Task = 0] = "Task", e[e.Lab = 1] = "Lab", e[e.Flow = 2] = "Flow";
@@ -1606,7 +1606,7 @@ var tr;
1606
1606
  (function(e) {
1607
1607
  e[e.Input = 0] = "Input", e[e.Select = 1] = "Select", e[e.TextArea = 2] = "TextArea", e[e.FileUpload = 3] = "FileUpload", e[e.Slider = 4] = "Slider", e[e.Audio = 5] = "Audio", e[e.Number = 6] = "Number", e[e.ImageList = 7] = "ImageList", e[e.Image = 8] = "Image", e[e.Alert = 9] = "Alert", e[e.Video = 10] = "Video", e[e.MarkDown = 11] = "MarkDown";
1608
1608
  })(tr || (tr = {}));
1609
- var Ai = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1609
+ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1610
1610
  function $i(e) {
1611
1611
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1612
1612
  }
@@ -1672,10 +1672,10 @@ function Mi() {
1672
1672
  L.unshift("Warning: " + p), Function.prototype.apply.call(console[a], console, L);
1673
1673
  }
1674
1674
  }
1675
- var A = !1, q = !1, B = !1, Z = !1, I = !1, ee;
1675
+ var I = !1, V = !1, B = !1, Z = !1, A = !1, ee;
1676
1676
  ee = Symbol.for("react.module.reference");
1677
- function W(a) {
1678
- return !!(typeof a == "string" || typeof a == "function" || a === n || a === s || I || a === o || a === d || a === l || Z || a === P || A || q || 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
+ function T(a) {
1678
+ return !!(typeof a == "string" || typeof a == "function" || a === n || a === s || A || a === o || a === d || a === l || Z || a === P || I || 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
1679
1679
  // types supported by any Flight configuration anywhere since
1680
1680
  // we don't know which Flight build this will end up being used
1681
1681
  // with.
@@ -1736,14 +1736,14 @@ function Mi() {
1736
1736
  }
1737
1737
  return null;
1738
1738
  }
1739
- var O = Object.assign, w = 0, y, _, E, R, C, V, T;
1739
+ var O = Object.assign, w = 0, y, _, E, R, C, q, W;
1740
1740
  function J() {
1741
1741
  }
1742
1742
  J.__reactDisabledLog = !0;
1743
1743
  function re() {
1744
1744
  {
1745
1745
  if (w === 0) {
1746
- y = console.log, _ = console.info, E = console.warn, R = console.error, C = console.group, V = console.groupCollapsed, T = console.groupEnd;
1746
+ y = console.log, _ = console.info, E = console.warn, R = console.error, C = console.group, q = console.groupCollapsed, W = console.groupEnd;
1747
1747
  var a = {
1748
1748
  configurable: !0,
1749
1749
  enumerable: !0,
@@ -1788,10 +1788,10 @@ function Mi() {
1788
1788
  value: C
1789
1789
  }),
1790
1790
  groupCollapsed: O({}, a, {
1791
- value: V
1791
+ value: q
1792
1792
  }),
1793
1793
  groupEnd: O({}, a, {
1794
- value: T
1794
+ value: W
1795
1795
  })
1796
1796
  });
1797
1797
  }
@@ -1975,12 +1975,12 @@ function Mi() {
1975
1975
  if (go(a))
1976
1976
  return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", yo(a)), jr(a);
1977
1977
  }
1978
- var We = M.ReactCurrentOwner, bo = {
1978
+ var Te = M.ReactCurrentOwner, bo = {
1979
1979
  key: !0,
1980
1980
  ref: !0,
1981
1981
  __self: !0,
1982
1982
  __source: !0
1983
- }, kr, Ir, Rt;
1983
+ }, kr, Ar, Rt;
1984
1984
  Rt = {};
1985
1985
  function wo(a) {
1986
1986
  if (ot.call(a, "ref")) {
@@ -1999,9 +1999,9 @@ function Mi() {
1999
1999
  return a.key !== void 0;
2000
2000
  }
2001
2001
  function So(a, p) {
2002
- if (typeof a.ref == "string" && We.current && p && We.current.stateNode !== p) {
2003
- var g = le(We.current.type);
2004
- Rt[g] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', le(We.current.type), a.ref), Rt[g] = !0);
2002
+ if (typeof a.ref == "string" && Te.current && p && Te.current.stateNode !== p) {
2003
+ var g = le(Te.current.type);
2004
+ Rt[g] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', le(Te.current.type), a.ref), Rt[g] = !0);
2005
2005
  }
2006
2006
  }
2007
2007
  function _o(a, p) {
@@ -2018,7 +2018,7 @@ function Mi() {
2018
2018
  function Oo(a, p) {
2019
2019
  {
2020
2020
  var g = function() {
2021
- Ir || (Ir = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", p));
2021
+ Ar || (Ar = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", p));
2022
2022
  };
2023
2023
  g.isReactWarning = !0, Object.defineProperty(a, "ref", {
2024
2024
  get: g,
@@ -2070,16 +2070,16 @@ function Mi() {
2070
2070
  var Q = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
2071
2071
  k && _o($, Q), oe && Oo($, Q);
2072
2072
  }
2073
- return vo(a, k, oe, z, v, We.current, $);
2073
+ return vo(a, k, oe, z, v, Te.current, $);
2074
2074
  }
2075
2075
  }
2076
- var Ct = M.ReactCurrentOwner, Ar = M.ReactDebugCurrentFrame;
2076
+ var Ct = M.ReactCurrentOwner, Ir = M.ReactDebugCurrentFrame;
2077
2077
  function Ue(a) {
2078
2078
  if (a) {
2079
2079
  var p = a._owner, g = nt(a.type, a._source, p ? p.type : null);
2080
- Ar.setExtraStackFrame(g);
2080
+ Ir.setExtraStackFrame(g);
2081
2081
  } else
2082
- Ar.setExtraStackFrame(null);
2082
+ Ir.setExtraStackFrame(null);
2083
2083
  }
2084
2084
  var Dt;
2085
2085
  Dt = !1;
@@ -2185,7 +2185,7 @@ Check the top-level render call using <` + g + ">.");
2185
2185
  }
2186
2186
  function Br(a, p, g, v, z, L) {
2187
2187
  {
2188
- var $ = W(a);
2188
+ var $ = T(a);
2189
2189
  if (!$) {
2190
2190
  var k = "";
2191
2191
  (a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (k += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
@@ -2219,8 +2219,8 @@ Check the top-level render call using <` + g + ">.");
2219
2219
  function No(a, p, g) {
2220
2220
  return Br(a, p, g, !1);
2221
2221
  }
2222
- var ko = No, Io = jo;
2223
- Ye.Fragment = n, Ye.jsx = ko, Ye.jsxs = Io;
2222
+ var ko = No, Ao = jo;
2223
+ Ye.Fragment = n, Ye.jsx = ko, Ye.jsxs = Ao;
2224
2224
  }()), Ye;
2225
2225
  }
2226
2226
  process.env.NODE_ENV === "production" ? rr.exports = Fi() : rr.exports = Mi();
@@ -2228,14 +2228,14 @@ var D = rr.exports, Gn = { exports: {} };
2228
2228
  (function(e, t) {
2229
2229
  (function(r, n) {
2230
2230
  e.exports = n();
2231
- })(Ai, function() {
2231
+ })(Ii, function() {
2232
2232
  var r = 1e3, n = 6e4, o = 36e5, s = "millisecond", i = "second", c = "minute", u = "hour", d = "day", l = "week", f = "month", S = "quarter", P = "year", m = "date", b = "Invalid Date", N = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, M = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, j = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(O) {
2233
2233
  var w = ["th", "st", "nd", "rd"], y = O % 100;
2234
2234
  return "[" + O + (w[(y - 20) % 10] || w[y] || w[0]) + "]";
2235
2235
  } }, x = function(O, w, y) {
2236
2236
  var _ = String(O);
2237
2237
  return !_ || _.length >= w ? O : "" + Array(w + 1 - _.length).join(y) + O;
2238
- }, A = { s: x, z: function(O) {
2238
+ }, I = { s: x, z: function(O) {
2239
2239
  var w = -O.utcOffset(), y = Math.abs(w), _ = Math.floor(y / 60), E = y % 60;
2240
2240
  return (w <= 0 ? "+" : "-") + x(_, 2, "0") + ":" + x(E, 2, "0");
2241
2241
  }, m: function O(w, y) {
@@ -2248,30 +2248,30 @@ var D = rr.exports, Gn = { exports: {} };
2248
2248
  return { M: f, y: P, w: l, d, D: m, h: u, m: c, s: i, ms: s, Q: S }[O] || String(O || "").toLowerCase().replace(/s$/, "");
2249
2249
  }, u: function(O) {
2250
2250
  return O === void 0;
2251
- } }, q = "en", B = {};
2252
- B[q] = j;
2253
- var Z = "$isDayjsObject", I = function(O) {
2251
+ } }, V = "en", B = {};
2252
+ B[V] = j;
2253
+ var Z = "$isDayjsObject", A = function(O) {
2254
2254
  return O instanceof xe || !(!O || !O[Z]);
2255
2255
  }, ee = function O(w, y, _) {
2256
2256
  var E;
2257
- if (!w) return q;
2257
+ if (!w) return V;
2258
2258
  if (typeof w == "string") {
2259
2259
  var R = w.toLowerCase();
2260
2260
  B[R] && (E = R), y && (B[R] = y, E = R);
2261
2261
  var C = w.split("-");
2262
2262
  if (!E && C.length > 1) return O(C[0]);
2263
2263
  } else {
2264
- var V = w.name;
2265
- B[V] = w, E = V;
2264
+ var q = w.name;
2265
+ B[q] = w, E = q;
2266
2266
  }
2267
- return !_ && E && (q = E), E || !_ && q;
2268
- }, W = function(O, w) {
2269
- if (I(O)) return O.clone();
2267
+ return !_ && E && (V = E), E || !_ && V;
2268
+ }, T = function(O, w) {
2269
+ if (A(O)) return O.clone();
2270
2270
  var y = typeof w == "object" ? w : {};
2271
2271
  return y.date = O, y.args = arguments, new xe(y);
2272
- }, U = A;
2273
- U.l = ee, U.i = I, U.w = function(O, w) {
2274
- return W(O, { locale: w.$L, utc: w.$u, x: w.$x, $offset: w.$offset });
2272
+ }, U = I;
2273
+ U.l = ee, U.i = A, U.w = function(O, w) {
2274
+ return T(O, { locale: w.$L, utc: w.$u, x: w.$x, $offset: w.$offset });
2275
2275
  };
2276
2276
  var xe = function() {
2277
2277
  function O(y) {
@@ -2287,8 +2287,8 @@ var D = rr.exports, Gn = { exports: {} };
2287
2287
  if (typeof E == "string" && !/Z$/i.test(E)) {
2288
2288
  var C = E.match(N);
2289
2289
  if (C) {
2290
- var V = C[2] - 1 || 0, T = (C[7] || "0").substring(0, 3);
2291
- return R ? new Date(Date.UTC(C[1], V, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, T)) : new Date(C[1], V, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, T);
2290
+ var q = C[2] - 1 || 0, W = (C[7] || "0").substring(0, 3);
2291
+ return R ? new Date(Date.UTC(C[1], q, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, W)) : new Date(C[1], q, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, W);
2292
2292
  }
2293
2293
  }
2294
2294
  return new Date(E);
@@ -2301,12 +2301,12 @@ var D = rr.exports, Gn = { exports: {} };
2301
2301
  }, w.isValid = function() {
2302
2302
  return this.$d.toString() !== b;
2303
2303
  }, w.isSame = function(y, _) {
2304
- var E = W(y);
2304
+ var E = T(y);
2305
2305
  return this.startOf(_) <= E && E <= this.endOf(_);
2306
2306
  }, w.isAfter = function(y, _) {
2307
- return W(y) < this.startOf(_);
2307
+ return T(y) < this.startOf(_);
2308
2308
  }, w.isBefore = function(y, _) {
2309
- return this.endOf(_) < W(y);
2309
+ return this.endOf(_) < T(y);
2310
2310
  }, w.$g = function(y, _, E) {
2311
2311
  return U.u(y) ? this[_] : this.set(E, y);
2312
2312
  }, w.unix = function() {
@@ -2314,40 +2314,40 @@ var D = rr.exports, Gn = { exports: {} };
2314
2314
  }, w.valueOf = function() {
2315
2315
  return this.$d.getTime();
2316
2316
  }, w.startOf = function(y, _) {
2317
- var E = this, R = !!U.u(_) || _, C = U.p(y), V = function(me, te) {
2317
+ var E = this, R = !!U.u(_) || _, C = U.p(y), q = function(me, te) {
2318
2318
  var be = U.w(E.$u ? Date.UTC(E.$y, te, me) : new Date(E.$y, te, me), E);
2319
2319
  return R ? be : be.endOf(d);
2320
- }, T = function(me, te) {
2320
+ }, W = function(me, te) {
2321
2321
  return U.w(E.toDate()[me].apply(E.toDate("s"), (R ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(te)), E);
2322
2322
  }, J = this.$W, re = this.$M, ie = this.$D, ye = "set" + (this.$u ? "UTC" : "");
2323
2323
  switch (C) {
2324
2324
  case P:
2325
- return R ? V(1, 0) : V(31, 11);
2325
+ return R ? q(1, 0) : q(31, 11);
2326
2326
  case f:
2327
- return R ? V(1, re) : V(0, re + 1);
2327
+ return R ? q(1, re) : q(0, re + 1);
2328
2328
  case l:
2329
2329
  var pe = this.$locale().weekStart || 0, ge = (J < pe ? J + 7 : J) - pe;
2330
- return V(R ? ie - ge : ie + (6 - ge), re);
2330
+ return q(R ? ie - ge : ie + (6 - ge), re);
2331
2331
  case d:
2332
2332
  case m:
2333
- return T(ye + "Hours", 0);
2333
+ return W(ye + "Hours", 0);
2334
2334
  case u:
2335
- return T(ye + "Minutes", 1);
2335
+ return W(ye + "Minutes", 1);
2336
2336
  case c:
2337
- return T(ye + "Seconds", 2);
2337
+ return W(ye + "Seconds", 2);
2338
2338
  case i:
2339
- return T(ye + "Milliseconds", 3);
2339
+ return W(ye + "Milliseconds", 3);
2340
2340
  default:
2341
2341
  return this.clone();
2342
2342
  }
2343
2343
  }, w.endOf = function(y) {
2344
2344
  return this.startOf(y, !1);
2345
2345
  }, w.$set = function(y, _) {
2346
- var E, R = U.p(y), C = "set" + (this.$u ? "UTC" : ""), V = (E = {}, E[d] = C + "Date", E[m] = C + "Date", E[f] = C + "Month", E[P] = C + "FullYear", E[u] = C + "Hours", E[c] = C + "Minutes", E[i] = C + "Seconds", E[s] = C + "Milliseconds", E)[R], T = R === d ? this.$D + (_ - this.$W) : _;
2346
+ var E, R = U.p(y), C = "set" + (this.$u ? "UTC" : ""), q = (E = {}, E[d] = C + "Date", E[m] = C + "Date", E[f] = C + "Month", E[P] = C + "FullYear", E[u] = C + "Hours", E[c] = C + "Minutes", E[i] = C + "Seconds", E[s] = C + "Milliseconds", E)[R], W = R === d ? this.$D + (_ - this.$W) : _;
2347
2347
  if (R === f || R === P) {
2348
2348
  var J = this.clone().set(m, 1);
2349
- J.$d[V](T), J.init(), this.$d = J.set(m, Math.min(this.$D, J.daysInMonth())).$d;
2350
- } else V && this.$d[V](T);
2349
+ J.$d[q](W), J.init(), this.$d = J.set(m, Math.min(this.$D, J.daysInMonth())).$d;
2350
+ } else q && this.$d[q](W);
2351
2351
  return this.init(), this;
2352
2352
  }, w.set = function(y, _) {
2353
2353
  return this.clone().$set(y, _);
@@ -2356,25 +2356,25 @@ var D = rr.exports, Gn = { exports: {} };
2356
2356
  }, w.add = function(y, _) {
2357
2357
  var E, R = this;
2358
2358
  y = Number(y);
2359
- var C = U.p(_), V = function(re) {
2360
- var ie = W(R);
2359
+ var C = U.p(_), q = function(re) {
2360
+ var ie = T(R);
2361
2361
  return U.w(ie.date(ie.date() + Math.round(re * y)), R);
2362
2362
  };
2363
2363
  if (C === f) return this.set(f, this.$M + y);
2364
2364
  if (C === P) return this.set(P, this.$y + y);
2365
- if (C === d) return V(1);
2366
- if (C === l) return V(7);
2367
- var T = (E = {}, E[c] = n, E[u] = o, E[i] = r, E)[C] || 1, J = this.$d.getTime() + y * T;
2365
+ if (C === d) return q(1);
2366
+ if (C === l) return q(7);
2367
+ var W = (E = {}, E[c] = n, E[u] = o, E[i] = r, E)[C] || 1, J = this.$d.getTime() + y * W;
2368
2368
  return U.w(J, this);
2369
2369
  }, w.subtract = function(y, _) {
2370
2370
  return this.add(-1 * y, _);
2371
2371
  }, w.format = function(y) {
2372
2372
  var _ = this, E = this.$locale();
2373
2373
  if (!this.isValid()) return E.invalidDate || b;
2374
- var R = y || "YYYY-MM-DDTHH:mm:ssZ", C = U.z(this), V = this.$H, T = this.$m, J = this.$M, re = E.weekdays, ie = E.months, ye = E.meridiem, pe = function(te, be, ve, Me) {
2374
+ var R = y || "YYYY-MM-DDTHH:mm:ssZ", C = U.z(this), q = this.$H, W = this.$m, J = this.$M, re = E.weekdays, ie = E.months, ye = E.meridiem, pe = function(te, be, ve, Me) {
2375
2375
  return te && (te[be] || te(_, R)) || ve[be].slice(0, Me);
2376
2376
  }, ge = function(te) {
2377
- return U.s(V % 12 || 12, te, "0");
2377
+ return U.s(q % 12 || 12, te, "0");
2378
2378
  }, me = ye || function(te, be, ve) {
2379
2379
  var Me = te < 12 ? "AM" : "PM";
2380
2380
  return ve ? Me.toLowerCase() : Me;
@@ -2407,21 +2407,21 @@ var D = rr.exports, Gn = { exports: {} };
2407
2407
  case "dddd":
2408
2408
  return re[_.$W];
2409
2409
  case "H":
2410
- return String(V);
2410
+ return String(q);
2411
2411
  case "HH":
2412
- return U.s(V, 2, "0");
2412
+ return U.s(q, 2, "0");
2413
2413
  case "h":
2414
2414
  return ge(1);
2415
2415
  case "hh":
2416
2416
  return ge(2);
2417
2417
  case "a":
2418
- return me(V, T, !0);
2418
+ return me(q, W, !0);
2419
2419
  case "A":
2420
- return me(V, T, !1);
2420
+ return me(q, W, !1);
2421
2421
  case "m":
2422
- return String(T);
2422
+ return String(W);
2423
2423
  case "mm":
2424
- return U.s(T, 2, "0");
2424
+ return U.s(W, 2, "0");
2425
2425
  case "s":
2426
2426
  return String(_.$s);
2427
2427
  case "ss":
@@ -2437,10 +2437,10 @@ var D = rr.exports, Gn = { exports: {} };
2437
2437
  }, w.utcOffset = function() {
2438
2438
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
2439
2439
  }, w.diff = function(y, _, E) {
2440
- var R, C = this, V = U.p(_), T = W(y), J = (T.utcOffset() - this.utcOffset()) * n, re = this - T, ie = function() {
2441
- return U.m(C, T);
2440
+ var R, C = this, q = U.p(_), W = T(y), J = (W.utcOffset() - this.utcOffset()) * n, re = this - W, ie = function() {
2441
+ return U.m(C, W);
2442
2442
  };
2443
- switch (V) {
2443
+ switch (q) {
2444
2444
  case P:
2445
2445
  R = ie() / 12;
2446
2446
  break;
@@ -2489,19 +2489,19 @@ var D = rr.exports, Gn = { exports: {} };
2489
2489
  return this.$d.toUTCString();
2490
2490
  }, O;
2491
2491
  }(), le = xe.prototype;
2492
- return W.prototype = le, [["$ms", s], ["$s", i], ["$m", c], ["$H", u], ["$W", d], ["$M", f], ["$y", P], ["$D", m]].forEach(function(O) {
2492
+ return T.prototype = le, [["$ms", s], ["$s", i], ["$m", c], ["$H", u], ["$W", d], ["$M", f], ["$y", P], ["$D", m]].forEach(function(O) {
2493
2493
  le[O[1]] = function(w) {
2494
2494
  return this.$g(w, O[0], O[1]);
2495
2495
  };
2496
- }), W.extend = function(O, w) {
2497
- return O.$i || (O(w, xe, W), O.$i = !0), W;
2498
- }, W.locale = ee, W.isDayjs = I, W.unix = function(O) {
2499
- return W(1e3 * O);
2500
- }, W.en = B[q], W.Ls = B, W.p = {}, W;
2496
+ }), T.extend = function(O, w) {
2497
+ return O.$i || (O(w, xe, T), O.$i = !0), T;
2498
+ }, T.locale = ee, T.isDayjs = A, T.unix = function(O) {
2499
+ return T(1e3 * O);
2500
+ }, T.en = B[V], T.Ls = B, T.p = {}, T;
2501
2501
  });
2502
2502
  })(Gn);
2503
2503
  var Ui = Gn.exports;
2504
- const Bi = /* @__PURE__ */ $i(Ui), zi = (e) => Bi(e).format("YYYY-MM-DD HH:mm:ss"), Vi = (e) => D.jsx(bn.Paragraph, { copyable: !0, children: e }), qi = (e) => D.jsx(bn.Ellipsis, { style: { maxWidth: 300 }, rows: 1, showTooltip: !0, children: e });
2504
+ const Bi = /* @__PURE__ */ $i(Ui), zi = (e) => Bi(e).format("YYYY-MM-DD HH:mm:ss"), qi = (e) => D.jsx(bn.Paragraph, { copyable: !0, children: e }), Vi = (e) => D.jsx(bn.Ellipsis, { style: { maxWidth: 300 }, rows: 1, showTooltip: !0, children: e });
2505
2505
  function Li(e) {
2506
2506
  if (typeof e != "object" || e === null)
2507
2507
  return !1;
@@ -2510,10 +2510,10 @@ function Li(e) {
2510
2510
  t = Object.getPrototypeOf(t);
2511
2511
  return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
2512
2512
  }
2513
- function Wi(e) {
2513
+ function Ti(e) {
2514
2514
  return Li(e) && "type" in e && typeof e.type == "string";
2515
2515
  }
2516
- var Yn = Symbol.for("immer-nothing"), tn = Symbol.for("immer-draftable"), ce = Symbol.for("immer-state"), Ti = process.env.NODE_ENV !== "production" ? [
2516
+ var Yn = Symbol.for("immer-nothing"), tn = Symbol.for("immer-draftable"), ce = Symbol.for("immer-state"), Wi = process.env.NODE_ENV !== "production" ? [
2517
2517
  // All error codes, starting by 0:
2518
2518
  function(e) {
2519
2519
  return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
@@ -2546,14 +2546,14 @@ var Yn = Symbol.for("immer-nothing"), tn = Symbol.for("immer-draftable"), ce = S
2546
2546
  ] : [];
2547
2547
  function ae(e, ...t) {
2548
2548
  if (process.env.NODE_ENV !== "production") {
2549
- const r = Ti[e], n = typeof r == "function" ? r.apply(null, t) : r;
2549
+ const r = Wi[e], n = typeof r == "function" ? r.apply(null, t) : r;
2550
2550
  throw new Error(`[Immer] ${n}`);
2551
2551
  }
2552
2552
  throw new Error(
2553
2553
  `[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`
2554
2554
  );
2555
2555
  }
2556
- var Ve = Object.getPrototypeOf;
2556
+ var qe = Object.getPrototypeOf;
2557
2557
  function Pe(e) {
2558
2558
  return !!e && !!e[ce];
2559
2559
  }
@@ -2565,7 +2565,7 @@ var Hi = Object.prototype.constructor.toString();
2565
2565
  function Jn(e) {
2566
2566
  if (!e || typeof e != "object")
2567
2567
  return !1;
2568
- const t = Ve(e);
2568
+ const t = qe(e);
2569
2569
  if (t === null)
2570
2570
  return !0;
2571
2571
  const r = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
@@ -2621,9 +2621,9 @@ function or(e, t) {
2621
2621
  value: e[i]
2622
2622
  });
2623
2623
  }
2624
- return Object.create(Ve(e), n);
2624
+ return Object.create(qe(e), n);
2625
2625
  } else {
2626
- const n = Ve(e);
2626
+ const n = qe(e);
2627
2627
  if (n !== null && r)
2628
2628
  return { ...e };
2629
2629
  const o = Object.create(n);
@@ -2769,7 +2769,7 @@ var vr = {
2769
2769
  if (!nr(r, t))
2770
2770
  return Qi(e, r, t);
2771
2771
  const n = r[t];
2772
- return e.finalized_ || !Oe(n) ? n : n === At(e.base_, t) ? ($t(e), e.copy_[t] = cr(n, e)) : n;
2772
+ return e.finalized_ || !Oe(n) ? n : n === It(e.base_, t) ? ($t(e), e.copy_[t] = cr(n, e)) : n;
2773
2773
  },
2774
2774
  has(e, t) {
2775
2775
  return t in je(e);
@@ -2782,7 +2782,7 @@ var vr = {
2782
2782
  if (n != null && n.set)
2783
2783
  return n.set.call(e.draft_, r), !0;
2784
2784
  if (!e.modified_) {
2785
- const o = At(je(e), t), s = o == null ? void 0 : o[ce];
2785
+ const o = It(je(e), t), s = o == null ? void 0 : o[ce];
2786
2786
  if (s && s.base_ === r)
2787
2787
  return e.copy_[t] = r, e.assigned_[t] = !1, !0;
2788
2788
  if (Gi(r, o) && (r !== void 0 || nr(e.base_, t)))
@@ -2794,7 +2794,7 @@ var vr = {
2794
2794
  Number.isNaN(r) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = r, e.assigned_[t] = !0), !0;
2795
2795
  },
2796
2796
  deleteProperty(e, t) {
2797
- return At(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, $t(e), ar(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
2797
+ return It(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, $t(e), ar(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
2798
2798
  },
2799
2799
  // Note: We never coerce `desc.value` into an Immer draft, because we can't make
2800
2800
  // the same guarantee in ES5 mode.
@@ -2811,7 +2811,7 @@ var vr = {
2811
2811
  ae(11);
2812
2812
  },
2813
2813
  getPrototypeOf(e) {
2814
- return Ve(e.base_);
2814
+ return qe(e.base_);
2815
2815
  },
2816
2816
  setPrototypeOf() {
2817
2817
  ae(12);
@@ -2828,7 +2828,7 @@ Ze.deleteProperty = function(e, t) {
2828
2828
  Ze.set = function(e, t, r) {
2829
2829
  return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && ae(14), vr.set.call(this, e[0], t, r, e[0]);
2830
2830
  };
2831
- function At(e, t) {
2831
+ function It(e, t) {
2832
2832
  const r = e[ce];
2833
2833
  return (r ? je(r) : e)[t];
2834
2834
  }
@@ -2844,12 +2844,12 @@ function Qi(e, t, r) {
2844
2844
  function Zn(e, t) {
2845
2845
  if (!(t in e))
2846
2846
  return;
2847
- let r = Ve(e);
2847
+ let r = qe(e);
2848
2848
  for (; r; ) {
2849
2849
  const n = Object.getOwnPropertyDescriptor(r, t);
2850
2850
  if (n)
2851
2851
  return n;
2852
- r = Ve(r);
2852
+ r = qe(r);
2853
2853
  }
2854
2854
  }
2855
2855
  function ar(e) {
@@ -3147,35 +3147,35 @@ function ro(e, ...t) {
3147
3147
  arguments
3148
3148
  );
3149
3149
  }, ...N);
3150
- let A = !0;
3151
- const q = P(function() {
3150
+ let I = !0;
3151
+ const V = P(function() {
3152
3152
  i++;
3153
3153
  const Z = cn(
3154
3154
  j,
3155
3155
  arguments
3156
3156
  );
3157
3157
  if (c = x.apply(null, Z), process.env.NODE_ENV !== "production") {
3158
- const { identityFunctionCheck: I, inputStabilityCheck: ee } = ca(A, b);
3159
- if (I.shouldRun && I.run(
3158
+ const { identityFunctionCheck: A, inputStabilityCheck: ee } = ca(I, b);
3159
+ if (A.shouldRun && A.run(
3160
3160
  d,
3161
3161
  Z,
3162
3162
  c
3163
3163
  ), ee.shouldRun) {
3164
- const W = cn(
3164
+ const T = cn(
3165
3165
  j,
3166
3166
  arguments
3167
3167
  );
3168
3168
  ee.run(
3169
- { inputSelectorResults: Z, inputSelectorResultsCopy: W },
3169
+ { inputSelectorResults: Z, inputSelectorResultsCopy: T },
3170
3170
  { memoize: f, memoizeOptions: N },
3171
3171
  arguments
3172
3172
  );
3173
3173
  }
3174
- A && (A = !1);
3174
+ I && (I = !1);
3175
3175
  }
3176
3176
  return c;
3177
3177
  }, ...M);
3178
- return Object.assign(q, {
3178
+ return Object.assign(V, {
3179
3179
  resultFunc: d,
3180
3180
  memoizedResultFunc: x,
3181
3181
  dependencies: j,
@@ -3244,7 +3244,7 @@ function _e(e, t) {
3244
3244
  payload: n[0]
3245
3245
  };
3246
3246
  }
3247
- return r.toString = () => `${e}`, r.type = e, r.match = (n) => Wi(n) && n.type === e, r;
3247
+ return r.toString = () => `${e}`, r.type = e, r.match = (n) => Ti(n) && n.type === e, r;
3248
3248
  }
3249
3249
  function ln(e) {
3250
3250
  return Oe(e) ? to(e, () => {
@@ -3413,10 +3413,10 @@ var Sa = ["name", "message", "stack", "code"], Ft = class {
3413
3413
  b = j, P.abort();
3414
3414
  }
3415
3415
  const M = async function() {
3416
- var A, q;
3416
+ var I, V;
3417
3417
  let j;
3418
3418
  try {
3419
- let B = (A = n == null ? void 0 : n.condition) == null ? void 0 : A.call(n, u, {
3419
+ let B = (I = n == null ? void 0 : n.condition) == null ? void 0 : I.call(n, u, {
3420
3420
  getState: l,
3421
3421
  extra: f
3422
3422
  });
@@ -3425,7 +3425,7 @@ var Sa = ["name", "message", "stack", "code"], Ft = class {
3425
3425
  name: "ConditionError",
3426
3426
  message: "Aborted due to condition callback returning false."
3427
3427
  };
3428
- const Z = new Promise((I, ee) => {
3428
+ const Z = new Promise((A, ee) => {
3429
3429
  m = () => {
3430
3430
  ee({
3431
3431
  name: "AbortError",
@@ -3433,7 +3433,7 @@ var Sa = ["name", "message", "stack", "code"], Ft = class {
3433
3433
  });
3434
3434
  }, P.signal.addEventListener("abort", m);
3435
3435
  });
3436
- d(s(S, u, (q = n == null ? void 0 : n.getPendingMeta) == null ? void 0 : q.call(n, {
3436
+ d(s(S, u, (V = n == null ? void 0 : n.getPendingMeta) == null ? void 0 : V.call(n, {
3437
3437
  requestId: S,
3438
3438
  arg: u
3439
3439
  }, {
@@ -3446,12 +3446,12 @@ var Sa = ["name", "message", "stack", "code"], Ft = class {
3446
3446
  requestId: S,
3447
3447
  signal: P.signal,
3448
3448
  abort: N,
3449
- rejectWithValue: (I, ee) => new Ft(I, ee),
3450
- fulfillWithValue: (I, ee) => new dn(I, ee)
3451
- })).then((I) => {
3452
- if (I instanceof Ft)
3453
- throw I;
3454
- return I instanceof dn ? o(I.payload, S, u, I.meta) : o(I, S, u);
3449
+ rejectWithValue: (A, ee) => new Ft(A, ee),
3450
+ fulfillWithValue: (A, ee) => new dn(A, ee)
3451
+ })).then((A) => {
3452
+ if (A instanceof Ft)
3453
+ throw A;
3454
+ return A instanceof dn ? o(A.payload, S, u, A.meta) : o(A, S, u);
3455
3455
  })]);
3456
3456
  } catch (B) {
3457
3457
  j = B instanceof Ft ? i(null, S, u, B.payload, B.meta) : i(B, S, u);
@@ -3513,80 +3513,80 @@ function Da({
3513
3513
  actionCreators: {},
3514
3514
  sliceMatchers: []
3515
3515
  }, l = {
3516
- addCase(x, A) {
3517
- const q = typeof x == "string" ? x : x.type;
3518
- if (!q)
3516
+ addCase(x, I) {
3517
+ const V = typeof x == "string" ? x : x.type;
3518
+ if (!V)
3519
3519
  throw new Error(process.env.NODE_ENV === "production" ? X(12) : "`context.addCase` cannot be called with an empty action type");
3520
- if (q in d.sliceCaseReducersByType)
3521
- throw new Error(process.env.NODE_ENV === "production" ? X(13) : "`context.addCase` cannot be called with two reducers for the same action type: " + q);
3522
- return d.sliceCaseReducersByType[q] = A, l;
3520
+ if (V in d.sliceCaseReducersByType)
3521
+ throw new Error(process.env.NODE_ENV === "production" ? X(13) : "`context.addCase` cannot be called with two reducers for the same action type: " + V);
3522
+ return d.sliceCaseReducersByType[V] = I, l;
3523
3523
  },
3524
- addMatcher(x, A) {
3524
+ addMatcher(x, I) {
3525
3525
  return d.sliceMatchers.push({
3526
3526
  matcher: x,
3527
- reducer: A
3527
+ reducer: I
3528
3528
  }), l;
3529
3529
  },
3530
- exposeAction(x, A) {
3531
- return d.actionCreators[x] = A, l;
3530
+ exposeAction(x, I) {
3531
+ return d.actionCreators[x] = I, l;
3532
3532
  },
3533
- exposeCaseReducer(x, A) {
3534
- return d.sliceCaseReducersByName[x] = A, l;
3533
+ exposeCaseReducer(x, I) {
3534
+ return d.sliceCaseReducersByName[x] = I, l;
3535
3535
  }
3536
3536
  };
3537
3537
  u.forEach((x) => {
3538
- const A = c[x], q = {
3538
+ const I = c[x], V = {
3539
3539
  reducerName: x,
3540
3540
  type: Ca(s, x),
3541
3541
  createNotation: typeof o.reducers == "function"
3542
3542
  };
3543
- Na(A) ? Ia(q, A, l, t) : ja(q, A, l);
3543
+ Na(I) ? Aa(V, I, l, t) : ja(V, I, l);
3544
3544
  });
3545
3545
  function f() {
3546
3546
  if (process.env.NODE_ENV !== "production" && typeof o.extraReducers == "object")
3547
3547
  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");
3548
- const [x = {}, A = [], q = void 0] = typeof o.extraReducers == "function" ? no(o.extraReducers) : [o.extraReducers], B = {
3548
+ const [x = {}, I = [], V = void 0] = typeof o.extraReducers == "function" ? no(o.extraReducers) : [o.extraReducers], B = {
3549
3549
  ...x,
3550
3550
  ...d.sliceCaseReducersByType
3551
3551
  };
3552
3552
  return ga(o.initialState, (Z) => {
3553
- for (let I in B)
3554
- Z.addCase(I, B[I]);
3555
- for (let I of d.sliceMatchers)
3556
- Z.addMatcher(I.matcher, I.reducer);
3557
- for (let I of A)
3558
- Z.addMatcher(I.matcher, I.reducer);
3559
- q && Z.addDefaultCase(q);
3553
+ for (let A in B)
3554
+ Z.addCase(A, B[A]);
3555
+ for (let A of d.sliceMatchers)
3556
+ Z.addMatcher(A.matcher, A.reducer);
3557
+ for (let A of I)
3558
+ Z.addMatcher(A.matcher, A.reducer);
3559
+ V && Z.addDefaultCase(V);
3560
3560
  });
3561
3561
  }
3562
3562
  const S = (x) => x, P = /* @__PURE__ */ new Map();
3563
3563
  let m;
3564
- function b(x, A) {
3565
- return m || (m = f()), m(x, A);
3564
+ function b(x, I) {
3565
+ return m || (m = f()), m(x, I);
3566
3566
  }
3567
3567
  function N() {
3568
3568
  return m || (m = f()), m.getInitialState();
3569
3569
  }
3570
- function M(x, A = !1) {
3571
- function q(Z) {
3572
- let I = Z[x];
3573
- if (typeof I > "u") {
3574
- if (A)
3575
- I = N();
3570
+ function M(x, I = !1) {
3571
+ function V(Z) {
3572
+ let A = Z[x];
3573
+ if (typeof A > "u") {
3574
+ if (I)
3575
+ A = N();
3576
3576
  else if (process.env.NODE_ENV !== "production")
3577
3577
  throw new Error(process.env.NODE_ENV === "production" ? X(15) : "selectSlice returned undefined for an uninjected slice reducer");
3578
3578
  }
3579
- return I;
3579
+ return A;
3580
3580
  }
3581
3581
  function B(Z = S) {
3582
- const I = fn(P, A, {
3582
+ const A = fn(P, I, {
3583
3583
  insert: () => /* @__PURE__ */ new WeakMap()
3584
3584
  });
3585
- return fn(I, Z, {
3585
+ return fn(A, Z, {
3586
3586
  insert: () => {
3587
3587
  const ee = {};
3588
- for (const [W, U] of Object.entries(o.selectors ?? {}))
3589
- ee[W] = Pa(U, Z, N, A);
3588
+ for (const [T, U] of Object.entries(o.selectors ?? {}))
3589
+ ee[T] = Pa(U, Z, N, I);
3590
3590
  return ee;
3591
3591
  }
3592
3592
  });
@@ -3595,9 +3595,9 @@ function Da({
3595
3595
  reducerPath: x,
3596
3596
  getSelectors: B,
3597
3597
  get selectors() {
3598
- return B(q);
3598
+ return B(V);
3599
3599
  },
3600
- selectSlice: q
3600
+ selectSlice: V
3601
3601
  };
3602
3602
  }
3603
3603
  const j = {
@@ -3608,14 +3608,14 @@ function Da({
3608
3608
  getInitialState: N,
3609
3609
  ...M(i),
3610
3610
  injectInto(x, {
3611
- reducerPath: A,
3612
- ...q
3611
+ reducerPath: I,
3612
+ ...V
3613
3613
  } = {}) {
3614
- const B = A ?? i;
3614
+ const B = I ?? i;
3615
3615
  return x.inject({
3616
3616
  reducerPath: B,
3617
3617
  reducer: b
3618
- }, q), {
3618
+ }, V), {
3619
3619
  ...j,
3620
3620
  ...M(B, !0)
3621
3621
  };
@@ -3689,7 +3689,7 @@ function Na(e) {
3689
3689
  function ka(e) {
3690
3690
  return e._reducerDefinitionType === "reducerWithPrepare";
3691
3691
  }
3692
- function Ia({
3692
+ function Aa({
3693
3693
  type: e,
3694
3694
  reducerName: t
3695
3695
  }, r, n, o) {
@@ -3712,7 +3712,7 @@ function Ia({
3712
3712
  }
3713
3713
  function ct() {
3714
3714
  }
3715
- var Aa = (e, t) => {
3715
+ var Ia = (e, t) => {
3716
3716
  if (typeof e != "function")
3717
3717
  throw new Error(process.env.NODE_ENV === "production" ? X(32) : `${t} is not a function`);
3718
3718
  }, Dr = "listenerMiddleware", $a = (e) => {
@@ -3730,7 +3730,7 @@ var Aa = (e, t) => {
3730
3730
  else if (n)
3731
3731
  o = n;
3732
3732
  else if (!o) throw new Error(process.env.NODE_ENV === "production" ? X(21) : "Creating or removing a listener requires one of the known fields for matching an action");
3733
- return Aa(s, "options.listener"), {
3733
+ return Ia(s, "options.listener"), {
3734
3734
  predicate: o,
3735
3735
  type: t,
3736
3736
  effect: s
@@ -3767,7 +3767,7 @@ const Ba = {
3767
3767
  showLogin: !1
3768
3768
  }, ur = Cr("user/getUserInfo", async () => {
3769
3769
  if (localStorage.getItem("token"))
3770
- return await Wn();
3770
+ return await Tn();
3771
3771
  }), io = so({
3772
3772
  name: "user",
3773
3773
  initialState: Ba,
@@ -3790,9 +3790,9 @@ const Ba = {
3790
3790
  t.isLogin = !1, t.userInfo = void 0;
3791
3791
  });
3792
3792
  }
3793
- }), za = io.actions, Va = io.reducer, lr = (e, t) => t.some((r) => e instanceof r);
3793
+ }), za = io.actions, qa = io.reducer, lr = (e, t) => t.some((r) => e instanceof r);
3794
3794
  let hn, pn;
3795
- function qa() {
3795
+ function Va() {
3796
3796
  return hn || (hn = [
3797
3797
  IDBDatabase,
3798
3798
  IDBObjectStore,
@@ -3809,7 +3809,7 @@ function La() {
3809
3809
  ]);
3810
3810
  }
3811
3811
  const fr = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Ot = /* @__PURE__ */ new WeakMap();
3812
- function Wa(e) {
3812
+ function Ta(e) {
3813
3813
  const t = new Promise((r, n) => {
3814
3814
  const o = () => {
3815
3815
  e.removeEventListener("success", s), e.removeEventListener("error", i);
@@ -3822,7 +3822,7 @@ function Wa(e) {
3822
3822
  });
3823
3823
  return Ot.set(t, e), t;
3824
3824
  }
3825
- function Ta(e) {
3825
+ function Wa(e) {
3826
3826
  if (fr.has(e))
3827
3827
  return;
3828
3828
  const t = new Promise((r, n) => {
@@ -3865,11 +3865,11 @@ function Ha(e) {
3865
3865
  };
3866
3866
  }
3867
3867
  function Ga(e) {
3868
- return typeof e == "function" ? Ha(e) : (e instanceof IDBTransaction && Ta(e), lr(e, qa()) ? new Proxy(e, dr) : e);
3868
+ return typeof e == "function" ? Ha(e) : (e instanceof IDBTransaction && Wa(e), lr(e, Va()) ? new Proxy(e, dr) : e);
3869
3869
  }
3870
3870
  function $e(e) {
3871
3871
  if (e instanceof IDBRequest)
3872
- return Wa(e);
3872
+ return Ta(e);
3873
3873
  if (Mt.has(e))
3874
3874
  return Mt.get(e);
3875
3875
  const t = Ga(e);
@@ -3958,7 +3958,7 @@ const Le = "task", rt = () => Ya("zyjj", 2, {
3958
3958
  }, uo = Cr("mqtt/initMqtt", async (e, { dispatch: t }) => {
3959
3959
  const r = await Hn();
3960
3960
  console.log("[mqtt] mqtt info", r);
3961
- const n = r.topic, o = Vo.connect(`mqtt://${r.host}`, {
3961
+ const n = r.topic, o = qo.connect(`mqtt://${r.host}`, {
3962
3962
  keepalive: 60,
3963
3963
  clientId: r.client_id,
3964
3964
  username: r.username,
@@ -4007,7 +4007,7 @@ const Le = "task", rt = () => Ya("zyjj", 2, {
4007
4007
  }), ac = lo.actions, cc = lo.reducer;
4008
4008
  var mr;
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", e[e.OpenVideoEditor = 10] = "OpenVideoEditor", e[e.OpenTool = 11] = "OpenTool", e[e.OpenHelp = 12] = "OpenHelp", e[e.GetFileData = 13] = "GetFileData", e[e.OpenToolWithId = 14] = "OpenToolWithId";
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", e[e.OpenHelp = 12] = "OpenHelp", e[e.GetFileData = 13] = "GetFileData", e[e.OpenTool = 14] = "OpenTool";
4011
4011
  })(mr || (mr = {}));
4012
4012
  var yr;
4013
4013
  (function(e) {
@@ -4030,7 +4030,7 @@ function fo(e) {
4030
4030
  }, 1e3);
4031
4031
  });
4032
4032
  };
4033
- return D.jsxs(br, { children: [D.jsx(ke, { onChange: e.onChange, placeholder: "输入验证码" }), D.jsx(Ie, { disabled: t != ut, type: "primary", onClick: o, children: t != ut ? `剩余${t}秒` : "获取验证码" })] });
4033
+ return D.jsxs(br, { children: [D.jsx(ke, { onChange: e.onChange, placeholder: "输入验证码" }), D.jsx(Ae, { disabled: t != ut, type: "primary", onClick: o, children: t != ut ? `剩余${t}秒` : "获取验证码" })] });
4034
4034
  }
4035
4035
  const uc = (e) => {
4036
4036
  const [t, r] = De(""), [n, o] = De(!0), s = (c) => {
@@ -4040,7 +4040,7 @@ const uc = (e) => {
4040
4040
  Ce.success("注册成功,请登录"), o(!0);
4041
4041
  });
4042
4042
  }, i = () => Ln(t);
4043
- return D.jsxs(se, { autoComplete: "off", onSubmit: s, children: [D.jsx(se.Item, { rules: [{ required: !0, type: "email", message: "输入正确的邮箱格式" }], field: "email", label: "邮箱", children: D.jsx(ke, { onChange: r, placeholder: "输入邮箱" }) }), D.jsx(se.Item, { rules: [{ required: !0, type: "string", minLength: 8, message: "密码不能小于8位" }], field: "password", label: "密码", children: D.jsx(ke.Password, { placeholder: "输入密码" }) }), n ? null : D.jsx(se.Item, { label: "验证码", field: "token", rules: [{ required: !0, message: "验证码必填" }], children: D.jsx(fo, { callback: i }) }), D.jsx(se.Item, { wrapperCol: { offset: 5 }, children: D.jsxs(br, { children: [D.jsx(Ie, { type: "primary", htmlType: "submit", children: n ? "立即登录" : "注册账号" }), D.jsx(Ie, { type: "text", onClick: () => o((c) => !c), children: n ? "新用户?" : "已有账号?" }), n ? D.jsx(Ie, { onClick: () => e.onForget(), type: "text", children: "忘记密码?" }) : null] }) })] });
4043
+ return D.jsxs(se, { autoComplete: "off", onSubmit: s, children: [D.jsx(se.Item, { rules: [{ required: !0, type: "email", message: "输入正确的邮箱格式" }], field: "email", label: "邮箱", children: D.jsx(ke, { onChange: r, placeholder: "输入邮箱" }) }), D.jsx(se.Item, { rules: [{ required: !0, type: "string", minLength: 8, message: "密码不能小于8位" }], field: "password", label: "密码", children: D.jsx(ke.Password, { placeholder: "输入密码" }) }), n ? null : D.jsx(se.Item, { label: "验证码", field: "token", rules: [{ required: !0, message: "验证码必填" }], children: D.jsx(fo, { callback: i }) }), D.jsx(se.Item, { wrapperCol: { offset: 5 }, children: D.jsxs(br, { children: [D.jsx(Ae, { type: "primary", htmlType: "submit", children: n ? "立即登录" : "注册账号" }), D.jsx(Ae, { type: "text", onClick: () => o((c) => !c), children: n ? "新用户?" : "已有账号?" }), n ? D.jsx(Ae, { onClick: () => e.onForget(), type: "text", children: "忘记密码?" }) : null] }) })] });
4044
4044
  };
4045
4045
  function lc(e) {
4046
4046
  const [t, r] = De(""), n = (s) => {
@@ -4053,7 +4053,7 @@ function lc(e) {
4053
4053
  Ce.success("密码重置成功,请登录"), e.onLogin();
4054
4054
  });
4055
4055
  }, o = () => Ln(t);
4056
- return D.jsx("div", { children: D.jsxs(se, { style: { width: 370 }, autoComplete: "off", onSubmit: n, children: [D.jsx(se.Item, { rules: [{ required: !0, type: "email", message: "输入正确的邮箱格式" }], label: "邮箱", field: "email", children: D.jsx(ke, { onChange: r, placeholder: "输入邮箱" }) }), D.jsx(se.Item, { label: "验证码", field: "token", rules: [{ required: !0, message: "验证码必填" }], children: D.jsx(fo, { callback: o }) }), D.jsx(se.Item, { rules: [{ required: !0, type: "string", minLength: 8, message: "密码不能小于8位" }], label: "新密码", field: "password", children: D.jsx(ke, { type: "password", placeholder: "输入新密码" }) }), D.jsx(se.Item, { rules: [{ required: !0, type: "string", minLength: 8, message: "密码不能小于8位" }], label: "重复", field: "password_repeat", children: D.jsx(ke, { type: "password", placeholder: "再输入一遍新密码" }) }), D.jsx(se.Item, { wrapperCol: { offset: 5 }, children: D.jsxs(br, { children: [D.jsx(Ie, { type: "primary", htmlType: "submit", children: "立即重置" }), D.jsx(Ie, { onClick: () => e.onLogin(), type: "text", children: "重新登录" })] }) })] }) });
4056
+ return D.jsx("div", { children: D.jsxs(se, { style: { width: 370 }, autoComplete: "off", onSubmit: n, children: [D.jsx(se.Item, { rules: [{ required: !0, type: "email", message: "输入正确的邮箱格式" }], label: "邮箱", field: "email", children: D.jsx(ke, { onChange: r, placeholder: "输入邮箱" }) }), D.jsx(se.Item, { label: "验证码", field: "token", rules: [{ required: !0, message: "验证码必填" }], children: D.jsx(fo, { callback: o }) }), D.jsx(se.Item, { rules: [{ required: !0, type: "string", minLength: 8, message: "密码不能小于8位" }], label: "新密码", field: "password", children: D.jsx(ke, { type: "password", placeholder: "输入新密码" }) }), D.jsx(se.Item, { rules: [{ required: !0, type: "string", minLength: 8, message: "密码不能小于8位" }], label: "重复", field: "password_repeat", children: D.jsx(ke, { type: "password", placeholder: "再输入一遍新密码" }) }), D.jsx(se.Item, { wrapperCol: { offset: 5 }, children: D.jsxs(br, { children: [D.jsx(Ae, { type: "primary", htmlType: "submit", children: "立即重置" }), D.jsx(Ae, { onClick: () => e.onLogin(), type: "text", children: "重新登录" })] }) })] }) });
4057
4057
  }
4058
4058
  function wc(e) {
4059
4059
  const [t, r] = De(!1);
@@ -4080,7 +4080,7 @@ function Ec(e) {
4080
4080
  let l = D.jsx(D.Fragment, {});
4081
4081
  const f = d.data;
4082
4082
  return d.tp == "input" ? l = D.jsx(ke, { allowClear: !0, placeholder: f.placeholder }) : d.tp == "custom" && (l = d.ele), D.jsx(se.Item, { label: d.label, field: d.field, children: l }, d.field);
4083
- }), D.jsx(se.Item, { children: D.jsx(Ie, { htmlType: "submit", children: "搜索" }) })] }) : null, D.jsx(Mo, { 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 })] });
4083
+ }), D.jsx(se.Item, { children: D.jsx(Ae, { htmlType: "submit", children: "搜索" }) })] }) : null, D.jsx(Mo, { 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
4085
  const Sc = {
4086
4086
  GetAllTool: vi,
@@ -4088,20 +4088,20 @@ const Sc = {
4088
4088
  UpdateUserInfo: Si,
4089
4089
  GetAppInfo: bi,
4090
4090
  CostPoint: _i,
4091
- GetUserInfo: Wn,
4091
+ GetUserInfo: Tn,
4092
4092
  UserDownloadMaterial: ki,
4093
4093
  GetMqttTaskClientInfo: Hn,
4094
4094
  AddTask: xi,
4095
4095
  GetTaskInfo: ji,
4096
- GetTencentCosInfo: Tn,
4097
- GetMaterialUrl: Ii,
4096
+ GetTencentCosInfo: Wn,
4097
+ GetMaterialUrl: Ai,
4098
4098
  GetMaterialTagList: Ni,
4099
4099
  GetToolList: Oi,
4100
4100
  GetToolTagList: Di,
4101
4101
  GetToolDetail: Ri
4102
4102
  }, _c = {
4103
4103
  ToolType: Kt,
4104
- LocalActionReqType: Tt,
4104
+ LocalActionReqType: Wt,
4105
4105
  LocalActionResType: Ht,
4106
4106
  MQTTEventType: Ne,
4107
4107
  FileSource: Ke,
@@ -4119,18 +4119,18 @@ const Sc = {
4119
4119
  }, Oc = {
4120
4120
  render: {
4121
4121
  renderTime: zi,
4122
- renderEllipsis: qi,
4123
- renderCopy: Vi
4122
+ renderEllipsis: Vi,
4123
+ renderCopy: qi
4124
4124
  },
4125
4125
  utils: {
4126
4126
  file2ToolParamFile: ci,
4127
4127
  seconds2TimeStr: ui,
4128
- object2query: Vn,
4128
+ object2query: qn,
4129
4129
  paramReplace: hi,
4130
4130
  object2urlParam: pi,
4131
4131
  convertFileSize: ai,
4132
4132
  downloadFile: mi,
4133
- downloadFileDirect: qn
4133
+ downloadFileDirect: Vn
4134
4134
  },
4135
4135
  cloud: {
4136
4136
  getTencentCosInfo: li,
@@ -4144,7 +4144,7 @@ const Sc = {
4144
4144
  deleteData: oc
4145
4145
  }
4146
4146
  }, vc = {
4147
- UserReducer: Va,
4147
+ UserReducer: qa,
4148
4148
  UserAction: za,
4149
4149
  GetUserInfo: ur,
4150
4150
  MqttReducer: cc,