sat-earth 0.8.34 → 0.8.35

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.
@@ -321,30 +321,30 @@ const Aa = (a) => (Fe("data-v-70eb1bc4"), a = a(), Ce(), a), Ol = { class: "sat-
321
321
  Ae(() => {
322
322
  var g;
323
323
  (g = e == null ? void 0 : e.value) == null || g.inited().then(() => {
324
- var m, f;
325
- i(), u.value = (m = o.value[0]) == null ? void 0 : m.id, c.value = (f = n.value[0]) == null ? void 0 : f.id;
324
+ var f, m;
325
+ i(), u.value = (f = o.value[0]) == null ? void 0 : f.id, c.value = (m = n.value[0]) == null ? void 0 : m.id;
326
326
  });
327
- }), we(u, (g, m) => {
328
- var f, d;
329
- (d = (f = e == null ? void 0 : e.value) == null ? void 0 : f.layer) == null || d.addToSplitLayer(g, !0);
330
- }), we(c, (g, m) => {
331
- var f, d;
332
- (d = (f = e == null ? void 0 : e.value) == null ? void 0 : f.layer) == null || d.addToSplitLayer(g, !1);
327
+ }), we(u, (g, f) => {
328
+ var m, d;
329
+ (d = (m = e == null ? void 0 : e.value) == null ? void 0 : m.layer) == null || d.addToSplitLayer(g, !0);
330
+ }), we(c, (g, f) => {
331
+ var m, d;
332
+ (d = (m = e == null ? void 0 : e.value) == null ? void 0 : m.layer) == null || d.addToSplitLayer(g, !1);
333
333
  }), we(
334
334
  () => l.record[t].modifyLayerCounter,
335
- (g, m) => {
335
+ (g, f) => {
336
336
  i();
337
337
  }
338
338
  );
339
339
  const i = () => {
340
- var g, m, f, d;
341
- o.value = (m = (g = e == null ? void 0 : e.value) == null ? void 0 : g.map) == null ? void 0 : m.getTileLayers().filter((r) => !r._isSplit).map((r) => {
340
+ var g, f, m, d;
341
+ o.value = (f = (g = e == null ? void 0 : e.value) == null ? void 0 : g.map) == null ? void 0 : f.getTileLayers().filter((r) => !r._isSplit).map((r) => {
342
342
  var b, C;
343
343
  return {
344
344
  id: r.id,
345
345
  name: (C = (b = r.parent) == null ? void 0 : b.options) != null && C.name ? r.parent.options.name + "-" + r.name : r.name
346
346
  };
347
- }), n.value = (d = (f = e == null ? void 0 : e.value) == null ? void 0 : f.map) == null ? void 0 : d.getTileLayers().filter((r) => !r._isSplit).map((r) => {
347
+ }), n.value = (d = (m = e == null ? void 0 : e.value) == null ? void 0 : m.map) == null ? void 0 : d.getTileLayers().filter((r) => !r._isSplit).map((r) => {
348
348
  var b, C;
349
349
  return {
350
350
  id: r.id,
@@ -352,8 +352,8 @@ const Aa = (a) => (Fe("data-v-70eb1bc4"), a = a(), Ce(), a), Ol = { class: "sat-
352
352
  };
353
353
  });
354
354
  };
355
- return (g, m) => {
356
- const f = P("el-option"), d = P("el-select");
355
+ return (g, f) => {
356
+ const m = P("el-option"), d = P("el-select");
357
357
  return F(), x("div", {
358
358
  class: ae([
359
359
  "sat-panel-skin",
@@ -364,12 +364,12 @@ const Aa = (a) => (Fe("data-v-70eb1bc4"), a = a(), Ce(), a), Ol = { class: "sat-
364
364
  Ll,
365
365
  p(d, {
366
366
  modelValue: u.value,
367
- "onUpdate:modelValue": m[0] || (m[0] = (r) => u.value = r),
367
+ "onUpdate:modelValue": f[0] || (f[0] = (r) => u.value = r),
368
368
  filterable: "",
369
369
  placeholder: "Select"
370
370
  }, {
371
371
  default: _(() => [
372
- (F(!0), x(oe, null, re(o.value, (r) => (F(), R(f, {
372
+ (F(!0), x(oe, null, re(o.value, (r) => (F(), R(m, {
373
373
  key: r.id,
374
374
  label: r.name,
375
375
  value: r.id
@@ -382,12 +382,12 @@ const Aa = (a) => (Fe("data-v-70eb1bc4"), a = a(), Ce(), a), Ol = { class: "sat-
382
382
  Tl,
383
383
  p(d, {
384
384
  modelValue: c.value,
385
- "onUpdate:modelValue": m[1] || (m[1] = (r) => c.value = r),
385
+ "onUpdate:modelValue": f[1] || (f[1] = (r) => c.value = r),
386
386
  filterable: "",
387
387
  placeholder: "Select"
388
388
  }, {
389
389
  default: _(() => [
390
- (F(!0), x(oe, null, re(n.value, (r) => (F(), R(f, {
390
+ (F(!0), x(oe, null, re(n.value, (r) => (F(), R(m, {
391
391
  key: r.id,
392
392
  label: r.name,
393
393
  value: r.id
@@ -492,7 +492,7 @@ function os(a, e = {}) {
492
492
  var t, l, s;
493
493
  const o = (t = e.draggingElement) != null ? t : aa, u = (l = e.handle) != null ? l : a, n = M((s = qe(e.initialValue)) != null ? s : { x: 0, y: 0 }), c = M(), i = (r) => e.pointerTypes ? e.pointerTypes.includes(r.pointerType) : !0, g = (r) => {
494
494
  qe(e.preventDefault) && r.preventDefault(), qe(e.stopPropagation) && r.stopPropagation();
495
- }, m = (r) => {
495
+ }, f = (r) => {
496
496
  var b;
497
497
  if (!i(r) || qe(e.exact) && r.target !== qe(a))
498
498
  return;
@@ -501,7 +501,7 @@ function os(a, e = {}) {
501
501
  y: r.pageY - C.top
502
502
  };
503
503
  ((b = e.onStart) == null ? void 0 : b.call(e, A, r)) !== !1 && (c.value = A, g(r));
504
- }, f = (r) => {
504
+ }, m = (r) => {
505
505
  var b;
506
506
  !i(r) || !c.value || (n.value = {
507
507
  x: r.pageX - c.value.x,
@@ -511,7 +511,7 @@ function os(a, e = {}) {
511
511
  var b;
512
512
  !i(r) || !c.value || (c.value = void 0, (b = e.onEnd) == null || b.call(e, n.value, r), g(r));
513
513
  };
514
- return rt && (Ut(u, "pointerdown", m, !0), Ut(o, "pointermove", f, !0), Ut(o, "pointerup", d, !0)), ss(ls({}, Yl(n)), {
514
+ return rt && (Ut(u, "pointerdown", f, !0), Ut(o, "pointermove", m, !0), Ut(o, "pointerup", d, !0)), ss(ls({}, Yl(n)), {
515
515
  position: n,
516
516
  isDragging: be(() => !!c.value),
517
517
  style: be(() => `left:${n.value.x}px;top:${n.value.y}px;`)
@@ -531,8 +531,8 @@ function rs(a, e, t = {}) {
531
531
  let u;
532
532
  const n = Xl(() => s && "MutationObserver" in s), c = () => {
533
533
  u && (u.disconnect(), u = void 0);
534
- }, i = we(() => wa(a), (m) => {
535
- c(), n.value && s && m && (u = new MutationObserver(e), u.observe(m, o));
534
+ }, i = we(() => wa(a), (f) => {
535
+ c(), n.value && s && f && (u = new MutationObserver(e), u.observe(f, o));
536
536
  }, { immediate: !0 }), g = () => {
537
537
  c(), i();
538
538
  };
@@ -650,12 +650,12 @@ const Gt = it("SatCompState__sat-earth", {
650
650
  this.record[a] && (this.record[a].SatRoam = Object.assign(((t = this.record[a]) == null ? void 0 : t.SatRoam) || {}, e));
651
651
  },
652
652
  changeCompState(a, e, t) {
653
- var o, u, n, c, i, g, m, f, d, r, b, C;
653
+ var o, u, n, c, i, g, f, m, d, r, b, C;
654
654
  const l = Vt();
655
655
  if (((n = (u = (o = this.record) == null ? void 0 : o[a]) == null ? void 0 : u[e]) == null ? void 0 : n.ready) == t)
656
656
  return;
657
657
  const s = (i = (c = l.record[a]) == null ? void 0 : c.menuTasks) == null ? void 0 : i.find((A) => A.name == e);
658
- t ? ((f = (m = (g = this.record[a]) == null ? void 0 : g[e]) == null ? void 0 : m.userCustomInitHooks) == null || f.call(m), s && (s.isEnabled = !0)) : ((b = (r = (d = this.record[a]) == null ? void 0 : d[e]) == null ? void 0 : r.userCustomDestroyHooks) == null || b.call(r), s && (s.isEnabled = !1)), (C = this == null ? void 0 : this[`set${e}`]) == null || C.call(this, a, {
658
+ t ? ((m = (f = (g = this.record[a]) == null ? void 0 : g[e]) == null ? void 0 : f.userCustomInitHooks) == null || m.call(f), s && (s.isEnabled = !0)) : ((b = (r = (d = this.record[a]) == null ? void 0 : d[e]) == null ? void 0 : r.userCustomDestroyHooks) == null || b.call(r), s && (s.isEnabled = !1)), (C = this == null ? void 0 : this[`set${e}`]) == null || C.call(this, a, {
659
659
  ready: t,
660
660
  active: t,
661
661
  enable: t
@@ -769,19 +769,19 @@ const Sa = (a, e) => (a.forEach((t) => {
769
769
  }
770
770
  }), c = be(() => {
771
771
  var r, b;
772
- const f = document.getElementById("sat-globe").offsetLeft, d = document.getElementById("sat-globe").offsetTop;
772
+ const m = document.getElementById("sat-globe").offsetLeft, d = document.getElementById("sat-globe").offsetTop;
773
773
  try {
774
774
  const C = Number(n.value.substring(n.value.indexOf(":") + 1, n.value.indexOf("px;"))), A = Number(n.value.substring(n.value.lastIndexOf(":") + 1, n.value.lastIndexOf("px;")));
775
- return C == ((r = e.dragInitialValue) == null ? void 0 : r.x) && A == ((b = e.dragInitialValue) == null ? void 0 : b.y) ? n.value : `left:${C - f > 0 ? C - f : 0}px;top:${A - d > 0 ? A - d : 0}px;`;
775
+ return C == ((r = e.dragInitialValue) == null ? void 0 : r.x) && A == ((b = e.dragInitialValue) == null ? void 0 : b.y) ? n.value : `left:${C - m > 0 ? C - m : 0}px;top:${A - d > 0 ? A - d : 0}px;`;
776
776
  } catch (C) {
777
777
  return console.log(C), n.value;
778
778
  }
779
779
  }), i = M(e.windowSize), g = () => {
780
780
  i.value == "Maximize" ? i.value = "Nomal" : i.value = "Maximize";
781
- }, m = async (f) => {
781
+ }, f = async (m) => {
782
782
  if (e.minimizeEvent(), s.record[t].enabled) {
783
- console.log(f);
784
- const r = f.composedPath().find((C) => C.classList.contains("sat-panel"));
783
+ console.log(m);
784
+ const r = m.composedPath().find((C) => C.classList.contains("sat-panel"));
785
785
  if (!r)
786
786
  return;
787
787
  const b = r.id;
@@ -790,7 +790,7 @@ const Sa = (a, e) => (a.forEach((t) => {
790
790
  await va(), s.record[t].currentMinimizeingId = b;
791
791
  }
792
792
  };
793
- return (f, d) => (F(), x("div", {
793
+ return (m, d) => (F(), x("div", {
794
794
  style: bt(o.value ? E(c) : ""),
795
795
  class: ae([
796
796
  "sat-panel-skin",
@@ -824,7 +824,7 @@ const Sa = (a, e) => (a.forEach((t) => {
824
824
  key: 2,
825
825
  title: "\u6700\u5C0F\u5316",
826
826
  class: "hover-to-active fa fa-minus",
827
- onClick: m
827
+ onClick: f
828
828
  })) : V("", !0),
829
829
  a.isClose ? (F(), x("i", {
830
830
  key: 3,
@@ -835,7 +835,7 @@ const Sa = (a, e) => (a.forEach((t) => {
835
835
  ])
836
836
  ], 2),
837
837
  y("div", ys, [
838
- de(f.$slots, "default", {}, void 0, !0)
838
+ de(m.$slots, "default", {}, void 0, !0)
839
839
  ])
840
840
  ])
841
841
  ], 6));
@@ -897,10 +897,10 @@ const De = /* @__PURE__ */ Z(vs, [["__scopeId", "data-v-35721f1d"]]), ja = (a) =
897
897
  });
898
898
  }, g = () => {
899
899
  u.value ? n.value = n.value.filter((d) => d.name.indexOf(u.value) > -1) : n.value = Be.LocalStorage.get(Et + t);
900
- }, m = (d) => {
900
+ }, f = (d) => {
901
901
  const r = n.value.findIndex((b) => b.id == d.id);
902
902
  r > -1 && (n.value.splice(r, 1), Be.LocalStorage.set(Et + t, n.value));
903
- }, f = (d) => {
903
+ }, m = (d) => {
904
904
  var r, b;
905
905
  (b = (r = e == null ? void 0 : e.value) == null ? void 0 : r.map) == null || b.setCameraView(d.center);
906
906
  };
@@ -948,14 +948,14 @@ const De = /* @__PURE__ */ Z(vs, [["__scopeId", "data-v-35721f1d"]]), ja = (a) =
948
948
  title: "\u8DF3\u8F6C\u5230\u8BE5\u89C6\u89D2",
949
949
  src: w.image,
950
950
  loading: "lazy",
951
- onClick: (S) => f(w)
951
+ onClick: (S) => m(w)
952
952
  }, null, 8, ["src", "onClick"]),
953
953
  y("div", As, [
954
954
  y("span", null, ie(w.name), 1),
955
955
  y("i", {
956
956
  class: "fa fa-trash hover-to-active",
957
957
  "aria-hidden": "true",
958
- onClick: (S) => m(w)
958
+ onClick: (S) => f(w)
959
959
  }, null, 8, Ds)
960
960
  ])
961
961
  ], 8, Bs))), 128))
@@ -1033,7 +1033,7 @@ class js {
1033
1033
  this.map.flyHome();
1034
1034
  }
1035
1035
  dragToSortZIndex(e, t, l, s) {
1036
- var g, m, f, d;
1036
+ var g, f, m, d;
1037
1037
  const o = this.map.getTileLayers(), u = [], n = [];
1038
1038
  let c = 0;
1039
1039
  if ((g = e.layers) != null && g.length)
@@ -1043,10 +1043,10 @@ class js {
1043
1043
  u.push(b);
1044
1044
  });
1045
1045
  else {
1046
- const r = this.map.getLayerById((m = e.id) != null ? m : "");
1046
+ const r = this.map.getLayerById((f = e.id) != null ? f : "");
1047
1047
  u.push(r);
1048
1048
  }
1049
- if ((f = t.layers) != null && f.length)
1049
+ if ((m = t.layers) != null && m.length)
1050
1050
  t.layers.forEach((r) => {
1051
1051
  var C;
1052
1052
  const b = this.map.getLayerById((C = r.id) != null ? C : "");
@@ -1104,21 +1104,21 @@ class js {
1104
1104
  }
1105
1105
  }
1106
1106
  function xs(a, e) {
1107
- var o, u, n, c, i, g, m;
1107
+ var o, u, n, c, i, g, f;
1108
1108
  const t = a.map.getLayerById((o = e.id) != null ? o : "");
1109
1109
  e.hasOpacity = (u = t.hasOpacity) != null ? u : !1;
1110
- let s = (n = a.map.getTileLayers().sort((f, d) => {
1110
+ let s = (n = a.map.getTileLayers().sort((m, d) => {
1111
1111
  var C, A;
1112
- const r = (C = d.zIndex) != null ? C : -1, b = (A = f.zIndex) != null ? A : -1;
1112
+ const r = (C = d.zIndex) != null ? C : -1, b = (A = m.zIndex) != null ? A : -1;
1113
1113
  return r - b;
1114
1114
  })[0].zIndex) != null ? n : 0;
1115
1115
  if (e.hasZIndex = (c = t.hasZIndex) != null ? c : !1, t.hasZIndex)
1116
1116
  if (e.type == "group" && t.hasChildLayer) {
1117
- const f = t.arrLayer.filter((r) => r.hasZIndex);
1118
- f.length && (f.forEach((r) => {
1117
+ const m = t.arrLayer.filter((r) => r.hasZIndex);
1118
+ m.length && (m.forEach((r) => {
1119
1119
  var b;
1120
1120
  r.zIndex = (b = r.zIndex) != null ? b : ++s, e.layers.filter((C) => C.id == r.id)[0]._zIndex = r.zIndex;
1121
- }), e._zIndex = f[f.length - 1].zIndex, t.zIndex = e._zIndex);
1121
+ }), e._zIndex = m[m.length - 1].zIndex, t.zIndex = e._zIndex);
1122
1122
  const d = t.arrLayer.filter((r) => !r.hasZIndex);
1123
1123
  d.length && (d.forEach((r) => {
1124
1124
  var b;
@@ -1128,7 +1128,7 @@ function xs(a, e) {
1128
1128
  t.zIndex = (i = t.zIndex) != null ? i : ++s, e._zIndex = t.zIndex;
1129
1129
  else
1130
1130
  e.type == "terrain" && (t.zIndex = -1), t.zIndex = (g = t.zIndex) != null ? g : ++a.noIndexLayerStartIndex, e._zIndex = t.zIndex;
1131
- e._zIndex = (m = e._zIndex) != null ? m : void 0;
1131
+ e._zIndex = (f = e._zIndex) != null ? f : void 0;
1132
1132
  }
1133
1133
  let et;
1134
1134
  const We = (a, e, t) => (a ? et = cl.service({
@@ -1399,8 +1399,8 @@ class Ps {
1399
1399
  t.init ? l = this.graphicGroupLayer.loadGeoJSON(e, t) : (((o = (s = e.layer) == null ? void 0 : s.layers) == null ? void 0 : o.length) > 1 ? e.layer.layers.forEach((n) => {
1400
1400
  this.graphicGroupLayer.hasLayer(n) || this.graphicGroupLayer.createLayer(n);
1401
1401
  }) : (t.layer || (t.layer = (u = e.layer) == null ? void 0 : u.name), t.layer && (this.graphicGroupLayer.hasLayer(t.layer) || this.graphicGroupLayer.createLayer(t.layer))), l = this.graphicGroupLayer.loadGeoJSON(e, t)), l.length > 0 && l.forEach((n, c) => {
1402
- var i, g, m, f;
1403
- (m = (g = (i = n.options) == null ? void 0 : i.attr) == null ? void 0 : g.attrOri) != null && m.style && (n.options.attr.attrOri.style = He(((f = n == null ? void 0 : n.options) == null ? void 0 : f.style) || {}));
1402
+ var i, g, f, m;
1403
+ (f = (g = (i = n.options) == null ? void 0 : i.attr) == null ? void 0 : g.attrOri) != null && f.style && (n.options.attr.attrOri.style = He(((m = n == null ? void 0 : n.options) == null ? void 0 : m.style) || {}));
1404
1404
  }), this.addStorage();
1405
1405
  }
1406
1406
  hasEdit(e) {
@@ -1849,8 +1849,8 @@ const Ie = class {
1849
1849
  ge(Ie, ot)[ge(this, Le)] = void 0;
1850
1850
  }
1851
1851
  customRenderer(e, t) {
1852
- var l, s, o, u, n, c, i, g, m, f, d, r, b;
1853
- this.addSplitLayerToolbar(e, (o = (s = (l = t.map3d) == null ? void 0 : l.custom) == null ? void 0 : s.toolbar) == null ? void 0 : o.mapSplit), this.addCameraBookmarkToolbar(e, (c = (n = (u = t.map3d) == null ? void 0 : u.custom) == null ? void 0 : n.toolbar) == null ? void 0 : c.bookmark), this.addKeyboardRoam(e, (m = (g = (i = t.map3d) == null ? void 0 : i.custom) == null ? void 0 : g.toolbar) == null ? void 0 : m.keyboardRoam), Us(e, (d = (f = t.map3d) == null ? void 0 : f.custom) == null ? void 0 : d.logo), Ns(e, t), Rs(e, (b = (r = t.map3d) == null ? void 0 : r.custom) == null ? void 0 : b.initFlyAnimation);
1852
+ var l, s, o, u, n, c, i, g, f, m, d, r, b;
1853
+ this.addSplitLayerToolbar(e, (o = (s = (l = t.map3d) == null ? void 0 : l.custom) == null ? void 0 : s.toolbar) == null ? void 0 : o.mapSplit), this.addCameraBookmarkToolbar(e, (c = (n = (u = t.map3d) == null ? void 0 : u.custom) == null ? void 0 : n.toolbar) == null ? void 0 : c.bookmark), this.addKeyboardRoam(e, (f = (g = (i = t.map3d) == null ? void 0 : i.custom) == null ? void 0 : g.toolbar) == null ? void 0 : f.keyboardRoam), Us(e, (d = (m = t.map3d) == null ? void 0 : m.custom) == null ? void 0 : d.logo), Ns(e, t), Rs(e, (b = (r = t.map3d) == null ? void 0 : r.custom) == null ? void 0 : b.initFlyAnimation);
1854
1854
  }
1855
1855
  addSplitLayerToolbar(e, t) {
1856
1856
  if (!t)
@@ -1864,11 +1864,11 @@ const Ie = class {
1864
1864
  if (e.controls.mapSplit)
1865
1865
  e.controls.mapSplit.leftLayer = void 0, e.controls.mapSplit.rightLayer = void 0, e.controls.mapSplit.remove(), l.setMapSplitPanelVisible(ge(this, Le), !1);
1866
1866
  else {
1867
- const c = e.getTileLayers(), i = (u = this.layer) == null ? void 0 : u.createSplitLayer(c[0]), g = (n = this.layer) == null ? void 0 : n.createSplitLayer(c[0]), m = new K.control.MapSplit({
1867
+ const c = e.getTileLayers(), i = (u = this.layer) == null ? void 0 : u.createSplitLayer(c[0]), g = (n = this.layer) == null ? void 0 : n.createSplitLayer(c[0]), f = new K.control.MapSplit({
1868
1868
  rightLayer: i,
1869
1869
  leftLayer: g
1870
1870
  });
1871
- e.addControl(m), l.setMapSplitPanelVisible(ge(this, Le), !0);
1871
+ e.addControl(f), l.setMapSplitPanelVisible(ge(this, Le), !0);
1872
1872
  }
1873
1873
  }
1874
1874
  });
@@ -1997,13 +1997,13 @@ const Ws = (a) => {
1997
1997
  }, qs = (a, e) => {
1998
1998
  nt().setIsDark(a, e), e ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
1999
1999
  }, pe = "sat-base-layers-default", pt = "sat-auxiliary-layers-default", tt = "sat-terrain-layers-default", Xs = (a) => {
2000
- var l, s, o, u, n, c, i, g, m, f, d, r, b, C, A, w, D, S, B, k, J, j, h, v, L, z, N, H, T;
2000
+ var l, s, o, u, n, c, i, g, f, m, d, r, b, C, A, w, D, S, B, k, J, j, h, v, L, z, N, H, T;
2001
2001
  const e = Zs();
2002
2002
  return (l = a.map3d) != null && l.basemaps && (((s = a.map3d) == null ? void 0 : s.basemaps) instanceof Array ? (d = a == null ? void 0 : a.map3d) == null || d.basemaps.forEach((I) => {
2003
2003
  I.pid = pe;
2004
2004
  }) : (u = (o = a.map3d) == null ? void 0 : o.basemaps) != null && u.cover ? (e.map3d.basemaps = a.map3d.basemaps.list, (n = a == null ? void 0 : a.map3d) == null || delete n.basemaps) : ((g = (i = (c = a == null ? void 0 : a.map3d) == null ? void 0 : c.basemaps) == null ? void 0 : i.list) == null || g.forEach((I) => {
2005
2005
  I.pid = pe;
2006
- }), a.map3d.basemaps = (f = (m = a == null ? void 0 : a.map3d) == null ? void 0 : m.basemaps) == null ? void 0 : f.list)), (A = (C = (b = (r = a.map3d) == null ? void 0 : r.custom) == null ? void 0 : b.layers) == null ? void 0 : C.auxiliaryLayers) != null && A.cover ? e.map3d.custom.layers.auxiliaryLayers.list = [] : (k = (B = (S = (D = (w = a.map3d) == null ? void 0 : w.custom) == null ? void 0 : D.layers) == null ? void 0 : S.auxiliaryLayers) == null ? void 0 : B.list) == null || k.forEach((I) => {
2006
+ }), a.map3d.basemaps = (m = (f = a == null ? void 0 : a.map3d) == null ? void 0 : f.basemaps) == null ? void 0 : m.list)), (A = (C = (b = (r = a.map3d) == null ? void 0 : r.custom) == null ? void 0 : b.layers) == null ? void 0 : C.auxiliaryLayers) != null && A.cover ? e.map3d.custom.layers.auxiliaryLayers.list = [] : (k = (B = (S = (D = (w = a.map3d) == null ? void 0 : w.custom) == null ? void 0 : D.layers) == null ? void 0 : S.auxiliaryLayers) == null ? void 0 : B.list) == null || k.forEach((I) => {
2007
2007
  I.pid = pt;
2008
2008
  }), (v = (h = (j = (J = a.map3d) == null ? void 0 : J.custom) == null ? void 0 : j.layers) == null ? void 0 : h.terrainLayers) != null && v.cover ? e.map3d.custom.layers.terrainLayers.list = [] : (T = (H = (N = (z = (L = a.map3d) == null ? void 0 : L.custom) == null ? void 0 : z.layers) == null ? void 0 : N.terrainLayers) == null ? void 0 : H.list) == null || T.forEach((I) => {
2009
2009
  I.pid = tt;
@@ -2274,7 +2274,7 @@ const Ws = (a) => {
2274
2274
  }
2275
2275
  },
2276
2276
  setup(a, { expose: e }) {
2277
- var f, d, r, b, C, A, w, D;
2277
+ var m, d, r, b, C, A, w, D;
2278
2278
  const t = a, l = _a(null), s = Gt(), o = vt(), u = Ne();
2279
2279
  Ws(t.eleId);
2280
2280
  const n = Xs(t.satMapOptions);
@@ -2301,7 +2301,7 @@ const Ws = (a) => {
2301
2301
  const B = S.filter((ue) => ue.show);
2302
2302
  (sa = l.value.layer) == null || sa.addLayers(B), u.setIsRenderedMap(t.eleId, !0);
2303
2303
  });
2304
- const c = M(Boolean((r = (d = (f = t.satMapOptions) == null ? void 0 : f.map3d) == null ? void 0 : d.control) == null ? void 0 : r.locationBar)), i = M((D = (w = (A = (C = (b = t.satMapOptions) == null ? void 0 : b.map3d) == null ? void 0 : C.custom) == null ? void 0 : A.layoutTheme) == null ? void 0 : w.isDark) != null ? D : u.record[t.eleId].isDark);
2304
+ const c = M(Boolean((r = (d = (m = t.satMapOptions) == null ? void 0 : m.map3d) == null ? void 0 : d.control) == null ? void 0 : r.locationBar)), i = M((D = (w = (A = (C = (b = t.satMapOptions) == null ? void 0 : b.map3d) == null ? void 0 : C.custom) == null ? void 0 : A.layoutTheme) == null ? void 0 : w.isDark) != null ? D : u.record[t.eleId].isDark);
2305
2305
  Dt(() => {
2306
2306
  qs(t.eleId, i.value);
2307
2307
  });
@@ -2317,10 +2317,10 @@ const Ws = (a) => {
2317
2317
  var S;
2318
2318
  Ks(t.eleId), (S = l.value) == null || S.destroy(), l.value = null;
2319
2319
  }), ht(Ba, c), ht(ce, l), ht(Q, t.eleId);
2320
- const m = () => U.getInstanceById(t.eleId);
2320
+ const f = () => U.getInstanceById(t.eleId);
2321
2321
  return e({
2322
2322
  layerTree: o.record[t.eleId].layerTree,
2323
- getInstance: m
2323
+ getInstance: f
2324
2324
  }), (S, B) => {
2325
2325
  const k = P("el-switch");
2326
2326
  return F(), x("div", ao, [
@@ -2372,17 +2372,17 @@ const uo = /* @__PURE__ */ Z(oo, [["__scopeId", "data-v-32c05d49"]]), ve = (a) =
2372
2372
  const t = a, l = G(Q, ""), s = Gt(), o = G(ea), u = () => {
2373
2373
  o.value = !1;
2374
2374
  }, n = (i) => {
2375
- var g, m, f;
2376
- u(), t.custom ? e("customClick", i) : (s.unActiveAll(l), (g = s.record[l]) != null && g[i.name] && ((f = (m = s.record[l]) == null ? void 0 : m[i.name]) != null && f.ready ? s.record[l][i.name].active = !0 : s.changeCompState(l, i.name, !0)));
2375
+ var g, f, m;
2376
+ u(), t.custom ? e("customClick", i) : (s.unActiveAll(l), (g = s.record[l]) != null && g[i.name] && ((m = (f = s.record[l]) == null ? void 0 : f[i.name]) != null && m.ready ? s.record[l][i.name].active = !0 : s.changeCompState(l, i.name, !0)));
2377
2377
  }, c = (i) => {
2378
2378
  t.custom ? e("customCloseClick", i) : s.changeCompState(l, i.name, !1);
2379
2379
  };
2380
2380
  return (i, g) => {
2381
- const m = P("SatMenuTree", !0), f = P("el-sub-menu"), d = P("el-menu-item");
2381
+ const f = P("SatMenuTree", !0), m = P("el-sub-menu"), d = P("el-menu-item");
2382
2382
  return F(!0), x(oe, null, re(a.treeData, (r) => {
2383
2383
  var b;
2384
2384
  return F(), x(oe, null, [
2385
- (b = r.children) != null && b.length ? (F(), R(f, {
2385
+ (b = r.children) != null && b.length ? (F(), R(m, {
2386
2386
  key: r.name,
2387
2387
  index: r.name,
2388
2388
  "data-mark": r.name
@@ -2400,7 +2400,7 @@ const uo = /* @__PURE__ */ Z(oo, [["__scopeId", "data-v-32c05d49"]]), ve = (a) =
2400
2400
  ];
2401
2401
  }),
2402
2402
  default: _(() => [
2403
- p(m, {
2403
+ p(f, {
2404
2404
  "tree-data": r.children
2405
2405
  }, null, 8, ["tree-data"])
2406
2406
  ]),
@@ -2475,8 +2475,8 @@ const Na = (a) => (Fe("data-v-d9ff1caa"), a = a(), Ce(), a), ho = /* @__PURE__ *
2475
2475
  e.value = !1;
2476
2476
  }, { record: n } = Mt(Ne()), c = wt.map((i) => i.name);
2477
2477
  return (i, g) => {
2478
- const m = P("el-menu"), f = P("el-drawer");
2479
- return F(), R(f, {
2478
+ const f = P("el-menu"), m = P("el-drawer");
2479
+ return F(), R(m, {
2480
2480
  size: E(n)[E(t)].isMobile ? "80%" : "18%",
2481
2481
  "model-value": a.isVisible,
2482
2482
  direction: "ltr",
@@ -2490,7 +2490,7 @@ const Na = (a) => (Fe("data-v-d9ff1caa"), a = a(), Ce(), a), ho = /* @__PURE__ *
2490
2490
  Y(y("div", yo, " \u542F\u7528\u4E2D ", 512), [
2491
2491
  [q, E(o) && E(o).length]
2492
2492
  ]),
2493
- p(m, { class: "sat-menu-vertical sat-menu-vertical-inverse" }, {
2493
+ p(f, { class: "sat-menu-vertical sat-menu-vertical-inverse" }, {
2494
2494
  default: _(() => [
2495
2495
  p(Yt, {
2496
2496
  "show-type": "enabled",
@@ -2499,14 +2499,14 @@ const Na = (a) => (Fe("data-v-d9ff1caa"), a = a(), Ce(), a), ho = /* @__PURE__ *
2499
2499
  ]),
2500
2500
  _: 1
2501
2501
  }),
2502
- p(m, { class: "sat-menu-vertical sat-menu-vertical-inverse" }, {
2502
+ p(f, { class: "sat-menu-vertical sat-menu-vertical-inverse" }, {
2503
2503
  default: _(() => [
2504
2504
  de(i.$slots, "custom-enable", {}, void 0, !0)
2505
2505
  ]),
2506
2506
  _: 3
2507
2507
  }),
2508
2508
  bo,
2509
- p(m, {
2509
+ p(f, {
2510
2510
  "default-openeds": E(c),
2511
2511
  class: "sat-menu-vertical"
2512
2512
  }, {
@@ -2515,7 +2515,7 @@ const Na = (a) => (Fe("data-v-d9ff1caa"), a = a(), Ce(), a), ho = /* @__PURE__ *
2515
2515
  ]),
2516
2516
  _: 1
2517
2517
  }, 8, ["default-openeds"]),
2518
- p(m, { class: "sat-menu-vertical" }, {
2518
+ p(f, { class: "sat-menu-vertical" }, {
2519
2519
  default: _(() => [
2520
2520
  de(i.$slots, "custom", {}, void 0, !0)
2521
2521
  ]),
@@ -2684,13 +2684,13 @@ const Ra = (a, e) => {
2684
2684
  y("span", So, ie(i.label), 1),
2685
2685
  p(c, {
2686
2686
  modelValue: i.value,
2687
- "onUpdate:modelValue": (m) => i.value = m,
2687
+ "onUpdate:modelValue": (f) => i.value = f,
2688
2688
  min: i.min,
2689
2689
  max: i.max,
2690
2690
  step: i.step,
2691
2691
  "tooltip-class": "sat-popover-tooltip",
2692
2692
  disabled: i.disabled,
2693
- onChange: (m) => l(a.layer, i.field, i.value)
2693
+ onChange: (f) => l(a.layer, i.field, i.value)
2694
2694
  }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "step", "disabled", "onChange"])
2695
2695
  ]))), 128))
2696
2696
  ]);
@@ -2763,7 +2763,7 @@ const zo = /* @__PURE__ */ Z(Go, [["__scopeId", "data-v-019fc94c"]]), Vo = (a) =
2763
2763
  }), g = (j) => {
2764
2764
  var h, v, L;
2765
2765
  j.show && !((h = j.children) != null && h.length) && ((L = (v = e == null ? void 0 : e.value) == null ? void 0 : v.layer) == null || L.flyTo(j));
2766
- }, m = (j, { checkedNodes: h, checkedKeys: v, halfCheckedNodes: L, halfCheckedKeys: z }) => {
2766
+ }, f = (j, { checkedNodes: h, checkedKeys: v, halfCheckedNodes: L, halfCheckedKeys: z }) => {
2767
2767
  var T, I, ee, le, ne, he, Se, je;
2768
2768
  const N = gt(o.record[t].layerTree), H = qt(
2769
2769
  N,
@@ -2784,7 +2784,7 @@ const zo = /* @__PURE__ */ Z(Go, [["__scopeId", "data-v-019fc94c"]]), Vo = (a) =
2784
2784
  let xe = [];
2785
2785
  Ua(H, xe), (he = (ne = e == null ? void 0 : e.value) == null ? void 0 : ne.layer) == null || he.addLayers(xe.filter((ye) => ye.show)), (je = (Se = e == null ? void 0 : e.value) == null ? void 0 : Se.layer) == null || je.removeLayers(xe.filter((ye) => !ye.show));
2786
2786
  }
2787
- }, f = M();
2787
+ }, m = M();
2788
2788
  let d = M([]), r = M(0);
2789
2789
  Dt(() => {
2790
2790
  console.log("\u5DF2\u66F4\u65B0\u5DF2\u52A0\u8F7D\u6570\u636E\uFF1A" + r.value);
@@ -2848,7 +2848,7 @@ const zo = /* @__PURE__ */ Z(Go, [["__scopeId", "data-v-019fc94c"]]), Vo = (a) =
2848
2848
  "default-checked-keys": E(i),
2849
2849
  props: u,
2850
2850
  onNodeClick: g,
2851
- onCheck: m
2851
+ onCheck: f
2852
2852
  }, null, 8, ["data", "default-expanded-keys", "default-checked-keys"])
2853
2853
  ]),
2854
2854
  _: 1
@@ -2860,7 +2860,7 @@ const zo = /* @__PURE__ */ Z(Go, [["__scopeId", "data-v-019fc94c"]]), Vo = (a) =
2860
2860
  default: _(() => [
2861
2861
  p(v, {
2862
2862
  ref_key: "elTreeShowedRef",
2863
- ref: f,
2863
+ ref: m,
2864
2864
  data: E(d),
2865
2865
  draggable: "",
2866
2866
  "allow-drag": w,
@@ -2947,11 +2947,11 @@ const zo = /* @__PURE__ */ Z(Go, [["__scopeId", "data-v-019fc94c"]]), Vo = (a) =
2947
2947
  });
2948
2948
  const qo = /* @__PURE__ */ Z(Yo, [["__scopeId", "data-v-c6080d1f"]]), Xo = ["SatMenu", "SatGlobe"], Te = (a, e, t) => {
2949
2949
  var D, S, B, k, J, j, h, v, L, z, N, H;
2950
- const l = Zt(), s = zt(), o = nt(), u = (S = (D = l == null ? void 0 : l.type) == null ? void 0 : D.name) != null ? S : "", n = (J = (k = (B = l == null ? void 0 : l.parent) == null ? void 0 : B.type) == null ? void 0 : k.name) != null ? J : "", c = qt(wt, "name", "children", u), i = (j = c == null ? void 0 : c.label) != null ? j : "", g = Xo.indexOf(n) > -1, m = g && !((v = (h = s.record[a]) == null ? void 0 : h[u]) != null && v.enable), f = n == "SatMenu" && !((z = (L = s.record) == null ? void 0 : L[a][u]) != null && z.enable), d = be(() => {
2950
+ const l = Zt(), s = zt(), o = nt(), u = (S = (D = l == null ? void 0 : l.type) == null ? void 0 : D.name) != null ? S : "", n = (J = (k = (B = l == null ? void 0 : l.parent) == null ? void 0 : B.type) == null ? void 0 : k.name) != null ? J : "", c = qt(wt, "name", "children", u), i = (j = c == null ? void 0 : c.label) != null ? j : "", g = Xo.indexOf(n) > -1, f = g && !((v = (h = s.record[a]) == null ? void 0 : h[u]) != null && v.enable), m = n == "SatMenu" && !((z = (L = s.record) == null ? void 0 : L[a][u]) != null && z.enable), d = be(() => {
2951
2951
  var T, I;
2952
2952
  return (I = (T = s.record[a]) == null ? void 0 : T[u]) == null ? void 0 : I.ready;
2953
- }), r = be(() => m && d.value && o.record[a].isRenderedMap);
2954
- m && (we(r, (T) => {
2953
+ }), r = be(() => f && d.value && o.record[a].isRenderedMap);
2954
+ f && (we(r, (T) => {
2955
2955
  T && s.changeCompState(a, u, Boolean(T));
2956
2956
  }), (N = s == null ? void 0 : s[`set${u}`]) == null || N.call(s, a, {
2957
2957
  name: u,
@@ -2959,7 +2959,7 @@ const qo = /* @__PURE__ */ Z(Yo, [["__scopeId", "data-v-c6080d1f"]]), Xo = ["Sat
2959
2959
  parentName: n,
2960
2960
  userCustomInitHooks: e,
2961
2961
  userCustomDestroyHooks: t
2962
- }), f ? (H = s == null ? void 0 : s[`set${u}`]) == null || H.call(s, a, {
2962
+ }), m ? (H = s == null ? void 0 : s[`set${u}`]) == null || H.call(s, a, {
2963
2963
  enable: !0,
2964
2964
  active: !1,
2965
2965
  ready: !1
@@ -3004,20 +3004,20 @@ const qo = /* @__PURE__ */ Z(Yo, [["__scopeId", "data-v-c6080d1f"]]), Xo = ["Sat
3004
3004
  isActiveRef: c,
3005
3005
  isRenderRef: i,
3006
3006
  shrinkWindow: g,
3007
- closeWindow: m
3007
+ closeWindow: f
3008
3008
  } = Te(s, t, l);
3009
- return (f, d) => E(n) && E(i) ? Y((F(), R(De, {
3009
+ return (m, d) => E(n) && E(i) ? Y((F(), R(De, {
3010
3010
  key: 0,
3011
3011
  id: E(o),
3012
3012
  class: "sat-source",
3013
3013
  "is-minimize": !0,
3014
3014
  "is-close": !0,
3015
3015
  "minimize-event": E(g),
3016
- "close-event": E(m),
3016
+ "close-event": E(f),
3017
3017
  title: E(u)
3018
3018
  }, {
3019
3019
  default: _(() => [
3020
- de(f.$slots, "default"),
3020
+ de(m.$slots, "default"),
3021
3021
  p(qo)
3022
3022
  ]),
3023
3023
  _: 3
@@ -3042,20 +3042,20 @@ const qo = /* @__PURE__ */ Z(Yo, [["__scopeId", "data-v-c6080d1f"]]), Xo = ["Sat
3042
3042
  isActiveRef: c,
3043
3043
  isRenderRef: i,
3044
3044
  shrinkWindow: g,
3045
- closeWindow: m
3045
+ closeWindow: f
3046
3046
  } = Te(s, t, l);
3047
- return (f, d) => E(n) && E(i) ? Y((F(), R(De, {
3047
+ return (m, d) => E(n) && E(i) ? Y((F(), R(De, {
3048
3048
  key: 0,
3049
3049
  id: E(o),
3050
3050
  class: "sat-model-analysis",
3051
3051
  "is-minimize": !0,
3052
3052
  "is-close": !0,
3053
3053
  "minimize-event": E(g),
3054
- "close-event": E(m),
3054
+ "close-event": E(f),
3055
3055
  title: E(u)
3056
3056
  }, {
3057
3057
  default: _(() => [
3058
- de(f.$slots, "default")
3058
+ de(m.$slots, "default")
3059
3059
  ]),
3060
3060
  _: 3
3061
3061
  }, 8, ["id", "minimize-event", "close-event", "title"])), [
@@ -3173,20 +3173,20 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
3173
3173
  isActiveRef: c,
3174
3174
  isRenderRef: i,
3175
3175
  shrinkWindow: g,
3176
- closeWindow: m
3176
+ closeWindow: f
3177
3177
  } = Te(s, t, l);
3178
- return (f, d) => E(n) && E(i) ? Y((F(), R(De, {
3178
+ return (m, d) => E(n) && E(i) ? Y((F(), R(De, {
3179
3179
  key: 0,
3180
3180
  id: E(o),
3181
3181
  class: "sat-spatial-analysis",
3182
3182
  "is-minimize": !0,
3183
3183
  "is-close": !0,
3184
3184
  "minimize-event": E(g),
3185
- "close-event": E(m),
3185
+ "close-event": E(f),
3186
3186
  title: E(u)
3187
3187
  }, {
3188
3188
  default: _(() => [
3189
- de(f.$slots, "default"),
3189
+ de(m.$slots, "default"),
3190
3190
  p(_u)
3191
3191
  ]),
3192
3192
  _: 3
@@ -3211,20 +3211,20 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
3211
3211
  isActiveRef: c,
3212
3212
  isRenderRef: i,
3213
3213
  shrinkWindow: g,
3214
- closeWindow: m
3214
+ closeWindow: f
3215
3215
  } = Te(s, t, l);
3216
- return (f, d) => E(n) && E(i) ? Y((F(), R(De, {
3216
+ return (m, d) => E(n) && E(i) ? Y((F(), R(De, {
3217
3217
  key: 0,
3218
3218
  id: E(o),
3219
3219
  class: "sat-terrain-analysis",
3220
3220
  "is-minimize": !0,
3221
3221
  "is-close": !0,
3222
3222
  "minimize-event": E(g),
3223
- "close-event": E(m),
3223
+ "close-event": E(f),
3224
3224
  title: E(u)
3225
3225
  }, {
3226
3226
  default: _(() => [
3227
- de(f.$slots, "default")
3227
+ de(m.$slots, "default")
3228
3228
  ]),
3229
3229
  _: 3
3230
3230
  }, 8, ["id", "minimize-event", "close-event", "title"])), [
@@ -3268,17 +3268,17 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
3268
3268
  };
3269
3269
  },
3270
3270
  gcj_decrypt(a, e) {
3271
- let s = 0.01, o = 0.01, u = a - s, n = e - o, c = a + s, i = e + o, g, m, f = 0;
3272
- for (; ++f < 1e4; ) {
3273
- g = (u + c) / 2, m = (n + i) / 2;
3274
- const d = this.gcj_encrypt(g, m);
3271
+ let s = 0.01, o = 0.01, u = a - s, n = e - o, c = a + s, i = e + o, g, f, m = 0;
3272
+ for (; ++m < 1e4; ) {
3273
+ g = (u + c) / 2, f = (n + i) / 2;
3274
+ const d = this.gcj_encrypt(g, f);
3275
3275
  if (s = d.lat - a, o = d.lng - e, Math.abs(s) < 1e-9 && Math.abs(o) < 1e-9)
3276
3276
  break;
3277
- s > 0 ? c = g : u = g, o > 0 ? i = m : n = m;
3277
+ s > 0 ? c = g : u = g, o > 0 ? i = f : n = f;
3278
3278
  }
3279
3279
  return {
3280
3280
  lat: g,
3281
- lng: m
3281
+ lng: f
3282
3282
  };
3283
3283
  },
3284
3284
  bd_encrypt(a, e) {
@@ -3501,7 +3501,7 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
3501
3501
  }, c = () => {
3502
3502
  var i;
3503
3503
  (i = s.value) == null || i.validate(async (g) => {
3504
- var m, f;
3504
+ var f, m;
3505
3505
  if (g) {
3506
3506
  l.value.cType == "\u5EA6\u5206\u79D2" && (l.value.x = Number(at.ToDigital(
3507
3507
  l.value.degrees_x_d,
@@ -3525,7 +3525,7 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
3525
3525
  }
3526
3526
  d.text = `(${d.lng}\uFF0C${d.lat})`;
3527
3527
  let r = await t.markerCoordinates(d);
3528
- (f = (m = e == null ? void 0 : e.value) == null ? void 0 : m.map) == null || f.flyToGraphic(r, {
3528
+ (m = (f = e == null ? void 0 : e.value) == null ? void 0 : f.map) == null || m.flyToGraphic(r, {
3529
3529
  heading: 0,
3530
3530
  pitch: -90,
3531
3531
  roll: 0,
@@ -3537,7 +3537,7 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
3537
3537
  return ke(() => {
3538
3538
  t.removeMarkerCoordinates();
3539
3539
  }), (i, g) => {
3540
- const m = P("el-option"), f = P("el-select"), d = P("el-form-item"), r = P("el-input"), b = P("el-col"), C = P("el-row"), A = P("el-button"), w = P("el-form");
3540
+ const f = P("el-option"), m = P("el-select"), d = P("el-form-item"), r = P("el-input"), b = P("el-col"), C = P("el-row"), A = P("el-button"), w = P("el-form");
3541
3541
  return F(), R(w, {
3542
3542
  ref_key: "zbdwFormRef",
3543
3543
  ref: s,
@@ -3548,13 +3548,13 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
3548
3548
  default: _(() => [
3549
3549
  p(d, { label: "\u5750\u6807\u7CFB" }, {
3550
3550
  default: _(() => [
3551
- p(f, {
3551
+ p(m, {
3552
3552
  modelValue: l.value.ucs,
3553
3553
  "onUpdate:modelValue": g[0] || (g[0] = (D) => l.value.ucs = D),
3554
3554
  placeholder: "\u8BF7\u9009\u62E9"
3555
3555
  }, {
3556
3556
  default: _(() => [
3557
- (F(), x(oe, null, re(o, (D) => p(m, {
3557
+ (F(), x(oe, null, re(o, (D) => p(f, {
3558
3558
  key: D,
3559
3559
  label: D,
3560
3560
  value: D
@@ -3567,13 +3567,13 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
3567
3567
  }),
3568
3568
  p(d, { label: "\u5750\u6807\u683C\u5F0F" }, {
3569
3569
  default: _(() => [
3570
- p(f, {
3570
+ p(m, {
3571
3571
  modelValue: l.value.cType,
3572
3572
  "onUpdate:modelValue": g[1] || (g[1] = (D) => l.value.cType = D),
3573
3573
  placeholder: "\u8BF7\u9009\u62E9"
3574
3574
  }, {
3575
3575
  default: _(() => [
3576
- (F(), x(oe, null, re(u, (D) => p(m, {
3576
+ (F(), x(oe, null, re(u, (D) => p(f, {
3577
3577
  key: D,
3578
3578
  label: D,
3579
3579
  value: D
@@ -3840,10 +3840,10 @@ const Vu = /* @__PURE__ */ Z(zu, [["__scopeId", "data-v-a4d90a1b"]]), Iu = "data
3840
3840
  });
3841
3841
  this.routeLayer.addGraphic(c);
3842
3842
  const i = U.mars3d.Util.formatTime(l.allDuration), g = U.mars3d.MeasureUtil.formatDistance(l.allDistance);
3843
- let m = "";
3844
- for (let f = 0; f < l.steps.length; f++)
3845
- m += l.steps[f].instruction + "\uFF1B";
3846
- this.eventTarget.fire("analyse", { allTime: i, allDistance: g, dhHtml: m });
3843
+ let f = "";
3844
+ for (let m = 0; m < l.steps.length; m++)
3845
+ f += l.steps[m].instruction + "\uFF1B";
3846
+ this.eventTarget.fire("analyse", { allTime: i, allDistance: g, dhHtml: f });
3847
3847
  },
3848
3848
  error(t) {
3849
3849
  We(!1), X({
@@ -3896,11 +3896,11 @@ const Vu = /* @__PURE__ */ Z(zu, [["__scopeId", "data-v-a4d90a1b"]]), Iu = "data
3896
3896
  selectWay: "3"
3897
3897
  }), g = (C) => {
3898
3898
  i.value.start && i.value.end && t.btnAnalyse(C);
3899
- }, m = async () => {
3899
+ }, f = async () => {
3900
3900
  var A;
3901
3901
  const C = await t.startPoint(i.value.selectWay);
3902
3902
  i.value.start = (C == null ? void 0 : C.lng) + ", " + (C == null ? void 0 : C.lat), l.value = (A = C == null ? void 0 : C.address) != null ? A : "\u672A\u77E5";
3903
- }, f = async () => {
3903
+ }, m = async () => {
3904
3904
  var A;
3905
3905
  const C = await t.endPoint(i.value.selectWay);
3906
3906
  i.value.end = (C == null ? void 0 : C.lng) + ", " + (C == null ? void 0 : C.lat), s.value = (A = C == null ? void 0 : C.address) != null ? A : "\u672A\u77E5";
@@ -3964,7 +3964,7 @@ const Vu = /* @__PURE__ */ Z(zu, [["__scopeId", "data-v-a4d90a1b"]]), Iu = "data
3964
3964
  append: _(() => [
3965
3965
  p(B, {
3966
3966
  plain: "",
3967
- onClick: m
3967
+ onClick: f
3968
3968
  }, {
3969
3969
  default: _(() => [
3970
3970
  Ru
@@ -3988,7 +3988,7 @@ const Vu = /* @__PURE__ */ Z(zu, [["__scopeId", "data-v-a4d90a1b"]]), Iu = "data
3988
3988
  append: _(() => [
3989
3989
  p(B, {
3990
3990
  plain: "",
3991
- onClick: f
3991
+ onClick: m
3992
3992
  }, {
3993
3993
  default: _(() => [
3994
3994
  Uu
@@ -4145,36 +4145,36 @@ const ai = /* @__PURE__ */ Z(ti, [["__scopeId", "data-v-3f4d05f2"]]), li = (a) =
4145
4145
  pageNo: 1,
4146
4146
  pageSize: 10,
4147
4147
  total: 0
4148
- }), c = (f) => {
4149
- n.value.pageNo = f, i();
4150
- }, i = async (f) => {
4148
+ }), c = (m) => {
4149
+ n.value.pageNo = m, i();
4150
+ }, i = async (m) => {
4151
4151
  var r;
4152
- s.value = !1, f && (l.value = f);
4152
+ s.value = !1, m && (l.value = m);
4153
4153
  const d = await t.queryText(l.value, n.value);
4154
4154
  (r = d == null ? void 0 : d.list) != null && r.length ? (n.value.total = Number(d.allcount), u.value = d.list) : (l.value && X({
4155
4155
  message: "\u6570\u636E\u67E5\u8BE2\u5931\u8D25",
4156
4156
  type: "warning"
4157
4157
  }), u.value = []);
4158
4158
  }, g = async () => {
4159
- var f;
4159
+ var m;
4160
4160
  if (!l.value)
4161
4161
  s.value = !1, o.value = [];
4162
4162
  else {
4163
4163
  s.value = !0;
4164
4164
  const d = await t.autoTip(l.value);
4165
- (f = d == null ? void 0 : d.list) != null && f.length ? o.value = d.list : o.value = [];
4165
+ (m = d == null ? void 0 : d.list) != null && m.length ? o.value = d.list : o.value = [];
4166
4166
  }
4167
- }, m = (f) => {
4168
- t.flyTo(f);
4167
+ }, f = (m) => {
4168
+ t.flyTo(m);
4169
4169
  };
4170
4170
  return Ae(() => {
4171
- var f;
4172
- (f = e == null ? void 0 : e.value) == null || f.inited().then(() => {
4171
+ var m;
4172
+ (m = e == null ? void 0 : e.value) == null || m.inited().then(() => {
4173
4173
  t.init();
4174
4174
  });
4175
4175
  }), ke(() => {
4176
4176
  t.destroy();
4177
- }), (f, d) => {
4177
+ }), (m, d) => {
4178
4178
  const r = P("el-button"), b = P("el-input"), C = P("el-pagination");
4179
4179
  return F(), x("div", oi, [
4180
4180
  p(b, {
@@ -4214,7 +4214,7 @@ const ai = /* @__PURE__ */ Z(ti, [["__scopeId", "data-v-3f4d05f2"]]), li = (a) =
4214
4214
  (F(!0), x(oe, null, re(u.value, (A, w) => (F(), x("li", {
4215
4215
  key: w,
4216
4216
  class: "hover-to-active wot",
4217
- onClick: (D) => m(A)
4217
+ onClick: (D) => f(A)
4218
4218
  }, ie(w + 1 + ". " + A.name), 9, di))), 128))
4219
4219
  ])
4220
4220
  ]),
@@ -4314,20 +4314,20 @@ const Bi = /* @__PURE__ */ Z(Ei, [["__scopeId", "data-v-1f744a30"]]), Ai = {
4314
4314
  isActiveRef: c,
4315
4315
  isRenderRef: i,
4316
4316
  shrinkWindow: g,
4317
- closeWindow: m
4317
+ closeWindow: f
4318
4318
  } = Te(s, t, l);
4319
- return (f, d) => E(n) && E(i) ? Y((F(), R(De, {
4319
+ return (m, d) => E(n) && E(i) ? Y((F(), R(De, {
4320
4320
  key: 0,
4321
4321
  id: E(o),
4322
4322
  class: "sat-location",
4323
4323
  "is-minimize": !0,
4324
4324
  "is-close": !0,
4325
4325
  "minimize-event": E(g),
4326
- "close-event": E(m),
4326
+ "close-event": E(f),
4327
4327
  title: E(u)
4328
4328
  }, {
4329
4329
  default: _(() => [
4330
- de(f.$slots, "default"),
4330
+ de(m.$slots, "default"),
4331
4331
  p(Bi)
4332
4332
  ]),
4333
4333
  _: 3
@@ -4342,19 +4342,19 @@ const Bi = /* @__PURE__ */ Z(Ei, [["__scopeId", "data-v-1f744a30"]]), Ai = {
4342
4342
  setup(a) {
4343
4343
  const e = G(ce), t = G(Q, ""), l = Ga(), s = G(Ba);
4344
4344
  return (() => {
4345
- var u, n, c, i, g, m, f, d, r, b, C, A, w, D, S, B, k, J, j, h, v, L;
4345
+ var u, n, c, i, g, f, m, d, r, b, C, A, w, D, S, B, k, J, j, h, v, L;
4346
4346
  (n = (u = l.record[t]) == null ? void 0 : u.parts) != null && n.length || (l.record[t].parts = [
4347
4347
  {
4348
4348
  field: "compass",
4349
4349
  label: "\u60AC\u6D6E\u5BFC\u822A",
4350
4350
  enable: !0,
4351
- value: Boolean((m = (g = (i = (c = e == null ? void 0 : e.value) == null ? void 0 : c.configOptions) == null ? void 0 : i.map3d) == null ? void 0 : g.control) == null ? void 0 : m.compass)
4351
+ value: Boolean((f = (g = (i = (c = e == null ? void 0 : e.value) == null ? void 0 : c.configOptions) == null ? void 0 : i.map3d) == null ? void 0 : g.control) == null ? void 0 : f.compass)
4352
4352
  },
4353
4353
  {
4354
4354
  field: "locationBar",
4355
4355
  label: "\u5750\u6807\u4FE1\u606F",
4356
4356
  enable: !0,
4357
- value: Boolean((b = (r = (d = (f = e == null ? void 0 : e.value) == null ? void 0 : f.configOptions) == null ? void 0 : d.map3d) == null ? void 0 : r.control) == null ? void 0 : b.locationBar)
4357
+ value: Boolean((b = (r = (d = (m = e == null ? void 0 : e.value) == null ? void 0 : m.configOptions) == null ? void 0 : d.map3d) == null ? void 0 : r.control) == null ? void 0 : b.locationBar)
4358
4358
  },
4359
4359
  {
4360
4360
  field: "animation&timeline",
@@ -4372,8 +4372,8 @@ const Bi = /* @__PURE__ */ Z(Ei, [["__scopeId", "data-v-1f744a30"]]), Ai = {
4372
4372
  })(), Dt(() => {
4373
4373
  var u, n;
4374
4374
  (n = (u = l.record[t]) == null ? void 0 : u.parts) == null || n.forEach((c) => {
4375
- var i, g, m, f, d, r, b, C, A, w, D, S, B, k, J, j, h, v, L, z, N, H, T, I, ee, le, ne, he, Se, je, xe, ye, fe, Qe, mt;
4376
- if (c.field == "compass" && (c.value ? ((g = (i = e == null ? void 0 : e.value) == null ? void 0 : i.map) != null && g.controls.compass && (e.value.map.controls.compass.show = !0), _e(".cesium-viewer-toolbar").css("cssText", "display:flex !important")) : ((f = (m = e == null ? void 0 : e.value) == null ? void 0 : m.map) != null && f.controls.compass && (e.value.map.controls.compass.show = !1), _e(".cesium-viewer-toolbar").css("cssText", "display:none !important"))), c.field == "locationBar" && (s.value = c.value, c.value ? ((r = (d = e == null ? void 0 : e.value) == null ? void 0 : d.map) != null && r.controls.locationBar && (e.value.map.controls.locationBar.show = !0), (C = (b = e == null ? void 0 : e.value) == null ? void 0 : b.map) != null && C.controls.distanceLegend && (e.value.map.controls.distanceLegend.show = !0)) : ((w = (A = e == null ? void 0 : e.value) == null ? void 0 : A.map) != null && w.controls.locationBar && (e.value.map.controls.locationBar.show = !1), (S = (D = e == null ? void 0 : e.value) == null ? void 0 : D.map) != null && S.controls.distanceLegend && (e.value.map.controls.distanceLegend.show = !1)), (k = (B = e == null ? void 0 : e.value) == null ? void 0 : B.map) != null && k.controls.animation && (e.value.map.controls.animation.container.style.bottom = c.value ? "28px" : "0px"), (j = (J = e == null ? void 0 : e.value) == null ? void 0 : J.map) != null && j.controls.timeline && e.value.map.controls.timeline.setStyle({
4375
+ var i, g, f, m, d, r, b, C, A, w, D, S, B, k, J, j, h, v, L, z, N, H, T, I, ee, le, ne, he, Se, je, xe, ye, fe, Qe, mt;
4376
+ if (c.field == "compass" && (c.value ? ((g = (i = e == null ? void 0 : e.value) == null ? void 0 : i.map) != null && g.controls.compass && (e.value.map.controls.compass.show = !0), _e(".cesium-viewer-toolbar").css("cssText", "display:flex !important")) : ((m = (f = e == null ? void 0 : e.value) == null ? void 0 : f.map) != null && m.controls.compass && (e.value.map.controls.compass.show = !1), _e(".cesium-viewer-toolbar").css("cssText", "display:none !important"))), c.field == "locationBar" && (s.value = c.value, c.value ? ((r = (d = e == null ? void 0 : e.value) == null ? void 0 : d.map) != null && r.controls.locationBar && (e.value.map.controls.locationBar.show = !0), (C = (b = e == null ? void 0 : e.value) == null ? void 0 : b.map) != null && C.controls.distanceLegend && (e.value.map.controls.distanceLegend.show = !0)) : ((w = (A = e == null ? void 0 : e.value) == null ? void 0 : A.map) != null && w.controls.locationBar && (e.value.map.controls.locationBar.show = !1), (S = (D = e == null ? void 0 : e.value) == null ? void 0 : D.map) != null && S.controls.distanceLegend && (e.value.map.controls.distanceLegend.show = !1)), (k = (B = e == null ? void 0 : e.value) == null ? void 0 : B.map) != null && k.controls.animation && (e.value.map.controls.animation.container.style.bottom = c.value ? "28px" : "0px"), (j = (J = e == null ? void 0 : e.value) == null ? void 0 : J.map) != null && j.controls.timeline && e.value.map.controls.timeline.setStyle({
4377
4377
  bottom: c.value ? "28px" : "0px"
4378
4378
  })), c.field == "animation&timeline" && (c.value ? ((v = (h = e == null ? void 0 : e.value) == null ? void 0 : h.map) != null && v.controls.animation && (e.value.map.controls.animation.show = !0), (z = (L = e == null ? void 0 : e.value) == null ? void 0 : L.map) != null && z.controls.timeline && (e.value.map.controls.timeline.show = !0)) : ((H = (N = e == null ? void 0 : e.value) == null ? void 0 : N.map) != null && H.controls.animation && (e.value.map.controls.animation.show = !1), (I = (T = e == null ? void 0 : e.value) == null ? void 0 : T.map) != null && I.controls.timeline && (e.value.map.controls.timeline.show = !1))), c.field == "overviewMap") {
4379
4379
  const Ze = "overviewMap-control";
@@ -4461,20 +4461,20 @@ const Pi = /* @__PURE__ */ Z(Li, [["__scopeId", "data-v-df868348"]]), Ti = {
4461
4461
  isActiveRef: c,
4462
4462
  isRenderRef: i,
4463
4463
  shrinkWindow: g,
4464
- closeWindow: m
4464
+ closeWindow: f
4465
4465
  } = Te(s, t, l);
4466
- return (f, d) => E(n) && E(i) ? Y((F(), R(De, {
4466
+ return (m, d) => E(n) && E(i) ? Y((F(), R(De, {
4467
4467
  key: 0,
4468
4468
  id: E(o),
4469
4469
  class: "sat-map-part",
4470
4470
  "is-minimize": !0,
4471
4471
  "is-close": !0,
4472
4472
  "minimize-event": E(g),
4473
- "close-event": E(m),
4473
+ "close-event": E(f),
4474
4474
  title: E(u)
4475
4475
  }, {
4476
4476
  default: _(() => [
4477
- de(f.$slots, "default", {}, void 0, !0),
4477
+ de(m.$slots, "default", {}, void 0, !0),
4478
4478
  p(Pi)
4479
4479
  ]),
4480
4480
  _: 3
@@ -4501,9 +4501,9 @@ const Gi = /* @__PURE__ */ Z(Mi, [["__scopeId", "data-v-8371305a"]]), zi = ve(Gi
4501
4501
  s == null || s.measureSurfaceLength();
4502
4502
  }, g = () => {
4503
4503
  s == null || s.measureSurfaceeArea();
4504
- }, m = () => {
4505
- s == null || s.measureTriangleHeight();
4506
4504
  }, f = () => {
4505
+ s == null || s.measureTriangleHeight();
4506
+ }, m = () => {
4507
4507
  s == null || s.measureAngle();
4508
4508
  }, d = () => {
4509
4509
  s == null || s.removeAll();
@@ -4573,7 +4573,7 @@ const Gi = /* @__PURE__ */ Z(Mi, [["__scopeId", "data-v-8371305a"]]), zi = ve(Gi
4573
4573
  p(w, {
4574
4574
  type: "primary",
4575
4575
  plain: "",
4576
- onClick: m
4576
+ onClick: f
4577
4577
  }, {
4578
4578
  default: _(() => [
4579
4579
  Ji
@@ -4585,7 +4585,7 @@ const Gi = /* @__PURE__ */ Z(Mi, [["__scopeId", "data-v-8371305a"]]), zi = ve(Gi
4585
4585
  p(w, {
4586
4586
  type: "primary",
4587
4587
  plain: "",
4588
- onClick: f
4588
+ onClick: m
4589
4589
  }, {
4590
4590
  default: _(() => [
4591
4591
  Wi
@@ -4646,20 +4646,20 @@ const $i = /* @__PURE__ */ Z(Zi, [["__scopeId", "data-v-bc6220e8"]]), en = {
4646
4646
  isActiveRef: c,
4647
4647
  isRenderRef: i,
4648
4648
  shrinkWindow: g,
4649
- closeWindow: m
4649
+ closeWindow: f
4650
4650
  } = Te(s, t, l);
4651
- return (f, d) => E(n) && E(i) ? Y((F(), R(De, {
4651
+ return (m, d) => E(n) && E(i) ? Y((F(), R(De, {
4652
4652
  key: 0,
4653
4653
  id: E(o),
4654
4654
  class: "sat-measure",
4655
4655
  "is-minimize": !0,
4656
4656
  "is-close": !0,
4657
4657
  "minimize-event": E(g),
4658
- "close-event": E(m),
4658
+ "close-event": E(f),
4659
4659
  title: E(u)
4660
4660
  }, {
4661
4661
  default: _(() => [
4662
- de(f.$slots, "default", {}, void 0, !0),
4662
+ de(m.$slots, "default", {}, void 0, !0),
4663
4663
  p($i)
4664
4664
  ]),
4665
4665
  _: 3
@@ -4800,7 +4800,7 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4800
4800
  types: nn,
4801
4801
  imageUtil: un,
4802
4802
  coordTrans: at
4803
- }, Symbol.toStringTag, { value: "Module" })), rn = (a) => (Fe("data-v-533a7d4b"), a = a(), Ce(), a), dn = { class: "drawing-container" }, cn = /* @__PURE__ */ rn(() => /* @__PURE__ */ y("div", { id: "tui-image-editor" }, null, -1)), mn = { class: "custom-btn-eara" }, fn = /* @__PURE__ */ se(" \u573A\u666F\u66F4\u65B0 "), gn = /* @__PURE__ */ se(" \u63D2\u5165\u56FE\u7247 "), pn = /* @__PURE__ */ se(" \u4FDD\u5B58 "), hn = {
4803
+ }, Symbol.toStringTag, { value: "Module" })), rn = (a) => (Fe("data-v-0a81a3bd"), a = a(), Ce(), a), dn = { class: "drawing-container" }, cn = /* @__PURE__ */ rn(() => /* @__PURE__ */ y("div", { id: "tui-image-editor" }, null, -1)), mn = { class: "custom-btn-eara" }, fn = /* @__PURE__ */ se(" \u573A\u666F\u66F4\u65B0 "), gn = /* @__PURE__ */ se(" \u63D2\u5165\u56FE\u7247 "), pn = /* @__PURE__ */ se(" \u4FDD\u5B58 "), hn = {
4804
4804
  name: "TheImageEditor"
4805
4805
  }, yn = /* @__PURE__ */ W({
4806
4806
  ...hn,
@@ -4808,11 +4808,12 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4808
4808
  const t = G(ce);
4809
4809
  G(Q, "");
4810
4810
  let l = _a();
4811
- const s = M([]), o = (m) => {
4811
+ const s = M([]), o = (f) => {
4812
+ var d;
4812
4813
  l.value = new ml(document.querySelector("#tui-image-editor"), {
4813
4814
  includeUI: {
4814
4815
  loadImage: {
4815
- path: m,
4816
+ path: f,
4816
4817
  name: "image"
4817
4818
  },
4818
4819
  menu: ["resize", "crop", "rotate", "draw", "shape", "icon", "text", "flip", "mask", "filter"],
@@ -4827,11 +4828,13 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4827
4828
  rotatingPointOffset: 70
4828
4829
  }
4829
4830
  });
4830
- }, u = (m) => {
4831
+ const m = document.getElementsByClassName("tui-image-editor-controls-logo");
4832
+ (d = m == null ? void 0 : m[0]) == null || d.remove();
4833
+ }, u = (f) => {
4831
4834
  var r, b, C, A;
4832
- const f = (b = (r = t == null ? void 0 : t.value) == null ? void 0 : r.map) == null ? void 0 : b.container, d = document.getElementsByClassName("cesium-viewer-cesiumWidgetContainer");
4833
- m ? (C = t == null ? void 0 : t.value) == null || C.map.expImage({ download: !1, encoderOptions: 1 }).then((w) => {
4834
- Qa(f, {
4835
+ const m = (b = (r = t == null ? void 0 : t.value) == null ? void 0 : r.map) == null ? void 0 : b.container, d = document.getElementsByClassName("cesium-viewer-cesiumWidgetContainer");
4836
+ f ? (C = t == null ? void 0 : t.value) == null || C.map.expImage({ download: !1, encoderOptions: 1 }).then((w) => {
4837
+ Qa(m, {
4835
4838
  filter: (D) => D !== d[0]
4836
4839
  }).then(function(D) {
4837
4840
  qa(w.image, D, w.width, w.height).then((S) => {
@@ -4848,10 +4851,10 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4848
4851
  var D;
4849
4852
  (D = l.value) == null || D.loadImageFromFile(Xt(w.image));
4850
4853
  });
4851
- }, n = (m) => {
4852
- if (m != null && m.raw) {
4853
- const f = new FileReader();
4854
- f.readAsDataURL(m.raw), We(!0), f.onload = function(d) {
4854
+ }, n = (f) => {
4855
+ if (f != null && f.raw) {
4856
+ const m = new FileReader();
4857
+ m.readAsDataURL(f.raw), We(!0), m.onload = function(d) {
4855
4858
  var r;
4856
4859
  try {
4857
4860
  let b = (r = d.target) == null ? void 0 : r.result;
@@ -4863,54 +4866,53 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4863
4866
  }
4864
4867
  };
4865
4868
  }
4866
- }, c = (m) => {
4867
- var f;
4868
- (f = l.value) == null || f.addImageObject(m);
4869
- }, i = (m) => {
4869
+ }, c = (f) => {
4870
+ var m;
4871
+ (m = l.value) == null || m.addImageObject(f);
4872
+ }, i = (f) => {
4870
4873
  var d;
4871
- const f = (d = l.value) == null ? void 0 : d.toDataURL();
4872
- if (m) {
4873
- if (!f)
4874
+ const m = (d = l.value) == null ? void 0 : d.toDataURL();
4875
+ if (f) {
4876
+ if (!m)
4874
4877
  return;
4875
- U.mars3d.Util.downloadBase64Image("screenshot", f);
4878
+ U.mars3d.Util.downloadBase64Image("screenshot", m);
4876
4879
  } else
4877
4880
  return new Promise((r, b) => {
4878
- r(f || "");
4881
+ r(m || "");
4879
4882
  });
4880
4883
  };
4881
4884
  return Ae(() => {
4882
- var f, d;
4883
- const m = document.getElementsByClassName("tui-image-editor-controls-logo");
4884
- (f = m == null ? void 0 : m[0]) == null || f.remove(), (d = t == null ? void 0 : t.value) == null || d.inited().then(() => {
4885
- var r;
4886
- (r = t.value) == null || r.map.expImage({
4885
+ var f;
4886
+ (f = t == null ? void 0 : t.value) == null || f.inited().then(() => {
4887
+ var m;
4888
+ (m = t.value) == null || m.map.expImage({
4887
4889
  download: !1,
4888
4890
  encoderOptions: 1
4889
- }).then((b) => {
4890
- o(b.image);
4891
+ }).then((d) => {
4892
+ o(d.image);
4891
4893
  });
4892
4894
  });
4893
4895
  }), ke(() => {
4894
- var m;
4895
- (m = l.value) == null || m.destroy(), l.value = void 0;
4896
+ var f;
4897
+ (f = l.value) == null || f.destroy(), l.value = void 0;
4896
4898
  }), e({
4897
4899
  getInstance: () => l,
4898
4900
  loadScene: u,
4899
4901
  uploadFile: n,
4900
4902
  uploadImageBase64: c,
4901
4903
  download: i
4902
- }), (m, f) => {
4904
+ }), (f, m) => {
4903
4905
  const d = P("el-button"), r = P("el-popconfirm"), b = P("el-upload");
4904
4906
  return F(), x("div", dn, [
4905
- de(m.$slots, "default", {}, void 0, !0),
4907
+ de(f.$slots, "default", {}, void 0, !0),
4906
4908
  cn,
4907
4909
  y("div", mn, [
4908
4910
  p(r, {
4909
4911
  title: "\u662F\u5426\u5305\u542B\u7EC4\u4EF6\u5185\u7F6E\u7684DIV\u5143\u7D20?",
4910
4912
  "confirm-button-text": "Yes",
4911
4913
  "cancel-button-text": "No",
4912
- onConfirm: f[0] || (f[0] = (C) => u(!0)),
4913
- onCancel: f[1] || (f[1] = (C) => u())
4914
+ onConfirm: m[0] || (m[0] = (C) => u(!0)),
4915
+ onCancel: m[1] || (m[1] = (C) => u())
4914
4916
  }, {
4915
4917
  reference: _(() => [
4916
4918
  p(d, { size: "small" }, {
@@ -4924,7 +4926,7 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4924
4926
  }),
4925
4927
  p(b, {
4926
4928
  "file-list": s.value,
4927
- "onUpdate:file-list": f[2] || (f[2] = (C) => s.value = C),
4929
+ "onUpdate:file-list": m[2] || (m[2] = (C) => s.value = C),
4928
4930
  "auto-upload": !1,
4929
4931
  "show-file-list": !1,
4930
4932
  accept: "image/*",
@@ -4942,7 +4944,7 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4942
4944
  }, 8, ["file-list"]),
4943
4945
  p(d, {
4944
4946
  size: "small",
4945
- onClick: f[3] || (f[3] = (C) => i(!0))
4947
+ onClick: m[3] || (m[3] = (C) => i(!0))
4946
4948
  }, {
4947
4949
  default: _(() => [
4948
4950
  pn
@@ -4954,7 +4956,7 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4954
4956
  };
4955
4957
  }
4956
4958
  });
4957
- const bn = /* @__PURE__ */ Z(yn, [["__scopeId", "data-v-533a7d4b"]]), vn = {
4959
+ const bn = /* @__PURE__ */ Z(yn, [["__scopeId", "data-v-0a81a3bd"]]), vn = {
4958
4960
  name: "SatPicture"
4959
4961
  }, _n = /* @__PURE__ */ W({
4960
4962
  ...vn,
@@ -4970,8 +4972,8 @@ const bn = /* @__PURE__ */ Z(yn, [["__scopeId", "data-v-533a7d4b"]]), vn = {
4970
4972
  isInSide: c,
4971
4973
  isActiveRef: i,
4972
4974
  isRenderRef: g,
4973
- shrinkWindow: m,
4974
- closeWindow: f
4975
+ shrinkWindow: f,
4976
+ closeWindow: m
4975
4977
  } = Te(o, l, s), d = M();
4976
4978
  return e({
4977
4979
  getImageEditor: () => d
@@ -4982,8 +4984,8 @@ const bn = /* @__PURE__ */ Z(yn, [["__scopeId", "data-v-533a7d4b"]]), vn = {
4982
4984
  "is-minimize": !0,
4983
4985
  "is-close": !0,
4984
4986
  "is-maximize": !1,
4985
- "minimize-event": E(m),
4986
- "close-event": E(f),
4987
+ "minimize-event": E(f),
4988
+ "close-event": E(m),
4987
4989
  title: E(n)
4988
4990
  }, {
4989
4991
  default: _(() => [
@@ -9225,10 +9227,10 @@ const Fn = /* @__PURE__ */ Z(_n, [["__scopeId", "data-v-5e59a674"]]), Cn = ve(Fn
9225
9227
  (d) => c.indexOf(d.type) == -1
9226
9228
  )), g = be(() => u.value.filter(
9227
9229
  (d) => c.indexOf(d.type) != -1
9228
- )), m = (d) => {
9230
+ )), f = (d) => {
9229
9231
  var r, b;
9230
9232
  (b = (r = e == null ? void 0 : e.value) == null ? void 0 : r.plot) == null || b.startDraw(d);
9231
- }, f = () => {
9233
+ }, m = () => {
9232
9234
  var d, r;
9233
9235
  (r = (d = e == null ? void 0 : e.value) == null ? void 0 : d.plot) == null || r.stopDraw();
9234
9236
  };
@@ -9254,7 +9256,7 @@ const Fn = /* @__PURE__ */ Z(_n, [["__scopeId", "data-v-5e59a674"]]), Cn = ve(Fn
9254
9256
  }, 8, ["modelValue"]),
9255
9257
  Y(p(A, {
9256
9258
  type: "success",
9257
- onClick: f
9259
+ onClick: m
9258
9260
  }, {
9259
9261
  default: _(() => [
9260
9262
  wn
@@ -9269,7 +9271,7 @@ const Fn = /* @__PURE__ */ Z(_n, [["__scopeId", "data-v-5e59a674"]]), Cn = ve(Fn
9269
9271
  key: w.name + D,
9270
9272
  title: w.name,
9271
9273
  class: ae(w.type == "subtitle" ? "li-subtitle" : ""),
9272
- onClick: (S) => m(w)
9274
+ onClick: (S) => f(w)
9273
9275
  }, [
9274
9276
  w.type == "subtitle" ? (F(), x("span", jn, ie(w.name), 1)) : (F(), x("img", {
9275
9277
  key: 1,
@@ -9280,7 +9282,7 @@ const Fn = /* @__PURE__ */ Z(_n, [["__scopeId", "data-v-5e59a674"]]), Cn = ve(Fn
9280
9282
  key: w.name + D,
9281
9283
  title: w.name,
9282
9284
  class: ae(w.type == "subtitle" ? "li-subtitle" : ""),
9283
- onClick: (S) => m(w)
9285
+ onClick: (S) => f(w)
9284
9286
  }, [
9285
9287
  w.type == "subtitle" ? (F(), x("span", Ln, ie(w.name), 1)) : (F(), x("i", {
9286
9288
  key: 1,
@@ -9331,14 +9333,14 @@ const Mn = /* @__PURE__ */ Z(Tn, [["__scopeId", "data-v-26a6de3b"]]), Gn = { cla
9331
9333
  children: "children",
9332
9334
  label: "name",
9333
9335
  disabled: "disabled"
9334
- }, c = M([]), i = M(), g = G(Ea, M("")), m = dt();
9336
+ }, c = M([]), i = M(), g = G(Ea, M("")), f = dt();
9335
9337
  we(
9336
- () => m.record[t].groupTreeData,
9338
+ () => f.record[t].groupTreeData,
9337
9339
  (h) => {
9338
- f(h);
9340
+ m(h);
9339
9341
  }
9340
9342
  );
9341
- const f = (h) => {
9343
+ const m = (h) => {
9342
9344
  var z, N, H, T, I, ee, le;
9343
9345
  let v;
9344
9346
  if (h)
@@ -9369,7 +9371,7 @@ const Mn = /* @__PURE__ */ Z(Tn, [["__scopeId", "data-v-26a6de3b"]]), Gn = { cla
9369
9371
  Ae(() => {
9370
9372
  var h;
9371
9373
  (h = e == null ? void 0 : e.value) == null || h.inited().then(() => {
9372
- f();
9374
+ m();
9373
9375
  });
9374
9376
  });
9375
9377
  const d = (h, v, L) => {
@@ -9588,17 +9590,17 @@ const Kn = /* @__PURE__ */ Z(Wn, [["__scopeId", "data-v-654636f2"]]), Ht = (a) =
9588
9590
  return Ae(() => {
9589
9591
  var c;
9590
9592
  (c = e == null ? void 0 : e.value) == null || c.inited().then(() => {
9591
- var i, g, m, f, d;
9593
+ var i, g, f, m, d;
9592
9594
  if (l = (g = (i = e == null ? void 0 : e.value) == null ? void 0 : i.plot) == null ? void 0 : g.getGraphicById(s.record[t].editingGraphicId), !!l) {
9593
9595
  for (let r in o.value)
9594
9596
  o.value[r] = l.attr[r] || l[r];
9595
- u.value.layerName = (f = (m = l._layer) == null ? void 0 : m.options) == null ? void 0 : f.name, u.value.plotType = (d = l.attr) == null ? void 0 : d.name, u.value.id = l.id;
9597
+ u.value.layerName = (m = (f = l._layer) == null ? void 0 : f.options) == null ? void 0 : m.name, u.value.plotType = (d = l.attr) == null ? void 0 : d.name, u.value.id = l.id;
9596
9598
  }
9597
9599
  });
9598
9600
  }), ke(() => {
9599
9601
  n();
9600
9602
  }), (c, i) => {
9601
- const g = P("el-input"), m = P("el-form-item"), f = P("el-form");
9603
+ const g = P("el-input"), f = P("el-form-item"), m = P("el-form");
9602
9604
  return F(), x("div", Qn, [
9603
9605
  Yn,
9604
9606
  y("ul", null, [
@@ -9615,12 +9617,12 @@ const Kn = /* @__PURE__ */ Z(Wn, [["__scopeId", "data-v-654636f2"]]), Ht = (a) =
9615
9617
  y("div", tr, ie(u.value.plotType), 1)
9616
9618
  ])
9617
9619
  ]),
9618
- p(f, {
9620
+ p(m, {
9619
9621
  ref: "elFormRef",
9620
9622
  model: o.value
9621
9623
  }, {
9622
9624
  default: _(() => [
9623
- p(m, { label: "\u540D\u79F0" }, {
9625
+ p(f, { label: "\u540D\u79F0" }, {
9624
9626
  default: _(() => [
9625
9627
  p(g, {
9626
9628
  modelValue: o.value.name,
@@ -9631,7 +9633,7 @@ const Kn = /* @__PURE__ */ Z(Wn, [["__scopeId", "data-v-654636f2"]]), Ht = (a) =
9631
9633
  ]),
9632
9634
  _: 1
9633
9635
  }),
9634
- p(m, { label: "\u5907\u6CE8" }, {
9636
+ p(f, { label: "\u5907\u6CE8" }, {
9635
9637
  default: _(() => [
9636
9638
  p(g, {
9637
9639
  modelValue: o.value.remark,
@@ -9662,7 +9664,7 @@ const sr = /* @__PURE__ */ Z(lr, [["__scopeId", "data-v-84511eec"]]), or = (a) =
9662
9664
  l = (B = (S = e == null ? void 0 : e.value) == null ? void 0 : S.plot) == null ? void 0 : B.getGraphicById(s.record[t].editingGraphicId), l._positions_draw ? i.value = l._positions_draw.map((J) => {
9663
9665
  let j = U.Cesium.Cartographic.fromCartesian(J), h = U.Cesium.Math.toDegrees(j.latitude), v = U.Cesium.Math.toDegrees(j.longitude), L = j.height;
9664
9666
  return [v, h, L];
9665
- }) : i.value = l.coordinates, i.value.length < m() && (c.value = !0), l.coordinates && (n.value = !0, ((k = l.style) != null && k.clampToGround || o.indexOf(l.type) != -1) && (n.value = !1));
9667
+ }) : i.value = l.coordinates, i.value.length < f() && (c.value = !0), l.coordinates && (n.value = !0, ((k = l.style) != null && k.clampToGround || o.indexOf(l.type) != -1) && (n.value = !1));
9666
9668
  };
9667
9669
  Ae(() => {
9668
9670
  var S;
@@ -9677,7 +9679,7 @@ const sr = /* @__PURE__ */ Z(lr, [["__scopeId", "data-v-84511eec"]]), or = (a) =
9677
9679
  ), ke(() => {
9678
9680
  d();
9679
9681
  });
9680
- const m = () => l && l._maxPointNum ? l._maxPointNum : 999, f = () => l && l._maxPointNum ? l._minPointNum : 1, d = () => {
9682
+ const f = () => l && l._maxPointNum ? l._maxPointNum : 999, m = () => l && l._maxPointNum ? l._minPointNum : 1, d = () => {
9681
9683
  let S = [];
9682
9684
  _e(".coordinates-latlngs input").each(function() {
9683
9685
  S.push(Number(_e(this).val()));
@@ -9703,7 +9705,7 @@ const sr = /* @__PURE__ */ Z(lr, [["__scopeId", "data-v-84511eec"]]), or = (a) =
9703
9705
  d();
9704
9706
  }, 500);
9705
9707
  }, D = (S) => {
9706
- let B = f();
9708
+ let B = m();
9707
9709
  if (i.value.length <= B) {
9708
9710
  X({
9709
9711
  message: `\u6700\u5C11\u4FDD\u7559${B}\u4E2A\u70B9`,
@@ -9847,19 +9849,19 @@ const fr = /* @__PURE__ */ Z(mr, [["__scopeId", "data-v-2e4c272c"]]), gr = { cla
9847
9849
  labelStyle: !0
9848
9850
  }), n = M({}), c = M({}), i = M({});
9849
9851
  Ae(() => {
9850
- var f;
9851
- (f = e == null ? void 0 : e.value) == null || f.inited().then(() => {
9852
+ var m;
9853
+ (m = e == null ? void 0 : e.value) == null || m.inited().then(() => {
9852
9854
  g();
9853
9855
  });
9854
9856
  });
9855
9857
  const g = () => {
9856
- var f, d, r, b, C, A;
9857
- s = (d = (f = e == null ? void 0 : e.value) == null ? void 0 : f.plot) == null ? void 0 : d.getGraphicById(o.record[t].editingGraphicId), console.log(s), s != null && s.type && (n.value = (C = l[((b = (r = s.attr) == null ? void 0 : r.attrOri) == null ? void 0 : b.edittype) || s.type]) == null ? void 0 : C.style, c.value = (A = l.label) == null ? void 0 : A.style, i.value = He(s.style), console.log(n.value), console.log(i.value));
9858
- }, m = () => {
9859
- const f = He(i.value);
9860
- s.setStyle(f);
9858
+ var m, d, r, b, C, A;
9859
+ s = (d = (m = e == null ? void 0 : e.value) == null ? void 0 : m.plot) == null ? void 0 : d.getGraphicById(o.record[t].editingGraphicId), console.log(s), s != null && s.type && (n.value = (C = l[((b = (r = s.attr) == null ? void 0 : r.attrOri) == null ? void 0 : b.edittype) || s.type]) == null ? void 0 : C.style, c.value = (A = l.label) == null ? void 0 : A.style, i.value = He(s.style), console.log(n.value), console.log(i.value));
9860
+ }, f = () => {
9861
+ const m = He(i.value);
9862
+ s.setStyle(m);
9861
9863
  };
9862
- return (f, d) => {
9864
+ return (m, d) => {
9863
9865
  const r = P("el-color-picker"), b = P("el-switch"), C = P("el-slider"), A = P("el-option"), w = P("el-select"), D = P("el-input"), S = P("el-input-number");
9864
9866
  return F(), x("div", gr, [
9865
9867
  y("div", pr, [
@@ -9879,7 +9881,7 @@ const fr = /* @__PURE__ */ Z(mr, [["__scopeId", "data-v-2e4c272c"]]), gr = { cla
9879
9881
  modelValue: i.value[B.name],
9880
9882
  "onUpdate:modelValue": (k) => i.value[B.name] = k,
9881
9883
  "show-alpha": "",
9882
- onChange: m
9884
+ onChange: f
9883
9885
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
9884
9886
  B.type == "radio" ? (F(), R(b, {
9885
9887
  key: 1,
@@ -9888,7 +9890,7 @@ const fr = /* @__PURE__ */ Z(mr, [["__scopeId", "data-v-2e4c272c"]]), gr = { cla
9888
9890
  "inline-prompt": "",
9889
9891
  "active-text": "\u662F",
9890
9892
  "inactive-text": "\u5426",
9891
- onChange: m
9893
+ onChange: f
9892
9894
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
9893
9895
  B.type == "slider" ? (F(), R(C, {
9894
9896
  key: 2,
@@ -9897,14 +9899,14 @@ const fr = /* @__PURE__ */ Z(mr, [["__scopeId", "data-v-2e4c272c"]]), gr = { cla
9897
9899
  min: 0,
9898
9900
  max: 1,
9899
9901
  step: 0.01,
9900
- onChange: m
9902
+ onChange: f
9901
9903
  }, null, 8, ["modelValue", "onUpdate:modelValue", "step"])) : V("", !0),
9902
9904
  B.type == "combobox" ? (F(), R(w, {
9903
9905
  key: 3,
9904
9906
  modelValue: i.value[B.name],
9905
9907
  "onUpdate:modelValue": (k) => i.value[B.name] = k,
9906
9908
  clearable: "",
9907
- onChange: m
9909
+ onChange: f
9908
9910
  }, {
9909
9911
  default: _(() => [
9910
9912
  (F(!0), x(oe, null, re(B.data, (k) => (F(), R(A, {
@@ -9920,25 +9922,25 @@ const fr = /* @__PURE__ */ Z(mr, [["__scopeId", "data-v-2e4c272c"]]), gr = { cla
9920
9922
  modelValue: i.value[B.name],
9921
9923
  "onUpdate:modelValue": (k) => i.value[B.name] = k,
9922
9924
  type: "textarea",
9923
- onChange: m
9925
+ onChange: f
9924
9926
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
9925
9927
  B.type == "label" ? (F(), R(D, {
9926
9928
  key: 5,
9927
9929
  modelValue: i.value[B.name],
9928
9930
  "onUpdate:modelValue": (k) => i.value[B.name] = k,
9929
- onChange: m
9931
+ onChange: f
9930
9932
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
9931
9933
  B.type == "text" ? (F(), R(D, {
9932
9934
  key: 6,
9933
9935
  modelValue: i.value[B.name],
9934
9936
  "onUpdate:modelValue": (k) => i.value[B.name] = k,
9935
- onChange: m
9937
+ onChange: f
9936
9938
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
9937
9939
  B.type == "number" ? (F(), R(S, {
9938
9940
  key: 7,
9939
9941
  modelValue: i.value[B.name],
9940
9942
  "onUpdate:modelValue": (k) => i.value[B.name] = k,
9941
- onChange: m
9943
+ onChange: f
9942
9944
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : V("", !0)
9943
9945
  ])
9944
9946
  ], 8, hr)), [
@@ -9964,7 +9966,7 @@ const fr = /* @__PURE__ */ Z(mr, [["__scopeId", "data-v-2e4c272c"]]), gr = { cla
9964
9966
  modelValue: i.value.label[B.name],
9965
9967
  "onUpdate:modelValue": (k) => i.value.label[B.name] = k,
9966
9968
  "show-alpha": "",
9967
- onChange: m
9969
+ onChange: f
9968
9970
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
9969
9971
  B.type == "radio" ? (F(), R(b, {
9970
9972
  key: 1,
@@ -9973,7 +9975,7 @@ const fr = /* @__PURE__ */ Z(mr, [["__scopeId", "data-v-2e4c272c"]]), gr = { cla
9973
9975
  "inline-prompt": "",
9974
9976
  "active-text": "\u662F",
9975
9977
  "inactive-text": "\u5426",
9976
- onChange: m
9978
+ onChange: f
9977
9979
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
9978
9980
  B.type == "slider" ? (F(), R(C, {
9979
9981
  key: 2,
@@ -9982,14 +9984,14 @@ const fr = /* @__PURE__ */ Z(mr, [["__scopeId", "data-v-2e4c272c"]]), gr = { cla
9982
9984
  min: 0,
9983
9985
  max: 1,
9984
9986
  step: 0.01,
9985
- onChange: m
9987
+ onChange: f
9986
9988
  }, null, 8, ["modelValue", "onUpdate:modelValue", "step"])) : V("", !0),
9987
9989
  B.type == "combobox" ? (F(), R(w, {
9988
9990
  key: 3,
9989
9991
  modelValue: i.value.label[B.name],
9990
9992
  "onUpdate:modelValue": (k) => i.value.label[B.name] = k,
9991
9993
  clearable: "",
9992
- onChange: m
9994
+ onChange: f
9993
9995
  }, {
9994
9996
  default: _(() => [
9995
9997
  (F(!0), x(oe, null, re(B.data, (k) => (F(), R(A, {
@@ -10005,25 +10007,25 @@ const fr = /* @__PURE__ */ Z(mr, [["__scopeId", "data-v-2e4c272c"]]), gr = { cla
10005
10007
  modelValue: i.value.label[B.name],
10006
10008
  "onUpdate:modelValue": (k) => i.value.label[B.name] = k,
10007
10009
  type: "textarea",
10008
- onChange: m
10010
+ onChange: f
10009
10011
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
10010
10012
  B.type == "label" ? (F(), R(D, {
10011
10013
  key: 5,
10012
10014
  modelValue: i.value[B.name],
10013
10015
  "onUpdate:modelValue": (k) => i.value[B.name] = k,
10014
- onChange: m
10016
+ onChange: f
10015
10017
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
10016
10018
  B.type == "text" ? (F(), R(D, {
10017
10019
  key: 6,
10018
10020
  modelValue: i.value[B.name],
10019
10021
  "onUpdate:modelValue": (k) => i.value[B.name] = k,
10020
- onChange: m
10022
+ onChange: f
10021
10023
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
10022
10024
  B.type == "number" ? (F(), R(S, {
10023
10025
  key: 7,
10024
10026
  modelValue: i.value.label[B.name],
10025
10027
  "onUpdate:modelValue": (k) => i.value.label[B.name] = k,
10026
- onChange: m
10028
+ onChange: f
10027
10029
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : V("", !0)
10028
10030
  ])
10029
10031
  ], 8, _r)), [
@@ -10110,7 +10112,7 @@ const Sr = /* @__PURE__ */ Z(kr, [["__scopeId", "data-v-da5bbe8f"]]), jr = (a) =
10110
10112
  var h;
10111
10113
  (h = e == null ? void 0 : e.value) == null || h.inited().then(() => {
10112
10114
  var v, L;
10113
- f(), (L = (v = e == null ? void 0 : e.value) == null ? void 0 : v.plot) == null || L.init();
10115
+ m(), (L = (v = e == null ? void 0 : e.value) == null ? void 0 : v.plot) == null || L.init();
10114
10116
  });
10115
10117
  });
10116
10118
  const s = be(() => Boolean(l.record[t].editingGraphicId)), o = M("\u8D44\u6E90\u5217\u8868");
@@ -10126,9 +10128,9 @@ const Sr = /* @__PURE__ */ Z(kr, [["__scopeId", "data-v-da5bbe8f"]]), jr = (a) =
10126
10128
  ht(Ea, i);
10127
10129
  const g = (h) => {
10128
10130
  c.value = h || {}, c.value.clear = !c.value.overly, c.value.flyTo = !0, _e("#input_plot_file").trigger("click");
10129
- }, m = () => {
10130
- window.addEventListener ? document.getElementById("input_plot_file").value = "" : document.getElementById("input_plot_file").outerHTML += "";
10131
10131
  }, f = () => {
10132
+ window.addEventListener ? document.getElementById("input_plot_file").value = "" : document.getElementById("input_plot_file").outerHTML += "";
10133
+ }, m = () => {
10132
10134
  _e("#input_plot_file").on("change", function(h) {
10133
10135
  var N, H;
10134
10136
  let v = this.files[0], L = v.name, z = L.substring(L.lastIndexOf(".") + 1, L.length).toLowerCase();
@@ -10137,7 +10139,7 @@ const Sr = /* @__PURE__ */ Z(kr, [["__scopeId", "data-v-da5bbe8f"]]), jr = (a) =
10137
10139
  T.readAsText(v, "UTF-8"), T.onloadend = function(I) {
10138
10140
  var le, ne;
10139
10141
  let ee = this.result;
10140
- (ne = (le = e == null ? void 0 : e.value) == null ? void 0 : le.plot) == null || ne.loadGeoJSON(ee, c.value), m();
10142
+ (ne = (le = e == null ? void 0 : e.value) == null ? void 0 : le.plot) == null || ne.loadGeoJSON(ee, c.value), f();
10141
10143
  };
10142
10144
  } else if (z == "kml") {
10143
10145
  let T = new FileReader();
@@ -10146,12 +10148,12 @@ const Sr = /* @__PURE__ */ Z(kr, [["__scopeId", "data-v-da5bbe8f"]]), jr = (a) =
10146
10148
  Jt.toGeoJSON(ee).then((le) => {
10147
10149
  var ne, he;
10148
10150
  console.log("kml2geojson", le), (he = (ne = e == null ? void 0 : e.value) == null ? void 0 : ne.plot) == null || he.loadGeoJSON(le, c.value);
10149
- }), m();
10151
+ }), f();
10150
10152
  };
10151
10153
  } else
10152
10154
  z == "kmz" ? Jt.toGeoJSON(v).then((T) => {
10153
10155
  var I, ee;
10154
- console.log("kmz2geojson", T), (ee = (I = e == null ? void 0 : e.value) == null ? void 0 : I.plot) == null || ee.loadGeoJSON(T, c.value), m();
10156
+ console.log("kmz2geojson", T), (ee = (I = e == null ? void 0 : e.value) == null ? void 0 : I.plot) == null || ee.loadGeoJSON(T, c.value), f();
10155
10157
  }) : X({
10156
10158
  message: "\u6682\u4E0D\u652F\u6301 " + z + " \u6587\u4EF6\u7C7B\u578B\u7684\u6570\u636E\uFF01",
10157
10159
  type: "error"
@@ -10320,20 +10322,20 @@ const Vr = /* @__PURE__ */ Z(zr, [["__scopeId", "data-v-2b446e23"]]), Ir = {
10320
10322
  isActiveRef: c,
10321
10323
  isRenderRef: i,
10322
10324
  shrinkWindow: g,
10323
- closeWindow: m
10325
+ closeWindow: f
10324
10326
  } = Te(s, t, l);
10325
- return (f, d) => E(n) && E(i) ? Y((F(), R(De, {
10327
+ return (m, d) => E(n) && E(i) ? Y((F(), R(De, {
10326
10328
  key: 0,
10327
10329
  id: E(o),
10328
10330
  class: "sat-plot",
10329
10331
  "is-minimize": !0,
10330
10332
  "is-close": !0,
10331
10333
  "minimize-event": E(g),
10332
- "close-event": E(m),
10334
+ "close-event": E(f),
10333
10335
  title: E(u)
10334
10336
  }, {
10335
10337
  default: _(() => [
10336
- de(f.$slots, "default"),
10338
+ de(m.$slots, "default"),
10337
10339
  p(Vr)
10338
10340
  ]),
10339
10341
  _: 3
@@ -10358,20 +10360,20 @@ const Vr = /* @__PURE__ */ Z(zr, [["__scopeId", "data-v-2b446e23"]]), Ir = {
10358
10360
  isActiveRef: c,
10359
10361
  isRenderRef: i,
10360
10362
  shrinkWindow: g,
10361
- closeWindow: m
10363
+ closeWindow: f
10362
10364
  } = Te(s, t, l);
10363
- return (f, d) => E(n) && E(i) ? Y((F(), R(De, {
10365
+ return (m, d) => E(n) && E(i) ? Y((F(), R(De, {
10364
10366
  key: 0,
10365
10367
  id: E(o),
10366
10368
  class: "sat-roam",
10367
10369
  "is-minimize": !0,
10368
10370
  "is-close": !0,
10369
10371
  "minimize-event": E(g),
10370
- "close-event": E(m),
10372
+ "close-event": E(f),
10371
10373
  title: E(u)
10372
10374
  }, {
10373
10375
  default: _(() => [
10374
- de(f.$slots, "default")
10376
+ de(m.$slots, "default")
10375
10377
  ]),
10376
10378
  _: 3
10377
10379
  }, 8, ["id", "minimize-event", "close-event", "title"])), [
@@ -10395,20 +10397,20 @@ const Vr = /* @__PURE__ */ Z(zr, [["__scopeId", "data-v-2b446e23"]]), Ir = {
10395
10397
  isActiveRef: c,
10396
10398
  isRenderRef: i,
10397
10399
  shrinkWindow: g,
10398
- closeWindow: m
10400
+ closeWindow: f
10399
10401
  } = Te(s, t, l);
10400
- return (f, d) => E(n) && E(i) ? Y((F(), R(De, {
10402
+ return (m, d) => E(n) && E(i) ? Y((F(), R(De, {
10401
10403
  key: 0,
10402
10404
  id: E(o),
10403
10405
  class: "sat-video-fusion",
10404
10406
  "is-minimize": !0,
10405
10407
  "is-close": !0,
10406
10408
  "minimize-event": E(g),
10407
- "close-event": E(m),
10409
+ "close-event": E(f),
10408
10410
  title: E(u)
10409
10411
  }, {
10410
10412
  default: _(() => [
10411
- de(f.$slots, "default")
10413
+ de(m.$slots, "default")
10412
10414
  ]),
10413
10415
  _: 3
10414
10416
  }, 8, ["id", "minimize-event", "close-event", "title"])), [
@@ -10488,10 +10490,10 @@ const ld = (a) => (Fe("data-v-90dd78ae"), a = a(), Ce(), a), sd = /* @__PURE__ *
10488
10490
  }), i = eo(["SatGlobe"]), g = be(() => {
10489
10491
  let d = [];
10490
10492
  return i ? d = [].concat(c.value).concat(e.taskViewList) : d = [].concat(e.taskViewList), d;
10491
- }), m = (d) => {
10493
+ }), f = (d) => {
10492
10494
  var r;
10493
10495
  (r = d == null ? void 0 : d.onDestroy) == null || r.call(d), g.value.length == 0 && o(!1);
10494
- }, f = (d) => {
10496
+ }, m = (d) => {
10495
10497
  var r;
10496
10498
  (r = d == null ? void 0 : d.onActive) == null || r.call(d), o(!1);
10497
10499
  };
@@ -10536,7 +10538,7 @@ const ld = (a) => (Fe("data-v-90dd78ae"), a = a(), Ce(), a), sd = /* @__PURE__ *
10536
10538
  }),
10537
10539
  onMouseenter: (S) => u.value = D,
10538
10540
  onMouseleave: r[1] || (r[1] = (S) => u.value = void 0),
10539
- onClick: yt((S) => f(D), ["stop"])
10541
+ onClick: yt((S) => m(D), ["stop"])
10540
10542
  }, [
10541
10543
  y("div", ud, [
10542
10544
  D.faClass ? (F(), x("i", {
@@ -10552,7 +10554,7 @@ const ld = (a) => (Fe("data-v-90dd78ae"), a = a(), Ce(), a), sd = /* @__PURE__ *
10552
10554
  }, ie(D.label), 13, id),
10553
10555
  Y(y("div", {
10554
10556
  class: "close-area",
10555
- onClick: yt((S) => m(D), ["stop"])
10557
+ onClick: yt((S) => f(D), ["stop"])
10556
10558
  }, [
10557
10559
  Y(y("i", rd, null, 512), [
10558
10560
  [q, u.value && u.value.name == D.name]