@das-fed/utils 6.4.0-dev.7 → 6.4.0-dev.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/api-services/index.js +1 -1
  2. package/api-services/index.js.gz +0 -0
  3. package/api-services/modules/app-manage/index.js +76 -76
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/authentication/index.js +76 -76
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/index.js +73 -73
  8. package/api-services/modules/bems/index.js.gz +0 -0
  9. package/api-services/modules/contract/index.js +76 -76
  10. package/api-services/modules/contract/index.js.gz +0 -0
  11. package/api-services/modules/duty-manage/index.js +73 -73
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/index.js +76 -76
  14. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  15. package/api-services/modules/file/index.js.gz +0 -0
  16. package/api-services/modules/gateway-edge/index.js +76 -76
  17. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  18. package/api-services/modules/index.js +1 -1
  19. package/api-services/modules/index.js.gz +0 -0
  20. package/api-services/modules/iot/index.js +70 -70
  21. package/api-services/modules/iot/index.js.gz +0 -0
  22. package/api-services/modules/justauth/index.js +76 -76
  23. package/api-services/modules/justauth/index.js.gz +0 -0
  24. package/api-services/modules/knowledge/index.js +76 -76
  25. package/api-services/modules/knowledge/index.js.gz +0 -0
  26. package/api-services/modules/link/index.js +76 -76
  27. package/api-services/modules/link/index.js.gz +0 -0
  28. package/api-services/modules/permission/index.js +76 -76
  29. package/api-services/modules/permission/index.js.gz +0 -0
  30. package/api-services/modules/platformManage/index.js +70 -70
  31. package/api-services/modules/platformManage/index.js.gz +0 -0
  32. package/api-services/modules/portal/index.js +76 -76
  33. package/api-services/modules/portal/index.js.gz +0 -0
  34. package/api-services/modules/space-manage/index.js +76 -76
  35. package/api-services/modules/space-manage/index.js.gz +0 -0
  36. package/api-services/modules/super-admin/index.js +73 -73
  37. package/api-services/modules/super-admin/index.js.gz +0 -0
  38. package/api-services/modules/supplier/index.js +73 -73
  39. package/api-services/modules/supplier/index.js.gz +0 -0
  40. package/api-services/modules/supplychain-manage/index.js +76 -76
  41. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  42. package/api-services/modules/systemConfiguration/index.js +76 -76
  43. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  44. package/api-services/modules/tool/index.js +76 -76
  45. package/api-services/modules/tool/index.js.gz +0 -0
  46. package/api-services/src/create-service/index.js +81 -81
  47. package/api-services/src/create-service/index.js.gz +0 -0
  48. package/common-info/getInfoFromUrl/index.js.gz +0 -0
  49. package/common-info/index.js.gz +0 -0
  50. package/common-info/set-personal-info/index.js.gz +0 -0
  51. package/common-info/type.d.ts +104 -104
  52. package/common-tools/get-url-params/index.js.gz +0 -0
  53. package/create-api-service/index.js +81 -81
  54. package/create-api-service/index.js.gz +0 -0
  55. package/create-api-service/sso/index.js.gz +0 -0
  56. package/curring-http/index.js.gz +0 -0
  57. package/curring-http/type.d.ts +87 -87
  58. package/directive/auth/index.js.gz +0 -0
  59. package/hooks/use-get-auth/index.js.gz +0 -0
  60. package/nextTiken/index.js.gz +0 -0
  61. package/package.json +3 -3
  62. package/pinyin-first-character/index.js.gz +0 -0
  63. package/style/index.js.gz +0 -0
  64. package/token-tools/index.js.gz +0 -0
  65. package/use-low-code/index.js +12 -12
  66. package/use-low-code/index.js.gz +0 -0
  67. package/use-low-code/style.css +1 -1
  68. package/webSocket-service/index.js.gz +0 -0
  69. package/webSocket-service/type.d.ts +28 -28
