ss-component-new 1.3.845 → 1.3.847

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,15 +1,15 @@
1
1
  import { computed as Yt, defineComponent as Cn, defineProps as iu, ref as le, watch as Jt, onMounted as ll, onUnmounted as Xo, resolveComponent as Ne, createBlock as Ue, openBlock as K, withCtx as N, createElementVNode as ue, toDisplayString as Bt, createElementBlock as Ae, Fragment as Ft, createVNode as B, renderList as qt, withModifiers as Dn, normalizeStyle as _n, createTextVNode as jt, createCommentVNode as tt, unref as P, resolveDynamicComponent as il, shallowRef as gf, getCurrentInstance as gh, onBeforeUnmount as vf, normalizeClass as Mn, mergeProps as dr, nextTick as hl, markRaw as uu, resolveDirective as Ya, withDirectives as _l, provide as Qo, vShow as ea, renderSlot as xl, createSlots as si, defineAsyncComponent as Ec, reactive as Kn, withKeys as vh } from "vue";
2
- import { m as cu, a as fu, b as du, c as yh } from "./array-_PTuwhUD.js";
2
+ import { m as cu, a as fu, b as du, c as yh } from "./array-Bo9MLiTi.js";
3
3
  import { u as Jn, p as un, s as an, c as gn, a as Gl, b as Wl, j as ni, k as bh, m as mh, n as wh, o as Ga, q as yf, d as ii, l as Ch, r as ra, e as ja, t as kh, g as Sh, E as aa, w as $i, x as qo, v as Yo, y as bf, z as Ah, A as mf, i as Mh, B as ui, C as Er, D as Pc, F as Th, G as wf, H as _h, I as xh, J as Cf, K as Bc, L as Lh, M as Dh } from "./index-DkDX7FWy.js";
4
- import { _ as Zo, s as hu, a as Ih } from "./index-BxshXQDJ.js";
4
+ import { _ as Zo, s as hu, a as Ih } from "./index-D68Zti10.js";
5
5
  import { useRouter as Ja } from "vue-router";
6
6
  import { a as $o, d as pu, e as es, f as ts, g as ns, h as ls, t as Eh, c as Ph, b as Bh } from "./index-ChNfRlIP.js";
7
- import { g as qa, s as Rh, a as kf, b as Oh, c as Rc, _ as eu, u as Nh, d as Sf, X as Wh, Q as Fh } from "./index-Cjad6skG.js";
7
+ import { g as qa, s as Rh, a as kf, b as Oh, c as Rc, _ as eu, u as Nh, d as Sf, X as Wh, Q as Fh } from "./index-CT8HWEin.js";
8
8
  import { u as Af, g as Oc, b as Nc, c as Hh, a as Uh } from "./index-BiL2TItD.js";
9
9
  import { E as mn, i as Vh, d as Mf, b as pr, s as Tf, l as Kh, e as zh, m as jh, u as Qh, g as qh, h as Yh, j as Gh, k as Jh, t as Xh, n as Fa, o as Ha, I as Zh, p as Jl, q as _f, a as xf, c as Lf, r as $h, v as ep, w as Df, x as tp, y as np, f as lp } from "./request-DzUsnuWu.js";
10
10
  import { b as rp, g as If, c as ap, d as ml, u as gu, e as gr, f as Jo, o as Ef, l as op, n as sp, h as ip, s as li, t as up, i as cp } from "./index-BXJOhVGk.js";
11
11
  import { d as fp, g as Ka, a as dp } from "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-DF-NhuZl.js";
12
- import { t as hp, a as Pf, b as Ir, e as pp, s as gp, r as vp, u as Bf, c as Zs, d as hr, f as bl, o as Lr, h as Dr, i as Rf, j as tu, k as Of, l as vu, m as yp, n as bp, p as Vo, q as Ki, v as Ko, w as Yr, x as Ua, y as Va, z as Gr, A as mp, B as Jr, C as Xr, D as wp, E as Zr, F as $r, G as Wc, H as Fc, I as Hc, J as $s, K as En, L as Cp, M as kp, N as zi, O as Sp, P as Ap, Q as Mp, R as Tp, g as Nf, S as _p, T as Uc, U as xp, V as Lp } from "./index-D6LjF-Oy.js";
12
+ import { t as hp, a as Pf, b as Ir, e as pp, s as gp, r as vp, u as Bf, c as Zs, d as hr, f as bl, o as Lr, h as Dr, i as Rf, j as tu, k as Of, l as vu, m as yp, n as bp, p as Vo, q as Ki, v as Ko, w as Yr, x as Ua, y as Va, z as Gr, A as mp, B as Jr, C as Xr, D as wp, E as Zr, F as $r, G as Wc, H as Fc, I as Hc, J as $s, K as En, L as Cp, M as kp, N as zi, O as Sp, P as Ap, Q as Mp, R as Tp, g as Nf, S as _p, T as Uc, U as xp, V as Lp } from "./index-DT9jV5FZ.js";
13
13
  import "./JSEncrypt-B36c1iN5.js";
14
14
  import "./index-Je7_pWBH.js";
15
15
  import "./index-DIe8k6qK.js";
@@ -18,10 +18,10 @@ import { _ as ul } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
18
  import { s as Nl } from "./index-11kpzK0A.js";
19
19
  import { C as Ep } from "./index-ChHYlR4H.js";
20
20
  import { S as Tn } from "./index-BHtNKL1L.js";
21
- import Pp from "./threeModel--dfhPjvt.js";
21
+ import Pp from "./threeModel-Cvs79q_K.js";
22
22
  import { _ as lr } from "./index.vue_vue_type_script_setup_true_lang-BqS9V6jf.js";
23
- import { T as ai, u as Bp, a as Rp } from "./threeViewerHost-B2QRwz4_.js";
24
- import { s as nu } from "./index-CX1pEfRp.js";
23
+ import { T as ai, u as Bp, a as Rp } from "./threeViewerHost-zU0i_Qgc.js";
24
+ import { s as nu } from "./index-BhDHX9xL.js";
25
25
  import { u as Op } from "./index-DUtmsHr2.js";
26
26
  import { u as Np } from "./index-C89a5bD_.js";
27
27
  import { u as Ff } from "./index-ClMf7Pny.js";
@@ -38,8 +38,8 @@ const Hp = Jn(), Hf = async (f, M) => {
38
38
  }
39
39
  });
40
40
  if (((v = c == null ? void 0 : c.data) == null ? void 0 : v.code) === 200) {
41
- const h = (O = (I = M == null ? void 0 : M.compData) == null ? void 0 : I[0]) == null ? void 0 : O.contents;
42
- Hp.setRawMenus(h ?? []);
41
+ const p = (O = (I = M == null ? void 0 : M.compData) == null ? void 0 : I[0]) == null ? void 0 : O.contents;
42
+ Hp.setRawMenus(p ?? []);
43
43
  }
44
44
  return (d = c == null ? void 0 : c.data) == null ? void 0 : d.code;
