@mlightcad/cad-viewer 1.1.6 → 1.1.9

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.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import "./index.css";
2
- import { AcEdCommandStack as W, AcApDocManager as B, eventBus as Y, AcApSettingManager as K, AcApConvertToSvgCmd as Ae, AcApQNewCmd as Fe, AcApOpenCmd as Ie, registerWorkers as Re, AcEdCommand as re } from "@mlightcad/cad-simple-viewer";
2
+ import { AcEdCommandStack as W, AcApDocManager as T, eventBus as Y, AcApSettingManager as K, AcApConvertToSvgCmd as Ae, AcApQNewCmd as Fe, AcApOpenCmd as Ie, registerWorkers as Re, AcEdCommand as re } from "@mlightcad/cad-simple-viewer";
3
3
  import "element-plus/dist/index.css";
4
- import { reactive as U, computed as k, defineComponent as L, onMounted as H, resolveComponent as M, createBlock as C, openBlock as c, unref as g, withCtx as p, renderSlot as ie, createVNode as v, createTextVNode as F, toDisplayString as D, createElementVNode as u, ref as x, onUnmounted as te, watch as E, createElementBlock as y, Fragment as j, renderList as X, resolveDynamicComponent as ve, mergeProps as Ne, mergeModels as J, useCssVars as Se, useModel as ge, createCommentVNode as q, normalizeStyle as pe, normalizeClass as Ce, pushScopeId as Le, popScopeId as ze, onBeforeUnmount as De, withKeys as Pe, isRef as Oe, markRaw as he } from "vue";
4
+ import { reactive as U, computed as k, defineComponent as L, onMounted as H, resolveComponent as M, createBlock as C, openBlock as u, unref as g, withCtx as p, renderSlot as ie, createVNode as v, createTextVNode as F, toDisplayString as D, createElementVNode as d, ref as x, onUnmounted as te, watch as E, createElementBlock as y, Fragment as j, renderList as X, resolveDynamicComponent as ge, mergeProps as Pe, mergeModels as J, useCssVars as Se, useModel as ve, createCommentVNode as q, normalizeStyle as pe, normalizeClass as Ce, pushScopeId as Le, popScopeId as ze, onBeforeUnmount as De, withKeys as Ne, isRef as Oe, markRaw as he } from "vue";
5
5
  import { AcDbDatabaseConverterManager as He, acdbHostApplicationServices as Be, AcCmPerformanceCollector as Ge } from "@mlightcad/data-model";
6
6
  import { useDark as We, useToggle as qe, useFullscreen as Ue } from "@vueuse/core";
7
7
  import je from "element-plus/es/locale/lang/en";
8
8
  import Ye from "element-plus/es/locale/lang/zh-cn";
9
- import { useI18n as N, createI18n as Ke } from "vue-i18n";
10
- import { ElDialog as Xe, ElButton as _e, ElTable as Qe, ElAutocomplete as Ze, ElProgress as Je, ElLoading as we, ElMessage as Z } from "element-plus";
9
+ import { useI18n as P, createI18n as Ke } from "vue-i18n";
10
+ import { ElDialog as Xe, ElButton as _e, ElTable as Qe, ElAutocomplete as Ze, ElProgress as Je, ElLoading as we, ElMessage as Q } from "element-plus";
11
11
  import { ElIcon as se, ElDropdown as et, ElDropdownMenu as tt, ElDropdownItem as nt, ElButtonGroup as ot, ElTooltip as lt, ElButton as at } from "element-plus/es";
12
12
  import "element-plus/es/components/base/style/css";
13
13
  import "element-plus/es/components/icon/style/css";
