@das-fed/web 7.1.0-dev.30 → 7.1.0-dev.31

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 (37) hide show
  1. package/index-BJDVxFOS.js +18215 -0
  2. package/index-BJDVxFOS.js.gz +0 -0
  3. package/{packages/main-app-framework/index-cz4bW5fK.js → index-C2e_Is65.js} +1 -1
  4. package/{packages/main-app-framework/index-D8jnUW9X.js → index-Dad2ayuK.js} +1 -1
  5. package/index-Dad2ayuK.js.gz +0 -0
  6. package/index.js +32 -7
  7. package/package.json +6 -6
  8. package/packages/create-das-web-app/index.js +58 -1
  9. package/packages/i18n/index.js +175 -1
  10. package/packages/layout/index.js +785 -2
  11. package/packages/layout/index.js.gz +0 -0
  12. package/packages/main-app-framework/index-BLOwaLgb.js +10 -0
  13. package/packages/main-app-framework/{index-Ej8LG4Wi.js → index-CuDzwEwX.js} +709 -709
  14. package/packages/main-app-framework/index-CuDzwEwX.js.gz +0 -0
  15. package/packages/main-app-framework/index-CwPhZ7VL.js +88 -0
  16. package/packages/main-app-framework/index-CwPhZ7VL.js.gz +0 -0
  17. package/packages/main-app-framework/index.js +7 -2
  18. package/packages/micro-frontend/index.js +848 -2
  19. package/packages/micro-frontend/index.js.gz +0 -0
  20. package/packages/style/index.js +5 -3
  21. package/packages/theme/index.js +75 -2
  22. package/style.css +7 -0
  23. package/style.css.gz +0 -0
  24. package/packages/create-das-web-app/runtime.js +0 -58
  25. package/packages/i18n/runtime.js +0 -175
  26. package/packages/layout/runtime.js +0 -784
  27. package/packages/layout/runtime.js.gz +0 -0
  28. package/packages/main-app-framework/index-D8jnUW9X.js.gz +0 -0
  29. package/packages/main-app-framework/index-Ej8LG4Wi.js.gz +0 -0
  30. package/packages/main-app-framework/runtime.js +0 -6
  31. package/packages/micro-frontend/runtime.js +0 -847
  32. package/packages/micro-frontend/runtime.js.gz +0 -0
  33. package/packages/style/runtime.js +0 -4
  34. package/packages/theme/runtime.js +0 -75
  35. /package/packages/create-das-web-app/{runtime.js.gz → index.js.gz} +0 -0
  36. /package/packages/i18n/{runtime.js.gz → index.js.gz} +0 -0
  37. /package/packages/theme/{runtime.js.gz → index.js.gz} +0 -0
@@ -16,46 +16,46 @@ import { setProcessEngineProject as sd, setProcessEngineToken as sC } from "@das
16
16
  import { oauthServer as ld, justauth as L0, enterpriseright as na, iotModules as lC, portal as jn, systemConfiguration as ra, oauthClient as cC } from "@das-fed/utils/api-services/modules";
17
17
  import { createService as wt } from "@das-fed/utils/create-api-service";
18
18
  import { getConfig as Vn } from "@das-fed/utils/config";
19
- import { getAccessToken as uC, removeAccessToken as fC, getAccessTokenInfo as Mi } from "@das-fed/utils/token-tools";
20
- import { login as cd, real_uri as ud, getTokenParams as $0, tokenStorage as fd, refreshToken as dC } from "@das-fed/utils/create-api-service/sso";
21
- import { hasUnauthorizedRecovery as pC } from "@das-fed/utils/create-api-service/unauthorized-recovery";
22
- import { useGetAuth as hC } from "@das-fed/utils/hooks/use-get-auth";
23
- import { systemConfiguration as vC, portal as xC, enterpriseright as N0, createService as io, spaceManage as dd } from "@das-fed/utils/api-services";
19
+ import { getAccessToken as uC, clearPlatformAuthStorage as fC, tokenStorage as cd, getAccessTokenInfo as Mi } from "@das-fed/utils/token-tools";
20
+ import { login as ud, real_uri as fd, getTokenParams as $0, getLoginType as dC, refreshToken as pC } from "@das-fed/utils/create-api-service/sso";
21
+ import { hasUnauthorizedRecovery as hC } from "@das-fed/utils/create-api-service/unauthorized-recovery";
22
+ import { useGetAuth as vC } from "@das-fed/utils/hooks/use-get-auth";
23
+ import { systemConfiguration as xC, portal as gC, enterpriseright as N0, createService as io, spaceManage as dd } from "@das-fed/utils/api-services";
24
24
  import A0 from "dayjs";
25
25
  import { DasDialog as Er } from "@das-fed/ui/packages/components/dialog/index";
26
26
  import { DasButton as It } from "@das-fed/ui/packages/components/button/index";
27
27
  import { vDasTooltip as Ki } from "@das-fed/ui/packages/components/text-tooltip/index";
28
- import { setPersonalInfo as gC } from "@das-fed/utils/common-info/set-personal-info";
29
- import { isThirdLogin as mC, thirdLogout as _C } from "@das-fed/utils/create-api-service/thirdLogout";
30
- import { setThemeRule as CC, getVar as Du } from "@das-fed/web/packages/theme/index";
31
- import { devicePanelShow as pd, closeDevicePanel as yC, alarmDevicePanelShow as bC, closeAlarmPanel as wC } from "@das-fed/ui/packages/business-components/device-panel/index";
32
- import { DasIconWarningFace as AC } from "@das-fed/ui/packages/icons/warning-face/index";
28
+ import { setPersonalInfo as mC } from "@das-fed/utils/common-info/set-personal-info";
29
+ import { isThirdLogin as _C, thirdLogout as CC } from "@das-fed/utils/create-api-service/thirdLogout";
30
+ import { setThemeRule as yC, getVar as Du } from "@das-fed/web/packages/theme/index";
31
+ import { devicePanelShow as pd, closeDevicePanel as bC, alarmDevicePanelShow as wC, closeAlarmPanel as AC } from "@das-fed/ui/packages/business-components/device-panel/index";
32
+ import { DasIconWarningFace as EC } from "@das-fed/ui/packages/icons/warning-face/index";
33
33
  import { socketService as oa } from "@das-fed/utils/webSocket-service";
34
- import { userInfoNextTick as EC, tokenNextTick as ia } from "@das-fed/utils/nextTiken";
34
+ import { userInfoNextTick as SC, tokenNextTick as ia } from "@das-fed/utils/nextTiken";
35
35
  import { mainAppFramework as Gi } from "@das-fed/web/packages/main-app-framework/index";
36
36
  import { DasAutoRegisterIcon as hd, DasIcon as Yr } from "@das-fed/ui/packages/components/icon/index";
37
37
  import { DasTooltip as Bt } from "@das-fed/ui/packages/components/tooltip/index";
38
- import { DasLivePlayer as SC } from "@das-fed/ui/packages/components/live-player/index";
38
+ import { DasLivePlayer as BC } from "@das-fed/ui/packages/components/live-player/index";
39
39
  import { DasSpin as O0 } from "@das-fed/ui/packages/components/spin/index";
40
- import { DasWatermark as BC } from "@das-fed/ui/packages/components/watermark/index";
41
- import { DasDrawer as kC } from "@das-fed/ui/packages/components/drawer/index";
42
- import { DasTabs as DC } from "@das-fed/ui/packages/components/tabs/index";
43
- import { DasUpdateConfirmDialogRef as IC, DasUpdateConfirmDialog as TC } from "@das-fed/ui/packages/business-components/update-confirm-dialog/index";
40
+ import { DasWatermark as kC } from "@das-fed/ui/packages/components/watermark/index";
41
+ import { DasDrawer as DC } from "@das-fed/ui/packages/components/drawer/index";
42
+ import { DasTabs as IC } from "@das-fed/ui/packages/components/tabs/index";
43
+ import { DasUpdateConfirmDialogRef as TC, DasUpdateConfirmDialog as FC } from "@das-fed/ui/packages/business-components/update-confirm-dialog/index";
44
44
  import { DasRadio as _r } from "@das-fed/ui/packages/components/radio/index";
45
- import { useImageViewer as FC } from "@das-fed/ui/packages/components/image-preview/index";
45
+ import { useImageViewer as PC } from "@das-fed/ui/packages/components/image-preview/index";
46
46
  import { DasForm as U0 } from "@das-fed/ui/packages/components/form/index";
47
47
  import { DasFormItem as St } from "@das-fed/ui/packages/components/form-item/index";
48
- import { DasTable as PC, DasTableColumn as Ps } from "@das-fed/ui/packages/components/table/index";
48
+ import { DasTable as RC, DasTableColumn as Ps } from "@das-fed/ui/packages/components/table/index";
49
49
  import { DasSelect as M0 } from "@das-fed/ui/packages/components/select/index";
50
- import { DasIconSearch as RC } from "@das-fed/ui/packages/icons/search/index";
51
- import { DasTreeRef as LC, DasTree as vd } from "@das-fed/ui/packages/components/tree/index";
52
- import { DasSearch as $C } from "@das-fed/ui/packages/components/search/index";
50
+ import { DasIconSearch as LC } from "@das-fed/ui/packages/icons/search/index";
51
+ import { DasTreeRef as $C, DasTree as vd } from "@das-fed/ui/packages/components/tree/index";
52
+ import { DasSearch as NC } from "@das-fed/ui/packages/components/search/index";
53
53
  import { DasInput as E0 } from "@das-fed/ui/packages/components/input/index";
54
54
  import { DasMessage as xd } from "@das-fed/ui/packages/components/message/index";
55
- import { DasScrollbar as NC } from "@das-fed/ui/packages/components/scrollbar/index";
56
- import { DasSelectList as OC } from "@das-fed/ui/packages/components/select-list/index";
57
- import { DasSplitPanel as UC } from "@das-fed/ui/packages/components/split-panel/index";
58
- import { DasTreeSelect as MC } from "@das-fed/ui/packages/components/tree-select/index";
55
+ import { DasScrollbar as OC } from "@das-fed/ui/packages/components/scrollbar/index";
56
+ import { DasSelectList as UC } from "@das-fed/ui/packages/components/select-list/index";
57
+ import { DasSplitPanel as MC } from "@das-fed/ui/packages/components/split-panel/index";
58
+ import { DasTreeSelect as zC } from "@das-fed/ui/packages/components/tree-select/index";
59
59
  import { DasCheckbox as Iu } from "@das-fed/ui/packages/components/checkbox/index";
