@das-fed/upf-web 6.4.0-dev.216 → 6.4.0-dev.217

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.
@@ -1,7 +1,7 @@
1
- import { defineComponent as Ee, ref as M, onUnmounted as X0, openBlock as Y, createElementBlock as Se, createElementVNode as K, createVNode as Z, unref as F, createTextVNode as Oe, toDisplayString as pe, createCommentVNode as oe, watch as ke, createBlock as se, computed as je, mergeProps as Q0, withCtx as X, renderSlot as Xe, getCurrentScope as Z0, onScopeDispose as J0, getCurrentInstance as Y0, onMounted as lt, nextTick as gt, reactive as ba, Fragment as _t, renderList as dn, withDirectives as wa, h as ye, render as Tt, onBeforeUnmount as Nt, vShow as es, useCssVars as ts, normalizeClass as rs, withModifiers as ge, toRefs as ns, normalizeStyle as Xn, createSlots as os } from "vue";
1
+ import { defineComponent as we, ref as M, onUnmounted as X0, openBlock as Y, createElementBlock as Se, createElementVNode as K, createVNode as Z, unref as F, createTextVNode as ze, toDisplayString as pe, createCommentVNode as oe, watch as ke, createBlock as se, computed as je, mergeProps as Q0, withCtx as X, renderSlot as Xe, getCurrentScope as Z0, onScopeDispose as J0, getCurrentInstance as Y0, onMounted as lt, nextTick as gt, reactive as ba, Fragment as _t, renderList as dn, withDirectives as wa, h as Ce, render as Tt, onBeforeUnmount as Nt, vShow as es, useCssVars as ts, normalizeClass as rs, withModifiers as ve, toRefs as ns, normalizeStyle as Xn, createSlots as os } from "vue";
2
2
  import { DasWebLayout as as, DasWebNav as ss, DasWebMenu as is, DasWebTabs as cs, layout as Q, layoutData as Ea } from "@das-fed/upf-web/packages/layout/index";
3
3
  import { useRoute as fn, useRouter as rr } from "vue-router";
4
- import { microFrontend as we } from "@das-fed/upf-web/packages/micro-frontend/index";
4
+ import { microFrontend as be } from "@das-fed/upf-web/packages/micro-frontend/index";
5
5
  import { i18n as V, t as ne, currentLang as Aa, setI18nRule as ls } from "@das-fed/upf-web/packages/i18n/index";
6
6
  import { DasIconWarning as us } from "@das-fed/upf-ui/packages/icons/warning/index";
7
7
  import { DasIconClose2 as ds } from "@das-fed/upf-ui/packages/icons/close-2/index";
@@ -26,16 +26,16 @@ import { setThemeRule as Ss } from "@das-fed/upf-web/packages/theme/index";
26
26
  import { bus as $a, reportRouter as Zn } from "@das-fed/mframe";
27
27
  import { vAuth as Jn } from "@das-fed/upf-utils/directive";
28
28
  import rn from "dayjs";
29
- import { devicePanelShow as Oa, closeDevicePanel as Fs, alarmDevicePanelShow as Is, closeAlarmPanel as Ts } from "@das-fed/upf-ui/packages/business-components/device-panel/index";
29
+ import { devicePanelShow as za, closeDevicePanel as Fs, alarmDevicePanelShow as Is, closeAlarmPanel as Ts } from "@das-fed/upf-ui/packages/business-components/device-panel/index";
30
30
  import { DasIconWarningFace as Ps } from "@das-fed/upf-ui/packages/icons/warning-face/index";
31
31
  import { socketService as _n } from "@das-fed/upf-utils/webSocket-service";
32
32
  import { userInfoNextTick as Rs, tokenNextTick as or } from "@das-fed/upf-utils/nextTiken";
33
33
  import { mainAppFramework as Zt } from "@das-fed/upf-web/packages/main-app-framework/index";
34
- import { DasAutoRegisterIcon as za, DasIcon as vt } from "@das-fed/upf-ui/packages/components/icon/index";
34
+ import { DasAutoRegisterIcon as Oa, DasIcon as vt } from "@das-fed/upf-ui/packages/components/icon/index";
35
35
  import { DasTooltip as Ae } from "@das-fed/upf-ui/packages/components/tooltip/index";
36
36
  import { DasLivePlayer as $s } from "@das-fed/upf-ui/packages/components/live-player/index";
37
- import { DasWatermark as Os } from "@das-fed/upf-ui/packages/components/watermark/index";
38
- import { DasSelect as zs } from "@das-fed/upf-ui/packages/components/select/index";
37
+ import { DasWatermark as zs } from "@das-fed/upf-ui/packages/components/watermark/index";
38
+ import { DasSelect as Os } from "@das-fed/upf-ui/packages/components/select/index";
39
39
  import { DasTreeSelect as Ms } from "@das-fed/upf-ui/packages/components/tree-select/index";
40
40
  import { DasInput as Yn } from "@das-fed/upf-ui/packages/components/input/index";
41
41
  import { DasCheckbox as eo } from "@das-fed/upf-ui/packages/components/checkbox/index";