45
45
  } catch (c) {
@@ -151,7 +151,7 @@ function jp(f = "menu") {
151
151
  default: "vertical"
152
152
  }
153
153
  }), v = le("sub-menu-more"), I = Jn(), O = Gl(un), d = le(0), c = Ja(), {
154
- rawMenus: h,
154
+ rawMenus: p,
155
155
  activeTopMenuPath: y,
156
156
  isRefreshMenus: C,
157
157
  menuTriggerType: A,
@@ -180,7 +180,7 @@ function jp(f = "menu") {
180
180
  return Array.isArray(ie) || (ie = [ie]), ie == null ? void 0 : ie.map((H) => {
181
181
  let oe, _e = G ? `${G}/${H.title}` : H.title;
182
182
  oe = _e;
183
- const p = {
183
+ const h = {
184
184
  ...H,
185
185
  path: oe,
186
186
  level: $,
@@ -197,7 +197,7 @@ function jp(f = "menu") {
197
197
  children: [],
198
198
  childMenus: []
199
199
  };
200
- return H.children && H.children.length > 0 && (p.children = fe(H.children, oe, $ + 1)), p;
200
+ return H.children && H.children.length > 0 && (h.children = fe(H.children, oe, $ + 1)), h;
201
201
  });
202
202
  }, se = le(null), te = Yt(() => {
203
203
  let x = gn(L.value);
@@ -300,7 +300,7 @@ function jp(f = "menu") {
300
300
  },
301
301
  { immediate: !0 }
302
302
  ), Jt(
303
- () => h.value,
303
+ () => p.value,
304
304
  (x) => {
305
305
  if (R.value = qa(), x) {
306
306
  W.value && (I.setActiveTopMenuPath(""), I.setActiveMenuPath(""), I.setAsideMenus([]));
@@ -344,13 +344,13 @@ function jp(f = "menu") {
344
344
  if (G) {
345
345
  const oe = {
346
346
  ...(ie = G.value) == null ? void 0 : ie.pageData,
347
- compData: (be = (Ke = (Se = G.value) == null ? void 0 : Se.pageData) == null ? void 0 : Ke.compData) == null ? void 0 : be.map((p) => p.key === "menuContents" ? {
348
- ...p,
347
+ compData: (be = (Ke = (Se = G.value) == null ? void 0 : Se.pageData) == null ? void 0 : Ke.compData) == null ? void 0 : be.map((h) => h.key === "menuContents" ? {
348
+ ...h,
349
349
  contents: x
350
- } : p)
350
+ } : h)
351
351
  };
352
352
  await Hf(G == null ? void 0 : G.id, oe);
353
- const _e = (H = te.value) == null ? void 0 : H.find((p) => (p == null ? void 0 : p.path) === y.value);
353
+ const _e = (H = te.value) == null ? void 0 : H.find((h) => (h == null ? void 0 : h.path) === y.value);
354
354
  _e && await At(_e), I.setAsideMenuLoading(!1), I.setIsRefreshMenus(!1);
355
355
  } else
356
356
  I.setAsideMenuLoading(!1);
@@ -368,12 +368,12 @@ function jp(f = "menu") {
368
368
  var G, $, ie, Se, Ke, be, H, oe;
369
369
  if (x)
370
370
  try {
371
- const _e = (ie = ($ = (G = T.value) == null ? void 0 : G.data) == null ? void 0 : $.path) == null ? void 0 : ie.split("/").slice(0, -1).join("/"), p = Rt(
371
+ const _e = (ie = ($ = (G = T.value) == null ? void 0 : G.data) == null ? void 0 : $.path) == null ? void 0 : ie.split("/").slice(0, -1).join("/"), h = Rt(
372
372
  L.value,
373
373
  (Se = T.value) == null ? void 0 : Se.data,
374
374
  _e,
375
375
  (Ke = T.value) == null ? void 0 : Ke.type
376
- ), i = (be = p == null ? void 0 : p.filter((U) => U.path !== "平台管理")) == null ? void 0 : be.map((U) => et(U));
376
+ ), i = (be = h == null ? void 0 : h.filter((U) => U.path !== "平台管理")) == null ? void 0 : be.map((U) => et(U));
377
377
  await Ct((H = T.value) == null ? void 0 : H.data), I.setAsideMenuLoading(!0), await wt(i);
378
378
  const b = await Nt(D.value), E = (b == null ? void 0 : b.length) === 0 ? (oe = D.value) == null ? void 0 : oe.childMenus : b;
379
379
  I.setAsideMenus(E);
@@ -405,8 +405,8 @@ function Yp(f, M, v, I, O, d) {
405
405
  onOpenMenu: f.openMenu,
406
406
  onCloseMenu: f.closeMenu
407
407
  }, {
408
- title: N(({ menu: h }) => [
409
- ue("span", qp, Bt(h.title ?? ""), 1)
408
+ title: N(({ menu: p }) => [
409
+ ue("span", qp, Bt(p.title ?? ""), 1)
410
410
  ]),
411
411
  _: 1
412
412
  }, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
@@ -439,7 +439,7 @@ const Gp = /* @__PURE__ */ ul(Qp, [["render", Yp], ["__scopeId", "data-v-ca3f1fb
439
439
  label: "修改"
440
440
  }, {
441
441
  label: "删除"
442
- }]), h = le(720), y = le(""), C = le(!1), A = le();
442
+ }]), p = le(720), y = le(""), C = le(!1), A = le();
443
443
  ll(async () => {
444
444
  var W, F, V, L;
445
445
  I.value = (F = (W = M.value) == null ? void 0 : W.map((R) => R == null ? void 0 : R.label)) == null ? void 0 : F.filter((R) => R !== "id");
@@ -551,7 +551,7 @@ const Gp = /* @__PURE__ */ ul(Qp, [["render", Yp], ["__scopeId", "data-v-ca3f1fb
551
551
  B(Nl, {
552
552
  title: y.value,
553
553
  visible: C.value,
554
- width: h.value,
554
+ width: p.value,
555
555
  onBeforeDestroy: W[4] || (W[4] = (R) => C.value = !1),
556
556
  style: { height: "74%" }
557
557
  }, {
@@ -612,7 +612,7 @@ const Gp = /* @__PURE__ */ ul(Qp, [["render", Yp], ["__scopeId", "data-v-ca3f1fb
612
612
  },
613
613
  emits: ["click"],
614
614
  setup(f, { emit: M }) {
615
- const v = Ga(un), { selectTitle: I } = an(v), O = f, d = le(!1), c = le([]), h = M, y = Yt(() => (w) => rp(w) + 60);
615
+ const v = Ga(un), { selectTitle: I } = an(v), O = f, d = le(!1), c = le([]), p = M, y = Yt(() => (w) => rp(w) + 60);
616
616
  Jt(
617
617
  () => [O == null ? void 0 : O.breadArray, I.value],
618
618
  () => {
@@ -622,7 +622,7 @@ const Gp = /* @__PURE__ */ ul(Qp, [["render", Yp], ["__scopeId", "data-v-ca3f1fb
622
622
  { deep: !0, immediate: !0 }
623
623
  );
624
624
  const C = (w) => {
625
- h("click", w);
625
+ p("click", w);
626
626
  }, A = (w) => {
627
627
  let T = Rc(I.value);
628
628
  T = T == null ? void 0 : T.filter((D) => (D != null && D.parentContent ? (D == null ? void 0 : D.parentContent) === (w == null ? void 0 : w.parentContent) : (D == null ? void 0 : D.relatedContent) === (w == null ? void 0 : w.relatedContent)) && (D == null ? void 0 : D.condition) === "child"), v.setChooseTitle(T);
@@ -686,7 +686,7 @@ const Gp = /* @__PURE__ */ ul(Qp, [["render", Yp], ["__scopeId", "data-v-ca3f1fb
686
686
  },
687
687
  emits: ["change", "contentChange"],
688
688
  setup(f, { emit: M }) {
689
- const v = f, I = M, O = Ga(un), { selectTitle: d } = an(O), c = Jn(un), { activeMenuPath: h } = an(c), y = le([]), C = (o, w = "data") => {
689
+ const v = f, I = M, O = Ga(un), { selectTitle: d } = an(O), c = Jn(un), { activeMenuPath: p } = an(c), y = le([]), C = (o, w = "data") => {
690
690
  var T;
691
691
  I("change", o, w, {
692
692
  url: (T = v == null ? void 0 : v.componentParam) == null ? void 0 : T.routerUrl
@@ -698,7 +698,7 @@ const Gp = /* @__PURE__ */ ul(Qp, [["render", Yp], ["__scopeId", "data-v-ca3f1fb
698
698
  () => v == null ? void 0 : v.componentParam,
699
699
  async () => {
700
700
  var W, F, V;
701
- let o = (W = d.value) == null ? void 0 : W.filter((L) => (L == null ? void 0 : L.condition) === "child" && (L == null ? void 0 : L.value) !== "" && (L == null ? void 0 : L.parentContent) !== h.value && !(L != null && L.relatedContent)), w = (V = (F = v == null ? void 0 : v.componentParam) == null ? void 0 : F.routerUrl) == null ? void 0 : V.map((L) => {
701
+ let o = (W = d.value) == null ? void 0 : W.filter((L) => (L == null ? void 0 : L.condition) === "child" && (L == null ? void 0 : L.value) !== "" && (L == null ? void 0 : L.parentContent) !== p.value && !(L != null && L.relatedContent)), w = (V = (F = v == null ? void 0 : v.componentParam) == null ? void 0 : F.routerUrl) == null ? void 0 : V.map((L) => {
702
702
  var R;
703
703
  return (L == null ? void 0 : L[(L == null ? void 0 : L.length) - 1]) === "/" && (L = L + ((R = o == null ? void 0 : o[0]) == null ? void 0 : R.value)), L;
704
704
  }), T = [], D = w == null ? void 0 : w.map(async (L) => {
@@ -758,7 +758,7 @@ function oa() {
758
758
  (function(v, I) {
759
759
  f.exports = I();
760
760
  })(ig, function() {
761
- var v = navigator.userAgent, I = navigator.platform, O = /gecko\/\d/i.test(v), d = /MSIE \d/.test(v), c = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(v), h = /Edge\/(\d+)/.exec(v), y = d || c || h, C = y && (d ? document.documentMode || 6 : +(h || c)[1]), A = !h && /WebKit\//.test(v), o = A && /Qt\/\d+\.\d+/.test(v), w = !h && /Chrome\/(\d+)/.exec(v), T = w && +w[1], D = /Opera\//.test(v), m = /Apple Computer/.test(navigator.vendor), W = /Mac OS X 1\d\D([8-9]|\d\d)\D/.test(v), F = /PhantomJS/.test(v), V = m && (/Mobile\/\w+/.test(v) || navigator.maxTouchPoints > 2), L = /Android/.test(v), R = V || L || /webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(v), k = V || /Mac/.test(I), q = /\bCrOS\b/.test(v), Q = /win/i.test(I), z = D && v.match(/Version\/(\d*\.\d*)/);
761
+ var v = navigator.userAgent, I = navigator.platform, O = /gecko\/\d/i.test(v), d = /MSIE \d/.test(v), c = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(v), p = /Edge\/(\d+)/.exec(v), y = d || c || p, C = y && (d ? document.documentMode || 6 : +(p || c)[1]), A = !p && /WebKit\//.test(v), o = A && /Qt\/\d+\.\d+/.test(v), w = !p && /Chrome\/(\d+)/.exec(v), T = w && +w[1], D = /Opera\//.test(v), m = /Apple Computer/.test(navigator.vendor), W = /Mac OS X 1\d\D([8-9]|\d\d)\D/.test(v), F = /PhantomJS/.test(v), V = m && (/Mobile\/\w+/.test(v) || navigator.maxTouchPoints > 2), L = /Android/.test(v), R = V || L || /webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(v), k = V || /Mac/.test(I), q = /\bCrOS\b/.test(v), Q = /win/i.test(I), z = D && v.match(/Version\/(\d*\.\d*)/);
762
762
  z && (z = Number(z[1])), z && z >= 15 && (D = !1, A = !0);
763
763
  var fe = k && (o || D && (z == null || z < 12.11)), se = O || y && C >= 9;
764
764
  function te(e) {
@@ -910,10 +910,10 @@ function oa() {
910
910
  var oe = [""];
911
911
  function _e(e) {
912
912
  for (; oe.length <= e; )
913
- oe.push(p(oe) + " ");
913
+ oe.push(h(oe) + " ");
914
914
  return oe[e];
915
915
  }
916
- function p(e) {
916
+ function h(e) {
917
917
  return e[e.length - 1];
918
918
  }
919
919
  function i(e, t) {
@@ -1059,7 +1059,7 @@ function oa() {
1059
1059
  ++yl;
1060
1060
  fr < nl && dl.splice(Qr, 0, new g(1, fr, nl));
1061
1061
  }
1062
- return j == "ltr" && (dl[0].level == 1 && (nr = S.match(/^\s+/)) && (dl[0].from = nr[0].length, dl.unshift(new g(0, 0, nr[0].length))), p(dl).level == 1 && (nr = S.match(/\s+$/)) && (p(dl).to -= nr[0].length, dl.push(new g(0, ye - nr[0].length, ye)))), j == "rtl" ? dl.reverse() : dl;
1062
+ return j == "ltr" && (dl[0].level == 1 && (nr = S.match(/^\s+/)) && (dl[0].from = nr[0].length, dl.unshift(new g(0, 0, nr[0].length))), h(dl).level == 1 && (nr = S.match(/\s+$/)) && (h(dl).to -= nr[0].length, dl.push(new g(0, ye - nr[0].length, ye)))), j == "rtl" ? dl.reverse() : dl;
1063
1063
  };
1064
1064
  }();
1065
1065
  function at(e, t) {
@@ -1655,7 +1655,7 @@ b`.split(/\n/).length != 3 ? function(e) {
1655
1655
  var l = Bn(e, t.from.line) && Lt(e, t.from.line).markedSpans, n = Bn(e, t.to.line) && Lt(e, t.to.line).markedSpans;
1656
1656
  if (!l && !n)
1657
1657
  return null;
1658
- var r = t.from.ch, a = t.to.ch, s = Zt(t.from, t.to) == 0, u = hi(l, r, s), g = pi(n, a, s), S = t.text.length == 1, j = p(t.text).length + (S ? r : 0);
1658
+ var r = t.from.ch, a = t.to.ch, s = Zt(t.from, t.to) == 0, u = hi(l, r, s), g = pi(n, a, s), S = t.text.length == 1, j = h(t.text).length + (S ? r : 0);
1659
1659
  if (u)
1660
1660
  for (var Z = 0; Z < u.length; ++Z) {
1661
1661
  var ye = u[Z];
@@ -2044,7 +2044,7 @@ b`.split(/\n/).length != 3 ? function(e) {
2044
2044
  }
2045
2045
  }
2046
2046
  function Zn(e, t, l) {
2047
- this.line = t, this.rest = lt(t), this.size = this.rest ? dn(p(this.rest)) - l + 1 : 1, this.node = this.text = null, this.hidden = pt(e, t);
2047
+ this.line = t, this.rest = lt(t), this.size = this.rest ? dn(h(this.rest)) - l + 1 : 1, this.node = this.text = null, this.hidden = pt(e, t);
2048
2048
  }
2049
2049
  function or(e, t, l) {
2050
2050
  for (var n = [], r, a = t; a < l; a = r) {
@@ -3448,7 +3448,7 @@ b`.split(/\n/).length != 3 ? function(e) {
3448
3448
  function Ar(e) {
3449
3449
  return e.text ? Ze(
3450
3450
  e.from.line + e.text.length - 1,
3451
- p(e.text).length + (e.text.length == 1 ? e.from.ch : 0)
3451
+ h(e.text).length + (e.text.length == 1 ? e.from.ch : 0)
3452
3452
  ) : e.to;
3453
3453
  }
3454
3454
  function Bu(e, t) {
@@ -3492,7 +3492,7 @@ b`.split(/\n/).length != 3 ? function(e) {
3492
3492
  }), e.doc.modeFrontier = e.doc.highlightFrontier = e.doc.first, To(e, 100), e.state.modeGen++, e.curOp && ol(e);
3493
3493
  }
3494
3494
  function Ou(e, t) {
3495
- return t.from.ch == 0 && t.to.ch == 0 && p(t.text) == "" && (!e.cm || e.cm.options.wholeLineUpdateBefore);
3495
+ return t.from.ch == 0 && t.to.ch == 0 && h(t.text) == "" && (!e.cm || e.cm.options.wholeLineUpdateBefore);
3496
3496
  }
3497
3497
  function _i(e, t, l, n) {
3498
3498
  function r(Mt) {
@@ -3506,7 +3506,7 @@ b`.split(/\n/).length != 3 ? function(e) {
3506
3506
  Dt.push(new tn(S[Gt], r(Gt), n));
3507
3507
  return Dt;
3508
3508
  }
3509
- var u = t.from, g = t.to, S = t.text, j = Lt(e, u.line), Z = Lt(e, g.line), ye = p(S), de = r(S.length - 1), We = g.line - u.line;
3509
+ var u = t.from, g = t.to, S = t.text, j = Lt(e, u.line), Z = Lt(e, g.line), ye = h(S), de = r(S.length - 1), We = g.line - u.line;
3510
3510
  if (t.full)
3511
3511
  e.insert(0, s(0, S.length)), e.remove(S.length, e.size - S.length);
3512
3512
  else if (Ou(e, t)) {
@@ -3565,7 +3565,7 @@ b`.split(/\n/).length != 3 ? function(e) {
3565
3565
  }
3566
3566
  function Fu(e) {
3567
3567
  for (; e.length; ) {
3568
- var t = p(e);
3568
+ var t = h(e);
3569
3569
  if (t.ranges)
3570
3570
  e.pop();
3571
3571
  else
@@ -3574,20 +3574,20 @@ b`.split(/\n/).length != 3 ? function(e) {
3574
3574
  }
3575
3575
  function Sd(e, t) {
3576
3576
  if (t)
3577
- return Fu(e.done), p(e.done);
3578
- if (e.done.length && !p(e.done).ranges)
3579
- return p(e.done);
3577
+ return Fu(e.done), h(e.done);
3578
+ if (e.done.length && !h(e.done).ranges)
3579
+ return h(e.done);
3580
3580
  if (e.done.length > 1 && !e.done[e.done.length - 2].ranges)
3581
- return e.done.pop(), p(e.done);
3581
+ return e.done.pop(), h(e.done);
3582
3582
  }
3583
3583
  function Hu(e, t, l, n) {
3584
3584
  var r = e.history;
3585
3585
  r.undone.length = 0;
3586
3586
  var a = +/* @__PURE__ */ new Date(), s, u;
3587
3587
  if ((r.lastOp == n || r.lastOrigin == t.origin && t.origin && (t.origin.charAt(0) == "+" && r.lastModTime > a - (e.cm ? e.cm.options.historyEventDelay : 500) || t.origin.charAt(0) == "*")) && (s = Sd(r, r.lastOp == n)))
3588
- u = p(s.changes), Zt(t.from, t.to) == 0 && Zt(t.from, u.to) == 0 ? u.to = Ar(t) : s.changes.push(xi(e, t));
3588
+ u = h(s.changes), Zt(t.from, t.to) == 0 && Zt(t.from, u.to) == 0 ? u.to = Ar(t) : s.changes.push(xi(e, t));
3589
3589
  else {
3590
- var g = p(r.done);
3590
+ var g = h(r.done);
3591
3591
  for ((!g || !g.ranges) && Hs(e.sel, r.done), s = {
3592
3592
  changes: [xi(e, t)],
3593
3593
  generation: r.generation
@@ -3602,10 +3602,10 @@ b`.split(/\n/).length != 3 ? function(e) {
3602
3602
  }
3603
3603
  function Md(e, t, l, n) {
3604
3604
  var r = e.history, a = n && n.origin;
3605
- l == r.lastSelOp || a && r.lastSelOrigin == a && (r.lastModTime == r.lastSelTime && r.lastOrigin == a || Ad(e, a, p(r.done), t)) ? r.done[r.done.length - 1] = t : Hs(t, r.done), r.lastSelTime = +/* @__PURE__ */ new Date(), r.lastSelOrigin = a, r.lastSelOp = l, n && n.clearRedo !== !1 && Fu(r.undone);
3605
+ l == r.lastSelOp || a && r.lastSelOrigin == a && (r.lastModTime == r.lastSelTime && r.lastOrigin == a || Ad(e, a, h(r.done), t)) ? r.done[r.done.length - 1] = t : Hs(t, r.done), r.lastSelTime = +/* @__PURE__ */ new Date(), r.lastSelOrigin = a, r.lastSelOp = l, n && n.clearRedo !== !1 && Fu(r.undone);
3606
3606
  }
3607
3607
  function Hs(e, t) {
3608
- var l = p(t);
3608
+ var l = h(t);
3609
3609
  l && l.ranges && l.equals(e) || t.push(e);
3610
3610
  }
3611
3611
  function Uu(e, t, l, n) {
@@ -3661,7 +3661,7 @@ b`.split(/\n/).length != 3 ? function(e) {
3661
3661
  var S = s[g], j = void 0;
3662
3662
  if (u.push({ from: S.from, to: S.to, text: S.text }), t)
3663
3663
  for (var Z in S)
3664
- (j = Z.match(/^spans_(\d+)$/)) && G(t, Number(j[1])) > -1 && (p(u)[Z] = S[Z], delete S[Z]);
3664
+ (j = Z.match(/^spans_(\d+)$/)) && G(t, Number(j[1])) > -1 && (h(u)[Z] = S[Z], delete S[Z]);
3665
3665
  }
3666
3666
  }
3667
3667
  return n;
@@ -3709,7 +3709,7 @@ b`.split(/\n/).length != 3 ? function(e) {
3709
3709
  return re(e, "beforeSelectionChange", e, n), e.cm && re(e.cm, "beforeSelectionChange", e.cm, n), n.ranges != t.ranges ? ql(e.cm, n.ranges, n.ranges.length - 1) : t;
3710
3710
  }
3711
3711
  function ju(e, t, l) {
3712
- var n = e.history.done, r = p(n);
3712
+ var n = e.history.done, r = h(n);
3713
3713
  r && r.ranges ? (n[n.length - 1] = t, Vs(e, t, l)) : fl(e, t, l);
3714
3714
  }
3715
3715
  function fl(e, t, l) {
@@ -3834,7 +3834,7 @@ b`.split(/\n/).length != 3 ? function(e) {
3834
3834
  if (rt.origin = t, Z && !Xu(e, rt, !1))
3835
3835
  return u.length = 0, {};
3836
3836
  j.push(xi(e, rt));
3837
- var gt = Je ? Mi(e, rt) : p(u);
3837
+ var gt = Je ? Mi(e, rt) : h(u);
3838
3838
  Lo(e, rt, gt, Vu(e, rt)), !Je && e.cm && e.cm.scrollIntoView({ from: rt.from, to: Ar(rt) });
3839
3839
  var Mt = [];
3840
3840
  Mr(e, function(vt, Dt) {
@@ -3872,7 +3872,7 @@ b`.split(/\n/).length != 3 ? function(e) {
3872
3872
  $u(e, r), t = {
3873
3873
  from: Ze(e.first, 0),
3874
3874
  to: Ze(t.to.line + r, t.to.ch),
3875
- text: [p(t.text)],
3875
+ text: [h(t.text)],
3876
3876
  origin: t.origin
3877
3877
  };
3878
3878
  }
@@ -4217,7 +4217,7 @@ b`.split(/\n/).length != 3 ? function(e) {
4217
4217
  for (var S = 0; S < g.linked.length; ++S)
4218
4218
  if (g.linked[S].isParent)
4219
4219
  return;
4220
- s = p(a);
4220
+ s = h(a);
4221
4221
  }), new Bo(a, s);
4222
4222
  }
4223
4223
  function ac(e) {
@@ -4976,7 +4976,7 @@ b`.split(/\n/).length != 3 ? function(e) {
4976
4976
  }
4977
4977
  function Ba(e, t) {
4978
4978
  for (var l = e.doc.sel.ranges, n = [], r = 0; r < l.length; r++) {
4979
- for (var a = t(l[r]); n.length && Zt(a.from, p(n).to) <= 0; ) {
4979
+ for (var a = t(l[r]); n.length && Zt(a.from, h(n).to) <= 0; ) {
4980
4980
  var s = n.pop();
4981
4981
  if (Zt(s.from, a.from) < 0) {
4982
4982
  a.from = s.from;
@@ -5004,7 +5004,7 @@ b`.split(/\n/).length != 3 ? function(e) {
5004
5004
  t.doc.direction == "rtl" && (r = -r);
5005
5005
  var a = at(l, t.doc.direction);
5006
5006
  if (a) {
5007
- var s = r < 0 ? p(a) : a[0], u = r < 0 == (s.level == 1), g = u ? "after" : "before", S;
5007
+ var s = r < 0 ? h(a) : a[0], u = r < 0 == (s.level == 1), g = u ? "after" : "before", S;
5008
5008
  if (s.level > 0 || t.doc.direction == "rtl") {
5009
5009
  var j = sr(t, l);
5010
5010
  S = r < 0 ? l.text.length - 1 : 0;
@@ -5867,7 +5867,7 @@ b`.split(/\n/).length != 3 ? function(e) {
5867
5867
  }));
5868
5868
  for (var Z = e.curOp.updateInput, ye = n.ranges.length - 1; ye >= 0; ye--) {
5869
5869
  var de = n.ranges[ye], We = de.from(), Je = de.to();
5870
- de.empty() && (l && l > 0 ? We = Ze(We.line, We.ch - l) : e.state.overwrite && !u ? Je = Ze(Je.line, Math.min(Lt(a, Je.line).text.length, Je.ch + p(g).length)) : u && Yl && Yl.lineWise && Yl.text.join(`
5870
+ de.empty() && (l && l > 0 ? We = Ze(We.line, We.ch - l) : e.state.overwrite && !u ? Je = Ze(Je.line, Math.min(Lt(a, Je.line).text.length, Je.ch + h(g).length)) : u && Yl && Yl.lineWise && Yl.text.join(`
5871
5871
  `) == g.join(`
5872
5872
  `) && (We = Je = Ze(We.line, 0)));
5873
5873
  var rt = {
@@ -6462,7 +6462,7 @@ b`.split(/\n/).length != 3 ? function(e) {
6462
6462
  if (g == t.view.length - 1 ? (S = t.viewTo - 1, j = t.lineDiv.lastChild) : (S = dn(t.view[g + 1].line) - 1, j = t.view[g + 1].node.previousSibling), !u)
6463
6463
  return !1;
6464
6464
  for (var Z = e.doc.splitLines(ch(e, u, j, s, S)), ye = Fn(e.doc, Ze(s, 0), Ze(S, Lt(e.doc, S).text.length)); Z.length > 1 && ye.length > 1; )
6465
- if (p(Z) == p(ye))
6465
+ if (h(Z) == h(ye))
6466
6466
  Z.pop(), ye.pop(), S--;
6467
6467
  else if (Z[0] == ye[0])
6468
6468
  Z.shift(), ye.shift(), s++;
@@ -6470,7 +6470,7 @@ b`.split(/\n/).length != 3 ? function(e) {
6470
6470
  break;
6471
6471
  for (var de = 0, We = 0, Je = Z[0], rt = ye[0], gt = Math.min(Je.length, rt.length); de < gt && Je.charCodeAt(de) == rt.charCodeAt(de); )
6472
6472
  ++de;
6473
- for (var Mt = p(Z), vt = p(ye), Dt = Math.min(
6473
+ for (var Mt = h(Z), vt = h(ye), Dt = Math.min(
6474
6474
  Mt.length - (Z.length == 1 ? de : 0),
6475
6475
  vt.length - (ye.length == 1 ? de : 0)
6476
6476
  ); We < Dt && Mt.charCodeAt(Mt.length - We - 1) == vt.charCodeAt(vt.length - We - 1); )
@@ -6479,7 +6479,7 @@ b`.split(/\n/).length != 3 ? function(e) {
6479
6479
  for (; de && de > n.ch && Mt.charCodeAt(Mt.length - We - 1) == vt.charCodeAt(vt.length - We - 1); )
6480
6480
  de--, We++;
6481
6481
  Z[Z.length - 1] = Mt.slice(0, Mt.length - We).replace(/^\u200b+/, ""), Z[0] = Z[0].slice(de).replace(/\u200b+$/, "");
6482
- var Gt = Ze(s, de), zt = Ze(S, ye.length ? p(ye).length - We : 0);
6482
+ var Gt = Ze(s, de), zt = Ze(S, ye.length ? h(ye).length - We : 0);
6483
6483
  if (Z.length > 1 || Z[0] || Zt(Gt, zt))
6484
6484
  return Ia(e.doc, Z, Gt, zt, "+input"), !0;
6485
6485
  }, An.prototype.ensurePolled = function() {
@@ -6598,7 +6598,7 @@ b`.split(/\n/).length != 3 ? function(e) {
6598
6598
  if (!t || !At(n, t))
6599
6599
  return Oa(Ze(dn(e.line), 0), !0);
6600
6600
  if (t == n && (r = !0, t = n.childNodes[l], l = 0, !t)) {
6601
- var a = e.rest ? p(e.rest) : e.line;
6601
+ var a = e.rest ? h(e.rest) : e.line;
6602
6602
  return Oa(Ze(dn(a), a.text.length), r);
6603
6603
  }
6604
6604
  var s = t.nodeType == 3 ? t : null, u = t;
@@ -6876,19 +6876,19 @@ function Kf() {
6876
6876
  (function(v) {
6877
6877
  v(oa());
6878
6878
  })(function(v) {
6879
- function I(h, y, C, A) {
6879
+ function I(p, y, C, A) {
6880
6880
  if (C && C.call) {
6881
6881
  var o = C;
6882
6882
  C = null;
6883
6883
  } else
6884
- var o = c(h, C, "rangeFinder");
6884
+ var o = c(p, C, "rangeFinder");
6885
6885
  typeof y == "number" && (y = v.Pos(y, 0));
6886
- var w = c(h, C, "minFoldSize");
6886
+ var w = c(p, C, "minFoldSize");
6887
6887
  function T(F) {
6888
- var V = o(h, y);
6888
+ var V = o(p, y);
6889
6889
  if (!V || V.to.line - V.from.line < w) return null;
6890
6890
  if (A === "fold") return V;
6891
- for (var L = h.findMarksAt(V.from), R = 0; R < L.length; ++R)
6891
+ for (var L = p.findMarksAt(V.from), R = 0; R < L.length; ++R)
6892
6892
  if (L[R].__isFold) {
6893
6893
  if (!F) return null;
6894
6894
  V.cleared = !0, L[R].clear();
@@ -6896,67 +6896,67 @@ function Kf() {
6896
6896
  return V;
6897
6897
  }
6898
6898
  var D = T(!0);
6899
- if (c(h, C, "scanUp")) for (; !D && y.line > h.firstLine(); )
6899
+ if (c(p, C, "scanUp")) for (; !D && y.line > p.firstLine(); )
6900
6900
  y = v.Pos(y.line - 1, 0), D = T(!1);
6901
6901
  if (!(!D || D.cleared || A === "unfold")) {
6902
- var m = O(h, C, D);
6902
+ var m = O(p, C, D);
6903
6903
  v.on(m, "mousedown", function(F) {
6904
6904
  W.clear(), v.e_preventDefault(F);
6905
6905
  });
6906
- var W = h.markText(D.from, D.to, {
6906
+ var W = p.markText(D.from, D.to, {
6907
6907
  replacedWith: m,
6908
- clearOnEnter: c(h, C, "clearOnEnter"),
6908
+ clearOnEnter: c(p, C, "clearOnEnter"),
6909
6909
  __isFold: !0
6910
6910
  });
6911
6911
  W.on("clear", function(F, V) {
6912
- v.signal(h, "unfold", h, F, V);
6913
- }), v.signal(h, "fold", h, D.from, D.to);
6912
+ v.signal(p, "unfold", p, F, V);
6913
+ }), v.signal(p, "fold", p, D.from, D.to);
6914
6914
  }
6915
6915
  }
6916
- function O(h, y, C) {
6917
- var A = c(h, y, "widget");
6916
+ function O(p, y, C) {
6917
+ var A = c(p, y, "widget");
6918
6918
  if (typeof A == "function" && (A = A(C.from, C.to)), typeof A == "string") {
6919
6919
  var o = document.createTextNode(A);
6920
6920
  A = document.createElement("span"), A.appendChild(o), A.className = "CodeMirror-foldmarker";
6921
6921
  } else A && (A = A.cloneNode(!0));
6922
6922
  return A;
6923
6923
  }
6924
- v.newFoldFunction = function(h, y) {
6924
+ v.newFoldFunction = function(p, y) {
6925
6925
  return function(C, A) {
6926
- I(C, A, { rangeFinder: h, widget: y });
6926
+ I(C, A, { rangeFinder: p, widget: y });
6927
6927
  };
6928
- }, v.defineExtension("foldCode", function(h, y, C) {
6929
- I(this, h, y, C);
6930
- }), v.defineExtension("isFolded", function(h) {
6931
- for (var y = this.findMarksAt(h), C = 0; C < y.length; ++C)
6928
+ }, v.defineExtension("foldCode", function(p, y, C) {
6929
+ I(this, p, y, C);
6930
+ }), v.defineExtension("isFolded", function(p) {
6931
+ for (var y = this.findMarksAt(p), C = 0; C < y.length; ++C)
6932
6932
  if (y[C].__isFold) return !0;
6933
- }), v.commands.toggleFold = function(h) {
6934
- h.foldCode(h.getCursor());
6935
- }, v.commands.fold = function(h) {
6936
- h.foldCode(h.getCursor(), null, "fold");
6937
- }, v.commands.unfold = function(h) {
6938
- h.foldCode(h.getCursor(), { scanUp: !1 }, "unfold");
6939
- }, v.commands.foldAll = function(h) {
6940
- h.operation(function() {
6941
- for (var y = h.firstLine(), C = h.lastLine(); y <= C; y++)
6942
- h.foldCode(v.Pos(y, 0), { scanUp: !1 }, "fold");
6933
+ }), v.commands.toggleFold = function(p) {
6934
+ p.foldCode(p.getCursor());
6935
+ }, v.commands.fold = function(p) {
6936
+ p.foldCode(p.getCursor(), null, "fold");
6937
+ }, v.commands.unfold = function(p) {
6938
+ p.foldCode(p.getCursor(), { scanUp: !1 }, "unfold");
6939
+ }, v.commands.foldAll = function(p) {
6940
+ p.operation(function() {
6941
+ for (var y = p.firstLine(), C = p.lastLine(); y <= C; y++)
6942
+ p.foldCode(v.Pos(y, 0), { scanUp: !1 }, "fold");
6943
6943
  });
6944
- }, v.commands.unfoldAll = function(h) {
6945
- h.operation(function() {
6946
- for (var y = h.firstLine(), C = h.lastLine(); y <= C; y++)
6947
- h.foldCode(v.Pos(y, 0), { scanUp: !1 }, "unfold");
6944
+ }, v.commands.unfoldAll = function(p) {
6945
+ p.operation(function() {
6946
+ for (var y = p.firstLine(), C = p.lastLine(); y <= C; y++)
6947
+ p.foldCode(v.Pos(y, 0), { scanUp: !1 }, "unfold");
6948
6948
  });
6949
6949
  }, v.registerHelper("fold", "combine", function() {
6950
- var h = Array.prototype.slice.call(arguments, 0);
6950
+ var p = Array.prototype.slice.call(arguments, 0);
6951
6951
  return function(y, C) {
6952
- for (var A = 0; A < h.length; ++A) {
6953
- var o = h[A](y, C);
6952
+ for (var A = 0; A < p.length; ++A) {
6953
+ var o = p[A](y, C);
6954
6954
  if (o) return o;
6955
6955
  }
6956
6956
  };
6957
- }), v.registerHelper("fold", "auto", function(h, y) {
6958
- for (var C = h.getHelpers(y, "fold"), A = 0; A < C.length; A++) {
6959
- var o = C[A](h, y);
6957
+ }), v.registerHelper("fold", "auto", function(p, y) {
6958
+ for (var C = p.getHelpers(y, "fold"), A = 0; A < C.length; A++) {
6959
+ var o = C[A](p, y);
6960
6960
  if (o) return o;
6961
6961
  }
6962
6962
  });
@@ -6968,14 +6968,14 @@ function Kf() {
6968
6968
  clearOnEnter: !0
6969
6969
  };
6970
6970
  v.defineOption("foldOptions", null);
6971
- function c(h, y, C) {
6971
+ function c(p, y, C) {
6972
6972
  if (y && y[C] !== void 0)
6973
6973
  return y[C];
6974
- var A = h.options.foldOptions;
6974
+ var A = p.options.foldOptions;
6975
6975
  return A && A[C] !== void 0 ? A[C] : d[C];
6976
6976
  }
6977
- v.defineExtension("foldOption", function(h, y) {
6978
- return c(this, h, y);
6977
+ v.defineExtension("foldOption", function(p, y) {
6978
+ return c(this, p, y);
6979
6979
  });
6980
6980
  });
6981
6981
  }()), zc.exports;
@@ -7005,7 +7005,7 @@ function ug() {
7005
7005
  return V[L];
7006
7006
  }
7007
7007
  }
7008
- function h(W) {
7008
+ function p(W) {
7009
7009
  if (typeof W == "string") {
7010
7010
  var F = document.createElement("div");
7011
7011
  return F.className = W + " CodeMirror-guttermarker-subtle", F;
@@ -7019,12 +7019,12 @@ function ug() {
7019
7019
  var se = null, te = fe.gutterMarkers;
7020
7020
  if (te && (te = te[L.gutter]), c(W, R)) {
7021
7021
  if (Q && te && Q.test(te.className)) return;
7022
- se = h(L.indicatorFolded);
7022
+ se = p(L.indicatorFolded);
7023
7023
  } else {
7024
7024
  var he = I(R, 0), ke = q && q(W, he);
7025
7025
  if (ke && ke.to.line - ke.from.line >= k) {
7026
7026
  if (z && te && z.test(te.className)) return;
7027
- se = h(L.indicatorOpen);
7027
+ se = p(L.indicatorOpen);
7028
7028
  }
7029
7029
  }
7030
7030
  !se && !te || W.setGutterMarker(fe, L.gutter, se);
@@ -7092,7 +7092,7 @@ function cg() {
7092
7092
  })(function(v) {
7093
7093
  function I(O) {
7094
7094
  return function(d, c) {
7095
- var h = c.line, y = d.getLine(h);
7095
+ var p = c.line, y = d.getLine(p);
7096
7096
  function C(m) {
7097
7097
  for (var W, F = c.ch, V = 0; ; ) {
7098
7098
  var L = F <= 0 ? -1 : y.lastIndexOf(m[0], F - 1);
@@ -7102,14 +7102,14 @@ function cg() {
7102
7102
  continue;
7103
7103
  }
7104
7104
  if (V == 1 && L < c.ch) break;
7105
- if (W = d.getTokenTypeAt(v.Pos(h, L + 1)), !/^(comment|string)/.test(W)) return { ch: L + 1, tokenType: W, pair: m };
7105
+ if (W = d.getTokenTypeAt(v.Pos(p, L + 1)), !/^(comment|string)/.test(W)) return { ch: L + 1, tokenType: W, pair: m };
7106
7106
  F = L - 1;
7107
7107
  }
7108
7108
  }
7109
7109
  function A(m) {
7110
7110
  var W = 1, F = d.lastLine(), V, L = m.ch, R;
7111
- e: for (var k = h; k <= F; ++k)
7112
- for (var q = d.getLine(k), Q = k == h ? L : 0; ; ) {
7111
+ e: for (var k = p; k <= F; ++k)
7112
+ for (var q = d.getLine(k), Q = k == p ? L : 0; ; ) {
7113
7113
  var z = q.indexOf(m.pair[0], Q), fe = q.indexOf(m.pair[1], Q);
7114
7114
  if (z < 0 && (z = q.length), fe < 0 && (fe = q.length), Q = Math.min(z, fe), Q == q.length) break;
7115
7115
  if (d.getTokenTypeAt(v.Pos(k, Q + 1)) == m.tokenType) {
@@ -7121,8 +7121,8 @@ function cg() {
7121
7121
  }
7122
7122
  ++Q;
7123
7123
  }
7124
- return V == null || h == V ? null : {
7125
- from: v.Pos(h, L),
7124
+ return V == null || p == V ? null : {
7125
+ from: v.Pos(p, L),
7126
7126
  to: v.Pos(V, R)
7127
7127
  };
7128
7128
  }
@@ -7150,30 +7150,30 @@ function cg() {
7150
7150
  if (F != -1) return { startCh: T.end, end: v.Pos(D, F) };
7151
7151
  }
7152
7152
  }
7153
- var h = d.line, y = c(h), C;
7154
- if (!y || c(h - 1) || (C = c(h - 2)) && C.end.line == h - 1)
7153
+ var p = d.line, y = c(p), C;
7154
+ if (!y || c(p - 1) || (C = c(p - 2)) && C.end.line == p - 1)
7155
7155
  return null;
7156
7156
  for (var A = y.end; ; ) {
7157
7157
  var o = c(A.line + 1);
7158
7158
  if (o == null) break;
7159
7159
  A = o.end;
7160
7160
  }
7161
- return { from: O.clipPos(v.Pos(h, y.startCh + 1)), to: A };
7161
+ return { from: O.clipPos(v.Pos(p, y.startCh + 1)), to: A };
7162
7162
  }), v.registerHelper("fold", "include", function(O, d) {
7163
7163
  function c(o) {
7164
7164
  if (o < O.firstLine() || o > O.lastLine()) return null;
7165
7165
  var w = O.getTokenAt(v.Pos(o, 1));
7166
7166
  if (/\S/.test(w.string) || (w = O.getTokenAt(v.Pos(o, w.end + 1))), w.type == "meta" && w.string.slice(0, 8) == "#include") return w.start + 8;
7167
7167
  }
7168
- var h = d.line, y = c(h);
7169
- if (y == null || c(h - 1) != null) return null;
7170
- for (var C = h; ; ) {
7168
+ var p = d.line, y = c(p);
7169
+ if (y == null || c(p - 1) != null) return null;
7170
+ for (var C = p; ; ) {
7171
7171
  var A = c(C + 1);
7172
7172
  if (A == null) break;
7173
7173
  ++C;
7174
7174
  }
7175
7175
  return {
7176
- from: v.Pos(h, y + 1),
7176
+ from: v.Pos(p, y + 1),
7177
7177
  to: O.clipPos(v.Pos(C))
7178
7178
  };
7179
7179
  });
@@ -7196,7 +7196,7 @@ function fg() {
7196
7196
  for (var o = 0; o < A.state.activeLines.length; o++)
7197
7197
  A.removeLineClass(A.state.activeLines[o], "wrap", I), A.removeLineClass(A.state.activeLines[o], "background", O), A.removeLineClass(A.state.activeLines[o], "gutter", d);
7198
7198
  }
7199
- function h(A, o) {
7199
+ function p(A, o) {
7200
7200
  if (A.length != o.length) return !1;
7201
7201
  for (var w = 0; w < A.length; w++)
7202
7202
  if (A[w] != o[w]) return !1;
@@ -7210,7 +7210,7 @@ function fg() {
7210
7210
  w[w.length - 1] != W && w.push(W);
7211
7211
  }
7212
7212
  }
7213
- h(A.state.activeLines, w) || A.operation(function() {
7213
+ p(A.state.activeLines, w) || A.operation(function() {
7214
7214
  c(A);
7215
7215
  for (var F = 0; F < w.length; F++)
7216
7216
  A.addLineClass(w[F], "wrap", I), A.addLineClass(w[F], "background", O), A.addLineClass(w[F], "gutter", d);
@@ -7233,8 +7233,8 @@ function hg() {
7233
7233
  v(oa());
7234
7234
  })(function(v) {
7235
7235
  var I = v.Pos, O = "http://www.w3.org/2000/svg";
7236
- function d(p, i) {
7237
- this.mv = p, this.type = i, this.classes = i == "left" ? {
7236
+ function d(h, i) {
7237
+ this.mv = h, this.type = i, this.classes = i == "left" ? {
7238
7238
  chunk: "CodeMirror-merge-l-chunk",
7239
7239
  start: "CodeMirror-merge-l-chunk-start",
7240
7240
  end: "CodeMirror-merge-l-chunk-end",
@@ -7252,63 +7252,63 @@ function hg() {
7252
7252
  }
7253
7253
  d.prototype = {
7254
7254
  constructor: d,
7255
- init: function(p, i, b) {
7256
- this.edit = this.mv.edit, (this.edit.state.diffViews || (this.edit.state.diffViews = [])).push(this), this.orig = v(p, St({ value: i, readOnly: !this.mv.options.allowEditingOriginals }, St(b))), this.mv.options.connect == "align" && (this.edit.state.trackAlignable || (this.edit.state.trackAlignable = new ie(this.edit)), this.orig.state.trackAlignable = new ie(this.orig)), this.lockButton.title = this.edit.phrase("Toggle locked scrolling"), this.lockButton.setAttribute("aria-label", this.lockButton.title), this.orig.state.diffViews = [this];
7255
+ init: function(h, i, b) {
7256
+ this.edit = this.mv.edit, (this.edit.state.diffViews || (this.edit.state.diffViews = [])).push(this), this.orig = v(h, St({ value: i, readOnly: !this.mv.options.allowEditingOriginals }, St(b))), this.mv.options.connect == "align" && (this.edit.state.trackAlignable || (this.edit.state.trackAlignable = new ie(this.edit)), this.orig.state.trackAlignable = new ie(this.orig)), this.lockButton.title = this.edit.phrase("Toggle locked scrolling"), this.lockButton.setAttribute("aria-label", this.lockButton.title), this.orig.state.diffViews = [this];
7257
7257
  var E = b.chunkClassLocation || "background";
7258
7258
  Object.prototype.toString.call(E) != "[object Array]" && (E = [E]), this.classes.classLocation = E, this.diff = Ot(Be(i), Be(b.value), this.mv.options.ignoreWhitespace), this.chunks = Nt(this.diff), this.diffOutOfDate = this.dealigned = !1, this.needsScrollSync = null, this.showDifferences = b.showDifferences !== !1;
7259
7259
  },
7260
- registerEvents: function(p) {
7261
- this.forceUpdate = y(this), w(this, !0, !1), C(this, p);
7260
+ registerEvents: function(h) {
7261
+ this.forceUpdate = y(this), w(this, !0, !1), C(this, h);
7262
7262
  },
7263
- setShowDifferences: function(p) {
7264
- p = p !== !1, p != this.showDifferences && (this.showDifferences = p, this.forceUpdate("full"));
7263
+ setShowDifferences: function(h) {
7264
+ h = h !== !1, h != this.showDifferences && (this.showDifferences = h, this.forceUpdate("full"));
7265
7265
  }
7266
7266
  };
7267
- function c(p) {
7268
- p.diffOutOfDate && (p.diff = Ot(p.orig.getValue(), p.edit.getValue(), p.mv.options.ignoreWhitespace), p.chunks = Nt(p.diff), p.diffOutOfDate = !1, v.signal(p.edit, "updateDiff", p.diff));
7267
+ function c(h) {
7268
+ h.diffOutOfDate && (h.diff = Ot(h.orig.getValue(), h.edit.getValue(), h.mv.options.ignoreWhitespace), h.chunks = Nt(h.diff), h.diffOutOfDate = !1, v.signal(h.edit, "updateDiff", h.diff));
7269
7269
  }
7270
- var h = !1;
7271
- function y(p) {
7270
+ var p = !1;
7271
+ function y(h) {
7272
7272
  var i = { from: 0, to: 0, marked: [] }, b = { from: 0, to: 0, marked: [] }, E, U = !1;
7273
7273
  function J(X) {
7274
- h = !0, U = !1, X == "full" && (p.svg && Rt(p.svg), p.copyButtons && Rt(p.copyButtons), D(p.edit, i.marked, p.classes), D(p.orig, b.marked, p.classes), i.from = i.to = b.from = b.to = 0), c(p), p.showDifferences && (m(p.edit, p.diff, i, DIFF_INSERT, p.classes), m(p.orig, p.diff, b, DIFF_DELETE, p.classes)), p.mv.options.connect == "align" && Q(p), V(p), p.needsScrollSync != null && A(p, p.needsScrollSync), h = !1;
7274
+ p = !0, U = !1, X == "full" && (h.svg && Rt(h.svg), h.copyButtons && Rt(h.copyButtons), D(h.edit, i.marked, h.classes), D(h.orig, b.marked, h.classes), i.from = i.to = b.from = b.to = 0), c(h), h.showDifferences && (m(h.edit, h.diff, i, DIFF_INSERT, h.classes), m(h.orig, h.diff, b, DIFF_DELETE, h.classes)), h.mv.options.connect == "align" && Q(h), V(h), h.needsScrollSync != null && A(h, h.needsScrollSync), p = !1;
7275
7275
  }
7276
7276
  function pe(X) {
7277
- h || (p.dealigned = !0, De(X));
7277
+ p || (h.dealigned = !0, De(X));
7278
7278
  }
7279
7279
  function De(X) {
7280
- h || U || (clearTimeout(E), X === !0 && (U = !0), E = setTimeout(J, X === !0 ? 20 : 250));
7280
+ p || U || (clearTimeout(E), X === !0 && (U = !0), E = setTimeout(J, X === !0 ? 20 : 250));
7281
7281
  }
7282
7282
  function ce(X, Fe) {
7283
- p.diffOutOfDate || (p.diffOutOfDate = !0, i.from = i.to = b.from = b.to = 0), pe(Fe.text.length - 1 != Fe.to.line - Fe.from.line);
7283
+ h.diffOutOfDate || (h.diffOutOfDate = !0, i.from = i.to = b.from = b.to = 0), pe(Fe.text.length - 1 != Fe.to.line - Fe.from.line);
7284
7284
  }
7285
7285
  function we() {
7286
- p.diffOutOfDate = !0, p.dealigned = !0, J("full");
7286
+ h.diffOutOfDate = !0, h.dealigned = !0, J("full");
7287
7287
  }
7288
- return p.edit.on("change", ce), p.orig.on("change", ce), p.edit.on("swapDoc", we), p.orig.on("swapDoc", we), p.mv.options.connect == "align" && (v.on(p.edit.state.trackAlignable, "realign", pe), v.on(p.orig.state.trackAlignable, "realign", pe)), p.edit.on("viewportChange", function() {
7288
+ return h.edit.on("change", ce), h.orig.on("change", ce), h.edit.on("swapDoc", we), h.orig.on("swapDoc", we), h.mv.options.connect == "align" && (v.on(h.edit.state.trackAlignable, "realign", pe), v.on(h.orig.state.trackAlignable, "realign", pe)), h.edit.on("viewportChange", function() {
7289
7289
  De(!1);
7290
- }), p.orig.on("viewportChange", function() {
7290
+ }), h.orig.on("viewportChange", function() {
7291
7291
  De(!1);
7292
7292
  }), J(), J;
7293
7293
  }
7294
- function C(p, i) {
7295
- p.edit.on("scroll", function() {
7296
- A(p, !0) && V(p);
7297
- }), p.orig.on("scroll", function() {
7298
- A(p, !1) && V(p), i && A(i, !0) && V(i);
7294
+ function C(h, i) {
7295
+ h.edit.on("scroll", function() {
7296
+ A(h, !0) && V(h);
7297
+ }), h.orig.on("scroll", function() {
7298
+ A(h, !1) && V(h), i && A(i, !0) && V(i);
7299
7299
  });
7300
7300
  }
7301
- function A(p, i) {
7302
- if (p.diffOutOfDate)
7303
- return p.lockScroll && p.needsScrollSync == null && (p.needsScrollSync = i), !1;
7304
- if (p.needsScrollSync = null, !p.lockScroll) return !0;
7301
+ function A(h, i) {
7302
+ if (h.diffOutOfDate)
7303
+ return h.lockScroll && h.needsScrollSync == null && (h.needsScrollSync = i), !1;
7304
+ if (h.needsScrollSync = null, !h.lockScroll) return !0;
7305
7305
  var b, E, U = +/* @__PURE__ */ new Date();
7306
- if (i ? (b = p.edit, E = p.orig) : (b = p.orig, E = p.edit), b.state.scrollSetBy == p && (b.state.scrollSetAt || 0) + 250 > U) return !1;
7306
+ if (i ? (b = h.edit, E = h.orig) : (b = h.orig, E = h.edit), b.state.scrollSetBy == h && (b.state.scrollSetAt || 0) + 250 > U) return !1;
7307
7307
  var J = b.getScrollInfo();
7308
- if (p.mv.options.connect == "align")
7308
+ if (h.mv.options.connect == "align")
7309
7309
  Ee = J.top;
7310
7310
  else {
7311
- var pe = 0.5 * J.clientHeight, De = J.top + pe, ce = b.lineAtHeight(De, "local"), we = Xt(p.chunks, ce, i), X = o(b, i ? we.edit : we.orig), Fe = o(E, i ? we.orig : we.edit), Ge = (De - X.top) / (X.bot - X.top), Ee = Fe.top - pe + Ge * (Fe.bot - Fe.top), Le, Me;
7311
+ var pe = 0.5 * J.clientHeight, De = J.top + pe, ce = b.lineAtHeight(De, "local"), we = Xt(h.chunks, ce, i), X = o(b, i ? we.edit : we.orig), Fe = o(E, i ? we.orig : we.edit), Ge = (De - X.top) / (X.bot - X.top), Ee = Fe.top - pe + Ge * (Fe.bot - Fe.top), Le, Me;
7312
7312
  if (Ee > J.top && (Me = J.top / pe) < 1)
7313
7313
  Ee = Ee * Me + J.top * (1 - Me);
7314
7314
  else if ((Le = J.height - J.clientHeight - J.top) < pe) {
@@ -7316,46 +7316,46 @@ function hg() {
7316
7316
  at > Le && (Me = Le / pe) < 1 && (Ee = Ee * Me + (yt.height - yt.clientHeight - Le) * (1 - Me));
7317
7317
  }
7318
7318
  }
7319
- return E.scrollTo(J.left, Ee), E.state.scrollSetAt = U, E.state.scrollSetBy = p, !0;
7319
+ return E.scrollTo(J.left, Ee), E.state.scrollSetAt = U, E.state.scrollSetBy = h, !0;
7320
7320
  }
7321
- function o(p, i) {
7321
+ function o(h, i) {
7322
7322
  var b = i.after;
7323
- return b == null && (b = p.lastLine() + 1), {
7324
- top: p.heightAtLine(i.before || 0, "local"),
7325
- bot: p.heightAtLine(b, "local")
7323
+ return b == null && (b = h.lastLine() + 1), {
7324
+ top: h.heightAtLine(i.before || 0, "local"),
7325
+ bot: h.heightAtLine(b, "local")
7326
7326
  };
7327
7327
  }
7328
- function w(p, i, b) {
7329
- p.lockScroll = i, i && b != !1 && A(p, DIFF_INSERT) && V(p), (i ? v.addClass : v.rmClass)(p.lockButton, "CodeMirror-merge-scrolllock-enabled");
7328
+ function w(h, i, b) {
7329
+ h.lockScroll = i, i && b != !1 && A(h, DIFF_INSERT) && V(h), (i ? v.addClass : v.rmClass)(h.lockButton, "CodeMirror-merge-scrolllock-enabled");
7330
7330
  }
7331
- function T(p, i, b) {
7331
+ function T(h, i, b) {
7332
7332
  for (var E = b.classLocation, U = 0; U < E.length; U++)
7333
- p.removeLineClass(i, E[U], b.chunk), p.removeLineClass(i, E[U], b.start), p.removeLineClass(i, E[U], b.end);
7333
+ h.removeLineClass(i, E[U], b.chunk), h.removeLineClass(i, E[U], b.start), h.removeLineClass(i, E[U], b.end);
7334
7334
  }
7335
- function D(p, i, b) {
7335
+ function D(h, i, b) {
7336
7336
  for (var E = 0; E < i.length; ++E) {
7337
7337
  var U = i[E];
7338
- U instanceof v.TextMarker ? U.clear() : U.parent && T(p, U, b);
7338
+ U instanceof v.TextMarker ? U.clear() : U.parent && T(h, U, b);
7339
7339
  }
7340
7340
  i.length = 0;
7341
7341
  }
7342
- function m(p, i, b, E, U) {
7343
- var J = p.getViewport();
7344
- p.operation(function() {
7345
- b.from == b.to || J.from - b.to > 20 || b.from - J.to > 20 ? (D(p, b.marked, U), F(p, i, E, b.marked, J.from, J.to, U), b.from = J.from, b.to = J.to) : (J.from < b.from && (F(p, i, E, b.marked, J.from, b.from, U), b.from = J.from), J.to > b.to && (F(p, i, E, b.marked, b.to, J.to, U), b.to = J.to));
7342
+ function m(h, i, b, E, U) {
7343
+ var J = h.getViewport();
7344
+ h.operation(function() {
7345
+ b.from == b.to || J.from - b.to > 20 || b.from - J.to > 20 ? (D(h, b.marked, U), F(h, i, E, b.marked, J.from, J.to, U), b.from = J.from, b.to = J.to) : (J.from < b.from && (F(h, i, E, b.marked, J.from, b.from, U), b.from = J.from), J.to > b.to && (F(h, i, E, b.marked, b.to, J.to, U), b.to = J.to));
7346
7346
  });
7347
7347
  }
7348
- function W(p, i, b, E, U, J) {
7349
- for (var pe = b.classLocation, De = p.getLineHandle(i), ce = 0; ce < pe.length; ce++)
7350
- E && p.addLineClass(De, pe[ce], b.chunk), U && p.addLineClass(De, pe[ce], b.start), J && p.addLineClass(De, pe[ce], b.end);
7348
+ function W(h, i, b, E, U, J) {
7349
+ for (var pe = b.classLocation, De = h.getLineHandle(i), ce = 0; ce < pe.length; ce++)
7350
+ E && h.addLineClass(De, pe[ce], b.chunk), U && h.addLineClass(De, pe[ce], b.start), J && h.addLineClass(De, pe[ce], b.end);
7351
7351
  return De;
7352
7352
  }
7353
- function F(p, i, b, E, U, J, pe) {
7354
- var De = I(0, 0), ce = I(U, 0), we = p.clipPos(I(J - 1)), X = b == DIFF_DELETE ? pe.del : pe.insert;
7353
+ function F(h, i, b, E, U, J, pe) {
7354
+ var De = I(0, 0), ce = I(U, 0), we = h.clipPos(I(J - 1)), X = b == DIFF_DELETE ? pe.del : pe.insert;
7355
7355
  function Fe(Re, Xe) {
7356
7356
  for (var qe = Math.max(U, Re), mt = Math.min(J, Xe), Ce = qe; Ce < mt; ++Ce)
7357
- E.push(W(p, Ce, pe, !0, Ce == Re, Ce == Xe - 1));
7358
- Re == Xe && qe == Xe && mt == Xe && (qe ? E.push(W(p, qe - 1, pe, !1, !1, !0)) : E.push(W(p, qe, pe, !1, !0, !1)));
7357
+ E.push(W(h, Ce, pe, !0, Ce == Re, Ce == Xe - 1));
7358
+ Re == Xe && qe == Xe && mt == Xe && (qe ? E.push(W(h, qe - 1, pe, !1, !1, !0)) : E.push(W(h, qe, pe, !1, !0, !1)));
7359
7359
  }
7360
7360
  for (var Ge = 0, Ee = !1, Le = 0; Le < i.length; ++Le) {
7361
7361
  var Me = i[Le], yt = Me[0], at = Me[1];
@@ -7366,36 +7366,36 @@ function hg() {
7366
7366
  $e > ht && (Ee && (Fe(Ge, ht), Ee = !1), Ge = $e);
7367
7367
  } else if (Ee = !0, yt == b) {
7368
7368
  var Tt = Ct(De, at, !0), Ye = Ke(ce, De), re = Se(we, Tt);
7369
- be(Ye, re) || E.push(p.markText(Ye, re, { className: X })), De = Tt;
7369
+ be(Ye, re) || E.push(h.markText(Ye, re, { className: X })), De = Tt;
7370
7370
  }
7371
7371
  }
7372
7372
  Ee && Fe(Ge, De.line + 1);
7373
7373
  }
7374
- function V(p) {
7375
- if (p.showDifferences) {
7376
- if (p.svg) {
7377
- Rt(p.svg);
7378
- var i = p.gap.offsetWidth;
7379
- wt(p.svg, "width", i, "height", p.gap.offsetHeight);
7374
+ function V(h) {
7375
+ if (h.showDifferences) {
7376
+ if (h.svg) {
7377
+ Rt(h.svg);
7378
+ var i = h.gap.offsetWidth;
7379
+ wt(h.svg, "width", i, "height", h.gap.offsetHeight);
7380
7380
  }
7381
- p.copyButtons && Rt(p.copyButtons);
7382
- for (var b = p.edit.getViewport(), E = p.orig.getViewport(), U = p.mv.wrap.getBoundingClientRect().top, J = U - p.edit.getScrollerElement().getBoundingClientRect().top + p.edit.getScrollInfo().top, pe = U - p.orig.getScrollerElement().getBoundingClientRect().top + p.orig.getScrollInfo().top, De = 0; De < p.chunks.length; De++) {
7383
- var ce = p.chunks[De];
7384
- ce.editFrom <= b.to && ce.editTo >= b.from && ce.origFrom <= E.to && ce.origTo >= E.from && se(p, ce, pe, J, i);
7381
+ h.copyButtons && Rt(h.copyButtons);
7382
+ for (var b = h.edit.getViewport(), E = h.orig.getViewport(), U = h.mv.wrap.getBoundingClientRect().top, J = U - h.edit.getScrollerElement().getBoundingClientRect().top + h.edit.getScrollInfo().top, pe = U - h.orig.getScrollerElement().getBoundingClientRect().top + h.orig.getScrollInfo().top, De = 0; De < h.chunks.length; De++) {
7383
+ var ce = h.chunks[De];
7384
+ ce.editFrom <= b.to && ce.editTo >= b.from && ce.origFrom <= E.to && ce.origTo >= E.from && se(h, ce, pe, J, i);
7385
7385
  }
7386
7386
  }
7387
7387
  }
7388
- function L(p, i) {
7388
+ function L(h, i) {
7389
7389
  for (var b = 0, E = 0, U = 0; U < i.length; U++) {
7390
7390
  var J = i[U];
7391
- if (J.editTo > p && J.editFrom <= p) return null;
7392
- if (J.editFrom > p) break;
7391
+ if (J.editTo > h && J.editFrom <= h) return null;
7392
+ if (J.editFrom > h) break;
7393
7393
  b = J.editTo, E = J.origTo;
7394
7394
  }
7395
- return E + (p - b);
7395
+ return E + (h - b);
7396
7396
  }
7397
- function R(p, i, b) {
7398
- for (var E = p.state.trackAlignable, U = p.firstLine(), J = 0, pe = [], De = 0; ; De++) {
7397
+ function R(h, i, b) {
7398
+ for (var E = h.state.trackAlignable, U = h.firstLine(), J = 0, pe = [], De = 0; ; De++) {
7399
7399
  for (var ce = i[De], we = ce ? b ? ce.origFrom : ce.editFrom : 1e9; J < E.alignable.length; J += 2) {
7400
7400
  var X = E.alignable[J] + 1;
7401
7401
  if (!(X <= U))
@@ -7407,10 +7407,10 @@ function hg() {
7407
7407
  }
7408
7408
  return pe;
7409
7409
  }
7410
- function k(p, i, b, E) {
7410
+ function k(h, i, b, E) {
7411
7411
  var U = 0, J = 0, pe = 0, De = 0;
7412
7412
  e: for (; ; U++) {
7413
- var ce = p[U], we = i[J];
7413
+ var ce = h[U], we = i[J];
7414
7414
  if (!ce && we == null) break;
7415
7415
  for (var X = ce ? ce[0] : 1e9, Fe = we ?? 1e9; pe < b.length; ) {
7416
7416
  var Ge = b[pe];
@@ -7430,32 +7430,32 @@ function hg() {
7430
7430
  ce[E] = X + De;
7431
7431
  else {
7432
7432
  var Ee = [Fe - De, null, null];
7433
- Ee[E] = Fe, p.splice(U, 0, Ee), J++;
7433
+ Ee[E] = Fe, h.splice(U, 0, Ee), J++;
7434
7434
  }
7435
7435
  }
7436
7436
  }
7437
- function q(p, i) {
7438
- var b = R(p.edit, p.chunks, !1), E = [];
7437
+ function q(h, i) {
7438
+ var b = R(h.edit, h.chunks, !1), E = [];
7439
7439
  if (i) for (var U = 0, J = 0; U < i.chunks.length; U++) {
7440
7440
  for (var pe = i.chunks[U].editTo; J < b.length && b[J] < pe; ) J++;
7441
7441
  (J == b.length || b[J] != pe) && b.splice(J++, 0, pe);
7442
7442
  }
7443
7443
  for (var U = 0; U < b.length; U++)
7444
7444
  E.push([b[U], null, null]);
7445
- return k(E, R(p.orig, p.chunks, !0), p.chunks, 1), i && k(E, R(i.orig, i.chunks, !0), i.chunks, 2), E;
7445
+ return k(E, R(h.orig, h.chunks, !0), h.chunks, 1), i && k(E, R(i.orig, i.chunks, !0), i.chunks, 2), E;
7446
7446
  }
7447
- function Q(p, i) {
7448
- if (!(!p.dealigned && !i)) {
7449
- if (!p.orig.curOp) return p.orig.operation(function() {
7450
- Q(p, i);
7447
+ function Q(h, i) {
7448
+ if (!(!h.dealigned && !i)) {
7449
+ if (!h.orig.curOp) return h.orig.operation(function() {
7450
+ Q(h, i);
7451
7451
  });
7452
- p.dealigned = !1;
7453
- var b = p.mv.left == p ? p.mv.right : p.mv.left;
7452
+ h.dealigned = !1;
7453
+ var b = h.mv.left == h ? h.mv.right : h.mv.left;
7454
7454
  b && (c(b), b.dealigned = !1);
7455
- for (var E = q(p, b), U = p.mv.aligners, J = 0; J < U.length; J++)
7455
+ for (var E = q(h, b), U = h.mv.aligners, J = 0; J < U.length; J++)
7456
7456
  U[J].clear();
7457
7457
  U.length = 0;
7458
- var pe = [p.edit, p.orig], De = [], ce = [];
7458
+ var pe = [h.edit, h.orig], De = [], ce = [];
7459
7459
  b && pe.push(b.orig);
7460
7460
  for (var J = 0; J < pe.length; J++)
7461
7461
  De.push(pe[J].getScrollInfo().top), ce.push(-pe[J].getScrollerElement().getBoundingClientRect().top);
@@ -7466,54 +7466,54 @@ function hg() {
7466
7466
  pe[J].scrollTo(null, De[J]);
7467
7467
  }
7468
7468
  }
7469
- function z(p, i, b, E) {
7470
- for (var U = -1e8, J = [], pe = 0; pe < p.length; pe++) if (b[pe] != null) {
7471
- var De = p[pe].heightAtLine(b[pe], "local") - i[pe];
7469
+ function z(h, i, b, E) {
7470
+ for (var U = -1e8, J = [], pe = 0; pe < h.length; pe++) if (b[pe] != null) {
7471
+ var De = h[pe].heightAtLine(b[pe], "local") - i[pe];
7472
7472
  J[pe] = De, U = Math.max(U, De);
7473
7473
  }
7474
- for (var pe = 0; pe < p.length; pe++) if (b[pe] != null) {
7474
+ for (var pe = 0; pe < h.length; pe++) if (b[pe] != null) {
7475
7475
  var ce = U - J[pe];
7476
- ce > 1 && E.push(fe(p[pe], b[pe], ce));
7476
+ ce > 1 && E.push(fe(h[pe], b[pe], ce));
7477
7477
  }
7478
7478
  }
7479
- function fe(p, i, b) {
7479
+ function fe(h, i, b) {
7480
7480
  var E = !0;
7481
- i > p.lastLine() && (i--, E = !1);
7481
+ i > h.lastLine() && (i--, E = !1);
7482
7482
  var U = document.createElement("div");
7483
- return U.className = "CodeMirror-merge-spacer", U.style.height = b + "px", U.style.minWidth = "1px", p.addLineWidget(i, U, { height: b, above: E, mergeSpacer: !0, handleMouseEvents: !0 });
7483
+ return U.className = "CodeMirror-merge-spacer", U.style.height = b + "px", U.style.minWidth = "1px", h.addLineWidget(i, U, { height: b, above: E, mergeSpacer: !0, handleMouseEvents: !0 });
7484
7484
  }
7485
- function se(p, i, b, E, U) {
7486
- var J = p.type == "left", pe = p.orig.heightAtLine(i.origFrom, "local", !0) - b;
7487
- if (p.svg) {
7488
- var De = pe, ce = p.edit.heightAtLine(i.editFrom, "local", !0) - E;
7485
+ function se(h, i, b, E, U) {
7486
+ var J = h.type == "left", pe = h.orig.heightAtLine(i.origFrom, "local", !0) - b;
7487
+ if (h.svg) {
7488
+ var De = pe, ce = h.edit.heightAtLine(i.editFrom, "local", !0) - E;
7489
7489
  if (J) {
7490
7490
  var we = De;
7491
7491
  De = ce, ce = we;
7492
7492
  }
7493
- var X = p.orig.heightAtLine(i.origTo, "local", !0) - b, Fe = p.edit.heightAtLine(i.editTo, "local", !0) - E;
7493
+ var X = h.orig.heightAtLine(i.origTo, "local", !0) - b, Fe = h.edit.heightAtLine(i.editTo, "local", !0) - E;
7494
7494
  if (J) {
7495
7495
  var we = X;
7496
7496
  X = Fe, Fe = we;
7497
7497
  }
7498
7498
  var Ge = " C " + U / 2 + " " + ce + " " + U / 2 + " " + De + " " + (U + 2) + " " + De, Ee = " C " + U / 2 + " " + X + " " + U / 2 + " " + Fe + " -1 " + Fe;
7499
7499
  wt(
7500
- p.svg.appendChild(document.createElementNS(O, "path")),
7500
+ h.svg.appendChild(document.createElementNS(O, "path")),
7501
7501
  "d",
7502
7502
  "M -1 " + ce + Ge + " L " + (U + 2) + " " + X + Ee + " z",
7503
7503
  "class",
7504
- p.classes.connect
7504
+ h.classes.connect
7505
7505
  );
7506
7506
  }
7507
- if (p.copyButtons) {
7508
- var Le = p.copyButtons.appendChild(et(
7507
+ if (h.copyButtons) {
7508
+ var Le = h.copyButtons.appendChild(et(
7509
7509
  "div",
7510
- p.type == "left" ? "⇝" : "⇜",
7510
+ h.type == "left" ? "⇝" : "⇜",
7511
7511
  "CodeMirror-merge-copy"
7512
- )), Me = p.mv.options.allowEditingOriginals;
7513
- if (Le.title = p.edit.phrase(Me ? "Push to left" : "Revert chunk"), Le.chunk = i, Le.style.top = (i.origTo > i.origFrom ? pe : p.edit.heightAtLine(i.editFrom, "local") - E) + "px", Le.setAttribute("role", "button"), Le.setAttribute("tabindex", "0"), Le.setAttribute("aria-label", Le.title), Me) {
7514
- var yt = p.edit.heightAtLine(i.editFrom, "local") - E, at = p.copyButtons.appendChild(et(
7512
+ )), Me = h.mv.options.allowEditingOriginals;
7513
+ if (Le.title = h.edit.phrase(Me ? "Push to left" : "Revert chunk"), Le.chunk = i, Le.style.top = (i.origTo > i.origFrom ? pe : h.edit.heightAtLine(i.editFrom, "local") - E) + "px", Le.setAttribute("role", "button"), Le.setAttribute("tabindex", "0"), Le.setAttribute("aria-label", Le.title), Me) {
7514
+ var yt = h.edit.heightAtLine(i.editFrom, "local") - E, at = h.copyButtons.appendChild(et(
7515
7515
  "div",
7516
- p.type == "right" ? "⇝" : "⇜",
7516
+ h.type == "right" ? "⇝" : "⇜",
7517
7517
  "CodeMirror-merge-copy-reverse"
7518
7518
  ));
7519
7519
  at.title = "Push to right", at.chunk = {
@@ -7521,18 +7521,18 @@ function hg() {
7521
7521
  editTo: i.origTo,
7522
7522
  origFrom: i.editFrom,
7523
7523
  origTo: i.editTo
7524
- }, at.style.top = yt + "px", p.type == "right" ? at.style.left = "2px" : at.style.right = "2px", at.setAttribute("role", "button"), at.setAttribute("tabindex", "0"), at.setAttribute("aria-label", at.title);
7524
+ }, at.style.top = yt + "px", h.type == "right" ? at.style.left = "2px" : at.style.right = "2px", at.setAttribute("role", "button"), at.setAttribute("tabindex", "0"), at.setAttribute("aria-label", at.title);
7525
7525
  }
7526
7526
  }
7527
7527
  }
7528
- function te(p, i, b, E) {
7529
- if (!p.diffOutOfDate) {
7530
- var U = E.origTo > b.lastLine() ? I(E.origFrom - 1) : I(E.origFrom, 0), J = I(E.origTo, 0), pe = E.editTo > i.lastLine() ? I(E.editFrom - 1) : I(E.editFrom, 0), De = I(E.editTo, 0), ce = p.mv.options.revertChunk;
7531
- ce ? ce(p.mv, b, U, J, i, pe, De) : i.replaceRange(b.getRange(U, J), pe, De);
7528
+ function te(h, i, b, E) {
7529
+ if (!h.diffOutOfDate) {
7530
+ var U = E.origTo > b.lastLine() ? I(E.origFrom - 1) : I(E.origFrom, 0), J = I(E.origTo, 0), pe = E.editTo > i.lastLine() ? I(E.editFrom - 1) : I(E.editFrom, 0), De = I(E.editTo, 0), ce = h.mv.options.revertChunk;
7531
+ ce ? ce(h.mv, b, U, J, i, pe, De) : i.replaceRange(b.getRange(U, J), pe, De);
7532
7532
  }
7533
7533
  }
7534
- var he = v.MergeView = function(p, i) {
7535
- if (!(this instanceof he)) return new he(p, i);
7534
+ var he = v.MergeView = function(h, i) {
7535
+ if (!(this instanceof he)) return new he(h, i);
7536
7536
  this.options = i;
7537
7537
  var b = i.origLeft, E = i.origRight == null ? i.orig : i.origRight, U = b != null, J = E != null, pe = 1 + (U ? 1 : 0) + (J ? 1 : 0), De = [], ce = this.left = null, we = this.right = null, X = this;
7538
7538
  if (U) {
@@ -7547,7 +7547,7 @@ function hg() {
7547
7547
  De.push(Ee);
7548
7548
  }
7549
7549
  (J ? Ee : Ge).className += " CodeMirror-merge-pane-rightmost", De.push(et("div", null, null, "height: 0; clear: both;"));
7550
- var Le = this.wrap = p.appendChild(et("div", De, "CodeMirror-merge CodeMirror-merge-" + pe + "pane"));
7550
+ var Le = this.wrap = h.appendChild(et("div", De, "CodeMirror-merge CodeMirror-merge-" + pe + "pane"));
7551
7551
  this.edit = v(Ge, St(i)), ce && ce.init(Fe, b, i), we && we.init(Ee, E, i), i.collapseIdentical && this.editor().operation(function() {
7552
7552
  Qe(X, i.collapseIdentical);
7553
7553
  }), i.connect == "align" && (this.aligners = [], Q(this.left || this.right, !0)), ce && ce.registerEvents(we), we && we.registerEvents(ce);
@@ -7561,37 +7561,37 @@ function hg() {
7561
7561
  at || (clearInterval(yt), v.off(window, "resize", Me));
7562
7562
  }, 5e3);
7563
7563
  };
7564
- function ke(p) {
7565
- var i = p.lockButton = et("div", null, "CodeMirror-merge-scrolllock");
7564
+ function ke(h) {
7565
+ var i = h.lockButton = et("div", null, "CodeMirror-merge-scrolllock");
7566
7566
  i.setAttribute("role", "button"), i.setAttribute("tabindex", "0");
7567
7567
  var b = et("div", [i], "CodeMirror-merge-scrolllock-wrap");
7568
7568
  v.on(i, "click", function() {
7569
- w(p, !p.lockScroll);
7569
+ w(h, !h.lockScroll);
7570
7570
  }), v.on(i, "keyup", function(pe) {
7571
- (pe.key === "Enter" || pe.code === "Space") && w(p, !p.lockScroll);
7571
+ (pe.key === "Enter" || pe.code === "Space") && w(h, !h.lockScroll);
7572
7572
  });
7573
7573
  var E = [b];
7574
- if (p.mv.options.revertButtons !== !1) {
7575
- p.copyButtons = et("div", null, "CodeMirror-merge-copybuttons-" + p.type);
7574
+ if (h.mv.options.revertButtons !== !1) {
7575
+ h.copyButtons = et("div", null, "CodeMirror-merge-copybuttons-" + h.type);
7576
7576
  var U = function(pe) {
7577
7577
  var De = pe.target || pe.srcElement;
7578
7578
  if (De.chunk) {
7579
7579
  if (De.className == "CodeMirror-merge-copy-reverse") {
7580
- te(p, p.orig, p.edit, De.chunk);
7580
+ te(h, h.orig, h.edit, De.chunk);
7581
7581
  return;
7582
7582
  }
7583
- te(p, p.edit, p.orig, De.chunk);
7583
+ te(h, h.edit, h.orig, De.chunk);
7584
7584
  }
7585
7585
  };
7586
- v.on(p.copyButtons, "click", U), v.on(p.copyButtons, "keyup", function(pe) {
7586
+ v.on(h.copyButtons, "click", U), v.on(h.copyButtons, "keyup", function(pe) {
7587
7587
  (pe.key === "Enter" || pe.code === "Space") && U(pe);
7588
- }), E.unshift(p.copyButtons);
7588
+ }), E.unshift(h.copyButtons);
7589
7589
  }
7590
- if (p.mv.options.connect != "align") {
7590
+ if (h.mv.options.connect != "align") {
7591
7591
  var J = document.createElementNS && document.createElementNS(O, "svg");
7592
- J && !J.createSVGRect && (J = null), p.svg = J, J && E.push(J);
7592
+ J && !J.createSVGRect && (J = null), h.svg = J, J && E.push(J);
7593
7593
  }
7594
- return p.gap = et("div", E, "CodeMirror-merge-gap");
7594
+ return h.gap = et("div", E, "CodeMirror-merge-gap");
7595
7595
  }
7596
7596
  he.prototype = {
7597
7597
  constructor: he,
@@ -7604,8 +7604,8 @@ function hg() {
7604
7604
  leftOriginal: function() {
7605
7605
  return this.left && this.left.orig;
7606
7606
  },
7607
- setShowDifferences: function(p) {
7608
- this.right && this.right.setShowDifferences(p), this.left && this.left.setShowDifferences(p);
7607
+ setShowDifferences: function(h) {
7608
+ this.right && this.right.setShowDifferences(h), this.left && this.left.setShowDifferences(h);
7609
7609
  },
7610
7610
  rightChunks: function() {
7611
7611
  if (this.right)
@@ -7616,27 +7616,27 @@ function hg() {
7616
7616
  return c(this.left), this.left.chunks;
7617
7617
  }
7618
7618
  };
7619
- function Be(p) {
7620
- return typeof p == "string" ? p : p.getValue();
7619
+ function Be(h) {
7620
+ return typeof h == "string" ? h : h.getValue();
7621
7621
  }
7622
7622
  var je;
7623
- function Ot(p, i, b) {
7623
+ function Ot(h, i, b) {
7624
7624
  je || (je = new diff_match_patch());
7625
- for (var E = je.diff_main(p, i), U = 0; U < E.length; ++U) {
7625
+ for (var E = je.diff_main(h, i), U = 0; U < E.length; ++U) {
7626
7626
  var J = E[U];
7627
7627
  (b ? !/[^ \t]/.test(J[1]) : !J[1]) ? E.splice(U--, 1) : U && E[U - 1][0] == J[0] && (E.splice(U--, 1), E[U][1] += J[1]);
7628
7628
  }
7629
7629
  return E;
7630
7630
  }
7631
- function Nt(p) {
7631
+ function Nt(h) {
7632
7632
  var i = [];
7633
- if (!p.length) return i;
7634
- for (var b = 0, E = 0, U = I(0, 0), J = I(0, 0), pe = 0; pe < p.length; ++pe) {
7635
- var De = p[pe], ce = De[0];
7633
+ if (!h.length) return i;
7634
+ for (var b = 0, E = 0, U = I(0, 0), J = I(0, 0), pe = 0; pe < h.length; ++pe) {
7635
+ var De = h[pe], ce = De[0];
7636
7636
  if (ce == DIFF_EQUAL) {
7637
- var we = !ct(p, pe) || U.line < b || J.line < E ? 1 : 0, X = U.line + we, Fe = J.line + we;
7637
+ var we = !ct(h, pe) || U.line < b || J.line < E ? 1 : 0, X = U.line + we, Fe = J.line + we;
7638
7638
  Ct(U, De[1], null, J);
7639
- var Ge = At(p, pe) ? 1 : 0, Ee = U.line + Ge, Le = J.line + Ge;
7639
+ var Ge = At(h, pe) ? 1 : 0, Ee = U.line + Ge, Le = J.line + Ge;
7640
7640
  Ee > X && (pe && i.push({
7641
7641
  origFrom: E,
7642
7642
  origTo: Fe,
@@ -7653,93 +7653,93 @@ function hg() {
7653
7653
  editTo: U.line + 1
7654
7654
  }), i;
7655
7655
  }
7656
- function At(p, i) {
7657
- if (i == p.length - 1) return !0;
7658
- var b = p[i + 1][1];
7659
- return b.length == 1 && i < p.length - 2 || b.charCodeAt(0) != 10 ? !1 : i == p.length - 2 ? !0 : (b = p[i + 2][1], (b.length > 1 || i == p.length - 3) && b.charCodeAt(0) == 10);
7656
+ function At(h, i) {
7657
+ if (i == h.length - 1) return !0;
7658
+ var b = h[i + 1][1];
7659
+ return b.length == 1 && i < h.length - 2 || b.charCodeAt(0) != 10 ? !1 : i == h.length - 2 ? !0 : (b = h[i + 2][1], (b.length > 1 || i == h.length - 3) && b.charCodeAt(0) == 10);
7660
7660
  }
7661
- function ct(p, i) {
7661
+ function ct(h, i) {
7662
7662
  if (i == 0) return !0;
7663
- var b = p[i - 1][1];
7664
- return b.charCodeAt(b.length - 1) != 10 ? !1 : i == 1 ? !0 : (b = p[i - 2][1], b.charCodeAt(b.length - 1) == 10);
7663
+ var b = h[i - 1][1];
7664
+ return b.charCodeAt(b.length - 1) != 10 ? !1 : i == 1 ? !0 : (b = h[i - 2][1], b.charCodeAt(b.length - 1) == 10);
7665
7665
  }
7666
- function Xt(p, i, b) {
7667
- for (var E, U, J, pe, De = 0; De < p.length; De++) {
7668
- var ce = p[De], we = b ? ce.editFrom : ce.origFrom, X = b ? ce.editTo : ce.origTo;
7666
+ function Xt(h, i, b) {
7667
+ for (var E, U, J, pe, De = 0; De < h.length; De++) {
7668
+ var ce = h[De], we = b ? ce.editFrom : ce.origFrom, X = b ? ce.editTo : ce.origTo;
7669
7669
  U == null && (we > i ? (U = ce.editFrom, pe = ce.origFrom) : X > i && (U = ce.editTo, pe = ce.origTo)), X <= i ? (E = ce.editTo, J = ce.origTo) : we <= i && (E = ce.editFrom, J = ce.origFrom);
7670
7670
  }
7671
7671
  return { edit: { before: E, after: U }, orig: { before: J, after: pe } };
7672
7672
  }
7673
- function ze(p, i, b) {
7674
- p.addLineClass(i, "wrap", "CodeMirror-merge-collapsed-line");
7673
+ function ze(h, i, b) {
7674
+ h.addLineClass(i, "wrap", "CodeMirror-merge-collapsed-line");
7675
7675
  var E = document.createElement("span");
7676
- E.className = "CodeMirror-merge-collapsed-widget", E.title = p.phrase("Identical text collapsed. Click to expand.");
7677
- var U = p.markText(I(i, 0), I(b - 1), {
7676
+ E.className = "CodeMirror-merge-collapsed-widget", E.title = h.phrase("Identical text collapsed. Click to expand.");
7677
+ var U = h.markText(I(i, 0), I(b - 1), {
7678
7678
  inclusiveLeft: !0,
7679
7679
  inclusiveRight: !0,
7680
7680
  replacedWith: E,
7681
7681
  clearOnEnter: !0
7682
7682
  });
7683
7683
  function J() {
7684
- U.clear(), p.removeLineClass(i, "wrap", "CodeMirror-merge-collapsed-line");
7684
+ U.clear(), h.removeLineClass(i, "wrap", "CodeMirror-merge-collapsed-line");
7685
7685
  }
7686
7686
  return U.explicitlyCleared && J(), v.on(E, "click", J), U.on("clear", J), v.on(E, "click", J), { mark: U, clear: J };
7687
7687
  }
7688
- function ee(p, i) {
7688
+ function ee(h, i) {
7689
7689
  var b = [];
7690
7690
  function E() {
7691
7691
  for (var De = 0; De < b.length; De++) b[De].clear();
7692
7692
  }
7693
7693
  for (var U = 0; U < i.length; U++) {
7694
- var J = i[U], pe = ze(J.cm, J.line, J.line + p);
7694
+ var J = i[U], pe = ze(J.cm, J.line, J.line + h);
7695
7695
  b.push(pe), pe.mark.on("clear", E);
7696
7696
  }
7697
7697
  return b[0].mark;
7698
7698
  }
7699
- function kt(p, i, b, E) {
7700
- for (var U = 0; U < p.chunks.length; U++)
7701
- for (var J = p.chunks[U], pe = J.editFrom - i; pe < J.editTo + i; pe++) {
7699
+ function kt(h, i, b, E) {
7700
+ for (var U = 0; U < h.chunks.length; U++)
7701
+ for (var J = h.chunks[U], pe = J.editFrom - i; pe < J.editTo + i; pe++) {
7702
7702
  var De = pe + b;
7703
7703
  De >= 0 && De < E.length && (E[De] = !1);
7704
7704
  }
7705
7705
  }
7706
- function Qe(p, i) {
7706
+ function Qe(h, i) {
7707
7707
  typeof i != "number" && (i = 2);
7708
- for (var b = [], E = p.editor(), U = E.firstLine(), J = U, pe = E.lastLine(); J <= pe; J++) b.push(!0);
7709
- p.left && kt(p.left, i, U, b), p.right && kt(p.right, i, U, b);
7708
+ for (var b = [], E = h.editor(), U = E.firstLine(), J = U, pe = E.lastLine(); J <= pe; J++) b.push(!0);
7709
+ h.left && kt(h.left, i, U, b), h.right && kt(h.right, i, U, b);
7710
7710
  for (var De = 0; De < b.length; De++)
7711
7711
  if (b[De]) {
7712
7712
  for (var ce = De + U, we = 1; De < b.length - 1 && b[De + 1]; De++, we++)
7713
7713
  ;
7714
7714
  if (we > i) {
7715
7715
  var X = [{ line: ce, cm: E }];
7716
- p.left && X.push({ line: L(ce, p.left.chunks), cm: p.left.orig }), p.right && X.push({ line: L(ce, p.right.chunks), cm: p.right.orig });
7716
+ h.left && X.push({ line: L(ce, h.left.chunks), cm: h.left.orig }), h.right && X.push({ line: L(ce, h.right.chunks), cm: h.right.orig });
7717
7717
  var Fe = ee(we, X);
7718
- p.options.onCollapse && p.options.onCollapse(p, ce, we, Fe);
7718
+ h.options.onCollapse && h.options.onCollapse(h, ce, we, Fe);
7719
7719
  }
7720
7720
  }
7721
7721
  }
7722
- function et(p, i, b, E) {
7723
- var U = document.createElement(p);
7722
+ function et(h, i, b, E) {
7723
+ var U = document.createElement(h);
7724
7724
  if (b && (U.className = b), E && (U.style.cssText = E), typeof i == "string") U.appendChild(document.createTextNode(i));
7725
7725
  else if (i) for (var J = 0; J < i.length; ++J) U.appendChild(i[J]);
7726
7726
  return U;
7727
7727
  }
7728
- function Rt(p) {
7729
- for (var i = p.childNodes.length; i > 0; --i)
7730
- p.removeChild(p.firstChild);
7728
+ function Rt(h) {
7729
+ for (var i = h.childNodes.length; i > 0; --i)
7730
+ h.removeChild(h.firstChild);
7731
7731
  }
7732
- function wt(p) {
7732
+ function wt(h) {
7733
7733
  for (var i = 1; i < arguments.length; i += 2)
7734
- p.setAttribute(arguments[i], arguments[i + 1]);
7734
+ h.setAttribute(arguments[i], arguments[i + 1]);
7735
7735
  }
7736
- function St(p, i) {
7736
+ function St(h, i) {
7737
7737
  i || (i = {});
7738
- for (var b in p) p.hasOwnProperty(b) && (i[b] = p[b]);
7738
+ for (var b in h) h.hasOwnProperty(b) && (i[b] = h[b]);
7739
7739
  return i;
7740
7740
  }
7741
- function Ct(p, i, b, E) {
7742
- for (var U = b ? I(p.line, p.ch) : p, J = 0; ; ) {
7741
+ function Ct(h, i, b, E) {
7742
+ for (var U = b ? I(h.line, h.ch) : h, J = 0; ; ) {
7743
7743
  var pe = i.indexOf(`
7744
7744
  `, J);
7745
7745
  if (pe == -1) break;
@@ -7748,24 +7748,24 @@ function hg() {
7748
7748
  return U.ch = (J ? 0 : U.ch) + (i.length - J), E && (E.ch = (J ? 0 : E.ch) + (i.length - J)), U;
7749
7749
  }
7750
7750
  var x = 1, G = 2, $ = 4;
7751
- function ie(p) {
7752
- this.cm = p, this.alignable = [], this.height = p.doc.height;
7751
+ function ie(h) {
7752
+ this.cm = h, this.alignable = [], this.height = h.doc.height;
7753
7753
  var i = this;
7754
- p.on("markerAdded", function(b, E) {
7754
+ h.on("markerAdded", function(b, E) {
7755
7755
  if (E.collapsed) {
7756
7756
  var U = E.find(1);
7757
7757
  U != null && i.set(U.line, $);
7758
7758
  }
7759
- }), p.on("markerCleared", function(b, E, U, J) {
7759
+ }), h.on("markerCleared", function(b, E, U, J) {
7760
7760
  J != null && E.collapsed && i.check(J, $, i.hasMarker);
7761
- }), p.on("markerChanged", this.signal.bind(this)), p.on("lineWidgetAdded", function(b, E, U) {
7761
+ }), h.on("markerChanged", this.signal.bind(this)), h.on("lineWidgetAdded", function(b, E, U) {
7762
7762
  E.mergeSpacer || (E.above ? i.set(U - 1, G) : i.set(U, x));
7763
- }), p.on("lineWidgetCleared", function(b, E, U) {
7763
+ }), h.on("lineWidgetCleared", function(b, E, U) {
7764
7764
  E.mergeSpacer || (E.above ? i.check(U - 1, G, i.hasWidgetBelow) : i.check(U, x, i.hasWidget));
7765
- }), p.on("lineWidgetChanged", this.signal.bind(this)), p.on("change", function(b, E) {
7765
+ }), h.on("lineWidgetChanged", this.signal.bind(this)), h.on("change", function(b, E) {
7766
7766
  var U = E.from.line, J = E.to.line - E.from.line, pe = E.text.length - 1, De = U + pe;
7767
7767
  (J || pe) && i.map(U, J, pe), i.check(De, $, i.hasMarker), (J || pe) && i.check(E.from.line, $, i.hasMarker);
7768
- }), p.on("viewportChange", function() {
7768
+ }), h.on("viewportChange", function() {
7769
7769
  i.cm.doc.height != i.height && i.signal();
7770
7770
  });
7771
7771
  }
@@ -7773,9 +7773,9 @@ function hg() {
7773
7773
  signal: function() {
7774
7774
  v.signal(this, "realign"), this.height = this.cm.doc.height;
7775
7775
  },
7776
- set: function(p, i) {
7776
+ set: function(h, i) {
7777
7777
  for (var b = -1; b < this.alignable.length; b += 2) {
7778
- var E = this.alignable[b] - p;
7778
+ var E = this.alignable[b] - h;
7779
7779
  if (E == 0) {
7780
7780
  if ((this.alignable[b + 1] & i) == i) return;
7781
7781
  this.alignable[b + 1] |= i, this.signal();
@@ -7783,23 +7783,23 @@ function hg() {
7783
7783
  }
7784
7784
  if (E > 0) break;
7785
7785
  }
7786
- this.signal(), this.alignable.splice(b, 0, p, i);
7786
+ this.signal(), this.alignable.splice(b, 0, h, i);
7787
7787
  },
7788
- find: function(p) {
7788
+ find: function(h) {
7789
7789
  for (var i = 0; i < this.alignable.length; i += 2)
7790
- if (this.alignable[i] == p) return i;
7790
+ if (this.alignable[i] == h) return i;
7791
7791
  return -1;
7792
7792
  },
7793
- check: function(p, i, b) {
7794
- var E = this.find(p);
7795
- if (!(E == -1 || !(this.alignable[E + 1] & i)) && !b.call(this, p)) {
7793
+ check: function(h, i, b) {
7794
+ var E = this.find(h);
7795
+ if (!(E == -1 || !(this.alignable[E + 1] & i)) && !b.call(this, h)) {
7796
7796
  this.signal();
7797
7797
  var U = this.alignable[E + 1] & ~i;
7798
7798
  U ? this.alignable[E + 1] = U : this.alignable.splice(E, 2);
7799
7799
  }
7800
7800
  },
7801
- hasMarker: function(p) {
7802
- var i = this.cm.getLineHandle(p);
7801
+ hasMarker: function(h) {
7802
+ var i = this.cm.getLineHandle(h);
7803
7803
  if (i.markedSpans) {
7804
7804
  for (var b = 0; b < i.markedSpans.length; b++)
7805
7805
  if (i.markedSpans[b].marker.collapsed && i.markedSpans[b].to != null)
@@ -7807,73 +7807,73 @@ function hg() {
7807
7807
  }
7808
7808
  return !1;
7809
7809
  },
7810
- hasWidget: function(p) {
7811
- var i = this.cm.getLineHandle(p);
7810
+ hasWidget: function(h) {
7811
+ var i = this.cm.getLineHandle(h);
7812
7812
  if (i.widgets) {
7813
7813
  for (var b = 0; b < i.widgets.length; b++)
7814
7814
  if (!i.widgets[b].above && !i.widgets[b].mergeSpacer) return !0;
7815
7815
  }
7816
7816
  return !1;
7817
7817
  },
7818
- hasWidgetBelow: function(p) {
7819
- if (p == this.cm.lastLine()) return !1;
7820
- var i = this.cm.getLineHandle(p + 1);
7818
+ hasWidgetBelow: function(h) {
7819
+ if (h == this.cm.lastLine()) return !1;
7820
+ var i = this.cm.getLineHandle(h + 1);
7821
7821
  if (i.widgets) {
7822
7822
  for (var b = 0; b < i.widgets.length; b++)
7823
7823
  if (i.widgets[b].above && !i.widgets[b].mergeSpacer) return !0;
7824
7824
  }
7825
7825
  return !1;
7826
7826
  },
7827
- map: function(p, i, b) {
7828
- for (var E = b - i, U = p + i, J = -1, pe = -1, De = 0; De < this.alignable.length; De += 2) {
7827
+ map: function(h, i, b) {
7828
+ for (var E = b - i, U = h + i, J = -1, pe = -1, De = 0; De < this.alignable.length; De += 2) {
7829
7829
  var ce = this.alignable[De];
7830
- ce == p && this.alignable[De + 1] & G && (J = De), ce == U && this.alignable[De + 1] & G && (pe = De), !(ce <= p) && (ce < U ? this.alignable.splice(De--, 2) : this.alignable[De] += E);
7830
+ ce == h && this.alignable[De + 1] & G && (J = De), ce == U && this.alignable[De + 1] & G && (pe = De), !(ce <= h) && (ce < U ? this.alignable.splice(De--, 2) : this.alignable[De] += E);
7831
7831
  }
7832
7832
  if (J > -1) {
7833
7833
  var we = this.alignable[J + 1];
7834
7834
  we == G ? this.alignable.splice(J, 2) : this.alignable[J + 1] = we & -3;
7835
7835
  }
7836
- pe > -1 && b && this.set(p + b, G);
7836
+ pe > -1 && b && this.set(h + b, G);
7837
7837
  }
7838
7838
  };
7839
- function Se(p, i) {
7840
- return (p.line - i.line || p.ch - i.ch) < 0 ? p : i;
7839
+ function Se(h, i) {
7840
+ return (h.line - i.line || h.ch - i.ch) < 0 ? h : i;
7841
7841
  }
7842
- function Ke(p, i) {
7843
- return (p.line - i.line || p.ch - i.ch) > 0 ? p : i;
7842
+ function Ke(h, i) {
7843
+ return (h.line - i.line || h.ch - i.ch) > 0 ? h : i;
7844
7844
  }
7845
- function be(p, i) {
7846
- return p.line == i.line && p.ch == i.ch;
7845
+ function be(h, i) {
7846
+ return h.line == i.line && h.ch == i.ch;
7847
7847
  }
7848
- function H(p, i, b) {
7849
- for (var E = p.length - 1; E >= 0; E--) {
7850
- var U = p[E], J = (b ? U.origTo : U.editTo) - 1;
7848
+ function H(h, i, b) {
7849
+ for (var E = h.length - 1; E >= 0; E--) {
7850
+ var U = h[E], J = (b ? U.origTo : U.editTo) - 1;
7851
7851
  if (J < i) return J;
7852
7852
  }
7853
7853
  }
7854
- function oe(p, i, b) {
7855
- for (var E = 0; E < p.length; E++) {
7856
- var U = p[E], J = b ? U.origFrom : U.editFrom;
7854
+ function oe(h, i, b) {
7855
+ for (var E = 0; E < h.length; E++) {
7856
+ var U = h[E], J = b ? U.origFrom : U.editFrom;
7857
7857
  if (J > i) return J;
7858
7858
  }
7859
7859
  }
7860
- function _e(p, i) {
7861
- var b = null, E = p.state.diffViews, U = p.getCursor().line;
7860
+ function _e(h, i) {
7861
+ var b = null, E = h.state.diffViews, U = h.getCursor().line;
7862
7862
  if (E) for (var J = 0; J < E.length; J++) {
7863
- var pe = E[J], De = p == pe.orig;
7863
+ var pe = E[J], De = h == pe.orig;
7864
7864
  c(pe);
7865
7865
  var ce = i < 0 ? H(pe.chunks, U, De) : oe(pe.chunks, U, De);
7866
7866
  ce != null && (b == null || (i < 0 ? ce > b : ce < b)) && (b = ce);
7867
7867
  }
7868
7868
  if (b != null)
7869
- p.setCursor(b, 0);
7869
+ h.setCursor(b, 0);
7870
7870
  else
7871
7871
  return v.Pass;
7872
7872
  }
7873
- v.commands.goNextDiff = function(p) {
7874
- return _e(p, 1);
7875
- }, v.commands.goPrevDiff = function(p) {
7876
- return _e(p, -1);
7873
+ v.commands.goNextDiff = function(h) {
7874
+ return _e(h, 1);
7875
+ }, v.commands.goPrevDiff = function(h) {
7876
+ return _e(h, -1);
7877
7877
  };
7878
7878
  });
7879
7879
  }()), $c.exports;
@@ -7887,21 +7887,21 @@ function pg() {
7887
7887
  }, v = -1, I = 1, O = 0;
7888
7888
  M.Diff = function(d, c) {
7889
7889
  return [d, c];
7890
- }, M.prototype.diff_main = function(d, c, h, y) {
7890
+ }, M.prototype.diff_main = function(d, c, p, y) {
7891
7891
  typeof y > "u" && (this.Diff_Timeout <= 0 ? y = Number.MAX_VALUE : y = (/* @__PURE__ */ new Date()).getTime() + this.Diff_Timeout * 1e3);
7892
7892
  var C = y;
7893
7893
  if (d == null || c == null)
7894
7894
  throw new Error("Null input. (diff_main)");
7895
7895
  if (d == c)
7896
7896
  return d ? [new M.Diff(O, d)] : [];
7897
- typeof h > "u" && (h = !0);
7898
- var A = h, o = this.diff_commonPrefix(d, c), w = d.substring(0, o);
7897
+ typeof p > "u" && (p = !0);
7898
+ var A = p, o = this.diff_commonPrefix(d, c), w = d.substring(0, o);
7899
7899
  d = d.substring(o), c = c.substring(o), o = this.diff_commonSuffix(d, c);
7900
7900
  var T = d.substring(d.length - o);
7901
7901
  d = d.substring(0, d.length - o), c = c.substring(0, c.length - o);
7902
7902
  var D = this.diff_compute_(d, c, A, C);
7903
7903
  return w && D.unshift(new M.Diff(O, w)), T && D.push(new M.Diff(O, T)), this.diff_cleanupMerge(D), D;
7904
- }, M.prototype.diff_compute_ = function(d, c, h, y) {
7904
+ }, M.prototype.diff_compute_ = function(d, c, p, y) {
7905
7905
  var C;
7906
7906
  if (!d)
7907
7907
  return [new M.Diff(I, c)];
@@ -7924,17 +7924,17 @@ function pg() {
7924
7924
  ];
7925
7925
  var T = this.diff_halfMatch_(d, c);
7926
7926
  if (T) {
7927
- var D = T[0], m = T[1], W = T[2], F = T[3], V = T[4], L = this.diff_main(D, W, h, y), R = this.diff_main(m, F, h, y);
7927
+ var D = T[0], m = T[1], W = T[2], F = T[3], V = T[4], L = this.diff_main(D, W, p, y), R = this.diff_main(m, F, p, y);
7928
7928
  return L.concat(
7929
7929
  [new M.Diff(O, V)],
7930
7930
  R
7931
7931
  );
7932
7932
  }
7933
- return h && d.length > 100 && c.length > 100 ? this.diff_lineMode_(d, c, y) : this.diff_bisect_(d, c, y);
7934
- }, M.prototype.diff_lineMode_ = function(d, c, h) {
7933
+ return p && d.length > 100 && c.length > 100 ? this.diff_lineMode_(d, c, y) : this.diff_bisect_(d, c, y);
7934
+ }, M.prototype.diff_lineMode_ = function(d, c, p) {
7935
7935
  var y = this.diff_linesToChars_(d, c);
7936
7936
  d = y.chars1, c = y.chars2;
7937
- var C = y.lineArray, A = this.diff_main(d, c, !1, h);
7937
+ var C = y.lineArray, A = this.diff_main(d, c, !1, p);
7938
7938
  this.diff_charsToLines_(A, C), this.diff_cleanupSemantic(A), A.push(new M.Diff(O, ""));
7939
7939
  for (var o = 0, w = 0, T = 0, D = "", m = ""; o < A.length; ) {
7940
7940
  switch (A[o][0]) {
@@ -7950,7 +7950,7 @@ function pg() {
7950
7950
  o - w - T,
7951
7951
  w + T
7952
7952
  ), o = o - w - T;
7953
- for (var W = this.diff_main(D, m, !1, h), F = W.length - 1; F >= 0; F--)
7953
+ for (var W = this.diff_main(D, m, !1, p), F = W.length - 1; F >= 0; F--)
7954
7954
  A.splice(o, 0, W[F]);
7955
7955
  o = o + W.length;
7956
7956
  }
@@ -7960,11 +7960,11 @@ function pg() {
7960
7960
  o++;
7961
7961
  }
7962
7962
  return A.pop(), A;
7963
- }, M.prototype.diff_bisect_ = function(d, c, h) {
7963
+ }, M.prototype.diff_bisect_ = function(d, c, p) {
7964
7964
  for (var y = d.length, C = c.length, A = Math.ceil((y + C) / 2), o = A, w = 2 * A, T = new Array(w), D = new Array(w), m = 0; m < w; m++)
7965
7965
  T[m] = -1, D[m] = -1;
7966
7966
  T[o + 1] = 0, D[o + 1] = 0;
7967
- for (var W = y - C, F = W % 2 != 0, V = 0, L = 0, R = 0, k = 0, q = 0; q < A && !((/* @__PURE__ */ new Date()).getTime() > h); q++) {
7967
+ for (var W = y - C, F = W % 2 != 0, V = 0, L = 0, R = 0, k = 0, q = 0; q < A && !((/* @__PURE__ */ new Date()).getTime() > p); q++) {
7968
7968
  for (var Q = -q + V; Q <= q - L; Q += 2) {
7969
7969
  var z = o + Q, fe;
7970
7970
  Q == -q || Q != q && T[z - 1] < T[z + 1] ? fe = T[z + 1] : fe = T[z - 1] + 1;
@@ -7979,7 +7979,7 @@ function pg() {
7979
7979
  if (te >= 0 && te < w && D[te] != -1) {
7980
7980
  var he = y - D[te];
7981
7981
  if (fe >= he)
7982
- return this.diff_bisectSplit_(d, c, fe, se, h);
7982
+ return this.diff_bisectSplit_(d, c, fe, se, p);
7983
7983
  }
7984
7984
  }
7985
7985
  }
@@ -7997,7 +7997,7 @@ function pg() {
7997
7997
  if (z >= 0 && z < w && T[z] != -1) {
7998
7998
  var fe = T[z], se = o + fe - z;
7999
7999
  if (he = y - he, fe >= he)
8000
- return this.diff_bisectSplit_(d, c, fe, se, h);
8000
+ return this.diff_bisectSplit_(d, c, fe, se, p);
8001
8001
  }
8002
8002
  }
8003
8003
  }
@@ -8006,49 +8006,49 @@ function pg() {
8006
8006
  new M.Diff(v, d),
8007
8007
  new M.Diff(I, c)
8008
8008
  ];
8009
- }, M.prototype.diff_bisectSplit_ = function(d, c, h, y, C) {
8010
- var A = d.substring(0, h), o = c.substring(0, y), w = d.substring(h), T = c.substring(y), D = this.diff_main(A, o, !1, C), m = this.diff_main(w, T, !1, C);
8009
+ }, M.prototype.diff_bisectSplit_ = function(d, c, p, y, C) {
8010
+ var A = d.substring(0, p), o = c.substring(0, y), w = d.substring(p), T = c.substring(y), D = this.diff_main(A, o, !1, C), m = this.diff_main(w, T, !1, C);
8011
8011
  return D.concat(m);
8012
8012
  }, M.prototype.diff_linesToChars_ = function(d, c) {
8013
- var h = [], y = {};
8014
- h[0] = "";
8013
+ var p = [], y = {};
8014
+ p[0] = "";
8015
8015
  function C(T) {
8016
- for (var D = "", m = 0, W = -1, F = h.length; W < T.length - 1; ) {
8016
+ for (var D = "", m = 0, W = -1, F = p.length; W < T.length - 1; ) {
8017
8017
  W = T.indexOf(`
8018
8018
  `, m), W == -1 && (W = T.length - 1);
8019
8019
  var V = T.substring(m, W + 1);
8020
- (y.hasOwnProperty ? y.hasOwnProperty(V) : y[V] !== void 0) ? D += String.fromCharCode(y[V]) : (F == A && (V = T.substring(m), W = T.length), D += String.fromCharCode(F), y[V] = F, h[F++] = V), m = W + 1;
8020
+ (y.hasOwnProperty ? y.hasOwnProperty(V) : y[V] !== void 0) ? D += String.fromCharCode(y[V]) : (F == A && (V = T.substring(m), W = T.length), D += String.fromCharCode(F), y[V] = F, p[F++] = V), m = W + 1;
8021
8021
  }
8022
8022
  return D;
8023
8023
  }
8024
8024
  var A = 4e4, o = C(d);
8025
8025
  A = 65535;
8026
8026
  var w = C(c);
8027
- return { chars1: o, chars2: w, lineArray: h };
8027
+ return { chars1: o, chars2: w, lineArray: p };
8028
8028
  }, M.prototype.diff_charsToLines_ = function(d, c) {
8029
- for (var h = 0; h < d.length; h++) {
8030
- for (var y = d[h][1], C = [], A = 0; A < y.length; A++)
8029
+ for (var p = 0; p < d.length; p++) {
8030
+ for (var y = d[p][1], C = [], A = 0; A < y.length; A++)
8031
8031
  C[A] = c[y.charCodeAt(A)];
8032
- d[h][1] = C.join("");
8032
+ d[p][1] = C.join("");
8033
8033
  }
8034
8034
  }, M.prototype.diff_commonPrefix = function(d, c) {
8035
8035
  if (!d || !c || d.charAt(0) != c.charAt(0))
8036
8036
  return 0;
8037
- for (var h = 0, y = Math.min(d.length, c.length), C = y, A = 0; h < C; )
8038
- d.substring(A, C) == c.substring(A, C) ? (h = C, A = h) : y = C, C = Math.floor((y - h) / 2 + h);
8037
+ for (var p = 0, y = Math.min(d.length, c.length), C = y, A = 0; p < C; )
8038
+ d.substring(A, C) == c.substring(A, C) ? (p = C, A = p) : y = C, C = Math.floor((y - p) / 2 + p);
8039
8039
  return C;
8040
8040
  }, M.prototype.diff_commonSuffix = function(d, c) {
8041
8041
  if (!d || !c || d.charAt(d.length - 1) != c.charAt(c.length - 1))
8042
8042
  return 0;
8043
- for (var h = 0, y = Math.min(d.length, c.length), C = y, A = 0; h < C; )
8044
- d.substring(d.length - C, d.length - A) == c.substring(c.length - C, c.length - A) ? (h = C, A = h) : y = C, C = Math.floor((y - h) / 2 + h);
8043
+ for (var p = 0, y = Math.min(d.length, c.length), C = y, A = 0; p < C; )
8044
+ d.substring(d.length - C, d.length - A) == c.substring(c.length - C, c.length - A) ? (p = C, A = p) : y = C, C = Math.floor((y - p) / 2 + p);
8045
8045
  return C;
8046
8046
  }, M.prototype.diff_commonOverlap_ = function(d, c) {
8047
- var h = d.length, y = c.length;
8048
- if (h == 0 || y == 0)
8047
+ var p = d.length, y = c.length;
8048
+ if (p == 0 || y == 0)
8049
8049
  return 0;
8050
- h > y ? d = d.substring(h - y) : h < y && (c = c.substring(0, h));
8051
- var C = Math.min(h, y);
8050
+ p > y ? d = d.substring(p - y) : p < y && (c = c.substring(0, p));
8051
+ var C = Math.min(p, y);
8052
8052
  if (d == c)
8053
8053
  return C;
8054
8054
  for (var A = 0, o = 1; ; ) {
@@ -8060,8 +8060,8 @@ function pg() {
8060
8060
  }, M.prototype.diff_halfMatch_ = function(d, c) {
8061
8061
  if (this.Diff_Timeout <= 0)
8062
8062
  return null;
8063
- var h = d.length > c.length ? d : c, y = d.length > c.length ? c : d;
8064
- if (h.length < 4 || y.length * 2 < h.length)
8063
+ var p = d.length > c.length ? d : c, y = d.length > c.length ? c : d;
8064
+ if (p.length < 4 || y.length * 2 < p.length)
8065
8065
  return null;
8066
8066
  var C = this;
8067
8067
  function A(L, R, k) {
@@ -8084,13 +8084,13 @@ function pg() {
8084
8084
  ] : null;
8085
8085
  }
8086
8086
  var o = A(
8087
- h,
8087
+ p,
8088
8088
  y,
8089
- Math.ceil(h.length / 4)
8089
+ Math.ceil(p.length / 4)
8090
8090
  ), w = A(
8091
- h,
8091
+ p,
8092
8092
  y,
8093
- Math.ceil(h.length / 2)
8093
+ Math.ceil(p.length / 2)
8094
8094
  ), T;
8095
8095
  if (!o && !w)
8096
8096
  return null;
@@ -8100,15 +8100,15 @@ function pg() {
8100
8100
  var V = T[4];
8101
8101
  return [D, m, W, F, V];
8102
8102
  }, M.prototype.diff_cleanupSemantic = function(d) {
8103
- for (var c = !1, h = [], y = 0, C = null, A = 0, o = 0, w = 0, T = 0, D = 0; A < d.length; )
8104
- d[A][0] == O ? (h[y++] = A, o = T, w = D, T = 0, D = 0, C = d[A][1]) : (d[A][0] == I ? T += d[A][1].length : D += d[A][1].length, C && C.length <= Math.max(o, w) && C.length <= Math.max(
8103
+ for (var c = !1, p = [], y = 0, C = null, A = 0, o = 0, w = 0, T = 0, D = 0; A < d.length; )
8104
+ d[A][0] == O ? (p[y++] = A, o = T, w = D, T = 0, D = 0, C = d[A][1]) : (d[A][0] == I ? T += d[A][1].length : D += d[A][1].length, C && C.length <= Math.max(o, w) && C.length <= Math.max(
8105
8105
  T,
8106
8106
  D
8107
8107
  ) && (d.splice(
8108
- h[y - 1],
8108
+ p[y - 1],
8109
8109
  0,
8110
8110
  new M.Diff(v, C)
8111
- ), d[h[y - 1] + 1][0] = I, y--, y--, A = y > 0 ? h[y - 1] : -1, o = 0, w = 0, T = 0, D = 0, C = null, c = !0)), A++;
8111
+ ), d[p[y - 1] + 1][0] = I, y--, y--, A = y > 0 ? p[y - 1] : -1, o = 0, w = 0, T = 0, D = 0, C = null, c = !0)), A++;
8112
8112
  for (c && this.diff_cleanupMerge(d), this.diff_cleanupSemanticLossless(d), A = 1; A < d.length; ) {
8113
8113
  if (d[A - 1][0] == v && d[A][0] == I) {
8114
8114
  var m = d[A - 1][1], W = d[A][1], F = this.diff_commonOverlap_(m, W), V = this.diff_commonOverlap_(W, m);
@@ -8129,9 +8129,9 @@ function pg() {
8129
8129
  var R = V.charAt(V.length - 1), k = L.charAt(0), q = R.match(M.nonAlphaNumericRegex_), Q = k.match(M.nonAlphaNumericRegex_), z = q && R.match(M.whitespaceRegex_), fe = Q && k.match(M.whitespaceRegex_), se = z && R.match(M.linebreakRegex_), te = fe && k.match(M.linebreakRegex_), he = se && V.match(M.blanklineEndRegex_), ke = te && L.match(M.blanklineStartRegex_);
8130
8130
  return he || ke ? 5 : se || te ? 4 : q && !z && fe ? 3 : z || fe ? 2 : q || Q ? 1 : 0;
8131
8131
  }
8132
- for (var h = 1; h < d.length - 1; ) {
8133
- if (d[h - 1][0] == O && d[h + 1][0] == O) {
8134
- var y = d[h - 1][1], C = d[h][1], A = d[h + 1][1], o = this.diff_commonSuffix(y, C);
8132
+ for (var p = 1; p < d.length - 1; ) {
8133
+ if (d[p - 1][0] == O && d[p + 1][0] == O) {
8134
+ var y = d[p - 1][1], C = d[p][1], A = d[p + 1][1], o = this.diff_commonSuffix(y, C);
8135
8135
  if (o) {
8136
8136
  var w = C.substring(C.length - o);
8137
8137
  y = y.substring(0, y.length - o), C = w + C.substring(0, C.length - o), A = w + A;
@@ -8141,33 +8141,33 @@ function pg() {
8141
8141
  var F = c(y, C) + c(C, A);
8142
8142
  F >= W && (W = F, T = y, D = C, m = A);
8143
8143
  }
8144
- d[h - 1][1] != T && (T ? d[h - 1][1] = T : (d.splice(h - 1, 1), h--), d[h][1] = D, m ? d[h + 1][1] = m : (d.splice(h + 1, 1), h--));
8144
+ d[p - 1][1] != T && (T ? d[p - 1][1] = T : (d.splice(p - 1, 1), p--), d[p][1] = D, m ? d[p + 1][1] = m : (d.splice(p + 1, 1), p--));
8145
8145
  }
8146
- h++;
8146
+ p++;
8147
8147
  }
8148
8148
  }, M.nonAlphaNumericRegex_ = /[^a-zA-Z0-9]/, M.whitespaceRegex_ = /\s/, M.linebreakRegex_ = /[\r\n]/, M.blanklineEndRegex_ = /\n\r?\n$/, M.blanklineStartRegex_ = /^\r?\n\r?\n/, M.prototype.diff_cleanupEfficiency = function(d) {
8149
- for (var c = !1, h = [], y = 0, C = null, A = 0, o = !1, w = !1, T = !1, D = !1; A < d.length; )
8150
- d[A][0] == O ? (d[A][1].length < this.Diff_EditCost && (T || D) ? (h[y++] = A, o = T, w = D, C = d[A][1]) : (y = 0, C = null), T = D = !1) : (d[A][0] == v ? D = !0 : T = !0, C && (o && w && T && D || C.length < this.Diff_EditCost / 2 && o + w + T + D == 3) && (d.splice(
8151
- h[y - 1],
8149
+ for (var c = !1, p = [], y = 0, C = null, A = 0, o = !1, w = !1, T = !1, D = !1; A < d.length; )
8150
+ d[A][0] == O ? (d[A][1].length < this.Diff_EditCost && (T || D) ? (p[y++] = A, o = T, w = D, C = d[A][1]) : (y = 0, C = null), T = D = !1) : (d[A][0] == v ? D = !0 : T = !0, C && (o && w && T && D || C.length < this.Diff_EditCost / 2 && o + w + T + D == 3) && (d.splice(
8151
+ p[y - 1],
8152
8152
  0,
8153
8153
  new M.Diff(v, C)
8154
- ), d[h[y - 1] + 1][0] = I, y--, C = null, o && w ? (T = D = !0, y = 0) : (y--, A = y > 0 ? h[y - 1] : -1, T = D = !1), c = !0)), A++;
8154
+ ), d[p[y - 1] + 1][0] = I, y--, C = null, o && w ? (T = D = !0, y = 0) : (y--, A = y > 0 ? p[y - 1] : -1, T = D = !1), c = !0)), A++;
8155
8155
  c && this.diff_cleanupMerge(d);
8156
8156
  }, M.prototype.diff_cleanupMerge = function(d) {
8157
8157
  d.push(new M.Diff(O, ""));
8158
- for (var c = 0, h = 0, y = 0, C = "", A = "", o; c < d.length; )
8158
+ for (var c = 0, p = 0, y = 0, C = "", A = "", o; c < d.length; )
8159
8159
  switch (d[c][0]) {
8160
8160
  case I:
8161
8161
  y++, A += d[c][1], c++;
8162
8162
  break;
8163
8163
  case v:
8164
- h++, C += d[c][1], c++;
8164
+ p++, C += d[c][1], c++;
8165
8165
  break;
8166
8166
  case O:
8167
- h + y > 1 ? (h !== 0 && y !== 0 && (o = this.diff_commonPrefix(A, C), o !== 0 && (c - h - y > 0 && d[c - h - y - 1][0] == O ? d[c - h - y - 1][1] += A.substring(0, o) : (d.splice(0, 0, new M.Diff(
8167
+ p + y > 1 ? (p !== 0 && y !== 0 && (o = this.diff_commonPrefix(A, C), o !== 0 && (c - p - y > 0 && d[c - p - y - 1][0] == O ? d[c - p - y - 1][1] += A.substring(0, o) : (d.splice(0, 0, new M.Diff(
8168
8168
  O,
8169
8169
  A.substring(0, o)
8170
- )), c++), A = A.substring(o), C = C.substring(o)), o = this.diff_commonSuffix(A, C), o !== 0 && (d[c][1] = A.substring(A.length - o) + d[c][1], A = A.substring(0, A.length - o), C = C.substring(0, C.length - o))), c -= h + y, d.splice(c, h + y), C.length && (d.splice(
8170
+ )), c++), A = A.substring(o), C = C.substring(o)), o = this.diff_commonSuffix(A, C), o !== 0 && (d[c][1] = A.substring(A.length - o) + d[c][1], A = A.substring(0, A.length - o), C = C.substring(0, C.length - o))), c -= p + y, d.splice(c, p + y), C.length && (d.splice(
8171
8171
  c,
8172
8172
  0,
8173
8173
  new M.Diff(v, C)
@@ -8175,7 +8175,7 @@ function pg() {
8175
8175
  c,
8176
8176
  0,
8177
8177
  new M.Diff(I, A)
8178
- ), c++), c++) : c !== 0 && d[c - 1][0] == O ? (d[c - 1][1] += d[c][1], d.splice(c, 1)) : c++, y = 0, h = 0, C = "", A = "";
8178
+ ), c++), c++) : c !== 0 && d[c - 1][0] == O ? (d[c - 1][1] += d[c][1], d.splice(c, 1)) : c++, y = 0, p = 0, C = "", A = "";
8179
8179
  break;
8180
8180
  }
8181
8181
  d[d.length - 1][1] === "" && d.pop();
@@ -8184,13 +8184,13 @@ function pg() {
8184
8184
  d[c - 1][0] == O && d[c + 1][0] == O && (d[c][1].substring(d[c][1].length - d[c - 1][1].length) == d[c - 1][1] ? (d[c][1] = d[c - 1][1] + d[c][1].substring(0, d[c][1].length - d[c - 1][1].length), d[c + 1][1] = d[c - 1][1] + d[c + 1][1], d.splice(c - 1, 1), w = !0) : d[c][1].substring(0, d[c + 1][1].length) == d[c + 1][1] && (d[c - 1][1] += d[c + 1][1], d[c][1] = d[c][1].substring(d[c + 1][1].length) + d[c + 1][1], d.splice(c + 1, 1), w = !0)), c++;
8185
8185
  w && this.diff_cleanupMerge(d);
8186
8186
  }, M.prototype.diff_xIndex = function(d, c) {
8187
- var h = 0, y = 0, C = 0, A = 0, o;
8188
- for (o = 0; o < d.length && (d[o][0] !== I && (h += d[o][1].length), d[o][0] !== v && (y += d[o][1].length), !(h > c)); o++)
8189
- C = h, A = y;
8187
+ var p = 0, y = 0, C = 0, A = 0, o;
8188
+ for (o = 0; o < d.length && (d[o][0] !== I && (p += d[o][1].length), d[o][0] !== v && (y += d[o][1].length), !(p > c)); o++)
8189
+ C = p, A = y;
8190
8190
  return d.length != o && d[o][0] === v ? A : A + (c - C);
8191
8191
  }, M.prototype.diff_prettyHtml = function(d) {
8192
- for (var c = [], h = /&/g, y = /</g, C = />/g, A = /\n/g, o = 0; o < d.length; o++) {
8193
- var w = d[o][0], T = d[o][1], D = T.replace(h, "&amp;").replace(y, "&lt;").replace(C, "&gt;").replace(A, "&para;<br>");
8192
+ for (var c = [], p = /&/g, y = /</g, C = />/g, A = /\n/g, o = 0; o < d.length; o++) {
8193
+ var w = d[o][0], T = d[o][1], D = T.replace(p, "&amp;").replace(y, "&lt;").replace(C, "&gt;").replace(A, "&para;<br>");
8194
8194
  switch (w) {
8195
8195
  case I:
8196
8196
  c[o] = '<ins style="background:#e6ffe6;">' + D + "</ins>";
@@ -8205,50 +8205,50 @@ function pg() {
8205
8205
  }
8206
8206
  return c.join("");
8207
8207
  }, M.prototype.diff_text1 = function(d) {
8208
- for (var c = [], h = 0; h < d.length; h++)
8209
- d[h][0] !== I && (c[h] = d[h][1]);
8208
+ for (var c = [], p = 0; p < d.length; p++)
8209
+ d[p][0] !== I && (c[p] = d[p][1]);
8210
8210
  return c.join("");
8211
8211
  }, M.prototype.diff_text2 = function(d) {
8212
- for (var c = [], h = 0; h < d.length; h++)
8213
- d[h][0] !== v && (c[h] = d[h][1]);
8212
+ for (var c = [], p = 0; p < d.length; p++)
8213
+ d[p][0] !== v && (c[p] = d[p][1]);
8214
8214
  return c.join("");
8215
8215
  }, M.prototype.diff_levenshtein = function(d) {
8216
- for (var c = 0, h = 0, y = 0, C = 0; C < d.length; C++) {
8216
+ for (var c = 0, p = 0, y = 0, C = 0; C < d.length; C++) {
8217
8217
  var A = d[C][0], o = d[C][1];
8218
8218
  switch (A) {
8219
8219
  case I:
8220
- h += o.length;
8220
+ p += o.length;
8221
8221
  break;
8222
8222
  case v:
8223
8223
  y += o.length;
8224
8224
  break;
8225
8225
  case O:
8226
- c += Math.max(h, y), h = 0, y = 0;
8226
+ c += Math.max(p, y), p = 0, y = 0;
8227
8227
  break;
8228
8228
  }
8229
8229
  }
8230
- return c += Math.max(h, y), c;
8230
+ return c += Math.max(p, y), c;
8231
8231
  }, M.prototype.diff_toDelta = function(d) {
8232
- for (var c = [], h = 0; h < d.length; h++)
8233
- switch (d[h][0]) {
8232
+ for (var c = [], p = 0; p < d.length; p++)
8233
+ switch (d[p][0]) {
8234
8234
  case I:
8235
- c[h] = "+" + encodeURI(d[h][1]);
8235
+ c[p] = "+" + encodeURI(d[p][1]);
8236
8236
  break;
8237
8237
  case v:
8238
- c[h] = "-" + d[h][1].length;
8238
+ c[p] = "-" + d[p][1].length;
8239
8239
  break;
8240
8240
  case O:
8241
- c[h] = "=" + d[h][1].length;
8241
+ c[p] = "=" + d[p][1].length;
8242
8242
  break;
8243
8243
  }
8244
8244
  return c.join(" ").replace(/%20/g, " ");
8245
8245
  }, M.prototype.diff_fromDelta = function(d, c) {
8246
- for (var h = [], y = 0, C = 0, A = c.split(/\t/g), o = 0; o < A.length; o++) {
8246
+ for (var p = [], y = 0, C = 0, A = c.split(/\t/g), o = 0; o < A.length; o++) {
8247
8247
  var w = A[o].substring(1);
8248
8248
  switch (A[o].charAt(0)) {
8249
8249
  case "+":
8250
8250
  try {
8251
- h[y++] = new M.Diff(I, decodeURI(w));
8251
+ p[y++] = new M.Diff(I, decodeURI(w));
8252
8252
  } catch {
8253
8253
  throw new Error("Illegal escape in diff_fromDelta: " + w);
8254
8254
  }
@@ -8260,7 +8260,7 @@ function pg() {
8260
8260
  if (isNaN(T) || T < 0)
8261
8261
  throw new Error("Invalid number in diff_fromDelta: " + w);
8262
8262
  var D = d.substring(C, C += T);
8263
- A[o].charAt(0) == "=" ? h[y++] = new M.Diff(O, D) : h[y++] = new M.Diff(v, D);
8263
+ A[o].charAt(0) == "=" ? p[y++] = new M.Diff(O, D) : p[y++] = new M.Diff(v, D);
8264
8264
  break;
8265
8265
  default:
8266
8266
  if (A[o])
@@ -8269,57 +8269,57 @@ function pg() {
8269
8269
  }
8270
8270
  if (C != d.length)
8271
8271
  throw new Error("Delta length (" + C + ") does not equal source text length (" + d.length + ").");
8272
- return h;
8273
- }, M.prototype.match_main = function(d, c, h) {
8274
- if (d == null || c == null || h == null)
8272
+ return p;
8273
+ }, M.prototype.match_main = function(d, c, p) {
8274
+ if (d == null || c == null || p == null)
8275
8275
  throw new Error("Null input. (match_main)");
8276
- return h = Math.max(0, Math.min(h, d.length)), d == c ? 0 : d.length ? d.substring(h, h + c.length) == c ? h : this.match_bitap_(d, c, h) : -1;
8277
- }, M.prototype.match_bitap_ = function(d, c, h) {
8276
+ return p = Math.max(0, Math.min(p, d.length)), d == c ? 0 : d.length ? d.substring(p, p + c.length) == c ? p : this.match_bitap_(d, c, p) : -1;
8277
+ }, M.prototype.match_bitap_ = function(d, c, p) {
8278
8278
  if (c.length > this.Match_MaxBits)
8279
8279
  throw new Error("Pattern too long for this browser.");
8280
8280
  var y = this.match_alphabet_(c), C = this;
8281
8281
  function A(fe, se) {
8282
- var te = fe / c.length, he = Math.abs(h - se);
8282
+ var te = fe / c.length, he = Math.abs(p - se);
8283
8283
  return C.Match_Distance ? te + he / C.Match_Distance : he ? 1 : te;
8284
8284
  }
8285
- var o = this.Match_Threshold, w = d.indexOf(c, h);
8286
- w != -1 && (o = Math.min(A(0, w), o), w = d.lastIndexOf(c, h + c.length), w != -1 && (o = Math.min(A(0, w), o)));
8285
+ var o = this.Match_Threshold, w = d.indexOf(c, p);
8286
+ w != -1 && (o = Math.min(A(0, w), o), w = d.lastIndexOf(c, p + c.length), w != -1 && (o = Math.min(A(0, w), o)));
8287
8287
  var T = 1 << c.length - 1;
8288
8288
  w = -1;
8289
8289
  for (var D, m, W = c.length + d.length, F, V = 0; V < c.length; V++) {
8290
8290
  for (D = 0, m = W; D < m; )
8291
- A(V, h + m) <= o ? D = m : W = m, m = Math.floor((W - D) / 2 + D);
8291
+ A(V, p + m) <= o ? D = m : W = m, m = Math.floor((W - D) / 2 + D);
8292
8292
  W = m;
8293
- var L = Math.max(1, h - m + 1), R = Math.min(h + m, d.length) + c.length, k = Array(R + 2);
8293
+ var L = Math.max(1, p - m + 1), R = Math.min(p + m, d.length) + c.length, k = Array(R + 2);
8294
8294
  k[R + 1] = (1 << V) - 1;
8295
8295
  for (var q = R; q >= L; q--) {
8296
8296
  var Q = y[d.charAt(q - 1)];
8297
8297
  if (V === 0 ? k[q] = (k[q + 1] << 1 | 1) & Q : k[q] = (k[q + 1] << 1 | 1) & Q | ((F[q + 1] | F[q]) << 1 | 1) | F[q + 1], k[q] & T) {
8298
8298
  var z = A(V, q - 1);
8299
8299
  if (z <= o)
8300
- if (o = z, w = q - 1, w > h)
8301
- L = Math.max(1, 2 * h - w);
8300
+ if (o = z, w = q - 1, w > p)
8301
+ L = Math.max(1, 2 * p - w);
8302
8302
  else
8303
8303
  break;
8304
8304
  }
8305
8305
  }
8306
- if (A(V + 1, h) > o)
8306
+ if (A(V + 1, p) > o)
8307
8307
  break;
8308
8308
  F = k;
8309
8309
  }
8310
8310
  return w;
8311
8311
  }, M.prototype.match_alphabet_ = function(d) {
8312
- for (var c = {}, h = 0; h < d.length; h++)
8313
- c[d.charAt(h)] = 0;
8314
- for (var h = 0; h < d.length; h++)
8315
- c[d.charAt(h)] |= 1 << d.length - h - 1;
8312
+ for (var c = {}, p = 0; p < d.length; p++)
8313
+ c[d.charAt(p)] = 0;
8314
+ for (var p = 0; p < d.length; p++)
8315
+ c[d.charAt(p)] |= 1 << d.length - p - 1;
8316
8316
  return c;
8317
8317
  }, M.prototype.patch_addContext_ = function(d, c) {
8318
8318
  if (c.length != 0) {
8319
8319
  if (d.start2 === null)
8320
8320
  throw Error("patch not initialized");
8321
- for (var h = c.substring(d.start2, d.start2 + d.length1), y = 0; c.indexOf(h) != c.lastIndexOf(h) && h.length < this.Match_MaxBits - this.Patch_Margin - this.Patch_Margin; )
8322
- y += this.Patch_Margin, h = c.substring(
8321
+ for (var p = c.substring(d.start2, d.start2 + d.length1), y = 0; c.indexOf(p) != c.lastIndexOf(p) && p.length < this.Match_MaxBits - this.Patch_Margin - this.Patch_Margin; )
8322
+ y += this.Patch_Margin, p = c.substring(
8323
8323
  d.start2 - y,
8324
8324
  d.start2 + d.length1 + y
8325
8325
  );
@@ -8332,9 +8332,9 @@ function pg() {
8332
8332
  );
8333
8333
  A && d.diffs.push(new M.Diff(O, A)), d.start1 -= C.length, d.start2 -= C.length, d.length1 += C.length + A.length, d.length2 += C.length + A.length;
8334
8334
  }
8335
- }, M.prototype.patch_make = function(d, c, h) {
8335
+ }, M.prototype.patch_make = function(d, c, p) {
8336
8336
  var y, C;
8337
- if (typeof d == "string" && typeof c == "string" && typeof h > "u")
8337
+ if (typeof d == "string" && typeof c == "string" && typeof p > "u")
8338
8338
  y = /** @type {string} */
8339
8339
  d, C = this.diff_main(
8340
8340
  y,
@@ -8342,17 +8342,17 @@ function pg() {
8342
8342
  c,
8343
8343
  !0
8344
8344
  ), C.length > 2 && (this.diff_cleanupSemantic(C), this.diff_cleanupEfficiency(C));
8345
- else if (d && typeof d == "object" && typeof c > "u" && typeof h > "u")
8345
+ else if (d && typeof d == "object" && typeof c > "u" && typeof p > "u")
8346
8346
  C = /** @type {!Array.<!diff_match_patch.Diff>} */
8347
8347
  d, y = this.diff_text1(C);
8348
- else if (typeof d == "string" && c && typeof c == "object" && typeof h > "u")
8348
+ else if (typeof d == "string" && c && typeof c == "object" && typeof p > "u")
8349
8349
  y = /** @type {string} */
8350
8350
  d, C = /** @type {!Array.<!diff_match_patch.Diff>} */
8351
8351
  c;
8352
- else if (typeof d == "string" && typeof c == "string" && h && typeof h == "object")
8352
+ else if (typeof d == "string" && typeof c == "string" && p && typeof p == "object")
8353
8353
  y = /** @type {string} */
8354
8354
  d, C = /** @type {!Array.<!diff_match_patch.Diff>} */
8355
- h;
8355
+ p;
8356
8356
  else
8357
8357
  throw new Error("Unknown call format to patch_make.");
8358
8358
  if (C.length === 0)
@@ -8374,20 +8374,20 @@ function pg() {
8374
8374
  }
8375
8375
  return w && (this.patch_addContext_(o, m), A.push(o)), A;
8376
8376
  }, M.prototype.patch_deepCopy = function(d) {
8377
- for (var c = [], h = 0; h < d.length; h++) {
8378
- var y = d[h], C = new M.patch_obj();
8377
+ for (var c = [], p = 0; p < d.length; p++) {
8378
+ var y = d[p], C = new M.patch_obj();
8379
8379
  C.diffs = [];
8380
8380
  for (var A = 0; A < y.diffs.length; A++)
8381
8381
  C.diffs[A] = new M.Diff(y.diffs[A][0], y.diffs[A][1]);
8382
- C.start1 = y.start1, C.start2 = y.start2, C.length1 = y.length1, C.length2 = y.length2, c[h] = C;
8382
+ C.start1 = y.start1, C.start2 = y.start2, C.length1 = y.length1, C.length2 = y.length2, c[p] = C;
8383
8383
  }
8384
8384
  return c;
8385
8385
  }, M.prototype.patch_apply = function(d, c) {
8386
8386
  if (d.length == 0)
8387
8387
  return [c, []];
8388
8388
  d = this.patch_deepCopy(d);
8389
- var h = this.patch_addPadding(d);
8390
- c = h + c + h, this.patch_splitMax(d);
8389
+ var p = this.patch_addPadding(d);
8390
+ c = p + c + p, this.patch_splitMax(d);
8391
8391
  for (var y = 0, C = [], A = 0; A < d.length; A++) {
8392
8392
  var o = d[A].start2 + y, w = this.diff_text1(d[A].diffs), T, D = -1;
8393
8393
  if (w.length > this.Match_MaxBits ? (T = this.match_main(
@@ -8422,31 +8422,31 @@ function pg() {
8422
8422
  }
8423
8423
  }
8424
8424
  }
8425
- return c = c.substring(h.length, c.length - h.length), [c, C];
8425
+ return c = c.substring(p.length, c.length - p.length), [c, C];
8426
8426
  }, M.prototype.patch_addPadding = function(d) {
8427
- for (var c = this.Patch_Margin, h = "", y = 1; y <= c; y++)
8428
- h += String.fromCharCode(y);
8427
+ for (var c = this.Patch_Margin, p = "", y = 1; y <= c; y++)
8428
+ p += String.fromCharCode(y);
8429
8429
  for (var y = 0; y < d.length; y++)
8430
8430
  d[y].start1 += c, d[y].start2 += c;
8431
8431
  var C = d[0], A = C.diffs;
8432
8432
  if (A.length == 0 || A[0][0] != O)
8433
- A.unshift(new M.Diff(O, h)), C.start1 -= c, C.start2 -= c, C.length1 += c, C.length2 += c;
8433
+ A.unshift(new M.Diff(O, p)), C.start1 -= c, C.start2 -= c, C.length1 += c, C.length2 += c;
8434
8434
  else if (c > A[0][1].length) {
8435
8435
  var o = c - A[0][1].length;
8436
- A[0][1] = h.substring(A[0][1].length) + A[0][1], C.start1 -= o, C.start2 -= o, C.length1 += o, C.length2 += o;
8436
+ A[0][1] = p.substring(A[0][1].length) + A[0][1], C.start1 -= o, C.start2 -= o, C.length1 += o, C.length2 += o;
8437
8437
  }
8438
8438
  if (C = d[d.length - 1], A = C.diffs, A.length == 0 || A[A.length - 1][0] != O)
8439
- A.push(new M.Diff(O, h)), C.length1 += c, C.length2 += c;
8439
+ A.push(new M.Diff(O, p)), C.length1 += c, C.length2 += c;
8440
8440
  else if (c > A[A.length - 1][1].length) {
8441
8441
  var o = c - A[A.length - 1][1].length;
8442
- A[A.length - 1][1] += h.substring(0, o), C.length1 += o, C.length2 += o;
8442
+ A[A.length - 1][1] += p.substring(0, o), C.length1 += o, C.length2 += o;
8443
8443
  }
8444
- return h;
8444
+ return p;
8445
8445
  }, M.prototype.patch_splitMax = function(d) {
8446
- for (var c = this.Match_MaxBits, h = 0; h < d.length; h++)
8447
- if (!(d[h].length1 <= c)) {
8448
- var y = d[h];
8449
- d.splice(h--, 1);
8446
+ for (var c = this.Match_MaxBits, p = 0; p < d.length; p++)
8447
+ if (!(d[p].length1 <= c)) {
8448
+ var y = d[p];
8449
+ d.splice(p--, 1);
8450
8450
  for (var C = y.start1, A = y.start2, o = ""; y.diffs.length !== 0; ) {
8451
8451
  var w = new M.patch_obj(), T = !0;
8452
8452
  for (w.start1 = C - o.length, w.start2 = A - o.length, o !== "" && (w.length1 = w.length2 = o.length, w.diffs.push(new M.Diff(O, o))); y.diffs.length !== 0 && w.length1 < c - this.Patch_Margin; ) {
@@ -8458,27 +8458,27 @@ function pg() {
8458
8458
  }
8459
8459
  o = this.diff_text2(w.diffs), o = o.substring(o.length - this.Patch_Margin);
8460
8460
  var W = this.diff_text1(y.diffs).substring(0, this.Patch_Margin);
8461
- W !== "" && (w.length1 += W.length, w.length2 += W.length, w.diffs.length !== 0 && w.diffs[w.diffs.length - 1][0] === O ? w.diffs[w.diffs.length - 1][1] += W : w.diffs.push(new M.Diff(O, W))), T || d.splice(++h, 0, w);
8461
+ W !== "" && (w.length1 += W.length, w.length2 += W.length, w.diffs.length !== 0 && w.diffs[w.diffs.length - 1][0] === O ? w.diffs[w.diffs.length - 1][1] += W : w.diffs.push(new M.Diff(O, W))), T || d.splice(++p, 0, w);
8462
8462
  }
8463
8463
  }
8464
8464
  }, M.prototype.patch_toText = function(d) {
8465
- for (var c = [], h = 0; h < d.length; h++)
8466
- c[h] = d[h];
8465
+ for (var c = [], p = 0; p < d.length; p++)
8466
+ c[p] = d[p];
8467
8467
  return c.join("");
8468
8468
  }, M.prototype.patch_fromText = function(d) {
8469
8469
  var c = [];
8470
8470
  if (!d)
8471
8471
  return c;
8472
- for (var h = d.split(`
8473
- `), y = 0, C = /^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/; y < h.length; ) {
8474
- var A = h[y].match(C);
8472
+ for (var p = d.split(`
8473
+ `), y = 0, C = /^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/; y < p.length; ) {
8474
+ var A = p[y].match(C);
8475
8475
  if (!A)
8476
- throw new Error("Invalid patch string: " + h[y]);
8476
+ throw new Error("Invalid patch string: " + p[y]);
8477
8477
  var o = new M.patch_obj();
8478
- for (c.push(o), o.start1 = parseInt(A[1], 10), A[2] === "" ? (o.start1--, o.length1 = 1) : A[2] == "0" ? o.length1 = 0 : (o.start1--, o.length1 = parseInt(A[2], 10)), o.start2 = parseInt(A[3], 10), A[4] === "" ? (o.start2--, o.length2 = 1) : A[4] == "0" ? o.length2 = 0 : (o.start2--, o.length2 = parseInt(A[4], 10)), y++; y < h.length; ) {
8479
- var w = h[y].charAt(0);
8478
+ for (c.push(o), o.start1 = parseInt(A[1], 10), A[2] === "" ? (o.start1--, o.length1 = 1) : A[2] == "0" ? o.length1 = 0 : (o.start1--, o.length1 = parseInt(A[2], 10)), o.start2 = parseInt(A[3], 10), A[4] === "" ? (o.start2--, o.length2 = 1) : A[4] == "0" ? o.length2 = 0 : (o.start2--, o.length2 = parseInt(A[4], 10)), y++; y < p.length; ) {
8479
+ var w = p[y].charAt(0);
8480
8480
  try {
8481
- var T = decodeURI(h[y].substring(1));
8481
+ var T = decodeURI(p[y].substring(1));
8482
8482
  } catch {
8483
8483
  throw new Error("Illegal escape in patch_fromText: " + T);
8484
8484
  }
@@ -8502,7 +8502,7 @@ function pg() {
8502
8502
  }, M.patch_obj.prototype.toString = function() {
8503
8503
  var d, c;
8504
8504
  this.length1 === 0 ? d = this.start1 + ",0" : this.length1 == 1 ? d = this.start1 + 1 : d = this.start1 + 1 + "," + this.length1, this.length2 === 0 ? c = this.start2 + ",0" : this.length2 == 1 ? c = this.start2 + 1 : c = this.start2 + 1 + "," + this.length2;
8505
- for (var h = ["@@ -" + d + " +" + c + ` @@
8505
+ for (var p = ["@@ -" + d + " +" + c + ` @@
8506
8506
  `], y, C = 0; C < this.diffs.length; C++) {
8507
8507
  switch (this.diffs[C][0]) {
8508
8508
  case I:
@@ -8515,10 +8515,10 @@ function pg() {
8515
8515
  y = " ";
8516
8516
  break;
8517
8517
  }
8518
- h[C + 1] = y + encodeURI(this.diffs[C][1]) + `
8518
+ p[C + 1] = y + encodeURI(this.diffs[C][1]) + `
8519
8519
  `;
8520
8520
  }
8521
- return h.join("").replace(/%20/g, " ");
8521
+ return p.join("").replace(/%20/g, " ");
8522
8522
  }, f.exports = M, f.exports.diff_match_patch = M, f.exports.DIFF_DELETE = v, f.exports.DIFF_INSERT = I, f.exports.DIFF_EQUAL = O;
8523
8523
  }(ji)), ji.exports;
8524
8524
  }
@@ -8570,7 +8570,7 @@ function yg() {
8570
8570
  };
8571
8571
  return fe;
8572
8572
  },
8573
- token: h(D, w),
8573
+ token: p(D, w),
8574
8574
  innerMode: function(z) {
8575
8575
  return z.local && { mode: z.local.mode, state: z.localState };
8576
8576
  },
@@ -8599,7 +8599,7 @@ function yg() {
8599
8599
  function c(w, T) {
8600
8600
  (w.next || w.push) && I(T, w.next || w.push), this.regex = O(w.regex), this.token = d(w.token), this.data = w;
8601
8601
  }
8602
- function h(w, T) {
8602
+ function p(w, T) {
8603
8603
  return function(D, m) {
8604
8604
  if (m.pending) {
8605
8605
  var W = m.pending.shift();
@@ -8720,8 +8720,8 @@ const rs = window.CodeMirror || zf, bg = Cn({
8720
8720
  const d = Jt(
8721
8721
  () => f.cminstance,
8722
8722
  (c) => {
8723
- var h;
8724
- c && ((h = f.cminstance) == null || h.setValue(f.value || f.content)), M("ready", P(I)), d == null || d();
8723
+ var p;
8724
+ c && ((p = f.cminstance) == null || p.setValue(f.value || f.content)), M("ready", P(I)), d == null || d();
8725
8725
  },
8726
8726
  { deep: !0 }
8727
8727
  );
@@ -8785,8 +8785,8 @@ function Mg(f) {
8785
8785
  let I;
8786
8786
  for (I = M.exec(f); I; ) {
8787
8787
  const O = document.createElement("a"), d = JSON.parse(I[1]), c = Object.entries(d);
8788
- for (const [h, y] of c)
8789
- O.setAttribute(h, y);
8788
+ for (const [p, y] of c)
8789
+ O.setAttribute(p, y);
8790
8790
  O.className = "editor_custom_link", O.innerHTML = "logDownload", v.push({
8791
8791
  start: I.index,
8792
8792
  end: I.index + I[0].length,
@@ -8805,11 +8805,11 @@ function Tg(f) {
8805
8805
  `).split(`
8806
8806
  `), c = O[2].replace(/\r\n/g, `
8807
8807
  `).split(`
8808
- `), h = document.createElement("span"), y = O[1];
8809
- h.className = `c-editor--log__${y}`;
8808
+ `), p = document.createElement("span"), y = O[1];
8809
+ p.className = `c-editor--log__${y}`;
8810
8810
  let C = 0;
8811
8811
  for (let A = 0; A < d.length; A++) {
8812
- const o = d[A], w = c[A], T = h.cloneNode(!1);
8812
+ const o = d[A], w = c[A], T = p.cloneNode(!1);
8813
8813
  T.innerText = w, M.push({
8814
8814
  start: O.index + C,
8815
8815
  end: O.index + C + o.length,
@@ -8923,7 +8923,7 @@ const _g = Cn({
8923
8923
  setup(f, { emit: M }) {
8924
8924
  const v = le(), I = le(null), O = (c = f.cminstance) => {
8925
8925
  c.getAllMarks().forEach((C) => C.clear());
8926
- const h = c.getValue(), y = [].concat(Mg(h)).concat(Tg(h));
8926
+ const p = c.getValue(), y = [].concat(Mg(p)).concat(Tg(p));
8927
8927
  for (let C = 0; C < y.length; C++) {
8928
8928
  const A = y[C];
8929
8929
  c.markText(c.posFromIndex(A.start), c.posFromIndex(A.end), {
@@ -8937,8 +8937,8 @@ const _g = Cn({
8937
8937
  return Jt(
8938
8938
  () => f.cminstance,
8939
8939
  (c) => {
8940
- var h;
8941
- c && (O(f.cminstance), (h = f.cminstance) == null || h.setValue(f.value), M("ready", I));
8940
+ var p;
8941
+ c && (O(f.cminstance), (p = f.cminstance) == null || p.setValue(f.value), M("ready", I));
8942
8942
  },
8943
8943
  { deep: !0, immediate: !0 }
8944
8944
  ), ll(() => {
@@ -9014,17 +9014,17 @@ const Rg = ({
9014
9014
  }) => {
9015
9015
  const d = Yt(
9016
9016
  () => {
9017
- var h;
9018
- return f.merge ? (h = P(M)) == null ? void 0 : h.editor() : P(M);
9017
+ var p;
9018
+ return f.merge ? (p = P(M)) == null ? void 0 : p.editor() : P(M);
9019
9019
  }
9020
9020
  ), c = () => {
9021
- const h = [];
9021
+ const p = [];
9022
9022
  return Object.keys(I == null ? void 0 : I.vnode.props).forEach((y) => {
9023
9023
  if (y.startsWith("on")) {
9024
9024
  const C = y.replace(y[2], y[2].toLowerCase()).slice(2);
9025
- !jf[C] && h.push(C);
9025
+ !jf[C] && p.push(C);
9026
9026
  }
9027
- }), h;
9027
+ }), p;
9028
9028
  };
9029
9029
  return {
9030
9030
  listenerEvents: () => {
@@ -9034,8 +9034,8 @@ const Rg = ({
9034
9034
  v("change", O.value, y);
9035
9035
  }), f.keepCursorInEnd && Bg(y));
9036
9036
  });
9037
- const h = {};
9038
- c().filter((y) => !h[y] && (h[y] = !0)).forEach((y) => {
9037
+ const p = {};
9038
+ c().filter((y) => !p[y] && (p[y] = !0)).forEach((y) => {
9039
9039
  d.value.on(y, (...C) => {
9040
9040
  v(y, ...C);
9041
9041
  });
@@ -9054,10 +9054,10 @@ function Og({ props: f, cminstance: M, presetRef: v }) {
9054
9054
  var w;
9055
9055
  (w = d.value) == null || w.refresh();
9056
9056
  });
9057
- }, h = (w) => w ? !(w && isNaN(+w)) : !1, y = (w = f.width, T = f.height) => {
9057
+ }, p = (w) => w ? !(w && isNaN(+w)) : !1, y = (w = f.width, T = f.height) => {
9058
9058
  var D;
9059
9059
  let m = "100%", W = "100%";
9060
- h(w) ? m = `${String(w)}px` : w && (m = w), h(T) ? W = `${String(T)}px` : T && (W = T), I.value = m, O.value = W, console.log("resize", m, W), (D = d.value) == null || D.setSize("100%", "100%");
9060
+ p(w) ? m = `${String(w)}px` : w && (m = w), p(T) ? W = `${String(T)}px` : T && (W = T), I.value = m, O.value = W, console.log("resize", m, W), (D = d.value) == null || D.setSize("100%", "100%");
9061
9061
  }, C = () => {
9062
9062
  var w;
9063
9063
  const T = (w = d.value) == null ? void 0 : w.getWrapperElement();
@@ -9162,7 +9162,7 @@ const Ng = /* @__PURE__ */ Cn({
9162
9162
  writable: !0,
9163
9163
  configurable: !0
9164
9164
  });
9165
- const c = f, h = v, y = le(null), C = le(""), A = gf(rf), o = le({
9165
+ const c = f, p = v, y = le(null), C = le(""), A = gf(rf), o = le({
9166
9166
  foldGutter: !0,
9167
9167
  ...Qi,
9168
9168
  ...c.globalOptions,
@@ -9178,7 +9178,7 @@ const Ng = /* @__PURE__ */ Cn({
9178
9178
  }), { listenerEvents: q } = Rg({
9179
9179
  props: c,
9180
9180
  cminstance: y,
9181
- emit: h,
9181
+ emit: p,
9182
9182
  internalInstance: w,
9183
9183
  content: C
9184
9184
  }), Q = () => {
@@ -9192,7 +9192,7 @@ const Ng = /* @__PURE__ */ Cn({
9192
9192
  const Be = (he = y.value) == null ? void 0 : he.getValue();
9193
9193
  te !== Be && ((ke = y.value) == null || ke.setValue(te), C.value = te, k()), Q();
9194
9194
  }, fe = () => {
9195
- q(), Q(), F(c.width, c.height), h("ready", y.value), Jt(
9195
+ q(), Q(), F(c.width, c.height), p("ready", y.value), Jt(
9196
9196
  [() => c.width, () => c.height],
9197
9197
  ([te, he]) => {
9198
9198
  F(te, he);
@@ -9322,7 +9322,7 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
9322
9322
  setup(f) {
9323
9323
  const M = le(), v = {
9324
9324
  mode: "text/javascript"
9325
- }, I = le(!1), O = le(""), d = le({}), c = le(!1), h = async (V) => {
9325
+ }, I = le(!1), O = le(""), d = le({}), c = le(!1), p = async (V) => {
9326
9326
  var Q, z, fe;
9327
9327
  let L = V == null ? void 0 : V.split(`
9328
9328
  `), R = {}, k = "";
@@ -9417,7 +9417,7 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
9417
9417
  options: v,
9418
9418
  border: !0,
9419
9419
  ref: "cmRef",
9420
- onChange: h,
9420
+ onChange: p,
9421
9421
  onFocus: o,
9422
9422
  onBlur: w
9423
9423
  }, null, 8, ["value"]),
@@ -9477,10 +9477,10 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
9477
9477
  emits: ["onExtendTaskEnd"],
9478
9478
  setup(f, { emit: M }) {
9479
9479
  var m;
9480
- const v = Gl(un), { pageMapState: I } = an(v), O = Jn(un), { activeMenuPath: d } = an(O), c = gu(un), { originalPath: h } = an(c), y = f, C = M, A = le(""), o = () => {
9480
+ const v = Gl(un), { pageMapState: I } = an(v), O = Jn(un), { activeMenuPath: d } = an(O), c = gu(un), { originalPath: p } = an(c), y = f, C = M, A = le(""), o = () => {
9481
9481
  var V, L, R, k, q, Q, z, fe, se, te, he;
9482
9482
  if (!d.value) return;
9483
- const W = ((L = (V = d.value) == null ? void 0 : V.split(h.value)) == null ? void 0 : L[0]) + h.value + ((R = y == null ? void 0 : y.toolBar) == null ? void 0 : R.mainKeyPropValue), F = (z = (Q = (q = (k = I.value) == null ? void 0 : k[W]) == null ? void 0 : q.find((ke) => {
9483
+ const W = ((L = (V = d.value) == null ? void 0 : V.split(p.value)) == null ? void 0 : L[0]) + p.value + ((R = y == null ? void 0 : y.toolBar) == null ? void 0 : R.mainKeyPropValue), F = (z = (Q = (q = (k = I.value) == null ? void 0 : k[W]) == null ? void 0 : q.find((ke) => {
9484
9484
  var Be, je, Ot;
9485
9485
  return ((Ot = (je = (Be = ke == null ? void 0 : ke.value) == null ? void 0 : Be.pageData) == null ? void 0 : je.comp) == null ? void 0 : Ot.toUpperCase()) === "FORM";
9486
9486
  })) == null ? void 0 : Q.value) == null ? void 0 : z.pageData;
@@ -9525,21 +9525,21 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
9525
9525
  },
9526
9526
  emits: ["select"],
9527
9527
  setup(f, { emit: M }) {
9528
- const v = f, I = M, O = le(""), d = le(""), c = (q) => Array.isArray(q) ? q.flatMap((Q) => Array.isArray(Q) ? c(Q) : Array.isArray(Q == null ? void 0 : Q.children) ? c(Q.children) : Q ? [Q] : []) : [], h = Yt(() => {
9528
+ const v = f, I = M, O = le(""), d = le(""), c = (q) => Array.isArray(q) ? q.flatMap((Q) => Array.isArray(Q) ? c(Q) : Array.isArray(Q == null ? void 0 : Q.children) ? c(Q.children) : Q ? [Q] : []) : [], p = Yt(() => {
9529
9529
  const q = Array.isArray(v.items) ? v.items : [];
9530
9530
  return q.find((Q) => (Q == null ? void 0 : Q.comp) === "Table" && (Q == null ? void 0 : Q.name) === "任务列表") ?? q.find((Q) => (Q == null ? void 0 : Q.comp) === "Table");
9531
9531
  }), y = Yt(() => {
9532
9532
  var Q, z, fe, se;
9533
9533
  v.refreshVersion;
9534
- const q = (fe = (z = (Q = h.value) == null ? void 0 : Q.compData) == null ? void 0 : z.find((te) => (te == null ? void 0 : te.key) === "tableContents")) == null ? void 0 : fe.contents;
9534
+ const q = (fe = (z = (Q = p.value) == null ? void 0 : Q.compData) == null ? void 0 : z.find((te) => (te == null ? void 0 : te.key) === "tableContents")) == null ? void 0 : fe.contents;
9535
9535
  return gp(
9536
9536
  q,
9537
9537
  [],
9538
- vp((se = h.value) == null ? void 0 : se.compData)
9538
+ vp((se = p.value) == null ? void 0 : se.compData)
9539
9539
  );
9540
9540
  }), C = Yt(() => {
9541
9541
  var se, te, he, ke;
9542
- const q = (he = (te = (se = h.value) == null ? void 0 : se.compData) == null ? void 0 : te.find((Be) => (Be == null ? void 0 : Be.key) === "header")) == null ? void 0 : he.contents, Q = c(q), z = Q.find((Be) => (Be == null ? void 0 : Be.mainParam) || (Be == null ? void 0 : Be.isMainKey) || (Be == null ? void 0 : Be.mainKey)), fe = Q.find((Be) => ["试验代号(名称)", "试验代号", "任务名称"].includes(Be == null ? void 0 : Be.prop));
9542
+ const q = (he = (te = (se = p.value) == null ? void 0 : se.compData) == null ? void 0 : te.find((Be) => (Be == null ? void 0 : Be.key) === "header")) == null ? void 0 : he.contents, Q = c(q), z = Q.find((Be) => (Be == null ? void 0 : Be.mainParam) || (Be == null ? void 0 : Be.isMainKey) || (Be == null ? void 0 : Be.mainKey)), fe = Q.find((Be) => ["试验代号(名称)", "试验代号", "任务名称"].includes(Be == null ? void 0 : Be.prop));
9543
9543
  return (z == null ? void 0 : z.prop) ?? (fe == null ? void 0 : fe.prop) ?? ((ke = Q[0]) == null ? void 0 : ke.prop) ?? "试验代号(名称)";
9544
9544
  }), A = (q) => {
9545
9545
  const Q = q.trim(), z = Q.match(/^([A-Za-z0-9-]+_[A-Za-z0-9]+)\s*(.*)$/);
@@ -9852,7 +9852,7 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
9852
9852
  setup(f, { emit: M }) {
9853
9853
  const v = (_, Y) => {
9854
9854
  console.log(_, Y);
9855
- }, I = le(), O = le(0), d = le(null), c = le(""), h = Jn(un), { asideMenuLoading: y, importLoading: C, activeAsideMenu: A, contentLoading: o, activeMenuPath: w, asideMenus: T, dataFiles: D } = an(h), m = le(!1), W = le([]), F = le([]), V = le([]), L = le(!0), R = le(!1), k = le(!1);
9855
+ }, I = le(), O = le(0), d = le(null), c = le(""), p = Jn(un), { asideMenuLoading: y, importLoading: C, activeAsideMenu: A, contentLoading: o, activeMenuPath: w, asideMenus: T, dataFiles: D } = an(p), m = le(!1), W = le([]), F = le([]), V = le([]), L = le(!0), R = le(!1), k = le(!1);
9856
9856
  Jt(
9857
9857
  () => T.value,
9858
9858
  () => {
@@ -9921,19 +9921,19 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
9921
9921
  console.warn("该消息没有主键", ae);
9922
9922
  return;
9923
9923
  }
9924
- h.setAsideMenus(Pe), (ve == null ? void 0 : ve.value) === "未读" && (ve.value = "已读", h.setActiveMenuPath(qi));
9924
+ p.setAsideMenus(Pe), (ve == null ? void 0 : ve.value) === "未读" && (ve.value = "已读", p.setActiveMenuPath(qi));
9925
9925
  const lt = w.value + se + nt.value, Pt = w.value;
9926
9926
  await op(
9927
9927
  lt,
9928
9928
  lt + se + `updateLoading${((Oe = he.value) == null ? void 0 : Oe.account) || ((Ie = he.value) == null ? void 0 : Ie.账号)}`
9929
- ), E.setRouteToChildPath(Pt), h.setActiveMenuPath(
9929
+ ), E.setRouteToChildPath(Pt), p.setActiveMenuPath(
9930
9930
  lt + se + `updateLoading${((ge = he.value) == null ? void 0 : ge.account) || ((Te = he.value) == null ? void 0 : Te.账号)}`
9931
- ), h.setActiveTopMenuPath("消息中心");
9931
+ ), p.setActiveTopMenuPath("消息中心");
9932
9932
  } catch (ve) {
9933
9933
  console.error("加载菜单或页面时出错:", ve);
9934
9934
  }
9935
9935
  })(_);
9936
- }, Xt = Ga(un), { selectTitle: ze } = an(Xt), ee = le(!1), kt = le(), Qe = le(null), et = le(), Rt = le(!1), wt = Bf(un), { blobUrls: St } = an(wt), Ct = le(), x = le(!1), G = le(!1), $ = le(!1), ie = le(!1), Se = le(null), Ke = le(null), be = le([]), H = le(!1), oe = le(!1), _e = le(), p = le(Zs.value), i = le(0);
9936
+ }, Xt = Ga(un), { selectTitle: ze } = an(Xt), ee = le(!1), kt = le(), Qe = le(null), et = le(), Rt = le(!1), wt = Bf(un), { blobUrls: St } = an(wt), Ct = le(), x = le(!1), G = le(!1), $ = le(!1), ie = le(!1), Se = le(null), Ke = le(null), be = le([]), H = le(!1), oe = le(!1), _e = le(), h = le(Zs.value), i = le(0);
9937
9937
  let b = null;
9938
9938
  Qo("contentRef", Se);
9939
9939
  const E = Gl(un), { isEdit: U, routeToChildPath: J, refreshCurrentPageInform: pe } = an(E), De = M, { logoUrl: ce, platNameEn: we, getPreviousModel: X, rememberPreviousModelByPlatId: Fe } = ii(), { toPersonalCenter: Ge } = Np(), Ee = f, Le = gf(/* @__PURE__ */ new Map()), Me = Yt(() => A.value.isRouter), yt = (_) => String(_ ?? "").replace(/^\/+|\/+$/g, ""), at = Yt(() => yt(w.value) === af), ht = ({ task: _, destination: Y, options: ae }) => {
@@ -9946,7 +9946,7 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
9946
9946
  parentContent: af,
9947
9947
  isShow: !0
9948
9948
  }, Oe = ((Ie = ze.value) == null ? void 0 : Ie.filter((ge) => (ge == null ? void 0 : ge.condition) !== "child")) ?? [];
9949
- Xt.setSelectTitle([...Oe, Pe]), Xt.setChooseTitle([Pe]), h.setActiveAsideMenu(Y.menu ?? {}), h.setActiveMenuPath(Y.path);
9949
+ Xt.setSelectTitle([...Oe, Pe]), Xt.setChooseTitle([Pe]), p.setActiveAsideMenu(Y.menu ?? {}), p.setActiveMenuPath(Y.path);
9950
9950
  }, $e = Yt(() => {
9951
9951
  var Pe;
9952
9952
  if (!yt(w.value).startsWith("试验任务/试验准备/")) return !1;
@@ -10452,7 +10452,7 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
10452
10452
  return ae == null ? void 0 : ae.map((ge) => (Ie = Ie + (ge == null ? void 0 : ge.arrowGap), (ge == null ? void 0 : ge.arrowGap) + Pe <= 100 && (ge.x = Pe), ge.y = Oe, (ge == null ? void 0 : ge.arrowGap) !== 0 && Ie < 100 ? Pe = Pe + (ge == null ? void 0 : ge.w) : Pe = 0, (Ie >= 100 || (ge == null ? void 0 : ge.arrowGap) === 0) && (Ie = 0, Oe = Oe + (ge == null ? void 0 : ge.h)), ge));
10453
10453
  }, fa = Yt(() => {
10454
10454
  var ae;
10455
- const _ = i.value || ((ae = Ke.value) == null ? void 0 : ae.clientWidth) || 0, Y = p.value || 0;
10455
+ const _ = i.value || ((ae = Ke.value) == null ? void 0 : ae.clientWidth) || 0, Y = h.value || 0;
10456
10456
  return _ <= 0 || Y <= 0 ? Yi : Number((Y * 100 / _).toFixed(4));
10457
10457
  }), Xl = (_, Y = 100) => {
10458
10458
  const ae = Math.round(Number(_));
@@ -10736,14 +10736,14 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
10736
10736
  }), gl = Yt(() => {
10737
10737
  var Y;
10738
10738
  return (Y = w == null ? void 0 : w.value) != null && Y.includes("首页") ? (bl.value ?? []).filter((ae) => (ae == null ? void 0 : ae.comp) !== "FormTop").some((ae) => Za(ae)) : !1;
10739
- }), Fl = Yt(() => gl.value ? p.value : Zs.value), ha = () => {
10739
+ }), Fl = Yt(() => gl.value ? h.value : Zs.value), ha = () => {
10740
10740
  var Y, ae;
10741
10741
  if (i.value = ((Y = Ke.value) == null ? void 0 : Y.clientWidth) ?? 0, !gl.value) {
10742
- p.value = Zs.value;
10742
+ h.value = Zs.value;
10743
10743
  return;
10744
10744
  }
10745
10745
  const _ = ((ae = Ke.value) == null ? void 0 : ae.clientHeight) ?? 0;
10746
- _ > 0 && (p.value = _ / 100);
10746
+ _ > 0 && (h.value = _ / 100);
10747
10747
  }, ps = () => {
10748
10748
  b && (b.disconnect(), b = null), !(!gl.value || !Ke.value || typeof ResizeObserver > "u") && (b = new ResizeObserver(() => {
10749
10749
  ha();
@@ -10784,16 +10784,16 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
10784
10784
  }), ae.set("platId", parseInt((Pe = he == null ? void 0 : he.value) == null ? void 0 : Pe.plat_id));
10785
10785
  try {
10786
10786
  const ve = await kh(ae), nt = ((Oe = ve == null ? void 0 : ve.data) == null ? void 0 : Oe.result) ?? [];
10787
- if ((nt == null ? void 0 : nt.length) > 0 && h.setDataFiles([...D.value ?? [], ...nt]), ((Ie = ve == null ? void 0 : ve.data) == null ? void 0 : Ie.code) === 200) {
10787
+ if ((nt == null ? void 0 : nt.length) > 0 && p.setDataFiles([...D.value ?? [], ...nt]), ((Ie = ve == null ? void 0 : ve.data) == null ? void 0 : Ie.code) === 200) {
10788
10788
  const lt = await Sh({ platId: parseInt((ge = he == null ? void 0 : he.value) == null ? void 0 : ge.plat_id) });
10789
- h.setDataFiles((Te = lt == null ? void 0 : lt.data) == null ? void 0 : Te.result);
10789
+ p.setDataFiles((Te = lt == null ? void 0 : lt.data) == null ? void 0 : Te.result);
10790
10790
  }
10791
10791
  } catch (ve) {
10792
10792
  console.error("上传失败:", ve);
10793
10793
  } finally {
10794
10794
  d.value = null, O.value++;
10795
10795
  }
10796
- }, { localFiles: to } = an(h), gs = (_, Y) => {
10796
+ }, { localFiles: to } = an(p), gs = (_, Y) => {
10797
10797
  var Oe, Ie, ge, Te, ve, nt;
10798
10798
  if (!(Y != null && Y.fileName)) return "";
10799
10799
  let ae = "";
@@ -11980,7 +11980,7 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
11980
11980
  v("closeMenu", c);
11981
11981
  };
11982
11982
  return ll(() => {
11983
- }), (c, h) => {
11983
+ }), (c, p) => {
11984
11984
  const y = Ne("MenuItem", !0), C = Ne("el-sub-menu"), A = Ne("el-menu-item");
11985
11985
  return K(!0), Ae(Ft, null, qt(f.menuList, (o) => (K(), Ae(Ft, null, [
11986
11986
  o.show && o.children && o.children.length > 0 ? (K(), Ue(C, {
@@ -12042,7 +12042,7 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
12042
12042
  },
12043
12043
  emits: ["clickMenu", "openMenu", "closeMenu", "selectMenu"],
12044
12044
  setup(f, { expose: M, emit: v }) {
12045
- const I = Jn(un), { activeAsideEditMenuPath: O, activeEditMenuOpenPaths: d, activeMainEditMenuPath: c } = an(I), h = Gl(un), { routeToChildPath: y } = an(h), C = f, A = v, o = (R) => {
12045
+ const I = Jn(un), { activeAsideEditMenuPath: O, activeEditMenuOpenPaths: d, activeMainEditMenuPath: c } = an(I), p = Gl(un), { routeToChildPath: y } = an(p), C = f, A = v, o = (R) => {
12046
12046
  A("clickMenu", R);
12047
12047
  }, w = (R) => {
12048
12048
  A("openMenu", R);
@@ -12172,7 +12172,7 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
12172
12172
  },
12173
12173
  emits: ["update:modelValue", "get", "clear"],
12174
12174
  setup(f, { emit: M }) {
12175
- const v = f, I = M, O = Ec(() => import("./localIcon-D5UoFBU5.js")), d = Ec(() => import("./eleIcon-ertWaWep.js")), c = le(), h = Kn({
12175
+ const v = f, I = M, O = Ec(() => import("./localIcon-D5UoFBU5.js")), d = Ec(() => import("./eleIcon-ertWaWep.js")), c = le(), p = Kn({
12176
12176
  fontIconPrefix: "",
12177
12177
  fontIconWidth: 0,
12178
12178
  fontIconSearch: "",
@@ -12185,7 +12185,7 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
12185
12185
  }
12186
12186
  }), y = () => {
12187
12187
  if (!v.modelValue) return !1;
12188
- h.fontIconSearch = "", h.fontIconPlaceholder = v.modelValue, h.fontIconTabActive = "local";
12188
+ p.fontIconSearch = "", p.fontIconPlaceholder = v.modelValue, p.fontIconTabActive = "local";
12189
12189
  }, C = () => {
12190
12190
  }, A = le([]), o = Kn({
12191
12191
  local: Object.keys({ "/public/icons/svg/App.svg": 0, "/public/icons/svg/Avatar.svg": 0, "/public/icons/svg/Back.svg": 0, "/public/icons/svg/Cancel.svg": 0, "/public/icons/svg/ChildAdd.svg": 0, "/public/icons/svg/ChildDelete.svg": 0, "/public/icons/svg/ChildFix.svg": 0, "/public/icons/svg/CopyAddMenu.svg": 0, "/public/icons/svg/Delete.svg": 0, "/public/icons/svg/DeleteMenu.svg": 0, "/public/icons/svg/DongHuaFangZhen.svg": 0, "/public/icons/svg/Edit.svg": 0, "/public/icons/svg/EyeFill.svg": 0, "/public/icons/svg/FixedMenu.svg": 0, "/public/icons/svg/Fold.svg": 0, "/public/icons/svg/Form.svg": 0, "/public/icons/svg/Left.svg": 0, "/public/icons/svg/LowCodeEvent.svg": 0, "/public/icons/svg/LowCodeExtend.svg": 0, "/public/icons/svg/LowCodeSetting.svg": 0, "/public/icons/svg/LowCodeStyle.svg": 0, "/public/icons/svg/OCR识别.svg": 0, "/public/icons/svg/Plus.svg": 0, "/public/icons/svg/Right.svg": 0, "/public/icons/svg/Save.svg": 0, "/public/icons/svg/Signature.svg": 0, "/public/icons/svg/Step.svg": 0, "/public/icons/svg/Store.svg": 0, "/public/icons/svg/Table.svg": 0, "/public/icons/svg/TableLook.svg": 0, "/public/icons/svg/Tabs.svg": 0, "/public/icons/svg/TimeLine.svg": 0, "/public/icons/svg/Update.svg": 0, "/public/icons/svg/account.svg": 0, "/public/icons/svg/back-0.svg": 0, "/public/icons/svg/card-delete.svg": 0, "/public/icons/svg/card-edit.svg": 0, "/public/icons/svg/cardViewport.svg": 0, "/public/icons/svg/cardViewport_101.svg": 0, "/public/icons/svg/clear.svg": 0, "/public/icons/svg/colFilter.svg": 0, "/public/icons/svg/colOperate.svg": 0, "/public/icons/svg/config.svg": 0, "/public/icons/svg/default.svg": 0, "/public/icons/svg/dept.svg": 0, "/public/icons/svg/drag.svg": 0, "/public/icons/svg/editTable.svg": 0, "/public/icons/svg/edit_101.svg": 0, "/public/icons/svg/emptyImg.svg": 0, "/public/icons/svg/exit.svg": 0, "/public/icons/svg/expand.svg": 0, "/public/icons/svg/export.svg": 0, "/public/icons/svg/export_101.svg": 0, "/public/icons/svg/functionList.svg": 0, "/public/icons/svg/import.svg": 0, "/public/icons/svg/import_101.svg": 0, "/public/icons/svg/logo.svg": 0, "/public/icons/svg/menuPlus.svg": 0, "/public/icons/svg/menuPlusDark.svg": 0, "/public/icons/svg/message.svg": 0, "/public/icons/svg/method.svg": 0, "/public/icons/svg/model.svg": 0, "/public/icons/svg/modelEditBack.svg": 0, "/public/icons/svg/more.svg": 0, "/public/icons/svg/new.svg": 0, "/public/icons/svg/normal.svg": 0, "/public/icons/svg/operate.svg": 0, "/public/icons/svg/overviewTable.svg": 0, "/public/icons/svg/pack.svg": 0, "/public/icons/svg/password.svg": 0, "/public/icons/svg/personal.svg": 0, "/public/icons/svg/query.svg": 0, "/public/icons/svg/readTable.svg": 0, "/public/icons/svg/role.svg": 0, "/public/icons/svg/rowCreate.svg": 0, "/public/icons/svg/softCancel.svg": 0, "/public/icons/svg/softConfirm.svg": 0, "/public/icons/svg/softDelete.svg": 0, "/public/icons/svg/softEdit.svg": 0, "/public/icons/svg/softForm.svg": 0, "/public/icons/svg/softHome.svg": 0, "/public/icons/svg/softRemove.svg": 0, "/public/icons/svg/softTable.svg": 0, "/public/icons/svg/status.svg": 0, "/public/icons/svg/tableClose.svg": 0, "/public/icons/svg/tableExpand.svg": 0, "/public/icons/svg/three.svg": 0, "/public/icons/svg/treeMore.svg": 0, "/public/icons/svg/upload.svg": 0, "/public/icons/svg/uploadCopy.svg": 0, "/public/icons/svg/userAccount.svg": 0, "/public/icons/svg/wenjian.svg": 0, "/public/icons/svg/wenjianjia.svg": 0, "/public/icons/svg/write.svg": 0, "/public/icons/svg/上台对接.svg": 0, "/public/icons/svg/上面级过程管控.svg": 0, "/public/icons/svg/专项监督报告.svg": 0, "/public/icons/svg/个人中心.svg": 0, "/public/icons/svg/主菜单管理.svg": 0, "/public/icons/svg/交接前准备.svg": 0, "/public/icons/svg/产品检测.svg": 0, "/public/icons/svg/人像.svg": 0, "/public/icons/svg/人员列表.svg": 0, "/public/icons/svg/人员管理.svg": 0, "/public/icons/svg/人员资质.svg": 0, "/public/icons/svg/任务管理.svg": 0, "/public/icons/svg/任务选择.svg": 0, "/public/icons/svg/仿真动画.svg": 0, "/public/icons/svg/会议纪要.svg": 0, "/public/icons/svg/位姿生成.svg": 0, "/public/icons/svg/保存.svg": 0, "/public/icons/svg/停工令.svg": 0, "/public/icons/svg/刀具.svg": 0, "/public/icons/svg/删除弯管.svg": 0, "/public/icons/svg/制造厂.svg": 0, "/public/icons/svg/加工.svg": 0, "/public/icons/svg/协作单位.svg": 0, "/public/icons/svg/单元库.svg": 0, "/public/icons/svg/压气机叶片.svg": 0, "/public/icons/svg/发动机下台.svg": 0, "/public/icons/svg/发动机点火试验.svg": 0, "/public/icons/svg/发动机输送.svg": 0, "/public/icons/svg/取消.svg": 0, "/public/icons/svg/合同管理.svg": 0, "/public/icons/svg/同意.svg": 0, "/public/icons/svg/周报.svg": 0, "/public/icons/svg/在线考试.svg": 0, "/public/icons/svg/场景.svg": 0, "/public/icons/svg/培训学习.svg": 0, "/public/icons/svg/培训计划.svg": 0, "/public/icons/svg/备忘录.svg": 0, "/public/icons/svg/夹具资源.svg": 0, "/public/icons/svg/子菜单.svg": 0, "/public/icons/svg/审批中心0.svg": 0, "/public/icons/svg/审批中心1.svg": 0, "/public/icons/svg/审核.svg": 0, "/public/icons/svg/导入弯管.svg": 0, "/public/icons/svg/导出弯管.svg": 0, "/public/icons/svg/岗位管理.svg": 0, "/public/icons/svg/工件库.svg": 0, "/public/icons/svg/工作台.svg": 0, "/public/icons/svg/工艺生成.svg": 0, "/public/icons/svg/工艺系统.svg": 0, "/public/icons/svg/工艺规程编辑.svg": 0, "/public/icons/svg/工艺规程调用.svg": 0, "/public/icons/svg/已处理.svg": 0, "/public/icons/svg/已完成.svg": 0, "/public/icons/svg/平台管理.svg": 0, "/public/icons/svg/年度监造.svg": 0, "/public/icons/svg/年度计划.svg": 0, "/public/icons/svg/建模分析.svg": 0, "/public/icons/svg/弯管1.svg": 0, "/public/icons/svg/弯管2.svg": 0, "/public/icons/svg/弯管处理.svg": 0, "/public/icons/svg/待办事项.svg": 0, "/public/icons/svg/待处理.svg": 0, "/public/icons/svg/总月报.svg": 0, "/public/icons/svg/我发起.svg": 0, "/public/icons/svg/批准.svg": 0, "/public/icons/svg/承包商.svg": 0, "/public/icons/svg/技术监督单.svg": 0, "/public/icons/svg/抄送我的.svg": 0, "/public/icons/svg/报告中心.svg": 0, "/public/icons/svg/报表模板.svg": 0, "/public/icons/svg/控制系统.svg": 0, "/public/icons/svg/提交.svg": 0, "/public/icons/svg/操作规程.svg": 0, "/public/icons/svg/文件列表.svg": 0, "/public/icons/svg/文件夹.svg": 0, "/public/icons/svg/文件管理.svg": 0, "/public/icons/svg/文档管理.svg": 0, "/public/icons/svg/新建弯管.svg": 0, "/public/icons/svg/方法库.svg": 0, "/public/icons/svg/日志管理.svg": 0, "/public/icons/svg/日报.svg": 0, "/public/icons/svg/曲面.svg": 0, "/public/icons/svg/月报.svg": 0, "/public/icons/svg/未开始.svg": 0, "/public/icons/svg/机器人弯管机.svg": 0, "/public/icons/svg/机床.svg": 0, "/public/icons/svg/权限管理.svg": 0, "/public/icons/svg/标准规范.svg": 0, "/public/icons/svg/档案管理.svg": 0, "/public/icons/svg/模具1.svg": 0, "/public/icons/svg/模具库.svg": 0, "/public/icons/svg/模型管理.svg": 0, "/public/icons/svg/模板管理.svg": 0, "/public/icons/svg/气密性检查.svg": 0, "/public/icons/svg/流程库.svg": 0, "/public/icons/svg/测量系统.svg": 0, "/public/icons/svg/测量系统状态传递表.svg": 0, "/public/icons/svg/消息中心.svg": 0, "/public/icons/svg/消息管理.svg": 0, "/public/icons/svg/涡轮叶片.svg": 0, "/public/icons/svg/涡轮旋转.svg": 0, "/public/icons/svg/灯泡维修.svg": 0, "/public/icons/svg/物项管理.svg": 0, "/public/icons/svg/生成报告.svg": 0, "/public/icons/svg/用户管理.svg": 0, "/public/icons/svg/界面修改.svg": 0, "/public/icons/svg/监造项目.svg": 0, "/public/icons/svg/知识库.svg": 0, "/public/icons/svg/程序输出.svg": 0, "/public/icons/svg/策划报告.svg": 0, "/public/icons/svg/筛选.svg": 0, "/public/icons/svg/算法.svg": 0, "/public/icons/svg/管件解析.svg": 0, "/public/icons/svg/系统消息.svg": 0, "/public/icons/svg/系统管理.svg": 0, "/public/icons/svg/系统设备.svg": 0, "/public/icons/svg/系统配置.svg": 0, "/public/icons/svg/线.svg": 0, "/public/icons/svg/组织团队.svg": 0, "/public/icons/svg/经验反馈1.svg": 0, "/public/icons/svg/经验反馈报告2.svg": 0, "/public/icons/svg/综合测试.svg": 0, "/public/icons/svg/考核.svg": 0, "/public/icons/svg/考试.svg": 0, "/public/icons/svg/考试记录.svg": 0, "/public/icons/svg/耗材库.svg": 0, "/public/icons/svg/职位管理.svg": 0, "/public/icons/svg/菜单管理.svg": 0, "/public/icons/svg/营运单位.svg": 0, "/public/icons/svg/观察意见单.svg": 0, "/public/icons/svg/角色管理.svg": 0, "/public/icons/svg/记录单.svg": 0, "/public/icons/svg/设备使用统计.svg": 0, "/public/icons/svg/设备库.svg": 0, "/public/icons/svg/设备管理.svg": 0, "/public/icons/svg/试卷.svg": 0, "/public/icons/svg/试验人员工作统计.svg": 0, "/public/icons/svg/试验任务.svg": 0, "/public/icons/svg/试验传感器.svg": 0, "/public/icons/svg/试验传感器配置.svg": 0, "/public/icons/svg/试验准备.svg": 0, "/public/icons/svg/试验台.svg": 0, "/public/icons/svg/试验总结.svg": 0, "/public/icons/svg/试验文档.svg": 0, "/public/icons/svg/试验流程.svg": 0, "/public/icons/svg/试验系统.svg": 0, "/public/icons/svg/试验系统设备.svg": 0, "/public/icons/svg/试验系统设备配置.svg": 0, "/public/icons/svg/试验结果评价.svg": 0, "/public/icons/svg/试验设备.svg": 0, "/public/icons/svg/试验过程.svg": 0, "/public/icons/svg/质量计划.svg": 0, "/public/icons/svg/质量计划审查意见单.svg": 0, "/public/icons/svg/质量计划见证点.svg": 0, "/public/icons/svg/轨迹规划.svg": 0, "/public/icons/svg/进度计划.svg": 0, "/public/icons/svg/退出.svg": 0, "/public/icons/svg/选择设备.svg": 0, "/public/icons/svg/部门文件.svg": 0, "/public/icons/svg/部门管理.svg": 0, "/public/icons/svg/配置文件.svg": 0, "/public/icons/svg/附件文件.svg": 0, "/public/icons/svg/项目信息.svg": 0, "/public/icons/svg/项目档案.svg": 0, "/public/icons/svg/项目管理0.svg": 0, "/public/icons/svg/题库.svg": 0, "/public/icons/svg/风机叶片.svg": 0, "/public/icons/svg/首页.svg": 0, "/public/icons/svg/驳回.svg": 0 }).map((F) => {
@@ -12194,19 +12194,19 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
12194
12194
  }).filter(Boolean),
12195
12195
  ele: Object.keys(Zh)
12196
12196
  });
12197
- Jt(() => h.fontIconTabActive, (F) => {
12197
+ Jt(() => p.fontIconTabActive, (F) => {
12198
12198
  A.value = o == null ? void 0 : o[F];
12199
12199
  }, { immediate: !0 });
12200
12200
  const w = () => {
12201
12201
  c.value.focus();
12202
12202
  }, T = (F) => {
12203
- h.fontIconPlaceholder = F, h.fontIconPrefix = F, I("get", h.fontIconPrefix), I("update:modelValue", h.fontIconPrefix), c.value.focus();
12203
+ p.fontIconPlaceholder = F, p.fontIconPrefix = F, I("get", p.fontIconPrefix), I("update:modelValue", p.fontIconPrefix), c.value.focus();
12204
12204
  }, D = () => {
12205
- h.fontIconPrefix = "", I("clear", h.fontIconPrefix), I("update:modelValue", h.fontIconPrefix);
12205
+ p.fontIconPrefix = "", I("clear", p.fontIconPrefix), I("update:modelValue", p.fontIconPrefix);
12206
12206
  }, m = () => {
12207
12207
  hl(() => {
12208
12208
  var F, V;
12209
- h.fontIconWidth = (V = (F = c.value) == null ? void 0 : F.$el) == null ? void 0 : V.offsetWidth;
12209
+ p.fontIconWidth = (V = (F = c.value) == null ? void 0 : F.$el) == null ? void 0 : V.offsetWidth;
12210
12210
  });
12211
12211
  }, W = () => {
12212
12212
  window.addEventListener("resize", () => {
@@ -12216,14 +12216,14 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
12216
12216
  return ll(() => {
12217
12217
  W(), m();
12218
12218
  }), Jt(() => v == null ? void 0 : v.modelValue, (F) => {
12219
- h.fontIconPrefix = F;
12219
+ p.fontIconPrefix = F;
12220
12220
  }, { immediate: !0 }), (F, V) => {
12221
12221
  const L = Ne("svg-icon"), R = Ne("el-input"), k = Ne("el-tab-pane"), q = Ne("el-col"), Q = Ne("el-row"), z = Ne("el-scrollbar"), fe = Ne("el-tabs"), se = Ne("el-popover");
12222
12222
  return K(), Ae("div", Ay, [
12223
12223
  B(R, {
12224
- modelValue: h.fontIconSearch,
12225
- "onUpdate:modelValue": V[0] || (V[0] = (te) => h.fontIconSearch = te),
12226
- placeholder: h.fontIconPlaceholder,
12224
+ modelValue: p.fontIconSearch,
12225
+ "onUpdate:modelValue": V[0] || (V[0] = (te) => p.fontIconSearch = te),
12226
+ placeholder: p.fontIconPlaceholder,
12227
12227
  clearable: f.clearable,
12228
12228
  disabled: f.disabled,
12229
12229
  size: f.size,
@@ -12235,20 +12235,20 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
12235
12235
  class: "hidden-input"
12236
12236
  }, {
12237
12237
  prepend: N(() => [
12238
- h.fontIconTabActive === "local" ? (K(), Ue(L, {
12238
+ p.fontIconTabActive === "local" ? (K(), Ue(L, {
12239
12239
  key: 0,
12240
- name: h.fontIconPrefix,
12240
+ name: p.fontIconPrefix,
12241
12241
  style: { width: "1rem", height: "1rem" }
12242
12242
  }, null, 8, ["name"])) : (K(), Ue(P(d), {
12243
12243
  key: 1,
12244
- name: h.fontIconPrefix
12244
+ name: p.fontIconPrefix
12245
12245
  }, null, 8, ["name"]))
12246
12246
  ]),
12247
12247
  _: 1
12248
12248
  }, 8, ["modelValue", "placeholder", "clearable", "disabled", "size"]),
12249
12249
  B(se, {
12250
12250
  placement: "bottom",
12251
- width: h.fontIconWidth,
12251
+ width: p.fontIconWidth,
12252
12252
  transition: "el-zoom-in-top",
12253
12253
  "popper-class": "icon-selector-popper",
12254
12254
  trigger: "click",
@@ -12259,8 +12259,8 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
12259
12259
  ue("div", My, [
12260
12260
  ue("div", Ty, Bt(f.title), 1),
12261
12261
  B(fe, {
12262
- modelValue: h.fontIconTabActive,
12263
- "onUpdate:modelValue": V[1] || (V[1] = (te) => h.fontIconTabActive = te),
12262
+ modelValue: p.fontIconTabActive,
12263
+ "onUpdate:modelValue": V[1] || (V[1] = (te) => p.fontIconTabActive = te),
12264
12264
  onTabClick: w
12265
12265
  }, {
12266
12266
  default: N(() => [
@@ -12273,7 +12273,7 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
12273
12273
  B(P(O), {
12274
12274
  list: A.value,
12275
12275
  empty: f.emptyDescription,
12276
- prefix: h.fontIconPrefix,
12276
+ prefix: p.fontIconPrefix,
12277
12277
  onGetIcon: T
12278
12278
  }, null, 8, ["list", "empty", "prefix"])
12279
12279
  ]),
@@ -12300,7 +12300,7 @@ const Fg = { class: "page-content" }, Hg = { class: "button-content" }, Ug = /*
12300
12300
  }, {
12301
12301
  default: N(() => [
12302
12302
  ue("div", {
12303
- class: Mn(["icon-selector-warp-item", { "icon-selector-active": h.fontIconPrefix === te }]),
12303
+ class: Mn(["icon-selector-warp-item", { "icon-selector-active": p.fontIconPrefix === te }]),
12304
12304
  title: te
12305
12305
  }, [
12306
12306
  B(P(d), { name: te }, null, 8, ["name"])
@@ -12448,7 +12448,7 @@ function Ey(f = "menu") {
12448
12448
  },
12449
12449
  emits: ["closeEditing", "closePlusDialog"],
12450
12450
  setup(M, { emit: v }) {
12451
- const I = le("sub-menu-more"), O = Jn(un), d = Gl(un), c = le(0), h = Ja(), {
12451
+ const I = le("sub-menu-more"), O = Jn(un), d = Gl(un), c = le(0), p = Ja(), {
12452
12452
  rawMenus: y,
12453
12453
  menuTriggerType: C,
12454
12454
  permissionSideMenus: A,
@@ -12463,28 +12463,28 @@ function Ey(f = "menu") {
12463
12463
  children: oe.level === 0 ? [] : oe.children ?? [],
12464
12464
  childMenus: k(oe.children)
12465
12465
  } : oe), q = (H, oe) => {
12466
- var _e, p;
12467
- return (p = (_e = L.value) == null ? void 0 : _e.find((i) => (H.title + oe).includes(i.value))) == null ? void 0 : p.value;
12466
+ var _e, h;
12467
+ return (h = (_e = L.value) == null ? void 0 : _e.find((i) => (H.title + oe).includes(i.value))) == null ? void 0 : h.value;
12468
12468
  }, Q = (H) => {
12469
12469
  var _e;
12470
12470
  let oe;
12471
- for (const [p, i] of (_e = m.value) == null ? void 0 : _e.entries())
12472
- H === (i == null ? void 0 : i.object_name) && (oe = p);
12471
+ for (const [h, i] of (_e = m.value) == null ? void 0 : _e.entries())
12472
+ H === (i == null ? void 0 : i.object_name) && (oe = h);
12473
12473
  return oe;
12474
12474
  }, z = (H) => {
12475
- var _e, p;
12475
+ var _e, h;
12476
12476
  let oe = 0;
12477
12477
  for (const [i, b] of (_e = m.value) == null ? void 0 : _e.entries())
12478
- H === (b == null ? void 0 : b.object_name) && (b != null && b.create_time) && (oe = (p = new Date(b == null ? void 0 : b.create_time)) == null ? void 0 : p.getTime());
12478
+ H === (b == null ? void 0 : b.object_name) && (b != null && b.create_time) && (oe = (h = new Date(b == null ? void 0 : b.create_time)) == null ? void 0 : h.getTime());
12479
12479
  return oe;
12480
12480
  }, fe = (H, oe = "", _e = 0) => {
12481
12481
  var E;
12482
- let p = gn(H);
12482
+ let h = gn(H);
12483
12483
  const i = Array.from(/* @__PURE__ */ new Set([...(E = F.value) == null ? void 0 : E.map((U) => {
12484
12484
  var J;
12485
12485
  return (J = U == null ? void 0 : U.key) == null ? void 0 : J.pageKey;
12486
12486
  })]));
12487
- return Array.isArray(p) || (p = [p]), p == null ? void 0 : p.map((U, J) => {
12487
+ return Array.isArray(h) || (h = [h]), h == null ? void 0 : h.map((U, J) => {
12488
12488
  let pe, De = oe ? `${oe}/${U.title}` : U.title;
12489
12489
  pe = De;
12490
12490
  const ce = {
@@ -12512,20 +12512,20 @@ function Ey(f = "menu") {
12512
12512
  var _e;
12513
12513
  let H = gn(V.value);
12514
12514
  if (H = [...H, ...A.value], (H == null ? void 0 : H.length) === 0)
12515
- return h.push("/"), [];
12515
+ return p.push("/"), [];
12516
12516
  At(H, Ot.value);
12517
12517
  const oe = k(H);
12518
12518
  return bu(oe), O.setMenus(oe), hl(() => {
12519
- var p;
12520
- (p = be.value) == null || p.handleResize();
12521
- }), (_e = oe == null ? void 0 : oe.filter((p) => p == null ? void 0 : p.show)) == null ? void 0 : _e.sort((p, i) => (p == null ? void 0 : p.create_time) - (i == null ? void 0 : i.create_time));
12519
+ var h;
12520
+ (h = be.value) == null || h.handleResize();
12521
+ }), (_e = oe == null ? void 0 : oe.filter((h) => h == null ? void 0 : h.show)) == null ? void 0 : _e.sort((h, i) => (h == null ? void 0 : h.create_time) - (i == null ? void 0 : i.create_time));
12522
12522
  });
12523
12523
  Jt(
12524
12524
  () => T.value,
12525
12525
  (H) => {
12526
- var _e, p, i;
12526
+ var _e, h, i;
12527
12527
  if (!H) return;
12528
- const oe = (p = (_e = H == null ? void 0 : H.path) == null ? void 0 : _e.split("/")) == null ? void 0 : p[0];
12528
+ const oe = (h = (_e = H == null ? void 0 : H.path) == null ? void 0 : _e.split("/")) == null ? void 0 : h[0];
12529
12529
  if (oe) {
12530
12530
  const b = (i = V.value) == null ? void 0 : i.find((E) => (E == null ? void 0 : E.path) === oe);
12531
12531
  if (!b || (O.setActiveTopMenuPath(oe), !(b != null && b.children))) return;
@@ -12536,7 +12536,7 @@ function Ey(f = "menu") {
12536
12536
  );
12537
12537
  const te = async (H) => {
12538
12538
  var oe;
12539
- O.setLinkMenuInfo(null), O.setAsideMenuLoading(!0), O.setActiveMainEditMenuPath(H == null ? void 0 : H.path), H != null && H.childMenus && ((oe = H == null ? void 0 : H.childMenus) == null ? void 0 : oe.length) > 0 ? O.setAsideEditMenus(H == null ? void 0 : H.childMenus) : O.setAsideEditMenus([]), h.push("/");
12539
+ O.setLinkMenuInfo(null), O.setAsideMenuLoading(!0), O.setActiveMainEditMenuPath(H == null ? void 0 : H.path), H != null && H.childMenus && ((oe = H == null ? void 0 : H.childMenus) == null ? void 0 : oe.length) > 0 ? O.setAsideEditMenus(H == null ? void 0 : H.childMenus) : O.setAsideEditMenus([]), p.push("/");
12540
12540
  }, he = (H) => {
12541
12541
  }, ke = (H) => {
12542
12542
  H !== I.value && O.setActiveMenuPath(H);
@@ -12548,20 +12548,20 @@ function Ey(f = "menu") {
12548
12548
  }, je = async () => {
12549
12549
  var H, oe, _e;
12550
12550
  try {
12551
- const p = /* @__PURE__ */ new Map(), i = await ra({
12551
+ const h = /* @__PURE__ */ new Map(), i = await ra({
12552
12552
  platId: Number(sessionStorage.getItem("systemKey")),
12553
12553
  pageName: "menu"
12554
12554
  });
12555
12555
  ((H = i == null ? void 0 : i.data) == null ? void 0 : H.code) === 200 && ((_e = (oe = i == null ? void 0 : i.data) == null ? void 0 : oe.result) == null || _e.forEach((b) => {
12556
- p.set(b == null ? void 0 : b.object_id, {
12556
+ h.set(b == null ? void 0 : b.object_id, {
12557
12557
  object_name: b == null ? void 0 : b.object_name,
12558
12558
  father_name: b == null ? void 0 : b.father_name,
12559
12559
  property_name: b == null ? void 0 : b.property_name,
12560
12560
  create_time: b == null ? void 0 : b.create_time
12561
- }), O.setMenuMap(p);
12561
+ }), O.setMenuMap(h);
12562
12562
  }));
12563
- } catch (p) {
12564
- throw new Error(p);
12563
+ } catch (h) {
12564
+ throw new Error(h);
12565
12565
  }
12566
12566
  };
12567
12567
  ll(() => {
@@ -12602,7 +12602,7 @@ function Ey(f = "menu") {
12602
12602
  }, ee = (H) => {
12603
12603
  ie.title = "", ie.icon = "", ct.type = "create", ct.show = !0;
12604
12604
  }, kt = async (H) => {
12605
- var _e, p, i;
12605
+ var _e, h, i;
12606
12606
  let oe;
12607
12607
  try {
12608
12608
  const b = {
@@ -12616,7 +12616,7 @@ function Ey(f = "menu") {
12616
12616
  order_no: "",
12617
12617
  isShow: !0
12618
12618
  }, E = await Dy(ct.type, b);
12619
- ((_e = E == null ? void 0 : E.data) == null ? void 0 : _e.code) === 200 && (oe = (i = (p = E == null ? void 0 : E.data) == null ? void 0 : p.result) == null ? void 0 : i.object_id, mn.success("新增成功"));
12619
+ ((_e = E == null ? void 0 : E.data) == null ? void 0 : _e.code) === 200 && (oe = (i = (h = E == null ? void 0 : E.data) == null ? void 0 : h.result) == null ? void 0 : i.object_id, mn.success("新增成功"));
12620
12620
  } catch (b) {
12621
12621
  throw new Error(b);
12622
12622
  } finally {
@@ -12626,20 +12626,20 @@ function Ey(f = "menu") {
12626
12626
  };
12627
12627
  function Qe(H, oe, _e) {
12628
12628
  if (!H) return H;
12629
- const p = H.split("/");
12630
- return oe < 0 || oe >= p.length ? (console.warn(`索引 ${oe} 超出范围,路径共有 ${p.length} 个片段`), H) : (p[oe] = _e, p.join("/"));
12629
+ const h = H.split("/");
12630
+ return oe < 0 || oe >= h.length ? (console.warn(`索引 ${oe} 超出范围,路径共有 ${h.length} 个片段`), H) : (h[oe] = _e, h.join("/"));
12631
12631
  }
12632
12632
  function et(H, oe) {
12633
12633
  if (!oe) return [];
12634
- const _e = [], p = new RegExp(`(^|/)${oe}(/|$)`), i = gn(V.value), b = wl(i, "path", ie == null ? void 0 : ie.path);
12634
+ const _e = [], h = new RegExp(`(^|/)${oe}(/|$)`), i = gn(V.value), b = wl(i, "path", ie == null ? void 0 : ie.path);
12635
12635
  for (const [E, U] of H.entries())
12636
- p.test(U == null ? void 0 : U.object_name) && _e.push({
12636
+ h.test(U == null ? void 0 : U.object_name) && _e.push({
12637
12637
  id: E,
12638
12638
  //批量替换匹配项的path
12639
12639
  path: Qe(U == null ? void 0 : U.object_name, b == null ? void 0 : b.level, ie == null ? void 0 : ie.title),
12640
12640
  //同步修改fatherName同步点击行面包屑下拉触发
12641
12641
  father_name: U == null ? void 0 : U.father_name
12642
- }), p.test(U == null ? void 0 : U.father_name) && (U != null && U.father_name) && _e.push({
12642
+ }), h.test(U == null ? void 0 : U.father_name) && (U != null && U.father_name) && _e.push({
12643
12643
  id: E,
12644
12644
  path: U == null ? void 0 : U.object_name,
12645
12645
  //同步修改fatherName同步点击行面包屑下拉触发
@@ -12648,7 +12648,7 @@ function Ey(f = "menu") {
12648
12648
  return _e;
12649
12649
  }
12650
12650
  const Rt = le(!1), wt = le(null), St = async () => {
12651
- var H, oe, _e, p;
12651
+ var H, oe, _e, h;
12652
12652
  Rt.value = !0;
12653
12653
  try {
12654
12654
  const i = et(m.value, ie == null ? void 0 : ie.path);
@@ -12666,7 +12666,7 @@ function Ey(f = "menu") {
12666
12666
  }
12667
12667
  ]
12668
12668
  }, E = await qo(b);
12669
- ((H = E == null ? void 0 : E.data) == null ? void 0 : H.code) === 200 && ((_e = (oe = E == null ? void 0 : E.data) == null ? void 0 : oe.message) != null && _e.includes("成功")) && (V.value = (p = V.value) == null ? void 0 : p.map((U) => (U == null ? void 0 : U.path) === (ie == null ? void 0 : ie.path) ? {
12669
+ ((H = E == null ? void 0 : E.data) == null ? void 0 : H.code) === 200 && ((_e = (oe = E == null ? void 0 : E.data) == null ? void 0 : oe.message) != null && _e.includes("成功")) && (V.value = (h = V.value) == null ? void 0 : h.map((U) => (U == null ? void 0 : U.path) === (ie == null ? void 0 : ie.path) ? {
12670
12670
  ...U,
12671
12671
  title: ie == null ? void 0 : ie.title,
12672
12672
  icon: ie == null ? void 0 : ie.icon,
@@ -12710,7 +12710,7 @@ function Ey(f = "menu") {
12710
12710
  var b, E, U, J;
12711
12711
  const oe = et(m.value, H == null ? void 0 : H.path), _e = oe != null && oe.length ? oe == null ? void 0 : oe.map((pe) => ({
12712
12712
  object_id: pe == null ? void 0 : pe.id
12713
- })) : [{ object_id: H == null ? void 0 : H.id }], p = {
12713
+ })) : [{ object_id: H == null ? void 0 : H.id }], h = {
12714
12714
  platId: Number(sessionStorage.getItem("systemKey")),
12715
12715
  changeContents: [
12716
12716
  {
@@ -12718,7 +12718,7 @@ function Ey(f = "menu") {
12718
12718
  tableContents: _e
12719
12719
  }
12720
12720
  ]
12721
- }, i = await $i(p);
12721
+ }, i = await $i(h);
12722
12722
  ((b = i == null ? void 0 : i.data) == null ? void 0 : b.code) === 200 && ((U = (E = i == null ? void 0 : i.data) == null ? void 0 : E.message) != null && U.includes("成功")) && (V.value = (J = se.value) == null ? void 0 : J.filter((pe) => (pe == null ? void 0 : pe.path) !== (H == null ? void 0 : H.path)), Ct.value = Date.now(), ct.show = !1, $(), O.setAsideEditMenus([]), mn.success("删除成功"));
12723
12723
  });
12724
12724
  } catch (oe) {
@@ -12745,8 +12745,8 @@ function Ey(f = "menu") {
12745
12745
  }, be = le(null);
12746
12746
  return Jt(() => M, async (H) => {
12747
12747
  var i, b;
12748
- const { editingForm: oe, hasConfirmMenu: _e, type: p } = H;
12749
- if (ct.type = p, _e && p === "create" && (oe != null && oe.title)) {
12748
+ const { editingForm: oe, hasConfirmMenu: _e, type: h } = H;
12749
+ if (ct.type = h, _e && h === "create" && (oe != null && oe.title)) {
12750
12750
  Rt.value = !0;
12751
12751
  const E = await kt({
12752
12752
  ...oe,
@@ -12792,7 +12792,7 @@ function Ey(f = "menu") {
12792
12792
  const Py = Cn(Ey()), By = ["onDblclick"], Ry = { title: "确认" }, Oy = { title: "取消" }, Ny = { title: "删除" };
12793
12793
  function Wy(f, M, v, I, O, d) {
12794
12794
  var T;
12795
- const c = Ne("svg-icon"), h = Ne("IconSelector"), y = Ne("el-input"), C = Ne("el-form-item"), A = Ne("el-form"), o = Ne("ss-edit-menu"), w = Ya("loading");
12795
+ const c = Ne("svg-icon"), p = Ne("IconSelector"), y = Ne("el-input"), C = Ne("el-form-item"), A = Ne("el-form"), o = Ne("ss-edit-menu"), w = Ya("loading");
12796
12796
  return _l((K(), Ue(o, {
12797
12797
  "element-loading-background": "rgba(0, 0, 0, 0.4)",
12798
12798
  ref: "menuRef",
@@ -12841,7 +12841,7 @@ function Wy(f, M, v, I, O, d) {
12841
12841
  onChange: f.onConfirmMenu
12842
12842
  }, {
12843
12843
  prepend: N(() => [
12844
- B(h, {
12844
+ B(p, {
12845
12845
  modelValue: f.menuForm.icon,
12846
12846
  "onUpdate:modelValue": M[0] || (M[0] = (L) => f.menuForm.icon = L),
12847
12847
  placeholder: "菜单图标",
@@ -12930,7 +12930,7 @@ function Hy(f = "menu") {
12930
12930
  operateType: "修改菜单名",
12931
12931
  operateIcon: "FixedMenu"
12932
12932
  }
12933
- ]), O = Jn(un), d = Gl(un), c = Wl(un), { loginUserInfo: h } = an(c), y = le(0), C = Ja(), A = le(), {
12933
+ ]), O = Jn(un), d = Gl(un), c = Wl(un), { loginUserInfo: p } = an(c), y = le(0), C = Ja(), A = le(), {
12934
12934
  menuMap: o,
12935
12935
  activeAsideEditMenuPath: w,
12936
12936
  activeMainEditMenuPath: T,
@@ -13127,7 +13127,7 @@ function Hy(f = "menu") {
13127
13127
  const Et = ($t = k.value) == null ? void 0 : $t.filter((on) => (on == null ? void 0 : on.path) !== (re == null ? void 0 : re.path));
13128
13128
  O.setAsideEditMenus(Et);
13129
13129
  }
13130
- await Yo(), U.value = Date.now(), p(), Se.show = !1, mn.success("删除成功");
13130
+ await Yo(), U.value = Date.now(), h(), Se.show = !1, mn.success("删除成功");
13131
13131
  }
13132
13132
  });
13133
13133
  } catch (Re) {
@@ -13184,17 +13184,17 @@ function Hy(f = "menu") {
13184
13184
  type: "create",
13185
13185
  title: "新建特性"
13186
13186
  }), be = le(null), H = le(null), oe = () => {
13187
- Se.show = !1, p();
13187
+ Se.show = !1, h();
13188
13188
  }, _e = () => {
13189
13189
  Ke.show = !1, i(), se.value && te(se.value);
13190
- }, p = () => {
13190
+ }, h = () => {
13191
13191
  for (const re in Ee)
13192
13192
  Ee[re] = "";
13193
13193
  }, i = () => {
13194
13194
  for (const re in Me)
13195
13195
  Me[re] = "";
13196
13196
  }, b = (re) => {
13197
- p(), Se.parentPath = re == null ? void 0 : re.path, Se.type = "create", Se.show = !0, hl(() => {
13197
+ h(), Se.parentPath = re == null ? void 0 : re.path, Se.type = "create", Se.show = !0, hl(() => {
13198
13198
  var Re;
13199
13199
  (Re = $e.value) == null || Re.focus();
13200
13200
  });
@@ -13264,7 +13264,7 @@ function Hy(f = "menu") {
13264
13264
  await Fe();
13265
13265
  break;
13266
13266
  }
13267
- U.value = Date.now(), p(), await Yo(), Se.show = !1;
13267
+ U.value = Date.now(), h(), await Yo(), Se.show = !1;
13268
13268
  }
13269
13269
  });
13270
13270
  } catch (Re) {
@@ -13294,7 +13294,7 @@ function Hy(f = "menu") {
13294
13294
  }, qe = await $i(Xe);
13295
13295
  if (((mt = qe == null ? void 0 : qe.data) == null ? void 0 : mt.code) === 200 && ((Ve = (Ce = qe == null ? void 0 : qe.data) == null ? void 0 : Ce.message) != null && Ve.includes("成功"))) {
13296
13296
  const ot = (it = k.value) == null ? void 0 : it.filter((He) => (He == null ? void 0 : He.path) !== (re == null ? void 0 : re.path));
13297
- O.setAsideEditMenus(ot), U.value = Date.now(), Se.show = !1, p(), mn.success("删除成功");
13297
+ O.setAsideEditMenus(ot), U.value = Date.now(), Se.show = !1, h(), mn.success("删除成功");
13298
13298
  }
13299
13299
  });
13300
13300
  } catch (Re) {
@@ -13501,7 +13501,7 @@ const Uy = Cn(Hy()), Vy = ["title", "onDblclick"], Ky = { title: "确认" }, zy
13501
13501
  }, Jy = { title: "确认" }, Xy = { title: "取消" }, Zy = { class: "dialog-footer" };
13502
13502
  function $y(f, M, v, I, O, d) {
13503
13503
  var L;
13504
- const c = Ne("svg-icon"), h = Ne("IconSelector"), y = Ne("el-input"), C = Ne("el-form-item"), A = Ne("el-form"), o = Ne("el-popover"), w = Ne("ss-edit-menu"), T = Ne("el-cascader"), D = Ne("el-option"), m = Ne("el-select"), W = Ne("el-button"), F = Ne("ss-dialog"), V = Ya("loading");
13504
+ const c = Ne("svg-icon"), p = Ne("IconSelector"), y = Ne("el-input"), C = Ne("el-form-item"), A = Ne("el-form"), o = Ne("el-popover"), w = Ne("ss-edit-menu"), T = Ne("el-cascader"), D = Ne("el-option"), m = Ne("el-select"), W = Ne("el-button"), F = Ne("ss-dialog"), V = Ya("loading");
13505
13505
  return K(), Ae(Ft, null, [
13506
13506
  _l((K(), Ue(w, {
13507
13507
  ref: "menuRef",
@@ -13553,7 +13553,7 @@ function $y(f, M, v, I, O, d) {
13553
13553
  onChange: f.onConfirmMenu
13554
13554
  }, {
13555
13555
  prepend: N(() => [
13556
- B(h, {
13556
+ B(p, {
13557
13557
  modelValue: f.menuForm.icon,
13558
13558
  "onUpdate:modelValue": M[0] || (M[0] = (se) => f.menuForm.icon = se),
13559
13559
  placeholder: "菜单图标",
@@ -13653,7 +13653,7 @@ function $y(f, M, v, I, O, d) {
13653
13653
  onChange: f.onConfirmMenu
13654
13654
  }, {
13655
13655
  prepend: N(() => [
13656
- B(h, {
13656
+ B(p, {
13657
13657
  modelValue: f.menuForm.icon,
13658
13658
  "onUpdate:modelValue": M[2] || (M[2] = (R) => f.menuForm.icon = R),
13659
13659
  placeholder: "菜单图标",
@@ -13785,16 +13785,16 @@ function $y(f, M, v, I, O, d) {
13785
13785
  ], 64);
13786
13786
  }
13787
13787
  const e0 = /* @__PURE__ */ ul(Uy, [["render", $y], ["__scopeId", "data-v-7f84f446"]]), t0 = Wl(un), { loginUserInfo: Kl } = an(t0), n0 = Jn(), Gf = async () => {
13788
- var M, v, I, O, d, c, h, y, C, A;
13788
+ var M, v, I, O, d, c, p, y, C, A;
13789
13789
  let f = await ra({
13790
13790
  platId: parseInt((M = Kl == null ? void 0 : Kl.value) == null ? void 0 : M.plat_id),
13791
13791
  pageName: "menu"
13792
13792
  });
13793
13793
  if (((I = (v = f == null ? void 0 : f.data) == null ? void 0 : v.result) == null ? void 0 : I.length) > 0) {
13794
- let o = (h = (c = (d = (O = f == null ? void 0 : f.data) == null ? void 0 : O.result) == null ? void 0 : d.filter((w) => {
13794
+ let o = (p = (c = (d = (O = f == null ? void 0 : f.data) == null ? void 0 : O.result) == null ? void 0 : d.filter((w) => {
13795
13795
  var T, D;
13796
13796
  return ((D = w == null ? void 0 : w.object_name) == null ? void 0 : D[((T = w == null ? void 0 : w.object_name) == null ? void 0 : T.length) - 1]) !== "/" && (w == null ? void 0 : w.is_show);
13797
- })) == null ? void 0 : c.sort((w, T) => (w == null ? void 0 : w.object_id) - (T == null ? void 0 : T.object_id))) == null ? void 0 : h.map((w) => {
13797
+ })) == null ? void 0 : c.sort((w, T) => (w == null ? void 0 : w.object_id) - (T == null ? void 0 : T.object_id))) == null ? void 0 : p.map((w) => {
13798
13798
  var T;
13799
13799
  return (T = w == null ? void 0 : w.object_name) == null ? void 0 : T.replaceAll("**^", "/");
13800
13800
  });
@@ -13875,10 +13875,10 @@ const e0 = /* @__PURE__ */ ul(Uy, [["render", $y], ["__scopeId", "data-v-7f84f44
13875
13875
  // render: 'image',
13876
13876
  minWidth: 150
13877
13877
  }
13878
- ]), d = ({ row: h, rowIndex: y }) => y % 2 === 0 ? "default-row" : "special-row", c = (h, y, C) => {
13879
- v("onClickOperateData", h, y, C);
13878
+ ]), d = ({ row: p, rowIndex: y }) => y % 2 === 0 ? "default-row" : "special-row", c = (p, y, C) => {
13879
+ v("onClickOperateData", p, y, C);
13880
13880
  };
13881
- return (h, y) => {
13881
+ return (p, y) => {
13882
13882
  const C = Ne("el-table-column"), A = Ne("el-button"), o = Ne("el-table");
13883
13883
  return K(), Ue(o, {
13884
13884
  data: f.data,
@@ -13955,7 +13955,7 @@ const e0 = /* @__PURE__ */ ul(Uy, [["render", $y], ["__scopeId", "data-v-7f84f44
13955
13955
  },
13956
13956
  emits: ["onClickOperateData", "onChangeTabInput", "onDbClickTab", "onDeleteTab"],
13957
13957
  setup(f, { emit: M }) {
13958
- const v = f, I = M, O = le(""), d = le([]), c = le({}), h = (L, R) => {
13958
+ const v = f, I = M, O = le(""), d = le([]), c = le({}), p = (L, R) => {
13959
13959
  L && (c.value[R] = L);
13960
13960
  }, y = (L) => c.value[L], C = (L) => {
13961
13961
  var k;
@@ -14071,7 +14071,7 @@ const e0 = /* @__PURE__ */ ul(Uy, [["render", $y], ["__scopeId", "data-v-7f84f44
14071
14071
  O.value === (te == null ? void 0 : te.id) ? (K(), Ue(Q, {
14072
14072
  key: 1,
14073
14073
  ref_for: !0,
14074
- ref: (ke) => h(ke, te.id),
14074
+ ref: (ke) => p(ke, te.id),
14075
14075
  onChange: (ke) => m(ke, te),
14076
14076
  modelValue: te.label,
14077
14077
  "onUpdate:modelValue": (ke) => te.label = ke,
@@ -14316,25 +14316,25 @@ const Tl = (f, M) => {
14316
14316
  if (!O || O.length === 0) return null;
14317
14317
  const d = O.map((c) => {
14318
14318
  var C, A, o, w;
14319
- let h = (C = c[1]) == null ? void 0 : C.trim();
14320
- if (h = (A = h == null ? void 0 : h.replace(/[,)]$/, "")) == null ? void 0 : A.trim(), h != null && h.startsWith("{") && (h != null && h.endsWith("}"))) {
14321
- const T = h == null ? void 0 : h.slice(1, -1);
14319
+ let p = (C = c[1]) == null ? void 0 : C.trim();
14320
+ if (p = (A = p == null ? void 0 : p.replace(/[,)]$/, "")) == null ? void 0 : A.trim(), p != null && p.startsWith("{") && (p != null && p.endsWith("}"))) {
14321
+ const T = p == null ? void 0 : p.slice(1, -1);
14322
14322
  return T === "" ? [] : (o = T == null ? void 0 : T.split(/[,,]/)) == null ? void 0 : o.map((D) => D == null ? void 0 : D.trim());
14323
14323
  }
14324
- if (h != null && h.startsWith("(") && (h != null && h.endsWith(")"))) {
14325
- const T = h == null ? void 0 : h.slice(1, -1);
14324
+ if (p != null && p.startsWith("(") && (p != null && p.endsWith(")"))) {
14325
+ const T = p == null ? void 0 : p.slice(1, -1);
14326
14326
  return T === "" ? [] : y0(T).split(/[,,]/).map((m) => m == null ? void 0 : m.trim());
14327
14327
  }
14328
- if (h != null && h.startsWith("[") && (h != null && h.endsWith("]"))) {
14329
- const T = h.slice(1, -1);
14328
+ if (p != null && p.startsWith("[") && (p != null && p.endsWith("]"))) {
14329
+ const T = p.slice(1, -1);
14330
14330
  return T === "" ? [] : (w = T == null ? void 0 : T.split(/[,,]/)) == null ? void 0 : w.map((D) => {
14331
14331
  D = D == null ? void 0 : D.trim();
14332
14332
  const m = Number(D);
14333
14333
  return isNaN(m) ? D : m;
14334
14334
  });
14335
14335
  }
14336
- const y = Number(h);
14337
- return isNaN(y) ? h : y;
14336
+ const y = Number(p);
14337
+ return isNaN(y) ? p : y;
14338
14338
  });
14339
14339
  return d.length === 1 ? d[0] : d;
14340
14340
  }, ff = (f) => {
@@ -14357,10 +14357,10 @@ const Tl = (f, M) => {
14357
14357
  },
14358
14358
  emits: ["onDbClickGroup", "onConfirm", "onDelete", "onClickOperateData"],
14359
14359
  setup(f, { emit: M }) {
14360
- const v = Jn(un), { activeAsideEditMenuPath: I } = an(v), O = f, d = M, c = le({}), h = (ze, ee) => {
14360
+ const v = Jn(un), { activeAsideEditMenuPath: I } = an(v), O = f, d = M, c = le({}), p = (ze, ee) => {
14361
14361
  ze && (c.value[ee] = ze);
14362
14362
  }, y = (ze) => {
14363
- var kt, Qe, et, Rt, wt, St, Ct, x, G, $, ie, Se, Ke, be, H, oe, _e, p, i, b, E, U;
14363
+ var kt, Qe, et, Rt, wt, St, Ct, x, G, $, ie, Se, Ke, be, H, oe, _e, h, i, b, E, U;
14364
14364
  const ee = JSON.parse(JSON.stringify(ze));
14365
14365
  if (o && typeof o == "object" && ((kt = Object.keys(ee)) == null || kt.forEach((J) => {
14366
14366
  J in o && (o[J] = ee[J]);
@@ -14381,10 +14381,10 @@ const Tl = (f, M) => {
14381
14381
  var Ge, Ee;
14382
14382
  const Fe = Tl((Ge = X == null ? void 0 : X.configInfo) == null ? void 0 : Ge.content, "Step") || "";
14383
14383
  return (Ee = ce == null ? void 0 : ce.value) == null ? void 0 : Ee.includes(Fe);
14384
- })) == null ? void 0 : oe.map((X) => X == null ? void 0 : X.value) : o.combineItemIds = (p = (_e = za.value) == null ? void 0 : _e.filter((X) => {
14384
+ })) == null ? void 0 : oe.map((X) => X == null ? void 0 : X.value) : o.combineItemIds = (h = (_e = za.value) == null ? void 0 : _e.filter((X) => {
14385
14385
  var Ge;
14386
14386
  return (Tl((Ge = X == null ? void 0 : X.configInfo) == null ? void 0 : Ge.content, ce == null ? void 0 : ce.comp) || "") === (ce == null ? void 0 : ce.value);
14387
- })) == null ? void 0 : p.map((X) => X == null ? void 0 : X.value), o.fixedColumns = Tl((i = ee == null ? void 0 : ee.configInfo) == null ? void 0 : i.content, " FixColumn"), o.requiredColumns = Tl((b = ee == null ? void 0 : ee.configInfo) == null ? void 0 : b.content, "ReqItem");
14387
+ })) == null ? void 0 : h.map((X) => X == null ? void 0 : X.value), o.fixedColumns = Tl((i = ee == null ? void 0 : ee.configInfo) == null ? void 0 : i.content, " FixColumn"), o.requiredColumns = Tl((b = ee == null ? void 0 : ee.configInfo) == null ? void 0 : b.content, "ReqItem");
14388
14388
  const we = Tl((E = ee == null ? void 0 : ee.configInfo) == null ? void 0 : E.content, "Button");
14389
14389
  we != null && we.length && (w.value = we == null ? void 0 : we.map((X) => {
14390
14390
  var Ee;
@@ -14613,7 +14613,7 @@ const Tl = (f, M) => {
14613
14613
  }, { immediate: !0 }), Jt(() => I.value, (ze) => {
14614
14614
  ze && o.id && ke();
14615
14615
  }, { immediate: !0 }), (ze, ee) => {
14616
- const kt = Ne("el-input"), Qe = Ne("el-form-item"), et = Ne("el-form"), Rt = Ne("group-index"), wt = Ne("el-option"), St = Ne("el-select"), Ct = Ne("el-radio"), x = Ne("el-radio-group"), G = Ne("el-icon"), $ = Ne("el-cascader"), ie = Ne("el-tag"), Se = Ne("el-button"), Ke = Ne("el-color-picker"), be = Ne("el-col"), H = Ne("el-row"), oe = Ne("el-text"), _e = Ne("el-tab-pane"), p = Ne("el-tabs");
14616
+ const kt = Ne("el-input"), Qe = Ne("el-form-item"), et = Ne("el-form"), Rt = Ne("group-index"), wt = Ne("el-option"), St = Ne("el-select"), Ct = Ne("el-radio"), x = Ne("el-radio-group"), G = Ne("el-icon"), $ = Ne("el-cascader"), ie = Ne("el-tag"), Se = Ne("el-button"), Ke = Ne("el-color-picker"), be = Ne("el-col"), H = Ne("el-row"), oe = Ne("el-text"), _e = Ne("el-tab-pane"), h = Ne("el-tabs");
14617
14617
  return K(), Ae(Ft, null, [
14618
14618
  (K(!0), Ae(Ft, null, qt(f.children, (i) => {
14619
14619
  var b, E, U;
@@ -14641,7 +14641,7 @@ const Tl = (f, M) => {
14641
14641
  default: N(() => [
14642
14642
  B(kt, {
14643
14643
  ref_for: !0,
14644
- ref: (J) => h(J, P(o).id),
14644
+ ref: (J) => p(J, P(o).id),
14645
14645
  modelValue: P(o).name,
14646
14646
  "onUpdate:modelValue": ee[2] || (ee[2] = (J) => P(o).name = J),
14647
14647
  placeholder: "请输入",
@@ -14758,7 +14758,7 @@ const Tl = (f, M) => {
14758
14758
  ])
14759
14759
  ]),
14760
14760
  default: N(() => [
14761
- B(p, {
14761
+ B(h, {
14762
14762
  modelValue: C.value,
14763
14763
  "onUpdate:modelValue": ee[29] || (ee[29] = (i) => C.value = i),
14764
14764
  class: "form-tab-wrapper",
@@ -15555,10 +15555,10 @@ const Tl = (f, M) => {
15555
15555
  }
15556
15556
  }), x0 = /* @__PURE__ */ ul(_0, [["__scopeId", "data-v-ca10d7b7"]]), au = (f, M, v, I = !1) => {
15557
15557
  if ((!f || f.trim() === "") && (f = "()"), typeof M == "object" && M !== null) {
15558
- let h = f;
15558
+ let p = f;
15559
15559
  for (const [y, C] of Object.entries(M))
15560
- h = au(h, y, C);
15561
- return h;
15560
+ p = au(p, y, C);
15561
+ return p;
15562
15562
  }
15563
15563
  let O = v;
15564
15564
  Array.isArray(v) && (O = `[${v.join(",")}]`);
@@ -15566,8 +15566,8 @@ const Tl = (f, M) => {
15566
15566
  if (c.test(f) && !I)
15567
15567
  return f == null ? void 0 : f.replace(c, `${d}=${O}`);
15568
15568
  {
15569
- const h = f == null ? void 0 : f.slice(1, -1), y = `${d}=${O}`;
15570
- return (h == null ? void 0 : h.length) === 0 ? `(${y})` : `(${h},${y})`;
15569
+ const p = f == null ? void 0 : f.slice(1, -1), y = `${d}=${O}`;
15570
+ return (p == null ? void 0 : p.length) === 0 ? `(${y})` : `(${p},${y})`;
15571
15571
  }
15572
15572
  };
15573
15573
  function L0(f) {
@@ -15603,9 +15603,9 @@ const I0 = (f, M) => {
15603
15603
  if (!Array.isArray(f)) return [];
15604
15604
  const M = /* @__PURE__ */ new Map();
15605
15605
  return f == null || f.forEach((v) => {
15606
- var O, d, c, h, y, C;
15606
+ var O, d, c, p, y, C;
15607
15607
  const I = v == null ? void 0 : v.object_name;
15608
- M.has(I) ? (h = (O = M.get(I)) == null ? void 0 : O.children) == null || h.push({
15608
+ M.has(I) ? (p = (O = M.get(I)) == null ? void 0 : O.children) == null || p.push({
15609
15609
  prop: (d = Object.values(v == null ? void 0 : v.name)) == null ? void 0 : d.join("/"),
15610
15610
  label: (c = Object.values(v == null ? void 0 : v.name)) == null ? void 0 : c.join("/"),
15611
15611
  // children: recurseFormatPropOptions(item?.children),
@@ -15642,8 +15642,8 @@ const Xf = (f, M = 0) => {
15642
15642
  const O = gn(I), d = I.prop;
15643
15643
  if (O.prop)
15644
15644
  if (v.test(O.prop)) {
15645
- const { parent: h, current: y } = ou(O.prop);
15646
- O.prop = y, O.parentProp = h;
15645
+ const { parent: p, current: y } = ou(O.prop);
15646
+ O.prop = y, O.parentProp = p;
15647
15647
  } else
15648
15648
  O.parentProp = "";
15649
15649
  return O.id || (O.id = d), O.mainKeyLabel = "", O.propType = "string", O.compType = I == null ? void 0 : I.formType, O.defaultValue = I == null ? void 0 : I.value, O.level = M, (c = O.children) != null && c.length ? O.children = Xf(O.children, M + 1) : O.children = [], O;
@@ -15716,7 +15716,7 @@ const Xf = (f, M = 0) => {
15716
15716
  }
15717
15717
  },
15718
15718
  setup(f) {
15719
- const { logoUrl: M, platNameEn: v } = ii(), I = Jn(un), { importLoading: O, activeAsideEditMenuPath: d, asideEditMenus: c, activeMainEditMenuPath: h } = an(I), y = le(null), C = le(null), A = (i) => {
15719
+ const { logoUrl: M, platNameEn: v } = ii(), I = Jn(un), { importLoading: O, activeAsideEditMenuPath: d, asideEditMenus: c, activeMainEditMenuPath: p } = an(I), y = le(null), C = le(null), A = (i) => {
15720
15720
  C.value = gn(i), F.value = !1;
15721
15721
  };
15722
15722
  let o = Kn({
@@ -16319,20 +16319,20 @@ const Xf = (f, M = 0) => {
16319
16319
  }
16320
16320
  }, oe = le(""), _e = (i) => {
16321
16321
  oe.value = i;
16322
- }, p = le(null);
16322
+ }, h = le(null);
16323
16323
  return ll(() => {
16324
- p.value = setTimeout(() => {
16324
+ h.value = setTimeout(() => {
16325
16325
  w();
16326
16326
  }, 100);
16327
16327
  }), Xo(() => {
16328
- p.value && (clearTimeout(p.value), p.value = null);
16328
+ h.value && (clearTimeout(h.value), h.value = null);
16329
16329
  }), Jt(() => R.show, (i) => {
16330
16330
  if (!i) {
16331
16331
  for (const b in k)
16332
16332
  k[b] = "";
16333
16333
  k.mainKey = !1, k.propType = "string", k.compType = "Input";
16334
16334
  }
16335
- }, { immediate: !0 }), Jt([() => c.value, () => h.value], ([i, b]) => {
16335
+ }, { immediate: !0 }), Jt([() => c.value, () => p.value], ([i, b]) => {
16336
16336
  ((i == null ? void 0 : i.length) === 0 || b) && (x.value = []), Ot();
16337
16337
  }, { immediate: !0, deep: !0 }), (i, b) => {
16338
16338
  const E = Ne("el-scrollbar"), U = Ne("el-input"), J = Ne("el-form-item"), pe = Ne("el-form"), De = Ne("el-header"), ce = Ne("el-aside"), we = Ne("el-breadcrumb-item"), X = Ne("el-breadcrumb"), Fe = Ne("el-card"), Ge = Ne("el-main"), Ee = Ne("el-container"), Le = Ne("el-cascader"), Me = Ne("el-radio"), yt = Ne("el-radio-group"), at = Ne("el-option"), ht = Ne("el-select"), $e = Ne("el-button"), Tt = Ya("loading");
@@ -16755,8 +16755,8 @@ const Xf = (f, M = 0) => {
16755
16755
  }), G0 = /* @__PURE__ */ ul(Y0, [["__scopeId", "data-v-49b39961"]]), Zf = (f, M, v, I, O = 0) => {
16756
16756
  let d = f;
16757
16757
  return d != null && d.every((c) => Array.isArray(c)) && (d != null && d.every((c) => Array.isArray(c) && c.length === 1) ? d = d == null ? void 0 : d.map((c) => ((c == null ? void 0 : c[0]) === v && (c = [I]), c)) : d = d == null ? void 0 : d.map((c) => {
16758
- if (c != null && c.find((h) => h === (M == null ? void 0 : M[O])) && (M == null ? void 0 : M.length) !== 1) {
16759
- let h = gn(M), y = c == null ? void 0 : c.filter((w) => w !== (h == null ? void 0 : h[O])), C = O + 1, A = Zf(y, h, v, I, C), o = [];
16758
+ if (c != null && c.find((p) => p === (M == null ? void 0 : M[O])) && (M == null ? void 0 : M.length) !== 1) {
16759
+ let p = gn(M), y = c == null ? void 0 : c.filter((w) => w !== (p == null ? void 0 : p[O])), C = O + 1, A = Zf(y, p, v, I, C), o = [];
16760
16760
  o.push(c == null ? void 0 : c[0]), A == null || A.forEach((w) => {
16761
16761
  o.push(w);
16762
16762
  }), c = o;
@@ -16796,7 +16796,7 @@ function $f(f = "menu") {
16796
16796
  operateType: "修改菜单名",
16797
16797
  operateIcon: "FixedMenu"
16798
16798
  }
16799
- ]), d = Jn(), c = Gl(un), h = Wl(un), { loginUserInfo: y } = an(h), C = le(0), A = Ja(), o = le(), { asideMenus: w, menuTriggerType: T, platform: D, jumpMenuInform: m } = an(d), { fixMenuStatus: W } = an(c), { isSuperAdmin: F } = Ff(), V = Yt(() => I == null ? void 0 : I.mode), L = (x) => x == null ? void 0 : x.map(($) => {
16799
+ ]), d = Jn(), c = Gl(un), p = Wl(un), { loginUserInfo: y } = an(p), C = le(0), A = Ja(), o = le(), { asideMenus: w, menuTriggerType: T, platform: D, jumpMenuInform: m } = an(d), { fixMenuStatus: W } = an(c), { isSuperAdmin: F } = Ff(), V = Yt(() => I == null ? void 0 : I.mode), L = (x) => x == null ? void 0 : x.map(($) => {
16800
16800
  var ie, Se;
16801
16801
  return !($ != null && $.children) || ((ie = $ == null ? void 0 : $.children) == null ? void 0 : ie.length) === 0 ? $.config = O.value : $ != null && $.children && ((Se = $ == null ? void 0 : $.children) == null ? void 0 : Se.length) > 0 && ($.children = L($.children)), $;
16802
16802
  }), R = Yt(() => {
@@ -16870,7 +16870,7 @@ function $f(f = "menu") {
16870
16870
  data: x
16871
16871
  }), d.setIsRefreshMenus(!0);
16872
16872
  }, Xt = async (x, G, $) => {
16873
- var ie, Se, Ke, be, H, oe, _e, p, i, b, E, U, J, pe, De, ce, we, X, Fe, Ge, Ee, Le, Me, yt, at, ht, $e;
16873
+ var ie, Se, Ke, be, H, oe, _e, h, i, b, E, U, J, pe, De, ce, we, X, Fe, Ge, Ee, Le, Me, yt, at, ht, $e;
16874
16874
  if (G === "create") {
16875
16875
  let Tt = ($ == null ? void 0 : $.title) + "(1)", Ye = (Se = (ie = $ == null ? void 0 : $.path) == null ? void 0 : ie.split("/")) == null ? void 0 : Se.filter((Re, Xe) => {
16876
16876
  var qe, mt;
@@ -16885,7 +16885,7 @@ function $f(f = "menu") {
16885
16885
  );
16886
16886
  if (Ye.push(Tt), Ye = Ye == null ? void 0 : Ye.join("/"), (re == null ? void 0 : re.length) > 0) {
16887
16887
  let Re = re == null ? void 0 : re[0], Xe = (_e = (oe = Re == null ? void 0 : Re.compData) == null ? void 0 : oe.find((qe) => (qe == null ? void 0 : qe.key) === "header")) == null ? void 0 : _e.contents;
16888
- if (((p = Xe == null ? void 0 : Xe[0]) == null ? void 0 : p.directiveLabel) === "#isMain") {
16888
+ if (((h = Xe == null ? void 0 : Xe[0]) == null ? void 0 : h.directiveLabel) === "#isMain") {
16889
16889
  let qe = (i = Xe == null ? void 0 : Xe[0]) == null ? void 0 : i.prop, mt = (E = (b = Re == null ? void 0 : Re.compData) == null ? void 0 : b.find(
16890
16890
  (Ve) => (Ve == null ? void 0 : Ve.key) === "tableContents"
16891
16891
  )) == null ? void 0 : E.contents, Ce;
@@ -16935,13 +16935,13 @@ function $f(f = "menu") {
16935
16935
  ), d.setActiveTopMenuPath(($e = (ht = $ == null ? void 0 : $.path) == null ? void 0 : ht.split("/")) == null ? void 0 : $e[0]), d.setIsRefreshMenus(!1), d.setIsRefreshMenus(!0);
16936
16936
  }
16937
16937
  }, ze = async (x, G) => {
16938
- var p, i, b, E, U, J, pe, De, ce, we, X, Fe, Ge, Ee, Le, Me, yt, at, ht, $e, Tt, Ye, re, Re, Xe, qe, mt, Ce, Ve, it, ot;
16938
+ var h, i, b, E, U, J, pe, De, ce, we, X, Fe, Ge, Ee, Le, Me, yt, at, ht, $e, Tt, Ye, re, Re, Xe, qe, mt, Ce, Ve, it, ot;
16939
16939
  let $ = await Oc({
16940
16940
  key: {
16941
16941
  systemKey: sessionStorage.getItem("systemKey"),
16942
16942
  pageKey: "menu"
16943
16943
  }
16944
- }), ie = (i = (p = $ == null ? void 0 : $.data) == null ? void 0 : p.result) == null ? void 0 : i[0], Se = (b = ie == null ? void 0 : ie.value) == null ? void 0 : b.pageData;
16944
+ }), ie = (i = (h = $ == null ? void 0 : $.data) == null ? void 0 : h.result) == null ? void 0 : i[0], Se = (b = ie == null ? void 0 : ie.value) == null ? void 0 : b.pageData;
16945
16945
  Se.compData = (E = Se.compData) == null ? void 0 : E.map((He) => {
16946
16946
  var ut, $t;
16947
16947
  return (He == null ? void 0 : He.key) === "menuContents" && (He.contents = Zf(He.contents, (ut = G == null ? void 0 : G.path) == null ? void 0 : ut.split("/"), G == null ? void 0 : G.title, ($t = x == null ? void 0 : x.target) == null ? void 0 : $t.value)), He;
@@ -17095,7 +17095,7 @@ function ed(f = "menu") {
17095
17095
  default: "vertical"
17096
17096
  }
17097
17097
  }), v = le("sub-menu-more"), I = Jn(), O = Gl(un), d = le(0), c = Ja(), {
17098
- rawMenus: h,
17098
+ rawMenus: p,
17099
17099
  activeTopMenuPath: y,
17100
17100
  isRefreshMenus: C,
17101
17101
  menuTriggerType: A,
@@ -17124,7 +17124,7 @@ function ed(f = "menu") {
17124
17124
  return Array.isArray(ie) || (ie = [ie]), ie == null ? void 0 : ie.map((H) => {
17125
17125
  let oe, _e = G ? `${G}/${H.title}` : H.title;
17126
17126
  oe = _e;
17127
- const p = {
17127
+ const h = {
17128
17128
  ...H,
17129
17129
  path: oe,
17130
17130
  level: $,
@@ -17141,7 +17141,7 @@ function ed(f = "menu") {
17141
17141
  children: [],
17142
17142
  childMenus: []
17143
17143
  };
17144
- return H.children && H.children.length > 0 && (p.children = fe(H.children, oe, $ + 1)), p;
17144
+ return H.children && H.children.length > 0 && (h.children = fe(H.children, oe, $ + 1)), h;
17145
17145
  });
17146
17146
  }, se = le(null), te = Yt(() => {
17147
17147
  let x = gn(L.value);
@@ -17244,7 +17244,7 @@ function ed(f = "menu") {
17244
17244
  },
17245
17245
  { immediate: !0 }
17246
17246
  ), Jt(
17247
- () => h.value,
17247
+ () => p.value,
17248
17248
  (x) => {
17249
17249
  if (R.value = qa(), x) {
17250
17250
  W.value && (I.setActiveTopMenuPath(""), I.setActiveMenuPath(""), I.setAsideMenus([]));
@@ -17288,13 +17288,13 @@ function ed(f = "menu") {
17288
17288
  if (G) {
17289
17289
  const oe = {
17290
17290
  ...(ie = G.value) == null ? void 0 : ie.pageData,
17291
- compData: (be = (Ke = (Se = G.value) == null ? void 0 : Se.pageData) == null ? void 0 : Ke.compData) == null ? void 0 : be.map((p) => p.key === "menuContents" ? {
17292
- ...p,
17291
+ compData: (be = (Ke = (Se = G.value) == null ? void 0 : Se.pageData) == null ? void 0 : Ke.compData) == null ? void 0 : be.map((h) => h.key === "menuContents" ? {
17292
+ ...h,
17293
17293
  contents: x
17294
- } : p)
17294
+ } : h)
17295
17295
  };
17296
17296
  await Hf(G == null ? void 0 : G.id, oe);
17297
- const _e = (H = te.value) == null ? void 0 : H.find((p) => (p == null ? void 0 : p.path) === y.value);
17297
+ const _e = (H = te.value) == null ? void 0 : H.find((h) => (h == null ? void 0 : h.path) === y.value);
17298
17298
  _e && await At(_e), I.setAsideMenuLoading(!1), I.setIsRefreshMenus(!1);
17299
17299
  } else
17300
17300
  I.setAsideMenuLoading(!1);
@@ -17312,12 +17312,12 @@ function ed(f = "menu") {
17312
17312
  var G, $, ie, Se, Ke, be, H, oe;
17313
17313
  if (x)
17314
17314
  try {
17315
- const _e = (ie = ($ = (G = T.value) == null ? void 0 : G.data) == null ? void 0 : $.path) == null ? void 0 : ie.split("/").slice(0, -1).join("/"), p = Rt(
17315
+ const _e = (ie = ($ = (G = T.value) == null ? void 0 : G.data) == null ? void 0 : $.path) == null ? void 0 : ie.split("/").slice(0, -1).join("/"), h = Rt(
17316
17316
  L.value,
17317
17317
  (Se = T.value) == null ? void 0 : Se.data,
17318
17318
  _e,
17319
17319
  (Ke = T.value) == null ? void 0 : Ke.type
17320
- ), i = (be = p == null ? void 0 : p.filter((U) => U.path !== "平台管理")) == null ? void 0 : be.map((U) => et(U));
17320
+ ), i = (be = h == null ? void 0 : h.filter((U) => U.path !== "平台管理")) == null ? void 0 : be.map((U) => et(U));
17321
17321
  await Ct((H = T.value) == null ? void 0 : H.data), I.setAsideMenuLoading(!0), await wt(i);
17322
17322
  const b = await Nt(D.value), E = (b == null ? void 0 : b.length) === 0 ? (oe = D.value) == null ? void 0 : oe.childMenus : b;
17323
17323
  I.setAsideMenus(E);
@@ -17343,7 +17343,7 @@ const eb = Cn(ed("ThreeMenu")), tb = { class: "three-menu" }, nb = ["onClick"];
17343
17343
  function lb(f, M, v, I, O, d) {
17344
17344
  return K(), Ae("div", tb, [
17345
17345
  (K(!0), Ae(Ft, null, qt(f.renderMenuList, (c) => (K(), Ae("div", {
17346
- onClick: (h) => f.clickMenu(c)
17346
+ onClick: (p) => f.clickMenu(c)
17347
17347
  }, [
17348
17348
  xl(f.$slots, "menu", { menu: c }, void 0, !0)
17349
17349
  ], 8, nb))), 256)),
@@ -17392,7 +17392,7 @@ const rb = /* @__PURE__ */ ul(eb, [["render", lb], ["__scopeId", "data-v-94d06d5
17392
17392
  }).length
17393
17393
  );
17394
17394
  Yt(() => d.value > 99 ? "99+" : d.value);
17395
- const c = gu(un), { originalPath: h } = an(c), y = h.value, C = Ga(un), { selectTitle: A } = an(C), o = le(!1), w = le(null), T = le(), D = le(!1), m = Bf(un), { blobUrls: W } = an(m), F = le(!1), V = le(!1), L = le(!1), R = le([]), k = le(!1), q = le(null), Q = le([]), z = le(!1), fe = (Ce) => {
17395
+ const c = gu(un), { originalPath: p } = an(c), y = p.value, C = Ga(un), { selectTitle: A } = an(C), o = le(!1), w = le(null), T = le(), D = le(!1), m = Bf(un), { blobUrls: W } = an(m), F = le(!1), V = le(!1), L = le(!1), R = le([]), k = le(!1), q = le(null), Q = le([]), z = le(!1), fe = (Ce) => {
17396
17396
  const Ve = (Ce == null ? void 0 : Ce.menuFilter) || [];
17397
17397
  return Array.isArray(Ve) && (Ve == null ? void 0 : Ve.some((it) => {
17398
17398
  const ot = typeof it == "string" ? it : JSON.stringify(it);
@@ -17570,7 +17570,7 @@ const rb = /* @__PURE__ */ ul(eb, [["render", lb], ["__scopeId", "data-v-94d06d5
17570
17570
  G.value = Ce;
17571
17571
  }, _e = (Ce) => {
17572
17572
  be(), $.value = Ce;
17573
- }, p = () => {
17573
+ }, h = () => {
17574
17574
  _e(!($ != null && $.value));
17575
17575
  }, i = Yt(() => ({
17576
17576
  right: `${80 - Ke.value.x}px`,
@@ -17847,7 +17847,7 @@ const rb = /* @__PURE__ */ ul(eb, [["render", lb], ["__scopeId", "data-v-94d06d5
17847
17847
  B(Kc, {
17848
17848
  name: "yemian",
17849
17849
  size: "24",
17850
- onClick: p,
17850
+ onClick: h,
17851
17851
  active: $.value,
17852
17852
  title: "数据管理"
17853
17853
  }, null, 8, ["active"])
@@ -18301,13 +18301,13 @@ const td = (f) => Array.isArray(f) ? f.filter((M) => M != null && M !== "") : f
18301
18301
  const M = Number(f[0]), v = Number(f[1]);
18302
18302
  return Number.isNaN(M) || Number.isNaN(v) ? "" : `(${M},${v})`;
18303
18303
  }, Db = (f) => {
18304
- var d, c, h, y, C, A, o;
18304
+ var d, c, p, y, C, A, o;
18305
18305
  const M = Array.isArray(f == null ? void 0 : f.compData) ? f.compData : Array.isArray((d = f == null ? void 0 : f.component) == null ? void 0 : d.compData) ? f.component.compData : [], v = [
18306
18306
  f == null ? void 0 : f.filter,
18307
18307
  f == null ? void 0 : f.menuFilter,
18308
18308
  f == null ? void 0 : f.groupFilter,
18309
18309
  (c = M == null ? void 0 : M.find((w) => (w == null ? void 0 : w.key) === "filter")) == null ? void 0 : c.contents,
18310
- (h = f == null ? void 0 : f.component) == null ? void 0 : h.filter,
18310
+ (p = f == null ? void 0 : f.component) == null ? void 0 : p.filter,
18311
18311
  (y = f == null ? void 0 : f.component) == null ? void 0 : y.menuFilter,
18312
18312
  (C = f == null ? void 0 : f.component) == null ? void 0 : C.groupFilter
18313
18313
  ];
@@ -18326,8 +18326,8 @@ const td = (f) => Array.isArray(f) ? f.filter((M) => M != null && M !== "") : f
18326
18326
  const v = Db(f);
18327
18327
  return `${M}__layout__${JSON.stringify((f == null ? void 0 : f.cardLayout) ?? {})}__${oi(f == null ? void 0 : f.menuFilter, f == null ? void 0 : f.groupFilter).join("|")}__inner__${v}`;
18328
18328
  }, nd = (f, M, v, I) => {
18329
- var d, c, h, y, C, A, o, w, T, D, m, W, F, V, L, R, k, q;
18330
- let O = ((c = (d = M.get(f == null ? void 0 : f.quotePage)) == null ? void 0 : d.contents) == null ? void 0 : c.find((Q) => li((I == null ? void 0 : I.quoteGroup) ?? [], Q == null ? void 0 : Q.name))) ?? ((h = M.get(f == null ? void 0 : f.quotePage)) == null ? void 0 : h.contents) ?? [];
18329
+ var d, c, p, y, C, A, o, w, T, D, m, W, F, V, L, R, k, q;
18330
+ let O = ((c = (d = M.get(f == null ? void 0 : f.quotePage)) == null ? void 0 : d.contents) == null ? void 0 : c.find((Q) => li((I == null ? void 0 : I.quoteGroup) ?? [], Q == null ? void 0 : Q.name))) ?? ((p = M.get(f == null ? void 0 : f.quotePage)) == null ? void 0 : p.contents) ?? [];
18331
18331
  if (!Array.isArray(O) && ((y = O == null ? void 0 : O.tableColumns) == null ? void 0 : y.length) > 0) {
18332
18332
  let Q = gn(O), z = (o = (A = (C = Q.filter) == null ? void 0 : C.replace("(", rn)) == null ? void 0 : A.split(rn)) == null ? void 0 : o[1];
18333
18333
  z = "(" + (z == null ? void 0 : z.slice(0, (z == null ? void 0 : z.length) - 1));
@@ -18414,15 +18414,15 @@ const td = (f) => Array.isArray(f) ? f.filter((M) => M != null && M !== "") : f
18414
18414
  }
18415
18415
  });
18416
18416
  });
18417
- let h = [...c.values()];
18418
- return h = h == null ? void 0 : h.map((y) => {
18417
+ let p = [...c.values()];
18418
+ return p = p == null ? void 0 : p.map((y) => {
18419
18419
  var o, w, T, D;
18420
18420
  let C = [], A = ((T = (w = (o = y == null ? void 0 : y.key) == null ? void 0 : o.split("/")) == null ? void 0 : w.filter((m, W) => {
18421
18421
  var F, V;
18422
18422
  return ((V = (F = y == null ? void 0 : y.key) == null ? void 0 : F.split("/")) == null ? void 0 : V.length) - 1 !== W;
18423
18423
  })) == null ? void 0 : T.join("/")) + "/";
18424
18424
  return (D = y.contents) == null || D.forEach((m, W) => {
18425
- var R, k, q, Q, z, fe, se, te, he, ke, Be, je, Ot, Nt, At, ct, Xt, ze, ee, kt, Qe, et, Rt, wt, St, Ct, x, G, $, ie, Se, Ke, be, H, oe, _e, p, i, b, E, U, J, pe, De;
18425
+ var R, k, q, Q, z, fe, se, te, he, ke, Be, je, Ot, Nt, At, ct, Xt, ze, ee, kt, Qe, et, Rt, wt, St, Ct, x, G, $, ie, Se, Ke, be, H, oe, _e, h, i, b, E, U, J, pe, De;
18426
18426
  const F = m == null ? void 0 : m.isShow, V = (m == null ? void 0 : m.menuFilter) ?? [], L = Array.isArray(V) && (V == null ? void 0 : V.some((ce) => {
18427
18427
  const we = typeof ce == "string" ? ce : JSON.stringify(ce);
18428
18428
  return (we == null ? void 0 : we.includes("@Hide")) && (we == null ? void 0 : we.includes("Yes"));
@@ -18514,7 +18514,7 @@ const td = (f) => Array.isArray(f) ? f.filter((M) => M != null && M !== "") : f
18514
18514
  var Fe, Ge;
18515
18515
  return X !== ((Ge = (Fe = y == null ? void 0 : y.key) == null ? void 0 : Fe.split("/")) == null ? void 0 : Ge.length) - 1;
18516
18516
  })) == null ? void 0 : _e.join("/")) + "/";
18517
- if (((b = (i = (p = c == null ? void 0 : c.get(ce)) == null ? void 0 : p.contents) == null ? void 0 : i[W]) == null ? void 0 : b.key) === "Form") {
18517
+ if (((b = (i = (h = c == null ? void 0 : c.get(ce)) == null ? void 0 : h.contents) == null ? void 0 : i[W]) == null ? void 0 : b.key) === "Form") {
18518
18518
  let we = gn(m).tableContents;
18519
18519
  m = (U = (E = c == null ? void 0 : c.get(ce)) == null ? void 0 : E.contents) == null ? void 0 : U[W], m.contents = we;
18520
18520
  } else
@@ -18523,7 +18523,7 @@ const td = (f) => Array.isArray(f) ? f.filter((M) => M != null && M !== "") : f
18523
18523
  } else
18524
18524
  C.push(m);
18525
18525
  }), y.contents = C, y;
18526
- }), h = h == null ? void 0 : h.map((y) => {
18526
+ }), p = p == null ? void 0 : p.map((y) => {
18527
18527
  var o, w;
18528
18528
  let C = (o = y == null ? void 0 : y.contents) == null ? void 0 : o.map((T) => jo(T)), A = [...new Set(C)];
18529
18529
  if ((A == null ? void 0 : A.length) !== (C == null ? void 0 : C.length)) {
@@ -18549,19 +18549,19 @@ const td = (f) => Array.isArray(f) ? f.filter((M) => M != null && M !== "") : f
18549
18549
  }), y.contents = T;
18550
18550
  }
18551
18551
  return y;
18552
- }), M && (M == null ? void 0 : M.length) === 0 ? (h = [...h, ...Tb], v = [...v, ...h]) : v = h, v;
18552
+ }), M && (M == null ? void 0 : M.length) === 0 ? (p = [...p, ...Tb], v = [...v, ...p]) : v = p, v;
18553
18553
  }, Eb = (f) => {
18554
- var O, d, c, h, y, C;
18554
+ var O, d, c, p, y, C;
18555
18555
  let M = ml(f, "*"), v, I;
18556
- return (M == null ? void 0 : M.length) > 1 || !((O = M == null ? void 0 : M[0]) != null && O.includes("==")) ? (v = M == null ? void 0 : M[0], (v == null ? void 0 : v[(v == null ? void 0 : v.length) - 1]) === "*" && (v = v == null ? void 0 : v.slice(0, (v == null ? void 0 : v.length) - 1)), I = (d = M == null ? void 0 : M.filter((A, o) => o !== 0)) == null ? void 0 : d.join(""), I = I ? "*" + I : "") : (v = (h = (c = f == null ? void 0 : f.replace("==", rn)) == null ? void 0 : c.split(rn)) == null ? void 0 : h[0], I = (C = (y = f == null ? void 0 : f.replace("==", rn)) == null ? void 0 : y.split(rn)) == null ? void 0 : C[1]), (v == null ? void 0 : v[0]) !== "$" && (I = gn(v) + (I ?? ""), v = ""), {
18556
+ return (M == null ? void 0 : M.length) > 1 || !((O = M == null ? void 0 : M[0]) != null && O.includes("==")) ? (v = M == null ? void 0 : M[0], (v == null ? void 0 : v[(v == null ? void 0 : v.length) - 1]) === "*" && (v = v == null ? void 0 : v.slice(0, (v == null ? void 0 : v.length) - 1)), I = (d = M == null ? void 0 : M.filter((A, o) => o !== 0)) == null ? void 0 : d.join(""), I = I ? "*" + I : "") : (v = (p = (c = f == null ? void 0 : f.replace("==", rn)) == null ? void 0 : c.split(rn)) == null ? void 0 : p[0], I = (C = (y = f == null ? void 0 : f.replace("==", rn)) == null ? void 0 : y.split(rn)) == null ? void 0 : C[1]), (v == null ? void 0 : v[0]) !== "$" && (I = gn(v) + (I ?? ""), v = ""), {
18557
18557
  key: v,
18558
18558
  value: I
18559
18559
  };
18560
18560
  }, Pb = async (f, M) => {
18561
- var d, c;
18561
+ var d;
18562
18562
  let v = ip(f, [",", ":", "@", "=", "&", "*"]);
18563
- v = (d = v == null ? void 0 : v.filter((h) => h !== "")) == null ? void 0 : d.map((h) => h.replaceAll(",", ","));
18564
- let I = (c = v == null ? void 0 : v.filter((h) => !h.includes("/*") && !h.includes("*/"))) == null ? void 0 : c.map((h) => Eb(h));
18563
+ v = v == null ? void 0 : v.filter((c) => c !== "");
18564
+ let I = (d = v == null ? void 0 : v.filter((c) => !c.includes("/*") && !c.includes("*/"))) == null ? void 0 : d.map((c) => Eb(c));
18565
18565
  return await Ib(I, M);
18566
18566
  }, Bb = {
18567
18567
  key: 1,
@@ -18598,7 +18598,7 @@ const td = (f) => Array.isArray(f) ? f.filter((M) => M != null && M !== "") : f
18598
18598
  },
18599
18599
  emits: ["buildContent", "showChild", "clearLogin", "systemContent", "updateVersion"],
18600
18600
  setup(f, { emit: M }) {
18601
- const v = Gl(un), I = Ga(un), O = Jn(un), d = le(!0), { hasClickEditComp: c } = an(O), h = Wl(un), { loginUserInfo: y } = an(h), C = f, A = M, o = () => {
18601
+ const v = Gl(un), I = Ga(un), O = Jn(un), d = le(!0), { hasClickEditComp: c } = an(O), p = Wl(un), { loginUserInfo: y } = an(p), C = f, A = M, o = () => {
18602
18602
  A("clearLogin");
18603
18603
  }, w = (L) => {
18604
18604
  A("showChild", L);
@@ -18892,11 +18892,11 @@ const jb = (f) => {
18892
18892
  var L;
18893
18893
  const V = await Kb(F);
18894
18894
  return (L = V == null ? void 0 : V.data) == null ? void 0 : L.result;
18895
- }, c = async (F) => await d({ platId: F }), h = async (F) => {
18895
+ }, c = async (F) => await d({ platId: F }), p = async (F) => {
18896
18896
  var L;
18897
18897
  const V = await Fb(F);
18898
18898
  return (L = V == null ? void 0 : V.data) == null ? void 0 : L.result;
18899
- }, y = async (F) => await h(F), C = async (F) => {
18899
+ }, y = async (F) => await p(F), C = async (F) => {
18900
18900
  var L;
18901
18901
  const V = await Hb(F);
18902
18902
  return (L = V == null ? void 0 : V.data) == null ? void 0 : L.result;
@@ -18927,7 +18927,7 @@ const jb = (f) => {
18927
18927
  }, Jb = { class: "method-library" }, Xb = { class: "method-list" }, Zb = ["onClick", "title"], $b = { class: "method-name" }, em = { class: "operate" }, tm = { class: "library-right-card" }, nm = { class: "method-operate" }, lm = { class: "operate-right" }, rm = { class: "method-detail" }, am = { class: "detail-form-wrapper" }, om = { class: "detail-footer" }, sm = { class: "footer-right" }, im = /* @__PURE__ */ Cn({
18928
18928
  __name: "index",
18929
18929
  setup(f) {
18930
- const { isSuperAdmin: M, initMethodItem: v, initMethodList: I, initCreate: O, initUpdate: d, initDelete: c, initExecute: h } = Cu(), y = le([]), C = async (he) => {
18930
+ const { isSuperAdmin: M, initMethodItem: v, initMethodList: I, initCreate: O, initUpdate: d, initDelete: c, initExecute: p } = Cu(), y = le([]), C = async (he) => {
18931
18931
  var Ot, Nt, At;
18932
18932
  y.value = await I();
18933
18933
  const ke = (Ot = y.value) == null ? void 0 : Ot[0], je = ((At = (Nt = y.value) == null ? void 0 : Nt.find) == null ? void 0 : At.call(Nt, (ct) => {
@@ -19021,7 +19021,7 @@ const jb = (f) => {
19021
19021
  background: "rgba(0, 0, 0, 0.7)"
19022
19022
  }), ke = fe();
19023
19023
  try {
19024
- const Be = await h(ke);
19024
+ const Be = await p(ke);
19025
19025
  await se(Be);
19026
19026
  } catch {
19027
19027
  mn.error("执行失败");
@@ -19278,18 +19278,18 @@ const jb = (f) => {
19278
19278
  return M({
19279
19279
  openDialog: I,
19280
19280
  handleClose: d
19281
- }), (c, h) => {
19281
+ }), (c, p) => {
19282
19282
  const y = Ne("svg-icon"), C = Ne("el-dialog");
19283
19283
  return K(), Ue(C, {
19284
19284
  class: "method-library-dialog",
19285
19285
  modelValue: v.value,
19286
- "onUpdate:modelValue": h[0] || (h[0] = (A) => v.value = A),
19286
+ "onUpdate:modelValue": p[0] || (p[0] = (A) => v.value = A),
19287
19287
  fullscreen: !0,
19288
19288
  "before-close": d,
19289
19289
  "destroy-on-close": "",
19290
19290
  "show-close": !1
19291
19291
  }, {
19292
- header: N(() => h[1] || (h[1] = [])),
19292
+ header: N(() => p[1] || (p[1] = [])),
19293
19293
  default: N(() => [
19294
19294
  ue("div", um, [
19295
19295
  ue("div", cm, [
@@ -19303,7 +19303,7 @@ const jb = (f) => {
19303
19303
  B(im)
19304
19304
  ])
19305
19305
  ]),
19306
- footer: N(() => h[2] || (h[2] = [])),
19306
+ footer: N(() => p[2] || (p[2] = [])),
19307
19307
  _: 1
19308
19308
  }, 8, ["modelValue"]);
19309
19309
  };
@@ -19314,12 +19314,12 @@ const jb = (f) => {
19314
19314
  platId: {}
19315
19315
  },
19316
19316
  setup(f, { expose: M }) {
19317
- const v = f, { initMethodList: I, initAssignedMethodList: O } = Cu(), d = le([]), c = le([]), h = le([]), y = async () => {
19317
+ const v = f, { initMethodList: I, initAssignedMethodList: O } = Cu(), d = le([]), c = le([]), p = le([]), y = async () => {
19318
19318
  const T = await I();
19319
19319
  d.value = T;
19320
19320
  }, C = async () => {
19321
19321
  const T = await O(v.platId);
19322
- c.value = T, h.value = T.map((D) => D.algorithm_id);
19322
+ c.value = T, p.value = T.map((D) => D.algorithm_id);
19323
19323
  }, A = async () => {
19324
19324
  await y(), await C();
19325
19325
  };
@@ -19330,13 +19330,13 @@ const jb = (f) => {
19330
19330
  const { name: m } = D;
19331
19331
  return m.includes(T);
19332
19332
  };
19333
- return M({ init: A, getAssignedMethodIds: () => h.value }), (T, D) => {
19333
+ return M({ init: A, getAssignedMethodIds: () => p.value }), (T, D) => {
19334
19334
  const m = Ne("el-transfer");
19335
19335
  return K(), Ae("div", hm, [
19336
19336
  B(m, {
19337
19337
  class: "method-transfer",
19338
- modelValue: h.value,
19339
- "onUpdate:modelValue": D[0] || (D[0] = (W) => h.value = W),
19338
+ modelValue: p.value,
19339
+ "onUpdate:modelValue": D[0] || (D[0] = (W) => p.value = W),
19340
19340
  filterable: "",
19341
19341
  "filter-method": o,
19342
19342
  "filter-placeholder": "请输入方法名称",
@@ -19360,7 +19360,7 @@ const jb = (f) => {
19360
19360
  const v = f, I = Yt(() => {
19361
19361
  var w;
19362
19362
  return (w = v.modelInfo) == null ? void 0 : w.plat_id;
19363
- }), { initAssignMethodToPlatform: O } = Cu(), d = le(), c = le(!1), h = () => {
19363
+ }), { initAssignMethodToPlatform: O } = Cu(), d = le(), c = le(!1), p = () => {
19364
19364
  c.value = !0;
19365
19365
  }, y = () => {
19366
19366
  c.value = !1;
@@ -19384,7 +19384,7 @@ const jb = (f) => {
19384
19384
  }), C();
19385
19385
  };
19386
19386
  return M({
19387
- openDialog: h,
19387
+ openDialog: p,
19388
19388
  handleClose: C
19389
19389
  }), (w, T) => {
19390
19390
  const D = Ne("el-dialog");
@@ -19454,7 +19454,7 @@ const jb = (f) => {
19454
19454
  setup(f, { expose: M, emit: v }) {
19455
19455
  const I = Jn(un), O = v, d = f, {
19456
19456
  initModelInfo: c,
19457
- rememberPreviousModel: h,
19457
+ rememberPreviousModel: p,
19458
19458
  initModelItem: y,
19459
19459
  initModelList: C,
19460
19460
  classifyModelByAccount: A,
@@ -19545,7 +19545,7 @@ const jb = (f) => {
19545
19545
  }, Qe = async () => {
19546
19546
  await w(se.value);
19547
19547
  }, et = async (Le) => {
19548
- h(Le), c(Le), R(), vu();
19548
+ p(Le), c(Le), R(), vu();
19549
19549
  }, Rt = async (Le) => {
19550
19550
  const Me = await pe({
19551
19551
  isPlat: !1,
@@ -19600,7 +19600,7 @@ const jb = (f) => {
19600
19600
  case "set-default":
19601
19601
  const { plat_id: ht } = at;
19602
19602
  if (!ht) return;
19603
- await T(ht), await Fe(), h(at), c(at);
19603
+ await T(ht), await Fe(), p(at), c(at);
19604
19604
  break;
19605
19605
  case "edit":
19606
19606
  await Ot(at);
@@ -19655,7 +19655,7 @@ const jb = (f) => {
19655
19655
  label: "制造工艺规划及生产过程管控平台",
19656
19656
  value: "制造工艺规划及生产过程管控平台"
19657
19657
  }
19658
- ]), p = le([
19658
+ ]), h = le([
19659
19659
  // {
19660
19660
  // label: '试验/检测综合管控平台',
19661
19661
  // id: 1,
@@ -19806,7 +19806,7 @@ const jb = (f) => {
19806
19806
  const ht = await xh({
19807
19807
  userId: (Me = F.value) == null ? void 0 : Me.user_id
19808
19808
  });
19809
- ((yt = ht == null ? void 0 : ht.data) == null ? void 0 : yt.code) === 200 && (p.value = U((at = ht == null ? void 0 : ht.data) == null ? void 0 : at.result, {}));
19809
+ ((yt = ht == null ? void 0 : ht.data) == null ? void 0 : yt.code) === 200 && (h.value = U((at = ht == null ? void 0 : ht.data) == null ? void 0 : at.result, {}));
19810
19810
  } catch (ht) {
19811
19811
  throw new Error(ht);
19812
19812
  }
@@ -19893,7 +19893,7 @@ const jb = (f) => {
19893
19893
  ref: oe,
19894
19894
  class: "model-type-tree-wrapper",
19895
19895
  "node-key": "value",
19896
- data: p.value,
19896
+ data: h.value,
19897
19897
  "default-expand-all": !0,
19898
19898
  onNodeClick: ce
19899
19899
  }, {
@@ -20338,7 +20338,7 @@ const jb = (f) => {
20338
20338
  fullscreen: !0
20339
20339
  }), c = () => {
20340
20340
  O.value && (d.value.show = !0);
20341
- }, h = () => {
20341
+ }, p = () => {
20342
20342
  d.value.show = !1;
20343
20343
  }, y = () => {
20344
20344
  }, C = () => {
@@ -20364,7 +20364,7 @@ const jb = (f) => {
20364
20364
  };
20365
20365
  return M({
20366
20366
  openDialog: c,
20367
- closeDialog: h
20367
+ closeDialog: p
20368
20368
  }), (w, T) => {
20369
20369
  const D = Ne("svg-icon"), m = Ne("el-dialog");
20370
20370
  return K(), Ue(m, {
@@ -20385,7 +20385,7 @@ const jb = (f) => {
20385
20385
  ue("div", Vm, [
20386
20386
  B(D, {
20387
20387
  name: "back-0",
20388
- onClick: h
20388
+ onClick: p
20389
20389
  })
20390
20390
  ])
20391
20391
  ]),
@@ -20507,7 +20507,7 @@ const jb = (f) => {
20507
20507
  "updateVersion"
20508
20508
  ],
20509
20509
  setup(f, { emit: M }) {
20510
- const v = f, I = M, O = le([]), d = le(0), c = le([]), h = le([]), y = le(0), C = Gl(un), A = Jn(un), { originalData: o } = an(C), { platform: w } = an(A), T = le(null), D = le(0), m = le([]), W = le(0), F = le([]), V = Wl(), { loginUserInfo: L, systemKey: R } = an(V), k = Ga(un), { isSuperAdmin: q } = ui(), { initModelList: Q, getPreviousModel: z, initModelInfo: fe } = ii(), { initModelToWorkspaceData: se } = Fm(), te = le(!1), he = le(!1), ke = () => {
20510
+ const v = f, I = M, O = le([]), d = le(0), c = le([]), p = le([]), y = le(0), C = Gl(un), A = Jn(un), { originalData: o } = an(C), { platform: w } = an(A), T = le(null), D = le(0), m = le([]), W = le(0), F = le([]), V = Wl(), { loginUserInfo: L, systemKey: R } = an(V), k = Ga(un), { isSuperAdmin: q } = ui(), { initModelList: Q, getPreviousModel: z, initModelInfo: fe } = ii(), { initModelToWorkspaceData: se } = Fm(), te = le(!1), he = le(!1), ke = () => {
20511
20511
  te.value = !0;
20512
20512
  }, Be = () => {
20513
20513
  te.value = !1;
@@ -20526,13 +20526,13 @@ const jb = (f) => {
20526
20526
  let be = {};
20527
20527
  if ((v == null ? void 0 : v.pageKey) !== "") {
20528
20528
  const H = await gr(v == null ? void 0 : v.pageKey, sessionStorage.getItem("systemKey"), ""), oe = await gr("弯管仿真加工分析/管件解析", sessionStorage.getItem("systemKey"), "");
20529
- let _e = ["管长", "外径"], p = {};
20529
+ let _e = ["管长", "外径"], h = {};
20530
20530
  oe == null || oe.forEach((E) => {
20531
20531
  var U;
20532
20532
  (E == null ? void 0 : E.comp) === "Form" && ((U = E == null ? void 0 : E.compData) == null || U.forEach((J) => {
20533
20533
  var pe;
20534
20534
  (J == null ? void 0 : J.key) === "formContent" && ((pe = J == null ? void 0 : J.contents) == null || pe.forEach((De) => {
20535
- _e.includes(De == null ? void 0 : De.key) && (p[De.key] = De.value);
20535
+ _e.includes(De == null ? void 0 : De.key) && (h[De.key] = De.value);
20536
20536
  }));
20537
20537
  }));
20538
20538
  }), H == null || H.forEach((E) => {
@@ -20548,7 +20548,7 @@ const jb = (f) => {
20548
20548
  );
20549
20549
  }), be[E.name] = X, be[E.name + "Content"] = E;
20550
20550
  }
20551
- }), be.extra = p;
20551
+ }), be.extra = h;
20552
20552
  const i = await Wp(), b = await Fp();
20553
20553
  be.singleRobotData = i, be.doubleRobotData = b, I("threeData", be);
20554
20554
  }
@@ -20573,8 +20573,8 @@ const jb = (f) => {
20573
20573
  }, ze = (be) => {
20574
20574
  var oe;
20575
20575
  const H = (oe = gn(be == null ? void 0 : be.wholeValue)) == null ? void 0 : oe.map((_e) => {
20576
- var p;
20577
- return (_e == null ? void 0 : _e.comp) === "Form" && (_e.compData = (p = _e.compData) == null ? void 0 : p.map((i) => ((i == null ? void 0 : i.key) === "formContent" && (i.contents = yh(i == null ? void 0 : i.contents)), i))), _e;
20576
+ var h;
20577
+ return (_e == null ? void 0 : _e.comp) === "Form" && (_e.compData = (h = _e.compData) == null ? void 0 : h.map((i) => ((i == null ? void 0 : i.key) === "formContent" && (i.contents = yh(i == null ? void 0 : i.contents)), i))), _e;
20578
20578
  });
20579
20579
  I("change", {
20580
20580
  originalContents: o.value,
@@ -20597,7 +20597,7 @@ const jb = (f) => {
20597
20597
  const H = be.target.files;
20598
20598
  if (!H) return;
20599
20599
  O.value = [], c.value = [], W.value = H.length;
20600
- const oe = Array.from(H).map(async (_e) => await new Promise((p) => {
20600
+ const oe = Array.from(H).map(async (_e) => await new Promise((h) => {
20601
20601
  const i = new FileReader();
20602
20602
  i.onload = (b) => {
20603
20603
  try {
@@ -20606,14 +20606,14 @@ const jb = (f) => {
20606
20606
  console.error("解析失败:", E);
20607
20607
  return;
20608
20608
  }
20609
- }, i.onerror = () => p(`读取 ${_e.name} 失败`), i.readAsText(_e), be.target.value = "", T.value = null, d.value++;
20609
+ }, i.onerror = () => h(`读取 ${_e.name} 失败`), i.readAsText(_e), be.target.value = "", T.value = null, d.value++;
20610
20610
  }));
20611
20611
  await Promise.all(oe);
20612
20612
  };
20613
20613
  Jt(
20614
20614
  () => [v == null ? void 0 : v.content, v == null ? void 0 : v.jsonContents],
20615
20615
  async () => {
20616
- await cp(), O.value = v.content, h.value = v == null ? void 0 : v.jsonContents;
20616
+ await cp(), O.value = v.content, p.value = v == null ? void 0 : v.jsonContents;
20617
20617
  },
20618
20618
  { deep: !0, immediate: !0 }
20619
20619
  ), Jt(
@@ -20646,8 +20646,8 @@ const jb = (f) => {
20646
20646
  if (i.name === "AbortError") return !1;
20647
20647
  throw i;
20648
20648
  }
20649
- const _e = window.URL.createObjectURL(be), p = document.createElement("a");
20650
- return p.href = _e, p.setAttribute("download", H), document.body.appendChild(p), p.click(), document.body.removeChild(p), window.URL.revokeObjectURL(_e), !0;
20649
+ const _e = window.URL.createObjectURL(be), h = document.createElement("a");
20650
+ return h.href = _e, h.setAttribute("download", H), document.body.appendChild(h), h.click(), document.body.removeChild(h), window.URL.revokeObjectURL(_e), !0;
20651
20651
  }, wt = async () => {
20652
20652
  var H;
20653
20653
  const be = (H = L == null ? void 0 : L.value) == null ? void 0 : H.plat_id;
@@ -20658,13 +20658,13 @@ const jb = (f) => {
20658
20658
  he.value = !1, A.setImportLoading(!0);
20659
20659
  try {
20660
20660
  const oe = await Lh({ platId: parseInt(be) }), _e = new Blob([oe.data], { type: "text/plain;charset=utf-8" });
20661
- let p = `model_${be}.ild`;
20661
+ let h = `model_${be}.ild`;
20662
20662
  const i = oe.headers["content-disposition"];
20663
20663
  if (i) {
20664
20664
  const E = i.match(/filename="?([^"]+)"?/);
20665
- E && E.length === 2 && (p = E[1].replace(".txt", ".ild"));
20665
+ E && E.length === 2 && (h = E[1].replace(".txt", ".ild"));
20666
20666
  }
20667
- await Rt(_e, p, ".ild") && mn.success("导出成功");
20667
+ await Rt(_e, h, ".ild") && mn.success("导出成功");
20668
20668
  } catch {
20669
20669
  mn.error("导出失败");
20670
20670
  } finally {
@@ -20680,13 +20680,13 @@ const jb = (f) => {
20680
20680
  he.value = !1, A.setImportLoading(!0);
20681
20681
  try {
20682
20682
  const oe = await Cf({ platId: parseInt(be) }), _e = new Blob([oe.data], { type: "text/plain;charset=utf-8" });
20683
- let p = `model_data_${be}.ild`;
20683
+ let h = `model_data_${be}.ild`;
20684
20684
  const i = oe.headers["content-disposition"];
20685
20685
  if (i) {
20686
20686
  const E = i.match(/filename="?([^"]+)"?/);
20687
- E && E.length === 2 && (p = E[1].replace(".txt", ".ild"));
20687
+ E && E.length === 2 && (h = E[1].replace(".txt", ".ild"));
20688
20688
  }
20689
- await Rt(_e, p, ".ild") && mn.success("导出成功");
20689
+ await Rt(_e, h, ".ild") && mn.success("导出成功");
20690
20690
  } catch {
20691
20691
  mn.error("导出失败");
20692
20692
  } finally {
@@ -20767,7 +20767,7 @@ const jb = (f) => {
20767
20767
  },
20768
20768
  { deep: !0 }
20769
20769
  ), (be, H) => {
20770
- const oe = Ne("svg-icon"), _e = Ne("el-button"), p = Ne("el-dialog");
20770
+ const oe = Ne("svg-icon"), _e = Ne("el-button"), h = Ne("el-dialog");
20771
20771
  return K(), Ae("div", l1, [
20772
20772
  (v == null ? void 0 : v.mode) === "edit" ? (K(), Ae("div", r1, [
20773
20773
  ue("div", a1, [
@@ -20789,7 +20789,7 @@ const jb = (f) => {
20789
20789
  platform: P(w),
20790
20790
  content: O.value,
20791
20791
  onChange: ze,
20792
- jsonContents: h.value,
20792
+ jsonContents: p.value,
20793
20793
  onContentChange: Xt,
20794
20794
  onBuildContent: je,
20795
20795
  key: y.value,
@@ -20918,7 +20918,7 @@ const jb = (f) => {
20918
20918
  "history-data": f.workspaceHistoryData,
20919
20919
  onExecuteWorkspace: ie
20920
20920
  }, null, 8, ["history-data"]),
20921
- B(p, {
20921
+ B(h, {
20922
20922
  modelValue: he.value,
20923
20923
  "onUpdate:modelValue": H[1] || (H[1] = (i) => he.value = i),
20924
20924
  title: "导出",