60
60
  const vn = "/home", jt = "/application", Tu = [
61
61
  // { value: HomePath, label: '首页', path: HomePath, fixed: true },
@@ -78,15 +78,15 @@ const vn = "/home", jt = "/application", Tu = [
78
78
  routeUrl: jt,
79
79
  unClosed: !0
80
80
  }
81
- ], br = "/outerView", gd = "/placeholder", zC = [
81
+ ], br = "/outerView", gd = "/placeholder", HC = [
82
82
  { value: "0", label: "个性化设置" },
83
83
  { value: "1", label: "个人中心" },
84
84
  { value: "2", label: "修改密码" },
85
85
  { value: "3", label: "退出登录" }
86
- ], HC = {
86
+ ], WC = {
87
87
  key: 0,
88
88
  class: "box-banner-wrap"
89
- }, WC = { class: "icon-wrap" }, qC = /* @__PURE__ */ at({
89
+ }, qC = { class: "icon-wrap" }, jC = /* @__PURE__ */ at({
90
90
  __name: "banner",
91
91
  emits: ["close-tip"],
92
92
  setup(i, { emit: r }) {
@@ -100,8 +100,8 @@ const vn = "/home", jt = "/application", Tu = [
100
100
  });
101
101
  return nd(() => {
102
102
  h();
103
- }), (s, d) => a.value ? Ie("v-if", !0) : (_e(), Ke("div", HC, [
104
- se("div", WC, [
103
+ }), (s, d) => a.value ? Ie("v-if", !0) : (_e(), Ke("div", WC, [
104
+ se("div", qC, [
105
105
  ae(D(K_), {
106
106
  class: "icons",
107
107
  iconColor: "#fdaf1a"
@@ -124,7 +124,7 @@ const vn = "/home", jt = "/application", Tu = [
124
124
  for (const [a, l] of r)
125
125
  n[a] = l;
126
126
  return n;
127
- }, jC = /* @__PURE__ */ Ut(qC, [["__scopeId", "data-v-2470d845"]]), VC = /* @__PURE__ */ at({
127
+ }, VC = /* @__PURE__ */ Ut(jC, [["__scopeId", "data-v-2470d845"]]), KC = /* @__PURE__ */ at({
128
128
  __name: "index",
129
129
  setup(i) {
130
130
  const r = Ji(), n = z("");
@@ -134,9 +134,9 @@ const vn = "/home", jt = "/application", Tu = [
134
134
  n.value = a;
135
135
  },
136
136
  { immediate: !0 }
137
- ), (a, l) => n.value.startsWith("/iot/iot") ? (_e(), Ve(jC, { key: 0 })) : Ie("v-if", !0);
137
+ ), (a, l) => n.value.startsWith("/iot/iot") ? (_e(), Ve(VC, { key: 0 })) : Ie("v-if", !0);
138
138
  }
139
- }), KC = /* @__PURE__ */ at({
139
+ }), GC = /* @__PURE__ */ at({
140
140
  __name: "base-layout",
141
141
  props: {
142
142
  loading: { type: Boolean, default: !1 },
@@ -185,7 +185,7 @@ const vn = "/home", jt = "/application", Tu = [
185
185
  ]),
186
186
  banner: fe(() => [
187
187
  sr(l.$slots, "banner", {}, () => [
188
- ae(VC)
188
+ ae(KC)
189
189
  ])
190
190
  ]),
191
191
  _: 3
@@ -194,19 +194,19 @@ const vn = "/home", jt = "/application", Tu = [
194
194
  }
195
195
  });
196
196
  var Fu;
197
- const z0 = typeof window < "u", GC = (i) => typeof i == "string", XC = () => {
197
+ const z0 = typeof window < "u", XC = (i) => typeof i == "string", QC = () => {
198
198
  };
199
199
  z0 && ((Fu = window == null ? void 0 : window.navigator) != null && Fu.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
200
200
  function md(i) {
201
201
  return typeof i == "function" ? i() : D(i);
202
202
  }
203
- function QC(i) {
203
+ function ZC(i) {
204
204
  return i;
205
205
  }
206
206
  function _d(i) {
207
207
  return R_() ? (L_(i), !0) : !1;
208
208
  }
209
- function ZC(i, r = !0) {
209
+ function YC(i, r = !0) {
210
210
  $_() ? An(i) : r ? i() : yr(i);
211
211
  }
212
212
  function Cd(i) {
@@ -214,11 +214,11 @@ function Cd(i) {
214
214
  const n = md(i);
215
215
  return (r = n == null ? void 0 : n.$el) != null ? r : n;
216
216
  }
217
- const YC = z0 ? window : void 0, JC = z0 ? window.document : void 0;
218
- function ey(...i) {
217
+ const JC = z0 ? window : void 0, ey = z0 ? window.document : void 0;
218
+ function ty(...i) {
219
219
  let r, n, a, l;
220
- if (GC(i[0]) || Array.isArray(i[0]) ? ([n, a, l] = i, r = YC) : [r, n, a, l] = i, !r)
221
- return XC;
220
+ if (XC(i[0]) || Array.isArray(i[0]) ? ([n, a, l] = i, r = JC) : [r, n, a, l] = i, !r)
221
+ return QC;
222
222
  Array.isArray(n) || (n = [n]), Array.isArray(a) || (a = [a]);
223
223
  const c = [], f = () => {
224
224
  c.forEach((d) => d()), c.length = 0;
@@ -229,9 +229,9 @@ function ey(...i) {
229
229
  };
230
230
  return _d(s), s;
231
231
  }
232
- function ty(i, r = !1) {
232
+ function ny(i, r = !1) {
233
233
  const n = z(), a = () => n.value = !!i();
234
- return a(), ZC(a, r), n;
234
+ return a(), YC(a, r), n;
235
235
  }
236
236
  const Pu = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ru = "__vueuse_ssr_handlers__";
237
237
  Pu[Ru] = Pu[Ru] || {};
@@ -278,9 +278,9 @@ const Lu = [
278
278
  ]
279
279
  ];
280
280
  function Ho(i, r = {}) {
281
- const { document: n = JC, autoExit: a = !1 } = r, l = i || (n == null ? void 0 : n.querySelector("html")), c = z(!1);
281
+ const { document: n = ey, autoExit: a = !1 } = r, l = i || (n == null ? void 0 : n.querySelector("html")), c = z(!1);
282
282
  let f = Lu[0];
283
- const p = ty(() => {
283
+ const p = ny(() => {
284
284
  if (n) {
285
285
  for (const E of Lu)
286
286
  if (E[1] in n)
@@ -302,7 +302,7 @@ function Ho(i, r = {}) {
302
302
  async function C() {
303
303
  c.value ? await x() : await _();
304
304
  }
305
- return n && ey(n, w, () => {
305
+ return n && ty(n, w, () => {
306
306
  c.value = !!(n != null && n[d]);
307
307
  }, !1), a && _d(x), {
308
308
  isSupported: p,
@@ -316,15 +316,15 @@ var $u;
316
316
  (function(i) {
317
317
  i.UP = "UP", i.RIGHT = "RIGHT", i.DOWN = "DOWN", i.LEFT = "LEFT", i.NONE = "NONE";
318
318
  })($u || ($u = {}));
319
- var ny = Object.defineProperty, Nu = Object.getOwnPropertySymbols, ry = Object.prototype.hasOwnProperty, oy = Object.prototype.propertyIsEnumerable, Ou = (i, r, n) => r in i ? ny(i, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : i[r] = n, iy = (i, r) => {
319
+ var ry = Object.defineProperty, Nu = Object.getOwnPropertySymbols, oy = Object.prototype.hasOwnProperty, iy = Object.prototype.propertyIsEnumerable, Ou = (i, r, n) => r in i ? ry(i, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : i[r] = n, ay = (i, r) => {
320
320
  for (var n in r || (r = {}))
321
- ry.call(r, n) && Ou(i, n, r[n]);
321
+ oy.call(r, n) && Ou(i, n, r[n]);
322
322
  if (Nu)
323
323
  for (var n of Nu(r))
324
- oy.call(r, n) && Ou(i, n, r[n]);
324
+ iy.call(r, n) && Ou(i, n, r[n]);
325
325
  return i;
326
326
  };
327
- const ay = {
327
+ const sy = {
328
328
  easeInSine: [0.12, 0, 0.39, 0],
329
329
  easeOutSine: [0.61, 1, 0.88, 1],
330
330
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -350,10 +350,10 @@ const ay = {
350
350
  easeOutBack: [0.34, 1.56, 0.64, 1],
351
351
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
352
352
  };
353
- iy({
354
- linear: QC
355
- }, ay);
356
- const sy = vC.get("watermark"), ly = /* @__PURE__ */ at({
353
+ ay({
354
+ linear: ZC
355
+ }, sy);
356
+ const ly = xC.get("watermark"), cy = /* @__PURE__ */ at({
357
357
  __name: "index",
358
358
  props: {
359
359
  platformInitNextTick: {}
@@ -381,11 +381,11 @@ const sy = vC.get("watermark"), ly = /* @__PURE__ */ at({
381
381
  }, x = async () => {
382
382
  var m, y, S, k, R, T, P;
383
383
  s.value = !0, await (r == null ? void 0 : r.platformInitNextTick());
384
- const [E, b] = await sy().run();
384
+ const [E, b] = await ly().run();
385
385
  if (E) return null;
386
386
  if (n.value = b, !!((m = n.value) != null && m.pageSwith)) {
387
387
  c.value = [];
388
- const { name: N, phone: I } = await EC();
388
+ const { name: N, phone: I } = await SC();
389
389
  let L = "";
390
390
  if ((y = n.value) != null && y.nameSwith && N && (c.value.push(N), L = L + `${N} `), (S = n.value) != null && S.phoneSwith && I) {
391
391
  const M = I.slice(-4);
@@ -419,7 +419,7 @@ const sy = vC.get("watermark"), ly = /* @__PURE__ */ at({
419
419
  const E = !!((v = n.value) != null && v.pageSwith);
420
420
  let b = ((m = C.query) == null ? void 0 : m.showWatermark) ?? !0;
421
421
  b === "false" && (b = !1), w(!!(E && b));
422
- }), (E, b) => (_e(), Ve(D(BC), {
422
+ }), (E, b) => (_e(), Ve(D(kC), {
423
423
  class: "watermark",
424
424
  font: p,
425
425
  zIndex: 2147483647,
@@ -434,11 +434,11 @@ const sy = vC.get("watermark"), ly = /* @__PURE__ */ at({
434
434
  /* FORWARDED */
435
435
  }, 8, ["font", "content", "width", "height"]));
436
436
  }
437
- }), cy = /* @__PURE__ */ Ut(ly, [["__scopeId", "data-v-dacc9554"]]), uy = {
437
+ }), uy = /* @__PURE__ */ Ut(cy, [["__scopeId", "data-v-dacc9554"]]), fy = {
438
438
  "--menu-tip-diaolg-content": "#212121",
439
439
  "--menu-tip-diaolg-divide": "#d9d9d9",
440
440
  "--menu-tip-diaolg-info": "#999999"
441
- }, fy = ["innerHTML"], dy = { class: "footer" }, py = /* @__PURE__ */ at({
441
+ }, dy = ["innerHTML"], py = { class: "footer" }, hy = /* @__PURE__ */ at({
442
442
  __name: "tip",
443
443
  props: {
444
444
  title: {},
@@ -460,7 +460,7 @@ const sy = vC.get("watermark"), ly = /* @__PURE__ */ at({
460
460
  onClosed: n.closeCallback
461
461
  }, {
462
462
  footer: fe(() => [
463
- se("div", dy, [
463
+ se("div", py, [
464
464
  ae(D(It), {
465
465
  btnType: "default",
466
466
  size: "small",
@@ -482,7 +482,7 @@ const sy = vC.get("watermark"), ly = /* @__PURE__ */ at({
482
482
  se("div", {
483
483
  class: "content",
484
484
  innerHTML: n.content
485
- }, null, 8, fy),
485
+ }, null, 8, dy),
486
486
  n.desc && n.desc.length ? (_e(), Ke(
487
487
  Wn,
488
488
  { key: 0 },
@@ -521,18 +521,18 @@ const sy = vC.get("watermark"), ly = /* @__PURE__ */ at({
521
521
  /* STABLE */
522
522
  }, 8, ["modelValue", "width", "height", "title", "onClosed"]));
523
523
  }
524
- }), hy = /* @__PURE__ */ Ut(py, [["__scopeId", "data-v-816eb0f2"]]), Po = ({ title: i = "", content: r = "", desc: n = [] }) => new Promise((a) => {
524
+ }), vy = /* @__PURE__ */ Ut(hy, [["__scopeId", "data-v-816eb0f2"]]), Po = ({ title: i = "", content: r = "", desc: n = [] }) => new Promise((a) => {
525
525
  const l = document.createElement("div");
526
526
  l.setAttribute("id", "entry-app-dialog"), document.body.appendChild(l);
527
- const f = kt(hy, { title: i, content: r, desc: n, closeCallback: () => {
527
+ const f = kt(vy, { title: i, content: r, desc: n, closeCallback: () => {
528
528
  To(null, l), document.body.removeChild(l), a(null);
529
529
  } });
530
530
  To(f, l);
531
531
  });
532
- CC(uy);
533
- const vy = (i = {}) => {
532
+ yC(fy);
533
+ const xy = (i = {}) => {
534
534
  sessionStorage.setItem("userInfo", JSON.stringify(i));
535
- }, xy = (i = {}) => {
535
+ }, gy = (i = {}) => {
536
536
  var n;
537
537
  sessionStorage.setItem("tenantInfo", JSON.stringify(i));
538
538
  const r = {
@@ -542,17 +542,17 @@ const vy = (i = {}) => {
542
542
  tenantId: ((n = i == null ? void 0 : i.tenant) == null ? void 0 : n.id) ?? ""
543
543
  };
544
544
  sessionStorage.setItem("hotentUserInfo", JSON.stringify(r));
545
- }, gy = (i) => {
545
+ }, my = (i) => {
546
546
  sessionStorage.setItem("languages", JSON.stringify(i));
547
- }, my = (i = {}) => {
547
+ }, _y = (i = {}) => {
548
548
  sessionStorage.setItem("home-config", JSON.stringify(i));
549
- }, _y = (i = "") => {
549
+ }, Cy = (i = "") => {
550
550
  localStorage.setItem("fav-icon", i);
551
551
  }, yd = (i) => {
552
552
  sessionStorage.setItem("projectInfo", JSON.stringify(i || { id: 0 })), sessionStorage.setItem("project", (i == null ? void 0 : i.id) || 0);
553
- }, Cy = (i = {}) => {
553
+ }, yy = (i = {}) => {
554
554
  sessionStorage.setItem("project-message", JSON.stringify(i));
555
- }, yy = () => {
555
+ }, by = () => {
556
556
  sessionStorage.removeItem("projectInfo"), sessionStorage.removeItem("project");
557
557
  }, Vt = (i) => {
558
558
  let r = Dt();
@@ -592,7 +592,7 @@ const vy = (i = {}) => {
592
592
  for (const n in r.subAppList)
593
593
  r.subAppList[n].code === r.currentSubAppCode && (r.subAppList[n].currentMenuCode = i);
594
594
  sessionStorage.setItem("subApps", JSON.stringify(r));
595
- }, by = (i, r) => {
595
+ }, wy = (i, r) => {
596
596
  const n = "permission-btn", a = JSON.parse(sessionStorage.getItem(n) || "{}") || {}, l = i != null && i.length ? i.filter((h) => h.routeUrl) : [], c = i != null && i.length ? i.filter((h) => !h.routeUrl && h.children).map((h) => h.children).flat() : [], f = [...l, ...c], p = {};
597
597
  return f.forEach((h) => {
598
598
  var x;
@@ -622,13 +622,13 @@ const vy = (i = {}) => {
622
622
  p[s].push(E), d && s !== d && (p["origin-auth"] || (p["origin-auth"] = {}), p["origin-auth"][d] || (p["origin-auth"][d] = []), p["origin-auth"][d].push(E));
623
623
  }));
624
624
  }), a[r] = p, sessionStorage.setItem(n, JSON.stringify(a)), a;
625
- }, wy = (i, r) => {
625
+ }, Ay = (i, r) => {
626
626
  const n = "breadcrumb", a = i.filter((c) => c.routeUrl), l = JSON.parse(sessionStorage.getItem(n) || "{}") || {};
627
627
  return a.forEach((c) => {
628
628
  const p = ((c == null ? void 0 : c.style) ?? 1) === 1, h = c.code;
629
629
  l[r] || (l[r] = {}), l[r][h] = p;
630
630
  }), sessionStorage.setItem(n, JSON.stringify(l)), l;
631
- }, Ay = (i, r) => {
631
+ }, Ey = (i, r) => {
632
632
  const n = "tabStyle", a = i.filter((c) => c.routeUrl), l = JSON.parse(sessionStorage.getItem(n) || "{}") || {};
633
633
  return a.forEach((c) => {
634
634
  const f = c.code, p = {
@@ -637,13 +637,13 @@ const vy = (i = {}) => {
637
637
  };
638
638
  l[r] || (l[r] = {}), l[r][f] = p;
639
639
  }), sessionStorage.setItem(n, JSON.stringify(l)), l;
640
- }, Ey = (i) => {
640
+ }, Sy = (i) => {
641
641
  sessionStorage.setItem("instance", JSON.stringify(i));
642
- }, Sy = () => {
643
- sessionStorage.removeItem("tabStyle");
644
642
  }, By = () => {
645
- sessionStorage.removeItem("breadcrumb");
643
+ sessionStorage.removeItem("tabStyle");
646
644
  }, ky = () => {
645
+ sessionStorage.removeItem("breadcrumb");
646
+ }, Dy = () => {
647
647
  sessionStorage.removeItem("tabs");
648
648
  }, wd = () => {
649
649
  Ot([
@@ -653,11 +653,11 @@ const vy = (i = {}) => {
653
653
  { key: "menuCollapses", value: [] },
654
654
  { key: "subAppList", value: [] }
655
655
  ]);
656
- }, Dy = () => {
656
+ }, Iy = () => {
657
657
  sessionStorage.removeItem("permission-btn");
658
658
  }, H0 = () => {
659
- Dy(), wd(), ky(), By(), Sy();
660
- }, Iy = (i) => {
659
+ Iy(), wd(), Dy(), ky(), By();
660
+ }, Ty = (i) => {
661
661
  const r = JSON.parse(sessionStorage.getItem(i) || "{}");
662
662
  if (r && JSON.stringify(r) !== "{}" && r != null && r.exitConfirmPages && r.exitConfirmPages.length) {
663
663
  const n = (r == null ? void 0 : r.currentPage) ?? "";
@@ -676,10 +676,10 @@ const vy = (i = {}) => {
676
676
  }
677
677
  };
678
678
  var Be = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
679
- function Ty(i) {
679
+ function Fy(i) {
680
680
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
681
681
  }
682
- function Fy(i) {
682
+ function Py(i) {
683
683
  if (i.__esModule) return i;
684
684
  var r = i.default;
685
685
  if (typeof r == "function") {
@@ -699,14 +699,14 @@ function Fy(i) {
699
699
  }), n;
700
700
  }
701
701
  var Ad = { exports: {} };
702
- function Py(i) {
702
+ function Ry(i) {
703
703
  throw new Error('Could not dynamically require "' + i + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
704
704
  }
705
705
  var Rs = { exports: {} };
706
- const Ry = {}, Ly = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
706
+ const Ly = {}, $y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
707
707
  __proto__: null,
708
- default: Ry
709
- }, Symbol.toStringTag, { value: "Module" })), $y = /* @__PURE__ */ Fy(Ly);
708
+ default: Ly
709
+ }, Symbol.toStringTag, { value: "Module" })), Ny = /* @__PURE__ */ Py($y);
710
710
  var Uu;
711
711
  function Me() {
712
712
  return Uu || (Uu = 1, function(i, r) {
@@ -715,9 +715,9 @@ function Me() {
715
715
  })(Be, function() {
716
716
  var n = n || function(a, l) {
717
717
  var c;
718
- if (typeof window < "u" && window.crypto && (c = window.crypto), typeof self < "u" && self.crypto && (c = self.crypto), typeof globalThis < "u" && globalThis.crypto && (c = globalThis.crypto), !c && typeof window < "u" && window.msCrypto && (c = window.msCrypto), !c && typeof Be < "u" && Be.crypto && (c = Be.crypto), !c && typeof Py == "function")
718
+ if (typeof window < "u" && window.crypto && (c = window.crypto), typeof self < "u" && self.crypto && (c = self.crypto), typeof globalThis < "u" && globalThis.crypto && (c = globalThis.crypto), !c && typeof window < "u" && window.msCrypto && (c = window.msCrypto), !c && typeof Be < "u" && Be.crypto && (c = Be.crypto), !c && typeof Ry == "function")
719
719
  try {
720
- c = $y;
720
+ c = Ny;
721
721
  } catch {
722
722
  }
723
723
  var f = function() {
@@ -1439,7 +1439,7 @@ function aa() {
1439
1439
  }(Ls)), Ls.exports;
1440
1440
  }
1441
1441
  var $s = { exports: {} }, zu;
1442
- function Ny() {
1442
+ function Oy() {
1443
1443
  return zu || (zu = 1, function(i, r) {
1444
1444
  (function(n, a) {
1445
1445
  i.exports = a(Me());
@@ -1461,7 +1461,7 @@ function Ny() {
1461
1461
  }($s)), $s.exports;
1462
1462
  }
1463
1463
  var Ns = { exports: {} }, Hu;
1464
- function Oy() {
1464
+ function Uy() {
1465
1465
  return Hu || (Hu = 1, function(i, r) {
1466
1466
  (function(n, a) {
1467
1467
  i.exports = a(Me());
@@ -1630,7 +1630,7 @@ function kr() {
1630
1630
  }(Os)), Os.exports;
1631
1631
  }
1632
1632
  var Us = { exports: {} }, qu;
1633
- function Uy() {
1633
+ function My() {
1634
1634
  return qu || (qu = 1, function(i, r) {
1635
1635
  (function(n, a) {
1636
1636
  i.exports = a(Me());
@@ -1874,7 +1874,7 @@ function W0() {
1874
1874
  }(Hs)), Hs.exports;
1875
1875
  }
1876
1876
  var Ws = { exports: {} }, Gu;
1877
- function My() {
1877
+ function zy() {
1878
1878
  return Gu || (Gu = 1, function(i, r) {
1879
1879
  (function(n, a, l) {
1880
1880
  i.exports = a(Me(), W0());
@@ -2045,7 +2045,7 @@ function Sd() {
2045
2045
  }(qs)), qs.exports;
2046
2046
  }
2047
2047
  var js = { exports: {} }, Qu;
2048
- function zy() {
2048
+ function Hy() {
2049
2049
  return Qu || (Qu = 1, function(i, r) {
2050
2050
  (function(n, a, l) {
2051
2051
  i.exports = a(Me(), aa(), Sd());
@@ -2075,7 +2075,7 @@ function zy() {
2075
2075
  }(js)), js.exports;
2076
2076
  }
2077
2077
  var Vs = { exports: {} }, Zu;
2078
- function Hy() {
2078
+ function Wy() {
2079
2079
  return Zu || (Zu = 1, function(i, r) {
2080
2080
  (function(n, a, l) {
2081
2081
  i.exports = a(Me(), aa());
@@ -2185,7 +2185,7 @@ function Hy() {
2185
2185
  }(Vs)), Vs.exports;
2186
2186
  }
2187
2187
  var Ks = { exports: {} }, Yu;
2188
- function Wy() {
2188
+ function qy() {
2189
2189
  return Yu || (Yu = 1, function(i, r) {
2190
2190
  (function(n, a) {
2191
2191
  i.exports = a(Me());
@@ -2656,7 +2656,7 @@ function q0() {
2656
2656
  }(Gs)), Gs.exports;
2657
2657
  }
2658
2658
  var Xs = { exports: {} }, ef;
2659
- function qy() {
2659
+ function jy() {
2660
2660
  return ef || (ef = 1, function(i, r) {
2661
2661
  (function(n, a, l) {
2662
2662
  i.exports = a(Me(), W0(), q0());
@@ -3324,7 +3324,7 @@ function Ct() {
3324
3324
  }(Zs)), Zs.exports;
3325
3325
  }
3326
3326
  var Ys = { exports: {} }, rf;
3327
- function jy() {
3327
+ function Vy() {
3328
3328
  return rf || (rf = 1, function(i, r) {
3329
3329
  (function(n, a, l) {
3330
3330
  i.exports = a(Me(), Ct());
@@ -3354,7 +3354,7 @@ function jy() {
3354
3354
  }(Ys)), Ys.exports;
3355
3355
  }
3356
3356
  var Js = { exports: {} }, of;
3357
- function Vy() {
3357
+ function Ky() {
3358
3358
  return of || (of = 1, function(i, r) {
3359
3359
  (function(n, a, l) {
3360
3360
  i.exports = a(Me(), Ct());
@@ -3376,7 +3376,7 @@ function Vy() {
3376
3376
  }(Js)), Js.exports;
3377
3377
  }
3378
3378
  var e0 = { exports: {} }, af;
3379
- function Ky() {
3379
+ function Gy() {
3380
3380
  return af || (af = 1, function(i, r) {
3381
3381
  (function(n, a, l) {
3382
3382
  i.exports = a(Me(), Ct());
@@ -3415,7 +3415,7 @@ function Ky() {
3415
3415
  }(e0)), e0.exports;
3416
3416
  }
3417
3417
  var t0 = { exports: {} }, sf;
3418
- function Gy() {
3418
+ function Xy() {
3419
3419
  return sf || (sf = 1, function(i, r) {
3420
3420
  (function(n, a, l) {
3421
3421
  i.exports = a(Me(), Ct());
@@ -3435,7 +3435,7 @@ function Gy() {
3435
3435
  }(t0)), t0.exports;
3436
3436
  }
3437
3437
  var n0 = { exports: {} }, lf;
3438
- function Xy() {
3438
+ function Qy() {
3439
3439
  return lf || (lf = 1, function(i, r) {
3440
3440
  (function(n, a, l) {
3441
3441
  i.exports = a(Me(), Ct());
@@ -3456,7 +3456,7 @@ function Xy() {
3456
3456
  }(n0)), n0.exports;
3457
3457
  }
3458
3458
  var r0 = { exports: {} }, cf;
3459
- function Qy() {
3459
+ function Zy() {
3460
3460
  return cf || (cf = 1, function(i, r) {
3461
3461
  (function(n, a, l) {
3462
3462
  i.exports = a(Me(), Ct());
@@ -3475,7 +3475,7 @@ function Qy() {
3475
3475
  }(r0)), r0.exports;
3476
3476
  }
3477
3477
  var o0 = { exports: {} }, uf;
3478
- function Zy() {
3478
+ function Yy() {
3479
3479
  return uf || (uf = 1, function(i, r) {
3480
3480
  (function(n, a, l) {
3481
3481
  i.exports = a(Me(), Ct());
@@ -3494,7 +3494,7 @@ function Zy() {
3494
3494
  }(o0)), o0.exports;
3495
3495
  }
3496
3496
  var i0 = { exports: {} }, ff;
3497
- function Yy() {
3497
+ function Jy() {
3498
3498
  return ff || (ff = 1, function(i, r) {
3499
3499
  (function(n, a, l) {
3500
3500
  i.exports = a(Me(), Ct());
@@ -3511,7 +3511,7 @@ function Yy() {
3511
3511
  }(i0)), i0.exports;
3512
3512
  }
3513
3513
  var a0 = { exports: {} }, df;
3514
- function Jy() {
3514
+ function e2() {
3515
3515
  return df || (df = 1, function(i, r) {
3516
3516
  (function(n, a, l) {
3517
3517
  i.exports = a(Me(), Ct());
@@ -3533,7 +3533,7 @@ function Jy() {
3533
3533
  }(a0)), a0.exports;
3534
3534
  }
3535
3535
  var s0 = { exports: {} }, pf;
3536
- function e2() {
3536
+ function t2() {
3537
3537
  return pf || (pf = 1, function(i, r) {
3538
3538
  (function(n, a, l) {
3539
3539
  i.exports = a(Me(), Ct());
@@ -3548,7 +3548,7 @@ function e2() {
3548
3548
  }(s0)), s0.exports;
3549
3549
  }
3550
3550
  var l0 = { exports: {} }, hf;
3551
- function t2() {
3551
+ function n2() {
3552
3552
  return hf || (hf = 1, function(i, r) {
3553
3553
  (function(n, a, l) {
3554
3554
  i.exports = a(Me(), Ct());
@@ -3595,7 +3595,7 @@ function t2() {
3595
3595
  }(l0)), l0.exports;
3596
3596
  }
3597
3597
  var c0 = { exports: {} }, vf;
3598
- function n2() {
3598
+ function r2() {
3599
3599
  return vf || (vf = 1, function(i, r) {
3600
3600
  (function(n, a, l) {
3601
3601
  i.exports = a(Me(), kr(), Dr(), lr(), Ct());
@@ -3655,7 +3655,7 @@ function n2() {
3655
3655
  }(c0)), c0.exports;
3656
3656
  }
3657
3657
  var u0 = { exports: {} }, xf;
3658
- function r2() {
3658
+ function o2() {
3659
3659
  return xf || (xf = 1, function(i, r) {
3660
3660
  (function(n, a, l) {
3661
3661
  i.exports = a(Me(), kr(), Dr(), lr(), Ct());
@@ -4375,7 +4375,7 @@ function r2() {
4375
4375
  }(u0)), u0.exports;
4376
4376
  }
4377
4377
  var f0 = { exports: {} }, gf;
4378
- function o2() {
4378
+ function i2() {
4379
4379
  return gf || (gf = 1, function(i, r) {
4380
4380
  (function(n, a, l) {
4381
4381
  i.exports = a(Me(), kr(), Dr(), lr(), Ct());
@@ -4429,7 +4429,7 @@ function o2() {
4429
4429
  }(f0)), f0.exports;
4430
4430
  }
4431
4431
  var d0 = { exports: {} }, mf;
4432
- function i2() {
4432
+ function a2() {
4433
4433
  return mf || (mf = 1, function(i, r) {
4434
4434
  (function(n, a, l) {
4435
4435
  i.exports = a(Me(), kr(), Dr(), lr(), Ct());
@@ -4495,7 +4495,7 @@ function i2() {
4495
4495
  }(d0)), d0.exports;
4496
4496
  }
4497
4497
  var p0 = { exports: {} }, _f;
4498
- function a2() {
4498
+ function s2() {
4499
4499
  return _f || (_f = 1, function(i, r) {
4500
4500
  (function(n, a, l) {
4501
4501
  i.exports = a(Me(), kr(), Dr(), lr(), Ct());
@@ -4559,7 +4559,7 @@ function a2() {
4559
4559
  }(p0)), p0.exports;
4560
4560
  }
4561
4561
  var h0 = { exports: {} }, Cf;
4562
- function s2() {
4562
+ function l2() {
4563
4563
  return Cf || (Cf = 1, function(i, r) {
4564
4564
  (function(n, a, l) {
4565
4565
  i.exports = a(Me(), kr(), Dr(), lr(), Ct());
@@ -5682,16 +5682,16 @@ function s2() {
5682
5682
  }
5683
5683
  (function(i, r) {
5684
5684
  (function(n, a, l) {
5685
- i.exports = a(Me(), aa(), Ny(), Oy(), kr(), Uy(), Dr(), Ed(), W0(), My(), Sd(), zy(), Hy(), Wy(), q0(), qy(), lr(), Ct(), jy(), Vy(), Ky(), Gy(), Xy(), Qy(), Zy(), Yy(), Jy(), e2(), t2(), n2(), r2(), o2(), i2(), a2(), s2());
5685
+ i.exports = a(Me(), aa(), Oy(), Uy(), kr(), My(), Dr(), Ed(), W0(), zy(), Sd(), Hy(), Wy(), qy(), q0(), jy(), lr(), Ct(), Vy(), Ky(), Gy(), Xy(), Qy(), Zy(), Yy(), Jy(), e2(), t2(), n2(), r2(), o2(), i2(), a2(), s2(), l2());
5686
5686
  })(Be, function(n) {
5687
5687
  return n;
5688
5688
  });
5689
5689
  })(Ad);
5690
- var l2 = Ad.exports;
5691
- const $t = /* @__PURE__ */ Ty(l2);
5692
- function c2(i, r, n, a) {
5690
+ var c2 = Ad.exports;
5691
+ const $t = /* @__PURE__ */ Fy(c2);
5692
+ function u2(i, r, n, a) {
5693
5693
  Bd(i, r).then(({ input: l, key: c }) => Dd(l, c, n, !0, a)).then((l) => {
5694
- u2.apply(null, l);
5694
+ f2.apply(null, l);
5695
5695
  }).catch((l) => {
5696
5696
  a({
5697
5697
  value: null,
@@ -5699,16 +5699,16 @@ function c2(i, r, n, a) {
5699
5699
  });
5700
5700
  });
5701
5701
  }
5702
- function u2(i, r, n, a, l, c, f, p) {
5702
+ function f2(i, r, n, a, l, c, f, p) {
5703
5703
  let h = kd(r, n, a, l, c), s = $t.AES.encrypt.apply(null, [i, h.key, h.options]), d = f === "base64" ? $t.enc.Base64 : $t.enc.Hex, w = s.ciphertext.toString(d);
5704
5704
  p({
5705
5705
  value: w,
5706
5706
  error: null
5707
5707
  });
5708
5708
  }
5709
- function f2(i, r, n, a) {
5709
+ function d2(i, r, n, a) {
5710
5710
  Bd(i, r).then(({ input: l, key: c }) => Dd(l, c, n, !1, a)).then((l) => {
5711
- d2.apply(null, l);
5711
+ p2.apply(null, l);
5712
5712
  }).catch((l) => {
5713
5713
  a({
5714
5714
  value: null,
@@ -5716,7 +5716,7 @@ function f2(i, r, n, a) {
5716
5716
  });
5717
5717
  });
5718
5718
  }
5719
- function d2(i, r, n, a, l, c, f, p) {
5719
+ function p2(i, r, n, a, l, c, f, p) {
5720
5720
  let h = kd(r, n, a, l, c), s = $t.DES.encrypt.apply(null, [i, h.key, h.options]), d = f === "base64" ? $t.enc.Base64 : $t.enc.Hex, w = s.ciphertext.toString(d);
5721
5721
  p({
5722
5722
  value: w,
@@ -5745,7 +5745,7 @@ function kd(i, r, n, a, l) {
5745
5745
  async function Dd(i, r, n, a = !1, l) {
5746
5746
  let c;
5747
5747
  try {
5748
- c = await p2(n);
5748
+ c = await h2(n);
5749
5749
  } catch (d) {
5750
5750
  return Promise.reject(d);
5751
5751
  }
@@ -5754,39 +5754,39 @@ async function Dd(i, r, n, a = !1, l) {
5754
5754
  return Promise.reject("非ECB模式iv不能为空");
5755
5755
  let p;
5756
5756
  try {
5757
- p = await h2(n, a);
5757
+ p = await v2(n, a);
5758
5758
  } catch (d) {
5759
5759
  return Promise.reject(d);
5760
5760
  }
5761
5761
  let h;
5762
5762
  try {
5763
- h = await v2(n);
5763
+ h = await x2(n);
5764
5764
  } catch (d) {
5765
5765
  return Promise.reject(d);
5766
5766
  }
5767
5767
  let s;
5768
5768
  try {
5769
- s = await x2(n);
5769
+ s = await g2(n);
5770
5770
  } catch (d) {
5771
5771
  return Promise.reject(d);
5772
5772
  }
5773
5773
  return [i, r, p, f, c, h, s, l];
5774
5774
  }
5775
- async function p2(i) {
5775
+ async function h2(i) {
5776
5776
  let { mode: r = "CBC" } = i || {};
5777
5777
  return r = r.trim().toUpperCase(), ["CBC", "CFB", "OFB", "ECB"].indexOf(r) === -1 ? Promise.reject("mode模式配置错误") : r;
5778
5778
  }
5779
- async function h2(i, r = !1) {
5779
+ async function v2(i, r = !1) {
5780
5780
  if (!r)
5781
5781
  return 8;
5782
5782
  let { keySize: n = 0 } = i || {};
5783
5783
  return [16, 24, 32].indexOf(n) !== -1 ? n : Promise.reject("keySize配置错误");
5784
5784
  }
5785
- async function v2(i) {
5785
+ async function x2(i) {
5786
5786
  let { padding: r = "pkcs7" } = i || {};
5787
5787
  return r = r.trim().toLowerCase(), ["pkcs7", "pkcs5", "zero", "iso10126", "ansix923"].indexOf(r) !== -1 ? r : Promise.reject("padding配置错误");
5788
5788
  }
5789
- async function x2(i) {
5789
+ async function g2(i) {
5790
5790
  let { encoding: r = "base64" } = i || {};
5791
5791
  return r = r.trim().toLowerCase(), ["base64", "hex"].indexOf(r) !== -1 ? r : Promise.reject("encoding配置错误");
5792
5792
  }
@@ -5801,10 +5801,10 @@ function yf(i, r) {
5801
5801
  }
5802
5802
  return $t.enc.Latin1.parse(n);
5803
5803
  }
5804
- const g2 = {
5805
- aes: c2,
5806
- des: f2
5807
- }, m2 = (i = {}, r) => {
5804
+ const m2 = {
5805
+ aes: u2,
5806
+ des: d2
5807
+ }, _2 = (i = {}, r) => {
5808
5808
  const n = { aes: "aes", des: "des" }, a = {
5809
5809
  pkcs5padding: "Pkcs5",
5810
5810
  pkcs7padding: "Pkcs7",
@@ -5814,7 +5814,7 @@ const g2 = {
5814
5814
  }, l = { hex: "hex", base64: "base64" };
5815
5815
  let c = i.encryptType || "", f = n[c.toLowerCase()], p = i.encryptMode || "", h = i.encryptKey || "", s = i.encryptOffset || "", d = i.encryptPadding || "", w = a[d.toLowerCase()], x = i.codingMode || "", _ = l[x.toLowerCase()], E = (Number(i.encryptKeyLength) || 0) / 8;
5816
5816
  return new Promise((b) => {
5817
- f !== "aes" && f !== "des" ? b({ error: "加密类型出错==", value: null }) : g2[f](r, h, { mode: p, keySize: E, padding: w, encoding: _, iv: s }, (v) => {
5817
+ f !== "aes" && f !== "des" ? b({ error: "加密类型出错==", value: null }) : m2[f](r, h, { mode: p, keySize: E, padding: w, encoding: _, iv: s }, (v) => {
5818
5818
  b(v);
5819
5819
  });
5820
5820
  });
@@ -5841,7 +5841,7 @@ async function Fd(i) {
5841
5841
  CURRENT_PROJECT: Kt().id
5842
5842
  }[i];
5843
5843
  }
5844
- async function _2(i) {
5844
+ async function C2(i) {
5845
5845
  if (typeof i != "string") return "";
5846
5846
  let r = null;
5847
5847
  try {
@@ -5856,7 +5856,7 @@ async function _2(i) {
5856
5856
  let h = p;
5857
5857
  if (Td(p)) {
5858
5858
  if (!qn())
5859
- return cd({ ...$0, redirect_uri: ud }), "goLogin";
5859
+ return ud({ ...$0, redirect_uri: fd }), "goLogin";
5860
5860
  h = await Fd(p);
5861
5861
  }
5862
5862
  n[f] = h;
@@ -5864,19 +5864,19 @@ async function _2(i) {
5864
5864
  }
5865
5865
  return JSON.stringify(n);
5866
5866
  }
5867
- async function C2(i) {
5867
+ async function y2(i) {
5868
5868
  let r = {};
5869
5869
  for (let n = 0; n < i.length; n++) {
5870
5870
  let a = i[n] || {}, { attributeContentEnum: l, paramName: c, attributeContent: f, paramType: p, isEncrypted: h } = a, s = c, d = f;
5871
5871
  if (Td(l)) {
5872
5872
  if (!qn())
5873
- return cd({ ...$0, redirect_uri: ud }), "goLogin";
5873
+ return ud({ ...$0, redirect_uri: fd }), "goLogin";
5874
5874
  d = await Fd(l);
5875
- } else if (p === Id.JSON && (d = await _2(f), d === "goLogin"))
5875
+ } else if (p === Id.JSON && (d = await C2(f), d === "goLogin"))
5876
5876
  return "goLogin";
5877
5877
  if (s && d) {
5878
5878
  if (h) {
5879
- let w = await m2(a, d);
5879
+ let w = await _2(a, d);
5880
5880
  w.error, d = w.value ?? "";
5881
5881
  }
5882
5882
  r[s] = d;
@@ -5884,7 +5884,7 @@ async function C2(i) {
5884
5884
  }
5885
5885
  return r;
5886
5886
  }
5887
- function y2(i) {
5887
+ function b2(i) {
5888
5888
  let r = {}, n = i.split("&");
5889
5889
  for (let a = 0; a < n.length; a++) {
5890
5890
  let c = n[a].split("=");
@@ -5895,32 +5895,32 @@ function y2(i) {
5895
5895
  }
5896
5896
  return r;
5897
5897
  }
5898
- function b2(i) {
5898
+ function w2(i) {
5899
5899
  return Object.keys(i).map((r) => `${r}=${i[r]}`).join("&");
5900
5900
  }
5901
- function w2(i, r) {
5901
+ function A2(i, r) {
5902
5902
  let n = i.split("?").filter((s) => s.length > 0), a = Object.keys(r).map((s) => {
5903
5903
  let d = r[s];
5904
5904
  return `${encodeURIComponent(s)}=${encodeURIComponent(d)}`;
5905
5905
  }).join("&");
5906
5906
  if (n.length !== 2)
5907
5907
  return a.length > 0 ? `${i}?${a}` : i;
5908
- let l = n[0], c = y2(n[1]), f = /* @__PURE__ */ new Set();
5908
+ let l = n[0], c = b2(n[1]), f = /* @__PURE__ */ new Set();
5909
5909
  Object.keys(c).forEach((s) => {
5910
5910
  r[s] && f.add(s);
5911
5911
  }), f.forEach((s) => {
5912
5912
  delete c[s];
5913
5913
  });
5914
- let p = a, h = b2(c);
5914
+ let p = a, h = w2(c);
5915
5915
  return h.length > 0 && (a.length > 0 ? p = `${h}&${a}` : p = h), p.length > 0 ? `${l}?${p}` : l;
5916
5916
  }
5917
5917
  const S0 = async (i, r) => {
5918
- const n = await C2(r);
5919
- return n === "goLogin" ? "" : w2(i, n) ?? "";
5918
+ const n = await y2(r);
5919
+ return n === "goLogin" ? "" : A2(i, n) ?? "";
5920
5920
  }, B0 = (i) => {
5921
5921
  const r = new URL(i, location.origin);
5922
5922
  return ["true", "1"].includes(r.searchParams.get("autoSetToken")) && (r.searchParams.append("access_token", uC()), r.searchParams.delete("autoSetToken")), r.toString();
5923
- }, Pd = "v1", A2 = wt(`/api/personal-center/personal-server/${Pd}`), E2 = wt(`/api/enterpriseright/permission/${Pd}`), S2 = A2.get("/info"), B2 = ld.get("/user-info"), k2 = E2.get("/user/tenant"), D2 = L0.post("/tenant/page"), I2 = "v1", T2 = wt(`/api/user-portrait/user-data/${I2}`), Rd = T2.post("/data/actions", (i) => (i.ignoreErrorMessage = !0, i)), Ld = "pc", $d = "pc", Nd = async (i) => {
5923
+ }, Pd = "v1", E2 = wt(`/api/personal-center/personal-server/${Pd}`), S2 = wt(`/api/enterpriseright/permission/${Pd}`), B2 = E2.get("/info"), k2 = ld.get("/user-info"), D2 = S2.get("/user/tenant"), I2 = L0.post("/tenant/page"), T2 = "v1", F2 = wt(`/api/user-portrait/user-data/${T2}`), Rd = F2.post("/data/actions", (i) => (i.ignoreErrorMessage = !0, i)), Ld = "pc", $d = "pc", Nd = async (i) => {
5924
5924
  const r = JSON.parse(sessionStorage.getItem("access-sys") || "{}");
5925
5925
  (r == null ? void 0 : r.projectId) !== i && (await Rd().run({
5926
5926
  action: "access-sys",
@@ -5942,28 +5942,28 @@ const S0 = async (i, r) => {
5942
5942
  displayMenuName: l
5943
5943
  }
5944
5944
  });
5945
- }, F2 = async () => {
5946
- const [i, r] = await S2().run({});
5947
- return i ? { personalConfig: null } : (Nd(Kt().id), vy(r), { personalConfig: r });
5948
5945
  }, P2 = async () => {
5949
- const [i, r] = await B2().run();
5950
- return i ? { tenantConfig: null } : (xy(r), { tenantConfig: r });
5946
+ const [i, r] = await B2().run({});
5947
+ return i ? { personalConfig: null } : (Nd(Kt().id), xy(r), { personalConfig: r });
5951
5948
  }, R2 = async () => {
5952
- const [i, r] = await k2().run(), n = (r == null ? void 0 : r.envLanguage) ?? [];
5953
- return gy(n.length), i ? { currentTenatConfig: null } : { tenantConfig: r };
5949
+ const [i, r] = await k2().run();
5950
+ return i ? { tenantConfig: null } : (gy(r), { tenantConfig: r });
5954
5951
  }, L2 = async () => {
5955
- const [i, r] = await D2().run({
5952
+ const [i, r] = await D2().run(), n = (r == null ? void 0 : r.envLanguage) ?? [];
5953
+ return my(n.length), i ? { currentTenatConfig: null } : { tenantConfig: r };
5954
+ }, $2 = async () => {
5955
+ const [i, r] = await I2().run({
5956
5956
  userId: Mo().id,
5957
5957
  pageSize: 20,
5958
5958
  pageIndex: 1
5959
5959
  });
5960
5960
  if (i) return { tenantList: [] };
5961
5961
  if (r.data && r.data.length) return { tenantList: r.data };
5962
- }, $2 = na.get("/permissionset/user-portal-menu"), N2 = lC.deviceManage.get("/instance/getLast"), O2 = async () => {
5963
- const [i, r] = await N2().run(), n = { instanceInfo: r ?? null };
5964
- return Ey(n), n;
5962
+ }, N2 = na.get("/permissionset/user-portal-menu"), O2 = lC.deviceManage.get("/instance/getLast"), U2 = async () => {
5963
+ const [i, r] = await O2().run(), n = { instanceInfo: r ?? null };
5964
+ return Sy(n), n;
5965
5965
  };
5966
- function U2() {
5966
+ function M2() {
5967
5967
  this.__data__ = [], this.size = 0;
5968
5968
  }
5969
5969
  function Ud(i, r) {
@@ -5975,22 +5975,22 @@ function sa(i, r) {
5975
5975
  return n;
5976
5976
  return -1;
5977
5977
  }
5978
- var M2 = Array.prototype, z2 = M2.splice;
5979
- function H2(i) {
5978
+ var z2 = Array.prototype, H2 = z2.splice;
5979
+ function W2(i) {
5980
5980
  var r = this.__data__, n = sa(r, i);
5981
5981
  if (n < 0)
5982
5982
  return !1;
5983
5983
  var a = r.length - 1;
5984
- return n == a ? r.pop() : z2.call(r, n, 1), --this.size, !0;
5984
+ return n == a ? r.pop() : H2.call(r, n, 1), --this.size, !0;
5985
5985
  }
5986
- function W2(i) {
5986
+ function q2(i) {
5987
5987
  var r = this.__data__, n = sa(r, i);
5988
5988
  return n < 0 ? void 0 : r[n][1];
5989
5989
  }
5990
- function q2(i) {
5990
+ function j2(i) {
5991
5991
  return sa(this.__data__, i) > -1;
5992
5992
  }
5993
- function j2(i, r) {
5993
+ function V2(i, r) {
5994
5994
  var n = this.__data__, a = sa(n, i);
5995
5995
  return a < 0 ? (++this.size, n.push([i, r])) : n[a][1] = r, this;
5996
5996
  }
@@ -6001,66 +6001,66 @@ function Kn(i) {
6001
6001
  this.set(a[0], a[1]);
6002
6002
  }
6003
6003
  }
6004
- Kn.prototype.clear = U2;
6005
- Kn.prototype.delete = H2;
6006
- Kn.prototype.get = W2;
6007
- Kn.prototype.has = q2;
6008
- Kn.prototype.set = j2;
6009
- function V2() {
6004
+ Kn.prototype.clear = M2;
6005
+ Kn.prototype.delete = W2;
6006
+ Kn.prototype.get = q2;
6007
+ Kn.prototype.has = j2;
6008
+ Kn.prototype.set = V2;
6009
+ function K2() {
6010
6010
  this.__data__ = new Kn(), this.size = 0;
6011
6011
  }
6012
- function K2(i) {
6012
+ function G2(i) {
6013
6013
  var r = this.__data__, n = r.delete(i);
6014
6014
  return this.size = r.size, n;
6015
6015
  }
6016
- function G2(i) {
6016
+ function X2(i) {
6017
6017
  return this.__data__.get(i);
6018
6018
  }
6019
- function X2(i) {
6019
+ function Q2(i) {
6020
6020
  return this.__data__.has(i);
6021
6021
  }
6022
- var Md = typeof global == "object" && global && global.Object === Object && global, Q2 = typeof self == "object" && self && self.Object === Object && self, In = Md || Q2 || Function("return this")(), eo = In.Symbol, zd = Object.prototype, Z2 = zd.hasOwnProperty, Y2 = zd.toString, Io = eo ? eo.toStringTag : void 0;
6023
- function J2(i) {
6024
- var r = Z2.call(i, Io), n = i[Io];
6022
+ var Md = typeof global == "object" && global && global.Object === Object && global, Z2 = typeof self == "object" && self && self.Object === Object && self, In = Md || Z2 || Function("return this")(), eo = In.Symbol, zd = Object.prototype, Y2 = zd.hasOwnProperty, J2 = zd.toString, Io = eo ? eo.toStringTag : void 0;
6023
+ function eb(i) {
6024
+ var r = Y2.call(i, Io), n = i[Io];
6025
6025
  try {
6026
6026
  i[Io] = void 0;
6027
6027
  var a = !0;
6028
6028
  } catch {
6029
6029
  }
6030
- var l = Y2.call(i);
6030
+ var l = J2.call(i);
6031
6031
  return a && (r ? i[Io] = n : delete i[Io]), l;
6032
6032
  }
6033
- var eb = Object.prototype, tb = eb.toString;
6034
- function nb(i) {
6035
- return tb.call(i);
6033
+ var tb = Object.prototype, nb = tb.toString;
6034
+ function rb(i) {
6035
+ return nb.call(i);
6036
6036
  }
6037
- var rb = "[object Null]", ob = "[object Undefined]", bf = eo ? eo.toStringTag : void 0;
6037
+ var ob = "[object Null]", ib = "[object Undefined]", bf = eo ? eo.toStringTag : void 0;
6038
6038
  function Wo(i) {
6039
- return i == null ? i === void 0 ? ob : rb : bf && bf in Object(i) ? J2(i) : nb(i);
6039
+ return i == null ? i === void 0 ? ib : ob : bf && bf in Object(i) ? eb(i) : rb(i);
6040
6040
  }
6041
6041
  function la(i) {
6042
6042
  var r = typeof i;
6043
6043
  return i != null && (r == "object" || r == "function");
6044
6044
  }
6045
- var ib = "[object AsyncFunction]", ab = "[object Function]", sb = "[object GeneratorFunction]", lb = "[object Proxy]";
6045
+ var ab = "[object AsyncFunction]", sb = "[object Function]", lb = "[object GeneratorFunction]", cb = "[object Proxy]";
6046
6046
  function Hd(i) {
6047
6047
  if (!la(i))
6048
6048
  return !1;
6049
6049
  var r = Wo(i);
6050
- return r == ab || r == sb || r == ib || r == lb;
6050
+ return r == sb || r == lb || r == ab || r == cb;
6051
6051
  }
6052
6052
  var v0 = In["__core-js_shared__"], wf = function() {
6053
6053
  var i = /[^.]+$/.exec(v0 && v0.keys && v0.keys.IE_PROTO || "");
6054
6054
  return i ? "Symbol(src)_1." + i : "";
6055
6055
  }();
6056
- function cb(i) {
6056
+ function ub(i) {
6057
6057
  return !!wf && wf in i;
6058
6058
  }
6059
- var ub = Function.prototype, fb = ub.toString;
6059
+ var fb = Function.prototype, db = fb.toString;
6060
6060
  function Ir(i) {
6061
6061
  if (i != null) {
6062
6062
  try {
6063
- return fb.call(i);
6063
+ return db.call(i);
6064
6064
  } catch {
6065
6065
  }
6066
6066
  try {
@@ -6070,48 +6070,48 @@ function Ir(i) {
6070
6070
  }
6071
6071
  return "";
6072
6072
  }
6073
- var db = /[\\^$.*+?()[\]{}|]/g, pb = /^\[object .+?Constructor\]$/, hb = Function.prototype, vb = Object.prototype, xb = hb.toString, gb = vb.hasOwnProperty, mb = RegExp(
6074
- "^" + xb.call(gb).replace(db, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
6073
+ var pb = /[\\^$.*+?()[\]{}|]/g, hb = /^\[object .+?Constructor\]$/, vb = Function.prototype, xb = Object.prototype, gb = vb.toString, mb = xb.hasOwnProperty, _b = RegExp(
6074
+ "^" + gb.call(mb).replace(pb, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
6075
6075
  );
6076
- function _b(i) {
6077
- if (!la(i) || cb(i))
6076
+ function Cb(i) {
6077
+ if (!la(i) || ub(i))
6078
6078
  return !1;
6079
- var r = Hd(i) ? mb : pb;
6079
+ var r = Hd(i) ? _b : hb;
6080
6080
  return r.test(Ir(i));
6081
6081
  }
6082
- function Cb(i, r) {
6082
+ function yb(i, r) {
6083
6083
  return i == null ? void 0 : i[r];
6084
6084
  }
6085
6085
  function Tr(i, r) {
6086
- var n = Cb(i, r);
6087
- return _b(n) ? n : void 0;
6086
+ var n = yb(i, r);
6087
+ return Cb(n) ? n : void 0;
6088
6088
  }
6089
6089
  var Ro = Tr(In, "Map"), Lo = Tr(Object, "create");
6090
- function yb() {
6090
+ function bb() {
6091
6091
  this.__data__ = Lo ? Lo(null) : {}, this.size = 0;
6092
6092
  }
6093
- function bb(i) {
6093
+ function wb(i) {
6094
6094
  var r = this.has(i) && delete this.__data__[i];
6095
6095
  return this.size -= r ? 1 : 0, r;
6096
6096
  }
6097
- var wb = "__lodash_hash_undefined__", Ab = Object.prototype, Eb = Ab.hasOwnProperty;
6098
- function Sb(i) {
6097
+ var Ab = "__lodash_hash_undefined__", Eb = Object.prototype, Sb = Eb.hasOwnProperty;
6098
+ function Bb(i) {
6099
6099
  var r = this.__data__;
6100
6100
  if (Lo) {
6101
6101
  var n = r[i];
6102
- return n === wb ? void 0 : n;
6102
+ return n === Ab ? void 0 : n;
6103
6103
  }
6104
- return Eb.call(r, i) ? r[i] : void 0;
6104
+ return Sb.call(r, i) ? r[i] : void 0;
6105
6105
  }
6106
- var Bb = Object.prototype, kb = Bb.hasOwnProperty;
6107
- function Db(i) {
6106
+ var kb = Object.prototype, Db = kb.hasOwnProperty;
6107
+ function Ib(i) {
6108
6108
  var r = this.__data__;
6109
- return Lo ? r[i] !== void 0 : kb.call(r, i);
6109
+ return Lo ? r[i] !== void 0 : Db.call(r, i);
6110
6110
  }
6111
- var Ib = "__lodash_hash_undefined__";
6112
- function Tb(i, r) {
6111
+ var Tb = "__lodash_hash_undefined__";
6112
+ function Fb(i, r) {
6113
6113
  var n = this.__data__;
6114
- return this.size += this.has(i) ? 0 : 1, n[i] = Lo && r === void 0 ? Ib : r, this;
6114
+ return this.size += this.has(i) ? 0 : 1, n[i] = Lo && r === void 0 ? Tb : r, this;
6115
6115
  }
6116
6116
  function Sr(i) {
6117
6117
  var r = -1, n = i == null ? 0 : i.length;
@@ -6120,37 +6120,37 @@ function Sr(i) {
6120
6120
  this.set(a[0], a[1]);
6121
6121
  }
6122
6122
  }
6123
- Sr.prototype.clear = yb;
6124
- Sr.prototype.delete = bb;
6125
- Sr.prototype.get = Sb;
6126
- Sr.prototype.has = Db;
6127
- Sr.prototype.set = Tb;
6128
- function Fb() {
6123
+ Sr.prototype.clear = bb;
6124
+ Sr.prototype.delete = wb;
6125
+ Sr.prototype.get = Bb;
6126
+ Sr.prototype.has = Ib;
6127
+ Sr.prototype.set = Fb;
6128
+ function Pb() {
6129
6129
  this.size = 0, this.__data__ = {
6130
6130
  hash: new Sr(),
6131
6131
  map: new (Ro || Kn)(),
6132
6132
  string: new Sr()
6133
6133
  };
6134
6134
  }
6135
- function Pb(i) {
6135
+ function Rb(i) {
6136
6136
  var r = typeof i;
6137
6137
  return r == "string" || r == "number" || r == "symbol" || r == "boolean" ? i !== "__proto__" : i === null;
6138
6138
  }
6139
6139
  function ca(i, r) {
6140
6140
  var n = i.__data__;
6141
- return Pb(r) ? n[typeof r == "string" ? "string" : "hash"] : n.map;
6141
+ return Rb(r) ? n[typeof r == "string" ? "string" : "hash"] : n.map;
6142
6142
  }
6143
- function Rb(i) {
6143
+ function Lb(i) {
6144
6144
  var r = ca(this, i).delete(i);
6145
6145
  return this.size -= r ? 1 : 0, r;
6146
6146
  }
6147
- function Lb(i) {
6147
+ function $b(i) {
6148
6148
  return ca(this, i).get(i);
6149
6149
  }
6150
- function $b(i) {
6150
+ function Nb(i) {
6151
6151
  return ca(this, i).has(i);
6152
6152
  }
6153
- function Nb(i, r) {
6153
+ function Ob(i, r) {
6154
6154
  var n = ca(this, i), a = n.size;
6155
6155
  return n.set(i, r), this.size += n.size == a ? 0 : 1, this;
6156
6156
  }
@@ -6161,17 +6161,17 @@ function ao(i) {
6161
6161
  this.set(a[0], a[1]);
6162
6162
  }
6163
6163
  }
6164
- ao.prototype.clear = Fb;
6165
- ao.prototype.delete = Rb;
6166
- ao.prototype.get = Lb;
6167
- ao.prototype.has = $b;
6168
- ao.prototype.set = Nb;
6169
- var Ob = 200;
6170
- function Ub(i, r) {
6164
+ ao.prototype.clear = Pb;
6165
+ ao.prototype.delete = Lb;
6166
+ ao.prototype.get = $b;
6167
+ ao.prototype.has = Nb;
6168
+ ao.prototype.set = Ob;
6169
+ var Ub = 200;
6170
+ function Mb(i, r) {
6171
6171
  var n = this.__data__;
6172
6172
  if (n instanceof Kn) {
6173
6173
  var a = n.__data__;
6174
- if (!Ro || a.length < Ob - 1)
6174
+ if (!Ro || a.length < Ub - 1)
6175
6175
  return a.push([i, r]), this.size = ++n.size, this;
6176
6176
  n = this.__data__ = new ao(a);
6177
6177
  }
@@ -6181,12 +6181,12 @@ function so(i) {
6181
6181
  var r = this.__data__ = new Kn(i);
6182
6182
  this.size = r.size;
6183
6183
  }
6184
- so.prototype.clear = V2;
6185
- so.prototype.delete = K2;
6186
- so.prototype.get = G2;
6187
- so.prototype.has = X2;
6188
- so.prototype.set = Ub;
6189
- function Mb(i, r) {
6184
+ so.prototype.clear = K2;
6185
+ so.prototype.delete = G2;
6186
+ so.prototype.get = X2;
6187
+ so.prototype.has = Q2;
6188
+ so.prototype.set = Mb;
6189
+ function zb(i, r) {
6190
6190
  for (var n = -1, a = i == null ? 0 : i.length; ++n < a && r(i[n], n, i) !== !1; )
6191
6191
  ;
6192
6192
  return i;
@@ -6198,7 +6198,7 @@ var Af = function() {
6198
6198
  } catch {
6199
6199
  }
6200
6200
  }();
6201
- function zb(i, r, n) {
6201
+ function Hb(i, r, n) {
6202
6202
  r == "__proto__" && Af ? Af(i, r, {
6203
6203
  configurable: !0,
6204
6204
  enumerable: !0,
@@ -6206,12 +6206,12 @@ function zb(i, r, n) {
6206
6206
  writable: !0
6207
6207
  }) : i[r] = n;
6208
6208
  }
6209
- var Hb = Object.prototype, Wb = Hb.hasOwnProperty;
6210
- function qb(i, r, n) {
6209
+ var Wb = Object.prototype, qb = Wb.hasOwnProperty;
6210
+ function jb(i, r, n) {
6211
6211
  var a = i[r];
6212
- (!(Wb.call(i, r) && Ud(a, n)) || n === void 0 && !(r in i)) && zb(i, r, n);
6212
+ (!(qb.call(i, r) && Ud(a, n)) || n === void 0 && !(r in i)) && Hb(i, r, n);
6213
6213
  }
6214
- function jb(i, r) {
6214
+ function Vb(i, r) {
6215
6215
  for (var n = -1, a = Array(i); ++n < i; )
6216
6216
  a[n] = r(n);
6217
6217
  return a;
@@ -6219,31 +6219,31 @@ function jb(i, r) {
6219
6219
  function qo(i) {
6220
6220
  return i != null && typeof i == "object";
6221
6221
  }
6222
- var Vb = "[object Arguments]";
6222
+ var Kb = "[object Arguments]";
6223
6223
  function Ef(i) {
6224
- return qo(i) && Wo(i) == Vb;
6224
+ return qo(i) && Wo(i) == Kb;
6225
6225
  }
6226
- var Wd = Object.prototype, Kb = Wd.hasOwnProperty, Gb = Wd.propertyIsEnumerable, Xb = Ef(/* @__PURE__ */ function() {
6226
+ var Wd = Object.prototype, Gb = Wd.hasOwnProperty, Xb = Wd.propertyIsEnumerable, Qb = Ef(/* @__PURE__ */ function() {
6227
6227
  return arguments;
6228
6228
  }()) ? Ef : function(i) {
6229
- return qo(i) && Kb.call(i, "callee") && !Gb.call(i, "callee");
6229
+ return qo(i) && Gb.call(i, "callee") && !Xb.call(i, "callee");
6230
6230
  }, j0 = Array.isArray;
6231
- function Qb() {
6231
+ function Zb() {
6232
6232
  return !1;
6233
6233
  }
6234
- var qd = typeof exports == "object" && exports && !exports.nodeType && exports, Sf = qd && typeof module == "object" && module && !module.nodeType && module, Zb = Sf && Sf.exports === qd, Bf = Zb ? In.Buffer : void 0, Yb = Bf ? Bf.isBuffer : void 0, jd = Yb || Qb, Jb = 9007199254740991, ew = /^(?:0|[1-9]\d*)$/;
6235
- function tw(i, r) {
6234
+ var qd = typeof exports == "object" && exports && !exports.nodeType && exports, Sf = qd && typeof module == "object" && module && !module.nodeType && module, Yb = Sf && Sf.exports === qd, Bf = Yb ? In.Buffer : void 0, Jb = Bf ? Bf.isBuffer : void 0, jd = Jb || Zb, ew = 9007199254740991, tw = /^(?:0|[1-9]\d*)$/;
6235
+ function nw(i, r) {
6236
6236
  var n = typeof i;
6237
- return r = r ?? Jb, !!r && (n == "number" || n != "symbol" && ew.test(i)) && i > -1 && i % 1 == 0 && i < r;
6237
+ return r = r ?? ew, !!r && (n == "number" || n != "symbol" && tw.test(i)) && i > -1 && i % 1 == 0 && i < r;
6238
6238
  }
6239
- var nw = 9007199254740991;
6239
+ var rw = 9007199254740991;
6240
6240
  function Vd(i) {
6241
- return typeof i == "number" && i > -1 && i % 1 == 0 && i <= nw;
6241
+ return typeof i == "number" && i > -1 && i % 1 == 0 && i <= rw;
6242
6242
  }
6243
- var rw = "[object Arguments]", ow = "[object Array]", iw = "[object Boolean]", aw = "[object Date]", sw = "[object Error]", lw = "[object Function]", cw = "[object Map]", uw = "[object Number]", fw = "[object Object]", dw = "[object RegExp]", pw = "[object Set]", hw = "[object String]", vw = "[object WeakMap]", xw = "[object ArrayBuffer]", gw = "[object DataView]", mw = "[object Float32Array]", _w = "[object Float64Array]", Cw = "[object Int8Array]", yw = "[object Int16Array]", bw = "[object Int32Array]", ww = "[object Uint8Array]", Aw = "[object Uint8ClampedArray]", Ew = "[object Uint16Array]", Sw = "[object Uint32Array]", Ye = {};
6244
- Ye[mw] = Ye[_w] = Ye[Cw] = Ye[yw] = Ye[bw] = Ye[ww] = Ye[Aw] = Ye[Ew] = Ye[Sw] = !0;
6245
- Ye[rw] = Ye[ow] = Ye[xw] = Ye[iw] = Ye[gw] = Ye[aw] = Ye[sw] = Ye[lw] = Ye[cw] = Ye[uw] = Ye[fw] = Ye[dw] = Ye[pw] = Ye[hw] = Ye[vw] = !1;
6246
- function Bw(i) {
6243
+ var ow = "[object Arguments]", iw = "[object Array]", aw = "[object Boolean]", sw = "[object Date]", lw = "[object Error]", cw = "[object Function]", uw = "[object Map]", fw = "[object Number]", dw = "[object Object]", pw = "[object RegExp]", hw = "[object Set]", vw = "[object String]", xw = "[object WeakMap]", gw = "[object ArrayBuffer]", mw = "[object DataView]", _w = "[object Float32Array]", Cw = "[object Float64Array]", yw = "[object Int8Array]", bw = "[object Int16Array]", ww = "[object Int32Array]", Aw = "[object Uint8Array]", Ew = "[object Uint8ClampedArray]", Sw = "[object Uint16Array]", Bw = "[object Uint32Array]", Ye = {};
6244
+ Ye[_w] = Ye[Cw] = Ye[yw] = Ye[bw] = Ye[ww] = Ye[Aw] = Ye[Ew] = Ye[Sw] = Ye[Bw] = !0;
6245
+ Ye[ow] = Ye[iw] = Ye[gw] = Ye[aw] = Ye[mw] = Ye[sw] = Ye[lw] = Ye[cw] = Ye[uw] = Ye[fw] = Ye[dw] = Ye[pw] = Ye[hw] = Ye[vw] = Ye[xw] = !1;
6246
+ function kw(i) {
6247
6247
  return qo(i) && Vd(i.length) && !!Ye[Wo(i)];
6248
6248
  }
6249
6249
  function V0(i) {
@@ -6251,26 +6251,26 @@ function V0(i) {
6251
6251
  return i(r);
6252
6252
  };
6253
6253
  }
6254
- var Kd = typeof exports == "object" && exports && !exports.nodeType && exports, Fo = Kd && typeof module == "object" && module && !module.nodeType && module, kw = Fo && Fo.exports === Kd, x0 = kw && Md.process, to = function() {
6254
+ var Kd = typeof exports == "object" && exports && !exports.nodeType && exports, Fo = Kd && typeof module == "object" && module && !module.nodeType && module, Dw = Fo && Fo.exports === Kd, x0 = Dw && Md.process, to = function() {
6255
6255
  try {
6256
6256
  var i = Fo && Fo.require && Fo.require("util").types;
6257
6257
  return i || x0 && x0.binding && x0.binding("util");
6258
6258
  } catch {
6259
6259
  }
6260
- }(), kf = to && to.isTypedArray, Dw = kf ? V0(kf) : Bw, Iw = Object.prototype, Tw = Iw.hasOwnProperty;
6261
- function Fw(i, r) {
6262
- var n = j0(i), a = !n && Xb(i), l = !n && !a && jd(i), c = !n && !a && !l && Dw(i), f = n || a || l || c, p = f ? jb(i.length, String) : [], h = p.length;
6260
+ }(), kf = to && to.isTypedArray, Iw = kf ? V0(kf) : kw, Tw = Object.prototype, Fw = Tw.hasOwnProperty;
6261
+ function Pw(i, r) {
6262
+ var n = j0(i), a = !n && Qb(i), l = !n && !a && jd(i), c = !n && !a && !l && Iw(i), f = n || a || l || c, p = f ? Vb(i.length, String) : [], h = p.length;
6263
6263
  for (var s in i)
6264
- Tw.call(i, s) && !(f && // Safari 9 has enumerable `arguments.length` in strict mode.
6264
+ Fw.call(i, s) && !(f && // Safari 9 has enumerable `arguments.length` in strict mode.
6265
6265
  (s == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
6266
6266
  l && (s == "offset" || s == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
6267
6267
  c && (s == "buffer" || s == "byteLength" || s == "byteOffset") || // Skip index properties.
6268
- tw(s, h))) && p.push(s);
6268
+ nw(s, h))) && p.push(s);
6269
6269
  return p;
6270
6270
  }
6271
- var Pw = Object.prototype;
6271
+ var Rw = Object.prototype;
6272
6272
  function Gd(i) {
6273
- var r = i && i.constructor, n = typeof r == "function" && r.prototype || Pw;
6273
+ var r = i && i.constructor, n = typeof r == "function" && r.prototype || Rw;
6274
6274
  return i === n;
6275
6275
  }
6276
6276
  function Xd(i, r) {
@@ -6278,111 +6278,110 @@ function Xd(i, r) {
6278
6278
  return i(r(n));
6279
6279
  };
6280
6280
  }
6281
- var Rw = Xd(Object.keys, Object), Lw = Object.prototype, $w = Lw.hasOwnProperty;
6282
- function Nw(i) {
6281
+ var Lw = Xd(Object.keys, Object), $w = Object.prototype, Nw = $w.hasOwnProperty;
6282
+ function Ow(i) {
6283
6283
  if (!Gd(i))
6284
- return Rw(i);
6284
+ return Lw(i);
6285
6285
  var r = [];
6286
6286
  for (var n in Object(i))
6287
- $w.call(i, n) && n != "constructor" && r.push(n);
6287
+ Nw.call(i, n) && n != "constructor" && r.push(n);
6288
6288
  return r;
6289
6289
  }
6290
- function Ow(i) {
6290
+ function Uw(i) {
6291
6291
  return i != null && Vd(i.length) && !Hd(i);
6292
6292
  }
6293
- function Uw(i) {
6294
- return Ow(i) ? Fw(i) : Nw(i);
6293
+ function Mw(i) {
6294
+ return Uw(i) ? Pw(i) : Ow(i);
6295
6295
  }
6296
- var Qd = typeof exports == "object" && exports && !exports.nodeType && exports, Df = Qd && typeof module == "object" && module && !module.nodeType && module, Mw = Df && Df.exports === Qd, If = Mw ? In.Buffer : void 0;
6296
+ var Qd = typeof exports == "object" && exports && !exports.nodeType && exports, Df = Qd && typeof module == "object" && module && !module.nodeType && module, zw = Df && Df.exports === Qd, If = zw ? In.Buffer : void 0;
6297
6297
  If && If.allocUnsafe;
6298
- function zw(i, r) {
6298
+ function Hw(i, r) {
6299
6299
  return i.slice();
6300
6300
  }
6301
- function Hw(i, r) {
6301
+ function Ww(i, r) {
6302
6302
  for (var n = -1, a = i == null ? 0 : i.length, l = 0, c = []; ++n < a; ) {
6303
6303
  var f = i[n];
6304
6304
  r(f, n, i) && (c[l++] = f);
6305
6305
  }
6306
6306
  return c;
6307
6307
  }
6308
- function Ww() {
6308
+ function qw() {
6309
6309
  return [];
6310
6310
  }
6311
- var qw = Object.prototype, jw = qw.propertyIsEnumerable, Tf = Object.getOwnPropertySymbols, Vw = Tf ? function(i) {
6312
- return i == null ? [] : (i = Object(i), Hw(Tf(i), function(r) {
6313
- return jw.call(i, r);
6311
+ var jw = Object.prototype, Vw = jw.propertyIsEnumerable, Tf = Object.getOwnPropertySymbols, Kw = Tf ? function(i) {
6312
+ return i == null ? [] : (i = Object(i), Ww(Tf(i), function(r) {
6313
+ return Vw.call(i, r);
6314
6314
  }));
6315
- } : Ww;
6316
- function Kw(i, r) {
6315
+ } : qw;
6316
+ function Gw(i, r) {
6317
6317
  for (var n = -1, a = r.length, l = i.length; ++n < a; )
6318
6318
  i[l + n] = r[n];
6319
6319
  return i;
6320
6320
  }
6321
- var Gw = Xd(Object.getPrototypeOf, Object);
6322
- function Xw(i, r, n) {
6321
+ var Xw = Xd(Object.getPrototypeOf, Object);
6322
+ function Qw(i, r, n) {
6323
6323
  var a = r(i);
6324
- return j0(i) ? a : Kw(a, n(i));
6324
+ return j0(i) ? a : Gw(a, n(i));
6325
6325
  }
6326
- function Qw(i) {
6327
- return Xw(i, Uw, Vw);
6326
+ function Zw(i) {
6327
+ return Qw(i, Mw, Kw);
6328
6328
  }
6329
- var k0 = Tr(In, "DataView"), D0 = Tr(In, "Promise"), I0 = Tr(In, "Set"), T0 = Tr(In, "WeakMap"), Ff = "[object Map]", Zw = "[object Object]", Pf = "[object Promise]", Rf = "[object Set]", Lf = "[object WeakMap]", $f = "[object DataView]", Yw = Ir(k0), Jw = Ir(Ro), e8 = Ir(D0), t8 = Ir(I0), n8 = Ir(T0), zn = Wo;
6329
+ var k0 = Tr(In, "DataView"), D0 = Tr(In, "Promise"), I0 = Tr(In, "Set"), T0 = Tr(In, "WeakMap"), Ff = "[object Map]", Yw = "[object Object]", Pf = "[object Promise]", Rf = "[object Set]", Lf = "[object WeakMap]", $f = "[object DataView]", Jw = Ir(k0), e8 = Ir(Ro), t8 = Ir(D0), n8 = Ir(I0), r8 = Ir(T0), zn = Wo;
6330
6330
  (k0 && zn(new k0(new ArrayBuffer(1))) != $f || Ro && zn(new Ro()) != Ff || D0 && zn(D0.resolve()) != Pf || I0 && zn(new I0()) != Rf || T0 && zn(new T0()) != Lf) && (zn = function(i) {
6331
- var r = Wo(i), n = r == Zw ? i.constructor : void 0, a = n ? Ir(n) : "";
6331
+ var r = Wo(i), n = r == Yw ? i.constructor : void 0, a = n ? Ir(n) : "";
6332
6332
  if (a)
6333
6333
  switch (a) {
6334
- case Yw:
6335
- return $f;
6336
6334
  case Jw:
6337
- return Ff;
6335
+ return $f;
6338
6336
  case e8:
6339
- return Pf;
6337
+ return Ff;
6340
6338
  case t8:
6341
- return Rf;
6339
+ return Pf;
6342
6340
  case n8:
6341
+ return Rf;
6342
+ case r8:
6343
6343
  return Lf;
6344
6344
  }
6345
6345
  return r;
6346
6346
  });
6347
- var r8 = Object.prototype, o8 = r8.hasOwnProperty;
6348
- function i8(i) {
6347
+ var o8 = Object.prototype, i8 = o8.hasOwnProperty;
6348
+ function a8(i) {
6349
6349
  var r = i.length, n = new i.constructor(r);
6350
- return r && typeof i[0] == "string" && o8.call(i, "index") && (n.index = i.index, n.input = i.input), n;
6350
+ return r && typeof i[0] == "string" && i8.call(i, "index") && (n.index = i.index, n.input = i.input), n;
6351
6351
  }
6352
6352
  var Nf = In.Uint8Array;
6353
6353
  function K0(i) {
6354
6354
  var r = new i.constructor(i.byteLength);
6355
6355
  return new Nf(r).set(new Nf(i)), r;
6356
6356
  }
6357
- function a8(i, r) {
6357
+ function s8(i, r) {
6358
6358
  var n = K0(i.buffer);
6359
6359
  return new i.constructor(n, i.byteOffset, i.byteLength);
6360
6360
  }
6361
- var s8 = /\w*$/;
6362
- function l8(i) {
6363
- var r = new i.constructor(i.source, s8.exec(i));
6361
+ var l8 = /\w*$/;
6362
+ function c8(i) {
6363
+ var r = new i.constructor(i.source, l8.exec(i));
6364
6364
  return r.lastIndex = i.lastIndex, r;
6365
6365
  }
6366
6366
  var Of = eo ? eo.prototype : void 0, Uf = Of ? Of.valueOf : void 0;
6367
- function c8(i) {
6367
+ function u8(i) {
6368
6368
  return Uf ? Object(Uf.call(i)) : {};
6369
6369
  }
6370
- function u8(i, r) {
6370
+ function f8(i, r) {
6371
6371
  var n = K0(i.buffer);
6372
6372
  return new i.constructor(n, i.byteOffset, i.length);
6373
6373
  }
6374
- var f8 = "[object Boolean]", d8 = "[object Date]", p8 = "[object Map]", h8 = "[object Number]", v8 = "[object RegExp]", x8 = "[object Set]", g8 = "[object String]", m8 = "[object Symbol]", _8 = "[object ArrayBuffer]", C8 = "[object DataView]", y8 = "[object Float32Array]", b8 = "[object Float64Array]", w8 = "[object Int8Array]", A8 = "[object Int16Array]", E8 = "[object Int32Array]", S8 = "[object Uint8Array]", B8 = "[object Uint8ClampedArray]", k8 = "[object Uint16Array]", D8 = "[object Uint32Array]";
6375
- function I8(i, r, n) {
6374
+ var d8 = "[object Boolean]", p8 = "[object Date]", h8 = "[object Map]", v8 = "[object Number]", x8 = "[object RegExp]", g8 = "[object Set]", m8 = "[object String]", _8 = "[object Symbol]", C8 = "[object ArrayBuffer]", y8 = "[object DataView]", b8 = "[object Float32Array]", w8 = "[object Float64Array]", A8 = "[object Int8Array]", E8 = "[object Int16Array]", S8 = "[object Int32Array]", B8 = "[object Uint8Array]", k8 = "[object Uint8ClampedArray]", D8 = "[object Uint16Array]", I8 = "[object Uint32Array]";
6375
+ function T8(i, r, n) {
6376
6376
  var a = i.constructor;
6377
6377
  switch (r) {
6378
- case _8:
6378
+ case C8:
6379
6379
  return K0(i);
6380
- case f8:
6381
6380
  case d8:
6381
+ case p8:
6382
6382
  return new a(+i);
6383
- case C8:
6384
- return a8(i);
6385
6383
  case y8:
6384
+ return s8(i);
6386
6385
  case b8:
6387
6386
  case w8:
6388
6387
  case A8:
@@ -6391,21 +6390,22 @@ function I8(i, r, n) {
6391
6390
  case B8:
6392
6391
  case k8:
6393
6392
  case D8:
6394
- return u8(i);
6395
- case p8:
6396
- return new a();
6393
+ case I8:
6394
+ return f8(i);
6397
6395
  case h8:
6398
- case g8:
6399
- return new a(i);
6400
- case v8:
6401
- return l8(i);
6402
- case x8:
6403
6396
  return new a();
6397
+ case v8:
6404
6398
  case m8:
6399
+ return new a(i);
6400
+ case x8:
6405
6401
  return c8(i);
6402
+ case g8:
6403
+ return new a();
6404
+ case _8:
6405
+ return u8(i);
6406
6406
  }
6407
6407
  }
6408
- var Mf = Object.create, T8 = /* @__PURE__ */ function() {
6408
+ var Mf = Object.create, F8 = /* @__PURE__ */ function() {
6409
6409
  function i() {
6410
6410
  }
6411
6411
  return function(r) {
@@ -6418,20 +6418,20 @@ var Mf = Object.create, T8 = /* @__PURE__ */ function() {
6418
6418
  return i.prototype = void 0, n;
6419
6419
  };
6420
6420
  }();
6421
- function F8(i) {
6422
- return typeof i.constructor == "function" && !Gd(i) ? T8(Gw(i)) : {};
6421
+ function P8(i) {
6422
+ return typeof i.constructor == "function" && !Gd(i) ? F8(Xw(i)) : {};
6423
6423
  }
6424
- var P8 = "[object Map]";
6425
- function R8(i) {
6426
- return qo(i) && zn(i) == P8;
6424
+ var R8 = "[object Map]";
6425
+ function L8(i) {
6426
+ return qo(i) && zn(i) == R8;
6427
6427
  }
6428
- var zf = to && to.isMap, L8 = zf ? V0(zf) : R8, $8 = "[object Set]";
6429
- function N8(i) {
6430
- return qo(i) && zn(i) == $8;
6428
+ var zf = to && to.isMap, $8 = zf ? V0(zf) : L8, N8 = "[object Set]";
6429
+ function O8(i) {
6430
+ return qo(i) && zn(i) == N8;
6431
6431
  }
6432
- var Hf = to && to.isSet, O8 = Hf ? V0(Hf) : N8, Zd = "[object Arguments]", U8 = "[object Array]", M8 = "[object Boolean]", z8 = "[object Date]", H8 = "[object Error]", Yd = "[object Function]", W8 = "[object GeneratorFunction]", q8 = "[object Map]", j8 = "[object Number]", Jd = "[object Object]", V8 = "[object RegExp]", K8 = "[object Set]", G8 = "[object String]", X8 = "[object Symbol]", Q8 = "[object WeakMap]", Z8 = "[object ArrayBuffer]", Y8 = "[object DataView]", J8 = "[object Float32Array]", e4 = "[object Float64Array]", t4 = "[object Int8Array]", n4 = "[object Int16Array]", r4 = "[object Int32Array]", o4 = "[object Uint8Array]", i4 = "[object Uint8ClampedArray]", a4 = "[object Uint16Array]", s4 = "[object Uint32Array]", Qe = {};
6433
- Qe[Zd] = Qe[U8] = Qe[Z8] = Qe[Y8] = Qe[M8] = Qe[z8] = Qe[J8] = Qe[e4] = Qe[t4] = Qe[n4] = Qe[r4] = Qe[q8] = Qe[j8] = Qe[Jd] = Qe[V8] = Qe[K8] = Qe[G8] = Qe[X8] = Qe[o4] = Qe[i4] = Qe[a4] = Qe[s4] = !0;
6434
- Qe[H8] = Qe[Yd] = Qe[Q8] = !1;
6432
+ var Hf = to && to.isSet, U8 = Hf ? V0(Hf) : O8, Zd = "[object Arguments]", M8 = "[object Array]", z8 = "[object Boolean]", H8 = "[object Date]", W8 = "[object Error]", Yd = "[object Function]", q8 = "[object GeneratorFunction]", j8 = "[object Map]", V8 = "[object Number]", Jd = "[object Object]", K8 = "[object RegExp]", G8 = "[object Set]", X8 = "[object String]", Q8 = "[object Symbol]", Z8 = "[object WeakMap]", Y8 = "[object ArrayBuffer]", J8 = "[object DataView]", e4 = "[object Float32Array]", t4 = "[object Float64Array]", n4 = "[object Int8Array]", r4 = "[object Int16Array]", o4 = "[object Int32Array]", i4 = "[object Uint8Array]", a4 = "[object Uint8ClampedArray]", s4 = "[object Uint16Array]", l4 = "[object Uint32Array]", Qe = {};
6433
+ Qe[Zd] = Qe[M8] = Qe[Y8] = Qe[J8] = Qe[z8] = Qe[H8] = Qe[e4] = Qe[t4] = Qe[n4] = Qe[r4] = Qe[o4] = Qe[j8] = Qe[V8] = Qe[Jd] = Qe[K8] = Qe[G8] = Qe[X8] = Qe[Q8] = Qe[i4] = Qe[a4] = Qe[s4] = Qe[l4] = !0;
6434
+ Qe[W8] = Qe[Yd] = Qe[Z8] = !1;
6435
6435
  function qi(i, r, n, a, l, c) {
6436
6436
  var f;
6437
6437
  if (f !== void 0)
@@ -6440,36 +6440,36 @@ function qi(i, r, n, a, l, c) {
6440
6440
  return i;
6441
6441
  var p = j0(i);
6442
6442
  if (p)
6443
- f = i8(i);
6443
+ f = a8(i);
6444
6444
  else {
6445
- var h = zn(i), s = h == Yd || h == W8;
6445
+ var h = zn(i), s = h == Yd || h == q8;
6446
6446
  if (jd(i))
6447
- return zw(i);
6447
+ return Hw(i);
6448
6448
  if (h == Jd || h == Zd || s && !l)
6449
- f = s ? {} : F8(i);
6449
+ f = s ? {} : P8(i);
6450
6450
  else {
6451
6451
  if (!Qe[h])
6452
6452
  return l ? i : {};
6453
- f = I8(i, h);
6453
+ f = T8(i, h);
6454
6454
  }
6455
6455
  }
6456
6456
  c || (c = new so());
6457
6457
  var d = c.get(i);
6458
6458
  if (d)
6459
6459
  return d;
6460
- c.set(i, f), O8(i) ? i.forEach(function(_) {
6460
+ c.set(i, f), U8(i) ? i.forEach(function(_) {
6461
6461
  f.add(qi(_, r, n, _, i, c));
6462
- }) : L8(i) && i.forEach(function(_, C) {
6462
+ }) : $8(i) && i.forEach(function(_, C) {
6463
6463
  f.set(C, qi(_, r, n, C, i, c));
6464
6464
  });
6465
- var w = Qw, x = p ? void 0 : w(i);
6466
- return Mb(x || i, function(_, C) {
6467
- x && (C = _, _ = i[C]), qb(f, C, qi(_, r, n, C, i, c));
6465
+ var w = Zw, x = p ? void 0 : w(i);
6466
+ return zb(x || i, function(_, C) {
6467
+ x && (C = _, _ = i[C]), jb(f, C, qi(_, r, n, C, i, c));
6468
6468
  }), f;
6469
6469
  }
6470
- var l4 = 1, c4 = 4;
6470
+ var c4 = 1, u4 = 4;
6471
6471
  function no(i) {
6472
- return qi(i, l4 | c4);
6472
+ return qi(i, c4 | u4);
6473
6473
  }
6474
6474
  const Xi = (i, r = "") => {
6475
6475
  for (let n of i)
@@ -6490,7 +6490,7 @@ const Xi = (i, r = "") => {
6490
6490
  }
6491
6491
  }
6492
6492
  return null;
6493
- }, u4 = (i, r) => {
6493
+ }, f4 = (i, r) => {
6494
6494
  let n;
6495
6495
  const a = i.findIndex((f) => f.code === r);
6496
6496
  if (a === -1) return { index: a, target: n };
@@ -6498,19 +6498,19 @@ const Xi = (i, r = "") => {
6498
6498
  return c.length && (n = c[0]), n || l.length && (n = l[l.length - 1]), { index: a, target: n };
6499
6499
  }, F0 = (i) => {
6500
6500
  const r = Oe().subAppList ?? [];
6501
- let { index: n, target: a } = u4(r, i);
6501
+ let { index: n, target: a } = f4(r, i);
6502
6502
  return r.splice(n, 1), r.length ? Ot([{ key: "subAppList", value: r }]) : wd(), Vt([
6503
6503
  { key: "currentCode", value: "" },
6504
6504
  { key: "currentTab", value: {} },
6505
6505
  { key: `preTab:${i}`, value: {} },
6506
6506
  { key: `tabMap:${i}`, value: [] }
6507
6507
  ]), a || (a = { fixed: !0, path: jt }), { currentApp: a };
6508
- }, f4 = (i, r) => {
6508
+ }, d4 = (i, r) => {
6509
6509
  const n = i.findIndex((c) => c.code === r), a = i.slice(0, n), l = i.slice(n + 1);
6510
6510
  return { left: a, right: l };
6511
- }, d4 = (i, r, n) => {
6511
+ }, p4 = (i, r, n) => {
6512
6512
  var w;
6513
- const a = nn(r).filter((x) => x.routeUrl).filter((x) => !(x != null && x.disable) && !(x != null && x.expired)), c = (((w = Dt()) == null ? void 0 : w.tabMap) ?? {})[i] ?? [], { left: f, right: p } = f4(c, n), h = c.filter((x) => a.find((_) => _.code === x.code)).map((x) => {
6513
+ const a = nn(r).filter((x) => x.routeUrl).filter((x) => !(x != null && x.disable) && !(x != null && x.expired)), c = (((w = Dt()) == null ? void 0 : w.tabMap) ?? {})[i] ?? [], { left: f, right: p } = d4(c, n), h = c.filter((x) => a.find((_) => _.code === x.code)).map((x) => {
6514
6514
  var _, C;
6515
6515
  return {
6516
6516
  ...x,
@@ -6552,15 +6552,15 @@ const Xi = (i, r = "") => {
6552
6552
  { key: `tabMap:${i}`, value: [] }
6553
6553
  ]), F0(i));
6554
6554
  }, ua = async (i) => {
6555
- const [r, n] = await $2().run({
6555
+ const [r, n] = await N2().run({
6556
6556
  code: i,
6557
6557
  showBtn: !0,
6558
6558
  userType: 1
6559
6559
  });
6560
6560
  if (r || !n || !n.length) return { menus: [], originalMenus: [], err: r };
6561
- by(n, i);
6561
+ wy(n, i);
6562
6562
  const a = nn(n);
6563
- wy(a, i), Ay(a, i);
6563
+ Ay(a, i), Ey(a, i);
6564
6564
  let l = eC(
6565
6565
  n,
6566
6566
  (f) => f.isMenu && f.code !== "aiPlatform.dasaiassistant" && f.originalCode !== "aiPlatform.dasaiassistant"
@@ -6569,7 +6569,7 @@ const Xi = (i, r = "") => {
6569
6569
  return l.forEach((f) => {
6570
6570
  f != null && f.children && f.children.length && (f.originalChildren = no(f.children)), (f != null && f.expired || f != null && f.disable) && (f.children = []);
6571
6571
  }), { menus: l, originalMenus: c };
6572
- }, p4 = async (i) => {
6572
+ }, h4 = async (i) => {
6573
6573
  var x, _, C, E, b;
6574
6574
  let { microApp: r = null, menuCode: n = "", menuPath: a = "", route: l = {} } = i;
6575
6575
  const c = ((x = l.meta) == null ? void 0 : x.showLayout) ?? !0;
@@ -6586,7 +6586,7 @@ const Xi = (i, r = "") => {
6586
6586
  if (!h.length && (!c || !f))
6587
6587
  return { menuConfig: [], currentApp: null, currentMenu: null, query: null };
6588
6588
  if (r.routeUrl === "iot/iot") {
6589
- const { instanceInfo: v } = await O2();
6589
+ const { instanceInfo: v } = await U2();
6590
6590
  if (v) {
6591
6591
  let m = !1;
6592
6592
  h.forEach((S) => {
@@ -6638,7 +6638,7 @@ const Xi = (i, r = "") => {
6638
6638
  if (!w) {
6639
6639
  if (!c || !f)
6640
6640
  return { menuConfig: h, currentApp: null, currentMenu: null, query: { ...l.query, app: p } };
6641
- const v = d4(r.code, h, n);
6641
+ const v = p4(r.code, h, n);
6642
6642
  v != null && v.currentApp && (r = v.currentApp), v != null && v.currentMenu && (w = v.currentMenu), v != null && v.currentTab && (l.query = ((b = v.currentTab) == null ? void 0 : b.query) ?? {});
6643
6643
  }
6644
6644
  if ((r == null ? void 0 : r.routeUrl) === jt)
@@ -6687,24 +6687,24 @@ const Xi = (i, r = "") => {
6687
6687
  return { menuConfig: h, currentApp: r, currentMenu: w, query: y, microPath: m };
6688
6688
  }
6689
6689
  return { menuConfig: h, currentApp: r, currentMenu: null, query: { ...l.query, app: p } };
6690
- }, h4 = jn.get("/appcategory"), v4 = jn.get("/app/common"), Wf = z(!1), P0 = z([]);
6690
+ }, v4 = jn.get("/appcategory"), x4 = jn.get("/app/common"), Wf = z(!1), P0 = z([]);
6691
6691
  Nt(() => {
6692
6692
  var i;
6693
6693
  return ((i = P0.value) == null ? void 0 : i.map((r) => r.apps).flat()) || [];
6694
6694
  });
6695
6695
  const ep = async () => {
6696
6696
  Wf.value = !0;
6697
- const [i, r] = await h4().run({ userType: 1 });
6697
+ const [i, r] = await v4().run({ userType: 1 });
6698
6698
  return Wf.value = !1, i ? (P0.value = [], { navConfig: [] }) : (P0.value = r, Ot([{ key: "appcategorys", value: r }]), { navConfig: r });
6699
- }, x4 = z([]), g4 = async () => {
6700
- const [i, r] = await v4().run();
6701
- return i ? { fixedAppsConfig: [] } : (x4.value = r, { fixedAppsConfig: r });
6702
- }, tp = "v1", m4 = na.get("/organization/authProjectTree"), _4 = wt(`/api/customer/customer/${tp}`), C4 = _4.get("/project/list"), y4 = wt(`/api/project/project-server/${tp}`), b4 = y4.get("/list/message"), w4 = async () => {
6699
+ }, g4 = z([]), m4 = async () => {
6700
+ const [i, r] = await x4().run();
6701
+ return i ? { fixedAppsConfig: [] } : (g4.value = r, { fixedAppsConfig: r });
6702
+ }, tp = "v1", _4 = na.get("/organization/authProjectTree"), C4 = wt(`/api/customer/customer/${tp}`), y4 = C4.get("/project/list"), b4 = wt(`/api/project/project-server/${tp}`), w4 = b4.get("/list/message"), A4 = async () => {
6703
6703
  var f, p;
6704
6704
  const i = ea();
6705
6705
  let r = [], n = null, a = {};
6706
6706
  if ((i == null ? void 0 : i.flag) === 4) {
6707
- const [h, s = []] = await C4().run();
6707
+ const [h, s = []] = await y4().run();
6708
6708
  if (r = s, r && r.length) {
6709
6709
  const d = ((f = Kt()) == null ? void 0 : f.id) || 0;
6710
6710
  if (d && (n = r.find((w) => w.id === d)), !d || !n) {
@@ -6713,40 +6713,40 @@ const ep = async () => {
6713
6713
  }
6714
6714
  }
6715
6715
  } else {
6716
- const [h, s = []] = await m4().run();
6716
+ const [h, s = []] = await _4().run();
6717
6717
  if (r = s, r && r.length) {
6718
6718
  const d = ((p = Kt()) == null ? void 0 : p.id) || 0;
6719
6719
  d && (n = ku(r, (w) => w.id === d)), (!d || !n) && (n = ku(r, (w) => w.type === 7));
6720
6720
  }
6721
6721
  }
6722
- const [l, c] = await b4().run({ projectId: (n == null ? void 0 : n.id) ?? 0 });
6723
- return a = c, Nd((n == null ? void 0 : n.id) || 0), yd(n || { id: 0 }), sd((n == null ? void 0 : n.id) || 0), Cy(a), { projectConfig: r, currentProject: n };
6724
- }, A4 = "v1", E4 = ra.get("/visitor/login/with-default", (i) => (i.public = !0, i)), S4 = ra.get("/visitor/appearance/with-default", (i) => (i.public = !0, i)), B4 = ra.get("platform/appearance/withdefault"), k4 = wt(`/api/portal/manager/${A4}`), D4 = k4.get("/basics/home/info"), I4 = jn.get("/language"), T4 = jn.get("/menu/personal-setting"), F4 = new URL("assets/black-logo-B-Qipuvf.png", import.meta.url).href, P4 = new URL("assets/white-logo-D7bqAkJL.png", import.meta.url).href, R4 = async () => {
6725
- const [i, r] = await E4().run();
6722
+ const [l, c] = await w4().run({ projectId: (n == null ? void 0 : n.id) ?? 0 });
6723
+ return a = c, Nd((n == null ? void 0 : n.id) || 0), yd(n || { id: 0 }), sd((n == null ? void 0 : n.id) || 0), yy(a), { projectConfig: r, currentProject: n };
6724
+ }, E4 = "v1", S4 = ra.get("/visitor/login/with-default", (i) => (i.public = !0, i)), B4 = ra.get("/visitor/appearance/with-default", (i) => (i.public = !0, i)), k4 = ra.get("platform/appearance/withdefault"), D4 = wt(`/api/portal/manager/${E4}`), I4 = D4.get("/basics/home/info"), T4 = jn.get("/language"), F4 = jn.get("/menu/personal-setting"), P4 = new URL("assets/black-logo-B-Qipuvf.png", import.meta.url).href, R4 = new URL("assets/white-logo-D7bqAkJL.png", import.meta.url).href, L4 = async () => {
6725
+ const [i, r] = await S4().run();
6726
6726
  return i ? { loginConfig: null } : { loginConfig: r };
6727
6727
  }, np = async () => {
6728
- const i = qn() ? B4 : S4, [r, n] = await i().run();
6728
+ const i = qn() ? k4 : B4, [r, n] = await i().run();
6729
6729
  return r ? { platformConfig: null } : { platformConfig: n };
6730
6730
  }, Hn = z(null), rp = async () => {
6731
- const [i, r] = await D4().run();
6732
- return i ? { homeConfig: null } : (r && (my(r), Hn.value = r), { homeConfig: r });
6733
- }, hn = z({ style: 1, skinStyle: "default" }), L4 = async () => {
6734
- const [i, r] = await T4().run(), n = (r == null ? void 0 : r.style) ?? 1, a = (r == null ? void 0 : r.skinStyle) ?? "default";
6731
+ const [i, r] = await I4().run();
6732
+ return i ? { homeConfig: null } : (r && (_y(r), Hn.value = r), { homeConfig: r });
6733
+ }, hn = z({ style: 1, skinStyle: "default" }), $4 = async () => {
6734
+ const [i, r] = await F4().run(), n = (r == null ? void 0 : r.style) ?? 1, a = (r == null ? void 0 : r.skinStyle) ?? "default";
6735
6735
  hn.value = {
6736
6736
  style: n,
6737
6737
  skinStyle: a
6738
6738
  }, ge.setTheme(a);
6739
- const { platformConfig: l } = await np(), c = a === "default" || a === "cjb" ? F4 : P4;
6739
+ const { platformConfig: l } = await np(), c = a === "default" || a === "cjb" ? P4 : R4;
6740
6740
  return qn() && ge.nav.setLogo(l != null && l.platformLogoImg ? zo(l.platformLogoImg) : c), sessionStorage.setItem("personal-config", JSON.stringify(hn.value)), {
6741
6741
  personalMenuConfig: hn.value
6742
6742
  };
6743
- }, $4 = async () => {
6744
- const [i, r] = await I4().run();
6743
+ }, N4 = async () => {
6744
+ const [i, r] = await T4().run();
6745
6745
  let n = Uo.value;
6746
6746
  return r != null && r.type && r.type === 1 && (n = "zh-CN"), r != null && r.type && r.type === 2 && (n = "en"), j_(n), {
6747
6747
  langConfig: { ...r }
6748
6748
  };
6749
- }, N4 = new URL("assets/hengxian-CyCsW-Hu.png", import.meta.url).href, O4 = new URL("assets/qianru-Bsf1Lhh2.png", import.meta.url).href, U4 = new URL("assets/default-DOjV2jIm.png", import.meta.url).href, M4 = new URL("assets/kjl-DozNzlyC.png", import.meta.url).href, z4 = new URL("assets/cjb-CTZzysmN.png", import.meta.url).href, H4 = new URL("assets/ssl-XnQ4A9bQ.png", import.meta.url).href, W4 = new URL("assets/dkh-DkyUTuR0.png", import.meta.url).href, q4 = new URL("assets/default-preview-HZjPO_Oz.png", import.meta.url).href, j4 = new URL("assets/kjl-preview-xHIEscys.png", import.meta.url).href, V4 = new URL("assets/cjb-preview-Cz6ZEp0h.png", import.meta.url).href, K4 = new URL("assets/ssl-preview-C4BD2d61.png", import.meta.url).href, G4 = new URL("assets/dkh-preview-SJ0YoU2z.png", import.meta.url).href, X4 = new URL("assets/default-preview-DEfMZxi2.png", import.meta.url).href, Q4 = new URL("assets/kjl-preview-CCoSuYDK.png", import.meta.url).href, Z4 = new URL("assets/cjb-preview-DWYaDhQb.png", import.meta.url).href, Y4 = new URL("assets/ssl-preview-DI5pA3Df.png", import.meta.url).href, J4 = new URL("assets/dkh-preview-DQZDuJfb.png", import.meta.url).href, eA = { class: "theme-style-container" }, tA = { class: "menu-config" }, nA = { class: "title" }, rA = { class: "content" }, oA = ["src"], iA = ["src"], aA = { class: "skin-config" }, sA = { class: "title" }, lA = { class: "content" }, cA = ["src"], uA = ["src"], fA = { class: "content" }, dA = ["src"], pA = ["src"], hA = { class: "content" }, vA = ["src"], xA = { class: "preview" }, gA = { class: "title" }, mA = { class: "preview-content" }, _A = ["src"], CA = /* @__PURE__ */ at({
6749
+ }, O4 = new URL("assets/hengxian-CyCsW-Hu.png", import.meta.url).href, U4 = new URL("assets/qianru-Bsf1Lhh2.png", import.meta.url).href, M4 = new URL("assets/default-DOjV2jIm.png", import.meta.url).href, z4 = new URL("assets/kjl-DozNzlyC.png", import.meta.url).href, H4 = new URL("assets/cjb-CTZzysmN.png", import.meta.url).href, W4 = new URL("assets/ssl-XnQ4A9bQ.png", import.meta.url).href, q4 = new URL("assets/dkh-DkyUTuR0.png", import.meta.url).href, j4 = new URL("assets/default-preview-HZjPO_Oz.png", import.meta.url).href, V4 = new URL("assets/kjl-preview-xHIEscys.png", import.meta.url).href, K4 = new URL("assets/cjb-preview-Cz6ZEp0h.png", import.meta.url).href, G4 = new URL("assets/ssl-preview-C4BD2d61.png", import.meta.url).href, X4 = new URL("assets/dkh-preview-SJ0YoU2z.png", import.meta.url).href, Q4 = new URL("assets/default-preview-DEfMZxi2.png", import.meta.url).href, Z4 = new URL("assets/kjl-preview-CCoSuYDK.png", import.meta.url).href, Y4 = new URL("assets/cjb-preview-DWYaDhQb.png", import.meta.url).href, J4 = new URL("assets/ssl-preview-DI5pA3Df.png", import.meta.url).href, eA = new URL("assets/dkh-preview-DQZDuJfb.png", import.meta.url).href, tA = { class: "theme-style-container" }, nA = { class: "menu-config" }, rA = { class: "title" }, oA = { class: "content" }, iA = ["src"], aA = ["src"], sA = { class: "skin-config" }, lA = { class: "title" }, cA = { class: "content" }, uA = ["src"], fA = ["src"], dA = { class: "content" }, pA = ["src"], hA = ["src"], vA = { class: "content" }, xA = ["src"], gA = { class: "preview" }, mA = { class: "title" }, _A = { class: "preview-content" }, CA = ["src"], yA = /* @__PURE__ */ at({
6750
6750
  __name: "index",
6751
6751
  props: {
6752
6752
  isShow: { type: Boolean, default: !0 }
@@ -6773,13 +6773,13 @@ const ep = async () => {
6773
6773
  }), _ = Nt(() => {
6774
6774
  const b = Uo.value === "zh-CN";
6775
6775
  return {
6776
- default: b ? q4 : X4,
6777
- kjl: b ? j4 : Q4,
6778
- cjb: b ? V4 : Z4,
6779
- ssl: b ? K4 : Y4,
6780
- dkh: b ? G4 : J4
6776
+ default: b ? j4 : Q4,
6777
+ kjl: b ? V4 : Z4,
6778
+ cjb: b ? K4 : Y4,
6779
+ ssl: b ? G4 : J4,
6780
+ dkh: b ? X4 : eA
6781
6781
  }[w()];
6782
- }), { onPreview: C } = FC(), E = () => {
6782
+ }), { onPreview: C } = PC(), E = () => {
6783
6783
  C({ previewList: [_.value], previewBtnConfig: !0 });
6784
6784
  };
6785
6785
  return r({
@@ -6787,27 +6787,27 @@ const ep = async () => {
6787
6787
  getResult: x
6788
6788
  }), (b, v) => Dn((_e(), Ke(
6789
6789
  "div",
6790
- eA,
6790
+ tA,
6791
6791
  [
6792
- se("section", tA, [
6792
+ se("section", nA, [
6793
6793
  se(
6794
6794
  "p",
6795
- nA,
6795
+ rA,
6796
6796
  Ee(D(ce)("侧边菜单栏")),
6797
6797
  1
6798
6798
  /* TEXT */
6799
6799
  ),
6800
- se("div", rA, [
6800
+ se("div", oA, [
6801
6801
  se("div", {
6802
6802
  class: "item-content",
6803
6803
  onClick: v[1] || (v[1] = (m) => d("menu", 1))
6804
6804
  }, [
6805
6805
  se("img", {
6806
- src: D(N4),
6806
+ src: D(O4),
6807
6807
  alt: "",
6808
6808
  width: "180",
6809
6809
  height: "120"
6810
- }, null, 8, oA),
6810
+ }, null, 8, iA),
6811
6811
  ae(D(_r), {
6812
6812
  modelValue: n.value,
6813
6813
  "onUpdate:modelValue": v[0] || (v[0] = (m) => n.value = m)
@@ -6828,11 +6828,11 @@ const ep = async () => {
6828
6828
  onClick: v[3] || (v[3] = (m) => d("menu", 2))
6829
6829
  }, [
6830
6830
  se("img", {
6831
- src: D(O4),
6831
+ src: D(U4),
6832
6832
  alt: "",
6833
6833
  width: "180",
6834
6834
  height: "120"
6835
- }, null, 8, iA),
6835
+ }, null, 8, aA),
6836
6836
  ae(D(_r), {
6837
6837
  modelValue: a.value,
6838
6838
  "onUpdate:modelValue": v[2] || (v[2] = (m) => a.value = m)
@@ -6850,25 +6850,25 @@ const ep = async () => {
6850
6850
  ])
6851
6851
  ])
6852
6852
  ]),
6853
- se("section", aA, [
6853
+ se("section", sA, [
6854
6854
  se(
6855
6855
  "p",
6856
- sA,
6856
+ lA,
6857
6857
  Ee(D(ce)("皮肤风格设置")),
6858
6858
  1
6859
6859
  /* TEXT */
6860
6860
  ),
6861
- se("div", lA, [
6861
+ se("div", cA, [
6862
6862
  se("div", {
6863
6863
  class: "item-content",
6864
6864
  onClick: v[5] || (v[5] = (m) => d("skin", 1))
6865
6865
  }, [
6866
6866
  se("img", {
6867
- src: D(U4),
6867
+ src: D(M4),
6868
6868
  alt: "",
6869
6869
  width: "180",
6870
6870
  height: "120"
6871
- }, null, 8, cA),
6871
+ }, null, 8, uA),
6872
6872
  ae(D(_r), {
6873
6873
  modelValue: l.value,
6874
6874
  "onUpdate:modelValue": v[4] || (v[4] = (m) => l.value = m)
@@ -6889,11 +6889,11 @@ const ep = async () => {
6889
6889
  onClick: v[7] || (v[7] = (m) => d("skin", 2))
6890
6890
  }, [
6891
6891
  se("img", {
6892
- src: D(M4),
6892
+ src: D(z4),
6893
6893
  alt: "",
6894
6894
  width: "180",
6895
6895
  height: "120"
6896
- }, null, 8, uA),
6896
+ }, null, 8, fA),
6897
6897
  ae(D(_r), {
6898
6898
  modelValue: c.value,
6899
6899
  "onUpdate:modelValue": v[6] || (v[6] = (m) => c.value = m)
@@ -6910,17 +6910,17 @@ const ep = async () => {
6910
6910
  }, 8, ["modelValue"])
6911
6911
  ])
6912
6912
  ]),
6913
- se("div", fA, [
6913
+ se("div", dA, [
6914
6914
  se("div", {
6915
6915
  class: "item-content",
6916
6916
  onClick: v[9] || (v[9] = (m) => d("skin", 3))
6917
6917
  }, [
6918
6918
  se("img", {
6919
- src: D(z4),
6919
+ src: D(H4),
6920
6920
  alt: "",
6921
6921
  width: "180",
6922
6922
  height: "120"
6923
- }, null, 8, dA),
6923
+ }, null, 8, pA),
6924
6924
  ae(D(_r), {
6925
6925
  modelValue: f.value,
6926
6926
  "onUpdate:modelValue": v[8] || (v[8] = (m) => f.value = m)
@@ -6941,11 +6941,11 @@ const ep = async () => {
6941
6941
  onClick: v[11] || (v[11] = (m) => d("skin", 4))
6942
6942
  }, [
6943
6943
  se("img", {
6944
- src: D(H4),
6944
+ src: D(W4),
6945
6945
  alt: "",
6946
6946
  width: "180",
6947
6947
  height: "120"
6948
- }, null, 8, pA),
6948
+ }, null, 8, hA),
6949
6949
  ae(D(_r), {
6950
6950
  modelValue: p.value,
6951
6951
  "onUpdate:modelValue": v[10] || (v[10] = (m) => p.value = m)
@@ -6962,17 +6962,17 @@ const ep = async () => {
6962
6962
  }, 8, ["modelValue"])
6963
6963
  ])
6964
6964
  ]),
6965
- se("div", hA, [
6965
+ se("div", vA, [
6966
6966
  se("div", {
6967
6967
  class: "item-content",
6968
6968
  onClick: v[13] || (v[13] = (m) => d("skin", 5))
6969
6969
  }, [
6970
6970
  se("img", {
6971
- src: D(W4),
6971
+ src: D(q4),
6972
6972
  alt: "",
6973
6973
  width: "180",
6974
6974
  height: "120"
6975
- }, null, 8, vA),
6975
+ }, null, 8, xA),
6976
6976
  ae(D(_r), {
6977
6977
  modelValue: h.value,
6978
6978
  "onUpdate:modelValue": v[12] || (v[12] = (m) => h.value = m)
@@ -6990,22 +6990,22 @@ const ep = async () => {
6990
6990
  ])
6991
6991
  ])
6992
6992
  ]),
6993
- se("section", xA, [
6993
+ se("section", gA, [
6994
6994
  se(
6995
6995
  "p",
6996
- gA,
6996
+ mA,
6997
6997
  Ee(D(ce)("效果预览")),
6998
6998
  1
6999
6999
  /* TEXT */
7000
7000
  ),
7001
- se("div", mA, [
7001
+ se("div", _A, [
7002
7002
  se("img", {
7003
7003
  src: _.value,
7004
7004
  alt: "",
7005
7005
  width: "100%",
7006
7006
  height: "100% ",
7007
7007
  onClick: E
7008
- }, null, 8, _A)
7008
+ }, null, 8, CA)
7009
7009
  ])
7010
7010
  ])
7011
7011
  ],
@@ -7015,7 +7015,7 @@ const ep = async () => {
7015
7015
  [Jr, b.isShow]
7016
7016
  ]);
7017
7017
  }
7018
- }), yA = /* @__PURE__ */ Ut(CA, [["__scopeId", "data-v-6071b555"]]), bA = { class: "set-lang" }, wA = /* @__PURE__ */ at({
7018
+ }), bA = /* @__PURE__ */ Ut(yA, [["__scopeId", "data-v-6071b555"]]), wA = { class: "set-lang" }, AA = /* @__PURE__ */ at({
7019
7019
  __name: "index",
7020
7020
  props: {
7021
7021
  isShow: { type: Boolean }
@@ -7035,7 +7035,7 @@ const ep = async () => {
7035
7035
  getResult: () => ({ ...a.value })
7036
7036
  }), (c, f) => Dn((_e(), Ke(
7037
7037
  "div",
7038
- bA,
7038
+ wA,
7039
7039
  [
7040
7040
  ae(D(U0), {
7041
7041
  width: "100%",
@@ -7065,7 +7065,7 @@ const ep = async () => {
7065
7065
  [Jr, c.isShow]
7066
7066
  ]);
7067
7067
  }
7068
- }), AA = /* @__PURE__ */ Ut(wA, [["__scopeId", "data-v-b5871b7c"]]), lo = "v1", EA = `/api/portal/manager/${lo}`, fa = wt(EA), SA = `/api/orchestration-engine/${lo}`, G0 = wt(`${SA}`), BA = `/api/workbench/workbench-server/${lo}`, kA = wt(BA), DA = `/workflow/form/form/${lo}`, IA = wt(DA), TA = `/api/portal/user/${lo}`, op = wt(TA), FA = op.get("/home"), PA = op.delete("/home"), RA = fa.get("/basics/home/type"), LA = fa.get("/basics/tree-page"), $A = fa.get("/basics/list"), NA = G0.get("/device-list/arrange/page"), OA = G0.get("/drawingArrangement/list"), UA = G0.get("/data/arrange/page"), MA = kA.get("/page/portal/list"), zA = IA.post("/list"), HA = `/api/portal/user/${lo}`, ip = wt(HA), WA = ip.get("/app/appcategory"), qf = ip.get("/app/common/selected"), qA = fa.get("/basics/project-list"), jA = (i) => {
7068
+ }), EA = /* @__PURE__ */ Ut(AA, [["__scopeId", "data-v-b5871b7c"]]), lo = "v1", SA = `/api/portal/manager/${lo}`, fa = wt(SA), BA = `/api/orchestration-engine/${lo}`, G0 = wt(`${BA}`), kA = `/api/workbench/workbench-server/${lo}`, DA = wt(kA), IA = `/workflow/form/form/${lo}`, TA = wt(IA), FA = `/api/portal/user/${lo}`, op = wt(FA), PA = op.get("/home"), RA = op.delete("/home"), LA = fa.get("/basics/home/type"), $A = fa.get("/basics/tree-page"), NA = fa.get("/basics/list"), OA = G0.get("/device-list/arrange/page"), UA = G0.get("/drawingArrangement/list"), MA = G0.get("/data/arrange/page"), zA = DA.get("/page/portal/list"), HA = TA.post("/list"), WA = `/api/portal/user/${lo}`, ip = wt(WA), qA = ip.get("/app/appcategory"), qf = ip.get("/app/common/selected"), jA = fa.get("/basics/project-list"), VA = (i) => {
7069
7069
  const { orgInfo: r, information: n, validate: a } = i, l = z(!1), c = z(""), f = z(""), p = z(""), h = z([]), s = z({
7070
7070
  id: "0",
7071
7071
  path: "",
@@ -7078,9 +7078,9 @@ const ep = async () => {
7078
7078
  routeUrl: "",
7079
7079
  applicationPath: "",
7080
7080
  levelType: 1
7081
- }), d = LC();
7081
+ }), d = $C();
7082
7082
  let w = !0;
7083
- const x = z(!1), { run: _ } = LA(), { run: C } = $A(), E = () => {
7083
+ const x = z(!1), { run: _ } = $A(), { run: C } = NA(), E = () => {
7084
7084
  var k;
7085
7085
  w = !0, (k = d.value) == null || k.resetLazyLoad();
7086
7086
  };
@@ -7132,16 +7132,16 @@ const ep = async () => {
7132
7132
  k.routeUrl = R.routeUrl, k.originalCode = R.code, k.originalId = R.id, k.urlId = R.id, k.urlPath = R.path, k.applicationPath = R.applicationPath, a.value.routeUrl = "", k.code || (k.code = R.code), l.value = !1;
7133
7133
  }
7134
7134
  };
7135
- }, VA = "/enterpriseadmin/ioc-server/ioc-server/ws";
7135
+ }, KA = "/enterpriseadmin/ioc-server/ioc-server/ws";
7136
7136
  let zi = null;
7137
- const KA = (i) => {
7137
+ const GA = (i) => {
7138
7138
  const { information: r, orgInfo: n } = i, a = Nt(() => n.id), l = z(!1), c = z(0), f = z([
7139
7139
  { value: 0, label: ce("图纸") },
7140
7140
  { value: 1, label: ce("图纸编排") },
7141
7141
  { value: 2, label: ce("设备看板") },
7142
7142
  { value: 3, label: ce("数据编排") },
7143
7143
  { value: 4, label: ce("轻分析") }
7144
- ]), p = z([]), h = z(20), s = z(1), d = z(0), w = z(""), x = z(""), _ = z(""), C = z(!1), { run: E } = NA(), { run: b } = OA(), { run: v } = UA(), { run: m } = MA(), { run: y } = zA(), S = (q) => {
7144
+ ]), p = z([]), h = z(20), s = z(1), d = z(0), w = z(""), x = z(""), _ = z(""), C = z(!1), { run: E } = OA(), { run: b } = UA(), { run: v } = MA(), { run: m } = zA(), { run: y } = HA(), S = (q) => {
7145
7145
  const Y = [], le = q[2], de = le.displays, H = le.scenes, Q = le[ce("2D3D集成根目录")];
7146
7146
  k(de, "2D", "/enterpriseadmin/ioc-server/?type=preview&tag=displays", Y), k(H, "3D", "/enterpriseadmin/ioc-server/?type=preview3d&tag=scenes", Y), k(Q, ce("集成"), "/enterpriseadmin/ioc-server/?type=preview2d3d&tag=scenes", Y);
7147
7147
  const ne = (s.value - 1) * h.value, te = ne + h.value;
@@ -7241,7 +7241,7 @@ const KA = (i) => {
7241
7241
  p.value = le.data.map((de) => (de.type = ce("数据编排"), de)) || [], d.value = le.totalCount;
7242
7242
  };
7243
7243
  return An(() => {
7244
- zi || (zi = new oa({ url: VA, reconnectWhenClose: !0, message: S }));
7244
+ zi || (zi = new oa({ url: KA, reconnectWhenClose: !0, message: S }));
7245
7245
  }), {
7246
7246
  loading: C,
7247
7247
  urlDialog: l,
@@ -7259,7 +7259,7 @@ const KA = (i) => {
7259
7259
  changeType: I,
7260
7260
  getTable: L
7261
7261
  };
7262
- }, GA = new URL("assets/feedback-QNGIKgWm.png", import.meta.url).href, XA = ["src"], QA = { class: "content" }, ZA = /* @__PURE__ */ at({
7262
+ }, XA = new URL("assets/feedback-QNGIKgWm.png", import.meta.url).href, QA = ["src"], ZA = { class: "content" }, YA = /* @__PURE__ */ at({
7263
7263
  __name: "index",
7264
7264
  emits: ["confirm", "cancel"],
7265
7265
  setup(i, { expose: r, emit: n }) {
@@ -7295,16 +7295,16 @@ const KA = (i) => {
7295
7295
  ]),
7296
7296
  feedbackImg: fe(() => [
7297
7297
  se("img", {
7298
- src: D(GA),
7298
+ src: D(XA),
7299
7299
  width: "168",
7300
7300
  height: "96",
7301
7301
  alt: ""
7302
- }, null, 8, XA)
7302
+ }, null, 8, QA)
7303
7303
  ]),
7304
7304
  default: fe(() => [
7305
7305
  se(
7306
7306
  "div",
7307
- QA,
7307
+ ZA,
7308
7308
  Ee(D(ce)("framework-reset-home-confirm", c.value)),
7309
7309
  1
7310
7310
  /* TEXT */
@@ -10986,11 +10986,11 @@ function print() { __p += __j.call(arguments, '') }
10986
10986
  ur ? ((ur.exports = Hr)._ = Hr, ka._ = Hr) : yt._ = Hr;
10987
10987
  }).call(Be);
10988
10988
  })(Qi, Qi.exports);
10989
- var YA = Qi.exports;
10990
- const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = new URL("assets/unselected-C4QVkFPL.svg", import.meta.url).href, tE = new URL("assets/noIconurl-7L4lHbul.png", import.meta.url).href, nE = { class: "left" }, rE = { class: "select-wrap" }, oE = {
10989
+ var JA = Qi.exports;
10990
+ const eE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, tE = new URL("assets/unselected-C4QVkFPL.svg", import.meta.url).href, nE = new URL("assets/noIconurl-7L4lHbul.png", import.meta.url).href, rE = { class: "left" }, oE = { class: "select-wrap" }, iE = {
10991
10991
  class: "custom-tree-node",
10992
10992
  style: { overflow: "hidden" }
10993
- }, iE = { class: "ellipsis" }, aE = { key: 0 }, sE = { class: "second-wrap" }, lE = { class: "center" }, cE = { class: "app-title" }, uE = { class: "app-list" }, fE = { class: "app-item" }, dE = ["src", "onClick"], pE = { class: "tag" }, hE = ["onClick"], vE = ["src"], xE = ["src"], gE = { class: "right" }, mE = /* @__PURE__ */ at({
10993
+ }, aE = { class: "ellipsis" }, sE = { key: 0 }, lE = { class: "second-wrap" }, cE = { class: "center" }, uE = { class: "app-title" }, fE = { class: "app-list" }, dE = { class: "app-item" }, pE = ["src", "onClick"], hE = { class: "tag" }, vE = ["onClick"], xE = ["src"], gE = ["src"], mE = { class: "right" }, _E = /* @__PURE__ */ at({
10994
10994
  __name: "index",
10995
10995
  emits: ["submit-dialog"],
10996
10996
  setup(i, { expose: r, emit: n }) {
@@ -10998,10 +10998,10 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
10998
10998
  const a = n, l = z(!1), c = z(""), f = z([]), p = N_([]), h = z(""), s = z(""), d = z([]);
10999
10999
  let w = {};
11000
11000
  const x = z([]), _ = z({}), C = async (G) => {
11001
- w = YA.cloneDeep(G), await E(), v(), N(), l.value = !0;
11001
+ w = JA.cloneDeep(G), await E(), v(), N(), l.value = !0;
11002
11002
  }, E = async () => {
11003
11003
  var q;
11004
- const [G, ie] = await qA({
11004
+ const [G, ie] = await jA({
11005
11005
  isPersonal: !0
11006
11006
  }).run();
11007
11007
  G || (f.value = ie, c.value = (q = f.value[0]) == null ? void 0 : q.id);
@@ -11014,7 +11014,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11014
11014
  x.value = q, _.value[c.value] = [...x.value];
11015
11015
  }
11016
11016
  }, v = async () => {
11017
- const [G, ie] = await WA({ projectId: c.value, isPersonal: !0 }).run();
11017
+ const [G, ie] = await qA({ projectId: c.value, isPersonal: !0 }).run();
11018
11018
  if (G) return;
11019
11019
  p.value = [
11020
11020
  {
@@ -11127,7 +11127,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11127
11127
  ref: j
11128
11128
  },
11129
11129
  [
11130
- ae(D(UC), {
11130
+ ae(D(MC), {
11131
11131
  defaultSplit: {
11132
11132
  first: 223
11133
11133
  },
@@ -11136,8 +11136,8 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11136
11136
  canDrag: !0
11137
11137
  }, {
11138
11138
  firstSlot: fe(() => [
11139
- se("div", nE, [
11140
- se("div", rE, [
11139
+ se("div", rE, [
11140
+ se("div", oE, [
11141
11141
  ae(D(M0), {
11142
11142
  modelValue: c.value,
11143
11143
  "onUpdate:modelValue": ie[0] || (ie[0] = (q) => c.value = q),
@@ -11177,8 +11177,8 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11177
11177
  default: fe(({ node: q, data: Y }) => {
11178
11178
  var le;
11179
11179
  return [
11180
- se("div", oE, [
11181
- Dn((_e(), Ke("div", iE, [
11180
+ se("div", iE, [
11181
+ Dn((_e(), Ke("div", aE, [
11182
11182
  ze(
11183
11183
  Ee(Y.name),
11184
11184
  1
@@ -11189,7 +11189,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11189
11189
  ]),
11190
11190
  Y.id !== ((le = p.value[0]) == null ? void 0 : le.id) ? (_e(), Ke(
11191
11191
  "span",
11192
- aE,
11192
+ sE,
11193
11193
  Ee(m(Y)),
11194
11194
  1
11195
11195
  /* TEXT */
@@ -11203,9 +11203,9 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11203
11203
  ])
11204
11204
  ]),
11205
11205
  secondSlot: fe(() => [
11206
- se("div", sE, [
11207
- se("div", lE, [
11208
- Dn((_e(), Ke("div", cE, [
11206
+ se("div", lE, [
11207
+ se("div", cE, [
11208
+ Dn((_e(), Ke("div", uE, [
11209
11209
  ze(
11210
11210
  Ee(s.value),
11211
11211
  1
@@ -11214,19 +11214,19 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11214
11214
  ])), [
11215
11215
  [D(Ki)]
11216
11216
  ]),
11217
- ae(D(NC), null, {
11217
+ ae(D(OC), null, {
11218
11218
  default: fe(() => [
11219
- se("div", uE, [
11219
+ se("div", fE, [
11220
11220
  (_e(!0), Ke(
11221
11221
  Wn,
11222
11222
  null,
11223
- Yi(d.value, (q) => (_e(), Ke("div", fE, [
11223
+ Yi(d.value, (q) => (_e(), Ke("div", dE, [
11224
11224
  se("img", {
11225
- src: q != null && q.iconUrl ? D(zo)(q.iconUrl) : D(tE),
11225
+ src: q != null && q.iconUrl ? D(zo)(q.iconUrl) : D(nE),
11226
11226
  class: "app-icon",
11227
11227
  onClick: (Y) => k(q)
11228
- }, null, 8, dE),
11229
- se("div", pE, [
11228
+ }, null, 8, pE),
11229
+ se("div", hE, [
11230
11230
  se("i", {
11231
11231
  class: "das-icon",
11232
11232
  style: { width: "14px", height: "14px", cursor: "pointer" },
@@ -11234,12 +11234,12 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11234
11234
  }, [
11235
11235
  x.value.findIndex((Y) => Y.id === q.id) !== -1 ? (_e(), Ke("img", {
11236
11236
  key: 0,
11237
- src: D(JA)
11238
- }, null, 8, vE)) : (_e(), Ke("img", {
11239
- key: 1,
11240
11237
  src: D(eE)
11241
- }, null, 8, xE))
11242
- ], 8, hE)
11238
+ }, null, 8, xE)) : (_e(), Ke("img", {
11239
+ key: 1,
11240
+ src: D(tE)
11241
+ }, null, 8, gE))
11242
+ ], 8, vE)
11243
11243
  ]),
11244
11244
  ae(D(Bt), {
11245
11245
  customClass: "app-name",
@@ -11256,8 +11256,8 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11256
11256
  /* STABLE */
11257
11257
  })
11258
11258
  ]),
11259
- se("div", gE, [
11260
- ae(D(OC), {
11259
+ se("div", mE, [
11260
+ ae(D(UC), {
11261
11261
  width: "100%",
11262
11262
  height: "100%",
11263
11263
  dragSort: "",
@@ -11284,7 +11284,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11284
11284
  /* STABLE */
11285
11285
  }, 8, ["title", "modelValue"]));
11286
11286
  }
11287
- }), _E = /* @__PURE__ */ Ut(mE, [["__scopeId", "data-v-bc507f01"]]), CE = { class: "set-home-page" }, yE = { class: "header" }, bE = { class: "left-type" }, wE = { class: "text" }, AE = { class: "search-name" }, EE = { class: "table-container" }, SE = /* @__PURE__ */ at({
11287
+ }), CE = /* @__PURE__ */ Ut(_E, [["__scopeId", "data-v-bc507f01"]]), yE = { class: "set-home-page" }, bE = { class: "header" }, wE = { class: "left-type" }, AE = { class: "text" }, EE = { class: "search-name" }, SE = { class: "table-container" }, BE = /* @__PURE__ */ at({
11288
11288
  __name: "index",
11289
11289
  props: {
11290
11290
  isShow: { type: Boolean },
@@ -11296,7 +11296,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11296
11296
  routeUrl: "",
11297
11297
  homeAlias: ""
11298
11298
  }), h = async () => {
11299
- const Pe = { orgId: l.id }, [ve, K] = await RA().run(Pe);
11299
+ const Pe = { orgId: l.id }, [ve, K] = await LA().run(Pe);
11300
11300
  if (ve) {
11301
11301
  f.value = [];
11302
11302
  return;
@@ -11304,7 +11304,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11304
11304
  f.value = K;
11305
11305
  }, s = async () => {
11306
11306
  var ee, oe, Je;
11307
- const Pe = { orgId: l.id }, [ve, K] = await FA().run(Pe);
11307
+ const Pe = { orgId: l.id }, [ve, K] = await PA().run(Pe);
11308
11308
  ve || (c.value = K, vt.value = {
11309
11309
  selectedApps: ((ee = K.portalAppCommonSaveDTO) == null ? void 0 : ee.ids) ?? null,
11310
11310
  selectedAppMap: {
@@ -11329,7 +11329,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11329
11329
  search: S,
11330
11330
  toggleTree: k,
11331
11331
  confirmFormBuiltIn: R
11332
- } = jA({
11332
+ } = VA({
11333
11333
  orgInfo: l,
11334
11334
  information: c,
11335
11335
  validate: p
@@ -11349,7 +11349,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11349
11349
  confirmUrl: le,
11350
11350
  changeType: de,
11351
11351
  getTable: H
11352
- } = KA({
11352
+ } = GA({
11353
11353
  orgInfo: l,
11354
11354
  information: c
11355
11355
  }), Q = () => {
@@ -11358,7 +11358,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11358
11358
  var Pe;
11359
11359
  (Pe = ne.value) == null || Pe.open();
11360
11360
  }, Fe = async (Pe) => {
11361
- const [ve, K] = await PA().run();
11361
+ const [ve, K] = await RA().run();
11362
11362
  ve || (await s(), await rp(), Pe(), a("reset-confirm"));
11363
11363
  }, he = () => (c.value.type === 1 || c.value.type === 2) && !c.value.routeUrl ? (p.value.routeUrl = ce("必填"), !1) : (p.value.routeUrl = "", c.value.homeAlias && c.value.homeAlias.length > 50 ? (p.value.homeAlias = ce("最多50个字符,可以是任意字符"), !1) : (p.value.homeAlias = "", !0)), He = () => {
11364
11364
  var K;
@@ -11382,7 +11382,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11382
11382
  [
11383
11383
  Dn(se(
11384
11384
  "div",
11385
- CE,
11385
+ yE,
11386
11386
  [
11387
11387
  ae(D(U0), {
11388
11388
  width: "100%",
@@ -11422,7 +11422,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11422
11422
  disabled: c.value.type !== 2
11423
11423
  }, {
11424
11424
  suffix: fe(() => [
11425
- ae(D(RC), {
11425
+ ae(D(LC), {
11426
11426
  class: id({ disabled: !c.value.type || c.value.type === 3 }),
11427
11427
  "icon-color": !c.value.type || c.value.type === 3 ? D(Du)("--das-ui-portal-management-disabled-color") : D(Du)("--das-ui-color-secondary"),
11428
11428
  onClick: Q
@@ -11630,11 +11630,11 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11630
11630
  default: fe(() => [
11631
11631
  ae(D(O0), { spinning: D(T) }, {
11632
11632
  default: fe(() => [
11633
- se("div", yE, [
11634
- se("div", bE, [
11633
+ se("div", bE, [
11634
+ se("div", wE, [
11635
11635
  se(
11636
11636
  "div",
11637
- wE,
11637
+ AE,
11638
11638
  Ee(D(ce)("类型")),
11639
11639
  1
11640
11640
  /* TEXT */
@@ -11648,8 +11648,8 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11648
11648
  onChange: D(de)
11649
11649
  }, null, 8, ["modelValue", "options", "onChange"])
11650
11650
  ]),
11651
- se("div", AE, [
11652
- ae(D($C), {
11651
+ se("div", EE, [
11652
+ ae(D(NC), {
11653
11653
  modelValue: D(G),
11654
11654
  "onUpdate:modelValue": ve[12] || (ve[12] = (K) => bn(G) ? G.value = K : null),
11655
11655
  clearable: "",
@@ -11661,8 +11661,8 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11661
11661
  }, null, 8, ["modelValue", "placeholder", "onChange", "onSearch"])
11662
11662
  ])
11663
11663
  ]),
11664
- se("div", EE, [
11665
- ae(D(PC), {
11664
+ se("div", SE, [
11665
+ ae(D(RC), {
11666
11666
  data: D(L),
11667
11667
  currentRodioSelection: D(ie),
11668
11668
  "onUpdate:currentRodioSelection": ve[13] || (ve[13] = (K) => bn(ie) ? ie.value = K : null),
@@ -11709,7 +11709,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11709
11709
  }, 8, ["modelValue", "title"]),
11710
11710
  Ie(" 恢复项目初始设置 二次确认 "),
11711
11711
  ae(
11712
- ZA,
11712
+ YA,
11713
11713
  {
11714
11714
  ref_key: "resetDialogRef",
11715
11715
  ref: ne,
@@ -11721,7 +11721,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11721
11721
  ),
11722
11722
  Ie(" 常用应用配置 "),
11723
11723
  ae(
11724
- _E,
11724
+ CE,
11725
11725
  {
11726
11726
  ref_key: "configDialogRef",
11727
11727
  ref: ye,
@@ -11736,7 +11736,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11736
11736
  /* STABLE_FRAGMENT */
11737
11737
  ));
11738
11738
  }
11739
- }), BE = /* @__PURE__ */ Ut(SE, [["__scopeId", "data-v-66049152"]]), kE = "v1", DE = `/api/portal/user/${kE}`, ap = wt(DE), IE = xC.post("/menu/personal-setting"), TE = ap.put("/home"), FE = ap.put("/language"), PE = { class: "preson-style-drawer" }, RE = { class: "preson-style-footer" }, LE = /* @__PURE__ */ at({
11739
+ }), kE = /* @__PURE__ */ Ut(BE, [["__scopeId", "data-v-66049152"]]), DE = "v1", IE = `/api/portal/user/${DE}`, ap = wt(IE), TE = gC.post("/menu/personal-setting"), FE = ap.put("/home"), PE = ap.put("/language"), RE = { class: "preson-style-drawer" }, LE = { class: "preson-style-footer" }, $E = /* @__PURE__ */ at({
11740
11740
  __name: "index",
11741
11741
  setup(i, { expose: r }) {
11742
11742
  const n = z(!1), a = z(!1), l = z(null), c = z(null), f = z(null), p = z("theme"), h = z(""), s = z(!0), d = Nt(() => [
@@ -11757,20 +11757,20 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11757
11757
  var b, v, m;
11758
11758
  const { flag: E } = ta();
11759
11759
  E === 4 ? s.value = (b = Hn.value) == null ? void 0 : b.companyIsDisplayHome : s.value = (v = Hn.value) == null ? void 0 : v.enable, h.value = (m = Hn.value) != null && m.homeAlias ? Hn.value.homeAlias : ce("首页"), n.value = !0;
11760
- }, x = IC(), _ = (E) => {
11760
+ }, x = TC(), _ = (E) => {
11761
11761
  if (n.value = !1, !E) return;
11762
11762
  ge.nav.setItems([]), ge.menu.setItems([]), ge.tab.setItems([]), H0(), window.__isAutoCloseApp = !1;
11763
11763
  const v = new URLSearchParams(window.location.search).get("lang"), m = v ? `/?lang=${encodeURIComponent(v)}` : "/";
11764
11764
  window.location.replace(m);
11765
11765
  }, C = async () => {
11766
11766
  var v, m, y, S, k;
11767
- const E = (v = l.value) == null ? void 0 : v.getResult(), [b] = await IE().run(E);
11767
+ const E = (v = l.value) == null ? void 0 : v.getResult(), [b] = await TE().run(E);
11768
11768
  if (b) {
11769
11769
  p.value = "theme";
11770
11770
  return;
11771
11771
  }
11772
11772
  if (Number(Bu()) >= 2) {
11773
- const R = (m = f.value) == null ? void 0 : m.getResult(), [T] = await FE().run(R);
11773
+ const R = (m = f.value) == null ? void 0 : m.getResult(), [T] = await PE().run(R);
11774
11774
  if (T) {
11775
11775
  p.value = "lang";
11776
11776
  return;
@@ -11780,7 +11780,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11780
11780
  p.value = "home";
11781
11781
  return;
11782
11782
  } else {
11783
- const R = (S = c.value) == null ? void 0 : S.getResult(), [T] = await TE().run(R);
11783
+ const R = (S = c.value) == null ? void 0 : S.getResult(), [T] = await FE().run(R);
11784
11784
  if (T) {
11785
11785
  p.value = "home";
11786
11786
  return;
@@ -11794,8 +11794,8 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11794
11794
  Wn,
11795
11795
  null,
11796
11796
  [
11797
- se("div", PE, [
11798
- ae(D(kC), {
11797
+ se("div", RE, [
11798
+ ae(D(DC), {
11799
11799
  title: D(Ce)("个性化设置").value,
11800
11800
  modelValue: n.value,
11801
11801
  "onUpdate:modelValue": b[3] || (b[3] = (v) => n.value = v),
@@ -11803,7 +11803,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11803
11803
  direction: "rtl"
11804
11804
  }, {
11805
11805
  footer: fe(() => [
11806
- se("div", RE, [
11806
+ se("div", LE, [
11807
11807
  ae(D(It), {
11808
11808
  size: "middle",
11809
11809
  onClick: b[2] || (b[2] = (v) => n.value = !1),
@@ -11838,23 +11838,23 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11838
11838
  ])
11839
11839
  ]),
11840
11840
  default: fe(() => [
11841
- ae(D(DC), {
11841
+ ae(D(IC), {
11842
11842
  options: d.value,
11843
11843
  activeKey: p.value,
11844
11844
  "onUpdate:activeKey": b[0] || (b[0] = (v) => p.value = v),
11845
11845
  "tab-width": "110px"
11846
11846
  }, null, 8, ["options", "activeKey"]),
11847
- ae(D(yA), {
11847
+ ae(D(bA), {
11848
11848
  ref_key: "setThemeStyleRef",
11849
11849
  ref: l,
11850
11850
  isShow: p.value === "theme"
11851
11851
  }, null, 8, ["isShow"]),
11852
- ae(D(AA), {
11852
+ ae(D(EA), {
11853
11853
  ref_key: "setLangRef",
11854
11854
  ref: f,
11855
11855
  isShow: p.value === "lang"
11856
11856
  }, null, 8, ["isShow"]),
11857
- ae(D(BE), {
11857
+ ae(D(kE), {
11858
11858
  ref_key: "setHomeRef",
11859
11859
  ref: c,
11860
11860
  isShow: p.value === "home",
@@ -11867,7 +11867,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11867
11867
  }, 8, ["title", "modelValue"])
11868
11868
  ]),
11869
11869
  ae(
11870
- D(TC),
11870
+ D(FC),
11871
11871
  {
11872
11872
  ref_key: "$DasUpdateConfirmDialogRef",
11873
11873
  ref: x,
@@ -11883,7 +11883,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11883
11883
  /* STABLE_FRAGMENT */
11884
11884
  ));
11885
11885
  }
11886
- }), $E = /* @__PURE__ */ Ut(LE, [["__scopeId", "data-v-56d349de"]]), NE = () => z(null), OE = { class: "iframe-container" }, UE = ["src"], ME = /* @__PURE__ */ at({
11886
+ }), NE = /* @__PURE__ */ Ut($E, [["__scopeId", "data-v-56d349de"]]), OE = () => z(null), UE = { class: "iframe-container" }, ME = ["src"], zE = /* @__PURE__ */ at({
11887
11887
  __name: "index",
11888
11888
  props: {
11889
11889
  src: { default: "" }
@@ -11910,7 +11910,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11910
11910
  };
11911
11911
  return Oo(() => {
11912
11912
  f !== null && (clearTimeout(f), f = null);
11913
- }), (s, d) => (_e(), Ke("div", OE, [
11913
+ }), (s, d) => (_e(), Ke("div", UE, [
11914
11914
  l.value ? (_e(), Ke("iframe", {
11915
11915
  key: 0,
11916
11916
  id: "iframe-view",
@@ -11920,15 +11920,15 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11920
11920
  height: "100%",
11921
11921
  src: s.src,
11922
11922
  onLoad: h
11923
- }, null, 40, UE)) : Ie("v-if", !0)
11923
+ }, null, 40, ME)) : Ie("v-if", !0)
11924
11924
  ]));
11925
11925
  }
11926
- }), R0 = /* @__PURE__ */ Ut(ME, [["__scopeId", "data-v-0cbfb4d9"]]), zE = L0.get("/login/history"), HE = cC.get("/sso-param"), WE = () => {
11926
+ }), R0 = /* @__PURE__ */ Ut(zE, [["__scopeId", "data-v-0cbfb4d9"]]), HE = L0.get("/login/history"), WE = cC.get("/sso-param"), qE = () => {
11927
11927
  const i = () => ["/licenseActivate", "/licenseDataManage", "/sso-logout", "/not-found"].some((h) => new RegExp(`^${h}$`, "i").test(location.pathname)), r = (f) => {
11928
11928
  const { browserLogoImgHost: p = "", browserLogoImg: h = "" } = f || {}, s = h ? p + zo(h) : "./logo.svg";
11929
- _y(s), rC(s);
11929
+ Cy(s), rC(s);
11930
11930
  }, n = async () => {
11931
- const [f, p] = await zE().run({ userId: ta().id });
11931
+ const [f, p] = await HE().run({ userId: ta().id });
11932
11932
  f || !p || JSON.stringify(p) === "{}" || (Vi.open({
11933
11933
  key: "loginTip",
11934
11934
  message: ce("上次登录信息"),
@@ -11943,7 +11943,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11943
11943
  ])
11944
11944
  }), sessionStorage.setItem("loginInfoTip", "true"));
11945
11945
  }, a = async () => {
11946
- const [{ loginConfig: f }, { platformConfig: p }] = await Promise.all([R4(), np()]);
11946
+ const [{ loginConfig: f }, { platformConfig: p }] = await Promise.all([L4(), np()]);
11947
11947
  return r(p), p != null && p.browserTitle && localStorage.setItem("browser-title", p.browserTitle || "AIoT智能物联网管控平台"), tC(), { loginConfig: f, platformConfig: p };
11948
11948
  }, l = z(!1), c = () => new Promise((f) => {
11949
11949
  const p = () => {
@@ -11953,14 +11953,14 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11953
11953
  p();
11954
11954
  });
11955
11955
  return An(async () => {
11956
- const { loginConfig: f } = await a(), [p, h] = await HE().run({ source: "public", fieldKey: "source" });
11957
- !p && h && localStorage.setItem("thirdLogouSource", h), !i() && (f != null && f.loginInfoTip && !sessionStorage.getItem("loginInfoTip") && n(), await F2(), await P2(), await R2(), await $4(), sC({ accessToken: qn() }), l.value = !0);
11956
+ const { loginConfig: f } = await a(), [p, h] = await WE().run({ source: "public", fieldKey: "source" });
11957
+ !p && h && localStorage.setItem("thirdLogouSource", h), !i() && (f != null && f.loginInfoTip && !sessionStorage.getItem("loginInfoTip") && n(), await P2(), await R2(), await L2(), await N4(), sC({ accessToken: qn() }), l.value = !0);
11958
11958
  }), {
11959
11959
  platformInited: l,
11960
11960
  initNextTick: c
11961
11961
  };
11962
- }, qE = (i) => {
11963
- const r = Ji(), { getMenu: n } = hC(), { getHistoryList: a, getSearchList: l } = s3(), { changeApp: c } = cr(), f = z("0"), p = z(!0), h = z([]), s = z(!1), d = z(!1), w = z(!1);
11962
+ }, jE = (i) => {
11963
+ const r = Ji(), { getMenu: n } = vC(), { getHistoryList: a, getSearchList: l } = l3(), { changeApp: c } = cr(), f = z("0"), p = z(!0), h = z([]), s = z(!1), d = z(!1), w = z(!1);
11964
11964
  _t(
11965
11965
  () => r.path,
11966
11966
  (v) => {
@@ -11987,12 +11987,12 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
11987
11987
  const x = async () => {
11988
11988
  let v = {};
11989
11989
  return await oC([
11990
- w4,
11991
- L2,
11990
+ A4,
11991
+ $2,
11992
11992
  rp,
11993
11993
  ep,
11994
- L4,
11995
- g4
11994
+ $4,
11995
+ m4
11996
11996
  ]).then((y) => Object.assign(v, ...y)), p.value = !1, v;
11997
11997
  }, _ = async (v, m) => {
11998
11998
  var ne, te, Fe;
@@ -12043,7 +12043,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12043
12043
  filterFlatCondition: (ue) => ue.type === 7
12044
12044
  }), ge.nav.setProjects(y || []), S && ge.nav.setActiveProject(S));
12045
12045
  const I = Mo() ?? {}, L = I != null && I.headPicture ? zo(I.headPicture) : void 0;
12046
- h.value = [...zC].map((ue) => ({
12046
+ h.value = [...HC].map((ue) => ({
12047
12047
  ...ue,
12048
12048
  label: ce(ue.label)
12049
12049
  })), S && S.id !== 0 ? await n("personCenter", null, "/userInfo") || (h.value = h.value.filter((G) => G.value !== "1")) : h.value = h.value.filter((ue) => ue.value !== "1"), ge.nav.setUserInfo({ headPicture: L, commandList: h.value }), ge.nav.setSearchConfig({
@@ -12076,8 +12076,8 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12076
12076
  };
12077
12077
  m();
12078
12078
  }) };
12079
- }, jE = N0.get("/data/menu-expiration"), X0 = async (i) => {
12080
- const [r, n] = await jE().run();
12079
+ }, VE = N0.get("/data/menu-expiration"), X0 = async (i) => {
12080
+ const [r, n] = await VE().run();
12081
12081
  if (r) return { title: "", content: "", decs: [] };
12082
12082
  const a = (i == null ? void 0 : i.expired) ?? !1;
12083
12083
  return {
@@ -12085,7 +12085,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12085
12085
  content: a ? n.menuExpirationExpiredContent : n.menuExpirationRetrieveContent,
12086
12086
  desc: n.menuExpirationExpiredInfo
12087
12087
  };
12088
- }, VE = () => {
12088
+ }, KE = () => {
12089
12089
  const { entryMenu: i } = da();
12090
12090
  ge.menu.addEventListener("onItemClick", async (r) => {
12091
12091
  var f, p;
@@ -12105,12 +12105,12 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12105
12105
  let a = Oe().menuCollapses || [];
12106
12106
  r ? a = Array.from(/* @__PURE__ */ new Set([...a, n])) : a = a.filter((l) => l !== n), Ot([{ key: "menuCollapses", value: a }]);
12107
12107
  });
12108
- }, KE = () => {
12108
+ }, GE = () => {
12109
12109
  const { changeApp: i, deleteApp: r, beforeEntryApp: n } = cr();
12110
12110
  ge.nav.addEventListener("onItemClick", async (l) => {
12111
12111
  const c = Oe().currentSubAppCode ?? "";
12112
12112
  if (c !== l.code) {
12113
- if (c && Iy(c), (!l.fixed || !l.unClosed) && !await n(l))
12113
+ if (c && Ty(c), (!l.fixed || !l.unClosed) && !await n(l))
12114
12114
  throw new Error(ce("取消切换"));
12115
12115
  i(l);
12116
12116
  }
@@ -12123,7 +12123,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12123
12123
  });
12124
12124
  const { enter: a } = Ho();
12125
12125
  return ge.nav.addEventListener("fullScreenHandle", a), {};
12126
- }, GE = () => {
12126
+ }, XE = () => {
12127
12127
  const i = oo(), r = z(""), n = z(""), a = z("");
12128
12128
  let l = "", c = {};
12129
12129
  _t(
@@ -12225,7 +12225,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12225
12225
  });
12226
12226
  const { enter: _ } = Ho();
12227
12227
  return ge.tab.addEventListener("onToggleFullScreen", _), { fontColor: r, backgroudColor: n, borderColor: a };
12228
- }, g0 = Vn(), jf = (g0 == null ? void 0 : g0.isAutoCloseApp) ?? !0, Vf = location.href.includes("showLayout=false"), Kf = window.self !== window.top, XE = () => {
12228
+ }, g0 = Vn(), jf = (g0 == null ? void 0 : g0.isAutoCloseApp) ?? !0, Vf = location.href.includes("showLayout=false"), Kf = window.self !== window.top, QE = () => {
12229
12229
  const i = () => {
12230
12230
  ge.nav.setItems([]), ge.menu.setItems([]), ge.tab.setItems([]), H0();
12231
12231
  }, r = () => {
@@ -12329,7 +12329,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12329
12329
  currentMenu: P = null,
12330
12330
  microPath: N = "",
12331
12331
  query: I = {}
12332
- } = await p4({ microApp: _, menuCode: C, menuPath: E, route: v });
12332
+ } = await h4({ microApp: _, menuCode: C, menuPath: E, route: v });
12333
12333
  if (P && (v = {
12334
12334
  path: N || `/${P.applicationPath}${P.routeUrl}`.replace(/\/\//g, "/"),
12335
12335
  query: { ...I, app: P.applicationCode, menu: P.code },
@@ -12503,7 +12503,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12503
12503
  ]);
12504
12504
  }
12505
12505
  } };
12506
- }, QE = (i, r) => {
12506
+ }, ZE = (i, r) => {
12507
12507
  const { entryApp: n } = cr(), a = oo();
12508
12508
  let { mainAppName: l = "", microAppName: c = "", microApps: f = [] } = Vn();
12509
12509
  !l && c && (f = [{ name: c }]);
@@ -12613,10 +12613,10 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12613
12613
  ut.excludeRoutes = Array.from(/* @__PURE__ */ new Set([...ut.excludeRoutes, ...n])), ut.routeKeepAliveVisible = !1, setTimeout(() => {
12614
12614
  ut.routeKeepAliveVisible = !0, ut.excludeRoutes = [];
12615
12615
  }, 100);
12616
- } }), ZE = {
12616
+ } }), YE = {
12617
12617
  logout: "/api/justauth/oauth-server/v1/visitor/logout"
12618
- }, YE = () => {
12619
- const i = X_(), r = NE(), n = Vn(), a = async () => {
12618
+ }, JE = () => {
12619
+ const i = X_(), r = OE(), n = Vn(), a = async () => {
12620
12620
  const f = location.origin + vn, p = {
12621
12621
  response_type: "code",
12622
12622
  scope: "sever",
@@ -12626,14 +12626,14 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12626
12626
  logout_token: qn(),
12627
12627
  // 写用户访问日志逻辑配合
12628
12628
  logout: "true"
12629
- }, h = localStorage.getItem("loginType") || "";
12629
+ }, h = dC();
12630
12630
  h && (p.redirect_uri = iC(p.redirect_uri, { loginType: h })), n.ssoLocale && (p.locale = "locale");
12631
12631
  const s = new URLSearchParams();
12632
12632
  Object.entries(p).forEach(([x, _]) => {
12633
12633
  s.set(x, String(_));
12634
12634
  });
12635
- const d = s.toString(), w = `${n.baseURL}${ZE.logout}?${d}`;
12636
- window.__isAutoCloseApp = !1, mC() ? await _C(w) : location.replace(w), localStorage.removeItem("idelTime"), sessionStorage.clear(), fC();
12635
+ const d = s.toString(), w = `${n.baseURL}${YE.logout}?${d}`;
12636
+ window.__isAutoCloseApp = !1, _C() ? await CC(w) : (fC(), location.replace(w));
12637
12637
  }, { entryApp: l } = cr(), c = async () => {
12638
12638
  const f = "personCenter", h = (Oe().appcategorys || []).map((_) => _.apps).flat(), { originalMenus: s = [] } = await ua(f), w = nn(s).filter((_) => _.isMenu && _.routeUrl).find((_) => _.routeUrl === "/userInfo");
12639
12639
  if (w != null && w.disable || w != null && w.expired) {
@@ -12656,7 +12656,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12656
12656
  $changePwd: i,
12657
12657
  $personSetDialog: r
12658
12658
  };
12659
- }, JE = ld.get("/convert/tenant"), e3 = L0.get("/platform/withdefault"), lp = () => {
12659
+ }, e3 = ld.get("/convert/tenant"), t3 = L0.get("/platform/withdefault"), lp = () => {
12660
12660
  const i = Vn(), r = z(!1), n = z(""), a = z(""), l = () => {
12661
12661
  n.value = Mo().id, a.value = ta().tenantId, r.value = !0;
12662
12662
  };
@@ -12664,14 +12664,14 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12664
12664
  l();
12665
12665
  });
12666
12666
  const c = () => {
12667
- H0(), yy(), window.__isAutoCloseApp = !1, location.pathname !== jt && location.pathname !== vn ? window.location.replace(location.origin + jt) : window.location.reload();
12667
+ H0(), by(), window.__isAutoCloseApp = !1, location.pathname !== jt && location.pathname !== vn ? window.location.replace(location.origin + jt) : window.location.reload();
12668
12668
  };
12669
12669
  return {
12670
12670
  changeEnterprisesVisible: r,
12671
12671
  userId: n,
12672
12672
  tenantId: a,
12673
12673
  changeEnterprise: async (p) => {
12674
- const [h, s] = await JE().run({ tenant: p });
12674
+ const [h, s] = await e3().run({ tenant: p });
12675
12675
  if (h) return;
12676
12676
  r.value = !1;
12677
12677
  const { access_token: d = "", refresh_token: w = "", exp: x = 0, sub: _ = "", name: C = "", flag: E = "", tenant: b = "" } = s, v = {
@@ -12680,19 +12680,19 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12680
12680
  refreshToken: w,
12681
12681
  info: s
12682
12682
  };
12683
- fd().save(v);
12683
+ cd().save(v);
12684
12684
  const m = {
12685
12685
  id: _,
12686
12686
  name: C,
12687
12687
  flag: E,
12688
12688
  tenantId: b
12689
12689
  };
12690
- sessionStorage.setItem("hotentUserInfo", JSON.stringify(m)), gC(d);
12690
+ sessionStorage.setItem("hotentUserInfo", JSON.stringify(m)), mC(d);
12691
12691
  let y = "";
12692
12692
  if (i != null && i.ssoLocale)
12693
12693
  y = `http://127.0.0.1:5000/oauth/refreshOauthToken?tenantId=${p}`;
12694
12694
  else {
12695
- const [S, k] = await e3().run();
12695
+ const [S, k] = await t3().run();
12696
12696
  k != null && k.loginHost && (y = `${k.loginHost}/oauth/refreshOauthToken?tenantId=${p}`);
12697
12697
  }
12698
12698
  if (y) {
@@ -12702,7 +12702,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12702
12702
  c();
12703
12703
  }
12704
12704
  };
12705
- }, t3 = () => {
12705
+ }, n3 = () => {
12706
12706
  const { changeEnterprise: i } = lp();
12707
12707
  ge.nav.addEventListener("onProjectChange", async (r) => {
12708
12708
  const n = ea();
@@ -12712,12 +12712,12 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12712
12712
  }
12713
12713
  yd(r || { id: 0 }), sd((r == null ? void 0 : r.id) || 0), (n == null ? void 0 : n.flag) !== 4 && (window.__isAutoCloseApp = !1, window.location.reload());
12714
12714
  });
12715
- }, n3 = jn.get("/menu/search"), r3 = jn.get("/searchhistory"), o3 = jn.post("/searchhistory"), i3 = jn.delete("/searchhistory"), a3 = jn.delete("/searchhistory/deleteone"), s3 = () => {
12715
+ }, r3 = jn.get("/menu/search"), o3 = jn.get("/searchhistory"), i3 = jn.post("/searchhistory"), a3 = jn.delete("/searchhistory"), s3 = jn.delete("/searchhistory/deleteone"), l3 = () => {
12716
12716
  const i = async () => {
12717
- const [a, l] = await r3().run();
12717
+ const [a, l] = await o3().run();
12718
12718
  return a ? [] : l.map((c) => c.clickData).filter((c) => c.routeUrl);
12719
12719
  }, r = async (a) => {
12720
- const [l, c] = await n3().run({ name: a });
12720
+ const [l, c] = await r3().run({ name: a });
12721
12721
  return l ? [] : c.filter((f) => f.routeUrl);
12722
12722
  }, { entryApp: n } = cr();
12723
12723
  return ge.nav.addEventListener("searchToPage", async (a) => {
@@ -12727,22 +12727,22 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12727
12727
  await Po({ title: w, content: x, desc: _ });
12728
12728
  return;
12729
12729
  }
12730
- await o3().run({ searchVal: c, clickData: l });
12730
+ await i3().run({ searchVal: c, clickData: l });
12731
12731
  const s = ((Oe().appcategorys ?? []).map((w) => w.apps).flat() ?? []).find((w) => w.code === l.applicationCode);
12732
12732
  if (!s) return;
12733
12733
  const d = l.applicationCode !== l.code ? l.code : "";
12734
12734
  n({ microApp: s, menuCode: d }), f();
12735
12735
  }), ge.nav.addEventListener("deleteSearchItem", async (a) => {
12736
12736
  const { value: l, cb: c } = a;
12737
- await a3().run({ id: l }), c();
12737
+ await s3().run({ id: l }), c();
12738
12738
  }), ge.nav.addEventListener("clearSearchList", async (a) => {
12739
12739
  const { cb: l } = a;
12740
- await i3().run(), l();
12740
+ await a3().run(), l();
12741
12741
  }), {
12742
12742
  getHistoryList: i,
12743
12743
  getSearchList: r
12744
12744
  };
12745
- }, l3 = () => {
12745
+ }, c3 = () => {
12746
12746
  const i = z(), { entryApp: r } = cr();
12747
12747
  ge.nav.addEventListener("openAI", () => {
12748
12748
  var l;
@@ -12772,7 +12772,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12772
12772
  innerSet: !1,
12773
12773
  excludeRoutes: [],
12774
12774
  routeKeepAliveVisible: !0
12775
- }), c3 = () => {
12775
+ }), u3 = () => {
12776
12776
  ht.addEventListenerFromMicroApp("iot:change-instance", (i) => {
12777
12777
  const r = Oe(), n = r.currentSubAppCode;
12778
12778
  let a = ji(n);
@@ -12793,26 +12793,26 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12793
12793
  }
12794
12794
  ]);
12795
12795
  });
12796
- }, u3 = (i) => {
12796
+ }, f3 = (i) => {
12797
12797
  ["personcenter", "rightmanage"].forEach((n) => {
12798
12798
  ht.addEventListenerFromMicroApp(`${n}:change-userinfo`, (a) => {
12799
12799
  const { userInfo: l } = a.data, c = l != null && l.headPicture ? zo(l.headPicture) : void 0;
12800
12800
  ge.nav.setUserInfo({ headPicture: c, commandList: i.value }), sessionStorage.setItem("userInfo", JSON.stringify(l));
12801
12801
  });
12802
12802
  });
12803
- }, f3 = () => {
12803
+ }, d3 = () => {
12804
12804
  ht.addEventListenerFromMicroApp("devicePanelShow", (i) => {
12805
12805
  const { deviceId: r = "", panelCode: n = "", deviceName: a = "", x: l = 0, y: c = 0, isCenter: f = !1 } = i.data;
12806
12806
  pd(r, n, a, l, c, f);
12807
12807
  }), ht.addEventListenerFromMicroApp("closeDevicePanel", (i) => {
12808
- yC();
12808
+ bC();
12809
12809
  }), ht.addEventListenerFromMicroApp("alarmDevicePanelShow", (i) => {
12810
12810
  const { deviceId: r = "", panelCode: n = "", alarmTime: a = "" } = i.data;
12811
- bC(r, n, a);
12811
+ wC(r, n, a);
12812
12812
  }), ht.addEventListenerFromMicroApp("closeAlarmPanel", (i) => {
12813
- wC();
12813
+ AC();
12814
12814
  });
12815
- }, d3 = ra.get("/platform/login/pwd-advance-notify-check"), p3 = () => {
12815
+ }, p3 = ra.get("/platform/login/pwd-advance-notify-check"), h3 = () => {
12816
12816
  const i = z([]), r = z(null), n = z([]), { entryApp: a } = Gi.hooks.useEntryApp(), l = () => {
12817
12817
  var h;
12818
12818
  const p = (((h = Oe().appcategorys) == null ? void 0 : h.map((s) => s.apps).flat()) ?? []).find((s) => s.code === "messagecenter");
@@ -12822,7 +12822,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12822
12822
  url: "/api/messagecenter/message/v1/innersend",
12823
12823
  reconnectWhenClose: !0,
12824
12824
  opened: async () => {
12825
- await d3().run();
12825
+ await p3().run();
12826
12826
  },
12827
12827
  message: async (f) => {
12828
12828
  if (ht.sendMessageToMicroApp("enterpriseadmin/messagecenter", "message-notify:message", { msgList: f }), window.self !== window.top) return;
@@ -12838,7 +12838,7 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12838
12838
  description: kt("div", {}, [
12839
12839
  // 标题
12840
12840
  kt("div", { class: "custom-title" }, [
12841
- kt(AC, { customSize: 24, iconColor: "#5582f3" }),
12841
+ kt(EC, { customSize: 24, iconColor: "#5582f3" }),
12842
12842
  kt("div", { class: "title" }, s.title)
12843
12843
  ]),
12844
12844
  // 内容
@@ -12865,8 +12865,8 @@ const JA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, eE = n
12865
12865
  }), Oo(() => {
12866
12866
  r.value && r.value.disconnect(), r.value = null;
12867
12867
  });
12868
- }, h3 = "v1", v3 = io(`/api/enterpriseright/permission/${h3}`), cp = io("/api/device-relation/deviceproject/v1/project/device/video", g3), x3 = N0.get("/permissionset/user-portal-menu");
12869
- function g3(i) {
12868
+ }, v3 = "v1", x3 = io(`/api/enterpriseright/permission/${v3}`), cp = io("/api/device-relation/deviceproject/v1/project/device/video", m3), g3 = N0.get("/permissionset/user-portal-menu");
12869
+ function m3(i) {
12870
12870
  const r = Kt() ? Kt().id : 1;
12871
12871
  return i.params || (i.params = {}), i.params.project = r, i.params.projectId = r, i;
12872
12872
  }
@@ -12879,10 +12879,10 @@ function up(i) {
12879
12879
  function Gf(i) {
12880
12880
  return cp.post(`/ptz?${up(i)}`)().run();
12881
12881
  }
12882
- function m3(i) {
12882
+ function _3(i) {
12883
12883
  return cp.post(`/url/preview?${up(i)}`)().run();
12884
12884
  }
12885
- const _3 = v3.post("data/device-auth"), C3 = /* @__PURE__ */ at({
12885
+ const C3 = x3.post("data/device-auth"), y3 = /* @__PURE__ */ at({
12886
12886
  __name: "GridItem",
12887
12887
  props: {
12888
12888
  active: { type: Boolean },
@@ -12916,7 +12916,7 @@ const _3 = v3.post("data/device-auth"), C3 = /* @__PURE__ */ at({
12916
12916
  /* CLASS, NEED_HYDRATION */
12917
12917
  ));
12918
12918
  }
12919
- }), y3 = /* @__PURE__ */ Ut(C3, [["__scopeId", "data-v-68946aef"]]), b3 = { class: "layout-wrapper" }, w3 = /* @__PURE__ */ at({
12919
+ }), b3 = /* @__PURE__ */ Ut(y3, [["__scopeId", "data-v-68946aef"]]), w3 = { class: "layout-wrapper" }, A3 = /* @__PURE__ */ at({
12920
12920
  __name: "GridLayout",
12921
12921
  props: {
12922
12922
  gridNum: {},
@@ -12928,12 +12928,12 @@ const _3 = v3.post("data/device-auth"), C3 = /* @__PURE__ */ at({
12928
12928
  const n = i, a = r, l = (c) => {
12929
12929
  a("update:activeIndex", c);
12930
12930
  };
12931
- return (c, f) => (_e(), Ke("div", b3, [
12931
+ return (c, f) => (_e(), Ke("div", w3, [
12932
12932
  Ie(' :active="index === activeIndex" '),
12933
12933
  (_e(!0), Ke(
12934
12934
  Wn,
12935
12935
  null,
12936
- Yi(n.gridNum, (p, h) => (_e(), Ve(y3, {
12936
+ Yi(n.gridNum, (p, h) => (_e(), Ve(b3, {
12937
12937
  active: !1,
12938
12938
  "grid-num": n.gridNum,
12939
12939
  onItemClick: (s) => l(h)
@@ -12952,7 +12952,7 @@ const _3 = v3.post("data/device-auth"), C3 = /* @__PURE__ */ at({
12952
12952
  ))
12953
12953
  ]));
12954
12954
  }
12955
- }), A3 = /* @__PURE__ */ Ut(w3, [["__scopeId", "data-v-22baf4d8"]]), E3 = /* @__PURE__ */ at({
12955
+ }), E3 = /* @__PURE__ */ Ut(A3, [["__scopeId", "data-v-22baf4d8"]]), S3 = /* @__PURE__ */ at({
12956
12956
  __name: "DirectionControl",
12957
12957
  emits: ["change"],
12958
12958
  setup(i, { emit: r }) {
@@ -13079,10 +13079,10 @@ const _3 = v3.post("data/device-auth"), C3 = /* @__PURE__ */ at({
13079
13079
  /* NEED_HYDRATION */
13080
13080
  ));
13081
13081
  }
13082
- }), S3 = /* @__PURE__ */ Ut(E3, [["__scopeId", "data-v-5061ed2b"]]), B3 = { class: "video-wrapper" }, k3 = { class: "video-top" }, D3 = { class: "video-top_l" }, I3 = { class: "video-title-wrapper" }, T3 = { class: "video-title" }, F3 = { class: "video-top_r" }, P3 = {
13082
+ }), B3 = /* @__PURE__ */ Ut(S3, [["__scopeId", "data-v-5061ed2b"]]), k3 = { class: "video-wrapper" }, D3 = { class: "video-top" }, I3 = { class: "video-top_l" }, T3 = { class: "video-title-wrapper" }, F3 = { class: "video-title" }, P3 = { class: "video-top_r" }, R3 = {
13083
13083
  key: 0,
13084
13084
  class: "play-status"
13085
- }, R3 = { class: "video-bottom" }, L3 = { class: "video-bottom_r" }, $3 = /* @__PURE__ */ at({
13085
+ }, L3 = { class: "video-bottom" }, $3 = { class: "video-bottom_r" }, N3 = /* @__PURE__ */ at({
13086
13086
  __name: "index",
13087
13087
  props: {
13088
13088
  videoUrl: {},
@@ -13172,29 +13172,29 @@ const _3 = v3.post("data/device-auth"), C3 = /* @__PURE__ */ at({
13172
13172
  d.value = !0;
13173
13173
  });
13174
13174
  }
13175
- ), (y, S) => (_e(), Ke("div", B3, [
13175
+ ), (y, S) => (_e(), Ke("div", k3, [
13176
13176
  ae(D(O0), {
13177
13177
  spinning: n.loading,
13178
13178
  type: "component",
13179
13179
  tip: "加载中..."
13180
13180
  }, {
13181
13181
  default: fe(() => [
13182
- se("div", k3, [
13183
- se("div", D3, [
13184
- se("div", I3, [
13182
+ se("div", D3, [
13183
+ se("div", I3, [
13184
+ se("div", T3, [
13185
13185
  se(
13186
13186
  "div",
13187
- T3,
13187
+ F3,
13188
13188
  Ee(n.title.length > 20 ? n.title.slice(0, 19) + "..." : n.title),
13189
13189
  1
13190
13190
  /* TEXT */
13191
13191
  )
13192
13192
  ])
13193
13193
  ]),
13194
- se("div", F3, [
13194
+ se("div", P3, [
13195
13195
  ["live"].includes(y.type) ? (_e(), Ke(
13196
13196
  "span",
13197
- P3,
13197
+ R3,
13198
13198
  Ee(D(ce)("正在实时预览")),
13199
13199
  1
13200
13200
  /* TEXT */
@@ -13202,7 +13202,7 @@ const _3 = v3.post("data/device-auth"), C3 = /* @__PURE__ */ at({
13202
13202
  Ie(' <das-icon class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')
13203
13203
  ])
13204
13204
  ]),
13205
- n.videoUrl && d.value ? (_e(), Ve(D(SC), {
13205
+ n.videoUrl && d.value ? (_e(), Ve(D(BC), {
13206
13206
  key: 0,
13207
13207
  type: "flv",
13208
13208
  ref_key: "dasLivePlayerRef",
@@ -13211,7 +13211,7 @@ const _3 = v3.post("data/device-auth"), C3 = /* @__PURE__ */ at({
13211
13211
  onLoaded: w,
13212
13212
  src: n.videoUrl
13213
13213
  }, null, 8, ["muted", "src"])) : Ie("v-if", !0),
13214
- se("div", R3, [
13214
+ se("div", L3, [
13215
13215
  S[3] || (S[3] = se(
13216
13216
  "div",
13217
13217
  { class: "video-bottom_l" },
@@ -13219,7 +13219,7 @@ const _3 = v3.post("data/device-auth"), C3 = /* @__PURE__ */ at({
13219
13219
  -1
13220
13220
  /* CACHED */
13221
13221
  )),
13222
- se("div", L3, [
13222
+ se("div", $3, [
13223
13223
  se(
13224
13224
  "div",
13225
13225
  {
@@ -13304,7 +13304,7 @@ const _3 = v3.post("data/device-auth"), C3 = /* @__PURE__ */ at({
13304
13304
  )
13305
13305
  ])
13306
13306
  ]),
13307
- f.value ? (_e(), Ve(S3, {
13307
+ f.value ? (_e(), Ve(B3, {
13308
13308
  key: 1,
13309
13309
  onChange: b
13310
13310
  })) : Ie("v-if", !0)
@@ -13314,7 +13314,7 @@ const _3 = v3.post("data/device-auth"), C3 = /* @__PURE__ */ at({
13314
13314
  }, 8, ["spinning"])
13315
13315
  ]));
13316
13316
  }
13317
- }), N3 = /* @__PURE__ */ Ut($3, [["__scopeId", "data-v-25a3c0f5"]]), O3 = /* @__PURE__ */ at({
13317
+ }), O3 = /* @__PURE__ */ Ut(N3, [["__scopeId", "data-v-25a3c0f5"]]), U3 = /* @__PURE__ */ at({
13318
13318
  props: {
13319
13319
  deviceInfo: {
13320
13320
  type: Object,
@@ -13330,7 +13330,7 @@ const _3 = v3.post("data/device-auth"), C3 = /* @__PURE__ */ at({
13330
13330
  var d;
13331
13331
  if (!((d = n.value) != null && d.deviceId)) return;
13332
13332
  a.value = !0;
13333
- const [h, s] = await m3({
13333
+ const [h, s] = await _3({
13334
13334
  productId: n.value.productId,
13335
13335
  deviceId: n.value.deviceId,
13336
13336
  source: "strategy"
@@ -13367,12 +13367,12 @@ const _3 = v3.post("data/device-auth"), C3 = /* @__PURE__ */ at({
13367
13367
  })]);
13368
13368
  }
13369
13369
  });
13370
- function U3(i) {
13370
+ function M3(i) {
13371
13371
  const r = z(0), n = z(), {
13372
13372
  toggle: a
13373
13373
  } = Ho(n);
13374
13374
  return {
13375
- render: () => ae(A3, {
13375
+ render: () => ae(E3, {
13376
13376
  ref: n,
13377
13377
  gridNum: i.gridNum,
13378
13378
  activeIndex: r.value,
@@ -13383,7 +13383,7 @@ function U3(i) {
13383
13383
  index: c
13384
13384
  }) => {
13385
13385
  const f = i.deviceList[c];
13386
- return ae(O3, {
13386
+ return ae(U3, {
13387
13387
  deviceInfo: f
13388
13388
  }, {
13389
13389
  default: ({
@@ -13391,7 +13391,7 @@ function U3(i) {
13391
13391
  onDirectionControl: h,
13392
13392
  onZoomControl: s,
13393
13393
  loading: d
13394
- }) => ae(N3, {
13394
+ }) => ae(O3, {
13395
13395
  type: "live",
13396
13396
  loading: d,
13397
13397
  videoUrl: p,
@@ -13406,7 +13406,7 @@ function U3(i) {
13406
13406
  toggleFullscreen: a
13407
13407
  };
13408
13408
  }
13409
- const M3 = { class: "text-wrap" }, z3 = { class: "trigger-content" }, H3 = /* @__PURE__ */ at({
13409
+ const z3 = { class: "text-wrap" }, H3 = { class: "trigger-content" }, W3 = /* @__PURE__ */ at({
13410
13410
  __name: "index",
13411
13411
  props: {
13412
13412
  deviceList: { default: () => [] },
@@ -13418,7 +13418,7 @@ const M3 = { class: "text-wrap" }, z3 = { class: "trigger-content" }, H3 = /* @_
13418
13418
  hd({
13419
13419
  fullscreen2: import("@das-fed/ui/packages/icons/fullscreen-2")
13420
13420
  });
13421
- const r = i, n = z(!0), { render: a, toggleFullscreen: l } = U3(r), c = Nt(() => {
13421
+ const r = i, n = z(!0), { render: a, toggleFullscreen: l } = M3(r), c = Nt(() => {
13422
13422
  let f = {};
13423
13423
  switch (r.gridNum) {
13424
13424
  case 1:
@@ -13452,7 +13452,7 @@ const M3 = { class: "text-wrap" }, z3 = { class: "trigger-content" }, H3 = /* @_
13452
13452
  onClosed: f.closeCallback
13453
13453
  }), {
13454
13454
  header: fe(() => [
13455
- se("div", M3, [
13455
+ se("div", z3, [
13456
13456
  se(
13457
13457
  "span",
13458
13458
  null,
@@ -13460,7 +13460,7 @@ const M3 = { class: "text-wrap" }, z3 = { class: "trigger-content" }, H3 = /* @_
13460
13460
  1
13461
13461
  /* TEXT */
13462
13462
  ),
13463
- Dn((_e(), Ke("span", z3, [
13463
+ Dn((_e(), Ke("span", H3, [
13464
13464
  ze(
13465
13465
  Ee(r.triggerContent),
13466
13466
  1
@@ -13492,23 +13492,23 @@ const M3 = { class: "text-wrap" }, z3 = { class: "trigger-content" }, H3 = /* @_
13492
13492
  /* STABLE */
13493
13493
  }, 16, ["title", "modelValue", "width", "height", "onClosed"]));
13494
13494
  }
13495
- }), W3 = (i) => {
13495
+ }), q3 = (i) => {
13496
13496
  const { gridNum: r = 4, deviceList: n = [], triggerContent: a = "" } = i;
13497
13497
  return new Promise((l) => {
13498
13498
  let c = document.body.querySelector("#video-dialog-container");
13499
13499
  c && (To(null, c), document.body.removeChild(c)), c = document.createElement("div"), c.setAttribute("id", "video-dialog-container"), document.body.appendChild(c);
13500
- const p = kt(H3, { gridNum: r, deviceList: n, triggerContent: a, closeCallback: () => {
13500
+ const p = kt(W3, { gridNum: r, deviceList: n, triggerContent: a, closeCallback: () => {
13501
13501
  To(null, c), document.body.removeChild(c), l(null);
13502
13502
  } });
13503
13503
  To(p, c);
13504
13504
  });
13505
- }, q3 = () => {
13505
+ }, j3 = () => {
13506
13506
  const i = z(4), r = z([]), n = z(null), a = async (c) => {
13507
- const [f, p] = await _3(c).run();
13507
+ const [f, p] = await C3(c).run();
13508
13508
  if (!f)
13509
13509
  return p;
13510
13510
  }, l = async () => {
13511
- const c = Kt().id, [f, p] = await x3().run({
13511
+ const c = Kt().id, [f, p] = await g3().run({
13512
13512
  code: "strategy",
13513
13513
  showBtn: !1
13514
13514
  });
@@ -13534,7 +13534,7 @@ const M3 = { class: "text-wrap" }, z3 = { class: "trigger-content" }, H3 = /* @_
13534
13534
  show: !!E
13535
13535
  };
13536
13536
  });
13537
- r.value = _.filter((C) => !!C.show), (d = r.value) != null && d.length && W3({ gridNum: i.value, deviceList: r.value, triggerContent: s == null ? void 0 : s.triggerContent });
13537
+ r.value = _.filter((C) => !!C.show), (d = r.value) != null && d.length && q3({ gridNum: i.value, deviceList: r.value, triggerContent: s == null ? void 0 : s.triggerContent });
13538
13538
  }
13539
13539
  }
13540
13540
  }));
@@ -13581,7 +13581,7 @@ class wn extends Error {
13581
13581
  super(r), this.__proto__ = n;
13582
13582
  }
13583
13583
  }
13584
- class j3 extends Error {
13584
+ class V3 extends Error {
13585
13585
  /** Constructs a new instance of {@link @microsoft/signalr.UnsupportedTransportError}.
13586
13586
  *
13587
13587
  * @param {string} message A descriptive error message.
@@ -13592,7 +13592,7 @@ class j3 extends Error {
13592
13592
  super(r), this.transport = n, this.errorType = "UnsupportedTransportError", this.__proto__ = a;
13593
13593
  }
13594
13594
  }
13595
- class V3 extends Error {
13595
+ class K3 extends Error {
13596
13596
  /** Constructs a new instance of {@link @microsoft/signalr.DisabledTransportError}.
13597
13597
  *
13598
13598
  * @param {string} message A descriptive error message.
@@ -13603,7 +13603,7 @@ class V3 extends Error {
13603
13603
  super(r), this.transport = n, this.errorType = "DisabledTransportError", this.__proto__ = a;
13604
13604
  }
13605
13605
  }
13606
- class K3 extends Error {
13606
+ class G3 extends Error {
13607
13607
  /** Constructs a new instance of {@link @microsoft/signalr.FailedToStartTransportError}.
13608
13608
  *
13609
13609
  * @param {string} message A descriptive error message.
@@ -13624,7 +13624,7 @@ class Xf extends Error {
13624
13624
  super(r), this.errorType = "FailedToNegotiateWithServerError", this.__proto__ = n;
13625
13625
  }
13626
13626
  }
13627
- class G3 extends Error {
13627
+ class X3 extends Error {
13628
13628
  /** Constructs a new instance of {@link @microsoft/signalr.AggregateErrors}.
13629
13629
  *
13630
13630
  * @param {string} message A descriptive error message.
@@ -13685,7 +13685,7 @@ class $o {
13685
13685
  }
13686
13686
  }
13687
13687
  $o.instance = new $o();
13688
- const X3 = "8.0.7";
13688
+ const Q3 = "8.0.7";
13689
13689
  class ft {
13690
13690
  static isRequired(r, n) {
13691
13691
  if (r == null)
@@ -13721,9 +13721,9 @@ class ot {
13721
13721
  }
13722
13722
  function No(i, r) {
13723
13723
  let n = "";
13724
- return Br(i) ? (n = `Binary data of length ${i.byteLength}`, r && (n += `. Content: '${Q3(i)}'`)) : typeof i == "string" && (n = `String data of length ${i.length}`, r && (n += `. Content: '${i}'`)), n;
13724
+ return Br(i) ? (n = `Binary data of length ${i.byteLength}`, r && (n += `. Content: '${Z3(i)}'`)) : typeof i == "string" && (n = `String data of length ${i.length}`, r && (n += `. Content: '${i}'`)), n;
13725
13725
  }
13726
- function Q3(i) {
13726
+ function Z3(i) {
13727
13727
  const r = new Uint8Array(i);
13728
13728
  let n = "";
13729
13729
  return r.forEach((a) => {
@@ -13747,10 +13747,10 @@ async function dp(i, r, n, a, l, c) {
13747
13747
  });
13748
13748
  i.log(X.Trace, `(${r} transport) request complete. Response status: ${d.statusCode}.`);
13749
13749
  }
13750
- function Z3(i) {
13750
+ function Y3(i) {
13751
13751
  return i === void 0 ? new Zi(X.Information) : i === null ? $o.instance : i.log !== void 0 ? i : new Zi(i);
13752
13752
  }
13753
- class Y3 {
13753
+ class J3 {
13754
13754
  constructor(r, n) {
13755
13755
  this._subject = r, this._observer = n;
13756
13756
  }
@@ -13787,14 +13787,14 @@ class Zi {
13787
13787
  }
13788
13788
  function ro() {
13789
13789
  let i = "X-SignalR-User-Agent";
13790
- return ot.isNode && (i = "User-Agent"), [i, J3(X3, e6(), n6(), t6())];
13790
+ return ot.isNode && (i = "User-Agent"), [i, e6(Q3, t6(), r6(), n6())];
13791
13791
  }
13792
- function J3(i, r, n, a) {
13792
+ function e6(i, r, n, a) {
13793
13793
  let l = "Microsoft SignalR/";
13794
13794
  const c = i.split(".");
13795
13795
  return l += `${c[0]}.${c[1]}`, l += ` (${i}; `, r && r !== "" ? l += `${r}; ` : l += "Unknown OS; ", l += `${n}`, a ? l += `; ${a}` : l += "; Unknown Runtime Version", l += ")", l;
13796
13796
  }
13797
- function e6() {
13797
+ function t6() {
13798
13798
  if (ot.isNode)
13799
13799
  switch (process.platform) {
13800
13800
  case "win32":
@@ -13809,17 +13809,17 @@ function e6() {
13809
13809
  else
13810
13810
  return "";
13811
13811
  }
13812
- function t6() {
13812
+ function n6() {
13813
13813
  if (ot.isNode)
13814
13814
  return process.versions.node;
13815
13815
  }
13816
- function n6() {
13816
+ function r6() {
13817
13817
  return ot.isNode ? "NodeJS" : "Browser";
13818
13818
  }
13819
13819
  function m0(i) {
13820
13820
  return i.stack ? i.stack : i.message ? i.message : `${i}`;
13821
13821
  }
13822
- function r6() {
13822
+ function o6() {
13823
13823
  if (typeof globalThis < "u")
13824
13824
  return globalThis;
13825
13825
  if (typeof self < "u")
@@ -13830,13 +13830,13 @@ function r6() {
13830
13830
  return global;
13831
13831
  throw new Error("could not find global");
13832
13832
  }
13833
- class o6 extends pa {
13833
+ class i6 extends pa {
13834
13834
  constructor(r) {
13835
13835
  if (super(), this._logger = r, typeof fetch > "u" || ot.isNode) {
13836
13836
  const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
13837
13837
  this._jar = new (n("tough-cookie")).CookieJar(), typeof fetch > "u" ? this._fetchType = n("node-fetch") : this._fetchType = fetch, this._fetchType = n("fetch-cookie")(this._fetchType, this._jar);
13838
13838
  } else
13839
- this._fetchType = fetch.bind(r6());
13839
+ this._fetchType = fetch.bind(o6());
13840
13840
  if (typeof AbortController > "u") {
13841
13841
  const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
13842
13842
  this._abortControllerType = n("abort-controller");
@@ -13915,7 +13915,7 @@ function Qf(i, r) {
13915
13915
  }
13916
13916
  return n;
13917
13917
  }
13918
- class i6 extends pa {
13918
+ class a6 extends pa {
13919
13919
  constructor(r) {
13920
13920
  super(), this._logger = r;
13921
13921
  }
@@ -13939,13 +13939,13 @@ class i6 extends pa {
13939
13939
  }) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
13940
13940
  }
13941
13941
  }
13942
- class a6 extends pa {
13942
+ class s6 extends pa {
13943
13943
  /** Creates a new instance of the {@link @microsoft/signalr.DefaultHttpClient}, using the provided {@link @microsoft/signalr.ILogger} to log messages. */
13944
13944
  constructor(r) {
13945
13945
  if (super(), typeof fetch < "u" || ot.isNode)
13946
- this._httpClient = new o6(r);
13947
- else if (typeof XMLHttpRequest < "u")
13948
13946
  this._httpClient = new i6(r);
13947
+ else if (typeof XMLHttpRequest < "u")
13948
+ this._httpClient = new a6(r);
13949
13949
  else
13950
13950
  throw new Error("No usable HttpClient found.");
13951
13951
  }
@@ -13970,7 +13970,7 @@ class tn {
13970
13970
  }
13971
13971
  tn.RecordSeparatorCode = 30;
13972
13972
  tn.RecordSeparator = String.fromCharCode(tn.RecordSeparatorCode);
13973
- class s6 {
13973
+ class l6 {
13974
13974
  // Handshake request is always JSON
13975
13975
  writeHandshakeRequest(r) {
13976
13976
  return tn.write(JSON.stringify(r));
@@ -14000,7 +14000,7 @@ var De;
14000
14000
  (function(i) {
14001
14001
  i[i.Invocation = 1] = "Invocation", i[i.StreamItem = 2] = "StreamItem", i[i.Completion = 3] = "Completion", i[i.StreamInvocation = 4] = "StreamInvocation", i[i.CancelInvocation = 5] = "CancelInvocation", i[i.Ping = 6] = "Ping", i[i.Close = 7] = "Close", i[i.Ack = 8] = "Ack", i[i.Sequence = 9] = "Sequence";
14002
14002
  })(De || (De = {}));
14003
- class l6 {
14003
+ class c6 {
14004
14004
  constructor() {
14005
14005
  this.observers = [];
14006
14006
  }
@@ -14017,10 +14017,10 @@ class l6 {
14017
14017
  r.complete && r.complete();
14018
14018
  }
14019
14019
  subscribe(r) {
14020
- return this.observers.push(r), new Y3(this, r);
14020
+ return this.observers.push(r), new J3(this, r);
14021
14021
  }
14022
14022
  }
14023
- class c6 {
14023
+ class u6 {
14024
14024
  constructor(r, n, a) {
14025
14025
  this._bufferSize = 1e5, this._messages = [], this._totalMessageCount = 0, this._waitForSequenceMessage = !1, this._nextReceivingSequenceId = 1, this._latestReceivedSequenceId = 0, this._bufferedByteCount = 0, this._reconnectInProgress = !1, this._protocol = r, this._connection = n, this._bufferSize = a;
14026
14026
  }
@@ -14034,7 +14034,7 @@ class c6 {
14034
14034
  };
14035
14035
  Br(n) ? this._bufferedByteCount += n.byteLength : this._bufferedByteCount += n.length, this._bufferedByteCount >= this._bufferSize && (a = new Promise((f, p) => {
14036
14036
  l = f, c = p;
14037
- })), this._messages.push(new u6(n, this._totalMessageCount, l, c));
14037
+ })), this._messages.push(new f6(n, this._totalMessageCount, l, c));
14038
14038
  }
14039
14039
  try {
14040
14040
  this._reconnectInProgress || await this._connection.send(n);
@@ -14112,12 +14112,12 @@ class c6 {
14112
14112
  }, 1e3));
14113
14113
  }
14114
14114
  }
14115
- class u6 {
14115
+ class f6 {
14116
14116
  constructor(r, n, a, l) {
14117
14117
  this._message = r, this._id = n, this._resolver = a, this._rejector = l;
14118
14118
  }
14119
14119
  }
14120
- const f6 = 30 * 1e3, d6 = 15 * 1e3, p6 = 1e5;
14120
+ const d6 = 30 * 1e3, p6 = 15 * 1e3, h6 = 1e5;
14121
14121
  var tt;
14122
14122
  (function(i) {
14123
14123
  i.Disconnected = "Disconnected", i.Connecting = "Connecting", i.Connected = "Connected", i.Disconnecting = "Disconnecting", i.Reconnecting = "Reconnecting";
@@ -14134,7 +14134,7 @@ class Z0 {
14134
14134
  constructor(r, n, a, l, c, f, p) {
14135
14135
  this._nextKeepAlive = 0, this._freezeEventListener = () => {
14136
14136
  this._logger.log(X.Warning, "The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://learn.microsoft.com/aspnet/core/signalr/javascript-client#bsleep");
14137
- }, ft.isRequired(r, "connection"), ft.isRequired(n, "logger"), ft.isRequired(a, "protocol"), this.serverTimeoutInMilliseconds = c ?? f6, this.keepAliveIntervalInMilliseconds = f ?? d6, this._statefulReconnectBufferSize = p ?? p6, this._logger = n, this._protocol = a, this.connection = r, this._reconnectPolicy = l, this._handshakeProtocol = new s6(), this.connection.onreceive = (h) => this._processIncomingData(h), this.connection.onclose = (h) => this._connectionClosed(h), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = tt.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: De.Ping });
14137
+ }, ft.isRequired(r, "connection"), ft.isRequired(n, "logger"), ft.isRequired(a, "protocol"), this.serverTimeoutInMilliseconds = c ?? d6, this.keepAliveIntervalInMilliseconds = f ?? p6, this._statefulReconnectBufferSize = p ?? h6, this._logger = n, this._protocol = a, this.connection = r, this._reconnectPolicy = l, this._handshakeProtocol = new l6(), this.connection.onreceive = (h) => this._processIncomingData(h), this.connection.onclose = (h) => this._connectionClosed(h), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = tt.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: De.Ping });
14138
14138
  }
14139
14139
  /** Indicates the state of the {@link HubConnection} to the server. */
14140
14140
  get state() {
@@ -14194,7 +14194,7 @@ class Z0 {
14194
14194
  };
14195
14195
  if (this._logger.log(X.Debug, "Sending handshake request."), await this._sendMessage(this._handshakeProtocol.writeHandshakeRequest(a)), this._logger.log(X.Information, `Using HubProtocol '${this._protocol.name}'.`), this._cleanupTimeout(), this._resetTimeoutPeriod(), this._resetKeepAliveInterval(), await r, this._stopDuringStartError)
14196
14196
  throw this._stopDuringStartError;
14197
- (this.connection.features.reconnect || !1) && (this._messageBuffer = new c6(this._protocol, this.connection, this._statefulReconnectBufferSize), this.connection.features.disconnected = this._messageBuffer._disconnected.bind(this._messageBuffer), this.connection.features.resend = () => {
14197
+ (this.connection.features.reconnect || !1) && (this._messageBuffer = new u6(this._protocol, this.connection, this._statefulReconnectBufferSize), this.connection.features.disconnected = this._messageBuffer._disconnected.bind(this._messageBuffer), this.connection.features.resend = () => {
14198
14198
  if (this._messageBuffer)
14199
14199
  return this._messageBuffer._resend();
14200
14200
  }), this.connection.features.inherentKeepAlive || await this._sendMessage(this._cachedPingMessage);
@@ -14238,7 +14238,7 @@ class Z0 {
14238
14238
  stream(r, ...n) {
14239
14239
  const [a, l] = this._replaceStreamingParams(n), c = this._createStreamInvocation(r, n, l);
14240
14240
  let f;
14241
- const p = new l6();
14241
+ const p = new c6();
14242
14242
  return p.cancelCallback = () => {
14243
14243
  const h = this._createCancelInvocation(c.invocationId);
14244
14244
  return delete this._callbacks[c.invocationId], f.then(() => this._sendWithProtocol(h));
@@ -14624,10 +14624,10 @@ class Z0 {
14624
14624
  return { type: De.Close };
14625
14625
  }
14626
14626
  }
14627
- const h6 = [0, 2e3, 1e4, 3e4, null];
14627
+ const v6 = [0, 2e3, 1e4, 3e4, null];
14628
14628
  class Zf {
14629
14629
  constructor(r) {
14630
- this._retryDelays = r !== void 0 ? [...r, null] : h6;
14630
+ this._retryDelays = r !== void 0 ? [...r, null] : v6;
14631
14631
  }
14632
14632
  nextRetryDelayInMilliseconds(r) {
14633
14633
  return this._retryDelays[r.previousRetryCount];
@@ -14637,7 +14637,7 @@ class Ar {
14637
14637
  }
14638
14638
  Ar.Authorization = "Authorization";
14639
14639
  Ar.Cookie = "Cookie";
14640
- class v6 extends pa {
14640
+ class x6 extends pa {
14641
14641
  constructor(r, n) {
14642
14642
  super(), this._innerClient = r, this._accessTokenFactory = n;
14643
14643
  }
@@ -14662,7 +14662,7 @@ var Tt;
14662
14662
  (function(i) {
14663
14663
  i[i.Text = 1] = "Text", i[i.Binary = 2] = "Binary";
14664
14664
  })(Tt || (Tt = {}));
14665
- let x6 = class {
14665
+ let g6 = class {
14666
14666
  constructor() {
14667
14667
  this._isAborted = !1, this.onabort = null;
14668
14668
  }
@@ -14682,7 +14682,7 @@ class Yf {
14682
14682
  return this._pollAbort.aborted;
14683
14683
  }
14684
14684
  constructor(r, n, a) {
14685
- this._httpClient = r, this._logger = n, this._pollAbort = new x6(), this._options = a, this._running = !1, this.onreceive = null, this.onclose = null;
14685
+ this._httpClient = r, this._logger = n, this._pollAbort = new g6(), this._options = a, this._running = !1, this.onreceive = null, this.onclose = null;
14686
14686
  }
14687
14687
  async connect(r, n) {
14688
14688
  if (ft.isRequired(r, "url"), ft.isRequired(n, "transferFormat"), ft.isIn(n, Tt, "transferFormat"), this._url = r, this._logger.log(X.Trace, "(LongPolling transport) Connecting."), n === Tt.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
@@ -14746,7 +14746,7 @@ class Yf {
14746
14746
  }
14747
14747
  }
14748
14748
  }
14749
- class g6 {
14749
+ class m6 {
14750
14750
  constructor(r, n, a, l) {
14751
14751
  this._httpClient = r, this._accessToken = n, this._logger = a, this._options = l, this.onreceive = null, this.onclose = null;
14752
14752
  }
@@ -14796,7 +14796,7 @@ class g6 {
14796
14796
  this._eventSource && (this._eventSource.close(), this._eventSource = void 0, this.onclose && this.onclose(r));
14797
14797
  }
14798
14798
  }
14799
- class m6 {
14799
+ class _6 {
14800
14800
  constructor(r, n, a, l, c, f) {
14801
14801
  this._logger = a, this._accessTokenFactory = n, this._logMessageContent = l, this._webSocketConstructor = c, this._httpClient = r, this.onreceive = null, this.onclose = null, this._headers = f;
14802
14802
  }
@@ -14855,10 +14855,10 @@ class m6 {
14855
14855
  }
14856
14856
  }
14857
14857
  const Jf = 100;
14858
- class _6 {
14858
+ class C6 {
14859
14859
  constructor(r, n = {}) {
14860
14860
  if (this._stopPromiseResolver = () => {
14861
- }, this.features = {}, this._negotiateVersion = 1, ft.isRequired(r, "url"), this._logger = Z3(n.logger), this.baseUrl = this._resolveUrl(r), n = n || {}, n.logMessageContent = n.logMessageContent === void 0 ? !1 : n.logMessageContent, typeof n.withCredentials == "boolean" || n.withCredentials === void 0)
14861
+ }, this.features = {}, this._negotiateVersion = 1, ft.isRequired(r, "url"), this._logger = Y3(n.logger), this.baseUrl = this._resolveUrl(r), n = n || {}, n.logMessageContent = n.logMessageContent === void 0 ? !1 : n.logMessageContent, typeof n.withCredentials == "boolean" || n.withCredentials === void 0)
14862
14862
  n.withCredentials = n.withCredentials === void 0 ? !0 : n.withCredentials;
14863
14863
  else
14864
14864
  throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
@@ -14868,7 +14868,7 @@ class _6 {
14868
14868
  const c = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
14869
14869
  a = c("ws"), l = c("eventsource");
14870
14870
  }
14871
- !ot.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : ot.isNode && !n.WebSocket && a && (n.WebSocket = a), !ot.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : ot.isNode && !n.EventSource && typeof l < "u" && (n.EventSource = l), this._httpClient = new v6(n.httpClient || new a6(this._logger), n.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = n, this.onreceive = null, this.onclose = null;
14871
+ !ot.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : ot.isNode && !n.WebSocket && a && (n.WebSocket = a), !ot.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : ot.isNode && !n.EventSource && typeof l < "u" && (n.EventSource = l), this._httpClient = new x6(n.httpClient || new s6(this._logger), n.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = n, this.onreceive = null, this.onclose = null;
14872
14872
  }
14873
14873
  async start(r) {
14874
14874
  if (r = r || Tt.Binary, ft.isIn(r, Tt, "transferFormat"), this._logger.log(X.Debug, `Starting connection with transfer format '${Tt[r]}'.`), this._connectionState !== "Disconnected")
@@ -14992,25 +14992,25 @@ class _6 {
14992
14992
  await this._startTransport(c, l), this.connectionId = h.connectionId;
14993
14993
  return;
14994
14994
  } catch (w) {
14995
- if (this._logger.log(X.Error, `Failed to start the transport '${s.transport}': ${w}`), h = void 0, f.push(new K3(`${s.transport} failed: ${w}`, ct[s.transport])), this._connectionState !== "Connecting") {
14995
+ if (this._logger.log(X.Error, `Failed to start the transport '${s.transport}': ${w}`), h = void 0, f.push(new G3(`${s.transport} failed: ${w}`, ct[s.transport])), this._connectionState !== "Connecting") {
14996
14996
  const x = "Failed to select transport before stop() was called.";
14997
14997
  return this._logger.log(X.Debug, x), Promise.reject(new wn(x));
14998
14998
  }
14999
14999
  }
15000
15000
  }
15001
15001
  }
15002
- return f.length > 0 ? Promise.reject(new G3(`Unable to connect to the server with any of the available transports. ${f.join(" ")}`, f)) : Promise.reject(new Error("None of the transports supported by the client are supported by the server."));
15002
+ return f.length > 0 ? Promise.reject(new X3(`Unable to connect to the server with any of the available transports. ${f.join(" ")}`, f)) : Promise.reject(new Error("None of the transports supported by the client are supported by the server."));
15003
15003
  }
15004
15004
  _constructTransport(r) {
15005
15005
  switch (r) {
15006
15006
  case ct.WebSockets:
15007
15007
  if (!this._options.WebSocket)
15008
15008
  throw new Error("'WebSocket' is not supported in your environment.");
15009
- return new m6(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
15009
+ return new _6(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
15010
15010
  case ct.ServerSentEvents:
15011
15011
  if (!this._options.EventSource)
15012
15012
  throw new Error("'EventSource' is not supported in your environment.");
15013
- return new g6(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
15013
+ return new m6(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
15014
15014
  case ct.LongPolling:
15015
15015
  return new Yf(this._httpClient, this._logger, this._options);
15016
15016
  default:
@@ -15037,10 +15037,10 @@ class _6 {
15037
15037
  const c = ct[r.transport];
15038
15038
  if (c == null)
15039
15039
  return this._logger.log(X.Debug, `Skipping transport '${r.transport}' because it is not supported by this client.`), new Error(`Skipping transport '${r.transport}' because it is not supported by this client.`);
15040
- if (C6(n, c))
15040
+ if (y6(n, c))
15041
15041
  if (r.transferFormats.map((p) => Tt[p]).indexOf(a) >= 0) {
15042
15042
  if (c === ct.WebSockets && !this._options.WebSocket || c === ct.ServerSentEvents && !this._options.EventSource)
15043
- return this._logger.log(X.Debug, `Skipping transport '${ct[c]}' because it is not supported in your environment.'`), new j3(`'${ct[c]}' is not supported in your environment.`, c);
15043
+ return this._logger.log(X.Debug, `Skipping transport '${ct[c]}' because it is not supported in your environment.'`), new V3(`'${ct[c]}' is not supported in your environment.`, c);
15044
15044
  this._logger.log(X.Debug, `Selecting transport '${ct[c]}'.`);
15045
15045
  try {
15046
15046
  return this.features.reconnect = c === ct.WebSockets ? l : void 0, this._constructTransport(c);
@@ -15050,7 +15050,7 @@ class _6 {
15050
15050
  } else
15051
15051
  return this._logger.log(X.Debug, `Skipping transport '${ct[c]}' because it does not support the requested transfer format '${Tt[a]}'.`), new Error(`'${ct[c]}' does not support ${Tt[a]}.`);
15052
15052
  else
15053
- return this._logger.log(X.Debug, `Skipping transport '${ct[c]}' because it was disabled by the client.`), new V3(`'${ct[c]}' is disabled by the client.`, c);
15053
+ return this._logger.log(X.Debug, `Skipping transport '${ct[c]}' because it was disabled by the client.`), new K3(`'${ct[c]}' is disabled by the client.`, c);
15054
15054
  }
15055
15055
  _isITransport(r) {
15056
15056
  return r && typeof r == "object" && "connect" in r;
@@ -15088,7 +15088,7 @@ class _6 {
15088
15088
  return a.has("negotiateVersion") || a.append("negotiateVersion", this._negotiateVersion.toString()), a.has("useStatefulReconnect") ? a.get("useStatefulReconnect") === "true" && (this._options._useStatefulReconnect = !0) : this._options._useStatefulReconnect === !0 && a.append("useStatefulReconnect", "true"), n.search = a.toString(), n.toString();
15089
15089
  }
15090
15090
  }
15091
- function C6(i, r) {
15091
+ function y6(i, r) {
15092
15092
  return !i || (r & i) !== 0;
15093
15093
  }
15094
15094
  class Y0 {
@@ -15143,10 +15143,10 @@ class Hi {
15143
15143
  this._rejecter(r);
15144
15144
  }
15145
15145
  }
15146
- const y6 = "json";
15147
- class b6 {
15146
+ const b6 = "json";
15147
+ class w6 {
15148
15148
  constructor() {
15149
- this.name = y6, this.version = 2, this.transferFormat = Tt.Text;
15149
+ this.name = b6, this.version = 2, this.transferFormat = Tt.Text;
15150
15150
  }
15151
15151
  /** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
15152
15152
  *
@@ -15225,7 +15225,7 @@ class b6 {
15225
15225
  throw new Error(n);
15226
15226
  }
15227
15227
  }
15228
- const w6 = {
15228
+ const A6 = {
15229
15229
  trace: X.Trace,
15230
15230
  debug: X.Debug,
15231
15231
  info: X.Information,
@@ -15236,18 +15236,18 @@ const w6 = {
15236
15236
  critical: X.Critical,
15237
15237
  none: X.None
15238
15238
  };
15239
- function A6(i) {
15240
- const r = w6[i.toLowerCase()];
15239
+ function E6(i) {
15240
+ const r = A6[i.toLowerCase()];
15241
15241
  if (typeof r < "u")
15242
15242
  return r;
15243
15243
  throw new Error(`Unknown log level: ${i}`);
15244
15244
  }
15245
- class E6 {
15245
+ class S6 {
15246
15246
  configureLogging(r) {
15247
- if (ft.isRequired(r, "logging"), S6(r))
15247
+ if (ft.isRequired(r, "logging"), B6(r))
15248
15248
  this.logger = r;
15249
15249
  else if (typeof r == "string") {
15250
- const n = A6(r);
15250
+ const n = E6(r);
15251
15251
  this.logger = new Zi(n);
15252
15252
  } else
15253
15253
  this.logger = new Zi(r);
@@ -15300,16 +15300,16 @@ class E6 {
15300
15300
  const r = this.httpConnectionOptions || {};
15301
15301
  if (r.logger === void 0 && (r.logger = this.logger), !this.url)
15302
15302
  throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
15303
- const n = new _6(this.url, r);
15304
- return Z0.create(n, this.logger || $o.instance, this.protocol || new b6(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
15303
+ const n = new C6(this.url, r);
15304
+ return Z0.create(n, this.logger || $o.instance, this.protocol || new w6(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
15305
15305
  }
15306
15306
  }
15307
- function S6(i) {
15307
+ function B6(i) {
15308
15308
  return i.log !== void 0;
15309
15309
  }
15310
- let { baseURL: B6 } = Vn();
15311
- const k6 = () => {
15312
- const i = new E6().withUrl(`${B6}/api/tool/event-bus`, {
15310
+ let { baseURL: k6 } = Vn();
15311
+ const D6 = () => {
15312
+ const i = new S6().withUrl(`${k6}/api/tool/event-bus`, {
15313
15313
  skipNegotiation: !0,
15314
15314
  transport: ct.WebSockets
15315
15315
  }).withAutomaticReconnect().build();
@@ -15318,10 +15318,10 @@ const k6 = () => {
15318
15318
  }), i.onclose((r) => {
15319
15319
  }), i.onreconnected(() => {
15320
15320
  }), i;
15321
- }, ha = "v1", D6 = wt(`/api/graphics-engine/component/${ha}`, (i) => (i.customErrorMessage = () => "", i)), I6 = wt(`/api/portal/manager/${ha}`, (i) => (i.customErrorMessage = () => "", i)), T6 = wt(`/api/speech-base/speech/${ha}`, (i) => (i.customErrorMessage = () => "", i)), ed = D6.get("/component/client/heartbeat"), F6 = I6.get("/basics/by-alias");
15322
- T6.post("/control/callBack");
15323
- const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.get("/permissionset/application"), L6 = na.get("/permissionset/user-portal-menu"), td = async (i, r) => {
15324
- const [n, a] = await L6().run({
15321
+ }, ha = "v1", I6 = wt(`/api/graphics-engine/component/${ha}`, (i) => (i.customErrorMessage = () => "", i)), T6 = wt(`/api/portal/manager/${ha}`, (i) => (i.customErrorMessage = () => "", i)), F6 = wt(`/api/speech-base/speech/${ha}`, (i) => (i.customErrorMessage = () => "", i)), ed = I6.get("/component/client/heartbeat"), P6 = T6.get("/basics/by-alias");
15322
+ F6.post("/control/callBack");
15323
+ const R6 = wt(`/api/tool/event-bus/${ha}/`), _0 = R6.post("/publish"), L6 = na.get("/permissionset/application"), $6 = na.get("/permissionset/user-portal-menu"), td = async (i, r) => {
15324
+ const [n, a] = await $6().run({
15325
15325
  code: i,
15326
15326
  showBtn: !1,
15327
15327
  userType: 1
@@ -15329,7 +15329,7 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15329
15329
  if (n || !a || !a.length) return null;
15330
15330
  const l = nn(a).find((c) => c.code === r);
15331
15331
  return l || null;
15332
- }, $6 = () => {
15332
+ }, N6 = () => {
15333
15333
  const i = oo(), r = Ji(), { entryApp: n } = Gi.hooks.useEntryApp(), { entryMenu: a } = Gi.hooks.useEntryMenu();
15334
15334
  let l = null;
15335
15335
  return An(async () => {
@@ -15395,7 +15395,7 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15395
15395
  if (ie)
15396
15396
  n({ microApp: ie });
15397
15397
  else {
15398
- const [q, Y] = await R6().run({ menuCode: G });
15398
+ const [q, Y] = await L6().run({ menuCode: G });
15399
15399
  if (q) return;
15400
15400
  const le = y.find((de) => de.code === Y);
15401
15401
  if (le) {
@@ -15422,7 +15422,7 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15422
15422
  setTimeout(async () => {
15423
15423
  var m, y;
15424
15424
  if (h.value) {
15425
- const [S, k] = await F6().run({}, { params: { aliasName: v.actionValue } });
15425
+ const [S, k] = await P6().run({}, { params: { aliasName: v.actionValue } });
15426
15426
  S ? await _0().run({
15427
15427
  uniqueId: v.uniqueId,
15428
15428
  status: 0,
@@ -15441,7 +15441,7 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15441
15441
  }, 2e3);
15442
15442
  }, d = (v) => {
15443
15443
  const m = qn(), y = JSON.parse(atob(m.split(".")[1])).sub;
15444
- k6().on(`${v}:${y}`, async function(k) {
15444
+ D6().on(`${v}:${y}`, async function(k) {
15445
15445
  let R = f(k);
15446
15446
  if (R)
15447
15447
  R.uniqueId && R.actionKey == "switch-menu" && s(R);
@@ -15468,10 +15468,10 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15468
15468
  }), Oo(() => {
15469
15469
  l && clearInterval(l);
15470
15470
  }), {};
15471
- }, va = "v1", N6 = io(`/api/fms/report/${va}`), J0 = io(`/api/emergency/manage/${va}`), O6 = N0.get("/permissionset/user-portal-menu"), pp = io(`/api/alarm/config/${va}`), U6 = io(`/api/alarm/run-time/${va}`), M6 = pp.get("/alarm-definition/status-option"), z6 = U6.post("/record/handling"), H6 = pp.get("/alarm-level/prompttone"), W6 = N6.get("/alarm/rule/list"), q6 = dd.get("/controller/space-children-all-type"), j6 = dd.get("/controller/fuzzy-area-small"), V6 = J0.get("/emergency-event/event/type"), K6 = J0.get("/emergency-event/event/level"), G6 = J0.get("/emergency-plan/plan/handle-time"), X6 = { class: "handle-alarm-container" }, Q6 = { class: "select-check" }, Z6 = { class: "form-box" }, Y6 = { class: "select-check" }, J6 = { style: { "margin-left": "8px" } }, eS = { class: "foot-btn-box" }, tS = {
15471
+ }, va = "v1", O6 = io(`/api/fms/report/${va}`), J0 = io(`/api/emergency/manage/${va}`), U6 = N0.get("/permissionset/user-portal-menu"), pp = io(`/api/alarm/config/${va}`), M6 = io(`/api/alarm/run-time/${va}`), z6 = pp.get("/alarm-definition/status-option"), H6 = M6.post("/record/handling"), W6 = pp.get("/alarm-level/prompttone"), q6 = O6.get("/alarm/rule/list"), j6 = dd.get("/controller/space-children-all-type"), V6 = dd.get("/controller/fuzzy-area-small"), K6 = J0.get("/emergency-event/event/type"), G6 = J0.get("/emergency-event/event/level"), X6 = J0.get("/emergency-plan/plan/handle-time"), Q6 = { class: "handle-alarm-container" }, Z6 = { class: "select-check" }, Y6 = { class: "form-box" }, J6 = { class: "select-check" }, eS = { style: { "margin-left": "8px" } }, tS = { class: "foot-btn-box" }, nS = {
15472
15472
  name: "handleAlarm"
15473
- }, nS = /* @__PURE__ */ at({
15474
- ...tS,
15473
+ }, rS = /* @__PURE__ */ at({
15474
+ ...nS,
15475
15475
  props: {
15476
15476
  projectId: { default: "" },
15477
15477
  handerIds: { default: [] }
@@ -15535,13 +15535,13 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15535
15535
  const k = z(!0), R = z(!0), T = async (K) => {
15536
15536
  const ee = { name: "1" };
15537
15537
  K != null && K.id && (ee.spaceId = K.id);
15538
- const [oe, Je] = await q6(ee).run();
15538
+ const [oe, Je] = await j6(ee).run();
15539
15539
  return oe ? {} : Je;
15540
15540
  }, P = async (K) => {
15541
- const ee = { name: K || "" }, [oe, Je] = await j6(ee).run();
15541
+ const ee = { name: K || "" }, [oe, Je] = await V6(ee).run();
15542
15542
  return oe ? {} : Je;
15543
15543
  }, N = z(!0), I = z(!0), L = z([]), M = async () => {
15544
- const [K, ee] = await W6().run({ pageIndex: -1, pageSize: -1 });
15544
+ const [K, ee] = await q6().run({ pageIndex: -1, pageSize: -1 });
15545
15545
  if (K) return {};
15546
15546
  L.value = ee.data.filter((oe) => oe.status), L.value.length > 0 && (s.value.workOrderRules = L.value[0].id);
15547
15547
  };
@@ -15578,13 +15578,13 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15578
15578
  }, de = (K) => {
15579
15579
  K == "eventTypeId" && (s.value.eventLevelId = null, Q()), K == "eventLevelId" && ne(), K == "interval" && (d.value.timeLimit = "", s.value.interval == 3 ? (w.value = !0, s.value.timeLimit = "") : w.value = !1);
15580
15580
  }, H = async () => {
15581
- const [K, ee] = await V6().run();
15581
+ const [K, ee] = await K6().run();
15582
15582
  if (K) return {};
15583
15583
  x.value = ee, s.value.eventTypeId || (s.value.eventTypeId = ee[0] ? ee[0].id : null), Q();
15584
15584
  }, Q = async () => {
15585
15585
  const K = {
15586
15586
  eventTypeId: s.value.eventTypeId
15587
- }, [ee, oe] = await K6(K).run();
15587
+ }, [ee, oe] = await G6(K).run();
15588
15588
  if (ee) return {};
15589
15589
  const Je = { 1: Ce("一级").value, 2: Ce("二级").value, 3: Ce("三级").value, 4: Ce("四级").value };
15590
15590
  _.value = oe.map((rn) => ({
@@ -15595,7 +15595,7 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15595
15595
  const K = {
15596
15596
  eventTypeId: s.value.eventTypeId,
15597
15597
  eventLevel: s.value.eventLevelId
15598
- }, [ee, oe] = await G6(K).run();
15598
+ }, [ee, oe] = await X6(K).run();
15599
15599
  if (ee) return {};
15600
15600
  s.value.interval = oe.handleTimeUnit, oe.handleTimeUnit == 3 ? s.value.timeLimit = "" : s.value.timeLimit = oe.handleTime;
15601
15601
  }, te = (K) => {
@@ -15607,7 +15607,7 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15607
15607
  projectId: a.projectId
15608
15608
  };
15609
15609
  c.value = !0;
15610
- const [ee, oe] = await M6(K).run();
15610
+ const [ee, oe] = await z6(K).run();
15611
15611
  if (ee) {
15612
15612
  c.value = !1;
15613
15613
  return;
@@ -15641,7 +15641,7 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15641
15641
  //处理类型id
15642
15642
  };
15643
15643
  s.value.processTypeId === "createorder" ? (K.path = R.value ? "" : s.value.customPath, K.topic = I.value ? "" : s.value.reportTheme, K.spaceId = R.value ? "" : s.value.reportPosition ?? "", K.orderId = s.value.workOrderRules) : s.value.processTypeId === "createcontingency" ? (K.eventTypeId = s.value.eventTypeId, K.eventLevelId = s.value.eventLevelId, K.timeLimit = s.value.interval == 3 ? null : Number(s.value.timeLimit), K.interval = s.value.interval) : (K.reason = s.value.reason, K.treatmentPlan = s.value.treatmentPlan, K.remarks = s.value.remarks), c.value = !0, l("emitFn", "startHandle");
15644
- const [ee, oe] = await z6(K, {
15644
+ const [ee, oe] = await H6(K, {
15645
15645
  params: {
15646
15646
  projectId: a.projectId
15647
15647
  }
@@ -15659,7 +15659,7 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15659
15659
  return r({
15660
15660
  open: Pe,
15661
15661
  close: ve
15662
- }), (K, ee) => (_e(), Ke("div", X6, [
15662
+ }), (K, ee) => (_e(), Ke("div", Q6, [
15663
15663
  ae(D(Er), {
15664
15664
  modelValue: h.value,
15665
15665
  "onUpdate:modelValue": ee[31] || (ee[31] = (oe) => h.value = oe),
@@ -15680,7 +15680,7 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15680
15680
  )
15681
15681
  ]),
15682
15682
  footer: fe(() => [
15683
- se("div", eS, [
15683
+ se("div", tS, [
15684
15684
  ae(D(It), {
15685
15685
  size: "middle",
15686
15686
  onClick: He
@@ -15814,9 +15814,9 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15814
15814
  marginRight: "0"
15815
15815
  }, {
15816
15816
  default: fe(() => [
15817
- se("div", Q6, [
15818
- se("div", Z6, [
15819
- ae(D(MC), {
15817
+ se("div", Z6, [
15818
+ se("div", Y6, [
15819
+ ae(D(zC), {
15820
15820
  borderType: "underline",
15821
15821
  props: { disabled: "_disabled", label: "name" },
15822
15822
  modelValue: s.value.reportPosition,
@@ -15877,7 +15877,7 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15877
15877
  marginRight: "0"
15878
15878
  }, {
15879
15879
  default: fe(() => [
15880
- se("div", Y6, [
15880
+ se("div", J6, [
15881
15881
  ae(D(E0), {
15882
15882
  maxlength: "20",
15883
15883
  disabled: N.value,
@@ -15978,7 +15978,7 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
15978
15978
  marginRight: "0"
15979
15979
  }, {
15980
15980
  default: fe(() => [
15981
- se("div", J6, [
15981
+ se("div", eS, [
15982
15982
  ae(D(M0), {
15983
15983
  class: "select",
15984
15984
  modelValue: s.value.interval,
@@ -16018,18 +16018,18 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
16018
16018
  }, 8, ["modelValue"])
16019
16019
  ]));
16020
16020
  }
16021
- }), rS = /* @__PURE__ */ Ut(nS, [["__scopeId", "data-v-2eaa1bda"]]), oS = (i, r, n) => ({
16022
- handleAlarmVue: () => kt(rS, {
16021
+ }), oS = /* @__PURE__ */ Ut(rS, [["__scopeId", "data-v-2eaa1bda"]]), iS = (i, r, n) => ({
16022
+ handleAlarmVue: () => kt(oS, {
16023
16023
  handerIds: r.value,
16024
16024
  projectId: Mo().id,
16025
16025
  ref: i,
16026
16026
  onEmitFn: (l, c) => {
16027
16027
  }
16028
16028
  })
16029
- }), iS = { class: "alarm-msg" }, aS = { style: { position: "relative" } }, sS = { class: "title-left" }, lS = { class: "title-box" }, cS = { class: "content-box" }, uS = { class: "alarm-msg-line" }, fS = { class: "alarm-msg-line-left" }, dS = { class: "alarm-msg-line" }, pS = { class: "alarm-msg-line-left" }, hS = { class: "alarm-msg-line-right alarm-content-object" }, vS = { class: "alarm-msg-line" }, xS = { class: "alarm-msg-line-left" }, gS = { class: "alarm-msg-line-right alarm-content" }, mS = { class: "btn-box" }, _S = {
16029
+ }), aS = { class: "alarm-msg" }, sS = { style: { position: "relative" } }, lS = { class: "title-left" }, cS = { class: "title-box" }, uS = { class: "content-box" }, fS = { class: "alarm-msg-line" }, dS = { class: "alarm-msg-line-left" }, pS = { class: "alarm-msg-line" }, hS = { class: "alarm-msg-line-left" }, vS = { class: "alarm-msg-line-right alarm-content-object" }, xS = { class: "alarm-msg-line" }, gS = { class: "alarm-msg-line-left" }, mS = { class: "alarm-msg-line-right alarm-content" }, _S = { class: "btn-box" }, CS = {
16030
16030
  name: "alarm"
16031
- }, CS = /* @__PURE__ */ at({
16032
- ..._S,
16031
+ }, yS = /* @__PURE__ */ at({
16032
+ ...CS,
16033
16033
  props: {
16034
16034
  alarmhandle: { type: Boolean, default: !1 },
16035
16035
  msgItem: { default: {} }
@@ -16046,8 +16046,8 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
16046
16046
  null,
16047
16047
  [
16048
16048
  Ie(` <div class="alarm-msg" :style="{ 'border-color': msgItem.color }"> `),
16049
- se("div", iS, [
16050
- se("div", aS, [
16049
+ se("div", aS, [
16050
+ se("div", sS, [
16051
16051
  se(
16052
16052
  "div",
16053
16053
  {
@@ -16055,13 +16055,13 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
16055
16055
  class: "title-detail"
16056
16056
  },
16057
16057
  [
16058
- se("div", sS, [
16058
+ se("div", lS, [
16059
16059
  Ie(` <div class="icon-box" :style="{ color: msgItem.color }">\r
16060
16060
  !\r
16061
16061
  </div> `),
16062
16062
  se(
16063
16063
  "div",
16064
- lS,
16064
+ cS,
16065
16065
  Ee(D(Ce)("新告警").value),
16066
16066
  1
16067
16067
  /* TEXT */
@@ -16078,11 +16078,11 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
16078
16078
  4
16079
16079
  /* STYLE */
16080
16080
  ),
16081
- se("div", cS, [
16082
- se("div", uS, [
16081
+ se("div", uS, [
16082
+ se("div", fS, [
16083
16083
  se(
16084
16084
  "div",
16085
- fS,
16085
+ dS,
16086
16086
  Ee(D(Ce)("告警等级:").value),
16087
16087
  1
16088
16088
  /* TEXT */
@@ -16098,39 +16098,39 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
16098
16098
  /* TEXT, STYLE */
16099
16099
  )
16100
16100
  ]),
16101
- se("div", dS, [
16101
+ se("div", pS, [
16102
16102
  se(
16103
16103
  "div",
16104
- pS,
16104
+ hS,
16105
16105
  Ee(D(Ce)("告警对象:").value),
16106
16106
  1
16107
16107
  /* TEXT */
16108
16108
  ),
16109
16109
  se(
16110
16110
  "div",
16111
- hS,
16111
+ vS,
16112
16112
  Ee(f.msgItem.equipmentName || ""),
16113
16113
  1
16114
16114
  /* TEXT */
16115
16115
  )
16116
16116
  ]),
16117
- se("div", vS, [
16117
+ se("div", xS, [
16118
16118
  se(
16119
16119
  "div",
16120
- xS,
16120
+ gS,
16121
16121
  Ee(D(Ce)("告警内容:").value),
16122
16122
  1
16123
16123
  /* TEXT */
16124
16124
  ),
16125
16125
  se(
16126
16126
  "div",
16127
- gS,
16127
+ mS,
16128
16128
  Ee(f.msgItem.alarmContent || ""),
16129
16129
  1
16130
16130
  /* TEXT */
16131
16131
  )
16132
16132
  ]),
16133
- se("div", mS, [
16133
+ se("div", _S, [
16134
16134
  f.msgItem.equipmentCode && f.msgItem.equipmentPanelCode ? (_e(), Ve(D(It), {
16135
16135
  key: 0,
16136
16136
  block: "",
@@ -16175,7 +16175,7 @@ const P6 = wt(`/api/tool/event-bus/${ha}/`), _0 = P6.post("/publish"), R6 = na.g
16175
16175
  ));
16176
16176
  }
16177
16177
  });
16178
- let yS = (i = 21) => {
16178
+ let bS = (i = 21) => {
16179
16179
  let r = "", n = crypto.getRandomValues(new Uint8Array(i));
16180
16180
  for (; i--; ) {
16181
16181
  let a = n[i] & 63;
@@ -16183,7 +16183,7 @@ let yS = (i = 21) => {
16183
16183
  }
16184
16184
  return r;
16185
16185
  };
16186
- const bS = () => {
16186
+ const wS = () => {
16187
16187
  const i = z(null), r = z(0), n = z(null), a = z(null), l = z([]), c = z([]), f = z(!1), p = z(!1), h = z(!1), s = z({
16188
16188
  playId: "",
16189
16189
  // 播放的告警的recordId
@@ -16210,7 +16210,7 @@ const bS = () => {
16210
16210
  N.push({ alarmId: P.recordId }), l.value = N, (I = n.value) == null || I.open();
16211
16211
  }, { entryApp: w } = Gi.hooks.useEntryApp(), x = (P) => {
16212
16212
  pd(P.equipmentCode, P.equipmentPanelCode, null, null, null, !1, P.createTime);
16213
- }, { handleAlarmVue: _ } = oS(n, l), C = async () => {
16213
+ }, { handleAlarmVue: _ } = iS(n, l), C = async () => {
16214
16214
  var I;
16215
16215
  const N = (((I = Oe().appcategorys) == null ? void 0 : I.map((L) => L.apps).flat()) ?? []).find((L) => L.code === "alarm");
16216
16216
  N && w({ microApp: N, menuPath: `/${N.routeUrl}/realTimeAlarm` });
@@ -16221,13 +16221,13 @@ const bS = () => {
16221
16221
  }
16222
16222
  }, v = (P) => {
16223
16223
  if (!P) return;
16224
- const N = yS();
16224
+ const N = bS();
16225
16225
  Vi.open({
16226
16226
  key: N,
16227
16227
  class: "alarm-notify",
16228
16228
  message: Ce("新告警").value,
16229
16229
  placement: "bottomRight",
16230
- description: kt(CS, {
16230
+ description: kt(yS, {
16231
16231
  msgItem: P,
16232
16232
  alarmhandle: f.value,
16233
16233
  onHanderDetail: x,
@@ -16271,7 +16271,7 @@ const bS = () => {
16271
16271
  s.value.loopCount = s.value.loopCount + 1, s.value.loopTotalCount && s.value.loopTotalCount && (s.value.loopCount == s.value.loopTotalCount ? (s.value.playPath = "", s.value.isplay = !1, s.value.playId = "", s.value.loopTotalCount = 0, s.value.loopCount = 0, s.value.playLine = null) : a.value.play());
16272
16272
  };
16273
16273
  }, R = async () => {
16274
- const [P, N] = await H6().run();
16274
+ const [P, N] = await W6().run();
16275
16275
  P || (h.value = N.isEnable);
16276
16276
  };
16277
16277
  return {
@@ -16282,7 +16282,7 @@ const bS = () => {
16282
16282
  handleAlarmVue: _,
16283
16283
  creatAlarmSocket: async () => {
16284
16284
  R();
16285
- const [P, N] = await O6().run({
16285
+ const [P, N] = await U6().run({
16286
16286
  code: "alarm",
16287
16287
  showBtn: !0
16288
16288
  });
@@ -16303,10 +16303,10 @@ const bS = () => {
16303
16303
  }));
16304
16304
  }
16305
16305
  };
16306
- }, wS = ["src", "muted", "loop"], AS = /* @__PURE__ */ at({
16306
+ }, AS = ["src", "muted", "loop"], ES = /* @__PURE__ */ at({
16307
16307
  __name: "index",
16308
16308
  setup(i) {
16309
- const { alarmSocket: r, creatAlarmSocket: n, audioObj: a, audioAlarmRef: l, handleAlarmVue: c } = bS();
16309
+ const { alarmSocket: r, creatAlarmSocket: n, audioObj: a, audioAlarmRef: l, handleAlarmVue: c } = wS();
16310
16310
  return An(async () => {
16311
16311
  await ia(), n();
16312
16312
  }), Oo(() => {
@@ -16324,22 +16324,22 @@ const bS = () => {
16324
16324
  muted: !D(a).isplay,
16325
16325
  loop: D(a).loop,
16326
16326
  autoplay: ""
16327
- }, null, 8, wS)
16327
+ }, null, 8, AS)
16328
16328
  ],
16329
16329
  64
16330
16330
  /* STABLE_FRAGMENT */
16331
16331
  ));
16332
16332
  }
16333
- }), ES = () => {
16333
+ }), SS = () => {
16334
16334
  const i = z(null), r = z(null), n = () => {
16335
16335
  i.value && (clearTimeout(i.value), i.value = null), r.value && (clearInterval(r.value), r.value = null);
16336
16336
  }, a = async () => {
16337
- if (!pC())
16337
+ if (!hC())
16338
16338
  try {
16339
- const { refreshToken: v } = fd().getData();
16339
+ const { refreshToken: v } = cd().getData();
16340
16340
  if (!v)
16341
16341
  return;
16342
- await dC($0) && f();
16342
+ await pC($0) && f();
16343
16343
  } catch {
16344
16344
  }
16345
16345
  }, l = () => {
@@ -16396,7 +16396,7 @@ const bS = () => {
16396
16396
  stopTokenRefresh: d,
16397
16397
  refreshToken: a
16398
16398
  };
16399
- }, SS = { class: "das-main-app-container" }, BS = /* @__PURE__ */ at({
16399
+ }, BS = { class: "das-main-app-container" }, kS = /* @__PURE__ */ at({
16400
16400
  __name: "index",
16401
16401
  props: {
16402
16402
  showLayout: { type: Boolean, default: !0 }
@@ -16414,17 +16414,17 @@ const bS = () => {
16414
16414
  },
16415
16415
  { immediate: !0 }
16416
16416
  );
16417
- const { initNextTick: h } = WE(), { loading: s, pageKey: d, commandList: w, initNextTick: x } = qE(h);
16418
- QE(h, x), XE(), KE(), t3();
16419
- const { $changePwd: _, $personSetDialog: C } = YE(), { $aiPanel: E, toApp: b, getAIPanelStatus: v } = l3(), { changeEnterprisesVisible: m, userId: y, tenantId: S, changeEnterprise: k } = lp();
16420
- VE();
16421
- const { fontColor: R, backgroudColor: T, borderColor: P } = GE();
16422
- return c3(), u3(w), f3(), p3(), q3(), $6(), ES(), (N, I) => (_e(), Ke("div", SS, [
16417
+ const { initNextTick: h } = qE(), { loading: s, pageKey: d, commandList: w, initNextTick: x } = jE(h);
16418
+ ZE(h, x), QE(), GE(), n3();
16419
+ const { $changePwd: _, $personSetDialog: C } = JE(), { $aiPanel: E, toApp: b, getAIPanelStatus: v } = c3(), { changeEnterprisesVisible: m, userId: y, tenantId: S, changeEnterprise: k } = lp();
16420
+ KE();
16421
+ const { fontColor: R, backgroudColor: T, borderColor: P } = XE();
16422
+ return u3(), f3(w), d3(), h3(), j3(), N6(), SS(), (N, I) => (_e(), Ke("div", BS, [
16423
16423
  Ie(` <button @click="test(0)">test</button>\r
16424
16424
  <button style="margin-left: 5px" @click="test(1)">test2</button> `),
16425
- ae(D(cy), { platformInitNextTick: D(h) }, {
16425
+ ae(D(uy), { platformInitNextTick: D(h) }, {
16426
16426
  default: fe(() => [
16427
- ae(KC, {
16427
+ ae(GC, {
16428
16428
  loading: D(s),
16429
16429
  pageKey: D(d) + D(Uo),
16430
16430
  showLayout: l.value,
@@ -16469,7 +16469,7 @@ const bS = () => {
16469
16469
  ),
16470
16470
  Ie(" 个性化设置 "),
16471
16471
  ae(
16472
- D($E),
16472
+ D(NE),
16473
16473
  {
16474
16474
  ref_key: "$personSetDialog",
16475
16475
  ref: C
@@ -16487,10 +16487,10 @@ const bS = () => {
16487
16487
  onGetStatus: D(v)
16488
16488
  }, null, 8, ["platformInitNextTick", "onToApp", "onGetStatus"]),
16489
16489
  Ie(" 告警 "),
16490
- ae(D(AS))
16490
+ ae(D(ES))
16491
16491
  ]));
16492
16492
  }
16493
- }), kS = /* @__PURE__ */ Ut(BS, [["__scopeId", "data-v-c14c1d2c"]]), DS = {
16493
+ }), DS = /* @__PURE__ */ Ut(kS, [["__scopeId", "data-v-c14c1d2c"]]), IS = {
16494
16494
  正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time Video", _appCode: "framework" },
16495
16495
  声音: { "zh-CN": "声音", en: "Sound", _appCode: "framework" },
16496
16496
  截图: { "zh-CN": "截图", en: "Screenshot", _appCode: "framework" },
@@ -16681,12 +16681,12 @@ const bS = () => {
16681
16681
  _appCode: "framework"
16682
16682
  }
16683
16683
  };
16684
- V_(DS);
16684
+ V_(IS);
16685
16685
  z("@das-fed/web");
16686
- const IS = [
16686
+ const TS = [
16687
16687
  {
16688
16688
  path: jt,
16689
- component: () => import("./index-D8jnUW9X.js"),
16689
+ component: () => import("./index-CwPhZ7VL.js"),
16690
16690
  meta: {
16691
16691
  layout: {
16692
16692
  minWidth: "0px"
@@ -16695,11 +16695,11 @@ const IS = [
16695
16695
  },
16696
16696
  {
16697
16697
  path: gd,
16698
- component: () => import("./index-cz4bW5fK.js")
16698
+ component: () => import("./index-BLOwaLgb.js")
16699
16699
  }
16700
- ], N5 = {
16701
- routes: IS,
16702
- Layout: kS,
16700
+ ], O5 = {
16701
+ routes: TS,
16702
+ Layout: DS,
16703
16703
  data: {
16704
16704
  homeInfo: Hn,
16705
16705
  personalConfig: hn
@@ -16717,7 +16717,7 @@ export {
16717
16717
  B0 as d,
16718
16718
  S0 as g,
16719
16719
  ut as l,
16720
- N5 as m,
16720
+ O5 as m,
16721
16721
  hn as p,
16722
16722
  cr as u
16723
16723
  };