@das-fed/utils 6.4.0-dev.11 → 6.4.0-dev.12

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 (49) hide show
  1. package/api-services/index.js +1 -1
  2. package/api-services/index.js.gz +0 -0
  3. package/api-services/modules/app-manage/index.js +39 -39
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/authentication/index.js +39 -39
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/index.js +45 -45
  8. package/api-services/modules/bems/index.js.gz +0 -0
  9. package/api-services/modules/contract/index.js +39 -39
  10. package/api-services/modules/contract/index.js.gz +0 -0
  11. package/api-services/modules/duty-manage/index.js +47 -47
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/index.js +239 -239
  14. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  15. package/api-services/modules/gateway-edge/index.js +239 -239
  16. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  17. package/api-services/modules/index.js +1 -1
  18. package/api-services/modules/index.js.gz +0 -0
  19. package/api-services/modules/iot/index.js +51 -51
  20. package/api-services/modules/iot/index.js.gz +0 -0
  21. package/api-services/modules/justauth/index.js +40 -40
  22. package/api-services/modules/justauth/index.js.gz +0 -0
  23. package/api-services/modules/knowledge/index.js +239 -239
  24. package/api-services/modules/knowledge/index.js.gz +0 -0
  25. package/api-services/modules/link/index.js +239 -239
  26. package/api-services/modules/link/index.js.gz +0 -0
  27. package/api-services/modules/permission/index.js +239 -239
  28. package/api-services/modules/permission/index.js.gz +0 -0
  29. package/api-services/modules/platformManage/index.js +47 -47
  30. package/api-services/modules/platformManage/index.js.gz +0 -0
  31. package/api-services/modules/portal/index.js +39 -39
  32. package/api-services/modules/portal/index.js.gz +0 -0
  33. package/api-services/modules/space-manage/index.js +39 -39
  34. package/api-services/modules/space-manage/index.js.gz +0 -0
  35. package/api-services/modules/super-admin/index.js +47 -47
  36. package/api-services/modules/super-admin/index.js.gz +0 -0
  37. package/api-services/modules/supplier/index.js +45 -45
  38. package/api-services/modules/supplier/index.js.gz +0 -0
  39. package/api-services/modules/supplychain-manage/index.js +39 -39
  40. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  41. package/api-services/modules/systemConfiguration/index.js +239 -239
  42. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  43. package/api-services/modules/tool/index.js +239 -239
  44. package/api-services/modules/tool/index.js.gz +0 -0
  45. package/api-services/src/create-service/index.js +39 -39
  46. package/api-services/src/create-service/index.js.gz +0 -0
  47. package/create-api-service/index.js +39 -39
  48. package/create-api-service/index.js.gz +0 -0
  49. package/package.json +3 -3
@@ -2778,7 +2778,7 @@ const gn = qe(), bn = gn.sso ?? !0, wn = gn.noRedireLogin ?? !1, Sn = () => {
2778
2778
  const p = new URL(location.href).searchParams;
2779
2779
  l = p.get("project") || p.get("projectId") || 0, l || (l = _n().id ?? 0), (l || l === 0) && (s.project = l);
2780
2780
  }
2781
- if (new URL(location.href).searchParams.get("app") === "iot") {
2781
+ if (new URL(location.href).pathname.startsWith("/iot/iot") || new URL(location.href).searchParams.get("app") === "iot") {
2782
2782
  const { instanceInfo: l } = In();
2783
2783
  l != null && l.instanceId && (s.instance = l.instanceId);
2784
2784
  }
Binary file
@@ -173,7 +173,7 @@ const Hn = (t) => {
173
173
  return n;
174
174
  };
175
175
  return r(t, 0);
176
- }, zn = I("AsyncFunction"), Wn = (t) => t && (Le(t) || T(t)) && T(t.then) && T(t.catch), u = {
176
+ }, Wn = I("AsyncFunction"), zn = (t) => t && (Le(t) || T(t)) && T(t.then) && T(t.catch), u = {
177
177
  isArray: ae,
178
178
  isArrayBuffer: ur,
179
179
  isBuffer: pn,
@@ -224,8 +224,8 @@ const Hn = (t) => {
224
224
  generateString: kn,
225
225
  isSpecCompliantForm: jn,
226
226
  toJSONObject: Hn,
227
- isAsyncFn: zn,
228
- isThenable: Wn
227
+ isAsyncFn: Wn,
228
+ isThenable: zn
229
229
  };
230
230
  function b(t, e, r, n, o) {
231
231
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), r && (this.config = r), n && (this.request = n), o && (this.response = o);
@@ -1020,22 +1020,22 @@ const $t = (t) => `- ${t}`, Eo = (t) => u.isFunction(t) || t === null || t === !
1020
1020
  },
1021
1021
  adapters: nt
1022
1022
  };
