@das-fed/upf-utils 6.4.0-dev.226 → 6.4.0-dev.228

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 (93) hide show
  1. package/api-services/es5.js +1520 -1526
  2. package/api-services/index.js +1223 -1237
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/es5.js +313 -310
  5. package/api-services/modules/app-manage/index.js +292 -292
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/es5.js +313 -310
  8. package/api-services/modules/authentication/index.js +292 -292
  9. package/api-services/modules/authentication/index.js.gz +0 -0
  10. package/api-services/modules/bems/es5.js +308 -305
  11. package/api-services/modules/bems/index.js +287 -287
  12. package/api-services/modules/bems/index.js.gz +0 -0
  13. package/api-services/modules/contract/es5.js +313 -310
  14. package/api-services/modules/contract/index.js +292 -292
  15. package/api-services/modules/contract/index.js.gz +0 -0
  16. package/api-services/modules/duty-manage/es5.js +1153 -1159
  17. package/api-services/modules/duty-manage/index.js +958 -972
  18. package/api-services/modules/duty-manage/index.js.gz +0 -0
  19. package/api-services/modules/enterpriseright/es5.js +1153 -1162
  20. package/api-services/modules/enterpriseright/index.js +957 -975
  21. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  22. package/api-services/modules/es5.js +1518 -1527
  23. package/api-services/modules/file/es5.js +250 -247
  24. package/api-services/modules/file/index.js +209 -209
  25. package/api-services/modules/file/index.js.gz +0 -0
  26. package/api-services/modules/gateway-edge/es5.js +188 -185
  27. package/api-services/modules/gateway-edge/index.js +184 -184
  28. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  29. package/api-services/modules/index.js +1221 -1239
  30. package/api-services/modules/index.js.gz +0 -0
  31. package/api-services/modules/iot/es5.js +1168 -1177
  32. package/api-services/modules/iot/index.js +968 -986
  33. package/api-services/modules/iot/index.js.gz +0 -0
  34. package/api-services/modules/justauth/es5.js +314 -311
  35. package/api-services/modules/justauth/index.js +293 -293
  36. package/api-services/modules/justauth/index.js.gz +0 -0
  37. package/api-services/modules/knowledge/es5.js +313 -310
  38. package/api-services/modules/knowledge/index.js +292 -292
  39. package/api-services/modules/knowledge/index.js.gz +0 -0
  40. package/api-services/modules/link/es5.js +313 -310
  41. package/api-services/modules/link/index.js +292 -292
  42. package/api-services/modules/link/index.js.gz +0 -0
  43. package/api-services/modules/permission/es5.js +1153 -1162
  44. package/api-services/modules/permission/index.js +957 -975
  45. package/api-services/modules/permission/index.js.gz +0 -0
  46. package/api-services/modules/platformManage/es5.js +312 -309
  47. package/api-services/modules/platformManage/index.js +287 -287
  48. package/api-services/modules/platformManage/index.js.gz +0 -0
  49. package/api-services/modules/portal/es5.js +1135 -1141
  50. package/api-services/modules/portal/index.js +941 -955
  51. package/api-services/modules/portal/index.js.gz +0 -0
  52. package/api-services/modules/space-manage/es5.js +1247 -1232
  53. package/api-services/modules/space-manage/index.js +1042 -1024
  54. package/api-services/modules/space-manage/index.js.gz +0 -0
  55. package/api-services/modules/super-admin/es5.js +262 -259
  56. package/api-services/modules/super-admin/index.js +244 -244
  57. package/api-services/modules/super-admin/index.js.gz +0 -0
  58. package/api-services/modules/supplier/es5.js +315 -312
  59. package/api-services/modules/supplier/index.js +292 -292
  60. package/api-services/modules/supplier/index.js.gz +0 -0
  61. package/api-services/modules/supplychain-manage/es5.js +1164 -1173
  62. package/api-services/modules/supplychain-manage/index.js +967 -985
  63. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  64. package/api-services/modules/systemConfiguration/es5.js +313 -310
  65. package/api-services/modules/systemConfiguration/index.js +292 -292
  66. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  67. package/api-services/modules/tool/es5.js +313 -310
  68. package/api-services/modules/tool/index.js +292 -292
  69. package/api-services/modules/tool/index.js.gz +0 -0
  70. package/api-services/src/create-service/es5.js +311 -308
  71. package/api-services/src/create-service/index.js +291 -291
  72. package/api-services/src/create-service/index.js.gz +0 -0
  73. package/common-info/es5.js +4357 -124
  74. package/common-info/getPermissionMethod/es5.js +4209 -0
  75. package/common-info/getPermissionMethod/index.d.ts +26 -0
  76. package/common-info/getPermissionMethod/index.js +3328 -0
  77. package/common-info/getPermissionMethod/index.js.gz +0 -0
  78. package/common-info/index.d.ts +2 -0
  79. package/common-info/index.js +3414 -63
  80. package/common-info/index.js.gz +0 -0
  81. package/common-info/type.d.ts +0 -2
  82. package/create-api-service/es5.js +1142 -1150
  83. package/create-api-service/index.d.ts +6 -6
  84. package/create-api-service/index.js +948 -965
  85. package/create-api-service/index.js.gz +0 -0
  86. package/directive/auth/es5.js +63 -44
  87. package/directive/auth/index.js +42 -33
  88. package/directive/auth/index.js.gz +0 -0
  89. package/esm-map.json +7 -1
  90. package/hooks/use-get-auth/es5.js +13 -17
  91. package/hooks/use-get-auth/index.js +10 -13
  92. package/package.json +3 -3
  93. package/hooks/use-get-auth/apis.d.ts +0 -1
@@ -51,7 +51,7 @@ function qr(t, e) {
51
51
  };
52
52
  }
53
53
  var eo = Object.prototype.toString,
54
- Lt = Object.getPrototypeOf,
54
+ Ut = Object.getPrototypeOf,
55
55
  qe = Symbol.iterator,
56
56
  jr = Symbol.toStringTag,
57
57
  je = /* @__PURE__ */function (t) {
@@ -91,7 +91,7 @@ var no = He("string"),
91
91
  },
92
92
  _e = function _e(t) {
93
93
  if (je(t) !== "object") return false;
94
- var e = Lt(t);
94
+ var e = Ut(t);
95
95
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(jr in t) && !(qe in t);
96
96
  },
97
97
  ao = I("Date"),
@@ -176,7 +176,7 @@ var vo = function vo(t, e, n) {
176
176
  if (e = e || {}, t == null) return e;
177
177
  do {
178
178
  for (o = Object.getOwnPropertyNames(t), a = o.length; a-- > 0;) i = o[a], (!r || r(i, t, e)) && !s[i] && (e[i] = t[i], s[i] = true);
179
- t = n !== false && Lt(t);
179
+ t = n !== false && Ut(t);
180
180
  } while (t && (!n || n(t, e)) && t !== Object.prototype);
181
181
  return e;
182
182
  },
@@ -198,7 +198,7 @@ var vo = function vo(t, e, n) {
198
198
  return function (e) {
199
199
  return t && e instanceof t;
200
200
  };
201
- }((typeof Uint8Array === "undefined" ? "undefined" : _typeof(Uint8Array)) < "u" && Lt(Uint8Array)),
201
+ }((typeof Uint8Array === "undefined" ? "undefined" : _typeof(Uint8Array)) < "u" && Ut(Uint8Array)),
202
202
  Ro = function Ro(t, e) {
203
203
  var r = (t && t[qe]).call(t);
204
204
  var o;
@@ -283,8 +283,8 @@ var Io = function Io(t) {
283
283
  };
284
284
  return _n2(t, 0);
285
285
  },
