@das-fed/upf-utils 6.4.0-dev.227 → 6.4.0-dev.229

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 +1082 -1077
  2. package/api-services/index.js +846 -842
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/es5.js +1418 -1403
  5. package/api-services/modules/app-manage/index.js +1198 -1180
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/es5.js +161 -158
  8. package/api-services/modules/authentication/index.js +138 -138
  9. package/api-services/modules/authentication/index.js.gz +0 -0
  10. package/api-services/modules/bems/es5.js +1180 -1165
  11. package/api-services/modules/bems/index.js +976 -958
  12. package/api-services/modules/bems/index.js.gz +0 -0
  13. package/api-services/modules/contract/es5.js +702 -699
  14. package/api-services/modules/contract/index.js +619 -619
  15. package/api-services/modules/contract/index.js.gz +0 -0
  16. package/api-services/modules/duty-manage/es5.js +1389 -1374
  17. package/api-services/modules/duty-manage/index.js +1180 -1162
  18. package/api-services/modules/duty-manage/index.js.gz +0 -0
  19. package/api-services/modules/enterpriseright/es5.js +1174 -1159
  20. package/api-services/modules/enterpriseright/index.js +971 -953
  21. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  22. package/api-services/modules/es5.js +1337 -1346
  23. package/api-services/modules/file/es5.js +1222 -1231
  24. package/api-services/modules/file/index.js +987 -1005
  25. package/api-services/modules/file/index.js.gz +0 -0
  26. package/api-services/modules/gateway-edge/es5.js +1384 -1391
  27. package/api-services/modules/gateway-edge/index.js +1165 -1179
  28. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  29. package/api-services/modules/index.js +1046 -1064
  30. package/api-services/modules/index.js.gz +0 -0
  31. package/api-services/modules/iot/es5.js +1206 -1191
  32. package/api-services/modules/iot/index.js +1006 -988
  33. package/api-services/modules/iot/index.js.gz +0 -0
  34. package/api-services/modules/justauth/es5.js +1148 -1133
  35. package/api-services/modules/justauth/index.js +954 -936
  36. package/api-services/modules/justauth/index.js.gz +0 -0
  37. package/api-services/modules/knowledge/es5.js +1157 -1163
  38. package/api-services/modules/knowledge/index.js +955 -969
  39. package/api-services/modules/knowledge/index.js.gz +0 -0
  40. package/api-services/modules/link/es5.js +1384 -1393
  41. package/api-services/modules/link/index.js +1165 -1183
  42. package/api-services/modules/link/index.js.gz +0 -0
  43. package/api-services/modules/permission/es5.js +1157 -1163
  44. package/api-services/modules/permission/index.js +955 -969
  45. package/api-services/modules/permission/index.js.gz +0 -0
  46. package/api-services/modules/platformManage/es5.js +171 -168
  47. package/api-services/modules/platformManage/index.js +150 -150
  48. package/api-services/modules/platformManage/index.js.gz +0 -0
  49. package/api-services/modules/portal/es5.js +235 -232
  50. package/api-services/modules/portal/index.js +209 -209
  51. package/api-services/modules/portal/index.js.gz +0 -0
  52. package/api-services/modules/space-manage/es5.js +919 -913
  53. package/api-services/modules/space-manage/index.js +728 -724
  54. package/api-services/modules/space-manage/index.js.gz +0 -0
  55. package/api-services/modules/super-admin/es5.js +1117 -1126
  56. package/api-services/modules/super-admin/index.js +916 -934
  57. package/api-services/modules/super-admin/index.js.gz +0 -0
  58. package/api-services/modules/supplier/es5.js +165 -162
  59. package/api-services/modules/supplier/index.js +141 -141
  60. package/api-services/modules/supplier/index.js.gz +0 -0
  61. package/api-services/modules/supplychain-manage/es5.js +1134 -1143
  62. package/api-services/modules/supplychain-manage/index.js +932 -950
  63. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  64. package/api-services/modules/systemConfiguration/es5.js +1145 -1133
  65. package/api-services/modules/systemConfiguration/index.js +948 -934
  66. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  67. package/api-services/modules/tool/es5.js +1174 -1159
  68. package/api-services/modules/tool/index.js +971 -953
  69. package/api-services/modules/tool/index.js.gz +0 -0
  70. package/api-services/src/create-service/es5.js +1390 -1397
  71. package/api-services/src/create-service/index.js +1164 -1178
  72. package/api-services/src/create-service/index.js.gz +0 -0
  73. package/common-info/es5.js +1635 -1596
  74. package/common-info/getPermissionMethod/es5.js +1160 -1148
  75. package/common-info/getPermissionMethod/index.js +956 -942
  76. package/common-info/getPermissionMethod/index.js.gz +0 -0
  77. package/common-info/index.d.ts +9 -2
  78. package/common-info/index.js +1417 -1397
  79. package/common-info/index.js.gz +0 -0
  80. package/create-api-service/es5.js +165 -161
  81. package/create-api-service/index.d.ts +6 -6
  82. package/create-api-service/index.js +151 -150
  83. package/create-api-service/index.js.gz +0 -0
  84. package/directive/auth/es5.js +49 -56
  85. package/directive/auth/index.js +33 -41
  86. package/directive/auth/index.js.gz +0 -0
  87. package/esm-map.json +4 -1
  88. package/hooks/use-get-auth/es5.js +57 -191
  89. package/hooks/use-get-auth/index.d.ts +2 -7
  90. package/hooks/use-get-auth/index.js +16 -50
  91. package/package.json +3 -3
  92. package/hooks/use-get-auth/apis.d.ts +0 -4
  93. package/hooks/use-get-auth/index.js.gz +0 -0
@@ -294,8 +294,8 @@ var Ho = function Ho(t) {
294
294
  };
295
295
  return _r2(t, 0);
296
296
  },