@@ -11,12 +11,12 @@ function Tr(t, e) {
11
11
  const { toString: Cn } = Object.prototype, { getPrototypeOf: Mt } = Object, et = /* @__PURE__ */ ((t) => (e) => {
12
12
  const r = Cn.call(e);
13
13
  return t[r] || (t[r] = r.slice(8, -1).toLowerCase());
14
- })(/* @__PURE__ */ Object.create(null)), re = (t) => (t = t.toLowerCase(), (e) => et(e) === t), tt = (t) => (e) => typeof e === t, { isArray: Ae } = Array, _e = tt("undefined");
15
- function Nn(t) {
16
- return t !== null && !_e(t) && t.constructor !== null && !_e(t.constructor) && K(t.constructor.isBuffer) && t.constructor.isBuffer(t);
14
+ })(/* @__PURE__ */ Object.create(null)), re = (t) => (t = t.toLowerCase(), (e) => et(e) === t), tt = (t) => (e) => typeof e === t, { isArray: Ae } = Array, Ne = tt("undefined");
15
+ function _n(t) {
16
+ return t !== null && !Ne(t) && t.constructor !== null && !Ne(t.constructor) && K(t.constructor.isBuffer) && t.constructor.isBuffer(t);
17
17
  }
18
18
  const Dr = re("ArrayBuffer");