1023
- function ze(t) {
1023
+ function We(t) {
1024
1024
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
1025
1025
  throw new be(null, t);
1026
1026
  }
1027
1027
  function It(t) {
1028
- return ze(t), t.headers = F.from(t.headers), t.data = He.call(
1028
+ return We(t), t.headers = F.from(t.headers), t.data = He.call(
1029
1029
  t,
1030
1030
  t.transformRequest
1031
1031
  ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), xr.getAdapter(t.adapter || ve.adapter)(t).then(function(n) {
1032
- return ze(t), n.data = He.call(
1032
+ return We(t), n.data = He.call(
1033
1033
  t,
1034
1034
  t.transformResponse,
1035
1035
  n
1036
1036
  ), n.headers = F.from(n.headers), n;
1037
1037
  }, function(n) {
1038
- return Rr(n) || (ze(t), n && n.response && (n.response.data = He.call(
1038
+ return Rr(n) || (We(t), n && n.response && (n.response.data = He.call(
1039
1039
  t,
1040
1040
  t.transformResponse,
1041
1041
  n.response
@@ -1483,11 +1483,11 @@ var To = Error, Fo = EvalError, No = RangeError, Co = ReferenceError, Nr = Synta
1483
1483
  return !0;
1484
1484
  }, Lt = typeof Symbol < "u" && Symbol, Io = $o, Do = function() {
1485
1485
  return typeof Lt != "function" || typeof Symbol != "function" || typeof Lt("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : Io();
1486
- }, We = {
1486
+ }, ze = {
1487
1487
  __proto__: null,
1488
1488
  foo: {}
1489
1489
  }, Bo = Object, Uo = function() {
1490
- return { __proto__: We }.foo === We.foo && !(We instanceof Bo);
1490
+ return { __proto__: ze }.foo === ze.foo && !(ze instanceof Bo);
1491
1491
  }, Lo = "Function.prototype.bind called on incompatible ", Mo = Object.prototype.toString, ko = Math.max, jo = "[object Function]", Mt = function(e, r) {
1492
1492
  for (var n = [], o = 0; o < e.length; o += 1)
1493
1493
  n[o] = e[o];
@@ -1498,11 +1498,11 @@ var To = Error, Fo = EvalError, No = RangeError, Co = ReferenceError, Nr = Synta
1498
1498
  for (var n = [], o = r, i = 0; o < e.length; o += 1, i += 1)
1499
1499
  n[i] = e[o];
1500
1500
  return n;
1501
- }, zo = function(t, e) {
1501
+ }, Wo = function(t, e) {
1502
1502
  for (var r = "", n = 0; n < t.length; n += 1)
1503
1503
  r += t[n], n + 1 < t.length && (r += e);
1504
1504
  return r;
1505
- }, Wo = function(e) {
1505
+ }, zo = function(e) {
1506
1506
  var r = this;
1507
1507
  if (typeof r != "function" || Mo.apply(r) !== jo)
1508
1508
  throw new TypeError(Lo + r);
@@ -1520,13 +1520,13 @@ var To = Error, Fo = EvalError, No = RangeError, Co = ReferenceError, Nr = Synta
1520
1520
  );
1521
1521
  }, a = ko(0, r.length - n.length), s = [], c = 0; c < a; c++)
1522
1522
  s[c] = "$" + c;
1523
- if (o = Function("binder", "return function (" + zo(s, ",") + "){ return binder.apply(this,arguments); }")(i), r.prototype) {
1523
+ if (o = Function("binder", "return function (" + Wo(s, ",") + "){ return binder.apply(this,arguments); }")(i), r.prototype) {
1524
1524
  var l = function() {
1525
1525
  };
1526
1526
  l.prototype = r.prototype, o.prototype = new l(), l.prototype = null;
1527
1527
  }
1528
1528
  return o;
1529
- }, qo = Wo, bt = Function.prototype.bind || qo, Go = Function.prototype.call, Jo = Object.prototype.hasOwnProperty, Vo = bt, Ko = Vo.call(Go, Jo), v, Qo = To, Xo = Fo, Yo = No, Zo = Co, ne = Nr, te = Se, ei = _o, Cr = Function, qe = function(t) {
1529
+ }, qo = zo, bt = Function.prototype.bind || qo, Go = Function.prototype.call, Jo = Object.prototype.hasOwnProperty, Vo = bt, Ko = Vo.call(Go, Jo), v, Qo = To, Xo = Fo, Yo = No, Zo = Co, ne = Nr, te = Se, ei = _o, Cr = Function, qe = function(t) {
1530
1530
  try {
1531
1531
  return Cr('"use strict"; return (' + t + ").constructor;")();
1532
1532
  } catch {
@@ -1771,7 +1771,7 @@ if (Ne)
1771
1771
  } catch {
1772
1772
  Ne = null;
1773
1773
  }
1774
- var $r = Ne, zt = St(), yi = Nr, Z = Se, Wt = $r, hi = function(e, r, n) {
1774
+ var $r = Ne, Wt = St(), yi = Nr, Z = Se, zt = $r, hi = function(e, r, n) {
1775
1775
  if (!e || typeof e != "object" && typeof e != "function")
1776
1776
  throw new Z("`obj` must be an object or a function`");
1777
1777
  if (typeof r != "string" && typeof r != "symbol")
@@ -1784,9 +1784,9 @@ var $r = Ne, zt = St(), yi = Nr, Z = Se, Wt = $r, hi = function(e, r, n) {
1784
1784
  throw new Z("`nonConfigurable`, if provided, must be a boolean or null");
1785
1785
  if (arguments.length > 6 && typeof arguments[6] != "boolean")
1786
1786
  throw new Z("`loose`, if provided, must be a boolean");
1787
- var o = arguments.length > 3 ? arguments[3] : null, i = arguments.length > 4 ? arguments[4] : null, a = arguments.length > 5 ? arguments[5] : null, s = arguments.length > 6 ? arguments[6] : !1, c = !!Wt && Wt(e, r);
1788
- if (zt)
1789
- zt(e, r, {
1787
+ var o = arguments.length > 3 ? arguments[3] : null, i = arguments.length > 4 ? arguments[4] : null, a = arguments.length > 5 ? arguments[5] : null, s = arguments.length > 6 ? arguments[6] : !1, c = !!zt && zt(e, r);
1788
+ if (Wt)
1789
+ Wt(e, r, {
1790
1790
  configurable: a === null && c ? c.configurable : !a,
1791
1791
  enumerable: o === null && c ? c.enumerable : !o,
1792
1792
  value: n,
@@ -1971,7 +1971,7 @@ var ct = Pi, rr = ct.custom, nr = kr(rr) ? rr : null, Bi = function t(e, r, n, o
1971
1971
  return Xe("WeakRef");
1972
1972
  if (ji(e))
1973
1973
  return pe(h(Number(e)));
1974
- if (zi(e))
1974
+ if (Wi(e))
1975
1975
  return pe(h(st.call(e)));
1976
1976
  if (Hi(e))
1977
1977
  return pe(Ni.call(e));
@@ -1982,8 +1982,8 @@ var ct = Pi, rr = ct.custom, nr = kr(rr) ? rr : null, Bi = function t(e, r, n, o
1982
1982
  if (typeof globalThis < "u" && e === globalThis || typeof Ut < "u" && e === Ut)
1983
1983
  return "{ [object globalThis] }";
1984
1984
  if (!Li(e) && !or(e)) {
1985
- var z = Ae(e, h), L = er ? er(e) === Object.prototype : e instanceof Object || e.constructor === Object, V = e instanceof Object ? "" : "null prototype", K = !L && x && Object(e) === e && x in e ? Ot.call(H(e), 8, -1) : V ? "Object" : "", ue = L || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = ue + (K || V ? "[" + _.call(Yt.call([], K || [], V || []), ": ") + "] " : "");
1986
- return z.length === 0 ? N + "{}" : f ? N + "{" + ft(z, f) + "}" : N + "{ " + _.call(z, ", ") + " }";
1985
+ var W = Ae(e, h), L = er ? er(e) === Object.prototype : e instanceof Object || e.constructor === Object, V = e instanceof Object ? "" : "null prototype", K = !L && x && Object(e) === e && x in e ? Ot.call(H(e), 8, -1) : V ? "Object" : "", ue = L || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = ue + (K || V ? "[" + _.call(Yt.call([], K || [], V || []), ": ") + "] " : "");
1986
+ return W.length === 0 ? N + "{}" : f ? N + "{" + ft(W, f) + "}" : N + "{ " + _.call(W, ", ") + " }";
1987
1987
  }
1988
1988
  return String(e);
1989
1989
  };
@@ -2028,7 +2028,7 @@ function kr(t) {
2028
2028
  }
2029
2029
  return !1;
2030
2030
  }
2031
- function zi(t) {
2031
+ function Wi(t) {
2032
2032
  if (!t || typeof t != "object" || !st)
2033
2033
  return !1;
2034
2034
  try {
@@ -2037,11 +2037,11 @@ function zi(t) {
2037
2037
  }
2038
2038
  return !1;
2039
2039
  }
2040
- var Wi = Object.prototype.hasOwnProperty || function(t) {
2040
+ var zi = Object.prototype.hasOwnProperty || function(t) {
2041
2041
  return t in this;
2042
2042
  };
2043
2043
  function k(t, e) {
2044
- return Wi.call(t, e);
2044
+ return zi.call(t, e);
2045
2045
  }
2046
2046
  function H(t) {
2047
2047
  return Ci.call(t);
@@ -2208,7 +2208,7 @@ function Ae(t, e) {
2208
2208
  Lr.call(t, i[l]) && n.push("[" + e(i[l]) + "]: " + e(t[i[l]], t));
2209
2209
  return n;
2210
2210
  }
2211
- var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%", !0), na = le("WeakMap.prototype.get", !0), oa = le("WeakMap.prototype.set", !0), ia = le("WeakMap.prototype.has", !0), aa = le("Map.prototype.get", !0), sa = le("Map.prototype.set", !0), la = le("Map.prototype.has", !0), At = function(t, e) {
2211
+ var Wr = se, le = Oi, ta = Bi, ra = Se, Re = Wr("%WeakMap%", !0), Pe = Wr("%Map%", !0), na = le("WeakMap.prototype.get", !0), oa = le("WeakMap.prototype.set", !0), ia = le("WeakMap.prototype.has", !0), aa = le("Map.prototype.get", !0), sa = le("Map.prototype.set", !0), la = le("Map.prototype.has", !0), At = function(t, e) {
2212
2212
  for (var r = t, n; (n = r.next) !== null; r = n)
2213
2213
  if (n.key === e)
2214
2214
  return r.next = n.next, n.next = /** @type {NonNullable<typeof list.next>} */
@@ -2274,20 +2274,20 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2274
2274
  },
2275
2275
  RFC1738: Ye.RFC1738,
2276
2276
  RFC3986: Ye.RFC3986
2277
- }, ha = Rt, Ze = Object.prototype.hasOwnProperty, W = Array.isArray, C = function() {
2277
+ }, ha = Rt, Ze = Object.prototype.hasOwnProperty, z = Array.isArray, C = function() {
2278
2278
  for (var t = [], e = 0; e < 256; ++e)
2279
2279
  t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
2280
2280
  return t;
2281
2281
  }(), ma = function(e) {
2282
2282
  for (; e.length > 1; ) {
2283
2283
  var r = e.pop(), n = r.obj[r.prop];
2284
- if (W(n)) {
2284
+ if (z(n)) {
2285
2285
  for (var o = [], i = 0; i < n.length; ++i)
2286
2286
  typeof n[i] < "u" && o.push(n[i]);
2287
2287
  r.obj[r.prop] = o;
2288
2288
  }
2289
2289
  }
2290
- }, Wr = function(e, r) {
2290
+ }, zr = function(e, r) {
2291
2291
  for (var n = r && r.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, o = 0; o < e.length; ++o)
2292
2292
  typeof e[o] < "u" && (n[o] = e[o]);
2293
2293
  return n;
@@ -2295,7 +2295,7 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2295
2295
  if (!r)
2296
2296
  return e;
2297
2297
  if (typeof r != "object") {
2298
- if (W(e))
2298
+ if (z(e))
2299
2299
  e.push(r);
2300
2300
  else if (e && typeof e == "object")
2301
2301
  (n && (n.plainObjects || n.allowPrototypes) || !Ze.call(Object.prototype, r)) && (e[r] = !0);
@@ -2306,7 +2306,7 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2306
2306
  if (!e || typeof e != "object")
2307
2307
  return [e].concat(r);
2308
2308
  var o = e;
2309
- return W(e) && !W(r) && (o = Wr(e, n)), W(e) && W(r) ? (r.forEach(function(i, a) {
2309
+ return z(e) && !z(r) && (o = zr(e, n)), z(e) && z(r) ? (r.forEach(function(i, a) {
2310
2310
  if (Ze.call(e, a)) {
2311
2311
  var s = e[a];
2312
2312
  s && typeof s == "object" && i && typeof i == "object" ? e[a] = t(s, i, n) : e.push(i);
@@ -2372,14 +2372,14 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2372
2372
  }, Aa = function(e, r) {
2373
2373
  return [].concat(e, r);
2374
2374
  }, Ra = function(e, r) {
2375
- if (W(e)) {
2375
+ if (z(e)) {
2376
2376
  for (var n = [], o = 0; o < e.length; o += 1)
2377
2377
  n.push(r(e[o]));
2378
2378
  return n;
2379
2379
  }
2380
2380
  return r(e);
2381
2381
  }, qr = {
2382
- arrayToObject: Wr,
2382
+ arrayToObject: zr,
2383
2383
  assign: va,
2384
2384
  combine: Aa,
2385
2385
  compact: wa,
@@ -2446,9 +2446,9 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2446
2446
  }
2447
2447
  return [g(r) + "=" + g(String(m))];
2448
2448
  }
2449
- var z = [];
2449
+ var W = [];
2450
2450
  if (typeof m > "u")
2451
- return z;
2451
+ return W;
2452
2452
  var L;
2453
2453
  if (n === "comma" && B(m))
2454
2454
  d && s && (m = Ce.maybeMap(m, s)), L = [{ value: m.length > 0 ? m.join(",") || null : void 0 }];
@@ -2464,7 +2464,7 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2464
2464
  var Q = B(m) ? typeof n == "function" ? n(K, N) : K : K + (p ? "." + N : "[" + N + "]");
2465
2465
  S.set(e, R);
2466
2466
  var Oe = Gr();
2467
- Oe.set(et, S), Jr(z, t(
2467
+ Oe.set(et, S), Jr(W, t(
2468
2468
  D,
2469
2469
  Q,
2470
2470
  n,
@@ -2484,7 +2484,7 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2484
2484
  ));
2485
2485
  }
2486
2486
  }
2487
- return z;
2487
+ return W;
2488
2488
  }, Ca = function(e) {
2489
2489
  if (!e)
2490
2490
  return P;
@@ -2656,9 +2656,9 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2656
2656
  o = ie.merge(o, c, r);
2657
2657
  }
2658
2658
  return r.allowSparse === !0 ? o : ie.compact(o);
2659
- }, Ha = _a, za = ja, Wa = Rt, qa = {
2660
- formats: Wa,
2661
- parse: za,
2659
+ }, Ha = _a, Wa = ja, za = Rt, qa = {
2660
+ formats: za,
2661
+ parse: Wa,
2662
2662
  stringify: Ha
2663
2663
  };
2664
2664
  const Ga = /* @__PURE__ */ Po(qa);
@@ -2776,7 +2776,7 @@ const Kr = lr(), Qr = Kr.sso ?? !0, Xr = Kr.noRedireLogin ?? !1, Yr = () => {
2776
2776
  const p = new URL(location.href).searchParams;
2777
2777
  l = p.get("project") || p.get("projectId") || 0, l || (l = ln().id ?? 0), (l || l === 0) && (s.project = l);
2778
2778
  }
2779
- if (new URL(location.href).searchParams.get("app") === "iot") {
2779
+ if (new URL(location.href).pathname.startsWith("/iot/iot") || new URL(location.href).searchParams.get("app") === "iot") {
2780
2780
  const { instanceInfo: l } = cn();
2781
2781
  l != null && l.instanceId && (s.instance = l.instanceId);
2782
2782
  }
@@ -173,7 +173,7 @@ const Hn = (t) => {
173
173
  return n;
174
174
  };
175
175
  return r(t, 0);
176
- }, zn = I("AsyncFunction"), Wn = (t) => t && (Le(t) || T(t)) && T(t.then) && T(t.catch), u = {
176
+ }, Wn = I("AsyncFunction"), zn = (t) => t && (Le(t) || T(t)) && T(t.then) && T(t.catch), u = {
177
177
  isArray: ae,
178
178
  isArrayBuffer: ur,
179
179
  isBuffer: pn,
@@ -224,8 +224,8 @@ const Hn = (t) => {
224
224
  generateString: kn,
225
225
  isSpecCompliantForm: jn,
226
226
  toJSONObject: Hn,
227
- isAsyncFn: zn,
228
- isThenable: Wn
227
+ isAsyncFn: Wn,
228
+ isThenable: zn
229
229
  };
230
230
  function b(t, e, r, n, o) {
231
231
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), r && (this.config = r), n && (this.request = n), o && (this.response = o);
@@ -1020,22 +1020,22 @@ const $t = (t) => `- ${t}`, Eo = (t) => u.isFunction(t) || t === null || t === !
1020
1020
  },
1021
1021
  adapters: nt
1022
1022
  };
1023
- function ze(t) {
1023
+ function We(t) {
1024
1024
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
1025
1025
  throw new be(null, t);
1026
1026
  }
1027
1027
  function It(t) {
1028
- return ze(t), t.headers = F.from(t.headers), t.data = He.call(
1028
+ return We(t), t.headers = F.from(t.headers), t.data = He.call(
1029
1029
  t,
1030
1030
  t.transformRequest
1031
1031
  ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), xr.getAdapter(t.adapter || ve.adapter)(t).then(function(n) {
1032
- return ze(t), n.data = He.call(
1032
+ return We(t), n.data = He.call(
1033
1033
  t,
1034
1034
  t.transformResponse,
1035
1035
  n
1036
1036
  ), n.headers = F.from(n.headers), n;
1037
1037
  }, function(n) {
1038
- return Rr(n) || (ze(t), n && n.response && (n.response.data = He.call(
1038
+ return Rr(n) || (We(t), n && n.response && (n.response.data = He.call(
1039
1039
  t,
1040
1040
  t.transformResponse,
1041
1041
  n.response
@@ -1483,11 +1483,11 @@ var To = Error, Fo = EvalError, No = RangeError, Co = ReferenceError, Nr = Synta
1483
1483
  return !0;
1484
1484
  }, Lt = typeof Symbol < "u" && Symbol, Io = $o, Do = function() {
1485
1485
  return typeof Lt != "function" || typeof Symbol != "function" || typeof Lt("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : Io();
1486
- }, We = {
1486
+ }, ze = {
1487
1487
  __proto__: null,
1488
1488
  foo: {}
1489
1489
  }, Bo = Object, Uo = function() {
1490
- return { __proto__: We }.foo === We.foo && !(We instanceof Bo);
1490
+ return { __proto__: ze }.foo === ze.foo && !(ze instanceof Bo);
1491
1491
  }, Lo = "Function.prototype.bind called on incompatible ", Mo = Object.prototype.toString, ko = Math.max, jo = "[object Function]", Mt = function(e, r) {
1492
1492
  for (var n = [], o = 0; o < e.length; o += 1)
1493
1493
  n[o] = e[o];
@@ -1498,11 +1498,11 @@ var To = Error, Fo = EvalError, No = RangeError, Co = ReferenceError, Nr = Synta
1498
1498
  for (var n = [], o = r, i = 0; o < e.length; o += 1, i += 1)
1499
1499
  n[i] = e[o];
1500
1500
  return n;
1501
- }, zo = function(t, e) {
1501
+ }, Wo = function(t, e) {
1502
1502
  for (var r = "", n = 0; n < t.length; n += 1)
1503
1503
  r += t[n], n + 1 < t.length && (r += e);
1504
1504
  return r;
1505
- }, Wo = function(e) {
1505
+ }, zo = function(e) {
1506
1506
  var r = this;
1507
1507
  if (typeof r != "function" || Mo.apply(r) !== jo)
1508
1508
  throw new TypeError(Lo + r);
@@ -1520,13 +1520,13 @@ var To = Error, Fo = EvalError, No = RangeError, Co = ReferenceError, Nr = Synta
1520
1520
  );
1521
1521
  }, a = ko(0, r.length - n.length), s = [], c = 0; c < a; c++)
1522
1522
  s[c] = "$" + c;
1523
- if (o = Function("binder", "return function (" + zo(s, ",") + "){ return binder.apply(this,arguments); }")(i), r.prototype) {
1523
+ if (o = Function("binder", "return function (" + Wo(s, ",") + "){ return binder.apply(this,arguments); }")(i), r.prototype) {
1524
1524
  var l = function() {
1525
1525
  };
1526
1526
  l.prototype = r.prototype, o.prototype = new l(), l.prototype = null;
1527
1527
  }
1528
1528
  return o;
1529
- }, qo = Wo, bt = Function.prototype.bind || qo, Go = Function.prototype.call, Jo = Object.prototype.hasOwnProperty, Vo = bt, Ko = Vo.call(Go, Jo), v, Qo = To, Xo = Fo, Yo = No, Zo = Co, ne = Nr, te = Se, ei = _o, Cr = Function, qe = function(t) {
1529
+ }, qo = zo, bt = Function.prototype.bind || qo, Go = Function.prototype.call, Jo = Object.prototype.hasOwnProperty, Vo = bt, Ko = Vo.call(Go, Jo), v, Qo = To, Xo = Fo, Yo = No, Zo = Co, ne = Nr, te = Se, ei = _o, Cr = Function, qe = function(t) {
1530
1530
  try {
1531
1531
  return Cr('"use strict"; return (' + t + ").constructor;")();
1532
1532
  } catch {
@@ -1771,7 +1771,7 @@ if (Ne)
1771
1771
  } catch {
1772
1772
  Ne = null;
1773
1773
  }
1774
- var $r = Ne, zt = St(), yi = Nr, Z = Se, Wt = $r, hi = function(e, r, n) {
1774
+ var $r = Ne, Wt = St(), yi = Nr, Z = Se, zt = $r, hi = function(e, r, n) {
1775
1775
  if (!e || typeof e != "object" && typeof e != "function")
1776
1776
  throw new Z("`obj` must be an object or a function`");
1777
1777
  if (typeof r != "string" && typeof r != "symbol")
@@ -1784,9 +1784,9 @@ var $r = Ne, zt = St(), yi = Nr, Z = Se, Wt = $r, hi = function(e, r, n) {
1784
1784
  throw new Z("`nonConfigurable`, if provided, must be a boolean or null");
1785
1785
  if (arguments.length > 6 && typeof arguments[6] != "boolean")
1786
1786
  throw new Z("`loose`, if provided, must be a boolean");
1787
- var o = arguments.length > 3 ? arguments[3] : null, i = arguments.length > 4 ? arguments[4] : null, a = arguments.length > 5 ? arguments[5] : null, s = arguments.length > 6 ? arguments[6] : !1, c = !!Wt && Wt(e, r);
1788
- if (zt)
1789
- zt(e, r, {
1787
+ var o = arguments.length > 3 ? arguments[3] : null, i = arguments.length > 4 ? arguments[4] : null, a = arguments.length > 5 ? arguments[5] : null, s = arguments.length > 6 ? arguments[6] : !1, c = !!zt && zt(e, r);
1788
+ if (Wt)
1789
+ Wt(e, r, {
1790
1790
  configurable: a === null && c ? c.configurable : !a,
1791
1791
  enumerable: o === null && c ? c.enumerable : !o,
1792
1792
  value: n,
@@ -1971,7 +1971,7 @@ var ct = Pi, rr = ct.custom, nr = kr(rr) ? rr : null, Bi = function t(e, r, n, o
1971
1971
  return Xe("WeakRef");
1972
1972
  if (ji(e))
1973
1973
  return pe(h(Number(e)));
1974
- if (zi(e))
1974
+ if (Wi(e))
1975
1975
  return pe(h(st.call(e)));
1976
1976
  if (Hi(e))
1977
1977
  return pe(Ni.call(e));
@@ -1982,8 +1982,8 @@ var ct = Pi, rr = ct.custom, nr = kr(rr) ? rr : null, Bi = function t(e, r, n, o
1982
1982
  if (typeof globalThis < "u" && e === globalThis || typeof Ut < "u" && e === Ut)
1983
1983
  return "{ [object globalThis] }";
1984
1984
  if (!Li(e) && !or(e)) {
1985
- var z = Ae(e, h), L = er ? er(e) === Object.prototype : e instanceof Object || e.constructor === Object, V = e instanceof Object ? "" : "null prototype", K = !L && x && Object(e) === e && x in e ? Ot.call(H(e), 8, -1) : V ? "Object" : "", ue = L || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = ue + (K || V ? "[" + _.call(Yt.call([], K || [], V || []), ": ") + "] " : "");
1986
- return z.length === 0 ? N + "{}" : f ? N + "{" + ft(z, f) + "}" : N + "{ " + _.call(z, ", ") + " }";
1985
+ var W = Ae(e, h), L = er ? er(e) === Object.prototype : e instanceof Object || e.constructor === Object, V = e instanceof Object ? "" : "null prototype", K = !L && x && Object(e) === e && x in e ? Ot.call(H(e), 8, -1) : V ? "Object" : "", ue = L || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", N = ue + (K || V ? "[" + _.call(Yt.call([], K || [], V || []), ": ") + "] " : "");
1986
+ return W.length === 0 ? N + "{}" : f ? N + "{" + ft(W, f) + "}" : N + "{ " + _.call(W, ", ") + " }";
1987
1987
  }
1988
1988
  return String(e);
1989
1989
  };
@@ -2028,7 +2028,7 @@ function kr(t) {
2028
2028
  }
2029
2029
  return !1;
2030
2030
  }
2031
- function zi(t) {
2031
+ function Wi(t) {
2032
2032
  if (!t || typeof t != "object" || !st)
2033
2033
  return !1;
2034
2034
  try {
@@ -2037,11 +2037,11 @@ function zi(t) {
2037
2037
  }
2038
2038
  return !1;
2039
2039
  }
2040
- var Wi = Object.prototype.hasOwnProperty || function(t) {
2040
+ var zi = Object.prototype.hasOwnProperty || function(t) {
2041
2041
  return t in this;
2042
2042
  };
2043
2043
  function k(t, e) {
2044
- return Wi.call(t, e);
2044
+ return zi.call(t, e);
2045
2045
  }
2046
2046
  function H(t) {
2047
2047
  return Ci.call(t);
@@ -2208,7 +2208,7 @@ function Ae(t, e) {
2208
2208
  Lr.call(t, i[l]) && n.push("[" + e(i[l]) + "]: " + e(t[i[l]], t));
2209
2209
  return n;
2210
2210
  }
2211
- var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%", !0), na = le("WeakMap.prototype.get", !0), oa = le("WeakMap.prototype.set", !0), ia = le("WeakMap.prototype.has", !0), aa = le("Map.prototype.get", !0), sa = le("Map.prototype.set", !0), la = le("Map.prototype.has", !0), At = function(t, e) {
2211
+ var Wr = se, le = Oi, ta = Bi, ra = Se, Re = Wr("%WeakMap%", !0), Pe = Wr("%Map%", !0), na = le("WeakMap.prototype.get", !0), oa = le("WeakMap.prototype.set", !0), ia = le("WeakMap.prototype.has", !0), aa = le("Map.prototype.get", !0), sa = le("Map.prototype.set", !0), la = le("Map.prototype.has", !0), At = function(t, e) {
2212
2212
  for (var r = t, n; (n = r.next) !== null; r = n)
2213
2213
  if (n.key === e)
2214
2214
  return r.next = n.next, n.next = /** @type {NonNullable<typeof list.next>} */
@@ -2274,20 +2274,20 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2274
2274
  },
2275
2275
  RFC1738: Ye.RFC1738,
2276
2276
  RFC3986: Ye.RFC3986
2277
- }, ha = Rt, Ze = Object.prototype.hasOwnProperty, W = Array.isArray, C = function() {
2277
+ }, ha = Rt, Ze = Object.prototype.hasOwnProperty, z = Array.isArray, C = function() {
2278
2278
  for (var t = [], e = 0; e < 256; ++e)
2279
2279
  t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
2280
2280
  return t;
2281
2281
  }(), ma = function(e) {
2282
2282
  for (; e.length > 1; ) {
2283
2283
  var r = e.pop(), n = r.obj[r.prop];
2284
- if (W(n)) {
2284
+ if (z(n)) {
2285
2285
  for (var o = [], i = 0; i < n.length; ++i)
2286
2286
  typeof n[i] < "u" && o.push(n[i]);
2287
2287
  r.obj[r.prop] = o;
2288
2288
  }
2289
2289
  }
2290
- }, Wr = function(e, r) {
2290
+ }, zr = function(e, r) {
2291
2291
  for (var n = r && r.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, o = 0; o < e.length; ++o)
2292
2292
  typeof e[o] < "u" && (n[o] = e[o]);
2293
2293
  return n;
@@ -2295,7 +2295,7 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2295
2295
  if (!r)
2296
2296
  return e;
2297
2297
  if (typeof r != "object") {
2298
- if (W(e))
2298
+ if (z(e))
2299
2299
  e.push(r);
2300
2300
  else if (e && typeof e == "object")
2301
2301
  (n && (n.plainObjects || n.allowPrototypes) || !Ze.call(Object.prototype, r)) && (e[r] = !0);
@@ -2306,7 +2306,7 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2306
2306
  if (!e || typeof e != "object")
2307
2307
  return [e].concat(r);
2308
2308
  var o = e;
2309
- return W(e) && !W(r) && (o = Wr(e, n)), W(e) && W(r) ? (r.forEach(function(i, a) {
2309
+ return z(e) && !z(r) && (o = zr(e, n)), z(e) && z(r) ? (r.forEach(function(i, a) {
2310
2310
  if (Ze.call(e, a)) {
2311
2311
  var s = e[a];
2312
2312
  s && typeof s == "object" && i && typeof i == "object" ? e[a] = t(s, i, n) : e.push(i);
@@ -2372,14 +2372,14 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2372
2372
  }, Aa = function(e, r) {
2373
2373
  return [].concat(e, r);
2374
2374
  }, Ra = function(e, r) {
2375
- if (W(e)) {
2375
+ if (z(e)) {
2376
2376
  for (var n = [], o = 0; o < e.length; o += 1)
2377
2377
  n.push(r(e[o]));
2378
2378
  return n;
2379
2379
  }
2380
2380
  return r(e);
2381
2381
  }, qr = {
2382
- arrayToObject: Wr,
2382
+ arrayToObject: zr,
2383
2383
  assign: va,
2384
2384
  combine: Aa,
2385
2385
  compact: wa,
@@ -2446,9 +2446,9 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2446
2446
  }
2447
2447
  return [g(r) + "=" + g(String(m))];
2448
2448
  }
2449
- var z = [];
2449
+ var W = [];
2450
2450
  if (typeof m > "u")
2451
- return z;
2451
+ return W;
2452
2452
  var L;
2453
2453
  if (n === "comma" && B(m))
2454
2454
  d && s && (m = Ce.maybeMap(m, s)), L = [{ value: m.length > 0 ? m.join(",") || null : void 0 }];
@@ -2464,7 +2464,7 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2464
2464
  var Q = B(m) ? typeof n == "function" ? n(K, N) : K : K + (p ? "." + N : "[" + N + "]");
2465
2465
  S.set(e, R);
2466
2466
  var Oe = Gr();
2467
- Oe.set(et, S), Jr(z, t(
2467
+ Oe.set(et, S), Jr(W, t(
2468
2468
  D,
2469
2469
  Q,
2470
2470
  n,
@@ -2484,7 +2484,7 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2484
2484
  ));
2485
2485
  }
2486
2486
  }
2487
- return z;
2487
+ return W;
2488
2488
  }, Ca = function(e) {
2489
2489
  if (!e)
2490
2490
  return P;
@@ -2656,9 +2656,9 @@ var zr = se, le = Oi, ta = Bi, ra = Se, Re = zr("%WeakMap%", !0), Pe = zr("%Map%
2656
2656
  o = ie.merge(o, c, r);
2657
2657
  }
2658
2658
  return r.allowSparse === !0 ? o : ie.compact(o);
2659
- }, Ha = _a, za = ja, Wa = Rt, qa = {
2660
- formats: Wa,
2661
- parse: za,
2659
+ }, Ha = _a, Wa = ja, za = Rt, qa = {
2660
+ formats: za,
2661
+ parse: Wa,
2662
2662
  stringify: Ha
2663
2663
  };
2664
2664
  const Ga = /* @__PURE__ */ Po(qa);
@@ -2776,7 +2776,7 @@ const Kr = lr(), Qr = Kr.sso ?? !0, Xr = Kr.noRedireLogin ?? !1, Yr = () => {
2776
2776
  const p = new URL(location.href).searchParams;
2777
2777
  l = p.get("project") || p.get("projectId") || 0, l || (l = ln().id ?? 0), (l || l === 0) && (s.project = l);
2778
2778
  }
2779
- if (new URL(location.href).searchParams.get("app") === "iot") {
2779
+ if (new URL(location.href).pathname.startsWith("/iot/iot") || new URL(location.href).searchParams.get("app") === "iot") {
2780
2780
  const { instanceInfo: l } = cn();
2781
2781
  l != null && l.instanceId && (s.instance = l.instanceId);
2782
2782
  }