@@ -62,7 +62,7 @@ const ct = /* @__PURE__ */ L({
62
62
  },
63
63
  emits: ["update:modelValue", "ok", "cancel"],
64
64
  setup(t, { emit: e }) {
65
- const { t: n } = N(), i = t, l = e, { registerDialog: o } = oe();
65
+ const { t: n } = P(), i = t, l = e, { registerDialog: o } = oe();
66
66
  function a() {
67
67
  l("ok"), l("update:modelValue", !1);
68
68
  }
@@ -75,16 +75,16 @@ const ct = /* @__PURE__ */ L({
75
75
  component: "BaseDialog",
76
76
  props: i.props
77
77
  });
78
- }), (r, m) => {
78
+ }), (r, c) => {
79
79
  const w = M("el-divider");
80
- return c(), C(g(Xe), {
80
+ return u(), C(g(Xe), {
81
81
  "model-value": t.modelValue,
82
82
  width: t.width,
83
83
  close: "handleCancel",
84
84
  class: "ml-dialog"
85
85
  }, {
86
86
  header: p(() => [
87
- u("div", null, D(t.title), 1),
87
+ d("div", null, D(t.title), 1),
88
88
  v(w, { class: "ml-dialog-header-bottom-line" })
89
89
  ]),
90
90
  footer: p(() => [
@@ -159,7 +159,7 @@ function pt() {
159
159
  t.value.add(n.fileType);
160
160
  }), t;
161
161
  }
162
- function vt(t) {
162
+ function gt(t) {
163
163
  const e = U([]), n = t.curDocument, i = (l) => {
164
164
  const o = l.tables.layerTable.newIterator();
165
165
  for (const a of o)
@@ -189,7 +189,7 @@ function vt(t) {
189
189
  e.length = 0, i(l.doc.database);
190
190
  }), e;
191
191
  }
192
- function gt(t) {
192
+ function vt(t) {
193
193
  const e = U([]), n = t.curDocument, i = (l) => {
194
194
  const o = l.dictionaries.layouts.newIterator();
195
195
  e.length = 0;
@@ -511,7 +511,8 @@ const ft = {
511
511
  fontNotLoaded: 'Font "{fontName}" can not be loaded from "{url}"!',
512
512
  failedToGetAvaiableFonts: 'Failed to get avaiable fonts from "{url}"!',
513
513
  failedToOpenFile: 'Failed to open file "{fileName}"!',
514
- fetchingDrawingFile: "Fetching file ..."
514
+ fetchingDrawingFile: "Fetching file ...",
515
+ unknownEntities: "This drawing contains {count} unknown or unsupported entities! Those entities will not be shown."
515
516
  }
516
517
  }, yt = {
517
518
  ACAD: {
@@ -809,9 +810,10 @@ const ft = {
809
810
  loadingFonts: "正在加载字体...",
810
811
  loadingDwgConverter: "正在加载DWG转换器...",
811
812
  fontNotLoaded: '无法从"{url}"加载字体"{fontName}"!',
812
- failedToGetAvaiableFonts: '无法从"{url}"获取可用的字体信息!',
813
- failedToOpenFile: '无法打开文件"{fileName}"!',
814
- fetchingDrawingFile: "正在加载图纸文件..."
813
+ failedToGetAvaiableFonts: '无法从"{url}"获取可用的字体信息!',
814
+ failedToOpenFile: '无法打开文件"{fileName}"',
815
+ fetchingDrawingFile: "正在加载图纸文件...",
816
+ unknownEntities: "这张图纸中包含了{count}个未知或不支持的实体,这些实体将无法显示!"
815
817
  }
816
818
  }, Mt = () => {
817
819
  const t = localStorage.getItem("preferred_lang");
@@ -854,7 +856,7 @@ const ft = {
854
856
  return e(n, t);
855
857
  }, me = "preferred_lang";
856
858
  function Ee(t) {
857
- const { locale: e } = N(), i = x((() => {
859
+ const { locale: e } = P(), i = x((() => {
858
860
  const r = localStorage.getItem(me);
859
861
  return r === "en" || r === "zh" ? r : navigator.language.toLowerCase().substring(0, 2) === "zh" ? "zh" : "en";
860
862
  })()), l = k(() => i.value), o = (r) => {
@@ -872,8 +874,8 @@ function Ee(t) {
872
874
  () => e.value,
873
875
  (r) => {
874
876
  if (!t || t === "default") {
875
- const m = r === "zh" ? "zh" : "en";
876
- i.value = m;
877
+ const c = r === "zh" ? "zh" : "en";
878
+ i.value = c;
877
879
  }
878
880
  }
879
881
  );
@@ -889,7 +891,7 @@ function Ee(t) {
889
891
  }
890
892
  function $e() {
891
893
  const t = U(/* @__PURE__ */ new Map()), e = U(/* @__PURE__ */ new Map()), n = () => {
892
- const i = B.instance.curView.missedData, l = K.instance.fontMapping;
894
+ const i = T.instance.curView.missedData, l = K.instance.fontMapping;
893
895
  t.clear(), Object.keys(i.fonts).forEach((o) => {
894
896
  const a = l[o];
895
897
  t.set(o, a || "");
@@ -901,7 +903,7 @@ function $e() {
901
903
  });
902
904
  });
903
905
  };
904
- return B.instance.events.documentActivated.addEventListener(() => {
906
+ return T.instance.events.documentActivated.addEventListener(() => {
905
907
  n();
906
908
  }), Y.on("font-not-found", (i) => {
907
909
  n();
@@ -935,10 +937,10 @@ const Bt = /* @__PURE__ */ L({
935
937
  return e({
936
938
  toggleDialog: i,
937
939
  registerDialog: l
938
- }), (o, a) => (c(!0), y(j, null, X(g(n), (s) => (c(), y("div", {
940
+ }), (o, a) => (u(!0), y(j, null, X(g(n), (s) => (u(), y("div", {
939
941
  key: s.name
940
942
  }, [
941
- (c(), C(ve(s.component), Ne({
943
+ (u(), C(ge(s.component), Pe({
942
944
  modelValue: s.visible,
943
945
  "onUpdate:modelValue": (r) => s.visible = r
944
946
  }, { ref_for: !0 }, s.props), null, 16, ["modelValue", "onUpdate:modelValue"]))
@@ -951,8 +953,8 @@ const Bt = /* @__PURE__ */ L({
951
953
  const n = e, i = x(null), l = pt(), o = k(() => {
952
954
  const s = Array.from(l.value);
953
955
  let r = "";
954
- for (let m = 0, w = s.length; m < w; ++m)
955
- m == w - 1 ? r += `.${s[m]}` : r += `.${s[m]}, `;
956
+ for (let c = 0, w = s.length; c < w; ++c)
957
+ c == w - 1 ? r += `.${s[c]}` : r += `.${s[c]}, `;
956
958
  return r;
957
959
  });
958
960
  H(() => {
@@ -963,19 +965,19 @@ const Bt = /* @__PURE__ */ L({
963
965
  });
964
966
  const a = (s) => {
965
967
  var w, f;
966
- const m = (w = s.target.files) == null ? void 0 : w[0];
967
- if (m && m.name) {
968
- const d = (f = m.name.split(".").pop()) == null ? void 0 : f.toLocaleLowerCase(), h = new FileReader();
969
- d == "dxf" ? h.readAsText(m) : d == "dwg" && h.readAsArrayBuffer(m), h.onload = (_) => {
968
+ const c = (w = s.target.files) == null ? void 0 : w[0];
969
+ if (c && c.name) {
970
+ const m = (f = c.name.split(".").pop()) == null ? void 0 : f.toLocaleLowerCase(), h = new FileReader();
971
+ m == "dxf" ? h.readAsText(c) : m == "dwg" && h.readAsArrayBuffer(c), h.onload = (_) => {
970
972
  var S;
971
973
  const b = (S = _.target) == null ? void 0 : S.result;
972
- b && n("file-read", m.name, b);
974
+ b && n("file-read", c.name, b);
973
975
  }, h.onerror = () => {
974
976
  console.error("Failed to read the file.");
975
977
  };
976
978
  }
977
979
  };
978
- return (s, r) => (c(), y("input", {
980
+ return (s, r) => (u(), y("input", {
979
981
  type: "file",
980
982
  ref_key: "fileInput",
981
983
  ref: i,
@@ -995,15 +997,15 @@ const Bt = /* @__PURE__ */ L({
995
997
  }),
996
998
  emits: /* @__PURE__ */ J(["click"], ["update:modelValue"]),
997
999
  setup(t, { emit: e }) {
998
- Se((m) => ({
1000
+ Se((c) => ({
999
1001
  a97b120a: a.value
1000
1002
  }));
1001
- const n = t, i = ge(t, "modelValue"), l = e, o = k(() => i.value ? n.data.onIcon : n.data.offIcon), a = k(() => n.size + "px"), s = k(() => i.value ? n.data.onTooltip : n.data.offTooltip), r = () => {
1003
+ const n = t, i = ve(t, "modelValue"), l = e, o = k(() => i.value ? n.data.onIcon : n.data.offIcon), a = k(() => n.size + "px"), s = k(() => i.value ? n.data.onTooltip : n.data.offTooltip), r = () => {
1002
1004
  l("click", i.value);
1003
1005
  };
1004
- return (m, w) => {
1005
- const f = M("el-button"), d = M("el-tooltip");
1006
- return c(), C(d, {
1006
+ return (c, w) => {
1007
+ const f = M("el-button"), m = M("el-tooltip");
1008
+ return u(), C(m, {
1007
1009
  content: s.value,
1008
1010
  "hide-after": 0
1009
1011
  }, {
@@ -1021,11 +1023,11 @@ const Bt = /* @__PURE__ */ L({
1021
1023
  }), Ve = /* @__PURE__ */ G($t, [["__scopeId", "data-v-48d6b055"]]), Vt = /* @__PURE__ */ L({
1022
1024
  __name: "MlReplacementDlg",
1023
1025
  setup(t) {
1024
- const { t: e } = N(), { fonts: n, images: i } = $e(), l = x(!0), o = k(() => n.size > 0 ? "font" : "image"), a = x(null), s = k(() => B.instance.avaiableFonts.map((h) => h.name[0])), r = () => {
1025
- const d = B.instance.curDocument.database;
1026
+ const { t: e } = P(), { fonts: n, images: i } = $e(), l = x(!0), o = k(() => n.size > 0 ? "font" : "image"), a = x(null), s = k(() => T.instance.avaiableFonts.map((h) => h.name[0])), r = () => {
1027
+ const m = T.instance.curDocument.database;
1026
1028
  i.forEach((_) => {
1027
1029
  _.file && _.ids.forEach((b) => {
1028
- const S = d.tables.blockTable.modelSpace.getIdAt(
1030
+ const S = m.tables.blockTable.modelSpace.getIdAt(
1029
1031
  b
1030
1032
  );
1031
1033
  S.image = _.file, S.triggerModifiedEvent();
@@ -1035,20 +1037,20 @@ const Bt = /* @__PURE__ */ L({
1035
1037
  n.forEach((_, b) => {
1036
1038
  b && _ && h.setFontMapping(b, _);
1037
1039
  });
1038
- }, m = (d) => {
1040
+ }, c = (m) => {
1039
1041
  a.value && (a.value.click(), a.value.onchange = () => {
1040
- w(d);
1042
+ w(m);
1041
1043
  });
1042
- }, w = (d) => {
1044
+ }, w = (m) => {
1043
1045
  var _, b;
1044
1046
  const h = (b = (_ = a.value) == null ? void 0 : _.files) == null ? void 0 : b[0];
1045
- h && (d.file = h);
1046
- }, f = (d, h) => {
1047
- n.set(d, h);
1047
+ h && (m.file = h);
1048
+ }, f = (m, h) => {
1049
+ n.set(m, h);
1048
1050
  };
1049
- return (d, h) => {
1050
- const _ = M("el-col"), b = M("el-row"), S = M("el-option"), $ = M("el-select"), I = M("el-tab-pane"), V = M("el-table-column"), T = M("el-button"), P = M("el-table"), R = M("el-tabs");
1051
- return c(), C(Te, {
1051
+ return (m, h) => {
1052
+ const _ = M("el-col"), b = M("el-row"), S = M("el-option"), $ = M("el-select"), I = M("el-tab-pane"), V = M("el-table-column"), B = M("el-button"), N = M("el-table"), R = M("el-tabs");
1053
+ return u(), C(Te, {
1052
1054
  title: g(e)("dialog.replacementDlg.title"),
1053
1055
  modelValue: l.value,
1054
1056
  "onUpdate:modelValue": h[1] || (h[1] = (z) => l.value = z),
@@ -1062,38 +1064,38 @@ const Bt = /* @__PURE__ */ L({
1062
1064
  "onUpdate:modelValue": h[0] || (h[0] = (z) => o.value = z)
1063
1065
  }, {
1064
1066
  default: p(() => [
1065
- g(n).size > 0 ? (c(), C(I, {
1067
+ g(n).size > 0 ? (u(), C(I, {
1066
1068
  key: 0,
1067
1069
  label: g(e)("dialog.replacementDlg.fontTabName"),
1068
1070
  name: "font"
1069
1071
  }, {
1070
1072
  default: p(() => [
1071
- u("div", null, [
1073
+ d("div", null, [
1072
1074
  v(b, null, {
1073
1075
  default: p(() => [
1074
1076
  v(_, { span: 12 }, {
1075
1077
  default: p(() => [
1076
- u("span", null, D(g(e)("dialog.replacementDlg.missedFont")), 1)
1078
+ d("span", null, D(g(e)("dialog.replacementDlg.missedFont")), 1)
1077
1079
  ]),
1078
1080
  _: 1
1079
1081
  }),
1080
1082
  v(_, { span: 12 }, {
1081
1083
  default: p(() => [
1082
- u("span", null, D(g(e)("dialog.replacementDlg.replacedFont")), 1)
1084
+ d("span", null, D(g(e)("dialog.replacementDlg.replacedFont")), 1)
1083
1085
  ]),
1084
1086
  _: 1
1085
1087
  })
1086
1088
  ]),
1087
1089
  _: 1
1088
1090
  }),
1089
- (c(!0), y(j, null, X(g(n), ([z, A]) => (c(), C(b, {
1091
+ (u(!0), y(j, null, X(g(n), ([z, A]) => (u(), C(b, {
1090
1092
  key: z,
1091
1093
  style: { "margin-top": "10px" }
1092
1094
  }, {
1093
1095
  default: p(() => [
1094
1096
  v(_, { span: 12 }, {
1095
1097
  default: p(() => [
1096
- u("span", null, D(z), 1)
1098
+ d("span", null, D(z), 1)
1097
1099
  ]),
1098
1100
  _: 2
1099
1101
  }, 1024),
@@ -1106,7 +1108,7 @@ const Bt = /* @__PURE__ */ L({
1106
1108
  style: { width: "100%" }
1107
1109
  }, {
1108
1110
  default: p(() => [
1109
- (c(!0), y(j, null, X(s.value, (O, de) => (c(), C(S, {
1111
+ (u(!0), y(j, null, X(s.value, (O, de) => (u(), C(S, {
1110
1112
  key: de,
1111
1113
  label: O,
1112
1114
  value: O
@@ -1124,13 +1126,13 @@ const Bt = /* @__PURE__ */ L({
1124
1126
  ]),
1125
1127
  _: 1
1126
1128
  }, 8, ["label"])) : q("", !0),
1127
- g(i).size > 0 ? (c(), C(I, {
1129
+ g(i).size > 0 ? (u(), C(I, {
1128
1130
  key: 1,
1129
1131
  label: g(e)("dialog.replacementDlg.imageTabName"),
1130
1132
  name: "image"
1131
1133
  }, {
1132
1134
  default: p(() => [
1133
- v(P, {
1135
+ v(N, {
1134
1136
  data: Array.from(g(i).values()),
1135
1137
  style: { width: "100%" },
1136
1138
  "v-show": !1
@@ -1148,11 +1150,11 @@ const Bt = /* @__PURE__ */ L({
1148
1150
  width: "60"
1149
1151
  }, {
1150
1152
  default: p(({ row: z }) => [
1151
- v(T, {
1153
+ v(B, {
1152
1154
  link: "",
1153
1155
  type: "primary",
1154
1156
  size: "small",
1155
- onClick: (A) => m(z)
1157
+ onClick: (A) => c(z)
1156
1158
  }, {
1157
1159
  default: p(() => h[2] || (h[2] = [
1158
1160
  F(" ... ", -1)
@@ -1166,7 +1168,7 @@ const Bt = /* @__PURE__ */ L({
1166
1168
  ]),
1167
1169
  _: 1
1168
1170
  }, 8, ["data"]),
1169
- u("input", {
1171
+ d("input", {
1170
1172
  type: "file",
1171
1173
  ref_key: "fileInput",
1172
1174
  ref: a,
@@ -1192,8 +1194,8 @@ const Bt = /* @__PURE__ */ L({
1192
1194
  viewBox: "0 0 15 15"
1193
1195
  };
1194
1196
  function Ft(t, e) {
1195
- return c(), y("svg", At, e[0] || (e[0] = [
1196
- u("path", {
1197
+ return u(), y("svg", At, e[0] || (e[0] = [
1198
+ d("path", {
1197
1199
  fill: "currentColor",
1198
1200
  d: "M1.417 11.667h1.916v.833H0V9.167h.833v1.916l2.5-2.5.584.584zm9.666 0-2.5-2.5.584-.584 2.5 2.5V9.167h.833V12.5H9.167v-.833zM1.417.833l2.5 2.5-.584.584-2.5-2.5v1.916H0V0h3.333v.833zm9.666 0H9.167V0H12.5v3.333h-.833V1.417l-2.5 2.5-.584-.584z"
1199
1201
  }, null, -1)
@@ -1206,8 +1208,8 @@ const be = { render: Ft }, It = {
1206
1208
  viewBox: "0 0 512 512"
1207
1209
  };
1208
1210
  function Rt(t, e) {
1209
- return c(), y("svg", It, e[0] || (e[0] = [
1210
- u("path", {
1211
+ return u(), y("svg", It, e[0] || (e[0] = [
1212
+ d("path", {
1211
1213
  fill: "none",
1212
1214
  stroke: "currentColor",
1213
1215
  "stroke-linecap": "round",
@@ -1215,7 +1217,7 @@ function Rt(t, e) {
1215
1217
  "stroke-width": "32",
1216
1218
  d: "m434.8 137.65-149.36-68.1c-16.19-7.4-42.69-7.4-58.88 0L77.3 137.65c-17.6 8-17.6 21.09 0 29.09l148 67.5c16.89 7.7 44.69 7.7 61.58 0l148-67.5c17.52-8 17.52-21.1-.08-29.09M160 308.52l-82.7 37.11c-17.6 8-17.6 21.1 0 29.1l148 67.5c16.89 7.69 44.69 7.69 61.58 0l148-67.5c17.6-8 17.6-21.1 0-29.1l-79.94-38.47"
1217
1219
  }, null, -1),
1218
- u("path", {
1220
+ d("path", {
1219
1221
  fill: "none",
1220
1222
  stroke: "currentColor",
1221
1223
  "stroke-linecap": "round",
@@ -1225,15 +1227,15 @@ function Rt(t, e) {
1225
1227
  }, null, -1)
1226
1228
  ]));
1227
1229
  }
1228
- const Nt = { render: Rt }, Pt = {
1230
+ const Pt = { render: Rt }, Nt = {
1229
1231
  xmlns: "http://www.w3.org/2000/svg",
1230
1232
  width: "1em",
1231
1233
  height: "1em",
1232
1234
  viewBox: "0 0 20 20"
1233
1235
  };
1234
1236
  function Ot(t, e) {
1235
- return c(), y("svg", Pt, e[0] || (e[0] = [
1236
- u("path", { d: "m15.08 12.854.002-.002V5.59c0-.422-.652-.414-.652 0v3.466c0 .938-1.482.95-1.482 0v-4.83c0-.414-.638-.414-.638 0h-.014v4.83c.014.95-1.482.95-1.482 0V3.444c0-.42-.638-.414-.638 0v5.612c0 .95-1.494.95-1.494 0V4.232c0-.408-.64-.42-.64 0v6.756c0 .802-1.094 1.088-1.494.388q-.39-.669-.776-1.338c-.338-.482-1.1-.15-.794.38l.978 1.698.02.04q.829 1.418 1.658 2.834c.19.3.422.578.666.802h-.006c.672.61 1.528.964 2.418 1.052.888.06 1.792-.124 2.56-.612q.45-.285.816-.68a4 4 0 0 0 .734-1.204c.176-.482.258-.97.258-1.494m-.91-8.608-.004-.002c.958-.38 2.058.244 2.058 1.346v7.266c0 .652-.108 1.29-.332 1.894a4.8 4.8 0 0 1-.964 1.576 5.9 5.9 0 0 1-1.046.884c-.978.612-2.146.862-3.26.774a5.34 5.34 0 0 1-3.098-1.352 5.4 5.4 0 0 1-.87-1.034l-1.672-2.88-.012-.028-.978-1.706c-.59-1.018.068-2.186 1.156-2.336.536-.074 1.126.116 1.562.72.026.028.04.062.054.096q.061.11.122.218V4.234c0-1.176 1.244-1.788 2.202-1.278.42-1.278 2.378-1.264 2.792-.014.972-.51 2.222.102 2.222 1.284v.06z" }, null, -1)
1237
+ return u(), y("svg", Nt, e[0] || (e[0] = [
1238
+ d("path", { d: "m15.08 12.854.002-.002V5.59c0-.422-.652-.414-.652 0v3.466c0 .938-1.482.95-1.482 0v-4.83c0-.414-.638-.414-.638 0h-.014v4.83c.014.95-1.482.95-1.482 0V3.444c0-.42-.638-.414-.638 0v5.612c0 .95-1.494.95-1.494 0V4.232c0-.408-.64-.42-.64 0v6.756c0 .802-1.094 1.088-1.494.388q-.39-.669-.776-1.338c-.338-.482-1.1-.15-.794.38l.978 1.698.02.04q.829 1.418 1.658 2.834c.19.3.422.578.666.802h-.006c.672.61 1.528.964 2.418 1.052.888.06 1.792-.124 2.56-.612q.45-.285.816-.68a4 4 0 0 0 .734-1.204c.176-.482.258-.97.258-1.494m-.91-8.608-.004-.002c.958-.38 2.058.244 2.058 1.346v7.266c0 .652-.108 1.29-.332 1.894a4.8 4.8 0 0 1-.964 1.576 5.9 5.9 0 0 1-1.046.884c-.978.612-2.146.862-3.26.774a5.34 5.34 0 0 1-3.098-1.352 5.4 5.4 0 0 1-.87-1.034l-1.672-2.88-.012-.028-.978-1.706c-.59-1.018.068-2.186 1.156-2.336.536-.074 1.126.116 1.562.72.026.028.04.062.054.096q.061.11.122.218V4.234c0-1.176 1.244-1.788 2.202-1.278.42-1.278 2.378-1.264 2.792-.014.972-.51 2.222.102 2.222 1.284v.06z" }, null, -1)
1237
1239
  ]));
1238
1240
  }
1239
1241
  const Ht = { render: Ot }, Gt = {
@@ -1243,8 +1245,8 @@ const Ht = { render: Ot }, Gt = {
1243
1245
  viewBox: "0 0 20 20"
1244
1246
  };
1245
1247
  function Wt(t, e) {
1246
- return c(), y("svg", Gt, e[0] || (e[0] = [
1247
- u("path", {
1248
+ return u(), y("svg", Gt, e[0] || (e[0] = [
1249
+ d("path", {
1248
1250
  fill: "currentColor",
1249
1251
  d: "M10.438 15.298h.002l4.86-4.86-9.722-4.86zM18 10l-3.434 3.434 3.2 3.2-1.132 1.132-3.2-3.2L10 18 2.4 2.4z"
1250
1252
  }, null, -1)
@@ -1257,8 +1259,8 @@ const qt = { render: Wt }, Ut = {
1257
1259
  viewBox: "0 0 20 20"
1258
1260
  };
1259
1261
  function jt(t, e) {
1260
- return c(), y("svg", Ut, e[0] || (e[0] = [
1261
- u("path", {
1262
+ return u(), y("svg", Ut, e[0] || (e[0] = [
1263
+ d("path", {
1262
1264
  fill: "currentColor",
1263
1265
  d: "M15.083 14.808a7 7 0 0 0 1.909-4.825 7.001 7.001 0 1 0-2.167 5.083c.092-.083.175-.174.258-.258m1.259.592 2.575 2.575-.942.942-2.575-2.575a8.334 8.334 0 0 1-11.525-.692 8.326 8.326 0 0 1 .233-11.542C7.267.942 12.367.842 15.65 3.875s3.592 8.117.692 11.525m-3.55-2.608V7.208H7.208v5.584zM5.875 5.875h8.25v8.25h-8.25z"
1264
1266
  }, null, -1)
@@ -1271,8 +1273,8 @@ const Yt = { render: jt }, Kt = {
1271
1273
  viewBox: "0 0 20 20"
1272
1274
  };
1273
1275
  function Xt(t, e) {
1274
- return c(), y("svg", Kt, e[0] || (e[0] = [
1275
- u("path", {
1276
+ return u(), y("svg", Kt, e[0] || (e[0] = [
1277
+ d("path", {
1276
1278
  fill: "currentColor",
1277
1279
  d: "m9.333 14.125-3.458-3.458v3.458zm4.792-3.458-3.458 3.458h3.458zm-3.458-4.792 3.458 3.458V5.875zM5.875 9.333l3.458-3.458H5.875zm9.208 5.475a7 7 0 0 0 1.909-4.825 7.001 7.001 0 1 0-2.167 5.083c.092-.083.175-.174.258-.258m1.259.592 2.575 2.575-.942.942-2.575-2.575c-3.408 2.9-8.492 2.591-11.525-.692S.942 7.275 4.108 4.108C7.267.942 12.367.842 15.65 3.875s3.592 8.117.692 11.525"
1278
1280
  }, null, -1)
@@ -1285,8 +1287,8 @@ const Qt = { render: Xt }, Zt = {
1285
1287
  viewBox: "0 0 20 20"
1286
1288
  };
1287
1289
  function Jt(t, e) {
1288
- return c(), y("svg", Zt, e[0] || (e[0] = [
1289
- u("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1)
1290
+ return u(), y("svg", Zt, e[0] || (e[0] = [
1291
+ d("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1)
1290
1292
  ]));
1291
1293
  }
1292
1294
  const en = { render: Jt }, tn = {
@@ -1296,7 +1298,7 @@ const en = { render: Jt }, tn = {
1296
1298
  viewBox: "0 0 20 20"
1297
1299
  };
1298
1300
  function nn(t, e) {
1299
- return c(), y("svg", tn);
1301
+ return u(), y("svg", tn);
1300
1302
  }
1301
1303
  const on = { render: nn }, ln = {
1302
1304
  xmlns: "http://www.w3.org/2000/svg",
@@ -1305,9 +1307,9 @@ const on = { render: nn }, ln = {
1305
1307
  viewBox: "0 0 20 20"
1306
1308
  };
1307
1309
  function an(t, e) {
1308
- return c(), y("svg", ln, e[0] || (e[0] = [
1309
- u("path", { d: "M2 9.5h16v1H2z" }, null, -1),
1310
- u("path", { d: "M9.5 2h1v16h-1z" }, null, -1)
1310
+ return u(), y("svg", ln, e[0] || (e[0] = [
1311
+ d("path", { d: "M2 9.5h16v1H2z" }, null, -1),
1312
+ d("path", { d: "M9.5 2h1v16h-1z" }, null, -1)
1311
1313
  ]));
1312
1314
  }
1313
1315
  const rn = { render: an }, sn = {
@@ -1317,9 +1319,9 @@ const rn = { render: an }, sn = {
1317
1319
  viewBox: "0 0 20 20"
1318
1320
  };
1319
1321
  function cn(t, e) {
1320
- return c(), y("svg", sn, e[0] || (e[0] = [
1321
- u("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1322
- u("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
1322
+ return u(), y("svg", sn, e[0] || (e[0] = [
1323
+ d("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1324
+ d("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
1323
1325
  ]));
1324
1326
  }
1325
1327
  const un = { render: cn }, dn = {
@@ -1329,31 +1331,31 @@ const un = { render: cn }, dn = {
1329
1331
  viewBox: "0 0 20 20"
1330
1332
  };
1331
1333
  function mn(t, e) {
1332
- return c(), y("svg", dn, e[0] || (e[0] = [
1333
- u("path", { d: "M9.5 2.04h1v8h-1z" }, null, -1)
1334
+ return u(), y("svg", dn, e[0] || (e[0] = [
1335
+ d("path", { d: "M9.5 2.04h1v8h-1z" }, null, -1)
1334
1336
  ]));
1335
1337
  }
1336
- const pn = { render: mn }, vn = {
1338
+ const pn = { render: mn }, gn = {
1337
1339
  xmlns: "http://www.w3.org/2000/svg",
1338
1340
  width: "1em",
1339
1341
  height: "1em",
1340
1342
  viewBox: "0 0 20 20"
1341
1343
  };
1342
- function gn(t, e) {
1343
- return c(), y("svg", vn, e[0] || (e[0] = [
1344
- u("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
1345
- u("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1344
+ function vn(t, e) {
1345
+ return u(), y("svg", gn, e[0] || (e[0] = [
1346
+ d("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
1347
+ d("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1346
1348
  ]));
1347
1349
  }
1348
- const fn = { render: gn }, hn = {
1350
+ const fn = { render: vn }, hn = {
1349
1351
  xmlns: "http://www.w3.org/2000/svg",
1350
1352
  width: "1em",
1351
1353
  height: "1em",
1352
1354
  viewBox: "0 0 20 20"
1353
1355
  };
1354
1356
  function _n(t, e) {
1355
- return c(), y("svg", hn, e[0] || (e[0] = [
1356
- u("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1357
+ return u(), y("svg", hn, e[0] || (e[0] = [
1358
+ d("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1357
1359
  ]));
1358
1360
  }
1359
1361
  const wn = { render: _n }, yn = {
@@ -1363,10 +1365,10 @@ const wn = { render: _n }, yn = {
1363
1365
  viewBox: "0 0 20 20"
1364
1366
  };
1365
1367
  function bn(t, e) {
1366
- return c(), y("svg", yn, e[0] || (e[0] = [
1367
- u("path", { d: "M3 9.5h14v1H3z" }, null, -1),
1368
- u("path", { d: "M9.5 3h1v14h-1z" }, null, -1),
1369
- u("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1368
+ return u(), y("svg", yn, e[0] || (e[0] = [
1369
+ d("path", { d: "M3 9.5h14v1H3z" }, null, -1),
1370
+ d("path", { d: "M9.5 3h1v14h-1z" }, null, -1),
1371
+ d("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1370
1372
  ]));
1371
1373
  }
1372
1374
  const xn = { render: bn }, kn = {
@@ -1376,10 +1378,10 @@ const xn = { render: bn }, kn = {
1376
1378
  viewBox: "0 0 20 20"
1377
1379
  };
1378
1380
  function Mn(t, e) {
1379
- return c(), y("svg", kn, e[0] || (e[0] = [
1380
- u("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1381
- u("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1),
1382
- u("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1381
+ return u(), y("svg", kn, e[0] || (e[0] = [
1382
+ d("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1383
+ d("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1),
1384
+ d("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1383
1385
  ]));
1384
1386
  }
1385
1387
  const Sn = { render: Mn }, Cn = {
@@ -1389,9 +1391,9 @@ const Sn = { render: Mn }, Cn = {
1389
1391
  viewBox: "0 0 20 20"
1390
1392
  };
1391
1393
  function Ln(t, e) {
1392
- return c(), y("svg", Cn, e[0] || (e[0] = [
1393
- u("path", { d: "M9.5 5.04h1v5h-1z" }, null, -1),
1394
- u("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1394
+ return u(), y("svg", Cn, e[0] || (e[0] = [
1395
+ d("path", { d: "M9.5 5.04h1v5h-1z" }, null, -1),
1396
+ d("path", { d: "M10 3a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-1a8 8 0 1 0 8 8 8 8 0 0 0-8-8" }, null, -1)
1395
1397
  ]));
1396
1398
  }
1397
1399
  const zn = { render: Ln }, Dn = {
@@ -1401,9 +1403,9 @@ const zn = { render: Ln }, Dn = {
1401
1403
  viewBox: "0 0 20 20"
1402
1404
  };
1403
1405
  function Bn(t, e) {
1404
- return c(), y("svg", Dn, e[0] || (e[0] = [
1405
- u("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
1406
- u("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1)
1406
+ return u(), y("svg", Dn, e[0] || (e[0] = [
1407
+ d("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
1408
+ d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1)
1407
1409
  ]));
1408
1410
  }
1409
1411
  const Tn = { render: Bn }, En = {
@@ -1413,8 +1415,8 @@ const Tn = { render: Bn }, En = {
1413
1415
  viewBox: "0 0 20 20"
1414
1416
  };
1415
1417
  function $n(t, e) {
1416
- return c(), y("svg", En, e[0] || (e[0] = [
1417
- u("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1)
1418
+ return u(), y("svg", En, e[0] || (e[0] = [
1419
+ d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1)
1418
1420
  ]));
1419
1421
  }
1420
1422
  const Vn = { render: $n }, An = {
@@ -1424,10 +1426,10 @@ const Vn = { render: $n }, An = {
1424
1426
  viewBox: "0 0 20 20"
1425
1427
  };
1426
1428
  function Fn(t, e) {
1427
- return c(), y("svg", An, e[0] || (e[0] = [
1428
- u("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1429
- u("path", { d: "M3 9.58h14v1H3z" }, null, -1),
1430
- u("path", { d: "M9.5 3.08h1v14h-1z" }, null, -1)
1429
+ return u(), y("svg", An, e[0] || (e[0] = [
1430
+ d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1431
+ d("path", { d: "M3 9.58h14v1H3z" }, null, -1),
1432
+ d("path", { d: "M9.5 3.08h1v14h-1z" }, null, -1)
1431
1433
  ]));
1432
1434
  }
1433
1435
  const In = { render: Fn }, Rn = {
@@ -1436,23 +1438,23 @@ const In = { render: Fn }, Rn = {
1436
1438
  height: "1em",
1437
1439
  viewBox: "0 0 20 20"
1438
1440
  };
1439
- function Nn(t, e) {
1440
- return c(), y("svg", Rn, e[0] || (e[0] = [
1441
- u("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1442
- u("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1443
- u("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
1441
+ function Pn(t, e) {
1442
+ return u(), y("svg", Rn, e[0] || (e[0] = [
1443
+ d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1444
+ d("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1445
+ d("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1)
1444
1446
  ]));
1445
1447
  }
1446
- const Pn = { render: Nn }, On = {
1448
+ const Nn = { render: Pn }, On = {
1447
1449
  xmlns: "http://www.w3.org/2000/svg",
1448
1450
  width: "1em",
1449
1451
  height: "1em",
1450
1452
  viewBox: "0 0 20 20"
1451
1453
  };
1452
1454
  function Hn(t, e) {
1453
- return c(), y("svg", On, e[0] || (e[0] = [
1454
- u("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1455
- u("path", { d: "M9.5 6.04h1v5h-1z" }, null, -1)
1455
+ return u(), y("svg", On, e[0] || (e[0] = [
1456
+ d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1457
+ d("path", { d: "M9.5 6.04h1v5h-1z" }, null, -1)
1456
1458
  ]));
1457
1459
  }
1458
1460
  const Gn = { render: Hn }, Wn = {
@@ -1462,10 +1464,10 @@ const Gn = { render: Hn }, Wn = {
1462
1464
  viewBox: "0 0 20 20"
1463
1465
  };
1464
1466
  function qn(t, e) {
1465
- return c(), y("svg", Wn, e[0] || (e[0] = [
1466
- u("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1467
- u("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
1468
- u("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1467
+ return u(), y("svg", Wn, e[0] || (e[0] = [
1468
+ d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1469
+ d("path", { d: "M9.5 9.54h1v1h-1z" }, null, -1),
1470
+ d("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1469
1471
  ]));
1470
1472
  }
1471
1473
  const Un = { render: qn }, jn = {
@@ -1475,9 +1477,9 @@ const Un = { render: qn }, jn = {
1475
1477
  viewBox: "0 0 20 20"
1476
1478
  };
1477
1479
  function Yn(t, e) {
1478
- return c(), y("svg", jn, e[0] || (e[0] = [
1479
- u("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1480
- u("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1480
+ return u(), y("svg", jn, e[0] || (e[0] = [
1481
+ d("path", { d: "M17 3.08v14H3v-14zm1-1H2v16h16z" }, null, -1),
1482
+ d("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1481
1483
  ]));
1482
1484
  }
1483
1485
  const Kn = { render: Yn }, Xn = {
@@ -1487,11 +1489,11 @@ const Kn = { render: Yn }, Xn = {
1487
1489
  viewBox: "0 0 20 20"
1488
1490
  };
1489
1491
  function Qn(t, e) {
1490
- return c(), y("svg", Xn, e[0] || (e[0] = [
1491
- u("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1492
- u("path", { d: "M3.88 9.6h12.25v.88H3.88z" }, null, -1),
1493
- u("path", { d: "M9.56 3.91h.88v12.25h-.88z" }, null, -1),
1494
- u("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1492
+ return u(), y("svg", Xn, e[0] || (e[0] = [
1493
+ d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1494
+ d("path", { d: "M3.88 9.6h12.25v.88H3.88z" }, null, -1),
1495
+ d("path", { d: "M9.56 3.91h.88v12.25h-.88z" }, null, -1),
1496
+ d("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1495
1497
  ]));
1496
1498
  }
1497
1499
  const Zn = { render: Qn }, Jn = {
@@ -1501,11 +1503,11 @@ const Zn = { render: Qn }, Jn = {
1501
1503
  viewBox: "0 0 20 20"
1502
1504
  };
1503
1505
  function eo(t, e) {
1504
- return c(), y("svg", Jn, e[0] || (e[0] = [
1505
- u("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1506
- u("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1),
1507
- u("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1508
- u("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1506
+ return u(), y("svg", Jn, e[0] || (e[0] = [
1507
+ d("path", { d: "m2.146 2.851.707-.707 14.998 14.998-.707.707z" }, null, -1),
1508
+ d("path", { d: "M2.146 17.149 17.144 2.15l.707.707L2.853 17.856z" }, null, -1),
1509
+ d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1510
+ d("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1509
1511
  ]));
1510
1512
  }
1511
1513
  const to = { render: eo }, no = {
@@ -1515,16 +1517,16 @@ const to = { render: eo }, no = {
1515
1517
  viewBox: "0 0 20 20"
1516
1518
  };
1517
1519
  function oo(t, e) {
1518
- return c(), y("svg", no, e[0] || (e[0] = [
1519
- u("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1520
- u("path", { d: "M9.5 5.04h1v5h-1z" }, null, -1),
1521
- u("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1520
+ return u(), y("svg", no, e[0] || (e[0] = [
1521
+ d("path", { d: "M17 3v14H3V3zm1-1H2v16h16z" }, null, -1),
1522
+ d("path", { d: "M9.5 5.04h1v5h-1z" }, null, -1),
1523
+ d("path", { d: "M10 4a6 6 0 1 1-6 6 6 6 0 0 1 6-6m0-1a7 7 0 1 0 7 7 7 7 0 0 0-7-7" }, null, -1)
1522
1524
  ]));
1523
1525
  }
1524
1526
  const lo = { render: oo }, ao = /* @__PURE__ */ L({
1525
1527
  __name: "MlPointStyleDlg",
1526
1528
  setup(t) {
1527
- const { t: e } = N(), n = Dt(B.instance), i = x(!0), l = x(0), o = [
1529
+ const { t: e } = P(), n = Dt(T.instance), i = x(!0), l = x(0), o = [
1528
1530
  [
1529
1531
  { id: 0, icon: en },
1530
1532
  { id: 1, icon: on },
@@ -1543,7 +1545,7 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
1543
1545
  { id: 64, icon: Tn },
1544
1546
  { id: 65, icon: Vn },
1545
1547
  { id: 66, icon: In },
1546
- { id: 67, icon: Pn },
1548
+ { id: 67, icon: Nn },
1547
1549
  { id: 68, icon: Gn }
1548
1550
  ],
1549
1551
  [
@@ -1557,33 +1559,33 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
1557
1559
  n.pdmode && (l.value = n.pdmode);
1558
1560
  };
1559
1561
  a();
1560
- const s = (f, d) => o[f][d].id == l.value ? "primary" : null, r = (f, d) => {
1561
- l.value = o[f][d].id;
1562
- }, m = () => {
1563
- B.instance.curDocument.database.pdmode = l.value;
1562
+ const s = (f, m) => o[f][m].id == l.value ? "primary" : null, r = (f, m) => {
1563
+ l.value = o[f][m].id;
1564
+ }, c = () => {
1565
+ T.instance.curDocument.database.pdmode = l.value;
1564
1566
  }, w = () => {
1565
1567
  a();
1566
1568
  };
1567
- return (f, d) => {
1569
+ return (f, m) => {
1568
1570
  const h = M("el-button"), _ = M("el-col"), b = M("el-row");
1569
- return c(), C(Te, {
1571
+ return u(), C(Te, {
1570
1572
  title: g(e)("dialog.pointStyleDlg.title"),
1571
1573
  width: 400,
1572
1574
  modelValue: i.value,
1573
- "onUpdate:modelValue": d[0] || (d[0] = (S) => i.value = S),
1575
+ "onUpdate:modelValue": m[0] || (m[0] = (S) => i.value = S),
1574
1576
  name: "PointStyleDlg",
1575
- onOk: m,
1577
+ onOk: c,
1576
1578
  onCancel: w
1577
1579
  }, {
1578
1580
  default: p(() => [
1579
- (c(), y(j, null, X(o, (S, $) => v(b, {
1581
+ (u(), y(j, null, X(o, (S, $) => v(b, {
1580
1582
  key: $,
1581
1583
  style: { "margin-top": "10px" },
1582
1584
  gutter: 6,
1583
1585
  justify: "space-between"
1584
1586
  }, {
1585
1587
  default: p(() => [
1586
- (c(!0), y(j, null, X(S, (I, V) => (c(), C(_, {
1588
+ (u(!0), y(j, null, X(S, (I, V) => (u(), C(_, {
1587
1589
  key: V,
1588
1590
  span: 4
1589
1591
  }, {
@@ -1591,7 +1593,7 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
1591
1593
  v(h, {
1592
1594
  icon: I.icon,
1593
1595
  type: s($, V),
1594
- onClick: (T) => r($, V),
1596
+ onClick: (B) => r($, V),
1595
1597
  style: { "font-size": "25px" }
1596
1598
  }, null, 8, ["icon", "type", "onClick"])
1597
1599
  ]),
@@ -1610,7 +1612,7 @@ const lo = { render: oo }, ao = /* @__PURE__ */ L({
1610
1612
  try {
1611
1613
  if (typeof document < "u") {
1612
1614
  var t = document.createElement("style");
1613
- t.appendChild(document.createTextNode(".ml-dropdown-icon[data-v-3fc33b5d],.ml-dropdown-icon[data-v-3fc33b5d]:hover{outline:none;border:none}.ml-status-bar[data-v-d6a59cf0]{position:fixed;bottom:0;left:0;right:0;height:30px;display:flex;justify-content:space-between;align-items:center;background-color:var(--el-fill-color);box-sizing:border-box;border:1px solid var(--el-border-color)}.ml-status-bar-left[data-v-d6a59cf0],.ml-status-bar-right[data-v-d6a59cf0]{display:flex;align-items:center}.ml-status-bar-left[data-v-d6a59cf0]>*{margin-right:10px}.ml-status-bar-right[data-v-d6a59cf0]>*{margin-left:10px}.ml-vertical-toolbar-button-group[data-v-3eed2087]{display:flex;flex-direction:column}.ml-horizontal-toolbar-button-group[data-v-3eed2087]{display:flex;flex-direction:row}.ml-toolbar-button[data-v-3eed2087]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px}.ml-toolbar-button-text[data-v-3eed2087]{margin-left:0;margin-top:5px}.ml-tool-palette-dialog[data-v-11a64c54]{cursor:default;width:300px;min-width:var(--collapsed-width);position:fixed;box-sizing:border-box;border:1px solid var(--el-border-color)}.ml-tool-palette-dialog-icon[data-v-11a64c54]{border-bottom:1px solid var(--el-border-color)}.ml-tool-palette-dialog-layout[data-v-11a64c54]{display:flex;height:100%}.ml-tool-palette-title-bar[data-v-11a64c54]{width:var(--collapsed-width);display:flex;justify-content:left;align-items:center;cursor:move;writing-mode:vertical-rl;text-align:center;background-color:var(--el-fill-color)}.ml-tool-palette-title[data-v-11a64c54]{pointer-events:none;margin-top:10px;margin-bottom:10px;font-size:small;-webkit-user-select:none;user-select:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-tool-palette-content[data-v-11a64c54]{-webkit-user-select:none;user-select:none;flex-grow:1;display:flex;justify-content:space-around;background-color:var(--el-fill-color);overflow:hidden}.ml-tool-palette-dialog-layout.left .ml-tool-palette-title-bar[data-v-11a64c54]{order:1}.ml-tool-palette-dialog-layout.left .ml-tool-palette-content[data-v-11a64c54],.ml-tool-palette-dialog-layout.right .ml-tool-palette-title-bar[data-v-11a64c54]{order:2}.ml-tool-palette-dialog-layout.right .ml-tool-palette-content[data-v-11a64c54]{order:1}")), document.head.appendChild(t);
1615
+ t.appendChild(document.createTextNode(".ml-dropdown-icon[data-v-3fc33b5d],.ml-dropdown-icon[data-v-3fc33b5d]:hover{outline:none;border:none}.ml-status-bar[data-v-d6a59cf0]{position:fixed;bottom:0;left:0;right:0;height:30px;display:flex;justify-content:space-between;align-items:center;background-color:var(--el-fill-color);box-sizing:border-box;border:1px solid var(--el-border-color)}.ml-status-bar-left[data-v-d6a59cf0],.ml-status-bar-right[data-v-d6a59cf0]{display:flex;align-items:center}.ml-status-bar-left[data-v-d6a59cf0]>*{margin-right:10px}.ml-status-bar-right[data-v-d6a59cf0]>*{margin-left:10px}.ml-toggle-button[data-v-b676e93b]{border:none;padding:0;cursor:pointer;width:var(--0547f26d);height:var(--0547f26d)}.ml-vertical-toolbar-button-group[data-v-5261c686]{display:flex;flex-direction:column}.ml-horizontal-toolbar-button-group[data-v-5261c686]{display:flex;flex-direction:row}.ml-toolbar-button[data-v-5261c686]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px}.ml-toolbar-button-text[data-v-5261c686]{margin-left:0;margin-top:5px}.ml-tool-palette-dialog[data-v-8645db4f]{cursor:default;width:300px;min-width:var(--collapsed-width);position:fixed;box-sizing:border-box;border:1px solid var(--el-border-color)}.ml-tool-palette-dialog-icon[data-v-8645db4f]{border-bottom:1px solid var(--el-border-color);cursor:default}.ml-tool-palette-dialog-icon[data-v-8645db4f]:hover{color:var(--el-color-primary)}.ml-tool-palette-dialog-layout[data-v-8645db4f]{display:flex;height:100%}.ml-tool-palette-title-bar[data-v-8645db4f]{width:var(--collapsed-width);display:flex;justify-content:left;align-items:center;cursor:move;writing-mode:vertical-rl;text-align:center;background-color:var(--el-fill-color)}.ml-tool-palette-title[data-v-8645db4f]{pointer-events:none;margin-top:10px;margin-bottom:10px;font-size:small;-webkit-user-select:none;user-select:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-tool-palette-content[data-v-8645db4f]{-webkit-user-select:none;user-select:none;flex-grow:1;display:flex;justify-content:space-around;background-color:var(--el-fill-color);overflow:hidden}.ml-tool-palette-dialog-layout.left .ml-tool-palette-title-bar[data-v-8645db4f]{order:1}.ml-tool-palette-dialog-layout.left .ml-tool-palette-content[data-v-8645db4f],.ml-tool-palette-dialog-layout.right .ml-tool-palette-title-bar[data-v-8645db4f]{order:2}.ml-tool-palette-dialog-layout.right .ml-tool-palette-content[data-v-8645db4f]{order:1}")), document.head.appendChild(t);
1614
1616
  }
1615
1617
  } catch (e) {
1616
1618
  console.error("vite-plugin-css-injected-by-js", e);
@@ -1621,30 +1623,30 @@ const io = {
1621
1623
  width: "1em",
1622
1624
  height: "1em",
1623
1625
  viewBox: "0 0 1024 1024"
1624
- }, ro = /* @__PURE__ */ u("path", {
1626
+ }, ro = /* @__PURE__ */ d("path", {
1625
1627
  fill: "currentColor",
1626
1628
  d: "M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"
1627
1629
  }, null, -1), so = [
1628
1630
  ro
1629
1631
  ];
1630
1632
  function co(t, e) {
1631
- return c(), y("svg", io, [...so]);
1633
+ return u(), y("svg", io, [...so]);
1632
1634
  }
1633
1635
  const xe = { render: co }, uo = {
1634
1636
  xmlns: "http://www.w3.org/2000/svg",
1635
1637
  width: "1em",
1636
1638
  height: "1em",
1637
1639
  viewBox: "0 0 1024 1024"
1638
- }, mo = /* @__PURE__ */ u("path", {
1640
+ }, mo = /* @__PURE__ */ d("path", {
1639
1641
  fill: "currentColor",
1640
1642
  d: "M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"
1641
1643
  }, null, -1), po = [
1642
1644
  mo
1643
1645
  ];
1644
- function vo(t, e) {
1645
- return c(), y("svg", uo, [...po]);
1646
+ function go(t, e) {
1647
+ return u(), y("svg", uo, [...po]);
1646
1648
  }
1647
- const ke = { render: vo }, go = /* @__PURE__ */ L({
1649
+ const ke = { render: go }, vo = /* @__PURE__ */ L({
1648
1650
  __name: "MlCollapse",
1649
1651
  props: /* @__PURE__ */ J({
1650
1652
  size: { default: 18 },
@@ -1655,30 +1657,30 @@ const ke = { render: vo }, go = /* @__PURE__ */ L({
1655
1657
  }),
1656
1658
  emits: /* @__PURE__ */ J(["change"], ["update:modelValue"]),
1657
1659
  setup(t, { emit: e }) {
1658
- const n = t, i = ge(t, "modelValue"), l = e, o = k(() => n.reverse ? i.value ? xe : ke : i.value ? ke : xe), a = k(() => `${n.size}px`), s = () => {
1660
+ const n = t, i = ve(t, "modelValue"), l = e, o = k(() => n.reverse ? i.value ? xe : ke : i.value ? ke : xe), a = k(() => `${n.size}px`), s = () => {
1659
1661
  l("change", i.value), i.value = !i.value;
1660
1662
  };
1661
- return (r, m) => {
1663
+ return (r, c) => {
1662
1664
  const w = se;
1663
- return c(), C(w, {
1665
+ return u(), C(w, {
1664
1666
  size: a.value,
1665
1667
  onClick: s
1666
1668
  }, {
1667
1669
  default: p(() => [
1668
- (c(), C(ve(o.value)))
1670
+ (u(), C(ge(o.value)))
1669
1671
  ]),
1670
1672
  _: 1
1671
1673
  }, 8, ["size"]);
1672
1674
  };
1673
1675
  }
1674
- }), fo = (t) => (Le("data-v-3fc33b5d"), t = t(), ze(), t), ho = /* @__PURE__ */ fo(() => /* @__PURE__ */ u("svg", {
1676
+ }), fo = (t) => (Le("data-v-3fc33b5d"), t = t(), ze(), t), ho = /* @__PURE__ */ fo(() => /* @__PURE__ */ d("svg", {
1675
1677
  preserveAspectRatio: "xMidYMid meet",
1676
1678
  viewBox: "0 0 24 24",
1677
1679
  width: "1.2em",
1678
1680
  height: "1.2em",
1679
1681
  "data-v-63d067da": ""
1680
1682
  }, [
1681
- /* @__PURE__ */ u("path", {
1683
+ /* @__PURE__ */ d("path", {
1682
1684
  fill: "currentColor",
1683
1685
  d: "m18.5 10l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301a14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725a16.676 16.676 0 0 1-6.201 3.548l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877a16.165 16.165 0 0 0 2.91-4.876L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"
1684
1686
  })
@@ -1697,17 +1699,17 @@ const ke = { render: vo }, go = /* @__PURE__ */ L({
1697
1699
  i("click", a);
1698
1700
  };
1699
1701
  return (a, s) => {
1700
- const r = se, m = nt, w = tt, f = et;
1701
- return c(), C(f, { onCommand: o }, {
1702
+ const r = se, c = nt, w = tt, f = et;
1703
+ return u(), C(f, { onCommand: o }, {
1702
1704
  dropdown: p(() => [
1703
1705
  v(w, null, {
1704
1706
  default: p(() => [
1705
- (c(!0), y(j, null, X(l.value, (d) => (c(), C(m, {
1706
- key: d.text,
1707
- command: d.name
1707
+ (u(!0), y(j, null, X(l.value, (m) => (u(), C(c, {
1708
+ key: m.text,
1709
+ command: m.name
1708
1710
  }, {
1709
1711
  default: p(() => [
1710
- F(D(d.text), 1)
1712
+ F(D(m.text), 1)
1711
1713
  ]),
1712
1714
  _: 2
1713
1715
  }, 1032, ["command"]))), 128))
@@ -1748,7 +1750,7 @@ const ke = { render: vo }, go = /* @__PURE__ */ L({
1748
1750
  const n = t, i = e, l = (o) => {
1749
1751
  i("click", o);
1750
1752
  };
1751
- return (o, a) => (c(), C(wo, {
1753
+ return (o, a) => (u(), C(wo, {
1752
1754
  icon: yo,
1753
1755
  items: n.languages,
1754
1756
  current: n.current,
@@ -1757,11 +1759,11 @@ const ke = { render: vo }, go = /* @__PURE__ */ L({
1757
1759
  }
1758
1760
  }), xo = {}, ko = { class: "ml-status-bar" }, Mo = { class: "ml-status-bar-left" }, So = { class: "ml-status-bar-right" };
1759
1761
  function Co(t, e) {
1760
- return c(), y("div", ko, [
1761
- u("div", Mo, [
1762
+ return u(), y("div", ko, [
1763
+ d("div", Mo, [
1762
1764
  ie(t.$slots, "left", {}, void 0, !0)
1763
1765
  ]),
1764
- u("div", So, [
1766
+ d("div", So, [
1765
1767
  ie(t.$slots, "right", {}, void 0, !0)
1766
1768
  ])
1767
1769
  ]);
@@ -1788,36 +1790,36 @@ const Lo = /* @__PURE__ */ ue(xo, [["render", Co], ["__scopeId", "data-v-d6a59cf
1788
1790
  return 50;
1789
1791
  }
1790
1792
  return 70;
1791
- }), s = (w) => w.description ? w.description : w.text, r = k(() => n.size === "large"), m = (w) => {
1793
+ }), s = (w) => w.description ? w.description : w.text, r = k(() => n.size === "large"), c = (w) => {
1792
1794
  i("click", w);
1793
1795
  };
1794
1796
  return (w, f) => {
1795
- const d = se, h = at, _ = lt, b = ot;
1796
- return c(), C(b, {
1797
+ const m = se, h = at, _ = lt, b = ot;
1798
+ return u(), C(b, {
1797
1799
  class: Ce(l.value)
1798
1800
  }, {
1799
1801
  default: p(() => [
1800
- (c(!0), y(j, null, X(w.items, (S, $) => (c(), C(_, {
1802
+ (u(!0), y(j, null, X(w.items, (S, $) => (u(), C(_, {
1801
1803
  key: S.text,
1802
1804
  content: s(S),
1803
1805
  "hide-after": 0
1804
1806
  }, {
1805
1807
  default: p(() => [
1806
- (c(), C(h, {
1808
+ (u(), C(h, {
1807
1809
  class: "ml-toolbar-button",
1808
1810
  style: pe({ width: a.value + "px", height: a.value + "px" }),
1809
1811
  key: $,
1810
- onClick: (I) => m(S.command)
1812
+ onClick: (I) => c(S.command)
1811
1813
  }, {
1812
1814
  default: p(() => [
1813
- u("div", null, [
1814
- v(d, { size: o.value }, {
1815
+ d("div", null, [
1816
+ v(m, { size: o.value }, {
1815
1817
  default: p(() => [
1816
- (c(), C(ve(S.icon)))
1818
+ (u(), C(ge(S.icon)))
1817
1819
  ]),
1818
1820
  _: 2
1819
1821
  }, 1032, ["size"]),
1820
- r.value ? (c(), y("div", zo, D(S.text), 1)) : q("", !0)
1822
+ r.value ? (u(), y("div", zo, D(S.text), 1)) : q("", !0)
1821
1823
  ])
1822
1824
  ]),
1823
1825
  _: 2
@@ -1830,11 +1832,11 @@ const Lo = /* @__PURE__ */ ue(xo, [["render", Co], ["__scopeId", "data-v-d6a59cf
1830
1832
  }, 8, ["class"]);
1831
1833
  };
1832
1834
  }
1833
- }), Bo = /* @__PURE__ */ ue(Do, [["__scopeId", "data-v-3eed2087"]]), Me = 20;
1835
+ }), Bo = /* @__PURE__ */ ue(Do, [["__scopeId", "data-v-5261c686"]]), Me = 20;
1834
1836
  function To(t, e, n) {
1835
1837
  const i = x(!1), l = (r) => {
1836
1838
  if (n.value && t.value) {
1837
- const m = t.value.getBoundingClientRect(), w = r.clientX < m.left || r.clientX > m.right || r.clientY < m.top || r.clientY > m.bottom;
1839
+ const c = t.value.getBoundingClientRect(), w = r.clientX < c.left || r.clientX > c.right || r.clientY < c.top || r.clientY > c.bottom;
1838
1840
  i.value = !w;
1839
1841
  }
1840
1842
  }, o = () => {
@@ -1869,7 +1871,7 @@ function Eo(t, e, n) {
1869
1871
  y: _.top
1870
1872
  };
1871
1873
  }
1872
- }, m = () => {
1874
+ }, c = () => {
1873
1875
  t.value && t.value.addEventListener("mousedown", f);
1874
1876
  }, w = () => {
1875
1877
  t.value && t.value.removeEventListener("mousedown", f);
@@ -1879,14 +1881,14 @@ function Eo(t, e, n) {
1879
1881
  const b = e.value.getBoundingClientRect();
1880
1882
  if (_.clientX < b.left || _.clientX > b.right || _.clientY < b.top || _.clientY > b.bottom) return;
1881
1883
  }
1882
- i.value = !0, a.x = _.clientX, a.y = _.clientY, r(), document.addEventListener("mousemove", d), document.addEventListener("mouseup", h);
1884
+ i.value = !0, a.x = _.clientX, a.y = _.clientY, r(), document.addEventListener("mousemove", m), document.addEventListener("mouseup", h);
1883
1885
  }
1884
- }, d = (_) => {
1886
+ }, m = (_) => {
1885
1887
  if (i.value && o.value && l.value) {
1886
- const b = window.innerWidth, S = window.innerHeight, $ = t.value, I = $.getBoundingClientRect(), V = I.width, T = I.height, P = o.value.x + (_.clientX - a.x), R = o.value.y + (_.clientY - a.y);
1888
+ const b = window.innerWidth, S = window.innerHeight, $ = t.value, I = $.getBoundingClientRect(), V = I.width, B = I.height, N = o.value.x + (_.clientX - a.x), R = o.value.y + (_.clientY - a.y);
1887
1889
  l.value.x = Math.max(
1888
1890
  n ? n.value.offset.value.left : 0,
1889
- P
1891
+ N
1890
1892
  );
1891
1893
  const z = b - V;
1892
1894
  l.value.x = Math.min(
@@ -1894,23 +1896,23 @@ function Eo(t, e, n) {
1894
1896
  l.value.x
1895
1897
  ), l.value.y = Math.max(
1896
1898
  n ? n.value.offset.value.top : 0,
1897
- Math.min(R, S - T)
1899
+ Math.min(R, S - B)
1898
1900
  );
1899
- const A = S - T;
1901
+ const A = S - B;
1900
1902
  l.value.y = Math.min(
1901
1903
  n ? A - n.value.offset.value.bottom : A,
1902
1904
  l.value.y
1903
1905
  ), $.style.left = l.value.x + "px", $.style.top = l.value.y + "px";
1904
1906
  }
1905
1907
  }, h = () => {
1906
- i.value = !1, document.removeEventListener("mousemove", d), document.removeEventListener("mouseup", h);
1908
+ i.value = !1, document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", h);
1907
1909
  };
1908
1910
  return H(() => {
1909
- t.value && (r(), m());
1911
+ t.value && (r(), c());
1910
1912
  }), te(() => {
1911
1913
  t.value && t.value.removeEventListener("mousedown", f);
1912
1914
  }), E(t, (_) => {
1913
- _ ? (r(), m()) : w();
1915
+ _ ? (r(), c()) : w();
1914
1916
  }), {
1915
1917
  isDragging: i,
1916
1918
  movement: s,
@@ -1925,8 +1927,8 @@ function $o(t, e, n) {
1925
1927
  );
1926
1928
  return E(a, (r) => {
1927
1929
  if (r && t.value) {
1928
- const m = t.value.getBoundingClientRect();
1929
- m.left <= n.value.offset.value.left ? (l.value = "left", i.value = !0) : window.innerWidth - m.left - m.width <= n.value.offset.value.right ? (l.value = "right", i.value = !0) : i.value = !1;
1930
+ const c = t.value.getBoundingClientRect();
1931
+ c.left <= n.value.offset.value.left ? (l.value = "left", i.value = !0) : window.innerWidth - c.left - c.width <= n.value.offset.value.right ? (l.value = "right", i.value = !0) : i.value = !1;
1930
1932
  }
1931
1933
  }), {
1932
1934
  docked: i,
@@ -1938,14 +1940,14 @@ function $o(t, e, n) {
1938
1940
  }
1939
1941
  function Vo(t, e, n, i) {
1940
1942
  const l = x(null), o = x(null), a = x(null), s = x(null);
1941
- return E(t, (r, m) => {
1942
- l.value = m;
1943
- }), E(e, (r, m) => {
1944
- o.value = m;
1945
- }), E(n, (r, m) => {
1946
- a.value = m;
1947
- }), E(i, (r, m) => {
1948
- s.value = m;
1943
+ return E(t, (r, c) => {
1944
+ l.value = c;
1945
+ }), E(e, (r, c) => {
1946
+ o.value = c;
1947
+ }), E(n, (r, c) => {
1948
+ a.value = c;
1949
+ }), E(i, (r, c) => {
1950
+ s.value = c;
1949
1951
  }), {
1950
1952
  lastLeft: l,
1951
1953
  lastTop: o,
@@ -1955,10 +1957,10 @@ function Vo(t, e, n, i) {
1955
1957
  }
1956
1958
  function Ao(t, e, n, i) {
1957
1959
  const l = x(t.value.width), o = x(t.value.left), a = k(() => t.value.width), s = k(() => t.value.left), r = k(() => n.value ? n.value.x : null);
1958
- return E([a, s], ([m, w]) => {
1959
- (l.value == null || o.value == null || e.value) && (l.value = m, o.value = w);
1960
- }), E(r, (m) => {
1961
- i.value && n.value && (o.value = m);
1960
+ return E([a, s], ([c, w]) => {
1961
+ (l.value == null || o.value == null || e.value) && (l.value = c, o.value = w);
1962
+ }), E(r, (c) => {
1963
+ i.value && n.value && (o.value = c);
1962
1964
  }), { left: o, width: l };
1963
1965
  }
1964
1966
  function Fo(t, e = x({ left: 0, right: 0, top: 0, bottom: 0 })) {
@@ -1981,31 +1983,31 @@ function Fo(t, e = x({ left: 0, right: 0, top: 0, bottom: 0 })) {
1981
1983
  }
1982
1984
  function Io(t, e = x(!1), n = x(!1), i = x({ left: 0, right: 0, top: 0, bottom: 0 }), l = { width: 20, height: 40 }) {
1983
1985
  const { initialRect: o } = Fo(t, i), a = x(!1);
1984
- let s = 0, r = 0, m = 0, w = 0, f = 0;
1985
- const d = 5, h = x(null), _ = (V) => {
1986
+ let s = 0, r = 0, c = 0, w = 0, f = 0;
1987
+ const m = 5, h = x(null), _ = (V) => {
1986
1988
  if (!(!t.value || e.value))
1987
1989
  if (a.value) {
1988
- const T = V.clientX - w, P = V.clientY - f;
1990
+ const B = V.clientX - w, N = V.clientY - f;
1989
1991
  if (h.value === "left" || h.value === "left-bottom-corner") {
1990
- const R = r - T;
1991
- R > l.width && (o.value.width = R, o.value.left = s + T, t.value.style.left = o.value.left + "px", t.value.style.width = o.value.width + "px");
1992
+ const R = r - B;
1993
+ R > l.width && (o.value.width = R, o.value.left = s + B, t.value.style.left = o.value.left + "px", t.value.style.width = o.value.width + "px");
1992
1994
  }
1993
1995
  if (h.value === "right" || h.value === "right-bottom-corner") {
1994
- const R = r + T;
1996
+ const R = r + B;
1995
1997
  R > l.width && (o.value.width = R, t.value.style.width = o.value.width + "px");
1996
1998
  }
1997
1999
  if (h.value === "bottom" || h.value === "left-bottom-corner" || h.value === "right-bottom-corner") {
1998
- const R = m + P;
2000
+ const R = c + N;
1999
2001
  R > l.height && (o.value.height = R, t.value.style.height = o.value.height + "px");
2000
2002
  }
2001
2003
  } else {
2002
- const T = t.value.getBoundingClientRect(), P = V.clientX - T.left, R = V.clientY - T.top, z = P <= d, A = P >= T.width - d, O = R >= T.height - d;
2004
+ const B = t.value.getBoundingClientRect(), N = V.clientX - B.left, R = V.clientY - B.top, z = N <= m, A = N >= B.width - m, O = R >= B.height - m;
2003
2005
  z && O && n.value ? (t.value.style.cursor = "nesw-resize", h.value = "left-bottom-corner") : A && O && !n.value ? (t.value.style.cursor = "nwse-resize", h.value = "right-bottom-corner") : z && n.value ? (t.value.style.cursor = "ew-resize", h.value = "left") : A && !n.value ? (t.value.style.cursor = "ew-resize", h.value = "right") : O ? (t.value.style.cursor = "ns-resize", h.value = "bottom") : (t.value.style.cursor = "", h.value = null);
2004
2006
  }
2005
2007
  }, b = (V) => {
2006
2008
  if (!t.value || !h.value) return;
2007
- const T = t.value.getBoundingClientRect();
2008
- w = V.clientX, f = V.clientY, r = T.width, m = T.height, s = T.left, o.value.width = r, o.value.height = m, o.value.left = T.left, o.value.top = T.top, a.value = !0, document.addEventListener("mousemove", _), document.addEventListener("mouseup", S);
2009
+ const B = t.value.getBoundingClientRect();
2010
+ w = V.clientX, f = V.clientY, r = B.width, c = B.height, s = B.left, o.value.width = r, o.value.height = c, o.value.left = B.left, o.value.top = B.top, a.value = !0, document.addEventListener("mousemove", _), document.addEventListener("mouseup", S);
2009
2011
  }, S = () => {
2010
2012
  a.value = !1, h.value = null, t.value && (t.value.style.cursor = ""), document.removeEventListener("mousemove", _), document.removeEventListener("mouseup", S);
2011
2013
  }, $ = () => {
@@ -2046,72 +2048,72 @@ function Ro(t, e, n, i) {
2046
2048
  l();
2047
2049
  });
2048
2050
  }
2049
- function No(t, e, n, i) {
2050
- const l = x(window.innerWidth), o = x(window.innerHeight), { docked: a, orientation: s, movement: r, position: m, isDragging: w } = $o(
2051
+ function Po(t, e, n, i) {
2052
+ const l = x(window.innerWidth), o = x(window.innerHeight), { docked: a, orientation: s, movement: r, position: c, isDragging: w } = $o(
2051
2053
  t,
2052
2054
  e,
2053
2055
  i
2054
- ), f = k(() => s.value === "right"), { rect: d, isResizing: h } = Io(
2056
+ ), f = k(() => s.value === "right"), { rect: m, isResizing: h } = Io(
2055
2057
  t,
2056
2058
  n,
2057
2059
  f,
2058
2060
  i.value.offset
2059
2061
  ), { width: _, left: b } = Ao(
2060
- d,
2061
- h,
2062
2062
  m,
2063
+ h,
2064
+ c,
2063
2065
  w
2064
2066
  ), { lastTop: S, lastHeight: $ } = Vo(
2065
- k(() => d.value.left),
2066
- k(() => d.value.top),
2067
- k(() => d.value.width),
2068
- k(() => d.value.height)
2067
+ k(() => m.value.left),
2068
+ k(() => m.value.top),
2069
+ k(() => m.value.width),
2070
+ k(() => m.value.height)
2069
2071
  ), { autoOpened: I } = To(t, e, n);
2070
2072
  Ro(t, f, n, I);
2071
2073
  const V = (z) => {
2072
2074
  if (t.value) {
2073
2075
  const A = t.value.getBoundingClientRect(), O = A.left + z;
2074
2076
  if (f.value) {
2075
- d.value.left = O;
2077
+ m.value.left = O;
2076
2078
  const de = window.innerWidth - A.width - A.left;
2077
- A.left <= 0 && de >= 0 && z < 0 && (d.value.left = Math.max(0, O)), window.innerWidth - A.width <= 0 && (d.value.left = window.innerWidth - A.width);
2079
+ A.left <= 0 && de >= 0 && z < 0 && (m.value.left = Math.max(0, O)), window.innerWidth - A.width <= 0 && (m.value.left = window.innerWidth - A.width);
2078
2080
  } else
2079
- A.left + A.width >= window.innerWidth && z < 0 && (d.value.left = Math.max(0, O));
2081
+ A.left + A.width >= window.innerWidth && z < 0 && (m.value.left = Math.max(0, O));
2080
2082
  }
2081
- }, T = () => {
2083
+ }, B = () => {
2082
2084
  const z = window.innerWidth - l.value;
2083
2085
  l.value = window.innerWidth, o.value = window.innerHeight, V(z);
2084
2086
  };
2085
2087
  H(() => {
2086
- window.addEventListener("resize", T);
2088
+ window.addEventListener("resize", B);
2087
2089
  }), te(() => {
2088
- window.removeEventListener("resize", T);
2090
+ window.removeEventListener("resize", B);
2089
2091
  });
2090
- const P = (z) => {
2091
- z ? (d.value.width = Me, f.value && b.value && _.value && (d.value.left = b.value + _.value - Me)) : (d.value.width = _.value, f.value && b.value && _.value && (d.value.left = b.value));
2092
+ const N = (z) => {
2093
+ z ? (m.value.width = Me, f.value && b.value && _.value && (m.value.left = b.value + _.value - Me)) : (m.value.width = _.value, f.value && b.value && _.value && (m.value.left = b.value));
2092
2094
  }, R = () => {
2093
- a.value ? (d.value.top = i.value.offset.value.top, d.value.height = window.innerHeight - i.value.offset.value.top - i.value.offset.value.bottom) : (d.value.top = S.value, d.value.height = $.value);
2095
+ a.value ? (m.value.top = i.value.offset.value.top, m.value.height = window.innerHeight - i.value.offset.value.top - i.value.offset.value.bottom) : (m.value.top = S.value, m.value.height = $.value);
2094
2096
  };
2095
2097
  return E(a, () => {
2096
2098
  R();
2097
2099
  }), E(n, (z) => {
2098
- P(z);
2100
+ N(z);
2099
2101
  }), E(I, (z) => {
2100
- n.value && !w.value && P(!z);
2102
+ n.value && !w.value && N(!z);
2101
2103
  }), E(r, (z) => {
2102
2104
  if (z && t.value) {
2103
2105
  const A = t.value.getBoundingClientRect();
2104
- d.value.left = A.left, d.value.top = A.top;
2106
+ m.value.left = A.left, m.value.top = A.top;
2105
2107
  }
2106
- }), { rect: d, orientation: s, reversed: f };
2108
+ }), { rect: m, orientation: s, reversed: f };
2107
2109
  }
2108
- const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ */ Po(() => /* @__PURE__ */ u("svg", {
2110
+ const No = (t) => (Le("data-v-8645db4f"), t = t(), ze(), t), Oo = /* @__PURE__ */ No(() => /* @__PURE__ */ d("svg", {
2109
2111
  xmlns: "http://www.w3.org/2000/svg",
2110
2112
  width: "1em",
2111
2113
  height: "1em",
2112
2114
  viewBox: "0 0 1024 1024"
2113
2115
  }, [
2114
- /* @__PURE__ */ u("path", {
2116
+ /* @__PURE__ */ d("path", {
2115
2117
  fill: "currentColor",
2116
2118
  d: "M764.288 214.592L512 466.88L259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512L214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
2117
2119
  })
@@ -2129,7 +2131,7 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2129
2131
  }),
2130
2132
  emits: /* @__PURE__ */ J(["close"], ["update:modelValue"]),
2131
2133
  setup(t, { emit: e }) {
2132
- const n = t, i = ge(t, "modelValue"), l = e, o = x(!1), a = x(null), s = x(null), r = k(() => ({
2134
+ const n = t, i = ve(t, "modelValue"), l = e, o = x(!1), a = x(null), s = x(null), r = k(() => ({
2133
2135
  offset: x({
2134
2136
  left: n.leftOffset,
2135
2137
  right: n.rightOffset,
@@ -2137,14 +2139,14 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2137
2139
  bottom: n.bottomOffset
2138
2140
  })
2139
2141
  })), {
2140
- rect: m,
2142
+ rect: c,
2141
2143
  orientation: w,
2142
2144
  reversed: f
2143
- } = No(s, a, o, r), d = k(() => ({
2144
- left: `${m.value.left}px`,
2145
- top: `${m.value.top}px`,
2146
- width: `${m.value.width}px`,
2147
- height: `${m.value.height}px`
2145
+ } = Po(s, a, o, r), m = k(() => ({
2146
+ left: `${c.value.left}px`,
2147
+ top: `${c.value.top}px`,
2148
+ width: `${c.value.width}px`,
2149
+ height: `${c.value.height}px`
2148
2150
  })), h = k(() => f.value ? {
2149
2151
  borderLeft: "1px solid var(--el-border-color)",
2150
2152
  borderRight: null
@@ -2161,17 +2163,17 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2161
2163
  };
2162
2164
  return (b, S) => {
2163
2165
  const $ = se;
2164
- return i.value ? (c(), y("div", {
2166
+ return i.value ? (u(), y("div", {
2165
2167
  key: 0,
2166
2168
  ref_key: "toolPaletteElement",
2167
2169
  ref: s,
2168
- style: pe([d.value]),
2170
+ style: pe([m.value]),
2169
2171
  class: "ml-tool-palette-dialog"
2170
2172
  }, [
2171
- u("div", {
2173
+ d("div", {
2172
2174
  class: Ce(["ml-tool-palette-dialog-layout", g(w)])
2173
2175
  }, [
2174
- u("div", {
2176
+ d("div", {
2175
2177
  ref_key: "titleBarElement",
2176
2178
  ref: a,
2177
2179
  class: "ml-tool-palette-title-bar",
@@ -2187,38 +2189,38 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2187
2189
  ]),
2188
2190
  _: 1
2189
2191
  }),
2190
- v(go, {
2192
+ v(vo, {
2191
2193
  class: "ml-tool-palette-dialog-icon",
2192
2194
  modelValue: o.value,
2193
2195
  "onUpdate:modelValue": S[0] || (S[0] = (I) => o.value = I),
2194
2196
  reverse: g(f)
2195
2197
  }, null, 8, ["modelValue", "reverse"]),
2196
- u("span", Ho, D(n.title), 1)
2198
+ d("span", Ho, D(n.title), 1)
2197
2199
  ], 4),
2198
- u("div", Go, [
2200
+ d("div", Go, [
2199
2201
  ie(b.$slots, "default", {}, void 0, !0)
2200
2202
  ])
2201
2203
  ], 2)
2202
2204
  ], 4)) : q("", !0);
2203
2205
  };
2204
2206
  }
2205
- }), qo = /* @__PURE__ */ ue(Wo, [["__scopeId", "data-v-11a64c54"]]), Uo = { class: "ml-layer-list-cell" }, jo = { class: "ml-layer-list-cell" }, Yo = /* @__PURE__ */ L({
2207
+ }), qo = /* @__PURE__ */ ue(Wo, [["__scopeId", "data-v-8645db4f"]]), Uo = { class: "ml-layer-list-cell" }, jo = { class: "ml-layer-list-cell" }, Yo = /* @__PURE__ */ L({
2206
2208
  __name: "MlLayerList",
2207
2209
  props: {
2208
2210
  editor: {}
2209
2211
  },
2210
2212
  setup(t) {
2211
- const { t: e } = N(), n = t, i = vt(n.editor), l = x(), o = x([]), a = (r) => {
2213
+ const { t: e } = P(), n = t, i = gt(n.editor), l = x(), o = x([]), a = (r) => {
2212
2214
  o.value = r;
2213
2215
  }, s = (r) => {
2214
- const m = n.editor.curDocument.database.tables.layerTable.getAt(
2216
+ const c = n.editor.curDocument.database.tables.layerTable.getAt(
2215
2217
  r.name
2216
2218
  );
2217
- m && (m.isOff = !r.isOn);
2219
+ c && (c.isOff = !r.isOn);
2218
2220
  };
2219
- return (r, m) => {
2220
- const w = M("el-table-column"), f = M("el-checkbox"), d = M("el-tag");
2221
- return c(), C(g(Qe), {
2221
+ return (r, c) => {
2222
+ const w = M("el-table-column"), f = M("el-checkbox"), m = M("el-tag");
2223
+ return u(), C(g(Qe), {
2222
2224
  ref_key: "multipleTableRef",
2223
2225
  ref: l,
2224
2226
  data: g(i),
@@ -2226,14 +2228,10 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2226
2228
  onSelectionChange: a
2227
2229
  }, {
2228
2230
  default: p(() => [
2229
- v(w, {
2230
- type: "selection",
2231
- width: "40"
2232
- }),
2233
2231
  v(w, {
2234
2232
  property: "name",
2235
2233
  label: g(e)("main.toolPalette.layerManager.layerList.name"),
2236
- width: "120",
2234
+ "min-width": "120",
2237
2235
  sortable: "",
2238
2236
  "show-overflow-tooltip": ""
2239
2237
  }, null, 8, ["label"]),
@@ -2243,7 +2241,7 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2243
2241
  width: "50"
2244
2242
  }, {
2245
2243
  default: p((h) => [
2246
- u("div", Uo, [
2244
+ d("div", Uo, [
2247
2245
  v(f, {
2248
2246
  modelValue: h.row.isOn,
2249
2247
  "onUpdate:modelValue": (_) => h.row.isOn = _,
@@ -2259,8 +2257,8 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2259
2257
  width: "70"
2260
2258
  }, {
2261
2259
  default: p((h) => [
2262
- u("div", jo, [
2263
- v(d, {
2260
+ d("div", jo, [
2261
+ v(m, {
2264
2262
  color: h.row.color,
2265
2263
  class: "ml-layer-list-color"
2266
2264
  }, null, 8, ["color"])
@@ -2280,15 +2278,15 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2280
2278
  },
2281
2279
  setup(t) {
2282
2280
  const e = t;
2283
- return (n, i) => (c(), C(g(qo), {
2281
+ return (n, i) => (u(), C(g(qo), {
2284
2282
  class: "ml-layer-manager",
2285
- modelValue: g(Q).dialogs.layerManager,
2286
- "onUpdate:modelValue": i[0] || (i[0] = (l) => g(Q).dialogs.layerManager = l),
2283
+ modelValue: g(Z).dialogs.layerManager,
2284
+ "onUpdate:modelValue": i[0] || (i[0] = (l) => g(Z).dialogs.layerManager = l),
2287
2285
  title: "Layers",
2288
2286
  "bottom-offset": 30
2289
2287
  }, {
2290
2288
  default: p(() => [
2291
- u("div", Ko, [
2289
+ d("div", Ko, [
2292
2290
  v(Yo, {
2293
2291
  editor: e.editor
2294
2292
  }, null, 8, ["editor"])
@@ -2300,16 +2298,16 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2300
2298
  }), Qo = /* @__PURE__ */ G(Xo, [["__scopeId", "data-v-d49ba2cb"]]), Zo = { class: "autocomplete-container" }, Jo = /* @__PURE__ */ L({
2301
2299
  __name: "MlCommandLine",
2302
2300
  setup(t) {
2303
- const { t: e } = N(), n = ce(), i = ut(), l = x(""), o = x(""), a = (m, w) => {
2304
- const f = m ? i.filter(
2305
- (d) => d.commandName.startsWith(m.toLowerCase())
2301
+ const { t: e } = P(), n = ce(), i = ut(), l = x(""), o = x(""), a = (c, w) => {
2302
+ const f = c ? i.filter(
2303
+ (m) => m.commandName.startsWith(c.toLowerCase())
2306
2304
  ) : i;
2307
2305
  w(f);
2308
2306
  }, s = () => {
2309
- l.value && (B.instance.sendStringToExecute(l.value), o.value = l.value, l.value = "");
2310
- }, r = (m, w) => `${w}: ${fe(m, w)}`;
2311
- return (m, w) => (c(), y("div", Zo, [
2312
- g(n).isShowCommandLine ? (c(), C(g(Ze), {
2307
+ l.value && (T.instance.sendStringToExecute(l.value), o.value = l.value, l.value = "");
2308
+ }, r = (c, w) => `${w}: ${fe(c, w)}`;
2309
+ return (c, w) => (u(), y("div", Zo, [
2310
+ g(n).isShowCommandLine ? (u(), C(g(Ze), {
2313
2311
  key: 0,
2314
2312
  modelValue: l.value,
2315
2313
  "onUpdate:modelValue": w[0] || (w[0] = (f) => l.value = f),
@@ -2321,11 +2319,11 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2321
2319
  "trigger-on-focus": "",
2322
2320
  "fit-input-width": !1,
2323
2321
  onSelect: s,
2324
- onKeydown: Pe(s, ["enter"]),
2322
+ onKeydown: Ne(s, ["enter"]),
2325
2323
  class: "autocomplete-input"
2326
2324
  }, {
2327
2325
  default: p(({ item: f }) => [
2328
- u("div", null, D(r(f.groupName, f.commandName)), 1)
2326
+ d("div", null, D(r(f.groupName, f.commandName)), 1)
2329
2327
  ]),
2330
2328
  prepend: p(() => [
2331
2329
  F(D(`> ${o.value}`), 1)
@@ -2337,14 +2335,14 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2337
2335
  }), el = /* @__PURE__ */ G(Jo, [["__scopeId", "data-v-082845cb"]]), tl = /* @__PURE__ */ L({
2338
2336
  __name: "MlEntityInfo",
2339
2337
  setup(t) {
2340
- Se((d) => ({
2338
+ Se((m) => ({
2341
2339
  "2d5cc4ca": a.value,
2342
2340
  "11fa7d7e": s.value
2343
2341
  }));
2344
- const { t: e } = N(), n = x(!1), i = x(-1), l = x(-1), o = x(null), a = k(() => i.value + "px"), s = k(() => l.value + "px"), r = k(() => {
2345
- const d = B.instance.curDocument.database;
2342
+ const { t: e } = P(), n = x(!1), i = x(-1), l = x(-1), o = x(null), a = k(() => i.value + "px"), s = k(() => l.value + "px"), r = k(() => {
2343
+ const m = T.instance.curDocument.database;
2346
2344
  if (o.value) {
2347
- const h = d.tables.blockTable.modelSpace.getIdAt(o.value);
2345
+ const h = m.tables.blockTable.modelSpace.getIdAt(o.value);
2348
2346
  if (h)
2349
2347
  return {
2350
2348
  type: Ct(h),
@@ -2359,20 +2357,20 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2359
2357
  layer: "",
2360
2358
  lineType: ""
2361
2359
  };
2362
- }), m = k(() => n.value && r.value.type != ""), w = (d) => {
2363
- o.value = d.id, i.value = d.x, l.value = d.y, n.value = !0;
2360
+ }), c = k(() => n.value && r.value.type != ""), w = (m) => {
2361
+ o.value = m.id, i.value = m.x, l.value = m.y, n.value = !0;
2364
2362
  }, f = () => {
2365
2363
  n.value = !1;
2366
2364
  };
2367
2365
  return H(() => {
2368
- const d = B.instance.curView.events;
2369
- d.hover.addEventListener(w), d.unhover.addEventListener(f);
2366
+ const m = T.instance.curView.events;
2367
+ m.hover.addEventListener(w), m.unhover.addEventListener(f);
2370
2368
  }), te(() => {
2371
- const d = B.instance.curView.events;
2372
- d.hover.removeEventListener(w), d.unhover.removeEventListener(f);
2373
- }), (d, h) => {
2369
+ const m = T.instance.curView.events;
2370
+ m.hover.removeEventListener(w), m.unhover.removeEventListener(f);
2371
+ }), (m, h) => {
2374
2372
  const _ = M("el-text"), b = M("el-col"), S = M("el-row"), $ = M("el-card");
2375
- return m.value ? (c(), C($, {
2373
+ return c.value ? (u(), C($, {
2376
2374
  key: 0,
2377
2375
  class: "ml-entity-info"
2378
2376
  }, {
@@ -2500,7 +2498,7 @@ const Po = (t) => (Le("data-v-11a64c54"), t = t(), ze(), t), Oo = /* @__PURE__ *
2500
2498
  ]), o = (a) => {
2501
2499
  (a === "en" || a === "zh") && i(a);
2502
2500
  };
2503
- return (a, s) => (c(), C(g(bo), {
2501
+ return (a, s) => (u(), C(g(bo), {
2504
2502
  class: "ml-language-selector",
2505
2503
  languages: l,
2506
2504
  current: g(n),
@@ -2513,11 +2511,11 @@ var al = /* @__PURE__ */ L({
2513
2511
  name: "Check",
2514
2512
  __name: "check",
2515
2513
  setup(t) {
2516
- return (e, n) => (c(), y("svg", {
2514
+ return (e, n) => (u(), y("svg", {
2517
2515
  xmlns: "http://www.w3.org/2000/svg",
2518
2516
  viewBox: "0 0 1024 1024"
2519
2517
  }, [
2520
- u("path", {
2518
+ d("path", {
2521
2519
  fill: "currentColor",
2522
2520
  d: "M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"
2523
2521
  })
@@ -2527,11 +2525,11 @@ var al = /* @__PURE__ */ L({
2527
2525
  name: "Menu",
2528
2526
  __name: "menu",
2529
2527
  setup(t) {
2530
- return (e, n) => (c(), y("svg", {
2528
+ return (e, n) => (u(), y("svg", {
2531
2529
  xmlns: "http://www.w3.org/2000/svg",
2532
2530
  viewBox: "0 0 1024 1024"
2533
2531
  }, [
2534
- u("path", {
2532
+ d("path", {
2535
2533
  fill: "currentColor",
2536
2534
  d: "M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"
2537
2535
  })
@@ -2541,11 +2539,11 @@ var al = /* @__PURE__ */ L({
2541
2539
  name: "Moon",
2542
2540
  __name: "moon",
2543
2541
  setup(t) {
2544
- return (e, n) => (c(), y("svg", {
2542
+ return (e, n) => (u(), y("svg", {
2545
2543
  xmlns: "http://www.w3.org/2000/svg",
2546
2544
  viewBox: "0 0 1024 1024"
2547
2545
  }, [
2548
- u("path", {
2546
+ d("path", {
2549
2547
  fill: "currentColor",
2550
2548
  d: "M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 390.592 390.592 0 0 0-17.408 16.384zm181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"
2551
2549
  })
@@ -2555,11 +2553,11 @@ var al = /* @__PURE__ */ L({
2555
2553
  name: "Operation",
2556
2554
  __name: "operation",
2557
2555
  setup(t) {
2558
- return (e, n) => (c(), y("svg", {
2556
+ return (e, n) => (u(), y("svg", {
2559
2557
  xmlns: "http://www.w3.org/2000/svg",
2560
2558
  viewBox: "0 0 1024 1024"
2561
2559
  }, [
2562
- u("path", {
2560
+ d("path", {
2563
2561
  fill: "currentColor",
2564
2562
  d: "M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"
2565
2563
  })
@@ -2569,39 +2567,39 @@ var al = /* @__PURE__ */ L({
2569
2567
  name: "Setting",
2570
2568
  __name: "setting",
2571
2569
  setup(t) {
2572
- return (e, n) => (c(), y("svg", {
2570
+ return (e, n) => (u(), y("svg", {
2573
2571
  xmlns: "http://www.w3.org/2000/svg",
2574
2572
  viewBox: "0 0 1024 1024"
2575
2573
  }, [
2576
- u("path", {
2574
+ d("path", {
2577
2575
  fill: "currentColor",
2578
2576
  d: "M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"
2579
2577
  })
2580
2578
  ]));
2581
2579
  }
2582
- }), pl = ml, vl = /* @__PURE__ */ L({
2580
+ }), pl = ml, gl = /* @__PURE__ */ L({
2583
2581
  name: "Sunny",
2584
2582
  __name: "sunny",
2585
2583
  setup(t) {
2586
- return (e, n) => (c(), y("svg", {
2584
+ return (e, n) => (u(), y("svg", {
2587
2585
  xmlns: "http://www.w3.org/2000/svg",
2588
2586
  viewBox: "0 0 1024 1024"
2589
2587
  }, [
2590
- u("path", {
2588
+ d("path", {
2591
2589
  fill: "currentColor",
2592
2590
  d: "M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0zm543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"
2593
2591
  })
2594
2592
  ]));
2595
2593
  }
2596
- }), gl = vl, fl = /* @__PURE__ */ L({
2594
+ }), vl = gl, fl = /* @__PURE__ */ L({
2597
2595
  name: "Warning",
2598
2596
  __name: "warning",
2599
2597
  setup(t) {
2600
- return (e, n) => (c(), y("svg", {
2598
+ return (e, n) => (u(), y("svg", {
2601
2599
  xmlns: "http://www.w3.org/2000/svg",
2602
2600
  viewBox: "0 0 1024 1024"
2603
2601
  }, [
2604
- u("path", {
2602
+ d("path", {
2605
2603
  fill: "currentColor",
2606
2604
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"
2607
2605
  })
@@ -2611,12 +2609,12 @@ var al = /* @__PURE__ */ L({
2611
2609
  const _l = /* @__PURE__ */ L({
2612
2610
  __name: "MlMainMenu",
2613
2611
  setup(t) {
2614
- const { t: e } = N(), n = (i) => {
2615
- i === "Convert" ? new Ae().tirgger(B.instance.context) : i === "QNew" ? new Fe().tirgger(B.instance.context) : i === "Open" && new Ie().tirgger(B.instance.context);
2612
+ const { t: e } = P(), n = (i) => {
2613
+ i === "Convert" ? new Ae().tirgger(T.instance.context) : i === "QNew" ? new Fe().tirgger(T.instance.context) : i === "Open" && new Ie().tirgger(T.instance.context);
2616
2614
  };
2617
2615
  return (i, l) => {
2618
2616
  const o = M("el-icon"), a = M("el-dropdown-item"), s = M("el-dropdown-menu"), r = M("el-dropdown");
2619
- return c(), C(r, {
2617
+ return u(), C(r, {
2620
2618
  "aria-hidden": "false",
2621
2619
  class: "ml-main-menu-container",
2622
2620
  onCommand: n
@@ -2661,7 +2659,7 @@ const _l = /* @__PURE__ */ L({
2661
2659
  }, bl = /* @__PURE__ */ L({
2662
2660
  __name: "MlToolBars",
2663
2661
  setup(t) {
2664
- const { t: e } = N(), n = ce(), i = k(() => [
2662
+ const { t: e } = P(), n = ce(), i = k(() => [
2665
2663
  {
2666
2664
  icon: qt,
2667
2665
  text: e("main.verticalToolbar.select.text"),
@@ -2687,15 +2685,15 @@ const _l = /* @__PURE__ */ L({
2687
2685
  description: e("main.verticalToolbar.zoomToBox.description")
2688
2686
  },
2689
2687
  {
2690
- icon: Nt,
2688
+ icon: Pt,
2691
2689
  text: e("main.verticalToolbar.layer.text"),
2692
2690
  command: "la",
2693
2691
  description: e("main.verticalToolbar.layer.description")
2694
2692
  }
2695
2693
  ]), l = (o) => {
2696
- B.instance.sendStringToExecute(o);
2694
+ T.instance.sendStringToExecute(o);
2697
2695
  };
2698
- return (o, a) => g(n).isShowToolbar ? (c(), y("div", yl, [
2696
+ return (o, a) => g(n).isShowToolbar ? (u(), y("div", yl, [
2699
2697
  v(g(Bo), {
2700
2698
  items: i.value,
2701
2699
  size: "small",
@@ -2707,13 +2705,13 @@ const _l = /* @__PURE__ */ L({
2707
2705
  }), xl = /* @__PURE__ */ L({
2708
2706
  __name: "MlFullScreenButton",
2709
2707
  setup(t) {
2710
- const { t: e } = N(), { isFullscreen: n, toggle: i } = Ue(), l = k(() => ({
2708
+ const { t: e } = P(), { isFullscreen: n, toggle: i } = Ue(), l = k(() => ({
2711
2709
  onIcon: be,
2712
2710
  offIcon: be,
2713
2711
  onTooltip: e("main.statusBar.fullScreen.on"),
2714
2712
  offTooltip: e("main.statusBar.fullScreen.off")
2715
2713
  })), o = k(() => !n.value);
2716
- return (a, s) => (c(), C(g(Ve), {
2714
+ return (a, s) => (u(), C(g(Ve), {
2717
2715
  modelValue: o.value,
2718
2716
  "onUpdate:modelValue": s[0] || (s[0] = (r) => o.value = r),
2719
2717
  data: l.value,
@@ -2723,12 +2721,12 @@ const _l = /* @__PURE__ */ L({
2723
2721
  }), kl = /* @__PURE__ */ L({
2724
2722
  __name: "MlPointStyleButton",
2725
2723
  setup(t) {
2726
- const { t: e } = N(), n = () => {
2727
- B.instance.sendStringToExecute("pttype");
2724
+ const { t: e } = P(), n = () => {
2725
+ T.instance.sendStringToExecute("pttype");
2728
2726
  };
2729
2727
  return (i, l) => {
2730
2728
  const o = M("el-button"), a = M("el-tooltip");
2731
- return c(), C(a, {
2729
+ return u(), C(a, {
2732
2730
  content: g(e)("main.statusBar.pointStyle.tooltip"),
2733
2731
  "hide-after": 0
2734
2732
  }, {
@@ -2749,16 +2747,26 @@ const _l = /* @__PURE__ */ L({
2749
2747
  }, Cl = /* @__PURE__ */ L({
2750
2748
  __name: "MlProgress",
2751
2749
  setup(t) {
2752
- const { t: e } = N(), n = x(0), i = x(!1), l = (a) => {
2750
+ const { t: e } = P(), n = x(0), i = x(!1), l = (a) => {
2753
2751
  if (a.stage === "CONVERSION") {
2754
2752
  const s = we.service({
2755
2753
  lock: !0
2756
2754
  });
2757
2755
  if (a.subStage) {
2758
2756
  const r = zt(a.subStage);
2759
- s.setText(r);
2757
+ if (s.setText(r), a.subStage === "PARSE" && a.subStageStatus === "END" && a.data) {
2758
+ const c = a.data;
2759
+ c.unknownEntityCount > 0 && Q({
2760
+ showClose: !0,
2761
+ message: e("main.message.unknownEntities", {
2762
+ count: c.unknownEntityCount
2763
+ }),
2764
+ grouping: !0,
2765
+ type: "warning"
2766
+ });
2767
+ }
2760
2768
  }
2761
- n.value = a.percentage, n.value < 100 ? i.value = !0 : (i.value = !1, s.close(), B.instance.curView.zoomToFit());
2769
+ n.value = a.percentage, n.value < 100 ? i.value = !0 : (i.value = !1, s.close());
2762
2770
  } else if (a.stage === "FETCH_FILE") {
2763
2771
  const s = we.service({
2764
2772
  lock: !0
@@ -2770,7 +2778,7 @@ const _l = /* @__PURE__ */ L({
2770
2778
  Y.on("open-file-progress", l);
2771
2779
  }), te(() => {
2772
2780
  Y.off("open-file-progress", l);
2773
- }), (a, s) => i.value ? (c(), y("div", Sl, [
2781
+ }), (a, s) => i.value ? (u(), y("div", Sl, [
2774
2782
  v(g(Je), {
2775
2783
  "text-inside": !0,
2776
2784
  "stroke-width": 20,
@@ -2779,20 +2787,20 @@ const _l = /* @__PURE__ */ L({
2779
2787
  }, null, 8, ["percentage"])
2780
2788
  ])) : q("", !0);
2781
2789
  }
2782
- }), Ll = /* @__PURE__ */ G(Cl, [["__scopeId", "data-v-c4edb83e"]]), zl = /* @__PURE__ */ L({
2790
+ }), Ll = /* @__PURE__ */ G(Cl, [["__scopeId", "data-v-fe8fa18d"]]), zl = /* @__PURE__ */ L({
2783
2791
  __name: "MlSettingButton",
2784
2792
  setup(t) {
2785
- const { t: e } = N(), n = ce(), i = (l) => {
2793
+ const { t: e } = P(), n = ce(), i = (l) => {
2786
2794
  l == "isShowCoordinate" ? (n.isShowCoordinate = !n.isShowCoordinate, K.instance.isShowCoordinate = n.isShowCoordinate) : l == "isShowCommandLine" ? (n.isShowCommandLine = !n.isShowCommandLine, K.instance.isShowCommandLine = n.isShowCommandLine) : l == "isShowToolbar" ? (n.isShowToolbar = !n.isShowToolbar, K.instance.isShowToolbar = n.isShowToolbar) : l == "isShowStats" && (n.isShowStats = !n.isShowStats, K.instance.isShowStats = n.isShowStats);
2787
2795
  };
2788
2796
  return (l, o) => {
2789
- const a = M("el-button"), s = M("el-dropdown-item"), r = M("el-dropdown-menu"), m = M("el-dropdown"), w = M("el-tooltip");
2790
- return c(), C(w, {
2797
+ const a = M("el-button"), s = M("el-dropdown-item"), r = M("el-dropdown-menu"), c = M("el-dropdown"), w = M("el-tooltip");
2798
+ return u(), C(w, {
2791
2799
  content: g(e)("main.statusBar.setting.tooltip"),
2792
2800
  "hide-after": 0
2793
2801
  }, {
2794
2802
  default: p(() => [
2795
- v(m, {
2803
+ v(c, {
2796
2804
  trigger: "click",
2797
2805
  onCommand: i
2798
2806
  }, {
@@ -2855,13 +2863,13 @@ const _l = /* @__PURE__ */ L({
2855
2863
  }), Dl = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-666f03a3"]]), Bl = /* @__PURE__ */ L({
2856
2864
  __name: "MlThemeButton",
2857
2865
  setup(t) {
2858
- const { t: e } = N(), n = k(() => ({
2859
- onIcon: gl,
2866
+ const { t: e } = P(), n = k(() => ({
2867
+ onIcon: vl,
2860
2868
  offIcon: cl,
2861
2869
  onTooltip: e("main.statusBar.theme.light"),
2862
2870
  offTooltip: e("main.statusBar.theme.dark")
2863
2871
  }));
2864
- return (i, l) => (c(), C(g(Ve), {
2872
+ return (i, l) => (u(), C(g(Ve), {
2865
2873
  modelValue: g(ae),
2866
2874
  "onUpdate:modelValue": l[0] || (l[0] = (o) => Oe(ae) ? ae.value = o : null),
2867
2875
  data: n.value,
@@ -2872,11 +2880,11 @@ const _l = /* @__PURE__ */ L({
2872
2880
  __name: "MlWarningButton",
2873
2881
  setup(t) {
2874
2882
  const e = () => {
2875
- B.instance.sendStringToExecute("md");
2883
+ T.instance.sendStringToExecute("md");
2876
2884
  }, { fonts: n, images: i } = $e(), l = k(() => i.size > 0 || n.size > 0);
2877
2885
  return (o, a) => {
2878
2886
  const s = M("el-button");
2879
- return l.value ? (c(), C(s, {
2887
+ return l.value ? (u(), C(s, {
2880
2888
  key: 0,
2881
2889
  class: "ml-warning-button",
2882
2890
  type: "warning",
@@ -2888,25 +2896,25 @@ const _l = /* @__PURE__ */ L({
2888
2896
  }), El = /* @__PURE__ */ G(Tl, [["__scopeId", "data-v-3411a3ec"]]), $l = /* @__PURE__ */ L({
2889
2897
  __name: "MlStatusBar",
2890
2898
  setup(t) {
2891
- const { text: e } = dt(B.instance.curView), n = gt(B.instance), i = ce(), l = (o) => {
2899
+ const { text: e } = dt(T.instance.curView), n = vt(T.instance), i = ce(), l = (o) => {
2892
2900
  Be().layoutManager.setCurrentLayoutBtrId(
2893
2901
  o.blockTableRecordId
2894
2902
  );
2895
2903
  };
2896
2904
  return (o, a) => {
2897
2905
  const s = M("el-button"), r = M("el-button-group");
2898
- return c(), C(g(Lo), { class: "ml-status-bar" }, {
2906
+ return u(), C(g(Lo), { class: "ml-status-bar" }, {
2899
2907
  left: p(() => [
2900
2908
  v(r, { class: "ml-status-bar-left-button-group" }, {
2901
2909
  default: p(() => [
2902
- (c(!0), y(j, null, X(g(n), (m) => (c(), C(s, {
2910
+ (u(!0), y(j, null, X(g(n), (c) => (u(), C(s, {
2903
2911
  class: "ml-status-bar-layout-button",
2904
- key: m.name,
2905
- type: m.isActive ? "primary" : "",
2906
- onClick: (w) => l(m)
2912
+ key: c.name,
2913
+ type: c.isActive ? "primary" : "",
2914
+ onClick: (w) => l(c)
2907
2915
  }, {
2908
2916
  default: p(() => [
2909
- F(D(m.name), 1)
2917
+ F(D(c.name), 1)
2910
2918
  ]),
2911
2919
  _: 2
2912
2920
  }, 1032, ["type", "onClick"]))), 128))
@@ -2918,7 +2926,7 @@ const _l = /* @__PURE__ */ L({
2918
2926
  v(Ll),
2919
2927
  v(r, { class: "ml-status-bar-right-button-group" }, {
2920
2928
  default: p(() => [
2921
- g(i).isShowCoordinate ? (c(), C(s, {
2929
+ g(i).isShowCoordinate ? (u(), C(s, {
2922
2930
  key: 0,
2923
2931
  class: "ml-status-bar-current-pos"
2924
2932
  }, {
@@ -2952,17 +2960,17 @@ const _l = /* @__PURE__ */ L({
2952
2960
  background: { default: void 0 }
2953
2961
  },
2954
2962
  setup(t) {
2955
- const e = t, { t: n } = N(), { effectiveLocale: i, elementPlusLocale: l } = Ee(e.locale), o = x(), a = x(null), s = k(() => a.value), r = async (f, d) => {
2963
+ const e = t, { t: n } = P(), { effectiveLocale: i, elementPlusLocale: l } = Ee(e.locale), o = x(), a = x(null), s = k(() => a.value), r = async (f, m) => {
2956
2964
  const h = { minimumChunkSize: 1e3 };
2957
- await B.instance.openDocument(f, d, h), Q.fileName = f;
2958
- }, m = async (f) => {
2965
+ await T.instance.openDocument(f, m, h), Z.fileName = f;
2966
+ }, c = async (f) => {
2959
2967
  try {
2960
- const d = { minimumChunkSize: 1e3 };
2961
- await B.instance.openUrl(f, d);
2968
+ const m = { minimumChunkSize: 1e3 };
2969
+ await T.instance.openUrl(f, m);
2962
2970
  const h = f.split("/").pop();
2963
- Q.fileName = h ?? "";
2964
- } catch (d) {
2965
- console.error("Failed to open file from URL:", d), Z({
2971
+ Z.fileName = h ?? "";
2972
+ } catch (m) {
2973
+ console.error("Failed to open file from URL:", m), Q({
2966
2974
  message: n("main.message.failedToOpenFile", { fileName: f }),
2967
2975
  grouping: !0,
2968
2976
  type: "error",
@@ -2970,9 +2978,9 @@ const _l = /* @__PURE__ */ L({
2970
2978
  });
2971
2979
  }
2972
2980
  }, w = async (f) => {
2973
- var d;
2981
+ var m;
2974
2982
  try {
2975
- const h = (d = f.name.split(".").pop()) == null ? void 0 : d.toLowerCase(), _ = new FileReader();
2983
+ const h = (m = f.name.split(".").pop()) == null ? void 0 : m.toLowerCase(), _ = new FileReader();
2976
2984
  if (h === "dxf")
2977
2985
  _.readAsText(f);
2978
2986
  else if (h === "dwg")
@@ -2982,15 +2990,15 @@ const _l = /* @__PURE__ */ L({
2982
2990
  const b = await new Promise(
2983
2991
  ($, I) => {
2984
2992
  _.onload = (V) => {
2985
- var P;
2986
- const T = (P = V.target) == null ? void 0 : P.result;
2987
- T ? $(T) : I(new Error("Failed to read file content"));
2993
+ var N;
2994
+ const B = (N = V.target) == null ? void 0 : N.result;
2995
+ B ? $(B) : I(new Error("Failed to read file content"));
2988
2996
  }, _.onerror = () => I(new Error("Failed to read file"));
2989
2997
  }
2990
2998
  ), S = { minimumChunkSize: 1e3 };
2991
- await B.instance.openDocument(f.name, b, S), Q.fileName = f.name;
2999
+ await T.instance.openDocument(f.name, b, S), Z.fileName = f.name;
2992
3000
  } catch (h) {
2993
- console.error("Failed to open local file:", h), Z({
3001
+ console.error("Failed to open local file:", h), Q({
2994
3002
  message: n("main.message.failedToOpenFile", { fileName: f.name }),
2995
3003
  grouping: !0,
2996
3004
  type: "error",
@@ -3001,7 +3009,7 @@ const _l = /* @__PURE__ */ L({
3001
3009
  return E(
3002
3010
  () => e.url,
3003
3011
  async (f) => {
3004
- f && m(f);
3012
+ f && c(f);
3005
3013
  }
3006
3014
  ), E(
3007
3015
  () => e.localFile,
@@ -3011,19 +3019,19 @@ const _l = /* @__PURE__ */ L({
3011
3019
  ), E(
3012
3020
  () => e.background,
3013
3021
  (f) => {
3014
- f != null && (B.instance.curView.backgroundColor = f);
3022
+ f != null && (T.instance.curView.backgroundColor = f);
3015
3023
  }
3016
3024
  ), H(async () => {
3017
- o.value && (Nl(o.value), Rl(), a.value = B.instance), e.url ? m(e.url) : e.localFile && w(e.localFile), e.background != null && (B.instance.curView.backgroundColor = e.background);
3025
+ o.value && (Pl(o.value), Rl(), a.value = T.instance), e.url ? c(e.url) : e.localFile && w(e.localFile), e.background != null && (T.instance.curView.backgroundColor = e.background);
3018
3026
  }), Y.on("message", (f) => {
3019
- Z({
3027
+ Q({
3020
3028
  message: f.message,
3021
3029
  grouping: !0,
3022
3030
  type: f.type,
3023
3031
  showClose: !0
3024
3032
  });
3025
3033
  }), Y.on("font-not-loaded", (f) => {
3026
- Z({
3034
+ Q({
3027
3035
  message: n("main.message.fontNotLoaded", {
3028
3036
  fontName: f.fontName,
3029
3037
  url: f.url
@@ -3033,41 +3041,41 @@ const _l = /* @__PURE__ */ L({
3033
3041
  showClose: !0
3034
3042
  });
3035
3043
  }), Y.on("failed-to-get-avaiable-fonts", (f) => {
3036
- Z({
3044
+ Q({
3037
3045
  message: n("main.message.failedToGetAvaiableFonts", { url: f.url }),
3038
3046
  grouping: !0,
3039
3047
  type: "error",
3040
3048
  showClose: !0
3041
3049
  });
3042
3050
  }), Y.on("failed-to-open-file", (f) => {
3043
- Z({
3051
+ Q({
3044
3052
  message: n("main.message.failedToOpenFile", { fileName: f.fileName }),
3045
3053
  grouping: !0,
3046
3054
  type: "error",
3047
3055
  showClose: !0
3048
3056
  });
3049
- }), (f, d) => {
3057
+ }), (f, m) => {
3050
3058
  const h = M("el-config-provider");
3051
- return c(), y(j, null, [
3052
- u("canvas", {
3059
+ return u(), y(j, null, [
3060
+ d("canvas", {
3053
3061
  ref_key: "canvasRef",
3054
3062
  ref: o,
3055
3063
  class: "ml-cad-canvas"
3056
3064
  }, null, 512),
3057
- a.value ? (c(), y("div", Al, [
3065
+ a.value ? (u(), y("div", Al, [
3058
3066
  v(h, { locale: g(l) }, {
3059
3067
  default: p(() => [
3060
- u("header", null, [
3068
+ d("header", null, [
3061
3069
  v(g(wl)),
3062
3070
  v(g(ll), { "current-locale": g(i) }, null, 8, ["current-locale"])
3063
3071
  ]),
3064
- u("main", null, [
3065
- u("div", Fl, D(g(Q).fileName), 1),
3072
+ d("main", null, [
3073
+ d("div", Fl, D(g(Z).fileName), 1),
3066
3074
  v(g(bl)),
3067
3075
  v(g(Qo), { editor: s.value }, null, 8, ["editor"]),
3068
3076
  v(g(Bt))
3069
3077
  ]),
3070
- u("footer", null, [
3078
+ d("footer", null, [
3071
3079
  v(g(el)),
3072
3080
  v(g(Vl))
3073
3081
  ]),
@@ -3090,7 +3098,7 @@ const _l = /* @__PURE__ */ L({
3090
3098
  W.SYSTEMT_COMMAND_GROUP_NAME,
3091
3099
  "la",
3092
3100
  "la",
3093
- new Pl()
3101
+ new Nl()
3094
3102
  ), W.instance.addCommand(
3095
3103
  W.SYSTEMT_COMMAND_GROUP_NAME,
3096
3104
  "md",
@@ -3113,17 +3121,17 @@ const _l = /* @__PURE__ */ L({
3113
3121
  component: he(ao),
3114
3122
  props: {}
3115
3123
  });
3116
- }, Nl = (t) => {
3117
- B.createInstance(t), Re(), Il(), B.instance.loadDefaultFonts();
3118
- }, Q = U({
3124
+ }, Pl = (t) => {
3125
+ T.createInstance(t), Re(), Il(), T.instance.loadDefaultFonts();
3126
+ }, Z = U({
3119
3127
  fileName: "",
3120
3128
  dialogs: {
3121
3129
  layerManager: !1
3122
3130
  }
3123
3131
  });
3124
- class Pl extends re {
3132
+ class Nl extends re {
3125
3133
  execute(e) {
3126
- Q.dialogs.layerManager = !0;
3134
+ Z.dialogs.layerManager = !0;
3127
3135
  }
3128
3136
  }
3129
3137
  class Ol extends re {
@@ -3187,7 +3195,7 @@ class Gl extends re {
3187
3195
  }
3188
3196
  }
3189
3197
  export {
3190
- Pl as AcApLayerStateCmd,
3198
+ Nl as AcApLayerStateCmd,
3191
3199
  Ol as AcApLogCmd,
3192
3200
  Hl as AcApMissedDataCmd,
3193
3201
  Gl as AcApPointStyleCmd,
@@ -3217,8 +3225,8 @@ export {
3217
3225
  dt as useCurrentPos,
3218
3226
  oe as useDialogManager,
3219
3227
  pt as useFileTypes,
3220
- vt as useLayers,
3221
- gt as useLayouts,
3228
+ gt as useLayers,
3229
+ vt as useLayouts,
3222
3230
  Ee as useLocale,
3223
3231
  $e as useMissedData,
3224
3232
  ce as useSettings,