297
- Wo = q("AsyncFunction"),
298
- zo = function zo(t) {
297
+ zo = q("AsyncFunction"),
298
+ Wo = function Wo(t) {
299
299
  return t && (Ce(t) || I(t)) && I(t.then) && I(t["catch"]);
300
300
  },
301
301
  on = function (t, e) {
@@ -369,8 +369,8 @@ var Ho = function Ho(t) {
369
369
  isContextDefined: rn,
370
370
  isSpecCompliantForm: jo,
371
371
  toJSONObject: Ho,
372
- isAsyncFn: Wo,
373
- isThenable: zo,
372
+ isAsyncFn: zo,
373
+ isThenable: Wo,
374
374
  setImmediate: on,
375
375
  asap: Go,
376
376
  isIterable: Jo
@@ -486,8 +486,8 @@ function tt(t, e, r) {
486
486
  function v(d, m) {
487
487
  if (!f.isUndefined(d)) {
488
488
  if (p.indexOf(d) !== -1) throw Error("Circular reference detected in " + m.join("."));
489
- p.push(d), f.forEach(d, function (S, A) {
490
- (!(f.isUndefined(S) || S === null) && o.call(e, S, f.isString(A) ? A.trim() : A, m, y)) === true && v(S, m ? m.concat(A) : [A]);
489
+ p.push(d), f.forEach(d, function (S, O) {
490
+ (!(f.isUndefined(S) || S === null) && o.call(e, S, f.isString(O) ? O.trim() : O, m, y)) === true && v(S, m ? m.concat(O) : [O]);
491
491
  }), p.pop();
492
492
  }
493
493
  }
@@ -621,16 +621,16 @@ var fn = {
621
621
  },
622
622
  protocols: ["http", "https", "file", "blob", "url", "data"]
623
623
  },
624
- Wt = (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && (typeof document === "undefined" ? "undefined" : _typeof(document)) < "u",
624
+ zt = (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && (typeof document === "undefined" ? "undefined" : _typeof(document)) < "u",
625
625
  $t = (typeof navigator === "undefined" ? "undefined" : _typeof(navigator)) == "object" && navigator || undefined,
626
- ra = Wt && (!$t || ["ReactNative", "NativeScript", "NS"].indexOf($t.product) < 0),
626
+ ra = zt && (!$t || ["ReactNative", "NativeScript", "NS"].indexOf($t.product) < 0),
627
627
  na = (typeof WorkerGlobalScope === "undefined" ? "undefined" : _typeof(WorkerGlobalScope)) < "u" &&
628
628
  // eslint-disable-next-line no-undef
629
629
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
630
- oa = Wt && window.location.href || "http://localhost",
630
+ oa = zt && window.location.href || "http://localhost",
631
631
  aa = /* @__PURE__ */Object.freeze(/* @__PURE__ */Object.defineProperty({
632
632
  __proto__: null,
633
- hasBrowserEnv: Wt,
633
+ hasBrowserEnv: zt,
634
634
  hasStandardBrowserEnv: ra,
635
635
  hasStandardBrowserWebWorkerEnv: na,
636
636
  navigator: $t,
@@ -1257,7 +1257,7 @@ var mn = function mn(t) {
1257
1257
  function S() {
1258
1258
  if (!h) return;
1259
1259
  var g = D.from("getAllResponseHeaders" in h && h.getAllResponseHeaders()),
1260
- O = {
1260
+ P = {
1261
1261
  data: !s || s === "text" || s === "json" ? h.responseText : h.response,
1262
1262
  status: h.status,
1263
1263
  statusText: h.statusText,
@@ -1269,28 +1269,28 @@ var mn = function mn(t) {
1269
1269
  r(T), m();
1270
1270
  }, function (T) {
1271
1271
  n(T), m();
1272
- }, O), h = null;
1272
+ }, P), h = null;
1273
1273
  }
1274
1274
  "onloadend" in h ? h.onloadend = S : h.onreadystatechange = function () {
1275
1275
  !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(S);
1276
1276
  }, h.onabort = function () {
1277
1277
  h && (n(new w("Request aborted", w.ECONNABORTED, t, h)), h = null);
1278
1278
  }, h.onerror = function (E) {
1279
- var O = E && E.message ? E.message : "Network Error",
1280
- U = new w(O, w.ERR_NETWORK, t, h);
1279
+ var P = E && E.message ? E.message : "Network Error",
1280
+ U = new w(P, w.ERR_NETWORK, t, h);
1281
1281
  U.event = E || null, n(U), h = null;
1282
1282
  }, h.ontimeout = function () {
1283
1283
  var E = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1284
- var O = o.transitional || fn;
1285
- o.timeoutErrorMessage && (E = o.timeoutErrorMessage), n(new w(E, O.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED, t, h)), h = null;
1286
- }, a === undefined && i.setContentType(null), "setRequestHeader" in h && f.forEach(i.toJSON(), function (E, O) {
1287
- h.setRequestHeader(O, E);
1284
+ var P = o.transitional || fn;
1285
+ o.timeoutErrorMessage && (E = o.timeoutErrorMessage), n(new w(E, P.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED, t, h)), h = null;
1286
+ }, a === undefined && i.setContentType(null), "setRequestHeader" in h && f.forEach(i.toJSON(), function (E, P) {
1287
+ h.setRequestHeader(P, E);
1288
1288
  }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), u && (_Je = Je(u, true), _Je2 = _slicedToArray(_Je, 2), y = _Je2[0], d = _Je2[1], h.addEventListener("progress", y)), c && h.upload && (_Je3 = Je(c), _Je4 = _slicedToArray(_Je3, 2), p = _Je4[0], v = _Je4[1], h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = function l(g) {
1289
1289
  h && (n(!g || g.type ? new ve(null, t, h) : g), h.abort(), h = null);
1290
1290
  }, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
1291
- var A = ma(o.url);
1292
- if (A && N.protocols.indexOf(A) === -1) {
1293
- n(new w("Unsupported protocol " + A + ":", w.ERR_BAD_REQUEST, t));
1291
+ var O = ma(o.url);
1292
+ if (O && N.protocols.indexOf(O) === -1) {
1293
+ n(new w("Unsupported protocol " + O + ":", w.ERR_BAD_REQUEST, t));
1294
1294
  return;
1295
1295
  }
1296
1296
  h.send(a || null);
@@ -1677,13 +1677,13 @@ var mn = function mn(t) {
1677
1677
  }();
1678
1678
  return /*#__PURE__*/function () {
1679
1679
  var _ref15 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(d) {
1680
- var _mn, m, h, S, A, g, E, O, U, T, V, _mn$withCredentials, L, M, Z, k, C, F, B, K, ce, _ir, _ir2, st, Ue, $, le, j, be, _K, _ce, _ref16, _ref17, _st, _Ue, Se, _t8, _t9, _t0;
1680
+ var _mn, m, h, S, O, g, E, P, U, T, V, _mn$withCredentials, L, M, Z, k, C, F, B, K, ce, _ir, _ir2, st, Ue, $, le, j, be, _K, _ce, _ref16, _ref17, _st, _Ue, Se, _t8, _t9, _t0;
1681
1681
  return _regenerator().w(function (_context8) {
1682
1682
  while (1) switch (_context8.p = _context8.n) {
1683
1683
  case 0:
1684
- _mn = mn(d), m = _mn.url, h = _mn.method, S = _mn.data, A = _mn.signal, g = _mn.cancelToken, E = _mn.timeout, O = _mn.onDownloadProgress, U = _mn.onUploadProgress, T = _mn.responseType, V = _mn.headers, _mn$withCredentials = _mn.withCredentials, L = _mn$withCredentials === void 0 ? "same-origin" : _mn$withCredentials, M = _mn.fetchOptions, Z = e || fetch;
1684
+ _mn = mn(d), m = _mn.url, h = _mn.method, S = _mn.data, O = _mn.signal, g = _mn.cancelToken, E = _mn.timeout, P = _mn.onDownloadProgress, U = _mn.onUploadProgress, T = _mn.responseType, V = _mn.headers, _mn$withCredentials = _mn.withCredentials, L = _mn$withCredentials === void 0 ? "same-origin" : _mn$withCredentials, M = _mn.fetchOptions, Z = e || fetch;
1685
1685
  T = T ? (T + "").toLowerCase() : "text";
1686
- k = Ra([A, g && g.toAbortSignal()], E), C = null;
1686
+ k = Ra([O, g && g.toAbortSignal()], E), C = null;
1687
1687
  F = k && k.unsubscribe && function () {
1688
1688
  k.unsubscribe();
1689
1689
  };
@@ -1728,12 +1728,12 @@ var mn = function mn(t) {
1728
1728
  case 5:
1729
1729
  j = _context8.v;
1730
1730
  be = l && (T === "stream" || T === "response");
1731
- if (l && (O || be && F)) {
1731
+ if (l && (P || be && F)) {
1732
1732
  _K = {};
1733
1733
  ["status", "statusText", "headers"].forEach(function (er) {
1734
1734
  _K[er] = j[er];
1735
1735
  });
1736
- _ce = f.toFiniteNumber(j.headers.get("content-length")), _ref16 = O && ir(_ce, Je(sr(O), !0)) || [], _ref17 = _slicedToArray(_ref16, 2), _st = _ref17[0], _Ue = _ref17[1];
1736
+ _ce = f.toFiniteNumber(j.headers.get("content-length")), _ref16 = P && ir(_ce, Je(sr(P), !0)) || [], _ref17 = _slicedToArray(_ref16, 2), _st = _ref17[0], _Ue = _ref17[1];
1737
1737
  j = new n(cr(j.body, ur, _st, function () {
1738
1738
  _Ue && _Ue(), F && F();
1739
1739
  }), _K);
@@ -1789,14 +1789,14 @@ var mn = function mn(t) {
1789
1789
  return u;
1790
1790
  };
1791
1791
  gn();
1792
- var zt = {
1792
+ var Wt = {
1793
1793
  http: Vo,
1794
1794
  xhr: Aa,
1795
1795
  fetch: {
1796
1796
  get: gn
1797
1797
  }
1798
1798
  };
1799
- f.forEach(zt, function (t, e) {
1799
+ f.forEach(Wt, function (t, e) {
1800
1800
  if (t) {
1801
1801
  try {
1802
1802
  Object.defineProperty(t, "name", {
@@ -1823,7 +1823,7 @@ function Na(t, e) {
1823
1823
  for (var i = 0; i < r; i++) {
1824
1824
  n = t[i];
1825
1825
  var s = void 0;
1826
- if (o = n, !$a(n) && (o = zt[(s = String(n)).toLowerCase()], o === undefined)) throw new w("Unknown adapter '".concat(s, "'"));
1826
+ if (o = n, !$a(n) && (o = Wt[(s = String(n)).toLowerCase()], o === undefined)) throw new w("Unknown adapter '".concat(s, "'"));
1827
1827
  if (o && (f.isFunction(o) || (o = o.get(e)))) break;
1828
1828
  a[s || "#" + i] = o;
1829
1829
  }
@@ -1849,7 +1849,7 @@ var vn = {
1849
1849
  * Exposes all known adapters
1850
1850
  * @type {Object<string, Function|Object>}
1851
1851
  */
1852
- adapters: zt
1852
+ adapters: Wt
1853
1853
  };
1854
1854
  function ut(t) {
1855
1855
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted) throw new ve(null, t);
@@ -2231,28 +2231,28 @@ function bn(t) {
2231
2231
  return bn(ae(t, o));
2232
2232
  }, r;
2233
2233
  }
2234
- var P = bn($e);
2235
- P.Axios = te;
2236
- P.CanceledError = ve;
2237
- P.CancelToken = Gt;
2238
- P.isCancel = dn;
2239
- P.VERSION = wn;
2240
- P.toFormData = tt;
2241
- P.AxiosError = w;
2242
- P.Cancel = P.CanceledError;
2243
- P.all = function (e) {
2234
+ var R = bn($e);
2235
+ R.Axios = te;
2236
+ R.CanceledError = ve;
2237
+ R.CancelToken = Gt;
2238
+ R.isCancel = dn;
2239
+ R.VERSION = wn;
2240
+ R.toFormData = tt;
2241
+ R.AxiosError = w;
2242
+ R.Cancel = R.CanceledError;
2243
+ R.all = function (e) {
2244
2244
  return Promise.all(e);
2245
2245
  };
2246
- P.spread = Da;
2247
- P.isAxiosError = Ua;
2248
- P.mergeConfig = ae;
2249
- P.AxiosHeaders = D;
2250
- P.formToJSON = function (t) {
2246
+ R.spread = Da;
2247
+ R.isAxiosError = Ua;
2248
+ R.mergeConfig = ae;
2249
+ R.AxiosHeaders = D;
2250
+ R.formToJSON = function (t) {
2251
2251
  return pn(f.isHTMLForm(t) ? new FormData(t) : t);
2252
2252
  };
2253
- P.getAdapter = vn.getAdapter;
2254
- P.HttpStatusCode = Nt;
2255
- P["default"] = P;
2253
+ R.getAdapter = vn.getAdapter;
2254
+ R.HttpStatusCode = Nt;
2255
+ R["default"] = R;
2256
2256
  var gr = (typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) < "u" ? globalThis : (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" ? window : (typeof global === "undefined" ? "undefined" : _typeof(global)) < "u" ? global : (typeof self === "undefined" ? "undefined" : _typeof(self)) < "u" ? self : {};
2257
2257
  function La(t) {
2258
2258
  return t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t["default"] : t;
@@ -2299,9 +2299,9 @@ var Jt = typeof Map == "function" && Map.prototype,
2299
2299
  Ae = ja ? WeakMap.prototype.has : null,
2300
2300
  Ha = typeof WeakSet == "function" && WeakSet.prototype,
2301
2301
  Re = Ha ? WeakSet.prototype.has : null,
2302
- Wa = typeof WeakRef == "function" && WeakRef.prototype,
2303
- br = Wa ? WeakRef.prototype.deref : null,
2304
- za = Boolean.prototype.valueOf,
2302
+ za = typeof WeakRef == "function" && WeakRef.prototype,
2303
+ br = za ? WeakRef.prototype.deref : null,
2304
+ Wa = Boolean.prototype.valueOf,
2305
2305
  Ga = Object.prototype.toString,
2306
2306
  Ja = Function.prototype.toString,
2307
2307
  Va = String.prototype.match,
@@ -2394,7 +2394,7 @@ var Ut = qa,
2394
2394
  return _typeof(e) == "object" && !he ? Oe(m) : m;
2395
2395
  }
2396
2396
  if (pi(e)) {
2397
- for (var h = "<" + Sr.call(String(e.nodeName)), S = e.attributes || [], A = 0; A < S.length; A++) h += " " + S[A].name + "=" + An(Za(S[A].value), "double", a);
2397
+ for (var h = "<" + Sr.call(String(e.nodeName)), S = e.attributes || [], O = 0; O < S.length; O++) h += " " + S[O].name + "=" + An(Za(S[O].value), "double", a);
2398
2398
  return h += ">", e.childNodes && e.childNodes.length && (h += "..."), h += "</" + Sr.call(String(e.nodeName)) + ">", h;
2399
2399
  }
2400
2400
  if (Lt(e)) {
@@ -2413,10 +2413,10 @@ var Ut = qa,
2413
2413
  if (i !== "symbol" && typeof e.inspect == "function") return e.inspect();
2414
2414
  }
2415
2415
  if (si(e)) {
2416
- var O = [];
2416
+ var P = [];
2417
2417
  return vr && vr.call(e, function (C, F) {
2418
- O.push(y(F, e, true) + " => " + y(C, e));
2419
- }), _r("Map", Ve.call(e), O, p);
2418
+ P.push(y(F, e, true) + " => " + y(C, e));
2419
+ }), _r("Map", Ve.call(e), P, p);
2420
2420
  }
2421
2421
  if (ui(e)) {
2422
2422
  var U = [];
@@ -2429,7 +2429,7 @@ var Ut = qa,
2429
2429
  if (ci(e)) return yt("WeakRef");
2430
2430
  if (ri(e)) return Oe(y(Number(e)));
2431
2431
  if (oi(e)) return Oe(y(It.call(e)));
2432
- if (ni(e)) return Oe(za.call(e));
2432
+ if (ni(e)) return Oe(Wa.call(e));
2433
2433
  if (ti(e)) return Oe(y(String(e)));
2434
2434
  if ((typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && e === window) return "{ [object Window] }";
2435
2435
  if ((typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) < "u" && e === globalThis || _typeof(gr) < "u" && e === gr) return "{ [object globalThis] }";
@@ -2714,22 +2714,22 @@ var mi = nt,
2714
2714
  return Ui(e) || e === 0 ? e : e < 0 ? -1 : 1;
2715
2715
  },
2716
2716
  Bi = Object.getOwnPropertyDescriptor,
2717
- We = Bi;
2718
- if (We) try {
2719
- We([], "length");
2717
+ ze = Bi;
2718
+ if (ze) try {
2719
+ ze([], "length");
2720
2720
  } catch (_unused14) {
2721
- We = null;
2721
+ ze = null;
2722
2722
  }
2723
- var _n = We,
2724
- ze = Object.defineProperty || false;
2725
- if (ze) try {
2726
- ze({}, "a", {
2723
+ var _n = ze,
2724
+ We = Object.defineProperty || false;
2725
+ if (We) try {
2726
+ We({}, "a", {
2727
2727
  value: 1
2728
2728
  });
2729
2729
  } catch (_unused15) {
2730
- ze = false;
2730
+ We = false;
2731
2731
  }
2732
- var Mi = ze,
2732
+ var Mi = We,
2733
2733
  ht,
2734
2734
  Cr;
2735
2735
  function ki() {
@@ -2777,8 +2777,8 @@ function Fn() {
2777
2777
  }
2778
2778
  var ji = "Function.prototype.bind called on incompatible ",
2779
2779
  Hi = Object.prototype.toString,
2780
- Wi = Math.max,
2781
- zi = "[object Function]",
2780
+ zi = Math.max,
2781
+ Wi = "[object Function]",
2782
2782
  Ir = function Ir(e, r) {
2783
2783
  for (var n = [], o = 0; o < e.length; o += 1) n[o] = e[o];
2784
2784
  for (var a = 0; a < r.length; a += 1) n[a + e.length] = r[a];
@@ -2794,14 +2794,14 @@ var ji = "Function.prototype.bind called on incompatible ",
2794
2794
  },
2795
2795
  Vi = function Vi(e) {
2796
2796
  var r = this;
2797
- if (typeof r != "function" || Hi.apply(r) !== zi) throw new TypeError(ji + r);
2797
+ if (typeof r != "function" || Hi.apply(r) !== Wi) throw new TypeError(ji + r);
2798
2798
  for (var n = Gi(arguments, 1), o, a = function a() {
2799
2799
  if (this instanceof o) {
2800
2800
  var l = r.apply(this, Ir(n, arguments));
2801
2801
  return Object(l) === l ? l : this;
2802
2802
  }
2803
2803
  return r.apply(e, Ir(n, arguments));
2804
- }, i = Wi(0, r.length - n.length), s = [], c = 0; c < i; c++) s[c] = "$" + c;
2804
+ }, i = zi(0, r.length - n.length), s = [], c = 0; c < i; c++) s[c] = "$" + c;
2805
2805
  if (o = Function("binder", "return function (" + Ji(s, ",") + "){ return binder.apply(this,arguments); }")(a), r.prototype) {
2806
2806
  var u = function u() {};
2807
2807
  u.prototype = r.prototype, o.prototype = new u(), u.prototype = null;
@@ -3161,7 +3161,7 @@ var xs = function t(e) {
3161
3161
  qs = De("Map.prototype.set", true),
3162
3162
  js = De("Map.prototype.has", true),
3163
3163
  Hs = De("Map.prototype.delete", true),
3164
- Ws = De("Map.prototype.size", true),
3164
+ zs = De("Map.prototype.size", true),
3165
3165
  Mn = !!qr && /** @type {Exclude<import('.'), false>} */
3166
3166
  function () {
3167
3167
  var e,
@@ -3172,7 +3172,7 @@ var xs = function t(e) {
3172
3172
  "delete": function _delete(n) {
3173
3173
  if (e) {
3174
3174
  var o = Hs(e, n);
3175
- return Ws(e) === 0 && (e = undefined), o;
3175
+ return zs(e) === 0 && (e = undefined), o;
3176
3176
  }
3177
3177
  return false;
3178
3178
  },
@@ -3188,12 +3188,12 @@ var xs = function t(e) {
3188
3188
  };
3189
3189
  return r;
3190
3190
  },
3191
- zs = Xt,
3191
+ Ws = Xt,
3192
3192
  it = Bn,
3193
3193
  Gs = nt,
3194
3194
  Me = Mn,
3195
3195
  Js = we,
3196
- fe = zs("%WeakMap%", true),
3196
+ fe = Ws("%WeakMap%", true),
3197
3197
  Vs = it("WeakMap.prototype.get", true),
3198
3198
  Ks = it("WeakMap.prototype.set", true),
3199
3199
  Qs = it("WeakMap.prototype.has", true),
@@ -3273,7 +3273,7 @@ var xs = function t(e) {
3273
3273
  ll = Zt,
3274
3274
  Pt = Object.prototype.hasOwnProperty,
3275
3275
  Y = Array.isArray,
3276
- W = function () {
3276
+ z = function () {
3277
3277
  for (var t = [], e = 0; e < 256; ++e) t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
3278
3278
  return t;
3279
3279
  }(),
@@ -3340,18 +3340,18 @@ var xs = function t(e) {
3340
3340
  continue;
3341
3341
  }
3342
3342
  if (y < 128) {
3343
- l[l.length] = W[y];
3343
+ l[l.length] = z[y];
3344
3344
  continue;
3345
3345
  }
3346
3346
  if (y < 2048) {
3347
- l[l.length] = W[192 | y >> 6] + W[128 | y & 63];
3347
+ l[l.length] = z[192 | y >> 6] + z[128 | y & 63];
3348
3348
  continue;
3349
3349
  }
3350
3350
  if (y < 55296 || y >= 57344) {
3351
- l[l.length] = W[224 | y >> 12] + W[128 | y >> 6 & 63] + W[128 | y & 63];
3351
+ l[l.length] = z[224 | y >> 12] + z[128 | y >> 6 & 63] + z[128 | y & 63];
3352
3352
  continue;
3353
3353
  }
3354
- p += 1, y = 65536 + ((y & 1023) << 10 | u.charCodeAt(p) & 1023), l[l.length] = W[240 | y >> 18] + W[128 | y >> 12 & 63] + W[128 | y >> 6 & 63] + W[128 | y & 63];
3354
+ p += 1, y = 65536 + ((y & 1023) << 10 | u.charCodeAt(p) & 1023), l[l.length] = z[240 | y >> 18] + z[128 | y >> 12 & 63] + z[128 | y >> 6 & 63] + z[128 | y & 63];
3355
3355
  }
3356
3356
  s += l.join("");
3357
3357
  }
@@ -3417,10 +3417,10 @@ var xs = function t(e) {
3417
3417
  return e;
3418
3418
  }
3419
3419
  },
3420
- z = Array.isArray,
3420
+ W = Array.isArray,
3421
3421
  bl = Array.prototype.push,
3422
- Wn = function Wn(t, e) {
3423
- bl.apply(t, z(e) ? e : [e]);
3422
+ zn = function zn(t, e) {
3423
+ bl.apply(t, W(e) ? e : [e]);
3424
3424
  },
3425
3425
  Sl = Date.prototype.toISOString,
3426
3426
  jr = Te["default"],
@@ -3452,16 +3452,16 @@ var xs = function t(e) {
3452
3452
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || _typeof(e) == "symbol" || typeof e == "bigint";
3453
3453
  },
3454
3454
  xt = {},
3455
- Ol = function t(e, r, n, o, a, i, s, c, u, l, p, y, v, d, m, h, S, A) {
3456
- for (var g = e, E = A, O = 0, U = false; (E = E.get(xt)) !== undefined && !U;) {
3455
+ Ol = function t(e, r, n, o, a, i, s, c, u, l, p, y, v, d, m, h, S, O) {
3456
+ for (var g = e, E = O, P = 0, U = false; (E = E.get(xt)) !== undefined && !U;) {
3457
3457
  var T = E.get(e);
3458
- if (O += 1, _typeof(T) < "u") {
3459
- if (T === O) throw new RangeError("Cyclic object value");
3458
+ if (P += 1, _typeof(T) < "u") {
3459
+ if (T === P) throw new RangeError("Cyclic object value");
3460
3460
  U = true;
3461
3461
  }
3462
- _typeof(E.get(xt)) > "u" && (O = 0);
3462
+ _typeof(E.get(xt)) > "u" && (P = 0);
3463
3463
  }
3464
- if (typeof l == "function" ? g = l(r, g) : g instanceof Date ? g = v(g) : n === "comma" && z(g) && (g = Ge.maybeMap(g, function (Se) {
3464
+ if (typeof l == "function" ? g = l(r, g) : g instanceof Date ? g = v(g) : n === "comma" && W(g) && (g = Ge.maybeMap(g, function (Se) {
3465
3465
  return Se instanceof Date ? v(Se) : Se;
3466
3466
  })), g === null) {
3467
3467
  if (i) return u && !h ? u(r, x.encoder, S, "key", d) : r;
@@ -3477,24 +3477,24 @@ var xs = function t(e) {
3477
3477
  var L = [];
3478
3478
  if (_typeof(g) > "u") return L;
3479
3479
  var M;
3480
- if (n === "comma" && z(g)) h && u && (g = Ge.maybeMap(g, u)), M = [{
3480
+ if (n === "comma" && W(g)) h && u && (g = Ge.maybeMap(g, u)), M = [{
3481
3481
  value: g.length > 0 ? g.join(",") || null : undefined
3482
- }];else if (z(l)) M = l;else {
3482
+ }];else if (W(l)) M = l;else {
3483
3483
  var Z = Object.keys(g);
3484
3484
  M = p ? Z.sort(p) : Z;
3485
3485
  }
3486
3486
  var k = c ? String(r).replace(/\./g, "%2E") : String(r),
3487
- C = o && z(g) && g.length === 1 ? k + "[]" : k;
3488
- if (a && z(g) && g.length === 0) return C + "[]";
3487
+ C = o && W(g) && g.length === 1 ? k + "[]" : k;
3488
+ if (a && W(g) && g.length === 0) return C + "[]";
3489
3489
  for (var F = 0; F < M.length; ++F) {
3490
3490
  var B = M[F],
3491
3491
  $ = _typeof(B) == "object" && B && _typeof(B.value) < "u" ? B.value : g[B];
3492
3492
  if (!(s && $ === null)) {
3493
3493
  var le = y && c ? String(B).replace(/\./g, "%2E") : String(B),
3494
- j = z(g) ? typeof n == "function" ? n(C, le) : C : C + (y ? "." + le : "[" + le + "]");
3495
- A.set(e, O);
3494
+ j = W(g) ? typeof n == "function" ? n(C, le) : C : C + (y ? "." + le : "[" + le + "]");
3495
+ O.set(e, P);
3496
3496
  var be = jn();
3497
- be.set(xt, A), Wn(L, t($, j, n, o, a, i, s, c, n === "comma" && h && z(g) ? null : u, l, p, y, v, d, m, h, S, be));
3497
+ be.set(xt, O), zn(L, t($, j, n, o, a, i, s, c, n === "comma" && h && W(g) ? null : u, l, p, y, v, d, m, h, S, be));
3498
3498
  }
3499
3499
  }
3500
3500
  return L;
@@ -3513,7 +3513,7 @@ var xs = function t(e) {
3513
3513
  }
3514
3514
  var o = Te.formatters[n],
3515
3515
  a = x.filter;
3516
- (typeof e.filter == "function" || z(e.filter)) && (a = e.filter);
3516
+ (typeof e.filter == "function" || W(e.filter)) && (a = e.filter);
3517
3517
  var i;
3518
3518
  if (e.arrayFormat in Hn ? i = e.arrayFormat : "indices" in e ? i = e.indices ? "indices" : "repeat" : i = x.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean") throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
3519
3519
  var s = _typeof(e.allowDots) > "u" ? e.encodeDotInKeys === true ? true : x.allowDots : !!e.allowDots;
@@ -3544,7 +3544,7 @@ var xs = function t(e) {
3544
3544
  n = Al(e),
3545
3545
  o,
3546
3546
  a;
3547
- typeof n.filter == "function" ? (a = n.filter, r = a("", r)) : z(n.filter) && (a = n.filter, o = a);
3547
+ typeof n.filter == "function" ? (a = n.filter, r = a("", r)) : W(n.filter) && (a = n.filter, o = a);
3548
3548
  var i = [];
3549
3549
  if (_typeof(r) != "object" || r === null) return "";
3550
3550
  var s = Hn[n.arrayFormat],
@@ -3553,7 +3553,7 @@ var xs = function t(e) {
3553
3553
  for (var u = jn(), l = 0; l < o.length; ++l) {
3554
3554
  var p = o[l],
3555
3555
  y = r[p];
3556
- n.skipNulls && y === null || Wn(i, Ol(y, p, s, c, n.allowEmptyArrays, n.strictNullHandling, n.skipNulls, n.encodeDotInKeys, n.encode ? n.encoder : null, n.filter, n.sort, n.allowDots, n.serializeDate, n.format, n.formatter, n.encodeValuesOnly, n.charset, u));
3556
+ n.skipNulls && y === null || zn(i, Ol(y, p, s, c, n.allowEmptyArrays, n.strictNullHandling, n.skipNulls, n.encodeDotInKeys, n.encode ? n.encoder : null, n.filter, n.sort, n.allowDots, n.serializeDate, n.format, n.formatter, n.encodeValuesOnly, n.charset, u));
3557
3557
  }
3558
3558
  var v = i.join(n.delimiter),
3559
3559
  d = n.addQueryPrefix === true ? "?" : "";
@@ -3562,7 +3562,7 @@ var xs = function t(e) {
3562
3562
  ie = qn,
3563
3563
  Mt = Object.prototype.hasOwnProperty,
3564
3564
  Hr = Array.isArray,
3565
- R = {
3565
+ A = {
3566
3566
  allowDots: false,
3567
3567
  allowEmptyArrays: false,
3568
3568
  allowPrototypes: false,
@@ -3590,7 +3590,7 @@ var xs = function t(e) {
3590
3590
  return String.fromCharCode(parseInt(r, 10));
3591
3591
  });
3592
3592
  },
3593
- zn = function zn(t, e, r) {
3593
+ Wn = function Wn(t, e, r) {
3594
3594
  if (t && typeof t == "string" && e.comma && t.indexOf(",") > -1) return t.split(",");
3595
3595
  if (e.throwOnLimitExceeded && r >= e.arrayLimit) throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
3596
3596
  return t;
@@ -3616,8 +3616,8 @@ var xs = function t(e) {
3616
3616
  y = p === -1 ? l.indexOf("=") : p + 1,
3617
3617
  v,
3618
3618
  d;
3619
- y === -1 ? (v = r.decoder(l, R.decoder, u, "key"), d = r.strictNullHandling ? null : "") : (v = r.decoder(l.slice(0, y), R.decoder, u, "key"), d = ie.maybeMap(zn(l.slice(y + 1), r, Hr(n[v]) ? n[v].length : 0), function (h) {
3620
- return r.decoder(h, R.decoder, u, "value");
3619
+ y === -1 ? (v = r.decoder(l, A.decoder, u, "key"), d = r.strictNullHandling ? null : "") : (v = r.decoder(l.slice(0, y), A.decoder, u, "key"), d = ie.maybeMap(Wn(l.slice(y + 1), r, Hr(n[v]) ? n[v].length : 0), function (h) {
3620
+ return r.decoder(h, A.decoder, u, "value");
3621
3621
  })), d && r.interpretNumericEntities && u === "iso-8859-1" && (d = Pl(String(d))), l.indexOf("[]=") > -1 && (d = Hr(d) ? [d] : d);
3622
3622
  var m = Mt.call(n, v);
3623
3623
  m && r.duplicates === "combine" ? n[v] = ie.combine(n[v], d) : (!m || r.duplicates === "last") && (n[v] = d);
@@ -3630,7 +3630,7 @@ var xs = function t(e) {
3630
3630
  var a = t.slice(0, -1).join("");
3631
3631
  o = Array.isArray(e) && e[a] ? e[a].length : 0;
3632
3632
  }
3633
- for (var i = n ? e : zn(e, r, o), s = t.length - 1; s >= 0; --s) {
3633
+ for (var i = n ? e : Wn(e, r, o), s = t.length - 1; s >= 0; --s) {
3634
3634
  var c,
3635
3635
  u = t[s];
3636
3636
  if (u === "[]" && r.parseArrays) c = r.allowEmptyArrays && (i === "" || r.strictNullHandling && i === null) ? [] : ie.combine([], i);else {
@@ -3672,38 +3672,38 @@ var xs = function t(e) {
3672
3672
  }
3673
3673
  },
3674
3674
  $l = function $l(e) {
3675
- if (!e) return R;
3675
+ if (!e) return A;
3676
3676
  if (_typeof(e.allowEmptyArrays) < "u" && typeof e.allowEmptyArrays != "boolean") throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
3677
3677
  if (_typeof(e.decodeDotInKeys) < "u" && typeof e.decodeDotInKeys != "boolean") throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
3678
3678
  if (e.decoder !== null && _typeof(e.decoder) < "u" && typeof e.decoder != "function") throw new TypeError("Decoder has to be a function.");
3679
3679
  if (_typeof(e.charset) < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1") throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
3680
3680
  if (_typeof(e.throwOnLimitExceeded) < "u" && typeof e.throwOnLimitExceeded != "boolean") throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
3681
- var r = _typeof(e.charset) > "u" ? R.charset : e.charset,
3682
- n = _typeof(e.duplicates) > "u" ? R.duplicates : e.duplicates;
3681
+ var r = _typeof(e.charset) > "u" ? A.charset : e.charset,
3682
+ n = _typeof(e.duplicates) > "u" ? A.duplicates : e.duplicates;
3683
3683
  if (n !== "combine" && n !== "first" && n !== "last") throw new TypeError("The duplicates option must be either combine, first, or last");
3684
- var o = _typeof(e.allowDots) > "u" ? e.decodeDotInKeys === true ? true : R.allowDots : !!e.allowDots;
3684
+ var o = _typeof(e.allowDots) > "u" ? e.decodeDotInKeys === true ? true : A.allowDots : !!e.allowDots;
3685
3685
  return {
3686
3686
  allowDots: o,
3687
- allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : R.allowEmptyArrays,
3688
- allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : R.allowPrototypes,
3689
- allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : R.allowSparse,
3690
- arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : R.arrayLimit,
3687
+ allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : A.allowEmptyArrays,
3688
+ allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : A.allowPrototypes,
3689
+ allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : A.allowSparse,
3690
+ arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : A.arrayLimit,
3691
3691
  charset: r,
3692
- charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : R.charsetSentinel,
3693
- comma: typeof e.comma == "boolean" ? e.comma : R.comma,
3694
- decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : R.decodeDotInKeys,
3695
- decoder: typeof e.decoder == "function" ? e.decoder : R.decoder,
3696
- delimiter: typeof e.delimiter == "string" || ie.isRegExp(e.delimiter) ? e.delimiter : R.delimiter,
3692
+ charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : A.charsetSentinel,
3693
+ comma: typeof e.comma == "boolean" ? e.comma : A.comma,
3694
+ decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : A.decodeDotInKeys,
3695
+ decoder: typeof e.decoder == "function" ? e.decoder : A.decoder,
3696
+ delimiter: typeof e.delimiter == "string" || ie.isRegExp(e.delimiter) ? e.delimiter : A.delimiter,
3697
3697
  // eslint-disable-next-line no-implicit-coercion, no-extra-parens
3698
- depth: typeof e.depth == "number" || e.depth === false ? +e.depth : R.depth,
3698
+ depth: typeof e.depth == "number" || e.depth === false ? +e.depth : A.depth,
3699
3699
  duplicates: n,
3700
3700
  ignoreQueryPrefix: e.ignoreQueryPrefix === true,
3701
- interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : R.interpretNumericEntities,
3702
- parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : R.parameterLimit,
3701
+ interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : A.interpretNumericEntities,
3702
+ parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : A.parameterLimit,
3703
3703
  parseArrays: e.parseArrays !== false,
3704
- plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : R.plainObjects,
3705
- strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : R.strictDepth,
3706
- strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : R.strictNullHandling,
3704
+ plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : A.plainObjects,
3705
+ strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : A.strictDepth,
3706
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : A.strictNullHandling,
3707
3707
  throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : false
3708
3708
  };
3709
3709
  },
@@ -3791,14 +3791,14 @@ function kt(t, e) {
3791
3791
  }
3792
3792
  });
3793
3793
  }
3794
- var Wr = kt(Ml, {
3794
+ var zr = kt(Ml, {
3795
3795
  path: "/"
3796
3796
  });
3797
3797
  qt.extend(ro);
3798
3798
  qt.extend(no);
3799
3799
  var Yt = config.getConfig(),
3800
3800
  Gn = (_Yt$sso = Yt.sso) !== null && _Yt$sso !== void 0 ? _Yt$sso : true,
3801
- zr = (_Yt$i18n = Yt.i18n) !== null && _Yt$i18n !== void 0 ? _Yt$i18n : true,
3801
+ Wr = (_Yt$i18n = Yt.i18n) !== null && _Yt$i18n !== void 0 ? _Yt$i18n : true,
3802
3802
  Jn = (_Yt$noRedireLogin = Yt.noRedireLogin) !== null && _Yt$noRedireLogin !== void 0 ? _Yt$noRedireLogin : false;
3803
3803
  var Gr = "",
3804
3804
  Jr = 0;
@@ -3857,7 +3857,12 @@ var ql = 5e3,
3857
3857
  var t = "/login";
3858
3858
  location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = false, (e = window.top) != null && e.vueRouter ? (r = window.top) == null || r.vueRouter.replace(t) : window.location.replace("/#".concat(t)));
3859
3859
  },
3860
- jl = /*#__PURE__*/function () {
3860
+ jl = function jl() {
3861
+ return sso.getQuery("code") || "" || Jn ? false : Vn() ? (Gn ? sso.login(_objectSpread(_objectSpread({}, sso.getTokenParams), {}, {
3862
+ redirect_uri: sso.real_uri
3863
+ })) : Kn(), true) : false;
3864
+ },
3865
+ Hl = /*#__PURE__*/function () {
3861
3866
  var _ref23 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(t) {
3862
3867
  var _t$data;
3863
3868
  var r;
@@ -3868,13 +3873,13 @@ var ql = 5e3,
3868
3873
  }
3869
3874
  }, _callee0);
3870
3875
  }));
3871
- return function jl(_x11) {
3876
+ return function Hl(_x11) {
3872
3877
  return _ref23.apply(this, arguments);
3873
3878
  };
3874
3879
  }(),
3875
- Hl = /*#__PURE__*/function () {
3880
+ zl = /*#__PURE__*/function () {
3876
3881
  var _ref24 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1(t, e) {
3877
- var m, h, S, A, _i18nBridge$getI18nBr, r, n, o, a, i, s, c, u, l, _ref25, g, E, O, _ref26, _ref27, _g, _E, _O, y, v, d, _t11, _t12, _t13;
3882
+ var d, m, h, S, _i18nBridge$getI18nBr, r, n, o, a, i, s, c, u, _ref25, O, g, E, _ref26, _ref27, _O, _g, _E, p, y, v, _t11, _t12, _t13;
3878
3883
  return _regenerator().w(function (_context10) {
3879
3884
  while (1) switch (_context10.n) {
3880
3885
  case 0:
@@ -3885,33 +3890,31 @@ var ql = 5e3,
3885
3890
  404: r("接口地址未找到"),
3886
3891
  500: r("服务器内部错误")
3887
3892
  };
3888
- s = ((m = t == null ? undefined : t.response) == null ? undefined : m.data) || {};
3889
- c = sso.getQuery("code") || "", u = s == null ? undefined : s.code, l = (h = t.response) == null ? undefined : h.status;
3890
- if (!(!c && !Jn && (u === 401 || l === 401))) {
3893
+ s = ((d = t == null ? undefined : t.response) == null ? undefined : d.data) || {};
3894
+ c = s == null ? undefined : s.code, u = (m = t.response) == null ? undefined : m.status;
3895
+ if (!(c === 401 || u === 401)) {
3891
3896
  _context10.n = 6;
3892
3897
  break;
3893
3898
  }
3894
- Vn() && (Gn ? sso.login(_objectSpread(_objectSpread({}, sso.getTokenParams), {}, {
3895
- redirect_uri: sso.real_uri
3896
- })) : Kn()), n = u || l, a = s;
3897
- g = (_ref25 = e == null ? undefined : e.i18n) !== null && _ref25 !== void 0 ? _ref25 : true;
3898
- if (!(zr && g && s != null && s.status)) {
3899
+ jl(), n = c || u, a = s;
3900
+ O = (_ref25 = e == null ? undefined : e.i18n) !== null && _ref25 !== void 0 ? _ref25 : true;
3901
+ if (!(Wr && O && s != null && s.status)) {
3899
3902
  _context10.n = 4;
3900
3903
  break;
3901
3904
  }
3902
- E = !(s != null && s.data) || !s.data.length ? [] : s.data, O = r.apply(void 0, [s.status].concat(_toConsumableArray(E)));
3903
- if (!(O === s.status)) {
3905
+ g = !(s != null && s.data) || !s.data.length ? [] : s.data, E = r.apply(void 0, [s.status].concat(_toConsumableArray(g)));
3906
+ if (!(E === s.status)) {
3904
3907
  _context10.n = 2;
3905
3908
  break;
3906
3909
  }
3907
3910
  _context10.n = 1;
3908
- return Vr(r, s.status, E);
3911
+ return Vr(r, s.status, g);
3909
3912
  case 1:
3910
3913
  _t11 = _context10.v;
3911
3914
  _context10.n = 3;
3912
3915
  break;
3913
3916
  case 2:
3914
- _t11 = O;
3917
+ _t11 = E;
3915
3918
  case 3:
3916
3919
  o = _t11;
3917
3920
  _context10.n = 5;
@@ -3932,13 +3935,13 @@ var ql = 5e3,
3932
3935
  break;
3933
3936
  }
3934
3937
  _context10.n = 7;
3935
- return new Promise(function (g) {
3936
- var E = new FileReader();
3937
- E.readAsText(s, "utf-8"), E.onload = function () {
3938
+ return new Promise(function (O) {
3939
+ var g = new FileReader();
3940
+ g.readAsText(s, "utf-8"), g.onload = function () {
3938
3941
  try {
3939
- g(JSON.parse(E.result || "{}"));
3942
+ O(JSON.parse(g.result || "{}"));
3940
3943
  } catch (_unused21) {
3941
- g({
3944
+ O({
3942
3945
  code: 400,
3943
3946
  msg: r("解析错误")
3944
3947
  });
@@ -3953,24 +3956,24 @@ var ql = 5e3,
3953
3956
  break;
3954
3957
  }
3955
3958
  n = s.code, a = s;
3956
- _g = (_ref26 = e == null ? undefined : e.i18n) !== null && _ref26 !== void 0 ? _ref26 : true;
3957
- if (!(zr && _g && s != null && s.status)) {
3959
+ _O = (_ref26 = e == null ? undefined : e.i18n) !== null && _ref26 !== void 0 ? _ref26 : true;
3960
+ if (!(Wr && _O && s != null && s.status)) {
3958
3961
  _context10.n = 12;
3959
3962
  break;
3960
3963
  }
3961
- _E = !(s != null && s.data) || !s.data.length ? [] : s.data, _O = r.apply(void 0, [s.status].concat(_toConsumableArray(_E)));
3962
- if (!(_O === s.status)) {
3964
+ _g = !(s != null && s.data) || !s.data.length ? [] : s.data, _E = r.apply(void 0, [s.status].concat(_toConsumableArray(_g)));
3965
+ if (!(_E === s.status)) {
3963
3966
  _context10.n = 10;
3964
3967
  break;
3965
3968
  }
3966
3969
  _context10.n = 9;
3967
- return Vr(r, s.status, _E);
3970
+ return Vr(r, s.status, _g);
3968
3971
  case 9:
3969
3972
  _t13 = _context10.v;
3970
3973
  _context10.n = 11;
3971
3974
  break;
3972
3975
  case 10:
3973
- _t13 = _O;
3976
+ _t13 = _E;
3974
3977
  case 11:
3975
3978
  o = _t13;
3976
3979
  _context10.n = 13;
@@ -3990,11 +3993,11 @@ var ql = 5e3,
3990
3993
  t.request ? (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("网络异常,请检查您的网络情况")) : (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("请求配置异常"));
3991
3994
  case 17:
3992
3995
  e != null && e.customErrorMessage && (o = e == null ? undefined : e.customErrorMessage(o, t));
3993
- y = Date.now(), v = o === Gr, d = y - Jr < kl;
3994
- return _context10.a(2, (!(e != null && e.ignoreErrorMessage) && o && (!v || !d) && ((A = (S = window.DasMessage) == null ? undefined : S.error) == null || A.call(S, {
3996
+ p = Date.now(), y = o === Gr, v = p - Jr < kl;
3997
+ return _context10.a(2, (!(e != null && e.ignoreErrorMessage) && o && (!y || !v) && ((S = (h = window.DasMessage) == null ? undefined : h.error) == null || S.call(h, {
3995
3998
  message: o,
3996
3999
  showClose: true
3997
- }), Gr = o, Jr = y), _objectSpread(_objectSpread({}, a), {}, {
4000
+ }), Gr = o, Jr = p), _objectSpread(_objectSpread({}, a), {}, {
3998
4001
  code: n,
3999
4002
  msg: o,
4000
4003
  error: t
@@ -4002,12 +4005,12 @@ var ql = 5e3,
4002
4005
  }
4003
4006
  }, _callee1);
4004
4007
  }));
4005
- return function Hl(_x12, _x13) {
4008
+ return function zl(_x12, _x13) {
4006
4009
  return _ref24.apply(this, arguments);
4007
4010
  };
4008
4011
  }();
4009
4012
  function ne(t, e) {
4010
- var r = P.create();
4013
+ var r = R.create();
4011
4014
  return curringHttp.curringHttp(r, /*#__PURE__*/function () {
4012
4015
  var _ref28 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee10(n) {
4013
4016
  var _n$csrf, _ref29;
@@ -4067,7 +4070,7 @@ function ne(t, e) {
4067
4070
  indices: false
4068
4071
  });
4069
4072
  }
4070
- }), n.onSuccess || (n.onSuccess = jl), n.onError || (n.onError = Hl), ((_n$csrf = n.csrf) !== null && _n$csrf !== void 0 ? _n$csrf : false) && (n.headers["csrf-token"] = Wr.get("csrf-token"));
4073
+ }), n.onSuccess || (n.onSuccess = Hl), n.onError || (n.onError = zl), ((_n$csrf = n.csrf) !== null && _n$csrf !== void 0 ? _n$csrf : false) && (n.headers["csrf-token"] = zr.get("csrf-token"));
4071
4074
  c = n.params || {};
4072
4075
  if (c.project === undefined) {
4073
4076
  _p = 0;
@@ -4080,7 +4083,7 @@ function ne(t, e) {
4080
4083
  }
4081
4084
  n.params = c, n.headers.Timezone = qt.tz.guess(), n.headers["X-Origin"] = location.origin;
4082
4085
  l = (_ref29 = o == null ? undefined : o.value) !== null && _ref29 !== void 0 ? _ref29 : "";
4083
- return _context11.a(2, (l && (n.headers["Accept-Language"] = l), l && Wr.set("locale", l), n));
4086
+ return _context11.a(2, (l && (n.headers["Accept-Language"] = l), l && zr.set("locale", l), n));
4084
4087
  }
4085
4088
  }, _callee10);
4086
4089
  }));
@@ -4090,17 +4093,17 @@ function ne(t, e) {
4090
4093
  }());
4091
4094
  }
4092
4095
  var oe = "v1",
4093
- ec = ne("/api/customer/customer/".concat(oe)),
4094
- tc = ne("/api/customer/company/".concat(oe)),
4095
- rc = ne("/api/customer/customer-grade/".concat(oe)),
4096
- nc = ne("/api/customer/customer-type/".concat(oe)),
4097
- oc = {
4096
+ tc = ne("/api/customer/customer/".concat(oe)),
4097
+ rc = ne("/api/customer/company/".concat(oe)),
4098
+ nc = ne("/api/customer/customer-grade/".concat(oe)),
4099
+ oc = ne("/api/customer/customer-type/".concat(oe)),
4100
+ ac = {
4098
4101
  list: ne("/api/project/".concat(oe, "/list")),
4099
4102
  app: ne("/api/project/".concat(oe, "/app")),
4100
4103
  people: ne("/api/project/".concat(oe, "/people"))
4101
4104
  };
4102
- exports.company = tc;
4103
- exports.customer = ec;
4104
- exports.customerGrade = rc;
4105
- exports.customerType = nc;
4106
- exports.projectManage = oc;
4105
+ exports.company = rc;
4106
+ exports.customer = tc;
4107
+ exports.customerGrade = nc;
4108
+ exports.customerType = oc;
4109
+ exports.projectManage = ac;