19
- function _n(t) {
19
+ function Nn(t) {
20
20
  let e;
21
21
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Dr(t.buffer), e;
22
22
  }
@@ -53,9 +53,9 @@ function Cr(t, e) {
53
53
  return o;
54
54
  return null;
55
55
  }
56
- const Nr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, _r = (t) => !_e(t) && t !== Nr;
56
+ const _r = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Nr = (t) => !Ne(t) && t !== _r;
57
57
  function Ot() {
58
- const { caseless: t } = _r(this) && this || {}, e = {}, r = (n, o) => {
58
+ const { caseless: t } = Nr(this) && this || {}, e = {}, r = (n, o) => {
59
59
  const i = t && Cr(e, o) || o;
60
60
  Je(e[i]) && Je(n) ? e[i] = Ot(e[i], n) : Je(n) ? e[i] = Ot({}, n) : Ae(n) ? e[i] = n.slice() : e[i] = n;
61
61
  };
@@ -163,7 +163,7 @@ const co = (t) => {
163
163
  const i = Ae(n) ? [] : {};
164
164
  return Ie(n, (a, s) => {
165
165
  const u = r(a, o + 1);
166
- !_e(u) && (i[s] = u);
166
+ !Ne(u) && (i[s] = u);
167
167
  }), e[o] = void 0, i;
168
168
  }
169
169
  }
@@ -173,15 +173,15 @@ const co = (t) => {
173
173
  }, fo = re("AsyncFunction"), lo = (t) => t && (rt(t) || K(t)) && K(t.then) && K(t.catch), d = {
174
174
  isArray: Ae,
175
175
  isArrayBuffer: Dr,
176
- isBuffer: Nn,
176
+ isBuffer: _n,
177
177
  isFormData: Hn,
178
- isArrayBufferView: _n,
178
+ isArrayBufferView: Nn,
179
179
  isString: Mn,
180
180
  isNumber: Fr,
181
181
  isBoolean: In,
182
182
  isObject: rt,
183
183
  isPlainObject: Je,
184
- isUndefined: _e,
184
+ isUndefined: Ne,
185
185
  isDate: Un,
186
186
  isFile: Bn,
187
187
  isBlob: Ln,
@@ -215,8 +215,8 @@ const co = (t) => {
215
215
  noop: io,
216
216
  toFiniteNumber: ao,
217
217
  findKey: Cr,
218
- global: Nr,
219
- isContextDefined: _r,
218
+ global: _r,
219
+ isContextDefined: Nr,
220
220
  ALPHABET: Ir,
221
221
  generateString: so,
222
222
  isSpecCompliantForm: uo,
@@ -319,10 +319,10 @@ function nt(t, e, r) {
319
319
  if (d.endsWith(l, "{}"))
320
320
  l = n ? l : l.slice(0, -2), y = JSON.stringify(y);
321
321
  else if (d.isArray(y) && yo(y) || (d.isFileList(y) || d.endsWith(l, "[]")) && (b = d.toArray(y)))
322
- return l = Lr(l), b.forEach(function(P, _) {
322
+ return l = Lr(l), b.forEach(function(P, N) {
323
323
  !(d.isUndefined(P) || P === null) && e.append(
324
324
  // eslint-disable-next-line no-nested-ternary
325
- a === !0 ? Yt([l], _, i) : a === null ? l : l + "[]",
325
+ a === !0 ? Yt([l], N, i) : a === null ? l : l + "[]",
326
326
  c(P)
327
327
  );
328
328
  }), !1;
@@ -636,7 +636,7 @@ function at(t, e, r, n, o) {
636
636
  function Co(t) {
637
637
  return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, r, n) => r.toUpperCase() + n);
638
638
  }
639
- function No(t, e) {
639
+ function _o(t, e) {
640
640
  const r = d.toCamelCase(" " + e);
641
641
  ["get", "set", "has"].forEach((n) => {
642
642
  Object.defineProperty(t, n + r, {
@@ -751,7 +751,7 @@ class Z {
751
751
  }).accessors, o = this.prototype;
752
752
  function i(a) {
753
753
  const s = Te(a);
754
- n[s] || (No(o, a), n[s] = !0);
754
+ n[s] || (_o(o, a), n[s] = !0);
755
755
  }
756
756
  return d.isArray(e) ? e.forEach(i) : i(e), this;
757
757
  }
@@ -783,7 +783,7 @@ function Be(t, e, r) {
783
783
  d.inherits(Be, D, {
784
784
  __CANCEL__: !0
785
785
  });
786
- function _o(t, e, r) {
786
+ function No(t, e, r) {
787
787
  const n = r.config.validateStatus;
788
788
  !r.status || !n || n(r.status) ? t(r) : e(new D(
789
789
  "Request failed with status code " + r.status,
@@ -936,7 +936,7 @@ const jo = typeof XMLHttpRequest < "u", Ho = jo && function(t) {
936
936
  config: t,
937
937
  request: f
938
938
  };
939
- _o(function(P) {
939
+ No(function(P) {
940
940
  r(P), c();
941
941
  }, function(P) {
942
942
  n(P), c();
@@ -1761,14 +1761,14 @@ function kt() {
1761
1761
  }
1762
1762
  return pt = e, pt;
1763
1763
  }
1764
- var Ni = $e, Ve = Ni("%Object.getOwnPropertyDescriptor%", !0);
1764
+ var _i = $e, Ve = _i("%Object.getOwnPropertyDescriptor%", !0);
1765
1765
  if (Ve)
1766
1766
  try {
1767
1767
  Ve([], "length");
1768
1768
  } catch {
1769
1769
  Ve = null;
1770
1770
  }
1771
- var Xr = Ve, cr = kt(), _i = Qr, ve = Le, fr = Xr, Mi = function(e, r, n) {
1771
+ var Xr = Ve, cr = kt(), Ni = Qr, ve = Le, fr = Xr, Mi = function(e, r, n) {
1772
1772
  if (!e || typeof e != "object" && typeof e != "function")
1773
1773
  throw new ve("`obj` must be an object or a function`");
1774
1774
  if (typeof r != "string" && typeof r != "symbol")
@@ -1792,7 +1792,7 @@ var Xr = Ve, cr = kt(), _i = Qr, ve = Le, fr = Xr, Mi = function(e, r, n) {
1792
1792
  else if (s || !o && !i && !a)
1793
1793
  e[r] = n;
1794
1794
  else
1795
- throw new _i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
1795
+ throw new Ni("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
1796
1796
  }, Pt = kt(), en = function() {
1797
1797
  return !!Pt;
1798
1798
  };
@@ -1939,8 +1939,8 @@ var Dt = Ji, Or = Dt.custom, Er = sn(Or) ? Or : null, ra = function t(e, r, n, o
1939
1939
  return f && !Sa(P) ? "[" + Ct(P, f) + "]" : "[ " + ee.call(P, ", ") + " ]";
1940
1940
  }
1941
1941
  if (ia(e)) {
1942
- var _ = He(e, h);
1943
- return !("cause" in Error.prototype) && "cause" in e && !on.call(e, "cause") ? "{ [" + String(e) + "] " + ee.call(gr.call("[cause]: " + h(e.cause), _), ", ") + " }" : _.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + ee.call(_, ", ") + " }";
1942
+ var N = He(e, h);
1943
+ return !("cause" in Error.prototype) && "cause" in e && !on.call(e, "cause") ? "{ [" + String(e) + "] " + ee.call(gr.call("[cause]: " + h(e.cause), N), ", ") + " }" : N.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + ee.call(N, ", ") + " }";
1944
1944
  }
1945
1945
  if (typeof e == "object" && a) {
1946
1946
  if (Er && typeof e[Er] == "function" && Dt)
@@ -2256,14 +2256,14 @@ var fn = $e, Re = zi, wa = ra, Oa = Le, ze = fn("%WeakMap%", !0), We = fn("%Map%
2256
2256
  }
2257
2257
  };
2258
2258
  return o;
2259
- }, Na = String.prototype.replace, _a = /%20/g, vt = {
2259
+ }, _a = String.prototype.replace, Na = /%20/g, vt = {
2260
2260
  RFC1738: "RFC1738",
2261
2261
  RFC3986: "RFC3986"
2262
2262
  }, qt = {
2263
2263
  default: vt.RFC3986,
2264
2264
  formatters: {
2265
2265
  RFC1738: function(t) {
2266
- return Na.call(t, _a, "+");
2266
+ return _a.call(t, Na, "+");
2267
2267
  },
2268
2268
  RFC3986: function(t) {
2269
2269
  return String(t);
@@ -2386,7 +2386,7 @@ var fn = $e, Re = zi, wa = ra, Oa = Le, ze = fn("%WeakMap%", !0), We = fn("%Map%
2386
2386
  isRegExp: Ha,
2387
2387
  maybeMap: qa,
2388
2388
  merge: Ua
2389
- }, dn = Ca, Ye = pn, Ne = qt, Ja = Object.prototype.hasOwnProperty, Rr = {
2389
+ }, dn = Ca, Ye = pn, _e = qt, Ja = Object.prototype.hasOwnProperty, Rr = {
2390
2390
  brackets: function(e) {
2391
2391
  return e + "[]";
2392
2392
  },
@@ -2399,7 +2399,7 @@ var fn = $e, Re = zi, wa = ra, Oa = Le, ze = fn("%WeakMap%", !0), We = fn("%Map%
2399
2399
  }
2400
2400
  }, ne = Array.isArray, Ga = Array.prototype.push, yn = function(t, e) {
2401
2401
  Ga.apply(t, ne(e) ? e : [e]);
2402
- }, Va = Date.prototype.toISOString, Pr = Ne.default, J = {
2402
+ }, Va = Date.prototype.toISOString, Pr = _e.default, J = {
2403
2403
  addQueryPrefix: !1,
2404
2404
  allowDots: !1,
2405
2405
  charset: "utf-8",
@@ -2409,7 +2409,7 @@ var fn = $e, Re = zi, wa = ra, Oa = Le, ze = fn("%WeakMap%", !0), We = fn("%Map%
2409
2409
  encoder: Ye.encode,
2410
2410
  encodeValuesOnly: !1,
2411
2411
  format: Pr,
2412
- formatter: Ne.formatters[Pr],
2412
+ formatter: _e.formatters[Pr],
2413
2413
  // deprecated
2414
2414
  indices: !1,
2415
2415
  serializeDate: function(e) {
@@ -2420,12 +2420,12 @@ var fn = $e, Re = zi, wa = ra, Oa = Le, ze = fn("%WeakMap%", !0), We = fn("%Map%
2420
2420
  }, Ya = function(e) {
2421
2421
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
2422
2422
  }, St = {}, Qa = function t(e, r, n, o, i, a, s, u, c, p, f, h, g, y, l, w) {
2423
- for (var b = e, A = w, P = 0, _ = !1; (A = A.get(St)) !== void 0 && !_; ) {
2423
+ for (var b = e, A = w, P = 0, N = !1; (A = A.get(St)) !== void 0 && !N; ) {
2424
2424
  var C = A.get(e);
2425
2425
  if (P += 1, typeof C < "u") {
2426
2426
  if (C === P)
2427
2427
  throw new RangeError("Cyclic object value");
2428
- _ = !0;
2428
+ N = !0;
2429
2429
  }
2430
2430
  typeof A.get(St) > "u" && (P = 0);
2431
2431
  }
@@ -2490,13 +2490,13 @@ var fn = $e, Re = zi, wa = ra, Oa = Le, ze = fn("%WeakMap%", !0), We = fn("%Map%
2490
2490
  var r = e.charset || J.charset;
2491
2491
  if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
2492
2492
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
2493
- var n = Ne.default;
2493
+ var n = _e.default;
2494
2494
  if (typeof e.format < "u") {
2495
- if (!Ja.call(Ne.formatters, e.format))
2495
+ if (!Ja.call(_e.formatters, e.format))
2496
2496
  throw new TypeError("Unknown format option provided.");
2497
2497
  n = e.format;
2498
2498
  }
2499
- var o = Ne.formatters[n], i = J.filter;
2499
+ var o = _e.formatters[n], i = J.filter;
2500
2500
  return (typeof e.filter == "function" || ne(e.filter)) && (i = e.filter), {
2501
2501
  addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : J.addQueryPrefix,
2502
2502
  allowDots: typeof e.allowDots > "u" ? J.allowDots : !!e.allowDots,
@@ -2550,7 +2550,7 @@ var fn = $e, Re = zi, wa = ra, Oa = Le, ze = fn("%WeakMap%", !0), We = fn("%Map%
2550
2550
  }
2551
2551
  var g = a.join(n.delimiter), y = n.addQueryPrefix === !0 ? "?" : "";
2552
2552
  return n.charsetSentinel && (n.charset === "iso-8859-1" ? y += "utf8=%26%2310003%3B&" : y += "utf8=%E2%9C%93&"), g.length > 0 ? y + g : "";
2553
- }, Ee = pn, Nt = Object.prototype.hasOwnProperty, Xa = Array.isArray, H = {
2553
+ }, Ee = pn, _t = Object.prototype.hasOwnProperty, Xa = Array.isArray, H = {
2554
2554
  allowDots: !1,
2555
2555
  allowPrototypes: !1,
2556
2556
  allowSparse: !1,
@@ -2586,7 +2586,7 @@ var fn = $e, Re = zi, wa = ra, Oa = Le, ze = fn("%WeakMap%", !0), We = fn("%Map%
2586
2586
  function(l) {
2587
2587
  return r.decoder(l, H.decoder, c, "value");
2588
2588
  }
2589
- )), y && r.interpretNumericEntities && c === "iso-8859-1" && (y = es(y)), p.indexOf("[]=") > -1 && (y = Xa(y) ? [y] : y), Nt.call(n, g) ? n[g] = Ee.combine(n[g], y) : n[g] = y;
2589
+ )), y && r.interpretNumericEntities && c === "iso-8859-1" && (y = es(y)), p.indexOf("[]=") > -1 && (y = Xa(y) ? [y] : y), _t.call(n, g) ? n[g] = Ee.combine(n[g], y) : n[g] = y;
2590
2590
  }
2591
2591
  return n;
2592
2592
  }, os = function(t, e, r, n) {
@@ -2606,12 +2606,12 @@ var fn = $e, Re = zi, wa = ra, Oa = Le, ze = fn("%WeakMap%", !0), We = fn("%Map%
2606
2606
  if (e) {
2607
2607
  var i = n.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, a = /(\[[^[\]]*])/, s = /(\[[^[\]]*])/g, u = n.depth > 0 && a.exec(i), c = u ? i.slice(0, u.index) : i, p = [];
2608
2608
  if (c) {
2609
- if (!n.plainObjects && Nt.call(Object.prototype, c) && !n.allowPrototypes)
2609
+ if (!n.plainObjects && _t.call(Object.prototype, c) && !n.allowPrototypes)
2610
2610
  return;
2611
2611
  p.push(c);
2612
2612
  }
2613
2613
  for (var f = 0; n.depth > 0 && (u = s.exec(i)) !== null && f < n.depth; ) {
2614
- if (f += 1, !n.plainObjects && Nt.call(Object.prototype, u[1].slice(1, -1)) && !n.allowPrototypes)
2614
+ if (f += 1, !n.plainObjects && _t.call(Object.prototype, u[1].slice(1, -1)) && !n.allowPrototypes)
2615
2615
  return;
2616
2616
  p.push(u[1]);
2617
2617
  }
@@ -2679,7 +2679,7 @@ var ds = {
2679
2679
  );
2680
2680
  }
2681
2681
  };
2682
- function _t(t, e) {
2682
+ function Nt(t, e) {
2683
2683
  function r(o, i, a) {
2684
2684
  if (!(typeof document > "u")) {
2685
2685
  a = qe({}, e, a), typeof a.expires == "number" && (a.expires = new Date(Date.now() + a.expires * 864e5)), a.expires && (a.expires = a.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
@@ -2717,10 +2717,10 @@ function _t(t, e) {
2717
2717
  );
2718
2718
  },
2719
2719
  withAttributes: function(o) {
2720
- return _t(this.converter, qe({}, this.attributes, o));
2720
+ return Nt(this.converter, qe({}, this.attributes, o));
2721
2721
  },
2722
2722
  withConverter: function(o) {
2723
- return _t(qe({}, this.converter, o), this.attributes);
2723
+ return Nt(qe({}, this.converter, o), this.attributes);
2724
2724
  }
2725
2725
  },
2726
2726
  {
@@ -2729,7 +2729,7 @@ function _t(t, e) {
2729
2729
  }
2730
2730
  );
2731
2731
  }
2732
- var ys = _t(ds, { path: "/" }), mn = { exports: {} };
2732
+ var ys = Nt(ds, { path: "/" }), mn = { exports: {} };
2733
2733
  (function(t, e) {
2734
2734
  (function(r, n) {
2735
2735
  t.exports = n();
@@ -2740,7 +2740,7 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
2740
2740
  } }, P = function(E, v, m) {
2741
2741
  var O = String(E);
2742
2742
  return !O || O.length >= v ? E : "" + Array(v + 1 - O.length).join(m) + E;
2743
- }, _ = { s: P, z: function(E) {
2743
+ }, N = { s: P, z: function(E) {
2744
2744
  var v = -E.utcOffset(), m = Math.abs(v), O = Math.floor(m / 60), S = m % 60;
2745
2745
  return (v <= 0 ? "+" : "-") + P(O, 2, "0") + ":" + P(S, 2, "0");
2746
2746
  }, m: function E(v, m) {
@@ -2766,15 +2766,15 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
2766
2766
  var R = v.split("-");
2767
2767
  if (!S && R.length > 1) return E(R[0]);
2768
2768
  } else {
2769
- var N = v.name;
2770
- U[N] = v, S = N;
2769
+ var _ = v.name;
2770
+ U[_] = v, S = _;
2771
2771
  }
2772
2772
  return !O && S && (C = S), S || !O && C;
2773
2773
  }, F = function(E, v) {
2774
2774
  if (B(E)) return E.clone();
2775
2775
  var m = typeof v == "object" ? v : {};
2776
2776
  return m.date = E, m.args = arguments, new W(m);
2777
- }, x = _;
2777
+ }, x = N;
2778
2778
  x.l = L, x.i = B, x.w = function(E, v) {
2779
2779
  return F(E, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
2780
2780
  };
@@ -2792,8 +2792,8 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
2792
2792
  if (typeof S == "string" && !/Z$/i.test(S)) {
2793
2793
  var R = S.match(w);
2794
2794
  if (R) {
2795
- var N = R[2] - 1 || 0, I = (R[7] || "0").substring(0, 3);
2796
- return $ ? new Date(Date.UTC(R[1], N, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, I)) : new Date(R[1], N, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, I);
2795
+ var _ = R[2] - 1 || 0, I = (R[7] || "0").substring(0, 3);
2796
+ return $ ? new Date(Date.UTC(R[1], _, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, I)) : new Date(R[1], _, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, I);
2797
2797
  }
2798
2798
  }
2799
2799
  return new Date(S);
@@ -2819,7 +2819,7 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
2819
2819
  }, v.valueOf = function() {
2820
2820
  return this.$d.getTime();
2821
2821
  }, v.startOf = function(m, O) {
2822
- var S = this, $ = !!x.u(O) || O, R = x.p(m), N = function(fe, V) {
2822
+ var S = this, $ = !!x.u(O) || O, R = x.p(m), _ = function(fe, V) {
2823
2823
  var oe = x.w(S.$u ? Date.UTC(S.$y, V, fe) : new Date(S.$y, V, fe), S);
2824
2824
  return $ ? oe : oe.endOf(c);
2825
2825
  }, I = function(fe, V) {
@@ -2827,12 +2827,12 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
2827
2827
  }, j = this.$W, q = this.$M, Q = this.$D, he = "set" + (this.$u ? "UTC" : "");
2828
2828
  switch (R) {
2829
2829
  case g:
2830
- return $ ? N(1, 0) : N(31, 11);
2830
+ return $ ? _(1, 0) : _(31, 11);
2831
2831
  case f:
2832
- return $ ? N(1, q) : N(0, q + 1);
2832
+ return $ ? _(1, q) : _(0, q + 1);
2833
2833
  case p:
2834
2834
  var ce = this.$locale().weekStart || 0, Pe = (j < ce ? j + 7 : j) - ce;
2835
- return N($ ? Q - Pe : Q + (6 - Pe), q);
2835
+ return _($ ? Q - Pe : Q + (6 - Pe), q);
2836
2836
  case c:
2837
2837
  case y:
2838
2838
  return I(he + "Hours", 0);
@@ -2848,11 +2848,11 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
2848
2848
  }, v.endOf = function(m) {
2849
2849
  return this.startOf(m, !1);
2850
2850
  }, v.$set = function(m, O) {
2851
- var S, $ = x.p(m), R = "set" + (this.$u ? "UTC" : ""), N = (S = {}, S[c] = R + "Date", S[y] = R + "Date", S[f] = R + "Month", S[g] = R + "FullYear", S[u] = R + "Hours", S[s] = R + "Minutes", S[a] = R + "Seconds", S[i] = R + "Milliseconds", S)[$], I = $ === c ? this.$D + (O - this.$W) : O;
2851
+ var S, $ = x.p(m), R = "set" + (this.$u ? "UTC" : ""), _ = (S = {}, S[c] = R + "Date", S[y] = R + "Date", S[f] = R + "Month", S[g] = R + "FullYear", S[u] = R + "Hours", S[s] = R + "Minutes", S[a] = R + "Seconds", S[i] = R + "Milliseconds", S)[$], I = $ === c ? this.$D + (O - this.$W) : O;
2852
2852
  if ($ === f || $ === g) {
2853
2853
  var j = this.clone().set(y, 1);
2854
- j.$d[N](I), j.init(), this.$d = j.set(y, Math.min(this.$D, j.daysInMonth())).$d;
2855
- } else N && this.$d[N](I);
2854
+ j.$d[_](I), j.init(), this.$d = j.set(y, Math.min(this.$D, j.daysInMonth())).$d;
2855
+ } else _ && this.$d[_](I);
2856
2856
  return this.init(), this;
2857
2857
  }, v.set = function(m, O) {
2858
2858
  return this.clone().$set(m, O);
@@ -2861,14 +2861,14 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
2861
2861
  }, v.add = function(m, O) {
2862
2862
  var S, $ = this;
2863
2863
  m = Number(m);
2864
- var R = x.p(O), N = function(q) {
2864
+ var R = x.p(O), _ = function(q) {
2865
2865
  var Q = F($);
2866
2866
  return x.w(Q.date(Q.date() + Math.round(q * m)), $);
2867
2867
  };
2868
2868
  if (R === f) return this.set(f, this.$M + m);
2869
2869
  if (R === g) return this.set(g, this.$y + m);
2870
- if (R === c) return N(1);
2871
- if (R === p) return N(7);
2870
+ if (R === c) return _(1);
2871
+ if (R === p) return _(7);
2872
2872
  var I = (S = {}, S[s] = n, S[u] = o, S[a] = r, S)[R] || 1, j = this.$d.getTime() + m * I;
2873
2873
  return x.w(j, this);
2874
2874
  }, v.subtract = function(m, O) {
@@ -2876,10 +2876,10 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
2876
2876
  }, v.format = function(m) {
2877
2877
  var O = this, S = this.$locale();
2878
2878
  if (!this.isValid()) return S.invalidDate || l;
2879
- var $ = m || "YYYY-MM-DDTHH:mm:ssZ", R = x.z(this), N = this.$H, I = this.$m, j = this.$M, q = S.weekdays, Q = S.months, he = S.meridiem, ce = function(V, oe, xe, je) {
2879
+ var $ = m || "YYYY-MM-DDTHH:mm:ssZ", R = x.z(this), _ = this.$H, I = this.$m, j = this.$M, q = S.weekdays, Q = S.months, he = S.meridiem, ce = function(V, oe, xe, je) {
2880
2880
  return V && (V[oe] || V(O, $)) || xe[oe].slice(0, je);
2881
2881
  }, Pe = function(V) {
2882
- return x.s(N % 12 || 12, V, "0");
2882
+ return x.s(_ % 12 || 12, V, "0");
2883
2883
  }, fe = he || function(V, oe, xe) {
2884
2884
  var je = V < 12 ? "AM" : "PM";
2885
2885
  return xe ? je.toLowerCase() : je;
@@ -2912,17 +2912,17 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
2912
2912
  case "dddd":
2913
2913
  return q[O.$W];
2914
2914
  case "H":
2915
- return String(N);
2915
+ return String(_);
2916
2916
  case "HH":
2917
- return x.s(N, 2, "0");
2917
+ return x.s(_, 2, "0");
2918
2918
  case "h":
2919
2919
  return Pe(1);
2920
2920
  case "hh":
2921
2921
  return Pe(2);
2922
2922
  case "a":
2923
- return fe(N, I, !0);
2923
+ return fe(_, I, !0);
2924
2924
  case "A":
2925
- return fe(N, I, !1);
2925
+ return fe(_, I, !1);
2926
2926
  case "m":
2927
2927
  return String(I);
2928
2928
  case "mm":
@@ -2942,10 +2942,10 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
2942
2942
  }, v.utcOffset = function() {
2943
2943
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
2944
2944
  }, v.diff = function(m, O, S) {
2945
- var $, R = this, N = x.p(O), I = F(m), j = (I.utcOffset() - this.utcOffset()) * n, q = this - I, Q = function() {
2945
+ var $, R = this, _ = x.p(O), I = F(m), j = (I.utcOffset() - this.utcOffset()) * n, q = this - I, Q = function() {
2946
2946
  return x.m(R, I);
2947
2947
  };
2948
- switch (N) {
2948
+ switch (_) {
2949
2949
  case g:
2950
2950
  $ = Q() / 12;
2951
2951
  break;
@@ -3049,8 +3049,8 @@ var vn = { exports: {} };
3049
3049
  var A = Math.abs(l) <= 16 ? 60 * l : l, P = this;
3050
3050
  if (w) return P.$offset = A, P.$u = l === 0, P;
3051
3051
  if (l !== 0) {
3052
- var _ = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
3053
- (P = this.local().add(A + _, r)).$offset = A, P.$x.$localOffset = _;
3052
+ var N = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
3053
+ (P = this.local().add(A + N, r)).$offset = A, P.$x.$localOffset = N;
3054
3054
  } else P = this.utc();
3055
3055
  return P;
3056
3056
  };
@@ -3094,14 +3094,14 @@ var gn = { exports: {} };
3094
3094
  y === void 0 && (y = {});
3095
3095
  var l = new Date(h), w = function(b, A) {
3096
3096
  A === void 0 && (A = {});
3097
- var P = A.timeZoneName || "short", _ = b + "|" + P, C = n[_];
3098
- return C || (C = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: b, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: P }), n[_] = C), C;
3097
+ var P = A.timeZoneName || "short", N = b + "|" + P, C = n[N];
3098
+ return C || (C = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: b, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: P }), n[N] = C), C;
3099
3099
  }(g, y);
3100
3100
  return w.formatToParts(l);
3101
3101
  }, c = function(h, g) {
3102
3102
  for (var y = u(h, g), l = [], w = 0; w < y.length; w += 1) {
3103
- var b = y[w], A = b.type, P = b.value, _ = r[A];
3104
- _ >= 0 && (l[_] = parseInt(P, 10));
3103
+ var b = y[w], A = b.type, P = b.value, N = r[A];
3104
+ N >= 0 && (l[N] = parseInt(P, 10));
3105
3105
  }
3106
3106
  var C = l[3], U = C === 24 ? 0 : C, M = l[0] + "-" + l[1] + "-" + l[2] + " " + U + ":" + l[4] + ":" + l[5] + ":000", B = +h;
3107
3107
  return (a.utc(M).valueOf() - (B -= B % 1e3)) / 6e4;
@@ -3133,7 +3133,7 @@ var gn = { exports: {} };
3133
3133
  if (M === F) return [L, M];
3134
3134
  var x = c(L -= 60 * (F - M) * 1e3, B);
3135
3135
  return F === x ? [L, F] : [U - 60 * Math.min(F, x) * 1e3, Math.max(F, x)];
3136
- }(a.utc(h, l).valueOf(), b, w), P = A[0], _ = A[1], C = a(P).utcOffset(_);
3136
+ }(a.utc(h, l).valueOf(), b, w), P = A[0], N = A[1], C = a(P).utcOffset(N);
3137
3137
  return C.$x.$timezone = w, C;
3138
3138
  }, a.tz.guess = function() {
3139
3139
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -3188,7 +3188,7 @@ const Sn = xr(), bn = Sn.sso ?? !0, wn = Sn.noRedireLogin ?? !1, On = () => {
3188
3188
  const p = new URL(location.href).searchParams;
3189
3189
  c = p.get("project") || p.get("projectId") || 0, c || (c = Tn().id ?? 0), (c || c === 0) && (s.project = c);
3190
3190
  }
3191
- if (o.microAppName === "iot/iot") {
3191
+ if (new URL(location.href).searchParams.get("app") === "iot") {
3192
3192
  const { instanceInfo: c } = Dn();
3193
3193
  c != null && c.instanceId && (s.instance = c.instanceId);
3194
3194
  }