286
- Lo = I("AsyncFunction"),
287
- Uo = function Uo(t) {
286
+ Uo = I("AsyncFunction"),
287
+ Lo = function Lo(t) {
288
288
  return t && (ze(t) || F(t)) && F(t.then) && F(t["catch"]);
289
289
  },
290
290
  Vr = function (t, e) {
@@ -357,8 +357,8 @@ var Io = function Io(t) {
357
357
  isContextDefined: Gr,
358
358
  isSpecCompliantForm: $o,
359
359
  toJSONObject: Io,
360
- isAsyncFn: Lo,
361
- isThenable: Uo,
360
+ isAsyncFn: Uo,
361
+ isThenable: Lo,
362
362
  setImmediate: Vr,
363
363
  asap: Bo,
364
364
  isIterable: Mo
@@ -432,8 +432,8 @@ function We(t, e, n) {
432
432
  metaTokens: true,
433
433
  dots: false,
434
434
  indexes: false
435
- }, false, function (m, h) {
436
- return !f.isUndefined(h[m]);
435
+ }, false, function (g, h) {
436
+ return !f.isUndefined(h[g]);
437
437
  });
438
438
  var r = n.metaTokens,
439
439
  o = n.visitor || l,
@@ -448,16 +448,16 @@ function We(t, e, n) {
448
448
  if (!c && f.isBlob(y)) throw new w("Blob is not supported. Use a Buffer instead.");
449
449
  return f.isArrayBuffer(y) || f.isTypedArray(y) ? c && typeof Blob == "function" ? new Blob([y]) : Buffer.from(y) : y;
450
450
  }
451
- function l(y, m, h) {
452
- var S = y;
451
+ function l(y, g, h) {
452
+ var E = y;
453
453
  if (y && !h && _typeof(y) == "object") {
454
- if (f.endsWith(m, "{}")) m = r ? m : m.slice(0, -2), y = JSON.stringify(y);else if (f.isArray(y) && qo(y) || (f.isFileList(y) || f.endsWith(m, "[]")) && (S = f.toArray(y))) return m = Xr(m), S.forEach(function (g, A) {
455
- !(f.isUndefined(g) || g === null) && e.append(
454
+ if (f.endsWith(g, "{}")) g = r ? g : g.slice(0, -2), y = JSON.stringify(y);else if (f.isArray(y) && qo(y) || (f.isFileList(y) || f.endsWith(g, "[]")) && (E = f.toArray(y))) return g = Xr(g), E.forEach(function (m, O) {
455
+ !(f.isUndefined(m) || m === null) && e.append(
456
456
  // eslint-disable-next-line no-nested-ternary
457
- i === true ? Kt([m], A, a) : i === null ? m : m + "[]", u(g));
457
+ i === true ? Kt([g], O, a) : i === null ? g : g + "[]", u(m));
458
458
  }), false;
459
459
  }
460
- return Ot(y) ? true : (e.append(Kt(h, m, a), u(y)), false);
460
+ return Ot(y) ? true : (e.append(Kt(h, g, a), u(y)), false);
461
461
  }
462
462
  var p = [],
463
463
  d = Object.assign(jo, {
@@ -465,11 +465,11 @@ function We(t, e, n) {
465
465
  convertValue: u,
466
466
  isVisitable: Ot
467
467
  });
468
- function v(y, m) {
468
+ function v(y, g) {
469
469
  if (!f.isUndefined(y)) {
470
- if (p.indexOf(y) !== -1) throw Error("Circular reference detected in " + m.join("."));
471
- p.push(y), f.forEach(y, function (S, E) {
472
- (!(f.isUndefined(S) || S === null) && o.call(e, S, f.isString(E) ? E.trim() : E, m, d)) === true && v(S, m ? m.concat(E) : [E]);
470
+ if (p.indexOf(y) !== -1) throw Error("Circular reference detected in " + g.join("."));
471
+ p.push(y), f.forEach(y, function (E, S) {
472
+ (!(f.isUndefined(E) || E === null) && o.call(e, E, f.isString(S) ? S.trim() : S, g, d)) === true && v(E, g ? g.concat(S) : [S]);
473
473
  }), p.pop();
474
474
  }
475
475
  }
@@ -490,10 +490,10 @@ function Qt(t) {
490
490
  return e[r];
491
491
  });
492
492
  }
493
- function Ut(t, e) {
493
+ function Lt(t, e) {
494
494
  this._pairs = [], t && We(t, this, e);
495
495
  }
496
- var Zr = Ut.prototype;
496
+ var Zr = Lt.prototype;
497
497
  Zr.append = function (e, n) {
498
498
  this._pairs.push([e, n]);
499
499
  };
@@ -516,7 +516,7 @@ function Yr(t, e, n) {
516
516
  });
517
517
  var o = n && n.serialize;
518
518
  var a;
519
- if (o ? a = o(e, n) : a = f.isURLSearchParams(e) ? e.toString() : new Ut(e, n).toString(r), a) {
519
+ if (o ? a = o(e, n) : a = f.isURLSearchParams(e) ? e.toString() : new Lt(e, n).toString(r), a) {
520
520
  var i = t.indexOf("#");
521
521
  i !== -1 && (t = t.slice(0, i)), t += (t.indexOf("?") === -1 ? "?" : "&") + a;
522
522
  }
@@ -591,7 +591,7 @@ var en = {
591
591
  forcedJSONParsing: true,
592
592
  clarifyTimeoutError: false
593
593
  },
594
- zo = (typeof URLSearchParams === "undefined" ? "undefined" : _typeof(URLSearchParams)) < "u" ? URLSearchParams : Ut,
594
+ zo = (typeof URLSearchParams === "undefined" ? "undefined" : _typeof(URLSearchParams)) < "u" ? URLSearchParams : Lt,
595
595
  Wo = (typeof FormData === "undefined" ? "undefined" : _typeof(FormData)) < "u" ? FormData : null,
596
596
  Go = (typeof Blob === "undefined" ? "undefined" : _typeof(Blob)) < "u" ? Blob : null,
597
597
  Jo = {
@@ -1230,46 +1230,46 @@ var an = function an(t) {
1230
1230
  d,
1231
1231
  v,
1232
1232
  y;
1233
- function m() {
1233
+ function g() {
1234
1234
  v && v(), y && y(), o.cancelToken && o.cancelToken.unsubscribe(l), o.signal && o.signal.removeEventListener("abort", l);
1235
1235
  }
1236
1236
  var h = new XMLHttpRequest();
1237
1237
  h.open(o.method.toUpperCase(), o.url, true), h.timeout = o.timeout;
1238
- function S() {
1238
+ function E() {
1239
1239
  if (!h) return;
1240
- var g = D.from("getAllResponseHeaders" in h && h.getAllResponseHeaders()),
1241
- O = {
1240
+ var m = D.from("getAllResponseHeaders" in h && h.getAllResponseHeaders()),
1241
+ A = {
1242
1242
  data: !s || s === "text" || s === "json" ? h.responseText : h.response,
1243
1243
  status: h.status,
1244
1244
  statusText: h.statusText,
1245
- headers: g,
1245
+ headers: m,
1246
1246
  config: t,
1247
1247
  request: h
1248
1248
  };
1249
1249
  nn(function (N) {
1250
- n(N), m();
1250
+ n(N), g();
1251
1251
  }, function (N) {
1252
- r(N), m();
1253
- }, O), h = null;
1252
+ r(N), g();
1253
+ }, A), h = null;
1254
1254
  }
1255
- "onloadend" in h ? h.onloadend = S : h.onreadystatechange = function () {
1256
- !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(S);
1255
+ "onloadend" in h ? h.onloadend = E : h.onreadystatechange = function () {
1256
+ !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(E);
1257
1257
  }, h.onabort = function () {
1258
1258
  h && (r(new w("Request aborted", w.ECONNABORTED, t, h)), h = null);
1259
1259
  }, h.onerror = function () {
1260
1260
  r(new w("Network Error", w.ERR_NETWORK, t, h)), h = null;
1261
1261
  }, h.ontimeout = function () {
1262
- var A = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1263
- var O = o.transitional || en;
1264
- o.timeoutErrorMessage && (A = o.timeoutErrorMessage), r(new w(A, O.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED, t, h)), h = null;
1265
- }, a === undefined && i.setContentType(null), "setRequestHeader" in h && f.forEach(i.toJSON(), function (A, O) {
1266
- h.setRequestHeader(O, A);
1267
- }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), u && (_Ie = Ie(u, true), _Ie2 = _slicedToArray(_Ie, 2), d = _Ie2[0], y = _Ie2[1], h.addEventListener("progress", d)), c && h.upload && (_Ie3 = Ie(c), _Ie4 = _slicedToArray(_Ie3, 2), p = _Ie4[0], v = _Ie4[1], h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = function l(g) {
1268
- h && (r(!g || g.type ? new ce(null, t, h) : g), h.abort(), h = null);
1262
+ var O = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1263
+ var A = o.transitional || en;
1264
+ o.timeoutErrorMessage && (O = o.timeoutErrorMessage), r(new w(O, A.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED, t, h)), h = null;
1265
+ }, a === undefined && i.setContentType(null), "setRequestHeader" in h && f.forEach(i.toJSON(), function (O, A) {
1266
+ h.setRequestHeader(A, O);
1267
+ }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), u && (_Ie = Ie(u, true), _Ie2 = _slicedToArray(_Ie, 2), d = _Ie2[0], y = _Ie2[1], h.addEventListener("progress", d)), c && h.upload && (_Ie3 = Ie(c), _Ie4 = _slicedToArray(_Ie3, 2), p = _Ie4[0], v = _Ie4[1], h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = function l(m) {
1268
+ h && (r(!m || m.type ? new ce(null, t, h) : m), h.abort(), h = null);
1269
1269
  }, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
1270
- var E = la(o.url);
1271
- if (E && _.protocols.indexOf(E) === -1) {
1272
- r(new w("Unsupported protocol " + E + ":", w.ERR_BAD_REQUEST, t));
1270
+ var S = la(o.url);
1271
+ if (S && _.protocols.indexOf(S) === -1) {
1272
+ r(new w("Unsupported protocol " + S + ":", w.ERR_BAD_REQUEST, t));
1273
1273
  return;
1274
1274
  }
1275
1275
  h.send(a || null);
@@ -1552,14 +1552,14 @@ var an = function an(t) {
1552
1552
  Rt = sn && ln(function () {
1553
1553
  return f.isReadableStream(new Response("").body);
1554
1554
  }),
1555
- Le = {
1555
+ Ue = {
1556
1556
  stream: Rt && function (t) {
1557
1557
  return t.body;
1558
1558
  }
1559
1559
  };
1560
1560
  Ge && function (t) {
1561
1561
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach(function (e) {
1562
- !Le[e] && (Le[e] = f.isFunction(t[e]) ? function (n) {
1562
+ !Ue[e] && (Ue[e] = f.isFunction(t[e]) ? function (n) {
1563
1563
  return n[e]();
1564
1564
  } : function (n, r) {
1565
1565
  throw new w("Response type '".concat(e, "' is not supported"), w.ERR_NOT_SUPPORT, r);
@@ -1635,14 +1635,14 @@ var Oa = /*#__PURE__*/function () {
1635
1635
  }(),
1636
1636
  Ra = Ge && (/*#__PURE__*/function () {
1637
1637
  var _ref14 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(t) {
1638
- var _an, e, n, r, o, a, i, s, c, u, l, _an$withCredentials, p, d, v, y, m, h, O, C, _Yt, _Yt2, N, q, S, E, g, _O, _C, _ref15, _ref16, _N, _q, A, _t7, _t8, _t9;
1638
+ var _an, e, n, r, o, a, i, s, c, u, l, _an$withCredentials, p, d, v, y, g, h, A, C, _Yt, _Yt2, N, q, E, S, m, _A, _C, _ref15, _ref16, _N, _q, O, _t7, _t8, _t9;
1639
1639
  return _regenerator().w(function (_context8) {
1640
1640
  while (1) switch (_context8.p = _context8.n) {
1641
1641
  case 0:
1642
1642
  _an = an(t), e = _an.url, n = _an.method, r = _an.data, o = _an.signal, a = _an.cancelToken, i = _an.timeout, s = _an.onDownloadProgress, c = _an.onUploadProgress, u = _an.responseType, l = _an.headers, _an$withCredentials = _an.withCredentials, p = _an$withCredentials === void 0 ? "same-origin" : _an$withCredentials, d = _an.fetchOptions;
1643
1643
  u = u ? (u + "").toLowerCase() : "text";
1644
1644
  v = ga([o, a && a.toAbortSignal()], i);
1645
- m = v && v.unsubscribe && function () {
1645
+ g = v && v.unsubscribe && function () {
1646
1646
  v.unsubscribe();
1647
1647
  };
1648
1648
  _context8.p = 1;
@@ -1661,54 +1661,54 @@ var Oa = /*#__PURE__*/function () {
1661
1661
  _context8.n = 4;
1662
1662
  break;
1663
1663
  }
1664
- O = new Request(e, {
1664
+ A = new Request(e, {
1665
1665
  method: "POST",
1666
1666
  body: r,
1667
1667
  duplex: "half"
1668
1668
  });
1669
- if (f.isFormData(r) && (C = O.headers.get("content-type")) && l.setContentType(C), O.body) {
1669
+ if (f.isFormData(r) && (C = A.headers.get("content-type")) && l.setContentType(C), A.body) {
1670
1670
  _Yt = Yt(h, Ie(er(c))), _Yt2 = _slicedToArray(_Yt, 2), N = _Yt2[0], q = _Yt2[1];
1671
- r = rr(O.body, nr, N, q);
1671
+ r = rr(A.body, nr, N, q);
1672
1672
  }
1673
1673
  case 4:
1674
1674
  f.isString(p) || (p = p ? "include" : "omit");
1675
- S = "credentials" in Request.prototype;
1675
+ E = "credentials" in Request.prototype;
1676
1676
  y = new Request(e, _objectSpread(_objectSpread({}, d), {}, {
1677
1677
  signal: v,
1678
1678
  method: n.toUpperCase(),
1679
1679
  headers: l.normalize().toJSON(),
1680
1680
  body: r,
1681
1681
  duplex: "half",
1682
- credentials: S ? p : void 0
1682
+ credentials: E ? p : void 0
1683
1683
  }));
1684
1684
  _context8.n = 5;
1685
1685
  return fetch(y, d);
1686
1686
  case 5:
1687
- E = _context8.v;
1688
- g = Rt && (u === "stream" || u === "response");
1689
- if (Rt && (s || g && m)) {
1690
- _O = {};
1691
- ["status", "statusText", "headers"].forEach(function (L) {
1692
- _O[L] = E[L];
1687
+ S = _context8.v;
1688
+ m = Rt && (u === "stream" || u === "response");
1689
+ if (Rt && (s || m && g)) {
1690
+ _A = {};
1691
+ ["status", "statusText", "headers"].forEach(function (U) {
1692
+ _A[U] = S[U];
1693
1693
  });
1694
- _C = f.toFiniteNumber(E.headers.get("content-length")), _ref15 = s && Yt(_C, Ie(er(s), !0)) || [], _ref16 = _slicedToArray(_ref15, 2), _N = _ref16[0], _q = _ref16[1];
1695
- E = new Response(rr(E.body, nr, _N, function () {
1696
- _q && _q(), m && m();
1697
- }), _O);
1694
+ _C = f.toFiniteNumber(S.headers.get("content-length")), _ref15 = s && Yt(_C, Ie(er(s), !0)) || [], _ref16 = _slicedToArray(_ref15, 2), _N = _ref16[0], _q = _ref16[1];
1695
+ S = new Response(rr(S.body, nr, _N, function () {
1696
+ _q && _q(), g && g();
1697
+ }), _A);
1698
1698
  }
1699
1699
  u = u || "text";
1700
1700
  _context8.n = 6;
1701
- return Le[f.findKey(Le, u) || "text"](E, t);
1701
+ return Ue[f.findKey(Ue, u) || "text"](S, t);
1702
1702
  case 6:
1703
- A = _context8.v;
1704
- !g && m && m();
1703
+ O = _context8.v;
1704
+ !m && g && g();
1705
1705
  _context8.n = 7;
1706
- return new Promise(function (O, C) {
1707
- nn(O, C, {
1708
- data: A,
1709
- headers: D.from(E.headers),
1710
- status: E.status,
1711
- statusText: E.statusText,
1706
+ return new Promise(function (A, C) {
1707
+ nn(A, C, {
1708
+ data: O,
1709
+ headers: D.from(S.headers),
1710
+ status: S.status,
1711
+ statusText: S.statusText,
1712
1712
  config: t,
1713
1713
  request: y
1714
1714
  });
@@ -1718,7 +1718,7 @@ var Oa = /*#__PURE__*/function () {
1718
1718
  case 8:
1719
1719
  _context8.p = 8;
1720
1720
  _t9 = _context8.v;
1721
- throw m && m(), _t9 && _t9.name === "TypeError" && /Load failed|fetch/i.test(_t9.message) ? Object.assign(new w("Network Error", w.ERR_NETWORK, t, y), {
1721
+ throw g && g(), _t9 && _t9.name === "TypeError" && /Load failed|fetch/i.test(_t9.message) ? Object.assign(new w("Network Error", w.ERR_NETWORK, t, y), {
1722
1722
  cause: _t9.cause || _t9
1723
1723
  }) : w.from(_t9, _t9 && _t9.code, t, y);
1724
1724
  case 9:
@@ -1833,7 +1833,7 @@ var Ne = {
1833
1833
  assertOptions: Ta,
1834
1834
  validators: Je
1835
1835
  },
1836
- U = Ne.validators;
1836
+ L = Ne.validators;
1837
1837
  var Q = /*#__PURE__*/function () {
1838
1838
  function Q(e) {
1839
1839
  _classCallCheck(this, Q);
@@ -1894,17 +1894,17 @@ var Q = /*#__PURE__*/function () {
1894
1894
  o = _n3.paramsSerializer,
1895
1895
  a = _n3.headers;
1896
1896
  r !== undefined && Ne.assertOptions(r, {
1897
- silentJSONParsing: U.transitional(U["boolean"]),
1898
- forcedJSONParsing: U.transitional(U["boolean"]),
1899
- clarifyTimeoutError: U.transitional(U["boolean"])
1897
+ silentJSONParsing: L.transitional(L["boolean"]),
1898
+ forcedJSONParsing: L.transitional(L["boolean"]),
1899
+ clarifyTimeoutError: L.transitional(L["boolean"])
1900
1900
  }, false), o != null && (f.isFunction(o) ? n.paramsSerializer = {
1901
1901
  serialize: o
1902
1902
  } : Ne.assertOptions(o, {
1903
- encode: U["function"],
1904
- serialize: U["function"]
1903
+ encode: L["function"],
1904
+ serialize: L["function"]
1905
1905
  }, true)), n.allowAbsoluteUrls !== undefined || (this.defaults.allowAbsoluteUrls !== undefined ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = true), Ne.assertOptions(n, {
1906
- baseUrl: U.spelling("baseURL"),
1907
- withXsrfToken: U.spelling("withXSRFToken")
1906
+ baseUrl: L.spelling("baseURL"),
1907
+ withXsrfToken: L.spelling("withXSRFToken")
1908
1908
  }, true), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1909
1909
  var i = a && f.merge(a.common, a[n.method]);
1910
1910
  a && f.forEach(["delete", "get", "head", "post", "put", "patch", "common"], function (y) {
@@ -1912,12 +1912,12 @@ var Q = /*#__PURE__*/function () {
1912
1912
  }), n.headers = D.concat(i, a);
1913
1913
  var s = [];
1914
1914
  var c = true;
1915
- this.interceptors.request.forEach(function (m) {
1916
- typeof m.runWhen == "function" && m.runWhen(n) === false || (c = c && m.synchronous, s.unshift(m.fulfilled, m.rejected));
1915
+ this.interceptors.request.forEach(function (g) {
1916
+ typeof g.runWhen == "function" && g.runWhen(n) === false || (c = c && g.synchronous, s.unshift(g.fulfilled, g.rejected));
1917
1917
  });
1918
1918
  var u = [];
1919
- this.interceptors.response.forEach(function (m) {
1920
- u.push(m.fulfilled, m.rejected);
1919
+ this.interceptors.response.forEach(function (g) {
1920
+ u.push(g.fulfilled, g.rejected);
1921
1921
  });
1922
1922
  var l,
1923
1923
  p = 0,
@@ -1931,11 +1931,11 @@ var Q = /*#__PURE__*/function () {
1931
1931
  var v = n;
1932
1932
  for (p = 0; p < d;) {
1933
1933
  var _y = s[p++],
1934
- m = s[p++];
1934
+ g = s[p++];
1935
1935
  try {
1936
1936
  v = _y(v);
1937
1937
  } catch (h) {
1938
- m.call(this, h);
1938
+ g.call(this, h);
1939
1939
  break;
1940
1940
  }
1941
1941
  }
@@ -2213,7 +2213,7 @@ var Fa = {},
2213
2213
  $a = /* @__PURE__ */Na(Da);
2214
2214
  var kt = typeof Map == "function" && Map.prototype,
2215
2215
  nt = Object.getOwnPropertyDescriptor && kt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null,
2216
- Ue = kt && nt && typeof nt.get == "function" ? nt.get : null,
2216
+ Le = kt && nt && typeof nt.get == "function" ? nt.get : null,
2217
2217
  lr = kt && Map.prototype.forEach,
2218
2218
  qt = typeof Set == "function" && Set.prototype,
2219
2219
  ot = Object.getOwnPropertyDescriptor && qt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null,
@@ -2221,10 +2221,10 @@ var kt = typeof Map == "function" && Map.prototype,
2221
2221
  cr = qt && Set.prototype.forEach,
2222
2222
  Ia = typeof WeakMap == "function" && WeakMap.prototype,
2223
2223
  ye = Ia ? WeakMap.prototype.has : null,
2224
- La = typeof WeakSet == "function" && WeakSet.prototype,
2225
- he = La ? WeakSet.prototype.has : null,
2226
- Ua = typeof WeakRef == "function" && WeakRef.prototype,
2227
- ur = Ua ? WeakRef.prototype.deref : null,
2224
+ Ua = typeof WeakSet == "function" && WeakSet.prototype,
2225
+ he = Ua ? WeakSet.prototype.has : null,
2226
+ La = typeof WeakRef == "function" && WeakRef.prototype,
2227
+ ur = La ? WeakRef.prototype.deref : null,
2228
2228
  Ba = Boolean.prototype.valueOf,
2229
2229
  Ma = Object.prototype.toString,
2230
2230
  ka = Function.prototype.toString,
@@ -2314,21 +2314,21 @@ var Ct = $a,
2314
2314
  return "[Function" + (v ? ": " + v : " (anonymous)") + "]" + (y.length > 0 ? " { " + k.call(y, ", ") + " }" : "");
2315
2315
  }
2316
2316
  if (mn(e)) {
2317
- var m = ie ? G.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : _t.call(e);
2318
- return _typeof(e) == "object" && !ie ? de(m) : m;
2317
+ var g = ie ? G.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : _t.call(e);
2318
+ return _typeof(e) == "object" && !ie ? de(g) : g;
2319
2319
  }
2320
2320
  if (ai(e)) {
2321
- for (var h = "<" + fr.call(String(e.nodeName)), S = e.attributes || [], E = 0; E < S.length; E++) h += " " + S[E].name + "=" + hn(Wa(S[E].value), "double", a);
2321
+ for (var h = "<" + fr.call(String(e.nodeName)), E = e.attributes || [], S = 0; S < E.length; S++) h += " " + E[S].name + "=" + hn(Wa(E[S].value), "double", a);
2322
2322
  return h += ">", e.childNodes && e.childNodes.length && (h += "..."), h += "</" + fr.call(String(e.nodeName)) + ">", h;
2323
2323
  }
2324
2324
  if (Nt(e)) {
2325
2325
  if (e.length === 0) return "[]";
2326
- var g = Pe(e, d);
2327
- return p && !si(g) ? "[" + Ft(g, p) + "]" : "[ " + k.call(g, ", ") + " ]";
2326
+ var m = Pe(e, d);
2327
+ return p && !si(m) ? "[" + Ft(m, p) + "]" : "[ " + k.call(m, ", ") + " ]";
2328
2328
  }
2329
2329
  if (Ja(e)) {
2330
- var A = Pe(e, d);
2331
- return !("cause" in Error.prototype) && "cause" in e && !dn.call(e, "cause") ? "{ [" + String(e) + "] " + k.call(pr.call("[cause]: " + d(e.cause), A), ", ") + " }" : A.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + k.call(A, ", ") + " }";
2330
+ var O = Pe(e, d);
2331
+ return !("cause" in Error.prototype) && "cause" in e && !dn.call(e, "cause") ? "{ [" + String(e) + "] " + k.call(pr.call("[cause]: " + d(e.cause), O), ", ") + " }" : O.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + k.call(O, ", ") + " }";
2332
2332
  }
2333
2333
  if (_typeof(e) == "object" && i) {
2334
2334
  if (gr && typeof e[gr] == "function" && Ct) return Ct(e, {
@@ -2337,10 +2337,10 @@ var Ct = $a,
2337
2337
  if (i !== "symbol" && typeof e.inspect == "function") return e.inspect();
2338
2338
  }
2339
2339
  if (ei(e)) {
2340
- var O = [];
2340
+ var A = [];
2341
2341
  return lr && lr.call(e, function ($, W) {
2342
- O.push(d(W, e, true) + " => " + d($, e));
2343
- }), wr("Map", Ue.call(e), O, p);
2342
+ A.push(d(W, e, true) + " => " + d($, e));
2343
+ }), wr("Map", Le.call(e), A, p);
2344
2344
  }
2345
2345
  if (ni(e)) {
2346
2346
  var C = [];
@@ -2360,10 +2360,10 @@ var Ct = $a,
2360
2360
  if (!Ga(e) && !vr(e)) {
2361
2361
  var N = Pe(e, d),
2362
2362
  q = yr ? yr(e) === Object.prototype : e instanceof Object || e.constructor === Object,
2363
- L = e instanceof Object ? "" : "null prototype",
2364
- z = !q && me && Object(e) === e && me in e ? jt.call(J(e), 8, -1) : L ? "Object" : "",
2363
+ U = e instanceof Object ? "" : "null prototype",
2364
+ z = !q && me && Object(e) === e && me in e ? jt.call(J(e), 8, -1) : U ? "Object" : "",
2365
2365
  Re = q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "",
2366
- te = Re + (z || L ? "[" + k.call(pr.call([], z || [], L || []), ": ") + "] " : "");
2366
+ te = Re + (z || U ? "[" + k.call(pr.call([], z || [], U || []), ": ") + "] " : "");
2367
2367
  return N.length === 0 ? te + "{}" : p ? te + "{" + Ft(N, p) + "}" : te + "{ " + k.call(N, ", ") + " }";
2368
2368
  }
2369
2369
  return String(e);
@@ -2436,9 +2436,9 @@ function gn(t, e) {
2436
2436
  return -1;
2437
2437
  }
2438
2438
  function ei(t) {
2439
- if (!Ue || !t || _typeof(t) != "object") return false;
2439
+ if (!Le || !t || _typeof(t) != "object") return false;
2440
2440
  try {
2441
- Ue.call(t);
2441
+ Le.call(t);
2442
2442
  try {
2443
2443
  Be.call(t);
2444
2444
  } catch (_unused6) {
@@ -2473,7 +2473,7 @@ function ni(t) {
2473
2473
  try {
2474
2474
  Be.call(t);
2475
2475
  try {
2476
- Ue.call(t);
2476
+ Le.call(t);
2477
2477
  } catch (_unused1) {
2478
2478
  return !0;
2479
2479
  }
@@ -2700,8 +2700,8 @@ function En() {
2700
2700
  return ut = t.getPrototypeOf || null, ut;
2701
2701
  }
2702
2702
  var Ii = "Function.prototype.bind called on incompatible ",
2703
- Li = Object.prototype.toString,
2704
- Ui = Math.max,
2703
+ Ui = Object.prototype.toString,
2704
+ Li = Math.max,
2705
2705
  Bi = "[object Function]",
2706
2706
  Ar = function Ar(e, n) {
2707
2707
  for (var r = [], o = 0; o < e.length; o += 1) r[o] = e[o];
@@ -2718,14 +2718,14 @@ var Ii = "Function.prototype.bind called on incompatible ",
2718
2718
  },
2719
2719
  qi = function qi(e) {
2720
2720
  var n = this;
2721
- if (typeof n != "function" || Li.apply(n) !== Bi) throw new TypeError(Ii + n);
2721
+ if (typeof n != "function" || Ui.apply(n) !== Bi) throw new TypeError(Ii + n);
2722
2722
  for (var r = Mi(arguments, 1), o, a = function a() {
2723
2723
  if (this instanceof o) {
2724
2724
  var l = n.apply(this, Ar(r, arguments));
2725
2725
  return Object(l) === l ? l : this;
2726
2726
  }
2727
2727
  return n.apply(e, Ar(r, arguments));
2728
- }, i = Ui(0, n.length - r.length), s = [], c = 0; c < i; c++) s[c] = "$" + c;
2728
+ }, i = Li(0, n.length - r.length), s = [], c = 0; c < i; c++) s[c] = "$" + c;
2729
2729
  if (o = Function("binder", "return function (" + ki(s, ",") + "){ return binder.apply(this,arguments); }")(a), n.prototype) {
2730
2730
  var u = function u() {};
2731
2731
  u.prototype = n.prototype, o.prototype = new u(), u.prototype = null;
@@ -3059,8 +3059,8 @@ var Ss = function t(e) {
3059
3059
  return;
3060
3060
  }
3061
3061
  if (we && l + 1 >= r.length) {
3062
- var m = we(s, d);
3063
- p = !!m, p && "get" in m && !("originalValue" in m.get) ? s = m.get : s = s[d];
3062
+ var g = we(s, d);
3063
+ p = !!g, p && "get" in g && !("originalValue" in g.get) ? s = g.get : s = s[d];
3064
3064
  } else p = Me(s, d), s = s[d];
3065
3065
  p && !c && (X[i] = s);
3066
3066
  }
@@ -3084,8 +3084,8 @@ var Ss = function t(e) {
3084
3084
  Ds = Ae("Map.prototype.get", true),
3085
3085
  $s = Ae("Map.prototype.set", true),
3086
3086
  Is = Ae("Map.prototype.has", true),
3087
- Ls = Ae("Map.prototype.delete", true),
3088
- Us = Ae("Map.prototype.size", true),
3087
+ Us = Ae("Map.prototype.delete", true),
3088
+ Ls = Ae("Map.prototype.size", true),
3089
3089
  Cn = !!Nr && /** @type {Exclude<import('.'), false>} */
3090
3090
  function () {
3091
3091
  var e,
@@ -3095,8 +3095,8 @@ var Ss = function t(e) {
3095
3095
  },
3096
3096
  "delete": function _delete(r) {
3097
3097
  if (e) {
3098
- var o = Ls(e, r);
3099
- return Us(e) === 0 && (e = undefined), o;
3098
+ var o = Us(e, r);
3099
+ return Ls(e) === 0 && (e = undefined), o;
3100
3100
  }
3101
3101
  return false;
3102
3102
  },
@@ -3376,52 +3376,52 @@ var Ss = function t(e) {
3376
3376
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || _typeof(e) == "symbol" || typeof e == "bigint";
3377
3377
  },
3378
3378
  bt = {},
3379
- ml = function t(e, n, r, o, a, i, s, c, u, l, p, d, v, y, m, h, S, E) {
3380
- for (var g = e, A = E, O = 0, C = false; (A = A.get(bt)) !== undefined && !C;) {
3381
- var N = A.get(e);
3382
- if (O += 1, _typeof(N) < "u") {
3383
- if (N === O) throw new RangeError("Cyclic object value");
3379
+ ml = function t(e, n, r, o, a, i, s, c, u, l, p, d, v, y, g, h, E, S) {
3380
+ for (var m = e, O = S, A = 0, C = false; (O = O.get(bt)) !== undefined && !C;) {
3381
+ var N = O.get(e);
3382
+ if (A += 1, _typeof(N) < "u") {
3383
+ if (N === A) throw new RangeError("Cyclic object value");
3384
3384
  C = true;
3385
3385
  }
3386
- _typeof(A.get(bt)) > "u" && (O = 0);
3386
+ _typeof(O.get(bt)) > "u" && (A = 0);
3387
3387
  }
3388
- if (typeof l == "function" ? g = l(n, g) : g instanceof Date ? g = v(g) : r === "comma" && M(g) && (g = $e.maybeMap(g, function (Ye) {
3388
+ if (typeof l == "function" ? m = l(n, m) : m instanceof Date ? m = v(m) : r === "comma" && M(m) && (m = $e.maybeMap(m, function (Ye) {
3389
3389
  return Ye instanceof Date ? v(Ye) : Ye;
3390
- })), g === null) {
3391
- if (i) return u && !h ? u(n, T.encoder, S, "key", y) : n;
3392
- g = "";
3390
+ })), m === null) {
3391
+ if (i) return u && !h ? u(n, T.encoder, E, "key", y) : n;
3392
+ m = "";
3393
3393
  }
3394
- if (hl(g) || $e.isBuffer(g)) {
3394
+ if (hl(m) || $e.isBuffer(m)) {
3395
3395
  if (u) {
3396
- var q = h ? n : u(n, T.encoder, S, "key", y);
3397
- return [m(q) + "=" + m(u(g, T.encoder, S, "value", y))];
3396
+ var q = h ? n : u(n, T.encoder, E, "key", y);
3397
+ return [g(q) + "=" + g(u(m, T.encoder, E, "value", y))];
3398
3398
  }
3399
- return [m(n) + "=" + m(String(g))];
3399
+ return [g(n) + "=" + g(String(m))];
3400
3400
  }
3401
- var L = [];
3402
- if (_typeof(g) > "u") return L;
3401
+ var U = [];
3402
+ if (_typeof(m) > "u") return U;
3403
3403
  var z;
3404
- if (r === "comma" && M(g)) h && u && (g = $e.maybeMap(g, u)), z = [{
3405
- value: g.length > 0 ? g.join(",") || null : undefined
3404
+ if (r === "comma" && M(m)) h && u && (m = $e.maybeMap(m, u)), z = [{
3405
+ value: m.length > 0 ? m.join(",") || null : undefined
3406
3406
  }];else if (M(l)) z = l;else {
3407
- var Re = Object.keys(g);
3407
+ var Re = Object.keys(m);
3408
3408
  z = p ? Re.sort(p) : Re;
3409
3409
  }
3410
3410
  var te = c ? String(n).replace(/\./g, "%2E") : String(n),
3411
- $ = o && M(g) && g.length === 1 ? te + "[]" : te;
3412
- if (a && M(g) && g.length === 0) return $ + "[]";
3411
+ $ = o && M(m) && m.length === 1 ? te + "[]" : te;
3412
+ if (a && M(m) && m.length === 0) return $ + "[]";
3413
3413
  for (var W = 0; W < z.length; ++W) {
3414
3414
  var j = z[W],
3415
- fe = _typeof(j) == "object" && j && _typeof(j.value) < "u" ? j.value : g[j];
3415
+ fe = _typeof(j) == "object" && j && _typeof(j.value) < "u" ? j.value : m[j];
3416
3416
  if (!(s && fe === null)) {
3417
3417
  var Ze = d && c ? String(j).replace(/\./g, "%2E") : String(j),
3418
- qn = M(g) ? typeof r == "function" ? r($, Ze) : $ : $ + (d ? "." + Ze : "[" + Ze + "]");
3419
- E.set(e, O);
3418
+ qn = M(m) ? typeof r == "function" ? r($, Ze) : $ : $ + (d ? "." + Ze : "[" + Ze + "]");
3419
+ S.set(e, A);
3420
3420
  var Jt = Dn();
3421
- Jt.set(bt, E), In(L, t(fe, qn, r, o, a, i, s, c, r === "comma" && h && M(g) ? null : u, l, p, d, v, y, m, h, S, Jt));
3421
+ Jt.set(bt, S), In(U, t(fe, qn, r, o, a, i, s, c, r === "comma" && h && M(m) ? null : u, l, p, d, v, y, g, h, E, Jt));
3422
3422
  }
3423
3423
  }
3424
- return L;
3424
+ return U;
3425
3425
  },
3426
3426
  gl = function gl(e) {
3427
3427
  if (!e) return T;
@@ -3514,7 +3514,7 @@ var Ss = function t(e) {
3514
3514
  return String.fromCharCode(parseInt(n, 10));
3515
3515
  });
3516
3516
  },
3517
- Ln = function Ln(t, e, n) {
3517
+ Un = function Un(t, e, n) {
3518
3518
  if (t && typeof t == "string" && e.comma && t.indexOf(",") > -1) return t.split(",");
3519
3519
  if (e.throwOnLimitExceeded && n >= e.arrayLimit) throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
3520
3520
  return t;
@@ -3540,11 +3540,11 @@ var Ss = function t(e) {
3540
3540
  d = p === -1 ? l.indexOf("=") : p + 1,
3541
3541
  v,
3542
3542
  y;
3543
- d === -1 ? (v = n.decoder(l, R.decoder, u, "key"), y = n.strictNullHandling ? null : "") : (v = n.decoder(l.slice(0, d), R.decoder, u, "key"), y = Y.maybeMap(Ln(l.slice(d + 1), n, Dr(r[v]) ? r[v].length : 0), function (h) {
3543
+ d === -1 ? (v = n.decoder(l, R.decoder, u, "key"), y = n.strictNullHandling ? null : "") : (v = n.decoder(l.slice(0, d), R.decoder, u, "key"), y = Y.maybeMap(Un(l.slice(d + 1), n, Dr(r[v]) ? r[v].length : 0), function (h) {
3544
3544
  return n.decoder(h, R.decoder, u, "value");
3545
3545
  })), y && n.interpretNumericEntities && u === "iso-8859-1" && (y = wl(String(y))), l.indexOf("[]=") > -1 && (y = Dr(y) ? [y] : y);
3546
- var m = Dt.call(r, v);
3547
- m && n.duplicates === "combine" ? r[v] = Y.combine(r[v], y) : (!m || n.duplicates === "last") && (r[v] = y);
3546
+ var g = Dt.call(r, v);
3547
+ g && n.duplicates === "combine" ? r[v] = Y.combine(r[v], y) : (!g || n.duplicates === "last") && (r[v] = y);
3548
3548
  }
3549
3549
  return r;
3550
3550
  },
@@ -3554,7 +3554,7 @@ var Ss = function t(e) {
3554
3554
  var a = t.slice(0, -1).join("");
3555
3555
  o = Array.isArray(e) && e[a] ? e[a].length : 0;
3556
3556
  }
3557
- for (var i = r ? e : Ln(e, n, o), s = t.length - 1; s >= 0; --s) {
3557
+ for (var i = r ? e : Un(e, n, o), s = t.length - 1; s >= 0; --s) {
3558
3558
  var c,
3559
3559
  u = t[s];
3560
3560
  if (u === "[]" && n.parseArrays) c = n.allowEmptyArrays && (i === "" || n.strictNullHandling && i === null) ? [] : Y.combine([], i);else {
@@ -3721,11 +3721,11 @@ var $r = $t(Fl, {
3721
3721
  It.extend(Vn);
3722
3722
  It.extend(Kn);
3723
3723
  var Gt = config.getConfig(),
3724
- Un = (_Gt$sso = Gt.sso) !== null && _Gt$sso !== void 0 ? _Gt$sso : true,
3724
+ Ln = (_Gt$sso = Gt.sso) !== null && _Gt$sso !== void 0 ? _Gt$sso : true,
3725
3725
  Ir = (_Gt$i18n = Gt.i18n) !== null && _Gt$i18n !== void 0 ? _Gt$i18n : true,
3726
3726
  Bn = (_Gt$noRedireLogin = Gt.noRedireLogin) !== null && _Gt$noRedireLogin !== void 0 ? _Gt$noRedireLogin : false;
3727
- var Lr = "",
3728
- Ur = 0;
3727
+ var Ur = "",
3728
+ Lr = 0;
3729
3729
  var Dl = 1e3,
3730
3730
  Br = /*#__PURE__*/function () {
3731
3731
  var _ref21 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee9(t, e) {
@@ -3781,7 +3781,12 @@ var $l = 5e3,
3781
3781
  var t = "/login";
3782
3782
  location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = false, (e = window.top) != null && e.vueRouter ? (n = window.top) == null || n.vueRouter.replace(t) : window.location.replace("/#".concat(t)));
3783
3783
  },
3784
- Il = /*#__PURE__*/function () {
3784
+ Il = function Il() {
3785
+ return sso.getQuery("code") || "" || Bn ? false : Mn() ? (Ln ? sso.login(_objectSpread(_objectSpread({}, sso.getTokenParams), {}, {
3786
+ redirect_uri: sso.real_uri
3787
+ })) : kn(), true) : false;
3788
+ },
3789
+ Ul = /*#__PURE__*/function () {
3785
3790
  var _ref22 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(t) {
3786
3791
  var _t$data;
3787
3792
  var n;
@@ -3792,13 +3797,13 @@ var $l = 5e3,
3792
3797
  }
3793
3798
  }, _callee0);
3794
3799
  }));
3795
- return function Il(_x11) {
3800
+ return function Ul(_x11) {
3796
3801
  return _ref22.apply(this, arguments);
3797
3802
  };
3798
3803
  }(),
3799
3804
  Ll = /*#__PURE__*/function () {
3800
3805
  var _ref23 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1(t, e) {
3801
- var m, h, S, E, _i18nBridge$getI18nBr, n, r, o, a, i, s, c, u, l, _ref24, g, A, O, _ref25, _ref26, _g, _A, _O2, d, v, y, _t10, _t11, _t12;
3806
+ var y, g, h, E, _i18nBridge$getI18nBr, n, r, o, a, i, s, c, u, _ref24, S, m, O, _ref25, _ref26, _S, _m, _O, p, d, v, _t10, _t11, _t12;
3802
3807
  return _regenerator().w(function (_context10) {
3803
3808
  while (1) switch (_context10.n) {
3804
3809
  case 0:
@@ -3809,27 +3814,25 @@ var $l = 5e3,
3809
3814
  404: n("接口地址未找到"),
3810
3815
  500: n("服务器内部错误")
3811
3816
  };
3812
- s = ((m = t == null ? undefined : t.response) == null ? undefined : m.data) || {};
3813
- c = sso.getQuery("code") || "", u = s == null ? undefined : s.code, l = (h = t.response) == null ? undefined : h.status;
3814
- if (!(!c && !Bn && (u === 401 || l === 401))) {
3817
+ s = ((y = t == null ? undefined : t.response) == null ? undefined : y.data) || {};
3818
+ c = s == null ? undefined : s.code, u = (g = t.response) == null ? undefined : g.status;
3819
+ if (!(c === 401 || u === 401)) {
3815
3820
  _context10.n = 6;
3816
3821
  break;
3817
3822
  }
3818
- Mn() && (Un ? sso.login(_objectSpread(_objectSpread({}, sso.getTokenParams), {}, {
3819
- redirect_uri: sso.real_uri
3820
- })) : kn()), r = u || l, a = s;
3821
- g = (_ref24 = e == null ? undefined : e.i18n) !== null && _ref24 !== void 0 ? _ref24 : true;
3822
- if (!(Ir && g && s != null && s.status)) {
3823
+ Il(), r = c || u, a = s;
3824
+ S = (_ref24 = e == null ? undefined : e.i18n) !== null && _ref24 !== void 0 ? _ref24 : true;
3825
+ if (!(Ir && S && s != null && s.status)) {
3823
3826
  _context10.n = 4;
3824
3827
  break;
3825
3828
  }
3826
- A = !(s != null && s.data) || !s.data.length ? [] : s.data, O = n.apply(void 0, [s.status].concat(_toConsumableArray(A)));
3829
+ m = !(s != null && s.data) || !s.data.length ? [] : s.data, O = n.apply(void 0, [s.status].concat(_toConsumableArray(m)));
3827
3830
  if (!(O === s.status)) {
3828
3831
  _context10.n = 2;
3829
3832
  break;
3830
3833
  }
3831
3834
  _context10.n = 1;
3832
- return Br(n, s.status, A);
3835
+ return Br(n, s.status, m);
3833
3836
  case 1:
3834
3837
  _t10 = _context10.v;
3835
3838
  _context10.n = 3;
@@ -3856,13 +3859,13 @@ var $l = 5e3,
3856
3859
  break;
3857
3860
  }
3858
3861
  _context10.n = 7;
3859
- return new Promise(function (g) {
3860
- var A = new FileReader();
3861
- A.readAsText(s, "utf-8"), A.onload = function () {
3862
+ return new Promise(function (S) {
3863
+ var m = new FileReader();
3864
+ m.readAsText(s, "utf-8"), m.onload = function () {
3862
3865
  try {
3863
- g(JSON.parse(A.result || "{}"));
3866
+ S(JSON.parse(m.result || "{}"));
3864
3867
  } catch (_unused20) {
3865
- g({
3868
+ S({
3866
3869
  code: 400,
3867
3870
  msg: n("解析错误")
3868
3871
  });
@@ -3877,24 +3880,24 @@ var $l = 5e3,
3877
3880
  break;
3878
3881
  }
3879
3882
  r = s.code, a = s;
3880
- _g = (_ref25 = e == null ? undefined : e.i18n) !== null && _ref25 !== void 0 ? _ref25 : true;
3881
- if (!(Ir && _g && s != null && s.status)) {
3883
+ _S = (_ref25 = e == null ? undefined : e.i18n) !== null && _ref25 !== void 0 ? _ref25 : true;
3884
+ if (!(Ir && _S && s != null && s.status)) {
3882
3885
  _context10.n = 12;
3883
3886
  break;
3884
3887
  }
3885
- _A = !(s != null && s.data) || !s.data.length ? [] : s.data, _O2 = n.apply(void 0, [s.status].concat(_toConsumableArray(_A)));
3886
- if (!(_O2 === s.status)) {
3888
+ _m = !(s != null && s.data) || !s.data.length ? [] : s.data, _O = n.apply(void 0, [s.status].concat(_toConsumableArray(_m)));
3889
+ if (!(_O === s.status)) {
3887
3890
  _context10.n = 10;
3888
3891
  break;
3889
3892
  }
3890
3893
  _context10.n = 9;
3891
- return Br(n, s.status, _A);
3894
+ return Br(n, s.status, _m);
3892
3895
  case 9:
3893
3896
  _t12 = _context10.v;
3894
3897
  _context10.n = 11;
3895
3898
  break;
3896
3899
  case 10:
3897
- _t12 = _O2;
3900
+ _t12 = _O;
3898
3901
  case 11:
3899
3902
  o = _t12;
3900
3903
  _context10.n = 13;
@@ -3914,11 +3917,11 @@ var $l = 5e3,
3914
3917
  t.request ? (r = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = n("网络异常,请检查您的网络情况")) : (r = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = n("请求配置异常"));
3915
3918
  case 17:
3916
3919
  e != null && e.customErrorMessage && (o = e == null ? undefined : e.customErrorMessage(o, t));
3917
- d = Date.now(), v = o === Lr, y = d - Ur < Dl;
3918
- return _context10.a(2, (!(e != null && e.ignoreErrorMessage) && o && (!v || !y) && ((E = (S = window.DasMessage) == null ? undefined : S.error) == null || E.call(S, {
3920
+ p = Date.now(), d = o === Ur, v = p - Lr < Dl;
3921
+ return _context10.a(2, (!(e != null && e.ignoreErrorMessage) && o && (!d || !v) && ((E = (h = window.DasMessage) == null ? undefined : h.error) == null || E.call(h, {
3919
3922
  message: o,
3920
3923
  showClose: true
3921
- }), Lr = o, Ur = d), _objectSpread(_objectSpread({}, a), {}, {
3924
+ }), Ur = o, Lr = p), _objectSpread(_objectSpread({}, a), {}, {
3922
3925
  code: r,
3923
3926
  msg: o,
3924
3927
  error: t
@@ -3930,7 +3933,7 @@ var $l = 5e3,
3930
3933
  return _ref23.apply(this, arguments);
3931
3934
  };
3932
3935
  }();
3933
- function Ul(t, e) {
3936
+ function Bl(t, e) {
3934
3937
  var n = P.create();
3935
3938
  return curringHttp.curringHttp(n, /*#__PURE__*/function () {
3936
3939
  var _ref27 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee10(r) {
@@ -3949,7 +3952,7 @@ function Ul(t, e) {
3949
3952
  d = new URL(location.href).searchParams;
3950
3953
  p = d.get("token") || d.get("accessToken") || d.get("accesstoken") || "";
3951
3954
  }
3952
- if (!Un) {
3955
+ if (!Ln) {
3953
3956
  _context11.n = 3;
3954
3957
  break;
3955
3958
  }
@@ -3991,7 +3994,7 @@ function Ul(t, e) {
3991
3994
  indices: false
3992
3995
  });
3993
3996
  }
3994
- }), r.onSuccess || (r.onSuccess = Il), r.onError || (r.onError = Ll), ((_r$csrf = r.csrf) !== null && _r$csrf !== void 0 ? _r$csrf : false) && (r.headers["csrf-token"] = $r.get("csrf-token"));
3997
+ }), r.onSuccess || (r.onSuccess = Ul), r.onError || (r.onError = Ll), ((_r$csrf = r.csrf) !== null && _r$csrf !== void 0 ? _r$csrf : false) && (r.headers["csrf-token"] = $r.get("csrf-token"));
3995
3998
  c = r.params || {};
3996
3999
  if (c.project === undefined) {
3997
4000
  _p2 = 0;
@@ -4013,6 +4016,6 @@ function Ul(t, e) {
4013
4016
  };
4014
4017
  }());
4015
4018
  }
4016
- var Bl = "v2",
4017
- Kl = Ul("/api/edge/".concat(Bl));
4018
- exports.gatewayEdge = Kl;
4019
+ var Ml = "v2",
4020
+ Ql = Bl("/api/edge/".concat(Ml));
4021
+ exports.gatewayEdge = Ql;