@das-fed/utils 6.4.0-dev.54 → 6.4.0-dev.54.2

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 (51) hide show
  1. package/api-services/index.js +22 -9
  2. package/api-services/index.js.gz +0 -0
  3. package/api-services/modules/app-manage/index.js +113 -100
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/authentication/index.js +159 -146
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/index.js +113 -100
  8. package/api-services/modules/bems/index.js.gz +0 -0
  9. package/api-services/modules/contract/index.js +159 -146
  10. package/api-services/modules/contract/index.js.gz +0 -0
  11. package/api-services/modules/duty-manage/index.js +113 -100
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/index.js +159 -146
  14. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  15. package/api-services/modules/file/index.js +22 -9
  16. package/api-services/modules/file/index.js.gz +0 -0
  17. package/api-services/modules/gateway-edge/index.js +159 -146
  18. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  19. package/api-services/modules/index.js +22 -9
  20. package/api-services/modules/index.js.gz +0 -0
  21. package/api-services/modules/iot/index.js +113 -100
  22. package/api-services/modules/iot/index.js.gz +0 -0
  23. package/api-services/modules/justauth/index.js +158 -145
  24. package/api-services/modules/justauth/index.js.gz +0 -0
  25. package/api-services/modules/knowledge/index.js +113 -100
  26. package/api-services/modules/knowledge/index.js.gz +0 -0
  27. package/api-services/modules/link/index.js +113 -100
  28. package/api-services/modules/link/index.js.gz +0 -0
  29. package/api-services/modules/permission/index.js +159 -146
  30. package/api-services/modules/permission/index.js.gz +0 -0
  31. package/api-services/modules/platformManage/index.js +113 -100
  32. package/api-services/modules/platformManage/index.js.gz +0 -0
  33. package/api-services/modules/portal/index.js +159 -146
  34. package/api-services/modules/portal/index.js.gz +0 -0
  35. package/api-services/modules/space-manage/index.js +113 -100
  36. package/api-services/modules/space-manage/index.js.gz +0 -0
  37. package/api-services/modules/super-admin/index.js +158 -145
  38. package/api-services/modules/super-admin/index.js.gz +0 -0
  39. package/api-services/modules/supplier/index.js +113 -100
  40. package/api-services/modules/supplier/index.js.gz +0 -0
  41. package/api-services/modules/supplychain-manage/index.js +113 -100
  42. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  43. package/api-services/modules/systemConfiguration/index.js +159 -146
  44. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  45. package/api-services/modules/tool/index.js +159 -146
  46. package/api-services/modules/tool/index.js.gz +0 -0
  47. package/api-services/src/create-service/index.js +159 -146
  48. package/api-services/src/create-service/index.js.gz +0 -0
  49. package/create-api-service/index.js +159 -146
  50. package/create-api-service/index.js.gz +0 -0
  51. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- import { setI18nRule as Sn, t as V } from "@das-fed/web/packages/i18n/index";
1
+ import { setI18nRule as Sn, t as W } from "@das-fed/web/packages/i18n/index";
2
2
  import { curringHttp as En } from "@das-fed/utils/curring-http";
3
3
  import { getToken as An, getQuery as On, login as Rn, getTokenParams as Pn, real_uri as Tn } from "@das-fed/utils/create-api-service/sso";
4
4
  import Pt from "dayjs";
@@ -12,10 +12,10 @@ function Rr(t, e) {
12
12
  return t.apply(e, arguments);
13
13
  };
14
14
  }
15
- const { toString: In } = Object.prototype, { getPrototypeOf: Tt } = Object, Me = /* @__PURE__ */ ((t) => (e) => {
15
+ const { toString: In } = Object.prototype, { getPrototypeOf: Tt } = Object, ke = /* @__PURE__ */ ((t) => (e) => {
16
16
  const n = In.call(e);
17
17
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
18
- })(/* @__PURE__ */ Object.create(null)), B = (t) => (t = t.toLowerCase(), (e) => Me(e) === t), qe = (t) => (e) => typeof e === t, { isArray: ue } = Array, we = qe("undefined");
18
+ })(/* @__PURE__ */ Object.create(null)), B = (t) => (t = t.toLowerCase(), (e) => ke(e) === t), qe = (t) => (e) => typeof e === t, { isArray: ue } = Array, we = qe("undefined");
19
19
  function _n(t) {
20
20
  return t !== null && !we(t) && t.constructor !== null && !we(t.constructor) && _(t.constructor.isBuffer) && t.constructor.isBuffer(t);
21
21
  }
@@ -25,13 +25,13 @@ function $n(t) {
25
25
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Pr(t.buffer), e;
26
26
  }
