@das-fed/web 7.0.7-hot.62 → 7.0.7-hot.63

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.
@@ -13,49 +13,49 @@ import { pureImageSrc as zo } from "@das-fed/utils/pure-image-src";
13
13
  import { DasNotification as Ki } from "@das-fed/ui/packages/components/notification/index";
14
14
  import { flatTree as Gt, isEmpty as aC, filterTreeArray as sC, treeFind as Rs, setBrowseTitle as lC, dateFormat as cC, updateFavIcon as uC, runPromiseByQueue as fC, getUrlParams as b0, objEqual as w0, setShowWatermark as A0, setShowLayout as E0, appendQueryParams as dC, withToken as pC } from "@das-fed/utils/common-tools";
15
15
  import { setProcessEngineProject as ud, setProcessEngineToken as hC } from "@das-fed/utils/process-engine-info";
16
- import { oauthServer as fd, justauth as N0, enterpriseright as ra, iotModules as vC, portal as jn, systemConfiguration as oa, oauthClient as gC } from "@das-fed/utils/api-services/modules";
16
+ import { setThirdLogoutSource as vC, isThirdLogin as gC, thirdLogout as xC } from "@das-fed/utils/create-api-service/thirdLogout";
17
+ import { oauthServer as fd, justauth as N0, enterpriseright as ra, iotModules as mC, portal as jn, systemConfiguration as oa, oauthClient as _C } from "@das-fed/utils/api-services/modules";
17
18
  import { createService as wt } from "@das-fed/utils/create-api-service";
18
19
  import { getConfig as Vn } from "@das-fed/utils/config";
19
- import { getAccessToken as xC, clearPlatformAuthStorage as mC, tokenStorage as dd, getAccessTokenInfo as Mi } from "@das-fed/utils/token-tools";
20
- import { login as pd, real_uri as hd, getTokenParams as O0, getLoginType as _C, refreshToken as CC } from "@das-fed/utils/create-api-service/sso";
21
- import { hasUnauthorizedRecovery as yC } from "@das-fed/utils/create-api-service/unauthorized-recovery";
22
- import { useGetAuth as bC } from "@das-fed/utils/hooks/use-get-auth";
23
- import { systemConfiguration as wC, portal as AC, enterpriseright as U0, createService as io, spaceManage as vd } from "@das-fed/utils/api-services";
20
+ import { getAccessToken as CC, clearPlatformAuthStorage as yC, tokenStorage as dd, getAccessTokenInfo as Mi } from "@das-fed/utils/token-tools";
21
+ import { login as pd, real_uri as hd, getTokenParams as O0, getLoginType as bC, refreshToken as wC } from "@das-fed/utils/create-api-service/sso";
22
+ import { hasUnauthorizedRecovery as AC } from "@das-fed/utils/create-api-service/unauthorized-recovery";
23
+ import { useGetAuth as EC } from "@das-fed/utils/hooks/use-get-auth";
24
+ import { systemConfiguration as SC, portal as BC, enterpriseright as U0, createService as io, spaceManage as vd } from "@das-fed/utils/api-services";
24
25
  import S0 from "dayjs";
25
26
  import { DasDialog as Er } from "@das-fed/ui/packages/components/dialog/index";
26
27
  import { DasButton as kt } from "@das-fed/ui/packages/components/button/index";
27
28
  import { vDasTooltip as Gi } from "@das-fed/ui/packages/components/text-tooltip/index";
28
- import { setPersonalInfo as EC } from "@das-fed/utils/common-info/set-personal-info";
29
- import { isThirdLogin as SC, thirdLogout as BC } from "@das-fed/utils/create-api-service/thirdLogout";
30
- import { setThemeRule as IC, getVar as ku } from "@das-fed/web/packages/theme/index";
31
- import { devicePanelShow as gd, closeDevicePanel as DC, alarmDevicePanelShow as kC, closeAlarmPanel as TC } from "@das-fed/ui/packages/business-components/device-panel/index";
32
- import { DasIconWarningFace as FC } from "@das-fed/ui/packages/icons/warning-face/index";
29
+ import { setPersonalInfo as IC } from "@das-fed/utils/common-info/set-personal-info";
30
+ import { setThemeRule as DC, getVar as ku } from "@das-fed/web/packages/theme/index";
31
+ import { devicePanelShow as gd, closeDevicePanel as kC, alarmDevicePanelShow as TC, closeAlarmPanel as FC } from "@das-fed/ui/packages/business-components/device-panel/index";
32
+ import { DasIconWarningFace as PC } from "@das-fed/ui/packages/icons/warning-face/index";
33
33
  import { socketService as ia } from "@das-fed/utils/webSocket-service";
34
- import { userInfoNextTick as PC, tokenNextTick as aa } from "@das-fed/utils/nextTiken";
34
+ import { userInfoNextTick as RC, tokenNextTick as aa } from "@das-fed/utils/nextTiken";
35
35
  import { mainAppFramework as Xi } from "@das-fed/web/packages/main-app-framework/index";
36
36
  import { DasAutoRegisterIcon as xd, DasIcon as Jr } 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 RC } from "@das-fed/ui/packages/components/live-player/index";
38
+ import { DasLivePlayer as LC } from "@das-fed/ui/packages/components/live-player/index";
39
39
  import { DasSpin as M0 } from "@das-fed/ui/packages/components/spin/index";
40
- import { DasWatermark as LC } from "@das-fed/ui/packages/components/watermark/index";
41
- import { DasDrawer as $C } from "@das-fed/ui/packages/components/drawer/index";
42
- import { DasTabs as NC } from "@das-fed/ui/packages/components/tabs/index";
43
- import { DasUpdateConfirmDialogRef as OC, DasUpdateConfirmDialog as UC } from "@das-fed/ui/packages/business-components/update-confirm-dialog/index";
40
+ import { DasWatermark as $C } from "@das-fed/ui/packages/components/watermark/index";
41
+ import { DasDrawer as NC } from "@das-fed/ui/packages/components/drawer/index";
42
+ import { DasTabs as OC } from "@das-fed/ui/packages/components/tabs/index";
43
+ import { DasUpdateConfirmDialogRef as UC, DasUpdateConfirmDialog as MC } 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 MC } from "@das-fed/ui/packages/components/image-preview/index";
45
+ import { useImageViewer as zC } from "@das-fed/ui/packages/components/image-preview/index";
46
46
  import { DasForm as z0 } 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 zC, DasTableColumn as Ls } from "@das-fed/ui/packages/components/table/index";
48
+ import { DasTable as HC, DasTableColumn as Ls } from "@das-fed/ui/packages/components/table/index";
49
49
  import { DasSelect as H0 } from "@das-fed/ui/packages/components/select/index";
50
- import { DasIconSearch as HC } from "@das-fed/ui/packages/icons/search/index";
51
- import { DasTreeRef as WC, DasTree as md } from "@das-fed/ui/packages/components/tree/index";
52
- import { DasSearch as qC } from "@das-fed/ui/packages/components/search/index";
50
+ import { DasIconSearch as WC } from "@das-fed/ui/packages/icons/search/index";
51
+ import { DasTreeRef as qC, DasTree as md } from "@das-fed/ui/packages/components/tree/index";
52
+ import { DasSearch as jC } from "@das-fed/ui/packages/components/search/index";
53
53
  import { DasInput as B0 } from "@das-fed/ui/packages/components/input/index";
54
54
  import { DasMessage as _d } from "@das-fed/ui/packages/components/message/index";
55
- import { DasScrollbar as jC } from "@das-fed/ui/packages/components/scrollbar/index";
56
- import { DasSelectList as VC } from "@das-fed/ui/packages/components/select-list/index";
57
- import { DasSplitPanel as KC } from "@das-fed/ui/packages/components/split-panel/index";
58
- import { DasTreeSelect as GC } from "@das-fed/ui/packages/components/tree-select/index";
55
+ import { DasScrollbar as VC } from "@das-fed/ui/packages/components/scrollbar/index";
56
+ import { DasSelectList as KC } from "@das-fed/ui/packages/components/select-list/index";
57
+ import { DasSplitPanel as GC } from "@das-fed/ui/packages/components/split-panel/index";
58
+ import { DasTreeSelect as XC } from "@das-fed/ui/packages/components/tree-select/index";
59
59
  import { DasCheckbox as Tu } from "@das-fed/ui/packages/components/checkbox/index";