@@ -47,15 +47,15 @@ const Rt = "/home", qe = "/application", Ls = [
47
47
  ], ot = "/outerView", Ma = "/placeholder", Hs = {
48
48
  key: 0,
49
49
  class: "box-banner-wrap"
50
- }, Us = { class: "icon-wrap" }, js = /* @__PURE__ */ Ee({
50
+ }, Us = { class: "icon-wrap" }, js = /* @__PURE__ */ we({
51
51
  __name: "banner",
52
52
  emits: ["close-tip"],
53
53
  setup(r, { emit: e }) {
54
54
  const t = e, n = M(!0), a = M(""), s = M(0), i = M({}), l = () => {
55
55
  t("close-tip", !0), n.value = !0;
56
56
  };
57
- we.sendMessageToMicroApp("iot/iot", "iot:banner-data-1", null, { awaitListener: !0 });
58
- const { remove: u } = we.addEventListenerFromMicroApp("iot:banner-data-2", (o) => {
57
+ be.sendMessageToMicroApp("iot/iot", "iot:banner-data-1", null, { awaitListener: !0 });
58
+ const { remove: u } = be.addEventListenerFromMicroApp("iot:banner-data-2", (o) => {
59
59
  const c = JSON.parse(o.data);
60
60
  n.value = c == null ? void 0 : c.isClosed, a.value = c == null ? void 0 : c.expireDate, s.value = c == null ? void 0 : c.relativeDate, i.value = c == null ? void 0 : c.curExample;
61
61
  });
@@ -67,7 +67,7 @@ const Rt = "/home", qe = "/application", Ls = [
67
67
  class: "icons",
68
68
  iconColor: "#fdaf1a"
69
69
  }),
70
- Oe(
70
+ ze(
71
71
  " " + pe(F(V)("iot-banner-tip", i.value.instanceName, s.value, a.value).value),
72
72
  1
73
73
  /* TEXT */
@@ -85,7 +85,7 @@ const Rt = "/home", qe = "/application", Ls = [
85
85
  for (const [n, a] of e)
86
86
  t[n] = a;
87
87
  return t;
88
- }, qs = /* @__PURE__ */ Le(js, [["__scopeId", "data-v-cb7c6db7"]]), Ws = /* @__PURE__ */ Ee({
88
+ }, qs = /* @__PURE__ */ Le(js, [["__scopeId", "data-v-cb7c6db7"]]), Ws = /* @__PURE__ */ we({
89
89
  __name: "index",
90
90
  setup(r) {
91
91
  const e = fn(), t = M("");
@@ -97,7 +97,7 @@ const Rt = "/home", qe = "/application", Ls = [
97
97
  { immediate: !0 }
98
98
  ), (n, a) => t.value.startsWith("/iot/iot") ? (Y(), se(qs, { key: 0 })) : oe("v-if", !0);
99
99
  }
100
- }), Vs = /* @__PURE__ */ Ee({
100
+ }), Vs = /* @__PURE__ */ we({
101
101
  __name: "base-layout",
102
102
  props: {
103
103
  loading: { type: Boolean, default: !1 },
@@ -312,7 +312,7 @@ const ai = {
312
312
  oi({
313
313
  linear: Xs
314
314
  }, ai);
315
- const si = Ds.get("watermark"), ii = /* @__PURE__ */ Ee({
315
+ const si = Ds.get("watermark"), ii = /* @__PURE__ */ we({
316
316
  __name: "index",
317
317
  props: {
318
318
  platformInitNextTick: {}
@@ -338,26 +338,26 @@ const si = Ds.get("watermark"), ii = /* @__PURE__ */ Ee({
338
338
  const x = !!((m = t.value) != null && m.pageSwith);
339
339
  i.value = g && x ? [...s.value] : [];
340
340
  }, d = async () => {
341
- var f, v, C, b, E, A, k;
341
+ var f, v, C, w, A, B, E;
342
342
  o.value = !0, await (e == null ? void 0 : e.platformInitNextTick());
343
343
  const [g, x] = await si().run();
344
344
  if (g) return null;
345
345
  if (t.value = x, !!((f = t.value) != null && f.pageSwith)) {
346
346
  s.value = [];
347
- const { name: B, phone: y } = await Rs();
348
- let w = "";
349
- if ((v = t.value) != null && v.nameSwith && B && (s.value.push(B), w = w + `${B} `), (C = t.value) != null && C.phoneSwith && y) {
347
+ const { name: k, phone: y } = await Rs();
348
+ let b = "";
349
+ if ((v = t.value) != null && v.nameSwith && k && (s.value.push(k), b = b + `${k} `), (C = t.value) != null && C.phoneSwith && y) {
350
350
  const D = y.slice(-4);
351
- s.value.push(D), w = w + `${D} `;
351
+ s.value.push(D), b = b + `${D} `;
352
352
  }
353
- if ((b = t.value) != null && b.textSwith && ((E = t.value) != null && E.text)) {
353
+ if ((w = t.value) != null && w.textSwith && ((A = t.value) != null && A.text)) {
354
354
  s.value.push(t.value.text);
355
355
  const D = t.value.text.replaceAll(`
356
356
  `, "<br/>");
357
- w = w + `${D}`;
357
+ b = b + `${D}`;
358
358
  }
359
359
  s.value.length && (s.value = s.value.join(" ").split(`
360
- `)), l.color = (A = t.value) != null && A.textColor ? t.value.textColor : "rgba(0,0,0,.15)", l.fontSize = (k = t.value) != null && k.textSize ? parseInt(t.value.textSize) : 16, u(w, l.fontSize);
360
+ `)), l.color = (B = t.value) != null && B.textColor ? t.value.textColor : "rgba(0,0,0,.15)", l.fontSize = (E = t.value) != null && E.textSize ? parseInt(t.value.textSize) : 16, u(b, l.fontSize);
361
361
  }
362
362
  return o.value = !1, x;
363
363
  };
@@ -366,19 +366,19 @@ const si = Ds.get("watermark"), ii = /* @__PURE__ */ Ee({
366
366
  return ke(
367
367
  () => h.currentRoute.value,
368
368
  (g) => {
369
- var v, C, b;
369
+ var v, C, w;
370
370
  const x = !!((v = t.value) != null && v.pageSwith), m = ((C = g.meta) == null ? void 0 : C.showWatermark) ?? !0;
371
- let f = ((b = g.query) == null ? void 0 : b.showWatermark) ?? !0;
371
+ let f = ((w = g.query) == null ? void 0 : w.showWatermark) ?? !0;
372
372
  f === "false" && (f = !1), _(x && !!(m && f));
373
373
  },
374
374
  { immediate: !0 }
375
- ), we.addEventListenerFromMicroApp("systemconfig:watermark-change", async () => {
375
+ ), be.addEventListenerFromMicroApp("systemconfig:watermark-change", async () => {
376
376
  var m, f;
377
377
  await d();
378
378
  const g = !!((m = t.value) != null && m.pageSwith);
379
379
  let x = ((f = p.query) == null ? void 0 : f.showWatermark) ?? !0;
380
380
  x === "false" && (x = !1), _(!!(g && x));
381
- }), (g, x) => (Y(), se(F(Os), {
381
+ }), (g, x) => (Y(), se(F(zs), {
382
382
  class: "watermark",
383
383
  font: l,
384
384
  zIndex: 2147483647,
@@ -397,7 +397,7 @@ const si = Ds.get("watermark"), ii = /* @__PURE__ */ Ee({
397
397
  "--menu-tip-diaolg-content": "#212121",
398
398
  "--menu-tip-diaolg-divide": "#d9d9d9",
399
399
  "--menu-tip-diaolg-info": "#999999"
400
- }, ui = ["innerHTML"], di = { class: "footer" }, fi = /* @__PURE__ */ Ee({
400
+ }, ui = ["innerHTML"], di = { class: "footer" }, fi = /* @__PURE__ */ we({
401
401
  __name: "tip",
402
402
  props: {
403
403
  title: {},
@@ -426,7 +426,7 @@ const si = Ds.get("watermark"), ii = /* @__PURE__ */ Ee({
426
426
  onClick: t.closeCallback
427
427
  }, {
428
428
  default: X(() => [
429
- Oe(
429
+ ze(
430
430
  pe(F(ne)("我知道了")),
431
431
  1
432
432
  /* TEXT */
@@ -460,7 +460,7 @@ const si = Ds.get("watermark"), ii = /* @__PURE__ */ Ee({
460
460
  key: s,
461
461
  class: "desc-item"
462
462
  }, [
463
- Oe(
463
+ ze(
464
464
  pe(a),
465
465
  1
466
466
  /* TEXT */
@@ -483,7 +483,7 @@ const si = Ds.get("watermark"), ii = /* @__PURE__ */ Ee({
483
483
  }), pi = /* @__PURE__ */ Le(fi, [["__scopeId", "data-v-75a4552b"]]), Jt = ({ title: r = "", content: e = "", desc: t = [] }) => new Promise((n) => {
484
484
  const a = document.createElement("div");
485
485
  a.setAttribute("id", "entry-app-dialog"), document.body.appendChild(a);
486
- const i = ye(pi, { title: r, content: e, desc: t, closeCallback: () => {
486
+ const i = Ce(pi, { title: r, content: e, desc: t, closeCallback: () => {
487
487
  Tt(null, a), document.body.removeChild(a), n(null);
488
488
  } });
489
489
  Tt(i, a);
@@ -816,16 +816,16 @@ function re() {
816
816
  * wordArray1.concat(wordArray2);
817
817
  */
818
818
  concat: function(f) {
819
- var v = this.words, C = f.words, b = this.sigBytes, E = f.sigBytes;
820
- if (this.clamp(), b % 4)
821
- for (var A = 0; A < E; A++) {
822
- var k = C[A >>> 2] >>> 24 - A % 4 * 8 & 255;
823
- v[b + A >>> 2] |= k << 24 - (b + A) % 4 * 8;
819
+ var v = this.words, C = f.words, w = this.sigBytes, A = f.sigBytes;
820
+ if (this.clamp(), w % 4)
821
+ for (var B = 0; B < A; B++) {
822
+ var E = C[B >>> 2] >>> 24 - B % 4 * 8 & 255;
823
+ v[w + B >>> 2] |= E << 24 - (w + B) % 4 * 8;
824
824
  }
825
825
  else
826
- for (var B = 0; B < E; B += 4)
827
- v[b + B >>> 2] = C[B >>> 2];
828
- return this.sigBytes += E, this;
826
+ for (var k = 0; k < A; k += 4)
827
+ v[w + k >>> 2] = C[k >>> 2];
828
+ return this.sigBytes += A, this;
829
829
  },
830
830
  /**
831
831
  * Removes insignificant bits.
@@ -884,11 +884,11 @@ function re() {
884
884
  * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
885
885
  */
886
886
  stringify: function(f) {
887
- for (var v = f.words, C = f.sigBytes, b = [], E = 0; E < C; E++) {
888
- var A = v[E >>> 2] >>> 24 - E % 4 * 8 & 255;
889
- b.push((A >>> 4).toString(16)), b.push((A & 15).toString(16));
887
+ for (var v = f.words, C = f.sigBytes, w = [], A = 0; A < C; A++) {
888
+ var B = v[A >>> 2] >>> 24 - A % 4 * 8 & 255;
889
+ w.push((B >>> 4).toString(16)), w.push((B & 15).toString(16));
890
890
  }
891
- return b.join("");
891
+ return w.join("");
892
892
  },
893
893
  /**
894
894
  * Converts a hex string to a word array.
@@ -904,8 +904,8 @@ function re() {
904
904
  * var wordArray = CryptoJS.enc.Hex.parse(hexString);
905
905
  */
906
906
  parse: function(f) {
907
- for (var v = f.length, C = [], b = 0; b < v; b += 2)
908
- C[b >>> 3] |= parseInt(f.substr(b, 2), 16) << 24 - b % 8 * 4;
907
+ for (var v = f.length, C = [], w = 0; w < v; w += 2)
908
+ C[w >>> 3] |= parseInt(f.substr(w, 2), 16) << 24 - w % 8 * 4;
909
909
  return new _.init(C, v / 2);
910
910
  }
911
911
  }, p = d.Latin1 = {
@@ -923,11 +923,11 @@ function re() {
923
923
  * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
924
924
  */
925
925
  stringify: function(f) {
926
- for (var v = f.words, C = f.sigBytes, b = [], E = 0; E < C; E++) {
927
- var A = v[E >>> 2] >>> 24 - E % 4 * 8 & 255;
928
- b.push(String.fromCharCode(A));
926
+ for (var v = f.words, C = f.sigBytes, w = [], A = 0; A < C; A++) {
927
+ var B = v[A >>> 2] >>> 24 - A % 4 * 8 & 255;
928
+ w.push(String.fromCharCode(B));
929
929
  }
930
- return b.join("");
930
+ return w.join("");
931
931
  },
932
932
  /**
933
933
  * Converts a Latin1 string to a word array.
@@ -943,8 +943,8 @@ function re() {
943
943
  * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
944
944
  */
945
945
  parse: function(f) {
946
- for (var v = f.length, C = [], b = 0; b < v; b++)
947
- C[b >>> 2] |= (f.charCodeAt(b) & 255) << 24 - b % 4 * 8;
946
+ for (var v = f.length, C = [], w = 0; w < v; w++)
947
+ C[w >>> 2] |= (f.charCodeAt(w) & 255) << 24 - w % 4 * 8;
948
948
  return new _.init(C, v);
949
949
  }
950
950
  }, g = d.Utf8 = {
@@ -1023,15 +1023,15 @@ function re() {
1023
1023
  * var processedData = bufferedBlockAlgorithm._process(!!'flush');
1024
1024
  */
1025
1025
  _process: function(f) {
1026
- var v, C = this._data, b = C.words, E = C.sigBytes, A = this.blockSize, k = A * 4, B = E / k;
1027
- f ? B = n.ceil(B) : B = n.max((B | 0) - this._minBufferSize, 0);
1028
- var y = B * A, w = n.min(y * 4, E);
1026
+ var v, C = this._data, w = C.words, A = C.sigBytes, B = this.blockSize, E = B * 4, k = A / E;
1027
+ f ? k = n.ceil(k) : k = n.max((k | 0) - this._minBufferSize, 0);
1028
+ var y = k * B, b = n.min(y * 4, A);
1029
1029
  if (y) {
1030
- for (var D = 0; D < y; D += A)
1031
- this._doProcessBlock(b, D);
1032
- v = b.splice(0, y), C.sigBytes -= w;
1030
+ for (var D = 0; D < y; D += B)
1031
+ this._doProcessBlock(w, D);
1032
+ v = w.splice(0, y), C.sigBytes -= b;
1033
1033
  }
1034
- return new _.init(v, w);
1034
+ return new _.init(v, b);
1035
1035
  },
1036
1036
  /**
1037
1037
  * Creates a copy of this object.
@@ -1683,40 +1683,40 @@ function dt() {
1683
1683
  var f = x + m, v = g[f];
1684
1684
  g[f] = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360;
1685
1685
  }
1686
- var C = this._hash.words, b = g[x + 0], E = g[x + 1], A = g[x + 2], k = g[x + 3], B = g[x + 4], y = g[x + 5], w = g[x + 6], D = g[x + 7], S = g[x + 8], L = g[x + 9], H = g[x + 10], W = g[x + 11], q = g[x + 12], U = g[x + 13], j = g[x + 14], G = g[x + 15], T = C[0], R = C[1], O = C[2], $ = C[3];
1687
- T = _(T, R, O, $, b, 7, o[0]), $ = _($, T, R, O, E, 12, o[1]), O = _(O, $, T, R, A, 17, o[2]), R = _(R, O, $, T, k, 22, o[3]), T = _(T, R, O, $, B, 7, o[4]), $ = _($, T, R, O, y, 12, o[5]), O = _(O, $, T, R, w, 17, o[6]), R = _(R, O, $, T, D, 22, o[7]), T = _(T, R, O, $, S, 7, o[8]), $ = _($, T, R, O, L, 12, o[9]), O = _(O, $, T, R, H, 17, o[10]), R = _(R, O, $, T, W, 22, o[11]), T = _(T, R, O, $, q, 7, o[12]), $ = _($, T, R, O, U, 12, o[13]), O = _(O, $, T, R, j, 17, o[14]), R = _(R, O, $, T, G, 22, o[15]), T = d(T, R, O, $, E, 5, o[16]), $ = d($, T, R, O, w, 9, o[17]), O = d(O, $, T, R, W, 14, o[18]), R = d(R, O, $, T, b, 20, o[19]), T = d(T, R, O, $, y, 5, o[20]), $ = d($, T, R, O, H, 9, o[21]), O = d(O, $, T, R, G, 14, o[22]), R = d(R, O, $, T, B, 20, o[23]), T = d(T, R, O, $, L, 5, o[24]), $ = d($, T, R, O, j, 9, o[25]), O = d(O, $, T, R, k, 14, o[26]), R = d(R, O, $, T, S, 20, o[27]), T = d(T, R, O, $, U, 5, o[28]), $ = d($, T, R, O, A, 9, o[29]), O = d(O, $, T, R, D, 14, o[30]), R = d(R, O, $, T, q, 20, o[31]), T = h(T, R, O, $, y, 4, o[32]), $ = h($, T, R, O, S, 11, o[33]), O = h(O, $, T, R, W, 16, o[34]), R = h(R, O, $, T, j, 23, o[35]), T = h(T, R, O, $, E, 4, o[36]), $ = h($, T, R, O, B, 11, o[37]), O = h(O, $, T, R, D, 16, o[38]), R = h(R, O, $, T, H, 23, o[39]), T = h(T, R, O, $, U, 4, o[40]), $ = h($, T, R, O, b, 11, o[41]), O = h(O, $, T, R, k, 16, o[42]), R = h(R, O, $, T, w, 23, o[43]), T = h(T, R, O, $, L, 4, o[44]), $ = h($, T, R, O, q, 11, o[45]), O = h(O, $, T, R, G, 16, o[46]), R = h(R, O, $, T, A, 23, o[47]), T = p(T, R, O, $, b, 6, o[48]), $ = p($, T, R, O, D, 10, o[49]), O = p(O, $, T, R, j, 15, o[50]), R = p(R, O, $, T, y, 21, o[51]), T = p(T, R, O, $, q, 6, o[52]), $ = p($, T, R, O, k, 10, o[53]), O = p(O, $, T, R, H, 15, o[54]), R = p(R, O, $, T, E, 21, o[55]), T = p(T, R, O, $, S, 6, o[56]), $ = p($, T, R, O, G, 10, o[57]), O = p(O, $, T, R, w, 15, o[58]), R = p(R, O, $, T, U, 21, o[59]), T = p(T, R, O, $, B, 6, o[60]), $ = p($, T, R, O, W, 10, o[61]), O = p(O, $, T, R, A, 15, o[62]), R = p(R, O, $, T, L, 21, o[63]), C[0] = C[0] + T | 0, C[1] = C[1] + R | 0, C[2] = C[2] + O | 0, C[3] = C[3] + $ | 0;
1686
+ var C = this._hash.words, w = g[x + 0], A = g[x + 1], B = g[x + 2], E = g[x + 3], k = g[x + 4], y = g[x + 5], b = g[x + 6], D = g[x + 7], S = g[x + 8], L = g[x + 9], H = g[x + 10], W = g[x + 11], q = g[x + 12], U = g[x + 13], j = g[x + 14], G = g[x + 15], T = C[0], P = C[1], z = C[2], $ = C[3];
1687
+ T = _(T, P, z, $, w, 7, o[0]), $ = _($, T, P, z, A, 12, o[1]), z = _(z, $, T, P, B, 17, o[2]), P = _(P, z, $, T, E, 22, o[3]), T = _(T, P, z, $, k, 7, o[4]), $ = _($, T, P, z, y, 12, o[5]), z = _(z, $, T, P, b, 17, o[6]), P = _(P, z, $, T, D, 22, o[7]), T = _(T, P, z, $, S, 7, o[8]), $ = _($, T, P, z, L, 12, o[9]), z = _(z, $, T, P, H, 17, o[10]), P = _(P, z, $, T, W, 22, o[11]), T = _(T, P, z, $, q, 7, o[12]), $ = _($, T, P, z, U, 12, o[13]), z = _(z, $, T, P, j, 17, o[14]), P = _(P, z, $, T, G, 22, o[15]), T = d(T, P, z, $, A, 5, o[16]), $ = d($, T, P, z, b, 9, o[17]), z = d(z, $, T, P, W, 14, o[18]), P = d(P, z, $, T, w, 20, o[19]), T = d(T, P, z, $, y, 5, o[20]), $ = d($, T, P, z, H, 9, o[21]), z = d(z, $, T, P, G, 14, o[22]), P = d(P, z, $, T, k, 20, o[23]), T = d(T, P, z, $, L, 5, o[24]), $ = d($, T, P, z, j, 9, o[25]), z = d(z, $, T, P, E, 14, o[26]), P = d(P, z, $, T, S, 20, o[27]), T = d(T, P, z, $, U, 5, o[28]), $ = d($, T, P, z, B, 9, o[29]), z = d(z, $, T, P, D, 14, o[30]), P = d(P, z, $, T, q, 20, o[31]), T = h(T, P, z, $, y, 4, o[32]), $ = h($, T, P, z, S, 11, o[33]), z = h(z, $, T, P, W, 16, o[34]), P = h(P, z, $, T, j, 23, o[35]), T = h(T, P, z, $, A, 4, o[36]), $ = h($, T, P, z, k, 11, o[37]), z = h(z, $, T, P, D, 16, o[38]), P = h(P, z, $, T, H, 23, o[39]), T = h(T, P, z, $, U, 4, o[40]), $ = h($, T, P, z, w, 11, o[41]), z = h(z, $, T, P, E, 16, o[42]), P = h(P, z, $, T, b, 23, o[43]), T = h(T, P, z, $, L, 4, o[44]), $ = h($, T, P, z, q, 11, o[45]), z = h(z, $, T, P, G, 16, o[46]), P = h(P, z, $, T, B, 23, o[47]), T = p(T, P, z, $, w, 6, o[48]), $ = p($, T, P, z, D, 10, o[49]), z = p(z, $, T, P, j, 15, o[50]), P = p(P, z, $, T, y, 21, o[51]), T = p(T, P, z, $, q, 6, o[52]), $ = p($, T, P, z, E, 10, o[53]), z = p(z, $, T, P, H, 15, o[54]), P = p(P, z, $, T, A, 21, o[55]), T = p(T, P, z, $, S, 6, o[56]), $ = p($, T, P, z, G, 10, o[57]), z = p(z, $, T, P, b, 15, o[58]), P = p(P, z, $, T, U, 21, o[59]), T = p(T, P, z, $, k, 6, o[60]), $ = p($, T, P, z, W, 10, o[61]), z = p(z, $, T, P, B, 15, o[62]), P = p(P, z, $, T, L, 21, o[63]), C[0] = C[0] + T | 0, C[1] = C[1] + P | 0, C[2] = C[2] + z | 0, C[3] = C[3] + $ | 0;
1688
1688
  },
1689
1689
  _doFinalize: function() {
1690
1690
  var g = this._data, x = g.words, m = this._nDataBytes * 8, f = g.sigBytes * 8;
1691
1691
  x[f >>> 5] |= 128 << 24 - f % 32;
1692
1692
  var v = n.floor(m / 4294967296), C = m;
1693
1693
  x[(f + 64 >>> 9 << 4) + 15] = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, x[(f + 64 >>> 9 << 4) + 14] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, g.sigBytes = (x.length + 1) * 4, this._process();
1694
- for (var b = this._hash, E = b.words, A = 0; A < 4; A++) {
1695
- var k = E[A];
1696
- E[A] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
1694
+ for (var w = this._hash, A = w.words, B = 0; B < 4; B++) {
1695
+ var E = A[B];
1696
+ A[B] = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360;
1697
1697
  }
1698
- return b;
1698
+ return w;
1699
1699
  },
1700
1700
  clone: function() {
1701
1701
  var g = l.clone.call(this);
1702
1702
  return g._hash = this._hash.clone(), g;
1703
1703
  }
1704
1704
  });
1705
- function _(g, x, m, f, v, C, b) {
1706
- var E = g + (x & m | ~x & f) + v + b;
1707
- return (E << C | E >>> 32 - C) + x;
1705
+ function _(g, x, m, f, v, C, w) {
1706
+ var A = g + (x & m | ~x & f) + v + w;
1707
+ return (A << C | A >>> 32 - C) + x;
1708
1708
  }
1709
- function d(g, x, m, f, v, C, b) {
1710
- var E = g + (x & f | m & ~f) + v + b;
1711
- return (E << C | E >>> 32 - C) + x;
1709
+ function d(g, x, m, f, v, C, w) {
1710
+ var A = g + (x & f | m & ~f) + v + w;
1711
+ return (A << C | A >>> 32 - C) + x;
1712
1712
  }
1713
- function h(g, x, m, f, v, C, b) {
1714
- var E = g + (x ^ m ^ f) + v + b;
1715
- return (E << C | E >>> 32 - C) + x;
1713
+ function h(g, x, m, f, v, C, w) {
1714
+ var A = g + (x ^ m ^ f) + v + w;
1715
+ return (A << C | A >>> 32 - C) + x;
1716
1716
  }
1717
- function p(g, x, m, f, v, C, b) {
1718
- var E = g + (m ^ (x | ~f)) + v + b;
1719
- return (E << C | E >>> 32 - C) + x;
1717
+ function p(g, x, m, f, v, C, w) {
1718
+ var A = g + (m ^ (x | ~f)) + v + w;
1719
+ return (A << C | A >>> 32 - C) + x;
1720
1720
  }
1721
1721
  a.MD5 = l._createHelper(c), a.HmacMD5 = l._createHmacHelper(c);
1722
1722
  }(Math), t.MD5;
@@ -1793,17 +1793,17 @@ function bn() {
1793
1793
  this._hash = new i.init(o.slice(0));
1794
1794
  },
1795
1795
  _doProcessBlock: function(h, p) {
1796
- for (var g = this._hash.words, x = g[0], m = g[1], f = g[2], v = g[3], C = g[4], b = g[5], E = g[6], A = g[7], k = 0; k < 64; k++) {
1797
- if (k < 16)
1798
- _[k] = h[p + k] | 0;
1796
+ for (var g = this._hash.words, x = g[0], m = g[1], f = g[2], v = g[3], C = g[4], w = g[5], A = g[6], B = g[7], E = 0; E < 64; E++) {
1797
+ if (E < 16)
1798
+ _[E] = h[p + E] | 0;
1799
1799
  else {
1800
- var B = _[k - 15], y = (B << 25 | B >>> 7) ^ (B << 14 | B >>> 18) ^ B >>> 3, w = _[k - 2], D = (w << 15 | w >>> 17) ^ (w << 13 | w >>> 19) ^ w >>> 10;
1801
- _[k] = y + _[k - 7] + D + _[k - 16];
1800
+ var k = _[E - 15], y = (k << 25 | k >>> 7) ^ (k << 14 | k >>> 18) ^ k >>> 3, b = _[E - 2], D = (b << 15 | b >>> 17) ^ (b << 13 | b >>> 19) ^ b >>> 10;
1801
+ _[E] = y + _[E - 7] + D + _[E - 16];
1802
1802
  }
1803
- var S = C & b ^ ~C & E, L = x & m ^ x & f ^ m & f, H = (x << 30 | x >>> 2) ^ (x << 19 | x >>> 13) ^ (x << 10 | x >>> 22), W = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), q = A + W + S + c[k] + _[k], U = H + L;
1804
- A = E, E = b, b = C, C = v + q | 0, v = f, f = m, m = x, x = q + U | 0;
1803
+ var S = C & w ^ ~C & A, L = x & m ^ x & f ^ m & f, H = (x << 30 | x >>> 2) ^ (x << 19 | x >>> 13) ^ (x << 10 | x >>> 22), W = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), q = B + W + S + c[E] + _[E], U = H + L;
1804
+ B = A, A = w, w = C, C = v + q | 0, v = f, f = m, m = x, x = q + U | 0;
1805
1805
  }
1806
- g[0] = g[0] + x | 0, g[1] = g[1] + m | 0, g[2] = g[2] + f | 0, g[3] = g[3] + v | 0, g[4] = g[4] + C | 0, g[5] = g[5] + b | 0, g[6] = g[6] + E | 0, g[7] = g[7] + A | 0;
1806
+ g[0] = g[0] + x | 0, g[1] = g[1] + m | 0, g[2] = g[2] + f | 0, g[3] = g[3] + v | 0, g[4] = g[4] + C | 0, g[5] = g[5] + w | 0, g[6] = g[6] + A | 0, g[7] = g[7] + B | 0;
1807
1807
  },
1808
1808
  _doFinalize: function() {
1809
1809
  var h = this._data, p = h.words, g = this._nDataBytes * 8, x = h.sigBytes * 8;
@@ -1820,7 +1820,7 @@ function bn() {
1820
1820
  }(br)), br.exports;
1821
1821
  }
1822
1822
  var wr = { exports: {} }, mo;
1823
- function Oi() {
1823
+ function zi() {
1824
1824
  return mo || (mo = 1, function(r, e) {
1825
1825
  (function(t, n, a) {
1826
1826
  r.exports = n(re(), bn());
@@ -1960,18 +1960,18 @@ function Va() {
1960
1960
  ]);
1961
1961
  },
1962
1962
  _doProcessBlock: function(p, g) {
1963
- for (var x = this._hash.words, m = x[0], f = x[1], v = x[2], C = x[3], b = x[4], E = x[5], A = x[6], k = x[7], B = m.high, y = m.low, w = f.high, D = f.low, S = v.high, L = v.low, H = C.high, W = C.low, q = b.high, U = b.low, j = E.high, G = E.low, T = A.high, R = A.low, O = k.high, $ = k.low, ie = B, ae = y, _e = w, ee = D, tt = S, Ve = L, rt = H, N = W, P = q, z = U, Ce = j, Me = G, Wt = T, kt = R, pr = O, Dt = $, $e = 0; $e < 80; $e++) {
1963
+ for (var x = this._hash.words, m = x[0], f = x[1], v = x[2], C = x[3], w = x[4], A = x[5], B = x[6], E = x[7], k = m.high, y = m.low, b = f.high, D = f.low, S = v.high, L = v.low, H = C.high, W = C.low, q = w.high, U = w.low, j = A.high, G = A.low, T = B.high, P = B.low, z = E.high, $ = E.low, ie = k, ae = y, _e = b, ee = D, tt = S, Ve = L, rt = H, N = W, R = q, O = U, Ee = j, Me = G, Wt = T, kt = P, pr = z, Dt = $, $e = 0; $e < 80; $e++) {
1964
1964
  var Pe, Ke, Vt = d[$e];
1965
1965
  if ($e < 16)
1966
1966
  Ke = Vt.high = p[g + $e * 2] | 0, Pe = Vt.low = p[g + $e * 2 + 1] | 0;
1967
1967
  else {
1968
- var zn = d[$e - 15], ht = zn.high, St = zn.low, O0 = (ht >>> 1 | St << 31) ^ (ht >>> 8 | St << 24) ^ ht >>> 7, Mn = (St >>> 1 | ht << 31) ^ (St >>> 8 | ht << 24) ^ (St >>> 7 | ht << 25), Nn = d[$e - 2], xt = Nn.high, Ft = Nn.low, z0 = (xt >>> 19 | Ft << 13) ^ (xt << 3 | Ft >>> 29) ^ xt >>> 6, Ln = (Ft >>> 19 | xt << 13) ^ (Ft << 3 | xt >>> 29) ^ (Ft >>> 6 | xt << 26), Hn = d[$e - 7], M0 = Hn.high, N0 = Hn.low, Un = d[$e - 16], L0 = Un.high, jn = Un.low;
1969
- Pe = Mn + N0, Ke = O0 + M0 + (Pe >>> 0 < Mn >>> 0 ? 1 : 0), Pe = Pe + Ln, Ke = Ke + z0 + (Pe >>> 0 < Ln >>> 0 ? 1 : 0), Pe = Pe + jn, Ke = Ke + L0 + (Pe >>> 0 < jn >>> 0 ? 1 : 0), Vt.high = Ke, Vt.low = Pe;
1968
+ var On = d[$e - 15], ht = On.high, St = On.low, z0 = (ht >>> 1 | St << 31) ^ (ht >>> 8 | St << 24) ^ ht >>> 7, Mn = (St >>> 1 | ht << 31) ^ (St >>> 8 | ht << 24) ^ (St >>> 7 | ht << 25), Nn = d[$e - 2], xt = Nn.high, Ft = Nn.low, O0 = (xt >>> 19 | Ft << 13) ^ (xt << 3 | Ft >>> 29) ^ xt >>> 6, Ln = (Ft >>> 19 | xt << 13) ^ (Ft << 3 | xt >>> 29) ^ (Ft >>> 6 | xt << 26), Hn = d[$e - 7], M0 = Hn.high, N0 = Hn.low, Un = d[$e - 16], L0 = Un.high, jn = Un.low;
1969
+ Pe = Mn + N0, Ke = z0 + M0 + (Pe >>> 0 < Mn >>> 0 ? 1 : 0), Pe = Pe + Ln, Ke = Ke + O0 + (Pe >>> 0 < Ln >>> 0 ? 1 : 0), Pe = Pe + jn, Ke = Ke + L0 + (Pe >>> 0 < jn >>> 0 ? 1 : 0), Vt.high = Ke, Vt.low = Pe;
1970
1970
  }
1971
- var H0 = P & Ce ^ ~P & Wt, qn = z & Me ^ ~z & kt, U0 = ie & _e ^ ie & tt ^ _e & tt, j0 = ae & ee ^ ae & Ve ^ ee & Ve, q0 = (ie >>> 28 | ae << 4) ^ (ie << 30 | ae >>> 2) ^ (ie << 25 | ae >>> 7), Wn = (ae >>> 28 | ie << 4) ^ (ae << 30 | ie >>> 2) ^ (ae << 25 | ie >>> 7), W0 = (P >>> 14 | z << 18) ^ (P >>> 18 | z << 14) ^ (P << 23 | z >>> 9), V0 = (z >>> 14 | P << 18) ^ (z >>> 18 | P << 14) ^ (z << 23 | P >>> 9), Vn = _[$e], K0 = Vn.high, Kn = Vn.low, Fe = Dt + V0, Ge = pr + W0 + (Fe >>> 0 < Dt >>> 0 ? 1 : 0), Fe = Fe + qn, Ge = Ge + H0 + (Fe >>> 0 < qn >>> 0 ? 1 : 0), Fe = Fe + Kn, Ge = Ge + K0 + (Fe >>> 0 < Kn >>> 0 ? 1 : 0), Fe = Fe + Pe, Ge = Ge + Ke + (Fe >>> 0 < Pe >>> 0 ? 1 : 0), Gn = Wn + j0, G0 = q0 + U0 + (Gn >>> 0 < Wn >>> 0 ? 1 : 0);
1972
- pr = Wt, Dt = kt, Wt = Ce, kt = Me, Ce = P, Me = z, z = N + Fe | 0, P = rt + Ge + (z >>> 0 < N >>> 0 ? 1 : 0) | 0, rt = tt, N = Ve, tt = _e, Ve = ee, _e = ie, ee = ae, ae = Fe + Gn | 0, ie = Ge + G0 + (ae >>> 0 < Fe >>> 0 ? 1 : 0) | 0;
1971
+ var H0 = R & Ee ^ ~R & Wt, qn = O & Me ^ ~O & kt, U0 = ie & _e ^ ie & tt ^ _e & tt, j0 = ae & ee ^ ae & Ve ^ ee & Ve, q0 = (ie >>> 28 | ae << 4) ^ (ie << 30 | ae >>> 2) ^ (ie << 25 | ae >>> 7), Wn = (ae >>> 28 | ie << 4) ^ (ae << 30 | ie >>> 2) ^ (ae << 25 | ie >>> 7), W0 = (R >>> 14 | O << 18) ^ (R >>> 18 | O << 14) ^ (R << 23 | O >>> 9), V0 = (O >>> 14 | R << 18) ^ (O >>> 18 | R << 14) ^ (O << 23 | R >>> 9), Vn = _[$e], K0 = Vn.high, Kn = Vn.low, Fe = Dt + V0, Ge = pr + W0 + (Fe >>> 0 < Dt >>> 0 ? 1 : 0), Fe = Fe + qn, Ge = Ge + H0 + (Fe >>> 0 < qn >>> 0 ? 1 : 0), Fe = Fe + Kn, Ge = Ge + K0 + (Fe >>> 0 < Kn >>> 0 ? 1 : 0), Fe = Fe + Pe, Ge = Ge + Ke + (Fe >>> 0 < Pe >>> 0 ? 1 : 0), Gn = Wn + j0, G0 = q0 + U0 + (Gn >>> 0 < Wn >>> 0 ? 1 : 0);
1972
+ pr = Wt, Dt = kt, Wt = Ee, kt = Me, Ee = R, Me = O, O = N + Fe | 0, R = rt + Ge + (O >>> 0 < N >>> 0 ? 1 : 0) | 0, rt = tt, N = Ve, tt = _e, Ve = ee, _e = ie, ee = ae, ae = Fe + Gn | 0, ie = Ge + G0 + (ae >>> 0 < Fe >>> 0 ? 1 : 0) | 0;
1973
1973
  }
1974
- y = m.low = y + ae, m.high = B + ie + (y >>> 0 < ae >>> 0 ? 1 : 0), D = f.low = D + ee, f.high = w + _e + (D >>> 0 < ee >>> 0 ? 1 : 0), L = v.low = L + Ve, v.high = S + tt + (L >>> 0 < Ve >>> 0 ? 1 : 0), W = C.low = W + N, C.high = H + rt + (W >>> 0 < N >>> 0 ? 1 : 0), U = b.low = U + z, b.high = q + P + (U >>> 0 < z >>> 0 ? 1 : 0), G = E.low = G + Me, E.high = j + Ce + (G >>> 0 < Me >>> 0 ? 1 : 0), R = A.low = R + kt, A.high = T + Wt + (R >>> 0 < kt >>> 0 ? 1 : 0), $ = k.low = $ + Dt, k.high = O + pr + ($ >>> 0 < Dt >>> 0 ? 1 : 0);
1974
+ y = m.low = y + ae, m.high = k + ie + (y >>> 0 < ae >>> 0 ? 1 : 0), D = f.low = D + ee, f.high = b + _e + (D >>> 0 < ee >>> 0 ? 1 : 0), L = v.low = L + Ve, v.high = S + tt + (L >>> 0 < Ve >>> 0 ? 1 : 0), W = C.low = W + N, C.high = H + rt + (W >>> 0 < N >>> 0 ? 1 : 0), U = w.low = U + O, w.high = q + R + (U >>> 0 < O >>> 0 ? 1 : 0), G = A.low = G + Me, A.high = j + Ee + (G >>> 0 < Me >>> 0 ? 1 : 0), P = B.low = P + kt, B.high = T + Wt + (P >>> 0 < kt >>> 0 ? 1 : 0), $ = E.low = $ + Dt, E.high = z + pr + ($ >>> 0 < Dt >>> 0 ? 1 : 0);
1975
1975
  },
1976
1976
  _doFinalize: function() {
1977
1977
  var p = this._data, g = p.words, x = this._nDataBytes * 8, m = p.sigBytes * 8;
@@ -1991,7 +1991,7 @@ function Va() {
1991
1991
  }(Er)), Er.exports;
1992
1992
  }
1993
1993
  var Ar = { exports: {} }, Co;
1994
- function zi() {
1994
+ function Oi() {
1995
1995
  return Co || (Co = 1, function(r, e) {
1996
1996
  (function(t, n, a) {
1997
1997
  r.exports = n(re(), ar(), Va());
@@ -2037,15 +2037,15 @@ function Mi() {
2037
2037
  for (var x = 0; x < 5; x++)
2038
2038
  for (var m = 0; m < 5; m++)
2039
2039
  d[x + 5 * m] = m + (2 * x + 3 * m) % 5 * 5;
2040
- for (var b = 1, E = 0; E < 24; E++) {
2041
- for (var A = 0, k = 0, B = 0; B < 7; B++) {
2042
- if (b & 1) {
2043
- var y = (1 << B) - 1;
2044
- y < 32 ? k ^= 1 << y : A ^= 1 << y - 32;
2040
+ for (var w = 1, A = 0; A < 24; A++) {
2041
+ for (var B = 0, E = 0, k = 0; k < 7; k++) {
2042
+ if (w & 1) {
2043
+ var y = (1 << k) - 1;
2044
+ y < 32 ? E ^= 1 << y : B ^= 1 << y - 32;
2045
2045
  }
2046
- b & 128 ? b = b << 1 ^ 113 : b <<= 1;
2046
+ w & 128 ? w = w << 1 ^ 113 : w <<= 1;
2047
2047
  }
2048
- h[E] = o.create(A, k);
2048
+ h[A] = o.create(B, E);
2049
2049
  }
2050
2050
  })();
2051
2051
  var p = [];
@@ -2072,40 +2072,40 @@ function Mi() {
2072
2072
  },
2073
2073
  _doProcessBlock: function(x, m) {
2074
2074
  for (var f = this._state, v = this.blockSize / 2, C = 0; C < v; C++) {
2075
- var b = x[m + 2 * C], E = x[m + 2 * C + 1];
2076
- b = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, E = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360;
2077
- var A = f[C];
2078
- A.high ^= E, A.low ^= b;
2075
+ var w = x[m + 2 * C], A = x[m + 2 * C + 1];
2076
+ w = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360, A = (A << 8 | A >>> 24) & 16711935 | (A << 24 | A >>> 8) & 4278255360;
2077
+ var B = f[C];
2078
+ B.high ^= A, B.low ^= w;
2079
2079
  }
2080
- for (var k = 0; k < 24; k++) {
2081
- for (var B = 0; B < 5; B++) {
2082
- for (var y = 0, w = 0, D = 0; D < 5; D++) {
2083
- var A = f[B + 5 * D];
2084
- y ^= A.high, w ^= A.low;
2080
+ for (var E = 0; E < 24; E++) {
2081
+ for (var k = 0; k < 5; k++) {
2082
+ for (var y = 0, b = 0, D = 0; D < 5; D++) {
2083
+ var B = f[k + 5 * D];
2084
+ y ^= B.high, b ^= B.low;
2085
2085
  }
2086
- var S = p[B];
2087
- S.high = y, S.low = w;
2086
+ var S = p[k];
2087
+ S.high = y, S.low = b;
2088
2088
  }
2089
- for (var B = 0; B < 5; B++)
2090
- for (var L = p[(B + 4) % 5], H = p[(B + 1) % 5], W = H.high, q = H.low, y = L.high ^ (W << 1 | q >>> 31), w = L.low ^ (q << 1 | W >>> 31), D = 0; D < 5; D++) {
2091
- var A = f[B + 5 * D];
2092
- A.high ^= y, A.low ^= w;
2089
+ for (var k = 0; k < 5; k++)
2090
+ for (var L = p[(k + 4) % 5], H = p[(k + 1) % 5], W = H.high, q = H.low, y = L.high ^ (W << 1 | q >>> 31), b = L.low ^ (q << 1 | W >>> 31), D = 0; D < 5; D++) {
2091
+ var B = f[k + 5 * D];
2092
+ B.high ^= y, B.low ^= b;
2093
2093
  }
2094
2094
  for (var U = 1; U < 25; U++) {
2095
- var y, w, A = f[U], j = A.high, G = A.low, T = _[U];
2096
- T < 32 ? (y = j << T | G >>> 32 - T, w = G << T | j >>> 32 - T) : (y = G << T - 32 | j >>> 64 - T, w = j << T - 32 | G >>> 64 - T);
2097
- var R = p[d[U]];
2098
- R.high = y, R.low = w;
2095
+ var y, b, B = f[U], j = B.high, G = B.low, T = _[U];
2096
+ T < 32 ? (y = j << T | G >>> 32 - T, b = G << T | j >>> 32 - T) : (y = G << T - 32 | j >>> 64 - T, b = j << T - 32 | G >>> 64 - T);
2097
+ var P = p[d[U]];
2098
+ P.high = y, P.low = b;
2099
2099
  }
2100
- var O = p[0], $ = f[0];
2101
- O.high = $.high, O.low = $.low;
2102
- for (var B = 0; B < 5; B++)
2100
+ var z = p[0], $ = f[0];
2101
+ z.high = $.high, z.low = $.low;
2102
+ for (var k = 0; k < 5; k++)
2103
2103
  for (var D = 0; D < 5; D++) {
2104
- var U = B + 5 * D, A = f[U], ie = p[U], ae = p[(B + 1) % 5 + 5 * D], _e = p[(B + 2) % 5 + 5 * D];
2105
- A.high = ie.high ^ ~ae.high & _e.high, A.low = ie.low ^ ~ae.low & _e.low;
2104
+ var U = k + 5 * D, B = f[U], ie = p[U], ae = p[(k + 1) % 5 + 5 * D], _e = p[(k + 2) % 5 + 5 * D];
2105
+ B.high = ie.high ^ ~ae.high & _e.high, B.low = ie.low ^ ~ae.low & _e.low;
2106
2106
  }
2107
- var A = f[0], ee = h[k];
2108
- A.high ^= ee.high, A.low ^= ee.low;
2107
+ var B = f[0], ee = h[E];
2108
+ B.high ^= ee.high, B.low ^= ee.low;
2109
2109
  }
2110
2110
  },
2111
2111
  _doFinalize: function() {
@@ -2113,11 +2113,11 @@ function Mi() {
2113
2113
  this._nDataBytes * 8;
2114
2114
  var f = x.sigBytes * 8, v = this.blockSize * 32;
2115
2115
  m[f >>> 5] |= 1 << 24 - f % 32, m[(n.ceil((f + 1) / v) * v >>> 5) - 1] |= 128, x.sigBytes = m.length * 4, this._process();
2116
- for (var C = this._state, b = this.cfg.outputLength / 8, E = b / 8, A = [], k = 0; k < E; k++) {
2117
- var B = C[k], y = B.high, w = B.low;
2118
- y = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, w = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360, A.push(w), A.push(y);
2116
+ for (var C = this._state, w = this.cfg.outputLength / 8, A = w / 8, B = [], E = 0; E < A; E++) {
2117
+ var k = C[E], y = k.high, b = k.low;
2118
+ y = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, b = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, B.push(b), B.push(y);
2119
2119
  }
2120
- return new i.init(A, b);
2120
+ return new i.init(B, w);
2121
2121
  },
2122
2122
  clone: function() {
2123
2123
  for (var x = l.clone.call(this), m = x._state = this._state.slice(0), f = 0; f < 25; f++)
@@ -2475,48 +2475,48 @@ function Ni() {
2475
2475
  _doReset: function() {
2476
2476
  this._hash = i.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
2477
2477
  },
2478
- _doProcessBlock: function(E, A) {
2479
- for (var k = 0; k < 16; k++) {
2480
- var B = A + k, y = E[B];
2481
- E[B] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360;
2478
+ _doProcessBlock: function(A, B) {
2479
+ for (var E = 0; E < 16; E++) {
2480
+ var k = B + E, y = A[k];
2481
+ A[k] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360;
2482
2482
  }
2483
- var w = this._hash.words, D = h.words, S = p.words, L = o.words, H = c.words, W = _.words, q = d.words, U, j, G, T, R, O, $, ie, ae, _e;
2484
- O = U = w[0], $ = j = w[1], ie = G = w[2], ae = T = w[3], _e = R = w[4];
2485
- for (var ee, k = 0; k < 80; k += 1)
2486
- ee = U + E[A + L[k]] | 0, k < 16 ? ee += x(j, G, T) + D[0] : k < 32 ? ee += m(j, G, T) + D[1] : k < 48 ? ee += f(j, G, T) + D[2] : k < 64 ? ee += v(j, G, T) + D[3] : ee += C(j, G, T) + D[4], ee = ee | 0, ee = b(ee, W[k]), ee = ee + R | 0, U = R, R = T, T = b(G, 10), G = j, j = ee, ee = O + E[A + H[k]] | 0, k < 16 ? ee += C($, ie, ae) + S[0] : k < 32 ? ee += v($, ie, ae) + S[1] : k < 48 ? ee += f($, ie, ae) + S[2] : k < 64 ? ee += m($, ie, ae) + S[3] : ee += x($, ie, ae) + S[4], ee = ee | 0, ee = b(ee, q[k]), ee = ee + _e | 0, O = _e, _e = ae, ae = b(ie, 10), ie = $, $ = ee;
2487
- ee = w[1] + G + ae | 0, w[1] = w[2] + T + _e | 0, w[2] = w[3] + R + O | 0, w[3] = w[4] + U + $ | 0, w[4] = w[0] + j + ie | 0, w[0] = ee;
2483
+ var b = this._hash.words, D = h.words, S = p.words, L = o.words, H = c.words, W = _.words, q = d.words, U, j, G, T, P, z, $, ie, ae, _e;
2484
+ z = U = b[0], $ = j = b[1], ie = G = b[2], ae = T = b[3], _e = P = b[4];
2485
+ for (var ee, E = 0; E < 80; E += 1)
2486
+ ee = U + A[B + L[E]] | 0, E < 16 ? ee += x(j, G, T) + D[0] : E < 32 ? ee += m(j, G, T) + D[1] : E < 48 ? ee += f(j, G, T) + D[2] : E < 64 ? ee += v(j, G, T) + D[3] : ee += C(j, G, T) + D[4], ee = ee | 0, ee = w(ee, W[E]), ee = ee + P | 0, U = P, P = T, T = w(G, 10), G = j, j = ee, ee = z + A[B + H[E]] | 0, E < 16 ? ee += C($, ie, ae) + S[0] : E < 32 ? ee += v($, ie, ae) + S[1] : E < 48 ? ee += f($, ie, ae) + S[2] : E < 64 ? ee += m($, ie, ae) + S[3] : ee += x($, ie, ae) + S[4], ee = ee | 0, ee = w(ee, q[E]), ee = ee + _e | 0, z = _e, _e = ae, ae = w(ie, 10), ie = $, $ = ee;
2487
+ ee = b[1] + G + ae | 0, b[1] = b[2] + T + _e | 0, b[2] = b[3] + P + z | 0, b[3] = b[4] + U + $ | 0, b[4] = b[0] + j + ie | 0, b[0] = ee;
2488
2488
  },
2489
2489
  _doFinalize: function() {
2490
- var E = this._data, A = E.words, k = this._nDataBytes * 8, B = E.sigBytes * 8;
2491
- A[B >>> 5] |= 128 << 24 - B % 32, A[(B + 64 >>> 9 << 4) + 14] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360, E.sigBytes = (A.length + 1) * 4, this._process();
2492
- for (var y = this._hash, w = y.words, D = 0; D < 5; D++) {
2493
- var S = w[D];
2494
- w[D] = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360;
2490
+ var A = this._data, B = A.words, E = this._nDataBytes * 8, k = A.sigBytes * 8;
2491
+ B[k >>> 5] |= 128 << 24 - k % 32, B[(k + 64 >>> 9 << 4) + 14] = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360, A.sigBytes = (B.length + 1) * 4, this._process();
2492
+ for (var y = this._hash, b = y.words, D = 0; D < 5; D++) {
2493
+ var S = b[D];
2494
+ b[D] = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360;
2495
2495
  }
2496
2496
  return y;
2497
2497
  },
2498
2498
  clone: function() {
2499
- var E = l.clone.call(this);
2500
- return E._hash = this._hash.clone(), E;
2499
+ var A = l.clone.call(this);
2500
+ return A._hash = this._hash.clone(), A;
2501
2501
  }
2502
2502
  });
2503
- function x(E, A, k) {
2504
- return E ^ A ^ k;
2503
+ function x(A, B, E) {
2504
+ return A ^ B ^ E;
2505
2505
  }
2506
- function m(E, A, k) {
2507
- return E & A | ~E & k;
2506
+ function m(A, B, E) {
2507
+ return A & B | ~A & E;
2508
2508
  }
2509
- function f(E, A, k) {
2510
- return (E | ~A) ^ k;
2509
+ function f(A, B, E) {
2510
+ return (A | ~B) ^ E;
2511
2511
  }
2512
- function v(E, A, k) {
2513
- return E & k | A & ~k;
2512
+ function v(A, B, E) {
2513
+ return A & E | B & ~E;
2514
2514
  }
2515
- function C(E, A, k) {
2516
- return E ^ (A | ~k);
2515
+ function C(A, B, E) {
2516
+ return A ^ (B | ~E);
2517
2517
  }
2518
- function b(E, A) {
2519
- return E << A | E >>> 32 - A;
2518
+ function w(A, B) {
2519
+ return A << B | A >>> 32 - B;
2520
2520
  }
2521
2521
  a.RIPEMD160 = l._createHelper(g), a.HmacRIPEMD160 = l._createHmacHelper(g);
2522
2522
  }(), t.RIPEMD160;
@@ -2649,14 +2649,14 @@ function Li() {
2649
2649
  */
2650
2650
  compute: function(_, d) {
2651
2651
  for (var h = this.cfg, p = o.create(h.hasher, _), g = i.create(), x = i.create([1]), m = g.words, f = x.words, v = h.keySize, C = h.iterations; m.length < v; ) {
2652
- var b = p.update(d).finalize(x);
2652
+ var w = p.update(d).finalize(x);
2653
2653
  p.reset();
2654
- for (var E = b.words, A = E.length, k = b, B = 1; B < C; B++) {
2655
- k = p.finalize(k), p.reset();
2656
- for (var y = k.words, w = 0; w < A; w++)
2657
- E[w] ^= y[w];
2654
+ for (var A = w.words, B = A.length, E = w, k = 1; k < C; k++) {
2655
+ E = p.finalize(E), p.reset();
2656
+ for (var y = E.words, b = 0; b < B; b++)
2657
+ A[b] ^= y[b];
2658
2658
  }
2659
- g.concat(b), f[0]++;
2659
+ g.concat(w), f[0]++;
2660
2660
  }
2661
2661
  return g.sigBytes = v * 4, g;
2662
2662
  }
@@ -2732,7 +2732,7 @@ function et() {
2732
2732
  }(Fr)), Fr.exports;
2733
2733
  }
2734
2734
  var Ir = { exports: {} }, Bo;
2735
- function me() {
2735
+ function ge() {
2736
2736
  return Bo || (Bo = 1, function(r, e) {
2737
2737
  (function(t, n, a) {
2738
2738
  r.exports = n(re(), et());
@@ -2761,8 +2761,8 @@ function me() {
2761
2761
  *
2762
2762
  * var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });
2763
2763
  */
2764
- createEncryptor: function(y, w) {
2765
- return this.create(this._ENC_XFORM_MODE, y, w);
2764
+ createEncryptor: function(y, b) {
2765
+ return this.create(this._ENC_XFORM_MODE, y, b);
2766
2766
  },
2767
2767
  /**
2768
2768
  * Creates this cipher in decryption mode.
@@ -2778,8 +2778,8 @@ function me() {
2778
2778
  *
2779
2779
  * var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });
2780
2780
  */
2781
- createDecryptor: function(y, w) {
2782
- return this.create(this._DEC_XFORM_MODE, y, w);
2781
+ createDecryptor: function(y, b) {
2782
+ return this.create(this._DEC_XFORM_MODE, y, b);
2783
2783
  },
2784
2784
  /**
2785
2785
  * Initializes a newly created cipher.
@@ -2792,8 +2792,8 @@ function me() {
2792
2792
  *
2793
2793
  * var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
2794
2794
  */
2795
- init: function(y, w, D) {
2796
- this.cfg = this.cfg.extend(D), this._xformMode = y, this._key = w, this.reset();
2795
+ init: function(y, b, D) {
2796
+ this.cfg = this.cfg.extend(D), this._xformMode = y, this._key = b, this.reset();
2797
2797
  },
2798
2798
  /**
2799
2799
  * Resets this cipher to its initial state.
@@ -2836,8 +2836,8 @@ function me() {
2836
2836
  */
2837
2837
  finalize: function(y) {
2838
2838
  y && this._append(y);
2839
- var w = this._doFinalize();
2840
- return w;
2839
+ var b = this._doFinalize();
2840
+ return b;
2841
2841
  },
2842
2842
  keySize: 128 / 32,
2843
2843
  ivSize: 128 / 32,
@@ -2857,16 +2857,16 @@ function me() {
2857
2857
  * var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
2858
2858
  */
2859
2859
  _createHelper: /* @__PURE__ */ function() {
2860
- function y(w) {
2861
- return typeof w == "string" ? B : E;
2860
+ function y(b) {
2861
+ return typeof b == "string" ? k : A;
2862
2862
  }
2863
- return function(w) {
2863
+ return function(b) {
2864
2864
  return {
2865
2865
  encrypt: function(D, S, L) {
2866
- return y(S).encrypt(w, D, S, L);
2866
+ return y(S).encrypt(b, D, S, L);
2867
2867
  },
2868
2868
  decrypt: function(D, S, L) {
2869
- return y(S).decrypt(w, D, S, L);
2869
+ return y(S).decrypt(b, D, S, L);
2870
2870
  }
2871
2871
  };
2872
2872
  };
@@ -2892,8 +2892,8 @@ function me() {
2892
2892
  *
2893
2893
  * var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);
2894
2894
  */
2895
- createEncryptor: function(y, w) {
2896
- return this.Encryptor.create(y, w);
2895
+ createEncryptor: function(y, b) {
2896
+ return this.Encryptor.create(y, b);
2897
2897
  },
2898
2898
  /**
2899
2899
  * Creates this mode for decryption.
@@ -2907,8 +2907,8 @@ function me() {
2907
2907
  *
2908
2908
  * var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);
2909
2909
  */
2910
- createDecryptor: function(y, w) {
2911
- return this.Decryptor.create(y, w);
2910
+ createDecryptor: function(y, b) {
2911
+ return this.Decryptor.create(y, b);
2912
2912
  },
2913
2913
  /**
2914
2914
  * Initializes a newly created mode.
@@ -2920,8 +2920,8 @@ function me() {
2920
2920
  *
2921
2921
  * var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);
2922
2922
  */
2923
- init: function(y, w) {
2924
- this._cipher = y, this._iv = w;
2923
+ init: function(y, b) {
2924
+ this._cipher = y, this._iv = b;
2925
2925
  }
2926
2926
  }), x = p.CBC = function() {
2927
2927
  var y = g.extend();
@@ -2938,7 +2938,7 @@ function me() {
2938
2938
  */
2939
2939
  processBlock: function(D, S) {
2940
2940
  var L = this._cipher, H = L.blockSize;
2941
- w.call(this, D, S, H), L.encryptBlock(D, S), this._prevBlock = D.slice(S, S + H);
2941
+ b.call(this, D, S, H), L.encryptBlock(D, S), this._prevBlock = D.slice(S, S + H);
2942
2942
  }
2943
2943
  }), y.Decryptor = y.extend({
2944
2944
  /**
@@ -2953,10 +2953,10 @@ function me() {
2953
2953
  */
2954
2954
  processBlock: function(D, S) {
2955
2955
  var L = this._cipher, H = L.blockSize, W = D.slice(S, S + H);
2956
- L.decryptBlock(D, S), w.call(this, D, S, H), this._prevBlock = W;
2956
+ L.decryptBlock(D, S), b.call(this, D, S, H), this._prevBlock = W;
2957
2957
  }
2958
2958
  });
2959
- function w(D, S, L) {
2959
+ function b(D, S, L) {
2960
2960
  var H, W = this._iv;
2961
2961
  W ? (H = W, this._iv = n) : H = this._prevBlock;
2962
2962
  for (var q = 0; q < L; q++)
@@ -2976,8 +2976,8 @@ function me() {
2976
2976
  *
2977
2977
  * CryptoJS.pad.Pkcs7.pad(wordArray, 4);
2978
2978
  */
2979
- pad: function(y, w) {
2980
- for (var D = w * 4, S = D - y.sigBytes % D, L = S << 24 | S << 16 | S << 8 | S, H = [], W = 0; W < S; W += 4)
2979
+ pad: function(y, b) {
2980
+ for (var D = b * 4, S = D - y.sigBytes % D, L = S << 24 | S << 16 | S << 8 | S, H = [], W = 0; W < S; W += 4)
2981
2981
  H.push(L);
2982
2982
  var q = l.create(H, S);
2983
2983
  y.concat(q);
@@ -2994,8 +2994,8 @@ function me() {
2994
2994
  * CryptoJS.pad.Pkcs7.unpad(wordArray);
2995
2995
  */
2996
2996
  unpad: function(y) {
2997
- var w = y.words[y.sigBytes - 1 >>> 2] & 255;
2998
- y.sigBytes -= w;
2997
+ var b = y.words[y.sigBytes - 1 >>> 2] & 255;
2998
+ y.sigBytes -= b;
2999
2999
  }
3000
3000
  };
3001
3001
  s.BlockCipher = h.extend({
@@ -3012,15 +3012,15 @@ function me() {
3012
3012
  reset: function() {
3013
3013
  var y;
3014
3014
  h.reset.call(this);
3015
- var w = this.cfg, D = w.iv, S = w.mode;
3015
+ var b = this.cfg, D = b.iv, S = b.mode;
3016
3016
  this._xformMode == this._ENC_XFORM_MODE ? y = S.createEncryptor : (y = S.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == y ? this._mode.init(this, D && D.words) : (this._mode = y.call(S, this, D && D.words), this._mode.__creator = y);
3017
3017
  },
3018
- _doProcessBlock: function(y, w) {
3019
- this._mode.processBlock(y, w);
3018
+ _doProcessBlock: function(y, b) {
3019
+ this._mode.processBlock(y, b);
3020
3020
  },
3021
3021
  _doFinalize: function() {
3022
- var y, w = this.cfg.padding;
3023
- return this._xformMode == this._ENC_XFORM_MODE ? (w.pad(this._data, this.blockSize), y = this._process(!0)) : (y = this._process(!0), w.unpad(y)), y;
3022
+ var y, b = this.cfg.padding;
3023
+ return this._xformMode == this._ENC_XFORM_MODE ? (b.pad(this._data, this.blockSize), y = this._process(!0)) : (y = this._process(!0), b.unpad(y)), y;
3024
3024
  },
3025
3025
  blockSize: 128 / 32
3026
3026
  });
@@ -3065,7 +3065,7 @@ function me() {
3065
3065
  toString: function(y) {
3066
3066
  return (y || this.formatter).stringify(this);
3067
3067
  }
3068
- }), C = a.format = {}, b = C.OpenSSL = {
3068
+ }), C = a.format = {}, w = C.OpenSSL = {
3069
3069
  /**
3070
3070
  * Converts a cipher params object to an OpenSSL-compatible string.
3071
3071
  *
@@ -3080,8 +3080,8 @@ function me() {
3080
3080
  * var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
3081
3081
  */
3082
3082
  stringify: function(y) {
3083
- var w, D = y.ciphertext, S = y.salt;
3084
- return S ? w = l.create([1398893684, 1701076831]).concat(S).concat(D) : w = D, w.toString(c);
3083
+ var b, D = y.ciphertext, S = y.salt;
3084
+ return S ? b = l.create([1398893684, 1701076831]).concat(S).concat(D) : b = D, b.toString(c);
3085
3085
  },
3086
3086
  /**
3087
3087
  * Converts an OpenSSL-compatible string to a cipher params object.
@@ -3097,17 +3097,17 @@ function me() {
3097
3097
  * var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
3098
3098
  */
3099
3099
  parse: function(y) {
3100
- var w, D = c.parse(y), S = D.words;
3101
- return S[0] == 1398893684 && S[1] == 1701076831 && (w = l.create(S.slice(2, 4)), S.splice(0, 4), D.sigBytes -= 16), v.create({ ciphertext: D, salt: w });
3100
+ var b, D = c.parse(y), S = D.words;
3101
+ return S[0] == 1398893684 && S[1] == 1701076831 && (b = l.create(S.slice(2, 4)), S.splice(0, 4), D.sigBytes -= 16), v.create({ ciphertext: D, salt: b });
3102
3102
  }
3103
- }, E = s.SerializableCipher = i.extend({
3103
+ }, A = s.SerializableCipher = i.extend({
3104
3104
  /**
3105
3105
  * Configuration options.
3106
3106
  *
3107
3107
  * @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
3108
3108
  */
3109
3109
  cfg: i.extend({
3110
- format: b
3110
+ format: w
3111
3111
  }),
3112
3112
  /**
3113
3113
  * Encrypts a message.
@@ -3127,9 +3127,9 @@ function me() {
3127
3127
  * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
3128
3128
  * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
3129
3129
  */
3130
- encrypt: function(y, w, D, S) {
3130
+ encrypt: function(y, b, D, S) {
3131
3131
  S = this.cfg.extend(S);
3132
- var L = y.createEncryptor(D, S), H = L.finalize(w), W = L.cfg;
3132
+ var L = y.createEncryptor(D, S), H = L.finalize(b), W = L.cfg;
3133
3133
  return v.create({
3134
3134
  ciphertext: H,
3135
3135
  key: D,
@@ -3158,9 +3158,9 @@ function me() {
3158
3158
  * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
3159
3159
  * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
3160
3160
  */
3161
- decrypt: function(y, w, D, S) {
3162
- S = this.cfg.extend(S), w = this._parse(w, S.format);
3163
- var L = y.createDecryptor(D, S).finalize(w.ciphertext);
3161
+ decrypt: function(y, b, D, S) {
3162
+ S = this.cfg.extend(S), b = this._parse(b, S.format);
3163
+ var L = y.createDecryptor(D, S).finalize(b.ciphertext);
3164
3164
  return L;
3165
3165
  },
3166
3166
  /**
@@ -3178,10 +3178,10 @@ function me() {
3178
3178
  *
3179
3179
  * var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
3180
3180
  */
3181
- _parse: function(y, w) {
3182
- return typeof y == "string" ? w.parse(y, this) : y;
3181
+ _parse: function(y, b) {
3182
+ return typeof y == "string" ? b.parse(y, this) : y;
3183
3183
  }
3184
- }), A = a.kdf = {}, k = A.OpenSSL = {
3184
+ }), B = a.kdf = {}, E = B.OpenSSL = {
3185
3185
  /**
3186
3186
  * Derives a key and IV from a password.
3187
3187
  *
@@ -3199,22 +3199,22 @@ function me() {
3199
3199
  * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
3200
3200
  * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
3201
3201
  */
3202
- execute: function(y, w, D, S, L) {
3202
+ execute: function(y, b, D, S, L) {
3203
3203
  if (S || (S = l.random(64 / 8)), L)
3204
- var H = d.create({ keySize: w + D, hasher: L }).compute(y, S);
3204
+ var H = d.create({ keySize: b + D, hasher: L }).compute(y, S);
3205
3205
  else
3206
- var H = d.create({ keySize: w + D }).compute(y, S);
3207
- var W = l.create(H.words.slice(w), D * 4);
3208
- return H.sigBytes = w * 4, v.create({ key: H, iv: W, salt: S });
3206
+ var H = d.create({ keySize: b + D }).compute(y, S);
3207
+ var W = l.create(H.words.slice(b), D * 4);
3208
+ return H.sigBytes = b * 4, v.create({ key: H, iv: W, salt: S });
3209
3209
  }
3210
- }, B = s.PasswordBasedCipher = E.extend({
3210
+ }, k = s.PasswordBasedCipher = A.extend({
3211
3211
  /**
3212
3212
  * Configuration options.
3213
3213
  *
3214
3214
  * @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
3215
3215
  */
3216
- cfg: E.cfg.extend({
3217
- kdf: k
3216
+ cfg: A.cfg.extend({
3217
+ kdf: E
3218
3218
  }),
3219
3219
  /**
3220
3220
  * Encrypts a message using a password.
@@ -3233,11 +3233,11 @@ function me() {
3233
3233
  * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
3234
3234
  * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
3235
3235
  */
3236
- encrypt: function(y, w, D, S) {
3236
+ encrypt: function(y, b, D, S) {
3237
3237
  S = this.cfg.extend(S);
3238
3238
  var L = S.kdf.execute(D, y.keySize, y.ivSize, S.salt, S.hasher);
3239
3239
  S.iv = L.iv;
3240
- var H = E.encrypt.call(this, y, w, L.key, S);
3240
+ var H = A.encrypt.call(this, y, b, L.key, S);
3241
3241
  return H.mixIn(L), H;
3242
3242
  },
3243
3243
  /**
@@ -3257,11 +3257,11 @@ function me() {
3257
3257
  * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
3258
3258
  * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
3259
3259
  */
3260
- decrypt: function(y, w, D, S) {
3261
- S = this.cfg.extend(S), w = this._parse(w, S.format);
3262
- var L = S.kdf.execute(D, y.keySize, y.ivSize, w.salt, S.hasher);
3260
+ decrypt: function(y, b, D, S) {
3261
+ S = this.cfg.extend(S), b = this._parse(b, S.format);
3262
+ var L = S.kdf.execute(D, y.keySize, y.ivSize, b.salt, S.hasher);
3263
3263
  S.iv = L.iv;
3264
- var H = E.decrypt.call(this, y, w, L.key, S);
3264
+ var H = A.decrypt.call(this, y, b, L.key, S);
3265
3265
  return H;
3266
3266
  }
3267
3267
  });
@@ -3273,7 +3273,7 @@ var Tr = { exports: {} }, ko;
3273
3273
  function Hi() {
3274
3274
  return ko || (ko = 1, function(r, e) {
3275
3275
  (function(t, n, a) {
3276
- r.exports = n(re(), me());
3276
+ r.exports = n(re(), ge());
3277
3277
  })(te, function(t) {
3278
3278
  return t.mode.CFB = function() {
3279
3279
  var n = t.lib.BlockCipherMode.extend();
@@ -3303,7 +3303,7 @@ var Pr = { exports: {} }, Do;
3303
3303
  function Ui() {
3304
3304
  return Do || (Do = 1, function(r, e) {
3305
3305
  (function(t, n, a) {
3306
- r.exports = n(re(), me());
3306
+ r.exports = n(re(), ge());
3307
3307
  })(te, function(t) {
3308
3308
  return t.mode.CTR = function() {
3309
3309
  var n = t.lib.BlockCipherMode.extend(), a = n.Encryptor = n.extend({
@@ -3325,7 +3325,7 @@ var Rr = { exports: {} }, So;
3325
3325
  function ji() {
3326
3326
  return So || (So = 1, function(r, e) {
3327
3327
  (function(t, n, a) {
3328
- r.exports = n(re(), me());
3328
+ r.exports = n(re(), ge());
3329
3329
  })(te, function(t) {
3330
3330
  /** @preserve
3331
3331
  * Counter block mode compatible with Dr Brian Gladman fileenc.c
@@ -3364,7 +3364,7 @@ var $r = { exports: {} }, Fo;
3364
3364
  function qi() {
3365
3365
  return Fo || (Fo = 1, function(r, e) {
3366
3366
  (function(t, n, a) {
3367
- r.exports = n(re(), me());
3367
+ r.exports = n(re(), ge());
3368
3368
  })(te, function(t) {
3369
3369
  return t.mode.OFB = function() {
3370
3370
  var n = t.lib.BlockCipherMode.extend(), a = n.Encryptor = n.extend({
@@ -3380,11 +3380,11 @@ function qi() {
3380
3380
  });
3381
3381
  }($r)), $r.exports;
3382
3382
  }
3383
- var Or = { exports: {} }, Io;
3383
+ var zr = { exports: {} }, Io;
3384
3384
  function Wi() {
3385
3385
  return Io || (Io = 1, function(r, e) {
3386
3386
  (function(t, n, a) {
3387
- r.exports = n(re(), me());
3387
+ r.exports = n(re(), ge());
3388
3388
  })(te, function(t) {
3389
3389
  return t.mode.ECB = function() {
3390
3390
  var n = t.lib.BlockCipherMode.extend();
@@ -3399,13 +3399,13 @@ function Wi() {
3399
3399
  }), n;
3400
3400
  }(), t.mode.ECB;
3401
3401
  });
3402
- }(Or)), Or.exports;
3402
+ }(zr)), zr.exports;
3403
3403
  }
3404
- var zr = { exports: {} }, To;
3404
+ var Or = { exports: {} }, To;
3405
3405
  function Vi() {
3406
3406
  return To || (To = 1, function(r, e) {
3407
3407
  (function(t, n, a) {
3408
- r.exports = n(re(), me());
3408
+ r.exports = n(re(), ge());
3409
3409
  })(te, function(t) {
3410
3410
  return t.pad.AnsiX923 = {
3411
3411
  pad: function(n, a) {
@@ -3418,13 +3418,13 @@ function Vi() {
3418
3418
  }
3419
3419
  }, t.pad.Ansix923;
3420
3420
  });
3421
- }(zr)), zr.exports;
3421
+ }(Or)), Or.exports;
3422
3422
  }
3423
3423
  var Mr = { exports: {} }, Po;
3424
3424
  function Ki() {
3425
3425
  return Po || (Po = 1, function(r, e) {
3426
3426
  (function(t, n, a) {
3427
- r.exports = n(re(), me());
3427
+ r.exports = n(re(), ge());
3428
3428
  })(te, function(t) {
3429
3429
  return t.pad.Iso10126 = {
3430
3430
  pad: function(n, a) {
@@ -3443,7 +3443,7 @@ var Nr = { exports: {} }, Ro;
3443
3443
  function Gi() {
3444
3444
  return Ro || (Ro = 1, function(r, e) {
3445
3445
  (function(t, n, a) {
3446
- r.exports = n(re(), me());
3446
+ r.exports = n(re(), ge());
3447
3447
  })(te, function(t) {
3448
3448
  return t.pad.Iso97971 = {
3449
3449
  pad: function(n, a) {
@@ -3460,7 +3460,7 @@ var Lr = { exports: {} }, $o;
3460
3460
  function Xi() {
3461
3461
  return $o || ($o = 1, function(r, e) {
3462
3462
  (function(t, n, a) {
3463
- r.exports = n(re(), me());
3463
+ r.exports = n(re(), ge());
3464
3464
  })(te, function(t) {
3465
3465
  return t.pad.ZeroPadding = {
3466
3466
  pad: function(n, a) {
@@ -3478,11 +3478,11 @@ function Xi() {
3478
3478
  });
3479
3479
  }(Lr)), Lr.exports;
3480
3480
  }
3481
- var Hr = { exports: {} }, Oo;
3481
+ var Hr = { exports: {} }, zo;
3482
3482
  function Qi() {
3483
- return Oo || (Oo = 1, function(r, e) {
3483
+ return zo || (zo = 1, function(r, e) {
3484
3484
  (function(t, n, a) {
3485
- r.exports = n(re(), me());
3485
+ r.exports = n(re(), ge());
3486
3486
  })(te, function(t) {
3487
3487
  return t.pad.NoPadding = {
3488
3488
  pad: function() {
@@ -3493,11 +3493,11 @@ function Qi() {
3493
3493
  });
3494
3494
  }(Hr)), Hr.exports;
3495
3495
  }
3496
- var Ur = { exports: {} }, zo;
3496
+ var Ur = { exports: {} }, Oo;
3497
3497
  function Zi() {
3498
- return zo || (zo = 1, function(r, e) {
3498
+ return Oo || (Oo = 1, function(r, e) {
3499
3499
  (function(t, n, a) {
3500
- r.exports = n(re(), me());
3500
+ r.exports = n(re(), ge());
3501
3501
  })(te, function(t) {
3502
3502
  return function(n) {
3503
3503
  var a = t, s = a.lib, i = s.CipherParams, l = a.enc, u = l.Hex, o = a.format;
@@ -3544,35 +3544,35 @@ var jr = { exports: {} }, Mo;
3544
3544
  function Ji() {
3545
3545
  return Mo || (Mo = 1, function(r, e) {
3546
3546
  (function(t, n, a) {
3547
- r.exports = n(re(), ut(), dt(), et(), me());
3547
+ r.exports = n(re(), ut(), dt(), et(), ge());
3548
3548
  })(te, function(t) {
3549
3549
  return function() {
3550
3550
  var n = t, a = n.lib, s = a.BlockCipher, i = n.algo, l = [], u = [], o = [], c = [], _ = [], d = [], h = [], p = [], g = [], x = [];
3551
3551
  (function() {
3552
3552
  for (var v = [], C = 0; C < 256; C++)
3553
3553
  C < 128 ? v[C] = C << 1 : v[C] = C << 1 ^ 283;
3554
- for (var b = 0, E = 0, C = 0; C < 256; C++) {
3555
- var A = E ^ E << 1 ^ E << 2 ^ E << 3 ^ E << 4;
3556
- A = A >>> 8 ^ A & 255 ^ 99, l[b] = A, u[A] = b;
3557
- var k = v[b], B = v[k], y = v[B], w = v[A] * 257 ^ A * 16843008;
3558
- o[b] = w << 24 | w >>> 8, c[b] = w << 16 | w >>> 16, _[b] = w << 8 | w >>> 24, d[b] = w;
3559
- var w = y * 16843009 ^ B * 65537 ^ k * 257 ^ b * 16843008;
3560
- h[A] = w << 24 | w >>> 8, p[A] = w << 16 | w >>> 16, g[A] = w << 8 | w >>> 24, x[A] = w, b ? (b = k ^ v[v[v[y ^ k]]], E ^= v[v[E]]) : b = E = 1;
3554
+ for (var w = 0, A = 0, C = 0; C < 256; C++) {
3555
+ var B = A ^ A << 1 ^ A << 2 ^ A << 3 ^ A << 4;
3556
+ B = B >>> 8 ^ B & 255 ^ 99, l[w] = B, u[B] = w;
3557
+ var E = v[w], k = v[E], y = v[k], b = v[B] * 257 ^ B * 16843008;
3558
+ o[w] = b << 24 | b >>> 8, c[w] = b << 16 | b >>> 16, _[w] = b << 8 | b >>> 24, d[w] = b;
3559
+ var b = y * 16843009 ^ k * 65537 ^ E * 257 ^ w * 16843008;
3560
+ h[B] = b << 24 | b >>> 8, p[B] = b << 16 | b >>> 16, g[B] = b << 8 | b >>> 24, x[B] = b, w ? (w = E ^ v[v[v[y ^ E]]], A ^= v[v[A]]) : w = A = 1;
3561
3561
  }
3562
3562
  })();
3563
3563
  var m = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], f = i.AES = s.extend({
3564
3564
  _doReset: function() {
3565
3565
  var v;
3566
3566
  if (!(this._nRounds && this._keyPriorReset === this._key)) {
3567
- for (var C = this._keyPriorReset = this._key, b = C.words, E = C.sigBytes / 4, A = this._nRounds = E + 6, k = (A + 1) * 4, B = this._keySchedule = [], y = 0; y < k; y++)
3568
- y < E ? B[y] = b[y] : (v = B[y - 1], y % E ? E > 6 && y % E == 4 && (v = l[v >>> 24] << 24 | l[v >>> 16 & 255] << 16 | l[v >>> 8 & 255] << 8 | l[v & 255]) : (v = v << 8 | v >>> 24, v = l[v >>> 24] << 24 | l[v >>> 16 & 255] << 16 | l[v >>> 8 & 255] << 8 | l[v & 255], v ^= m[y / E | 0] << 24), B[y] = B[y - E] ^ v);
3569
- for (var w = this._invKeySchedule = [], D = 0; D < k; D++) {
3570
- var y = k - D;
3567
+ for (var C = this._keyPriorReset = this._key, w = C.words, A = C.sigBytes / 4, B = this._nRounds = A + 6, E = (B + 1) * 4, k = this._keySchedule = [], y = 0; y < E; y++)
3568
+ y < A ? k[y] = w[y] : (v = k[y - 1], y % A ? A > 6 && y % A == 4 && (v = l[v >>> 24] << 24 | l[v >>> 16 & 255] << 16 | l[v >>> 8 & 255] << 8 | l[v & 255]) : (v = v << 8 | v >>> 24, v = l[v >>> 24] << 24 | l[v >>> 16 & 255] << 16 | l[v >>> 8 & 255] << 8 | l[v & 255], v ^= m[y / A | 0] << 24), k[y] = k[y - A] ^ v);
3569
+ for (var b = this._invKeySchedule = [], D = 0; D < E; D++) {
3570
+ var y = E - D;
3571
3571
  if (D % 4)
3572
- var v = B[y];
3572
+ var v = k[y];
3573
3573
  else
3574
- var v = B[y - 4];
3575
- D < 4 || y <= 4 ? w[D] = v : w[D] = h[l[v >>> 24]] ^ p[l[v >>> 16 & 255]] ^ g[l[v >>> 8 & 255]] ^ x[l[v & 255]];
3574
+ var v = k[y - 4];
3575
+ D < 4 || y <= 4 ? b[D] = v : b[D] = h[l[v >>> 24]] ^ p[l[v >>> 16 & 255]] ^ g[l[v >>> 8 & 255]] ^ x[l[v & 255]];
3576
3576
  }
3577
3577
  }
3578
3578
  },
@@ -3580,17 +3580,17 @@ function Ji() {
3580
3580
  this._doCryptBlock(v, C, this._keySchedule, o, c, _, d, l);
3581
3581
  },
3582
3582
  decryptBlock: function(v, C) {
3583
- var b = v[C + 1];
3584
- v[C + 1] = v[C + 3], v[C + 3] = b, this._doCryptBlock(v, C, this._invKeySchedule, h, p, g, x, u);
3585
- var b = v[C + 1];
3586
- v[C + 1] = v[C + 3], v[C + 3] = b;
3583
+ var w = v[C + 1];
3584
+ v[C + 1] = v[C + 3], v[C + 3] = w, this._doCryptBlock(v, C, this._invKeySchedule, h, p, g, x, u);
3585
+ var w = v[C + 1];
3586
+ v[C + 1] = v[C + 3], v[C + 3] = w;
3587
3587
  },
3588
- _doCryptBlock: function(v, C, b, E, A, k, B, y) {
3589
- for (var w = this._nRounds, D = v[C] ^ b[0], S = v[C + 1] ^ b[1], L = v[C + 2] ^ b[2], H = v[C + 3] ^ b[3], W = 4, q = 1; q < w; q++) {
3590
- var U = E[D >>> 24] ^ A[S >>> 16 & 255] ^ k[L >>> 8 & 255] ^ B[H & 255] ^ b[W++], j = E[S >>> 24] ^ A[L >>> 16 & 255] ^ k[H >>> 8 & 255] ^ B[D & 255] ^ b[W++], G = E[L >>> 24] ^ A[H >>> 16 & 255] ^ k[D >>> 8 & 255] ^ B[S & 255] ^ b[W++], T = E[H >>> 24] ^ A[D >>> 16 & 255] ^ k[S >>> 8 & 255] ^ B[L & 255] ^ b[W++];
3588
+ _doCryptBlock: function(v, C, w, A, B, E, k, y) {
3589
+ for (var b = this._nRounds, D = v[C] ^ w[0], S = v[C + 1] ^ w[1], L = v[C + 2] ^ w[2], H = v[C + 3] ^ w[3], W = 4, q = 1; q < b; q++) {
3590
+ var U = A[D >>> 24] ^ B[S >>> 16 & 255] ^ E[L >>> 8 & 255] ^ k[H & 255] ^ w[W++], j = A[S >>> 24] ^ B[L >>> 16 & 255] ^ E[H >>> 8 & 255] ^ k[D & 255] ^ w[W++], G = A[L >>> 24] ^ B[H >>> 16 & 255] ^ E[D >>> 8 & 255] ^ k[S & 255] ^ w[W++], T = A[H >>> 24] ^ B[D >>> 16 & 255] ^ E[S >>> 8 & 255] ^ k[L & 255] ^ w[W++];
3591
3591
  D = U, S = j, L = G, H = T;
3592
3592
  }
3593
- var U = (y[D >>> 24] << 24 | y[S >>> 16 & 255] << 16 | y[L >>> 8 & 255] << 8 | y[H & 255]) ^ b[W++], j = (y[S >>> 24] << 24 | y[L >>> 16 & 255] << 16 | y[H >>> 8 & 255] << 8 | y[D & 255]) ^ b[W++], G = (y[L >>> 24] << 24 | y[H >>> 16 & 255] << 16 | y[D >>> 8 & 255] << 8 | y[S & 255]) ^ b[W++], T = (y[H >>> 24] << 24 | y[D >>> 16 & 255] << 16 | y[S >>> 8 & 255] << 8 | y[L & 255]) ^ b[W++];
3593
+ var U = (y[D >>> 24] << 24 | y[S >>> 16 & 255] << 16 | y[L >>> 8 & 255] << 8 | y[H & 255]) ^ w[W++], j = (y[S >>> 24] << 24 | y[L >>> 16 & 255] << 16 | y[H >>> 8 & 255] << 8 | y[D & 255]) ^ w[W++], G = (y[L >>> 24] << 24 | y[H >>> 16 & 255] << 16 | y[D >>> 8 & 255] << 8 | y[S & 255]) ^ w[W++], T = (y[H >>> 24] << 24 | y[D >>> 16 & 255] << 16 | y[S >>> 8 & 255] << 8 | y[L & 255]) ^ w[W++];
3594
3594
  v[C] = U, v[C + 1] = j, v[C + 2] = G, v[C + 3] = T;
3595
3595
  },
3596
3596
  keySize: 256 / 32
@@ -3604,7 +3604,7 @@ var qr = { exports: {} }, No;
3604
3604
  function Yi() {
3605
3605
  return No || (No = 1, function(r, e) {
3606
3606
  (function(t, n, a) {
3607
- r.exports = n(re(), ut(), dt(), et(), me());
3607
+ r.exports = n(re(), ut(), dt(), et(), ge());
3608
3608
  })(te, function(t) {
3609
3609
  return function() {
3610
3610
  var n = t, a = n.lib, s = a.WordArray, i = a.BlockCipher, l = n.algo, u = [
@@ -4254,19 +4254,19 @@ function Yi() {
4254
4254
  ], h = l.DES = i.extend({
4255
4255
  _doReset: function() {
4256
4256
  for (var m = this._key, f = m.words, v = [], C = 0; C < 56; C++) {
4257
- var b = u[C] - 1;
4258
- v[C] = f[b >>> 5] >>> 31 - b % 32 & 1;
4257
+ var w = u[C] - 1;
4258
+ v[C] = f[w >>> 5] >>> 31 - w % 32 & 1;
4259
4259
  }
4260
- for (var E = this._subKeys = [], A = 0; A < 16; A++) {
4261
- for (var k = E[A] = [], B = c[A], C = 0; C < 24; C++)
4262
- k[C / 6 | 0] |= v[(o[C] - 1 + B) % 28] << 31 - C % 6, k[4 + (C / 6 | 0)] |= v[28 + (o[C + 24] - 1 + B) % 28] << 31 - C % 6;
4263
- k[0] = k[0] << 1 | k[0] >>> 31;
4260
+ for (var A = this._subKeys = [], B = 0; B < 16; B++) {
4261
+ for (var E = A[B] = [], k = c[B], C = 0; C < 24; C++)
4262
+ E[C / 6 | 0] |= v[(o[C] - 1 + k) % 28] << 31 - C % 6, E[4 + (C / 6 | 0)] |= v[28 + (o[C + 24] - 1 + k) % 28] << 31 - C % 6;
4263
+ E[0] = E[0] << 1 | E[0] >>> 31;
4264
4264
  for (var C = 1; C < 7; C++)
4265
- k[C] = k[C] >>> (C - 1) * 4 + 3;
4266
- k[7] = k[7] << 5 | k[7] >>> 27;
4265
+ E[C] = E[C] >>> (C - 1) * 4 + 3;
4266
+ E[7] = E[7] << 5 | E[7] >>> 27;
4267
4267
  }
4268
4268
  for (var y = this._invSubKeys = [], C = 0; C < 16; C++)
4269
- y[C] = E[15 - C];
4269
+ y[C] = A[15 - C];
4270
4270
  },
4271
4271
  encryptBlock: function(m, f) {
4272
4272
  this._doCryptBlock(m, f, this._subKeys);
@@ -4277,9 +4277,9 @@ function Yi() {
4277
4277
  _doCryptBlock: function(m, f, v) {
4278
4278
  this._lBlock = m[f], this._rBlock = m[f + 1], p.call(this, 4, 252645135), p.call(this, 16, 65535), g.call(this, 2, 858993459), g.call(this, 8, 16711935), p.call(this, 1, 1431655765);
4279
4279
  for (var C = 0; C < 16; C++) {
4280
- for (var b = v[C], E = this._lBlock, A = this._rBlock, k = 0, B = 0; B < 8; B++)
4281
- k |= _[B][((A ^ b[B]) & d[B]) >>> 0];
4282
- this._lBlock = A, this._rBlock = E ^ k;
4280
+ for (var w = v[C], A = this._lBlock, B = this._rBlock, E = 0, k = 0; k < 8; k++)
4281
+ E |= _[k][((B ^ w[k]) & d[k]) >>> 0];
4282
+ this._lBlock = B, this._rBlock = A ^ E;
4283
4283
  }
4284
4284
  var y = this._lBlock;
4285
4285
  this._lBlock = this._rBlock, this._rBlock = y, p.call(this, 1, 1431655765), g.call(this, 8, 16711935), g.call(this, 2, 858993459), p.call(this, 16, 65535), p.call(this, 4, 252645135), m[f] = this._lBlock, m[f + 1] = this._rBlock;
@@ -4302,8 +4302,8 @@ function Yi() {
4302
4302
  var m = this._key, f = m.words;
4303
4303
  if (f.length !== 2 && f.length !== 4 && f.length < 6)
4304
4304
  throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
4305
- var v = f.slice(0, 2), C = f.length < 4 ? f.slice(0, 2) : f.slice(2, 4), b = f.length < 6 ? f.slice(0, 2) : f.slice(4, 6);
4306
- this._des1 = h.createEncryptor(s.create(v)), this._des2 = h.createEncryptor(s.create(C)), this._des3 = h.createEncryptor(s.create(b));
4305
+ var v = f.slice(0, 2), C = f.length < 4 ? f.slice(0, 2) : f.slice(2, 4), w = f.length < 6 ? f.slice(0, 2) : f.slice(4, 6);
4306
+ this._des1 = h.createEncryptor(s.create(v)), this._des2 = h.createEncryptor(s.create(C)), this._des3 = h.createEncryptor(s.create(w));
4307
4307
  },
4308
4308
  encryptBlock: function(m, f) {
4309
4309
  this._des1.encryptBlock(m, f), this._des2.decryptBlock(m, f), this._des3.encryptBlock(m, f);
@@ -4324,7 +4324,7 @@ var Wr = { exports: {} }, Lo;
4324
4324
  function ec() {
4325
4325
  return Lo || (Lo = 1, function(r, e) {
4326
4326
  (function(t, n, a) {
4327
- r.exports = n(re(), ut(), dt(), et(), me());
4327
+ r.exports = n(re(), ut(), dt(), et(), ge());
4328
4328
  })(te, function(t) {
4329
4329
  return function() {
4330
4330
  var n = t, a = n.lib, s = a.StreamCipher, i = n.algo, l = i.RC4 = s.extend({
@@ -4378,7 +4378,7 @@ var Vr = { exports: {} }, Ho;
4378
4378
  function tc() {
4379
4379
  return Ho || (Ho = 1, function(r, e) {
4380
4380
  (function(t, n, a) {
4381
- r.exports = n(re(), ut(), dt(), et(), me());
4381
+ r.exports = n(re(), ut(), dt(), et(), ge());
4382
4382
  })(te, function(t) {
4383
4383
  return function() {
4384
4384
  var n = t, a = n.lib, s = a.StreamCipher, i = n.algo, l = [], u = [], o = [], c = i.Rabbit = s.extend({
@@ -4410,8 +4410,8 @@ function tc() {
4410
4410
  for (var p = 0; p < 8; p++)
4411
4411
  x[p] ^= g[p + 4 & 7];
4412
4412
  if (h) {
4413
- var m = h.words, f = m[0], v = m[1], C = (f << 8 | f >>> 24) & 16711935 | (f << 24 | f >>> 8) & 4278255360, b = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, E = C >>> 16 | b & 4294901760, A = b << 16 | C & 65535;
4414
- x[0] ^= C, x[1] ^= E, x[2] ^= b, x[3] ^= A, x[4] ^= C, x[5] ^= E, x[6] ^= b, x[7] ^= A;
4413
+ var m = h.words, f = m[0], v = m[1], C = (f << 8 | f >>> 24) & 16711935 | (f << 24 | f >>> 8) & 4278255360, w = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, A = C >>> 16 | w & 4294901760, B = w << 16 | C & 65535;
4414
+ x[0] ^= C, x[1] ^= A, x[2] ^= w, x[3] ^= B, x[4] ^= C, x[5] ^= A, x[6] ^= w, x[7] ^= B;
4415
4415
  for (var p = 0; p < 4; p++)
4416
4416
  _.call(this);
4417
4417
  }
@@ -4444,7 +4444,7 @@ var Kr = { exports: {} }, Uo;
4444
4444
  function rc() {
4445
4445
  return Uo || (Uo = 1, function(r, e) {
4446
4446
  (function(t, n, a) {
4447
- r.exports = n(re(), ut(), dt(), et(), me());
4447
+ r.exports = n(re(), ut(), dt(), et(), ge());
4448
4448
  })(te, function(t) {
4449
4449
  return function() {
4450
4450
  var n = t, a = n.lib, s = a.StreamCipher, i = n.algo, l = [], u = [], o = [], c = i.RabbitLegacy = s.extend({
@@ -4474,8 +4474,8 @@ function rc() {
4474
4474
  for (var x = 0; x < 8; x++)
4475
4475
  g[x] ^= p[x + 4 & 7];
4476
4476
  if (h) {
4477
- var m = h.words, f = m[0], v = m[1], C = (f << 8 | f >>> 24) & 16711935 | (f << 24 | f >>> 8) & 4278255360, b = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, E = C >>> 16 | b & 4294901760, A = b << 16 | C & 65535;
4478
- g[0] ^= C, g[1] ^= E, g[2] ^= b, g[3] ^= A, g[4] ^= C, g[5] ^= E, g[6] ^= b, g[7] ^= A;
4477
+ var m = h.words, f = m[0], v = m[1], C = (f << 8 | f >>> 24) & 16711935 | (f << 24 | f >>> 8) & 4278255360, w = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, A = C >>> 16 | w & 4294901760, B = w << 16 | C & 65535;
4478
+ g[0] ^= C, g[1] ^= A, g[2] ^= w, g[3] ^= B, g[4] ^= C, g[5] ^= A, g[6] ^= w, g[7] ^= B;
4479
4479
  for (var x = 0; x < 4; x++)
4480
4480
  _.call(this);
4481
4481
  }
@@ -4508,7 +4508,7 @@ var Gr = { exports: {} }, jo;
4508
4508
  function nc() {
4509
4509
  return jo || (jo = 1, function(r, e) {
4510
4510
  (function(t, n, a) {
4511
- r.exports = n(re(), ut(), dt(), et(), me());
4511
+ r.exports = n(re(), ut(), dt(), et(), ge());
4512
4512
  })(te, function(t) {
4513
4513
  return function() {
4514
4514
  var n = t, a = n.lib, s = a.BlockCipher, i = n.algo;
@@ -5570,36 +5570,36 @@ function nc() {
5570
5570
  sbox: []
5571
5571
  };
5572
5572
  function _(x, m) {
5573
- let f = m >> 24 & 255, v = m >> 16 & 255, C = m >> 8 & 255, b = m & 255, E = x.sbox[0][f] + x.sbox[1][v];
5574
- return E = E ^ x.sbox[2][C], E = E + x.sbox[3][b], E;
5573
+ let f = m >> 24 & 255, v = m >> 16 & 255, C = m >> 8 & 255, w = m & 255, A = x.sbox[0][f] + x.sbox[1][v];
5574
+ return A = A ^ x.sbox[2][C], A = A + x.sbox[3][w], A;
5575
5575
  }
5576
5576
  function d(x, m, f) {
5577
- let v = m, C = f, b;
5578
- for (let E = 0; E < l; ++E)
5579
- v = v ^ x.pbox[E], C = _(x, v) ^ C, b = v, v = C, C = b;
5580
- return b = v, v = C, C = b, C = C ^ x.pbox[l], v = v ^ x.pbox[l + 1], { left: v, right: C };
5577
+ let v = m, C = f, w;
5578
+ for (let A = 0; A < l; ++A)
5579
+ v = v ^ x.pbox[A], C = _(x, v) ^ C, w = v, v = C, C = w;
5580
+ return w = v, v = C, C = w, C = C ^ x.pbox[l], v = v ^ x.pbox[l + 1], { left: v, right: C };
5581
5581
  }
5582
5582
  function h(x, m, f) {
5583
- let v = m, C = f, b;
5584
- for (let E = l + 1; E > 1; --E)
5585
- v = v ^ x.pbox[E], C = _(x, v) ^ C, b = v, v = C, C = b;
5586
- return b = v, v = C, C = b, C = C ^ x.pbox[1], v = v ^ x.pbox[0], { left: v, right: C };
5583
+ let v = m, C = f, w;
5584
+ for (let A = l + 1; A > 1; --A)
5585
+ v = v ^ x.pbox[A], C = _(x, v) ^ C, w = v, v = C, C = w;
5586
+ return w = v, v = C, C = w, C = C ^ x.pbox[1], v = v ^ x.pbox[0], { left: v, right: C };
5587
5587
  }
5588
5588
  function p(x, m, f) {
5589
- for (let A = 0; A < 4; A++) {
5590
- x.sbox[A] = [];
5591
- for (let k = 0; k < 256; k++)
5592
- x.sbox[A][k] = o[A][k];
5589
+ for (let B = 0; B < 4; B++) {
5590
+ x.sbox[B] = [];
5591
+ for (let E = 0; E < 256; E++)
5592
+ x.sbox[B][E] = o[B][E];
5593
5593
  }
5594
5594
  let v = 0;
5595
- for (let A = 0; A < l + 2; A++)
5596
- x.pbox[A] = u[A] ^ m[v], v++, v >= f && (v = 0);
5597
- let C = 0, b = 0, E = 0;
5598
- for (let A = 0; A < l + 2; A += 2)
5599
- E = d(x, C, b), C = E.left, b = E.right, x.pbox[A] = C, x.pbox[A + 1] = b;
5600
- for (let A = 0; A < 4; A++)
5601
- for (let k = 0; k < 256; k += 2)
5602
- E = d(x, C, b), C = E.left, b = E.right, x.sbox[A][k] = C, x.sbox[A][k + 1] = b;
5595
+ for (let B = 0; B < l + 2; B++)
5596
+ x.pbox[B] = u[B] ^ m[v], v++, v >= f && (v = 0);
5597
+ let C = 0, w = 0, A = 0;
5598
+ for (let B = 0; B < l + 2; B += 2)
5599
+ A = d(x, C, w), C = A.left, w = A.right, x.pbox[B] = C, x.pbox[B + 1] = w;
5600
+ for (let B = 0; B < 4; B++)
5601
+ for (let E = 0; E < 256; E += 2)
5602
+ A = d(x, C, w), C = A.left, w = A.right, x.sbox[B][E] = C, x.sbox[B][E + 1] = w;
5603
5603
  return !0;
5604
5604
  }
5605
5605
  var g = i.Blowfish = s.extend({
@@ -5628,7 +5628,7 @@ function nc() {
5628
5628
  }
5629
5629
  (function(r, e) {
5630
5630
  (function(t, n, a) {
5631
- r.exports = n(re(), ar(), Pi(), Ri(), ut(), $i(), dt(), Wa(), bn(), Oi(), Va(), zi(), Mi(), Ni(), wn(), Li(), et(), me(), Hi(), Ui(), ji(), qi(), Wi(), Vi(), Ki(), Gi(), Xi(), Qi(), Zi(), Ji(), Yi(), ec(), tc(), rc(), nc());
5631
+ r.exports = n(re(), ar(), Pi(), Ri(), ut(), $i(), dt(), Wa(), bn(), zi(), Va(), Oi(), Mi(), Ni(), wn(), Li(), et(), ge(), Hi(), Ui(), ji(), qi(), Wi(), Vi(), Ki(), Gi(), Xi(), Qi(), Zi(), Ji(), Yi(), ec(), tc(), rc(), nc());
5632
5632
  })(te, function(t) {
5633
5633
  return t;
5634
5634
  });
@@ -5823,12 +5823,12 @@ async function vc(r) {
5823
5823
  if (o && c) {
5824
5824
  if (u) {
5825
5825
  let _ = await hc(n, c);
5826
- _.error && console.log("加密出错了---", n), c = _.value ?? "";
5826
+ _.error, c = _.value ?? "";
5827
5827
  }
5828
5828
  e[o] = c;
5829
5829
  }
5830
5830
  }
5831
- return console.log("参数结果===", e), e;
5831
+ return e;
5832
5832
  }
5833
5833
  function gc(r) {
5834
5834
  let e = {}, t = r.split("&");
@@ -5862,9 +5862,7 @@ function _c(r, e) {
5862
5862
  }
5863
5863
  const Ya = async (r, e) => {
5864
5864
  const t = await vc(e);
5865
- if (console.log("🚀 ~ queryObj:", t), t === "goLogin") return "";
5866
- const n = _c(r, t) ?? "";
5867
- return console.log(`最终跳转---${n}---`), n;
5865
+ return t === "goLogin" ? "" : _c(r, t) ?? "";
5868
5866
  }, nn = (r) => {
5869
5867
  const e = new URL(r, location.origin);
5870
5868
  return ["true", "1"].includes(e.searchParams.get("autoSetToken")) && (e.searchParams.append("access_token", ws()), e.searchParams.delete("autoSetToken")), e.toString();
@@ -5924,10 +5922,10 @@ function $c(r) {
5924
5922
  var e = this.__data__, t = sr(e, r);
5925
5923
  return t < 0 ? void 0 : e[t][1];
5926
5924
  }
5927
- function Oc(r) {
5925
+ function zc(r) {
5928
5926
  return sr(this.__data__, r) > -1;
5929
5927
  }
5930
- function zc(r, e) {
5928
+ function Oc(r, e) {
5931
5929
  var t = this.__data__, n = sr(t, r);
5932
5930
  return n < 0 ? (++this.size, t.push([r, e])) : t[n][1] = e, this;
5933
5931
  }
@@ -5941,8 +5939,8 @@ function We(r) {
5941
5939
  We.prototype.clear = Ic;
5942
5940
  We.prototype.delete = Rc;
5943
5941
  We.prototype.get = $c;
5944
- We.prototype.has = Oc;
5945
- We.prototype.set = zc;
5942
+ We.prototype.has = zc;
5943
+ We.prototype.set = Oc;
5946
5944
  function Mc() {
5947
5945
  this.__data__ = new We(), this.size = 0;
5948
5946
  }
@@ -6023,9 +6021,9 @@ function pt(r, e) {
6023
6021
  var t = fl(r, e);
6024
6022
  return dl(t) ? t : void 0;
6025
6023
  }
6026
- var $t = pt(He, "Map"), Ot = pt(Object, "create");
6024
+ var $t = pt(He, "Map"), zt = pt(Object, "create");
6027
6025
  function pl() {
6028
- this.__data__ = Ot ? Ot(null) : {}, this.size = 0;
6026
+ this.__data__ = zt ? zt(null) : {}, this.size = 0;
6029
6027
  }
6030
6028
  function hl(r) {
6031
6029
  var e = this.has(r) && delete this.__data__[r];
@@ -6034,7 +6032,7 @@ function hl(r) {
6034
6032
  var xl = "__lodash_hash_undefined__", vl = Object.prototype, gl = vl.hasOwnProperty;
6035
6033
  function ml(r) {
6036
6034
  var e = this.__data__;
6037
- if (Ot) {
6035
+ if (zt) {
6038
6036
  var t = e[r];
6039
6037
  return t === xl ? void 0 : t;
6040
6038
  }
@@ -6043,12 +6041,12 @@ function ml(r) {
6043
6041
  var _l = Object.prototype, Cl = _l.hasOwnProperty;
6044
6042
  function yl(r) {
6045
6043
  var e = this.__data__;
6046
- return Ot ? e[r] !== void 0 : Cl.call(e, r);
6044
+ return zt ? e[r] !== void 0 : Cl.call(e, r);
6047
6045
  }
6048
6046
  var bl = "__lodash_hash_undefined__";
6049
6047
  function wl(r, e) {
6050
6048
  var t = this.__data__;
6051
- return this.size += this.has(r) ? 0 : 1, t[r] = Ot && e === void 0 ? bl : e, this;
6049
+ return this.size += this.has(r) ? 0 : 1, t[r] = zt && e === void 0 ? bl : e, this;
6052
6050
  }
6053
6051
  function it(r) {
6054
6052
  var e = -1, t = r == null ? 0 : r.length;
@@ -6165,14 +6163,14 @@ function $l(r, e) {
6165
6163
  function jt(r) {
6166
6164
  return r != null && typeof r == "object";
6167
6165
  }
6168
- var Ol = "[object Arguments]";
6166
+ var zl = "[object Arguments]";
6169
6167
  function Go(r) {
6170
- return jt(r) && Ht(r) == Ol;
6168
+ return jt(r) && Ht(r) == zl;
6171
6169
  }
6172
- var d0 = Object.prototype, zl = d0.hasOwnProperty, Ml = d0.propertyIsEnumerable, Nl = Go(/* @__PURE__ */ function() {
6170
+ var d0 = Object.prototype, Ol = d0.hasOwnProperty, Ml = d0.propertyIsEnumerable, Nl = Go(/* @__PURE__ */ function() {
6173
6171
  return arguments;
6174
6172
  }()) ? Go : function(r) {
6175
- return jt(r) && zl.call(r, "callee") && !Ml.call(r, "callee");
6173
+ return jt(r) && Ol.call(r, "callee") && !Ml.call(r, "callee");
6176
6174
  }, En = Array.isArray;
6177
6175
  function Ll() {
6178
6176
  return !1;
@@ -6277,7 +6275,7 @@ function $u(r, e) {
6277
6275
  e[t] = r[t];
6278
6276
  return e;
6279
6277
  }
6280
- function Ou(r, e) {
6278
+ function zu(r, e) {
6281
6279
  for (var t = -1, n = r == null ? 0 : r.length, a = 0, s = []; ++t < n; ) {
6282
6280
  var i = r[t];
6283
6281
  e(i, t, r) && (s[a++] = i);
@@ -6287,8 +6285,8 @@ function Ou(r, e) {
6287
6285
  function C0() {
6288
6286
  return [];
6289
6287
  }
6290
- var zu = Object.prototype, Mu = zu.propertyIsEnumerable, ta = Object.getOwnPropertySymbols, Sn = ta ? function(r) {
6291
- return r == null ? [] : (r = Object(r), Ou(ta(r), function(e) {
6288
+ var Ou = Object.prototype, Mu = Ou.propertyIsEnumerable, ta = Object.getOwnPropertySymbols, Sn = ta ? function(r) {
6289
+ return r == null ? [] : (r = Object(r), zu(ta(r), function(e) {
6292
6290
  return Mu.call(r, e);
6293
6291
  }));
6294
6292
  } : C0;
@@ -6421,8 +6419,8 @@ var da = yt && yt.isMap, Dd = da ? An(da) : kd, Sd = "[object Set]";
6421
6419
  function Fd(r) {
6422
6420
  return jt(r) && Ue(r) == Sd;
6423
6421
  }
6424
- var fa = yt && yt.isSet, Id = fa ? An(fa) : Fd, Td = 1, Pd = 2, Rd = 4, A0 = "[object Arguments]", $d = "[object Array]", Od = "[object Boolean]", zd = "[object Date]", Md = "[object Error]", B0 = "[object Function]", Nd = "[object GeneratorFunction]", Ld = "[object Map]", Hd = "[object Number]", k0 = "[object Object]", Ud = "[object RegExp]", jd = "[object Set]", qd = "[object String]", Wd = "[object Symbol]", Vd = "[object WeakMap]", Kd = "[object ArrayBuffer]", Gd = "[object DataView]", Xd = "[object Float32Array]", Qd = "[object Float64Array]", Zd = "[object Int8Array]", Jd = "[object Int16Array]", Yd = "[object Int32Array]", ef = "[object Uint8Array]", tf = "[object Uint8ClampedArray]", rf = "[object Uint16Array]", nf = "[object Uint32Array]", ce = {};
6425
- ce[A0] = ce[$d] = ce[Kd] = ce[Gd] = ce[Od] = ce[zd] = ce[Xd] = ce[Qd] = ce[Zd] = ce[Jd] = ce[Yd] = ce[Ld] = ce[Hd] = ce[k0] = ce[Ud] = ce[jd] = ce[qd] = ce[Wd] = ce[ef] = ce[tf] = ce[rf] = ce[nf] = !0;
6422
+ var fa = yt && yt.isSet, Id = fa ? An(fa) : Fd, Td = 1, Pd = 2, Rd = 4, A0 = "[object Arguments]", $d = "[object Array]", zd = "[object Boolean]", Od = "[object Date]", Md = "[object Error]", B0 = "[object Function]", Nd = "[object GeneratorFunction]", Ld = "[object Map]", Hd = "[object Number]", k0 = "[object Object]", Ud = "[object RegExp]", jd = "[object Set]", qd = "[object String]", Wd = "[object Symbol]", Vd = "[object WeakMap]", Kd = "[object ArrayBuffer]", Gd = "[object DataView]", Xd = "[object Float32Array]", Qd = "[object Float64Array]", Zd = "[object Int8Array]", Jd = "[object Int16Array]", Yd = "[object Int32Array]", ef = "[object Uint8Array]", tf = "[object Uint8ClampedArray]", rf = "[object Uint16Array]", nf = "[object Uint32Array]", ce = {};
6423
+ ce[A0] = ce[$d] = ce[Kd] = ce[Gd] = ce[zd] = ce[Od] = ce[Xd] = ce[Qd] = ce[Zd] = ce[Jd] = ce[Yd] = ce[Ld] = ce[Hd] = ce[k0] = ce[Ud] = ce[jd] = ce[qd] = ce[Wd] = ce[ef] = ce[tf] = ce[rf] = ce[nf] = !0;
6426
6424
  ce[Md] = ce[B0] = ce[Vd] = !1;
6427
6425
  function Xt(r, e, t, n, a, s) {
6428
6426
  var i, l = e & Td, u = e & Pd, o = e & Rd;
@@ -6562,7 +6560,6 @@ const er = (r, e = "") => {
6562
6560
  }), { menus: a, originalMenus: s };
6563
6561
  }, uf = async (r) => {
6564
6562
  var d, h, p, g, x;
6565
- console.log("getMenuConfig===", r);
6566
6563
  let { microApp: e = null, menuCode: t = "", menuPath: n = "", route: a = {} } = r;
6567
6564
  const s = ((d = a.meta) == null ? void 0 : d.showLayout) ?? !0;
6568
6565
  let i = ((h = a.query) == null ? void 0 : h.showLayout) ?? !0;
@@ -6582,12 +6579,12 @@ const er = (r, e = "") => {
6582
6579
  var C;
6583
6580
  return {
6584
6581
  ...v,
6585
- name: ((C = Re(u).find((b) => b.code === v.code)) == null ? void 0 : C.name) ?? v.name
6582
+ name: ((C = Re(u).find((w) => w.code === v.code)) == null ? void 0 : C.name) ?? v.name
6586
6583
  };
6587
6584
  })) ?? [];
6588
6585
  if (f.length) {
6589
6586
  const v = f.filter(
6590
- (C) => t && t === C.code || n && n === `/${C.applicationPath}${C.path}`.replace(/\/\//g, "/") || Re(u).map((b) => b.code).includes(C.code)
6587
+ (C) => t && t === C.code || n && n === `/${C.applicationPath}${C.path}`.replace(/\/\//g, "/") || Re(u).map((w) => w.code).includes(C.code)
6591
6588
  );
6592
6589
  Ie([
6593
6590
  {
@@ -6633,7 +6630,7 @@ const er = (r, e = "") => {
6633
6630
  { key: "currentSubAppCode", value: l },
6634
6631
  { key: "subAppList", value: C }
6635
6632
  ]);
6636
- const b = {
6633
+ const w = {
6637
6634
  currentApplication: e.routeUrl,
6638
6635
  applicationPath: _.applicationPath,
6639
6636
  applicationCode: l,
@@ -6650,15 +6647,15 @@ const er = (r, e = "") => {
6650
6647
  },
6651
6648
  {
6652
6649
  key: "currentTab",
6653
- value: b
6650
+ value: w
6654
6651
  },
6655
6652
  {
6656
6653
  key: `tabMap:${l}`,
6657
- value: b
6654
+ value: w
6658
6655
  },
6659
6656
  {
6660
6657
  key: `preTab:${l}`,
6661
- value: b
6658
+ value: w
6662
6659
  }
6663
6660
  ]);
6664
6661
  }
@@ -6675,7 +6672,7 @@ const vf = async () => {
6675
6672
  }, gf = async () => {
6676
6673
  const r = Je() ? hf : pf, [e, t] = await r().run();
6677
6674
  return e ? { platformConfig: null } : { platformConfig: t };
6678
- }, mf = M(null), D0 = M({ style: 1, skinStyle: "default" }), _f = () => M(null), Cf = { class: "iframe-container" }, yf = ["src"], bf = /* @__PURE__ */ Ee({
6675
+ }, mf = M(null), D0 = M({ style: 1, skinStyle: "default" }), _f = () => M(null), Cf = { class: "iframe-container" }, yf = ["src"], bf = /* @__PURE__ */ we({
6679
6676
  __name: "index",
6680
6677
  props: {
6681
6678
  src: { default: "" }
@@ -6729,13 +6726,13 @@ const vf = async () => {
6729
6726
  key: "loginTip",
6730
6727
  message: ne("上次登录信息"),
6731
6728
  placement: "bottomRight",
6732
- description: ye("div", { class: "last-login-info" }, [
6733
- ye(
6729
+ description: Ce("div", { class: "last-login-info" }, [
6730
+ Ce(
6734
6731
  "div",
6735
6732
  { style: "font-size: 12px;color:#212121;margin-bottom:8px" },
6736
6733
  ne("时间:") + vs(l.lastModificationTime)
6737
6734
  ),
6738
- ye("div", { style: "font-size: 12px;color:#212121;" }, ne("IP地址:") + l.ip)
6735
+ Ce("div", { style: "font-size: 12px;color:#212121;" }, ne("IP地址:") + l.ip)
6739
6736
  ])
6740
6737
  }), sessionStorage.setItem("loginInfoTip", "true"));
6741
6738
  }, n = async () => {
@@ -6770,7 +6767,7 @@ const vf = async () => {
6770
6767
  const { entryMenu: r } = lr();
6771
6768
  Q.menu.addEventListener("onItemClick", async (e) => {
6772
6769
  var s;
6773
- console.log("子应用菜单点击了", e), ve.innerSet = !0;
6770
+ me.innerSet = !0;
6774
6771
  const t = Re(Yr(e.applicationCode)).filter((i) => !i.disable && !i.expired).find((i) => i.code === e.code);
6775
6772
  if (t && !t.routeUrl) return;
6776
6773
  if (!t) {
@@ -6790,7 +6787,7 @@ const vf = async () => {
6790
6787
  Q.nav.addEventListener("onItemClick", async (a) => {
6791
6788
  const s = de().currentSubAppCode ?? "";
6792
6789
  if (s !== a.code) {
6793
- if (console.log("切换应用====", a), s && Bi(s), !a.fixed && !await t(a))
6790
+ if (s && Bi(s), !a.fixed && !await t(a))
6794
6791
  throw new Error(ne("取消切换"));
6795
6792
  r(a);
6796
6793
  }
@@ -6798,7 +6795,6 @@ const vf = async () => {
6798
6795
  var o;
6799
6796
  const s = de();
6800
6797
  if (!((o = s.subAppList) != null && o.length) || s.subAppList.findIndex((c) => c.code === a.code) === -1) return;
6801
- console.log("删除应用====", a);
6802
6798
  const u = (De().tabMap[a.code] ?? []).map((c) => c.code);
6803
6799
  u && u.length && Gt(a.code, u), e(a);
6804
6800
  });
@@ -6810,17 +6806,17 @@ const vf = async () => {
6810
6806
  ke(
6811
6807
  () => r.currentRoute.value,
6812
6808
  async (p) => {
6813
- var C, b, E, A, k, B, y, w, D, S;
6809
+ var C, w, A, B, E, k, y, b, D, S;
6814
6810
  const g = ((C = p.meta) == null ? void 0 : C.showLayout) ?? !0;
6815
- let x = ((b = p.query) == null ? void 0 : b.showLayout) ?? !0;
6811
+ let x = ((w = p.query) == null ? void 0 : w.showLayout) ?? !0;
6816
6812
  if (x === "false" && (x = !1), !g || !x || p.path === a && Qn(p.query, s)) return;
6817
6813
  a = Yt(p.path), s = Yt(p.query);
6818
6814
  const m = de().currentSubAppCode ?? "";
6819
6815
  if (!m) return;
6820
- const f = ((E = p.query) == null ? void 0 : E.menu) ?? ((A = De()) == null ? void 0 : A.currentCode) ?? "";
6816
+ const f = ((A = p.query) == null ? void 0 : A.menu) ?? ((B = De()) == null ? void 0 : B.currentCode) ?? "";
6821
6817
  if (!f) return;
6822
6818
  const v = JSON.parse(sessionStorage.getItem("tabStyle") || "{}") || {};
6823
- JSON.stringify(v) !== "{}" && (e.value = (B = (k = v[m]) == null ? void 0 : k[f]) != null && B.fontColor ? v[m][f].fontColor : "", t.value = (w = (y = v[m]) == null ? void 0 : y[f]) != null && w.backgroundColor ? v[m][f].backgroundColor : "", n.value = (S = (D = v[m]) == null ? void 0 : D[f]) != null && S.backgroundColor ? v[m][f].backgroundColor : "");
6819
+ JSON.stringify(v) !== "{}" && (e.value = (k = (E = v[m]) == null ? void 0 : E[f]) != null && k.fontColor ? v[m][f].fontColor : "", t.value = (b = (y = v[m]) == null ? void 0 : y[f]) != null && b.backgroundColor ? v[m][f].backgroundColor : "", n.value = (S = (D = v[m]) == null ? void 0 : D[f]) != null && S.backgroundColor ? v[m][f].backgroundColor : "");
6824
6820
  }
6825
6821
  );
6826
6822
  const { deleteApp: i } = qt(), { entryMenu: l } = lr(), { reloadRoute: u, unloadRoute: o } = Tn(), c = (p) => {
@@ -6833,50 +6829,50 @@ const vf = async () => {
6833
6829
  g && g.length && o(g), p.forEach((x) => Q.iframeView.triggerEventListener("onUnloadPage", x.path));
6834
6830
  }, d = (p) => {
6835
6831
  const g = de().currentSubAppCode ?? "";
6836
- ve.innerSet = !0;
6837
- const x = De(), m = x.tabMap[g], f = m.findIndex((k) => k.code === p.data.code);
6832
+ me.innerSet = !0;
6833
+ const x = De(), m = x.tabMap[g], f = m.findIndex((E) => E.code === p.data.code);
6838
6834
  if (f === -1) return;
6839
6835
  const v = () => {
6840
6836
  var y;
6841
- let B = (((y = de().appcategorys) == null ? void 0 : y.map((w) => w.apps).flat()) ?? []).find((w) => w.code === g);
6842
- B = { ...B, value: B.code, label: B.name }, i(B), Q.nav.removeItem(g);
6837
+ let k = (((y = de().appcategorys) == null ? void 0 : y.map((b) => b.apps).flat()) ?? []).find((b) => b.code === g);
6838
+ k = { ...k, value: k.code, label: k.name }, i(k), Q.nav.removeItem(g);
6843
6839
  };
6844
6840
  ({
6845
- me: async (k) => {
6841
+ me: async (E) => {
6846
6842
  if (m.length === 1) {
6847
6843
  v();
6848
6844
  return;
6849
6845
  }
6850
- const B = x.currentCode;
6846
+ const k = x.currentCode;
6851
6847
  let y = null;
6852
- B === k.value && (f + 1 === m.length ? m[f - 1] && (y = m[f - 1]) : m[f + 1] && (y = m[f + 1])), m.splice(f, 1), _([k]), Ie([{ key: `tabMap:${g}`, value: m }]), y ? c(y) : Ie([{ key: `preTab:${g}`, value: {} }]);
6848
+ k === E.value && (f + 1 === m.length ? m[f - 1] && (y = m[f - 1]) : m[f + 1] && (y = m[f + 1])), m.splice(f, 1), _([E]), Ie([{ key: `tabMap:${g}`, value: m }]), y ? c(y) : Ie([{ key: `preTab:${g}`, value: {} }]);
6853
6849
  },
6854
6850
  all: v,
6855
- other: async (k) => {
6856
- const B = m[f];
6851
+ other: async (E) => {
6852
+ const k = m[f];
6857
6853
  await r.push({
6858
- path: `/${B.applicationPath}${B.path}`.replace(/\/\//g, "/"),
6859
- query: B.query
6860
- }), Q.menu.setActiveItem(B.menuId), Q.tab.setActiveItem(B.code);
6861
- const y = m.filter((w) => w.code !== k.value);
6862
- y.forEach((w) => Q.tab.removeItem(w.code)), _(y), Ie([{ key: `tabMap:${g}`, value: [B] }]), c(B);
6854
+ path: `/${k.applicationPath}${k.path}`.replace(/\/\//g, "/"),
6855
+ query: k.query
6856
+ }), Q.menu.setActiveItem(k.menuId), Q.tab.setActiveItem(k.code);
6857
+ const y = m.filter((b) => b.code !== E.value);
6858
+ y.forEach((b) => Q.tab.removeItem(b.code)), _(y), Ie([{ key: `tabMap:${g}`, value: [k] }]), c(k);
6863
6859
  },
6864
- right: async (k) => {
6865
- const B = x.currentCode;
6866
- if (B !== k.value && m.findIndex((D) => D.code === B) > f) {
6860
+ right: async (E) => {
6861
+ const k = x.currentCode;
6862
+ if (k !== E.value && m.findIndex((D) => D.code === k) > f) {
6867
6863
  const D = m[f];
6868
6864
  c(D);
6869
6865
  }
6870
6866
  const y = m.slice(f + 1);
6871
- y.forEach((w) => Q.tab.removeItem(w.code)), _(y), m.splice(f + 1), Ie([{ key: `tabMap:${g}`, value: m }]);
6867
+ y.forEach((b) => Q.tab.removeItem(b.code)), _(y), m.splice(f + 1), Ie([{ key: `tabMap:${g}`, value: m }]);
6872
6868
  }
6873
6869
  })[p.type](p.data);
6874
6870
  };
6875
6871
  Q.tab.addEventListener("onItemClick", async (p) => {
6876
- De().currentCode !== p.currentCode && (console.log("切换tab", p), ve.innerSet = !0, c(p));
6872
+ De().currentCode !== p.currentCode && (me.innerSet = !0, c(p));
6877
6873
  }), Q.tab.addEventListener("onItemRemove", (p) => {
6878
6874
  const g = De(), x = de().currentSubAppCode ?? "";
6879
- g.tabMap[x].findIndex((v) => v.code === p.code) !== -1 && (console.log("删除tab", p), Gt(p.applicationCode, [p.code]), d({ type: "me", data: p }));
6875
+ g.tabMap[x].findIndex((v) => v.code === p.code) !== -1 && (Gt(p.applicationCode, [p.code]), d({ type: "me", data: p }));
6880
6876
  }), Q.tab.addEventListener("onMenuClick", (p) => {
6881
6877
  let g = [];
6882
6878
  const x = De().tabMap[p.applicationCode] ?? [];
@@ -6889,7 +6885,7 @@ const vf = async () => {
6889
6885
  g.map((m) => m.code)
6890
6886
  ), d({ type: p.type.key, data: p.data });
6891
6887
  }), Q.tab.addEventListener("onPageRefresh", async (p) => {
6892
- if (console.log("刷新tab===", p), !p) return;
6888
+ if (!p) return;
6893
6889
  if (p.path.startsWith(ot)) {
6894
6890
  Q.iframeView.triggerEventListener("onRefreshCurrentPage");
6895
6891
  return;
@@ -6917,9 +6913,9 @@ const vf = async () => {
6917
6913
  const h = d.code ?? "", g = (de().subAppList ?? []).find((C) => C.code === h);
6918
6914
  let x = [], m = [], f = !1;
6919
6915
  if (g && (x = g.menus ?? []), !x.length) {
6920
- const { menus: C, originalMenus: b, err: E } = await In(h);
6921
- if (E) return !1;
6922
- x = C ?? [], m = b ?? [];
6916
+ const { menus: C, originalMenus: w, err: A } = await In(h);
6917
+ if (A) return !1;
6918
+ x = C ?? [], m = w ?? [];
6923
6919
  }
6924
6920
  if (x.length ? er(x) || (await Jt({
6925
6921
  title: ne("提示"),
@@ -6930,7 +6926,6 @@ const vf = async () => {
6930
6926
  }, o = async (d) => {
6931
6927
  var D, S, L, H, W;
6932
6928
  const { microApp: h = null, menuCode: p = "", menuPath: g = "", route: x = {} } = d;
6933
- console.log("entryApp===111", d);
6934
6929
  let m = x;
6935
6930
  if (!h && g) {
6936
6931
  if (l(), !(i && i.find((U) => g.startsWith("/" + U) || g.startsWith(U)))) return;
@@ -6940,7 +6935,7 @@ const vf = async () => {
6940
6935
  const f = ((D = m.meta) == null ? void 0 : D.showLayout) ?? !0;
6941
6936
  let v = ((S = m.query) == null ? void 0 : S.showLayout) ?? !0;
6942
6937
  v === "false" && (v = !1);
6943
- const C = (h == null ? void 0 : h.openType) ?? 1, b = (h == null ? void 0 : h.type) ?? 1;
6938
+ const C = (h == null ? void 0 : h.openType) ?? 1, w = (h == null ? void 0 : h.type) ?? 1;
6944
6939
  if (h.routeUrl && !i.includes(h.routeUrl)) {
6945
6940
  o0({
6946
6941
  appCode: h.code,
@@ -6958,17 +6953,17 @@ const vf = async () => {
6958
6953
  await r.push({ path: h.routeUrl, query: { ...m.query, app: h.code } });
6959
6954
  return;
6960
6955
  }
6961
- if (C === 1 && b === 2) {
6956
+ if (C === 1 && w === 2) {
6962
6957
  const j = await Ya(h.routeUrl, (h == null ? void 0 : h.param) ?? []), G = nn(en(tn(j))), T = `${ot}-${h.code}`;
6963
- if (!r.options.routes.find((R) => R.path === T)) {
6964
- const R = {
6958
+ if (!r.options.routes.find((P) => P.path === T)) {
6959
+ const P = {
6965
6960
  path: T,
6966
- component: ye(ln, {
6961
+ component: Ce(ln, {
6967
6962
  src: G
6968
6963
  }),
6969
6964
  meta: { isIframe: !0, keepAlive: !0 }
6970
6965
  };
6971
- r.addRoute(R), r.options.routes.push(R);
6966
+ r.addRoute(P), r.options.routes.push(P);
6972
6967
  }
6973
6968
  await r.push({
6974
6969
  path: T,
@@ -6981,30 +6976,30 @@ const vf = async () => {
6981
6976
  }
6982
6977
  }
6983
6978
  const {
6984
- menuConfig: E = [],
6985
- currentApp: A = null,
6986
- currentMenu: k = null,
6987
- microPath: B = "",
6979
+ menuConfig: A = [],
6980
+ currentApp: B = null,
6981
+ currentMenu: E = null,
6982
+ microPath: k = "",
6988
6983
  query: y = {}
6989
6984
  } = await uf({ microApp: h, menuCode: p, menuPath: g, route: m });
6990
- if (console.log("currentApp=====", A), console.log("currentMenu=====", k), console.log("microPath=====", B), console.log("query=====", y), k && (m = {
6991
- path: B || `/${k.applicationPath}${k.routeUrl}`.replace(/\/\//g, "/"),
6992
- query: { ...y, app: k.applicationCode, menu: k.code },
6985
+ if (E && (m = {
6986
+ path: k || `/${E.applicationPath}${E.routeUrl}`.replace(/\/\//g, "/"),
6987
+ query: { ...y, app: E.applicationCode, menu: E.code },
6993
6988
  meta: { ...(m == null ? void 0 : m.meta) ?? {} }
6994
- }), A && (A == null ? void 0 : A.code) !== (h == null ? void 0 : h.code)) {
6995
- if (A.fixed && (await r.push(A.path), l(), Q.nav.setActiveItem(A.path)), !A.fixed) {
6996
- const q = (H = de().subAppList) == null ? void 0 : H.find((G) => G.code === A.code), U = De().preTab[A.code], j = { ...(U == null ? void 0 : U.query) ?? {} };
6989
+ }), B && (B == null ? void 0 : B.code) !== (h == null ? void 0 : h.code)) {
6990
+ if (B.fixed && (await r.push(B.path), l(), Q.nav.setActiveItem(B.path)), !B.fixed) {
6991
+ const q = (H = de().subAppList) == null ? void 0 : H.find((G) => G.code === B.code), U = De().preTab[B.code], j = { ...(U == null ? void 0 : U.query) ?? {} };
6997
6992
  await o({ microApp: q, menuCode: (U == null ? void 0 : U.code) ?? "", route: { query: j } });
6998
6993
  }
6999
6994
  return;
7000
6995
  }
7001
- const w = A || h;
7002
- if (!k && g) {
6996
+ const b = B || h;
6997
+ if (!E && g) {
7003
6998
  await r.push({
7004
6999
  path: g,
7005
7000
  query: {
7006
7001
  ...m.query,
7007
- app: w.code
7002
+ app: b.code
7008
7003
  }
7009
7004
  });
7010
7005
  return;
@@ -7013,8 +7008,8 @@ const vf = async () => {
7013
7008
  (W = de().subAppList) == null || W.forEach((U) => {
7014
7009
  const j = { ...U, value: U.code, label: U.name };
7015
7010
  Q.nav.appendItem(j);
7016
- }), Q.nav.setActiveItem(w.code), Q.menu.setItems(E);
7017
- const q = De().tabMap[w.code] ?? [];
7011
+ }), Q.nav.setActiveItem(b.code), Q.menu.setItems(A);
7012
+ const q = De().tabMap[b.code] ?? [];
7018
7013
  if (q.length) {
7019
7014
  const U = q.map((j) => ({
7020
7015
  ...j,
@@ -7025,10 +7020,10 @@ const vf = async () => {
7025
7020
  } else
7026
7021
  Q.tab.setItems([]);
7027
7022
  }
7028
- e({ currentMenu: k, microPath: B, route: m });
7023
+ e({ currentMenu: E, microPath: k, route: m });
7029
7024
  }, c = async (d) => {
7030
7025
  var h;
7031
- if (ve.innerSet = !0, d.fixed) {
7026
+ if (me.innerSet = !0, d.fixed) {
7032
7027
  await r.push(d.path), Q.menu.setItems([]), Q.tab.setItems([]), Q.nav.setActiveItem(d.path), Qe([
7033
7028
  { key: "currentSubAppCode", value: "" },
7034
7029
  { key: "currentSubApp", value: {} }
@@ -7080,7 +7075,6 @@ const vf = async () => {
7080
7075
  let { mainAppName: e = "", microAppName: t = "", microApps: n = [] } = wt();
7081
7076
  return !e && t && (n = [{ name: t }]), n.map((s) => s.name), { entryMenu: async (s) => {
7082
7077
  var g;
7083
- console.log("entryMenu===111", s);
7084
7078
  const { currentMenu: i, route: l = {}, microPath: u = "" } = s;
7085
7079
  if (!i) return;
7086
7080
  let o = { ...l.query, app: i.applicationCode, menu: i.code };
@@ -7094,7 +7088,7 @@ const vf = async () => {
7094
7088
  const m = {
7095
7089
  path: d,
7096
7090
  name: d,
7097
- component: ye(ln, {
7091
+ component: Ce(ln, {
7098
7092
  src: x
7099
7093
  }),
7100
7094
  meta: { isIframe: !0, keepAlive: !0 }
@@ -7109,7 +7103,7 @@ const vf = async () => {
7109
7103
  const f = {
7110
7104
  path: d,
7111
7105
  name: d,
7112
- component: ye(ln, {
7106
+ component: Ce(ln, {
7113
7107
  src: m
7114
7108
  }),
7115
7109
  meta: { isIframe: !0, keepAlive: !0 }
@@ -7120,7 +7114,7 @@ const vf = async () => {
7120
7114
  }
7121
7115
  if (c === 2) {
7122
7116
  let x = _ === 1 ? `/${i.applicationPath}${i.routeUrl}`.replace(/\/\//g, "/") : i.routeUrl;
7123
- x = nn(en(tn(x))), ve.innerSet ? (d = Ma, await r.push({ path: d, query: o }), x && window.open(x, "_blank")) : _ === 1 && (d = x, o = { ...o, showLayout: !1 }, await r.push({
7117
+ x = nn(en(tn(x))), me.innerSet ? (d = Ma, await r.push({ path: d, query: o }), x && window.open(x, "_blank")) : _ === 1 && (d = x, o = { ...o, showLayout: !1 }, await r.push({
7124
7118
  path: d,
7125
7119
  query: o
7126
7120
  }));
@@ -7169,12 +7163,12 @@ const vf = async () => {
7169
7163
  }
7170
7164
  } };
7171
7165
  }, Tn = () => ({ reloadRoute: (t) => {
7172
- ve.excludeRoutes = Array.from(/* @__PURE__ */ new Set([...ve.excludeRoutes, ...t])), ve.routeKeepAliveVisible = !1, setTimeout(() => {
7173
- ve.routeKeepAliveVisible = !0, ve.excludeRoutes = [];
7166
+ me.excludeRoutes = Array.from(/* @__PURE__ */ new Set([...me.excludeRoutes, ...t])), me.routeKeepAliveVisible = !1, setTimeout(() => {
7167
+ me.routeKeepAliveVisible = !0, me.excludeRoutes = [];
7174
7168
  }, 300);
7175
7169
  }, unloadRoute: (t) => {
7176
- ve.excludeRoutes = Array.from(/* @__PURE__ */ new Set([...ve.excludeRoutes, ...t])), ve.routeKeepAliveVisible = !1, console.log("first-layoutStore.excludeRoutes", ve.excludeRoutes), setTimeout(() => {
7177
- ve.excludeRoutes = [], ve.routeKeepAliveVisible = !0, console.log("last-layoutStore.excludeRoutes", ve.excludeRoutes);
7170
+ me.excludeRoutes = Array.from(/* @__PURE__ */ new Set([...me.excludeRoutes, ...t])), me.routeKeepAliveVisible = !1, setTimeout(() => {
7171
+ me.excludeRoutes = [], me.routeKeepAliveVisible = !0;
7178
7172
  }, 100);
7179
7173
  } }), Sf = () => {
7180
7174
  const r = ks(), e = _f(), t = wt(), n = async () => {
@@ -7251,8 +7245,8 @@ const vf = async () => {
7251
7245
  if (r != null && r.ssoLocale)
7252
7246
  v = `http://127.0.0.1:5000/oauth/refreshOauthToken?tenantId=${l}`;
7253
7247
  else {
7254
- const [C, b] = await If().run();
7255
- b != null && b.loginHost && (v = `${b.loginHost}/oauth/refreshOauthToken?tenantId=${l}`);
7248
+ const [C, w] = await If().run();
7249
+ w != null && w.loginHost && (v = `${w.loginHost}/oauth/refreshOauthToken?tenantId=${l}`);
7256
7250
  }
7257
7251
  if (v) {
7258
7252
  const C = document.createElement("iframe");
@@ -7281,14 +7275,14 @@ const vf = async () => {
7281
7275
  toApp: (n) => {
7282
7276
  let a = n.startsWith("/") ? `http://example.com${n}` : `http://example.com/${n}`;
7283
7277
  const s = new URL(a), i = new URLSearchParams(s.search), l = i.get("app"), u = i.get("menu");
7284
- if (console.log("appCode-menuCode", l, u), u && l) {
7278
+ if (u && l) {
7285
7279
  const _ = ((de().appcategorys ?? []).map((d) => d.apps).flat() ?? []).find((d) => d.code === l);
7286
7280
  if (!_) return;
7287
7281
  e({ microApp: _, menuCode: u });
7288
7282
  }
7289
7283
  }
7290
7284
  };
7291
- }, ve = ba({
7285
+ }, me = ba({
7292
7286
  /** 菜单或者应用跳转是否通过触发界面调用的 */
7293
7287
  innerSet: !1,
7294
7288
  excludeRoutes: [],
@@ -7320,54 +7314,50 @@ const $f = (r) => {
7320
7314
  const { toPath: l = "", params: u = {} } = i || {};
7321
7315
  let o = "实例", c = !1;
7322
7316
  const { instanceInfo: _ } = await Rf();
7323
- if (console.log("instanceInfo===", _), _) {
7317
+ if (_) {
7324
7318
  const g = ms(_.endTime) || _.endTime == 0 || _.endTime === 253370736e6 || _.endTime === "253370736000000" ? "-" : Number(_.endTime);
7325
- c = rn().endOf("day") > rn(g).endOf("day"), c || (o = _.instanceName ?? "实例"), console.log("menuName===", o);
7319
+ c = rn().endOf("day") > rn(g).endOf("day"), c || (o = _.instanceName ?? "实例");
7326
7320
  }
7327
7321
  a({ menuName: o });
7328
7322
  const { clickSource: d = "", isFirstEnter: h = !1 } = u, p = Jn(null, { menuCode: "iot.statisticalReport" });
7329
- console.log("params===", u), console.log("hasStatisticalReportMenuAuth===", p), d === "nav" && h && l.toLowerCase() === t.toLowerCase() && _.id && !c && p && await Zn({
7323
+ d === "nav" && h && l.toLowerCase() === t.toLowerCase() && _.id && !c && p && await Zn({
7330
7324
  manual: !0,
7331
7325
  path: n
7332
7326
  });
7333
7327
  };
7334
- return we.addEventListenerFromMicroApp("iot:change-instance", (i) => {
7335
- console.log("e====", i);
7328
+ return be.addEventListenerFromMicroApp("iot:change-instance", (i) => {
7336
7329
  const { instanceInfo: l } = i.data || {};
7337
7330
  a({ menuName: l.instanceName }), Jn(null, { menuCode: "iot.statisticalReport" }) && Zn({
7338
7331
  manual: !0,
7339
7332
  path: n
7340
7333
  });
7341
7334
  }), { routerBeforEnter: s };
7342
- }, un = $a("microApp"), { routerBeforEnter: Of } = $f({ microAppBus: un }), zf = () => {
7335
+ }, un = $a("microApp"), { routerBeforEnter: zf } = $f({ microAppBus: un }), Of = () => {
7343
7336
  const { unloadRoute: r } = Tn();
7344
7337
  un.event.on("unmountPage", (e) => {
7345
7338
  var n;
7346
7339
  const t = (n = e == null ? void 0 : e.urls) != null && n.length ? e.urls : e.url ? Array.isArray(e.url) ? e.url : [e.url] : [];
7347
- console.log("子应用接收====", t), t.length && r(t);
7340
+ t.length && r(t);
7348
7341
  }), un.event.on("beforeEnter", async (e) => {
7349
- console.log("即将进入子应用--params: ", e);
7350
7342
  const t = String((e == null ? void 0 : e.toPath) || "").trim().split("?")[0].split("#")[0];
7351
- console.log("toPath: ", t);
7352
7343
  try {
7353
- t && t.startsWith("/iot/iot") && (console.log("进入 设备接入 应用"), Of({ toPath: t, params: e }));
7354
- } catch (n) {
7355
- console.error("[子应用] beforeEnter reportRouter failed:", n);
7344
+ t && t.startsWith("/iot/iot") && zf({ toPath: t, params: e });
7345
+ } catch {
7356
7346
  }
7357
7347
  });
7358
7348
  }, Mf = () => {
7359
- we.addEventListenerFromMicroApp("iot:change-instance", (r) => {
7349
+ be.addEventListenerFromMicroApp("iot:change-instance", (r) => {
7360
7350
  });
7361
7351
  }, Nf = () => {
7362
- we.addEventListenerFromMicroApp("devicePanelShow", (r) => {
7352
+ be.addEventListenerFromMicroApp("devicePanelShow", (r) => {
7363
7353
  const { deviceId: e = "", panelCode: t = "", deviceName: n = "", x: a = 0, y: s = 0, isCenter: i = !1 } = r.data;
7364
- Oa(e, t, n, a, s, i);
7365
- }), we.addEventListenerFromMicroApp("closeDevicePanel", (r) => {
7354
+ za(e, t, n, a, s, i);
7355
+ }), be.addEventListenerFromMicroApp("closeDevicePanel", (r) => {
7366
7356
  Fs();
7367
- }), we.addEventListenerFromMicroApp("alarmDevicePanelShow", (r) => {
7357
+ }), be.addEventListenerFromMicroApp("alarmDevicePanelShow", (r) => {
7368
7358
  const { deviceId: e = "", panelCode: t = "", alarmTime: n = "" } = r.data;
7369
7359
  Is(e, t, n);
7370
- }), we.addEventListenerFromMicroApp("closeAlarmPanel", (r) => {
7360
+ }), be.addEventListenerFromMicroApp("closeAlarmPanel", (r) => {
7371
7361
  Ts();
7372
7362
  });
7373
7363
  }, Lf = nr.get("/platform/login/pwd-advance-notify-check"), Hf = () => {
@@ -7383,7 +7373,7 @@ const $f = (r) => {
7383
7373
  await Lf().run();
7384
7374
  },
7385
7375
  message: async (i) => {
7386
- if (we.sendMessageToMicroApp("enterpriseadmin/messagecenter", "message-notify:message", { msgList: i }), window.self !== window.top) return;
7376
+ if (be.sendMessageToMicroApp("enterpriseadmin/messagecenter", "message-notify:message", { msgList: i }), window.self !== window.top) return;
7387
7377
  const u = Ze().id;
7388
7378
  r.value = i.filter(
7389
7379
  (o) => o.projectId === u || o.projectId === 0 || o.projectId === "0"
@@ -7393,16 +7383,16 @@ const $f = (r) => {
7393
7383
  class: "message-center-notify",
7394
7384
  message: o.title,
7395
7385
  top: "55px",
7396
- description: ye("div", {}, [
7386
+ description: Ce("div", {}, [
7397
7387
  // 标题
7398
- ye("div", { class: "custom-title" }, [
7399
- ye(Ps, { customSize: 24, iconColor: "#5582f3" }),
7400
- ye("div", { class: "title" }, o.title)
7388
+ Ce("div", { class: "custom-title" }, [
7389
+ Ce(Ps, { customSize: 24, iconColor: "#5582f3" }),
7390
+ Ce("div", { class: "title" }, o.title)
7401
7391
  ]),
7402
7392
  // 内容
7403
- ye("div", { class: "custom-content" }, o.content),
7393
+ Ce("div", { class: "custom-content" }, o.content),
7404
7394
  // 底部按钮(更新密码提示则无需按钮)
7405
- o.code !== "passwordupdate" ? ye(
7395
+ o.code !== "passwordupdate" ? Ce(
7406
7396
  "div",
7407
7397
  {
7408
7398
  class: "footer-btn",
@@ -7440,7 +7430,7 @@ function ha(r) {
7440
7430
  function Vf(r) {
7441
7431
  return I0.post(`/url/preview?${T0(r)}`)().run();
7442
7432
  }
7443
- const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7433
+ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ we({
7444
7434
  __name: "GridItem",
7445
7435
  props: {
7446
7436
  active: { type: Boolean },
@@ -7474,7 +7464,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7474
7464
  /* CLASS, NEED_HYDRATION */
7475
7465
  ));
7476
7466
  }
7477
- }), Xf = /* @__PURE__ */ Le(Gf, [["__scopeId", "data-v-68946aef"]]), Qf = { class: "layout-wrapper" }, Zf = /* @__PURE__ */ Ee({
7467
+ }), Xf = /* @__PURE__ */ Le(Gf, [["__scopeId", "data-v-68946aef"]]), Qf = { class: "layout-wrapper" }, Zf = /* @__PURE__ */ we({
7478
7468
  __name: "GridLayout",
7479
7469
  props: {
7480
7470
  gridNum: {},
@@ -7510,7 +7500,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7510
7500
  ))
7511
7501
  ]));
7512
7502
  }
7513
- }), Jf = /* @__PURE__ */ Le(Zf, [["__scopeId", "data-v-22baf4d8"]]), Yf = /* @__PURE__ */ Ee({
7503
+ }), Jf = /* @__PURE__ */ Le(Zf, [["__scopeId", "data-v-22baf4d8"]]), Yf = /* @__PURE__ */ we({
7514
7504
  __name: "DirectionControl",
7515
7505
  emits: ["change"],
7516
7506
  setup(r, { emit: e }) {
@@ -7521,7 +7511,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7521
7511
  "div",
7522
7512
  {
7523
7513
  class: "direction-control",
7524
- onDblclick: s[9] || (s[9] = ge((i) => i.stopPropagation(), ["stop"]))
7514
+ onDblclick: s[9] || (s[9] = ve((i) => i.stopPropagation(), ["stop"]))
7525
7515
  },
7526
7516
  [
7527
7517
  Z(F(Ae), {
@@ -7530,7 +7520,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7530
7520
  default: X(() => [
7531
7521
  K("div", {
7532
7522
  class: "icon icon-top-left",
7533
- onClick: s[0] || (s[0] = ge((i) => n("leftUp"), ["stop"]))
7523
+ onClick: s[0] || (s[0] = ve((i) => n("leftUp"), ["stop"]))
7534
7524
  })
7535
7525
  ]),
7536
7526
  _: 1
@@ -7542,7 +7532,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7542
7532
  default: X(() => [
7543
7533
  K("div", {
7544
7534
  class: "icon icon-top",
7545
- onClick: s[1] || (s[1] = ge((i) => n("up"), ["stop"]))
7535
+ onClick: s[1] || (s[1] = ve((i) => n("up"), ["stop"]))
7546
7536
  })
7547
7537
  ]),
7548
7538
  _: 1
@@ -7554,7 +7544,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7554
7544
  default: X(() => [
7555
7545
  K("div", {
7556
7546
  class: "icon icon-top-right",
7557
- onClick: s[2] || (s[2] = ge((i) => n("rightUp"), ["stop"]))
7547
+ onClick: s[2] || (s[2] = ve((i) => n("rightUp"), ["stop"]))
7558
7548
  })
7559
7549
  ]),
7560
7550
  _: 1
@@ -7566,7 +7556,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7566
7556
  default: X(() => [
7567
7557
  K("div", {
7568
7558
  class: "icon icon-left",
7569
- onClick: s[3] || (s[3] = ge((i) => n("left"), ["stop"]))
7559
+ onClick: s[3] || (s[3] = ve((i) => n("left"), ["stop"]))
7570
7560
  })
7571
7561
  ]),
7572
7562
  _: 1
@@ -7578,7 +7568,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7578
7568
  default: X(() => [
7579
7569
  K("div", {
7580
7570
  class: "icon icon-auto",
7581
- onClick: s[4] || (s[4] = ge((i) => n("auto"), ["stop"]))
7571
+ onClick: s[4] || (s[4] = ve((i) => n("auto"), ["stop"]))
7582
7572
  })
7583
7573
  ]),
7584
7574
  _: 1
@@ -7590,7 +7580,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7590
7580
  default: X(() => [
7591
7581
  K("div", {
7592
7582
  class: "icon icon-right",
7593
- onClick: s[5] || (s[5] = ge((i) => n("right"), ["stop"]))
7583
+ onClick: s[5] || (s[5] = ve((i) => n("right"), ["stop"]))
7594
7584
  })
7595
7585
  ]),
7596
7586
  _: 1
@@ -7602,7 +7592,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7602
7592
  default: X(() => [
7603
7593
  K("div", {
7604
7594
  class: "icon icon-bottom-left",
7605
- onClick: s[6] || (s[6] = ge((i) => n("leftDown"), ["stop"]))
7595
+ onClick: s[6] || (s[6] = ve((i) => n("leftDown"), ["stop"]))
7606
7596
  })
7607
7597
  ]),
7608
7598
  _: 1
@@ -7614,7 +7604,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7614
7604
  default: X(() => [
7615
7605
  K("div", {
7616
7606
  class: "icon icon-bottom",
7617
- onClick: s[7] || (s[7] = ge((i) => n("down"), ["stop"]))
7607
+ onClick: s[7] || (s[7] = ve((i) => n("down"), ["stop"]))
7618
7608
  })
7619
7609
  ]),
7620
7610
  _: 1
@@ -7626,7 +7616,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7626
7616
  default: X(() => [
7627
7617
  K("div", {
7628
7618
  class: "icon icon-bottom-right",
7629
- onClick: s[8] || (s[8] = ge((i) => n("rightDown"), ["stop"]))
7619
+ onClick: s[8] || (s[8] = ve((i) => n("rightDown"), ["stop"]))
7630
7620
  })
7631
7621
  ]),
7632
7622
  _: 1
@@ -7640,7 +7630,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7640
7630
  }), ep = /* @__PURE__ */ Le(Yf, [["__scopeId", "data-v-83a64a40"]]), tp = { class: "video-wrapper" }, rp = { class: "video-top" }, np = { class: "video-top_l" }, op = { class: "video-title-wrapper" }, ap = { class: "video-title" }, sp = { class: "video-top_r" }, ip = {
7641
7631
  key: 0,
7642
7632
  class: "play-status"
7643
- }, cp = { class: "video-bottom" }, lp = { class: "video-bottom_r" }, up = /* @__PURE__ */ Ee({
7633
+ }, cp = { class: "video-bottom" }, lp = { class: "video-bottom_r" }, up = /* @__PURE__ */ we({
7644
7634
  __name: "index",
7645
7635
  props: {
7646
7636
  videoUrl: {},
@@ -7654,7 +7644,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7654
7644
  },
7655
7645
  emits: ["close", "directionControl", "zoomControl"],
7656
7646
  setup(r, { emit: e }) {
7657
- za({
7647
+ Oa({
7658
7648
  muted: import("@das-fed/upf-ui/packages/icons/muted"),
7659
7649
  volume: import("@das-fed/upf-ui/packages/icons/volume"),
7660
7650
  screenshot: import("@das-fed/upf-ui/packages/icons/screenshot"),
@@ -7667,7 +7657,6 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7667
7657
  return (v = l.value) == null ? void 0 : v.video;
7668
7658
  }), o = M(!1), c = M(!0), _ = (v) => {
7669
7659
  s.value = v, s.value.on(window.mpegts.Events.ERROR, (C) => {
7670
- console.log("player error", C);
7671
7660
  });
7672
7661
  }, d = () => {
7673
7662
  a.value = !a.value, s.value && (s.value.muted = a.value);
@@ -7679,10 +7668,10 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7679
7668
  v.width = u.value.clientWidth, v.height = u.value.clientHeight;
7680
7669
  const C = v.getContext("2d");
7681
7670
  C == null || C.drawImage(u.value, 0, 0, v.width, v.height);
7682
- const b = v.toDataURL("image/jpg"), E = `【${t.title}】${rn().format("YYYYMMDDHHmmss").toString()}.jpg`;
7683
- if (p.value = b, "download" in document.createElement("a")) {
7684
- const A = document.createElement("a");
7685
- A.download = E, A.style.display = "none", A.href = b, document.body.appendChild(A), document.body.appendChild(v), A.click(), URL.revokeObjectURL(A.href), document.body.removeChild(A), document.body.removeChild(v);
7671
+ const w = v.toDataURL("image/jpg"), A = `【${t.title}】${rn().format("YYYYMMDDHHmmss").toString()}.jpg`;
7672
+ if (p.value = w, "download" in document.createElement("a")) {
7673
+ const B = document.createElement("a");
7674
+ B.download = A, B.style.display = "none", B.href = w, document.body.appendChild(B), document.body.appendChild(v), B.click(), URL.revokeObjectURL(B.href), document.body.removeChild(B), document.body.removeChild(v);
7686
7675
  }
7687
7676
  }
7688
7677
  }, x = (v) => {
@@ -7783,7 +7772,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7783
7772
  "div",
7784
7773
  {
7785
7774
  class: "controls",
7786
- onDblclick: C[2] || (C[2] = ge((b) => b.stopPropagation(), ["stop"]))
7775
+ onDblclick: C[2] || (C[2] = ve((w) => w.stopPropagation(), ["stop"]))
7787
7776
  },
7788
7777
  [
7789
7778
  Z(F(Ae), {
@@ -7793,7 +7782,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7793
7782
  Z(F(vt), {
7794
7783
  class: "icon icon-volume",
7795
7784
  icon: a.value ? "muted" : "volume",
7796
- onClick: ge(d, ["stop"])
7785
+ onClick: ve(d, ["stop"])
7797
7786
  }, null, 8, ["icon"])
7798
7787
  ]),
7799
7788
  _: 1
@@ -7806,7 +7795,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7806
7795
  Z(F(vt), {
7807
7796
  class: "icon icon-screenshot",
7808
7797
  icon: "screenshot",
7809
- onClick: ge(g, ["stop"])
7798
+ onClick: ve(g, ["stop"])
7810
7799
  })
7811
7800
  ]),
7812
7801
  _: 1
@@ -7821,7 +7810,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7821
7810
  key: 0,
7822
7811
  class: "icon icon-shrink",
7823
7812
  icon: "shrink",
7824
- onClick: C[0] || (C[0] = ge((b) => m("zoomOut"), ["stop"]))
7813
+ onClick: C[0] || (C[0] = ve((w) => m("zoomOut"), ["stop"]))
7825
7814
  })) : oe("v-if", !0)
7826
7815
  ]),
7827
7816
  _: 1
@@ -7836,7 +7825,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7836
7825
  key: 0,
7837
7826
  class: "icon icon-enlarge",
7838
7827
  icon: "enlarge",
7839
- onClick: C[1] || (C[1] = ge((b) => m("zoomIn"), ["stop"]))
7828
+ onClick: C[1] || (C[1] = ve((w) => m("zoomIn"), ["stop"]))
7840
7829
  })) : oe("v-if", !0)
7841
7830
  ]),
7842
7831
  _: 1
@@ -7851,7 +7840,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7851
7840
  key: 0,
7852
7841
  class: "icon icon-direction-control",
7853
7842
  icon: "direction-control",
7854
- onClick: ge(h, ["stop"])
7843
+ onClick: ve(h, ["stop"])
7855
7844
  })) : oe("v-if", !0)
7856
7845
  ]),
7857
7846
  _: 1
@@ -7873,7 +7862,7 @@ const Kf = jf.post("data/device-auth"), Gf = /* @__PURE__ */ Ee({
7873
7862
  }, 8, ["spinning"])
7874
7863
  ]));
7875
7864
  }
7876
- }), dp = /* @__PURE__ */ Le(up, [["__scopeId", "data-v-30f67b62"]]), fp = /* @__PURE__ */ Ee({
7865
+ }), dp = /* @__PURE__ */ Le(up, [["__scopeId", "data-v-30f67b62"]]), fp = /* @__PURE__ */ we({
7877
7866
  props: {
7878
7867
  deviceInfo: {
7879
7868
  type: Object,
@@ -7966,7 +7955,7 @@ function pp(r) {
7966
7955
  toggleFullscreen: n
7967
7956
  };
7968
7957
  }
7969
- const hp = /* @__PURE__ */ Ee({
7958
+ const hp = /* @__PURE__ */ we({
7970
7959
  __name: "index",
7971
7960
  props: {
7972
7961
  deviceList: { default: () => [] },
@@ -7974,7 +7963,7 @@ const hp = /* @__PURE__ */ Ee({
7974
7963
  closeCallback: {}
7975
7964
  },
7976
7965
  setup(r) {
7977
- za({
7966
+ Oa({
7978
7967
  fullscreen2: import("@das-fed/upf-ui/packages/icons/fullscreen-2")
7979
7968
  });
7980
7969
  const e = r, t = M(!0), { render: n, toggleFullscreen: a } = pp(e), s = je(() => {
@@ -8040,7 +8029,7 @@ const hp = /* @__PURE__ */ Ee({
8040
8029
  return new Promise((n) => {
8041
8030
  let a = document.body.querySelector("#video-dialog-container");
8042
8031
  a && (Tt(null, a), document.body.removeChild(a)), a = document.createElement("div"), a.setAttribute("id", "video-dialog-container"), document.body.appendChild(a);
8043
- const i = ye(hp, { gridNum: e, deviceList: t, closeCallback: () => {
8032
+ const i = Ce(hp, { gridNum: e, deviceList: t, closeCallback: () => {
8044
8033
  Tt(null, a), document.body.removeChild(a), n(null);
8045
8034
  } });
8046
8035
  Tt(i, a);
@@ -8055,7 +8044,7 @@ const hp = /* @__PURE__ */ Ee({
8055
8044
  code: "strategy",
8056
8045
  showBtn: !1
8057
8046
  });
8058
- i || !l || !l.length || !l.find((o) => o.code === "strategy.linkageModel") || t.value || (console.log("建立联动视频socket连接===="), t.value = new _n({
8047
+ i || !l || !l.length || !l.find((o) => o.code === "strategy.linkageModel") || t.value || (t.value = new _n({
8059
8048
  url: "/api/strategy/linkage-strategy/v1/video-popup/subscribe",
8060
8049
  params: { project: s },
8061
8050
  message: async (o) => {
@@ -8114,7 +8103,7 @@ class Pn extends Error {
8114
8103
  super(e), this.__proto__ = t;
8115
8104
  }
8116
8105
  }
8117
- class ze extends Error {
8106
+ class Oe extends Error {
8118
8107
  /** Constructs a new instance of {@link AbortError}.
8119
8108
  *
8120
8109
  * @param {string} errorMessage A descriptive error message.
@@ -8219,7 +8208,7 @@ var I;
8219
8208
  (function(r) {
8220
8209
  r[r.Trace = 0] = "Trace", r[r.Debug = 1] = "Debug", r[r.Information = 2] = "Information", r[r.Warning = 3] = "Warning", r[r.Error = 4] = "Error", r[r.Critical = 5] = "Critical", r[r.None = 6] = "None";
8221
8210
  })(I || (I = {}));
8222
- class zt {
8211
+ class Ot {
8223
8212
  constructor() {
8224
8213
  }
8225
8214
  /** @inheritDoc */
@@ -8227,7 +8216,7 @@ class zt {
8227
8216
  log(e, t) {
8228
8217
  }
8229
8218
  }
8230
- zt.instance = new zt();
8219
+ Ot.instance = new Ot();
8231
8220
  const yp = "8.0.7";
8232
8221
  class xe {
8233
8222
  static isRequired(e, t) {
@@ -8291,7 +8280,7 @@ async function R0(r, e, t, n, a, s) {
8291
8280
  r.log(I.Trace, `(${e} transport) request complete. Response status: ${c.statusCode}.`);
8292
8281
  }
8293
8282
  function wp(r) {
8294
- return r === void 0 ? new tr(I.Information) : r === null ? zt.instance : r.log !== void 0 ? r : new tr(r);
8283
+ return r === void 0 ? new tr(I.Information) : r === null ? Ot.instance : r.log !== void 0 ? r : new tr(r);
8295
8284
  }
8296
8285
  class Ep {
8297
8286
  constructor(e, t) {
@@ -8389,7 +8378,7 @@ class Fp extends ur {
8389
8378
  /** @inheritDoc */
8390
8379
  async send(e) {
8391
8380
  if (e.abortSignal && e.abortSignal.aborted)
8392
- throw new ze();
8381
+ throw new Oe();
8393
8382
  if (!e.method)
8394
8383
  throw new Error("No method defined.");
8395
8384
  if (!e.url)
@@ -8397,7 +8386,7 @@ class Fp extends ur {
8397
8386
  const t = new this._abortControllerType();
8398
8387
  let n;
8399
8388
  e.abortSignal && (e.abortSignal.onabort = () => {
8400
- t.abort(), n = new ze();
8389
+ t.abort(), n = new Oe();
8401
8390
  });
8402
8391
  let a = null;
8403
8392
  if (e.timeout) {
@@ -8464,14 +8453,14 @@ class Ip extends ur {
8464
8453
  }
8465
8454
  /** @inheritDoc */
8466
8455
  send(e) {
8467
- return e.abortSignal && e.abortSignal.aborted ? Promise.reject(new ze()) : e.method ? e.url ? new Promise((t, n) => {
8456
+ return e.abortSignal && e.abortSignal.aborted ? Promise.reject(new Oe()) : e.method ? e.url ? new Promise((t, n) => {
8468
8457
  const a = new XMLHttpRequest();
8469
8458
  a.open(e.method, e.url, !0), a.withCredentials = e.withCredentials === void 0 ? !0 : e.withCredentials, a.setRequestHeader("X-Requested-With", "XMLHttpRequest"), e.content === "" && (e.content = void 0), e.content && (ct(e.content) ? a.setRequestHeader("Content-Type", "application/octet-stream") : a.setRequestHeader("Content-Type", "text/plain;charset=UTF-8"));
8470
8459
  const s = e.headers;
8471
8460
  s && Object.keys(s).forEach((i) => {
8472
8461
  a.setRequestHeader(i, s[i]);
8473
8462
  }), e.responseType && (a.responseType = e.responseType), e.abortSignal && (e.abortSignal.onabort = () => {
8474
- a.abort(), n(new ze());
8463
+ a.abort(), n(new Oe());
8475
8464
  }), e.timeout && (a.timeout = e.timeout), a.onload = () => {
8476
8465
  e.abortSignal && (e.abortSignal.onabort = null), a.status >= 200 && a.status < 300 ? t(new P0(a.status, a.statusText, a.response || a.responseText)) : n(new at(a.response || a.responseText || a.statusText, a.status));
8477
8466
  }, a.onerror = () => {
@@ -8494,7 +8483,7 @@ class Tp extends ur {
8494
8483
  }
8495
8484
  /** @inheritDoc */
8496
8485
  send(e) {
8497
- return e.abortSignal && e.abortSignal.aborted ? Promise.reject(new ze()) : e.method ? e.url ? this._httpClient.send(e) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
8486
+ return e.abortSignal && e.abortSignal.aborted ? Promise.reject(new Oe()) : e.method ? e.url ? this._httpClient.send(e) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
8498
8487
  }
8499
8488
  getCookieString(e) {
8500
8489
  return this._httpClient.getCookieString(e);
@@ -8577,7 +8566,7 @@ class $p {
8577
8566
  };
8578
8567
  ct(t) ? this._bufferedByteCount += t.byteLength : this._bufferedByteCount += t.length, this._bufferedByteCount >= this._bufferSize && (n = new Promise((i, l) => {
8579
8568
  a = i, s = l;
8580
- })), this._messages.push(new Op(t, this._totalMessageCount, a, s));
8569
+ })), this._messages.push(new zp(t, this._totalMessageCount, a, s));
8581
8570
  }
8582
8571
  try {
8583
8572
  this._reconnectInProgress || await this._connection.send(t);
@@ -8655,12 +8644,12 @@ class $p {
8655
8644
  }, 1e3));
8656
8645
  }
8657
8646
  }
8658
- class Op {
8647
+ class zp {
8659
8648
  constructor(e, t, n, a) {
8660
8649
  this._message = e, this._id = t, this._resolver = n, this._rejector = a;
8661
8650
  }
8662
8651
  }
8663
- const zp = 30 * 1e3, Mp = 15 * 1e3, Np = 1e5;
8652
+ const Op = 30 * 1e3, Mp = 15 * 1e3, Np = 1e5;
8664
8653
  var ue;
8665
8654
  (function(r) {
8666
8655
  r.Disconnected = "Disconnected", r.Connecting = "Connecting", r.Connected = "Connected", r.Disconnecting = "Disconnecting", r.Reconnecting = "Reconnecting";
@@ -8677,7 +8666,7 @@ class Rn {
8677
8666
  constructor(e, t, n, a, s, i, l) {
8678
8667
  this._nextKeepAlive = 0, this._freezeEventListener = () => {
8679
8668
  this._logger.log(I.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");
8680
- }, xe.isRequired(e, "connection"), xe.isRequired(t, "logger"), xe.isRequired(n, "protocol"), this.serverTimeoutInMilliseconds = s ?? zp, this.keepAliveIntervalInMilliseconds = i ?? Mp, this._statefulReconnectBufferSize = l ?? Np, this._logger = t, this._protocol = n, this.connection = e, this._reconnectPolicy = a, this._handshakeProtocol = new Pp(), this.connection.onreceive = (u) => this._processIncomingData(u), this.connection.onclose = (u) => this._connectionClosed(u), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = ue.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: J.Ping });
8669
+ }, xe.isRequired(e, "connection"), xe.isRequired(t, "logger"), xe.isRequired(n, "protocol"), this.serverTimeoutInMilliseconds = s ?? Op, this.keepAliveIntervalInMilliseconds = i ?? Mp, this._statefulReconnectBufferSize = l ?? Np, this._logger = t, this._protocol = n, this.connection = e, this._reconnectPolicy = a, this._handshakeProtocol = new Pp(), this.connection.onreceive = (u) => this._processIncomingData(u), this.connection.onclose = (u) => this._connectionClosed(u), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = ue.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: J.Ping });
8681
8670
  }
8682
8671
  /** Indicates the state of the {@link HubConnection} to the server. */
8683
8672
  get state() {
@@ -8763,7 +8752,7 @@ class Rn {
8763
8752
  if (this._connectionState === ue.Disconnecting)
8764
8753
  return this._logger.log(I.Debug, `Call to HttpConnection.stop(${e}) ignored because the connection is already in the disconnecting state.`), this._stopPromise;
8765
8754
  const t = this._connectionState;
8766
- return this._connectionState = ue.Disconnecting, this._logger.log(I.Debug, "Stopping HubConnection."), this._reconnectDelayHandle ? (this._logger.log(I.Debug, "Connection stopped during reconnect delay. Done reconnecting."), clearTimeout(this._reconnectDelayHandle), this._reconnectDelayHandle = void 0, this._completeClose(), Promise.resolve()) : (t === ue.Connected && this._sendCloseMessage(), this._cleanupTimeout(), this._cleanupPingTimer(), this._stopDuringStartError = e || new ze("The connection was stopped before the hub handshake could complete."), this.connection.stop(e));
8755
+ return this._connectionState = ue.Disconnecting, this._logger.log(I.Debug, "Stopping HubConnection."), this._reconnectDelayHandle ? (this._logger.log(I.Debug, "Connection stopped during reconnect delay. Done reconnecting."), clearTimeout(this._reconnectDelayHandle), this._reconnectDelayHandle = void 0, this._completeClose(), Promise.resolve()) : (t === ue.Connected && this._sendCloseMessage(), this._cleanupTimeout(), this._cleanupPingTimer(), this._stopDuringStartError = e || new Oe("The connection was stopped before the hub handshake could complete."), this.connection.stop(e));
8767
8756
  }
8768
8757
  async _sendCloseMessage() {
8769
8758
  try {
@@ -8981,7 +8970,7 @@ class Rn {
8981
8970
  u ? await this._sendWithProtocol(u) : s ? (l ? u = this._createCompletionMessage(e.invocationId, `${l}`, null) : i !== void 0 ? u = this._createCompletionMessage(e.invocationId, null, i) : (this._logger.log(I.Warning, `No result given for '${t}' method and invocation ID '${e.invocationId}'.`), u = this._createCompletionMessage(e.invocationId, "Client didn't provide a result.", null)), await this._sendWithProtocol(u)) : i && this._logger.log(I.Error, `Result given for '${t}' method but server is not expecting a result.`);
8982
8971
  }
8983
8972
  _connectionClosed(e) {
8984
- this._logger.log(I.Debug, `HubConnection.connectionClosed(${e}) called while in state ${this._connectionState}.`), this._stopDuringStartError = this._stopDuringStartError || e || new ze("The underlying connection was closed before the hub handshake could complete."), this._handshakeResolver && this._handshakeResolver(), this._cancelCallbacksWithError(e || new Error("Invocation canceled due to the underlying connection being closed.")), this._cleanupTimeout(), this._cleanupPingTimer(), this._connectionState === ue.Disconnecting ? this._completeClose(e) : this._connectionState === ue.Connected && this._reconnectPolicy ? this._reconnect(e) : this._connectionState === ue.Connected && this._completeClose(e);
8973
+ this._logger.log(I.Debug, `HubConnection.connectionClosed(${e}) called while in state ${this._connectionState}.`), this._stopDuringStartError = this._stopDuringStartError || e || new Oe("The underlying connection was closed before the hub handshake could complete."), this._handshakeResolver && this._handshakeResolver(), this._cancelCallbacksWithError(e || new Error("Invocation canceled due to the underlying connection being closed.")), this._cleanupTimeout(), this._cleanupPingTimer(), this._connectionState === ue.Disconnecting ? this._completeClose(e) : this._connectionState === ue.Connected && this._reconnectPolicy ? this._reconnect(e) : this._connectionState === ue.Connected && this._completeClose(e);
8985
8974
  }
8986
8975
  _completeClose(e) {
8987
8976
  if (this._connectionStarted) {
@@ -9201,10 +9190,10 @@ var he;
9201
9190
  (function(r) {
9202
9191
  r[r.None = 0] = "None", r[r.WebSockets = 1] = "WebSockets", r[r.ServerSentEvents = 2] = "ServerSentEvents", r[r.LongPolling = 4] = "LongPolling";
9203
9192
  })(he || (he = {}));
9204
- var be;
9193
+ var ye;
9205
9194
  (function(r) {
9206
9195
  r[r.Text = 1] = "Text", r[r.Binary = 2] = "Binary";
9207
- })(be || (be = {}));
9196
+ })(ye || (ye = {}));
9208
9197
  let Up = class {
9209
9198
  constructor() {
9210
9199
  this._isAborted = !1, this.onabort = null;
@@ -9228,7 +9217,7 @@ class ma {
9228
9217
  this._httpClient = e, this._logger = t, this._pollAbort = new Up(), this._options = n, this._running = !1, this.onreceive = null, this.onclose = null;
9229
9218
  }
9230
9219
  async connect(e, t) {
9231
- if (xe.isRequired(e, "url"), xe.isRequired(t, "transferFormat"), xe.isIn(t, be, "transferFormat"), this._url = e, this._logger.log(I.Trace, "(LongPolling transport) Connecting."), t === be.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
9220
+ if (xe.isRequired(e, "url"), xe.isRequired(t, "transferFormat"), xe.isIn(t, ye, "transferFormat"), this._url = e, this._logger.log(I.Trace, "(LongPolling transport) Connecting."), t === ye.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
9232
9221
  throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
9233
9222
  const [n, a] = bt(), s = { [n]: a, ...this._options.headers }, i = {
9234
9223
  abortSignal: this._pollAbort.signal,
@@ -9236,7 +9225,7 @@ class ma {
9236
9225
  timeout: 1e5,
9237
9226
  withCredentials: this._options.withCredentials
9238
9227
  };
9239
- t === be.Binary && (i.responseType = "arraybuffer");
9228
+ t === ye.Binary && (i.responseType = "arraybuffer");
9240
9229
  const l = `${e}&_=${Date.now()}`;
9241
9230
  this._logger.log(I.Trace, `(LongPolling transport) polling: ${l}.`);
9242
9231
  const u = await this._httpClient.get(l, i);
@@ -9294,9 +9283,9 @@ class jp {
9294
9283
  this._httpClient = e, this._accessToken = t, this._logger = n, this._options = a, this.onreceive = null, this.onclose = null;
9295
9284
  }
9296
9285
  async connect(e, t) {
9297
- return xe.isRequired(e, "url"), xe.isRequired(t, "transferFormat"), xe.isIn(t, be, "transferFormat"), this._logger.log(I.Trace, "(SSE transport) Connecting."), this._url = e, this._accessToken && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(this._accessToken)}`), new Promise((n, a) => {
9286
+ return xe.isRequired(e, "url"), xe.isRequired(t, "transferFormat"), xe.isIn(t, ye, "transferFormat"), this._logger.log(I.Trace, "(SSE transport) Connecting."), this._url = e, this._accessToken && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(this._accessToken)}`), new Promise((n, a) => {
9298
9287
  let s = !1;
9299
- if (t !== be.Text) {
9288
+ if (t !== ye.Text) {
9300
9289
  a(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));
9301
9290
  return;
9302
9291
  }
@@ -9344,7 +9333,7 @@ class qp {
9344
9333
  this._logger = n, this._accessTokenFactory = t, this._logMessageContent = a, this._webSocketConstructor = s, this._httpClient = e, this.onreceive = null, this.onclose = null, this._headers = i;
9345
9334
  }
9346
9335
  async connect(e, t) {
9347
- xe.isRequired(e, "url"), xe.isRequired(t, "transferFormat"), xe.isIn(t, be, "transferFormat"), this._logger.log(I.Trace, "(WebSockets transport) Connecting.");
9336
+ xe.isRequired(e, "url"), xe.isRequired(t, "transferFormat"), xe.isIn(t, ye, "transferFormat"), this._logger.log(I.Trace, "(WebSockets transport) Connecting.");
9348
9337
  let n;
9349
9338
  return this._accessTokenFactory && (n = await this._accessTokenFactory()), new Promise((a, s) => {
9350
9339
  e = e.replace(/^http/, "ws");
@@ -9358,7 +9347,7 @@ class qp {
9358
9347
  });
9359
9348
  } else
9360
9349
  n && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(n)}`);
9361
- i || (i = new this._webSocketConstructor(e)), t === be.Binary && (i.binaryType = "arraybuffer"), i.onopen = (o) => {
9350
+ i || (i = new this._webSocketConstructor(e)), t === ye.Binary && (i.binaryType = "arraybuffer"), i.onopen = (o) => {
9362
9351
  this._logger.log(I.Information, `WebSocket connected to ${e}.`), this._webSocket = i, u = !0, a();
9363
9352
  }, i.onerror = (o) => {
9364
9353
  let c = null;
@@ -9414,14 +9403,14 @@ class Wp {
9414
9403
  !fe.isNode && typeof WebSocket < "u" && !t.WebSocket ? t.WebSocket = WebSocket : fe.isNode && !t.WebSocket && n && (t.WebSocket = n), !fe.isNode && typeof EventSource < "u" && !t.EventSource ? t.EventSource = EventSource : fe.isNode && !t.EventSource && typeof a < "u" && (t.EventSource = a), this._httpClient = new Hp(t.httpClient || new Tp(this._logger), t.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = t, this.onreceive = null, this.onclose = null;
9415
9404
  }
9416
9405
  async start(e) {
9417
- if (e = e || be.Binary, xe.isIn(e, be, "transferFormat"), this._logger.log(I.Debug, `Starting connection with transfer format '${be[e]}'.`), this._connectionState !== "Disconnected")
9406
+ if (e = e || ye.Binary, xe.isIn(e, ye, "transferFormat"), this._logger.log(I.Debug, `Starting connection with transfer format '${ye[e]}'.`), this._connectionState !== "Disconnected")
9418
9407
  return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));
9419
9408
  if (this._connectionState = "Connecting", this._startInternalPromise = this._startInternal(e), await this._startInternalPromise, this._connectionState === "Disconnecting") {
9420
9409
  const t = "Failed to start the HttpConnection before stop() was called.";
9421
- return this._logger.log(I.Error, t), await this._stopPromise, Promise.reject(new ze(t));
9410
+ return this._logger.log(I.Error, t), await this._stopPromise, Promise.reject(new Oe(t));
9422
9411
  } else if (this._connectionState !== "Connected") {
9423
9412
  const t = "HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!";
9424
- return this._logger.log(I.Error, t), Promise.reject(new ze(t));
9413
+ return this._logger.log(I.Error, t), Promise.reject(new Oe(t));
9425
9414
  }
9426
9415
  this._connectionStarted = !0;
9427
9416
  }
@@ -9466,7 +9455,7 @@ class Wp {
9466
9455
  let n = null, a = 0;
9467
9456
  do {
9468
9457
  if (n = await this._getNegotiationResponse(t), this._connectionState === "Disconnecting" || this._connectionState === "Disconnected")
9469
- throw new ze("The connection was stopped during negotiation.");
9458
+ throw new Oe("The connection was stopped during negotiation.");
9470
9459
  if (n.error)
9471
9460
  throw new Error(n.error);
9472
9461
  if (n.ProtocolVersion)
@@ -9537,7 +9526,7 @@ class Wp {
9537
9526
  } catch (_) {
9538
9527
  if (this._logger.log(I.Error, `Failed to start the transport '${o.transport}': ${_}`), u = void 0, i.push(new _p(`${o.transport} failed: ${_}`, he[o.transport])), this._connectionState !== "Connecting") {
9539
9528
  const d = "Failed to select transport before stop() was called.";
9540
- return this._logger.log(I.Debug, d), Promise.reject(new ze(d));
9529
+ return this._logger.log(I.Debug, d), Promise.reject(new Oe(d));
9541
9530
  }
9542
9531
  }
9543
9532
  }
@@ -9581,7 +9570,7 @@ class Wp {
9581
9570
  if (s == null)
9582
9571
  return this._logger.log(I.Debug, `Skipping transport '${e.transport}' because it is not supported by this client.`), new Error(`Skipping transport '${e.transport}' because it is not supported by this client.`);
9583
9572
  if (Vp(t, s))
9584
- if (e.transferFormats.map((l) => be[l]).indexOf(n) >= 0) {
9573
+ if (e.transferFormats.map((l) => ye[l]).indexOf(n) >= 0) {
9585
9574
  if (s === he.WebSockets && !this._options.WebSocket || s === he.ServerSentEvents && !this._options.EventSource)
9586
9575
  return this._logger.log(I.Debug, `Skipping transport '${he[s]}' because it is not supported in your environment.'`), new gp(`'${he[s]}' is not supported in your environment.`, s);
9587
9576
  this._logger.log(I.Debug, `Selecting transport '${he[s]}'.`);
@@ -9591,7 +9580,7 @@ class Wp {
9591
9580
  return l;
9592
9581
  }
9593
9582
  } else
9594
- return this._logger.log(I.Debug, `Skipping transport '${he[s]}' because it does not support the requested transfer format '${be[n]}'.`), new Error(`'${he[s]}' does not support ${be[n]}.`);
9583
+ return this._logger.log(I.Debug, `Skipping transport '${he[s]}' because it does not support the requested transfer format '${ye[n]}'.`), new Error(`'${he[s]}' does not support ${ye[n]}.`);
9595
9584
  else
9596
9585
  return this._logger.log(I.Debug, `Skipping transport '${he[s]}' because it was disabled by the client.`), new mp(`'${he[s]}' is disabled by the client.`, s);
9597
9586
  }
@@ -9689,7 +9678,7 @@ class Kt {
9689
9678
  const Kp = "json";
9690
9679
  class Gp {
9691
9680
  constructor() {
9692
- this.name = Kp, this.version = 2, this.transferFormat = be.Text;
9681
+ this.name = Kp, this.version = 2, this.transferFormat = ye.Text;
9693
9682
  }
9694
9683
  /** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
9695
9684
  *
@@ -9701,7 +9690,7 @@ class Gp {
9701
9690
  throw new Error("Invalid input for JSON hub protocol. Expected a string.");
9702
9691
  if (!e)
9703
9692
  return [];
9704
- t === null && (t = zt.instance);
9693
+ t === null && (t = Ot.instance);
9705
9694
  const n = Te.parse(e), a = [];
9706
9695
  for (const s of n) {
9707
9696
  const i = JSON.parse(s);
@@ -9844,7 +9833,7 @@ class Zp {
9844
9833
  if (e.logger === void 0 && (e.logger = this.logger), !this.url)
9845
9834
  throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
9846
9835
  const t = new Wp(this.url, e);
9847
- return Rn.create(t, this.logger || zt.instance, this.protocol || new Gp(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
9836
+ return Rn.create(t, this.logger || Ot.instance, this.protocol || new Gp(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
9848
9837
  }
9849
9838
  }
9850
9839
  function Jp(r) {
@@ -9857,16 +9846,9 @@ const eh = () => {
9857
9846
  transport: he.WebSockets
9858
9847
  }).withAutomaticReconnect().build();
9859
9848
  return r.start().then(() => {
9860
- console.log({
9861
- message: "服务器连接成功了",
9862
- type: "success"
9863
- });
9864
9849
  }).catch((e) => {
9865
- console.log(`服务器连接失败了\r${e.message.toString()}`);
9866
9850
  }), r.onclose((e) => {
9867
- console.log(`服务器疑似断开了\r${e == null ? void 0 : e.message.toString()}`);
9868
9851
  }), r.onreconnected(() => {
9869
- console.log("服务器重新连接成功了");
9870
9852
  }), r;
9871
9853
  }, dr = "v1", th = Ye(`/api/graphics-engine/component/${dr}`, (r) => (r.customErrorMessage = () => "", r)), rh = Ye(`/api/portal/manager/${dr}`, (r) => (r.customErrorMessage = () => "", r)), nh = Ye(`/api/speech-base/speech/${dr}`, (r) => (r.customErrorMessage = () => "", r)), Ca = th.get("/component/client/heartbeat"), oh = rh.get("/basics/by-alias");
9872
9854
  nh.post("/control/callBack");
@@ -9894,10 +9876,10 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
9894
9876
  return !1;
9895
9877
  }
9896
9878
  }, l = async (f) => {
9897
- var b, E, A, k, B;
9898
- const v = de(), C = ((b = v.appcategorys) == null ? void 0 : b.map((y) => y.apps).flat()) || [];
9879
+ var w, A, B, E, k;
9880
+ const v = de(), C = ((w = v.appcategorys) == null ? void 0 : w.map((y) => y.apps).flat()) || [];
9899
9881
  if (Array.isArray(f)) {
9900
- const y = f.filter((w) => w.code).map((w) => w.code);
9882
+ const y = f.filter((b) => b.code).map((b) => b.code);
9901
9883
  if (f.length) {
9902
9884
  if (v.currentSubAppCode) {
9903
9885
  const D = v.currentSubApp.menus ?? [], S = Re(D).find((L) => y.includes(L.code));
@@ -9906,14 +9888,14 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
9906
9888
  return;
9907
9889
  }
9908
9890
  }
9909
- const w = C.find((D) => y.includes(D.code));
9910
- w && e({ microApp: w });
9891
+ const b = C.find((D) => y.includes(D.code));
9892
+ b && e({ microApp: b });
9911
9893
  }
9912
9894
  }
9913
9895
  if (typeof f == "string") {
9914
9896
  let y = f;
9915
- const w = "_showEchartTooltip", D = y.endsWith(w);
9916
- D && (y = y.slice(0, y.indexOf(w)));
9897
+ const b = "_showEchartTooltip", D = y.endsWith(b);
9898
+ D && (y = y.slice(0, y.indexOf(b)));
9917
9899
  const S = "_zdkbInfo", L = y.endsWith(S);
9918
9900
  if (L && (y = y.slice(0, y.indexOf(S))), y.includes(":")) {
9919
9901
  const H = y.split(":"), [W = "", q = ""] = H;
@@ -9924,8 +9906,8 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
9924
9906
  const j = await ya(U.code, q);
9925
9907
  if (j) {
9926
9908
  const G = JSON.stringify({ showEchartTooltip: D });
9927
- (E = r.query) != null && E.app && r.query.app === U.code && ((A = r.query) != null && A.menu) && r.query.menu === q ? we.sendMessageToMicroApp(j.applicationPath, `${q}:todetail`, G) : (await e({ microApp: U, menuCode: q }), setTimeout(() => {
9928
- we.sendMessageToMicroApp(j.applicationPath, `${q}:todetail`, G, {
9909
+ (A = r.query) != null && A.app && r.query.app === U.code && ((B = r.query) != null && B.menu) && r.query.menu === q ? be.sendMessageToMicroApp(j.applicationPath, `${q}:todetail`, G) : (await e({ microApp: U, menuCode: q }), setTimeout(() => {
9910
+ be.sendMessageToMicroApp(j.applicationPath, `${q}:todetail`, G, {
9929
9911
  awaitListener: !0
9930
9912
  });
9931
9913
  }, 300));
@@ -9947,8 +9929,8 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
9947
9929
  const G = await ya(j.code, H);
9948
9930
  if (G) {
9949
9931
  const T = JSON.stringify({ showEchartTooltip: D });
9950
- (k = r.query) != null && k.app && r.query.app === W.code && ((B = r.query) != null && B.menu) && r.query.menu === H ? we.sendMessageToMicroApp(G.applicationPath, `${H}:todetail`, T) : (await e({ microApp: W, menuCode: H }), setTimeout(() => {
9951
- we.sendMessageToMicroApp(G.applicationPath, `${H}:todetail`, T, {
9932
+ (E = r.query) != null && E.app && r.query.app === W.code && ((k = r.query) != null && k.menu) && r.query.menu === H ? be.sendMessageToMicroApp(G.applicationPath, `${H}:todetail`, T) : (await e({ microApp: W, menuCode: H }), setTimeout(() => {
9933
+ be.sendMessageToMicroApp(G.applicationPath, `${H}:todetail`, T, {
9952
9934
  awaitListener: !0
9953
9935
  });
9954
9936
  }, 300));
@@ -9966,15 +9948,15 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
9966
9948
  setTimeout(async () => {
9967
9949
  var v, C;
9968
9950
  if (u.value) {
9969
- const [b, E] = await oh().run({}, { params: { aliasName: f.actionValue } });
9970
- b ? await Jr().run({
9951
+ const [w, A] = await oh().run({}, { params: { aliasName: f.actionValue } });
9952
+ w ? await Jr().run({
9971
9953
  uniqueId: f.uniqueId,
9972
9954
  status: 0,
9973
9955
  errorMsg: "未找到" + f.actionValue
9974
- }) : E.length ? (E.length > 1 ? l(E) : l((v = E[0]) == null ? void 0 : v.code), await Jr().run({
9956
+ }) : A.length ? (A.length > 1 ? l(A) : l((v = A[0]) == null ? void 0 : v.code), await Jr().run({
9975
9957
  uniqueId: f.uniqueId,
9976
9958
  status: 1,
9977
- targetName: (C = E[0]) == null ? void 0 : C.name
9959
+ targetName: (C = A[0]) == null ? void 0 : C.name
9978
9960
  })) : await Jr().run({
9979
9961
  uniqueId: f.uniqueId,
9980
9962
  status: 0,
@@ -9985,14 +9967,14 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
9985
9967
  }, 2e3);
9986
9968
  }, c = (f) => {
9987
9969
  const v = Je(), C = JSON.parse(atob(v.split(".")[1])).sub;
9988
- eh().on(`${f}:${C}`, async function(E) {
9989
- let A = i(E);
9990
- if (A)
9991
- A.uniqueId && A.actionKey == "switch-menu" && o(A);
9992
- else if (E.includes("openAppMenu=")) {
9993
- const k = E.split("="), B = JSON.parse(k[1]);
9994
- l(B);
9995
- } else E.includes("iocIsRun") && (u.value = !1);
9970
+ eh().on(`${f}:${C}`, async function(A) {
9971
+ let B = i(A);
9972
+ if (B)
9973
+ B.uniqueId && B.actionKey == "switch-menu" && o(B);
9974
+ else if (A.includes("openAppMenu=")) {
9975
+ const E = A.split("="), k = JSON.parse(E[1]);
9976
+ l(k);
9977
+ } else A.includes("iocIsRun") && (u.value = !1);
9996
9978
  });
9997
9979
  }, _ = M(""), [d, h] = await Ca().run();
9998
9980
  _.value = h, c(_.value);
@@ -10004,17 +9986,17 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10004
9986
  p();
10005
9987
  }, 72e5);
10006
9988
  const g = M("online"), x = (f) => {
10007
- f === "online" && g.value === "offline" ? setTimeout(() => {
10008
- p(), console.log(`网络恢复,当前ip${_.value}`);
10009
- }, 5e3) : f === "offline" && console.log("网络断开"), g.value = (window.navigator.onLine ? "on" : "off") + "line";
9989
+ f === "online" && g.value === "offline" && setTimeout(() => {
9990
+ p();
9991
+ }, 5e3), g.value = (window.navigator.onLine ? "on" : "off") + "line";
10010
9992
  };
10011
9993
  window.addEventListener("online", () => x("online")), window.addEventListener("offline", () => x("offline"));
10012
9994
  }), Nt(() => {
10013
9995
  n && clearInterval(n);
10014
9996
  }), {};
10015
- }, fr = "v1", lh = Et(`/api/fms/report/${fr}`), On = Et(`/api/emergency/manage/${fr}`), uh = mn.get("/permissionset/user-portal-menu"), $0 = Et(`/api/alarm/config/${fr}`), dh = Et(`/api/alarm/run-time/${fr}`), fh = $0.get("/alarm-definition/status-option"), ph = dh.post("/record/handling"), hh = $0.get("/alarm-level/prompttone"), xh = lh.get("/alarm/rule/list"), vh = Ra.get("/controller/space-children-all-type"), gh = Ra.get("/controller/fuzzy-area-small"), mh = On.get("/emergency-event/event/type"), _h = On.get("/emergency-event/event/level"), Ch = On.get("/emergency-plan/plan/handle-time"), yh = { class: "handle-alarm-container" }, bh = { class: "select-check" }, wh = { class: "form-box" }, Eh = { class: "select-check" }, Ah = { style: { "margin-left": "8px" } }, Bh = { class: "foot-btn-box" }, kh = {
9997
+ }, fr = "v1", lh = Et(`/api/fms/report/${fr}`), zn = Et(`/api/emergency/manage/${fr}`), uh = mn.get("/permissionset/user-portal-menu"), $0 = Et(`/api/alarm/config/${fr}`), dh = Et(`/api/alarm/run-time/${fr}`), fh = $0.get("/alarm-definition/status-option"), ph = dh.post("/record/handling"), hh = $0.get("/alarm-level/prompttone"), xh = lh.get("/alarm/rule/list"), vh = Ra.get("/controller/space-children-all-type"), gh = Ra.get("/controller/fuzzy-area-small"), mh = zn.get("/emergency-event/event/type"), _h = zn.get("/emergency-event/event/level"), Ch = zn.get("/emergency-plan/plan/handle-time"), yh = { class: "handle-alarm-container" }, bh = { class: "select-check" }, wh = { class: "form-box" }, Eh = { class: "select-check" }, Ah = { style: { "margin-left": "8px" } }, Bh = { class: "foot-btn-box" }, kh = {
10016
9998
  name: "handleAlarm"
10017
- }, Dh = /* @__PURE__ */ Ee({
9999
+ }, Dh = /* @__PURE__ */ we({
10018
10000
  ...kh,
10019
10001
  props: {
10020
10002
  projectId: { default: "" },
@@ -10076,75 +10058,74 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10076
10058
  { id: 3, name: V("不限").value }
10077
10059
  ]), g = M([]), x = M(""), m = M(V("告警对象位置").value), f = M(""), v = M([]), C = M("");
10078
10060
  M("[]");
10079
- const b = M(!0), E = M(!0), A = async (N) => {
10080
- const P = { name: "1" };
10081
- N != null && N.id && (P.spaceId = N.id);
10082
- const [z, Ce] = await vh(P).run();
10083
- return z ? {} : (console.log("loadSpaceAreaTree--------", Ce), Ce);
10084
- }, k = async (N) => {
10085
- const P = { name: N || "" }, [z, Ce] = await gh(P).run();
10086
- return z ? {} : Ce;
10087
- }, B = M(!0), y = M(!0), w = M([]), D = async () => {
10088
- const [N, P] = await xh().run({ pageIndex: -1, pageSize: -1 });
10061
+ const w = M(!0), A = M(!0), B = async (N) => {
10062
+ const R = { name: "1" };
10063
+ N != null && N.id && (R.spaceId = N.id);
10064
+ const [O, Ee] = await vh(R).run();
10065
+ return O ? {} : Ee;
10066
+ }, E = async (N) => {
10067
+ const R = { name: N || "" }, [O, Ee] = await gh(R).run();
10068
+ return O ? {} : Ee;
10069
+ }, k = M(!0), y = M(!0), b = M([]), D = async () => {
10070
+ const [N, R] = await xh().run({ pageIndex: -1, pageSize: -1 });
10089
10071
  if (N) return {};
10090
- w.value = P.data.filter((z) => z.status), w.value.length > 0 && (o.value.workOrderRules = w.value[0].id);
10072
+ b.value = R.data.filter((O) => O.status), b.value.length > 0 && (o.value.workOrderRules = b.value[0].id);
10091
10073
  };
10092
10074
  ke(u, (N) => {
10093
- console.log("watch===", N), N || (U(), j());
10075
+ N || (U(), j());
10094
10076
  }), ke(
10095
- E,
10077
+ A,
10096
10078
  (N) => {
10097
- console.log("autoReportPosition===", N), N ? (b.value = !0, o.value.customPath = V("选填").value) : (b.value = !1, o.value.customPath = "");
10079
+ N ? (w.value = !0, o.value.customPath = V("选填").value) : (w.value = !1, o.value.customPath = "");
10098
10080
  },
10099
10081
  { immediate: !0 }
10100
10082
  ), ke(
10101
10083
  y,
10102
10084
  (N) => {
10103
- console.log("autoReportThemeData===", N), N ? (o.value.reportTheme = V("告警对象").value, B.value = !0) : (f.value = V("请输入").value, o.value.reportTheme = "", B.value = !1);
10085
+ N ? (o.value.reportTheme = V("告警对象").value, k.value = !0) : (f.value = V("请输入").value, o.value.reportTheme = "", k.value = !1);
10104
10086
  },
10105
10087
  { immediate: !0 }
10106
10088
  );
10107
10089
  const S = (N) => {
10108
- var P;
10109
- return (P = i.value) == null ? void 0 : P.parentNode.parentNode;
10090
+ var R;
10091
+ return (R = i.value) == null ? void 0 : R.parentNode.parentNode;
10110
10092
  }, L = (N) => {
10111
10093
  c.value.reportTheme = "";
10112
- }, H = (N, P) => {
10113
- console.log("positionChange", N), P.length > 0 && (x.value = P[0].path), o.value.reportPosition = N, C.value = "";
10094
+ }, H = (N, R) => {
10095
+ R.length > 0 && (x.value = R[0].path), o.value.reportPosition = N, C.value = "";
10114
10096
  }, W = (N) => {
10115
- console.log("changePosition", N), N && (c.value.reportPosition = "", x.value = ""), N ? (o.value.reportPosition = null, x.value = "", m.value = V("告警对象位置").value) : (o.value.reportPosition = null, x.value = "", m.value = V("请选择").value);
10097
+ N && (c.value.reportPosition = "", x.value = ""), N ? (o.value.reportPosition = null, x.value = "", m.value = V("告警对象位置").value) : (o.value.reportPosition = null, x.value = "", m.value = V("请选择").value);
10116
10098
  }, q = (N) => {
10117
- console.log("changePosition", N), N && (c.value.reportTheme = ""), N ? (o.value.reportTheme = "", f.value = V("告警对象").value) : (o.value.reportTheme = "", f.value = V("请输入").value);
10099
+ N && (c.value.reportTheme = ""), N ? (o.value.reportTheme = "", f.value = V("告警对象").value) : (o.value.reportTheme = "", f.value = V("请输入").value);
10118
10100
  }, U = () => {
10119
10101
  c.value.processTypeId = "", c.value.reason = "", c.value.treatmentPlan = "", c.value.reportPosition = "", c.value.reportTheme = "", c.value.workOrderRules = "", c.value.eventTypeId = "", c.value.eventLevelId = "", c.value.timeLimit = "";
10120
10102
  }, j = () => {
10121
- o.value.processTypeId = "confirm", o.value.reason = "", o.value.treatmentPlan = "", o.value.remarks = "", o.value.reportPosition = "", o.value.reportTheme = "", o.value.workOrderRules = null, E.value = !0, y.value = !0, B.value = !0, o.value.reportTheme = V("告警对象").value, x.value = "", m.value = V("告警对象位置").value, f.value = V("请输入").value, o.value.eventTypeId = "", o.value.eventLevelId = null, o.value.timeLimit = "", o.value.interval = 1, d.value = [], h.value = [];
10103
+ o.value.processTypeId = "confirm", o.value.reason = "", o.value.treatmentPlan = "", o.value.remarks = "", o.value.reportPosition = "", o.value.reportTheme = "", o.value.workOrderRules = null, A.value = !0, y.value = !0, k.value = !0, o.value.reportTheme = V("告警对象").value, x.value = "", m.value = V("告警对象位置").value, f.value = V("请输入").value, o.value.eventTypeId = "", o.value.eventLevelId = null, o.value.timeLimit = "", o.value.interval = 1, d.value = [], h.value = [];
10122
10104
  }, G = (N) => {
10123
- console.log("selectChange1", N), N == "eventTypeId" && (o.value.eventLevelId = null, R()), N == "eventLevelId" && O(), N == "interval" && (c.value.timeLimit = "", o.value.interval == 3 ? (_.value = !0, o.value.timeLimit = "") : _.value = !1);
10105
+ N == "eventTypeId" && (o.value.eventLevelId = null, P()), N == "eventLevelId" && z(), N == "interval" && (c.value.timeLimit = "", o.value.interval == 3 ? (_.value = !0, o.value.timeLimit = "") : _.value = !1);
10124
10106
  }, T = async () => {
10125
- const [N, P] = await mh().run();
10126
- if (console.log("getEmergencyEventTypeApi", P, N), N) return {};
10127
- d.value = P, o.value.eventTypeId || (o.value.eventTypeId = P[0] ? P[0].id : null), R();
10128
- }, R = async () => {
10107
+ const [N, R] = await mh().run();
10108
+ if (N) return {};
10109
+ d.value = R, o.value.eventTypeId || (o.value.eventTypeId = R[0] ? R[0].id : null), P();
10110
+ }, P = async () => {
10129
10111
  const N = {
10130
10112
  eventTypeId: o.value.eventTypeId
10131
- }, [P, z] = await _h(N).run();
10132
- if (console.log("getEmergencyEventLevelApi", z, P), P) return {};
10133
- const Ce = { 1: V("一级").value, 2: V("二级").value, 3: V("三级").value, 4: V("四级").value };
10134
- h.value = z.map((Me) => ({
10113
+ }, [R, O] = await _h(N).run();
10114
+ if (R) return {};
10115
+ const Ee = { 1: V("一级").value, 2: V("二级").value, 3: V("三级").value, 4: V("四级").value };
10116
+ h.value = O.map((Me) => ({
10135
10117
  id: `${Me}`,
10136
- name: Ce[Me] ? Ce[Me] : Me
10137
- })), z.length && !o.value.eventLevelId && (o.value.eventLevelId = h.value[0].id, O());
10138
- }, O = async () => {
10139
- console.log("getEmergencyHandleTime");
10118
+ name: Ee[Me] ? Ee[Me] : Me
10119
+ })), O.length && !o.value.eventLevelId && (o.value.eventLevelId = h.value[0].id, z());
10120
+ }, z = async () => {
10140
10121
  const N = {
10141
10122
  eventTypeId: o.value.eventTypeId,
10142
10123
  eventLevel: o.value.eventLevelId
10143
- }, [P, z] = await Ch(N).run();
10144
- if (console.log("getEmergencyHandleTimeApi", z, P), P) return {};
10145
- o.value.interval = z.handleTimeUnit, z.handleTimeUnit == 3 ? o.value.timeLimit = "" : o.value.timeLimit = z.handleTime;
10124
+ }, [R, O] = await Ch(N).run();
10125
+ if (R) return {};
10126
+ o.value.interval = O.handleTimeUnit, O.handleTimeUnit == 3 ? o.value.timeLimit = "" : o.value.timeLimit = O.handleTime;
10146
10127
  }, $ = (N) => {
10147
- console.log("processTypeChange", N), U(), N == "createcontingency" && T();
10128
+ U(), N == "createcontingency" && T();
10148
10129
  }, ie = async () => {
10149
10130
  const N = {
10150
10131
  logic: !1,
@@ -10152,29 +10133,29 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10152
10133
  projectId: n.projectId
10153
10134
  };
10154
10135
  s.value = !0;
10155
- const [P, z] = await fh(N).run();
10156
- if (console.log("getDealTypeOpts", P, z), P) {
10136
+ const [R, O] = await fh(N).run();
10137
+ if (R) {
10157
10138
  s.value = !1;
10158
10139
  return;
10159
10140
  }
10160
- s.value = !1, g.value = z;
10161
- for (let Ce = 0; Ce < g.value.length; Ce++)
10162
- g.value[Ce].id === "createorder" && D();
10141
+ s.value = !1, g.value = O;
10142
+ for (let Ee = 0; Ee < g.value.length; Ee++)
10143
+ g.value[Ee].id === "createorder" && D();
10163
10144
  }, ae = () => {
10164
10145
  let N = !0;
10165
10146
  if (o.value.processTypeId == "dealwith")
10166
10147
  o.value.reason.trim() || (N = !1, c.value.reason = V("必填,最多50个字符/汉字").value), o.value.treatmentPlan.trim() || (N = !1, c.value.treatmentPlan = V("必填,最多50个字符/汉字").value);
10167
10148
  else if (o.value.processTypeId == "createorder")
10168
- E.value ? c.value.reportPosition = "" : !o.value.reportPosition && !o.value.customPath ? (N = !1, c.value.reportPosition = V("必填").value) : c.value.reportPosition = "", y.value || o.value.reportTheme ? c.value.reportTheme = "" : (N = !1, c.value.reportTheme = V("必填,最多20个汉字/字符").value), o.value.workOrderRules ? c.value.workOrderRules = "" : (N = !1, c.value.workOrderRules = V("必填").value);
10149
+ A.value ? c.value.reportPosition = "" : !o.value.reportPosition && !o.value.customPath ? (N = !1, c.value.reportPosition = V("必填").value) : c.value.reportPosition = "", y.value || o.value.reportTheme ? c.value.reportTheme = "" : (N = !1, c.value.reportTheme = V("必填,最多20个汉字/字符").value), o.value.workOrderRules ? c.value.workOrderRules = "" : (N = !1, c.value.workOrderRules = V("必填").value);
10169
10150
  else if (o.value.processTypeId == "createcontingency") {
10170
- const P = /^[1-9][0-9]{0,2}$/;
10171
- o.value.eventTypeId || (N = !1, c.value.eventTypeId = V("必选").value), o.value.eventLevelId || (N = !1, c.value.eventLevelId = V("必选").value), o.value.interval != 3 && !P.test(o.value.timeLimit) && (N = !1, c.value.timeLimit = V("必填,请输入1~999之间的正整数").value);
10151
+ const R = /^[1-9][0-9]{0,2}$/;
10152
+ o.value.eventTypeId || (N = !1, c.value.eventTypeId = V("必选").value), o.value.eventLevelId || (N = !1, c.value.eventLevelId = V("必选").value), o.value.interval != 3 && !R.test(o.value.timeLimit) && (N = !1, c.value.timeLimit = V("必填,请输入1~999之间的正整数").value);
10172
10153
  }
10173
10154
  return N;
10174
10155
  }, _e = () => {
10175
- console.log("cancelDialog"), rt();
10156
+ rt();
10176
10157
  }, ee = async (N) => {
10177
- console.log("handerIds", n.handerIds), ae() && (l.value = N, tt());
10158
+ ae() && (l.value = N, tt());
10178
10159
  }, tt = async () => {
10179
10160
  const N = {
10180
10161
  projectId: n.projectId,
@@ -10185,13 +10166,13 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10185
10166
  processTypeId: o.value.processTypeId
10186
10167
  //处理类型id
10187
10168
  };
10188
- o.value.processTypeId === "createorder" ? (N.path = E.value ? "" : o.value.customPath, N.topic = y.value ? "" : o.value.reportTheme, N.spaceId = E.value ? "" : o.value.reportPosition ?? "", N.orderId = o.value.workOrderRules) : o.value.processTypeId === "createcontingency" ? (N.eventTypeId = o.value.eventTypeId, N.eventLevelId = o.value.eventLevelId, N.timeLimit = o.value.interval == 3 ? null : Number(o.value.timeLimit), N.interval = o.value.interval) : (N.reason = o.value.reason, N.treatmentPlan = o.value.treatmentPlan, N.remarks = o.value.remarks), s.value = !0, console.log("handling", N), a("emitFn", "startHandle");
10189
- const [P, z] = await ph(N, {
10169
+ o.value.processTypeId === "createorder" ? (N.path = A.value ? "" : o.value.customPath, N.topic = y.value ? "" : o.value.reportTheme, N.spaceId = A.value ? "" : o.value.reportPosition ?? "", N.orderId = o.value.workOrderRules) : o.value.processTypeId === "createcontingency" ? (N.eventTypeId = o.value.eventTypeId, N.eventLevelId = o.value.eventLevelId, N.timeLimit = o.value.interval == 3 ? null : Number(o.value.timeLimit), N.interval = o.value.interval) : (N.reason = o.value.reason, N.treatmentPlan = o.value.treatmentPlan, N.remarks = o.value.remarks), s.value = !0, a("emitFn", "startHandle");
10170
+ const [R, O] = await ph(N, {
10190
10171
  params: {
10191
10172
  projectId: n.projectId
10192
10173
  }
10193
10174
  }).run();
10194
- if (console.log("handling", P, z), P) {
10175
+ if (R) {
10195
10176
  s.value = !1;
10196
10177
  return;
10197
10178
  }
@@ -10199,15 +10180,15 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10199
10180
  }, Ve = () => {
10200
10181
  u.value = !0, ie();
10201
10182
  }, rt = () => {
10202
- console.log("cancelDialog"), u.value = !1;
10183
+ u.value = !1;
10203
10184
  };
10204
10185
  return e({
10205
10186
  open: Ve,
10206
10187
  close: rt
10207
- }), (N, P) => (Y(), Se("div", yh, [
10188
+ }), (N, R) => (Y(), Se("div", yh, [
10208
10189
  Z(F(gn), {
10209
10190
  modelValue: u.value,
10210
- "onUpdate:modelValue": P[31] || (P[31] = (z) => u.value = z),
10191
+ "onUpdate:modelValue": R[31] || (R[31] = (O) => u.value = O),
10211
10192
  type: "basic",
10212
10193
  size: "small",
10213
10194
  height: 500,
@@ -10218,7 +10199,7 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10218
10199
  "destroy-on-close": ""
10219
10200
  }, {
10220
10201
  header: X(() => [
10221
- Oe(
10202
+ ze(
10222
10203
  pe(F(V)("告警处理").value),
10223
10204
  1
10224
10205
  /* TEXT */
@@ -10231,7 +10212,7 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10231
10212
  onClick: _e
10232
10213
  }, {
10233
10214
  default: X(() => [
10234
- Oe(
10215
+ ze(
10235
10216
  pe(F(V)("取消").value),
10236
10217
  1
10237
10218
  /* TEXT */
@@ -10243,10 +10224,10 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10243
10224
  Z(F(mt), {
10244
10225
  block: "",
10245
10226
  size: "middle",
10246
- onClick: P[29] || (P[29] = (z) => ee(1))
10227
+ onClick: R[29] || (R[29] = (O) => ee(1))
10247
10228
  }, {
10248
10229
  default: X(() => [
10249
- Oe(
10230
+ ze(
10250
10231
  pe(F(V)("结束处理").value),
10251
10232
  1
10252
10233
  /* TEXT */
@@ -10259,10 +10240,10 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10259
10240
  block: "",
10260
10241
  btnType: "primary",
10261
10242
  size: "middle",
10262
- onClick: P[30] || (P[30] = (z) => ee(2))
10243
+ onClick: R[30] || (R[30] = (O) => ee(2))
10263
10244
  }, {
10264
10245
  default: X(() => [
10265
- Oe(
10246
+ ze(
10266
10247
  pe(F(V)("继续处理").value),
10267
10248
  1
10268
10249
  /* TEXT */
@@ -10295,7 +10276,7 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10295
10276
  required: "",
10296
10277
  type: "select",
10297
10278
  modelValue: o.value.processTypeId,
10298
- "onUpdate:modelValue": P[0] || (P[0] = (z) => o.value.processTypeId = z),
10279
+ "onUpdate:modelValue": R[0] || (R[0] = (O) => o.value.processTypeId = O),
10299
10280
  options: g.value,
10300
10281
  col: 1,
10301
10282
  optionsLabelKey: "name",
@@ -10312,11 +10293,11 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10312
10293
  type: "input",
10313
10294
  maxlength: "50",
10314
10295
  col: 1,
10315
- onFocus: P[1] || (P[1] = (z) => c.value.reason = ""),
10296
+ onFocus: R[1] || (R[1] = (O) => c.value.reason = ""),
10316
10297
  modelValue: o.value.reason,
10317
- "onUpdate:modelValue": P[2] || (P[2] = (z) => o.value.reason = z),
10298
+ "onUpdate:modelValue": R[2] || (R[2] = (O) => o.value.reason = O),
10318
10299
  error: c.value.reason,
10319
- "onUpdate:error": P[3] || (P[3] = (z) => c.value.reason = z),
10300
+ "onUpdate:error": R[3] || (R[3] = (O) => c.value.reason = O),
10320
10301
  marginBottom: "30px",
10321
10302
  marginRight: "0"
10322
10303
  }, null, 8, ["label", "required", "modelValue", "error"])) : oe("v-if", !0),
@@ -10327,11 +10308,11 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10327
10308
  type: "input",
10328
10309
  maxlength: "50",
10329
10310
  col: 1,
10330
- onFocus: P[4] || (P[4] = (z) => c.value.treatmentPlan = ""),
10311
+ onFocus: R[4] || (R[4] = (O) => c.value.treatmentPlan = ""),
10331
10312
  modelValue: o.value.treatmentPlan,
10332
- "onUpdate:modelValue": P[5] || (P[5] = (z) => o.value.treatmentPlan = z),
10313
+ "onUpdate:modelValue": R[5] || (R[5] = (O) => o.value.treatmentPlan = O),
10333
10314
  error: c.value.treatmentPlan,
10334
- "onUpdate:error": P[6] || (P[6] = (z) => c.value.treatmentPlan = z),
10315
+ "onUpdate:error": R[6] || (R[6] = (O) => c.value.treatmentPlan = O),
10335
10316
  marginBottom: "30px",
10336
10317
  marginRight: "0"
10337
10318
  }, null, 8, ["label", "required", "modelValue", "error"])) : oe("v-if", !0),
@@ -10344,7 +10325,7 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10344
10325
  maxlength: "100",
10345
10326
  col: 1,
10346
10327
  modelValue: o.value.remarks,
10347
- "onUpdate:modelValue": P[7] || (P[7] = (z) => o.value.remarks = z),
10328
+ "onUpdate:modelValue": R[7] || (R[7] = (O) => o.value.remarks = O),
10348
10329
  marginBottom: "30px",
10349
10330
  marginRight: "0"
10350
10331
  }, null, 8, ["label", "modelValue"])) : oe("v-if", !0),
@@ -10354,7 +10335,7 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10354
10335
  required: "",
10355
10336
  type: "custom",
10356
10337
  error: c.value.reportPosition,
10357
- "onUpdate:error": P[13] || (P[13] = (z) => c.value.reportPosition = z),
10338
+ "onUpdate:error": R[13] || (R[13] = (O) => c.value.reportPosition = O),
10358
10339
  marginBottom: "20px",
10359
10340
  marginRight: "0"
10360
10341
  }, {
@@ -10365,17 +10346,17 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10365
10346
  borderType: "underline",
10366
10347
  props: { disabled: "_disabled", label: "name" },
10367
10348
  modelValue: o.value.reportPosition,
10368
- "onUpdate:modelValue": P[8] || (P[8] = (z) => o.value.reportPosition = z),
10349
+ "onUpdate:modelValue": R[8] || (R[8] = (O) => o.value.reportPosition = O),
10369
10350
  path: x.value,
10370
- "onUpdate:path": P[9] || (P[9] = (z) => x.value = z),
10351
+ "onUpdate:path": R[9] || (R[9] = (O) => x.value = O),
10371
10352
  keyword: C.value,
10372
- "onUpdate:keyword": P[10] || (P[10] = (z) => C.value = z),
10353
+ "onUpdate:keyword": R[10] || (R[10] = (O) => C.value = O),
10373
10354
  showFullPath: !0,
10374
10355
  data: v.value,
10375
10356
  placeholder: m.value,
10376
- disabled: b.value,
10377
- load: A,
10378
- search: k,
10357
+ disabled: w.value,
10358
+ load: B,
10359
+ search: E,
10379
10360
  onChange: H,
10380
10361
  filter: !0,
10381
10362
  allowClear: !0
@@ -10383,21 +10364,21 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10383
10364
  Z(F(Yn), {
10384
10365
  ref: "testInput",
10385
10366
  modelValue: o.value.customPath,
10386
- "onUpdate:modelValue": P[11] || (P[11] = (z) => o.value.customPath = z),
10367
+ "onUpdate:modelValue": R[11] || (R[11] = (O) => o.value.customPath = O),
10387
10368
  placeholder: F(V)("选填").value,
10388
- disabled: b.value,
10369
+ disabled: w.value,
10389
10370
  maxlength: "20"
10390
10371
  }, null, 8, ["modelValue", "placeholder", "disabled"])
10391
10372
  ]),
10392
10373
  Z(F(eo), {
10393
- modelValue: E.value,
10394
- "onUpdate:modelValue": P[12] || (P[12] = (z) => E.value = z),
10374
+ modelValue: A.value,
10375
+ "onUpdate:modelValue": R[12] || (R[12] = (O) => A.value = O),
10395
10376
  checkboxType: "default",
10396
10377
  onChange: W,
10397
10378
  size: "middle"
10398
10379
  }, {
10399
10380
  default: X(() => [
10400
- Oe(
10381
+ ze(
10401
10382
  pe(F(V)("告警对象位置").value),
10402
10383
  1
10403
10384
  /* TEXT */
@@ -10417,7 +10398,7 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10417
10398
  required: "",
10418
10399
  type: "custom",
10419
10400
  error: c.value.reportTheme,
10420
- "onUpdate:error": P[16] || (P[16] = (z) => c.value.reportTheme = z),
10401
+ "onUpdate:error": R[16] || (R[16] = (O) => c.value.reportTheme = O),
10421
10402
  marginBottom: "20px",
10422
10403
  marginRight: "0"
10423
10404
  }, {
@@ -10425,21 +10406,21 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10425
10406
  K("div", Eh, [
10426
10407
  Z(F(Yn), {
10427
10408
  maxlength: "20",
10428
- disabled: B.value,
10409
+ disabled: k.value,
10429
10410
  modelValue: o.value.reportTheme,
10430
- "onUpdate:modelValue": P[14] || (P[14] = (z) => o.value.reportTheme = z),
10411
+ "onUpdate:modelValue": R[14] || (R[14] = (O) => o.value.reportTheme = O),
10431
10412
  placeholder: f.value,
10432
10413
  onChange: L
10433
10414
  }, null, 8, ["disabled", "modelValue", "placeholder"]),
10434
10415
  Z(F(eo), {
10435
10416
  modelValue: y.value,
10436
- "onUpdate:modelValue": P[15] || (P[15] = (z) => y.value = z),
10417
+ "onUpdate:modelValue": R[15] || (R[15] = (O) => y.value = O),
10437
10418
  checkboxType: "default",
10438
10419
  onChange: q,
10439
10420
  size: "middle"
10440
10421
  }, {
10441
10422
  default: X(() => [
10442
- Oe(
10423
+ ze(
10443
10424
  pe(F(V)("告警对象").value),
10444
10425
  1
10445
10426
  /* TEXT */
@@ -10459,10 +10440,10 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10459
10440
  required: "",
10460
10441
  type: "select",
10461
10442
  modelValue: o.value.workOrderRules,
10462
- "onUpdate:modelValue": P[17] || (P[17] = (z) => o.value.workOrderRules = z),
10443
+ "onUpdate:modelValue": R[17] || (R[17] = (O) => o.value.workOrderRules = O),
10463
10444
  error: c.value.workOrderRules,
10464
- "onUpdate:error": P[18] || (P[18] = (z) => c.value.workOrderRules = z),
10465
- options: w.value,
10445
+ "onUpdate:error": R[18] || (R[18] = (O) => c.value.workOrderRules = O),
10446
+ options: b.value,
10466
10447
  col: 1,
10467
10448
  optionsLabelKey: "name",
10468
10449
  optionsValueKey: "id",
@@ -10477,9 +10458,9 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10477
10458
  required: "",
10478
10459
  type: "select",
10479
10460
  modelValue: o.value.eventTypeId,
10480
- "onUpdate:modelValue": P[19] || (P[19] = (z) => o.value.eventTypeId = z),
10461
+ "onUpdate:modelValue": R[19] || (R[19] = (O) => o.value.eventTypeId = O),
10481
10462
  error: c.value.eventTypeId,
10482
- "onUpdate:error": P[20] || (P[20] = (z) => c.value.eventTypeId = z),
10463
+ "onUpdate:error": R[20] || (R[20] = (O) => c.value.eventTypeId = O),
10483
10464
  options: d.value,
10484
10465
  col: 1,
10485
10466
  optionsLabelKey: "typeName",
@@ -10487,7 +10468,7 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10487
10468
  "get-popup-container": S,
10488
10469
  marginBottom: "30px",
10489
10470
  marginRight: "0",
10490
- onChange: P[21] || (P[21] = (z) => G("eventTypeId"))
10471
+ onChange: R[21] || (R[21] = (O) => G("eventTypeId"))
10491
10472
  }, null, 8, ["label", "modelValue", "error", "options"])) : oe("v-if", !0),
10492
10473
  o.value.processTypeId == "createcontingency" ? (Y(), se(F(Ne), {
10493
10474
  key: 7,
@@ -10495,9 +10476,9 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10495
10476
  required: "",
10496
10477
  type: "select",
10497
10478
  modelValue: o.value.eventLevelId,
10498
- "onUpdate:modelValue": P[22] || (P[22] = (z) => o.value.eventLevelId = z),
10479
+ "onUpdate:modelValue": R[22] || (R[22] = (O) => o.value.eventLevelId = O),
10499
10480
  error: c.value.eventLevelId,
10500
- "onUpdate:error": P[23] || (P[23] = (z) => c.value.eventLevelId = z),
10481
+ "onUpdate:error": R[23] || (R[23] = (O) => c.value.eventLevelId = O),
10501
10482
  options: h.value,
10502
10483
  col: 1,
10503
10484
  optionsLabelKey: "name",
@@ -10505,7 +10486,7 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10505
10486
  "get-popup-container": S,
10506
10487
  marginBottom: "30px",
10507
10488
  marginRight: "0",
10508
- onChange: P[24] || (P[24] = (z) => G("eventLevelId"))
10489
+ onChange: R[24] || (R[24] = (O) => G("eventLevelId"))
10509
10490
  }, null, 8, ["label", "modelValue", "error", "options"])) : oe("v-if", !0),
10510
10491
  o.value.processTypeId == "createcontingency" ? (Y(), se(F(Ne), {
10511
10492
  key: 8,
@@ -10515,19 +10496,19 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10515
10496
  maxlength: "3",
10516
10497
  col: 1,
10517
10498
  modelValue: o.value.timeLimit,
10518
- "onUpdate:modelValue": P[27] || (P[27] = (z) => o.value.timeLimit = z),
10499
+ "onUpdate:modelValue": R[27] || (R[27] = (O) => o.value.timeLimit = O),
10519
10500
  error: c.value.timeLimit,
10520
- "onUpdate:error": P[28] || (P[28] = (z) => c.value.timeLimit = z),
10501
+ "onUpdate:error": R[28] || (R[28] = (O) => c.value.timeLimit = O),
10521
10502
  disabled: o.value.interval == 3,
10522
10503
  marginBottom: "30px",
10523
10504
  marginRight: "0"
10524
10505
  }, {
10525
10506
  default: X(() => [
10526
10507
  K("div", Ah, [
10527
- Z(F(zs), {
10508
+ Z(F(Os), {
10528
10509
  class: "select",
10529
10510
  modelValue: o.value.interval,
10530
- "onUpdate:modelValue": P[25] || (P[25] = (z) => o.value.interval = z),
10511
+ "onUpdate:modelValue": R[25] || (R[25] = (O) => o.value.interval = O),
10531
10512
  width: F(Aa) == "zh-CN" ? "65px" : "85px",
10532
10513
  fieldNames: {
10533
10514
  value: "id",
@@ -10537,7 +10518,7 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10537
10518
  "border-type": "underline",
10538
10519
  size: "small",
10539
10520
  "get-popup-container": S,
10540
- onChange: P[26] || (P[26] = (z) => G("interval")),
10521
+ onChange: R[26] || (R[26] = (O) => G("interval")),
10541
10522
  placeholder: F(V)("请选择").value
10542
10523
  }, null, 8, ["modelValue", "width", "options", "placeholder"])
10543
10524
  ])
@@ -10564,17 +10545,16 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10564
10545
  ]));
10565
10546
  }
10566
10547
  }), Sh = /* @__PURE__ */ Le(Dh, [["__scopeId", "data-v-f392391d"]]), Fh = (r, e, t) => ({
10567
- handleAlarmVue: () => ye(Sh, {
10548
+ handleAlarmVue: () => Ce(Sh, {
10568
10549
  handerIds: e.value,
10569
10550
  projectId: pn().id,
10570
10551
  ref: r,
10571
10552
  onEmitFn: (a, s) => {
10572
- t(a, s);
10573
10553
  }
10574
10554
  })
10575
- }), Ih = { class: "alarm-msg" }, Th = { style: { position: "relative" } }, Ph = { class: "title-left" }, Rh = { class: "title-box" }, $h = { class: "content-box" }, Oh = { class: "alarm-msg-line" }, zh = { class: "alarm-msg-line-left" }, Mh = { class: "alarm-msg-line" }, Nh = { class: "alarm-msg-line-left" }, Lh = { class: "alarm-msg-line-right alarm-content-object" }, Hh = { class: "alarm-msg-line" }, Uh = { class: "alarm-msg-line-left" }, jh = { class: "alarm-msg-line-right alarm-content" }, qh = { class: "btn-box" }, Wh = {
10555
+ }), Ih = { class: "alarm-msg" }, Th = { style: { position: "relative" } }, Ph = { class: "title-left" }, Rh = { class: "title-box" }, $h = { class: "content-box" }, zh = { class: "alarm-msg-line" }, Oh = { class: "alarm-msg-line-left" }, Mh = { class: "alarm-msg-line" }, Nh = { class: "alarm-msg-line-left" }, Lh = { class: "alarm-msg-line-right alarm-content-object" }, Hh = { class: "alarm-msg-line" }, Uh = { class: "alarm-msg-line-left" }, jh = { class: "alarm-msg-line-right alarm-content" }, qh = { class: "btn-box" }, Wh = {
10576
10556
  name: "alarm"
10577
- }, Vh = /* @__PURE__ */ Ee({
10557
+ }, Vh = /* @__PURE__ */ we({
10578
10558
  ...Wh,
10579
10559
  props: {
10580
10560
  alarmhandle: { type: Boolean, default: !1 },
@@ -10583,9 +10563,9 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10583
10563
  emits: ["handerDetail", "handerFn"],
10584
10564
  setup(r, { emit: e }) {
10585
10565
  const t = r, n = e, a = () => {
10586
- console.log("handerFn"), n("handerFn", t.msgItem);
10566
+ n("handerFn", t.msgItem);
10587
10567
  }, s = () => {
10588
- console.log("handerDetail", t.msgItem), n("handerDetail", t.msgItem);
10568
+ n("handerDetail", t.msgItem);
10589
10569
  };
10590
10570
  return (i, l) => (Y(), Se(
10591
10571
  _t,
@@ -10625,10 +10605,10 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10625
10605
  /* STYLE */
10626
10606
  ),
10627
10607
  K("div", $h, [
10628
- K("div", Oh, [
10608
+ K("div", zh, [
10629
10609
  K(
10630
10610
  "div",
10631
- zh,
10611
+ Oh,
10632
10612
  pe(F(V)("告警等级:").value),
10633
10613
  1
10634
10614
  /* TEXT */
@@ -10680,12 +10660,12 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10680
10660
  i.msgItem.equipmentCode && i.msgItem.equipmentPanelCode ? (Y(), se(F(mt), {
10681
10661
  key: 0,
10682
10662
  block: "",
10683
- onClick: ge(s, ["stop"]),
10663
+ onClick: ve(s, ["stop"]),
10684
10664
  btnType: "primary-text",
10685
10665
  size: "middle"
10686
10666
  }, {
10687
10667
  default: X(() => [
10688
- Oe(
10668
+ ze(
10689
10669
  pe(F(V)("设备详情").value),
10690
10670
  1
10691
10671
  /* TEXT */
@@ -10698,11 +10678,11 @@ const ah = Ye(`/api/tool/event-bus/${dr}/`), Jr = ah.post("/publish"), sh = xn.g
10698
10678
  key: 1,
10699
10679
  block: "",
10700
10680
  btnType: "primary-text",
10701
- onClick: ge(a, ["stop"]),
10681
+ onClick: ve(a, ["stop"]),
10702
10682
  size: "middle"
10703
10683
  }, {
10704
10684
  default: X(() => [
10705
- Oe(
10685
+ ze(
10706
10686
  pe(F(V)("处理").value),
10707
10687
  1
10708
10688
  /* TEXT */
@@ -10746,113 +10726,110 @@ const Gh = () => {
10746
10726
  loop: !1
10747
10727
  // 轮播-无限次播放
10748
10728
  });
10749
- we.addEventListenerFromMicroApp("alarm:change-alarmconfig", (B) => {
10750
- const { isRealTimeAlarm: y, audioPlay: w } = B.data;
10751
- y != null && (l.value = y), w != null && (u.value = w, u.value || b());
10729
+ be.addEventListenerFromMicroApp("alarm:change-alarmconfig", (E) => {
10730
+ const { isRealTimeAlarm: k, audioPlay: y } = E.data;
10731
+ k != null && (l.value = k), y != null && (u.value = y, u.value || C());
10752
10732
  });
10753
- const c = (B, y) => {
10754
- console.log("handleAlarmEmitFn", B, y);
10755
- }, _ = (B) => {
10756
- var w;
10757
- console.log("handerAlarmFn", B);
10758
- const y = [];
10759
- y.push({ alarmId: B.recordId }), a.value = y, (w = t.value) == null || w.open();
10760
- }, { entryApp: d } = Zt.hooks.useEntryApp(), h = (B) => {
10761
- Oa(B.equipmentCode, B.equipmentPanelCode);
10762
- }, { handleAlarmVue: p } = Fh(t, a, c), g = async () => {
10763
- var w;
10764
- const y = (((w = de().appcategorys) == null ? void 0 : w.map((D) => D.apps).flat()) ?? []).find((D) => D.code === "alarm");
10765
- y && d({ microApp: y, menuPath: `/${y.routeUrl}/realTimeAlarm` });
10766
- }, x = [], m = (B) => {
10767
- if (x.push(B), s.value.length < 2) {
10768
- f(x[0]), x.shift();
10733
+ const c = (E) => {
10734
+ var y;
10735
+ const k = [];
10736
+ k.push({ alarmId: E.recordId }), a.value = k, (y = t.value) == null || y.open();
10737
+ }, { entryApp: _ } = Zt.hooks.useEntryApp(), d = (E) => {
10738
+ za(E.equipmentCode, E.equipmentPanelCode);
10739
+ }, { handleAlarmVue: h } = Fh(t, a), p = async () => {
10740
+ var y;
10741
+ const k = (((y = de().appcategorys) == null ? void 0 : y.map((b) => b.apps).flat()) ?? []).find((b) => b.code === "alarm");
10742
+ k && _({ microApp: k, menuPath: `/${k.routeUrl}/realTimeAlarm` });
10743
+ }, g = [], x = (E) => {
10744
+ if (g.push(E), s.value.length < 2) {
10745
+ m(g[0]), g.shift();
10769
10746
  return;
10770
10747
  }
10771
- }, f = (B) => {
10772
- if (!B) return;
10773
- const y = Kh();
10748
+ }, m = (E) => {
10749
+ if (!E) return;
10750
+ const k = Kh();
10774
10751
  Qt.open({
10775
- key: y,
10752
+ key: k,
10776
10753
  class: "alarm-notify",
10777
10754
  message: V("新告警").value,
10778
10755
  placement: "bottomRight",
10779
- description: ye(Vh, {
10780
- msgItem: B,
10756
+ description: Ce(Vh, {
10757
+ msgItem: E,
10781
10758
  alarmhandle: i.value,
10782
- onHanderDetail: h,
10783
- onHanderFn: _
10759
+ onHanderDetail: d,
10760
+ onHanderFn: c
10784
10761
  }),
10785
10762
  duration: 5,
10786
10763
  onClick: () => {
10787
- console.log("onClick"), g();
10764
+ p();
10788
10765
  },
10789
10766
  onClose: () => {
10790
- console.log("onClose", 5), setTimeout(() => {
10791
- const w = s.value.findIndex((D) => D == y);
10792
- if (w >= 0 && s.value.splice(w, 1), s.value.length < 2 && x.length) {
10793
- f(x[0]), x.shift();
10767
+ setTimeout(() => {
10768
+ const y = s.value.findIndex((b) => b == k);
10769
+ if (y >= 0 && s.value.splice(y, 1), s.value.length < 2 && g.length) {
10770
+ m(g[0]), g.shift();
10794
10771
  return;
10795
10772
  }
10796
10773
  }, 300);
10797
10774
  }
10798
- }), s.value.includes(y) || s.value.push(y), v(B);
10799
- }, v = (B) => {
10800
- if (console.log("去播放音频", B, x), !!B) {
10775
+ }), s.value.includes(k) || s.value.push(k), f(E);
10776
+ }, f = (E) => {
10777
+ if (E) {
10801
10778
  if (!u.value) {
10802
- b();
10779
+ C();
10803
10780
  return;
10804
10781
  }
10805
- if (!B.coverId) {
10806
- if (console.log("去播放音频11111111", B), o.value.playLine === null) {
10807
- b(), Number(B.noticeNum) != 0 && (console.log("去播放音频22222"), C(B));
10782
+ if (!E.coverId) {
10783
+ if (o.value.playLine === null) {
10784
+ C(), Number(E.noticeNum) != 0 && v(E);
10808
10785
  return;
10809
10786
  }
10810
- Number(B.alarmLevelId) < o.value.playLine && (b(), Number(B.noticeNum) != 0 && (console.log("去播放音频3333333"), C(B)));
10787
+ Number(E.alarmLevelId) < o.value.playLine && (C(), Number(E.noticeNum) != 0 && v(E));
10811
10788
  }
10812
10789
  }
10813
- }, C = (B) => {
10814
- const y = Number(B.noticeNum), w = location.origin + "/oss";
10815
- o.value.isplay && o.value.playId == B.recordId ? b() : (y < 0 ? o.value.loop = !0 : o.value.loop = !1, y > 0 ? (o.value.loopTotalCount = Number(B.noticeNum), o.value.loopCount = 0) : (o.value.loopTotalCount = 0, o.value.loopCount = 0), o.value.isplay = !0, o.value.playId = B.recordId, o.value.playLine = Number(B.alarmLevelId), o.value.playPath = w + B.noticePath, E());
10816
- }, b = () => {
10790
+ }, v = (E) => {
10791
+ const k = Number(E.noticeNum), y = location.origin + "/oss";
10792
+ o.value.isplay && o.value.playId == E.recordId ? C() : (k < 0 ? o.value.loop = !0 : o.value.loop = !1, k > 0 ? (o.value.loopTotalCount = Number(E.noticeNum), o.value.loopCount = 0) : (o.value.loopTotalCount = 0, o.value.loopCount = 0), o.value.isplay = !0, o.value.playId = E.recordId, o.value.playLine = Number(E.alarmLevelId), o.value.playPath = y + E.noticePath, w());
10793
+ }, C = () => {
10817
10794
  o.value.playId = "", o.value.playPath = "", o.value.playLine = null, o.value.loopCount = 0, o.value.loopTotalCount = 0, o.value.isplay = !1, o.value.loop = !1;
10818
- }, E = () => {
10819
- console.log("audioAlarmRef", n.value, o.value), n.value.onended = function() {
10820
- console.log("音频播放完成"), o.value.loopCount = o.value.loopCount + 1, o.value.loopTotalCount && o.value.loopTotalCount && (o.value.loopCount == o.value.loopTotalCount ? (console.log("轮巡结束1111111"), o.value.playPath = "", o.value.isplay = !1, o.value.playId = "", o.value.loopTotalCount = 0, o.value.loopCount = 0, o.value.playLine = null) : n.value.play());
10795
+ }, w = () => {
10796
+ n.value.onended = function() {
10797
+ o.value.loopCount = o.value.loopCount + 1, o.value.loopTotalCount && o.value.loopTotalCount && (o.value.loopCount == o.value.loopTotalCount ? (o.value.playPath = "", o.value.isplay = !1, o.value.playId = "", o.value.loopTotalCount = 0, o.value.loopCount = 0, o.value.playLine = null) : n.value.play());
10821
10798
  };
10822
10799
  }, A = async () => {
10823
- const [B, y] = await hh().run();
10824
- console.log("getAudioSet", y), !B && (u.value = y.isEnable);
10800
+ const [E, k] = await hh().run();
10801
+ E || (u.value = k.isEnable);
10825
10802
  };
10826
10803
  return {
10827
10804
  alarmSocket: r,
10828
10805
  alarmCount: e,
10829
10806
  audioObj: o,
10830
10807
  audioAlarmRef: n,
10831
- handleAlarmVue: p,
10808
+ handleAlarmVue: h,
10832
10809
  creatAlarmSocket: async () => {
10833
10810
  A();
10834
- const [B, y] = await uh().run({
10811
+ const [E, k] = await uh().run({
10835
10812
  code: "alarm",
10836
10813
  showBtn: !0
10837
10814
  });
10838
- if (console.log(y, "======告警通知websocket"), B || !y || !y.length) return;
10839
- let w = !1;
10840
- y.forEach((D) => {
10841
- (D.code === "alarm.realTimeAlarm" || D.originalCode === "alarm.realTimeAlarm") && (w = !0, D.children && D.children.length ? i.value = D.children.findIndex((S) => S.code == "alarm.realTimeAlarm.handle") >= 0 : i.value = !1);
10842
- }), console.log("realTimeAlarm33", w, i.value), w && (r.value = new _n({
10815
+ if (E || !k || !k.length) return;
10816
+ let y = !1;
10817
+ k.forEach((b) => {
10818
+ (b.code === "alarm.realTimeAlarm" || b.originalCode === "alarm.realTimeAlarm") && (y = !0, b.children && b.children.length ? i.value = b.children.findIndex((D) => D.code == "alarm.realTimeAlarm.handle") >= 0 : i.value = !1);
10819
+ }), y && (r.value = new _n({
10843
10820
  url: "/api/alarm/socket/v1/record/subscribe",
10844
10821
  reconnectWhenClose: !0,
10845
10822
  opened: () => {
10846
- const D = Ze().id;
10847
- D && r.value.send(D);
10823
+ const b = Ze().id;
10824
+ b && r.value.send(b);
10848
10825
  },
10849
- message: async (D) => {
10850
- we.sendMessageToMicroApp("enterpriseadmin/alarm", "alarm:message", { alarmMessage: D }), window.self === window.top && (console.log("alarmMessage", D), D.messageType === "ADD" && (e.value = e.value + 1, D.coverId || m(D)), D.messageType === "DELETE" && (e.value = e.value - 1, o.value.playId == D.recordId && (console.log("删除提示音11111111-AIOT_CLI_LiveList", o.value.playId), b())));
10826
+ message: async (b) => {
10827
+ be.sendMessageToMicroApp("enterpriseadmin/alarm", "alarm:message", { alarmMessage: b }), window.self === window.top && (b.messageType === "ADD" && (e.value = e.value + 1, b.coverId || x(b)), b.messageType === "DELETE" && (e.value = e.value - 1, o.value.playId == b.recordId && C()));
10851
10828
  }
10852
10829
  }));
10853
10830
  }
10854
10831
  };
10855
- }, Xh = ["src", "muted", "loop"], Qh = /* @__PURE__ */ Ee({
10832
+ }, Xh = ["src", "muted", "loop"], Qh = /* @__PURE__ */ we({
10856
10833
  __name: "index",
10857
10834
  setup(r) {
10858
10835
  const { alarmSocket: e, creatAlarmSocket: t, audioObj: n, audioAlarmRef: a, handleAlarmVue: s } = Gh();
@@ -10879,13 +10856,13 @@ const Gh = () => {
10879
10856
  /* STABLE_FRAGMENT */
10880
10857
  ));
10881
10858
  }
10882
- }), Zh = { class: "das-main-app-container" }, Jh = /* @__PURE__ */ Ee({
10859
+ }), Zh = { class: "das-main-app-container" }, Jh = /* @__PURE__ */ we({
10883
10860
  __name: "index",
10884
10861
  props: {
10885
10862
  showLayout: { type: Boolean, default: !0 }
10886
10863
  },
10887
10864
  setup(r) {
10888
- const e = r, { isFullscreen: t } = Lt(), n = wt().showLayout ?? !0, a = je(() => n && e.showLayout && !t.value), s = je(() => ve.excludeRoutes), i = je(() => ve.routeKeepAliveVisible), l = je(() => ({ mode: D0.value.style === 1 ? "vertical" : "inline" }));
10865
+ const e = r, { isFullscreen: t } = Lt(), n = wt().showLayout ?? !0, a = je(() => n && e.showLayout && !t.value), s = je(() => me.excludeRoutes), i = je(() => me.routeKeepAliveVisible), l = je(() => ({ mode: D0.value.style === 1 ? "vertical" : "inline" }));
10889
10866
  ke(
10890
10867
  () => Ea.nav.activeItem,
10891
10868
  (d) => {
@@ -10900,7 +10877,7 @@ const Gh = () => {
10900
10877
  const { initNextTick: u } = Ef();
10901
10878
  kf(), Tf(), Sf(), Pf(), F0(), Bf();
10902
10879
  const { fontColor: o, backgroudColor: c, borderColor: _ } = Df();
10903
- return zf(), Mf(), Nf(), Hf(), vp(), ch(), (d, h) => (Y(), Se("div", Zh, [
10880
+ return Of(), Mf(), Nf(), Hf(), vp(), ch(), (d, h) => (Y(), Se("div", Zh, [
10904
10881
  oe(` <button @click="test(0)">test</button>\r
10905
10882
  <button style="margin-left: 5px" @click="test(1)">test2</button> `),
10906
10883
  Z(F(ci), { platformInitNextTick: F(u) }, {
@@ -11115,11 +11092,11 @@ M("@das-fed/upf-web");
11115
11092
  const tx = [
11116
11093
  {
11117
11094
  path: qe,
11118
- component: () => import("./index-CI6ZgPEU.js")
11095
+ component: () => import("./index-DLOeR4lo.js")
11119
11096
  },
11120
11097
  {
11121
11098
  path: Ma,
11122
- component: () => import("./index-DRkEsoNL.js")
11099
+ component: () => import("./index-D2I3UnWM.js")
11123
11100
  }
11124
11101
  ], Vx = {
11125
11102
  routes: tx,
@@ -11138,7 +11115,7 @@ export {
11138
11115
  nn as a,
11139
11116
  Yt as c,
11140
11117
  Ya as g,
11141
- ve as l,
11118
+ me as l,
11142
11119
  Vx as m,
11143
11120
  D0 as p,
11144
11121
  qt as u