27
27
  const Bn = qe("string"), _ = qe("function"), Tr = qe("number"), je = (t) => t !== null && typeof t == "object", Ln = (t) => t === !0 || t === !1, Ce = (t) => {
28
- if (Me(t) !== "object")
28
+ if (ke(t) !== "object")
29
29
  return !1;
30
30
  const e = Tt(t);
31
31
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
32
- }, Un = B("Date"), kn = B("File"), Mn = B("Blob"), qn = B("FileList"), jn = (t) => je(t) && _(t.pipe), zn = (t) => {
32
+ }, Un = B("Date"), Mn = B("File"), kn = B("Blob"), qn = B("FileList"), jn = (t) => je(t) && _(t.pipe), zn = (t) => {
33
33
  let e;
34
- return t && (typeof FormData == "function" && t instanceof FormData || _(t.append) && ((e = Me(t)) === "formdata" || // detect form-data instance
34
+ return t && (typeof FormData == "function" && t instanceof FormData || _(t.append) && ((e = ke(t)) === "formdata" || // detect form-data instance
35
35
  e === "object" && _(t.toString) && t.toString() === "[object FormData]"));
36
36
  }, Hn = B("URLSearchParams"), [Wn, Gn, Jn, Kn] = ["ReadableStream", "Request", "Response", "Headers"].map(B), Vn = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
37
37
  function Se(t, e, { allOwnKeys: n = !1 } = {}) {
@@ -114,7 +114,7 @@ const Qn = (t, e, n, { allOwnKeys: r } = {}) => (Se(e, (o, a) => {
114
114
  function(n, r, o) {
115
115
  return r.toUpperCase() + o;
116
116
  }
117
- ), Mt = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), so = B("RegExp"), Cr = (t, e) => {
117
+ ), kt = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), so = B("RegExp"), Cr = (t, e) => {
118
118
  const n = Object.getOwnPropertyDescriptors(t), r = {};
119
119
  Se(n, (o, a) => {
120
120
  let i;
@@ -198,8 +198,8 @@ const ho = (t) => {
198
198
  isHeaders: Kn,
199
199
  isUndefined: we,
200
200
  isDate: Un,
201
- isFile: kn,
202
- isBlob: Mn,
201
+ isFile: Mn,
202
+ isBlob: kn,
203
203
  isRegExp: so,
204
204
  isFunction: _,
205
205
  isStream: jn,
@@ -213,15 +213,15 @@ const ho = (t) => {
213
213
  stripBOM: Xn,
214
214
  inherits: Zn,
215
215
  toFlatObject: Yn,
216
- kindOf: Me,
216
+ kindOf: ke,
217
217
  kindOfTest: B,
218
218
  endsWith: eo,
219
219
  toArray: to,
220
220
  forEachEntry: no,
221
221
  matchAll: oo,
222
222
  isHTMLForm: ao,
223
- hasOwnProperty: Mt,
224
- hasOwnProp: Mt,
223
+ hasOwnProperty: kt,
224
+ hasOwnProp: kt,
225
225
  // an alias to avoid ESLint no-prototype-builtins detection
226
226
  reduceDescriptors: Cr,
227
227
  freezeMethods: lo,
@@ -336,11 +336,11 @@ function ze(t, e, n) {
336
336
  if (f.endsWith(m, "{}"))
337
337
  m = r ? m : m.slice(0, -2), y = JSON.stringify(y);
338
338
  else if (f.isArray(y) && wo(y) || (f.isFileList(y) || f.endsWith(m, "[]")) && (S = f.toArray(y)))
339
- return m = $r(m), S.forEach(function(g, T) {
340
- !(f.isUndefined(g) || g === null) && e.append(
339
+ return m = $r(m), S.forEach(function(v, T) {
340
+ !(f.isUndefined(v) || v === null) && e.append(
341
341
  // eslint-disable-next-line no-nested-ternary
342
342
  i === !0 ? jt([m], T, a) : i === null ? m : m + "[]",
343
- l(g)
343
+ l(v)
344
344
  );
345
345
  }), !1;
346
346
  }
@@ -351,7 +351,7 @@ function ze(t, e, n) {
351
351
  convertValue: l,
352
352
  isVisitable: pt
353
353
  });
354
- function v(y, m) {
354
+ function g(y, m) {
355
355
  if (!f.isUndefined(y)) {
356
356
  if (p.indexOf(y) !== -1)
357
357
  throw Error("Circular reference detected in " + m.join("."));
@@ -362,13 +362,13 @@ function ze(t, e, n) {
362
362
  f.isString(E) ? E.trim() : E,
363
363
  m,
364
364
  d
365
- )) === !0 && v(S, m ? m.concat(E) : [E]);
365
+ )) === !0 && g(S, m ? m.concat(E) : [E]);
366
366
  }), p.pop();
367
367
  }
368
368
  }
369
369
  if (!f.isObject(t))
370
370
  throw new TypeError("data must be an object");
371
- return v(t), e;
371
+ return g(t), e;
372
372
  }
373
373
  function zt(t) {
374
374
  const e = {
@@ -510,7 +510,7 @@ function Io(t) {
510
510
  a = n[r], e[a] = t[a];
511
511
  return e;
512
512
  }
513
- function kr(t) {
513
+ function Mr(t) {
514
514
  function e(n, r, o, a) {
515
515
  let i = n[a++];
516
516
  if (i === "__proto__") return !0;
@@ -541,7 +541,7 @@ const Ee = {
541
541
  transformRequest: [function(e, n) {
542
542
  const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, a = f.isObject(e);
543
543
  if (a && f.isHTMLForm(e) && (e = new FormData(e)), f.isFormData(e))
544
- return o ? JSON.stringify(kr(e)) : e;
544
+ return o ? JSON.stringify(Mr(e)) : e;
545
545
  if (f.isArrayBuffer(e) || f.isBuffer(e) || f.isStream(e) || f.isFile(e) || f.isBlob(e) || f.isReadableStream(e))
546
546
  return e;
547
547
  if (f.isArrayBufferView(e))
@@ -654,10 +654,10 @@ function Qe(t, e, n, r, o) {
654
654
  return r.test(e);
655
655
  }
656
656
  }
657
- function ko(t) {
657
+ function Mo(t) {
658
658
  return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, n, r) => n.toUpperCase() + r);
659
659
  }
660
- function Mo(t, e) {
660
+ function ko(t, e) {
661
661
  const n = f.toCamelCase(" " + e);
662
662
  ["get", "set", "has"].forEach((r) => {
663
663
  Object.defineProperty(t, r + n, {
@@ -745,7 +745,7 @@ class I {
745
745
  n[i] = Ne(o), delete n[a];
746
746
  return;
747
747
  }
748
- const s = e ? ko(a) : String(a).trim();
748
+ const s = e ? Mo(a) : String(a).trim();
749
749
  s !== a && delete n[a], n[s] = Ne(o), r[s] = !0;
750
750
  }), this;
751
751
  }
@@ -781,7 +781,7 @@ class I {
781
781
  }).accessors, o = this.prototype;
782
782
  function a(i) {
783
783
  const s = he(i);
784
- r[s] || (Mo(o, i), r[s] = !0);
784
+ r[s] || (ko(o, i), r[s] = !0);
785
785
  }
786
786
  return f.isArray(e) ? e.forEach(a) : a(e), this;
787
787
  }
@@ -804,7 +804,7 @@ function Xe(t, e) {
804
804
  a = s.call(n, a, o.normalize(), e ? e.status : void 0);
805
805
  }), o.normalize(), a;
806
806
  }
807
- function Mr(t) {
807
+ function kr(t) {
808
808
  return !!(t && t.__CANCEL__);
809
809
  }
810
810
  function fe(t, e, n) {
@@ -839,8 +839,8 @@ function jo(t, e) {
839
839
  d += n[p++], p = p % t;
840
840
  if (o = (o + 1) % t, o === a && (a = (a + 1) % t), l - i < e)
841
841
  return;
842
- const v = c && l - c;
843
- return v ? Math.round(d * 1e3 / v) : void 0;
842
+ const g = c && l - c;
843
+ return g ? Math.round(d * 1e3 / g) : void 0;
844
844
  };
845
845
  }
846
846
  function zo(t, e) {
@@ -1039,22 +1039,22 @@ const zr = (t) => {
1039
1039
  const o = zr(t);
1040
1040
  let a = o.data;
1041
1041
  const i = I.from(o.headers).normalize();
1042
- let { responseType: s, onUploadProgress: u, onDownloadProgress: l } = o, c, p, d, v, y;
1042
+ let { responseType: s, onUploadProgress: u, onDownloadProgress: l } = o, c, p, d, g, y;
1043
1043
  function m() {
1044
- v && v(), y && y(), o.cancelToken && o.cancelToken.unsubscribe(c), o.signal && o.signal.removeEventListener("abort", c);
1044
+ g && g(), y && y(), o.cancelToken && o.cancelToken.unsubscribe(c), o.signal && o.signal.removeEventListener("abort", c);
1045
1045
  }
1046
1046
  let h = new XMLHttpRequest();
1047
1047
  h.open(o.method.toUpperCase(), o.url, !0), h.timeout = o.timeout;
1048
1048
  function S() {
1049
1049
  if (!h)
1050
1050
  return;
1051
- const g = I.from(
1051
+ const v = I.from(
1052
1052
  "getAllResponseHeaders" in h && h.getAllResponseHeaders()
1053
1053
  ), A = {
1054
1054
  data: !s || s === "text" || s === "json" ? h.responseText : h.response,
1055
1055
  status: h.status,
1056
1056
  statusText: h.statusText,
1057
- headers: g,
1057
+ headers: v,
1058
1058
  config: t,
1059
1059
  request: h
1060
1060
  };
@@ -1081,8 +1081,8 @@ const zr = (t) => {
1081
1081
  )), h = null;
1082
1082
  }, a === void 0 && i.setContentType(null), "setRequestHeader" in h && f.forEach(i.toJSON(), function(T, A) {
1083
1083
  h.setRequestHeader(A, T);
1084
- }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), l && ([d, y] = _e(l, !0), h.addEventListener("progress", d)), u && h.upload && ([p, v] = _e(u), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (c = (g) => {
1085
- h && (r(!g || g.type ? new fe(null, t, h) : g), h.abort(), h = null);
1084
+ }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), l && ([d, y] = _e(l, !0), h.addEventListener("progress", d)), u && h.upload && ([p, g] = _e(u), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", g)), (o.cancelToken || o.signal) && (c = (v) => {
1085
+ h && (r(!v || v.type ? new fe(null, t, h) : v), h.abort(), h = null);
1086
1086
  }, o.cancelToken && o.cancelToken.subscribe(c), o.signal && (o.signal.aborted ? c() : o.signal.addEventListener("abort", c)));
1087
1087
  const E = qo(o.url);
1088
1088
  if (E && D.protocols.indexOf(E) === -1) {
@@ -1230,9 +1230,9 @@ const ra = async (t) => {
1230
1230
  fetchOptions: d
1231
1231
  } = zr(t);
1232
1232
  l = l ? (l + "").toLowerCase() : "text";
1233
- let v = Qo([o, a && a.toAbortSignal()], i), y;
1234
- const m = v && v.unsubscribe && (() => {
1235
- v.unsubscribe();
1233
+ let g = Qo([o, a && a.toAbortSignal()], i), y;
1234
+ const m = g && g.unsubscribe && (() => {
1235
+ g.unsubscribe();
1236
1236
  });
1237
1237
  let h;
1238
1238
  try {
@@ -1254,7 +1254,7 @@ const ra = async (t) => {
1254
1254
  const S = "credentials" in Request.prototype;
1255
1255
  y = new Request(e, {
1256
1256
  ...d,
1257
- signal: v,
1257
+ signal: g,
1258
1258
  method: n.toUpperCase(),
1259
1259
  headers: c.normalize().toJSON(),
1260
1260
  body: r,
@@ -1262,8 +1262,8 @@ const ra = async (t) => {
1262
1262
  credentials: S ? p : void 0
1263
1263
  });
1264
1264
  let E = await fetch(y);
1265
- const g = yt && (l === "stream" || l === "response");
1266
- if (yt && (s || g && m)) {
1265
+ const v = yt && (l === "stream" || l === "response");
1266
+ if (yt && (s || v && m)) {
1267
1267
  const A = {};
1268
1268
  ["status", "statusText", "headers"].forEach((L) => {
1269
1269
  A[L] = E[L];
@@ -1281,7 +1281,7 @@ const ra = async (t) => {
1281
1281
  }
1282
1282
  l = l || "text";
1283
1283
  let T = await $e[f.findKey($e, l) || "text"](E, t);
1284
- return !g && m && m(), await new Promise((A, C) => {
1284
+ return !v && m && m(), await new Promise((A, C) => {
1285
1285
  qr(A, C, {
1286
1286
  data: T,
1287
1287
  headers: I.from(E.headers),
@@ -1359,7 +1359,7 @@ function Zt(t) {
1359
1359
  r
1360
1360
  ), r.headers = I.from(r.headers), r;
1361
1361
  }, function(r) {
1362
- return Mr(r) || (Ze(t), r && r.response && (r.response.data = Xe.call(
1362
+ return kr(r) || (Ze(t), r && r.response && (r.response.data = Xe.call(
1363
1363
  t,
1364
1364
  t.transformResponse,
1365
1365
  r.response
@@ -1406,7 +1406,7 @@ function ia(t, e, n) {
1406
1406
  const mt = {
1407
1407
  assertOptions: ia,
1408
1408
  validators: Ct
1409
- }, W = mt.validators;
1409
+ }, G = mt.validators;
1410
1410
  class Z {
1411
1411
  constructor(e) {
1412
1412
  this.defaults = e, this.interceptors = {
@@ -1443,14 +1443,14 @@ class Z {
1443
1443
  typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = te(this.defaults, n);
1444
1444
  const { transitional: r, paramsSerializer: o, headers: a } = n;
1445
1445
  r !== void 0 && mt.assertOptions(r, {
1446
- silentJSONParsing: W.transitional(W.boolean),
1447
- forcedJSONParsing: W.transitional(W.boolean),
1448
- clarifyTimeoutError: W.transitional(W.boolean)
1446
+ silentJSONParsing: G.transitional(G.boolean),
1447
+ forcedJSONParsing: G.transitional(G.boolean),
1448
+ clarifyTimeoutError: G.transitional(G.boolean)
1449
1449
  }, !1), o != null && (f.isFunction(o) ? n.paramsSerializer = {
1450
1450
  serialize: o
1451
1451
  } : mt.assertOptions(o, {
1452
- encode: W.function,
1453
- serialize: W.function
1452
+ encode: G.function,
1453
+ serialize: G.function
1454
1454
  }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1455
1455
  let i = a && f.merge(
1456
1456
  a.common,
@@ -1479,18 +1479,18 @@ class Z {
1479
1479
  return c;
1480
1480
  }
1481
1481
  d = s.length;
1482
- let v = n;
1482
+ let g = n;
1483
1483
  for (p = 0; p < d; ) {
1484
1484
  const y = s[p++], m = s[p++];
1485
1485
  try {
1486
- v = y(v);
1486
+ g = y(g);
1487
1487
  } catch (h) {
1488
1488
  m.call(this, h);
1489
1489
  break;
1490
1490
  }
1491
1491
  }
1492
1492
  try {
1493
- c = Zt.call(this, v);
1493
+ c = Zt.call(this, g);
1494
1494
  } catch (y) {
1495
1495
  return Promise.reject(y);
1496
1496
  }
@@ -1687,7 +1687,7 @@ const R = Kr(Ee);
1687
1687
  R.Axios = Z;
1688
1688
  R.CanceledError = fe;
1689
1689
  R.CancelToken = Nt;
1690
- R.isCancel = Mr;
1690
+ R.isCancel = kr;
1691
1691
  R.VERSION = Jr;
1692
1692
  R.toFormData = ze;
1693
1693
  R.AxiosError = b;
@@ -1699,7 +1699,7 @@ R.spread = sa;
1699
1699
  R.isAxiosError = la;
1700
1700
  R.mergeConfig = te;
1701
1701
  R.AxiosHeaders = I;
1702
- R.formToJSON = (t) => kr(f.isHTMLForm(t) ? new FormData(t) : t);
1702
+ R.formToJSON = (t) => Mr(f.isHTMLForm(t) ? new FormData(t) : t);
1703
1703
  R.getAdapter = Gr.getAdapter;
1704
1704
  R.HttpStatusCode = gt;
1705
1705
  R.default = R;
@@ -1818,9 +1818,9 @@ var tt = function() {
1818
1818
  return tt;
1819
1819
  }
1820
1820
  }
1821
- }() : tt, ne = va(), ka = wa(), x = Object.getPrototypeOf || (ka ? function(t) {
1821
+ }() : tt, ne = va(), Ma = wa(), x = Object.getPrototypeOf || (Ma ? function(t) {
1822
1822
  return t.__proto__;
1823
- } : null), ae = {}, Ma = typeof Uint8Array > "u" || !x ? w : x(Uint8Array), ee = {
1823
+ } : null), ae = {}, ka = typeof Uint8Array > "u" || !x ? w : x(Uint8Array), ee = {
1824
1824
  __proto__: null,
1825
1825
  "%AggregateError%": typeof AggregateError > "u" ? w : AggregateError,
1826
1826
  "%Array%": Array,
@@ -1879,7 +1879,7 @@ var tt = function() {
1879
1879
  "%Symbol%": ne ? Symbol : w,
1880
1880
  "%SyntaxError%": se,
1881
1881
  "%ThrowTypeError%": Ua,
1882
- "%TypedArray%": Ma,
1882
+ "%TypedArray%": ka,
1883
1883
  "%TypeError%": ie,
1884
1884
  "%Uint8Array%": typeof Uint8Array > "u" ? w : Uint8Array,
1885
1885
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? w : Uint8ClampedArray,
@@ -1999,8 +1999,8 @@ var ja = function t(e) {
1999
1999
  var r = Ka(e), o = r.length > 0 ? r[0] : "", a = Va("%" + o + "%", n), i = a.name, s = a.value, u = !1, l = a.alias;
2000
2000
  l && (o = l[0], Ha(r, za([0, 1], l)));
2001
2001
  for (var c = 1, p = !0; c < r.length; c += 1) {
2002
- var d = r[c], v = Le(d, 0, 1), y = Le(d, -1);
2003
- if ((v === '"' || v === "'" || v === "`" || y === '"' || y === "'" || y === "`") && v !== y)
2002
+ var d = r[c], g = Le(d, 0, 1), y = Le(d, -1);
2003
+ if ((g === '"' || g === "'" || g === "`" || y === '"' || y === "'" || y === "`") && g !== y)
2004
2004
  throw new se("property names with quotes must have matching quotes");
2005
2005
  if ((d === "constructor" || !p) && (u = !0), o += "." + d, i = "%" + o + "%", Be(ee, i))
2006
2006
  s = ee[i];
@@ -2105,9 +2105,9 @@ var Ya = Yr, ei = pe, lr = Za, ti = Ya(), cr = Zr, ur = Ae, ri = ei("%Math.floor
2105
2105
  t.exports = function(d) {
2106
2106
  if (typeof d != "function")
2107
2107
  throw new o("a function is required");
2108
- var v = s(e, i, arguments);
2108
+ var g = s(e, i, arguments);
2109
2109
  return r(
2110
- v,
2110
+ g,
2111
2111
  1 + l(0, d.length - (arguments.length - 1)),
2112
2112
  !0
2113
2113
  );
@@ -2125,7 +2125,7 @@ const si = {}, li = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2125
2125
  __proto__: null,
2126
2126
  default: si
2127
2127
  }, Symbol.toStringTag, { value: "Module" })), ci = /* @__PURE__ */ ua(li);
2128
- var _t = typeof Map == "function" && Map.prototype, nt = Object.getOwnPropertyDescriptor && _t ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ue = _t && nt && typeof nt.get == "function" ? nt.get : null, fr = _t && Map.prototype.forEach, $t = typeof Set == "function" && Set.prototype, ot = Object.getOwnPropertyDescriptor && $t ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, ke = $t && ot && typeof ot.get == "function" ? ot.get : null, pr = $t && Set.prototype.forEach, ui = typeof WeakMap == "function" && WeakMap.prototype, ge = ui ? WeakMap.prototype.has : null, fi = typeof WeakSet == "function" && WeakSet.prototype, ve = fi ? WeakSet.prototype.has : null, pi = typeof WeakRef == "function" && WeakRef.prototype, dr = pi ? WeakRef.prototype.deref : null, di = Boolean.prototype.valueOf, yi = Object.prototype.toString, hi = Function.prototype.toString, mi = String.prototype.match, Bt = String.prototype.slice, J = String.prototype.replace, gi = String.prototype.toUpperCase, yr = String.prototype.toLowerCase, rn = RegExp.prototype.test, hr = Array.prototype.concat, M = Array.prototype.join, vi = Array.prototype.slice, mr = Math.floor, bt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, at = Object.getOwnPropertySymbols, wt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, le = typeof Symbol == "function" && typeof Symbol.iterator == "object", F = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === le || !0) ? Symbol.toStringTag : null, nn = Object.prototype.propertyIsEnumerable, gr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2128
+ var _t = typeof Map == "function" && Map.prototype, nt = Object.getOwnPropertyDescriptor && _t ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ue = _t && nt && typeof nt.get == "function" ? nt.get : null, fr = _t && Map.prototype.forEach, $t = typeof Set == "function" && Set.prototype, ot = Object.getOwnPropertyDescriptor && $t ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Me = $t && ot && typeof ot.get == "function" ? ot.get : null, pr = $t && Set.prototype.forEach, ui = typeof WeakMap == "function" && WeakMap.prototype, ge = ui ? WeakMap.prototype.has : null, fi = typeof WeakSet == "function" && WeakSet.prototype, ve = fi ? WeakSet.prototype.has : null, pi = typeof WeakRef == "function" && WeakRef.prototype, dr = pi ? WeakRef.prototype.deref : null, di = Boolean.prototype.valueOf, yi = Object.prototype.toString, hi = Function.prototype.toString, mi = String.prototype.match, Bt = String.prototype.slice, K = String.prototype.replace, gi = String.prototype.toUpperCase, yr = String.prototype.toLowerCase, rn = RegExp.prototype.test, hr = Array.prototype.concat, k = Array.prototype.join, vi = Array.prototype.slice, mr = Math.floor, bt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, at = Object.getOwnPropertySymbols, wt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, le = typeof Symbol == "function" && typeof Symbol.iterator == "object", F = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === le || !0) ? Symbol.toStringTag : null, nn = Object.prototype.propertyIsEnumerable, gr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2129
2129
  return t.__proto__;
2130
2130
  } : null);
2131
2131
  function vr(t, e) {
@@ -2136,23 +2136,23 @@ function vr(t, e) {
2136
2136
  var r = t < 0 ? -mr(-t) : mr(t);
2137
2137
  if (r !== t) {
2138
2138
  var o = String(r), a = Bt.call(e, o.length + 1);
2139
- return J.call(o, n, "$&_") + "." + J.call(J.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
2139
+ return K.call(o, n, "$&_") + "." + K.call(K.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
2140
2140
  }
2141
2141
  }
2142
- return J.call(e, n, "$&_");
2142
+ return K.call(e, n, "$&_");
2143
2143
  }
2144
2144
  var St = ci, br = St.custom, wr = an(br) ? br : null, bi = function t(e, n, r, o) {
2145
2145
  var a = n || {};
2146
- if (G(a, "quoteStyle") && a.quoteStyle !== "single" && a.quoteStyle !== "double")
2146
+ if (J(a, "quoteStyle") && a.quoteStyle !== "single" && a.quoteStyle !== "double")
2147
2147
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
2148
- if (G(a, "maxStringLength") && (typeof a.maxStringLength == "number" ? a.maxStringLength < 0 && a.maxStringLength !== 1 / 0 : a.maxStringLength !== null))
2148
+ if (J(a, "maxStringLength") && (typeof a.maxStringLength == "number" ? a.maxStringLength < 0 && a.maxStringLength !== 1 / 0 : a.maxStringLength !== null))
2149
2149
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
2150
- var i = G(a, "customInspect") ? a.customInspect : !0;
2150
+ var i = J(a, "customInspect") ? a.customInspect : !0;
2151
2151
  if (typeof i != "boolean" && i !== "symbol")
2152
2152
  throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
2153
- if (G(a, "indent") && a.indent !== null && a.indent !== " " && !(parseInt(a.indent, 10) === a.indent && a.indent > 0))
2153
+ if (J(a, "indent") && a.indent !== null && a.indent !== " " && !(parseInt(a.indent, 10) === a.indent && a.indent > 0))
2154
2154
  throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
2155
- if (G(a, "numericSeparator") && typeof a.numericSeparator != "boolean")
2155
+ if (J(a, "numericSeparator") && typeof a.numericSeparator != "boolean")
2156
2156
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
2157
2157
  var s = a.numericSeparator;
2158
2158
  if (typeof e > "u")
@@ -2186,16 +2186,16 @@ var St = ci, br = St.custom, wr = an(br) ? br : null, bi = function t(e, n, r, o
2186
2186
  var ye = {
2187
2187
  depth: a.depth
2188
2188
  };
2189
- return G(a, "quoteStyle") && (ye.quoteStyle = a.quoteStyle), t($, ye, r + 1, o);
2189
+ return J(a, "quoteStyle") && (ye.quoteStyle = a.quoteStyle), t($, ye, r + 1, o);
2190
2190
  }
2191
2191
  return t($, a, r + 1, o);
2192
2192
  }
2193
2193
  if (typeof e == "function" && !Sr(e)) {
2194
- var v = xi(e), y = Pe(e, d);
2195
- return "[Function" + (v ? ": " + v : " (anonymous)") + "]" + (y.length > 0 ? " { " + M.call(y, ", ") + " }" : "");
2194
+ var g = xi(e), y = Pe(e, d);
2195
+ return "[Function" + (g ? ": " + g : " (anonymous)") + "]" + (y.length > 0 ? " { " + k.call(y, ", ") + " }" : "");
2196
2196
  }
2197
2197
  if (an(e)) {
2198
- var m = le ? J.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : wt.call(e);
2198
+ var m = le ? K.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : wt.call(e);
2199
2199
  return typeof e == "object" && !le ? me(m) : m;
2200
2200
  }
2201
2201
  if (_i(e)) {
@@ -2206,12 +2206,12 @@ var St = ci, br = St.custom, wr = an(br) ? br : null, bi = function t(e, n, r, o
2206
2206
  if (Et(e)) {
2207
2207
  if (e.length === 0)
2208
2208
  return "[]";
2209
- var g = Pe(e, d);
2210
- return p && !Bi(g) ? "[" + At(g, p) + "]" : "[ " + M.call(g, ", ") + " ]";
2209
+ var v = Pe(e, d);
2210
+ return p && !Bi(v) ? "[" + At(v, p) + "]" : "[ " + k.call(v, ", ") + " ]";
2211
2211
  }
2212
2212
  if (Ei(e)) {
2213
2213
  var T = Pe(e, d);
2214
- return !("cause" in Error.prototype) && "cause" in e && !nn.call(e, "cause") ? "{ [" + String(e) + "] " + M.call(hr.call("[cause]: " + d(e.cause), T), ", ") + " }" : T.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + M.call(T, ", ") + " }";
2214
+ return !("cause" in Error.prototype) && "cause" in e && !nn.call(e, "cause") ? "{ [" + String(e) + "] " + k.call(hr.call("[cause]: " + d(e.cause), T), ", ") + " }" : T.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + k.call(T, ", ") + " }";
2215
2215
  }
2216
2216
  if (typeof e == "object" && i) {
2217
2217
  if (wr && typeof e[wr] == "function" && St)
@@ -2229,7 +2229,7 @@ var St = ci, br = St.custom, wr = an(br) ? br : null, bi = function t(e, n, r, o
2229
2229
  var C = [];
2230
2230
  return pr && pr.call(e, function($) {
2231
2231
  C.push(d($, e));
2232
- }), Er("Set", ke.call(e), C, p);
2232
+ }), Er("Set", Me.call(e), C, p);
2233
2233
  }
2234
2234
  if (Ci(e))
2235
2235
  return it("WeakMap");
@@ -2250,8 +2250,8 @@ var St = ci, br = St.custom, wr = an(br) ? br : null, bi = function t(e, n, r, o
2250
2250
  if (typeof globalThis < "u" && e === globalThis || typeof er < "u" && e === er)
2251
2251
  return "{ [object globalThis] }";
2252
2252
  if (!Si(e) && !Sr(e)) {
2253
- var N = Pe(e, d), q = gr ? gr(e) === Object.prototype : e instanceof Object || e.constructor === Object, L = e instanceof Object ? "" : "null prototype", j = !q && F && Object(e) === e && F in e ? Bt.call(K(e), 8, -1) : L ? "Object" : "", Re = q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", re = Re + (j || L ? "[" + M.call(hr.call([], j || [], L || []), ": ") + "] " : "");
2254
- return N.length === 0 ? re + "{}" : p ? re + "{" + At(N, p) + "}" : re + "{ " + M.call(N, ", ") + " }";
2253
+ var N = Pe(e, d), q = gr ? gr(e) === Object.prototype : e instanceof Object || e.constructor === Object, L = e instanceof Object ? "" : "null prototype", j = !q && F && Object(e) === e && F in e ? Bt.call(V(e), 8, -1) : L ? "Object" : "", Re = q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", re = Re + (j || L ? "[" + k.call(hr.call([], j || [], L || []), ": ") + "] " : "");
2254
+ return N.length === 0 ? re + "{}" : p ? re + "{" + At(N, p) + "}" : re + "{ " + k.call(N, ", ") + " }";
2255
2255
  }
2256
2256
  return String(e);
2257
2257
  };
@@ -2260,28 +2260,28 @@ function on(t, e, n) {
2260
2260
  return r + t + r;
2261
2261
  }
2262
2262
  function wi(t) {
2263
- return J.call(String(t), /"/g, "&quot;");
2263
+ return K.call(String(t), /"/g, "&quot;");
2264
2264
  }
2265
2265
  function Et(t) {
2266
- return K(t) === "[object Array]" && (!F || !(typeof t == "object" && F in t));
2266
+ return V(t) === "[object Array]" && (!F || !(typeof t == "object" && F in t));
2267
2267
  }
2268
2268
  function Si(t) {
2269
- return K(t) === "[object Date]" && (!F || !(typeof t == "object" && F in t));
2269
+ return V(t) === "[object Date]" && (!F || !(typeof t == "object" && F in t));
2270
2270
  }
2271
2271
  function Sr(t) {
2272
- return K(t) === "[object RegExp]" && (!F || !(typeof t == "object" && F in t));
2272
+ return V(t) === "[object RegExp]" && (!F || !(typeof t == "object" && F in t));
2273
2273
  }
2274
2274
  function Ei(t) {
2275
- return K(t) === "[object Error]" && (!F || !(typeof t == "object" && F in t));
2275
+ return V(t) === "[object Error]" && (!F || !(typeof t == "object" && F in t));
2276
2276
  }
2277
2277
  function Ai(t) {
2278
- return K(t) === "[object String]" && (!F || !(typeof t == "object" && F in t));
2278
+ return V(t) === "[object String]" && (!F || !(typeof t == "object" && F in t));
2279
2279
  }
2280
2280
  function Oi(t) {
2281
- return K(t) === "[object Number]" && (!F || !(typeof t == "object" && F in t));
2281
+ return V(t) === "[object Number]" && (!F || !(typeof t == "object" && F in t));
2282
2282
  }
2283
2283
  function Ri(t) {
2284
- return K(t) === "[object Boolean]" && (!F || !(typeof t == "object" && F in t));
2284
+ return V(t) === "[object Boolean]" && (!F || !(typeof t == "object" && F in t));
2285
2285
  }
2286
2286
  function an(t) {
2287
2287
  if (le)
@@ -2308,10 +2308,10 @@ function Pi(t) {
2308
2308
  var Ti = Object.prototype.hasOwnProperty || function(t) {
2309
2309
  return t in this;
2310
2310
  };
2311
- function G(t, e) {
2311
+ function J(t, e) {
2312
2312
  return Ti.call(t, e);
2313
2313
  }
2314
- function K(t) {
2314
+ function V(t) {
2315
2315
  return yi.call(t);
2316
2316
  }
2317
2317
  function xi(t) {
@@ -2334,7 +2334,7 @@ function Fi(t) {
2334
2334
  try {
2335
2335
  Ue.call(t);
2336
2336
  try {
2337
- ke.call(t);
2337
+ Me.call(t);
2338
2338
  } catch {
2339
2339
  return !0;
2340
2340
  }
@@ -2368,10 +2368,10 @@ function Ni(t) {
2368
2368
  return !1;
2369
2369
  }
2370
2370
  function Di(t) {
2371
- if (!ke || !t || typeof t != "object")
2371
+ if (!Me || !t || typeof t != "object")
2372
2372
  return !1;
2373
2373
  try {
2374
- ke.call(t);
2374
+ Me.call(t);
2375
2375
  try {
2376
2376
  Ue.call(t);
2377
2377
  } catch {
@@ -2405,7 +2405,7 @@ function ln(t, e) {
2405
2405
  var n = t.length - e.maxStringLength, r = "... " + n + " more character" + (n > 1 ? "s" : "");
2406
2406
  return ln(Bt.call(t, 0, e.maxStringLength), e) + r;
2407
2407
  }
2408
- var o = J.call(J.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, $i);
2408
+ var o = K.call(K.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, $i);
2409
2409
  return on(o, "single", e);
2410
2410
  }
2411
2411
  function $i(t) {
@@ -2425,7 +2425,7 @@ function it(t) {
2425
2425
  return t + " { ? }";
2426
2426
  }
2427
2427
  function Er(t, e, n, r) {
2428
- var o = r ? At(n, r) : M.call(n, ", ");
2428
+ var o = r ? At(n, r) : k.call(n, ", ");
2429
2429
  return t + " (" + e + ") {" + o + "}";
2430
2430
  }
2431
2431
  function Bi(t) {
@@ -2440,12 +2440,12 @@ function Li(t, e) {
2440
2440
  if (t.indent === " ")
2441
2441
  n = " ";
2442
2442
  else if (typeof t.indent == "number" && t.indent > 0)
2443
- n = M.call(Array(t.indent + 1), " ");
2443
+ n = k.call(Array(t.indent + 1), " ");
2444
2444
  else
2445
2445
  return null;
2446
2446
  return {
2447
2447
  base: n,
2448
- prev: M.call(Array(e + 1), n)
2448
+ prev: k.call(Array(e + 1), n)
2449
2449
  };
2450
2450
  }
2451
2451
  function At(t, e) {
@@ -2453,7 +2453,7 @@ function At(t, e) {
2453
2453
  return "";
2454
2454
  var n = `
2455
2455
  ` + e.prev + e.base;
2456
- return n + M.call(t, "," + n) + `
2456
+ return n + k.call(t, "," + n) + `
2457
2457
  ` + e.prev;
2458
2458
  }
2459
2459
  function Pe(t, e) {
@@ -2461,7 +2461,7 @@ function Pe(t, e) {
2461
2461
  if (n) {
2462
2462
  r.length = t.length;
2463
2463
  for (var o = 0; o < t.length; o++)
2464
- r[o] = G(t, o) ? e(t[o], t) : "";
2464
+ r[o] = J(t, o) ? e(t[o], t) : "";
2465
2465
  }
2466
2466
  var a = typeof at == "function" ? at(t) : [], i;
2467
2467
  if (le) {
@@ -2470,13 +2470,13 @@ function Pe(t, e) {
2470
2470
  i["$" + a[s]] = a[s];
2471
2471
  }
2472
2472
  for (var u in t)
2473
- G(t, u) && (n && String(Number(u)) === u && u < t.length || le && i["$" + u] instanceof Symbol || (rn.call(/[^\w$]/, u) ? r.push(e(u, t) + ": " + e(t[u], t)) : r.push(u + ": " + e(t[u], t))));
2473
+ J(t, u) && (n && String(Number(u)) === u && u < t.length || le && i["$" + u] instanceof Symbol || (rn.call(/[^\w$]/, u) ? r.push(e(u, t) + ": " + e(t[u], t)) : r.push(u + ": " + e(t[u], t))));
2474
2474
  if (typeof at == "function")
2475
2475
  for (var l = 0; l < a.length; l++)
2476
2476
  nn.call(t, a[l]) && r.push("[" + e(a[l]) + "]: " + e(t[a[l]], t));
2477
2477
  return r;
2478
2478
  }
2479
- var cn = pe, de = ii, Ui = bi, ki = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%", !0), Mi = de("WeakMap.prototype.get", !0), qi = de("WeakMap.prototype.set", !0), ji = de("WeakMap.prototype.has", !0), zi = de("Map.prototype.get", !0), Hi = de("Map.prototype.set", !0), Wi = de("Map.prototype.has", !0), Lt = function(t, e) {
2479
+ var cn = pe, de = ii, Ui = bi, Mi = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%", !0), ki = de("WeakMap.prototype.get", !0), qi = de("WeakMap.prototype.set", !0), ji = de("WeakMap.prototype.has", !0), zi = de("Map.prototype.get", !0), Hi = de("Map.prototype.set", !0), Wi = de("Map.prototype.has", !0), Lt = function(t, e) {
2480
2480
  for (var n = t, r; (r = n.next) !== null; n = r)
2481
2481
  if (r.key === e)
2482
2482
  return n.next = r.next, r.next = /** @type {NonNullable<typeof list.next>} */
@@ -2499,12 +2499,12 @@ var cn = pe, de = ii, Ui = bi, ki = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2499
2499
  var e, n, r, o = {
2500
2500
  assert: function(a) {
2501
2501
  if (!o.has(a))
2502
- throw new ki("Side channel does not contain " + Ui(a));
2502
+ throw new Mi("Side channel does not contain " + Ui(a));
2503
2503
  },
2504
2504
  get: function(a) {
2505
2505
  if (Te && a && (typeof a == "object" || typeof a == "function")) {
2506
2506
  if (e)
2507
- return Mi(e, a);
2507
+ return ki(e, a);
2508
2508
  } else if (xe) {
2509
2509
  if (n)
2510
2510
  return zi(n, a);
@@ -2602,8 +2602,8 @@ var cn = pe, de = ii, Ui = bi, ki = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2602
2602
  return e;
2603
2603
  var i = e;
2604
2604
  if (typeof e == "symbol" ? i = Symbol.prototype.toString.call(e) : typeof e != "string" && (i = String(e)), r === "iso-8859-1")
2605
- return escape(i).replace(/%u[0-9a-f]{4}/gi, function(v) {
2606
- return "%26%23" + parseInt(v.slice(2), 16) + "%3B";
2605
+ return escape(i).replace(/%u[0-9a-f]{4}/gi, function(g) {
2606
+ return "%26%23" + parseInt(g.slice(2), 16) + "%3B";
2607
2607
  });
2608
2608
  for (var s = "", u = 0; u < i.length; u += ct) {
2609
2609
  for (var l = i.length >= ct ? i.slice(u, u + ct) : i, c = [], p = 0; p < l.length; ++p) {
@@ -2671,8 +2671,8 @@ var cn = pe, de = ii, Ui = bi, ki = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2671
2671
  repeat: function(e) {
2672
2672
  return e;
2673
2673
  }
2674
- }, k = Array.isArray, us = Array.prototype.push, yn = function(t, e) {
2675
- us.apply(t, k(e) ? e : [e]);
2674
+ }, M = Array.isArray, us = Array.prototype.push, yn = function(t, e) {
2675
+ us.apply(t, M(e) ? e : [e]);
2676
2676
  }, fs = Date.prototype.toISOString, Ar = be.default, P = {
2677
2677
  addQueryPrefix: !1,
2678
2678
  allowDots: !1,
@@ -2696,8 +2696,8 @@ var cn = pe, de = ii, Ui = bi, ki = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2696
2696
  strictNullHandling: !1
2697
2697
  }, ps = function(e) {
2698
2698
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
2699
- }, ut = {}, ds = function t(e, n, r, o, a, i, s, u, l, c, p, d, v, y, m, h, S, E) {
2700
- for (var g = e, T = E, A = 0, C = !1; (T = T.get(ut)) !== void 0 && !C; ) {
2699
+ }, ut = {}, ds = function t(e, n, r, o, a, i, s, u, l, c, p, d, g, y, m, h, S, E) {
2700
+ for (var v = e, T = E, A = 0, C = !1; (T = T.get(ut)) !== void 0 && !C; ) {
2701
2701
  var N = T.get(e);
2702
2702
  if (A += 1, typeof N < "u") {
2703
2703
  if (N === A)
@@ -2706,42 +2706,42 @@ var cn = pe, de = ii, Ui = bi, ki = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2706
2706
  }
2707
2707
  typeof T.get(ut) > "u" && (A = 0);
2708
2708
  }
2709
- if (typeof c == "function" ? g = c(n, g) : g instanceof Date ? g = v(g) : r === "comma" && k(g) && (g = Ie.maybeMap(g, function(Ke) {
2710
- return Ke instanceof Date ? v(Ke) : Ke;
2711
- })), g === null) {
2709
+ if (typeof c == "function" ? v = c(n, v) : v instanceof Date ? v = g(v) : r === "comma" && M(v) && (v = Ie.maybeMap(v, function(Ke) {
2710
+ return Ke instanceof Date ? g(Ke) : Ke;
2711
+ })), v === null) {
2712
2712
  if (i)
2713
2713
  return l && !h ? l(n, P.encoder, S, "key", y) : n;
2714
- g = "";
2714
+ v = "";
2715
2715
  }
2716
- if (ps(g) || Ie.isBuffer(g)) {
2716
+ if (ps(v) || Ie.isBuffer(v)) {
2717
2717
  if (l) {
2718
2718
  var q = h ? n : l(n, P.encoder, S, "key", y);
2719
- return [m(q) + "=" + m(l(g, P.encoder, S, "value", y))];
2719
+ return [m(q) + "=" + m(l(v, P.encoder, S, "value", y))];
2720
2720
  }
2721
- return [m(n) + "=" + m(String(g))];
2721
+ return [m(n) + "=" + m(String(v))];
2722
2722
  }
2723
2723
  var L = [];
2724
- if (typeof g > "u")
2724
+ if (typeof v > "u")
2725
2725
  return L;
2726
2726
  var j;
2727
- if (r === "comma" && k(g))
2728
- h && l && (g = Ie.maybeMap(g, l)), j = [{ value: g.length > 0 ? g.join(",") || null : void 0 }];
2729
- else if (k(c))
2727
+ if (r === "comma" && M(v))
2728
+ h && l && (v = Ie.maybeMap(v, l)), j = [{ value: v.length > 0 ? v.join(",") || null : void 0 }];
2729
+ else if (M(c))
2730
2730
  j = c;
2731
2731
  else {
2732
- var Re = Object.keys(g);
2732
+ var Re = Object.keys(v);
2733
2733
  j = p ? Re.sort(p) : Re;
2734
2734
  }
2735
- var re = u ? n.replace(/\./g, "%2E") : n, $ = o && k(g) && g.length === 1 ? re + "[]" : re;
2736
- if (a && k(g) && g.length === 0)
2735
+ var re = u ? n.replace(/\./g, "%2E") : n, $ = o && M(v) && v.length === 1 ? re + "[]" : re;
2736
+ if (a && M(v) && v.length === 0)
2737
2737
  return $ + "[]";
2738
2738
  for (var z = 0; z < j.length; ++z) {
2739
- var H = j[z], ye = typeof H == "object" && typeof H.value < "u" ? H.value : g[H];
2739
+ var H = j[z], ye = typeof H == "object" && typeof H.value < "u" ? H.value : v[H];
2740
2740
  if (!(s && ye === null)) {
2741
- var Je = d && u ? H.replace(/\./g, "%2E") : H, wn = k(g) ? typeof r == "function" ? r($, Je) : $ : $ + (d ? "." + Je : "[" + Je + "]");
2741
+ var Je = d && u ? H.replace(/\./g, "%2E") : H, wn = M(v) ? typeof r == "function" ? r($, Je) : $ : $ + (d ? "." + Je : "[" + Je + "]");
2742
2742
  E.set(e, A);
2743
- var kt = pn();
2744
- kt.set(ut, E), yn(L, t(
2743
+ var Mt = pn();
2744
+ Mt.set(ut, E), yn(L, t(
2745
2745
  ye,
2746
2746
  wn,
2747
2747
  r,
@@ -2750,16 +2750,16 @@ var cn = pe, de = ii, Ui = bi, ki = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2750
2750
  i,
2751
2751
  s,
2752
2752
  u,
2753
- r === "comma" && h && k(g) ? null : l,
2753
+ r === "comma" && h && M(v) ? null : l,
2754
2754
  c,
2755
2755
  p,
2756
2756
  d,
2757
- v,
2757
+ g,
2758
2758
  y,
2759
2759
  m,
2760
2760
  h,
2761
2761
  S,
2762
- kt
2762
+ Mt
2763
2763
  ));
2764
2764
  }
2765
2765
  }
@@ -2783,7 +2783,7 @@ var cn = pe, de = ii, Ui = bi, ki = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2783
2783
  r = e.format;
2784
2784
  }
2785
2785
  var o = be.formatters[r], a = P.filter;
2786
- (typeof e.filter == "function" || k(e.filter)) && (a = e.filter);
2786
+ (typeof e.filter == "function" || M(e.filter)) && (a = e.filter);
2787
2787
  var i;
2788
2788
  if (e.arrayFormat in dn ? i = e.arrayFormat : "indices" in e ? i = e.indices ? "indices" : "repeat" : i = P.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
2789
2789
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
@@ -2811,7 +2811,7 @@ var cn = pe, de = ii, Ui = bi, ki = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2811
2811
  };
2812
2812
  }, hs = function(t, e) {
2813
2813
  var n = t, r = ys(e), o, a;
2814
- typeof r.filter == "function" ? (a = r.filter, n = a("", n)) : k(r.filter) && (a = r.filter, o = a);
2814
+ typeof r.filter == "function" ? (a = r.filter, n = a("", n)) : M(r.filter) && (a = r.filter, o = a);
2815
2815
  var i = [];
2816
2816
  if (typeof n != "object" || n === null)
2817
2817
  return "";
@@ -2840,8 +2840,8 @@ var cn = pe, de = ii, Ui = bi, ki = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2840
2840
  l
2841
2841
  ));
2842
2842
  }
2843
- var d = i.join(r.delimiter), v = r.addQueryPrefix === !0 ? "?" : "";
2844
- return r.charsetSentinel && (r.charset === "iso-8859-1" ? v += "utf8=%26%2310003%3B&" : v += "utf8=%E2%9C%93&"), d.length > 0 ? v + d : "";
2843
+ var d = i.join(r.delimiter), g = r.addQueryPrefix === !0 ? "?" : "";
2844
+ return r.charsetSentinel && (r.charset === "iso-8859-1" ? g += "utf8=%26%2310003%3B&" : g += "utf8=%E2%9C%93&"), d.length > 0 ? g + d : "";
2845
2845
  }, ce = fn, Ot = Object.prototype.hasOwnProperty, ms = Array.isArray, O = {
2846
2846
  allowDots: !1,
2847
2847
  allowEmptyArrays: !1,
@@ -2878,15 +2878,15 @@ var cn = pe, de = ii, Ui = bi, ki = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2878
2878
  i[u].indexOf("utf8=") === 0 && (i[u] === bs ? l = "utf-8" : i[u] === vs && (l = "iso-8859-1"), s = u, u = i.length);
2879
2879
  for (u = 0; u < i.length; ++u)
2880
2880
  if (u !== s) {
2881
- var c = i[u], p = c.indexOf("]="), d = p === -1 ? c.indexOf("=") : p + 1, v, y;
2882
- d === -1 ? (v = n.decoder(c, O.decoder, l, "key"), y = n.strictNullHandling ? null : "") : (v = n.decoder(c.slice(0, d), O.decoder, l, "key"), y = ce.maybeMap(
2881
+ var c = i[u], p = c.indexOf("]="), d = p === -1 ? c.indexOf("=") : p + 1, g, y;
2882
+ d === -1 ? (g = n.decoder(c, O.decoder, l, "key"), y = n.strictNullHandling ? null : "") : (g = n.decoder(c.slice(0, d), O.decoder, l, "key"), y = ce.maybeMap(
2883
2883
  hn(c.slice(d + 1), n),
2884
2884
  function(h) {
2885
2885
  return n.decoder(h, O.decoder, l, "value");
2886
2886
  }
2887
2887
  )), y && n.interpretNumericEntities && l === "iso-8859-1" && (y = gs(y)), c.indexOf("[]=") > -1 && (y = ms(y) ? [y] : y);
2888
- var m = Ot.call(r, v);
2889
- m && n.duplicates === "combine" ? r[v] = ce.combine(r[v], y) : (!m || n.duplicates === "last") && (r[v] = y);
2888
+ var m = Ot.call(r, g);
2889
+ m && n.duplicates === "combine" ? r[g] = ce.combine(r[g], y) : (!m || n.duplicates === "last") && (r[g] = y);
2890
2890
  }
2891
2891
  return r;
2892
2892
  }, Ss = function(t, e, n, r) {
@@ -3068,18 +3068,31 @@ const mn = Or(), gn = mn.sso ?? !0, vn = mn.noRedireLogin ?? !1, bn = () => {
3068
3068
  }, _s = async (t, e) => {
3069
3069
  var u, l, c, p, d;
3070
3070
  let n = ((u = t.response) == null ? void 0 : u.status) || 500, r = (l = t.response) == null ? void 0 : l.message, o = {};
3071
- const a = { 400: V("参数校验错误"), 404: V("接口地址未找到"), 500: V("服务器内部错误") };
3071
+ const a = { 400: W("参数校验错误"), 404: W("接口地址未找到"), 500: W("服务器内部错误") };
3072
3072
  let i = ((c = t == null ? void 0 : t.response) == null ? void 0 : c.data) || {};
3073
- return !(On("code") || "") && !vn && (n === 401 || (i == null ? void 0 : i.code) === 401) ? (gn ? Rn({ ...Pn, redirect_uri: Tn }) : bn(), o = i) : (t.response ? (i instanceof Blob && (i = await new Promise((v) => {
3074
- const y = new FileReader();
3075
- y.readAsText(i, "utf-8"), y.onload = () => {
3076
- try {
3077
- v(JSON.parse(y.result || "{}"));
3078
- } catch {
3079
- v({ code: 400, msg: V("blob解析错误") });
3073
+ if (!(On("code") || "") && !vn && (n === 401 || (i == null ? void 0 : i.code) === 401))
3074
+ gn ? Rn({ ...Pn, redirect_uri: Tn }) : bn(), o = i;
3075
+ else {
3076
+ if (t.response) {
3077
+ if (i instanceof Blob && (i = await new Promise((g) => {
3078
+ const y = new FileReader();
3079
+ y.readAsText(i, "utf-8"), y.onload = () => {
3080
+ try {
3081
+ g(JSON.parse(y.result || "{}"));
3082
+ } catch {
3083
+ g({ code: 400, msg: W("blob解析错误") });
3084
+ }
3085
+ };
3086
+ })), i.code) {
3087
+ n = i.code;
3088
+ const g = (i == null ? void 0 : i.status) ?? "错误提示";
3089
+ r = !(i != null && i.data) || !i.data.length ? W(g) : W(g, ...i.data), o = i;
3080
3090
  }
3081
- };
3082
- })), i.code && (n = i.code, r = V(i.status, ...i.data), o = i), r || (r = a[t.response.status] || t.message)) : t.request ? t.code === "ERR_CANCELED" ? t.abortReason && (r = t.abortReason) : r = V("网络异常,请检查您的网络情况") : t.code === "ERR_CANCELED" ? t.abortReason && (r = t.abortReason) : r = V("请求配置异常"), e != null && e.customErrorMessage && (r = e == null ? void 0 : e.customErrorMessage(r, t)), !(e != null && e.ignoreErrorMessage) && r && ((d = (p = window.DasMessage) == null ? void 0 : p.error) == null || d.call(p, { message: r, showClose: !0 }))), { ...o, code: n, msg: r, error: t };
3091
+ r || (r = a[t.response.status] || t.message);
3092
+ } else t.request ? t.code === "ERR_CANCELED" ? t.abortReason && (r = t.abortReason) : r = W("网络异常,请检查您的网络情况") : t.code === "ERR_CANCELED" ? t.abortReason && (r = t.abortReason) : r = W("请求配置异常");
3093
+ e != null && e.customErrorMessage && (r = e == null ? void 0 : e.customErrorMessage(r, t)), !(e != null && e.ignoreErrorMessage) && r && ((d = (p = window.DasMessage) == null ? void 0 : p.error) == null || d.call(p, { message: r, showClose: !0 }));
3094
+ }
3095
+ return { ...o, code: n, msg: r, error: t };
3083
3096
  }, We = (t, e) => {
3084
3097
  const n = R.create();
3085
3098
  return En(n, async (r) => {