@wyltils/ems-editor 1.0.47 → 1.0.49

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.
package/dist/index.es.js CHANGED
@@ -1,8 +1,8 @@
1
1
  var j$e = Object.defineProperty;
2
2
  var q$e = (n, e, t) => e in n ? j$e(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var xs = (n, e, t) => q$e(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { defineComponent as Cr, createElementBlock as ke, openBlock as ee, createElementVNode as te, reactive as Mu, onBeforeUnmount as ho, h as dC, Fragment as si, markRaw as K$e, Teleport as JIe, createApp as Y$e, useCssVars as Voe, ref as Ge, inject as Li, provide as yu, onMounted as Js, createCommentVNode as nt, normalizeStyle as Vi, renderSlot as h8, computed as ui, unref as mt, toDisplayString as ro, watch as Fn, resolveComponent as we, createBlock as it, withCtx as X, renderList as hs, createTextVNode as Yi, nextTick as N0, normalizeClass as Is, createVNode as V, withModifiers as QIe, isRef as X$e, getCurrentInstance as Boe, readonly as eke, getCurrentScope as Z$e, onScopeDispose as J$e, shallowRef as Q$e, useSlots as eUe, withDirectives as MM, vModelText as tUe, vShow as u8, pushScopeId as kT, popScopeId as NT, resolveDynamicComponent as $ge, mergeProps as Uge } from "vue";
5
- import iUe, { ElMessageBox as BY, ElMessage as er } from "element-plus";
4
+ import { defineComponent as Cr, createElementBlock as ke, openBlock as ee, createElementVNode as te, reactive as Mu, onBeforeUnmount as ho, h as dC, Fragment as si, markRaw as K$e, Teleport as JIe, createApp as Y$e, useCssVars as Voe, ref as Ge, inject as Li, provide as yu, onMounted as Qs, createCommentVNode as nt, normalizeStyle as Vi, renderSlot as h8, computed as ui, unref as mt, toDisplayString as ro, watch as Fn, resolveComponent as we, createBlock as it, withCtx as X, renderList as hs, createTextVNode as Yi, nextTick as N0, normalizeClass as Is, createVNode as V, withModifiers as QIe, isRef as X$e, getCurrentInstance as Boe, readonly as eke, getCurrentScope as Z$e, onScopeDispose as J$e, shallowRef as Q$e, useSlots as eUe, withDirectives as MM, vModelText as tUe, vShow as u8, pushScopeId as kT, popScopeId as NT, resolveDynamicComponent as $ge, mergeProps as Uge } from "vue";
5
+ import iUe, { ElMessageBox as BY, ElMessage as $s } from "element-plus";
6
6
  import { defineStore as Woe, storeToRefs as MT } from "pinia";
7
7
  import * as fo from "monaco-editor";
8
8
  /*! Element Plus Icons Vue v2.3.2 */
@@ -24515,7 +24515,7 @@ const Vn = (n, e) => {
24515
24515
  }, a = ({ current: l }) => {
24516
24516
  i.value = { ...i.value, ...l };
24517
24517
  };
24518
- return yu("x6NodeData", i), yu("width", s), yu("height", r), Js(() => {
24518
+ return yu("x6NodeData", i), yu("width", s), yu("height", r), Qs(() => {
24519
24519
  s.value = t.size().width, r.value = t.size().height, t.on("change:data", a), t.on("change:size", o);
24520
24520
  }), ho(() => {
24521
24521
  t.off("change:data", a), t.off("change:size", o);
@@ -24548,7 +24548,7 @@ const Vn = (n, e) => {
24548
24548
  color: ((a = i.value) == null ? void 0 : a.color) || "#ffffff"
24549
24549
  };
24550
24550
  });
24551
- return Js(() => {
24551
+ return Qs(() => {
24552
24552
  }), ho(() => {
24553
24553
  }), (a, l) => (ee(), ke("div", _rt, [
24554
24554
  mt(i).svgContent ? (ee(), ke("div", {
@@ -24700,15 +24700,11 @@ const Ert = { class: "formNode" }, Irt = {
24700
24700
  return "YYYY";
24701
24701
  }
24702
24702
  }, c = Ge(!1), h = () => {
24703
- o.value.buttonConfirm ? BY.confirm(
24704
- o.value.buttonConfirmTips,
24705
- "提示",
24706
- {
24707
- confirmButtonText: "确定",
24708
- cancelButtonText: "取消",
24709
- type: "warning"
24710
- }
24711
- ).then(() => {
24703
+ o.value.buttonConfirm ? BY.confirm(o.value.buttonConfirmTips, "提示", {
24704
+ confirmButtonText: "确定",
24705
+ cancelButtonText: "取消",
24706
+ type: "warning"
24707
+ }).then(() => {
24712
24708
  s.value.dataSource.type == "http" && d(i);
24713
24709
  }).catch(() => {
24714
24710
  }) : (console.log(a.value, s.value), setTimeout(() => {
@@ -24731,13 +24727,13 @@ const Ert = { class: "formNode" }, Irt = {
24731
24727
  c.value = !0;
24732
24728
  try {
24733
24729
  r.httpRequest(m).then((v) => {
24734
- c.value = !1, v && m.parse && g(v, p.id), o.value.buttonSuccess && er.success(o.value.buttonSuccessTips);
24730
+ c.value = !1, v && v.success && m.parse && (g(v, p.id), o.value.buttonSuccess && $s.success(o.value.buttonSuccessTips)), v && !v.success && m.parse && (g(v, p.id), o.value.buttonError && $s.error(v.msg || "操作失败!"));
24735
24731
  });
24736
24732
  } catch (v) {
24737
- c.value = !1, er.error("操作失败!"), console.error(v);
24733
+ c.value = !1, $s.error("操作失败!"), console.error(v);
24738
24734
  }
24739
24735
  } else
24740
- er.error("未绑定请求!");
24736
+ $s.error("未绑定请求!");
24741
24737
  }, f = (p) => {
24742
24738
  g({}, p.id);
24743
24739
  }, g = (p, m) => {
@@ -24751,7 +24747,9 @@ const Ert = { class: "formNode" }, Irt = {
24751
24747
  let y = {};
24752
24748
  (b = _.dataSource.bindNode) == null || b.forEach((x) => {
24753
24749
  const L = e.getCellById(x).getData(), D = L.dataSource.fields;
24754
- y[e.getCellById(x).getData().name] = Object.keys(D).reduce((T, E) => (T[E] = Oae(L, D[E]) ?? null, T), {});
24750
+ y[e.getCellById(x).getData().name] = Object.keys(
24751
+ D
24752
+ ).reduce((T, E) => (T[E] = Oae(L, D[E]) ?? null, T), {});
24755
24753
  });
24756
24754
  const w = new Function("data", "$", _.dataSource.parse);
24757
24755
  _.dataSource.type == "opcua" ? w({ payload: p, pointTemp: _.dataSource.point }, y) : (_.dataSource.type == "http" || _.dataSource.type == "node") && w(p, y);
@@ -24767,13 +24765,16 @@ const Ert = { class: "formNode" }, Irt = {
24767
24765
  Object.keys(T).forEach((E) => {
24768
24766
  if (T[E] !== null) {
24769
24767
  const I = D[E], k = T[E];
24770
- L.setData(vH(L.getData(), I, k), { deep: !1 });
24768
+ L.setData(
24769
+ vH(L.getData(), I, k),
24770
+ { deep: !1 }
24771
+ );
24771
24772
  }
24772
24773
  });
24773
24774
  }
24774
24775
  }
24775
24776
  } else
24776
- er.error("没有执行操作!");
24777
+ $s.error("没有执行操作!");
24777
24778
  };
24778
24779
  return (p, m) => {
24779
24780
  const v = we("el-input"), _ = we("el-switch"), b = we("el-option"), y = we("el-select"), w = we("el-date-picker"), S = we("el-input-number"), x = we("el-button");
@@ -24792,7 +24793,10 @@ const Ert = { class: "formNode" }, Irt = {
24792
24793
  "onUpdate:modelValue": m[1] || (m[1] = (L) => a.value = L),
24793
24794
  size: o.value.size,
24794
24795
  class: "ml-2",
24795
- style: Vi({ "--el-switch-on-color": o.value.buttonOnColor, "--el-switch-off-color": o.value.buttonOffColor }),
24796
+ style: Vi({
24797
+ "--el-switch-on-color": o.value.buttonOnColor,
24798
+ "--el-switch-off-color": o.value.buttonOffColor
24799
+ }),
24796
24800
  onChange: h
24797
24801
  }, null, 8, ["modelValue", "size", "style"])) : nt("", !0),
24798
24802
  mt(s).type == "select" ? (ee(), it(y, {
@@ -24889,12 +24893,12 @@ const Ert = { class: "formNode" }, Irt = {
24889
24893
  ]);
24890
24894
  };
24891
24895
  }
24892
- }, krt = /* @__PURE__ */ Vn(Irt, [["__scopeId", "data-v-b8c42194"]]), HAe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAADMElEQVR4AeyZPYgTQRTH39topXKXXU/lUFAkEVstchYBBQsrscmhaHGFCkkQPxALG8/C6vA7u0GuOBBFSGMjNoofYCPYa7IHd4WFIGRF7c7L+N5e9pLL7W52klw2C1nmZWbfzM78f/smO8msAhE/hgBhB3AYgWEEurwD9hRSdfNe3DDfR8qK5llmV1TDvA8IVxHgaKRMwDNVL09zBCaBDgHwIUpGkgFQucAA40AHitpHK5c4FgVjrSSZ0zgDcCGyNgQIO3QDE4HR4te9ml6Z0ozyqZ1Pf2wJemMGAkA1Kk8UsWlBIM4JUF4u/f3zXeXHewCK0AE0wzQA8CKsPUbp9AotrF+2PjLHqOyZQgWIF8unae3JeqmjhfXw5hhkvOrZHyoA1vAki/A1hAm/+lABSNgIWbu0x69BuAAKlv3EcR0iLnLuZaEC0BPnnZcwxy9AvHXKbrkEgNvl3fms7P5XIGq3vXoRCAUrm3juVc/+UAFYQDV/YLoO8ZnPhYCfAOIT3fkbJP4S+/ysI4AxfWGXWpyf8+tYpo4hqrnEBBla+cSOai6ZtnLJmSB9dASwjMslEGJK1SvXgwyykW2kAWiJv0YhTtuiEGdUff6EXQ7pQwpg5PG3faTzLlkjoSips+buhqO/JSmAWCz2wkXeNvgHJRd/X1yBAehH101SlCJbnwQcoak1u77C20PtM2RdgwcC0PTFgwLgjrccu+Y8fakv26U2HyScf6Cx+K4hAgEIXAr2yER8oBmV4376m8Q7zbqCaAug0t4LjeQ+daiiNQnAEq8TrX4+dxHPbraOIXwBthfMQ4DKLR5BwuL2OtFygY94p2VHEL4ANQXo35LTv0wu0pr9T2vlmgDiVxoCSEN4AshOHUeBkwuALEHkJcQ7l0pBuAJohUqqg6njCFjNCaJAJ/y0oUwqBYZwBRAKPpQabmMaB4JYA8DTho30pMgGIdkQrKnZmoU1APhp41hzi/DLGXB0Ned1XQ2AuiNq2RAg7IhxBH71XET/OvzNAG/6N16vRxKvlWouMck7ALToROodGW25nKvmkmc4AmDRDoAVkfdjqzrr+0U2QK8D28/+Ig/wHwAA///iiMh1AAAABklEQVQDAClVhH+eelZjAAAAAElFTkSuQmCC", Nrt = { class: "imgNode" }, Mrt = ["src"], Art = {
24896
+ }, krt = /* @__PURE__ */ Vn(Irt, [["__scopeId", "data-v-a11b243d"]]), HAe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAADMElEQVR4AeyZPYgTQRTH39topXKXXU/lUFAkEVstchYBBQsrscmhaHGFCkkQPxALG8/C6vA7u0GuOBBFSGMjNoofYCPYa7IHd4WFIGRF7c7L+N5e9pLL7W52klw2C1nmZWbfzM78f/smO8msAhE/hgBhB3AYgWEEurwD9hRSdfNe3DDfR8qK5llmV1TDvA8IVxHgaKRMwDNVL09zBCaBDgHwIUpGkgFQucAA40AHitpHK5c4FgVjrSSZ0zgDcCGyNgQIO3QDE4HR4te9ml6Z0ozyqZ1Pf2wJemMGAkA1Kk8UsWlBIM4JUF4u/f3zXeXHewCK0AE0wzQA8CKsPUbp9AotrF+2PjLHqOyZQgWIF8unae3JeqmjhfXw5hhkvOrZHyoA1vAki/A1hAm/+lABSNgIWbu0x69BuAAKlv3EcR0iLnLuZaEC0BPnnZcwxy9AvHXKbrkEgNvl3fms7P5XIGq3vXoRCAUrm3juVc/+UAFYQDV/YLoO8ZnPhYCfAOIT3fkbJP4S+/ysI4AxfWGXWpyf8+tYpo4hqrnEBBla+cSOai6ZtnLJmSB9dASwjMslEGJK1SvXgwyykW2kAWiJv0YhTtuiEGdUff6EXQ7pQwpg5PG3faTzLlkjoSips+buhqO/JSmAWCz2wkXeNvgHJRd/X1yBAehH101SlCJbnwQcoak1u77C20PtM2RdgwcC0PTFgwLgjrccu+Y8fakv26U2HyScf6Cx+K4hAgEIXAr2yER8oBmV4376m8Q7zbqCaAug0t4LjeQ+daiiNQnAEq8TrX4+dxHPbraOIXwBthfMQ4DKLR5BwuL2OtFygY94p2VHEL4ANQXo35LTv0wu0pr9T2vlmgDiVxoCSEN4AshOHUeBkwuALEHkJcQ7l0pBuAJohUqqg6njCFjNCaJAJ/y0oUwqBYZwBRAKPpQabmMaB4JYA8DTho30pMgGIdkQrKnZmoU1APhp41hzi/DLGXB0Ned1XQ2AuiNq2RAg7IhxBH71XET/OvzNAG/6N16vRxKvlWouMck7ALToROodGW25nKvmkmc4AmDRDoAVkfdjqzrr+0U2QK8D28/+Ig/wHwAA///iiMh1AAAABklEQVQDAClVhH+eelZjAAAAAElFTkSuQmCC", Nrt = { class: "imgNode" }, Mrt = ["src"], Art = {
24893
24897
  __name: "imageNode",
24894
24898
  setup(n) {
24895
24899
  Li("getNode");
24896
24900
  const e = Li("x6NodeData"), t = ui(() => ({ width: `${e.value.imgWidth ?? 50}px`, height: `${e.value.imgHeight ?? 50}px` }));
24897
- return Js(() => {
24901
+ return Qs(() => {
24898
24902
  }), ho(() => {
24899
24903
  }), (i, s) => (ee(), ke("div", Nrt, [
24900
24904
  te("img", {
@@ -24989,7 +24993,7 @@ const Ert = { class: "formNode" }, Irt = {
24989
24993
  const w = g.value;
24990
24994
  w && (c.value = w.scrollHeight > w.clientHeight);
24991
24995
  }, g = Ge(null);
24992
- Js(() => {
24996
+ Qs(() => {
24993
24997
  N0(f), window.addEventListener("resize", f);
24994
24998
  }), ho(() => {
24995
24999
  window.removeEventListener("resize", f);
@@ -69008,7 +69012,7 @@ const BLt = {
69008
69012
  }, h = WAe(() => {
69009
69013
  r && r.resize();
69010
69014
  }, 200);
69011
- return Js(() => {
69015
+ return Qs(() => {
69012
69016
  a.value && setTimeout(() => {
69013
69017
  r = Mdt(s.value), c(a.value);
69014
69018
  }, 200), s.value && (o = new ResizeObserver(() => {
@@ -69593,7 +69597,7 @@ const BLt = {
69593
69597
  }
69594
69598
  }
69595
69599
  };
69596
- return Js(() => {
69600
+ return Qs(() => {
69597
69601
  r.value = !0;
69598
69602
  }), (d, f) => {
69599
69603
  const g = we("el-option"), p = we("el-select"), m = we("el-form-item"), v = we("el-input"), _ = we("el-form"), b = we("el-button"), y = we("el-dialog");
@@ -69702,7 +69706,7 @@ const BLt = {
69702
69706
  r("close");
69703
69707
  }
69704
69708
  let a = null;
69705
- return Js(() => {
69709
+ return Qs(() => {
69706
69710
  const { width: l, height: c } = t.style;
69707
69711
  a = new Se({
69708
69712
  container: i.value,
@@ -69755,7 +69759,7 @@ const BLt = {
69755
69759
  s.value = !0;
69756
69760
  }, o = () => {
69757
69761
  e.saveMenu(() => {
69758
- er.success("保存成功!"), e.loadAllMenus();
69762
+ $s.success("保存成功!"), e.loadAllMenus();
69759
69763
  });
69760
69764
  };
69761
69765
  function a(b) {
@@ -69765,19 +69769,19 @@ const BLt = {
69765
69769
  const l = () => {
69766
69770
  BY.confirm("确认清空画布吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
69767
69771
  e.clearMenu(() => {
69768
- er.success("清空成功!");
69772
+ $s.success("清空成功!");
69769
69773
  });
69770
69774
  });
69771
69775
  }, c = () => {
69772
69776
  if (!t.groupSelectedNodes()) {
69773
- er.warning("请先框选至少两个节点后再组合");
69777
+ $s.warning("请先框选至少两个节点后再组合");
69774
69778
  return;
69775
69779
  }
69776
- er.success("组合完成");
69780
+ $s.success("组合完成");
69777
69781
  }, h = () => {
69778
69782
  BY.confirm("确认删除画布吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
69779
69783
  e.removeMenu(() => {
69780
- er.success("删除成功!");
69784
+ $s.success("删除成功!");
69781
69785
  });
69782
69786
  });
69783
69787
  }, u = Ge(!1), d = () => {
@@ -69801,7 +69805,7 @@ const BLt = {
69801
69805
  return T.isNode && T.isNode() && !((E = T.id) != null && E.includes("line"));
69802
69806
  });
69803
69807
  if (w.length < 2) {
69804
- er.warning("请先框选至少两个节点");
69808
+ $s.warning("请先框选至少两个节点");
69805
69809
  return;
69806
69810
  }
69807
69811
  const S = w.reduce(
@@ -69817,7 +69821,7 @@ const BLt = {
69817
69821
  x === "1" ? R = S.minY : x === "2" ? R = L - E.height / 2 : x === "3" ? R = S.maxY - E.height : x === "4" ? N = S.minX : x === "5" ? N = D - E.width / 2 : x === "6" && (N = S.maxX - E.width), T.position(N, R);
69818
69822
  });
69819
69823
  };
69820
- return Js(() => {
69824
+ return Qs(() => {
69821
69825
  window.addEventListener("keydown", a);
69822
69826
  }), ho(() => {
69823
69827
  window.removeEventListener("keydown", a);
@@ -70058,7 +70062,7 @@ const BLt = {
70058
70062
  props: ["width", "height"],
70059
70063
  setup(n) {
70060
70064
  const e = aE(), t = io(), { style: i } = MT(t), s = n, r = Ge(null), o = Pae(), a = Li("topoApi");
70061
- return yu("graph", () => t.graph), Js(() => {
70065
+ return yu("graph", () => t.graph), Qs(() => {
70062
70066
  t.el = r.value, t.style.height = s.height || 1080, t.style.width = s.width || 1920, t.init(), e.services = a, e.loadAllMenus(!0);
70063
70067
  }), ho(() => {
70064
70068
  t.graph && t.graph.dispose();
@@ -70083,7 +70087,7 @@ const BLt = {
70083
70087
  const e = aE(), { menus: t, current: i } = MT(e), s = (r, o) => {
70084
70088
  e.setCurrentMenu(o);
70085
70089
  };
70086
- return Js(() => {
70090
+ return Qs(() => {
70087
70091
  }), (r, o) => {
70088
70092
  const a = we("el-icon"), l = we("el-menu-item"), c = we("el-sub-menu"), h = we("el-menu");
70089
70093
  return ee(), ke("div", p2t, [
@@ -70800,34 +70804,124 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
70800
70804
  name: "基础",
70801
70805
  layout: "1fr 1fr 1fr",
70802
70806
  list: [
70803
- { name: "线段", renderType: "svg", icon: "icon-xianduan", data: { type: "line" } },
70804
- { name: "文本", renderType: "text", icon: "icon-wenzi", data: { type: "text", text: "测试" } },
70805
- { name: "图标", renderType: "svg", icon: "icon-tubiao", data: { type: "svg" } },
70806
- { name: "图片", renderType: "image", icon: "icon-tupian", data: { type: "img", imgData: HAe, imgWidth: 48, imgHeight: 48 } },
70807
- { name: "矩形", renderType: "text", icon: "icon-xingzhuang-juxing", data: { type: "text", text: "", borderWidth: 1, borderStyle: "solid" } },
70808
- { name: "圆形", renderType: "text", icon: "icon-radio-on-full", data: { type: "text", text: "", borderRadius: 25, backgroundColor: "rgb(242, 255, 0)" } }
70807
+ {
70808
+ name: "线段",
70809
+ renderType: "svg",
70810
+ icon: "icon-xianduan",
70811
+ data: { type: "line" }
70812
+ },
70813
+ {
70814
+ name: "文本",
70815
+ renderType: "text",
70816
+ icon: "icon-wenzi",
70817
+ data: { type: "text", text: "测试" }
70818
+ },
70819
+ {
70820
+ name: "图标",
70821
+ renderType: "svg",
70822
+ icon: "icon-tubiao",
70823
+ data: { type: "svg" }
70824
+ },
70825
+ {
70826
+ name: "图片",
70827
+ renderType: "image",
70828
+ icon: "icon-tupian",
70829
+ data: { type: "img", imgData: HAe, imgWidth: 48, imgHeight: 48 }
70830
+ },
70831
+ {
70832
+ name: "矩形",
70833
+ renderType: "text",
70834
+ icon: "icon-xingzhuang-juxing",
70835
+ data: {
70836
+ type: "text",
70837
+ text: "",
70838
+ borderWidth: 1,
70839
+ borderStyle: "solid"
70840
+ }
70841
+ },
70842
+ {
70843
+ name: "圆形",
70844
+ renderType: "text",
70845
+ icon: "icon-radio-on-full",
70846
+ data: {
70847
+ type: "text",
70848
+ text: "",
70849
+ borderRadius: 25,
70850
+ backgroundColor: "rgb(242, 255, 0)"
70851
+ }
70852
+ }
70809
70853
  ]
70810
70854
  },
70811
70855
  {
70812
70856
  name: "表单",
70813
70857
  layout: "1fr 1fr 1fr",
70814
70858
  list: [
70815
- { name: "按钮", renderType: "form", icon: "icon-biaodanzujian-anniu", data: { type: "button" } },
70816
- { name: "开关", renderType: "form", icon: "icon-kaiguan-1", data: { type: "switch" } },
70817
- { name: "文本输入框", renderType: "form", icon: "icon-biaodanzujian-shurukuang", data: { type: "input" } },
70818
- { name: "数字输入框", renderType: "form", icon: "icon-shuzhi", data: { type: "number" } },
70819
- { name: "单选框", renderType: "form", icon: "icon-biaodanzujian-xialakuang", data: { type: "select" } },
70820
- { name: "多选框", renderType: "form", icon: "icon-biaodanzujian-xialakuang", data: { type: "selectMore" } },
70821
- { name: "日期框", renderType: "form", icon: "icon-riqikuang", data: { type: "date" } },
70822
- { name: "日期范围", renderType: "form", icon: "icon-riqifanwei", data: { type: "dateRange" } },
70823
- { name: "计划时间面板", renderType: "planTime", icon: "icon-jihuashijian", data: { type: "planTime" } }
70859
+ {
70860
+ name: "按钮",
70861
+ renderType: "form",
70862
+ icon: "icon-biaodanzujian-anniu",
70863
+ data: { type: "button" }
70864
+ },
70865
+ {
70866
+ name: "开关",
70867
+ renderType: "form",
70868
+ icon: "icon-kaiguan-1",
70869
+ data: { type: "switch" }
70870
+ },
70871
+ {
70872
+ name: "文本输入框",
70873
+ renderType: "form",
70874
+ icon: "icon-biaodanzujian-shurukuang",
70875
+ data: { type: "input" }
70876
+ },
70877
+ {
70878
+ name: "数字输入框",
70879
+ renderType: "form",
70880
+ icon: "icon-shuzhi",
70881
+ data: { type: "number" }
70882
+ },
70883
+ {
70884
+ name: "单选框",
70885
+ renderType: "form",
70886
+ icon: "icon-biaodanzujian-xialakuang",
70887
+ data: { type: "select" }
70888
+ },
70889
+ {
70890
+ name: "多选框",
70891
+ renderType: "form",
70892
+ icon: "icon-biaodanzujian-xialakuang",
70893
+ data: { type: "selectMore" }
70894
+ },
70895
+ {
70896
+ name: "日期框",
70897
+ renderType: "form",
70898
+ icon: "icon-riqikuang",
70899
+ data: { type: "date" }
70900
+ },
70901
+ {
70902
+ name: "日期范围",
70903
+ renderType: "form",
70904
+ icon: "icon-riqifanwei",
70905
+ data: { type: "dateRange" }
70906
+ },
70907
+ {
70908
+ name: "计划时间面板",
70909
+ renderType: "planTime",
70910
+ icon: "icon-jihuashijian",
70911
+ data: { type: "planTime" }
70912
+ }
70824
70913
  ]
70825
70914
  },
70826
70915
  {
70827
70916
  name: "表格",
70828
70917
  layout: "1fr 1fr 1fr",
70829
70918
  list: [
70830
- { name: "列表", renderType: "table", icon: "icon-biaodanzujian-biaoge", data: { type: "table-1" } }
70919
+ {
70920
+ name: "列表",
70921
+ renderType: "table",
70922
+ icon: "icon-biaodanzujian-biaoge",
70923
+ data: { type: "table-1" }
70924
+ }
70831
70925
  ]
70832
70926
  }
70833
70927
  ]
@@ -70863,25 +70957,60 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
70863
70957
  name: "折线图",
70864
70958
  layout: "1fr 1fr 1fr",
70865
70959
  list: [
70866
- { name: "折线图", renderType: "echart", icon: "icon-tubiao-zhexiantu", data: { type: "echart_1" } },
70867
- { name: "面积图", renderType: "echart", icon: "icon-tubiao-zhexiantu", data: { type: "echart_2" } },
70868
- { name: "双Y轴折线图", renderType: "echart", icon: "icon-tubiao-zhexiantu", data: { type: "echart_3" } }
70960
+ {
70961
+ name: "折线图",
70962
+ renderType: "echart",
70963
+ icon: "icon-tubiao-zhexiantu",
70964
+ data: { type: "echart_1" }
70965
+ },
70966
+ {
70967
+ name: "面积图",
70968
+ renderType: "echart",
70969
+ icon: "icon-tubiao-zhexiantu",
70970
+ data: { type: "echart_2" }
70971
+ },
70972
+ {
70973
+ name: "双Y轴折线图",
70974
+ renderType: "echart",
70975
+ icon: "icon-tubiao-zhexiantu",
70976
+ data: { type: "echart_3" }
70977
+ }
70869
70978
  ]
70870
70979
  },
70871
70980
  {
70872
70981
  name: "柱状图",
70873
70982
  layout: "1fr 1fr 1fr",
70874
70983
  list: [
70875
- { name: "柱状图", renderType: "echart", icon: "icon-icon_chart", data: { type: "echart_4" } },
70876
- { name: "堆叠柱状图", renderType: "echart", icon: "icon-icon_chart", data: { type: "echart_5" } }
70984
+ {
70985
+ name: "柱状图",
70986
+ renderType: "echart",
70987
+ icon: "icon-icon_chart",
70988
+ data: { type: "echart_4" }
70989
+ },
70990
+ {
70991
+ name: "堆叠柱状图",
70992
+ renderType: "echart",
70993
+ icon: "icon-icon_chart",
70994
+ data: { type: "echart_5" }
70995
+ }
70877
70996
  ]
70878
70997
  },
70879
70998
  {
70880
70999
  name: "饼图",
70881
71000
  layout: "1fr 1fr 1fr",
70882
71001
  list: [
70883
- { name: "基础饼图", renderType: "echart", icon: "icon-bingtu", data: { type: "echart_6" } },
70884
- { name: "环状图", renderType: "echart", icon: "icon-bingtu", data: { type: "echart_7" } }
71002
+ {
71003
+ name: "基础饼图",
71004
+ renderType: "echart",
71005
+ icon: "icon-bingtu",
71006
+ data: { type: "echart_6" }
71007
+ },
71008
+ {
71009
+ name: "环状图",
71010
+ renderType: "echart",
71011
+ icon: "icon-bingtu",
71012
+ data: { type: "echart_7" }
71013
+ }
70885
71014
  ]
70886
71015
  }
70887
71016
  // {
@@ -70904,8 +71033,22 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
70904
71033
  name: "定制",
70905
71034
  layout: "1fr 1fr 1fr",
70906
71035
  list: [
70907
- { name: "流动箭头", renderType: "arrow", icon: "icon-liudongjiantou", data: { type: "arrowNode", arrowColor: "#89fce6", arrow: 0 } },
70908
- { name: "开关", renderType: "switch", icon: "icon-zhadao", data: { type: "switchNode", switchColor: "rgb(68, 205, 234)", isOpen: !0 } }
71036
+ {
71037
+ name: "流动箭头",
71038
+ renderType: "arrow",
71039
+ icon: "icon-liudongjiantou",
71040
+ data: { type: "arrowNode", arrowColor: "#89fce6", arrow: 0 }
71041
+ },
71042
+ {
71043
+ name: "开关",
71044
+ renderType: "switch",
71045
+ icon: "icon-zhadao",
71046
+ data: {
71047
+ type: "switchNode",
71048
+ switchColor: "rgb(68, 205, 234)",
71049
+ isOpen: !0
71050
+ }
71051
+ }
70909
71052
  ]
70910
71053
  },
70911
71054
  {
@@ -70933,8 +71076,14 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
70933
71076
  }), s.value[i.value].active = h;
70934
71077
  }
70935
71078
  }, l = (h, u) => {
70936
- let d = e.graph.createNode({ shape: u.renderType + "-node" });
70937
- d.setData({ icon: u.icon, name: _X(u.name), ...u.data }), e.dnd.start(d, h);
71079
+ let d = e.graph.createNode({
71080
+ shape: u.renderType + "-node"
71081
+ });
71082
+ d.setData({
71083
+ icon: u.icon,
71084
+ name: _X(u.name),
71085
+ ...u.data
71086
+ }), e.dnd.start(d, h);
70938
71087
  }, c = ({ node: h }) => {
70939
71088
  var u, d, f, g, p, m, v, _, b, y, w, S, x, L, D, T, E, I, k;
70940
71089
  if (((u = h.data) == null ? void 0 : u.type) === "line") {
@@ -70975,7 +71124,13 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
70975
71124
  { tagName: "path", selector: "line1" }
70976
71125
  ],
70977
71126
  attrs: {
70978
- line: { stroke: "#1bc8de80", strokeWidth: 2, connection: !0, sourceMarker: "", targetMarker: "" },
71127
+ line: {
71128
+ stroke: "#1bc8de80",
71129
+ strokeWidth: 2,
71130
+ connection: !0,
71131
+ sourceMarker: "",
71132
+ targetMarker: ""
71133
+ },
70979
71134
  line1: {
70980
71135
  display: "none",
70981
71136
  connection: !0,
@@ -71016,7 +71171,59 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
71016
71171
  });
71017
71172
  e.graph.select(W);
71018
71173
  }
71019
- if (["button", "input", "number", "select", "date", "selectMore", "dateRange", "switch"].includes((d = h.data) == null ? void 0 : d.type) && (h.prop("size", { width: 150, height: 30 }), ((f = h.data) == null ? void 0 : f.type) === "button" && h.setData({ model: { modelValue: "按钮", size: "default" } }), ((g = h.data) == null ? void 0 : g.type) === "input" && h.setData({ model: { modelValue: "", placeholder: "请输入", inputType: "input" } }), ((p = h.data) == null ? void 0 : p.type) === "number" && h.setData({ model: { modelValue: "", placeholder: "请输入" } }), ((m = h.data) == null ? void 0 : m.type) === "select" && h.setData({ model: { modelValue: "", size: "default", placeholder: "请输入", option: [{ label: "选项一", value: 1 }, { label: "选项二", value: 2 }] } }), ((v = h.data) == null ? void 0 : v.type) === "selectMore" && h.setData({ model: { modelValue: [], size: "default", placeholder: "请输入", option: [{ label: "选项一", value: 1 }, { label: "选项二", value: 2 }] } }), ((_ = h.data) == null ? void 0 : _.type) === "date" && h.setData({ model: { modelValue: "", size: "default", placeholder: "请输入", dateType: "date" } }), ((b = h.data) == null ? void 0 : b.type) === "dateRange" && h.setData({ model: { modelValue: [], size: "default", placeholder: "请输入", dateType: "daterange" } }), ((y = h.data) == null ? void 0 : y.type) === "switch" && (h.prop("size", { width: 40, height: 30 }), h.setData({ model: { modelValue: !0, size: "default", buttonOnColor: "#13ce66", buttonOffColor: "#ff4949" } }))), ["table-1"].includes((w = h.data) == null ? void 0 : w.type)) {
71174
+ if ([
71175
+ "button",
71176
+ "input",
71177
+ "number",
71178
+ "select",
71179
+ "date",
71180
+ "selectMore",
71181
+ "dateRange",
71182
+ "switch"
71183
+ ].includes((d = h.data) == null ? void 0 : d.type) && (h.prop("size", { width: 150, height: 30 }), ((f = h.data) == null ? void 0 : f.type) === "button" && h.setData({ model: { modelValue: "按钮", size: "default" } }), ((g = h.data) == null ? void 0 : g.type) === "input" && h.setData({
71184
+ model: { modelValue: "", placeholder: "请输入", inputType: "input" }
71185
+ }), ((p = h.data) == null ? void 0 : p.type) === "number" && h.setData({ model: { modelValue: "", placeholder: "请输入" } }), ((m = h.data) == null ? void 0 : m.type) === "select" && h.setData({
71186
+ model: {
71187
+ modelValue: "",
71188
+ size: "default",
71189
+ placeholder: "请输入",
71190
+ option: [
71191
+ { label: "选项一", value: 1 },
71192
+ { label: "选项二", value: 2 }
71193
+ ]
71194
+ }
71195
+ }), ((v = h.data) == null ? void 0 : v.type) === "selectMore" && h.setData({
71196
+ model: {
71197
+ modelValue: [],
71198
+ size: "default",
71199
+ placeholder: "请输入",
71200
+ option: [
71201
+ { label: "选项一", value: 1 },
71202
+ { label: "选项二", value: 2 }
71203
+ ]
71204
+ }
71205
+ }), ((_ = h.data) == null ? void 0 : _.type) === "date" && h.setData({
71206
+ model: {
71207
+ modelValue: "",
71208
+ size: "default",
71209
+ placeholder: "请输入",
71210
+ dateType: "date"
71211
+ }
71212
+ }), ((b = h.data) == null ? void 0 : b.type) === "dateRange" && h.setData({
71213
+ model: {
71214
+ modelValue: [],
71215
+ size: "default",
71216
+ placeholder: "请输入",
71217
+ dateType: "daterange"
71218
+ }
71219
+ }), ((y = h.data) == null ? void 0 : y.type) === "switch" && (h.prop("size", { width: 40, height: 30 }), h.setData({
71220
+ model: {
71221
+ modelValue: !0,
71222
+ size: "default",
71223
+ buttonOnColor: "#13ce66",
71224
+ buttonOffColor: "#ff4949"
71225
+ }
71226
+ }))), ["table-1"].includes((w = h.data) == null ? void 0 : w.type)) {
71020
71227
  h.resize(600, 200);
71021
71228
  const N = {
71022
71229
  rows: 4,
@@ -71054,12 +71261,20 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
71054
71261
  ]
71055
71262
  }
71056
71263
  };
71057
- h.setData({ backgroundColor: "rgba(177, 191, 255, 0.2)", table: N, dataSource: { fields: { 表头数据: "table.data.header", 表格数据: "table.data.rows" } } });
71264
+ h.setData({
71265
+ backgroundColor: "rgba(177, 191, 255, 0.2)",
71266
+ table: N,
71267
+ dataSource: {
71268
+ fields: { 表头数据: "table.data.header", 表格数据: "table.data.rows" }
71269
+ }
71270
+ });
71058
71271
  }
71059
71272
  if ((S = h.data) != null && S.type.includes("echart")) {
71060
71273
  h.resize(500, 300);
71061
71274
  const N = V2t[h.data.type]();
71062
- if (["echart_1", "echart_2", "echart_3", "echart_4", "echart_5"].includes((x = h.data) == null ? void 0 : x.type)) {
71275
+ if (["echart_1", "echart_2", "echart_3", "echart_4", "echart_5"].includes(
71276
+ (x = h.data) == null ? void 0 : x.type
71277
+ )) {
71063
71278
  const R = {
71064
71279
  data: {
71065
71280
  x: N.xAxis.data ?? [],
@@ -71067,7 +71282,13 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
71067
71282
  },
71068
71283
  option: N
71069
71284
  };
71070
- h.setData({ backgroundColor: "rgba(0, 0, 0, 0.3)", chart: R, dataSource: { fields: { X轴数据: "chart.data.x", Y轴数据: "chart.data.y" } } });
71285
+ h.setData({
71286
+ backgroundColor: "rgba(0, 0, 0, 0.3)",
71287
+ chart: R,
71288
+ dataSource: {
71289
+ fields: { X轴数据: "chart.data.x", Y轴数据: "chart.data.y" }
71290
+ }
71291
+ });
71071
71292
  }
71072
71293
  if (["echart_6", "echart_7"].includes((L = h.data) == null ? void 0 : L.type)) {
71073
71294
  const R = {
@@ -71077,10 +71298,20 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
71077
71298
  },
71078
71299
  option: N
71079
71300
  };
71080
- h.setData({ backgroundColor: "rgba(0, 0, 0, 0.3)", chart: R, dataSource: { fields: { X轴数据: "chart.data.x", Y轴数据: "chart.data.y" } } });
71301
+ h.setData({
71302
+ backgroundColor: "rgba(0, 0, 0, 0.3)",
71303
+ chart: R,
71304
+ dataSource: {
71305
+ fields: { X轴数据: "chart.data.x", Y轴数据: "chart.data.y" }
71306
+ }
71307
+ });
71081
71308
  }
71082
71309
  }
71083
- if (((E = h.data) == null ? void 0 : E.type) === "arrowNode" && h.setData({ dataSource: { fields: { 箭头颜色: "arrowColor", 箭头朝向: "arrow" } } }), ((I = h.data) == null ? void 0 : I.type) === "switchNode" && h.setData({ dataSource: { fields: { 开关颜色: "switchColor", 开关状态: "isOpen" } } }), ((k = h.data) == null ? void 0 : k.type) === "planTime") {
71310
+ if (((E = h.data) == null ? void 0 : E.type) === "arrowNode" && h.setData({
71311
+ dataSource: { fields: { 箭头颜色: "arrowColor", 箭头朝向: "arrow" } }
71312
+ }), ((I = h.data) == null ? void 0 : I.type) === "switchNode" && h.setData({
71313
+ dataSource: { fields: { 开关颜色: "switchColor", 开关状态: "isOpen" } }
71314
+ }), ((k = h.data) == null ? void 0 : k.type) === "planTime") {
71084
71315
  h.resize(500, 470);
71085
71316
  const N = [];
71086
71317
  for (let R = 0; R < 96; R++) {
@@ -71097,7 +71328,7 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
71097
71328
  h.setData({ model: { modelValue: N } });
71098
71329
  }
71099
71330
  };
71100
- return Js(() => {
71331
+ return Qs(() => {
71101
71332
  var h;
71102
71333
  (h = e.graph) == null || h.on("node:added", c);
71103
71334
  }), ho(() => {
@@ -71160,9 +71391,13 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
71160
71391
  default: X(() => [
71161
71392
  te("div", {
71162
71393
  class: "expand-content",
71163
- style: Vi({ gridTemplateColumns: v.layout ? v.layout : "1fr 1fr 1fr" })
71394
+ style: Vi({
71395
+ gridTemplateColumns: v.layout ? v.layout : "1fr 1fr 1fr"
71396
+ })
71164
71397
  }, [
71165
- (ee(!0), ke(si, null, hs(v.list.filter((b) => b.name.includes(r.value)), (b, y) => (ee(), ke("div", {
71398
+ (ee(!0), ke(si, null, hs(v.list.filter(
71399
+ (b) => b.name.includes(r.value)
71400
+ ), (b, y) => (ee(), ke("div", {
71166
71401
  key: y,
71167
71402
  class: "graphic",
71168
71403
  onMousedown: (w) => l(w, b),
@@ -71193,7 +71428,7 @@ const F2t = Object.entries(M2t).map(([n, e]) => ({
71193
71428
  ]);
71194
71429
  };
71195
71430
  }
71196
- }, X2t = /* @__PURE__ */ Vn(Y2t, [["__scopeId", "data-v-7d8e4e90"]]), Z2t = { class: "datas" }, J2t = { class: "groups" }, Q2t = ["onClick"], eDt = { class: "list" }, tDt = { style: { padding: "10px" } }, iDt = ["onMousedown", "title"], nDt = { key: 1 }, sDt = ["onClick"], rDt = {
71431
+ }, X2t = /* @__PURE__ */ Vn(Y2t, [["__scopeId", "data-v-5460cad9"]]), Z2t = { class: "datas" }, J2t = { class: "groups" }, Q2t = ["onClick"], eDt = { class: "list" }, tDt = { style: { padding: "10px" } }, iDt = ["onMousedown", "title"], nDt = { key: 1 }, sDt = ["onClick"], rDt = {
71197
71432
  __name: "datas",
71198
71433
  setup(n) {
71199
71434
  const e = io(), t = Li("topoApi"), i = Li("storage"), s = Ge([]);
@@ -71294,7 +71529,7 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
71294
71529
  i.removeItem("copyOpcuaNode");
71295
71530
  }, 60 * 1e3);
71296
71531
  };
71297
- return Js(() => {
71532
+ return Qs(() => {
71298
71533
  var v;
71299
71534
  (v = e.graph) == null || v.on("node:added", p);
71300
71535
  }), ho(() => {
@@ -71461,14 +71696,14 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
71461
71696
  }
71462
71697
  const o = async (a) => {
71463
71698
  if (!a.type.startsWith("image/"))
71464
- return er.error("只能上传图片文件"), !1;
71699
+ return $s.error("只能上传图片文件"), !1;
71465
71700
  if (!(a.size / 1024 / 1024 < 2))
71466
- return er.error("图片大小不能超过 2MB"), !1;
71701
+ return $s.error("图片大小不能超过 2MB"), !1;
71467
71702
  try {
71468
71703
  const c = await r(a);
71469
71704
  t.value.backgroundImage = c;
71470
71705
  } catch {
71471
- return er.error("图片读取失败"), !1;
71706
+ return $s.error("图片读取失败"), !1;
71472
71707
  }
71473
71708
  return !1;
71474
71709
  };
@@ -71576,7 +71811,7 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
71576
71811
  visible: p
71577
71812
  // backgroundImage
71578
71813
  });
71579
- }), Js(() => {
71814
+ }), Qs(() => {
71580
71815
  t.on("change:size", ({ current: o }) => {
71581
71816
  s.value.width = o.width, s.value.height = o.height;
71582
71817
  }), t.on("change:position", ({ current: o }) => {
@@ -71956,7 +72191,7 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
71956
72191
  setup(n, { emit: e }) {
71957
72192
  const t = n, i = e, s = Ge(null);
71958
72193
  let r = null, o = "";
71959
- return Js(() => {
72194
+ return Qs(() => {
71960
72195
  r = fo.editor.create(s.value, {
71961
72196
  value: JSON.stringify(t.modelValue, null, 2),
71962
72197
  language: "json",
@@ -72001,7 +72236,7 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
72001
72236
  }, a = () => {
72002
72237
  i.value.option = r.value, s.value = !1;
72003
72238
  };
72004
- return Js(() => {
72239
+ return Qs(() => {
72005
72240
  }), ho(() => {
72006
72241
  }), (l, c) => {
72007
72242
  const h = we("el-option"), u = we("el-select"), d = we("el-form-item"), f = we("el-color-picker"), g = we("el-input"), p = we("el-button"), m = we("el-drawer"), v = we("el-form");
@@ -72509,7 +72744,7 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
72509
72744
  e.setData({
72510
72745
  model: i.value
72511
72746
  });
72512
- }), Ge(!1), Ge({}), Js(() => {
72747
+ }), Ge(!1), Ge({}), Qs(() => {
72513
72748
  }), ho(() => {
72514
72749
  }), (s, r) => {
72515
72750
  const o = we("el-switch"), a = we("el-input"), l = we("el-form-item"), c = we("el-form");
@@ -72520,7 +72755,7 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
72520
72755
  class: "nodePanel"
72521
72756
  }, {
72522
72757
  default: X(() => [
72523
- r[4] || (r[4] = te("div", { class: "baseTitle" }, "交互", -1)),
72758
+ r[5] || (r[5] = te("div", { class: "baseTitle" }, "交互", -1)),
72524
72759
  V(l, { label: "二次确认" }, {
72525
72760
  default: X(() => [
72526
72761
  V(o, {
@@ -72556,13 +72791,24 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
72556
72791
  }, null, 8, ["modelValue"])) : nt("", !0)
72557
72792
  ]),
72558
72793
  _: 1
72794
+ }),
72795
+ V(l, { label: "失败提示" }, {
72796
+ default: X(() => [
72797
+ V(o, {
72798
+ modelValue: i.value.buttonError,
72799
+ "onUpdate:modelValue": r[4] || (r[4] = (h) => i.value.buttonError = h),
72800
+ "active-text": "开启",
72801
+ "inactive-text": "关闭"
72802
+ }, null, 8, ["modelValue"])
72803
+ ]),
72804
+ _: 1
72559
72805
  })
72560
72806
  ]),
72561
72807
  _: 1
72562
72808
  });
72563
72809
  };
72564
72810
  }
72565
- }, xDt = /* @__PURE__ */ Vn(SDt, [["__scopeId", "data-v-9d29041c"]]), LDt = { style: { "margin-bottom": "10px" } }, DDt = {
72811
+ }, xDt = /* @__PURE__ */ Vn(SDt, [["__scopeId", "data-v-558252ce"]]), LDt = { style: { "margin-bottom": "10px" } }, DDt = {
72566
72812
  key: 0,
72567
72813
  style: { width: "100%", height: "160px", overflow: "auto", display: "flex", "align-items": "center", "justify-content": "center" }
72568
72814
  }, TDt = ["src"], EDt = {
@@ -72837,7 +73083,7 @@ $.${y}.字体颜色 = colorMap[statusCode] || '#fff';`, x = {
72837
73083
  };
72838
73084
  return Fn(r, () => {
72839
73085
  t || h();
72840
- }, { deep: !0 }), Js(() => {
73086
+ }, { deep: !0 }), Qs(() => {
72841
73087
  var p;
72842
73088
  (p = e.on) == null || p.call(e, "change:data", o);
72843
73089
  }), ho(() => {
@@ -73226,7 +73472,7 @@ function qDt(n, e, t = {}) {
73226
73472
  ), pause: o, resume: a, isActive: l };
73227
73473
  }
73228
73474
  function xS(n, e = !0, t) {
73229
- GDt() ? Js(n, t) : e ? n() : N0(n);
73475
+ GDt() ? Qs(n, t) : e ? n() : N0(n);
73230
73476
  }
73231
73477
  function KDt(n, e, t = {}) {
73232
73478
  const {
@@ -73333,7 +73579,7 @@ function YDt(n, e, t = {}) {
73333
73579
  }
73334
73580
  function XDt() {
73335
73581
  const n = Ge(!1), e = Boe();
73336
- return e && Js(() => {
73582
+ return e && Qs(() => {
73337
73583
  n.value = !0;
73338
73584
  }, e), n;
73339
73585
  }
@@ -73637,14 +73883,14 @@ lt.prototype = {
73637
73883
  },
73638
73884
  toPercentageRgb: function() {
73639
73885
  return {
73640
- r: Math.round($s(this._r, 255) * 100) + "%",
73641
- g: Math.round($s(this._g, 255) * 100) + "%",
73642
- b: Math.round($s(this._b, 255) * 100) + "%",
73886
+ r: Math.round(Us(this._r, 255) * 100) + "%",
73887
+ g: Math.round(Us(this._g, 255) * 100) + "%",
73888
+ b: Math.round(Us(this._b, 255) * 100) + "%",
73643
73889
  a: this._a
73644
73890
  };
73645
73891
  },
73646
73892
  toPercentageRgbString: function() {
73647
- return this._a == 1 ? "rgb(" + Math.round($s(this._r, 255) * 100) + "%, " + Math.round($s(this._g, 255) * 100) + "%, " + Math.round($s(this._b, 255) * 100) + "%)" : "rgba(" + Math.round($s(this._r, 255) * 100) + "%, " + Math.round($s(this._g, 255) * 100) + "%, " + Math.round($s(this._b, 255) * 100) + "%, " + this._roundA + ")";
73893
+ return this._a == 1 ? "rgb(" + Math.round(Us(this._r, 255) * 100) + "%, " + Math.round(Us(this._g, 255) * 100) + "%, " + Math.round(Us(this._b, 255) * 100) + "%)" : "rgba(" + Math.round(Us(this._r, 255) * 100) + "%, " + Math.round(Us(this._g, 255) * 100) + "%, " + Math.round(Us(this._b, 255) * 100) + "%, " + this._roundA + ")";
73648
73894
  },
73649
73895
  toName: function() {
73650
73896
  return this._a === 0 ? "transparent" : this._a < 1 ? !1 : CTt[uCe(this._r, this._g, this._b, !0)] || !1;
@@ -73743,13 +73989,13 @@ function oTt(n) {
73743
73989
  }
73744
73990
  function aTt(n, e, t) {
73745
73991
  return {
73746
- r: $s(n, 255) * 255,
73747
- g: $s(e, 255) * 255,
73748
- b: $s(t, 255) * 255
73992
+ r: Us(n, 255) * 255,
73993
+ g: Us(e, 255) * 255,
73994
+ b: Us(t, 255) * 255
73749
73995
  };
73750
73996
  }
73751
73997
  function cCe(n, e, t) {
73752
- n = $s(n, 255), e = $s(e, 255), t = $s(t, 255);
73998
+ n = Us(n, 255), e = Us(e, 255), t = Us(t, 255);
73753
73999
  var i = Math.max(n, e, t), s = Math.min(n, e, t), r, o, a = (i + s) / 2;
73754
74000
  if (i == s)
73755
74001
  r = o = 0;
@@ -73776,7 +74022,7 @@ function cCe(n, e, t) {
73776
74022
  }
73777
74023
  function lTt(n, e, t) {
73778
74024
  var i, s, r;
73779
- n = $s(n, 360), e = $s(e, 100), t = $s(t, 100);
74025
+ n = Us(n, 360), e = Us(e, 100), t = Us(t, 100);
73780
74026
  function o(c, h, u) {
73781
74027
  return u < 0 && (u += 1), u > 1 && (u -= 1), u < 1 / 6 ? c + (h - c) * 6 * u : u < 1 / 2 ? h : u < 2 / 3 ? c + (h - c) * (2 / 3 - u) * 6 : c;
73782
74028
  }
@@ -73793,7 +74039,7 @@ function lTt(n, e, t) {
73793
74039
  };
73794
74040
  }
73795
74041
  function hCe(n, e, t) {
73796
- n = $s(n, 255), e = $s(e, 255), t = $s(t, 255);
74042
+ n = Us(n, 255), e = Us(e, 255), t = Us(t, 255);
73797
74043
  var i = Math.max(n, e, t), s = Math.min(n, e, t), r, o, a = i, l = i - s;
73798
74044
  if (o = i === 0 ? 0 : l / i, i == s)
73799
74045
  r = 0;
@@ -73818,7 +74064,7 @@ function hCe(n, e, t) {
73818
74064
  };
73819
74065
  }
73820
74066
  function cTt(n, e, t) {
73821
- n = $s(n, 360) * 6, e = $s(e, 100), t = $s(t, 100);
74067
+ n = Us(n, 360) * 6, e = Us(e, 100), t = Us(t, 100);
73822
74068
  var i = Math.floor(n), s = n - i, r = t * (1 - e), o = t * (1 - s * e), a = t * (1 - (1 - s) * e), l = i % 6, c = [t, o, r, r, a, t][l], h = [a, t, t, o, r, r][l], u = [r, r, a, t, t, o][l];
73823
74069
  return {
73824
74070
  r: c * 255,
@@ -74124,7 +74370,7 @@ function STt(n) {
74124
74370
  function T6e(n) {
74125
74371
  return n = parseFloat(n), (isNaN(n) || n < 0 || n > 1) && (n = 1), n;
74126
74372
  }
74127
- function $s(n, e) {
74373
+ function Us(n, e) {
74128
74374
  xTt(n) && (n = "100%");
74129
74375
  var t = LTt(n);
74130
74376
  return n = Math.min(e, Math.max(0, parseFloat(n))), t && (n = parseInt(n * e, 10) / 100), Math.abs(n - e) < 1e-6 ? 1 : n % e / parseFloat(e);
@@ -77977,7 +78223,7 @@ const CMt = (n, e) => {
77977
78223
  })), o = (a) => {
77978
78224
  t.value && (i.value = wMt(t.value, a) % 360, s());
77979
78225
  };
77980
- return Js(() => {
78226
+ return Qs(() => {
77981
78227
  const a = {
77982
78228
  drag: (l) => {
77983
78229
  o(l);
@@ -78746,10 +78992,10 @@ const lAt = /* @__PURE__ */ ju(sAt, [["render", aAt], ["__scopeId", "data-v-354c
78746
78992
  }
78747
78993
  }, hAt = {
78748
78994
  key: 0,
78749
- style: { width: "100%", "border-bottom": "solid #42516c 1px", "margin-bottom": "14px" }
78995
+ style: { width: "100%", "border-bottom": "solid #42516c 1px", "margin-bottom": "14px" }
78750
78996
  }, uAt = {
78751
78997
  key: 1,
78752
- style: { width: "100%", "border-bottom": "solid #42516c 1px", "margin-bottom": "14px" }
78998
+ style: { width: "100%", "border-bottom": "solid #42516c 1px", "margin-bottom": "14px" }
78753
78999
  }, dAt = {
78754
79000
  __name: "echartPanel",
78755
79001
  setup(n) {
@@ -78759,7 +79005,9 @@ const lAt = /* @__PURE__ */ ju(sAt, [["render", aAt], ["__scopeId", "data-v-354c
78759
79005
  const g = i.value.series.at(-1).tabTitle;
78760
79006
  s = +g.charAt(g.length - 1);
78761
79007
  }
78762
- const r = Ge(i.value.series[0] ? i.value.series[0].tabTitle : ""), o = (g, p) => {
79008
+ const r = Ge(
79009
+ i.value.series[0] ? i.value.series[0].tabTitle : ""
79010
+ ), o = (g, p) => {
78763
79011
  if (p === "add") {
78764
79012
  const m = `系列${++s}`, v = JSON.parse(JSON.stringify(Ck));
78765
79013
  v.tabTitle = m, v.name = m, v.yAxisIndex = 0, i.value.series.push(v), r.value = m;
@@ -78779,20 +79027,30 @@ const lAt = /* @__PURE__ */ ju(sAt, [["render", aAt], ["__scopeId", "data-v-354c
78779
79027
  }, u = () => {
78780
79028
  if (l.value) {
78781
79029
  const g = e.getData(), p = g.chart;
78782
- e.setData({ ...g, chart: { ...p, data: l.value } }, { deep: !1 });
79030
+ e.setData(
79031
+ { ...g, chart: { ...p, data: l.value } },
79032
+ { deep: !1 }
79033
+ );
78783
79034
  }
78784
79035
  c.value = !1;
78785
79036
  };
78786
- Fn(i, () => {
78787
- d();
78788
- }, { deep: !0 });
79037
+ Fn(
79038
+ i,
79039
+ () => {
79040
+ d();
79041
+ },
79042
+ { deep: !0 }
79043
+ );
78789
79044
  const d = WAe(() => {
78790
79045
  f();
78791
79046
  }, 500), f = () => {
78792
79047
  const g = e.getData(), p = g.chart, m = JSON.parse(JSON.stringify(i.value || {}));
78793
- e.setData({ ...g, chart: { ...p, option: m } }, { deep: !1 });
79048
+ e.setData(
79049
+ { ...g, chart: { ...p, option: m } },
79050
+ { deep: !1 }
79051
+ );
78794
79052
  };
78795
- return Js(() => {
79053
+ return Qs(() => {
78796
79054
  }), ho(() => {
78797
79055
  }), (g, p) => {
78798
79056
  const m = we("el-input-number"), v = we("el-form-item"), _ = we("el-divider"), b = we("el-switch"), y = we("el-radio-button"), w = we("el-radio-group"), S = we("el-option"), x = we("el-select"), L = we("el-color-picker"), D = we("el-checkbox"), T = we("el-input"), E = we("el-tab-pane"), I = we("el-tabs"), k = we("el-button"), N = we("el-drawer"), R = we("el-form");
@@ -79570,14 +79828,11 @@ const lAt = /* @__PURE__ */ ju(sAt, [["render", aAt], ["__scopeId", "data-v-354c
79570
79828
  }, 1024),
79571
79829
  V(v, { label: "系列名称" }, {
79572
79830
  default: X(() => [
79573
- V(b, {
79574
- modelValue: A.yAxisIndex,
79575
- "onUpdate:modelValue": (W) => A.yAxisIndex = W,
79576
- modelModifiers: { number: !0 },
79577
- "active-text": "右轴",
79578
- "inactive-text": "左轴",
79579
- "active-value": 1,
79580
- "inactive-value": 0
79831
+ V(T, {
79832
+ modelValue: A.name,
79833
+ "onUpdate:modelValue": (W) => A.name = W,
79834
+ placeholder: "",
79835
+ style: { width: "120px" }
79581
79836
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
79582
79837
  ]),
79583
79838
  _: 2
@@ -79587,11 +79842,14 @@ const lAt = /* @__PURE__ */ ju(sAt, [["render", aAt], ["__scopeId", "data-v-354c
79587
79842
  label: "Y轴"
79588
79843
  }, {
79589
79844
  default: X(() => [
79590
- V(T, {
79591
- modelValue: A.name,
79592
- "onUpdate:modelValue": (W) => A.name = W,
79593
- placeholder: "",
79594
- style: { width: "120px" }
79845
+ V(b, {
79846
+ modelValue: A.yAxisIndex,
79847
+ "onUpdate:modelValue": (W) => A.yAxisIndex = W,
79848
+ modelModifiers: { number: !0 },
79849
+ "active-text": "右轴",
79850
+ "inactive-text": "左轴",
79851
+ "active-value": 1,
79852
+ "inactive-value": 0
79595
79853
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
79596
79854
  ]),
79597
79855
  _: 2
@@ -79757,7 +80015,7 @@ const lAt = /* @__PURE__ */ ju(sAt, [["render", aAt], ["__scopeId", "data-v-354c
79757
80015
  });
79758
80016
  };
79759
80017
  }
79760
- }, fAt = /* @__PURE__ */ Vn(dAt, [["__scopeId", "data-v-13d8caab"]]), gAt = { class: "propertyForm" }, pAt = {
80018
+ }, fAt = /* @__PURE__ */ Vn(dAt, [["__scopeId", "data-v-233c23c3"]]), gAt = { class: "propertyForm" }, pAt = {
79761
80019
  __name: "base",
79762
80020
  setup(n) {
79763
80021
  var s;
@@ -79981,7 +80239,7 @@ function or(n) {
79981
80239
  function wAt(n, e) {
79982
80240
  return Array.isArray(n) && n.every(e);
79983
80241
  }
79984
- function js(n) {
80242
+ function qs(n) {
79985
80243
  return typeof n == "object" && n !== null && !Array.isArray(n) && !(n instanceof RegExp) && !(n instanceof Date);
79986
80244
  }
79987
80245
  function CAt(n) {
@@ -80982,28 +81240,28 @@ class vz {
80982
81240
  }
80983
81241
  }
80984
81242
  var pm;
80985
- let Qs = (pm = class {
81243
+ let er = (pm = class {
80986
81244
  constructor(e) {
80987
81245
  this.element = e, this.next = pm.Undefined, this.prev = pm.Undefined;
80988
81246
  }
80989
81247
  }, pm.Undefined = new pm(void 0), pm);
80990
81248
  class ta {
80991
81249
  constructor() {
80992
- this._first = Qs.Undefined, this._last = Qs.Undefined, this._size = 0;
81250
+ this._first = er.Undefined, this._last = er.Undefined, this._size = 0;
80993
81251
  }
80994
81252
  get size() {
80995
81253
  return this._size;
80996
81254
  }
80997
81255
  isEmpty() {
80998
- return this._first === Qs.Undefined;
81256
+ return this._first === er.Undefined;
80999
81257
  }
81000
81258
  clear() {
81001
81259
  let e = this._first;
81002
- for (; e !== Qs.Undefined; ) {
81260
+ for (; e !== er.Undefined; ) {
81003
81261
  const t = e.next;
81004
- e.prev = Qs.Undefined, e.next = Qs.Undefined, e = t;
81262
+ e.prev = er.Undefined, e.next = er.Undefined, e = t;
81005
81263
  }
81006
- this._first = Qs.Undefined, this._last = Qs.Undefined, this._size = 0;
81264
+ this._first = er.Undefined, this._last = er.Undefined, this._size = 0;
81007
81265
  }
81008
81266
  unshift(e) {
81009
81267
  return this._insert(e, !1);
@@ -81012,8 +81270,8 @@ class ta {
81012
81270
  return this._insert(e, !0);
81013
81271
  }
81014
81272
  _insert(e, t) {
81015
- const i = new Qs(e);
81016
- if (this._first === Qs.Undefined)
81273
+ const i = new er(e);
81274
+ if (this._first === er.Undefined)
81017
81275
  this._first = i, this._last = i;
81018
81276
  else if (t) {
81019
81277
  const r = this._last;
@@ -81029,27 +81287,27 @@ class ta {
81029
81287
  };
81030
81288
  }
81031
81289
  shift() {
81032
- if (this._first !== Qs.Undefined) {
81290
+ if (this._first !== er.Undefined) {
81033
81291
  const e = this._first.element;
81034
81292
  return this._remove(this._first), e;
81035
81293
  }
81036
81294
  }
81037
81295
  pop() {
81038
- if (this._last !== Qs.Undefined) {
81296
+ if (this._last !== er.Undefined) {
81039
81297
  const e = this._last.element;
81040
81298
  return this._remove(this._last), e;
81041
81299
  }
81042
81300
  }
81043
81301
  _remove(e) {
81044
- if (e.prev !== Qs.Undefined && e.next !== Qs.Undefined) {
81302
+ if (e.prev !== er.Undefined && e.next !== er.Undefined) {
81045
81303
  const t = e.prev;
81046
81304
  t.next = e.next, e.next.prev = t;
81047
- } else e.prev === Qs.Undefined && e.next === Qs.Undefined ? (this._first = Qs.Undefined, this._last = Qs.Undefined) : e.next === Qs.Undefined ? (this._last = this._last.prev, this._last.next = Qs.Undefined) : e.prev === Qs.Undefined && (this._first = this._first.next, this._first.prev = Qs.Undefined);
81305
+ } else e.prev === er.Undefined && e.next === er.Undefined ? (this._first = er.Undefined, this._last = er.Undefined) : e.next === er.Undefined ? (this._last = this._last.prev, this._last.next = er.Undefined) : e.prev === er.Undefined && (this._first = this._first.next, this._first.prev = er.Undefined);
81048
81306
  this._size -= 1;
81049
81307
  }
81050
81308
  *[Symbol.iterator]() {
81051
81309
  let e = this._first;
81052
- for (; e !== Qs.Undefined; )
81310
+ for (; e !== er.Undefined; )
81053
81311
  yield e.element, e = e.next;
81054
81312
  }
81055
81313
  }
@@ -81702,7 +81960,7 @@ const F8e = Symbol("MicrotaskDelay");
81702
81960
  function RJ(n) {
81703
81961
  return !!n && typeof n.then == "function";
81704
81962
  }
81705
- function qs(n) {
81963
+ function Ks(n) {
81706
81964
  const e = new _n(), t = n(e.token);
81707
81965
  let i = !1;
81708
81966
  const s = new Promise((r, o) => {
@@ -81859,7 +82117,7 @@ function Bg(n, e) {
81859
82117
  }, n), r = e.onCancellationRequested(() => {
81860
82118
  clearTimeout(s), r.dispose(), i(new Dh());
81861
82119
  });
81862
- }) : qs((t) => Bg(n, t));
82120
+ }) : Ks((t) => Bg(n, t));
81863
82121
  }
81864
82122
  function Qm(n, e = 0, t) {
81865
82123
  const i = setTimeout(() => {
@@ -82516,7 +82774,7 @@ function ev(n, e) {
82516
82774
  return i;
82517
82775
  return t;
82518
82776
  }
82519
- function Us(n) {
82777
+ function Gs(n) {
82520
82778
  return 55296 <= n && n <= 56319;
82521
82779
  }
82522
82780
  function Y0(n) {
@@ -82527,7 +82785,7 @@ function Fhe(n, e) {
82527
82785
  }
82528
82786
  function U7(n, e, t) {
82529
82787
  const i = n.charCodeAt(t);
82530
- if (Us(i) && t + 1 < e) {
82788
+ if (Gs(i) && t + 1 < e) {
82531
82789
  const s = n.charCodeAt(t + 1);
82532
82790
  if (Y0(s))
82533
82791
  return Fhe(i, s);
@@ -82538,7 +82796,7 @@ function _Rt(n, e) {
82538
82796
  const t = n.charCodeAt(e - 1);
82539
82797
  if (Y0(t) && e > 1) {
82540
82798
  const i = n.charCodeAt(e - 2);
82541
- if (Us(i))
82799
+ if (Gs(i))
82542
82800
  return Fhe(i, t);
82543
82801
  }
82544
82802
  return t;
@@ -83855,7 +84113,7 @@ const lB = class lB {
83855
84113
  let s = this._buffLen, r = this._leftoverHighSurrogate, o, a;
83856
84114
  for (r !== 0 ? (o = r, a = -1, r = 0) : (o = e.charCodeAt(0), a = 0); ; ) {
83857
84115
  let l = o;
83858
- if (Us(o))
84116
+ if (Gs(o))
83859
84117
  if (a + 1 < t) {
83860
84118
  const c = e.charCodeAt(a + 1);
83861
84119
  Y0(c) ? (a++, l = Fhe(o, c)) : l = 65533;
@@ -84245,7 +84503,7 @@ class NSe {
84245
84503
  t.handleEndTransaction(e);
84246
84504
  }
84247
84505
  }
84248
- var Xs;
84506
+ var Zs;
84249
84507
  (function(n) {
84250
84508
  let e = !1;
84251
84509
  function t() {
@@ -84261,7 +84519,7 @@ var Xs;
84261
84519
  return s.stackTraceLimit = r, jhe.fromStack(o, 2);
84262
84520
  }
84263
84521
  n.ofCaller = i;
84264
- })(Xs || (Xs = {}));
84522
+ })(Zs || (Zs = {}));
84265
84523
  class jhe {
84266
84524
  static fromStack(e, t) {
84267
84525
  const i = e.split(`
@@ -84416,7 +84674,7 @@ class u7e {
84416
84674
  read(e) {
84417
84675
  return e ? e.readObservable(this) : this.get();
84418
84676
  }
84419
- map(e, t, i = Xs.ofCaller()) {
84677
+ map(e, t, i = Zs.ofCaller()) {
84420
84678
  const s = t === void 0 ? void 0 : e, r = t === void 0 ? e : t;
84421
84679
  return qJ({
84422
84680
  owner: s,
@@ -84671,7 +84929,7 @@ class d7e extends nh {
84671
84929
  super(e, t, i, s, r, a), this.set = o;
84672
84930
  }
84673
84931
  }
84674
- function oe(n, e, t = Xs.ofCaller()) {
84932
+ function oe(n, e, t = Zs.ofCaller()) {
84675
84933
  return e !== void 0 ? new nh(new co(n, void 0, e), e, void 0, void 0, Bc, t) : new nh(
84676
84934
  // eslint-disable-next-line local/code-no-any-casts
84677
84935
  new co(void 0, void 0, n),
@@ -84683,17 +84941,17 @@ function oe(n, e, t = Xs.ofCaller()) {
84683
84941
  t
84684
84942
  );
84685
84943
  }
84686
- function Yhe(n, e, t, i = Xs.ofCaller()) {
84944
+ function Yhe(n, e, t, i = Zs.ofCaller()) {
84687
84945
  return new d7e(new co(n, void 0, e), e, void 0, void 0, Bc, t, i);
84688
84946
  }
84689
- function Jr(n, e, t = Xs.ofCaller()) {
84947
+ function Jr(n, e, t = Zs.ofCaller()) {
84690
84948
  return new nh(new co(n.owner, n.debugName, n.debugReferenceFn), e, void 0, n.onLastObserverRemoved, n.equalsFn ?? Bc, t);
84691
84949
  }
84692
84950
  mPt(Jr);
84693
- function PSe(n, e, t = Xs.ofCaller()) {
84951
+ function PSe(n, e, t = Zs.ofCaller()) {
84694
84952
  return new nh(new co(n.owner, n.debugName, void 0), e, n.changeTracker, void 0, n.equalityComparer ?? Bc, t);
84695
84953
  }
84696
- function ih(n, e, t = Xs.ofCaller()) {
84954
+ function ih(n, e, t = Zs.ofCaller()) {
84697
84955
  let i, s;
84698
84956
  e === void 0 ? (i = n, s = void 0) : (s = n, i = e);
84699
84957
  let r;
@@ -84834,13 +85092,13 @@ class WA {
84834
85092
  this._isRunning ? this._state = 2 : this._run();
84835
85093
  }
84836
85094
  }
84837
- function et(n, e = Xs.ofCaller()) {
85095
+ function et(n, e = Zs.ofCaller()) {
84838
85096
  return new WA(new co(void 0, void 0, n), n, void 0, e);
84839
85097
  }
84840
- function wz(n, e, t = Xs.ofCaller()) {
85098
+ function wz(n, e, t = Zs.ofCaller()) {
84841
85099
  return new WA(new co(n.owner, n.debugName, n.debugReferenceFn ?? e), e, void 0, t);
84842
85100
  }
84843
- function gE(n, e, t = Xs.ofCaller()) {
85101
+ function gE(n, e, t = Zs.ofCaller()) {
84844
85102
  return new WA(new co(n.owner, n.debugName, n.debugReferenceFn ?? e), e, n.changeTracker, t);
84845
85103
  }
84846
85104
  function yPt(n, e) {
@@ -84948,9 +85206,9 @@ class pE {
84948
85206
  }
84949
85207
  function gi(...n) {
84950
85208
  let e, t, i, s;
84951
- return n.length === 2 ? [t, i] = n : [e, t, i, s] = n, new am(new co(e, void 0, i), t, i, () => am.globalTransaction, Bc, s ?? Xs.ofCaller());
85209
+ return n.length === 2 ? [t, i] = n : [e, t, i, s] = n, new am(new co(e, void 0, i), t, i, () => am.globalTransaction, Bc, s ?? Zs.ofCaller());
84952
85210
  }
84953
- function f7e(n, e, t, i = Xs.ofCaller()) {
85211
+ function f7e(n, e, t, i = Zs.ofCaller()) {
84954
85212
  return new am(new co(n.owner, n.debugName, n.debugReferenceFn ?? t), e, t, () => am.globalTransaction, n.equalsFn ?? Bc, i);
84955
85213
  }
84956
85214
  class am extends fE {
@@ -85232,7 +85490,7 @@ function p7e(n, e) {
85232
85490
  for (const t in e)
85233
85491
  e[t] === null ? delete n[t] : n[t] && typeof n[t] == "object" && e[t] && typeof e[t] == "object" ? p7e(n[t], e[t]) : n[t] = e[t];
85234
85492
  }
85235
- function rt(n, e, t = Xs.ofCaller()) {
85493
+ function rt(n, e, t = Zs.ofCaller()) {
85236
85494
  let i;
85237
85495
  return typeof n == "string" ? i = new co(void 0, n, void 0) : i = new co(n, void 0, void 0), new HA(i, e, Bc, t);
85238
85496
  }
@@ -85278,7 +85536,7 @@ class HA extends fE {
85278
85536
  this._value = e;
85279
85537
  }
85280
85538
  }
85281
- function Jhe(n, e, t = Xs.ofCaller()) {
85539
+ function Jhe(n, e, t = Zs.ofCaller()) {
85282
85540
  let i;
85283
85541
  return typeof n == "string" ? i = new co(void 0, n, void 0) : i = new co(n, void 0, void 0), new IPt(i, e, Bc, t);
85284
85542
  }
@@ -85463,7 +85721,7 @@ const sy = class sy {
85463
85721
  }
85464
85722
  })), this._pendingChanges = null, this._changeThrottler = new EPt(), this._fullState = {}, this._flushUpdates = () => {
85465
85723
  this._pendingChanges !== null && (this._channel.api.notifications.handleChange(this._pendingChanges, !1), this._pendingChanges = null);
85466
- }, Xs.enable();
85724
+ }, Zs.enable();
85467
85725
  }
85468
85726
  _handleChange(e) {
85469
85727
  p7e(this._fullState, e), this._pendingChanges === null ? this._pendingChanges = e : g7e(this._pendingChanges, e), this._changeThrottler.throttle(this._flushUpdates, 10);
@@ -85916,17 +86174,17 @@ function Z0(n) {
85916
86174
  }
85917
86175
  return w7e(n) ? n : null;
85918
86176
  }
85919
- function Ks() {
86177
+ function Ys() {
85920
86178
  let n = bO().activeElement;
85921
86179
  for (; n != null && n.shadowRoot; )
85922
86180
  n = n.shadowRoot.activeElement;
85923
86181
  return n;
85924
86182
  }
85925
86183
  function Sz(n) {
85926
- return Ks() === n;
86184
+ return Ys() === n;
85927
86185
  }
85928
86186
  function C7e(n) {
85929
- return ar(Ks(), n);
86187
+ return ar(Ys(), n);
85930
86188
  }
85931
86189
  function bO() {
85932
86190
  return NPt() <= 1 ? Ni.document : Array.from(m7e()).map(({ window: e }) => e.document).find((e) => e.hasFocus()) ?? Ni.document;
@@ -88832,7 +89090,7 @@ class vOt {
88832
89090
  this.data = /* @__PURE__ */ new Map();
88833
89091
  }
88834
89092
  add(e, t) {
88835
- mq(or(e)), mq(js(t)), mq(!this.data.has(e), "There is already an extension with this id"), this.data.set(e, t);
89093
+ mq(or(e)), mq(qs(t)), mq(!this.data.has(e), "There is already an extension with this id"), this.data.set(e, t);
88836
89094
  }
88837
89095
  as(e) {
88838
89096
  return this.data.get(e) || null;
@@ -89983,7 +90241,7 @@ class vE extends Pz {
89983
90241
  i.trace(`Executing Command '${this.id}' which has ${this._implementations.length} bound.`);
89984
90242
  for (const r of this._implementations) {
89985
90243
  if (r.when) {
89986
- const a = s.getContext(Ks());
90244
+ const a = s.getContext(Ys());
89987
90245
  if (!r.when.evaluate(a))
89988
90246
  continue;
89989
90247
  }
@@ -90002,12 +90260,12 @@ class W7e extends Pz {
90002
90260
  return this.command.runCommand(e, t);
90003
90261
  }
90004
90262
  }
90005
- class Zs extends Pz {
90263
+ class Js extends Pz {
90006
90264
  /**
90007
90265
  * Create a command class that is bound to a certain editor contribution.
90008
90266
  */
90009
90267
  static bindToContribution(e) {
90010
- return class extends Zs {
90268
+ return class extends Js {
90011
90269
  constructor(i) {
90012
90270
  super(i), this._callback = i.handler;
90013
90271
  }
@@ -90026,10 +90284,10 @@ class Zs extends Pz {
90026
90284
  });
90027
90285
  }
90028
90286
  runCommand(e, t) {
90029
- return Zs.runEditorCommand(e, t, this.precondition, (i, s, r) => this.runEditorCommand(i, s, r));
90287
+ return Js.runEditorCommand(e, t, this.precondition, (i, s, r) => this.runEditorCommand(i, s, r));
90030
90288
  }
90031
90289
  }
90032
- class Me extends Zs {
90290
+ class Me extends Js {
90033
90291
  static convertOptions(e) {
90034
90292
  let t;
90035
90293
  Array.isArray(e.menuOpts) ? t = e.menuOpts : e.menuOpts ? t = [e.menuOpts] : t = [];
@@ -92135,7 +92393,7 @@ function rQ(n, e, t) {
92135
92393
  s.push(rQ(r, e, t));
92136
92394
  return s;
92137
92395
  }
92138
- if (js(n)) {
92396
+ if (qs(n)) {
92139
92397
  if (t.has(n))
92140
92398
  throw new Error("Cannot clone recursive data-structure");
92141
92399
  t.add(n);
@@ -92147,8 +92405,8 @@ function rQ(n, e, t) {
92147
92405
  return n;
92148
92406
  }
92149
92407
  function Bz(n, e, t = !0) {
92150
- return js(n) ? (js(e) && Object.keys(e).forEach((i) => {
92151
- i in n ? t && (js(n[i]) && js(e[i]) ? Bz(n[i], e[i], t) : n[i] = e[i]) : n[i] = e[i];
92408
+ return qs(n) ? (qs(e) && Object.keys(e).forEach((i) => {
92409
+ i in n ? t && (qs(n[i]) && qs(e[i]) ? Bz(n[i], e[i], t) : n[i] = e[i]) : n[i] = e[i];
92152
92410
  }), n) : e;
92153
92411
  }
92154
92412
  function Hl(n, e) {
@@ -92565,7 +92823,7 @@ class Tr {
92565
92823
  var l9;
92566
92824
  (function(n) {
92567
92825
  const e = function(i) {
92568
- if (!js(i))
92826
+ if (!qs(i))
92569
92827
  return !1;
92570
92828
  const s = i;
92571
92829
  return !(!or(s.to) || !Do(s.select) && !TJ(s.select) || !Do(s.by) && !or(s.by) || !Do(s.value) && !Zm(s.value) || !Do(s.noHistory) && !TJ(s.noHistory));
@@ -92927,7 +93185,7 @@ class y1 {
92927
93185
  */
92928
93186
  appendCharCode(e) {
92929
93187
  const t = this._capacity - this._bufferLength;
92930
- t <= 1 && (t === 0 || Us(e)) && this._flushBuffer(), this._buffer[this._bufferLength++] = e;
93188
+ t <= 1 && (t === 0 || Gs(e)) && this._flushBuffer(), this._buffer[this._bufferLength++] = e;
92931
93189
  }
92932
93190
  /**
92933
93191
  * Append an ASCII char code (<2^8)
@@ -93465,7 +93723,7 @@ class L3t extends j {
93465
93723
  }
93466
93724
  for (const a of Object.keys(t)) {
93467
93725
  const l = t[a];
93468
- if (js(l) && (Do(r[a]) || js(r[a]))) {
93726
+ if (qs(l) && (Do(r[a]) || qs(r[a]))) {
93469
93727
  if (r[a] = { ...r[a] ?? {}, ...l }, i)
93470
93728
  for (const h in l)
93471
93729
  o.set(`${a}.${h}`, i);
@@ -93477,14 +93735,14 @@ class L3t extends j {
93477
93735
  mergeDefaultConfigurationsForConfigurationProperty(e, t, i, s) {
93478
93736
  const r = this.configurationProperties[e], o = (s == null ? void 0 : s.value) ?? (r == null ? void 0 : r.defaultDefaultValue);
93479
93737
  let a = i;
93480
- if (js(t) && (r !== void 0 && r.type === "object" || r === void 0 && (Do(o) || js(o)))) {
93738
+ if (qs(t) && (r !== void 0 && r.type === "object" || r === void 0 && (Do(o) || qs(o)))) {
93481
93739
  if (a = (s == null ? void 0 : s.source) ?? /* @__PURE__ */ new Map(), !(a instanceof Map)) {
93482
93740
  console.error("defaultValueSource is not a Map");
93483
93741
  return;
93484
93742
  }
93485
93743
  for (const c in t)
93486
93744
  i && a.set(`${e}.${c}`, i);
93487
- t = { ...js(o) ? o : {}, ...t };
93745
+ t = { ...qs(o) ? o : {}, ...t };
93488
93746
  }
93489
93747
  return { value: t, source: a };
93490
93748
  }
@@ -95751,7 +96009,7 @@ var H;
95751
96009
  n.editorSimpleInput = new Te("editorSimpleInput", !1, !0), n.editorTextFocus = new Te("editorTextFocus", !1, C(681, "Whether the editor text has focus (cursor is blinking)")), n.focus = new Te("editorFocus", !1, C(682, "Whether the editor or an editor widget has focus (e.g. focus is in the find widget)")), n.textInputFocus = new Te("textInputFocus", !1, C(683, "Whether an editor or a rich text input has focus (cursor is blinking)")), n.readOnly = new Te("editorReadonly", !1, C(684, "Whether the editor is read-only")), n.inDiffEditor = new Te("inDiffEditor", !1, C(685, "Whether the context is a diff editor")), n.isEmbeddedDiffEditor = new Te("isEmbeddedDiffEditor", !1, C(686, "Whether the context is an embedded diff editor")), n.inMultiDiffEditor = new Te("inMultiDiffEditor", !1, C(687, "Whether the context is a multi diff editor")), n.multiDiffEditorAllCollapsed = new Te("multiDiffEditorAllCollapsed", void 0, C(688, "Whether all files in multi diff editor are collapsed")), n.hasChanges = new Te("diffEditorHasChanges", !1, C(689, "Whether the diff editor has changes")), n.comparingMovedCode = new Te("comparingMovedCode", !1, C(690, "Whether a moved code block is selected for comparison")), n.accessibleDiffViewerVisible = new Te("accessibleDiffViewerVisible", !1, C(691, "Whether the accessible diff viewer is visible")), n.diffEditorRenderSideBySideInlineBreakpointReached = new Te("diffEditorRenderSideBySideInlineBreakpointReached", !1, C(692, "Whether the diff editor render side by side inline breakpoint is reached")), n.diffEditorInlineMode = new Te("diffEditorInlineMode", !1, C(693, "Whether inline mode is active")), n.diffEditorOriginalWritable = new Te("diffEditorOriginalWritable", !1, C(694, "Whether modified is writable in the diff editor")), n.diffEditorModifiedWritable = new Te("diffEditorModifiedWritable", !1, C(695, "Whether modified is writable in the diff editor")), n.diffEditorOriginalUri = new Te("diffEditorOriginalUri", "", C(696, "The uri of the original document")), n.diffEditorModifiedUri = new Te("diffEditorModifiedUri", "", C(697, "The uri of the modified document")), n.columnSelection = new Te("editorColumnSelection", !1, C(698, "Whether `editor.columnSelection` is enabled")), n.writable = n.readOnly.toNegated(), n.hasNonEmptySelection = new Te("editorHasSelection", !1, C(699, "Whether the editor has text selected")), n.hasOnlyEmptySelection = n.hasNonEmptySelection.toNegated(), n.hasMultipleSelections = new Te("editorHasMultipleSelections", !1, C(700, "Whether the editor has multiple selections")), n.hasSingleSelection = n.hasMultipleSelections.toNegated(), n.tabMovesFocus = new Te("editorTabMovesFocus", !1, C(701, "Whether `Tab` will move focus out of the editor")), n.tabDoesNotMoveFocus = n.tabMovesFocus.toNegated(), n.isInEmbeddedEditor = new Te("isInEmbeddedEditor", !1, !0), n.canUndo = new Te("canUndo", !1, !0), n.canRedo = new Te("canRedo", !1, !0), n.hoverVisible = new Te("editorHoverVisible", !1, C(702, "Whether the editor hover is visible")), n.hoverFocused = new Te("editorHoverFocused", !1, C(703, "Whether the editor hover is focused")), n.stickyScrollFocused = new Te("stickyScrollFocused", !1, C(704, "Whether the sticky scroll is focused")), n.stickyScrollVisible = new Te("stickyScrollVisible", !1, C(705, "Whether the sticky scroll is visible")), n.standaloneColorPickerVisible = new Te("standaloneColorPickerVisible", !1, C(706, "Whether the standalone color picker is visible")), n.standaloneColorPickerFocused = new Te("standaloneColorPickerFocused", !1, C(707, "Whether the standalone color picker is focused")), n.inCompositeEditor = new Te("inCompositeEditor", void 0, C(708, "Whether the editor is part of a larger editor (e.g. notebooks)")), n.notInCompositeEditor = n.inCompositeEditor.toNegated(), n.languageId = new Te("editorLangId", "", C(709, "The language identifier of the editor")), n.hasCompletionItemProvider = new Te("editorHasCompletionItemProvider", !1, C(710, "Whether the editor has a completion item provider")), n.hasCodeActionsProvider = new Te("editorHasCodeActionsProvider", !1, C(711, "Whether the editor has a code actions provider")), n.hasCodeLensProvider = new Te("editorHasCodeLensProvider", !1, C(712, "Whether the editor has a code lens provider")), n.hasDefinitionProvider = new Te("editorHasDefinitionProvider", !1, C(713, "Whether the editor has a definition provider")), n.hasDeclarationProvider = new Te("editorHasDeclarationProvider", !1, C(714, "Whether the editor has a declaration provider")), n.hasImplementationProvider = new Te("editorHasImplementationProvider", !1, C(715, "Whether the editor has an implementation provider")), n.hasTypeDefinitionProvider = new Te("editorHasTypeDefinitionProvider", !1, C(716, "Whether the editor has a type definition provider")), n.hasHoverProvider = new Te("editorHasHoverProvider", !1, C(717, "Whether the editor has a hover provider")), n.hasDocumentHighlightProvider = new Te("editorHasDocumentHighlightProvider", !1, C(718, "Whether the editor has a document highlight provider")), n.hasDocumentSymbolProvider = new Te("editorHasDocumentSymbolProvider", !1, C(719, "Whether the editor has a document symbol provider")), n.hasReferenceProvider = new Te("editorHasReferenceProvider", !1, C(720, "Whether the editor has a reference provider")), n.hasRenameProvider = new Te("editorHasRenameProvider", !1, C(721, "Whether the editor has a rename provider")), n.hasSignatureHelpProvider = new Te("editorHasSignatureHelpProvider", !1, C(722, "Whether the editor has a signature help provider")), n.hasInlayHintsProvider = new Te("editorHasInlayHintsProvider", !1, C(723, "Whether the editor has an inline hints provider")), n.hasDocumentFormattingProvider = new Te("editorHasDocumentFormattingProvider", !1, C(724, "Whether the editor has a document formatting provider")), n.hasDocumentSelectionFormattingProvider = new Te("editorHasDocumentSelectionFormattingProvider", !1, C(725, "Whether the editor has a document selection formatting provider")), n.hasMultipleDocumentFormattingProvider = new Te("editorHasMultipleDocumentFormattingProvider", !1, C(726, "Whether the editor has multiple document formatting providers")), n.hasMultipleDocumentSelectionFormattingProvider = new Te("editorHasMultipleDocumentSelectionFormattingProvider", !1, C(727, "Whether the editor has multiple document selection formatting providers"));
95752
96010
  })(H || (H = {}));
95753
96011
  const fi = 0;
95754
- class Qn extends Zs {
96012
+ class Qn extends Js {
95755
96013
  runEditorCommand(e, t, i) {
95756
96014
  const s = t._getViewModel();
95757
96015
  s && this.runCoreEditorCommand(s, i || {});
@@ -95760,7 +96018,7 @@ class Qn extends Zs {
95760
96018
  var Ur;
95761
96019
  (function(n) {
95762
96020
  const e = function(i) {
95763
- if (!js(i))
96021
+ if (!qs(i))
95764
96022
  return !1;
95765
96023
  const s = i;
95766
96024
  return !(!or(s.to) || !Do(s.by) && !or(s.by) || !Do(s.value) && !Zm(s.value) || !Do(s.revealCursor) && !TJ(s.revealCursor));
@@ -95863,7 +96121,7 @@ var Ur;
95863
96121
  var NL;
95864
96122
  (function(n) {
95865
96123
  const e = function(t) {
95866
- if (!js(t))
96124
+ if (!qs(t))
95867
96125
  return !1;
95868
96126
  const i = t;
95869
96127
  return !(!Zm(i.lineNumber) && !or(i.lineNumber) || !Do(i.at) && !or(i.at));
@@ -95902,7 +96160,7 @@ class dQ {
95902
96160
  const s = t.get(ti).getFocusedCodeEditor();
95903
96161
  return s && s.hasTextFocus() ? this._runEditorCommand(t, s, i) : !1;
95904
96162
  }), e.addImplementation(1e3, "generic-dom-input-textarea", (t, i) => {
95905
- const s = Ks();
96163
+ const s = Ys();
95906
96164
  return s && Wd(s) ? (this.runDOMCommand(s), !0) : !1;
95907
96165
  }), e.addImplementation(0, "generic-dom", (t, i) => {
95908
96166
  const s = t.get(ti).getActiveCodeEditor();
@@ -97130,7 +97388,7 @@ function _xe(n) {
97130
97388
  }
97131
97389
  var N2;
97132
97390
  (function(n) {
97133
- class e extends Zs {
97391
+ class e extends Js {
97134
97392
  runEditorCommand(i, s, r) {
97135
97393
  const o = s._getViewModel();
97136
97394
  o && this.runCoreEditingCommand(s, o, r || {});
@@ -102751,11 +103009,11 @@ class S8t {
102751
103009
  const u = l.className, d = l.type === 1 ? 2 : l.type === 2 ? 4 : 0;
102752
103010
  if (c > 1) {
102753
103011
  const p = e.charCodeAt(c - 2);
102754
- Us(p) && c--;
103012
+ Gs(p) && c--;
102755
103013
  }
102756
103014
  if (h > 1) {
102757
103015
  const p = e.charCodeAt(h - 2);
102758
- Us(p) && h--;
103016
+ Gs(p) && h--;
102759
103017
  }
102760
103018
  const f = c - 1, g = h - 2;
102761
103019
  r = s.consumeLowerThan(f, r, i), s.count === 0 && (r = f), s.insert(g, u, d);
@@ -102763,7 +103021,7 @@ class S8t {
102763
103021
  return s.consumeLowerThan(1073741824, r, i), i;
102764
103022
  }
102765
103023
  }
102766
- class Gs {
103024
+ class js {
102767
103025
  constructor(e, t, i, s) {
102768
103026
  this.endIndex = e, this.type = t, this.metadata = i, this.containsRTL = s, this._linePartBrand = void 0;
102769
103027
  }
@@ -102912,7 +103170,7 @@ function D8t(n) {
102912
103170
  function T8t(n, e, t, i, s) {
102913
103171
  const r = [];
102914
103172
  let o = 0;
102915
- i > 0 && (r[o++] = new Gs(i, "", 0, !1));
103173
+ i > 0 && (r[o++] = new js(i, "", 0, !1));
102916
103174
  let a = i;
102917
103175
  for (let l = 0, c = t.getCount(); l < c; l++) {
102918
103176
  const h = t.getEndOffset(l);
@@ -102921,11 +103179,11 @@ function T8t(n, e, t, i, s) {
102921
103179
  const u = t.getClassName(l);
102922
103180
  if (h >= s) {
102923
103181
  const f = e ? qD(n.substring(a, s)) : !1;
102924
- r[o++] = new Gs(s, u, 0, f);
103182
+ r[o++] = new js(s, u, 0, f);
102925
103183
  break;
102926
103184
  }
102927
103185
  const d = e ? qD(n.substring(a, h)) : !1;
102928
- r[o++] = new Gs(h, u, 0, d), a = h;
103186
+ r[o++] = new js(h, u, 0, d), a = h;
102929
103187
  }
102930
103188
  return r;
102931
103189
  }
@@ -102940,8 +103198,8 @@ function E8t(n, e, t) {
102940
103198
  const h = l.type, u = l.metadata, d = l.containsRTL;
102941
103199
  let f = -1, g = i;
102942
103200
  for (let p = i; p < c; p++)
102943
- n.charCodeAt(p) === 32 && (f = p), f !== -1 && p - g >= 50 && (s[r++] = new Gs(f + 1, h, u, d), g = f + 1, f = -1);
102944
- g !== c && (s[r++] = new Gs(c, h, u, d));
103201
+ n.charCodeAt(p) === 32 && (f = p), f !== -1 && p - g >= 50 && (s[r++] = new js(f + 1, h, u, d), g = f + 1, f = -1);
103202
+ g !== c && (s[r++] = new js(c, h, u, d));
102945
103203
  } else
102946
103204
  s[r++] = l;
102947
103205
  i = c;
@@ -102956,9 +103214,9 @@ function E8t(n, e, t) {
102956
103214
  );
102957
103215
  for (let p = 1; p < g; p++) {
102958
103216
  const m = i + p * 50;
102959
- s[r++] = new Gs(m, u, d, f);
103217
+ s[r++] = new js(m, u, d, f);
102960
103218
  }
102961
- s[r++] = new Gs(c, u, d, f);
103219
+ s[r++] = new js(c, u, d, f);
102962
103220
  } else
102963
103221
  s[r++] = l;
102964
103222
  i = c;
@@ -102983,7 +103241,7 @@ function I8t(n, e) {
102983
103241
  if (s === 0)
102984
103242
  return e;
102985
103243
  const r = [];
102986
- r.push(new Gs(s, t.type, t.metadata, !1)), r.push(new Gs(i, t.type, t.metadata, t.containsRTL));
103244
+ r.push(new js(s, t.type, t.metadata, !1)), r.push(new js(i, t.type, t.metadata, t.containsRTL));
102987
103245
  for (let o = 1; o < e.length; o++)
102988
103246
  r.push(e[o]);
102989
103247
  return r;
@@ -102993,14 +103251,14 @@ function W9e(n) {
102993
103251
  }
102994
103252
  function k8t(n, e) {
102995
103253
  const t = [];
102996
- let i = new Gs(0, "", 0, !1), s = 0;
103254
+ let i = new js(0, "", 0, !1), s = 0;
102997
103255
  for (const r of e) {
102998
103256
  const o = r.endIndex;
102999
103257
  for (; s < o; s++) {
103000
103258
  const a = n.charCodeAt(s);
103001
- W9e(a) && (s > i.endIndex && (i = new Gs(s, r.type, r.metadata, r.containsRTL), t.push(i)), i = new Gs(s + 1, "mtkcontrol", r.metadata, !1), t.push(i));
103259
+ W9e(a) && (s > i.endIndex && (i = new js(s, r.type, r.metadata, r.containsRTL), t.push(i)), i = new js(s + 1, "mtkcontrol", r.metadata, !1), t.push(i));
103002
103260
  }
103003
- s > i.endIndex && (i = new Gs(o, r.type, r.metadata, r.containsRTL), t.push(i));
103261
+ s > i.endIndex && (i = new js(o, r.type, r.metadata, r.containsRTL), t.push(i));
103004
103262
  }
103005
103263
  return t;
103006
103264
  }
@@ -103036,13 +103294,13 @@ function N8t(n, e, t, i) {
103036
103294
  if (d) {
103037
103295
  const R = g > 0 ? f[g - 1].endIndex : r;
103038
103296
  for (let A = R + 1; A <= I; A++)
103039
- f[g++] = new Gs(A, "mtkw", 1, !1);
103297
+ f[g++] = new js(A, "mtkw", 1, !1);
103040
103298
  } else
103041
- f[g++] = new Gs(I, "mtkw", 1, !1);
103299
+ f[g++] = new js(I, "mtkw", 1, !1);
103042
103300
  T = T % o;
103043
103301
  }
103044
103302
  } else
103045
- (I === _ || N && I > r) && (f[g++] = new Gs(I, m, 0, v), T = T % o);
103303
+ (I === _ || N && I > r) && (f[g++] = new js(I, m, 0, v), T = T % o);
103046
103304
  for (k === 9 ? T = o : tv(k) ? T += 2 : T++, x = N; I === _ && (p++, p < b); )
103047
103305
  m = i[p].type, v = i[p].containsRTL, _ = i[p].endIndex;
103048
103306
  }
@@ -103057,11 +103315,11 @@ function N8t(n, e, t, i) {
103057
103315
  if (d) {
103058
103316
  const I = g > 0 ? f[g - 1].endIndex : r;
103059
103317
  for (let k = I + 1; k <= t; k++)
103060
- f[g++] = new Gs(k, "mtkw", 1, !1);
103318
+ f[g++] = new js(k, "mtkw", 1, !1);
103061
103319
  } else
103062
- f[g++] = new Gs(t, "mtkw", 1, !1);
103320
+ f[g++] = new js(t, "mtkw", 1, !1);
103063
103321
  else
103064
- f[g++] = new Gs(t, m, 0, v);
103322
+ f[g++] = new js(t, m, 0, v);
103065
103323
  return f;
103066
103324
  }
103067
103325
  function M8t(n, e, t, i) {
@@ -103074,20 +103332,20 @@ function M8t(n, e, t, i) {
103074
103332
  const f = t[u], g = f.endIndex, p = f.type, m = f.metadata, v = f.containsRTL;
103075
103333
  for (; o < r && s[o].startOffset < g; ) {
103076
103334
  const _ = s[o];
103077
- if (_.startOffset > c && (c = _.startOffset, a[l++] = new Gs(c, p, m, v)), _.endOffset + 1 <= g)
103078
- c = _.endOffset + 1, a[l++] = new Gs(c, p + " " + _.className, m | _.metadata, v), o++;
103335
+ if (_.startOffset > c && (c = _.startOffset, a[l++] = new js(c, p, m, v)), _.endOffset + 1 <= g)
103336
+ c = _.endOffset + 1, a[l++] = new js(c, p + " " + _.className, m | _.metadata, v), o++;
103079
103337
  else {
103080
- c = g, a[l++] = new Gs(c, p + " " + _.className, m | _.metadata, v);
103338
+ c = g, a[l++] = new js(c, p + " " + _.className, m | _.metadata, v);
103081
103339
  break;
103082
103340
  }
103083
103341
  }
103084
- g > c && (c = g, a[l++] = new Gs(c, p, m, v));
103342
+ g > c && (c = g, a[l++] = new js(c, p, m, v));
103085
103343
  }
103086
103344
  const h = t[t.length - 1].endIndex;
103087
103345
  if (o < r && s[o].startOffset === h)
103088
103346
  for (; o < r && s[o].startOffset === h; ) {
103089
103347
  const u = s[o];
103090
- a[l++] = new Gs(c, u.className, u.metadata, !1), o++;
103348
+ a[l++] = new js(c, u.className, u.metadata, !1), o++;
103091
103349
  }
103092
103350
  return a;
103093
103351
  }
@@ -105871,7 +106129,7 @@ let IQ = class extends j {
105871
106129
  this._OS === 2
105872
106130
  /* OperatingSystem.Macintosh */
105873
106131
  );
105874
- h.replacePrevCharCnt === 0 && h.text.length === 1 && (Us(h.text.charCodeAt(0)) || h.text.charCodeAt(0) === 127) || (this._textAreaState = c, (h.text !== "" || h.replacePrevCharCnt !== 0 || h.replaceNextCharCnt !== 0 || h.positionDelta !== 0) && (l.inputType === "insertFromPaste" ? this._onPaste.fire({
106132
+ h.replacePrevCharCnt === 0 && h.text.length === 1 && (Gs(h.text.charCodeAt(0)) || h.text.charCodeAt(0) === 127) || (this._textAreaState = c, (h.text !== "" || h.replacePrevCharCnt !== 0 || h.replaceNextCharCnt !== 0 || h.positionDelta !== 0) && (l.inputType === "insertFromPaste" ? this._onPaste.fire({
105875
106133
  text: h.text,
105876
106134
  metadata: Lg.INSTANCE.get(h.text)
105877
106135
  }) : this._onType.fire(h)));
@@ -105971,7 +106229,7 @@ class h7t extends j {
105971
106229
  }
105972
106230
  hasFocus() {
105973
106231
  const e = Z0(this._actual);
105974
- return e ? e.activeElement === this._actual : this._actual.isConnected ? Ks() === this._actual : !1;
106232
+ return e ? e.activeElement === this._actual : this._actual.isConnected ? Ys() === this._actual : !1;
105975
106233
  }
105976
106234
  setIgnoreSelectionChangeTime(e) {
105977
106235
  this._ignoreSelectionChangeTime = Date.now();
@@ -105999,7 +106257,7 @@ class h7t extends j {
105999
106257
  const s = this._actual;
106000
106258
  let r = null;
106001
106259
  const o = Z0(s);
106002
- o ? r = o.activeElement : r = Ks();
106260
+ o ? r = o.activeElement : r = Ys();
106003
106261
  const a = ze(r), l = r === s, c = s.selectionStart, h = s.selectionEnd;
106004
106262
  if (l && c === t && h === i) {
106005
106263
  al && a.parent !== a && s.focus();
@@ -114954,7 +115212,7 @@ let $Q = class extends LFe {
114954
115212
  _getCharacterBeforePosition(e) {
114955
115213
  if (e.column > 1) {
114956
115214
  const i = this._context.viewModel.getLineContent(e.lineNumber).charAt(e.column - 2);
114957
- if (!Us(i.charCodeAt(0)))
115215
+ if (!Gs(i.charCodeAt(0)))
114958
115216
  return i;
114959
115217
  }
114960
115218
  return "";
@@ -115210,7 +115468,7 @@ let UQ = class extends j {
115210
115468
  this._domNode.focus(), this.refreshFocusState();
115211
115469
  }
115212
115470
  refreshFocusState() {
115213
- const e = Z0(this._domNode), t = e ? e.activeElement : Ks(), i = this._domNode === t;
115471
+ const e = Z0(this._domNode), t = e ? e.activeElement : Ys(), i = this._domNode === t;
115214
115472
  this._handleFocusedChanged(i);
115215
115473
  }
115216
115474
  get isFocused() {
@@ -115925,7 +116183,7 @@ const ud = class ud {
115925
116183
  }
115926
116184
  };
115927
116185
  ud.zero = new ud(0, 0);
115928
- let Ys = ud;
116186
+ let Xs = ud;
115929
116187
  class EFe {
115930
116188
  getOffsetRange(e) {
115931
116189
  return new Fe(this.getOffset(e.getStartPosition()), this.getOffset(e.getEndPosition()));
@@ -116038,7 +116296,7 @@ class ZFt extends $ue {
116038
116296
  }
116039
116297
  get length() {
116040
116298
  const e = this._getLineContent(this._lineCount);
116041
- return new Ys(this._lineCount - 1, e.length);
116299
+ return new Xs(this._lineCount - 1, e.length);
116042
116300
  }
116043
116301
  }
116044
116302
  class V4 extends ZFt {
@@ -116079,7 +116337,7 @@ class Ol {
116079
116337
  const o = r.range.getStartPosition();
116080
116338
  if (e.isBeforeOrEqual(o))
116081
116339
  break;
116082
- const a = r.range.getEndPosition(), l = Ys.ofText(r.text);
116340
+ const a = r.range.getEndPosition(), l = Xs.ofText(r.text);
116083
116341
  if (e.isBefore(a)) {
116084
116342
  const c = new U(o.lineNumber + t, o.column + (o.lineNumber + t === i ? s : 0)), h = l.addToPosition(c);
116085
116343
  return B4(c, h);
@@ -116115,7 +116373,7 @@ class Ol {
116115
116373
  const e = [];
116116
116374
  let t = 0, i = 0, s = 0;
116117
116375
  for (const r of this.replacements) {
116118
- const o = Ys.ofText(r.text), a = U.lift({
116376
+ const o = Xs.ofText(r.text), a = U.lift({
116119
116377
  lineNumber: r.range.startLineNumber + i,
116120
116378
  column: r.range.startColumn + (r.range.startLineNumber === t ? s : 0)
116121
116379
  }), l = o.createRange(a);
@@ -116206,7 +116464,7 @@ class bs {
116206
116464
  `, `
116207
116465
  `), i = this.text.replaceAll(`\r
116208
116466
  `, `
116209
- `), s = Vu(t, i), r = Ys.ofText(t.substring(0, s)).addToPosition(this.range.getStartPosition()), o = i.substring(s), a = P.fromPositions(r, this.range.getEndPosition());
116467
+ `), s = Vu(t, i), r = Xs.ofText(t.substring(0, s)).addToPosition(this.range.getStartPosition()), o = i.substring(s), a = P.fromPositions(r, this.range.getEndPosition());
116210
116468
  return new bs(a, o);
116211
116469
  }
116212
116470
  removeCommonSuffix(e) {
@@ -116214,7 +116472,7 @@ class bs {
116214
116472
  `, `
116215
116473
  `), i = this.text.replaceAll(`\r
116216
116474
  `, `
116217
- `), s = ev(t, i), r = Ys.ofText(t.substring(0, t.length - s)).addToPosition(this.range.getStartPosition()), o = i.substring(0, i.length - s), a = P.fromPositions(this.range.getStartPosition(), r);
116475
+ `), s = ev(t, i), r = Xs.ofText(t.substring(0, t.length - s)).addToPosition(this.range.getStartPosition()), o = i.substring(0, i.length - s), a = P.fromPositions(this.range.getStartPosition(), r);
116218
116476
  return new bs(a, o);
116219
116477
  }
116220
116478
  toString() {
@@ -116234,7 +116492,7 @@ XFt({
116234
116492
  StringReplacement: Rr,
116235
116493
  TextReplacement: bs,
116236
116494
  TextEdit: Ol,
116237
- TextLength: Ys
116495
+ TextLength: Xs
116238
116496
  });
116239
116497
  var JFt = function(n, e, t, i) {
116240
116498
  var s = arguments.length, r = s < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i, o;
@@ -116534,7 +116792,7 @@ let B9 = class extends LFe {
116534
116792
  const d = u.text;
116535
116793
  if (d.length === 1) {
116536
116794
  const f = d.charCodeAt(0);
116537
- if (Us(f)) {
116795
+ if (Gs(f)) {
116538
116796
  c = d;
116539
116797
  return;
116540
116798
  }
@@ -116619,7 +116877,7 @@ let B9 = class extends LFe {
116619
116877
  this._screenReaderSupport.onWillPaste();
116620
116878
  }
116621
116879
  onWillCopy() {
116622
- this.logService.trace("NativeEditContext#onWillCopy"), this.logService.trace("NativeEditContext#isFocused : ", this.domNode.domNode === Ks());
116880
+ this.logService.trace("NativeEditContext#onWillCopy"), this.logService.trace("NativeEditContext#isFocused : ", this.domNode.domNode === Ys());
116623
116881
  }
116624
116882
  writeScreenReaderContent() {
116625
116883
  this._screenReaderSupport.writeScreenReaderContent();
@@ -117876,7 +118134,7 @@ function _s(n, e) {
117876
118134
  }
117877
118135
  function Sh(n) {
117878
118136
  const e = n, t = Math.floor(e / Nc), i = e - t * Nc;
117879
- return new Ys(t, i);
118137
+ return new Xs(t, i);
117880
118138
  }
117881
118139
  function yVt(n) {
117882
118140
  return Math.floor(n / Nc);
@@ -119851,7 +120109,7 @@ function dLe(n) {
119851
120109
  }
119852
120110
  class bR {
119853
120111
  static fromText(e) {
119854
- const t = Ys.ofText(e).lineCount, i = e.length;
120112
+ const t = Xs.ofText(e).lineCount, i = e.length;
119855
120113
  return new bR(t, 0, i, 0);
119856
120114
  }
119857
120115
  static tryCreate(e, t, i, s) {
@@ -121957,7 +122215,7 @@ class W2 extends j {
121957
122215
  for (let o = s; o <= r; o++) {
121958
122216
  const a = this.getLineContent(o), l = o === s ? e.startColumn - 1 : 0, c = o === r ? e.endColumn - 1 : a.length;
121959
122217
  for (let h = l; h < c; h++)
121960
- Us(a.charCodeAt(h)) ? (i = i + 1, h = h + 1) : i = i + 1;
122218
+ Gs(a.charCodeAt(h)) ? (i = i + 1, h = h + 1) : i = i + 1;
121961
122219
  }
121962
122220
  return i += this._getEndOfLine(t).length * (r - s), i;
121963
122221
  }
@@ -122235,7 +122493,7 @@ class ZFe {
122235
122493
  }
122236
122494
  }
122237
122495
  }
122238
- function dh(n, e = Xs.ofCaller()) {
122496
+ function dh(n, e = Zs.ofCaller()) {
122239
122497
  return typeof n == "string" ? new xLe(n, void 0, e) : new xLe(void 0, n, e);
122240
122498
  }
122241
122499
  class xLe extends fE {
@@ -122336,7 +122594,7 @@ class gBt extends fE {
122336
122594
  this._value = e;
122337
122595
  }
122338
122596
  }
122339
- function RN(n, e, t = Xs.ofCaller()) {
122597
+ function RN(n, e, t = Zs.ofCaller()) {
122340
122598
  return n.lazy ? new gBt(new co(n.owner, n.debugName, void 0), e, n.equalsFn ?? Bc, t) : new HA(new co(n.owner, n.debugName, void 0), e, n.equalsFn ?? Bc, t);
122341
122599
  }
122342
122600
  class pBt {
@@ -122495,7 +122753,7 @@ let see = class extends j {
122495
122753
  _applyEdits(e) {
122496
122754
  var t, i;
122497
122755
  for (const s of e) {
122498
- const r = Ys.ofRange(P.lift(s.range)), o = Ys.ofText(s.text), a = s.text.length === 0 ? o : r.add(o), l = {
122756
+ const r = Xs.ofRange(P.lift(s.range)), o = Xs.ofText(s.text), a = s.text.length === 0 ? o : r.add(o), l = {
122499
122757
  startIndex: s.rangeOffset,
122500
122758
  oldEndIndex: s.rangeOffset + s.rangeLength,
122501
122759
  newEndIndex: s.rangeOffset + s.text.length,
@@ -124981,7 +125239,7 @@ let $C = (Cd = class extends j {
124981
125239
  return !1;
124982
125240
  if (i === 1) {
124983
125241
  const o = this._buffer.getLineCharCode(e, t - 2);
124984
- if (Us(o))
125242
+ if (Gs(o))
124985
125243
  return !1;
124986
125244
  }
124987
125245
  return !0;
@@ -124999,7 +125257,7 @@ let $C = (Cd = class extends j {
124999
125257
  return new U(s, a);
125000
125258
  if (i === 1) {
125001
125259
  const l = this._buffer.getLineCharCode(s, r - 2);
125002
- if (Us(l))
125260
+ if (Gs(l))
125003
125261
  return new U(s, r - 1);
125004
125262
  }
125005
125263
  return new U(s, r);
@@ -125029,7 +125287,7 @@ let $C = (Cd = class extends j {
125029
125287
  ))
125030
125288
  return !1;
125031
125289
  if (t === 1) {
125032
- const a = s > 1 ? this._buffer.getLineCharCode(i, s - 2) : 0, l = o > 1 && o <= this._buffer.getLineLength(r) ? this._buffer.getLineCharCode(r, o - 2) : 0, c = Us(a), h = Us(l);
125290
+ const a = s > 1 ? this._buffer.getLineCharCode(i, s - 2) : 0, l = o > 1 && o <= this._buffer.getLineLength(r) ? this._buffer.getLineCharCode(r, o - 2) : 0, c = Gs(a), h = Gs(l);
125033
125291
  return !c && !h;
125034
125292
  }
125035
125293
  return !0;
@@ -125049,7 +125307,7 @@ let $C = (Cd = class extends j {
125049
125307
  /* StringOffsetValidationType.Relaxed */
125050
125308
  ), r = i.lineNumber, o = i.column, a = s.lineNumber, l = s.column;
125051
125309
  {
125052
- const c = o > 1 ? this._buffer.getLineCharCode(r, o - 2) : 0, h = l > 1 && l <= this._buffer.getLineLength(a) ? this._buffer.getLineCharCode(a, l - 2) : 0, u = Us(c), d = Us(h);
125310
+ const c = o > 1 ? this._buffer.getLineCharCode(r, o - 2) : 0, h = l > 1 && l <= this._buffer.getLineLength(a) ? this._buffer.getLineCharCode(a, l - 2) : 0, u = Gs(c), d = Gs(h);
125053
125311
  return !u && !d ? new P(r, o, a, l) : r === a && o === l ? new P(r, o - 1, a, l - 1) : u && d ? new P(r, o - 1, a, l + 1) : u ? new P(r, o - 1, a, l) : new P(r, o, a, l + 1);
125054
125312
  }
125055
125313
  }
@@ -125893,7 +126151,7 @@ function cWt(n, e, t, i, s, r, o, a) {
125893
126151
  for (let W = S; W < l; W++) {
125894
126152
  const $ = W, z = t.charCodeAt(W);
125895
126153
  let K, Y;
125896
- if (Us(z) ? (W++, K = 0, Y = 2) : (K = n.get(z), Y = PN(z, k, i, r)), $ > v && gee(N, R, z, K, c) && (L = $, D = k), k += Y, k > b) {
126154
+ if (Gs(z) ? (W++, K = 0, Y = 2) : (K = n.get(z), Y = PN(z, k, i, r)), $ > v && gee(N, R, z, K, c) && (L = $, D = k), k += Y, k > b) {
125897
126155
  $ > v ? (T = $, E = k - Y) : (T = W + 1, E = k), k - D > f && (L = 0), A = !1;
125898
126156
  break;
125899
126157
  }
@@ -125928,7 +126186,7 @@ function cWt(n, e, t, i, s, r, o, a) {
125928
126186
  if (W <= i) {
125929
126187
  const $ = t.charCodeAt(T);
125930
126188
  let z;
125931
- Us($) ? z = 2 : z = PN($, E, i, r), W - z < 0 && (L = 0);
126189
+ Gs($) ? z = 2 : z = PN($, E, i, r), W - z < 0 && (L = 0);
125932
126190
  }
125933
126191
  }
125934
126192
  if (A) {
@@ -125938,7 +126196,7 @@ function cWt(n, e, t, i, s, r, o, a) {
125938
126196
  }
125939
126197
  if (L === 0 && (L = T, D = E), L <= v) {
125940
126198
  const k = t.charCodeAt(v);
125941
- Us(k) ? (L = v + 2, D = _ + 2) : (L = v + 1, D = _ + PN(k, _, i, r));
126199
+ Gs(k) ? (L = v + 2, D = _ + 2) : (L = v + 1, D = _ + PN(k, _, i, r));
125942
126200
  }
125943
126201
  for (v = L, g[m] = L, _ = D, p[m] = D, m++, b = D + f; w < 0 || w < y && u[w] < D; )
125944
126202
  w++;
@@ -125962,11 +126220,11 @@ function hWt(n, e, t, i, s, r, o, a, l) {
125962
126220
  return h ? new IN(u, h, [c.length], [], 0) : null;
125963
126221
  const f = a === "keepAll", g = rVe(c, i, s, r, o), p = s - g, m = [], v = [];
125964
126222
  let _ = 0, b = 0, y = 0, w = s, S = c.charCodeAt(0), x = n.get(S), L = PN(S, 0, i, r), D = 1;
125965
- Us(S) && (L += 1, S = c.charCodeAt(1), x = n.get(S), D++);
126223
+ Gs(S) && (L += 1, S = c.charCodeAt(1), x = n.get(S), D++);
125966
126224
  for (let T = D; T < d; T++) {
125967
126225
  const E = T, I = c.charCodeAt(T);
125968
126226
  let k, N, R = !1;
125969
- Us(I) ? (T++, k = 0, N = 2) : (k = n.get(I), N = PN(I, L, i, r)), l && uWt(c, T) ? (b = E, y = L, R = !0) : gee(S, x, I, k, f) && (b = E, y = L), L += N, (L > w || R) && ((b === 0 || L - y > p) && (b = E, y = L - N), m[_] = b, v[_] = y, _++, w = y + p, b = 0), S = I, x = k;
126227
+ Gs(I) ? (T++, k = 0, N = 2) : (k = n.get(I), N = PN(I, L, i, r)), l && uWt(c, T) ? (b = E, y = L, R = !0) : gee(S, x, I, k, f) && (b = E, y = L), L += N, (L > w || R) && ((b === 0 || L - y > p) && (b = E, y = L - N), m[_] = b, v[_] = y, _++, w = y + p, b = 0), S = I, x = k;
125970
126228
  }
125971
126229
  return _ === 0 && (!t || t.length === 0) ? null : (m[_] = d, v[_] = L, new IN(u, h, m, v, g));
125972
126230
  }
@@ -130750,7 +131008,7 @@ let UC = (vw = class extends j {
130750
131008
  }
130751
131009
  _triggerEditorCommand(e, t, i) {
130752
131010
  const s = E2.getEditorCommand(t);
130753
- return s ? (i = i || {}, js(i) && (i.source = e), this._instantiationService.invokeFunction((r) => {
131011
+ return s ? (i = i || {}, qs(i) && (i.source = e), this._instantiationService.invokeFunction((r) => {
130754
131012
  Promise.resolve(s.runEditorCommand(r, this, i)).then(void 0, ht);
130755
131013
  }), !0) : !1;
130756
131014
  }
@@ -131627,12 +131885,12 @@ gt._signals = /* @__PURE__ */ new Set(), gt.errorAtPosition = gt.register({
131627
131885
  managesOwnEnablement: !0
131628
131886
  });
131629
131887
  let ba = gt;
131630
- function QLe(n, e, t, i = Xs.ofCaller()) {
131888
+ function QLe(n, e, t, i = Zs.ofCaller()) {
131631
131889
  return f7e({ debugName: () => `Configuration Key "${n}"` }, (s) => t.onDidChangeConfiguration((r) => {
131632
131890
  r.affectsConfiguration(n) && s(r);
131633
131891
  }), () => t.getValue(n) ?? e, i);
131634
131892
  }
131635
- function Af(n, e, t, i = Xs.ofCaller()) {
131893
+ function Af(n, e, t, i = Zs.ofCaller()) {
131636
131894
  const s = n.bindTo(e), r = new ie();
131637
131895
  return Jr({ debugName: () => `Set Context Key "${n.key}"` }, (o) => {
131638
131896
  const a = t(o);
@@ -135743,7 +136001,7 @@ const EB = class EB {
135743
136001
  }
135744
136002
  _setupFocusObserver(e) {
135745
136003
  this.disposables.add(Z(e, "focus", () => {
135746
- const t = Ks();
136004
+ const t = Ys();
135747
136005
  this.activeElement !== t && t !== null && (this.activeElement = t, this._scrollToActiveElement(this.activeElement, e));
135748
136006
  }, !0));
135749
136007
  }
@@ -136620,7 +136878,7 @@ class QVe {
136620
136878
  return this.isSelectionSingleChangeEvent(e) || this.isSelectionRangeChangeEvent(e);
136621
136879
  }
136622
136880
  onMouseDown(e) {
136623
- Mk(e.browserEvent.target) || Ks() !== e.browserEvent.target && this.list.domFocus();
136881
+ Mk(e.browserEvent.target) || Ys() !== e.browserEvent.target && this.list.domFocus();
136624
136882
  }
136625
136883
  onContextMenu(e) {
136626
136884
  if (Wd(e.browserEvent.target) || Mk(e.browserEvent.target))
@@ -137954,7 +138212,7 @@ class sl extends j {
137954
138212
  /* KeyCode.RightArrow */
137955
138213
  )) && this.updateFocusedItem();
137956
138214
  })), this.focusTracker = this._register(Ih(this.domNode)), this._register(this.focusTracker.onDidBlur(() => {
137957
- (Ks() === this.domNode || !ar(Ks(), this.domNode)) && (this._onDidBlur.fire(), this.previouslyFocusedItem = this.focusedItem, this.focusedItem = void 0, this.triggerKeyDown = !1);
138215
+ (Ys() === this.domNode || !ar(Ys(), this.domNode)) && (this._onDidBlur.fire(), this.previouslyFocusedItem = this.focusedItem, this.focusedItem = void 0, this.triggerKeyDown = !1);
137958
138216
  })), this._register(this.focusTracker.onDidFocus(() => this.updateFocusedItem())), this.actionsList = document.createElement("ul"), this.actionsList.className = "actions-container", this.options.highlightToggledItems && this.actionsList.classList.add("highlight-toggled"), this.actionsList.setAttribute("role", this.options.ariaRole || "toolbar"), this.options.ariaLabel && this.actionsList.setAttribute("aria-label", this.options.ariaLabel), this.domNode.appendChild(this.actionsList), e.appendChild(this.domNode);
137959
138217
  }
137960
138218
  refreshRole() {
@@ -137982,7 +138240,7 @@ class sl extends j {
137982
138240
  var e, t;
137983
138241
  for (let i = 0; i < this.actionsList.children.length; i++) {
137984
138242
  const s = this.actionsList.children[i];
137985
- if (ar(Ks(), s)) {
138243
+ if (ar(Ys(), s)) {
137986
138244
  this.focusedItem = i, (t = (e = this.viewItems[this.focusedItem]) == null ? void 0 : e.showHover) == null || t.call(e);
137987
138245
  break;
137988
138246
  }
@@ -138320,7 +138578,7 @@ function T2e(n, e) {
138320
138578
  }
138321
138579
  }
138322
138580
  function _Ut(n, e) {
138323
- return n.lineNumber === e.lineNumber ? new Ys(0, e.column - n.column) : new Ys(e.lineNumber - n.lineNumber, e.column - 1);
138581
+ return n.lineNumber === e.lineNumber ? new Xs(0, e.column - n.column) : new Xs(e.lineNumber - n.lineNumber, e.column - 1);
138324
138582
  }
138325
138583
  function bUt(n, e) {
138326
138584
  let t;
@@ -139321,7 +139579,7 @@ function cBe(n, e, t, i) {
139321
139579
  o = !1, a && c.dispose();
139322
139580
  });
139323
139581
  }
139324
- function Ml(n, e, t = Xs.ofCaller()) {
139582
+ function Ml(n, e, t = Zs.ofCaller()) {
139325
139583
  return new $Ut(typeof n == "string" ? n : new co(n, void 0, void 0), e, t);
139326
139584
  }
139327
139585
  class $Ut extends fE {
@@ -140587,7 +140845,7 @@ const u_ = class u_ extends j {
140587
140845
  this._endUpdate();
140588
140846
  }
140589
140847
  }
140590
- getOption(e, t = Xs.ofCaller()) {
140848
+ getOption(e, t = Zs.ofCaller()) {
140591
140849
  return gi(this, (i) => this.editor.onDidChangeConfiguration((s) => {
140592
140850
  s.hasChanged(e) && i(void 0);
140593
140851
  }), () => this.editor.getOption(e), t);
@@ -141840,7 +142098,7 @@ const AB = class AB extends j {
141840
142098
  return;
141841
142099
  if (ah(t))
141842
142100
  return this.delete(e, i);
141843
- const s = js(t) || Array.isArray(t) ? Rzt(t) : String(t);
142101
+ const s = qs(t) || Array.isArray(t) ? Rzt(t) : String(t);
141844
142102
  if (this.cache.get(e) !== s)
141845
142103
  return this.cache.set(e, s), this.pendingInserts.set(e, s), this.pendingDeletes.delete(e), this._onDidChangeStorage.fire({ key: e, external: i }), this.doFlush();
141846
142104
  }
@@ -143072,7 +143330,7 @@ class KC extends $ue {
143072
143330
  }
143073
143331
  get length() {
143074
143332
  const e = this._textModel.getLineCount(), t = this._textModel.getLineLength(e);
143075
- return new Ys(e - 1, t);
143333
+ return new Xs(e - 1, t);
143076
143334
  }
143077
143335
  }
143078
143336
  class wBe extends OC {
@@ -144200,7 +144458,7 @@ function QGt(n, e, t) {
144200
144458
  }) || null;
144201
144459
  }
144202
144460
  function HS(n) {
144203
- const t = n.get(ti).listDiffEditors(), i = Ks();
144461
+ const t = n.get(ti).listDiffEditors(), i = Ys();
144204
144462
  if (i) {
144205
144463
  for (const s of t)
144206
144464
  if (s.getContainerDomNode().contains(i))
@@ -144995,7 +145253,7 @@ class Fde {
144995
145253
  }
144996
145254
  class c0 extends Fde {
144997
145255
  static is(e) {
144998
- return e instanceof c0 ? !0 : js(e) && je.isUri(e.resource) && js(e.textEdit);
145256
+ return e instanceof c0 ? !0 : qs(e) && je.isUri(e.resource) && qs(e.textEdit);
144999
145257
  }
145000
145258
  static lift(e) {
145001
145259
  return e instanceof c0 ? e : new c0(e.resource, e.textEdit, e.versionId, e.metadata);
@@ -145006,7 +145264,7 @@ class c0 extends Fde {
145006
145264
  }
145007
145265
  class $2 extends Fde {
145008
145266
  static is(e) {
145009
- return e instanceof $2 ? !0 : js(e) && (!!e.newResource || !!e.oldResource);
145267
+ return e instanceof $2 ? !0 : qs(e) && (!!e.newResource || !!e.oldResource);
145010
145268
  }
145011
145269
  static lift(e) {
145012
145270
  return e instanceof $2 ? e : new $2(e.oldResource, e.newResource, e.options, e.metadata);
@@ -145052,7 +145310,7 @@ class Cjt extends _n {
145052
145310
  this._unregister(), super.dispose();
145053
145311
  }
145054
145312
  }
145055
- De(new class extends Zs {
145313
+ De(new class extends Js {
145056
145314
  constructor() {
145057
145315
  super({
145058
145316
  id: "editor.cancelOperation",
@@ -145299,7 +145557,7 @@ let zl = (p0 = class {
145299
145557
  } else
145300
145558
  this._messageWidget.value = new NK(this._editor, t, e);
145301
145559
  this._messageListeners.add(be.debounce(this._editor.onDidBlurEditorText, (s, r) => r, 0)(() => {
145302
- this._mouseOverMessage || this._messageWidget.value && ar(Ks(), this._messageWidget.value.getDomNode()) || this.closeMessage();
145560
+ this._mouseOverMessage || this._messageWidget.value && ar(Ys(), this._messageWidget.value.getDomNode()) || this.closeMessage();
145303
145561
  })), this._messageListeners.add(this._editor.onDidChangeCursorPosition(() => this.closeMessage())), this._messageListeners.add(this._editor.onDidDispose(() => this.closeMessage())), this._messageListeners.add(this._editor.onDidChangeModel(() => this.closeMessage())), this._messageListeners.add(Z(this._messageWidget.value.getDomNode(), _e.MOUSE_ENTER, () => this._mouseOverMessage = !0, !0)), this._messageListeners.add(Z(this._messageWidget.value.getDomNode(), _e.MOUSE_LEAVE, () => this._mouseOverMessage = !1, !0));
145304
145562
  let i;
145305
145563
  this._messageListeners.add(this._editor.onMouseMove((s) => {
@@ -145314,7 +145572,7 @@ zl = j6 = Njt([
145314
145572
  eDe(1, ot),
145315
145573
  eDe(2, kv)
145316
145574
  ], zl);
145317
- const Mjt = Zs.bindToContribution(zl.get);
145575
+ const Mjt = Js.bindToContribution(zl.get);
145318
145576
  De(new Mjt({
145319
145577
  id: "leaveEditorMessage",
145320
145578
  precondition: zl.MESSAGE_VISIBLE,
@@ -147437,7 +147695,7 @@ let fv = (Cw = class extends j {
147437
147695
  });
147438
147696
  const p = u.map((y) => ({
147439
147697
  providerMimeTypes: y.copyMimeTypes,
147440
- operation: qs((w) => y.prepareDocumentPaste(i, o, d, w).catch((S) => {
147698
+ operation: Ks((w) => y.prepareDocumentPaste(i, o, d, w).catch((S) => {
147441
147699
  console.error(S);
147442
147700
  }))
147443
147701
  }));
@@ -147492,7 +147750,7 @@ let fv = (Cw = class extends j {
147492
147750
  const o = this._editor;
147493
147751
  if (!o.hasModel())
147494
147752
  return;
147495
- const a = new uv(o, 3, void 0), l = qs(async (c) => {
147753
+ const a = new uv(o, 3, void 0), l = Ks(async (c) => {
147496
147754
  const h = this._editor;
147497
147755
  if (!h.hasModel())
147498
147756
  return;
@@ -147541,7 +147799,7 @@ let fv = (Cw = class extends j {
147541
147799
  }
147542
147800
  showPasteAsPick(e, t, i, s, r) {
147543
147801
  this._logService.trace("CopyPasteController#showPasteAsPick");
147544
- const o = qs(async (a) => {
147802
+ const o = Ks(async (a) => {
147545
147803
  var d;
147546
147804
  const l = this._editor;
147547
147805
  if (!l.hasModel())
@@ -148822,7 +149080,7 @@ class Cqt extends j {
148822
149080
  this.setState(Zb.Empty);
148823
149081
  return;
148824
149082
  }
148825
- const s = i.selection.getStartPosition(), r = qs(async (c) => {
149083
+ const s = i.selection.getStartPosition(), r = Ks(async (c) => {
148826
149084
  var u, d, f, g, p, m, v, _, b, y;
148827
149085
  if (this._settingEnabledNearbyQuickfixes() && i.trigger.type === 1 && (i.trigger.triggerAction === tc.QuickFix || (d = (u = i.trigger.filter) == null ? void 0 : u.include) != null && d.contains(mn.QuickFix))) {
148828
149086
  const w = await HL(this._registry, e, i.selection, i.trigger, Nd.None, c);
@@ -149415,7 +149673,7 @@ class Tqt extends Me {
149415
149673
  return zS(t, C(837, "No code actions available"), void 0, void 0, tc.QuickFix);
149416
149674
  }
149417
149675
  }
149418
- class Eqt extends Zs {
149676
+ class Eqt extends Js {
149419
149677
  constructor() {
149420
149678
  super({
149421
149679
  id: XBe,
@@ -150106,7 +150364,7 @@ let OR = (nD = class {
150106
150364
  const i = new Ai(() => {
150107
150365
  var r;
150108
150366
  const s = Date.now();
150109
- (r = this._getCodeLensModelPromise) == null || r.cancel(), this._getCodeLensModelPromise = qs((o) => iWe(this._languageFeaturesService.codeLensProvider, e, o)), this._getCodeLensModelPromise.then((o) => {
150367
+ (r = this._getCodeLensModelPromise) == null || r.cancel(), this._getCodeLensModelPromise = Ks((o) => iWe(this._languageFeaturesService.codeLensProvider, e, o)), this._getCodeLensModelPromise.then((o) => {
150110
150368
  this._currentCodeLensModel && this._oldCodeLensModels.add(this._currentCodeLensModel), this._currentCodeLensModel = o, this._codeLensCache.put(e, o);
150111
150369
  const a = this._provideCodeLensDebounce.update(e, Date.now() - s);
150112
150370
  i.delay = a, this._renderCodeLensSymbols(o), this._resolveCodeLensesInViewportSoon();
@@ -150210,7 +150468,7 @@ let OR = (nD = class {
150210
150468
  this._oldCodeLensModels.clear();
150211
150469
  return;
150212
150470
  }
150213
- const s = Date.now(), r = qs((a) => {
150471
+ const s = Date.now(), r = Ks((a) => {
150214
150472
  const l = t.map((c, h) => {
150215
150473
  const u = new Array(c.length), d = c.map((f, g) => !f.symbol.command && typeof f.provider.resolveCodeLens == "function" ? Promise.resolve(f.provider.resolveCodeLens(e, f.symbol, a)).then((p) => {
150216
150474
  u[g] = p;
@@ -150507,7 +150765,7 @@ let gT = (v0 = class extends j {
150507
150765
  })), this.beginCompute());
150508
150766
  }
150509
150767
  async beginCompute() {
150510
- this._computePromise = qs(async (e) => {
150768
+ this._computePromise = Ks(async (e) => {
150511
150769
  const t = this._editor.getModel();
150512
150770
  if (!t)
150513
150771
  return [];
@@ -158821,7 +159079,7 @@ class rHe {
158821
159079
  return this.doRefreshSubTree(e, t, i);
158822
159080
  }
158823
159081
  async doRefreshSubTree(e, t, i) {
158824
- const s = qs(async () => {
159082
+ const s = Ks(async () => {
158825
159083
  const r = await this.doRefreshNode(e, t, i);
158826
159084
  e.stale = !1, await OA.settled(r.map((o) => this.doRefreshSubTree(o, t, i)));
158827
159085
  });
@@ -158861,7 +159119,7 @@ class rHe {
158861
159119
  if (t)
158862
159120
  return t;
158863
159121
  const i = this.dataSource.getChildren(e.element);
158864
- return DJ(i) ? this.processChildren(i) : (t = qs(async () => this.processChildren(await i)), this.refreshPromises.set(e, t), t.finally(() => {
159122
+ return DJ(i) ? this.processChildren(i) : (t = Ks(async () => this.processChildren(await i)), this.refreshPromises.set(e, t), t.finally(() => {
158865
159123
  this.refreshPromises.delete(e);
158866
159124
  }));
158867
159125
  }
@@ -160649,7 +160907,7 @@ let aS = (Lw = class {
160649
160907
  this._widget.show(i), this._widget.focusOnReferenceTree();
160650
160908
  else {
160651
160909
  const o = Q6.get(r), a = this._model.clone();
160652
- this.closeWidget(), r.focus(), o == null || o.toggleWidget(i, qs((l) => Promise.resolve(a)), this._peekMode ?? !1);
160910
+ this.closeWidget(), r.focus(), o == null || o.toggleWidget(i, Ks((l) => Promise.resolve(a)), this._peekMode ?? !1);
160653
160911
  }
160654
160912
  }, (r) => {
160655
160913
  this._ignoreModelChangeEvent = !1, ht(r);
@@ -160866,7 +161124,7 @@ Ot(
160866
161124
  1
160867
161125
  /* InstantiationType.Delayed */
160868
161126
  );
160869
- De(new class extends Zs {
161127
+ De(new class extends Js {
160870
161128
  constructor() {
160871
161129
  super({
160872
161130
  id: "editor.gotoNextSymbolFromResult",
@@ -161082,7 +161340,7 @@ const eu = class eu extends Ku {
161082
161340
  }
161083
161341
  _openInPeek(e, t, i) {
161084
161342
  const s = aS.get(e);
161085
- s && e.hasModel() ? s.toggleWidget(i ?? e.getSelection(), qs((r) => Promise.resolve(t)), this.configuration.openInPeek) : t.dispose();
161343
+ s && e.hasModel() ? s.toggleWidget(i ?? e.getSelection(), Ks((r) => Promise.resolve(t)), this.configuration.openInPeek) : t.dispose();
161086
161344
  }
161087
161345
  };
161088
161346
  eu._allSymbolNavigationCommands = /* @__PURE__ */ new Map(), eu._activeAlternativeCommands = /* @__PURE__ */ new Set();
@@ -161581,7 +161839,7 @@ Yt.registerCommand({
161581
161839
  const o = aS.get(r);
161582
161840
  if (!o)
161583
161841
  return;
161584
- const a = qs((c) => qO(i.referenceProvider, r.getModel(), U.lift(t), !1, !1, c).then((h) => new $l(h, C(1064, "References")))), l = new P(t.lineNumber, t.column, t.lineNumber, t.column);
161842
+ const a = Ks((c) => qO(i.referenceProvider, r.getModel(), U.lift(t), !1, !1, c).then((h) => new $l(h, C(1064, "References")))), l = new P(t.lineNumber, t.column, t.lineNumber, t.column);
161585
161843
  return Promise.resolve(o.toggleWidget(l, a, !1));
161586
161844
  });
161587
161845
  }
@@ -162614,7 +162872,7 @@ ye(GF);
162614
162872
  ye(cie);
162615
162873
  ye(fZt);
162616
162874
  ye(gZt);
162617
- const DHe = new Te("markersNavigationVisible", !1), pZt = Zs.bindToContribution(lS.get);
162875
+ const DHe = new Te("markersNavigationVisible", !1), pZt = Js.bindToContribution(lS.get);
162618
162876
  De(new pZt({
162619
162877
  id: "closeMarkersNavigation",
162620
162878
  precondition: DHe,
@@ -162793,7 +163051,7 @@ let hie = class {
162793
163051
  return i;
162794
163052
  }
162795
163053
  getCodeActions(e) {
162796
- return qs((t) => HL(this._languageFeaturesService.codeActionProvider, this._editor.getModel(), new P(e.startLineNumber, e.startColumn, e.endLineNumber, e.endColumn), QDe, Nd.None, t));
163054
+ return Ks((t) => HL(this._languageFeaturesService.codeActionProvider, this._editor.getModel(), new P(e.startLineNumber, e.startColumn, e.endLineNumber, e.endColumn), QDe, Nd.None, t));
162797
163055
  }
162798
163056
  };
162799
163057
  hie = mZt([
@@ -164671,7 +164929,7 @@ Zt(
164671
164929
  /* EditorContributionInstantiation.Eager */
164672
164930
  );
164673
164931
  RE(hte);
164674
- De(new class extends Zs {
164932
+ De(new class extends Js {
164675
164933
  constructor() {
164676
164934
  super({
164677
164935
  id: GBe,
@@ -164687,7 +164945,7 @@ De(new class extends Zs {
164687
164945
  return (t = fv.get(e)) == null ? void 0 : t.changePasteType();
164688
164946
  }
164689
164947
  }());
164690
- De(new class extends Zs {
164948
+ De(new class extends Js {
164691
164949
  constructor() {
164692
164950
  super({
164693
164951
  id: "editor.hidePasteWidget",
@@ -164819,7 +165077,7 @@ let yT = (Bw = class extends j {
164819
165077
  if (!i.dataTransfer || !e.hasModel())
164820
165078
  return;
164821
165079
  (r = Np._currentDropOperation) == null || r.cancel(), e.focus(), e.setPosition(t);
164822
- const s = qs(async (o) => {
165080
+ const s = Ks(async (o) => {
164823
165081
  const a = new ie(), l = a.add(new uv(e, 1, void 0, o));
164824
165082
  try {
164825
165083
  const c = await this.extractDataTransferData(i);
@@ -164897,7 +165155,7 @@ Zt(
164897
165155
  /* EditorContributionInstantiation.BeforeFirstInteraction */
164898
165156
  );
164899
165157
  RE(cte);
164900
- De(new class extends Zs {
165158
+ De(new class extends Js {
164901
165159
  constructor() {
164902
165160
  super({
164903
165161
  id: NHe,
@@ -164913,7 +165171,7 @@ De(new class extends Zs {
164913
165171
  (i = yT.get(e)) == null || i.changeDropType();
164914
165172
  }
164915
165173
  }());
164916
- De(new class extends Zs {
165174
+ De(new class extends Js {
164917
165175
  constructor() {
164918
165176
  super({
164919
165177
  id: "editor.hideDropWidget",
@@ -165923,7 +166181,7 @@ ye(JZt);
165923
166181
  ye(tJt);
165924
166182
  ye(iJt);
165925
166183
  ye(nJt);
165926
- const df = Zs.bindToContribution(dl.get);
166184
+ const df = Js.bindToContribution(dl.get);
165927
166185
  De(new df({
165928
166186
  id: en.CloseFindWidgetCommand,
165929
166187
  precondition: Mv,
@@ -167098,7 +167356,7 @@ let l1 = (Hw = class extends j {
167098
167356
  const e = this.foldingModel;
167099
167357
  if (!e)
167100
167358
  return null;
167101
- const t = new cr(), i = this.getRangeProvider(e.textModel), s = this.foldingRegionPromise = qs((r) => i.compute(r));
167359
+ const t = new cr(), i = this.getRangeProvider(e.textModel), s = this.foldingRegionPromise = Ks((r) => i.compute(r));
167102
167360
  return s.then((r) => {
167103
167361
  if (r && s === this.foldingRegionPromise) {
167104
167362
  let o;
@@ -167279,7 +167537,7 @@ function TJt(n) {
167279
167537
  }
167280
167538
  function VHe(n) {
167281
167539
  if (!Do(n)) {
167282
- if (!js(n))
167540
+ if (!qs(n))
167283
167541
  return !1;
167284
167542
  const e = n;
167285
167543
  if (!Do(e.levels) && !Zm(e.levels) || !Do(e.direction) && !or(e.direction) || !Do(e.selectionLines) && (!Array.isArray(e.selectionLines) || !e.selectionLines.every(Zm)))
@@ -170911,7 +171169,7 @@ Zt(
170911
171169
  4
170912
171170
  /* EditorContributionInstantiation.Lazy */
170913
171171
  );
170914
- const B$ = Zs.bindToContribution(oa.get);
171172
+ const B$ = Js.bindToContribution(oa.get);
170915
171173
  De(new B$({
170916
171174
  id: "jumpToNextSnippetPlaceholder",
170917
171175
  precondition: le.and(oa.InSnippetMode, oa.HasNextTabstop),
@@ -171133,7 +171391,7 @@ function gm(n, e, t) {
171133
171391
  i,
171134
171392
  1
171135
171393
  /* EndOfLinePreference.LF */
171136
- ), o = Vu(r, s), a = Ys.ofText(r.substring(0, o)).addToPosition(n.range.getStartPosition()), l = s.substring(o), c = P.fromPositions(a, n.range.getEndPosition());
171394
+ ), o = Vu(r, s), a = Xs.ofText(r.substring(0, o)).addToPosition(n.range.getStartPosition()), l = s.substring(o), c = P.fromPositions(a, n.range.getEndPosition());
171137
171395
  return new bs(c, l);
171138
171396
  }
171139
171397
  function QHe(n, e) {
@@ -171248,7 +171506,7 @@ function vei(n, e) {
171248
171506
  KD(o, (l) => {
171249
171507
  t = r, s.setValue(r, l, a);
171250
171508
  });
171251
- }, Xs.ofCaller());
171509
+ }, Zs.ofCaller());
171252
171510
  return s;
171253
171511
  }
171254
171512
  var _ei = function(n, e, t, i) {
@@ -172366,7 +172624,7 @@ class JN extends nze {
172366
172624
  }
172367
172625
  canBeReused(e, t) {
172368
172626
  const i = this._textEdit.range;
172369
- return !!i && i.containsPosition(t) && this.isVisible(e, t) && Ys.ofRange(i).isGreaterThanOrEqualTo(Ys.ofRange(this._originalRange));
172627
+ return !!i && i.containsPosition(t) && this.isVisible(e, t) && Xs.ofRange(i).isGreaterThanOrEqualTo(Xs.ofRange(this._originalRange));
172370
172628
  }
172371
172629
  isVisible(e, t) {
172372
172630
  const i = this.getSingleTextEdit();
@@ -172437,8 +172695,8 @@ function Gei(n, e, t) {
172437
172695
  maxComputationTimeMs: 500
172438
172696
  }).changes.flatMap((d) => d.innerChanges ?? []);
172439
172697
  function c(d, f) {
172440
- const g = Ys.fromPosition(f.getStartPosition());
172441
- return Ys.ofRange(f).createRange(g.addToPosition(d));
172698
+ const g = Xs.fromPosition(f.getStartPosition());
172699
+ return Xs.ofRange(f).createRange(g.addToPosition(d));
172442
172700
  }
172443
172701
  const h = new $_(r);
172444
172702
  return new cv(l.map((d) => {
@@ -172873,7 +173131,7 @@ let $ie = (zw = class extends j {
172873
173131
  }
172874
173132
  _updateCompletionsEnablement(e) {
172875
173133
  const t = this._configurationService.getValue(e);
172876
- js(t) ? this._completionsEnabled = t : this._completionsEnabled = void 0;
173134
+ qs(t) ? this._completionsEnabled = t : this._completionsEnabled = void 0;
172877
173135
  }
172878
173136
  _log(e) {
172879
173137
  this._loggingEnabled.get() && this._logService.info(XQt(e)), this._structuredFetchLogger.log(e);
@@ -173837,7 +174095,7 @@ let Kie = class extends j {
173837
174095
  } finally {
173838
174096
  this._isAcceptingPartially = !1;
173839
174097
  }
173840
- const p = P.fromPositions(a.editRange.getStartPosition(), Ys.ofText(d).addToPosition(c)), v = e.getModel().getValueInRange(
174098
+ const p = P.fromPositions(a.editRange.getStartPosition(), Xs.ofText(d).addToPosition(c)), v = e.getModel().getValueInRange(
173841
174099
  p,
173842
174100
  1
173843
174101
  /* EndOfLinePreference.LF */
@@ -174591,7 +174849,7 @@ let vV = Zie = class {
174591
174849
  i = this._editor.getModel().getLineContent(a.lineNumber).substr(0, a.column - 1);
174592
174850
  }
174593
174851
  let s = "";
174594
- Y0(i.charCodeAt(i.length - 1)) ? Us(i.charCodeAt(i.length - 2)) && (s = i.substr(i.length - 2)) : s = i.charAt(i.length - 1);
174852
+ Y0(i.charCodeAt(i.length - 1)) ? Gs(i.charCodeAt(i.length - 2)) && (s = i.substr(i.length - 2)) : s = i.charAt(i.length - 1);
174595
174853
  const r = e.get(s);
174596
174854
  if (r) {
174597
174855
  const a = /* @__PURE__ */ new Map();
@@ -175529,7 +175787,7 @@ let ine = (L0 = class {
175529
175787
  return;
175530
175788
  this._ctxSuggestWidgetHasFocusedSuggestion.set(!0);
175531
175789
  const t = e.elements[0], i = e.indexes[0];
175532
- t !== this._focusedItem && ((s = this._currentSuggestionDetails) == null || s.cancel(), this._currentSuggestionDetails = void 0, this._focusedItem = t, this._list.reveal(i), this._currentSuggestionDetails = qs(async (r) => {
175790
+ t !== this._focusedItem && ((s = this._currentSuggestionDetails) == null || s.cancel(), this._currentSuggestionDetails = void 0, this._focusedItem = t, this._list.reveal(i), this._currentSuggestionDetails = Ks(async (r) => {
175533
175791
  const o = Qm(() => {
175534
175792
  this._isDetailsVisible() && this._showDetails(!0, !1);
175535
175793
  }, 250), a = r.onCancellationRequested(() => o.dispose());
@@ -176323,7 +176581,7 @@ Zt(
176323
176581
  /* EditorContributionInstantiation.BeforeFirstInteraction */
176324
176582
  );
176325
176583
  ye(_V);
176326
- const Hc = 190, Va = Zs.bindToContribution(Md.get);
176584
+ const Hc = 190, Va = Js.bindToContribution(Md.get);
176327
176585
  De(new Va({
176328
176586
  id: "acceptSelectedSuggestion",
176329
176587
  precondition: le.and(Dt.Visible, Dt.HasFocusedSuggestion),
@@ -176564,7 +176822,7 @@ De(new Va({
176564
176822
  id: "insertBestCompletion",
176565
176823
  precondition: le.and(H.textInputFocus, le.equals("config.editor.tabCompletion", "on"), gV.AtEnd, Dt.Visible.toNegated(), CT.OtherSuggestions.toNegated(), oa.InSnippetMode.toNegated()),
176566
176824
  handler: (n, e) => {
176567
- n.triggerSuggestAndAcceptBest(js(e) ? { fallback: "tab", ...e } : { fallback: "tab" });
176825
+ n.triggerSuggestAndAcceptBest(qs(e) ? { fallback: "tab", ...e } : { fallback: "tab" });
176568
176826
  },
176569
176827
  kbOpts: {
176570
176828
  weight: Hc,
@@ -177661,7 +177919,7 @@ class dze extends j {
177661
177919
  computeStickyModel(e) {
177662
177920
  if (e.isCancellationRequested || !this.isProviderValid())
177663
177921
  return { statusPromise: this._invalid(), modelPromise: null };
177664
- const t = qs((i) => this.createModelFromProvider(i));
177922
+ const t = Ks((i) => this.createModelFromProvider(i));
177665
177923
  return {
177666
177924
  statusPromise: t.then((i) => this.isModelValid(i) ? e.isCancellationRequested ? Z_.CANCELED : (this._stickyModel = this.createStickyModel(e, i), Z_.VALID) : this._invalid()).then(void 0, (i) => (ht(i), Z_.CANCELED)),
177667
177925
  modelPromise: t
@@ -178458,7 +178716,7 @@ function Kg(n) {
178458
178716
  return e;
178459
178717
  });
178460
178718
  }
178461
- function fh(n, e = Xs.ofCaller()) {
178719
+ function fh(n, e = Zs.ofCaller()) {
178462
178720
  return {
178463
178721
  left: oe({ name: "editor.validOverlay.left" }, (t) => (
178464
178722
  /** @description left */
@@ -180524,9 +180782,9 @@ let bne = class extends j {
180524
180782
  return di.Deletion;
180525
180783
  if (fEe(i) && this._useCodeShifting.read(t) === "always")
180526
180784
  return di.InsertionMultiLine;
180527
- if (h.every((_) => Ys.ofRange(_.originalRange).columnCount < GL.MAX_LENGTH && Ys.ofRange(_.modifiedRange).columnCount < GL.MAX_LENGTH) && u && l === 1 && c === 1) {
180785
+ if (h.every((_) => Xs.ofRange(_.originalRange).columnCount < GL.MAX_LENGTH && Xs.ofRange(_.modifiedRange).columnCount < GL.MAX_LENGTH) && u && l === 1 && c === 1) {
180528
180786
  const _ = h.map((y) => s.getValueOfRange(y.modifiedRange)), b = h.map((y) => e.inlineEdit.originalText.getValueOfRange(y.originalRange));
180529
- if (!_.some((y) => y.includes(" ")) && !b.some((y) => y.includes(" ")) && (!h.some((y) => y.originalRange.isEmpty()) || !pEe(h.map((y) => new bs(y.originalRange, "")), r.originalText).some((y) => y.range.isEmpty() && Ys.ofRange(y.range).columnCount < GL.MAX_LENGTH)))
180787
+ if (!_.some((y) => y.includes(" ")) && !b.some((y) => y.includes(" ")) && (!h.some((y) => y.originalRange.isEmpty()) || !pEe(h.map((y) => new bs(y.originalRange, "")), r.originalText).some((y) => y.range.isEmpty() && Xs.ofRange(y.range).columnCount < GL.MAX_LENGTH)))
180530
180788
  return di.WordReplacements;
180531
180789
  }
180532
180790
  }
@@ -181555,7 +181813,7 @@ let nP = (D0 = class {
181555
181813
  15
181556
181814
  /* CodeEditorStateFlag.Scroll */
181557
181815
  );
181558
- this.previousPromise && (this.previousPromise.cancel(), this.previousPromise = null), this.previousPromise = qs((a) => this.findDefinition(e, a));
181816
+ this.previousPromise && (this.previousPromise.cancel(), this.previousPromise = null), this.previousPromise = Ks((a) => this.findDefinition(e, a));
181559
181817
  let s;
181560
181818
  try {
181561
181819
  s = await this.previousPromise;
@@ -182796,7 +183054,7 @@ let ST = (T0 = class {
182796
183054
  5
182797
183055
  /* CodeEditorStateFlag.Position */
182798
183056
  ), a = s.uri;
182799
- return this.editorWorkerService.canNavigateValueSet(a) ? (this.currentRequest = qs((c) => this.editorWorkerService.navigateValueSet(a, r, t)), this.currentRequest.then((c) => {
183057
+ return this.editorWorkerService.canNavigateValueSet(a) ? (this.currentRequest = Ks((c) => this.editorWorkerService.navigateValueSet(a, r, t)), this.currentRequest.then((c) => {
182800
183058
  var g;
182801
183059
  if (!c || !c.range || !c.value || !o.validate(this.editor))
182802
183060
  return;
@@ -183124,7 +183382,7 @@ class asi extends Me {
183124
183382
  return i ? Promise.resolve(i.updateRanges(!0)) : Promise.resolve();
183125
183383
  }
183126
183384
  }
183127
- const lsi = Zs.bindToContribution(xT.get);
183385
+ const lsi = Js.bindToContribution(xT.get);
183128
183386
  De(new lsi({
183129
183387
  id: "cancelLinkedEditingInput",
183130
183388
  precondition: xze,
@@ -183293,7 +183551,7 @@ let sP = (Xw = class extends j {
183293
183551
  return;
183294
183552
  const e = this.editor.getModel();
183295
183553
  if (!e.isTooLargeForSyncing() && this.providers.has(e)) {
183296
- this.activeLinksList && (this.activeLinksList.dispose(), this.activeLinksList = null), this.computePromise = qs((t) => Dze(this.providers, e, t));
183554
+ this.activeLinksList && (this.activeLinksList.dispose(), this.activeLinksList = null), this.computePromise = Ks((t) => Dze(this.providers, e, t));
183297
183555
  try {
183298
183556
  const t = new cr(!1);
183299
183557
  if (this.activeLinksList = await this.computePromise, this.debounceInformation.update(e, t.elapsed()), e.isDisposed())
@@ -184589,7 +184847,7 @@ const yW = class yW extends j {
184589
184847
  if (!this.editor.hasModel())
184590
184848
  return !1;
184591
184849
  const o = this.editor.getModel(), a = this.editor.getPosition();
184592
- this.state = new c_.Pending(qs((l) => Eze(this.providers, o, a, r, l)), i);
184850
+ this.state = new c_.Pending(Ks((l) => Eze(this.providers, o, a, r, l)), i);
184593
184851
  try {
184594
184852
  const l = await this.state.request;
184595
184853
  return e !== this.triggerId ? (l == null || l.dispose(), !1) : !l || !l.value.signatures || l.value.signatures.length === 0 ? (l == null || l.dispose(), this._lastSignatureHelpResult.clear(), this.cancel(), !1) : (this.state = new c_.Active(l.value), this._lastSignatureHelpResult.value = l, this._onChangedHints.fire(this.state.hints), !0);
@@ -184903,7 +185161,7 @@ Zt(
184903
185161
  /* EditorContributionInstantiation.BeforeFirstInteraction */
184904
185162
  );
184905
185163
  ye(Ksi);
184906
- const Ufe = 175, Gfe = Zs.bindToContribution(DT.get);
185164
+ const Ufe = 175, Gfe = Js.bindToContribution(DT.get);
184907
185165
  De(new Gfe({
184908
185166
  id: "closeParameterHints",
184909
185167
  precondition: hS.Visible,
@@ -185689,7 +185947,7 @@ Zt(
185689
185947
  /* EditorContributionInstantiation.Lazy */
185690
185948
  );
185691
185949
  ye(sri);
185692
- const Kfe = Zs.bindToContribution(c1.get);
185950
+ const Kfe = Js.bindToContribution(c1.get);
185693
185951
  De(new Kfe({
185694
185952
  id: "acceptRenameInput",
185695
185953
  precondition: FE,
@@ -186818,7 +187076,7 @@ let NV = (uD = class extends j {
186818
187076
  this._outstandingRequests = this._outstandingRequests.concat(t.map((i) => this._requestRange(e, i)));
186819
187077
  }
186820
187078
  _requestRange(e, t) {
186821
- const i = e.getVersionId(), s = qs((o) => Promise.resolve(Yfe(this._provider, e, t, o))), r = new cr(!1);
187079
+ const i = e.getVersionId(), s = Ks((o) => Promise.resolve(Yfe(this._provider, e, t, o))), r = new cr(!1);
186822
187080
  return s.then((o) => {
186823
187081
  if (this._debounceInformation.update(e, r.elapsed()), !o || !o.tokens || e.isDisposed() || e.getVersionId() !== i)
186824
187082
  return;
@@ -187389,11 +187647,11 @@ class Jfe {
187389
187647
  let y = d.index, w = d.index + d[0].length;
187390
187648
  if (y > 0) {
187391
187649
  const D = _.charCodeAt(y - 1);
187392
- Us(D) && y--;
187650
+ Gs(D) && y--;
187393
187651
  }
187394
187652
  if (w + 1 < b) {
187395
187653
  const D = _.charCodeAt(w - 1);
187396
- Us(D) && w++;
187654
+ Gs(D) && w++;
187397
187655
  }
187398
187656
  const S = _.substring(y, w);
187399
187657
  let x = KA(y + 1, oue, _, 0);
@@ -188640,7 +188898,7 @@ class Xze {
188640
188898
  this._model = e, this._selection = t, this._wordSeparators = i, this._wordRange = this._getCurrentWordRange(e, t), this._result = null;
188641
188899
  }
188642
188900
  get result() {
188643
- return this._result || (this._result = qs((e) => this._compute(this._model, this._selection, this._wordSeparators, e))), this._result;
188901
+ return this._result || (this._result = Ks((e) => this._compute(this._model, this._selection, this._wordSeparators, e))), this._result;
188644
188902
  }
188645
188903
  _getCurrentWordRange(e, t) {
188646
188904
  const i = e.getWordAtPosition(t.getPosition());
@@ -189064,7 +189322,7 @@ ye(moi);
189064
189322
  ye(voi);
189065
189323
  ye(_oi);
189066
189324
  RE(ase);
189067
- class K$ extends Zs {
189325
+ class K$ extends Js {
189068
189326
  constructor(e) {
189069
189327
  super(e), this._inSelectionMode = e.inSelectionMode, this._wordNavigationType = e.wordNavigationType;
189070
189328
  }
@@ -189320,7 +189578,7 @@ class Roi extends E1 {
189320
189578
  return super._move(Nh(qo.wordSeparators.defaultValue, e.intlSegmenterLocales), t, i, s, r);
189321
189579
  }
189322
189580
  }
189323
- class Y$ extends Zs {
189581
+ class Y$ extends Js {
189324
189582
  constructor(e) {
189325
189583
  super({ canTriggerInlineEdits: !0, ...e }), this._whitespaceHeuristics = e.whitespaceHeuristics, this._wordNavigationType = e.wordNavigationType;
189326
189584
  }
@@ -195946,7 +196204,7 @@ let Fre = class extends j {
195946
196204
  if (this._currentDelayedHover = void 0, e.content === "" || (a = this._currentHover) != null && a.isLocked || (e.id === void 0 && (e.id = cIe(e.content)), Yv(this._currentHoverOptions) === Yv(e)))
195947
196205
  return;
195948
196206
  this._currentHoverOptions = e, this._lastHoverOptions = e;
195949
- const i = e.trapFocus || this._accessibilityService.isScreenReaderOptimized(), s = Ks();
196207
+ const i = e.trapFocus || this._accessibilityService.isScreenReaderOptimized(), s = Ys();
195950
196208
  t || (i && s ? s.classList.contains("monaco-hover") || (this._lastFocusedElementBeforeOpen = s) : this._lastFocusedElementBeforeOpen = void 0);
195951
196209
  const r = new ie(), o = this._instantiationService.createInstance(Pre, e);
195952
196210
  if ((l = e.persistence) != null && l.sticky && (o.isLocked = !0), (c = e.position) != null && c.hoverPosition && !Zm(e.position.hoverPosition) && (e.target = {
@@ -195969,7 +196227,7 @@ let Fre = class extends j {
195969
196227
  r.add(Z(d, _e.CLICK, () => this.hideHover()));
195970
196228
  else
195971
196229
  r.add(Z(e.target, _e.CLICK, () => this.hideHover()));
195972
- const u = Ks();
196230
+ const u = Ys();
195973
196231
  if (u) {
195974
196232
  const d = ze(u).document;
195975
196233
  r.add(Z(u, _e.KEY_DOWN, (f) => {
@@ -196004,7 +196262,7 @@ let Fre = class extends j {
196004
196262
  this._lastHoverOptions && this.showInstantHover(this._lastHoverOptions, !0, !0);
196005
196263
  }
196006
196264
  _showAndFocusHoverForActiveElement() {
196007
- let e = Ks();
196265
+ let e = Ys();
196008
196266
  for (; e; ) {
196009
196267
  const t = this._delayedHovers.get(e) ?? this._managedHovers.get(e);
196010
196268
  if (t) {
@@ -196270,7 +196528,7 @@ class Nr {
196270
196528
  }
196271
196529
  mergeContents(e, t) {
196272
196530
  for (const i of Object.keys(t)) {
196273
- if (i in e && js(e[i]) && js(t[i])) {
196531
+ if (i in e && qs(e[i]) && qs(t[i])) {
196274
196532
  this.mergeContents(e[i], t[i]);
196275
196533
  continue;
196276
196534
  }
@@ -197639,7 +197897,7 @@ class vIe extends x$e {
197639
197897
  super(e, e, s, r), this.submenuActions = t, this.parentData = i, this.submenuOptions = s, this.mysubmenu = null, this.submenuDisposables = this._register(new ie()), this.mouseOver = !1, this.expandDirection = s && s.expandDirection !== void 0 ? s.expandDirection : { horizontal: YV.Right, vertical: zre.Below }, this.showScheduler = new Ai(() => {
197640
197898
  this.mouseOver && (this.cleanupExistingSubmenu(!1), this.createSubmenu(!1));
197641
197899
  }, 250), this.hideScheduler = new Ai(() => {
197642
- this.element && !ar(Ks(), this.element) && this.parentData.submenu === this.mysubmenu && (this.parentData.parent.focus(!1), this.cleanupExistingSubmenu(!0));
197900
+ this.element && !ar(Ys(), this.element) && this.parentData.submenu === this.mysubmenu && (this.parentData.parent.focus(!1), this.cleanupExistingSubmenu(!0));
197643
197901
  }, 750);
197644
197902
  }
197645
197903
  render(e) {
@@ -197654,7 +197912,7 @@ class vIe extends x$e {
197654
197912
  )) && (ni.stop(t, !0), this.createSubmenu(!0));
197655
197913
  })), this._register(Z(this.element, _e.KEY_DOWN, (t) => {
197656
197914
  const i = new Bi(t);
197657
- Ks() === this.item && (i.equals(
197915
+ Ys() === this.item && (i.equals(
197658
197916
  17
197659
197917
  /* KeyCode.RightArrow */
197660
197918
  ) || i.equals(
@@ -197666,7 +197924,7 @@ class vIe extends x$e {
197666
197924
  })), this._register(Z(this.element, _e.MOUSE_LEAVE, (t) => {
197667
197925
  this.mouseOver = !1;
197668
197926
  })), this._register(Z(this.element, _e.FOCUS_OUT, (t) => {
197669
- this.element && !ar(Ks(), this.element) && this.hideScheduler.schedule();
197927
+ this.element && !ar(Ys(), this.element) && this.hideScheduler.schedule();
197670
197928
  })), this._register(this.parentData.parent.onScroll(() => {
197671
197929
  this.parentData.submenu === this.mysubmenu && (this.parentData.parent.focus(!1), this.cleanupExistingSubmenu(!0));
197672
197930
  })));
@@ -198149,7 +198407,7 @@ class hci {
198149
198407
  const t = e.getActions();
198150
198408
  if (!t.length)
198151
198409
  return;
198152
- this.focusToReturn = Ks();
198410
+ this.focusToReturn = Ys();
198153
198411
  let i;
198154
198412
  const s = Yn(e.domForShadowRoot) ? e.domForShadowRoot : void 0;
198155
198413
  this.contextViewService.showContextView({
@@ -198191,7 +198449,7 @@ class hci {
198191
198449
  },
198192
198450
  onHide: (r) => {
198193
198451
  var o, a, l;
198194
- (o = e.onHide) == null || o.call(e, !!r), this.block && (this.block.remove(), this.block = null), (a = this.blockDisposable) == null || a.dispose(), this.blockDisposable = null, this.lastContainer && (Ks() === this.lastContainer || ar(Ks(), this.lastContainer)) && ((l = this.focusToReturn) == null || l.focus()), this.lastContainer = null;
198452
+ (o = e.onHide) == null || o.call(e, !!r), this.block && (this.block.remove(), this.block = null), (a = this.blockDisposable) == null || a.dispose(), this.blockDisposable = null, this.lastContainer && (Ys() === this.lastContainer || ar(Ys(), this.lastContainer)) && ((l = this.focusToReturn) == null || l.focus()), this.lastContainer = null;
198195
198453
  }
198196
198454
  }, s, !!s);
198197
198455
  }
@@ -204068,7 +204326,7 @@ function Yhi(n) {
204068
204326
  function Xhi(n) {
204069
204327
  if (typeof n.id != "string" || typeof n.label != "string" || typeof n.run != "function")
204070
204328
  throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");
204071
- const e = le.deserialize(n.precondition), t = (s, ...r) => Zs.runEditorCommand(s, r, e, (o, a, l) => Promise.resolve(n.run(a, ...l))), i = new ie();
204329
+ const e = le.deserialize(n.precondition), t = (s, ...r) => Js.runEditorCommand(s, r, e, (o, a, l) => Promise.resolve(n.run(a, ...l))), i = new ie();
204072
204330
  if (i.add(Yt.registerCommand(n.id, t)), n.contextMenuGroupId) {
204073
204331
  const s = {
204074
204332
  command: {
@@ -206037,7 +206295,7 @@ const ${ue} = ${jt};
206037
206295
  }).join(""), Xe = () => {
206038
206296
  i("close");
206039
206297
  };
206040
- Js(() => {
206298
+ Qs(() => {
206041
206299
  d(), a = fo.editor.create(r.value, {
206042
206300
  value: t.rule || Sdi,
206043
206301
  language: rk,
@@ -206246,7 +206504,7 @@ const ${ue} = ${jt};
206246
206504
  })();
206247
206505
  const d = Ge(null), f = Ge({}), g = async () => {
206248
206506
  if (d.value === null && (l.value.type === "opcua" || l.value.type === "http"))
206249
- return er.error("请获取数据!"), !1;
206507
+ return $s.error("请获取数据!"), !1;
206250
206508
  l.value.type === "opcua" && (f.value = { payload: d.value, pointTemp: r.value.dataSource.point }), l.value.type === "http" && (f.value = d.value), l.value.type === "node" && (f.value = {});
206251
206509
  const S = {};
206252
206510
  c.value.forEach((x) => {
@@ -206265,12 +206523,12 @@ const ${ue} = ${jt};
206265
206523
  d.value = null;
206266
206524
  }, m = async () => {
206267
206525
  if (!l.value.path)
206268
- return er.error("请输入点位地址!"), !1;
206526
+ return $s.error("请输入点位地址!"), !1;
206269
206527
  const S = await i.readPoints([l.value.path]);
206270
206528
  console.log(S), d.value = S[0] || { error: "未找到数据" };
206271
206529
  }, v = () => {
206272
206530
  let S = s.getItem("copyOpcuaNode");
206273
- S ? (console.log("copyOpcuaNode", S), l.value.path = S.nodeId, l.value.point = { ...S }) : er.warning("请在左侧数据来源中复制"), s.removeItem("copyOpcuaNode");
206531
+ S ? (console.log("copyOpcuaNode", S), l.value.path = S.nodeId, l.value.point = { ...S }) : $s.warning("请在左侧数据来源中复制"), s.removeItem("copyOpcuaNode");
206274
206532
  }, _ = () => {
206275
206533
  l.value.params.push({ key: "", value: "" });
206276
206534
  }, b = (S) => {
@@ -206278,7 +206536,7 @@ const ${ue} = ${jt};
206278
206536
  }, y = async () => {
206279
206537
  var D, T;
206280
206538
  if (!l.value.httpUrl)
206281
- return er.error("请输入请求地址"), !1;
206539
+ return $s.error("请输入请求地址"), !1;
206282
206540
  let S = JSON.parse(JSON.stringify(l.value));
206283
206541
  delete S.params;
206284
206542
  const x = {};
@@ -206286,7 +206544,7 @@ const ${ue} = ${jt};
206286
206544
  if (E.key)
206287
206545
  E.value && e.graph.getCellById(E.value) ? x[E.key] = (T = (D = e.graph.getCellById(E.value).getData()) == null ? void 0 : D.model) == null ? void 0 : T.modelValue : x[E.key] = E.value;
206288
206546
  else
206289
- return er.error("请完善请求参数"), !1;
206547
+ return $s.error("请完善请求参数"), !1;
206290
206548
  S.params = x;
206291
206549
  let L;
206292
206550
  try {
@@ -206298,9 +206556,9 @@ const ${ue} = ${jt};
206298
206556
  }, w = () => {
206299
206557
  var S;
206300
206558
  if (((S = l.value.bindNode) == null ? void 0 : S.length) == 0)
206301
- return er.error("请选择数据关联!"), !1;
206559
+ return $s.error("请选择数据关联!"), !1;
206302
206560
  if (d.value === null && (l.value.type === "opcua" || l.value.type === "http"))
206303
- return er.error("请获取数据!"), !1;
206561
+ return $s.error("请获取数据!"), !1;
206304
206562
  if (o.value)
206305
206563
  try {
206306
206564
  const x = new Function("data", "$", o.value);
@@ -206322,12 +206580,12 @@ const ${ue} = ${jt};
206322
206580
  });
206323
206581
  }
206324
206582
  }
206325
- t.setData({ dataSource: { parse: o.value } }), a.value = !1, er.success("解析成功!");
206583
+ t.setData({ dataSource: { parse: o.value } }), a.value = !1, $s.success("解析成功!");
206326
206584
  } catch (x) {
206327
- er.error("解析失败!"), console.error(x);
206585
+ $s.error("解析失败!"), console.error(x);
206328
206586
  }
206329
206587
  else
206330
- er.error("请填写解析函数!");
206588
+ $s.error("请填写解析函数!");
206331
206589
  };
206332
206590
  return (S, x) => {
206333
206591
  const L = we("el-option"), D = we("el-select"), T = we("el-form-item"), E = we("el-input"), I = we("el-button"), k = we("el-radio"), N = we("el-radio-group"), R = we("el-table-column"), A = we("el-table"), W = we("el-form"), $ = we("el-dialog");
@@ -206805,10 +207063,21 @@ const ${ue} = ${jt};
206805
207063
  {
206806
207064
  let d = o.getItem("menus") || [], f = null, g = crypto.randomUUID(), p = "";
206807
207065
  if (l === "0")
206808
- p = crypto.randomUUID(), f = { name: h, id: g, parentId: p, style: {}, value: {} }, d.push({ name: c, id: p, parentId: "0", children: [f] });
207066
+ p = crypto.randomUUID(), f = { name: h, id: g, parentId: p, style: {}, value: {} }, d.push({
207067
+ name: c,
207068
+ id: p,
207069
+ parentId: "0",
207070
+ children: [f]
207071
+ });
206809
207072
  else {
206810
207073
  const m = d.find((v) => v.id === l);
206811
- m && (p = m.id, m.children.push({ name: h, id: g, parentId: p, style: {}, value: {} }), f = { name: h, id: g, parentId: p, style: {}, value: {} });
207074
+ m && (p = m.id, m.children.push({
207075
+ name: h,
207076
+ id: g,
207077
+ parentId: p,
207078
+ style: {},
207079
+ value: {}
207080
+ }), f = { name: h, id: g, parentId: p, style: {}, value: {} });
206812
207081
  }
206813
207082
  return o.setItem(g, f), o.setItem("menus", d), f;
206814
207083
  }
@@ -206834,10 +207103,12 @@ const ${ue} = ${jt};
206834
207103
  else {
206835
207104
  let h = o.getItem("menus") || [];
206836
207105
  if (this.getMenu(l)) {
206837
- const d = h.find((f) => {
206838
- var g;
206839
- return (g = f.children) == null ? void 0 : g.some((p) => p.id === l);
206840
- });
207106
+ const d = h.find(
207107
+ (f) => {
207108
+ var g;
207109
+ return (g = f.children) == null ? void 0 : g.some((p) => p.id === l);
207110
+ }
207111
+ );
206841
207112
  d && (d.children = d.children.filter((f) => f.id !== l), d.children.length === 0 && (h = h.filter((f) => f.id !== d.id))), o.setItem("menus", h);
206842
207113
  }
206843
207114
  o.removeItem(l);
@@ -207048,18 +207319,22 @@ const ${ue} = ${jt};
207048
207319
  statusCode: "Good",
207049
207320
  sourceTimestamp: "2026-01-16T02:26:37.533Z",
207050
207321
  serverTimestamp: "2026-01-16T02:26:37.533Z",
207051
- aa: [
207052
- { vv: 1 },
207053
- { vv1: 1 }
207054
- ]
207322
+ aa: [{ vv: 1 }, { vv1: 1 }]
207055
207323
  }
207056
207324
  ];
207057
207325
  },
207058
207326
  async httpRequest(l) {
207059
207327
  var c, h;
207060
- return (c = r.services) != null && c.httpRequest ? await ((h = r.services) == null ? void 0 : h.httpRequest(l)) : {};
207328
+ if ((c = r.services) != null && c.httpRequest)
207329
+ try {
207330
+ return await ((h = r.services) == null ? void 0 : h.httpRequest(l));
207331
+ } catch {
207332
+ return;
207333
+ }
207334
+ else
207335
+ return {};
207061
207336
  }
207062
- }), yu("storage", o), Js(() => {
207337
+ }), yu("storage", o), Qs(() => {
207063
207338
  }), ho(() => {
207064
207339
  t.$reset(), i.$reset(), s.$reset();
207065
207340
  }), (l, c) => (ee(), ke("div", $di, [
@@ -207202,7 +207477,7 @@ const ${ue} = ${jt};
207202
207477
  }), u(d.value));
207203
207478
  },
207204
207479
  { deep: !0 }
207205
- ), Js(() => {
207480
+ ), Qs(() => {
207206
207481
  const { width: d, height: f } = e.menu.style;
207207
207482
  r = new Se({
207208
207483
  container: s.value,