60
60
  const vn = "/home", Vt = "/application", Fu = [
61
61
  // { value: HomePath, label: '首页', path: HomePath, fixed: true },
@@ -78,15 +78,15 @@ const vn = "/home", Vt = "/application", Fu = [
78
78
  routeUrl: Vt,
79
79
  unClosed: !0
80
80
  }
81
- ], br = "/outerView", Cd = "/placeholder", XC = [
81
+ ], br = "/outerView", Cd = "/placeholder", QC = [
82
82
  { value: "0", label: "个性化设置" },
83
83
  { value: "1", label: "个人中心" },
84
84
  { value: "2", label: "修改密码" },
85
85
  { value: "3", label: "退出登录" }
86
- ], QC = {
86
+ ], ZC = {
87
87
  key: 0,
88
88
  class: "box-banner-wrap"
89
- }, ZC = { class: "icon-wrap" }, YC = /* @__PURE__ */ st({
89
+ }, YC = { class: "icon-wrap" }, JC = /* @__PURE__ */ st({
90
90
  __name: "banner",
91
91
  emits: ["close-tip"],
92
92
  setup(o, { emit: r }) {
@@ -100,8 +100,8 @@ const vn = "/home", Vt = "/application", Fu = [
100
100
  });
101
101
  return id(() => {
102
102
  h();
103
- }), (s, d) => a.value ? De("v-if", !0) : (_e(), Ke("div", QC, [
104
- se("div", ZC, [
103
+ }), (s, d) => a.value ? De("v-if", !0) : (_e(), Ke("div", ZC, [
104
+ se("div", YC, [
105
105
  ae(D(eC), {
106
106
  class: "icons",
107
107
  iconColor: "#fdaf1a"
@@ -124,7 +124,7 @@ const vn = "/home", Vt = "/application", Fu = [
124
124
  for (const [a, l] of r)
125
125
  n[a] = l;
126
126
  return n;
127
- }, JC = /* @__PURE__ */ Mt(YC, [["__scopeId", "data-v-2470d845"]]), ey = /* @__PURE__ */ st({
127
+ }, ey = /* @__PURE__ */ Mt(JC, [["__scopeId", "data-v-2470d845"]]), ty = /* @__PURE__ */ st({
128
128
  __name: "index",
129
129
  setup(o) {
130
130
  const r = ea(), n = W("");
@@ -134,9 +134,9 @@ const vn = "/home", Vt = "/application", Fu = [
134
134
  n.value = a;
135
135
  },
136
136
  { immediate: !0 }
137
- ), (a, l) => n.value.startsWith("/iot/iot") ? (_e(), Ve(JC, { key: 0 })) : De("v-if", !0);
137
+ ), (a, l) => n.value.startsWith("/iot/iot") ? (_e(), Ve(ey, { key: 0 })) : De("v-if", !0);
138
138
  }
139
- }), ty = /* @__PURE__ */ st({
139
+ }), ny = /* @__PURE__ */ st({
140
140
  __name: "base-layout",
141
141
  props: {
142
142
  loading: { type: Boolean, default: !1 },
@@ -185,7 +185,7 @@ const vn = "/home", Vt = "/application", Fu = [
185
185
  ]),
186
186
  banner: de(() => [
187
187
  sr(l.$slots, "banner", {}, () => [
188
- ae(ey)
188
+ ae(ty)
189
189
  ])
190
190
  ]),
191
191
  _: 3
@@ -194,19 +194,19 @@ const vn = "/home", Vt = "/application", Fu = [
194
194
  }
195
195
  });
196
196
  var Pu;
197
- const W0 = typeof window < "u", ny = (o) => typeof o == "string", ry = () => {
197
+ const W0 = typeof window < "u", ry = (o) => typeof o == "string", oy = () => {
198
198
  };
199
199
  W0 && ((Pu = window == null ? void 0 : window.navigator) != null && Pu.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
200
200
  function yd(o) {
201
201
  return typeof o == "function" ? o() : D(o);
202
202
  }
203
- function oy(o) {
203
+ function iy(o) {
204
204
  return o;
205
205
  }
206
206
  function bd(o) {
207
207
  return z_() ? (H_(o), !0) : !1;
208
208
  }
209
- function iy(o, r = !0) {
209
+ function ay(o, r = !0) {
210
210
  W_() ? An(o) : r ? o() : yr(o);
211
211
  }
212
212
  function wd(o) {
@@ -214,11 +214,11 @@ function wd(o) {
214
214
  const n = yd(o);
215
215
  return (r = n == null ? void 0 : n.$el) != null ? r : n;
216
216
  }
217
- const ay = W0 ? window : void 0, sy = W0 ? window.document : void 0;
218
- function ly(...o) {
217
+ const sy = W0 ? window : void 0, ly = W0 ? window.document : void 0;
218
+ function cy(...o) {
219
219
  let r, n, a, l;
220
- if (ny(o[0]) || Array.isArray(o[0]) ? ([n, a, l] = o, r = ay) : [r, n, a, l] = o, !r)
221
- return ry;
220
+ if (ry(o[0]) || Array.isArray(o[0]) ? ([n, a, l] = o, r = sy) : [r, n, a, l] = o, !r)
221
+ return oy;
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 ly(...o) {
229
229
  };
230
230
  return bd(s), s;
231
231
  }
232
- function cy(o, r = !1) {
232
+ function uy(o, r = !1) {
233
233
  const n = W(), a = () => n.value = !!o();
234
- return a(), iy(a, r), n;
234
+ return a(), ay(a, r), n;
235
235
  }
236
236
  const Ru = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Lu = "__vueuse_ssr_handlers__";
237
237
  Ru[Lu] = Ru[Lu] || {};
@@ -278,9 +278,9 @@ const $u = [
278
278
  ]
279
279
  ];
280
280
  function Ho(o, r = {}) {
281
- const { document: n = sy, autoExit: a = !1 } = r, l = o || (n == null ? void 0 : n.querySelector("html")), c = W(!1);
281
+ const { document: n = ly, autoExit: a = !1 } = r, l = o || (n == null ? void 0 : n.querySelector("html")), c = W(!1);
282
282
  let f = $u[0];
283
- const p = cy(() => {
283
+ const p = uy(() => {
284
284
  if (n) {
285
285
  for (const E of $u)
286
286
  if (E[1] in n)
@@ -302,7 +302,7 @@ function Ho(o, r = {}) {
302
302
  async function y() {
303
303
  c.value ? await v() : await _();
304
304
  }
305
- return n && ly(n, w, () => {
305
+ return n && cy(n, w, () => {
306
306
  c.value = !!(n != null && n[d]);
307
307
  }, !1), a && bd(v), {
308
308
  isSupported: p,
@@ -316,15 +316,15 @@ var Nu;
316
316
  (function(o) {
317
317
  o.UP = "UP", o.RIGHT = "RIGHT", o.DOWN = "DOWN", o.LEFT = "LEFT", o.NONE = "NONE";
318
318
  })(Nu || (Nu = {}));
319
- var uy = Object.defineProperty, Ou = Object.getOwnPropertySymbols, fy = Object.prototype.hasOwnProperty, dy = Object.prototype.propertyIsEnumerable, Uu = (o, r, n) => r in o ? uy(o, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : o[r] = n, py = (o, r) => {
319
+ var fy = Object.defineProperty, Ou = Object.getOwnPropertySymbols, dy = Object.prototype.hasOwnProperty, py = Object.prototype.propertyIsEnumerable, Uu = (o, r, n) => r in o ? fy(o, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : o[r] = n, hy = (o, r) => {
320
320
  for (var n in r || (r = {}))
321
- fy.call(r, n) && Uu(o, n, r[n]);
321
+ dy.call(r, n) && Uu(o, n, r[n]);
322
322
  if (Ou)
323
323
  for (var n of Ou(r))
324
- dy.call(r, n) && Uu(o, n, r[n]);
324
+ py.call(r, n) && Uu(o, n, r[n]);
325
325
  return o;
326
326
  };
327
- const hy = {
327
+ const vy = {
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 hy = {
350
350
  easeOutBack: [0.34, 1.56, 0.64, 1],
351
351
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
352
352
  };
353
- py({
354
- linear: oy
355
- }, hy);
356
- const vy = wC.get("watermark"), gy = /* @__PURE__ */ st({
353
+ hy({
354
+ linear: iy
355
+ }, vy);
356
+ const gy = SC.get("watermark"), xy = /* @__PURE__ */ st({
357
357
  __name: "index",
358
358
  props: {
359
359
  platformInitNextTick: {}
@@ -381,11 +381,11 @@ const vy = wC.get("watermark"), gy = /* @__PURE__ */ st({
381
381
  }, v = async () => {
382
382
  var m, b, B, I, P, T, F;
383
383
  s.value = !0, await (r == null ? void 0 : r.platformInitNextTick());
384
- const [E, C] = await vy().run();
384
+ const [E, C] = await gy().run();
385
385
  if (E) return null;
386
386
  if (n.value = C, !!((m = n.value) != null && m.pageSwith)) {
387
387
  c.value = [];
388
- const { name: N, phone: k } = await PC();
388
+ const { name: N, phone: k } = await RC();
389
389
  let L = "";
390
390
  if ((b = n.value) != null && b.nameSwith && N && (c.value.push(N), L = L + `${N} `), (B = n.value) != null && B.phoneSwith && k) {
391
391
  const z = k.slice(-4);
@@ -419,7 +419,7 @@ const vy = wC.get("watermark"), gy = /* @__PURE__ */ st({
419
419
  const E = !!((x = n.value) != null && x.pageSwith);
420
420
  let C = ((m = y.query) == null ? void 0 : m.showWatermark) ?? !0;
421
421
  C === "false" && (C = !1), w(!!(E && C));
422
- }), (E, C) => (_e(), Ve(D(LC), {
422
+ }), (E, C) => (_e(), Ve(D($C), {
423
423
  class: "watermark",
424
424
  font: p,
425
425
  zIndex: 2147483647,
@@ -434,11 +434,11 @@ const vy = wC.get("watermark"), gy = /* @__PURE__ */ st({
434
434
  /* FORWARDED */
435
435
  }, 8, ["font", "content", "width", "height"]));
436
436
  }
437
- }), xy = /* @__PURE__ */ Mt(gy, [["__scopeId", "data-v-dacc9554"]]), my = {
437
+ }), my = /* @__PURE__ */ Mt(xy, [["__scopeId", "data-v-dacc9554"]]), _y = {
438
438
  "--menu-tip-diaolg-content": "#212121",
439
439
  "--menu-tip-diaolg-divide": "#d9d9d9",
440
440
  "--menu-tip-diaolg-info": "#999999"
441
- }, _y = ["innerHTML"], Cy = { class: "footer" }, yy = /* @__PURE__ */ st({
441
+ }, Cy = ["innerHTML"], yy = { class: "footer" }, by = /* @__PURE__ */ st({
442
442
  __name: "tip",
443
443
  props: {
444
444
  title: {},
@@ -460,7 +460,7 @@ const vy = wC.get("watermark"), gy = /* @__PURE__ */ st({
460
460
  onClosed: n.closeCallback
461
461
  }, {
462
462
  footer: de(() => [
463
- se("div", Cy, [
463
+ se("div", yy, [
464
464
  ae(D(kt), {
465
465
  btnType: "default",
466
466
  size: "small",
@@ -482,7 +482,7 @@ const vy = wC.get("watermark"), gy = /* @__PURE__ */ st({
482
482
  se("div", {
483
483
  class: "content",
484
484
  innerHTML: n.content
485
- }, null, 8, _y),
485
+ }, null, 8, Cy),
486
486
  n.desc && n.desc.length ? (_e(), Ke(
487
487
  Wn,
488
488
  { key: 0 },
@@ -521,18 +521,18 @@ const vy = wC.get("watermark"), gy = /* @__PURE__ */ st({
521
521
  /* STABLE */
522
522
  }, 8, ["modelValue", "width", "height", "title", "onClosed"]));
523
523
  }
524
- }), by = /* @__PURE__ */ Mt(yy, [["__scopeId", "data-v-816eb0f2"]]), Po = ({ title: o = "", content: r = "", desc: n = [] }) => new Promise((a) => {
524
+ }), wy = /* @__PURE__ */ Mt(by, [["__scopeId", "data-v-816eb0f2"]]), Po = ({ title: o = "", 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 = It(by, { title: o, content: r, desc: n, closeCallback: () => {
527
+ const f = It(wy, { title: o, 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
- IC(my);
533
- const wy = (o = {}) => {
532
+ DC(_y);
533
+ const Ay = (o = {}) => {
534
534
  sessionStorage.setItem("userInfo", JSON.stringify(o));
535
- }, Ay = (o = {}) => {
535
+ }, Ey = (o = {}) => {
536
536
  var n;
537
537
  sessionStorage.setItem("tenantInfo", JSON.stringify(o));
538
538
  const r = {
@@ -542,17 +542,17 @@ const wy = (o = {}) => {
542
542
  tenantId: ((n = o == null ? void 0 : o.tenant) == null ? void 0 : n.id) ?? ""
543
543
  };
544
544
  sessionStorage.setItem("hotentUserInfo", JSON.stringify(r));
545
- }, Ey = (o) => {
545
+ }, Sy = (o) => {
546
546
  sessionStorage.setItem("languages", JSON.stringify(o));
547
- }, Sy = (o = {}) => {
547
+ }, By = (o = {}) => {
548
548
  sessionStorage.setItem("home-config", JSON.stringify(o));
549
- }, By = (o = "") => {
549
+ }, Iy = (o = "") => {
550
550
  localStorage.setItem("fav-icon", o);
551
551
  }, Ad = (o) => {
552
552
  sessionStorage.setItem("projectInfo", JSON.stringify(o || { id: 0 })), sessionStorage.setItem("project", (o == null ? void 0 : o.id) || 0);
553
- }, Iy = (o = {}) => {
553
+ }, Dy = (o = {}) => {
554
554
  sessionStorage.setItem("project-message", JSON.stringify(o));
555
- }, Dy = () => {
555
+ }, ky = () => {
556
556
  sessionStorage.removeItem("projectInfo"), sessionStorage.removeItem("project");
557
557
  }, Kt = (o) => {
558
558
  let r = Dt();
@@ -592,7 +592,7 @@ const wy = (o = {}) => {
592
592
  for (const n in r.subAppList)
593
593
  r.subAppList[n].code === r.currentSubAppCode && (r.subAppList[n].currentMenuCode = o);
594
594
  sessionStorage.setItem("subApps", JSON.stringify(r));
595
- }, ky = (o, r) => {
595
+ }, Ty = (o, r) => {
596
596
  const n = "permission-btn", a = JSON.parse(sessionStorage.getItem(n) || "{}") || {}, l = o != null && o.length ? o.filter((h) => h.routeUrl) : [], c = o != null && o.length ? o.filter((h) => !h.routeUrl && h.children).map((h) => h.children).flat() : [], f = [...l, ...c], p = {};
597
597
  return f.forEach((h) => {
598
598
  var v;
@@ -622,13 +622,13 @@ const wy = (o = {}) => {
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
- }, Ty = (o, r) => {
625
+ }, Fy = (o, r) => {
626
626
  const n = "breadcrumb", a = o.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
- }, Fy = (o, r) => {
631
+ }, Py = (o, r) => {
632
632
  const n = "tabStyle", a = o.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 wy = (o = {}) => {
637
637
  };
638
638
  l[r] || (l[r] = {}), l[r][f] = p;
639
639
  }), sessionStorage.setItem(n, JSON.stringify(l)), l;
640
- }, Py = (o) => {
640
+ }, Ry = (o) => {
641
641
  sessionStorage.setItem("instance", JSON.stringify(o));
642
- }, Ry = () => {
643
- sessionStorage.removeItem("tabStyle");
644
642
  }, Ly = () => {
645
- sessionStorage.removeItem("breadcrumb");
643
+ sessionStorage.removeItem("tabStyle");
646
644
  }, $y = () => {
645
+ sessionStorage.removeItem("breadcrumb");
646
+ }, Ny = () => {
647
647
  sessionStorage.removeItem("tabs");
648
648
  }, Sd = () => {
649
649
  Ot([
@@ -653,11 +653,11 @@ const wy = (o = {}) => {
653
653
  { key: "menuCollapses", value: [] },
654
654
  { key: "subAppList", value: [] }
655
655
  ]);
656
- }, Ny = () => {
656
+ }, Oy = () => {
657
657
  sessionStorage.removeItem("permission-btn");
658
658
  }, q0 = () => {
659
- Ny(), Sd(), $y(), Ly(), Ry();
660
- }, Oy = (o) => {
659
+ Oy(), Sd(), Ny(), $y(), Ly();
660
+ }, Uy = (o) => {
661
661
  const r = JSON.parse(sessionStorage.getItem(o) || "{}");
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 wy = (o = {}) => {
676
676
  }
677
677
  };
678
678
  var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
679
- function Uy(o) {
679
+ function My(o) {
680
680
  return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
681
681
  }
682
- function My(o) {
682
+ function zy(o) {
683
683
  if (o.__esModule) return o;
684
684
  var r = o.default;
685
685
  if (typeof r == "function") {
@@ -699,14 +699,14 @@ function My(o) {
699
699
  }), n;
700
700
  }
701
701
  var Bd = { exports: {} };
702
- function zy(o) {
702
+ function Hy(o) {
703
703
  throw new Error('Could not dynamically require "' + o + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
704
704
  }
705
705
  var $s = { exports: {} };
706
- const Hy = {}, Wy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
706
+ const Wy = {}, qy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
707
707
  __proto__: null,
708
- default: Hy
709
- }, Symbol.toStringTag, { value: "Module" })), qy = /* @__PURE__ */ My(Wy);
708
+ default: Wy
709
+ }, Symbol.toStringTag, { value: "Module" })), jy = /* @__PURE__ */ zy(qy);
710
710
  var Mu;
711
711
  function Me() {
712
712
  return Mu || (Mu = 1, function(o, r) {
@@ -715,9 +715,9 @@ function Me() {
715
715
  })(Se, 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 Se < "u" && Se.crypto && (c = Se.crypto), !c && typeof zy == "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 Se < "u" && Se.crypto && (c = Se.crypto), !c && typeof Hy == "function")
719
719
  try {
720
- c = qy;
720
+ c = jy;
721
721
  } catch {
722
722
  }
723
723
  var f = function() {
@@ -1439,7 +1439,7 @@ function sa() {
1439
1439
  }(Ns)), Ns.exports;
1440
1440
  }
1441
1441
  var Os = { exports: {} }, Hu;
1442
- function jy() {
1442
+ function Vy() {
1443
1443
  return Hu || (Hu = 1, function(o, r) {
1444
1444
  (function(n, a) {
1445
1445
  o.exports = a(Me());
@@ -1461,7 +1461,7 @@ function jy() {
1461
1461
  }(Os)), Os.exports;
1462
1462
  }
1463
1463
  var Us = { exports: {} }, Wu;
1464
- function Vy() {
1464
+ function Ky() {
1465
1465
  return Wu || (Wu = 1, function(o, r) {
1466
1466
  (function(n, a) {
1467
1467
  o.exports = a(Me());
@@ -1630,7 +1630,7 @@ function Dr() {
1630
1630
  }(Ms)), Ms.exports;
1631
1631
  }
1632
1632
  var zs = { exports: {} }, ju;
1633
- function Ky() {
1633
+ function Gy() {
1634
1634
  return ju || (ju = 1, function(o, r) {
1635
1635
  (function(n, a) {
1636
1636
  o.exports = a(Me());
@@ -1874,7 +1874,7 @@ function j0() {
1874
1874
  }(qs)), qs.exports;
1875
1875
  }
1876
1876
  var js = { exports: {} }, Xu;
1877
- function Gy() {
1877
+ function Xy() {
1878
1878
  return Xu || (Xu = 1, function(o, r) {
1879
1879
  (function(n, a, l) {
1880
1880
  o.exports = a(Me(), j0());
@@ -2045,7 +2045,7 @@ function Dd() {
2045
2045
  }(Vs)), Vs.exports;
2046
2046
  }
2047
2047
  var Ks = { exports: {} }, Zu;
2048
- function Xy() {
2048
+ function Qy() {
2049
2049
  return Zu || (Zu = 1, function(o, r) {
2050
2050
  (function(n, a, l) {
2051
2051
  o.exports = a(Me(), sa(), Dd());
@@ -2075,7 +2075,7 @@ function Xy() {
2075
2075
  }(Ks)), Ks.exports;
2076
2076
  }
2077
2077
  var Gs = { exports: {} }, Yu;
2078
- function Qy() {
2078
+ function Zy() {
2079
2079
  return Yu || (Yu = 1, function(o, r) {
2080
2080
  (function(n, a, l) {
2081
2081
  o.exports = a(Me(), sa());
@@ -2185,7 +2185,7 @@ function Qy() {
2185
2185
  }(Gs)), Gs.exports;
2186
2186
  }
2187
2187
  var Xs = { exports: {} }, Ju;
2188
- function Zy() {
2188
+ function Yy() {
2189
2189
  return Ju || (Ju = 1, function(o, r) {
2190
2190
  (function(n, a) {
2191
2191
  o.exports = a(Me());
@@ -2656,7 +2656,7 @@ function V0() {
2656
2656
  }(Qs)), Qs.exports;
2657
2657
  }
2658
2658
  var Zs = { exports: {} }, tf;
2659
- function Yy() {
2659
+ function Jy() {
2660
2660
  return tf || (tf = 1, function(o, r) {
2661
2661
  (function(n, a, l) {
2662
2662
  o.exports = a(Me(), j0(), V0());
@@ -3324,7 +3324,7 @@ function Ct() {
3324
3324
  }(Js)), Js.exports;
3325
3325
  }
3326
3326
  var e0 = { exports: {} }, of;
3327
- function Jy() {
3327
+ function e2() {
3328
3328
  return of || (of = 1, function(o, r) {
3329
3329
  (function(n, a, l) {
3330
3330
  o.exports = a(Me(), Ct());
@@ -3354,7 +3354,7 @@ function Jy() {
3354
3354
  }(e0)), e0.exports;
3355
3355
  }
3356
3356
  var t0 = { exports: {} }, af;
3357
- function e2() {
3357
+ function t2() {
3358
3358
  return af || (af = 1, function(o, r) {
3359
3359
  (function(n, a, l) {
3360
3360
  o.exports = a(Me(), Ct());
@@ -3376,7 +3376,7 @@ function e2() {
3376
3376
  }(t0)), t0.exports;
3377
3377
  }
3378
3378
  var n0 = { exports: {} }, sf;
3379
- function t2() {
3379
+ function n2() {
3380
3380
  return sf || (sf = 1, function(o, r) {
3381
3381
  (function(n, a, l) {
3382
3382
  o.exports = a(Me(), Ct());
@@ -3415,7 +3415,7 @@ function t2() {
3415
3415
  }(n0)), n0.exports;
3416
3416
  }
3417
3417
  var r0 = { exports: {} }, lf;
3418
- function n2() {
3418
+ function r2() {
3419
3419
  return lf || (lf = 1, function(o, r) {
3420
3420
  (function(n, a, l) {
3421
3421
  o.exports = a(Me(), Ct());
@@ -3435,7 +3435,7 @@ function n2() {
3435
3435
  }(r0)), r0.exports;
3436
3436
  }
3437
3437
  var o0 = { exports: {} }, cf;
3438
- function r2() {
3438
+ function o2() {
3439
3439
  return cf || (cf = 1, function(o, r) {
3440
3440
  (function(n, a, l) {
3441
3441
  o.exports = a(Me(), Ct());
@@ -3456,7 +3456,7 @@ function r2() {
3456
3456
  }(o0)), o0.exports;
3457
3457
  }
3458
3458
  var i0 = { exports: {} }, uf;
3459
- function o2() {
3459
+ function i2() {
3460
3460
  return uf || (uf = 1, function(o, r) {
3461
3461
  (function(n, a, l) {
3462
3462
  o.exports = a(Me(), Ct());
@@ -3475,7 +3475,7 @@ function o2() {
3475
3475
  }(i0)), i0.exports;
3476
3476
  }
3477
3477
  var a0 = { exports: {} }, ff;
3478
- function i2() {
3478
+ function a2() {
3479
3479
  return ff || (ff = 1, function(o, r) {
3480
3480
  (function(n, a, l) {
3481
3481
  o.exports = a(Me(), Ct());
@@ -3494,7 +3494,7 @@ function i2() {
3494
3494
  }(a0)), a0.exports;
3495
3495
  }
3496
3496
  var s0 = { exports: {} }, df;
3497
- function a2() {
3497
+ function s2() {
3498
3498
  return df || (df = 1, function(o, r) {
3499
3499
  (function(n, a, l) {
3500
3500
  o.exports = a(Me(), Ct());
@@ -3511,7 +3511,7 @@ function a2() {
3511
3511
  }(s0)), s0.exports;
3512
3512
  }
3513
3513
  var l0 = { exports: {} }, pf;
3514
- function s2() {
3514
+ function l2() {
3515
3515
  return pf || (pf = 1, function(o, r) {
3516
3516
  (function(n, a, l) {
3517
3517
  o.exports = a(Me(), Ct());
@@ -3533,7 +3533,7 @@ function s2() {
3533
3533
  }(l0)), l0.exports;
3534
3534
  }
3535
3535
  var c0 = { exports: {} }, hf;
3536
- function l2() {
3536
+ function c2() {
3537
3537
  return hf || (hf = 1, function(o, r) {
3538
3538
  (function(n, a, l) {
3539
3539
  o.exports = a(Me(), Ct());
@@ -3548,7 +3548,7 @@ function l2() {
3548
3548
  }(c0)), c0.exports;
3549
3549
  }
3550
3550
  var u0 = { exports: {} }, vf;
3551
- function c2() {
3551
+ function u2() {
3552
3552
  return vf || (vf = 1, function(o, r) {
3553
3553
  (function(n, a, l) {
3554
3554
  o.exports = a(Me(), Ct());
@@ -3595,7 +3595,7 @@ function c2() {
3595
3595
  }(u0)), u0.exports;
3596
3596
  }
3597
3597
  var f0 = { exports: {} }, gf;
3598
- function u2() {
3598
+ function f2() {
3599
3599
  return gf || (gf = 1, function(o, r) {
3600
3600
  (function(n, a, l) {
3601
3601
  o.exports = a(Me(), Dr(), kr(), lr(), Ct());
@@ -3655,7 +3655,7 @@ function u2() {
3655
3655
  }(f0)), f0.exports;
3656
3656
  }
3657
3657
  var d0 = { exports: {} }, xf;
3658
- function f2() {
3658
+ function d2() {
3659
3659
  return xf || (xf = 1, function(o, r) {
3660
3660
  (function(n, a, l) {
3661
3661
  o.exports = a(Me(), Dr(), kr(), lr(), Ct());
@@ -4375,7 +4375,7 @@ function f2() {
4375
4375
  }(d0)), d0.exports;
4376
4376
  }
4377
4377
  var p0 = { exports: {} }, mf;
4378
- function d2() {
4378
+ function p2() {
4379
4379
  return mf || (mf = 1, function(o, r) {
4380
4380
  (function(n, a, l) {
4381
4381
  o.exports = a(Me(), Dr(), kr(), lr(), Ct());
@@ -4429,7 +4429,7 @@ function d2() {
4429
4429
  }(p0)), p0.exports;
4430
4430
  }
4431
4431
  var h0 = { exports: {} }, _f;
4432
- function p2() {
4432
+ function h2() {
4433
4433
  return _f || (_f = 1, function(o, r) {
4434
4434
  (function(n, a, l) {
4435
4435
  o.exports = a(Me(), Dr(), kr(), lr(), Ct());
@@ -4495,7 +4495,7 @@ function p2() {
4495
4495
  }(h0)), h0.exports;
4496
4496
  }
4497
4497
  var v0 = { exports: {} }, Cf;
4498
- function h2() {
4498
+ function v2() {
4499
4499
  return Cf || (Cf = 1, function(o, r) {
4500
4500
  (function(n, a, l) {
4501
4501
  o.exports = a(Me(), Dr(), kr(), lr(), Ct());
@@ -4559,7 +4559,7 @@ function h2() {
4559
4559
  }(v0)), v0.exports;
4560
4560
  }
4561
4561
  var g0 = { exports: {} }, yf;
4562
- function v2() {
4562
+ function g2() {
4563
4563
  return yf || (yf = 1, function(o, r) {
4564
4564
  (function(n, a, l) {
4565
4565
  o.exports = a(Me(), Dr(), kr(), lr(), Ct());
@@ -5682,16 +5682,16 @@ function v2() {
5682
5682
  }
5683
5683
  (function(o, r) {
5684
5684
  (function(n, a, l) {
5685
- o.exports = a(Me(), sa(), jy(), Vy(), Dr(), Ky(), kr(), Id(), j0(), Gy(), Dd(), Xy(), Qy(), Zy(), V0(), Yy(), lr(), Ct(), Jy(), e2(), t2(), n2(), r2(), o2(), i2(), a2(), s2(), l2(), c2(), u2(), f2(), d2(), p2(), h2(), v2());
5685
+ o.exports = a(Me(), sa(), Vy(), Ky(), Dr(), Gy(), kr(), Id(), j0(), Xy(), Dd(), Qy(), Zy(), Yy(), V0(), Jy(), lr(), Ct(), e2(), t2(), n2(), r2(), o2(), i2(), a2(), s2(), l2(), c2(), u2(), f2(), d2(), p2(), h2(), v2(), g2());
5686
5686
  })(Se, function(n) {
5687
5687
  return n;
5688
5688
  });
5689
5689
  })(Bd);
5690
- var g2 = Bd.exports;
5691
- const $t = /* @__PURE__ */ Uy(g2);
5692
- function x2(o, r, n, a) {
5690
+ var x2 = Bd.exports;
5691
+ const $t = /* @__PURE__ */ My(x2);
5692
+ function m2(o, r, n, a) {
5693
5693
  kd(o, r).then(({ input: l, key: c }) => Fd(l, c, n, !0, a)).then((l) => {
5694
- m2.apply(null, l);
5694
+ _2.apply(null, l);
5695
5695
  }).catch((l) => {
5696
5696
  a({
5697
5697
  value: null,
@@ -5699,16 +5699,16 @@ function x2(o, r, n, a) {
5699
5699
  });
5700
5700
  });
5701
5701
  }
5702
- function m2(o, r, n, a, l, c, f, p) {
5702
+ function _2(o, r, n, a, l, c, f, p) {
5703
5703
  let h = Td(r, n, a, l, c), s = $t.AES.encrypt.apply(null, [o, 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 _2(o, r, n, a) {
5709
+ function C2(o, r, n, a) {
5710
5710
  kd(o, r).then(({ input: l, key: c }) => Fd(l, c, n, !1, a)).then((l) => {
5711
- C2.apply(null, l);
5711
+ y2.apply(null, l);
5712
5712
  }).catch((l) => {
5713
5713
  a({
5714
5714
  value: null,
@@ -5716,7 +5716,7 @@ function _2(o, r, n, a) {
5716
5716
  });
5717
5717
  });
5718
5718
  }
5719
- function C2(o, r, n, a, l, c, f, p) {
5719
+ function y2(o, r, n, a, l, c, f, p) {
5720
5720
  let h = Td(r, n, a, l, c), s = $t.DES.encrypt.apply(null, [o, 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 Td(o, r, n, a, l) {
5745
5745
  async function Fd(o, r, n, a = !1, l) {
5746
5746
  let c;
5747
5747
  try {
5748
- c = await y2(n);
5748
+ c = await b2(n);
5749
5749
  } catch (d) {
5750
5750
  return Promise.reject(d);
5751
5751
  }
@@ -5754,39 +5754,39 @@ async function Fd(o, r, n, a = !1, l) {
5754
5754
  return Promise.reject("非ECB模式iv不能为空");
5755
5755
  let p;
5756
5756
  try {
5757
- p = await b2(n, a);
5757
+ p = await w2(n, a);
5758
5758
  } catch (d) {
5759
5759
  return Promise.reject(d);
5760
5760
  }
5761
5761
  let h;
5762
5762
  try {
5763
- h = await w2(n);
5763
+ h = await A2(n);
5764
5764
  } catch (d) {
5765
5765
  return Promise.reject(d);
5766
5766
  }
5767
5767
  let s;
5768
5768
  try {
5769
- s = await A2(n);
5769
+ s = await E2(n);
5770
5770
  } catch (d) {
5771
5771
  return Promise.reject(d);
5772
5772
  }
5773
5773
  return [o, r, p, f, c, h, s, l];
5774
5774
  }
5775
- async function y2(o) {
5775
+ async function b2(o) {
5776
5776
  let { mode: r = "CBC" } = o || {};
5777
5777
  return r = r.trim().toUpperCase(), ["CBC", "CFB", "OFB", "ECB"].indexOf(r) === -1 ? Promise.reject("mode模式配置错误") : r;
5778
5778
  }
5779
- async function b2(o, r = !1) {
5779
+ async function w2(o, r = !1) {
5780
5780
  if (!r)
5781
5781
  return 8;
5782
5782
  let { keySize: n = 0 } = o || {};
5783
5783
  return [16, 24, 32].indexOf(n) !== -1 ? n : Promise.reject("keySize配置错误");
5784
5784
  }
5785
- async function w2(o) {
5785
+ async function A2(o) {
5786
5786
  let { padding: r = "pkcs7" } = o || {};
5787
5787
  return r = r.trim().toLowerCase(), ["pkcs7", "pkcs5", "zero", "iso10126", "ansix923"].indexOf(r) !== -1 ? r : Promise.reject("padding配置错误");
5788
5788
  }
5789
- async function A2(o) {
5789
+ async function E2(o) {
5790
5790
  let { encoding: r = "base64" } = o || {};
5791
5791
  return r = r.trim().toLowerCase(), ["base64", "hex"].indexOf(r) !== -1 ? r : Promise.reject("encoding配置错误");
5792
5792
  }
@@ -5801,10 +5801,10 @@ function bf(o, r) {
5801
5801
  }
5802
5802
  return $t.enc.Latin1.parse(n);
5803
5803
  }
5804
- const E2 = {
5805
- aes: x2,
5806
- des: _2
5807
- }, S2 = (o = {}, r) => {
5804
+ const S2 = {
5805
+ aes: m2,
5806
+ des: C2
5807
+ }, B2 = (o = {}, r) => {
5808
5808
  const n = { aes: "aes", des: "des" }, a = {
5809
5809
  pkcs5padding: "Pkcs5",
5810
5810
  pkcs7padding: "Pkcs7",
@@ -5814,7 +5814,7 @@ const E2 = {
5814
5814
  }, l = { hex: "hex", base64: "base64" };
5815
5815
  let c = o.encryptType || "", f = n[c.toLowerCase()], p = o.encryptMode || "", h = o.encryptKey || "", s = o.encryptOffset || "", d = o.encryptPadding || "", w = a[d.toLowerCase()], v = o.codingMode || "", _ = l[v.toLowerCase()], E = (Number(o.encryptKeyLength) || 0) / 8;
5816
5816
  return new Promise((C) => {
5817
- f !== "aes" && f !== "des" ? C({ error: "加密类型出错==", value: null }) : E2[f](r, h, { mode: p, keySize: E, padding: w, encoding: _, iv: s }, (x) => {
5817
+ f !== "aes" && f !== "des" ? C({ error: "加密类型出错==", value: null }) : S2[f](r, h, { mode: p, keySize: E, padding: w, encoding: _, iv: s }, (x) => {
5818
5818
  C(x);
5819
5819
  });
5820
5820
  });
@@ -5841,7 +5841,7 @@ async function Ld(o) {
5841
5841
  CURRENT_PROJECT: Ut().id
5842
5842
  }[o];
5843
5843
  }
5844
- async function B2(o) {
5844
+ async function I2(o) {
5845
5845
  if (typeof o != "string") return "";
5846
5846
  let r = null;
5847
5847
  try {
@@ -5864,7 +5864,7 @@ async function B2(o) {
5864
5864
  }
5865
5865
  return JSON.stringify(n);
5866
5866
  }
5867
- async function I2(o) {
5867
+ async function D2(o) {
5868
5868
  let r = {};
5869
5869
  for (let n = 0; n < o.length; n++) {
5870
5870
  let a = o[n] || {}, { attributeContentEnum: l, paramName: c, attributeContent: f, paramType: p, isEncrypted: h } = a, s = c, d = f;
@@ -5872,11 +5872,11 @@ async function I2(o) {
5872
5872
  if (!qn())
5873
5873
  return pd({ ...O0, redirect_uri: hd }), "goLogin";
5874
5874
  d = await Ld(l);
5875
- } else if (p === Pd.JSON && (d = await B2(f), d === "goLogin"))
5875
+ } else if (p === Pd.JSON && (d = await I2(f), d === "goLogin"))
5876
5876
  return "goLogin";
5877
5877
  if (s && d) {
5878
5878
  if (h) {
5879
- let w = await S2(a, d);
5879
+ let w = await B2(a, d);
5880
5880
  w.error, d = w.value ?? "";
5881
5881
  }
5882
5882
  r[s] = d;
@@ -5884,7 +5884,7 @@ async function I2(o) {
5884
5884
  }
5885
5885
  return r;
5886
5886
  }
5887
- function D2(o) {
5887
+ function k2(o) {
5888
5888
  let r = {}, n = o.split("&");
5889
5889
  for (let a = 0; a < n.length; a++) {
5890
5890
  let c = n[a].split("=");
@@ -5895,32 +5895,32 @@ function D2(o) {
5895
5895
  }
5896
5896
  return r;
5897
5897
  }
5898
- function k2(o) {
5898
+ function T2(o) {
5899
5899
  return Object.keys(o).map((r) => `${r}=${o[r]}`).join("&");
5900
5900
  }
5901
- function T2(o, r) {
5901
+ function F2(o, r) {
5902
5902
  let n = o.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 ? `${o}?${a}` : o;
5908
- let l = n[0], c = D2(n[1]), f = /* @__PURE__ */ new Set();
5908
+ let l = n[0], c = k2(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 = k2(c);
5914
+ let p = a, h = T2(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 I0 = async (o, r) => {
5918
- const n = await I2(r);
5919
- return n === "goLogin" ? "" : T2(o, n) ?? "";
5918
+ const n = await D2(r);
5919
+ return n === "goLogin" ? "" : F2(o, n) ?? "";
5920
5920
  }, D0 = (o) => {
5921
5921
  const r = new URL(o, location.origin);
5922
- return ["true", "1"].includes(r.searchParams.get("autoSetToken")) && (r.searchParams.append("access_token", xC()), r.searchParams.delete("autoSetToken")), r.toString();
5923
- }, $d = "v1", F2 = wt(`/api/personal-center/personal-server/${$d}`), P2 = wt(`/api/enterpriseright/permission/${$d}`), R2 = F2.get("/info"), L2 = fd.get("/user-info"), $2 = P2.get("/user/tenant"), N2 = N0.post("/tenant/page"), O2 = "v1", U2 = wt(`/api/user-portrait/user-data/${O2}`), Nd = U2.post("/data/actions", (o) => (o.ignoreErrorMessage = !0, o)), Od = "pc", Ud = "pc", Md = async (o) => {
5922
+ return ["true", "1"].includes(r.searchParams.get("autoSetToken")) && (r.searchParams.append("access_token", CC()), r.searchParams.delete("autoSetToken")), r.toString();
5923
+ }, $d = "v1", P2 = wt(`/api/personal-center/personal-server/${$d}`), R2 = wt(`/api/enterpriseright/permission/${$d}`), L2 = P2.get("/info"), $2 = fd.get("/user-info"), N2 = R2.get("/user/tenant"), O2 = N0.post("/tenant/page"), U2 = "v1", M2 = wt(`/api/user-portrait/user-data/${U2}`), Nd = M2.post("/data/actions", (o) => (o.ignoreErrorMessage = !0, o)), Od = "pc", Ud = "pc", Md = async (o) => {
5924
5924
  const r = JSON.parse(sessionStorage.getItem("access-sys") || "{}");
5925
5925
  (r == null ? void 0 : r.projectId) !== o && (await Nd().run({
5926
5926
  action: "access-sys",
@@ -5942,28 +5942,28 @@ const I0 = async (o, r) => {
5942
5942
  displayMenuName: l
5943
5943
  }
5944
5944
  });
5945
- }, M2 = async () => {
5946
- const [o, r] = await R2().run({});
5947
- return o ? { personalConfig: null } : (Md(Ut().id), wy(r), { personalConfig: r });
5948
5945
  }, z2 = async () => {
5949
- const [o, r] = await L2().run();
5950
- return o ? { tenantConfig: null } : (Ay(r), { tenantConfig: r });
5946
+ const [o, r] = await L2().run({});
5947
+ return o ? { personalConfig: null } : (Md(Ut().id), Ay(r), { personalConfig: r });
5951
5948
  }, H2 = async () => {
5952
- const [o, r] = await $2().run(), n = (r == null ? void 0 : r.envLanguage) ?? [];
5953
- return Ey(n.length), o ? { currentTenatConfig: null } : { tenantConfig: r };
5949
+ const [o, r] = await $2().run();
5950
+ return o ? { tenantConfig: null } : (Ey(r), { tenantConfig: r });
5954
5951
  }, W2 = async () => {
5955
- const [o, r] = await N2().run({
5952
+ const [o, r] = await N2().run(), n = (r == null ? void 0 : r.envLanguage) ?? [];
5953
+ return Sy(n.length), o ? { currentTenatConfig: null } : { tenantConfig: r };
5954
+ }, q2 = async () => {
5955
+ const [o, r] = await O2().run({
5956
5956
  userId: Mo().id,
5957
5957
  pageSize: 20,
5958
5958
  pageIndex: 1
5959
5959
  });
5960
5960
  if (o) return { tenantList: [] };
5961
5961
  if (r.data && r.data.length) return { tenantList: r.data };
5962
- }, q2 = ra.get("/permissionset/user-portal-menu"), j2 = vC.deviceManage.get("/instance/getLast"), V2 = async () => {
5963
- const [o, r] = await j2().run(), n = { instanceInfo: r ?? null };
5964
- return Py(n), n;
5962
+ }, j2 = ra.get("/permissionset/user-portal-menu"), V2 = mC.deviceManage.get("/instance/getLast"), K2 = async () => {
5963
+ const [o, r] = await V2().run(), n = { instanceInfo: r ?? null };
5964
+ return Ry(n), n;
5965
5965
  };
5966
- function K2() {
5966
+ function G2() {
5967
5967
  this.__data__ = [], this.size = 0;
5968
5968
  }
5969
5969
  function Hd(o, r) {
@@ -5975,22 +5975,22 @@ function la(o, r) {
5975
5975
  return n;
5976
5976
  return -1;
5977
5977
  }
5978
- var G2 = Array.prototype, X2 = G2.splice;
5979
- function Q2(o) {
5978
+ var X2 = Array.prototype, Q2 = X2.splice;
5979
+ function Z2(o) {
5980
5980
  var r = this.__data__, n = la(r, o);
5981
5981
  if (n < 0)
5982
5982
  return !1;
5983
5983
  var a = r.length - 1;
5984
- return n == a ? r.pop() : X2.call(r, n, 1), --this.size, !0;
5984
+ return n == a ? r.pop() : Q2.call(r, n, 1), --this.size, !0;
5985
5985
  }
5986
- function Z2(o) {
5986
+ function Y2(o) {
5987
5987
  var r = this.__data__, n = la(r, o);
5988
5988
  return n < 0 ? void 0 : r[n][1];
5989
5989
  }
5990
- function Y2(o) {
5990
+ function J2(o) {
5991
5991
  return la(this.__data__, o) > -1;
5992
5992
  }
5993
- function J2(o, r) {
5993
+ function eb(o, r) {
5994
5994
  var n = this.__data__, a = la(n, o);
5995
5995
  return a < 0 ? (++this.size, n.push([o, r])) : n[a][1] = r, this;
5996
5996
  }
@@ -6001,66 +6001,66 @@ function Kn(o) {
6001
6001
  this.set(a[0], a[1]);
6002
6002
  }
6003
6003
  }
6004
- Kn.prototype.clear = K2;
6005
- Kn.prototype.delete = Q2;
6006
- Kn.prototype.get = Z2;
6007
- Kn.prototype.has = Y2;
6008
- Kn.prototype.set = J2;
6009
- function eb() {
6004
+ Kn.prototype.clear = G2;
6005
+ Kn.prototype.delete = Z2;
6006
+ Kn.prototype.get = Y2;
6007
+ Kn.prototype.has = J2;
6008
+ Kn.prototype.set = eb;
6009
+ function tb() {
6010
6010
  this.__data__ = new Kn(), this.size = 0;
6011
6011
  }
6012
- function tb(o) {
6012
+ function nb(o) {
6013
6013
  var r = this.__data__, n = r.delete(o);
6014
6014
  return this.size = r.size, n;
6015
6015
  }
6016
- function nb(o) {
6016
+ function rb(o) {
6017
6017
  return this.__data__.get(o);
6018
6018
  }
6019
- function rb(o) {
6019
+ function ob(o) {
6020
6020
  return this.__data__.has(o);
6021
6021
  }
6022
- var Wd = typeof global == "object" && global && global.Object === Object && global, ob = typeof self == "object" && self && self.Object === Object && self, kn = Wd || ob || Function("return this")(), to = kn.Symbol, qd = Object.prototype, ib = qd.hasOwnProperty, ab = qd.toString, ko = to ? to.toStringTag : void 0;
6023
- function sb(o) {
6024
- var r = ib.call(o, ko), n = o[ko];
6022
+ var Wd = typeof global == "object" && global && global.Object === Object && global, ib = typeof self == "object" && self && self.Object === Object && self, kn = Wd || ib || Function("return this")(), to = kn.Symbol, qd = Object.prototype, ab = qd.hasOwnProperty, sb = qd.toString, ko = to ? to.toStringTag : void 0;
6023
+ function lb(o) {
6024
+ var r = ab.call(o, ko), n = o[ko];
6025
6025
  try {
6026
6026
  o[ko] = void 0;
6027
6027
  var a = !0;
6028
6028
  } catch {
6029
6029
  }
6030
- var l = ab.call(o);
6030
+ var l = sb.call(o);
6031
6031
  return a && (r ? o[ko] = n : delete o[ko]), l;
6032
6032
  }
6033
- var lb = Object.prototype, cb = lb.toString;
6034
- function ub(o) {
6035
- return cb.call(o);
6033
+ var cb = Object.prototype, ub = cb.toString;
6034
+ function fb(o) {
6035
+ return ub.call(o);
6036
6036
  }
6037
- var fb = "[object Null]", db = "[object Undefined]", wf = to ? to.toStringTag : void 0;
6037
+ var db = "[object Null]", pb = "[object Undefined]", wf = to ? to.toStringTag : void 0;
6038
6038
  function Wo(o) {
6039
- return o == null ? o === void 0 ? db : fb : wf && wf in Object(o) ? sb(o) : ub(o);
6039
+ return o == null ? o === void 0 ? pb : db : wf && wf in Object(o) ? lb(o) : fb(o);
6040
6040
  }
6041
6041
  function ca(o) {
6042
6042
  var r = typeof o;
6043
6043
  return o != null && (r == "object" || r == "function");
6044
6044
  }
6045
- var pb = "[object AsyncFunction]", hb = "[object Function]", vb = "[object GeneratorFunction]", gb = "[object Proxy]";
6045
+ var hb = "[object AsyncFunction]", vb = "[object Function]", gb = "[object GeneratorFunction]", xb = "[object Proxy]";
6046
6046
  function jd(o) {
6047
6047
  if (!ca(o))
6048
6048
  return !1;
6049
6049
  var r = Wo(o);
6050
- return r == hb || r == vb || r == pb || r == gb;
6050
+ return r == vb || r == gb || r == hb || r == xb;
6051
6051
  }
6052
6052
  var x0 = kn["__core-js_shared__"], Af = function() {
6053
6053
  var o = /[^.]+$/.exec(x0 && x0.keys && x0.keys.IE_PROTO || "");
6054
6054
  return o ? "Symbol(src)_1." + o : "";
6055
6055
  }();
6056
- function xb(o) {
6056
+ function mb(o) {
6057
6057
  return !!Af && Af in o;
6058
6058
  }
6059
- var mb = Function.prototype, _b = mb.toString;
6059
+ var _b = Function.prototype, Cb = _b.toString;
6060
6060
  function Tr(o) {
6061
6061
  if (o != null) {
6062
6062
  try {
6063
- return _b.call(o);
6063
+ return Cb.call(o);
6064
6064
  } catch {
6065
6065
  }
6066
6066
  try {
@@ -6070,48 +6070,48 @@ function Tr(o) {
6070
6070
  }
6071
6071
  return "";
6072
6072
  }
6073
- var Cb = /[\\^$.*+?()[\]{}|]/g, yb = /^\[object .+?Constructor\]$/, bb = Function.prototype, wb = Object.prototype, Ab = bb.toString, Eb = wb.hasOwnProperty, Sb = RegExp(
6074
- "^" + Ab.call(Eb).replace(Cb, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
6073
+ var yb = /[\\^$.*+?()[\]{}|]/g, bb = /^\[object .+?Constructor\]$/, wb = Function.prototype, Ab = Object.prototype, Eb = wb.toString, Sb = Ab.hasOwnProperty, Bb = RegExp(
6074
+ "^" + Eb.call(Sb).replace(yb, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
6075
6075
  );
6076
- function Bb(o) {
6077
- if (!ca(o) || xb(o))
6076
+ function Ib(o) {
6077
+ if (!ca(o) || mb(o))
6078
6078
  return !1;
6079
- var r = jd(o) ? Sb : yb;
6079
+ var r = jd(o) ? Bb : bb;
6080
6080
  return r.test(Tr(o));
6081
6081
  }
6082
- function Ib(o, r) {
6082
+ function Db(o, r) {
6083
6083
  return o == null ? void 0 : o[r];
6084
6084
  }
6085
6085
  function Fr(o, r) {
6086
- var n = Ib(o, r);
6087
- return Bb(n) ? n : void 0;
6086
+ var n = Db(o, r);
6087
+ return Ib(n) ? n : void 0;
6088
6088
  }
6089
6089
  var Ro = Fr(kn, "Map"), Lo = Fr(Object, "create");
6090
- function Db() {
6090
+ function kb() {
6091
6091
  this.__data__ = Lo ? Lo(null) : {}, this.size = 0;
6092
6092
  }
6093
- function kb(o) {
6093
+ function Tb(o) {
6094
6094
  var r = this.has(o) && delete this.__data__[o];
6095
6095
  return this.size -= r ? 1 : 0, r;
6096
6096
  }
6097
- var Tb = "__lodash_hash_undefined__", Fb = Object.prototype, Pb = Fb.hasOwnProperty;
6098
- function Rb(o) {
6097
+ var Fb = "__lodash_hash_undefined__", Pb = Object.prototype, Rb = Pb.hasOwnProperty;
6098
+ function Lb(o) {
6099
6099
  var r = this.__data__;
6100
6100
  if (Lo) {
6101
6101
  var n = r[o];
6102
- return n === Tb ? void 0 : n;
6102
+ return n === Fb ? void 0 : n;
6103
6103
  }
6104
- return Pb.call(r, o) ? r[o] : void 0;
6104
+ return Rb.call(r, o) ? r[o] : void 0;
6105
6105
  }
6106
- var Lb = Object.prototype, $b = Lb.hasOwnProperty;
6107
- function Nb(o) {
6106
+ var $b = Object.prototype, Nb = $b.hasOwnProperty;
6107
+ function Ob(o) {
6108
6108
  var r = this.__data__;
6109
- return Lo ? r[o] !== void 0 : $b.call(r, o);
6109
+ return Lo ? r[o] !== void 0 : Nb.call(r, o);
6110
6110
  }
6111
- var Ob = "__lodash_hash_undefined__";
6112
- function Ub(o, r) {
6111
+ var Ub = "__lodash_hash_undefined__";
6112
+ function Mb(o, r) {
6113
6113
  var n = this.__data__;
6114
- return this.size += this.has(o) ? 0 : 1, n[o] = Lo && r === void 0 ? Ob : r, this;
6114
+ return this.size += this.has(o) ? 0 : 1, n[o] = Lo && r === void 0 ? Ub : r, this;
6115
6115
  }
6116
6116
  function Sr(o) {
6117
6117
  var r = -1, n = o == null ? 0 : o.length;
@@ -6120,37 +6120,37 @@ function Sr(o) {
6120
6120
  this.set(a[0], a[1]);
6121
6121
  }
6122
6122
  }
6123
- Sr.prototype.clear = Db;
6124
- Sr.prototype.delete = kb;
6125
- Sr.prototype.get = Rb;
6126
- Sr.prototype.has = Nb;
6127
- Sr.prototype.set = Ub;
6128
- function Mb() {
6123
+ Sr.prototype.clear = kb;
6124
+ Sr.prototype.delete = Tb;
6125
+ Sr.prototype.get = Lb;
6126
+ Sr.prototype.has = Ob;
6127
+ Sr.prototype.set = Mb;
6128
+ function zb() {
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 zb(o) {
6135
+ function Hb(o) {
6136
6136
  var r = typeof o;
6137
6137
  return r == "string" || r == "number" || r == "symbol" || r == "boolean" ? o !== "__proto__" : o === null;
6138
6138
  }
6139
6139
  function ua(o, r) {
6140
6140
  var n = o.__data__;
6141
- return zb(r) ? n[typeof r == "string" ? "string" : "hash"] : n.map;
6141
+ return Hb(r) ? n[typeof r == "string" ? "string" : "hash"] : n.map;
6142
6142
  }
6143
- function Hb(o) {
6143
+ function Wb(o) {
6144
6144
  var r = ua(this, o).delete(o);
6145
6145
  return this.size -= r ? 1 : 0, r;
6146
6146
  }
6147
- function Wb(o) {
6147
+ function qb(o) {
6148
6148
  return ua(this, o).get(o);
6149
6149
  }
6150
- function qb(o) {
6150
+ function jb(o) {
6151
6151
  return ua(this, o).has(o);
6152
6152
  }
6153
- function jb(o, r) {
6153
+ function Vb(o, r) {
6154
6154
  var n = ua(this, o), a = n.size;
6155
6155
  return n.set(o, r), this.size += n.size == a ? 0 : 1, this;
6156
6156
  }
@@ -6161,17 +6161,17 @@ function ao(o) {
6161
6161
  this.set(a[0], a[1]);
6162
6162
  }
6163
6163
  }
6164
- ao.prototype.clear = Mb;
6165
- ao.prototype.delete = Hb;
6166
- ao.prototype.get = Wb;
6167
- ao.prototype.has = qb;
6168
- ao.prototype.set = jb;
6169
- var Vb = 200;
6170
- function Kb(o, r) {
6164
+ ao.prototype.clear = zb;
6165
+ ao.prototype.delete = Wb;
6166
+ ao.prototype.get = qb;
6167
+ ao.prototype.has = jb;
6168
+ ao.prototype.set = Vb;
6169
+ var Kb = 200;
6170
+ function Gb(o, r) {
6171
6171
  var n = this.__data__;
6172
6172
  if (n instanceof Kn) {
6173
6173
  var a = n.__data__;
6174
- if (!Ro || a.length < Vb - 1)
6174
+ if (!Ro || a.length < Kb - 1)
6175
6175
  return a.push([o, r]), this.size = ++n.size, this;
6176
6176
  n = this.__data__ = new ao(a);
6177
6177
  }
@@ -6181,12 +6181,12 @@ function so(o) {
6181
6181
  var r = this.__data__ = new Kn(o);
6182
6182
  this.size = r.size;
6183
6183
  }
6184
- so.prototype.clear = eb;
6185
- so.prototype.delete = tb;
6186
- so.prototype.get = nb;
6187
- so.prototype.has = rb;
6188
- so.prototype.set = Kb;
6189
- function Gb(o, r) {
6184
+ so.prototype.clear = tb;
6185
+ so.prototype.delete = nb;
6186
+ so.prototype.get = rb;
6187
+ so.prototype.has = ob;
6188
+ so.prototype.set = Gb;
6189
+ function Xb(o, r) {
6190
6190
  for (var n = -1, a = o == null ? 0 : o.length; ++n < a && r(o[n], n, o) !== !1; )
6191
6191
  ;
6192
6192
  return o;
@@ -6198,7 +6198,7 @@ var Ef = function() {
6198
6198
  } catch {
6199
6199
  }
6200
6200
  }();
6201
- function Xb(o, r, n) {
6201
+ function Qb(o, r, n) {
6202
6202
  r == "__proto__" && Ef ? Ef(o, r, {
6203
6203
  configurable: !0,
6204
6204
  enumerable: !0,
@@ -6206,12 +6206,12 @@ function Xb(o, r, n) {
6206
6206
  writable: !0
6207
6207
  }) : o[r] = n;
6208
6208
  }
6209
- var Qb = Object.prototype, Zb = Qb.hasOwnProperty;
6210
- function Yb(o, r, n) {
6209
+ var Zb = Object.prototype, Yb = Zb.hasOwnProperty;
6210
+ function Jb(o, r, n) {
6211
6211
  var a = o[r];
6212
- (!(Zb.call(o, r) && Hd(a, n)) || n === void 0 && !(r in o)) && Xb(o, r, n);
6212
+ (!(Yb.call(o, r) && Hd(a, n)) || n === void 0 && !(r in o)) && Qb(o, r, n);
6213
6213
  }
6214
- function Jb(o, r) {
6214
+ function ew(o, r) {
6215
6215
  for (var n = -1, a = Array(o); ++n < o; )
6216
6216
  a[n] = r(n);
6217
6217
  return a;
@@ -6219,31 +6219,31 @@ function Jb(o, r) {
6219
6219
  function qo(o) {
6220
6220
  return o != null && typeof o == "object";
6221
6221
  }
6222
- var ew = "[object Arguments]";
6222
+ var tw = "[object Arguments]";
6223
6223
  function Sf(o) {
6224
- return qo(o) && Wo(o) == ew;
6224
+ return qo(o) && Wo(o) == tw;
6225
6225
  }
6226
- var Vd = Object.prototype, tw = Vd.hasOwnProperty, nw = Vd.propertyIsEnumerable, rw = Sf(/* @__PURE__ */ function() {
6226
+ var Vd = Object.prototype, nw = Vd.hasOwnProperty, rw = Vd.propertyIsEnumerable, ow = Sf(/* @__PURE__ */ function() {
6227
6227
  return arguments;
6228
6228
  }()) ? Sf : function(o) {
6229
- return qo(o) && tw.call(o, "callee") && !nw.call(o, "callee");
6229
+ return qo(o) && nw.call(o, "callee") && !rw.call(o, "callee");
6230
6230
  }, K0 = Array.isArray;
6231
- function ow() {
6231
+ function iw() {
6232
6232
  return !1;
6233
6233
  }
6234
- var Kd = typeof exports == "object" && exports && !exports.nodeType && exports, Bf = Kd && typeof module == "object" && module && !module.nodeType && module, iw = Bf && Bf.exports === Kd, If = iw ? kn.Buffer : void 0, aw = If ? If.isBuffer : void 0, Gd = aw || ow, sw = 9007199254740991, lw = /^(?:0|[1-9]\d*)$/;
6235
- function cw(o, r) {
6234
+ var Kd = typeof exports == "object" && exports && !exports.nodeType && exports, Bf = Kd && typeof module == "object" && module && !module.nodeType && module, aw = Bf && Bf.exports === Kd, If = aw ? kn.Buffer : void 0, sw = If ? If.isBuffer : void 0, Gd = sw || iw, lw = 9007199254740991, cw = /^(?:0|[1-9]\d*)$/;
6235
+ function uw(o, r) {
6236
6236
  var n = typeof o;
6237
- return r = r ?? sw, !!r && (n == "number" || n != "symbol" && lw.test(o)) && o > -1 && o % 1 == 0 && o < r;
6237
+ return r = r ?? lw, !!r && (n == "number" || n != "symbol" && cw.test(o)) && o > -1 && o % 1 == 0 && o < r;
6238
6238
  }
6239
- var uw = 9007199254740991;
6239
+ var fw = 9007199254740991;
6240
6240
  function Xd(o) {
6241
- return typeof o == "number" && o > -1 && o % 1 == 0 && o <= uw;
6241
+ return typeof o == "number" && o > -1 && o % 1 == 0 && o <= fw;
6242
6242
  }
6243
- var fw = "[object Arguments]", dw = "[object Array]", pw = "[object Boolean]", hw = "[object Date]", vw = "[object Error]", gw = "[object Function]", xw = "[object Map]", mw = "[object Number]", _w = "[object Object]", Cw = "[object RegExp]", yw = "[object Set]", bw = "[object String]", ww = "[object WeakMap]", Aw = "[object ArrayBuffer]", Ew = "[object DataView]", Sw = "[object Float32Array]", Bw = "[object Float64Array]", Iw = "[object Int8Array]", Dw = "[object Int16Array]", kw = "[object Int32Array]", Tw = "[object Uint8Array]", Fw = "[object Uint8ClampedArray]", Pw = "[object Uint16Array]", Rw = "[object Uint32Array]", Ye = {};
6244
- Ye[Sw] = Ye[Bw] = Ye[Iw] = Ye[Dw] = Ye[kw] = Ye[Tw] = Ye[Fw] = Ye[Pw] = Ye[Rw] = !0;
6245
- Ye[fw] = Ye[dw] = Ye[Aw] = Ye[pw] = Ye[Ew] = Ye[hw] = Ye[vw] = Ye[gw] = Ye[xw] = Ye[mw] = Ye[_w] = Ye[Cw] = Ye[yw] = Ye[bw] = Ye[ww] = !1;
6246
- function Lw(o) {
6243
+ var dw = "[object Arguments]", pw = "[object Array]", hw = "[object Boolean]", vw = "[object Date]", gw = "[object Error]", xw = "[object Function]", mw = "[object Map]", _w = "[object Number]", Cw = "[object Object]", yw = "[object RegExp]", bw = "[object Set]", ww = "[object String]", Aw = "[object WeakMap]", Ew = "[object ArrayBuffer]", Sw = "[object DataView]", Bw = "[object Float32Array]", Iw = "[object Float64Array]", Dw = "[object Int8Array]", kw = "[object Int16Array]", Tw = "[object Int32Array]", Fw = "[object Uint8Array]", Pw = "[object Uint8ClampedArray]", Rw = "[object Uint16Array]", Lw = "[object Uint32Array]", Ye = {};
6244
+ Ye[Bw] = Ye[Iw] = Ye[Dw] = Ye[kw] = Ye[Tw] = Ye[Fw] = Ye[Pw] = Ye[Rw] = Ye[Lw] = !0;
6245
+ Ye[dw] = Ye[pw] = Ye[Ew] = Ye[hw] = Ye[Sw] = Ye[vw] = Ye[gw] = Ye[xw] = Ye[mw] = Ye[_w] = Ye[Cw] = Ye[yw] = Ye[bw] = Ye[ww] = Ye[Aw] = !1;
6246
+ function $w(o) {
6247
6247
  return qo(o) && Xd(o.length) && !!Ye[Wo(o)];
6248
6248
  }
6249
6249
  function G0(o) {
@@ -6251,26 +6251,26 @@ function G0(o) {
6251
6251
  return o(r);
6252
6252
  };
6253
6253
  }
6254
- var Qd = typeof exports == "object" && exports && !exports.nodeType && exports, Fo = Qd && typeof module == "object" && module && !module.nodeType && module, $w = Fo && Fo.exports === Qd, m0 = $w && Wd.process, no = function() {
6254
+ var Qd = typeof exports == "object" && exports && !exports.nodeType && exports, Fo = Qd && typeof module == "object" && module && !module.nodeType && module, Nw = Fo && Fo.exports === Qd, m0 = Nw && Wd.process, no = function() {
6255
6255
  try {
6256
6256
  var o = Fo && Fo.require && Fo.require("util").types;
6257
6257
  return o || m0 && m0.binding && m0.binding("util");
6258
6258
  } catch {
6259
6259
  }
6260
- }(), Df = no && no.isTypedArray, Nw = Df ? G0(Df) : Lw, Ow = Object.prototype, Uw = Ow.hasOwnProperty;
6261
- function Mw(o, r) {
6262
- var n = K0(o), a = !n && rw(o), l = !n && !a && Gd(o), c = !n && !a && !l && Nw(o), f = n || a || l || c, p = f ? Jb(o.length, String) : [], h = p.length;
6260
+ }(), Df = no && no.isTypedArray, Ow = Df ? G0(Df) : $w, Uw = Object.prototype, Mw = Uw.hasOwnProperty;
6261
+ function zw(o, r) {
6262
+ var n = K0(o), a = !n && ow(o), l = !n && !a && Gd(o), c = !n && !a && !l && Ow(o), f = n || a || l || c, p = f ? ew(o.length, String) : [], h = p.length;
6263
6263
  for (var s in o)
6264
- Uw.call(o, s) && !(f && // Safari 9 has enumerable `arguments.length` in strict mode.
6264
+ Mw.call(o, 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
- cw(s, h))) && p.push(s);
6268
+ uw(s, h))) && p.push(s);
6269
6269
  return p;
6270
6270
  }
6271
- var zw = Object.prototype;
6271
+ var Hw = Object.prototype;
6272
6272
  function Zd(o) {
6273
- var r = o && o.constructor, n = typeof r == "function" && r.prototype || zw;
6273
+ var r = o && o.constructor, n = typeof r == "function" && r.prototype || Hw;
6274
6274
  return o === n;
6275
6275
  }
6276
6276
  function Yd(o, r) {
@@ -6278,111 +6278,110 @@ function Yd(o, r) {
6278
6278
  return o(r(n));
6279
6279
  };
6280
6280
  }
6281
- var Hw = Yd(Object.keys, Object), Ww = Object.prototype, qw = Ww.hasOwnProperty;
6282
- function jw(o) {
6281
+ var Ww = Yd(Object.keys, Object), qw = Object.prototype, jw = qw.hasOwnProperty;
6282
+ function Vw(o) {
6283
6283
  if (!Zd(o))
6284
- return Hw(o);
6284
+ return Ww(o);
6285
6285
  var r = [];
6286
6286
  for (var n in Object(o))
6287
- qw.call(o, n) && n != "constructor" && r.push(n);
6287
+ jw.call(o, n) && n != "constructor" && r.push(n);
6288
6288
  return r;
6289
6289
  }
6290
- function Vw(o) {
6290
+ function Kw(o) {
6291
6291
  return o != null && Xd(o.length) && !jd(o);
6292
6292
  }
6293
- function Kw(o) {
6294
- return Vw(o) ? Mw(o) : jw(o);
6293
+ function Gw(o) {
6294
+ return Kw(o) ? zw(o) : Vw(o);
6295
6295
  }
6296
- var Jd = typeof exports == "object" && exports && !exports.nodeType && exports, kf = Jd && typeof module == "object" && module && !module.nodeType && module, Gw = kf && kf.exports === Jd, Tf = Gw ? kn.Buffer : void 0;
6296
+ var Jd = typeof exports == "object" && exports && !exports.nodeType && exports, kf = Jd && typeof module == "object" && module && !module.nodeType && module, Xw = kf && kf.exports === Jd, Tf = Xw ? kn.Buffer : void 0;
6297
6297
  Tf && Tf.allocUnsafe;
6298
- function Xw(o, r) {
6298
+ function Qw(o, r) {
6299
6299
  return o.slice();
6300
6300
  }
6301
- function Qw(o, r) {
6301
+ function Zw(o, r) {
6302
6302
  for (var n = -1, a = o == null ? 0 : o.length, l = 0, c = []; ++n < a; ) {
6303
6303
  var f = o[n];
6304
6304
  r(f, n, o) && (c[l++] = f);
6305
6305
  }
6306
6306
  return c;
6307
6307
  }
6308
- function Zw() {
6308
+ function Yw() {
6309
6309
  return [];
6310
6310
  }
6311
- var Yw = Object.prototype, Jw = Yw.propertyIsEnumerable, Ff = Object.getOwnPropertySymbols, e8 = Ff ? function(o) {
6312
- return o == null ? [] : (o = Object(o), Qw(Ff(o), function(r) {
6313
- return Jw.call(o, r);
6311
+ var Jw = Object.prototype, e8 = Jw.propertyIsEnumerable, Ff = Object.getOwnPropertySymbols, t8 = Ff ? function(o) {
6312
+ return o == null ? [] : (o = Object(o), Zw(Ff(o), function(r) {
6313
+ return e8.call(o, r);
6314
6314
  }));
6315
- } : Zw;
6316
- function t8(o, r) {
6315
+ } : Yw;
6316
+ function n8(o, r) {
6317
6317
  for (var n = -1, a = r.length, l = o.length; ++n < a; )
6318
6318
  o[l + n] = r[n];
6319
6319
  return o;
6320
6320
  }
6321
- var n8 = Yd(Object.getPrototypeOf, Object);
6322
- function r8(o, r, n) {
6321
+ var r8 = Yd(Object.getPrototypeOf, Object);
6322
+ function o8(o, r, n) {
6323
6323
  var a = r(o);
6324
- return K0(o) ? a : t8(a, n(o));
6324
+ return K0(o) ? a : n8(a, n(o));
6325
6325
  }
6326
- function o8(o) {
6327
- return r8(o, Kw, e8);
6326
+ function i8(o) {
6327
+ return o8(o, Gw, t8);
6328
6328
  }
6329
- var k0 = Fr(kn, "DataView"), T0 = Fr(kn, "Promise"), F0 = Fr(kn, "Set"), P0 = Fr(kn, "WeakMap"), Pf = "[object Map]", i8 = "[object Object]", Rf = "[object Promise]", Lf = "[object Set]", $f = "[object WeakMap]", Nf = "[object DataView]", a8 = Tr(k0), s8 = Tr(Ro), l8 = Tr(T0), c8 = Tr(F0), u8 = Tr(P0), zn = Wo;
6329
+ var k0 = Fr(kn, "DataView"), T0 = Fr(kn, "Promise"), F0 = Fr(kn, "Set"), P0 = Fr(kn, "WeakMap"), Pf = "[object Map]", a8 = "[object Object]", Rf = "[object Promise]", Lf = "[object Set]", $f = "[object WeakMap]", Nf = "[object DataView]", s8 = Tr(k0), l8 = Tr(Ro), c8 = Tr(T0), u8 = Tr(F0), f8 = Tr(P0), zn = Wo;
6330
6330
  (k0 && zn(new k0(new ArrayBuffer(1))) != Nf || Ro && zn(new Ro()) != Pf || T0 && zn(T0.resolve()) != Rf || F0 && zn(new F0()) != Lf || P0 && zn(new P0()) != $f) && (zn = function(o) {
6331
- var r = Wo(o), n = r == i8 ? o.constructor : void 0, a = n ? Tr(n) : "";
6331
+ var r = Wo(o), n = r == a8 ? o.constructor : void 0, a = n ? Tr(n) : "";
6332
6332
  if (a)
6333
6333
  switch (a) {
6334
- case a8:
6335
- return Nf;
6336
6334
  case s8:
6337
- return Pf;
6335
+ return Nf;
6338
6336
  case l8:
6339
- return Rf;
6337
+ return Pf;
6340
6338
  case c8:
6341
- return Lf;
6339
+ return Rf;
6342
6340
  case u8:
6341
+ return Lf;
6342
+ case f8:
6343
6343
  return $f;
6344
6344
  }
6345
6345
  return r;
6346
6346
  });
6347
- var f8 = Object.prototype, d8 = f8.hasOwnProperty;
6348
- function p8(o) {
6347
+ var d8 = Object.prototype, p8 = d8.hasOwnProperty;
6348
+ function h8(o) {
6349
6349
  var r = o.length, n = new o.constructor(r);
6350
- return r && typeof o[0] == "string" && d8.call(o, "index") && (n.index = o.index, n.input = o.input), n;
6350
+ return r && typeof o[0] == "string" && p8.call(o, "index") && (n.index = o.index, n.input = o.input), n;
6351
6351
  }
6352
6352
  var Of = kn.Uint8Array;
6353
6353
  function X0(o) {
6354
6354
  var r = new o.constructor(o.byteLength);
6355
6355
  return new Of(r).set(new Of(o)), r;
6356
6356
  }
6357
- function h8(o, r) {
6357
+ function v8(o, r) {
6358
6358
  var n = X0(o.buffer);
6359
6359
  return new o.constructor(n, o.byteOffset, o.byteLength);
6360
6360
  }
6361
- var v8 = /\w*$/;
6362
- function g8(o) {
6363
- var r = new o.constructor(o.source, v8.exec(o));
6361
+ var g8 = /\w*$/;
6362
+ function x8(o) {
6363
+ var r = new o.constructor(o.source, g8.exec(o));
6364
6364
  return r.lastIndex = o.lastIndex, r;
6365
6365
  }
6366
6366
  var Uf = to ? to.prototype : void 0, Mf = Uf ? Uf.valueOf : void 0;
6367
- function x8(o) {
6367
+ function m8(o) {
6368
6368
  return Mf ? Object(Mf.call(o)) : {};
6369
6369
  }
6370
- function m8(o, r) {
6370
+ function _8(o, r) {
6371
6371
  var n = X0(o.buffer);
6372
6372
  return new o.constructor(n, o.byteOffset, o.length);
6373
6373
  }
6374
- var _8 = "[object Boolean]", C8 = "[object Date]", y8 = "[object Map]", b8 = "[object Number]", w8 = "[object RegExp]", A8 = "[object Set]", E8 = "[object String]", S8 = "[object Symbol]", B8 = "[object ArrayBuffer]", I8 = "[object DataView]", D8 = "[object Float32Array]", k8 = "[object Float64Array]", T8 = "[object Int8Array]", F8 = "[object Int16Array]", P8 = "[object Int32Array]", R8 = "[object Uint8Array]", L8 = "[object Uint8ClampedArray]", $8 = "[object Uint16Array]", N8 = "[object Uint32Array]";
6375
- function O8(o, r, n) {
6374
+ var C8 = "[object Boolean]", y8 = "[object Date]", b8 = "[object Map]", w8 = "[object Number]", A8 = "[object RegExp]", E8 = "[object Set]", S8 = "[object String]", B8 = "[object Symbol]", I8 = "[object ArrayBuffer]", D8 = "[object DataView]", k8 = "[object Float32Array]", T8 = "[object Float64Array]", F8 = "[object Int8Array]", P8 = "[object Int16Array]", R8 = "[object Int32Array]", L8 = "[object Uint8Array]", $8 = "[object Uint8ClampedArray]", N8 = "[object Uint16Array]", O8 = "[object Uint32Array]";
6375
+ function U8(o, r, n) {
6376
6376
  var a = o.constructor;
6377
6377
  switch (r) {
6378
- case B8:
6378
+ case I8:
6379
6379
  return X0(o);
6380
- case _8:
6381
6380
  case C8:
6381
+ case y8:
6382
6382
  return new a(+o);
6383
- case I8:
6384
- return h8(o);
6385
6383
  case D8:
6384
+ return v8(o);
6386
6385
  case k8:
6387
6386
  case T8:
6388
6387
  case F8:
@@ -6391,21 +6390,22 @@ function O8(o, r, n) {
6391
6390
  case L8:
6392
6391
  case $8:
6393
6392
  case N8:
6394
- return m8(o);
6395
- case y8:
6396
- return new a();
6393
+ case O8:
6394
+ return _8(o);
6397
6395
  case b8:
6398
- case E8:
6399
- return new a(o);
6400
- case w8:
6401
- return g8(o);
6402
- case A8:
6403
6396
  return new a();
6397
+ case w8:
6404
6398
  case S8:
6399
+ return new a(o);
6400
+ case A8:
6405
6401
  return x8(o);
6402
+ case E8:
6403
+ return new a();
6404
+ case B8:
6405
+ return m8(o);
6406
6406
  }
6407
6407
  }
6408
- var zf = Object.create, U8 = /* @__PURE__ */ function() {
6408
+ var zf = Object.create, M8 = /* @__PURE__ */ function() {
6409
6409
  function o() {
6410
6410
  }
6411
6411
  return function(r) {
@@ -6418,20 +6418,20 @@ var zf = Object.create, U8 = /* @__PURE__ */ function() {
6418
6418
  return o.prototype = void 0, n;
6419
6419
  };
6420
6420
  }();
6421
- function M8(o) {
6422
- return typeof o.constructor == "function" && !Zd(o) ? U8(n8(o)) : {};
6421
+ function z8(o) {
6422
+ return typeof o.constructor == "function" && !Zd(o) ? M8(r8(o)) : {};
6423
6423
  }
6424
- var z8 = "[object Map]";
6425
- function H8(o) {
6426
- return qo(o) && zn(o) == z8;
6424
+ var H8 = "[object Map]";
6425
+ function W8(o) {
6426
+ return qo(o) && zn(o) == H8;
6427
6427
  }
6428
- var Hf = no && no.isMap, W8 = Hf ? G0(Hf) : H8, q8 = "[object Set]";
6429
- function j8(o) {
6430
- return qo(o) && zn(o) == q8;
6428
+ var Hf = no && no.isMap, q8 = Hf ? G0(Hf) : W8, j8 = "[object Set]";
6429
+ function V8(o) {
6430
+ return qo(o) && zn(o) == j8;
6431
6431
  }
6432
- var Wf = no && no.isSet, V8 = Wf ? G0(Wf) : j8, ep = "[object Arguments]", K8 = "[object Array]", G8 = "[object Boolean]", X8 = "[object Date]", Q8 = "[object Error]", tp = "[object Function]", Z8 = "[object GeneratorFunction]", Y8 = "[object Map]", J8 = "[object Number]", np = "[object Object]", e4 = "[object RegExp]", t4 = "[object Set]", n4 = "[object String]", r4 = "[object Symbol]", o4 = "[object WeakMap]", i4 = "[object ArrayBuffer]", a4 = "[object DataView]", s4 = "[object Float32Array]", l4 = "[object Float64Array]", c4 = "[object Int8Array]", u4 = "[object Int16Array]", f4 = "[object Int32Array]", d4 = "[object Uint8Array]", p4 = "[object Uint8ClampedArray]", h4 = "[object Uint16Array]", v4 = "[object Uint32Array]", Qe = {};
6433
- Qe[ep] = Qe[K8] = Qe[i4] = Qe[a4] = Qe[G8] = Qe[X8] = Qe[s4] = Qe[l4] = Qe[c4] = Qe[u4] = Qe[f4] = Qe[Y8] = Qe[J8] = Qe[np] = Qe[e4] = Qe[t4] = Qe[n4] = Qe[r4] = Qe[d4] = Qe[p4] = Qe[h4] = Qe[v4] = !0;
6434
- Qe[Q8] = Qe[tp] = Qe[o4] = !1;
6432
+ var Wf = no && no.isSet, K8 = Wf ? G0(Wf) : V8, ep = "[object Arguments]", G8 = "[object Array]", X8 = "[object Boolean]", Q8 = "[object Date]", Z8 = "[object Error]", tp = "[object Function]", Y8 = "[object GeneratorFunction]", J8 = "[object Map]", e4 = "[object Number]", np = "[object Object]", t4 = "[object RegExp]", n4 = "[object Set]", r4 = "[object String]", o4 = "[object Symbol]", i4 = "[object WeakMap]", a4 = "[object ArrayBuffer]", s4 = "[object DataView]", l4 = "[object Float32Array]", c4 = "[object Float64Array]", u4 = "[object Int8Array]", f4 = "[object Int16Array]", d4 = "[object Int32Array]", p4 = "[object Uint8Array]", h4 = "[object Uint8ClampedArray]", v4 = "[object Uint16Array]", g4 = "[object Uint32Array]", Qe = {};
6433
+ Qe[ep] = Qe[G8] = Qe[a4] = Qe[s4] = Qe[X8] = Qe[Q8] = Qe[l4] = Qe[c4] = Qe[u4] = Qe[f4] = Qe[d4] = Qe[J8] = Qe[e4] = Qe[np] = Qe[t4] = Qe[n4] = Qe[r4] = Qe[o4] = Qe[p4] = Qe[h4] = Qe[v4] = Qe[g4] = !0;
6434
+ Qe[Z8] = Qe[tp] = Qe[i4] = !1;
6435
6435
  function qi(o, r, n, a, l, c) {
6436
6436
  var f;
6437
6437
  if (f !== void 0)
@@ -6440,36 +6440,36 @@ function qi(o, r, n, a, l, c) {
6440
6440
  return o;
6441
6441
  var p = K0(o);
6442
6442
  if (p)
6443
- f = p8(o);
6443
+ f = h8(o);
6444
6444
  else {
6445
- var h = zn(o), s = h == tp || h == Z8;
6445
+ var h = zn(o), s = h == tp || h == Y8;
6446
6446
  if (Gd(o))
6447
- return Xw(o);
6447
+ return Qw(o);
6448
6448
  if (h == np || h == ep || s && !l)
6449
- f = s ? {} : M8(o);
6449
+ f = s ? {} : z8(o);
6450
6450
  else {
6451
6451
  if (!Qe[h])
6452
6452
  return l ? o : {};
6453
- f = O8(o, h);
6453
+ f = U8(o, h);
6454
6454
  }
6455
6455
  }
6456
6456
  c || (c = new so());
6457
6457
  var d = c.get(o);
6458
6458
  if (d)
6459
6459
  return d;
6460
- c.set(o, f), V8(o) ? o.forEach(function(_) {
6460
+ c.set(o, f), K8(o) ? o.forEach(function(_) {
6461
6461
  f.add(qi(_, r, n, _, o, c));
6462
- }) : W8(o) && o.forEach(function(_, y) {
6462
+ }) : q8(o) && o.forEach(function(_, y) {
6463
6463
  f.set(y, qi(_, r, n, y, o, c));
6464
6464
  });
6465
- var w = o8, v = p ? void 0 : w(o);
6466
- return Gb(v || o, function(_, y) {
6467
- v && (y = _, _ = o[y]), Yb(f, y, qi(_, r, n, y, o, c));
6465
+ var w = i8, v = p ? void 0 : w(o);
6466
+ return Xb(v || o, function(_, y) {
6467
+ v && (y = _, _ = o[y]), Jb(f, y, qi(_, r, n, y, o, c));
6468
6468
  }), f;
6469
6469
  }
6470
- var g4 = 1, x4 = 4;
6470
+ var x4 = 1, m4 = 4;
6471
6471
  function ro(o) {
6472
- return qi(o, g4 | x4);
6472
+ return qi(o, x4 | m4);
6473
6473
  }
6474
6474
  const Qi = (o, r = "") => {
6475
6475
  for (let n of o)
@@ -6490,7 +6490,7 @@ const Qi = (o, r = "") => {
6490
6490
  }
6491
6491
  }
6492
6492
  return null;
6493
- }, m4 = (o, r) => {
6493
+ }, _4 = (o, r) => {
6494
6494
  let n;
6495
6495
  const a = o.findIndex((f) => f.code === r);
6496
6496
  if (a === -1) return { index: a, target: n };
@@ -6498,19 +6498,19 @@ const Qi = (o, r = "") => {
6498
6498
  return c.length && (n = c[0]), n || l.length && (n = l[l.length - 1]), { index: a, target: n };
6499
6499
  }, R0 = (o) => {
6500
6500
  const r = Oe().subAppList ?? [];
6501
- let { index: n, target: a } = m4(r, o);
6501
+ let { index: n, target: a } = _4(r, o);
6502
6502
  return r.splice(n, 1), r.length ? Ot([{ key: "subAppList", value: r }]) : Sd(), Kt([
6503
6503
  { key: "currentCode", value: "" },
6504
6504
  { key: "currentTab", value: {} },
6505
6505
  { key: `preTab:${o}`, value: {} },
6506
6506
  { key: `tabMap:${o}`, value: [] }
6507
6507
  ]), a || (a = { fixed: !0, path: Vt }), { currentApp: a };
6508
- }, _4 = (o, r) => {
6508
+ }, C4 = (o, r) => {
6509
6509
  const n = o.findIndex((c) => c.code === r), a = o.slice(0, n), l = o.slice(n + 1);
6510
6510
  return { left: a, right: l };
6511
- }, C4 = (o, r, n) => {
6511
+ }, y4 = (o, r, n) => {
6512
6512
  var w;
6513
- const a = Gt(r).filter((v) => v.routeUrl).filter((v) => !(v != null && v.disable) && !(v != null && v.expired)), c = (((w = Dt()) == null ? void 0 : w.tabMap) ?? {})[o] ?? [], { left: f, right: p } = _4(c, n), h = c.filter((v) => a.find((_) => _.code === v.code)).map((v) => {
6513
+ const a = Gt(r).filter((v) => v.routeUrl).filter((v) => !(v != null && v.disable) && !(v != null && v.expired)), c = (((w = Dt()) == null ? void 0 : w.tabMap) ?? {})[o] ?? [], { left: f, right: p } = C4(c, n), h = c.filter((v) => a.find((_) => _.code === v.code)).map((v) => {
6514
6514
  var _, y;
6515
6515
  return {
6516
6516
  ...v,
@@ -6552,15 +6552,15 @@ const Qi = (o, r = "") => {
6552
6552
  { key: `tabMap:${o}`, value: [] }
6553
6553
  ]), R0(o));
6554
6554
  }, fa = async (o) => {
6555
- const [r, n] = await q2().run({
6555
+ const [r, n] = await j2().run({
6556
6556
  code: o,
6557
6557
  showBtn: !0,
6558
6558
  userType: 1
6559
6559
  });
6560
6560
  if (r || !n || !n.length) return { menus: [], originalMenus: [], err: r };
6561
- ky(n, o);
6561
+ Ty(n, o);
6562
6562
  const a = Gt(n);
6563
- Ty(a, o), Fy(a, o);
6563
+ Fy(a, o), Py(a, o);
6564
6564
  let l = sC(
6565
6565
  n,
6566
6566
  (f) => f.isMenu && f.code !== "aiPlatform.dasaiassistant" && f.originalCode !== "aiPlatform.dasaiassistant"
@@ -6569,7 +6569,7 @@ const Qi = (o, r = "") => {
6569
6569
  return l.forEach((f) => {
6570
6570
  f != null && f.children && f.children.length && (f.originalChildren = ro(f.children)), (f != null && f.expired || f != null && f.disable) && (f.children = []);
6571
6571
  }), { menus: l, originalMenus: c };
6572
- }, y4 = async (o) => {
6572
+ }, b4 = async (o) => {
6573
6573
  var v, _, y, E, C;
6574
6574
  let { microApp: r = null, menuCode: n = "", menuPath: a = "", route: l = {} } = o;
6575
6575
  const c = ((v = l.meta) == null ? void 0 : v.showLayout) ?? !0;
@@ -6586,7 +6586,7 @@ const Qi = (o, 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: x } = await V2();
6589
+ const { instanceInfo: x } = await K2();
6590
6590
  if (x) {
6591
6591
  let m = !1;
6592
6592
  h.forEach((B) => {
@@ -6638,7 +6638,7 @@ const Qi = (o, 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 x = C4(r.code, h, n);
6641
+ const x = y4(r.code, h, n);
6642
6642
  x != null && x.currentApp && (r = x.currentApp), x != null && x.currentMenu && (w = x.currentMenu), x != null && x.currentTab && (l.query = ((C = x.currentTab) == null ? void 0 : C.query) ?? {});
6643
6643
  }
6644
6644
  if ((r == null ? void 0 : r.routeUrl) === Vt)
@@ -6687,19 +6687,19 @@ const Qi = (o, r = "") => {
6687
6687
  return { menuConfig: h, currentApp: r, currentMenu: w, query: b, microPath: m };
6688
6688
  }
6689
6689
  return { menuConfig: h, currentApp: r, currentMenu: null, query: { ...l.query, app: p } };
6690
- }, b4 = jn.get("/appcategory"), w4 = jn.get("/app/common"), qf = W(!1), L0 = W([]);
6690
+ }, w4 = jn.get("/appcategory"), A4 = jn.get("/app/common"), qf = W(!1), L0 = W([]);
6691
6691
  Nt(() => {
6692
6692
  var o;
6693
6693
  return ((o = L0.value) == null ? void 0 : o.map((r) => r.apps).flat()) || [];
6694
6694
  });
6695
6695
  const rp = async () => {
6696
6696
  qf.value = !0;
6697
- const [o, r] = await b4().run({ userType: 1 });
6697
+ const [o, r] = await w4().run({ userType: 1 });
6698
6698
  return qf.value = !1, o ? (L0.value = [], { navConfig: [] }) : (L0.value = r, Ot([{ key: "appcategorys", value: r }]), { navConfig: r });
6699
- }, A4 = W([]), E4 = async () => {
6700
- const [o, r] = await w4().run();
6701
- return o ? { fixedAppsConfig: [] } : (A4.value = r, { fixedAppsConfig: r });
6702
- }, op = "v1", S4 = ra.get("/organization/authProjectTree"), B4 = wt(`/api/customer/customer/${op}`), I4 = B4.get("/project/list"), ip = wt(`/api/project/project-server/${op}`), D4 = ip.post("/list"), k4 = ip.get("/list/message"), ap = "iwmStationReserveParams", ji = "iwmStationReserveProjectSwitchReload", sp = "/iwm/stationReserve", T4 = "iwm", F4 = "iwm.reservation.stationReserve", P4 = () => {
6699
+ }, E4 = W([]), S4 = async () => {
6700
+ const [o, r] = await A4().run();
6701
+ return o ? { fixedAppsConfig: [] } : (E4.value = r, { fixedAppsConfig: r });
6702
+ }, op = "v1", B4 = ra.get("/organization/authProjectTree"), I4 = wt(`/api/customer/customer/${op}`), D4 = I4.get("/project/list"), ip = wt(`/api/project/project-server/${op}`), k4 = ip.post("/list"), T4 = ip.get("/list/message"), ap = "iwmStationReserveParams", ji = "iwmStationReserveProjectSwitchReload", sp = "/iwm/stationReserve", F4 = "iwm", P4 = "iwm.reservation.stationReserve", R4 = () => {
6703
6703
  var c, f;
6704
6704
  const o = new URL(window.location.href), n = o.pathname.replace(/\/+$/, "").toLowerCase().endsWith(sp.toLowerCase()), a = ((c = o.searchParams.get("cityCode")) == null ? void 0 : c.trim()) ?? "";
6705
6705
  if (!n || !a)
@@ -6710,20 +6710,20 @@ const rp = async () => {
6710
6710
  reservationTime: ((f = o.searchParams.get("reservationTime")) == null ? void 0 : f.trim()) ?? "",
6711
6711
  isProjectSwitchReload: l
6712
6712
  };
6713
- }, R4 = () => {
6713
+ }, L4 = () => {
6714
6714
  const o = new URL(window.location.href);
6715
6715
  o.pathname.replace(/\/+$/, "").toLowerCase().endsWith(sp.toLowerCase()) && (o.searchParams.delete("cityCode"), o.searchParams.delete("reservationTime"), sessionStorage.removeItem(ji), window.history.replaceState(window.history.state, "", `${o.pathname}${o.search}${o.hash}`));
6716
- }, L4 = (o) => {
6716
+ }, $4 = (o) => {
6717
6717
  sessionStorage.setItem(
6718
6718
  ap,
6719
6719
  JSON.stringify({ cityCode: o.cityCode, reservationTime: o.reservationTime })
6720
6720
  );
6721
- }, $4 = () => {
6721
+ }, N4 = () => {
6722
6722
  sessionStorage.removeItem(ap);
6723
6723
  }, jf = (o) => {
6724
6724
  const r = String(o ?? "").split("/").map((n) => n.trim()).filter(Boolean);
6725
6725
  return r.length >= 3 ? r[2] : r[r.length - 1] ?? "";
6726
- }, Vf = (o) => String((o == null ? void 0 : o.id) ?? (o == null ? void 0 : o.projectId) ?? ""), lp = (o) => Array.isArray(o) ? o : Array.isArray(o == null ? void 0 : o.records) ? o.records : Array.isArray(o == null ? void 0 : o.list) ? o.list : Array.isArray(o == null ? void 0 : o.content) ? o.content : Array.isArray(o == null ? void 0 : o.data) ? o.data : o != null && o.data && o.data !== o ? lp(o.data) : [], N4 = (o, r, n) => {
6726
+ }, Vf = (o) => String((o == null ? void 0 : o.id) ?? (o == null ? void 0 : o.projectId) ?? ""), lp = (o) => Array.isArray(o) ? o : Array.isArray(o == null ? void 0 : o.records) ? o.records : Array.isArray(o == null ? void 0 : o.list) ? o.list : Array.isArray(o == null ? void 0 : o.content) ? o.content : Array.isArray(o == null ? void 0 : o.data) ? o.data : o != null && o.data && o.data !== o ? lp(o.data) : [], O4 = (o, r, n) => {
6727
6727
  const a = jf(o), l = r.filter((h) => jf(h == null ? void 0 : h.cityCode) === a);
6728
6728
  if (!l.length)
6729
6729
  return { currentProject: null, failureReason: "project-not-found" };
@@ -6734,12 +6734,12 @@ const rp = async () => {
6734
6734
  // 第三方每次跳转都按最新城市重新选择,不能沿用 sessionStorage 中旧项目。
6735
6735
  currentProject: p[0]
6736
6736
  } : { currentProject: null, failureReason: "project-no-permission" };
6737
- }, O4 = async () => {
6737
+ }, U4 = async () => {
6738
6738
  var f, p, h;
6739
- const o = ta(), r = P4();
6739
+ const o = ta(), r = R4();
6740
6740
  let n = [], a = null, l = {}, c = { isTarget: !!r };
6741
- if (r && L4(r), (o == null ? void 0 : o.flag) === 4) {
6742
- const [s, d = []] = await I4().run();
6741
+ if (r && $4(r), (o == null ? void 0 : o.flag) === 4) {
6742
+ const [s, d = []] = await D4().run();
6743
6743
  if (n = d, !r && n && n.length) {
6744
6744
  const w = ((f = Ut()) == null ? void 0 : f.id) || 0;
6745
6745
  if (w && (a = n.find((v) => v.id === w)), !w || !a) {
@@ -6749,7 +6749,7 @@ const rp = async () => {
6749
6749
  }
6750
6750
  r && (c.failureReason = s ? "request-error" : "project-no-permission");
6751
6751
  } else {
6752
- const [s, d = []] = await S4().run();
6752
+ const [s, d = []] = await B4().run();
6753
6753
  if (n = d, r)
6754
6754
  if (s)
6755
6755
  c.failureReason = "request-error";
@@ -6757,11 +6757,11 @@ const rp = async () => {
6757
6757
  const w = ((p = Ut()) == null ? void 0 : p.id) || 0;
6758
6758
  a = w ? Rs(n, (v) => v.type === 7 && v.id === w) : null, a || (c.failureReason = "project-no-permission");
6759
6759
  } else {
6760
- const [w, v] = await D4().run();
6760
+ const [w, v] = await k4().run();
6761
6761
  if (w)
6762
6762
  c.failureReason = "request-error";
6763
6763
  else {
6764
- const _ = N4(
6764
+ const _ = O4(
6765
6765
  r.cityCode,
6766
6766
  lp(v),
6767
6767
  n
@@ -6775,36 +6775,36 @@ const rp = async () => {
6775
6775
  }
6776
6776
  }
6777
6777
  if (a || !r) {
6778
- const [, s] = await k4().run({ projectId: (a == null ? void 0 : a.id) ?? 0 });
6778
+ const [, s] = await T4().run({ projectId: (a == null ? void 0 : a.id) ?? 0 });
6779
6779
  l = s;
6780
6780
  }
6781
- return Md((a == null ? void 0 : a.id) || 0), Ad(a || { id: 0 }), ud((a == null ? void 0 : a.id) || 0), Iy(l), { projectConfig: n, currentProject: a, stationReserveEntry: c };
6782
- }, U4 = "v1", M4 = oa.get("/visitor/login/with-default", (o) => (o.public = !0, o)), z4 = oa.get("/visitor/appearance/with-default", (o) => (o.public = !0, o)), H4 = oa.get("platform/appearance/withdefault"), W4 = wt(`/api/portal/manager/${U4}`), q4 = W4.get("/basics/home/info"), j4 = jn.get("/language"), V4 = jn.get("/menu/personal-setting"), K4 = new URL("assets/black-logo-B-Qipuvf.png", import.meta.url).href, G4 = new URL("assets/white-logo-D7bqAkJL.png", import.meta.url).href, X4 = async () => {
6783
- const [o, r] = await M4().run();
6781
+ return Md((a == null ? void 0 : a.id) || 0), Ad(a || { id: 0 }), ud((a == null ? void 0 : a.id) || 0), Dy(l), { projectConfig: n, currentProject: a, stationReserveEntry: c };
6782
+ }, M4 = "v1", z4 = oa.get("/visitor/login/with-default", (o) => (o.public = !0, o)), H4 = oa.get("/visitor/appearance/with-default", (o) => (o.public = !0, o)), W4 = oa.get("platform/appearance/withdefault"), q4 = wt(`/api/portal/manager/${M4}`), j4 = q4.get("/basics/home/info"), V4 = jn.get("/language"), K4 = jn.get("/menu/personal-setting"), G4 = new URL("assets/black-logo-B-Qipuvf.png", import.meta.url).href, X4 = new URL("assets/white-logo-D7bqAkJL.png", import.meta.url).href, Q4 = async () => {
6783
+ const [o, r] = await z4().run();
6784
6784
  return o ? { loginConfig: null } : { loginConfig: r };
6785
6785
  }, cp = async () => {
6786
- const o = qn() ? H4 : z4, [r, n] = await o().run();
6786
+ const o = qn() ? W4 : H4, [r, n] = await o().run();
6787
6787
  return r ? { platformConfig: null } : { platformConfig: n };
6788
6788
  }, Hn = W(null), up = async () => {
6789
- const [o, r] = await q4().run();
6790
- return o ? { homeConfig: null } : (r && (Sy(r), Hn.value = r), { homeConfig: r });
6791
- }, hn = W({ style: 1, skinStyle: "default" }), Q4 = async () => {
6792
- const [o, r] = await V4().run(), n = (r == null ? void 0 : r.style) ?? 1, a = (r == null ? void 0 : r.skinStyle) ?? "default";
6789
+ const [o, r] = await j4().run();
6790
+ return o ? { homeConfig: null } : (r && (By(r), Hn.value = r), { homeConfig: r });
6791
+ }, hn = W({ style: 1, skinStyle: "default" }), Z4 = async () => {
6792
+ const [o, r] = await K4().run(), n = (r == null ? void 0 : r.style) ?? 1, a = (r == null ? void 0 : r.skinStyle) ?? "default";
6793
6793
  hn.value = {
6794
6794
  style: n,
6795
6795
  skinStyle: a
6796
6796
  }, xe.setTheme(a);
6797
- const { platformConfig: l } = await cp(), c = a === "default" || a === "cjb" ? K4 : G4;
6797
+ const { platformConfig: l } = await cp(), c = a === "default" || a === "cjb" ? G4 : X4;
6798
6798
  return qn() && xe.nav.setLogo(l != null && l.platformLogoImg ? zo(l.platformLogoImg) : c), sessionStorage.setItem("personal-config", JSON.stringify(hn.value)), {
6799
6799
  personalMenuConfig: hn.value
6800
6800
  };
6801
- }, Z4 = async () => {
6802
- const [o, r] = await j4().run();
6801
+ }, Y4 = async () => {
6802
+ const [o, r] = await V4().run();
6803
6803
  let n = Uo.value;
6804
6804
  return r != null && r.type && r.type === 1 && (n = "zh-CN"), r != null && r.type && r.type === 2 && (n = "en"), Y_(n), {
6805
6805
  langConfig: { ...r }
6806
6806
  };
6807
- }, Y4 = new URL("assets/hengxian-CyCsW-Hu.png", import.meta.url).href, J4 = new URL("assets/qianru-Bsf1Lhh2.png", import.meta.url).href, eA = new URL("assets/default-DOjV2jIm.png", import.meta.url).href, tA = new URL("assets/kjl-DozNzlyC.png", import.meta.url).href, nA = new URL("assets/cjb-CTZzysmN.png", import.meta.url).href, rA = new URL("assets/ssl-XnQ4A9bQ.png", import.meta.url).href, oA = new URL("assets/dkh-DkyUTuR0.png", import.meta.url).href, iA = new URL("assets/default-preview-HZjPO_Oz.png", import.meta.url).href, aA = new URL("assets/kjl-preview-xHIEscys.png", import.meta.url).href, sA = new URL("assets/cjb-preview-Cz6ZEp0h.png", import.meta.url).href, lA = new URL("assets/ssl-preview-C4BD2d61.png", import.meta.url).href, cA = new URL("assets/dkh-preview-SJ0YoU2z.png", import.meta.url).href, uA = new URL("assets/default-preview-DEfMZxi2.png", import.meta.url).href, fA = new URL("assets/kjl-preview-CCoSuYDK.png", import.meta.url).href, dA = new URL("assets/cjb-preview-DWYaDhQb.png", import.meta.url).href, pA = new URL("assets/ssl-preview-DI5pA3Df.png", import.meta.url).href, hA = new URL("assets/dkh-preview-DQZDuJfb.png", import.meta.url).href, vA = { class: "theme-style-container" }, gA = { class: "menu-config" }, xA = { class: "title" }, mA = { class: "content" }, _A = ["src"], CA = ["src"], yA = { class: "skin-config" }, bA = { class: "title" }, wA = { class: "content" }, AA = ["src"], EA = ["src"], SA = { class: "content" }, BA = ["src"], IA = ["src"], DA = { class: "content" }, kA = ["src"], TA = { class: "preview" }, FA = { class: "title" }, PA = { class: "preview-content" }, RA = ["src"], LA = /* @__PURE__ */ st({
6807
+ }, J4 = new URL("assets/hengxian-CyCsW-Hu.png", import.meta.url).href, eA = new URL("assets/qianru-Bsf1Lhh2.png", import.meta.url).href, tA = new URL("assets/default-DOjV2jIm.png", import.meta.url).href, nA = new URL("assets/kjl-DozNzlyC.png", import.meta.url).href, rA = new URL("assets/cjb-CTZzysmN.png", import.meta.url).href, oA = new URL("assets/ssl-XnQ4A9bQ.png", import.meta.url).href, iA = new URL("assets/dkh-DkyUTuR0.png", import.meta.url).href, aA = new URL("assets/default-preview-HZjPO_Oz.png", import.meta.url).href, sA = new URL("assets/kjl-preview-xHIEscys.png", import.meta.url).href, lA = new URL("assets/cjb-preview-Cz6ZEp0h.png", import.meta.url).href, cA = new URL("assets/ssl-preview-C4BD2d61.png", import.meta.url).href, uA = new URL("assets/dkh-preview-SJ0YoU2z.png", import.meta.url).href, fA = new URL("assets/default-preview-DEfMZxi2.png", import.meta.url).href, dA = new URL("assets/kjl-preview-CCoSuYDK.png", import.meta.url).href, pA = new URL("assets/cjb-preview-DWYaDhQb.png", import.meta.url).href, hA = new URL("assets/ssl-preview-DI5pA3Df.png", import.meta.url).href, vA = new URL("assets/dkh-preview-DQZDuJfb.png", import.meta.url).href, gA = { class: "theme-style-container" }, xA = { class: "menu-config" }, mA = { class: "title" }, _A = { class: "content" }, CA = ["src"], yA = ["src"], bA = { class: "skin-config" }, wA = { class: "title" }, AA = { class: "content" }, EA = ["src"], SA = ["src"], BA = { class: "content" }, IA = ["src"], DA = ["src"], kA = { class: "content" }, TA = ["src"], FA = { class: "preview" }, PA = { class: "title" }, RA = { class: "preview-content" }, LA = ["src"], $A = /* @__PURE__ */ st({
6808
6808
  __name: "index",
6809
6809
  props: {
6810
6810
  isShow: { type: Boolean, default: !0 }
@@ -6831,13 +6831,13 @@ const rp = async () => {
6831
6831
  }), _ = Nt(() => {
6832
6832
  const C = Uo.value === "zh-CN";
6833
6833
  return {
6834
- default: C ? iA : uA,
6835
- kjl: C ? aA : fA,
6836
- cjb: C ? sA : dA,
6837
- ssl: C ? lA : pA,
6838
- dkh: C ? cA : hA
6834
+ default: C ? aA : fA,
6835
+ kjl: C ? sA : dA,
6836
+ cjb: C ? lA : pA,
6837
+ ssl: C ? cA : hA,
6838
+ dkh: C ? uA : vA
6839
6839
  }[w()];
6840
- }), { onPreview: y } = MC(), E = () => {
6840
+ }), { onPreview: y } = zC(), E = () => {
6841
6841
  y({ previewList: [_.value], previewBtnConfig: !0 });
6842
6842
  };
6843
6843
  return r({
@@ -6845,27 +6845,27 @@ const rp = async () => {
6845
6845
  getResult: v
6846
6846
  }), (C, x) => Dn((_e(), Ke(
6847
6847
  "div",
6848
- vA,
6848
+ gA,
6849
6849
  [
6850
- se("section", gA, [
6850
+ se("section", xA, [
6851
6851
  se(
6852
6852
  "p",
6853
- xA,
6853
+ mA,
6854
6854
  Ae(D(ce)("侧边菜单栏")),
6855
6855
  1
6856
6856
  /* TEXT */
6857
6857
  ),
6858
- se("div", mA, [
6858
+ se("div", _A, [
6859
6859
  se("div", {
6860
6860
  class: "item-content",
6861
6861
  onClick: x[1] || (x[1] = (m) => d("menu", 1))
6862
6862
  }, [
6863
6863
  se("img", {
6864
- src: D(Y4),
6864
+ src: D(J4),
6865
6865
  alt: "",
6866
6866
  width: "180",
6867
6867
  height: "120"
6868
- }, null, 8, _A),
6868
+ }, null, 8, CA),
6869
6869
  ae(D(_r), {
6870
6870
  modelValue: n.value,
6871
6871
  "onUpdate:modelValue": x[0] || (x[0] = (m) => n.value = m)
@@ -6886,11 +6886,11 @@ const rp = async () => {
6886
6886
  onClick: x[3] || (x[3] = (m) => d("menu", 2))
6887
6887
  }, [
6888
6888
  se("img", {
6889
- src: D(J4),
6889
+ src: D(eA),
6890
6890
  alt: "",
6891
6891
  width: "180",
6892
6892
  height: "120"
6893
- }, null, 8, CA),
6893
+ }, null, 8, yA),
6894
6894
  ae(D(_r), {
6895
6895
  modelValue: a.value,
6896
6896
  "onUpdate:modelValue": x[2] || (x[2] = (m) => a.value = m)
@@ -6908,25 +6908,25 @@ const rp = async () => {
6908
6908
  ])
6909
6909
  ])
6910
6910
  ]),
6911
- se("section", yA, [
6911
+ se("section", bA, [
6912
6912
  se(
6913
6913
  "p",
6914
- bA,
6914
+ wA,
6915
6915
  Ae(D(ce)("皮肤风格设置")),
6916
6916
  1
6917
6917
  /* TEXT */
6918
6918
  ),
6919
- se("div", wA, [
6919
+ se("div", AA, [
6920
6920
  se("div", {
6921
6921
  class: "item-content",
6922
6922
  onClick: x[5] || (x[5] = (m) => d("skin", 1))
6923
6923
  }, [
6924
6924
  se("img", {
6925
- src: D(eA),
6925
+ src: D(tA),
6926
6926
  alt: "",
6927
6927
  width: "180",
6928
6928
  height: "120"
6929
- }, null, 8, AA),
6929
+ }, null, 8, EA),
6930
6930
  ae(D(_r), {
6931
6931
  modelValue: l.value,
6932
6932
  "onUpdate:modelValue": x[4] || (x[4] = (m) => l.value = m)
@@ -6947,11 +6947,11 @@ const rp = async () => {
6947
6947
  onClick: x[7] || (x[7] = (m) => d("skin", 2))
6948
6948
  }, [
6949
6949
  se("img", {
6950
- src: D(tA),
6950
+ src: D(nA),
6951
6951
  alt: "",
6952
6952
  width: "180",
6953
6953
  height: "120"
6954
- }, null, 8, EA),
6954
+ }, null, 8, SA),
6955
6955
  ae(D(_r), {
6956
6956
  modelValue: c.value,
6957
6957
  "onUpdate:modelValue": x[6] || (x[6] = (m) => c.value = m)
@@ -6968,17 +6968,17 @@ const rp = async () => {
6968
6968
  }, 8, ["modelValue"])
6969
6969
  ])
6970
6970
  ]),
6971
- se("div", SA, [
6971
+ se("div", BA, [
6972
6972
  se("div", {
6973
6973
  class: "item-content",
6974
6974
  onClick: x[9] || (x[9] = (m) => d("skin", 3))
6975
6975
  }, [
6976
6976
  se("img", {
6977
- src: D(nA),
6977
+ src: D(rA),
6978
6978
  alt: "",
6979
6979
  width: "180",
6980
6980
  height: "120"
6981
- }, null, 8, BA),
6981
+ }, null, 8, IA),
6982
6982
  ae(D(_r), {
6983
6983
  modelValue: f.value,
6984
6984
  "onUpdate:modelValue": x[8] || (x[8] = (m) => f.value = m)
@@ -6999,11 +6999,11 @@ const rp = async () => {
6999
6999
  onClick: x[11] || (x[11] = (m) => d("skin", 4))
7000
7000
  }, [
7001
7001
  se("img", {
7002
- src: D(rA),
7002
+ src: D(oA),
7003
7003
  alt: "",
7004
7004
  width: "180",
7005
7005
  height: "120"
7006
- }, null, 8, IA),
7006
+ }, null, 8, DA),
7007
7007
  ae(D(_r), {
7008
7008
  modelValue: p.value,
7009
7009
  "onUpdate:modelValue": x[10] || (x[10] = (m) => p.value = m)
@@ -7020,17 +7020,17 @@ const rp = async () => {
7020
7020
  }, 8, ["modelValue"])
7021
7021
  ])
7022
7022
  ]),
7023
- se("div", DA, [
7023
+ se("div", kA, [
7024
7024
  se("div", {
7025
7025
  class: "item-content",
7026
7026
  onClick: x[13] || (x[13] = (m) => d("skin", 5))
7027
7027
  }, [
7028
7028
  se("img", {
7029
- src: D(oA),
7029
+ src: D(iA),
7030
7030
  alt: "",
7031
7031
  width: "180",
7032
7032
  height: "120"
7033
- }, null, 8, kA),
7033
+ }, null, 8, TA),
7034
7034
  ae(D(_r), {
7035
7035
  modelValue: h.value,
7036
7036
  "onUpdate:modelValue": x[12] || (x[12] = (m) => h.value = m)
@@ -7048,22 +7048,22 @@ const rp = async () => {
7048
7048
  ])
7049
7049
  ])
7050
7050
  ]),
7051
- se("section", TA, [
7051
+ se("section", FA, [
7052
7052
  se(
7053
7053
  "p",
7054
- FA,
7054
+ PA,
7055
7055
  Ae(D(ce)("效果预览")),
7056
7056
  1
7057
7057
  /* TEXT */
7058
7058
  ),
7059
- se("div", PA, [
7059
+ se("div", RA, [
7060
7060
  se("img", {
7061
7061
  src: _.value,
7062
7062
  alt: "",
7063
7063
  width: "100%",
7064
7064
  height: "100% ",
7065
7065
  onClick: E
7066
- }, null, 8, RA)
7066
+ }, null, 8, LA)
7067
7067
  ])
7068
7068
  ])
7069
7069
  ],
@@ -7073,7 +7073,7 @@ const rp = async () => {
7073
7073
  [eo, C.isShow]
7074
7074
  ]);
7075
7075
  }
7076
- }), $A = /* @__PURE__ */ Mt(LA, [["__scopeId", "data-v-6071b555"]]), NA = { class: "set-lang" }, OA = /* @__PURE__ */ st({
7076
+ }), NA = /* @__PURE__ */ Mt($A, [["__scopeId", "data-v-6071b555"]]), OA = { class: "set-lang" }, UA = /* @__PURE__ */ st({
7077
7077
  __name: "index",
7078
7078
  props: {
7079
7079
  isShow: { type: Boolean }
@@ -7093,7 +7093,7 @@ const rp = async () => {
7093
7093
  getResult: () => ({ ...a.value })
7094
7094
  }), (c, f) => Dn((_e(), Ke(
7095
7095
  "div",
7096
- NA,
7096
+ OA,
7097
7097
  [
7098
7098
  ae(D(z0), {
7099
7099
  width: "100%",
@@ -7123,7 +7123,7 @@ const rp = async () => {
7123
7123
  [eo, c.isShow]
7124
7124
  ]);
7125
7125
  }
7126
- }), UA = /* @__PURE__ */ Mt(OA, [["__scopeId", "data-v-b5871b7c"]]), lo = "v1", MA = `/api/portal/manager/${lo}`, da = wt(MA), zA = `/api/orchestration-engine/${lo}`, Q0 = wt(`${zA}`), HA = `/api/workbench/workbench-server/${lo}`, WA = wt(HA), qA = `/workflow/form/form/${lo}`, jA = wt(qA), VA = `/api/portal/user/${lo}`, fp = wt(VA), KA = fp.get("/home"), GA = fp.delete("/home"), XA = da.get("/basics/home/type"), QA = da.get("/basics/tree-page"), ZA = da.get("/basics/list"), YA = Q0.get("/device-list/arrange/page"), JA = Q0.get("/drawingArrangement/list"), eE = Q0.get("/data/arrange/page"), tE = WA.get("/page/portal/list"), nE = jA.post("/list"), rE = `/api/portal/user/${lo}`, dp = wt(rE), oE = dp.get("/app/appcategory"), Kf = dp.get("/app/common/selected"), iE = da.get("/basics/project-list"), aE = (o) => {
7126
+ }), MA = /* @__PURE__ */ Mt(UA, [["__scopeId", "data-v-b5871b7c"]]), lo = "v1", zA = `/api/portal/manager/${lo}`, da = wt(zA), HA = `/api/orchestration-engine/${lo}`, Q0 = wt(`${HA}`), WA = `/api/workbench/workbench-server/${lo}`, qA = wt(WA), jA = `/workflow/form/form/${lo}`, VA = wt(jA), KA = `/api/portal/user/${lo}`, fp = wt(KA), GA = fp.get("/home"), XA = fp.delete("/home"), QA = da.get("/basics/home/type"), ZA = da.get("/basics/tree-page"), YA = da.get("/basics/list"), JA = Q0.get("/device-list/arrange/page"), eE = Q0.get("/drawingArrangement/list"), tE = Q0.get("/data/arrange/page"), nE = qA.get("/page/portal/list"), rE = VA.post("/list"), oE = `/api/portal/user/${lo}`, dp = wt(oE), iE = dp.get("/app/appcategory"), Kf = dp.get("/app/common/selected"), aE = da.get("/basics/project-list"), sE = (o) => {
7127
7127
  const { orgInfo: r, information: n, validate: a } = o, l = W(!1), c = W(""), f = W(""), p = W(""), h = W([]), s = W({
7128
7128
  id: "0",
7129
7129
  path: "",
@@ -7136,9 +7136,9 @@ const rp = async () => {
7136
7136
  routeUrl: "",
7137
7137
  applicationPath: "",
7138
7138
  levelType: 1
7139
- }), d = WC();
7139
+ }), d = qC();
7140
7140
  let w = !0;
7141
- const v = W(!1), { run: _ } = QA(), { run: y } = ZA(), E = () => {
7141
+ const v = W(!1), { run: _ } = ZA(), { run: y } = YA(), E = () => {
7142
7142
  var I;
7143
7143
  w = !0, (I = d.value) == null || I.resetLazyLoad();
7144
7144
  };
@@ -7190,16 +7190,16 @@ const rp = async () => {
7190
7190
  I.routeUrl = P.routeUrl, I.originalCode = P.code, I.originalId = P.id, I.urlId = P.id, I.urlPath = P.path, I.applicationPath = P.applicationPath, a.value.routeUrl = "", I.code || (I.code = P.code), l.value = !1;
7191
7191
  }
7192
7192
  };
7193
- }, sE = "/enterpriseadmin/ioc-server/ioc-server/ws";
7193
+ }, lE = "/enterpriseadmin/ioc-server/ioc-server/ws";
7194
7194
  let zi = null;
7195
- const lE = (o) => {
7195
+ const cE = (o) => {
7196
7196
  const { information: r, orgInfo: n } = o, a = Nt(() => n.id), l = W(!1), c = W(0), f = W([
7197
7197
  { value: 0, label: ce("图纸") },
7198
7198
  { value: 1, label: ce("图纸编排") },
7199
7199
  { value: 2, label: ce("设备看板") },
7200
7200
  { value: 3, label: ce("数据编排") },
7201
7201
  { value: 4, label: ce("轻分析") }
7202
- ]), p = W([]), h = W(20), s = W(1), d = W(0), w = W(""), v = W(""), _ = W(""), y = W(!1), { run: E } = YA(), { run: C } = JA(), { run: x } = eE(), { run: m } = tE(), { run: b } = nE(), B = (M) => {
7202
+ ]), p = W([]), h = W(20), s = W(1), d = W(0), w = W(""), v = W(""), _ = W(""), y = W(!1), { run: E } = JA(), { run: C } = eE(), { run: x } = tE(), { run: m } = nE(), { run: b } = rE(), B = (M) => {
7203
7203
  const G = [], re = M[2], ue = re.displays, H = re.scenes, Z = re[ce("2D3D集成根目录")];
7204
7204
  I(ue, "2D", "/enterpriseadmin/ioc-server/?type=preview&tag=displays", G), I(H, "3D", "/enterpriseadmin/ioc-server/?type=preview3d&tag=scenes", G), I(Z, ce("集成"), "/enterpriseadmin/ioc-server/?type=preview2d3d&tag=scenes", G);
7205
7205
  const ne = (s.value - 1) * h.value, te = ne + h.value;
@@ -7299,7 +7299,7 @@ const lE = (o) => {
7299
7299
  p.value = re.data.map((ue) => (ue.type = ce("数据编排"), ue)) || [], d.value = re.totalCount;
7300
7300
  };
7301
7301
  return An(() => {
7302
- zi || (zi = new ia({ url: sE, reconnectWhenClose: !0, message: B }));
7302
+ zi || (zi = new ia({ url: lE, reconnectWhenClose: !0, message: B }));
7303
7303
  }), {
7304
7304
  loading: y,
7305
7305
  urlDialog: l,
@@ -7317,7 +7317,7 @@ const lE = (o) => {
7317
7317
  changeType: k,
7318
7318
  getTable: L
7319
7319
  };
7320
- }, cE = new URL("assets/feedback-QNGIKgWm.png", import.meta.url).href, uE = ["src"], fE = { class: "content" }, dE = /* @__PURE__ */ st({
7320
+ }, uE = new URL("assets/feedback-QNGIKgWm.png", import.meta.url).href, fE = ["src"], dE = { class: "content" }, pE = /* @__PURE__ */ st({
7321
7321
  __name: "index",
7322
7322
  emits: ["confirm", "cancel"],
7323
7323
  setup(o, { expose: r, emit: n }) {
@@ -7353,16 +7353,16 @@ const lE = (o) => {
7353
7353
  ]),
7354
7354
  feedbackImg: de(() => [
7355
7355
  se("img", {
7356
- src: D(cE),
7356
+ src: D(uE),
7357
7357
  width: "168",
7358
7358
  height: "96",
7359
7359
  alt: ""
7360
- }, null, 8, uE)
7360
+ }, null, 8, fE)
7361
7361
  ]),
7362
7362
  default: de(() => [
7363
7363
  se(
7364
7364
  "div",
7365
- fE,
7365
+ dE,
7366
7366
  Ae(D(ce)("framework-reset-home-confirm", c.value)),
7367
7367
  1
7368
7368
  /* TEXT */
@@ -11044,11 +11044,11 @@ function print() { __p += __j.call(arguments, '') }
11044
11044
  ur ? ((ur.exports = Wr)._ = Wr, Da._ = Wr) : yt._ = Wr;
11045
11045
  }).call(Se);
11046
11046
  })(Zi, Zi.exports);
11047
- var pE = Zi.exports;
11048
- const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = new URL("assets/unselected-C4QVkFPL.svg", import.meta.url).href, gE = new URL("assets/noIconurl-7L4lHbul.png", import.meta.url).href, xE = { class: "left" }, mE = { class: "select-wrap" }, _E = {
11047
+ var hE = Zi.exports;
11048
+ const vE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, gE = new URL("assets/unselected-C4QVkFPL.svg", import.meta.url).href, xE = new URL("assets/noIconurl-7L4lHbul.png", import.meta.url).href, mE = { class: "left" }, _E = { class: "select-wrap" }, CE = {
11049
11049
  class: "custom-tree-node",
11050
11050
  style: { overflow: "hidden" }
11051
- }, CE = { class: "ellipsis" }, yE = { key: 0 }, bE = { class: "second-wrap" }, wE = { class: "center" }, AE = { class: "app-title" }, EE = { class: "app-list" }, SE = { class: "app-item" }, BE = ["src", "onClick"], IE = { class: "tag" }, DE = ["onClick"], kE = ["src"], TE = ["src"], FE = { class: "right" }, PE = /* @__PURE__ */ st({
11051
+ }, yE = { class: "ellipsis" }, bE = { key: 0 }, wE = { class: "second-wrap" }, AE = { class: "center" }, EE = { class: "app-title" }, SE = { class: "app-list" }, BE = { class: "app-item" }, IE = ["src", "onClick"], DE = { class: "tag" }, kE = ["onClick"], TE = ["src"], FE = ["src"], PE = { class: "right" }, RE = /* @__PURE__ */ st({
11052
11052
  __name: "index",
11053
11053
  emits: ["submit-dialog"],
11054
11054
  setup(o, { expose: r, emit: n }) {
@@ -11056,10 +11056,10 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11056
11056
  const a = n, l = W(!1), c = W(""), f = W([]), p = q_([]), h = W(""), s = W(""), d = W([]);
11057
11057
  let w = {};
11058
11058
  const v = W([]), _ = W({}), y = async (Q) => {
11059
- w = pE.cloneDeep(Q), await E(), x(), N(), l.value = !0;
11059
+ w = hE.cloneDeep(Q), await E(), x(), N(), l.value = !0;
11060
11060
  }, E = async () => {
11061
11061
  var M;
11062
- const [Q, le] = await iE({
11062
+ const [Q, le] = await aE({
11063
11063
  isPersonal: !0
11064
11064
  }).run();
11065
11065
  Q || (f.value = le, c.value = (M = f.value[0]) == null ? void 0 : M.id);
@@ -11072,7 +11072,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11072
11072
  v.value = M, _.value[c.value] = [...v.value];
11073
11073
  }
11074
11074
  }, x = async () => {
11075
- const [Q, le] = await oE({ projectId: c.value, isPersonal: !0 }).run();
11075
+ const [Q, le] = await iE({ projectId: c.value, isPersonal: !0 }).run();
11076
11076
  if (Q) return;
11077
11077
  p.value = [
11078
11078
  {
@@ -11185,7 +11185,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11185
11185
  ref: q
11186
11186
  },
11187
11187
  [
11188
- ae(D(KC), {
11188
+ ae(D(GC), {
11189
11189
  defaultSplit: {
11190
11190
  first: 223
11191
11191
  },
@@ -11194,8 +11194,8 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11194
11194
  canDrag: !0
11195
11195
  }, {
11196
11196
  firstSlot: de(() => [
11197
- se("div", xE, [
11198
- se("div", mE, [
11197
+ se("div", mE, [
11198
+ se("div", _E, [
11199
11199
  ae(D(H0), {
11200
11200
  modelValue: c.value,
11201
11201
  "onUpdate:modelValue": le[0] || (le[0] = (M) => c.value = M),
@@ -11235,8 +11235,8 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11235
11235
  default: de(({ node: M, data: G }) => {
11236
11236
  var re;
11237
11237
  return [
11238
- se("div", _E, [
11239
- Dn((_e(), Ke("div", CE, [
11238
+ se("div", CE, [
11239
+ Dn((_e(), Ke("div", yE, [
11240
11240
  ze(
11241
11241
  Ae(G.name),
11242
11242
  1
@@ -11247,7 +11247,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11247
11247
  ]),
11248
11248
  G.id !== ((re = p.value[0]) == null ? void 0 : re.id) ? (_e(), Ke(
11249
11249
  "span",
11250
- yE,
11250
+ bE,
11251
11251
  Ae(m(G)),
11252
11252
  1
11253
11253
  /* TEXT */
@@ -11261,9 +11261,9 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11261
11261
  ])
11262
11262
  ]),
11263
11263
  secondSlot: de(() => [
11264
- se("div", bE, [
11265
- se("div", wE, [
11266
- Dn((_e(), Ke("div", AE, [
11264
+ se("div", wE, [
11265
+ se("div", AE, [
11266
+ Dn((_e(), Ke("div", EE, [
11267
11267
  ze(
11268
11268
  Ae(s.value),
11269
11269
  1
@@ -11272,19 +11272,19 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11272
11272
  ])), [
11273
11273
  [D(Gi)]
11274
11274
  ]),
11275
- ae(D(jC), null, {
11275
+ ae(D(VC), null, {
11276
11276
  default: de(() => [
11277
- se("div", EE, [
11277
+ se("div", SE, [
11278
11278
  (_e(!0), Ke(
11279
11279
  Wn,
11280
11280
  null,
11281
- Ji(d.value, (M) => (_e(), Ke("div", SE, [
11281
+ Ji(d.value, (M) => (_e(), Ke("div", BE, [
11282
11282
  se("img", {
11283
- src: M != null && M.iconUrl ? D(zo)(M.iconUrl) : D(gE),
11283
+ src: M != null && M.iconUrl ? D(zo)(M.iconUrl) : D(xE),
11284
11284
  class: "app-icon",
11285
11285
  onClick: (G) => I(M)
11286
- }, null, 8, BE),
11287
- se("div", IE, [
11286
+ }, null, 8, IE),
11287
+ se("div", DE, [
11288
11288
  se("i", {
11289
11289
  class: "das-icon",
11290
11290
  style: { width: "14px", height: "14px", cursor: "pointer" },
@@ -11292,12 +11292,12 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11292
11292
  }, [
11293
11293
  v.value.findIndex((G) => G.id === M.id) !== -1 ? (_e(), Ke("img", {
11294
11294
  key: 0,
11295
- src: D(hE)
11296
- }, null, 8, kE)) : (_e(), Ke("img", {
11297
- key: 1,
11298
11295
  src: D(vE)
11299
- }, null, 8, TE))
11300
- ], 8, DE)
11296
+ }, null, 8, TE)) : (_e(), Ke("img", {
11297
+ key: 1,
11298
+ src: D(gE)
11299
+ }, null, 8, FE))
11300
+ ], 8, kE)
11301
11301
  ]),
11302
11302
  ae(D(Bt), {
11303
11303
  customClass: "app-name",
@@ -11314,8 +11314,8 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11314
11314
  /* STABLE */
11315
11315
  })
11316
11316
  ]),
11317
- se("div", FE, [
11318
- ae(D(VC), {
11317
+ se("div", PE, [
11318
+ ae(D(KC), {
11319
11319
  width: "100%",
11320
11320
  height: "100%",
11321
11321
  dragSort: "",
@@ -11342,7 +11342,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11342
11342
  /* STABLE */
11343
11343
  }, 8, ["title", "modelValue"]));
11344
11344
  }
11345
- }), RE = /* @__PURE__ */ Mt(PE, [["__scopeId", "data-v-bc507f01"]]), LE = { class: "set-home-page" }, $E = { class: "header" }, NE = { class: "left-type" }, OE = { class: "text" }, UE = { class: "search-name" }, ME = { class: "table-container" }, zE = /* @__PURE__ */ st({
11345
+ }), LE = /* @__PURE__ */ Mt(RE, [["__scopeId", "data-v-bc507f01"]]), $E = { class: "set-home-page" }, NE = { class: "header" }, OE = { class: "left-type" }, UE = { class: "text" }, ME = { class: "search-name" }, zE = { class: "table-container" }, HE = /* @__PURE__ */ st({
11346
11346
  __name: "index",
11347
11347
  props: {
11348
11348
  isShow: { type: Boolean },
@@ -11354,7 +11354,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11354
11354
  routeUrl: "",
11355
11355
  homeAlias: ""
11356
11356
  }), h = async () => {
11357
- const ke = { orgId: l.id }, [ve, K] = await XA().run(ke);
11357
+ const ke = { orgId: l.id }, [ve, K] = await QA().run(ke);
11358
11358
  if (ve) {
11359
11359
  f.value = [];
11360
11360
  return;
@@ -11362,7 +11362,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11362
11362
  f.value = K;
11363
11363
  }, s = async () => {
11364
11364
  var ee, ie, Je;
11365
- const ke = { orgId: l.id }, [ve, K] = await KA().run(ke);
11365
+ const ke = { orgId: l.id }, [ve, K] = await GA().run(ke);
11366
11366
  ve || (c.value = K, qe.value = {
11367
11367
  selectedApps: ((ee = K.portalAppCommonSaveDTO) == null ? void 0 : ee.ids) ?? null,
11368
11368
  selectedAppMap: {
@@ -11387,7 +11387,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11387
11387
  search: B,
11388
11388
  toggleTree: I,
11389
11389
  confirmFormBuiltIn: P
11390
- } = aE({
11390
+ } = sE({
11391
11391
  orgInfo: l,
11392
11392
  information: c,
11393
11393
  validate: p
@@ -11407,7 +11407,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11407
11407
  confirmUrl: re,
11408
11408
  changeType: ue,
11409
11409
  getTable: H
11410
- } = lE({
11410
+ } = cE({
11411
11411
  orgInfo: l,
11412
11412
  information: c
11413
11413
  }), Z = () => {
@@ -11416,7 +11416,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11416
11416
  var ke;
11417
11417
  (ke = ne.value) == null || ke.open();
11418
11418
  }, Fe = async (ke) => {
11419
- const [ve, K] = await GA().run();
11419
+ const [ve, K] = await XA().run();
11420
11420
  ve || (await s(), await up(), ke(), a("reset-confirm"));
11421
11421
  }, Le = () => (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)), nt = () => {
11422
11422
  var K;
@@ -11440,7 +11440,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11440
11440
  [
11441
11441
  Dn(se(
11442
11442
  "div",
11443
- LE,
11443
+ $E,
11444
11444
  [
11445
11445
  ae(D(z0), {
11446
11446
  width: "100%",
@@ -11480,7 +11480,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11480
11480
  disabled: c.value.type !== 2
11481
11481
  }, {
11482
11482
  suffix: de(() => [
11483
- ae(D(HC), {
11483
+ ae(D(WC), {
11484
11484
  class: ld({ disabled: !c.value.type || c.value.type === 3 }),
11485
11485
  "icon-color": !c.value.type || c.value.type === 3 ? D(ku)("--das-ui-portal-management-disabled-color") : D(ku)("--das-ui-color-secondary"),
11486
11486
  onClick: Z
@@ -11688,11 +11688,11 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11688
11688
  default: de(() => [
11689
11689
  ae(D(M0), { spinning: D(T) }, {
11690
11690
  default: de(() => [
11691
- se("div", $E, [
11692
- se("div", NE, [
11691
+ se("div", NE, [
11692
+ se("div", OE, [
11693
11693
  se(
11694
11694
  "div",
11695
- OE,
11695
+ UE,
11696
11696
  Ae(D(ce)("类型")),
11697
11697
  1
11698
11698
  /* TEXT */
@@ -11706,8 +11706,8 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11706
11706
  onChange: D(ue)
11707
11707
  }, null, 8, ["modelValue", "options", "onChange"])
11708
11708
  ]),
11709
- se("div", UE, [
11710
- ae(D(qC), {
11709
+ se("div", ME, [
11710
+ ae(D(jC), {
11711
11711
  modelValue: D(Q),
11712
11712
  "onUpdate:modelValue": ve[12] || (ve[12] = (K) => bn(Q) ? Q.value = K : null),
11713
11713
  clearable: "",
@@ -11719,8 +11719,8 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11719
11719
  }, null, 8, ["modelValue", "placeholder", "onChange", "onSearch"])
11720
11720
  ])
11721
11721
  ]),
11722
- se("div", ME, [
11723
- ae(D(zC), {
11722
+ se("div", zE, [
11723
+ ae(D(HC), {
11724
11724
  data: D(L),
11725
11725
  currentRodioSelection: D(le),
11726
11726
  "onUpdate:currentRodioSelection": ve[13] || (ve[13] = (K) => bn(le) ? le.value = K : null),
@@ -11767,7 +11767,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11767
11767
  }, 8, ["modelValue", "title"]),
11768
11768
  De(" 恢复项目初始设置 二次确认 "),
11769
11769
  ae(
11770
- dE,
11770
+ pE,
11771
11771
  {
11772
11772
  ref_key: "resetDialogRef",
11773
11773
  ref: ne,
@@ -11779,7 +11779,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11779
11779
  ),
11780
11780
  De(" 常用应用配置 "),
11781
11781
  ae(
11782
- RE,
11782
+ LE,
11783
11783
  {
11784
11784
  ref_key: "configDialogRef",
11785
11785
  ref: fe,
@@ -11794,7 +11794,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11794
11794
  /* STABLE_FRAGMENT */
11795
11795
  ));
11796
11796
  }
11797
- }), HE = /* @__PURE__ */ Mt(zE, [["__scopeId", "data-v-66049152"]]), WE = "v1", qE = `/api/portal/user/${WE}`, pp = wt(qE), jE = AC.post("/menu/personal-setting"), VE = pp.put("/home"), KE = pp.put("/language"), GE = { class: "preson-style-drawer" }, XE = { class: "preson-style-footer" }, QE = /* @__PURE__ */ st({
11797
+ }), WE = /* @__PURE__ */ Mt(HE, [["__scopeId", "data-v-66049152"]]), qE = "v1", jE = `/api/portal/user/${qE}`, pp = wt(jE), VE = BC.post("/menu/personal-setting"), KE = pp.put("/home"), GE = pp.put("/language"), XE = { class: "preson-style-drawer" }, QE = { class: "preson-style-footer" }, ZE = /* @__PURE__ */ st({
11798
11798
  __name: "index",
11799
11799
  setup(o, { expose: r }) {
11800
11800
  const n = W(!1), a = W(!1), l = W(null), c = W(null), f = W(null), p = W("theme"), h = W(""), s = W(!0), d = Nt(() => [
@@ -11815,20 +11815,20 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11815
11815
  var C, x, m;
11816
11816
  const { flag: E } = na();
11817
11817
  E === 4 ? s.value = (C = Hn.value) == null ? void 0 : C.companyIsDisplayHome : s.value = (x = Hn.value) == null ? void 0 : x.enable, h.value = (m = Hn.value) != null && m.homeAlias ? Hn.value.homeAlias : ce("首页"), n.value = !0;
11818
- }, v = OC(), _ = (E) => {
11818
+ }, v = UC(), _ = (E) => {
11819
11819
  if (n.value = !1, !E) return;
11820
11820
  xe.nav.setItems([]), xe.menu.setItems([]), xe.tab.setItems([]), q0(), window.__isAutoCloseApp = !1;
11821
11821
  const x = new URLSearchParams(window.location.search).get("lang"), m = x ? `/?lang=${encodeURIComponent(x)}` : "/";
11822
11822
  window.location.replace(m);
11823
11823
  }, y = async () => {
11824
11824
  var x, m, b, B, I;
11825
- const E = (x = l.value) == null ? void 0 : x.getResult(), [C] = await jE().run(E);
11825
+ const E = (x = l.value) == null ? void 0 : x.getResult(), [C] = await VE().run(E);
11826
11826
  if (C) {
11827
11827
  p.value = "theme";
11828
11828
  return;
11829
11829
  }
11830
11830
  if (Number(Du()) >= 2) {
11831
- const P = (m = f.value) == null ? void 0 : m.getResult(), [T] = await KE().run(P);
11831
+ const P = (m = f.value) == null ? void 0 : m.getResult(), [T] = await GE().run(P);
11832
11832
  if (T) {
11833
11833
  p.value = "lang";
11834
11834
  return;
@@ -11838,7 +11838,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11838
11838
  p.value = "home";
11839
11839
  return;
11840
11840
  } else {
11841
- const P = (B = c.value) == null ? void 0 : B.getResult(), [T] = await VE().run(P);
11841
+ const P = (B = c.value) == null ? void 0 : B.getResult(), [T] = await KE().run(P);
11842
11842
  if (T) {
11843
11843
  p.value = "home";
11844
11844
  return;
@@ -11852,8 +11852,8 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11852
11852
  Wn,
11853
11853
  null,
11854
11854
  [
11855
- se("div", GE, [
11856
- ae(D($C), {
11855
+ se("div", XE, [
11856
+ ae(D(NC), {
11857
11857
  title: D(Ce)("个性化设置").value,
11858
11858
  modelValue: n.value,
11859
11859
  "onUpdate:modelValue": C[3] || (C[3] = (x) => n.value = x),
@@ -11861,7 +11861,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11861
11861
  direction: "rtl"
11862
11862
  }, {
11863
11863
  footer: de(() => [
11864
- se("div", XE, [
11864
+ se("div", QE, [
11865
11865
  ae(D(kt), {
11866
11866
  size: "middle",
11867
11867
  onClick: C[2] || (C[2] = (x) => n.value = !1),
@@ -11896,23 +11896,23 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11896
11896
  ])
11897
11897
  ]),
11898
11898
  default: de(() => [
11899
- ae(D(NC), {
11899
+ ae(D(OC), {
11900
11900
  options: d.value,
11901
11901
  activeKey: p.value,
11902
11902
  "onUpdate:activeKey": C[0] || (C[0] = (x) => p.value = x),
11903
11903
  "tab-width": "110px"
11904
11904
  }, null, 8, ["options", "activeKey"]),
11905
- ae(D($A), {
11905
+ ae(D(NA), {
11906
11906
  ref_key: "setThemeStyleRef",
11907
11907
  ref: l,
11908
11908
  isShow: p.value === "theme"
11909
11909
  }, null, 8, ["isShow"]),
11910
- ae(D(UA), {
11910
+ ae(D(MA), {
11911
11911
  ref_key: "setLangRef",
11912
11912
  ref: f,
11913
11913
  isShow: p.value === "lang"
11914
11914
  }, null, 8, ["isShow"]),
11915
- ae(D(HE), {
11915
+ ae(D(WE), {
11916
11916
  ref_key: "setHomeRef",
11917
11917
  ref: c,
11918
11918
  isShow: p.value === "home",
@@ -11925,7 +11925,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11925
11925
  }, 8, ["title", "modelValue"])
11926
11926
  ]),
11927
11927
  ae(
11928
- D(UC),
11928
+ D(MC),
11929
11929
  {
11930
11930
  ref_key: "$DasUpdateConfirmDialogRef",
11931
11931
  ref: v,
@@ -11941,7 +11941,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11941
11941
  /* STABLE_FRAGMENT */
11942
11942
  ));
11943
11943
  }
11944
- }), ZE = /* @__PURE__ */ Mt(QE, [["__scopeId", "data-v-56d349de"]]), YE = () => W(null), JE = { class: "iframe-container" }, e3 = ["src"], t3 = /* @__PURE__ */ st({
11944
+ }), YE = /* @__PURE__ */ Mt(ZE, [["__scopeId", "data-v-56d349de"]]), JE = () => W(null), e3 = { class: "iframe-container" }, t3 = ["src"], n3 = /* @__PURE__ */ st({
11945
11945
  __name: "index",
11946
11946
  props: {
11947
11947
  src: { default: "" }
@@ -11968,7 +11968,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11968
11968
  };
11969
11969
  return Oo(() => {
11970
11970
  f !== null && (clearTimeout(f), f = null);
11971
- }), (s, d) => (_e(), Ke("div", JE, [
11971
+ }), (s, d) => (_e(), Ke("div", e3, [
11972
11972
  l.value ? (_e(), Ke("iframe", {
11973
11973
  key: 0,
11974
11974
  id: "iframe-view",
@@ -11978,15 +11978,15 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
11978
11978
  height: "100%",
11979
11979
  src: s.src,
11980
11980
  onLoad: h
11981
- }, null, 40, e3)) : De("v-if", !0)
11981
+ }, null, 40, t3)) : De("v-if", !0)
11982
11982
  ]));
11983
11983
  }
11984
- }), $0 = /* @__PURE__ */ Mt(t3, [["__scopeId", "data-v-0cbfb4d9"]]), n3 = N0.get("/login/history"), r3 = gC.get("/sso-param"), o3 = () => {
11984
+ }), $0 = /* @__PURE__ */ Mt(n3, [["__scopeId", "data-v-0cbfb4d9"]]), r3 = N0.get("/login/history"), o3 = _C.get("/sso-param"), i3 = () => {
11985
11985
  const o = () => ["/licenseActivate", "/licenseDataManage", "/sso-logout", "/not-found", "/iwm-notfound"].some((h) => new RegExp(`^${h}$`, "i").test(location.pathname)), r = (f) => {
11986
11986
  const { browserLogoImgHost: p = "", browserLogoImg: h = "" } = f || {}, s = h ? p + zo(h) : "./logo.svg";
11987
- By(s), uC(s);
11987
+ Iy(s), uC(s);
11988
11988
  }, n = async () => {
11989
- const [f, p] = await n3().run({ userId: na().id });
11989
+ const [f, p] = await r3().run({ userId: na().id });
11990
11990
  f || !p || JSON.stringify(p) === "{}" || (Ki.open({
11991
11991
  key: "loginTip",
11992
11992
  message: ce("上次登录信息"),
@@ -12001,7 +12001,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12001
12001
  ])
12002
12002
  }), sessionStorage.setItem("loginInfoTip", "true"));
12003
12003
  }, a = async () => {
12004
- const [{ loginConfig: f }, { platformConfig: p }] = await Promise.all([X4(), cp()]);
12004
+ const [{ loginConfig: f }, { platformConfig: p }] = await Promise.all([Q4(), cp()]);
12005
12005
  return r(p), p != null && p.browserTitle && localStorage.setItem("browser-title", p.browserTitle || "AIoT智能物联网管控平台"), lC(), { loginConfig: f, platformConfig: p };
12006
12006
  }, l = W(!1), c = () => new Promise((f) => {
12007
12007
  const p = () => {
@@ -12011,15 +12011,15 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12011
12011
  p();
12012
12012
  });
12013
12013
  return An(async () => {
12014
- const { loginConfig: f } = await a(), [p, h] = await r3().run({ source: "public", fieldKey: "source" });
12015
- !p && h && localStorage.setItem("thirdLogouSource", h), !o() && (f != null && f.loginInfoTip && !sessionStorage.getItem("loginInfoTip") && n(), await M2(), await z2(), await H2(), await Z4(), hC({ accessToken: qn() }), l.value = !0);
12014
+ const { loginConfig: f } = await a(), [p, h] = await o3().run({ source: "public", fieldKey: "source" });
12015
+ p || vC(h), !o() && (f != null && f.loginInfoTip && !sessionStorage.getItem("loginInfoTip") && n(), await z2(), await H2(), await W2(), await Y4(), hC({ accessToken: qn() }), l.value = !0);
12016
12016
  }), {
12017
12017
  platformInited: l,
12018
12018
  initNextTick: c
12019
12019
  };
12020
- }, i3 = (o) => {
12021
- const r = Ir(), n = ea(), { getMenu: a } = bC(), { getHistoryList: l, getSearchList: c } = b3(), { changeApp: f } = cr(), p = W("0"), h = W(!0), s = W([]), d = W(!1), w = W(!1), v = W(!1), _ = async (b) => {
12022
- window.__isAutoCloseApp = !1, $4(), await r.replace({ path: "/iwm-notfound", query: { reason: b } });
12020
+ }, a3 = (o) => {
12021
+ const r = Ir(), n = ea(), { getMenu: a } = EC(), { getHistoryList: l, getSearchList: c } = w3(), { changeApp: f } = cr(), p = W("0"), h = W(!0), s = W([]), d = W(!1), w = W(!1), v = W(!1), _ = async (b) => {
12022
+ window.__isAutoCloseApp = !1, N4(), await r.replace({ path: "/iwm-notfound", query: { reason: b } });
12023
12023
  };
12024
12024
  _t(
12025
12025
  () => n.path,
@@ -12047,12 +12047,12 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12047
12047
  const y = async () => {
12048
12048
  let b = {};
12049
12049
  return await fC([
12050
- O4,
12051
- W2,
12050
+ U4,
12051
+ q2,
12052
12052
  up,
12053
12053
  rp,
12054
- Q4,
12055
- E4
12054
+ Z4,
12055
+ S4
12056
12056
  ]).then((I) => Object.assign(b, ...I)), h.value = !1, b;
12057
12057
  }, E = async (b, B) => {
12058
12058
  var Fe, Le, nt;
@@ -12100,7 +12100,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12100
12100
  await _(k.failureReason);
12101
12101
  return;
12102
12102
  }
12103
- if (k != null && k.isTarget && !await a(T4, F4)) {
12103
+ if (k != null && k.isTarget && !await a(F4, P4)) {
12104
12104
  await _("menu-no-permission");
12105
12105
  return;
12106
12106
  }
@@ -12118,7 +12118,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12118
12118
  filterFlatCondition: (M) => M.type === 7
12119
12119
  }), xe.nav.setProjects(I || []), P && xe.nav.setActiveProject(P));
12120
12120
  const q = Mo() ?? {}, pe = q != null && q.headPicture ? zo(q.headPicture) : void 0;
12121
- s.value = [...XC].map((M) => ({
12121
+ s.value = [...QC].map((M) => ({
12122
12122
  ...M,
12123
12123
  label: ce(M.label)
12124
12124
  })), P && P.id !== 0 ? await a("personCenter", null, "/userInfo") || (s.value = s.value.filter((G) => G.value !== "1")) : s.value = s.value.filter((M) => M.value !== "1"), xe.nav.setUserInfo({ headPicture: pe, commandList: s.value }), xe.nav.setSearchConfig({
@@ -12151,8 +12151,8 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12151
12151
  };
12152
12152
  B();
12153
12153
  }) };
12154
- }, a3 = U0.get("/data/menu-expiration"), Z0 = async (o) => {
12155
- const [r, n] = await a3().run();
12154
+ }, s3 = U0.get("/data/menu-expiration"), Z0 = async (o) => {
12155
+ const [r, n] = await s3().run();
12156
12156
  if (r) return { title: "", content: "", decs: [] };
12157
12157
  const a = (o == null ? void 0 : o.expired) ?? !1;
12158
12158
  return {
@@ -12160,7 +12160,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12160
12160
  content: a ? n.menuExpirationExpiredContent : n.menuExpirationRetrieveContent,
12161
12161
  desc: n.menuExpirationExpiredInfo
12162
12162
  };
12163
- }, s3 = () => {
12163
+ }, l3 = () => {
12164
12164
  const { entryMenu: o } = pa();
12165
12165
  xe.menu.addEventListener("onItemClick", async (r) => {
12166
12166
  var f, p;
@@ -12180,12 +12180,12 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12180
12180
  let a = Oe().menuCollapses || [];
12181
12181
  r ? a = Array.from(/* @__PURE__ */ new Set([...a, n])) : a = a.filter((l) => l !== n), Ot([{ key: "menuCollapses", value: a }]);
12182
12182
  });
12183
- }, l3 = () => {
12183
+ }, c3 = () => {
12184
12184
  const { changeApp: o, deleteApp: r, beforeEntryApp: n } = cr();
12185
12185
  xe.nav.addEventListener("onItemClick", async (l) => {
12186
12186
  const c = Oe().currentSubAppCode ?? "";
12187
12187
  if (c !== l.code) {
12188
- if (c && Oy(c), (!l.fixed || !l.unClosed) && !await n(l))
12188
+ if (c && Uy(c), (!l.fixed || !l.unClosed) && !await n(l))
12189
12189
  throw new Error(ce("取消切换"));
12190
12190
  o(l);
12191
12191
  }
@@ -12198,7 +12198,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12198
12198
  });
12199
12199
  const { enter: a } = Ho();
12200
12200
  return xe.nav.addEventListener("fullScreenHandle", a), {};
12201
- }, c3 = () => {
12201
+ }, u3 = () => {
12202
12202
  const o = Ir(), r = W(""), n = W(""), a = W("");
12203
12203
  let l = "", c = {};
12204
12204
  _t(
@@ -12300,7 +12300,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12300
12300
  });
12301
12301
  const { enter: _ } = Ho();
12302
12302
  return xe.tab.addEventListener("onToggleFullScreen", _), { fontColor: r, backgroudColor: n, borderColor: a };
12303
- }, _0 = Vn(), Gf = (_0 == null ? void 0 : _0.isAutoCloseApp) ?? !0, Xf = location.href.includes("showLayout=false"), Qf = window.self !== window.top, u3 = () => {
12303
+ }, _0 = Vn(), Gf = (_0 == null ? void 0 : _0.isAutoCloseApp) ?? !0, Xf = location.href.includes("showLayout=false"), Qf = window.self !== window.top, f3 = () => {
12304
12304
  const o = () => {
12305
12305
  xe.nav.setItems([]), xe.menu.setItems([]), xe.tab.setItems([]), q0();
12306
12306
  }, r = () => {
@@ -12404,7 +12404,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12404
12404
  currentMenu: F = null,
12405
12405
  microPath: N = "",
12406
12406
  query: k = {}
12407
- } = await y4({ microApp: _, menuCode: y, menuPath: E, route: x });
12407
+ } = await b4({ microApp: _, menuCode: y, menuPath: E, route: x });
12408
12408
  if (F && (x = {
12409
12409
  path: N || `/${F.applicationPath}${F.routeUrl}`.replace(/\/\//g, "/"),
12410
12410
  query: { ...k, app: F.applicationCode, menu: F.code },
@@ -12578,7 +12578,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12578
12578
  ]);
12579
12579
  }
12580
12580
  } };
12581
- }, f3 = (o, r) => {
12581
+ }, d3 = (o, r) => {
12582
12582
  const { entryApp: n } = cr(), a = Ir();
12583
12583
  let { mainAppName: l = "", microAppName: c = "", microApps: f = [] } = Vn();
12584
12584
  !l && c && (f = [{ name: c }]);
@@ -12670,9 +12670,10 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12670
12670
  _t(
12671
12671
  () => a.currentRoute.value,
12672
12672
  async (d) => {
12673
+ var v;
12673
12674
  const w = d.query.loginType || "";
12674
12675
  if (w && localStorage.setItem("loginType", w), !(d.path === h && w0(d.query, s))) {
12675
- if (h = ro(d.path), s = ro(d.query), s && s.source && localStorage.setItem("thirdLogouSource", s.source), await r(), ft.innerSet) {
12676
+ if (h = ro(d.path), s = ro(d.query), s && ((v = s.source) != null && v.trim()) && s.source.trim() !== "undefined" && s.source.trim() !== "null" && localStorage.setItem("thirdLogouSource", s.source), await r(), ft.innerSet) {
12676
12677
  ft.innerSet = !1;
12677
12678
  return;
12678
12679
  }
@@ -12688,10 +12689,10 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12688
12689
  ft.excludeRoutes = Array.from(/* @__PURE__ */ new Set([...ft.excludeRoutes, ...n])), ft.routeKeepAliveVisible = !1, setTimeout(() => {
12689
12690
  ft.routeKeepAliveVisible = !0, ft.excludeRoutes = [];
12690
12691
  }, 100);
12691
- } }), d3 = {
12692
+ } }), p3 = {
12692
12693
  logout: "/api/justauth/oauth-server/v1/visitor/logout"
12693
- }, p3 = () => {
12694
- const o = nC(), r = YE(), n = Vn(), a = async () => {
12694
+ }, h3 = () => {
12695
+ const o = nC(), r = JE(), n = Vn(), a = async () => {
12695
12696
  const f = location.origin + vn, p = {
12696
12697
  response_type: "code",
12697
12698
  scope: "sever",
@@ -12701,14 +12702,14 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12701
12702
  logout_token: qn(),
12702
12703
  // 写用户访问日志逻辑配合
12703
12704
  logout: "true"
12704
- }, h = _C();
12705
+ }, h = bC();
12705
12706
  h && (p.redirect_uri = dC(p.redirect_uri, { loginType: h })), n.ssoLocale && (p.locale = "locale");
12706
12707
  const s = new URLSearchParams();
12707
12708
  Object.entries(p).forEach(([v, _]) => {
12708
12709
  s.set(v, String(_));
12709
12710
  });
12710
- const d = s.toString(), w = `${n.baseURL}${d3.logout}?${d}`;
12711
- window.__isAutoCloseApp = !1, SC() ? await BC(w) : (mC(), location.replace(w));
12711
+ const d = s.toString(), w = `${n.baseURL}${p3.logout}?${d}`;
12712
+ window.__isAutoCloseApp = !1, gC() ? await xC(w) : (yC(), location.replace(w));
12712
12713
  }, { entryApp: l } = cr(), c = async () => {
12713
12714
  const f = "personCenter", h = (Oe().appcategorys || []).map((_) => _.apps).flat(), { originalMenus: s = [] } = await fa(f), w = Gt(s).filter((_) => _.isMenu && _.routeUrl).find((_) => _.routeUrl === "/userInfo");
12714
12715
  if (w != null && w.disable || w != null && w.expired) {
@@ -12731,7 +12732,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12731
12732
  $changePwd: o,
12732
12733
  $personSetDialog: r
12733
12734
  };
12734
- }, h3 = fd.get("/convert/tenant"), v3 = N0.get("/platform/withdefault"), vp = () => {
12735
+ }, v3 = fd.get("/convert/tenant"), g3 = N0.get("/platform/withdefault"), vp = () => {
12735
12736
  const o = Vn(), r = W(!1), n = W(""), a = W(""), l = () => {
12736
12737
  n.value = Mo().id, a.value = na().tenantId, r.value = !0;
12737
12738
  };
@@ -12739,14 +12740,14 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12739
12740
  l();
12740
12741
  });
12741
12742
  const c = () => {
12742
- q0(), Dy(), window.__isAutoCloseApp = !1, location.pathname !== Vt && location.pathname !== vn ? window.location.replace(location.origin + Vt) : window.location.reload();
12743
+ q0(), ky(), window.__isAutoCloseApp = !1, location.pathname !== Vt && location.pathname !== vn ? window.location.replace(location.origin + Vt) : window.location.reload();
12743
12744
  };
12744
12745
  return {
12745
12746
  changeEnterprisesVisible: r,
12746
12747
  userId: n,
12747
12748
  tenantId: a,
12748
12749
  changeEnterprise: async (p) => {
12749
- const [h, s] = await h3().run({ tenant: p });
12750
+ const [h, s] = await v3().run({ tenant: p });
12750
12751
  if (h) return;
12751
12752
  r.value = !1;
12752
12753
  const { access_token: d = "", refresh_token: w = "", exp: v = 0, sub: _ = "", name: y = "", flag: E = "", tenant: C = "" } = s, x = {
@@ -12762,12 +12763,12 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12762
12763
  flag: E,
12763
12764
  tenantId: C
12764
12765
  };
12765
- sessionStorage.setItem("hotentUserInfo", JSON.stringify(m)), EC(d);
12766
+ sessionStorage.setItem("hotentUserInfo", JSON.stringify(m)), IC(d);
12766
12767
  let b = "";
12767
12768
  if (o != null && o.ssoLocale)
12768
12769
  b = `http://127.0.0.1:5000/oauth/refreshOauthToken?tenantId=${p}`;
12769
12770
  else {
12770
- const [B, I] = await v3().run();
12771
+ const [B, I] = await g3().run();
12771
12772
  I != null && I.loginHost && (b = `${I.loginHost}/oauth/refreshOauthToken?tenantId=${p}`);
12772
12773
  }
12773
12774
  if (b) {
@@ -12777,7 +12778,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12777
12778
  c();
12778
12779
  }
12779
12780
  };
12780
- }, g3 = () => {
12781
+ }, x3 = () => {
12781
12782
  const { changeEnterprise: o } = vp();
12782
12783
  xe.nav.addEventListener("onProjectChange", async (r) => {
12783
12784
  const n = ta();
@@ -12785,14 +12786,14 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12785
12786
  const a = n.tenant.id, l = (r == null ? void 0 : r.tenant) ?? "";
12786
12787
  a !== l && await o(l);
12787
12788
  }
12788
- Ad(r || { id: 0 }), ud((r == null ? void 0 : r.id) || 0), (n == null ? void 0 : n.flag) !== 4 && (R4(), window.__isAutoCloseApp = !1, window.location.reload());
12789
+ Ad(r || { id: 0 }), ud((r == null ? void 0 : r.id) || 0), (n == null ? void 0 : n.flag) !== 4 && (L4(), window.__isAutoCloseApp = !1, window.location.reload());
12789
12790
  });
12790
- }, x3 = jn.get("/menu/search"), m3 = jn.get("/searchhistory"), _3 = jn.post("/searchhistory"), C3 = jn.delete("/searchhistory"), y3 = jn.delete("/searchhistory/deleteone"), b3 = () => {
12791
+ }, m3 = jn.get("/menu/search"), _3 = jn.get("/searchhistory"), C3 = jn.post("/searchhistory"), y3 = jn.delete("/searchhistory"), b3 = jn.delete("/searchhistory/deleteone"), w3 = () => {
12791
12792
  const o = async () => {
12792
- const [a, l] = await m3().run();
12793
+ const [a, l] = await _3().run();
12793
12794
  return a ? [] : l.map((c) => c.clickData).filter((c) => c.routeUrl);
12794
12795
  }, r = async (a) => {
12795
- const [l, c] = await x3().run({ name: a });
12796
+ const [l, c] = await m3().run({ name: a });
12796
12797
  return l ? [] : c.filter((f) => f.routeUrl);
12797
12798
  }, { entryApp: n } = cr();
12798
12799
  return xe.nav.addEventListener("searchToPage", async (a) => {
@@ -12802,22 +12803,22 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12802
12803
  await Po({ title: w, content: v, desc: _ });
12803
12804
  return;
12804
12805
  }
12805
- await _3().run({ searchVal: c, clickData: l });
12806
+ await C3().run({ searchVal: c, clickData: l });
12806
12807
  const s = ((Oe().appcategorys ?? []).map((w) => w.apps).flat() ?? []).find((w) => w.code === l.applicationCode);
12807
12808
  if (!s) return;
12808
12809
  const d = l.applicationCode !== l.code ? l.code : "";
12809
12810
  n({ microApp: s, menuCode: d }), f();
12810
12811
  }), xe.nav.addEventListener("deleteSearchItem", async (a) => {
12811
12812
  const { value: l, cb: c } = a;
12812
- await y3().run({ id: l }), c();
12813
+ await b3().run({ id: l }), c();
12813
12814
  }), xe.nav.addEventListener("clearSearchList", async (a) => {
12814
12815
  const { cb: l } = a;
12815
- await C3().run(), l();
12816
+ await y3().run(), l();
12816
12817
  }), {
12817
12818
  getHistoryList: o,
12818
12819
  getSearchList: r
12819
12820
  };
12820
- }, w3 = () => {
12821
+ }, A3 = () => {
12821
12822
  const o = W(), { entryApp: r } = cr();
12822
12823
  xe.nav.addEventListener("openAI", () => {
12823
12824
  var l;
@@ -12847,7 +12848,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12847
12848
  innerSet: !1,
12848
12849
  excludeRoutes: [],
12849
12850
  routeKeepAliveVisible: !0
12850
- }), A3 = () => {
12851
+ }), E3 = () => {
12851
12852
  vt.addEventListenerFromMicroApp("iot:change-instance", (o) => {
12852
12853
  const r = Oe(), n = r.currentSubAppCode;
12853
12854
  let a = Vi(n);
@@ -12868,26 +12869,26 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12868
12869
  }
12869
12870
  ]);
12870
12871
  });
12871
- }, E3 = (o) => {
12872
+ }, S3 = (o) => {
12872
12873
  ["personcenter", "rightmanage"].forEach((n) => {
12873
12874
  vt.addEventListenerFromMicroApp(`${n}:change-userinfo`, (a) => {
12874
12875
  const { userInfo: l } = a.data, c = l != null && l.headPicture ? zo(l.headPicture) : void 0;
12875
12876
  xe.nav.setUserInfo({ headPicture: c, commandList: o.value }), sessionStorage.setItem("userInfo", JSON.stringify(l));
12876
12877
  });
12877
12878
  });
12878
- }, S3 = () => {
12879
+ }, B3 = () => {
12879
12880
  vt.addEventListenerFromMicroApp("devicePanelShow", (o) => {
12880
12881
  const { deviceId: r = "", panelCode: n = "", deviceName: a = "", x: l = 0, y: c = 0, isCenter: f = !1 } = o.data;
12881
12882
  gd(r, n, a, l, c, f);
12882
12883
  }), vt.addEventListenerFromMicroApp("closeDevicePanel", (o) => {
12883
- DC();
12884
+ kC();
12884
12885
  }), vt.addEventListenerFromMicroApp("alarmDevicePanelShow", (o) => {
12885
12886
  const { deviceId: r = "", panelCode: n = "", alarmTime: a = "" } = o.data;
12886
- kC(r, n, a);
12887
+ TC(r, n, a);
12887
12888
  }), vt.addEventListenerFromMicroApp("closeAlarmPanel", (o) => {
12888
- TC();
12889
+ FC();
12889
12890
  });
12890
- }, B3 = oa.get("/platform/login/pwd-advance-notify-check"), I3 = () => {
12891
+ }, I3 = oa.get("/platform/login/pwd-advance-notify-check"), D3 = () => {
12891
12892
  const o = W([]), r = W(null), n = W([]), { entryApp: a } = Xi.hooks.useEntryApp(), l = () => {
12892
12893
  var h;
12893
12894
  const p = (((h = Oe().appcategorys) == null ? void 0 : h.map((s) => s.apps).flat()) ?? []).find((s) => s.code === "messagecenter");
@@ -12897,7 +12898,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12897
12898
  url: "/api/messagecenter/message/v1/innersend",
12898
12899
  reconnectWhenClose: !0,
12899
12900
  opened: async () => {
12900
- await B3().run();
12901
+ await I3().run();
12901
12902
  },
12902
12903
  message: async (f) => {
12903
12904
  if (vt.sendMessageToMicroApp("enterpriseadmin/messagecenter", "message-notify:message", { msgList: f }), window.self !== window.top) return;
@@ -12913,7 +12914,7 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12913
12914
  description: It("div", {}, [
12914
12915
  // 标题
12915
12916
  It("div", { class: "custom-title" }, [
12916
- It(FC, { customSize: 24, iconColor: "#5582f3" }),
12917
+ It(PC, { customSize: 24, iconColor: "#5582f3" }),
12917
12918
  It("div", { class: "title" }, s.title)
12918
12919
  ]),
12919
12920
  // 内容
@@ -12940,8 +12941,8 @@ const hE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, vE = n
12940
12941
  }), Oo(() => {
12941
12942
  r.value && r.value.disconnect(), r.value = null;
12942
12943
  });
12943
- }, D3 = "v1", k3 = io(`/api/enterpriseright/permission/${D3}`), gp = io("/api/device-relation/deviceproject/v1/project/device/video", F3), T3 = U0.get("/permissionset/user-portal-menu");
12944
- function F3(o) {
12944
+ }, k3 = "v1", T3 = io(`/api/enterpriseright/permission/${k3}`), gp = io("/api/device-relation/deviceproject/v1/project/device/video", P3), F3 = U0.get("/permissionset/user-portal-menu");
12945
+ function P3(o) {
12945
12946
  const r = Ut() ? Ut().id : 1;
12946
12947
  return o.params || (o.params = {}), o.params.project = r, o.params.projectId = r, o;
12947
12948
  }
@@ -12954,10 +12955,10 @@ function xp(o) {
12954
12955
  function Zf(o) {
12955
12956
  return gp.post(`/ptz?${xp(o)}`)().run();
12956
12957
  }
12957
- function P3(o) {
12958
+ function R3(o) {
12958
12959
  return gp.post(`/url/preview?${xp(o)}`)().run();
12959
12960
  }
12960
- const R3 = k3.post("data/device-auth"), L3 = /* @__PURE__ */ st({
12961
+ const L3 = T3.post("data/device-auth"), $3 = /* @__PURE__ */ st({
12961
12962
  __name: "GridItem",
12962
12963
  props: {
12963
12964
  active: { type: Boolean },
@@ -12991,7 +12992,7 @@ const R3 = k3.post("data/device-auth"), L3 = /* @__PURE__ */ st({
12991
12992
  /* CLASS, NEED_HYDRATION */
12992
12993
  ));
12993
12994
  }
12994
- }), $3 = /* @__PURE__ */ Mt(L3, [["__scopeId", "data-v-68946aef"]]), N3 = { class: "layout-wrapper" }, O3 = /* @__PURE__ */ st({
12995
+ }), N3 = /* @__PURE__ */ Mt($3, [["__scopeId", "data-v-68946aef"]]), O3 = { class: "layout-wrapper" }, U3 = /* @__PURE__ */ st({
12995
12996
  __name: "GridLayout",
12996
12997
  props: {
12997
12998
  gridNum: {},
@@ -13003,12 +13004,12 @@ const R3 = k3.post("data/device-auth"), L3 = /* @__PURE__ */ st({
13003
13004
  const n = o, a = r, l = (c) => {
13004
13005
  a("update:activeIndex", c);
13005
13006
  };
13006
- return (c, f) => (_e(), Ke("div", N3, [
13007
+ return (c, f) => (_e(), Ke("div", O3, [
13007
13008
  De(' :active="index === activeIndex" '),
13008
13009
  (_e(!0), Ke(
13009
13010
  Wn,
13010
13011
  null,
13011
- Ji(n.gridNum, (p, h) => (_e(), Ve($3, {
13012
+ Ji(n.gridNum, (p, h) => (_e(), Ve(N3, {
13012
13013
  active: !1,
13013
13014
  "grid-num": n.gridNum,
13014
13015
  onItemClick: (s) => l(h)
@@ -13027,7 +13028,7 @@ const R3 = k3.post("data/device-auth"), L3 = /* @__PURE__ */ st({
13027
13028
  ))
13028
13029
  ]));
13029
13030
  }
13030
- }), U3 = /* @__PURE__ */ Mt(O3, [["__scopeId", "data-v-22baf4d8"]]), M3 = /* @__PURE__ */ st({
13031
+ }), M3 = /* @__PURE__ */ Mt(U3, [["__scopeId", "data-v-22baf4d8"]]), z3 = /* @__PURE__ */ st({
13031
13032
  __name: "DirectionControl",
13032
13033
  emits: ["change"],
13033
13034
  setup(o, { emit: r }) {
@@ -13154,10 +13155,10 @@ const R3 = k3.post("data/device-auth"), L3 = /* @__PURE__ */ st({
13154
13155
  /* NEED_HYDRATION */
13155
13156
  ));
13156
13157
  }
13157
- }), z3 = /* @__PURE__ */ Mt(M3, [["__scopeId", "data-v-5061ed2b"]]), H3 = { class: "video-wrapper" }, W3 = { class: "video-top" }, q3 = { class: "video-top_l" }, j3 = { class: "video-title-wrapper" }, V3 = { class: "video-title" }, K3 = { class: "video-top_r" }, G3 = {
13158
+ }), H3 = /* @__PURE__ */ Mt(z3, [["__scopeId", "data-v-5061ed2b"]]), W3 = { class: "video-wrapper" }, q3 = { class: "video-top" }, j3 = { class: "video-top_l" }, V3 = { class: "video-title-wrapper" }, K3 = { class: "video-title" }, G3 = { class: "video-top_r" }, X3 = {
13158
13159
  key: 0,
13159
13160
  class: "play-status"
13160
- }, X3 = { class: "video-bottom" }, Q3 = { class: "video-bottom_r" }, Z3 = /* @__PURE__ */ st({
13161
+ }, Q3 = { class: "video-bottom" }, Z3 = { class: "video-bottom_r" }, Y3 = /* @__PURE__ */ st({
13161
13162
  __name: "index",
13162
13163
  props: {
13163
13164
  videoUrl: {},
@@ -13247,29 +13248,29 @@ const R3 = k3.post("data/device-auth"), L3 = /* @__PURE__ */ st({
13247
13248
  d.value = !0;
13248
13249
  });
13249
13250
  }
13250
- ), (b, B) => (_e(), Ke("div", H3, [
13251
+ ), (b, B) => (_e(), Ke("div", W3, [
13251
13252
  ae(D(M0), {
13252
13253
  spinning: n.loading,
13253
13254
  type: "component",
13254
13255
  tip: "加载中..."
13255
13256
  }, {
13256
13257
  default: de(() => [
13257
- se("div", W3, [
13258
- se("div", q3, [
13259
- se("div", j3, [
13258
+ se("div", q3, [
13259
+ se("div", j3, [
13260
+ se("div", V3, [
13260
13261
  se(
13261
13262
  "div",
13262
- V3,
13263
+ K3,
13263
13264
  Ae(n.title.length > 20 ? n.title.slice(0, 19) + "..." : n.title),
13264
13265
  1
13265
13266
  /* TEXT */
13266
13267
  )
13267
13268
  ])
13268
13269
  ]),
13269
- se("div", K3, [
13270
+ se("div", G3, [
13270
13271
  ["live"].includes(b.type) ? (_e(), Ke(
13271
13272
  "span",
13272
- G3,
13273
+ X3,
13273
13274
  Ae(D(ce)("正在实时预览")),
13274
13275
  1
13275
13276
  /* TEXT */
@@ -13277,7 +13278,7 @@ const R3 = k3.post("data/device-auth"), L3 = /* @__PURE__ */ st({
13277
13278
  De(' <das-icon class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')
13278
13279
  ])
13279
13280
  ]),
13280
- n.videoUrl && d.value ? (_e(), Ve(D(RC), {
13281
+ n.videoUrl && d.value ? (_e(), Ve(D(LC), {
13281
13282
  key: 0,
13282
13283
  type: "flv",
13283
13284
  ref_key: "dasLivePlayerRef",
@@ -13286,7 +13287,7 @@ const R3 = k3.post("data/device-auth"), L3 = /* @__PURE__ */ st({
13286
13287
  onLoaded: w,
13287
13288
  src: n.videoUrl
13288
13289
  }, null, 8, ["muted", "src"])) : De("v-if", !0),
13289
- se("div", X3, [
13290
+ se("div", Q3, [
13290
13291
  B[3] || (B[3] = se(
13291
13292
  "div",
13292
13293
  { class: "video-bottom_l" },
@@ -13294,7 +13295,7 @@ const R3 = k3.post("data/device-auth"), L3 = /* @__PURE__ */ st({
13294
13295
  -1
13295
13296
  /* CACHED */
13296
13297
  )),
13297
- se("div", Q3, [
13298
+ se("div", Z3, [
13298
13299
  se(
13299
13300
  "div",
13300
13301
  {
@@ -13379,7 +13380,7 @@ const R3 = k3.post("data/device-auth"), L3 = /* @__PURE__ */ st({
13379
13380
  )
13380
13381
  ])
13381
13382
  ]),
13382
- f.value ? (_e(), Ve(z3, {
13383
+ f.value ? (_e(), Ve(H3, {
13383
13384
  key: 1,
13384
13385
  onChange: C
13385
13386
  })) : De("v-if", !0)
@@ -13389,7 +13390,7 @@ const R3 = k3.post("data/device-auth"), L3 = /* @__PURE__ */ st({
13389
13390
  }, 8, ["spinning"])
13390
13391
  ]));
13391
13392
  }
13392
- }), Y3 = /* @__PURE__ */ Mt(Z3, [["__scopeId", "data-v-25a3c0f5"]]), J3 = /* @__PURE__ */ st({
13393
+ }), J3 = /* @__PURE__ */ Mt(Y3, [["__scopeId", "data-v-25a3c0f5"]]), e6 = /* @__PURE__ */ st({
13393
13394
  props: {
13394
13395
  deviceInfo: {
13395
13396
  type: Object,
@@ -13405,7 +13406,7 @@ const R3 = k3.post("data/device-auth"), L3 = /* @__PURE__ */ st({
13405
13406
  var d;
13406
13407
  if (!((d = n.value) != null && d.deviceId)) return;
13407
13408
  a.value = !0;
13408
- const [h, s] = await P3({
13409
+ const [h, s] = await R3({
13409
13410
  productId: n.value.productId,
13410
13411
  deviceId: n.value.deviceId,
13411
13412
  source: "strategy"
@@ -13442,12 +13443,12 @@ const R3 = k3.post("data/device-auth"), L3 = /* @__PURE__ */ st({
13442
13443
  })]);
13443
13444
  }
13444
13445
  });
13445
- function e6(o) {
13446
+ function t6(o) {
13446
13447
  const r = W(0), n = W(), {
13447
13448
  toggle: a
13448
13449
  } = Ho(n);
13449
13450
  return {
13450
- render: () => ae(U3, {
13451
+ render: () => ae(M3, {
13451
13452
  ref: n,
13452
13453
  gridNum: o.gridNum,
13453
13454
  activeIndex: r.value,
@@ -13458,7 +13459,7 @@ function e6(o) {
13458
13459
  index: c
13459
13460
  }) => {
13460
13461
  const f = o.deviceList[c];
13461
- return ae(J3, {
13462
+ return ae(e6, {
13462
13463
  deviceInfo: f
13463
13464
  }, {
13464
13465
  default: ({
@@ -13466,7 +13467,7 @@ function e6(o) {
13466
13467
  onDirectionControl: h,
13467
13468
  onZoomControl: s,
13468
13469
  loading: d
13469
- }) => ae(Y3, {
13470
+ }) => ae(J3, {
13470
13471
  type: "live",
13471
13472
  loading: d,
13472
13473
  videoUrl: p,
@@ -13481,7 +13482,7 @@ function e6(o) {
13481
13482
  toggleFullscreen: a
13482
13483
  };
13483
13484
  }
13484
- const t6 = { class: "text-wrap" }, n6 = { class: "trigger-content" }, r6 = /* @__PURE__ */ st({
13485
+ const n6 = { class: "text-wrap" }, r6 = { class: "trigger-content" }, o6 = /* @__PURE__ */ st({
13485
13486
  __name: "index",
13486
13487
  props: {
13487
13488
  deviceList: { default: () => [] },
@@ -13493,7 +13494,7 @@ const t6 = { class: "text-wrap" }, n6 = { class: "trigger-content" }, r6 = /* @_
13493
13494
  xd({
13494
13495
  fullscreen2: import("@das-fed/ui/packages/icons/fullscreen-2")
13495
13496
  });
13496
- const r = o, n = W(!0), { render: a, toggleFullscreen: l } = e6(r), c = Nt(() => {
13497
+ const r = o, n = W(!0), { render: a, toggleFullscreen: l } = t6(r), c = Nt(() => {
13497
13498
  let f = {};
13498
13499
  switch (r.gridNum) {
13499
13500
  case 1:
@@ -13527,7 +13528,7 @@ const t6 = { class: "text-wrap" }, n6 = { class: "trigger-content" }, r6 = /* @_
13527
13528
  onClosed: f.closeCallback
13528
13529
  }), {
13529
13530
  header: de(() => [
13530
- se("div", t6, [
13531
+ se("div", n6, [
13531
13532
  se(
13532
13533
  "span",
13533
13534
  null,
@@ -13535,7 +13536,7 @@ const t6 = { class: "text-wrap" }, n6 = { class: "trigger-content" }, r6 = /* @_
13535
13536
  1
13536
13537
  /* TEXT */
13537
13538
  ),
13538
- Dn((_e(), Ke("span", n6, [
13539
+ Dn((_e(), Ke("span", r6, [
13539
13540
  ze(
13540
13541
  Ae(r.triggerContent),
13541
13542
  1
@@ -13567,23 +13568,23 @@ const t6 = { class: "text-wrap" }, n6 = { class: "trigger-content" }, r6 = /* @_
13567
13568
  /* STABLE */
13568
13569
  }, 16, ["title", "modelValue", "width", "height", "onClosed"]));
13569
13570
  }
13570
- }), o6 = (o) => {
13571
+ }), i6 = (o) => {
13571
13572
  const { gridNum: r = 4, deviceList: n = [], triggerContent: a = "" } = o;
13572
13573
  return new Promise((l) => {
13573
13574
  let c = document.body.querySelector("#video-dialog-container");
13574
13575
  c && (To(null, c), document.body.removeChild(c)), c = document.createElement("div"), c.setAttribute("id", "video-dialog-container"), document.body.appendChild(c);
13575
- const p = It(r6, { gridNum: r, deviceList: n, triggerContent: a, closeCallback: () => {
13576
+ const p = It(o6, { gridNum: r, deviceList: n, triggerContent: a, closeCallback: () => {
13576
13577
  To(null, c), document.body.removeChild(c), l(null);
13577
13578
  } });
13578
13579
  To(p, c);
13579
13580
  });
13580
- }, i6 = () => {
13581
+ }, a6 = () => {
13581
13582
  const o = W(4), r = W([]), n = W(null), a = async (c) => {
13582
- const [f, p] = await R3(c).run();
13583
+ const [f, p] = await L3(c).run();
13583
13584
  if (!f)
13584
13585
  return p;
13585
13586
  }, l = async () => {
13586
- const c = Ut().id, [f, p] = await T3().run({
13587
+ const c = Ut().id, [f, p] = await F3().run({
13587
13588
  code: "strategy",
13588
13589
  showBtn: !1
13589
13590
  });
@@ -13609,7 +13610,7 @@ const t6 = { class: "text-wrap" }, n6 = { class: "trigger-content" }, r6 = /* @_
13609
13610
  show: !!E
13610
13611
  };
13611
13612
  });
13612
- r.value = _.filter((y) => !!y.show), (d = r.value) != null && d.length && o6({ gridNum: o.value, deviceList: r.value, triggerContent: s == null ? void 0 : s.triggerContent });
13613
+ r.value = _.filter((y) => !!y.show), (d = r.value) != null && d.length && i6({ gridNum: o.value, deviceList: r.value, triggerContent: s == null ? void 0 : s.triggerContent });
13613
13614
  }
13614
13615
  }
13615
13616
  }));
@@ -13656,7 +13657,7 @@ class wn extends Error {
13656
13657
  super(r), this.__proto__ = n;
13657
13658
  }
13658
13659
  }
13659
- class a6 extends Error {
13660
+ class s6 extends Error {
13660
13661
  /** Constructs a new instance of {@link @microsoft/signalr.UnsupportedTransportError}.
13661
13662
  *
13662
13663
  * @param {string} message A descriptive error message.
@@ -13667,7 +13668,7 @@ class a6 extends Error {
13667
13668
  super(r), this.transport = n, this.errorType = "UnsupportedTransportError", this.__proto__ = a;
13668
13669
  }
13669
13670
  }
13670
- class s6 extends Error {
13671
+ class l6 extends Error {
13671
13672
  /** Constructs a new instance of {@link @microsoft/signalr.DisabledTransportError}.
13672
13673
  *
13673
13674
  * @param {string} message A descriptive error message.
@@ -13678,7 +13679,7 @@ class s6 extends Error {
13678
13679
  super(r), this.transport = n, this.errorType = "DisabledTransportError", this.__proto__ = a;
13679
13680
  }
13680
13681
  }
13681
- class l6 extends Error {
13682
+ class c6 extends Error {
13682
13683
  /** Constructs a new instance of {@link @microsoft/signalr.FailedToStartTransportError}.
13683
13684
  *
13684
13685
  * @param {string} message A descriptive error message.
@@ -13699,7 +13700,7 @@ class Yf extends Error {
13699
13700
  super(r), this.errorType = "FailedToNegotiateWithServerError", this.__proto__ = n;
13700
13701
  }
13701
13702
  }
13702
- class c6 extends Error {
13703
+ class u6 extends Error {
13703
13704
  /** Constructs a new instance of {@link @microsoft/signalr.AggregateErrors}.
13704
13705
  *
13705
13706
  * @param {string} message A descriptive error message.
@@ -13760,7 +13761,7 @@ class $o {
13760
13761
  }
13761
13762
  }
13762
13763
  $o.instance = new $o();
13763
- const u6 = "8.0.7";
13764
+ const f6 = "8.0.7";
13764
13765
  class dt {
13765
13766
  static isRequired(r, n) {
13766
13767
  if (r == null)
@@ -13796,9 +13797,9 @@ class it {
13796
13797
  }
13797
13798
  function No(o, r) {
13798
13799
  let n = "";
13799
- return Br(o) ? (n = `Binary data of length ${o.byteLength}`, r && (n += `. Content: '${f6(o)}'`)) : typeof o == "string" && (n = `String data of length ${o.length}`, r && (n += `. Content: '${o}'`)), n;
13800
+ return Br(o) ? (n = `Binary data of length ${o.byteLength}`, r && (n += `. Content: '${d6(o)}'`)) : typeof o == "string" && (n = `String data of length ${o.length}`, r && (n += `. Content: '${o}'`)), n;
13800
13801
  }
13801
- function f6(o) {
13802
+ function d6(o) {
13802
13803
  const r = new Uint8Array(o);
13803
13804
  let n = "";
13804
13805
  return r.forEach((a) => {
@@ -13822,10 +13823,10 @@ async function _p(o, r, n, a, l, c) {
13822
13823
  });
13823
13824
  o.log(X.Trace, `(${r} transport) request complete. Response status: ${d.statusCode}.`);
13824
13825
  }
13825
- function d6(o) {
13826
+ function p6(o) {
13826
13827
  return o === void 0 ? new Yi(X.Information) : o === null ? $o.instance : o.log !== void 0 ? o : new Yi(o);
13827
13828
  }
13828
- class p6 {
13829
+ class h6 {
13829
13830
  constructor(r, n) {
13830
13831
  this._subject = r, this._observer = n;
13831
13832
  }
@@ -13862,14 +13863,14 @@ class Yi {
13862
13863
  }
13863
13864
  function oo() {
13864
13865
  let o = "X-SignalR-User-Agent";
13865
- return it.isNode && (o = "User-Agent"), [o, h6(u6, v6(), x6(), g6())];
13866
+ return it.isNode && (o = "User-Agent"), [o, v6(f6, g6(), m6(), x6())];
13866
13867
  }
13867
- function h6(o, r, n, a) {
13868
+ function v6(o, r, n, a) {
13868
13869
  let l = "Microsoft SignalR/";
13869
13870
  const c = o.split(".");
13870
13871
  return l += `${c[0]}.${c[1]}`, l += ` (${o}; `, r && r !== "" ? l += `${r}; ` : l += "Unknown OS; ", l += `${n}`, a ? l += `; ${a}` : l += "; Unknown Runtime Version", l += ")", l;
13871
13872
  }
13872
- function v6() {
13873
+ function g6() {
13873
13874
  if (it.isNode)
13874
13875
  switch (process.platform) {
13875
13876
  case "win32":
@@ -13884,17 +13885,17 @@ function v6() {
13884
13885
  else
13885
13886
  return "";
13886
13887
  }
13887
- function g6() {
13888
+ function x6() {
13888
13889
  if (it.isNode)
13889
13890
  return process.versions.node;
13890
13891
  }
13891
- function x6() {
13892
+ function m6() {
13892
13893
  return it.isNode ? "NodeJS" : "Browser";
13893
13894
  }
13894
13895
  function C0(o) {
13895
13896
  return o.stack ? o.stack : o.message ? o.message : `${o}`;
13896
13897
  }
13897
- function m6() {
13898
+ function _6() {
13898
13899
  if (typeof globalThis < "u")
13899
13900
  return globalThis;
13900
13901
  if (typeof self < "u")
@@ -13905,13 +13906,13 @@ function m6() {
13905
13906
  return global;
13906
13907
  throw new Error("could not find global");
13907
13908
  }
13908
- class _6 extends ha {
13909
+ class C6 extends ha {
13909
13910
  constructor(r) {
13910
13911
  if (super(), this._logger = r, typeof fetch > "u" || it.isNode) {
13911
13912
  const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
13912
13913
  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);
13913
13914
  } else
13914
- this._fetchType = fetch.bind(m6());
13915
+ this._fetchType = fetch.bind(_6());
13915
13916
  if (typeof AbortController > "u") {
13916
13917
  const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
13917
13918
  this._abortControllerType = n("abort-controller");
@@ -13990,7 +13991,7 @@ function Jf(o, r) {
13990
13991
  }
13991
13992
  return n;
13992
13993
  }
13993
- class C6 extends ha {
13994
+ class y6 extends ha {
13994
13995
  constructor(r) {
13995
13996
  super(), this._logger = r;
13996
13997
  }
@@ -14014,13 +14015,13 @@ class C6 extends ha {
14014
14015
  }) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
14015
14016
  }
14016
14017
  }
14017
- class y6 extends ha {
14018
+ class b6 extends ha {
14018
14019
  /** Creates a new instance of the {@link @microsoft/signalr.DefaultHttpClient}, using the provided {@link @microsoft/signalr.ILogger} to log messages. */
14019
14020
  constructor(r) {
14020
14021
  if (super(), typeof fetch < "u" || it.isNode)
14021
- this._httpClient = new _6(r);
14022
- else if (typeof XMLHttpRequest < "u")
14023
14022
  this._httpClient = new C6(r);
14023
+ else if (typeof XMLHttpRequest < "u")
14024
+ this._httpClient = new y6(r);
14024
14025
  else
14025
14026
  throw new Error("No usable HttpClient found.");
14026
14027
  }
@@ -14045,7 +14046,7 @@ class nn {
14045
14046
  }
14046
14047
  nn.RecordSeparatorCode = 30;
14047
14048
  nn.RecordSeparator = String.fromCharCode(nn.RecordSeparatorCode);
14048
- class b6 {
14049
+ class w6 {
14049
14050
  // Handshake request is always JSON
14050
14051
  writeHandshakeRequest(r) {
14051
14052
  return nn.write(JSON.stringify(r));
@@ -14075,7 +14076,7 @@ var Ie;
14075
14076
  (function(o) {
14076
14077
  o[o.Invocation = 1] = "Invocation", o[o.StreamItem = 2] = "StreamItem", o[o.Completion = 3] = "Completion", o[o.StreamInvocation = 4] = "StreamInvocation", o[o.CancelInvocation = 5] = "CancelInvocation", o[o.Ping = 6] = "Ping", o[o.Close = 7] = "Close", o[o.Ack = 8] = "Ack", o[o.Sequence = 9] = "Sequence";
14077
14078
  })(Ie || (Ie = {}));
14078
- class w6 {
14079
+ class A6 {
14079
14080
  constructor() {
14080
14081
  this.observers = [];
14081
14082
  }
@@ -14092,10 +14093,10 @@ class w6 {
14092
14093
  r.complete && r.complete();
14093
14094
  }
14094
14095
  subscribe(r) {
14095
- return this.observers.push(r), new p6(this, r);
14096
+ return this.observers.push(r), new h6(this, r);
14096
14097
  }
14097
14098
  }
14098
- class A6 {
14099
+ class E6 {
14099
14100
  constructor(r, n, a) {
14100
14101
  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;
14101
14102
  }
@@ -14109,7 +14110,7 @@ class A6 {
14109
14110
  };
14110
14111
  Br(n) ? this._bufferedByteCount += n.byteLength : this._bufferedByteCount += n.length, this._bufferedByteCount >= this._bufferSize && (a = new Promise((f, p) => {
14111
14112
  l = f, c = p;
14112
- })), this._messages.push(new E6(n, this._totalMessageCount, l, c));
14113
+ })), this._messages.push(new S6(n, this._totalMessageCount, l, c));
14113
14114
  }
14114
14115
  try {
14115
14116
  this._reconnectInProgress || await this._connection.send(n);
@@ -14187,12 +14188,12 @@ class A6 {
14187
14188
  }, 1e3));
14188
14189
  }
14189
14190
  }
14190
- class E6 {
14191
+ class S6 {
14191
14192
  constructor(r, n, a, l) {
14192
14193
  this._message = r, this._id = n, this._resolver = a, this._rejector = l;
14193
14194
  }
14194
14195
  }
14195
- const S6 = 30 * 1e3, B6 = 15 * 1e3, I6 = 1e5;
14196
+ const B6 = 30 * 1e3, I6 = 15 * 1e3, D6 = 1e5;
14196
14197
  var tt;
14197
14198
  (function(o) {
14198
14199
  o.Disconnected = "Disconnected", o.Connecting = "Connecting", o.Connected = "Connected", o.Disconnecting = "Disconnecting", o.Reconnecting = "Reconnecting";
@@ -14209,7 +14210,7 @@ class J0 {
14209
14210
  constructor(r, n, a, l, c, f, p) {
14210
14211
  this._nextKeepAlive = 0, this._freezeEventListener = () => {
14211
14212
  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");
14212
- }, dt.isRequired(r, "connection"), dt.isRequired(n, "logger"), dt.isRequired(a, "protocol"), this.serverTimeoutInMilliseconds = c ?? S6, this.keepAliveIntervalInMilliseconds = f ?? B6, this._statefulReconnectBufferSize = p ?? I6, this._logger = n, this._protocol = a, this.connection = r, this._reconnectPolicy = l, this._handshakeProtocol = new b6(), 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: Ie.Ping });
14213
+ }, dt.isRequired(r, "connection"), dt.isRequired(n, "logger"), dt.isRequired(a, "protocol"), this.serverTimeoutInMilliseconds = c ?? B6, this.keepAliveIntervalInMilliseconds = f ?? I6, this._statefulReconnectBufferSize = p ?? D6, this._logger = n, this._protocol = a, this.connection = r, this._reconnectPolicy = l, this._handshakeProtocol = new w6(), 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: Ie.Ping });
14213
14214
  }
14214
14215
  /** Indicates the state of the {@link HubConnection} to the server. */
14215
14216
  get state() {
@@ -14269,7 +14270,7 @@ class J0 {
14269
14270
  };
14270
14271
  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)
14271
14272
  throw this._stopDuringStartError;
14272
- (this.connection.features.reconnect || !1) && (this._messageBuffer = new A6(this._protocol, this.connection, this._statefulReconnectBufferSize), this.connection.features.disconnected = this._messageBuffer._disconnected.bind(this._messageBuffer), this.connection.features.resend = () => {
14273
+ (this.connection.features.reconnect || !1) && (this._messageBuffer = new E6(this._protocol, this.connection, this._statefulReconnectBufferSize), this.connection.features.disconnected = this._messageBuffer._disconnected.bind(this._messageBuffer), this.connection.features.resend = () => {
14273
14274
  if (this._messageBuffer)
14274
14275
  return this._messageBuffer._resend();
14275
14276
  }), this.connection.features.inherentKeepAlive || await this._sendMessage(this._cachedPingMessage);
@@ -14313,7 +14314,7 @@ class J0 {
14313
14314
  stream(r, ...n) {
14314
14315
  const [a, l] = this._replaceStreamingParams(n), c = this._createStreamInvocation(r, n, l);
14315
14316
  let f;
14316
- const p = new w6();
14317
+ const p = new A6();
14317
14318
  return p.cancelCallback = () => {
14318
14319
  const h = this._createCancelInvocation(c.invocationId);
14319
14320
  return delete this._callbacks[c.invocationId], f.then(() => this._sendWithProtocol(h));
@@ -14699,10 +14700,10 @@ class J0 {
14699
14700
  return { type: Ie.Close };
14700
14701
  }
14701
14702
  }
14702
- const D6 = [0, 2e3, 1e4, 3e4, null];
14703
+ const k6 = [0, 2e3, 1e4, 3e4, null];
14703
14704
  class ed {
14704
14705
  constructor(r) {
14705
- this._retryDelays = r !== void 0 ? [...r, null] : D6;
14706
+ this._retryDelays = r !== void 0 ? [...r, null] : k6;
14706
14707
  }
14707
14708
  nextRetryDelayInMilliseconds(r) {
14708
14709
  return this._retryDelays[r.previousRetryCount];
@@ -14712,7 +14713,7 @@ class Ar {
14712
14713
  }
14713
14714
  Ar.Authorization = "Authorization";
14714
14715
  Ar.Cookie = "Cookie";
14715
- class k6 extends ha {
14716
+ class T6 extends ha {
14716
14717
  constructor(r, n) {
14717
14718
  super(), this._innerClient = r, this._accessTokenFactory = n;
14718
14719
  }
@@ -14737,7 +14738,7 @@ var Tt;
14737
14738
  (function(o) {
14738
14739
  o[o.Text = 1] = "Text", o[o.Binary = 2] = "Binary";
14739
14740
  })(Tt || (Tt = {}));
14740
- let T6 = class {
14741
+ let F6 = class {
14741
14742
  constructor() {
14742
14743
  this._isAborted = !1, this.onabort = null;
14743
14744
  }
@@ -14757,7 +14758,7 @@ class td {
14757
14758
  return this._pollAbort.aborted;
14758
14759
  }
14759
14760
  constructor(r, n, a) {
14760
- this._httpClient = r, this._logger = n, this._pollAbort = new T6(), this._options = a, this._running = !1, this.onreceive = null, this.onclose = null;
14761
+ this._httpClient = r, this._logger = n, this._pollAbort = new F6(), this._options = a, this._running = !1, this.onreceive = null, this.onclose = null;
14761
14762
  }
14762
14763
  async connect(r, n) {
14763
14764
  if (dt.isRequired(r, "url"), dt.isRequired(n, "transferFormat"), dt.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")
@@ -14821,7 +14822,7 @@ class td {
14821
14822
  }
14822
14823
  }
14823
14824
  }
14824
- class F6 {
14825
+ class P6 {
14825
14826
  constructor(r, n, a, l) {
14826
14827
  this._httpClient = r, this._accessToken = n, this._logger = a, this._options = l, this.onreceive = null, this.onclose = null;
14827
14828
  }
@@ -14871,7 +14872,7 @@ class F6 {
14871
14872
  this._eventSource && (this._eventSource.close(), this._eventSource = void 0, this.onclose && this.onclose(r));
14872
14873
  }
14873
14874
  }
14874
- class P6 {
14875
+ class R6 {
14875
14876
  constructor(r, n, a, l, c, f) {
14876
14877
  this._logger = a, this._accessTokenFactory = n, this._logMessageContent = l, this._webSocketConstructor = c, this._httpClient = r, this.onreceive = null, this.onclose = null, this._headers = f;
14877
14878
  }
@@ -14930,10 +14931,10 @@ class P6 {
14930
14931
  }
14931
14932
  }
14932
14933
  const nd = 100;
14933
- class R6 {
14934
+ class L6 {
14934
14935
  constructor(r, n = {}) {
14935
14936
  if (this._stopPromiseResolver = () => {
14936
- }, this.features = {}, this._negotiateVersion = 1, dt.isRequired(r, "url"), this._logger = d6(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)
14937
+ }, this.features = {}, this._negotiateVersion = 1, dt.isRequired(r, "url"), this._logger = p6(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)
14937
14938
  n.withCredentials = n.withCredentials === void 0 ? !0 : n.withCredentials;
14938
14939
  else
14939
14940
  throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
@@ -14943,7 +14944,7 @@ class R6 {
14943
14944
  const c = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
14944
14945
  a = c("ws"), l = c("eventsource");
14945
14946
  }
14946
- !it.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : it.isNode && !n.WebSocket && a && (n.WebSocket = a), !it.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : it.isNode && !n.EventSource && typeof l < "u" && (n.EventSource = l), this._httpClient = new k6(n.httpClient || new y6(this._logger), n.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = n, this.onreceive = null, this.onclose = null;
14947
+ !it.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : it.isNode && !n.WebSocket && a && (n.WebSocket = a), !it.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : it.isNode && !n.EventSource && typeof l < "u" && (n.EventSource = l), this._httpClient = new T6(n.httpClient || new b6(this._logger), n.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = n, this.onreceive = null, this.onclose = null;
14947
14948
  }
14948
14949
  async start(r) {
14949
14950
  if (r = r || Tt.Binary, dt.isIn(r, Tt, "transferFormat"), this._logger.log(X.Debug, `Starting connection with transfer format '${Tt[r]}'.`), this._connectionState !== "Disconnected")
@@ -15067,25 +15068,25 @@ class R6 {
15067
15068
  await this._startTransport(c, l), this.connectionId = h.connectionId;
15068
15069
  return;
15069
15070
  } catch (w) {
15070
- if (this._logger.log(X.Error, `Failed to start the transport '${s.transport}': ${w}`), h = void 0, f.push(new l6(`${s.transport} failed: ${w}`, ut[s.transport])), this._connectionState !== "Connecting") {
15071
+ if (this._logger.log(X.Error, `Failed to start the transport '${s.transport}': ${w}`), h = void 0, f.push(new c6(`${s.transport} failed: ${w}`, ut[s.transport])), this._connectionState !== "Connecting") {
15071
15072
  const v = "Failed to select transport before stop() was called.";
15072
15073
  return this._logger.log(X.Debug, v), Promise.reject(new wn(v));
15073
15074
  }
15074
15075
  }
15075
15076
  }
15076
15077
  }
15077
- return f.length > 0 ? Promise.reject(new c6(`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."));
15078
+ return f.length > 0 ? Promise.reject(new u6(`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."));
15078
15079
  }
15079
15080
  _constructTransport(r) {
15080
15081
  switch (r) {
15081
15082
  case ut.WebSockets:
15082
15083
  if (!this._options.WebSocket)
15083
15084
  throw new Error("'WebSocket' is not supported in your environment.");
15084
- return new P6(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
15085
+ return new R6(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
15085
15086
  case ut.ServerSentEvents:
15086
15087
  if (!this._options.EventSource)
15087
15088
  throw new Error("'EventSource' is not supported in your environment.");
15088
- return new F6(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
15089
+ return new P6(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
15089
15090
  case ut.LongPolling:
15090
15091
  return new td(this._httpClient, this._logger, this._options);
15091
15092
  default:
@@ -15112,10 +15113,10 @@ class R6 {
15112
15113
  const c = ut[r.transport];
15113
15114
  if (c == null)
15114
15115
  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.`);
15115
- if (L6(n, c))
15116
+ if ($6(n, c))
15116
15117
  if (r.transferFormats.map((p) => Tt[p]).indexOf(a) >= 0) {
15117
15118
  if (c === ut.WebSockets && !this._options.WebSocket || c === ut.ServerSentEvents && !this._options.EventSource)
15118
- return this._logger.log(X.Debug, `Skipping transport '${ut[c]}' because it is not supported in your environment.'`), new a6(`'${ut[c]}' is not supported in your environment.`, c);
15119
+ return this._logger.log(X.Debug, `Skipping transport '${ut[c]}' because it is not supported in your environment.'`), new s6(`'${ut[c]}' is not supported in your environment.`, c);
15119
15120
  this._logger.log(X.Debug, `Selecting transport '${ut[c]}'.`);
15120
15121
  try {
15121
15122
  return this.features.reconnect = c === ut.WebSockets ? l : void 0, this._constructTransport(c);
@@ -15125,7 +15126,7 @@ class R6 {
15125
15126
  } else
15126
15127
  return this._logger.log(X.Debug, `Skipping transport '${ut[c]}' because it does not support the requested transfer format '${Tt[a]}'.`), new Error(`'${ut[c]}' does not support ${Tt[a]}.`);
15127
15128
  else
15128
- return this._logger.log(X.Debug, `Skipping transport '${ut[c]}' because it was disabled by the client.`), new s6(`'${ut[c]}' is disabled by the client.`, c);
15129
+ return this._logger.log(X.Debug, `Skipping transport '${ut[c]}' because it was disabled by the client.`), new l6(`'${ut[c]}' is disabled by the client.`, c);
15129
15130
  }
15130
15131
  _isITransport(r) {
15131
15132
  return r && typeof r == "object" && "connect" in r;
@@ -15163,7 +15164,7 @@ class R6 {
15163
15164
  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();
15164
15165
  }
15165
15166
  }
15166
- function L6(o, r) {
15167
+ function $6(o, r) {
15167
15168
  return !o || (r & o) !== 0;
15168
15169
  }
15169
15170
  class el {
@@ -15218,10 +15219,10 @@ class Hi {
15218
15219
  this._rejecter(r);
15219
15220
  }
15220
15221
  }
15221
- const $6 = "json";
15222
- class N6 {
15222
+ const N6 = "json";
15223
+ class O6 {
15223
15224
  constructor() {
15224
- this.name = $6, this.version = 2, this.transferFormat = Tt.Text;
15225
+ this.name = N6, this.version = 2, this.transferFormat = Tt.Text;
15225
15226
  }
15226
15227
  /** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
15227
15228
  *
@@ -15300,7 +15301,7 @@ class N6 {
15300
15301
  throw new Error(n);
15301
15302
  }
15302
15303
  }
15303
- const O6 = {
15304
+ const U6 = {
15304
15305
  trace: X.Trace,
15305
15306
  debug: X.Debug,
15306
15307
  info: X.Information,
@@ -15311,18 +15312,18 @@ const O6 = {
15311
15312
  critical: X.Critical,
15312
15313
  none: X.None
15313
15314
  };
15314
- function U6(o) {
15315
- const r = O6[o.toLowerCase()];
15315
+ function M6(o) {
15316
+ const r = U6[o.toLowerCase()];
15316
15317
  if (typeof r < "u")
15317
15318
  return r;
15318
15319
  throw new Error(`Unknown log level: ${o}`);
15319
15320
  }
15320
- class M6 {
15321
+ class z6 {
15321
15322
  configureLogging(r) {
15322
- if (dt.isRequired(r, "logging"), z6(r))
15323
+ if (dt.isRequired(r, "logging"), H6(r))
15323
15324
  this.logger = r;
15324
15325
  else if (typeof r == "string") {
15325
- const n = U6(r);
15326
+ const n = M6(r);
15326
15327
  this.logger = new Yi(n);
15327
15328
  } else
15328
15329
  this.logger = new Yi(r);
@@ -15375,16 +15376,16 @@ class M6 {
15375
15376
  const r = this.httpConnectionOptions || {};
15376
15377
  if (r.logger === void 0 && (r.logger = this.logger), !this.url)
15377
15378
  throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
15378
- const n = new R6(this.url, r);
15379
- return J0.create(n, this.logger || $o.instance, this.protocol || new N6(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
15379
+ const n = new L6(this.url, r);
15380
+ return J0.create(n, this.logger || $o.instance, this.protocol || new O6(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
15380
15381
  }
15381
15382
  }
15382
- function z6(o) {
15383
+ function H6(o) {
15383
15384
  return o.log !== void 0;
15384
15385
  }
15385
- let { baseURL: H6 } = Vn();
15386
- const W6 = () => {
15387
- const o = new M6().withUrl(`${H6}/api/tool/event-bus`, {
15386
+ let { baseURL: W6 } = Vn();
15387
+ const q6 = () => {
15388
+ const o = new z6().withUrl(`${W6}/api/tool/event-bus`, {
15388
15389
  skipNegotiation: !0,
15389
15390
  transport: ut.WebSockets
15390
15391
  }).withAutomaticReconnect().build();
@@ -15393,10 +15394,10 @@ const W6 = () => {
15393
15394
  }), o.onclose((r) => {
15394
15395
  }), o.onreconnected(() => {
15395
15396
  }), o;
15396
- }, va = "v1", q6 = wt(`/api/graphics-engine/component/${va}`, (o) => (o.customErrorMessage = () => "", o)), j6 = wt(`/api/portal/manager/${va}`, (o) => (o.customErrorMessage = () => "", o)), V6 = wt(`/api/speech-base/speech/${va}`, (o) => (o.customErrorMessage = () => "", o)), rd = q6.get("/component/client/heartbeat"), K6 = j6.get("/basics/by-alias");
15397
- V6.post("/control/callBack");
15398
- const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.get("/permissionset/application"), Q6 = ra.get("/permissionset/user-portal-menu"), od = async (o, r) => {
15399
- const [n, a] = await Q6().run({
15397
+ }, va = "v1", j6 = wt(`/api/graphics-engine/component/${va}`, (o) => (o.customErrorMessage = () => "", o)), V6 = wt(`/api/portal/manager/${va}`, (o) => (o.customErrorMessage = () => "", o)), K6 = wt(`/api/speech-base/speech/${va}`, (o) => (o.customErrorMessage = () => "", o)), rd = j6.get("/component/client/heartbeat"), G6 = V6.get("/basics/by-alias");
15398
+ K6.post("/control/callBack");
15399
+ const X6 = wt(`/api/tool/event-bus/${va}/`), y0 = X6.post("/publish"), Q6 = ra.get("/permissionset/application"), Z6 = ra.get("/permissionset/user-portal-menu"), od = async (o, r) => {
15400
+ const [n, a] = await Z6().run({
15400
15401
  code: o,
15401
15402
  showBtn: !1,
15402
15403
  userType: 1
@@ -15404,7 +15405,7 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
15404
15405
  if (n || !a || !a.length) return null;
15405
15406
  const l = Gt(a).find((c) => c.code === r);
15406
15407
  return l || null;
15407
- }, Z6 = () => {
15408
+ }, Y6 = () => {
15408
15409
  const o = Ir(), r = ea(), { entryApp: n } = Xi.hooks.useEntryApp(), { entryMenu: a } = Xi.hooks.useEntryMenu();
15409
15410
  let l = null;
15410
15411
  return An(async () => {
@@ -15470,7 +15471,7 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
15470
15471
  if (le)
15471
15472
  n({ microApp: le });
15472
15473
  else {
15473
- const [M, G] = await X6().run({ menuCode: Q });
15474
+ const [M, G] = await Q6().run({ menuCode: Q });
15474
15475
  if (M) return;
15475
15476
  const re = b.find((ue) => ue.code === G);
15476
15477
  if (re) {
@@ -15497,7 +15498,7 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
15497
15498
  setTimeout(async () => {
15498
15499
  var m, b;
15499
15500
  if (h.value) {
15500
- const [B, I] = await K6().run({}, { params: { aliasName: x.actionValue } });
15501
+ const [B, I] = await G6().run({}, { params: { aliasName: x.actionValue } });
15501
15502
  B ? await y0().run({
15502
15503
  uniqueId: x.uniqueId,
15503
15504
  status: 0,
@@ -15516,7 +15517,7 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
15516
15517
  }, 2e3);
15517
15518
  }, d = (x) => {
15518
15519
  const m = qn(), b = JSON.parse(atob(m.split(".")[1])).sub;
15519
- W6().on(`${x}:${b}`, async function(I) {
15520
+ q6().on(`${x}:${b}`, async function(I) {
15520
15521
  let P = f(I);
15521
15522
  if (P)
15522
15523
  P.uniqueId && P.actionKey == "switch-menu" && s(P);
@@ -15543,10 +15544,10 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
15543
15544
  }), Oo(() => {
15544
15545
  l && clearInterval(l);
15545
15546
  }), {};
15546
- }, ga = "v1", Y6 = io(`/api/fms/report/${ga}`), tl = io(`/api/emergency/manage/${ga}`), J6 = U0.get("/permissionset/user-portal-menu"), Cp = io(`/api/alarm/config/${ga}`), eS = io(`/api/alarm/run-time/${ga}`), tS = Cp.get("/alarm-definition/status-option"), nS = eS.post("/record/handling"), rS = Cp.get("/alarm-level/prompttone"), oS = Y6.get("/alarm/rule/list"), iS = vd.get("/controller/space-children-all-type"), aS = vd.get("/controller/fuzzy-area-small"), sS = tl.get("/emergency-event/event/type"), lS = tl.get("/emergency-event/event/level"), cS = tl.get("/emergency-plan/plan/handle-time"), uS = { class: "handle-alarm-container" }, fS = { class: "select-check" }, dS = { class: "form-box" }, pS = { class: "select-check" }, hS = { style: { "margin-left": "8px" } }, vS = { class: "foot-btn-box" }, gS = {
15547
+ }, ga = "v1", J6 = io(`/api/fms/report/${ga}`), tl = io(`/api/emergency/manage/${ga}`), eS = U0.get("/permissionset/user-portal-menu"), Cp = io(`/api/alarm/config/${ga}`), tS = io(`/api/alarm/run-time/${ga}`), nS = Cp.get("/alarm-definition/status-option"), rS = tS.post("/record/handling"), oS = Cp.get("/alarm-level/prompttone"), iS = J6.get("/alarm/rule/list"), aS = vd.get("/controller/space-children-all-type"), sS = vd.get("/controller/fuzzy-area-small"), lS = tl.get("/emergency-event/event/type"), cS = tl.get("/emergency-event/event/level"), uS = tl.get("/emergency-plan/plan/handle-time"), fS = { class: "handle-alarm-container" }, dS = { class: "select-check" }, pS = { class: "form-box" }, hS = { class: "select-check" }, vS = { style: { "margin-left": "8px" } }, gS = { class: "foot-btn-box" }, xS = {
15547
15548
  name: "handleAlarm"
15548
- }, xS = /* @__PURE__ */ st({
15549
- ...gS,
15549
+ }, mS = /* @__PURE__ */ st({
15550
+ ...xS,
15550
15551
  props: {
15551
15552
  projectId: { default: "" },
15552
15553
  handerIds: { default: [] }
@@ -15610,13 +15611,13 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
15610
15611
  const I = W(!0), P = W(!0), T = async (K) => {
15611
15612
  const ee = { name: "1" };
15612
15613
  K != null && K.id && (ee.spaceId = K.id);
15613
- const [ie, Je] = await iS(ee).run();
15614
+ const [ie, Je] = await aS(ee).run();
15614
15615
  return ie ? {} : Je;
15615
15616
  }, F = async (K) => {
15616
- const ee = { name: K || "" }, [ie, Je] = await aS(ee).run();
15617
+ const ee = { name: K || "" }, [ie, Je] = await sS(ee).run();
15617
15618
  return ie ? {} : Je;
15618
15619
  }, N = W(!0), k = W(!0), L = W([]), z = async () => {
15619
- const [K, ee] = await oS().run({ pageIndex: -1, pageSize: -1 });
15620
+ const [K, ee] = await iS().run({ pageIndex: -1, pageSize: -1 });
15620
15621
  if (K) return {};
15621
15622
  L.value = ee.data.filter((ie) => ie.status), L.value.length > 0 && (s.value.workOrderRules = L.value[0].id);
15622
15623
  };
@@ -15653,13 +15654,13 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
15653
15654
  }, ue = (K) => {
15654
15655
  K == "eventTypeId" && (s.value.eventLevelId = null, Z()), K == "eventLevelId" && ne(), K == "interval" && (d.value.timeLimit = "", s.value.interval == 3 ? (w.value = !0, s.value.timeLimit = "") : w.value = !1);
15655
15656
  }, H = async () => {
15656
- const [K, ee] = await sS().run();
15657
+ const [K, ee] = await lS().run();
15657
15658
  if (K) return {};
15658
15659
  v.value = ee, s.value.eventTypeId || (s.value.eventTypeId = ee[0] ? ee[0].id : null), Z();
15659
15660
  }, Z = async () => {
15660
15661
  const K = {
15661
15662
  eventTypeId: s.value.eventTypeId
15662
- }, [ee, ie] = await lS(K).run();
15663
+ }, [ee, ie] = await cS(K).run();
15663
15664
  if (ee) return {};
15664
15665
  const Je = { 1: Ce("一级").value, 2: Ce("二级").value, 3: Ce("三级").value, 4: Ce("四级").value };
15665
15666
  _.value = ie.map((rn) => ({
@@ -15670,7 +15671,7 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
15670
15671
  const K = {
15671
15672
  eventTypeId: s.value.eventTypeId,
15672
15673
  eventLevel: s.value.eventLevelId
15673
- }, [ee, ie] = await cS(K).run();
15674
+ }, [ee, ie] = await uS(K).run();
15674
15675
  if (ee) return {};
15675
15676
  s.value.interval = ie.handleTimeUnit, ie.handleTimeUnit == 3 ? s.value.timeLimit = "" : s.value.timeLimit = ie.handleTime;
15676
15677
  }, te = (K) => {
@@ -15682,7 +15683,7 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
15682
15683
  projectId: a.projectId
15683
15684
  };
15684
15685
  c.value = !0;
15685
- const [ee, ie] = await tS(K).run();
15686
+ const [ee, ie] = await nS(K).run();
15686
15687
  if (ee) {
15687
15688
  c.value = !1;
15688
15689
  return;
@@ -15716,7 +15717,7 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
15716
15717
  //处理类型id
15717
15718
  };
15718
15719
  s.value.processTypeId === "createorder" ? (K.path = P.value ? "" : s.value.customPath, K.topic = k.value ? "" : s.value.reportTheme, K.spaceId = P.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");
15719
- const [ee, ie] = await nS(K, {
15720
+ const [ee, ie] = await rS(K, {
15720
15721
  params: {
15721
15722
  projectId: a.projectId
15722
15723
  }
@@ -15734,7 +15735,7 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
15734
15735
  return r({
15735
15736
  open: ke,
15736
15737
  close: ve
15737
- }), (K, ee) => (_e(), Ke("div", uS, [
15738
+ }), (K, ee) => (_e(), Ke("div", fS, [
15738
15739
  ae(D(Er), {
15739
15740
  modelValue: h.value,
15740
15741
  "onUpdate:modelValue": ee[31] || (ee[31] = (ie) => h.value = ie),
@@ -15755,7 +15756,7 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
15755
15756
  )
15756
15757
  ]),
15757
15758
  footer: de(() => [
15758
- se("div", vS, [
15759
+ se("div", gS, [
15759
15760
  ae(D(kt), {
15760
15761
  size: "middle",
15761
15762
  onClick: nt
@@ -15889,9 +15890,9 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
15889
15890
  marginRight: "0"
15890
15891
  }, {
15891
15892
  default: de(() => [
15892
- se("div", fS, [
15893
- se("div", dS, [
15894
- ae(D(GC), {
15893
+ se("div", dS, [
15894
+ se("div", pS, [
15895
+ ae(D(XC), {
15895
15896
  borderType: "underline",
15896
15897
  props: { disabled: "_disabled", label: "name" },
15897
15898
  modelValue: s.value.reportPosition,
@@ -15952,7 +15953,7 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
15952
15953
  marginRight: "0"
15953
15954
  }, {
15954
15955
  default: de(() => [
15955
- se("div", pS, [
15956
+ se("div", hS, [
15956
15957
  ae(D(B0), {
15957
15958
  maxlength: "20",
15958
15959
  disabled: N.value,
@@ -16053,7 +16054,7 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
16053
16054
  marginRight: "0"
16054
16055
  }, {
16055
16056
  default: de(() => [
16056
- se("div", hS, [
16057
+ se("div", vS, [
16057
16058
  ae(D(H0), {
16058
16059
  class: "select",
16059
16060
  modelValue: s.value.interval,
@@ -16093,18 +16094,18 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
16093
16094
  }, 8, ["modelValue"])
16094
16095
  ]));
16095
16096
  }
16096
- }), mS = /* @__PURE__ */ Mt(xS, [["__scopeId", "data-v-2eaa1bda"]]), _S = (o, r, n) => ({
16097
- handleAlarmVue: () => It(mS, {
16097
+ }), _S = /* @__PURE__ */ Mt(mS, [["__scopeId", "data-v-2eaa1bda"]]), CS = (o, r, n) => ({
16098
+ handleAlarmVue: () => It(_S, {
16098
16099
  handerIds: r.value,
16099
16100
  projectId: Mo().id,
16100
16101
  ref: o,
16101
16102
  onEmitFn: (l, c) => {
16102
16103
  }
16103
16104
  })
16104
- }), CS = { class: "alarm-msg" }, yS = { style: { position: "relative" } }, bS = { class: "title-left" }, wS = { class: "title-box" }, AS = { class: "content-box" }, ES = { class: "alarm-msg-line" }, SS = { class: "alarm-msg-line-left" }, BS = { class: "alarm-msg-line" }, IS = { class: "alarm-msg-line-left" }, DS = { class: "alarm-msg-line-right alarm-content-object" }, kS = { class: "alarm-msg-line" }, TS = { class: "alarm-msg-line-left" }, FS = { class: "alarm-msg-line-right alarm-content" }, PS = { class: "btn-box" }, RS = {
16105
+ }), yS = { class: "alarm-msg" }, bS = { style: { position: "relative" } }, wS = { class: "title-left" }, AS = { class: "title-box" }, ES = { class: "content-box" }, SS = { class: "alarm-msg-line" }, BS = { class: "alarm-msg-line-left" }, IS = { class: "alarm-msg-line" }, DS = { class: "alarm-msg-line-left" }, kS = { class: "alarm-msg-line-right alarm-content-object" }, TS = { class: "alarm-msg-line" }, FS = { class: "alarm-msg-line-left" }, PS = { class: "alarm-msg-line-right alarm-content" }, RS = { class: "btn-box" }, LS = {
16105
16106
  name: "alarm"
16106
- }, LS = /* @__PURE__ */ st({
16107
- ...RS,
16107
+ }, $S = /* @__PURE__ */ st({
16108
+ ...LS,
16108
16109
  props: {
16109
16110
  alarmhandle: { type: Boolean, default: !1 },
16110
16111
  msgItem: { default: {} }
@@ -16121,8 +16122,8 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
16121
16122
  null,
16122
16123
  [
16123
16124
  De(` <div class="alarm-msg" :style="{ 'border-color': msgItem.color }"> `),
16124
- se("div", CS, [
16125
- se("div", yS, [
16125
+ se("div", yS, [
16126
+ se("div", bS, [
16126
16127
  se(
16127
16128
  "div",
16128
16129
  {
@@ -16130,13 +16131,13 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
16130
16131
  class: "title-detail"
16131
16132
  },
16132
16133
  [
16133
- se("div", bS, [
16134
+ se("div", wS, [
16134
16135
  De(` <div class="icon-box" :style="{ color: msgItem.color }">\r
16135
16136
  !\r
16136
16137
  </div> `),
16137
16138
  se(
16138
16139
  "div",
16139
- wS,
16140
+ AS,
16140
16141
  Ae(D(Ce)("新告警").value),
16141
16142
  1
16142
16143
  /* TEXT */
@@ -16153,11 +16154,11 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
16153
16154
  4
16154
16155
  /* STYLE */
16155
16156
  ),
16156
- se("div", AS, [
16157
- se("div", ES, [
16157
+ se("div", ES, [
16158
+ se("div", SS, [
16158
16159
  se(
16159
16160
  "div",
16160
- SS,
16161
+ BS,
16161
16162
  Ae(D(Ce)("告警等级:").value),
16162
16163
  1
16163
16164
  /* TEXT */
@@ -16173,39 +16174,39 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
16173
16174
  /* TEXT, STYLE */
16174
16175
  )
16175
16176
  ]),
16176
- se("div", BS, [
16177
+ se("div", IS, [
16177
16178
  se(
16178
16179
  "div",
16179
- IS,
16180
+ DS,
16180
16181
  Ae(D(Ce)("告警对象:").value),
16181
16182
  1
16182
16183
  /* TEXT */
16183
16184
  ),
16184
16185
  se(
16185
16186
  "div",
16186
- DS,
16187
+ kS,
16187
16188
  Ae(f.msgItem.equipmentName || ""),
16188
16189
  1
16189
16190
  /* TEXT */
16190
16191
  )
16191
16192
  ]),
16192
- se("div", kS, [
16193
+ se("div", TS, [
16193
16194
  se(
16194
16195
  "div",
16195
- TS,
16196
+ FS,
16196
16197
  Ae(D(Ce)("告警内容:").value),
16197
16198
  1
16198
16199
  /* TEXT */
16199
16200
  ),
16200
16201
  se(
16201
16202
  "div",
16202
- FS,
16203
+ PS,
16203
16204
  Ae(f.msgItem.alarmContent || ""),
16204
16205
  1
16205
16206
  /* TEXT */
16206
16207
  )
16207
16208
  ]),
16208
- se("div", PS, [
16209
+ se("div", RS, [
16209
16210
  f.msgItem.equipmentCode && f.msgItem.equipmentPanelCode ? (_e(), Ve(D(kt), {
16210
16211
  key: 0,
16211
16212
  block: "",
@@ -16250,7 +16251,7 @@ const G6 = wt(`/api/tool/event-bus/${va}/`), y0 = G6.post("/publish"), X6 = ra.g
16250
16251
  ));
16251
16252
  }
16252
16253
  });
16253
- let $S = (o = 21) => {
16254
+ let NS = (o = 21) => {
16254
16255
  let r = "", n = crypto.getRandomValues(new Uint8Array(o));
16255
16256
  for (; o--; ) {
16256
16257
  let a = n[o] & 63;
@@ -16258,7 +16259,7 @@ let $S = (o = 21) => {
16258
16259
  }
16259
16260
  return r;
16260
16261
  };
16261
- const NS = () => {
16262
+ const OS = () => {
16262
16263
  const o = W(null), r = W(0), n = W(null), a = W(null), l = W([]), c = W([]), f = W(!1), p = W(!1), h = W(!1), s = W({
16263
16264
  playId: "",
16264
16265
  // 播放的告警的recordId
@@ -16285,7 +16286,7 @@ const NS = () => {
16285
16286
  N.push({ alarmId: F.recordId }), l.value = N, (k = n.value) == null || k.open();
16286
16287
  }, { entryApp: w } = Xi.hooks.useEntryApp(), v = (F) => {
16287
16288
  gd(F.equipmentCode, F.equipmentPanelCode, null, null, null, !1, F.createTime);
16288
- }, { handleAlarmVue: _ } = _S(n, l), y = async () => {
16289
+ }, { handleAlarmVue: _ } = CS(n, l), y = async () => {
16289
16290
  var k;
16290
16291
  const N = (((k = Oe().appcategorys) == null ? void 0 : k.map((L) => L.apps).flat()) ?? []).find((L) => L.code === "alarm");
16291
16292
  N && w({ microApp: N, menuPath: `/${N.routeUrl}/realTimeAlarm` });
@@ -16296,13 +16297,13 @@ const NS = () => {
16296
16297
  }
16297
16298
  }, x = (F) => {
16298
16299
  if (!F) return;
16299
- const N = $S();
16300
+ const N = NS();
16300
16301
  Ki.open({
16301
16302
  key: N,
16302
16303
  class: "alarm-notify",
16303
16304
  message: Ce("新告警").value,
16304
16305
  placement: "bottomRight",
16305
- description: It(LS, {
16306
+ description: It($S, {
16306
16307
  msgItem: F,
16307
16308
  alarmhandle: f.value,
16308
16309
  onHanderDetail: v,
@@ -16346,7 +16347,7 @@ const NS = () => {
16346
16347
  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());
16347
16348
  };
16348
16349
  }, P = async () => {
16349
- const [F, N] = await rS().run();
16350
+ const [F, N] = await oS().run();
16350
16351
  F || (h.value = N.isEnable);
16351
16352
  };
16352
16353
  return {
@@ -16357,7 +16358,7 @@ const NS = () => {
16357
16358
  handleAlarmVue: _,
16358
16359
  creatAlarmSocket: async () => {
16359
16360
  P();
16360
- const [F, N] = await J6().run({
16361
+ const [F, N] = await eS().run({
16361
16362
  code: "alarm",
16362
16363
  showBtn: !0
16363
16364
  });
@@ -16378,10 +16379,10 @@ const NS = () => {
16378
16379
  }));
16379
16380
  }
16380
16381
  };
16381
- }, OS = ["src", "muted", "loop"], US = /* @__PURE__ */ st({
16382
+ }, US = ["src", "muted", "loop"], MS = /* @__PURE__ */ st({
16382
16383
  __name: "index",
16383
16384
  setup(o) {
16384
- const { alarmSocket: r, creatAlarmSocket: n, audioObj: a, audioAlarmRef: l, handleAlarmVue: c } = NS();
16385
+ const { alarmSocket: r, creatAlarmSocket: n, audioObj: a, audioAlarmRef: l, handleAlarmVue: c } = OS();
16385
16386
  return An(async () => {
16386
16387
  await aa(), n();
16387
16388
  }), Oo(() => {
@@ -16399,22 +16400,22 @@ const NS = () => {
16399
16400
  muted: !D(a).isplay,
16400
16401
  loop: D(a).loop,
16401
16402
  autoplay: ""
16402
- }, null, 8, OS)
16403
+ }, null, 8, US)
16403
16404
  ],
16404
16405
  64
16405
16406
  /* STABLE_FRAGMENT */
16406
16407
  ));
16407
16408
  }
16408
- }), MS = () => {
16409
+ }), zS = () => {
16409
16410
  const o = W(null), r = W(null), n = () => {
16410
16411
  o.value && (clearTimeout(o.value), o.value = null), r.value && (clearInterval(r.value), r.value = null);
16411
16412
  }, a = async () => {
16412
- if (!yC())
16413
+ if (!AC())
16413
16414
  try {
16414
16415
  const { refreshToken: x } = dd().getData();
16415
16416
  if (!x)
16416
16417
  return;
16417
- await CC(O0) && f();
16418
+ await wC(O0) && f();
16418
16419
  } catch {
16419
16420
  }
16420
16421
  }, l = () => {
@@ -16471,7 +16472,7 @@ const NS = () => {
16471
16472
  stopTokenRefresh: d,
16472
16473
  refreshToken: a
16473
16474
  };
16474
- }, zS = { class: "das-main-app-container" }, HS = /* @__PURE__ */ st({
16475
+ }, HS = { class: "das-main-app-container" }, WS = /* @__PURE__ */ st({
16475
16476
  __name: "index",
16476
16477
  props: {
16477
16478
  showLayout: { type: Boolean, default: !0 }
@@ -16489,17 +16490,17 @@ const NS = () => {
16489
16490
  },
16490
16491
  { immediate: !0 }
16491
16492
  );
16492
- const { initNextTick: h } = o3(), { loading: s, pageKey: d, commandList: w, initNextTick: v } = i3(h);
16493
- f3(h, v), u3(), l3(), g3();
16494
- const { $changePwd: _, $personSetDialog: y } = p3(), { $aiPanel: E, toApp: C, getAIPanelStatus: x } = w3(), { changeEnterprisesVisible: m, userId: b, tenantId: B, changeEnterprise: I } = vp();
16495
- s3();
16496
- const { fontColor: P, backgroudColor: T, borderColor: F } = c3();
16497
- return A3(), E3(w), S3(), I3(), i6(), Z6(), MS(), (N, k) => (_e(), Ke("div", zS, [
16493
+ const { initNextTick: h } = i3(), { loading: s, pageKey: d, commandList: w, initNextTick: v } = a3(h);
16494
+ d3(h, v), f3(), c3(), x3();
16495
+ const { $changePwd: _, $personSetDialog: y } = h3(), { $aiPanel: E, toApp: C, getAIPanelStatus: x } = A3(), { changeEnterprisesVisible: m, userId: b, tenantId: B, changeEnterprise: I } = vp();
16496
+ l3();
16497
+ const { fontColor: P, backgroudColor: T, borderColor: F } = u3();
16498
+ return E3(), S3(w), B3(), D3(), a6(), Y6(), zS(), (N, k) => (_e(), Ke("div", HS, [
16498
16499
  De(` <button @click="test(0)">test</button>\r
16499
16500
  <button style="margin-left: 5px" @click="test(1)">test2</button> `),
16500
- ae(D(xy), { platformInitNextTick: D(h) }, {
16501
+ ae(D(my), { platformInitNextTick: D(h) }, {
16501
16502
  default: de(() => [
16502
- ae(ty, {
16503
+ ae(ny, {
16503
16504
  loading: D(s),
16504
16505
  pageKey: D(d) + D(Uo),
16505
16506
  showLayout: l.value,
@@ -16544,7 +16545,7 @@ const NS = () => {
16544
16545
  ),
16545
16546
  De(" 个性化设置 "),
16546
16547
  ae(
16547
- D(ZE),
16548
+ D(YE),
16548
16549
  {
16549
16550
  ref_key: "$personSetDialog",
16550
16551
  ref: y
@@ -16562,10 +16563,10 @@ const NS = () => {
16562
16563
  onGetStatus: D(x)
16563
16564
  }, null, 8, ["platformInitNextTick", "onToApp", "onGetStatus"]),
16564
16565
  De(" 告警 "),
16565
- ae(D(US))
16566
+ ae(D(MS))
16566
16567
  ]));
16567
16568
  }
16568
- }), WS = /* @__PURE__ */ Mt(HS, [["__scopeId", "data-v-c14c1d2c"]]), qS = {
16569
+ }), qS = /* @__PURE__ */ Mt(WS, [["__scopeId", "data-v-c14c1d2c"]]), jS = {
16569
16570
  正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time Video", _appCode: "framework" },
16570
16571
  声音: { "zh-CN": "声音", en: "Sound", _appCode: "framework" },
16571
16572
  截图: { "zh-CN": "截图", en: "Screenshot", _appCode: "framework" },
@@ -16756,12 +16757,12 @@ const NS = () => {
16756
16757
  _appCode: "framework"
16757
16758
  }
16758
16759
  };
16759
- J_(qS);
16760
+ J_(jS);
16760
16761
  W("@das-fed/web");
16761
- const jS = [
16762
+ const VS = [
16762
16763
  {
16763
16764
  path: Vt,
16764
- component: () => import("./index-Doc6gRMQ.js"),
16765
+ component: () => import("./index-C__ifiZ_.js"),
16765
16766
  meta: {
16766
16767
  layout: {
16767
16768
  minWidth: "0px"
@@ -16770,11 +16771,11 @@ const jS = [
16770
16771
  },
16771
16772
  {
16772
16773
  path: Cd,
16773
- component: () => import("./index-DLqeqqIt.js")
16774
+ component: () => import("./index-ZolKtM3A.js")
16774
16775
  }
16775
- ], Y5 = {
16776
- routes: jS,
16777
- Layout: WS,
16776
+ ], J5 = {
16777
+ routes: VS,
16778
+ Layout: qS,
16778
16779
  data: {
16779
16780
  homeInfo: Hn,
16780
16781
  personalConfig: hn
@@ -16792,7 +16793,7 @@ export {
16792
16793
  D0 as d,
16793
16794
  I0 as g,
16794
16795
  ft as l,
16795
- Y5 as m,
16796
+ J5 as m,
16796
16797
  hn as p,
16797
16798
  cr as u
16798
16799
  };