@zhangdali1996/lr-map-viewer 0.0.68 → 0.0.69

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.
@@ -21,7 +21,7 @@ var ne = Object.create, re = Object.defineProperty, ie = Object.getOwnPropertyDe
21
21
  }) : n, e)), ue = {
22
22
  name: "@zhangdali1996/lr-map-viewer",
23
23
  private: !1,
24
- version: "0.0.67",
24
+ version: "0.0.68",
25
25
  type: "module",
26
26
  files: ["dist"],
27
27
  main: "./dist/lr-map-viewer.js",
@@ -54189,10 +54189,20 @@ function Qj() {
54189
54189
  }
54190
54190
  function $j() {
54191
54191
  return {
54192
+ accidentPointRelativePosition: {
54193
+ x: 5034.721949448015,
54194
+ y: 3168.7339846887357,
54195
+ z: 33.11100006103521
54196
+ },
54192
54197
  accidentPointAbsolutePosition: {
54193
- x: 37402721.37,
54194
- y: 4277713.68,
54195
- z: 966.32
54198
+ x: 37407660.81,
54199
+ y: 4279565.34,
54200
+ z: 1003.84
54201
+ },
54202
+ accidentPointPickObjectMatchInfo: {
54203
+ entityId: 435,
54204
+ layerName: "三维巷道中心线CJTK0220CSW",
54205
+ name: "巷道"
54196
54206
  },
54197
54207
  exitPathAccidentRoutePointAbsolutePosition: {
54198
54208
  x: 37401528.5,
@@ -63368,14 +63378,14 @@ function WW(e = {}) {
63368
63378
  }
63369
63379
  te(() => c.value, () => {
63370
63380
  if (w > 0) {
63371
- --w, F.value && l.value && X(l.value, e.rangeSelectionTypes?.DEFAULT);
63381
+ --w, F.value && l.value && Pe(l.value, e.rangeSelectionTypes?.DEFAULT);
63372
63382
  return;
63373
63383
  }
63374
63384
  if (!F.value || !l.value) {
63375
63385
  ge("radius-change");
63376
63386
  return;
63377
63387
  }
63378
- X(l.value, e.rangeSelectionTypes?.DEFAULT), ge("radius-change"), q();
63388
+ Pe(l.value, e.rangeSelectionTypes?.DEFAULT), ge("radius-change"), q();
63379
63389
  }), te(() => h.value, () => {
63380
63390
  T > 0 && --T;
63381
63391
  });
@@ -63530,7 +63540,42 @@ function WW(e = {}) {
63530
63540
  return !t?.visible || Ce(t) || !we(t) ? !1 : FU(e?.point);
63531
63541
  }) ?? null;
63532
63542
  }
63533
- function Ee(t) {
63543
+ function Ee(e) {
63544
+ return e == null ? "" : String(e).trim();
63545
+ }
63546
+ function De(e = null) {
63547
+ if (!e || typeof e != "object" || Array.isArray(e)) return null;
63548
+ let t = {
63549
+ entityId: Ee(e.entityId ?? e.id),
63550
+ layerName: Ee(e.layerName),
63551
+ name: Ee(e.name)
63552
+ };
63553
+ return !t.entityId && !t.layerName && !t.name ? null : t;
63554
+ }
63555
+ function Oe(e, t) {
63556
+ if (!t) return !1;
63557
+ let n = Ee(e?.id), r = Ee(e?.layerName), i = Ee(e?.name);
63558
+ return !(t.entityId && n !== t.entityId || t.layerName && r !== t.layerName || t.name && i !== t.name);
63559
+ }
63560
+ function ke(t = null, n = null) {
63561
+ let r = De(t);
63562
+ if (!r) return null;
63563
+ let i = K();
63564
+ if (!i) return null;
63565
+ let a = null, o = Infinity;
63566
+ return i.updateMatrixWorld?.(!0), i.traverse?.((t) => {
63567
+ if (!t?.visible || Ce(t) || !we(t)) return;
63568
+ let i = e.resolveModelInfoPayload?.(t, "range-selection-match") ?? null;
63569
+ if (!Oe(i, r)) return;
63570
+ if (!FU(n) || !FU(i?.position)) {
63571
+ a ||= t;
63572
+ return;
63573
+ }
63574
+ let s = Number(i.position.x) - Number(n.x), c = Number(i.position.y) - Number(n.y), l = Number(i.position.z) - Number(n.z), u = s ** 2 + c ** 2 + l ** 2;
63575
+ u < o && (o = u, a = t);
63576
+ }), a;
63577
+ }
63578
+ function Ae(t) {
63534
63579
  if (!FU(t)) return null;
63535
63580
  let n = K();
63536
63581
  if (!n) return null;
@@ -63548,14 +63593,14 @@ function WW(e = {}) {
63548
63593
  n < d && (d = n, u = e);
63549
63594
  }), c ?? u;
63550
63595
  }
63551
- function De(e) {
63596
+ function X(e) {
63552
63597
  return Te(e);
63553
63598
  }
63554
- function Oe(t, n = "pick") {
63599
+ function je(t, n = "pick") {
63555
63600
  if (!FU(t?.point)) return null;
63556
63601
  let r = e.toAbsolutePosition?.(t.point);
63557
63602
  if (!r) return null;
63558
- let i = Ae(t?.object);
63603
+ let i = Ne(t?.object);
63559
63604
  return {
63560
63605
  source: n,
63561
63606
  position: r,
@@ -63564,7 +63609,7 @@ function WW(e = {}) {
63564
63609
  layerName: i?.layerName ?? ""
63565
63610
  };
63566
63611
  }
63567
- function ke(e) {
63612
+ function Me(e) {
63568
63613
  let t = i.value;
63569
63614
  if (typeof t != "function" || !e) return !1;
63570
63615
  try {
@@ -63573,7 +63618,7 @@ function WW(e = {}) {
63573
63618
  return O(`范围坐标拾取回调执行失败:${k(e)}`), !1;
63574
63619
  }
63575
63620
  }
63576
- function Ae(t) {
63621
+ function Ne(t) {
63577
63622
  let n = e.resolveModelInfoPayload?.(t, "range-selection");
63578
63623
  return n ? {
63579
63624
  id: n.id ?? "",
@@ -63581,7 +63626,7 @@ function WW(e = {}) {
63581
63626
  layerName: n.layerName ?? ""
63582
63627
  } : null;
63583
63628
  }
63584
- function X(t, n = e.rangeSelectionTypes?.DEFAULT) {
63629
+ function Pe(t, n = e.rangeSelectionTypes?.DEFAULT) {
63585
63630
  let r = K(), i = U(n), a = V(n);
63586
63631
  if (!r) throw Error("当前三维实例未提供可挂载球体的 scene");
63587
63632
  ce(n);
@@ -63595,21 +63640,21 @@ function WW(e = {}) {
63595
63640
  }), u = new o.Mesh(c, l);
63596
63641
  return u.position.set(Number(t.x), Number(t.y), Number(t.z)), s.add(u), r.add(s), i.sphereObject.value = s, cj(), s;
63597
63642
  }
63598
- function je(t) {
63643
+ function Fe(t) {
63599
63644
  let n = e.resolveLr3dCamera?.();
63600
63645
  if (!n?.position || !FU(t)) return Number(e.accidentMarkerWorldWidth) || 48;
63601
63646
  let r = e.getThreeGlobal?.(), i = new r.Vector3(Number(t.x), Number(t.y), Number(t.z)), a = n.position.clone?.() ?? new r.Vector3(Number(n.position.x ?? 0), Number(n.position.y ?? 0), Number(n.position.z ?? 0)), o = Math.min(1, Math.max(0, a.distanceTo(i) / Number(e.accidentMarkerScaleDistance || 900)));
63602
63647
  return Math.round(Number(e.accidentMarkerMinSize || 18) + (Number(e.accidentMarkerWorldWidth || 48) - Number(e.accidentMarkerMinSize || 18)) * o);
63603
63648
  }
63604
- function Me(t = Date.now()) {
63649
+ function Ie(t = Date.now()) {
63605
63650
  let n = x.value, r = g.value;
63606
63651
  if (!n || !FU(r)) return !1;
63607
- let i = je(r), a = t % Number(e.accidentPulseDurationMs || 1e3) / Number(e.accidentPulseDurationMs || 1e3), o = (Math.sin(a * Math.PI * 2) + 1) / 2, s = Number((i * (1 + o * Number(e.accidentPulseScaleAmplitude || .18))).toFixed(3)), c = Number((Number(e.accidentPulseMinOpacity || .72) + (1 - Number(e.accidentPulseMinOpacity || .72)) * o).toFixed(3));
63652
+ let i = Fe(r), a = t % Number(e.accidentPulseDurationMs || 1e3) / Number(e.accidentPulseDurationMs || 1e3), o = (Math.sin(a * Math.PI * 2) + 1) / 2, s = Number((i * (1 + o * Number(e.accidentPulseScaleAmplitude || .18))).toFixed(3)), c = Number((Number(e.accidentPulseMinOpacity || .72) + (1 - Number(e.accidentPulseMinOpacity || .72)) * o).toFixed(3));
63608
63653
  return n.children?.forEach((t) => {
63609
63654
  t?.isSprite && t?.scale?.set && (t.scale.set(s, s, 1), t.material && (t.material.opacity = c, t.material.color?.setRGB?.(Number(e.accidentPulseColor?.r ?? 1), Number(e.accidentPulseColor?.g ?? .26), Number(e.accidentPulseColor?.b ?? .26))));
63610
63655
  }), !0;
63611
63656
  }
63612
- function Ne(t, n = e.rangeSelectionTypes?.DEFAULT) {
63657
+ function Le(t, n = e.rangeSelectionTypes?.DEFAULT) {
63613
63658
  let r = K(), i = U(n), a = V(n), o = B(n);
63614
63659
  if (!r) throw Error("当前三维实例未提供可挂载选点标记的 scene");
63615
63660
  le(n);
@@ -63627,8 +63672,8 @@ function WW(e = {}) {
63627
63672
  opacity: 1,
63628
63673
  depthTest: !1,
63629
63674
  depthWrite: !1
63630
- }), o = new s.Sprite(a), u = je(t);
63631
- return o.position.copy(l), o.scale.set(u, u, 1), o.renderOrder = 1100, c.add(o), r.add(c), i.markerObject.value = c, Me(), cj(), c;
63675
+ }), o = new s.Sprite(a), u = Fe(t);
63676
+ return o.position.copy(l), o.scale.set(u, u, 1), o.renderOrder = 1100, c.add(o), r.add(c), i.markerObject.value = c, Ie(), cj(), c;
63632
63677
  }
63633
63678
  let u = new s.SphereGeometry(Number(e.markerCoreRadius || 10), 24, 20), d = new s.MeshBasicMaterial({
63634
63679
  color: a.markerColor,
@@ -63648,7 +63693,7 @@ function WW(e = {}) {
63648
63693
  }), h = new s.Mesh(p, m);
63649
63694
  return h.position.copy(l), h.renderOrder = 998, c.add(h), c.add(f), r.add(c), i.markerObject.value = c, cj(), c;
63650
63695
  }
63651
- function Pe(t, n = null, r = "pick", i = {}) {
63696
+ function Re(t, n = null, r = "pick", i = {}) {
63652
63697
  let o = i.keepPicking === !0, c = B(i.selectionType ?? s.value), l = U(c), u = V(c);
63653
63698
  if (!FU(t)) throw Error("拾取结果缺少有效三维坐标");
63654
63699
  let d = {
@@ -63656,16 +63701,16 @@ function WW(e = {}) {
63656
63701
  y: Number(t.y),
63657
63702
  z: Number(t.z)
63658
63703
  };
63659
- c === e.rangeSelectionTypes?.ACCIDENT ? ce(c) : X(d, c), Ne(d, c), l.centerRelative.value = d, l.laneInfo.value = Ae(n), l.source.value = r, l.pickObject && (l.pickObject.value = n), e.syncHighlightedLaneNameMarkers?.(), s.value = c, o ? a.value = "picking" : (a.value = "idle", ue());
63704
+ c === e.rangeSelectionTypes?.ACCIDENT ? ce(c) : Pe(d, c), Le(d, c), l.centerRelative.value = d, l.laneInfo.value = Ne(n), l.source.value = r, l.pickObject && (l.pickObject.value = n), e.syncHighlightedLaneNameMarkers?.(), s.value = c, o ? a.value = "picking" : (a.value = "idle", ue());
63660
63705
  let f = j((e.toAbsolutePosition?.(d) ?? null) || d);
63661
63706
  if (E(c === e.rangeSelectionTypes?.ACCIDENT ? "已选定事故点" : o ? `已更新${u.summaryLabel}:${l.radius.value} 米,可继续点击重新选点` : `已生成${u.summaryLabel}:${l.radius.value} 米`), D(o ? `${u.actionLabel}已更新,球心坐标:${f}` : `${u.actionLabel}完成,球心坐标:${f}`), c === e.rangeSelectionTypes?.DEFAULT) ge(r === "manual" ? "set" : "picked"), q();
63662
63707
  else if (c === e.rangeSelectionTypes?.ACCIDENT) {
63663
63708
  let t = U(e.rangeSelectionTypes?.DEFAULT);
63664
- X(d, e.rangeSelectionTypes?.DEFAULT), Ne(d, e.rangeSelectionTypes?.DEFAULT), t.centerRelative.value = { ...d }, t.laneInfo.value = Ae(n), t.source.value = r, t.pickObject && (t.pickObject.value = n), e.syncHighlightedLaneNameMarkers?.(), ge(r === "manual" ? "set" : "picked"), q();
63709
+ Pe(d, e.rangeSelectionTypes?.DEFAULT), Le(d, e.rangeSelectionTypes?.DEFAULT), t.centerRelative.value = { ...d }, t.laneInfo.value = Ne(n), t.source.value = r, t.pickObject && (t.pickObject.value = n), e.syncHighlightedLaneNameMarkers?.(), ge(r === "manual" ? "set" : "picked"), q();
63665
63710
  }
63666
63711
  return !0;
63667
63712
  }
63668
- function Fe(t = {}, n = e.rangeSelectionPickModes?.SINGLE, r = e.rangeSelectionTypes?.DEFAULT) {
63713
+ function ze(t = {}, n = e.rangeSelectionPickModes?.SINGLE, r = e.rangeSelectionTypes?.DEFAULT) {
63669
63714
  let i = typeof t == "number" ? { radius: t } : t ?? {}, c = n === e.rangeSelectionPickModes?.CONTINUOUS ? e.rangeSelectionPickModes?.CONTINUOUS : e.rangeSelectionPickModes?.SINGLE, l = B(r), u = V(l);
63670
63715
  if (!e.viewerHost?.value) return E(`${u.actionLabel}失败:未找到三维容器`), D(`${u.actionLabel}失败:未找到三维容器`), !1;
63671
63716
  if (i.radius !== void 0 && !ye(i.radius, {
@@ -63675,13 +63720,32 @@ function WW(e = {}) {
63675
63720
  ue(), e.cancelMonitorPointPlacement?.({ preserveStatus: !0 }), a.value = "picking", o.value = c, s.value = l, E(c === e.rangeSelectionPickModes?.CONTINUOUS ? `持续${u.actionLabel}中,请在三维场景内单击巷道模型` : `${u.actionLabel}中,请在三维场景内单击巷道模型`), D(c === e.rangeSelectionPickModes?.CONTINUOUS ? `已进入持续${u.actionLabel}模式,后续每次点击都会重新生成范围球` : `已进入${u.actionLabel}模式,等待点击巷道`), l === e.rangeSelectionTypes?.DEFAULT && ge("start");
63676
63721
  let d = (t) => {
63677
63722
  if (a.value !== "picking") return;
63678
- let n = De(t);
63723
+ let n = X(t);
63679
63724
  if (!n?.point) {
63680
63725
  O("本次点击未拾取到有效三维对象,请尝试直接点击巷道表面");
63681
63726
  return;
63682
63727
  }
63683
63728
  try {
63684
- Pe(n.point, n.object, "pick", {
63729
+ if (s.value === e.rangeSelectionTypes?.ACCIDENT) {
63730
+ let t = n.object ?? null, r = e.resolveModelInfoPayload?.(t, "range-selection") ?? null;
63731
+ console.log("[lr-map-viewer] 事故点重选命中对象", {
63732
+ point: n.point ? {
63733
+ x: Number(n.point.x),
63734
+ y: Number(n.point.y),
63735
+ z: Number(n.point.z)
63736
+ } : null,
63737
+ objectSummary: t ? {
63738
+ name: t.name ?? "",
63739
+ uuid: t.uuid ?? "",
63740
+ type: t.type ?? "",
63741
+ parentName: t.parent?.name ?? "",
63742
+ parentUuid: t.parent?.uuid ?? ""
63743
+ } : null,
63744
+ modelInfo: r,
63745
+ object: t
63746
+ });
63747
+ }
63748
+ Re(n.point, n.object, "pick", {
63685
63749
  keepPicking: o.value === e.rangeSelectionPickModes?.CONTINUOUS,
63686
63750
  selectionType: s.value
63687
63751
  });
@@ -63693,25 +63757,25 @@ function WW(e = {}) {
63693
63757
  e.viewerHost.value?.removeEventListener("click", d, !0);
63694
63758
  }, !0;
63695
63759
  }
63696
- function Ie(t = {}) {
63697
- return Fe(t, e.rangeSelectionPickModes?.SINGLE, e.rangeSelectionTypes?.DEFAULT);
63760
+ function Be(t = {}) {
63761
+ return ze(t, e.rangeSelectionPickModes?.SINGLE, e.rangeSelectionTypes?.DEFAULT);
63698
63762
  }
63699
- function Le(t = {}) {
63700
- return Fe(t, e.rangeSelectionPickModes?.CONTINUOUS, e.rangeSelectionTypes?.DEFAULT);
63763
+ function Ve(t = {}) {
63764
+ return ze(t, e.rangeSelectionPickModes?.CONTINUOUS, e.rangeSelectionTypes?.DEFAULT);
63701
63765
  }
63702
- function Re(t = {}) {
63703
- return Fe(t, e.rangeSelectionPickModes?.SINGLE, e.rangeSelectionTypes?.ACCIDENT);
63766
+ function He(t = {}) {
63767
+ return ze(t, e.rangeSelectionPickModes?.SINGLE, e.rangeSelectionTypes?.ACCIDENT);
63704
63768
  }
63705
- function ze(e = {}) {
63706
- return Re(e);
63769
+ function Ue(e = {}) {
63770
+ return He(e);
63707
63771
  }
63708
- function Be(t, n = {}) {
63709
- return He(t, n, e.rangeSelectionTypes?.DEFAULT);
63772
+ function We(t, n = {}) {
63773
+ return Ke(t, n, e.rangeSelectionTypes?.DEFAULT);
63710
63774
  }
63711
- function Ve(t, n = {}) {
63712
- return He(t, n, e.rangeSelectionTypes?.ACCIDENT);
63775
+ function Ge(t, n = {}) {
63776
+ return Ke(t, n, e.rangeSelectionTypes?.ACCIDENT);
63713
63777
  }
63714
- function He(t, n = {}, r = e.rangeSelectionTypes?.DEFAULT) {
63778
+ function Ke(t, n = {}, r = e.rangeSelectionTypes?.DEFAULT) {
63715
63779
  let i = n ?? {}, a = B(r), o = i.coordinateSpace === "relative" ? "relative" : "absolute";
63716
63780
  if (i.radius !== void 0 && !ye(i.radius, {
63717
63781
  silent: !0,
@@ -63731,45 +63795,45 @@ function WW(e = {}) {
63731
63795
  }
63732
63796
  ue();
63733
63797
  try {
63734
- let t = a === e.rangeSelectionTypes?.ACCIDENT ? Ee(s) : null;
63735
- return a === e.rangeSelectionTypes?.ACCIDENT && !t && D(`事故选点提示:已按坐标生成事故点,但未反查到有效巷道对象,坐标 ${j(e.toAbsolutePosition?.(s) ?? s)}`), Pe(s, t, "manual", { selectionType: a });
63798
+ let t = a === e.rangeSelectionTypes?.ACCIDENT ? i.selectedObject ?? ke(i.pickObjectMatchInfo, s) ?? Ae(s) : null;
63799
+ return a === e.rangeSelectionTypes?.ACCIDENT && !t && D(`事故选点提示:已按坐标生成事故点,但未反查到有效巷道对象,坐标 ${j(e.toAbsolutePosition?.(s) ?? s)}`), Re(s, t, "manual", { selectionType: a });
63736
63800
  } catch (e) {
63737
63801
  let t = H(a);
63738
63802
  return E(`${t}失败:${k(e)}`), D(`${t}失败:${k(e)}`), !1;
63739
63803
  }
63740
63804
  }
63741
- function Ue(e, t = {}) {
63742
- return Be(e, t);
63805
+ function qe(e, t = {}) {
63806
+ return We(e, t);
63743
63807
  }
63744
- function We(e, t = {}) {
63745
- return Ve(e, t);
63808
+ function Je(e, t = {}) {
63809
+ return Ge(e, t);
63746
63810
  }
63747
- function Ge(e) {
63811
+ function Ye(e) {
63748
63812
  if (e != null && typeof e != "function") throw Error("范围坐标拾取回调必须是函数");
63749
63813
  return i.value = typeof e == "function" ? e : null, i.value !== null;
63750
63814
  }
63751
- function Ke() {
63815
+ function Xe() {
63752
63816
  if (!e.viewerHost?.value) return E("范围坐标拾取失败:未找到三维容器"), D("范围坐标拾取失败:未找到三维容器"), !1;
63753
63817
  ue(), e.cancelMonitorPointPlacement?.({ preserveStatus: !0 }), a.value = "picking", E("范围坐标拾取中,请在三维场景内单击目标位置"), D("已进入范围坐标拾取模式,等待点击三维场景"), ge("start");
63754
63818
  let t = (e) => {
63755
63819
  if (a.value !== "picking") return;
63756
- let t = De(e);
63820
+ let t = X(e);
63757
63821
  if (!t?.point) {
63758
63822
  O("本次点击未拾取到有效三维对象,请尝试直接点击巷道或工作面表面");
63759
63823
  return;
63760
63824
  }
63761
- let n = Oe(t, "pick");
63825
+ let n = je(t, "pick");
63762
63826
  if (!n) {
63763
63827
  O("范围坐标拾取失败:无法解析绝对坐标");
63764
63828
  return;
63765
63829
  }
63766
- ue(), a.value = "idle", E(`已拾取坐标:${j(n.position)}`), D(`范围坐标拾取完成:${j(n.position)}`), ke(n), ge("coordinate-picked");
63830
+ ue(), a.value = "idle", E(`已拾取坐标:${j(n.position)}`), D(`范围坐标拾取完成:${j(n.position)}`), Me(n), ge("coordinate-picked");
63767
63831
  };
63768
63832
  return e.viewerHost.value.addEventListener("click", t, !0), C = () => {
63769
63833
  e.viewerHost.value?.removeEventListener("click", t, !0);
63770
63834
  }, !0;
63771
63835
  }
63772
- function qe(e) {
63836
+ function Ze(e) {
63773
63837
  if (!ve(e)) return E("设置范围半径失败:参数无效"), D("设置范围半径失败:参数无效"), !1;
63774
63838
  let t = F.value ? `已更新范围半径:${c.value} 米` : `已设置默认范围半径:${c.value} 米`;
63775
63839
  return E(t), D(t), !0;
@@ -63808,23 +63872,23 @@ function WW(e = {}) {
63808
63872
  getRangeSelectionResult: pe,
63809
63873
  registerRangeSelectionChange: J,
63810
63874
  registerRangeSelectionResultChange: he,
63811
- registerRangeSelectionCoordinatePick: Ge,
63812
- applyRangeSelection: Pe,
63813
- startRangeSelectionByMode: Fe,
63814
- startRangeSelection: Ie,
63815
- startContinuousRangeSelection: Le,
63816
- startAccidentRangeSelection: Re,
63817
- startContinuousAccidentRangeSelection: ze,
63875
+ registerRangeSelectionCoordinatePick: Ye,
63876
+ applyRangeSelection: Re,
63877
+ startRangeSelectionByMode: ze,
63878
+ startRangeSelection: Be,
63879
+ startContinuousRangeSelection: Ve,
63880
+ startAccidentRangeSelection: He,
63881
+ startContinuousAccidentRangeSelection: Ue,
63818
63882
  cancelRangeSelection: Se,
63819
- setRangeSelection: Be,
63820
- setRangeSelectionByCoordinate: Ue,
63821
- setAccidentRangeSelection: Ve,
63822
- setAccidentRangeSelectionByCoordinate: We,
63823
- startRangeSelectionCoordinatePick: Ke,
63824
- setRangeSelectionRadius: qe,
63883
+ setRangeSelection: We,
63884
+ setRangeSelectionByCoordinate: qe,
63885
+ setAccidentRangeSelection: Ge,
63886
+ setAccidentRangeSelectionByCoordinate: Je,
63887
+ startRangeSelectionCoordinatePick: Xe,
63888
+ setRangeSelectionRadius: Ze,
63825
63889
  clearRangeSelection: Y,
63826
63890
  clearAccidentRangeSelection: be,
63827
- updateAccidentRangeSelectionMarkerSize: Me
63891
+ updateAccidentRangeSelectionMarkerSize: Ie
63828
63892
  };
63829
63893
  }
63830
63894
  //#endregion
@@ -64385,12 +64449,15 @@ function JW(e = {}) {
64385
64449
  return typeof e.isExitPathToolEnabled == "function" ? e.isExitPathToolEnabled() : !0;
64386
64450
  }
64387
64451
  function v() {
64452
+ return String(d(e.mineId, "") ?? "").trim() === "610802024";
64453
+ }
64454
+ function y() {
64388
64455
  if (typeof window > "u") return g("避灾线路控制对象获取失败:当前环境缺少 window"), null;
64389
64456
  let t = window.lr3dapp?.editor?.manager?.modules?.exitPath;
64390
64457
  return t ? (t.tolerance = Number(e.defaultTolerance) || 16, t) : (g(`避灾线路控制对象获取失败:未找到 ${e.modulePath || "window[\"lr3dapp\"].editor.manager.modules.exitPath"}`), null);
64391
64458
  }
64392
- async function y(e, t, n = null, r = []) {
64393
- let i = n ?? v();
64459
+ async function b(e, t, n = null, r = []) {
64460
+ let i = n ?? y();
64394
64461
  if (!i) return !1;
64395
64462
  let a = i[e];
64396
64463
  if (typeof a != "function") return g(`避灾线路操作失败:控制对象缺少 ${e} 方法`), !1;
@@ -64401,7 +64468,7 @@ function JW(e = {}) {
64401
64468
  return typeof t == "string" && t.includes("Cannot destructure property 'path'") && t.includes("pathFinder.calculate") ? (g("避灾线路生成失败"), !1) : (g(`避灾线路操作失败:${t}`), !1);
64402
64469
  }
64403
64470
  }
64404
- function b(t) {
64471
+ function x(t) {
64405
64472
  let n = t?.point, r = typeof t?.label == "string" ? t.label.trim() : "";
64406
64473
  if (!n || !Number.isFinite(n.x) || !Number.isFinite(n.y) || !Number.isFinite(n.z)) return;
64407
64474
  c += 1;
@@ -64413,36 +64480,36 @@ function JW(e = {}) {
64413
64480
  z: n.z
64414
64481
  }
64415
64482
  });
64416
- se(i, {
64483
+ ce(i, {
64417
64484
  markerType: "exit-path-route-point",
64418
64485
  markerText: r || `途经点${c}`
64419
64486
  });
64420
64487
  }
64421
- function x() {}
64422
- function S(e = a.value) {
64488
+ function S() {}
64489
+ function C(e = a.value) {
64423
64490
  if (!Array.isArray(e) || e.length === 0) return !1;
64424
64491
  let t = !1;
64425
64492
  return e.forEach((e) => {
64426
64493
  !Array.isArray(e?.textMarkers) || e.textMarkers.length === 0 || (e.textMarkers.forEach((e) => {
64427
- e?.removeFromParent?.(), ce(e), t = !0;
64494
+ e?.removeFromParent?.(), le(e), t = !0;
64428
64495
  }), e.textMarkers = []);
64429
64496
  }), t && cj(), t;
64430
64497
  }
64431
- function C() {
64498
+ function w() {
64432
64499
  if (!Array.isArray(a.value) || a.value.length === 0) return !1;
64433
- S(a.value);
64500
+ C(a.value);
64434
64501
  let t = !1;
64435
64502
  return a.value.forEach((n) => {
64436
64503
  let r = n?.routeObject;
64437
64504
  r && (r.parent?.remove?.(r), e.disposeThreeObject?.(r), t = !0);
64438
64505
  }), a.value = [], t && cj(), t;
64439
64506
  }
64440
- function w() {
64507
+ function T() {
64441
64508
  return typeof window > "u" || s === 0 ? !1 : (window.cancelAnimationFrame(s), s = 0, !0);
64442
64509
  }
64443
- function T() {
64510
+ function E() {
64444
64511
  if (typeof window > "u") return !1;
64445
- w();
64512
+ T();
64446
64513
  let e = () => {
64447
64514
  a.value.forEach((e) => {
64448
64515
  e?.routeObject?.traverse?.((e) => {
@@ -64453,22 +64520,22 @@ function JW(e = {}) {
64453
64520
  };
64454
64521
  return s = window.requestAnimationFrame(e), !0;
64455
64522
  }
64456
- function E() {
64457
- return _() ? (n.value = !n.value, !0) : !1;
64458
- }
64459
64523
  function D() {
64460
- return _() ? (n.value = !0, !0) : !1;
64524
+ return _() ? (n.value = !n.value, !0) : !1;
64461
64525
  }
64462
64526
  function O() {
64463
- return n.value = !1, !0;
64527
+ return _() ? (n.value = !0, !0) : !1;
64464
64528
  }
64465
64529
  function k() {
64466
- return y("startSelectRoute", "已进入避灾线路途经点拾取流程", null, [b]);
64530
+ return n.value = !1, !0;
64467
64531
  }
64468
64532
  function j() {
64469
- return y("startSelectObstacle", "已进入避灾线路障碍路段拾取流程", null, [x]);
64533
+ return b("startSelectRoute", "已进入避灾线路途经点拾取流程", null, [x]);
64534
+ }
64535
+ function M() {
64536
+ return b("startSelectObstacle", "已进入避灾线路障碍路段拾取流程", null, [S]);
64470
64537
  }
64471
- function M(t, n = {}) {
64538
+ function N(t, n = {}) {
64472
64539
  let r = n ?? {}, i = r.coordinateSpace === "relative" ? "relative" : "absolute", a = r.pointLabel || "坐标点", o = e.parseCoordinateText?.(t) ?? [];
64473
64540
  if (o.length < 3) throw Error(`${a}坐标无效,必须包含 x、y、z 三个数值`);
64474
64541
  let [s, c, l] = o;
@@ -64495,19 +64562,19 @@ function JW(e = {}) {
64495
64562
  selectedObject: m
64496
64563
  };
64497
64564
  }
64498
- function N(e, t = {}) {
64565
+ function P(e, t = {}) {
64499
64566
  if (!Array.isArray(e) || e.length < 2) throw Error("避灾线路坐标数组至少需要包含两个坐标点");
64500
- return e.map((e, n) => M(e, {
64567
+ return e.map((e, n) => N(e, {
64501
64568
  coordinateSpace: t?.coordinateSpace,
64502
64569
  pointLabel: `第${n + 1}个点`
64503
64570
  }));
64504
64571
  }
64505
- function P(e = null) {
64506
- return y("endSelect", "已结束避灾线路拾取流程", e);
64572
+ function F(e = null) {
64573
+ return b("endSelect", "已结束避灾线路拾取流程", e);
64507
64574
  }
64508
- async function F(t) {
64575
+ async function I(t) {
64509
64576
  if (!t) return !1;
64510
- fe();
64577
+ pe();
64511
64578
  try {
64512
64579
  typeof t.endSelect == "function" && await Promise.resolve(t.endSelect.call(t));
64513
64580
  } catch (e) {
@@ -64530,63 +64597,60 @@ function JW(e = {}) {
64530
64597
  }
64531
64598
  return i.value = !1, c = 0, e.clearLr3dTextMarkers?.(), !0;
64532
64599
  }
64533
- function I(e) {
64600
+ function ee(e) {
64534
64601
  let t = e?.pathMesh?.material;
64535
64602
  return !t?.color || typeof t.color.set != "function" ? !1 : (t.color.set(0, 1, 0), !0);
64536
64603
  }
64537
- async function ee() {
64604
+ async function R() {
64538
64605
  if (r.value) return !1;
64539
64606
  r.value = !0, f("正在生成避灾线路"), p(e.workfacePanelStatus?.value ?? "");
64540
64607
  try {
64541
- let t = v();
64542
- if (!t || !await P(t)) return !1;
64608
+ let t = y();
64609
+ if (!t || !await F(t)) return !1;
64543
64610
  Array.isArray(t.selectObjsRoute) && t.selectObjsRoute.length > 0 && t.selectObjsRoute.forEach((t, n) => {
64544
64611
  typeof t?.label == "string" && t.label.trim() ? t.label.trim() : `${n + 1}`;
64545
64612
  let r = t?.point ?? {};
64546
64613
  e.isVectorLike?.(r) && e.toAbsolutePosition?.(r);
64547
64614
  });
64548
- let n = de();
64615
+ let n = fe();
64549
64616
  f("正在生成避灾线路"), p(e.workfacePanelStatus?.value ?? "");
64550
- let r = await y("compute", "避灾线路已生成", t);
64551
- return r && (I(t), pe(n), i.value = !0), r;
64617
+ let r = await b("compute", "避灾线路已生成", t);
64618
+ return r && (ee(t), me(n), i.value = !0), r;
64552
64619
  } finally {
64553
64620
  r.value = !1;
64554
64621
  }
64555
64622
  }
64556
- function R() {
64623
+ function z() {
64557
64624
  if (o.value === "custom-fixed-routes") {
64558
- let t = w();
64625
+ let t = T();
64559
64626
  return t && (f("已暂停避灾线路"), p(e.workfacePanelStatus?.value ?? "")), t;
64560
64627
  }
64561
- return y("pause", "已暂停避灾线路");
64628
+ return b("pause", "已暂停避灾线路");
64562
64629
  }
64563
- function z() {
64630
+ function B() {
64564
64631
  if (o.value === "custom-fixed-routes") {
64565
- let t = T();
64632
+ let t = E();
64566
64633
  return t && (f("已继续避灾线路"), p(e.workfacePanelStatus?.value ?? "")), t;
64567
64634
  }
64568
- return y("resume", "已继续避灾线路");
64635
+ return b("resume", "已继续避灾线路");
64569
64636
  }
64570
- async function B() {
64571
- if (fe(), o.value === "custom-fixed-routes") {
64572
- w();
64573
- let t = v();
64637
+ async function V() {
64638
+ if (pe(), o.value === "custom-fixed-routes") {
64639
+ T();
64640
+ let t = y();
64574
64641
  if (t) try {
64575
- await F(t);
64642
+ await I(t);
64576
64643
  } catch {}
64577
- return C(), r.value = !1, i.value = !1, o.value = "", c = 0, l = [], e.clearLr3dTextMarkers?.(), f("已清除避灾线路"), p(e.workfacePanelStatus?.value ?? ""), !0;
64644
+ return w(), r.value = !1, i.value = !1, o.value = "", c = 0, l = [], e.clearLr3dTextMarkers?.(), f("已清除避灾线路"), p(e.workfacePanelStatus?.value ?? ""), !0;
64578
64645
  }
64579
- let t = await y("clear", "已清除避灾线路");
64646
+ let t = await b("clear", "已清除避灾线路");
64580
64647
  return t && (r.value = !1, i.value = !1, o.value = "", c = 0, l = [], e.clearLr3dTextMarkers?.()), t;
64581
64648
  }
64582
- function V() {
64583
- return k();
64584
- }
64585
64649
  function H() {
64586
64650
  return j();
64587
64651
  }
64588
64652
  function W() {
64589
- return ee();
64653
+ return M();
64590
64654
  }
64591
64655
  function ne() {
64592
64656
  return R();
@@ -64597,40 +64661,43 @@ function JW(e = {}) {
64597
64661
  function ie() {
64598
64662
  return B();
64599
64663
  }
64600
- async function ae(t, n = {}) {
64664
+ function ae() {
64665
+ return V();
64666
+ }
64667
+ async function oe(t, n = {}) {
64601
64668
  if (r.value) return !1;
64602
64669
  r.value = !0, f("正在根据坐标生成避灾线路"), p(e.workfacePanelStatus?.value ?? "");
64603
64670
  try {
64604
- let r = v();
64671
+ let r = y();
64605
64672
  if (!r) return !1;
64606
- let a = n?.coordinateSpace === "relative" ? "relative" : "absolute", s = n?.viewInfoAfterCompute ?? null, c = N(t, { coordinateSpace: a });
64673
+ let a = n?.coordinateSpace === "relative" ? "relative" : "absolute", s = n?.viewInfoAfterCompute ?? null, c = P(t, { coordinateSpace: a });
64607
64674
  c.forEach((e, t) => {
64608
64675
  typeof e?.payload?.label == "string" && e.payload.label.trim() ? e.payload.label.trim() : `${t + 1}`, e?.payload?.point, e?.absolutePosition;
64609
- }), await F(r), r.selectObjsRoute = c.map((e) => e.payload), r.selectObjsObstacle = [], c.forEach((e) => {
64610
- b(e.payload);
64676
+ }), await I(r), r.selectObjsRoute = c.map((e) => e.payload), r.selectObjsObstacle = [], c.forEach((e) => {
64677
+ x(e.payload);
64611
64678
  });
64612
- let l = c[0], u = c[c.length - 1], d = de();
64679
+ let l = c[0], u = c[c.length - 1], d = fe();
64613
64680
  f("正在根据坐标生成避灾线路"), p(`避灾线路坐标生成中,共 ${c.length} 个点,起点:${e.formatRangeSelectionPosition?.(l.absolutePosition) ?? "--"},终点:${e.formatRangeSelectionPosition?.(u.absolutePosition) ?? "--"}`);
64614
- let m = await y("compute", "避灾线路已生成", r);
64615
- return m && (I(r), pe(d), i.value = !0, o.value = "sdk-single", s && e.applyViewInfo?.(s)), m;
64681
+ let m = await b("compute", "避灾线路已生成", r);
64682
+ return m && (ee(r), me(d), i.value = !0, o.value = "sdk-single", s && e.applyViewInfo?.(s)), m;
64616
64683
  } catch (e) {
64617
64684
  return g(`避灾线路坐标生成失败:${h(e)}`), !1;
64618
64685
  } finally {
64619
64686
  r.value = !1;
64620
64687
  }
64621
64688
  }
64622
- function oe(e, t, n = {}) {
64623
- return ae([e, t], n);
64689
+ function G(e, t, n = {}) {
64690
+ return oe([e, t], n);
64624
64691
  }
64625
- function G() {
64692
+ function K() {
64626
64693
  if (!e.accidentRangeSelectionCenterRelative?.value) return g("请先完成事故选点,再生成避灾线路"), !1;
64627
64694
  let t = e.toAbsolutePosition?.(e.accidentRangeSelectionCenterRelative.value);
64628
64695
  if (!t) return g("避灾线路生成失败:事故点坐标转换失败"), !1;
64629
- let n = d(e.defaultAccidentPointAbsolutePosition, null), r = d(e.defaultExitPathAccidentRoutePointAbsolutePosition, null), i = d(e.customRouteStyles, []), a = Array.isArray(i) ? i : [], o = d(e.fixedExitPathViewInfo, null), s = d(e.mainShaftAbsolutePosition, null), c = n ? Math.abs(Number(t.x) - Number(n.x)) < .01 && Math.abs(Number(t.y) - Number(n.y)) < .01 && Math.abs(Number(t.z) - Number(n.z)) < .01 : !1, l = c && r ? r : t;
64696
+ let n = d(e.defaultAccidentPointAbsolutePosition, null), r = d(e.defaultExitPathAccidentRoutePointAbsolutePosition, null), i = d(e.customRouteStyles, []), a = Array.isArray(i) ? i : [], o = d(e.fixedExitPathViewInfo, null), s = d(e.mainShaftAbsolutePosition, null), c = !v() && n ? Math.abs(Number(t.x) - Number(n.x)) < .01 && Math.abs(Number(t.y) - Number(n.y)) < .01 && Math.abs(Number(t.z) - Number(n.z)) < .01 : !1, l = c && r ? r : t;
64630
64697
  if (c) {
64631
64698
  console.log(`[lr-map-viewer] 避灾线路首点已替换为联调坐标:X ${l.x} / Y ${l.y} / Z ${l.z}`);
64632
64699
  let e = a[1];
64633
- return !e || !Array.isArray(e.fixedPoints) || e.fixedPoints.length === 0 ? (g("避灾线路生成失败:未找到第二条线路配置"), !1) : (console.log("[lr-map-viewer] 事故点避灾线路已切换为 SDK 第二条线路方案"), ae([{
64700
+ return !e || !Array.isArray(e.fixedPoints) || e.fixedPoints.length === 0 ? (g("避灾线路生成失败:未找到第二条线路配置"), !1) : (console.log("[lr-map-viewer] 事故点避灾线路已切换为 SDK 第二条线路方案"), oe([{
64634
64701
  x: Number(l.x),
64635
64702
  y: Number(l.y),
64636
64703
  z: Number(l.z),
@@ -64642,7 +64709,7 @@ function JW(e = {}) {
64642
64709
  label: e.label
64643
64710
  }))], { viewInfoAfterCompute: o }));
64644
64711
  }
64645
- return !s || !Number.isFinite(Number(s.x)) || !Number.isFinite(Number(s.y)) || !Number.isFinite(Number(s.z)) ? (g("避灾线路生成失败:缺少主井口坐标配置"), !1) : (console.log("[lr-map-viewer] 非默认事故点避灾线路已切换为事故点至主井口两点方案"), ae([{
64712
+ return !s || !Number.isFinite(Number(s.x)) || !Number.isFinite(Number(s.y)) || !Number.isFinite(Number(s.z)) ? (g("避灾线路生成失败:缺少主井口坐标配置"), !1) : (console.log(v() ? "[lr-map-viewer] 曹家滩避灾线路统一使用事故点至主井口两点方案" : "[lr-map-viewer] 非默认事故点避灾线路已切换为事故点至主井口两点方案"), oe([{
64646
64713
  x: Number(t.x),
64647
64714
  y: Number(t.y),
64648
64715
  z: Number(t.z),
@@ -64654,10 +64721,10 @@ function JW(e = {}) {
64654
64721
  label: "主井口"
64655
64722
  }], { viewInfoAfterCompute: o }));
64656
64723
  }
64657
- function K() {
64658
- return _() ? i.value ? B() : G() : !1;
64724
+ function se() {
64725
+ return _() ? i.value ? V() : K() : !1;
64659
64726
  }
64660
- function se(e, t = {}) {
64727
+ function ce(e, t = {}) {
64661
64728
  return e ? (e.userData = {
64662
64729
  ...e.userData ?? {},
64663
64730
  markerType: t.markerType || "exit-path-text",
@@ -64665,39 +64732,39 @@ function JW(e = {}) {
64665
64732
  ...t
64666
64733
  }, l.includes(e) || (l = [...l, e]), e) : null;
64667
64734
  }
64668
- function ce(e) {
64735
+ function le(e) {
64669
64736
  e && (l = l.filter((t) => t !== e));
64670
64737
  }
64671
- function le() {
64738
+ function ue() {
64672
64739
  return typeof window > "u" ? null : window.lr3dapp?.editor?.manager?.modules?.exitPath ?? null;
64673
64740
  }
64674
- function ue() {
64741
+ function de() {
64675
64742
  return e.resolveRangeSelectionScene?.() || (typeof window > "u" ? null : window.lr3dapp?.editor?.scene ?? null);
64676
64743
  }
64677
- function de() {
64678
- let e = ue();
64744
+ function fe() {
64745
+ let e = de();
64679
64746
  return !e || !Array.isArray(e.children) ? /* @__PURE__ */ new Set() : new Set(e.children);
64680
64747
  }
64681
- function fe() {
64748
+ function pe() {
64682
64749
  u = [];
64683
64750
  }
64684
- function pe(e) {
64685
- let t = ue();
64686
- return fe(), !t || !Array.isArray(t.children) || !(e instanceof Set) ? [] : (u = t.children.filter((t) => !e.has(t)), u);
64751
+ function me(e) {
64752
+ let t = de();
64753
+ return pe(), !t || !Array.isArray(t.children) || !(e instanceof Set) ? [] : (u = t.children.filter((t) => !e.has(t)), u);
64687
64754
  }
64688
- function me() {
64689
- let e = [], t = /* @__PURE__ */ new Set(), n = le();
64755
+ function q() {
64756
+ let e = [], t = /* @__PURE__ */ new Set(), n = ue();
64690
64757
  function r(n) {
64691
64758
  !n || t.has(n) || (t.add(n), e.push(n));
64692
64759
  }
64693
64760
  return r(n?.pathMesh ?? null), l.forEach((e) => r(e)), a.value.forEach((e) => r(e?.routeObject ?? null)), u.forEach((e) => r(e)), e;
64694
64761
  }
64695
- function q() {
64696
- return me();
64762
+ function he() {
64763
+ return q();
64697
64764
  }
64698
- function he(e) {
64765
+ function ge(e) {
64699
64766
  if (!e) return !1;
64700
- let t = me();
64767
+ let t = q();
64701
64768
  if (t.length === 0) return !1;
64702
64769
  let n = e;
64703
64770
  for (; n;) {
@@ -64706,8 +64773,8 @@ function JW(e = {}) {
64706
64773
  }
64707
64774
  return !1;
64708
64775
  }
64709
- function ge() {
64710
- fe(), w(), C(), r.value = !1, i.value = !1, o.value = "", c = 0, l = [];
64776
+ function J() {
64777
+ pe(), T(), w(), r.value = !1, i.value = !1, o.value = "", c = 0, l = [];
64711
64778
  }
64712
64779
  return te(() => e.accidentRangeSelectionCenterRelative?.value ? {
64713
64780
  x: e.accidentRangeSelectionCenterRelative.value.x,
@@ -64716,29 +64783,29 @@ function JW(e = {}) {
64716
64783
  } : null, (e) => {
64717
64784
  if (!(!i.value || o.value !== "custom-fixed-routes")) {
64718
64785
  if (!e) {
64719
- B();
64786
+ V();
64720
64787
  return;
64721
64788
  }
64722
- G();
64789
+ K();
64723
64790
  }
64724
64791
  }, { deep: !0 }), {
64725
64792
  isExitPathPanelVisible: n,
64726
64793
  isExitPathComputing: r,
64727
64794
  isExitPathGenerated: i,
64728
- showExitPathPanel: D,
64729
- hideExitPathPanel: O,
64730
- toggleExitPathPanel: E,
64731
- startExitPathRoutePick: V,
64732
- startExitPathObstaclePick: H,
64733
- computeExitPath: W,
64734
- computeExitPathByCoordinates: oe,
64735
- pauseExitPath: ne,
64736
- resumeExitPath: re,
64737
- clearExitPath: ie,
64738
- handleExitPathGenerateByAccident: K,
64739
- getExitPathPickInterferenceObjects: q,
64740
- isExitPathPickInterferenceObject: he,
64741
- cleanupExitPathRuntime: ge
64795
+ showExitPathPanel: O,
64796
+ hideExitPathPanel: k,
64797
+ toggleExitPathPanel: D,
64798
+ startExitPathRoutePick: H,
64799
+ startExitPathObstaclePick: W,
64800
+ computeExitPath: ne,
64801
+ computeExitPathByCoordinates: G,
64802
+ pauseExitPath: re,
64803
+ resumeExitPath: ie,
64804
+ clearExitPath: ae,
64805
+ handleExitPathGenerateByAccident: se,
64806
+ getExitPathPickInterferenceObjects: he,
64807
+ isExitPathPickInterferenceObject: ge,
64808
+ cleanupExitPathRuntime: J
64742
64809
  };
64743
64810
  }
64744
64811
  var YW = {
@@ -68199,10 +68266,13 @@ function fG(e = {}) {
68199
68266
  function xn(t) {
68200
68267
  if (!t) return !1;
68201
68268
  let n = e.accidentRangeSelectionCenterRelative?.value, r = e.accidentRangeSelectionPickObject?.value;
68202
- return e.isVectorLike?.(n) ? r ? (t.selectObjs = [{
68203
- point: new ((e.getThreeGlobal?.())).Vector3(Number(n.x), Number(n.y), Number(n.z)),
68269
+ if (!e.isVectorLike?.(n)) return Xe("请先完成事故选点,再开始水漫延分析"), !1;
68270
+ if (!r) return Xe("事故点已生成,但未命中有效巷道对象,暂时无法开始水漫延分析"), !1;
68271
+ let i = new ((e.getThreeGlobal?.())).Vector3(Number(n.x), Number(n.y), Number(n.z)), a = e.toAbsolutePosition?.(i) ?? null;
68272
+ return console.log("[lr-map-viewer] 水漫延开始分析使用的绝对坐标", He(a)), t.selectObjs = [{
68273
+ point: i,
68204
68274
  object: r
68205
- }], !0) : (Xe("事故点已生成,但未命中有效巷道对象,暂时无法开始水漫延分析"), !1) : (Xe("请先完成事故选点,再开始水漫延分析"), !1);
68275
+ }], !0;
68206
68276
  }
68207
68277
  function Sn() {
68208
68278
  let t = e.accidentRangeSelectionCenterRelative?.value;
@@ -68821,7 +68891,7 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
68821
68891
  onClick: n[1] ||= (e) => i("clear")
68822
68892
  }, " 清除范围 ", 8, SK)])]))])) : a("", !0);
68823
68893
  }
68824
- }, [["__scopeId", "data-v-a7f6aa61"]]), wK = { class: "lr3d-workface-panel__header" }, TK = {
68894
+ }, [["__scopeId", "data-v-8f828580"]]), wK = { class: "lr3d-workface-panel__header" }, TK = {
68825
68895
  key: 0,
68826
68896
  class: "lr3d-workface-panel__body"
68827
68897
  }, EK = { class: "lr3d-workface-panel__meta" }, DK = { class: "lr3d-workface-panel__actions" }, OK = { class: "lr3d-workface-panel__status" }, kK = {
@@ -69526,7 +69596,7 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
69526
69596
  EXIT_PATH: "exitPath",
69527
69597
  VIEW: "view",
69528
69598
  REGION: "region"
69529
- }), b = e, w = Lz(ez()), E = A(Uo()), k = r(() => {
69599
+ }), b = e, w = Lz(ez()), E = A(Ko()), k = r(() => {
69530
69600
  let e = E.value?.business;
69531
69601
  return e && typeof e == "object" && !Array.isArray(e) ? e : {};
69532
69602
  }), j = r(() => E.value.scene.containerId), N = A(null), P = A("eval_route_gene"), I = A("#041D4B"), ee = A(!1), R = A(!1), U = A(!1), W = A("等待操作"), ne = A(null), re = A(null), ie = A(null), ae = A(null), oe = A(() => {}), G = A(null), K = A({
@@ -69601,33 +69671,48 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
69601
69671
  };
69602
69672
  }
69603
69673
  function Ee() {
69604
- return Te(k.value.accidentPointAbsolutePosition);
69674
+ return Te(k.value.accidentPointRelativePosition);
69605
69675
  }
69606
69676
  function De() {
69607
- return Te(k.value.exitPathAccidentRoutePointAbsolutePosition);
69677
+ let e = Ee();
69678
+ if (e) {
69679
+ let t = Te(nt?.(e) ?? null);
69680
+ if (t) return t;
69681
+ }
69682
+ return Te(k.value.accidentPointAbsolutePosition);
69608
69683
  }
69609
69684
  function Oe() {
69610
- return Te(k.value.mainShaftAbsolutePosition);
69685
+ let e = k.value.accidentPointPickObjectMatchInfo;
69686
+ return be(e) ? xe(e) : null;
69611
69687
  }
69612
69688
  function ke() {
69689
+ return Te(k.value.exitPathAccidentRoutePointAbsolutePosition);
69690
+ }
69691
+ function Ae() {
69692
+ return Te(k.value.mainShaftAbsolutePosition);
69693
+ }
69694
+ function X() {
69613
69695
  let e = k.value.exitPathViewInfo;
69614
69696
  return be(e) ? xe(e) : null;
69615
69697
  }
69616
- function Ae() {
69698
+ function je() {
69699
+ return String(b.mineId || "").trim() === Kj.CAOJIATAN ? Ke.value ? xe(Ke.value) : null : X();
69700
+ }
69701
+ function Me() {
69617
69702
  return Te(k.value.waterSimulationKeyLocationAbsolutePosition);
69618
69703
  }
69619
- function X() {
69704
+ function Ne() {
69620
69705
  let e = k.value.waterSimulationKeyLocationAnalysisTarget;
69621
69706
  return be(e) ? xe(e) : null;
69622
69707
  }
69623
- function je() {
69708
+ function Pe() {
69624
69709
  let e = k.value.wellheadTextMarkerItems;
69625
69710
  return Array.isArray(e) ? xe(e) : [];
69626
69711
  }
69627
- function Me() {
69628
- return je().length > 0 ? String(b.mineId || "").trim() : "";
69712
+ function Fe() {
69713
+ return Pe().length > 0 ? String(b.mineId || "").trim() : "";
69629
69714
  }
69630
- function Ne() {
69715
+ function Ie() {
69631
69716
  return (Array.isArray(k.value.exitPathRouteGroups) ? k.value.exitPathRouteGroups : []).map((e, t) => {
69632
69717
  let n = _[t], r = Array.isArray(e?.points) ? xe(e.points) : [];
69633
69718
  return !n || r.length === 0 ? null : {
@@ -69636,29 +69721,29 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
69636
69721
  };
69637
69722
  }).filter(Boolean);
69638
69723
  }
69639
- function Pe() {
69724
+ function Le() {
69640
69725
  let e = ij(), t = e?.manager?.modules?.interaction?.onDblClick;
69641
69726
  return !e || typeof e.off != "function" || typeof t != "function" ? !1 : (e.off("dblclick", t), !0);
69642
69727
  }
69643
- let { initState: Fe, debugActionLog: Ie, setDebugLog: Le, appendDebugLog: Re, initializeScene: ze, applySceneRuntimeResize: Be, destroySceneRuntime: Ve } = qW({
69728
+ let { initState: Re, debugActionLog: ze, setDebugLog: Be, appendDebugLog: Ve, initializeScene: He, applySceneRuntimeResize: Ue, destroySceneRuntime: We } = qW({
69644
69729
  viewerHost: N,
69645
69730
  containerId: j,
69646
- resolveErrorMessage: Xs,
69731
+ resolveErrorMessage: $s,
69647
69732
  onSceneCreated: () => {
69648
- rc(), vc();
69733
+ oc(), xc();
69649
69734
  },
69650
69735
  onSceneReady: async () => {
69651
- if (Pe(), no(), Ls.value) try {
69652
- await kc({ trigger: "auto" });
69736
+ if (Le(), ao(), Bs.value) try {
69737
+ await Mc({ trigger: "auto" });
69653
69738
  } catch (e) {
69654
- Le(`场景初始化成功,自动加载失败:${Xs(e)}`);
69739
+ Be(`场景初始化成功,自动加载失败:${$s(e)}`);
69655
69740
  }
69656
- else Le("场景初始化成功,未开启自动云数据加载");
69741
+ else Be("场景初始化成功,未开启自动云数据加载");
69657
69742
  },
69658
69743
  onSceneError: () => {
69659
- wr([]), Tr([]), kr();
69744
+ Dr([]), Or([]), jr();
69660
69745
  }
69661
- }), { activeViewPointKey: He, overviewViewPoint: Ue, panelViewPoints: We, activeViewPointName: Ge, stopViewRestoreAnimation: Ke, applyViewRestoreFrame: qe, animateRestoreView: Je, resolveLr3dCamera: Ye, resolveLr3dControls: Xe, getThreeGlobal: Ze, isVectorLike: Qe, toAbsolutePosition: $e, toRelativePosition: et, resolvePositionWithLaneTopoZ: tt, getViewPointList: nt, getCurrentViewInfo: rt, applyViewInfo: it, switchToViewPoint: at, switchToOverviewViewPoint: ot, applyTrackPlaybackOverviewViewPoint: st, applyDefaultInitialViewPoint: ct, focusAbsolutePoint: lt, moveView: ut } = dG({
69746
+ }), { activeViewPointKey: Ge, overviewViewPoint: Ke, panelViewPoints: qe, activeViewPointName: Je, stopViewRestoreAnimation: Ye, applyViewRestoreFrame: Xe, animateRestoreView: Ze, resolveLr3dCamera: Qe, resolveLr3dControls: $e, getThreeGlobal: et, isVectorLike: tt, toAbsolutePosition: nt, toRelativePosition: rt, resolvePositionWithLaneTopoZ: it, getViewPointList: at, getCurrentViewInfo: ot, applyViewInfo: st, switchToViewPoint: ct, switchToOverviewViewPoint: lt, applyTrackPlaybackOverviewViewPoint: ut, applyDefaultInitialViewPoint: dt, focusAbsolutePoint: ft, moveView: pt } = dG({
69662
69747
  mineId: r(() => b.mineId),
69663
69748
  defaultViewPointName: r(() => b.defaultViewPointName),
69664
69749
  defaultInitialViewPointName: lX,
@@ -69666,43 +69751,43 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
69666
69751
  monitorPointFocusDistance: cX,
69667
69752
  viewRestoreTransitionDurationMs: dX,
69668
69753
  viewRestoreMinDistance: fX,
69669
- normalizeToken: nc,
69670
- resolveErrorMessage: Xs,
69671
- setDebugLog: Le,
69672
- appendDebugLog: Re,
69754
+ normalizeToken: ac,
69755
+ resolveErrorMessage: $s,
69756
+ setDebugLog: Be,
69757
+ appendDebugLog: Ve,
69673
69758
  workfacePanelStatus: W
69674
- }), { personMonitorPanelMode: dt, carMonitorPanelMode: ft, demoPersonPosition: pt, isDemoPersonMoving: mt, isPersonPositionMovementEnabled: ht, isCarPositionMovementEnabled: gt, personPanelItems: _t, personPositionInitSummary: vt, personTrackPanelState: Z, carPanelItems: yt, carPositionInitSummary: bt, carTrackPanelState: xt, personTrackPanelTitle: St, personTrackPanelStatusText: Ct, personTrackPanelPlayableCount: wt, isPersonTrackPanelPlaying: Tt, isPersonTrackPanelPaused: Et, canStartPersonTrackPlayback: Dt, carTrackPanelTitle: Ot, carTrackPanelStatusText: kt, carTrackPanelPlayableCount: At, isCarTrackPanelPlaying: jt, isCarTrackPanelPaused: Mt, canStartCarTrackPlayback: Nt, prependTestCarPositionItem: Pt, createTrackedPersonRuntimeItems: Ft, createTrackedCarRuntimeItems: It, startPersonPositionPolling: Lt, startCarPositionPolling: Rt, stopPersonPositionPolling: zt, stopCarPositionPolling: Bt, logPersonPosition: Vt, logCarPosition: Ht, openPersonTrackPanel: Ut, closePersonTrackPanel: Wt, startPersonTrackPanelPlayback: Gt, pausePersonTrackPanelPlayback: Kt, resumePersonTrackPanelPlayback: qt, togglePersonTrackFollow: Jt, followPersonTrack: Yt, stopPersonTrackFollow: Xt, openCarTrackPanel: Zt, closeCarTrackPanel: Qt, startCarTrackPanelPlayback: $t, pauseCarTrackPanelPlayback: en, resumeCarTrackPanelPlayback: tn, toggleCarTrackFollow: nn, followCarTrack: rn, stopCarTrackFollow: an, handlePersonPositionMovementToggle: on, handleCarPositionMovementToggle: sn, initializeDemoPerson: cn, startDemoPersonMotion: ln, stopDemoPersonMotion: un, toggleDemoPersonMotion: dn, focusDemoPerson: fn, movePerson: pn, moveCar: mn, clearDemoPersonMovement: hn, clearCarMovement: gn, resetTrackManagerState: _n } = oG({
69759
+ }), { personMonitorPanelMode: mt, carMonitorPanelMode: ht, demoPersonPosition: gt, isDemoPersonMoving: _t, isPersonPositionMovementEnabled: vt, isCarPositionMovementEnabled: Z, personPanelItems: yt, personPositionInitSummary: bt, personTrackPanelState: xt, carPanelItems: St, carPositionInitSummary: Ct, carTrackPanelState: wt, personTrackPanelTitle: Tt, personTrackPanelStatusText: Et, personTrackPanelPlayableCount: Dt, isPersonTrackPanelPlaying: Ot, isPersonTrackPanelPaused: kt, canStartPersonTrackPlayback: At, carTrackPanelTitle: jt, carTrackPanelStatusText: Mt, carTrackPanelPlayableCount: Nt, isCarTrackPanelPlaying: Pt, isCarTrackPanelPaused: Ft, canStartCarTrackPlayback: It, prependTestCarPositionItem: Lt, createTrackedPersonRuntimeItems: Rt, createTrackedCarRuntimeItems: zt, startPersonPositionPolling: Bt, startCarPositionPolling: Vt, stopPersonPositionPolling: Ht, stopCarPositionPolling: Ut, logPersonPosition: Wt, logCarPosition: Gt, openPersonTrackPanel: Kt, closePersonTrackPanel: qt, startPersonTrackPanelPlayback: Jt, pausePersonTrackPanelPlayback: Yt, resumePersonTrackPanelPlayback: Xt, togglePersonTrackFollow: Zt, followPersonTrack: Qt, stopPersonTrackFollow: $t, openCarTrackPanel: en, closeCarTrackPanel: tn, startCarTrackPanelPlayback: nn, pauseCarTrackPanelPlayback: rn, resumeCarTrackPanelPlayback: an, toggleCarTrackFollow: on, followCarTrack: sn, stopCarTrackFollow: cn, handlePersonPositionMovementToggle: ln, handleCarPositionMovementToggle: un, initializeDemoPerson: dn, startDemoPersonMotion: fn, stopDemoPersonMotion: pn, toggleDemoPersonMotion: mn, focusDemoPerson: hn, movePerson: gn, moveCar: _n, clearDemoPersonMovement: vn, clearCarMovement: yn, resetTrackManagerState: bn } = oG({
69675
69760
  markerStore: w,
69676
69761
  mineId: r(() => b.mineId),
69677
69762
  apiPrefix: r(() => b.apiPrefix),
69678
69763
  workfacePanelStatus: W,
69679
- resolvePositionWithLaneTopoZ: tt,
69680
- focusAbsolutePoint: lt,
69681
- resolveLr3dControls: Xe,
69682
- getThreeGlobal: Ze,
69683
- stopViewRestoreAnimation: Ke,
69684
- applyViewRestoreFrame: qe,
69685
- applyTrackPlaybackOverviewViewPoint: st,
69686
- normalizeToken: nc,
69687
- resolveErrorMessage: Xs,
69688
- setDebugLog: Le,
69689
- appendDebugLog: Re,
69764
+ resolvePositionWithLaneTopoZ: it,
69765
+ focusAbsolutePoint: ft,
69766
+ resolveLr3dControls: $e,
69767
+ getThreeGlobal: et,
69768
+ stopViewRestoreAnimation: Ye,
69769
+ applyViewRestoreFrame: Xe,
69770
+ applyTrackPlaybackOverviewViewPoint: ut,
69771
+ normalizeToken: ac,
69772
+ resolveErrorMessage: $s,
69773
+ setDebugLog: Be,
69774
+ appendDebugLog: Ve,
69690
69775
  appendHiddenVehicleLog: Se
69691
- }), { rangeSelectionState: vn, rangeSelectionPickMode: yn, activeRangeSelectionType: bn, rangeSelectionRadius: xn, rangeSelectionCenterRelative: Sn, rangeSelectionLaneInfo: Cn, rangeSelectionSource: wn, rangeSelectionPickObject: Tn, rangeSelectionSphereObject: En, rangeSelectionMarkerObject: Dn, accidentRangeSelectionRadius: On, accidentRangeSelectionCenterRelative: kn, accidentRangeSelectionLaneInfo: An, accidentRangeSelectionSource: jn, accidentRangeSelectionPickObject: Mn, accidentRangeSelectionSphereObject: Nn, accidentRangeSelectionMarkerObject: Pn, rangeSelectionCenterAbsolute: Fn, accidentRangeSelectionCenterAbsolute: In, hasRangeSelection: Ln, hasAccidentRangeSelection: Rn, rangeSelectionStatusText: zn, normalRangeSelectionSummaryText: Bn, accidentRangeSelectionSummaryText: Vn, resolveRangeSelectionType: Hn, resolveRangeSelectionBinding: Un, resolveRangeSelectionActionLabel: Wn, clearRangeSelectionInteraction: Gn, isMonitorPointWithinStoredRangeSelection: Kn, isMonitorPointWithinRangeSelection: qn, getRangeSelectionResult: Jn, registerRangeSelectionChange: Yn, registerRangeSelectionResultChange: Xn, registerRangeSelectionCoordinatePick: Zn, applyRangeSelection: Qn, startRangeSelectionByMode: $n, startRangeSelection: er, startContinuousRangeSelection: tr, startAccidentRangeSelection: nr, startContinuousAccidentRangeSelection: rr, cancelRangeSelection: ir, setRangeSelection: ar, setRangeSelectionByCoordinate: or, setAccidentRangeSelection: sr, setAccidentRangeSelectionByCoordinate: cr, startRangeSelectionCoordinatePick: lr, setRangeSelectionRadius: ur, clearRangeSelection: dr, clearAccidentRangeSelection: fr, updateAccidentRangeSelectionMarkerSize: pr } = WW({
69776
+ }), { rangeSelectionState: xn, rangeSelectionPickMode: Sn, activeRangeSelectionType: Cn, rangeSelectionRadius: wn, rangeSelectionCenterRelative: Tn, rangeSelectionLaneInfo: En, rangeSelectionSource: Dn, rangeSelectionPickObject: On, rangeSelectionSphereObject: kn, rangeSelectionMarkerObject: An, accidentRangeSelectionRadius: jn, accidentRangeSelectionCenterRelative: Mn, accidentRangeSelectionLaneInfo: Nn, accidentRangeSelectionSource: Pn, accidentRangeSelectionPickObject: Fn, accidentRangeSelectionSphereObject: In, accidentRangeSelectionMarkerObject: Ln, rangeSelectionCenterAbsolute: Rn, accidentRangeSelectionCenterAbsolute: zn, hasRangeSelection: Bn, hasAccidentRangeSelection: Vn, rangeSelectionStatusText: Hn, normalRangeSelectionSummaryText: Un, accidentRangeSelectionSummaryText: Wn, resolveRangeSelectionType: Gn, resolveRangeSelectionBinding: Kn, resolveRangeSelectionActionLabel: qn, clearRangeSelectionInteraction: Jn, isMonitorPointWithinStoredRangeSelection: Yn, isMonitorPointWithinRangeSelection: Xn, getRangeSelectionResult: Zn, registerRangeSelectionChange: Qn, registerRangeSelectionResultChange: $n, registerRangeSelectionCoordinatePick: er, applyRangeSelection: tr, startRangeSelectionByMode: nr, startRangeSelection: rr, startContinuousRangeSelection: ir, startAccidentRangeSelection: ar, startContinuousAccidentRangeSelection: or, cancelRangeSelection: sr, setRangeSelection: cr, setRangeSelectionByCoordinate: lr, setAccidentRangeSelection: ur, setAccidentRangeSelectionByCoordinate: dr, startRangeSelectionCoordinatePick: fr, setRangeSelectionRadius: pr, clearRangeSelection: mr, clearAccidentRangeSelection: hr, updateAccidentRangeSelectionMarkerSize: gr } = WW({
69692
69777
  viewerHost: N,
69693
69778
  workfacePanelStatus: W,
69694
69779
  getRangeSelectionVisibleMonitorItems: () => J?.value ?? [],
69695
69780
  cancelMonitorPointPlacement: (...e) => _e?.(...e),
69696
- toAbsolutePosition: $e,
69697
- toRelativePosition: et,
69698
- resolveLr3dCamera: Ye,
69699
- getThreeGlobal: Ze,
69700
- resolveModelInfoPayload: fc,
69781
+ toAbsolutePosition: nt,
69782
+ toRelativePosition: rt,
69783
+ resolveLr3dCamera: Qe,
69784
+ getThreeGlobal: et,
69785
+ resolveModelInfoPayload: hc,
69701
69786
  syncHighlightedLaneNameMarkers: () => ge?.(),
69702
69787
  warningPositionImageUrl: EG,
69703
- setDebugLog: Le,
69704
- appendDebugLog: Re,
69705
- resolveErrorMessage: Xs,
69788
+ setDebugLog: Be,
69789
+ appendDebugLog: Ve,
69790
+ resolveErrorMessage: $s,
69706
69791
  defaultRadius: hX,
69707
69792
  minRadius: gX,
69708
69793
  maxRadius: _X,
@@ -69720,30 +69805,30 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
69720
69805
  accidentPulseDurationMs: kX,
69721
69806
  accidentPulseScaleAmplitude: AX,
69722
69807
  accidentPulseMinOpacity: jX
69723
- }), mr = r(() => vn.value === "picking" && bn.value === h.DEFAULT), { regionItems: hr, regionVisibilityMap: gr, laneItems: _r, laneVisibilityMap: vr, areRegionsVisible: yr, areLanesVisible: br, filteredRegionItems: xr, groupedRegionItems: Sr, hasVisibilityItems: Cr, syncRegionList: wr, syncLaneList: Tr, clearLaneNameMarkers: Er, syncLaneNameMarkers: Dr, syncHighlightedLaneNameMarkers: Or, removeWellheadTextMarker: kr, syncWellheadTextMarker: Ar, clearLaneGlassMaterialRetryTimer: Q, clearLaneGlassMaterialSceneGraphHandler: jr, scheduleLaneGlassMaterialApply: Mr, handleRegionVisibilityChange: Nr, handleLaneVisibilityChange: Pr, toggleLanesVisibility: Fr, toggleRegionsVisibility: Ir } = GW({
69808
+ }), _r = r(() => xn.value === "picking" && Cn.value === h.DEFAULT), { regionItems: vr, regionVisibilityMap: yr, laneItems: br, laneVisibilityMap: xr, areRegionsVisible: Sr, areLanesVisible: Cr, filteredRegionItems: wr, groupedRegionItems: Tr, hasVisibilityItems: Er, syncRegionList: Dr, syncLaneList: Or, clearLaneNameMarkers: kr, syncLaneNameMarkers: Ar, syncHighlightedLaneNameMarkers: Q, removeWellheadTextMarker: jr, syncWellheadTextMarker: Mr, clearLaneGlassMaterialRetryTimer: Nr, clearLaneGlassMaterialSceneGraphHandler: Pr, scheduleLaneGlassMaterialApply: Fr, handleRegionVisibilityChange: Ir, handleLaneVisibilityChange: Lr, toggleLanesVisibility: Rr, toggleRegionsVisibility: zr } = GW({
69724
69809
  mineId: r(() => b.mineId),
69725
- isVectorLike: Qe,
69726
- toRelativePosition: et,
69727
- getThreeGlobal: Ze,
69728
- normalizeToken: nc,
69729
- resolveNonEmptyValue: uc,
69730
- resolveRangeSelectionScene: ic,
69731
- disposeThreeObject: ac,
69732
- rangeSelectionPickObject: Tn,
69733
- accidentRangeSelectionPickObject: Mn,
69734
- rangeSelectionLaneInfo: Cn,
69735
- accidentRangeSelectionLaneInfo: An,
69736
- setDebugLog: Le,
69737
- resolveErrorMessage: Xs,
69810
+ isVectorLike: tt,
69811
+ toRelativePosition: rt,
69812
+ getThreeGlobal: et,
69813
+ normalizeToken: ac,
69814
+ resolveNonEmptyValue: pc,
69815
+ resolveRangeSelectionScene: sc,
69816
+ disposeThreeObject: cc,
69817
+ rangeSelectionPickObject: On,
69818
+ accidentRangeSelectionPickObject: Fn,
69819
+ rangeSelectionLaneInfo: En,
69820
+ accidentRangeSelectionLaneInfo: Nn,
69821
+ setDebugLog: Be,
69822
+ resolveErrorMessage: $s,
69738
69823
  workfacePanelStatus: W,
69739
69824
  regionTypeOrder: pe,
69740
69825
  regionTypeLabelMap: me,
69741
69826
  laneGlassMaterialRetryDelayMs: yX,
69742
69827
  onLaneGlassMaterialReady: () => {
69743
- Ec();
69828
+ kc();
69744
69829
  },
69745
- wellheadTextMarkerTargetMineId: () => Me(),
69746
- wellheadTextMarkerItems: () => je(),
69830
+ wellheadTextMarkerTargetMineId: () => Fe(),
69831
+ wellheadTextMarkerItems: () => Pe(),
69747
69832
  wellheadTextMarkerVerticalOffset: nZ,
69748
69833
  wellheadTextMarkerWorldHeight: rZ,
69749
69834
  laneNameMarkerScale: iZ,
@@ -69758,42 +69843,42 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
69758
69843
  laneNameMarkerSelectedBorderColor: pZ,
69759
69844
  laneNameMarkerSelectedBorderWidth: mZ
69760
69845
  });
69761
- ge = Or;
69762
- let { isWaterSimulationPanelVisible: Lr, isWaterSimulationStarted: Rr, isWaterSimulationPaused: zr, waterSimulationFlowRate: Br, waterSimulationDrainageRate: Vr, waterSimulationPlaybackMultiplier: Hr, waterSimulationDurationText: Ur, waterSimulationDisplayDurationText: Wr, waterSimulationAnalysisButtonText: Gr, waterSimulationControlButtonText: Kr, isWaterSimulationControlButtonDisabled: qr, waterSimulationPredictionRenderItems: Jr, waterSimulationAnalysisSelectedPresetMinutes: Yr, waterSimulationAnalysisHour: Xr, waterSimulationAnalysisMinute: Zr, waterSimulationAnalysisLocationCount: Qr, isWaterSimulationAnalysisLocationPicking: $r, isWaterSimulationTunnelInfoPicking: ei, isWaterSimulationAnalysisLoading: ti, waterSimulationAnalysisResult: ni, clearWaterSimulationAnalysisLocationPick: ri, clearWaterSimulationAnalysisLocations: ii, clearWaterSimulationAnalysisLoading: ai, removeWaterSimulationAnalysisLocationMarker: oi, resetWaterSimulationRuntimeState: si, toggleWaterSimulationAnalysisRenderItem: ci, updateWaterSimulationPredictionRenderStyles: li, toggleWaterSimulationPanel: ui, showWaterSimulationPanel: di, hideWaterSimulationPanel: fi, handleWaterSimulationParameterInput: pi, handleWaterSimulationParameterChange: mi, handleWaterSimulationAnalysisTimeInput: hi, setWaterSimulationAnalysisPreset: gi, handleWaterSimulationAnalysisHourInput: _i, startWaterSimulationAnalysisLocationPick: vi, startWaterSimulationTunnelInfoPick: yi, focusWaterSimulationKeyLocation: bi, handleWaterSimulationAnalysisSubmit: xi, handleWaterSimulationPrimaryAction: Si, handleWaterSimulationCancel: Ci, startWaterSimulationSelect: wi, endWaterSimulationSelect: Ti, startWaterSimulation: Ei, clearWaterSimulation: Di } = fG({
69763
- initState: Fe,
69846
+ ge = Q;
69847
+ let { isWaterSimulationPanelVisible: Br, isWaterSimulationStarted: Vr, isWaterSimulationPaused: Hr, waterSimulationFlowRate: Ur, waterSimulationDrainageRate: Wr, waterSimulationPlaybackMultiplier: Gr, waterSimulationDurationText: Kr, waterSimulationDisplayDurationText: qr, waterSimulationAnalysisButtonText: Jr, waterSimulationControlButtonText: Yr, isWaterSimulationControlButtonDisabled: Xr, waterSimulationPredictionRenderItems: Zr, waterSimulationAnalysisSelectedPresetMinutes: Qr, waterSimulationAnalysisHour: $r, waterSimulationAnalysisMinute: ei, waterSimulationAnalysisLocationCount: ti, isWaterSimulationAnalysisLocationPicking: ni, isWaterSimulationTunnelInfoPicking: ri, isWaterSimulationAnalysisLoading: ii, waterSimulationAnalysisResult: ai, clearWaterSimulationAnalysisLocationPick: oi, clearWaterSimulationAnalysisLocations: si, clearWaterSimulationAnalysisLoading: ci, removeWaterSimulationAnalysisLocationMarker: li, resetWaterSimulationRuntimeState: ui, toggleWaterSimulationAnalysisRenderItem: di, updateWaterSimulationPredictionRenderStyles: fi, toggleWaterSimulationPanel: pi, showWaterSimulationPanel: mi, hideWaterSimulationPanel: hi, handleWaterSimulationParameterInput: gi, handleWaterSimulationParameterChange: _i, handleWaterSimulationAnalysisTimeInput: vi, setWaterSimulationAnalysisPreset: yi, handleWaterSimulationAnalysisHourInput: bi, startWaterSimulationAnalysisLocationPick: xi, startWaterSimulationTunnelInfoPick: Si, focusWaterSimulationKeyLocation: Ci, handleWaterSimulationAnalysisSubmit: wi, handleWaterSimulationPrimaryAction: Ti, handleWaterSimulationCancel: Ei, startWaterSimulationSelect: Di, endWaterSimulationSelect: Oi, startWaterSimulation: ki, clearWaterSimulation: Ai } = fG({
69848
+ initState: Re,
69764
69849
  workfacePanelStatus: W,
69765
- isWaterToolEnabled: () => Us.value,
69766
- rangeSelectionState: vn,
69767
- activeRangeSelectionType: bn,
69768
- rangeSelectionPickMode: yn,
69769
- rangeSelectionRadius: xn,
69770
- accidentRangeSelectionRadius: On,
69850
+ isWaterToolEnabled: () => Ks.value,
69851
+ rangeSelectionState: xn,
69852
+ activeRangeSelectionType: Cn,
69853
+ rangeSelectionPickMode: Sn,
69854
+ rangeSelectionRadius: wn,
69855
+ accidentRangeSelectionRadius: jn,
69771
69856
  rangeSelectionTypes: h,
69772
69857
  rangeSelectionPickModes: m,
69773
- resolveRangeSelectionType: Hn,
69774
- resolveRangeSelectionBinding: Un,
69775
- clearRangeSelectionInteraction: Gn,
69776
- startRangeSelectionByMode: $n,
69858
+ resolveRangeSelectionType: Gn,
69859
+ resolveRangeSelectionBinding: Kn,
69860
+ clearRangeSelectionInteraction: Jn,
69861
+ startRangeSelectionByMode: nr,
69777
69862
  cancelMonitorPointPlacement: (...e) => _e?.(...e),
69778
- accidentRangeSelectionCenterRelative: kn,
69779
- accidentRangeSelectionPickObject: Mn,
69780
- isVectorLike: Qe,
69781
- toAbsolutePosition: $e,
69782
- toRelativePosition: et,
69863
+ accidentRangeSelectionCenterRelative: Mn,
69864
+ accidentRangeSelectionPickObject: Fn,
69865
+ isVectorLike: tt,
69866
+ toAbsolutePosition: nt,
69867
+ toRelativePosition: rt,
69783
69868
  getLr3dEditor: ij,
69784
- resolveLr3dCamera: Ye,
69785
- resolveLr3dControls: Xe,
69786
- getThreeGlobal: Ze,
69787
- animateRestoreView: Je,
69788
- focusAbsolutePoint: lt,
69789
- updateAccidentRangeSelectionMarkerSize: pr,
69790
- addLr3dTextMarker: qs,
69791
- clearLr3dTextMarkers: Js,
69792
- disposeThreeObject: ac,
69793
- resolveOverlayScreenStyle: tc,
69794
- setDebugLog: Le,
69795
- appendDebugLog: Re,
69796
- resolveErrorMessage: Xs,
69869
+ resolveLr3dCamera: Qe,
69870
+ resolveLr3dControls: $e,
69871
+ getThreeGlobal: et,
69872
+ animateRestoreView: Ze,
69873
+ focusAbsolutePoint: ft,
69874
+ updateAccidentRangeSelectionMarkerSize: gr,
69875
+ addLr3dTextMarker: Xs,
69876
+ clearLr3dTextMarkers: Zs,
69877
+ disposeThreeObject: cc,
69878
+ resolveOverlayScreenStyle: ic,
69879
+ setDebugLog: Be,
69880
+ appendDebugLog: Ve,
69881
+ resolveErrorMessage: $s,
69797
69882
  modulePath: LX,
69798
69883
  defaultFlowRate: RX,
69799
69884
  defaultDrainageRate: zX,
@@ -69810,169 +69895,170 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
69810
69895
  analysisTimeOptions: p,
69811
69896
  analysisLocationMarkerText: tZ,
69812
69897
  keyLocationLabel: () => String(k.value.waterSimulationKeyLocationLabel || "").trim() || "关键点位",
69813
- keyLocationAbsolutePosition: () => Ae(),
69814
- keyLocationAnalysisTarget: () => X(),
69898
+ keyLocationAbsolutePosition: () => Me(),
69899
+ keyLocationAnalysisTarget: () => Ne(),
69815
69900
  viewRestoreMinDistance: fX,
69816
69901
  viewRestoreTransitionDurationMs: dX,
69817
- getExitPathPickInterferenceObjects: (...e) => Ui(...e),
69818
- isExitPathPickInterferenceObject: (...e) => Wi(...e),
69902
+ getExitPathPickInterferenceObjects: (...e) => Ki(...e),
69903
+ isExitPathPickInterferenceObject: (...e) => qi(...e),
69819
69904
  notifyWaterSimulationParameterChange: (e) => ae.value?.(e)
69820
69905
  });
69821
- function Oi(e) {
69822
- return !e || e.isInteractive !== !0 ? !1 : ci(e.key);
69906
+ function ji(e) {
69907
+ return !e || e.isInteractive !== !0 ? !1 : di(e.key);
69823
69908
  }
69824
- let { isExitPathPanelVisible: ki, isExitPathComputing: Ai, isExitPathGenerated: ji, showExitPathPanel: Mi, hideExitPathPanel: Ni, toggleExitPathPanel: Pi, startExitPathRoutePick: Fi, startExitPathObstaclePick: Ii, computeExitPath: Li, computeExitPathByCoordinates: Ri, pauseExitPath: zi, resumeExitPath: Bi, clearExitPath: Vi, handleExitPathGenerateByAccident: Hi, getExitPathPickInterferenceObjects: Ui, isExitPathPickInterferenceObject: Wi, cleanupExitPathRuntime: Gi } = JW({
69909
+ let { isExitPathPanelVisible: Mi, isExitPathComputing: Ni, isExitPathGenerated: Pi, showExitPathPanel: Fi, hideExitPathPanel: Ii, toggleExitPathPanel: Li, startExitPathRoutePick: Ri, startExitPathObstaclePick: zi, computeExitPath: Bi, computeExitPathByCoordinates: Vi, pauseExitPath: Hi, resumeExitPath: Ui, clearExitPath: Wi, handleExitPathGenerateByAccident: Gi, getExitPathPickInterferenceObjects: Ki, isExitPathPickInterferenceObject: qi, cleanupExitPathRuntime: Ji } = JW({
69825
69910
  workfacePanelStatus: W,
69826
- isExitPathToolEnabled: () => Ws.value,
69827
- accidentRangeSelectionCenterRelative: kn,
69828
- isVectorLike: Qe,
69829
- toAbsolutePosition: $e,
69830
- toRelativePosition: et,
69831
- applyViewInfo: it,
69832
- getThreeGlobal: Ze,
69833
- addLr3dTextMarker: qs,
69834
- clearLr3dTextMarkers: Js,
69835
- resolveRangeSelectionScene: ic,
69836
- disposeThreeObject: ac,
69837
- parseCoordinateText: Go,
69838
- resolveScenePickObjectByPosition: lc,
69839
- formatRangeSelectionPosition: Qs,
69840
- setDebugLog: Le,
69841
- appendDebugLog: Re,
69842
- resolveErrorMessage: Xs,
69911
+ mineId: r(() => b.mineId),
69912
+ isExitPathToolEnabled: () => qs.value,
69913
+ accidentRangeSelectionCenterRelative: Mn,
69914
+ isVectorLike: tt,
69915
+ toAbsolutePosition: nt,
69916
+ toRelativePosition: rt,
69917
+ applyViewInfo: st,
69918
+ getThreeGlobal: et,
69919
+ addLr3dTextMarker: Xs,
69920
+ clearLr3dTextMarkers: Zs,
69921
+ resolveRangeSelectionScene: sc,
69922
+ disposeThreeObject: cc,
69923
+ parseCoordinateText: Jo,
69924
+ resolveScenePickObjectByPosition: fc,
69925
+ formatRangeSelectionPosition: tc,
69926
+ setDebugLog: Be,
69927
+ appendDebugLog: Ve,
69928
+ resolveErrorMessage: $s,
69843
69929
  modulePath: QX,
69844
69930
  defaultTolerance: 16,
69845
- defaultAccidentPointAbsolutePosition: () => Ee(),
69846
- defaultExitPathAccidentRoutePointAbsolutePosition: () => De(),
69847
- mainShaftAbsolutePosition: () => Oe(),
69848
- customRouteStyles: () => Ne(),
69849
- fixedExitPathViewInfo: () => ke()
69850
- }), { monitorPointItems: Ki, monitorPointLoadState: qi, monitorPointLoadError: Ji, monitorPointRenderStyleMap: Yi, hiddenMonitorPointTypes: Xi, monitorPointTabsRef: Zi, activeMonitorPointId: Qi, activeMonitorPointType: $i, activeVideoMonitorIdSet: ea, highlightedVideoMonitorId: ta, monitorPointCurrentPage: na, isMonitorPanelVisible: ra, selectedMonitorPointTypeLabel: ia, monitorPointKeyword: aa, monitorPointPlacementState: oa, monitorPointTabs: sa, allMonitorPointItems: ca, activeMonitorPointTypeFilterOptions: la, activeMonitorPointItems: ua, hasActiveMonitorPointItems: da, isPersonMonitorPointTabActive: fa, isCarMonitorPointTabActive: pa, isPersonTrackPanelMode: ma, isCarTrackPanelMode: ha, shouldShowMonitorPointFilters: ga, activeMonitorPointEmptyText: _a, shouldShowMonitorPointLoadingState: va, shouldShowMonitorPointLoadingHint: ya, pagedActiveMonitorPointItems: ba, monitorPointTotalPages: xa, activeMonitorPointItem: Sa, activeMonitorPointIconMeta: Ca, activeMonitorPointDataEntries: wa, shouldShowActiveMonitorPointPopup: Ta, monitorPointPlacementTargetName: Ea, monitorPointPlacementStatusText: Da, renderableMonitorPointItems: Oa, rangeSelectionVisibleMonitorItems: ka, areAllMonitorPointTypesVisible: Aa, monitorPointLegendItems: ja, monitorPointRenderItems: Ma, setMonitorPointTabRef: Na, handleMonitorPointTabsPointerDown: Pa, handleMonitorPointTabsPointerMove: Fa, handleMonitorPointTabsPointerEnd: Ia, handleMonitorPointTabClick: La, handleMonitorPointTypeFilterChange: Ra, handleMonitorPointKeywordChange: za, toggleMonitorPanel: Ba, toggleAllMonitorPointTypeVisibility: Va, toggleMonitorPointTypeVisibility: Ha, handleMonitorPointPopupClose: Ua, handleMonitorPointIconClick: Wa, handleMonitorPointPanelClick: Ga, cancelMonitorPointPlacement: Ka, startMonitorPointPlacement: qa, handleMonitorPointPlacementButtonClick: Ja, clearMonitorPointCoordinate: Ya, confirmMonitorPointPlacement: Xa, stopMonitorPointRenderLoop: Za, setActiveVideoMonitorIds: Qa, highlightVideoMonitor: $a, clearVideoMonitorHighlight: eo, clearMonitorPoints: to, initMonitorPoints: no, queryMonitorPointList: ro, reloadMonitorPoints: io, loadMonitorPointPanelData: ao, resolveExternalMonitorPointTargetItem: oo, focusMonitorPoint: so } = UW({
69931
+ defaultAccidentPointAbsolutePosition: () => De(),
69932
+ defaultExitPathAccidentRoutePointAbsolutePosition: () => ke(),
69933
+ mainShaftAbsolutePosition: () => Ae(),
69934
+ customRouteStyles: () => Ie(),
69935
+ fixedExitPathViewInfo: () => je()
69936
+ }), { monitorPointItems: Yi, monitorPointLoadState: Xi, monitorPointLoadError: Zi, monitorPointRenderStyleMap: Qi, hiddenMonitorPointTypes: $i, monitorPointTabsRef: ea, activeMonitorPointId: ta, activeMonitorPointType: na, activeVideoMonitorIdSet: ra, highlightedVideoMonitorId: ia, monitorPointCurrentPage: aa, isMonitorPanelVisible: oa, selectedMonitorPointTypeLabel: sa, monitorPointKeyword: ca, monitorPointPlacementState: la, monitorPointTabs: ua, allMonitorPointItems: da, activeMonitorPointTypeFilterOptions: fa, activeMonitorPointItems: pa, hasActiveMonitorPointItems: ma, isPersonMonitorPointTabActive: ha, isCarMonitorPointTabActive: ga, isPersonTrackPanelMode: _a, isCarTrackPanelMode: va, shouldShowMonitorPointFilters: ya, activeMonitorPointEmptyText: ba, shouldShowMonitorPointLoadingState: xa, shouldShowMonitorPointLoadingHint: Sa, pagedActiveMonitorPointItems: Ca, monitorPointTotalPages: wa, activeMonitorPointItem: Ta, activeMonitorPointIconMeta: Ea, activeMonitorPointDataEntries: Da, shouldShowActiveMonitorPointPopup: Oa, monitorPointPlacementTargetName: ka, monitorPointPlacementStatusText: Aa, renderableMonitorPointItems: ja, rangeSelectionVisibleMonitorItems: Ma, areAllMonitorPointTypesVisible: Na, monitorPointLegendItems: Pa, monitorPointRenderItems: Fa, setMonitorPointTabRef: Ia, handleMonitorPointTabsPointerDown: La, handleMonitorPointTabsPointerMove: Ra, handleMonitorPointTabsPointerEnd: za, handleMonitorPointTabClick: Ba, handleMonitorPointTypeFilterChange: Va, handleMonitorPointKeywordChange: Ha, toggleMonitorPanel: Ua, toggleAllMonitorPointTypeVisibility: Wa, toggleMonitorPointTypeVisibility: Ga, handleMonitorPointPopupClose: Ka, handleMonitorPointIconClick: qa, handleMonitorPointPanelClick: Ja, cancelMonitorPointPlacement: Ya, startMonitorPointPlacement: Xa, handleMonitorPointPlacementButtonClick: Za, clearMonitorPointCoordinate: Qa, confirmMonitorPointPlacement: $a, stopMonitorPointRenderLoop: eo, setActiveVideoMonitorIds: to, highlightVideoMonitor: no, clearVideoMonitorHighlight: ro, clearMonitorPoints: io, initMonitorPoints: ao, queryMonitorPointList: oo, reloadMonitorPoints: so, loadMonitorPointPanelData: co, resolveExternalMonitorPointTargetItem: lo, focusMonitorPoint: uo } = UW({
69851
69937
  markerStore: w,
69852
69938
  mineId: r(() => b.mineId),
69853
69939
  apiPrefix: r(() => b.apiPrefix),
69854
69940
  show3dMarkerPopup: r(() => b.show3dMarkerPopup),
69855
- isMonitorToolEnabled: () => Vs.value,
69856
- initState: Fe,
69941
+ isMonitorToolEnabled: () => Ws.value,
69942
+ initState: Re,
69857
69943
  viewerHost: N,
69858
69944
  workfacePanelStatus: W,
69859
- personPanelItems: _t,
69860
- carPanelItems: yt,
69861
- personPositionInitSummary: vt,
69862
- carPositionInitSummary: bt,
69863
- personMonitorPanelMode: dt,
69864
- carMonitorPanelMode: ft,
69865
- rangeSelectionState: vn,
69866
- rangeSelectionPickMode: yn,
69867
- activeRangeSelectionType: bn,
69868
- hasRangeSelection: () => Ln.value,
69945
+ personPanelItems: yt,
69946
+ carPanelItems: St,
69947
+ personPositionInitSummary: bt,
69948
+ carPositionInitSummary: Ct,
69949
+ personMonitorPanelMode: mt,
69950
+ carMonitorPanelMode: ht,
69951
+ rangeSelectionState: xn,
69952
+ rangeSelectionPickMode: Sn,
69953
+ activeRangeSelectionType: Cn,
69954
+ hasRangeSelection: () => Bn.value,
69869
69955
  rangeSelectionTypes: h,
69870
69956
  rangeSelectionPickModes: m,
69871
- isMonitorPointWithinRangeSelection: qn,
69872
- isMonitorPointWithinStoredRangeSelection: Kn,
69873
- applyRangeSelection: Qn,
69874
- clearRangeSelectionInteraction: () => Gn(),
69875
- toAbsolutePosition: $e,
69876
- toRelativePosition: et,
69877
- resolvePositionWithLaneTopoZ: tt,
69878
- focusAbsolutePoint: lt,
69879
- resolveLr3dCamera: Ye,
69880
- getThreeGlobal: Ze,
69881
- normalizeToken: nc,
69882
- resolveErrorMessage: Xs,
69883
- setDebugLog: Le,
69884
- appendDebugLog: Re,
69957
+ isMonitorPointWithinRangeSelection: Xn,
69958
+ isMonitorPointWithinStoredRangeSelection: Yn,
69959
+ applyRangeSelection: tr,
69960
+ clearRangeSelectionInteraction: () => Jn(),
69961
+ toAbsolutePosition: nt,
69962
+ toRelativePosition: rt,
69963
+ resolvePositionWithLaneTopoZ: it,
69964
+ focusAbsolutePoint: ft,
69965
+ resolveLr3dCamera: Qe,
69966
+ getThreeGlobal: et,
69967
+ normalizeToken: ac,
69968
+ resolveErrorMessage: $s,
69969
+ setDebugLog: Be,
69970
+ appendDebugLog: Ve,
69885
69971
  appendHiddenVehicleLog: Se,
69886
- dispatchPointClick: hc,
69887
- dispatchVideoMonitorClick: gc,
69888
- resolveModelInfoPayload: fc,
69889
- resolveSceneIntersection: cc,
69890
- closePersonTrackPanel: Wt,
69891
- closeCarTrackPanel: Qt,
69892
- prependTestCarPositionItem: Pt,
69893
- createTrackedPersonRuntimeItems: Ft,
69894
- createTrackedCarRuntimeItems: It,
69895
- startPersonPositionPolling: Lt,
69896
- startCarPositionPolling: Rt,
69897
- stopPersonPositionPolling: zt,
69898
- stopCarPositionPolling: Bt,
69899
- logPersonPosition: Vt,
69900
- logCarPosition: Ht,
69972
+ dispatchPointClick: vc,
69973
+ dispatchVideoMonitorClick: yc,
69974
+ resolveModelInfoPayload: hc,
69975
+ resolveSceneIntersection: dc,
69976
+ closePersonTrackPanel: qt,
69977
+ closeCarTrackPanel: tn,
69978
+ prependTestCarPositionItem: Lt,
69979
+ createTrackedPersonRuntimeItems: Rt,
69980
+ createTrackedCarRuntimeItems: zt,
69981
+ startPersonPositionPolling: Bt,
69982
+ startCarPositionPolling: Vt,
69983
+ stopPersonPositionPolling: Ht,
69984
+ stopCarPositionPolling: Ut,
69985
+ logPersonPosition: Wt,
69986
+ logCarPosition: Gt,
69901
69987
  monitorPointOverlayMaxScale: pX,
69902
69988
  monitorPointOverlayMinScaleReduction: mX,
69903
69989
  handleExtraOverlayRenderFrame: () => {
69904
- li(), pr() && cj();
69990
+ fi(), gr() && cj();
69905
69991
  }
69906
69992
  });
69907
- J = ka, _e = Ka;
69908
- let co = A(null), lo = A(!1), uo = A(!1), fo = A(0), po = A(null), mo = A(!1), ho = A({
69993
+ J = Ma, _e = Ya;
69994
+ let fo = A(null), po = A(!1), mo = A(!1), ho = A(0), go = A(null), _o = A(!1), vo = A({
69909
69995
  x: 0,
69910
69996
  y: 0
69911
- }), go = A(!1), _o = {
69997
+ }), yo = A(!1), bo = {
69912
69998
  active: !1,
69913
69999
  pointerId: null,
69914
70000
  startX: 0,
69915
70001
  startY: 0,
69916
70002
  didDrag: !1
69917
- }, vo = null, yo = null, bo = r(() => !uo.value || lo.value || fo.value <= 0 ? {} : { maxHeight: `${fo.value}px` }), xo = r(() => vn.value === "picking" && bn.value === h.ACCIDENT);
69918
- function So(e) {
69919
- return Qe(e) ? {
70003
+ }, xo = null, So = null, Co = r(() => !mo.value || po.value || ho.value <= 0 ? {} : { maxHeight: `${ho.value}px` }), wo = r(() => xn.value === "picking" && Cn.value === h.ACCIDENT);
70004
+ function To(e) {
70005
+ return tt(e) ? {
69920
70006
  x: Number(e.x),
69921
70007
  y: Number(e.y),
69922
70008
  z: Number(e.z)
69923
70009
  } : null;
69924
70010
  }
69925
- function Co(e, t) {
70011
+ function Eo(e, t) {
69926
70012
  return !e || !t ? e === t : Math.abs(Number(e.x) - Number(t.x)) < .001 && Math.abs(Number(e.y) - Number(t.y)) < .001 && Math.abs(Number(e.z) - Number(t.z)) < .001;
69927
70013
  }
69928
- function wo(e = kn.value) {
69929
- let t = So(e);
70014
+ function Do(e = Mn.value) {
70015
+ let t = To(e);
69930
70016
  return t ? (Y = {
69931
70017
  previousPosition: t,
69932
- shouldRegenerateExitPath: ji.value === !0,
69933
- shouldClearWaterSimulation: Rr.value === !0
70018
+ shouldRegenerateExitPath: Pi.value === !0,
70019
+ shouldClearWaterSimulation: Vr.value === !0
69934
70020
  }, !0) : (Y = null, !1);
69935
70021
  }
69936
- function To(e = {}) {
69937
- wo(So(kn.value));
69938
- let t = nr(e);
70022
+ function Oo(e = {}) {
70023
+ Do(To(Mn.value));
70024
+ let t = ar(e);
69939
70025
  return t || (Y = null), t;
69940
70026
  }
69941
- function Eo(e = {}) {
69942
- wo(So(kn.value));
69943
- let t = rr(e);
70027
+ function ko(e = {}) {
70028
+ Do(To(Mn.value));
70029
+ let t = or(e);
69944
70030
  return t || (Y = null), t;
69945
70031
  }
69946
- async function Do(e) {
70032
+ async function Ao(e) {
69947
70033
  let t = Y;
69948
- return Y = null, !t || !So(e) || Co(e, t.previousPosition) ? !1 : (t.shouldClearWaterSimulation && Di(), t.shouldRegenerateExitPath && (await Promise.resolve(Vi()), await Promise.resolve(Hi())), !0);
70034
+ return Y = null, !t || !To(e) || Eo(e, t.previousPosition) ? !1 : (t.shouldClearWaterSimulation && Ai(), t.shouldRegenerateExitPath && (await Promise.resolve(Wi()), await Promise.resolve(Gi())), !0);
69949
70035
  }
69950
- let Oo = r(() => xo.value ? String(zn.value || "事故选点中,请在三维场景内单击目标位置") : ""), ko = r(() => go.value);
69951
- function Ao() {
69952
- return yo !== null && typeof window < "u" && (window.clearTimeout(yo), yo = null), go.value = !1, !0;
70036
+ let jo = r(() => wo.value ? String(Hn.value || "事故选点中,请在三维场景内单击目标位置") : ""), Mo = r(() => yo.value);
70037
+ function No() {
70038
+ return So !== null && typeof window < "u" && (window.clearTimeout(So), So = null), yo.value = !1, !0;
69953
70039
  }
69954
- function jo() {
69955
- let e = co.value;
69956
- if (!e || ga.value !== !0) {
69957
- uo.value = !1, fo.value = 0, lo.value = !1;
70040
+ function Po() {
70041
+ let e = fo.value;
70042
+ if (!e || ya.value !== !0) {
70043
+ mo.value = !1, ho.value = 0, po.value = !1;
69958
70044
  return;
69959
70045
  }
69960
70046
  let t = Array.from(e.querySelectorAll(".lr3d-monitor-panel__filter-chip"));
69961
70047
  if (t.length === 0) {
69962
- uo.value = !1, fo.value = 0, lo.value = !1;
70048
+ mo.value = !1, ho.value = 0, po.value = !1;
69963
70049
  return;
69964
70050
  }
69965
70051
  let n = e.getBoundingClientRect(), r = t[0].getBoundingClientRect(), i = Math.round(r.top - n.top), a = Math.round(r.bottom - n.top);
69966
70052
  t.forEach((e) => {
69967
70053
  let t = e.getBoundingClientRect();
69968
70054
  Math.round(t.top - n.top) === i && (a = Math.max(a, Math.round(t.bottom - n.top)));
69969
- }), fo.value = Math.max(0, a), uo.value = e.scrollHeight > a + 1, uo.value || (lo.value = !1);
70055
+ }), ho.value = Math.max(0, a), mo.value = e.scrollHeight > a + 1, mo.value || (po.value = !1);
69970
70056
  }
69971
- function Mo() {
69972
- return mo.value ? (mo.value = !1, !0) : !1;
70057
+ function Fo() {
70058
+ return _o.value ? (_o.value = !1, !0) : !1;
69973
70059
  }
69974
- function No() {
69975
- _o = {
70060
+ function Io() {
70061
+ bo = {
69976
70062
  active: !1,
69977
70063
  pointerId: null,
69978
70064
  startX: 0,
@@ -69980,52 +70066,52 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
69980
70066
  didDrag: !1
69981
70067
  };
69982
70068
  }
69983
- function Po() {
69984
- return Mo(), To();
70069
+ function Lo() {
70070
+ return Fo(), Oo();
69985
70071
  }
69986
- function Fo(e) {
69987
- return e.button === 2 ? (_o = {
70072
+ function Ro(e) {
70073
+ return e.button === 2 ? (bo = {
69988
70074
  active: !0,
69989
70075
  pointerId: e.pointerId ?? null,
69990
70076
  startX: Number(e.clientX) || 0,
69991
70077
  startY: Number(e.clientY) || 0,
69992
70078
  didDrag: !1
69993
- }, !0) : (e.button === 0 && Mo(), !1);
70079
+ }, !0) : (e.button === 0 && Fo(), !1);
69994
70080
  }
69995
- function Io(e) {
69996
- if (!_o.active || _o.pointerId !== null && e.pointerId !== void 0 && _o.pointerId !== e.pointerId) return !1;
69997
- let t = (Number(e.clientX) || 0) - _o.startX, n = (Number(e.clientY) || 0) - _o.startY;
69998
- return Math.sqrt(t * t + n * n) >= MX && (_o.didDrag = !0), _o.didDrag;
70081
+ function zo(e) {
70082
+ if (!bo.active || bo.pointerId !== null && e.pointerId !== void 0 && bo.pointerId !== e.pointerId) return !1;
70083
+ let t = (Number(e.clientX) || 0) - bo.startX, n = (Number(e.clientY) || 0) - bo.startY;
70084
+ return Math.sqrt(t * t + n * n) >= MX && (bo.didDrag = !0), bo.didDrag;
69999
70085
  }
70000
- function Lo() {
70001
- return No(), !0;
70086
+ function Bo() {
70087
+ return Io(), !0;
70002
70088
  }
70003
- function Ro(e) {
70089
+ function Vo(e) {
70004
70090
  if (!N.value) return !1;
70005
70091
  e.preventDefault?.();
70006
- let t = !_o.didDrag && !xo.value;
70007
- if (No(), !t) return Mo(), !1;
70092
+ let t = !bo.didDrag && !wo.value;
70093
+ if (Io(), !t) return Fo(), !1;
70008
70094
  let n = N.value.getBoundingClientRect();
70009
- return ho.value = {
70095
+ return vo.value = {
70010
70096
  x: Math.max(8, Math.min(n.width - 8, Number(e.clientX) - n.left)),
70011
70097
  y: Math.max(8, Math.min(n.height - 8, Number(e.clientY) - n.top))
70012
- }, mo.value = !0, !0;
70098
+ }, _o.value = !0, !0;
70013
70099
  }
70014
- function zo(e) {
70015
- return !mo.value || po.value?.contains?.(e.target) ? !1 : (Mo(), !0);
70100
+ function Ho(e) {
70101
+ return !_o.value || go.value?.contains?.(e.target) ? !1 : (Fo(), !0);
70016
70102
  }
70017
- function Bo() {
70103
+ function Uo() {
70018
70104
  x(() => {
70019
- jo();
70105
+ Po();
70020
70106
  });
70021
70107
  }
70022
- function Vo() {
70023
- vo?.disconnect?.(), vo = null, !(typeof ResizeObserver > "u" || !co.value) && (vo = new ResizeObserver(() => {
70024
- jo();
70025
- }), vo.observe(co.value));
70108
+ function Wo() {
70109
+ xo?.disconnect?.(), xo = null, !(typeof ResizeObserver > "u" || !fo.value) && (xo = new ResizeObserver(() => {
70110
+ Po();
70111
+ }), xo.observe(fo.value));
70026
70112
  }
70027
- function Ho() {
70028
- return uo.value ? (lo.value = !lo.value, !0) : !1;
70113
+ function Go() {
70114
+ return mo.value ? (po.value = !po.value, !0) : !1;
70029
70115
  }
70030
70116
  Object.freeze([
70031
70117
  vZ,
@@ -70034,54 +70120,54 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70034
70120
  CZ,
70035
70121
  TZ
70036
70122
  ]);
70037
- function Uo(e = b.config) {
70123
+ function Ko(e = b.config) {
70038
70124
  return IT({
70039
70125
  ...e ?? {},
70040
70126
  resourcePrefix: b.resourcePrefix
70041
70127
  });
70042
70128
  }
70043
70129
  te(() => [b.config, b.resourcePrefix], ([e]) => {
70044
- E.value = Uo(e ?? {}), PT(E.value);
70130
+ E.value = Ko(e ?? {}), PT(E.value);
70045
70131
  }, {
70046
70132
  deep: !0,
70047
70133
  immediate: !0
70048
70134
  }), te(() => b.mineId, (e, t) => {
70049
70135
  let n = e !== t;
70050
- n && kr(), !(!n && (_t.value.length || yt.value.length)) && (He.value = "", _n({ clearItems: !0 }), Fe.value === "ready" && (to(), qi.value = "idle", Ji.value = "", no({ forceReload: !0 }), Le(`已切换 mineId=${String(e || "").trim()} 的接口数据`)));
70051
- }, { immediate: !0 }), te(() => co.value, () => {
70052
- Vo(), Bo();
70053
- }), te(() => xo.value, (e, t) => {
70136
+ n && jr(), !(!n && (yt.value.length || St.value.length)) && (Ge.value = "", bn({ clearItems: !0 }), Re.value === "ready" && (io(), Xi.value = "idle", Zi.value = "", ao({ forceReload: !0 }), Be(`已切换 mineId=${String(e || "").trim()} 的接口数据`)));
70137
+ }, { immediate: !0 }), te(() => fo.value, () => {
70138
+ Wo(), Uo();
70139
+ }), te(() => wo.value, (e, t) => {
70054
70140
  if (e) {
70055
- Mo(), wo();
70141
+ Fo(), Do();
70056
70142
  return;
70057
70143
  }
70058
- t && Y && Co(So(kn.value), Y.previousPosition) && (Y = null);
70059
- }), te(() => kn.value ? {
70060
- x: kn.value.x,
70061
- y: kn.value.y,
70062
- z: kn.value.z
70144
+ t && Y && Eo(To(Mn.value), Y.previousPosition) && (Y = null);
70145
+ }), te(() => Mn.value ? {
70146
+ x: Mn.value.x,
70147
+ y: Mn.value.y,
70148
+ z: Mn.value.z
70063
70149
  } : null, (e) => {
70064
- Do(e);
70150
+ Ao(e);
70065
70151
  }, { deep: !0 }), te(() => String(W.value || ""), (e) => {
70066
70152
  if (e !== IX) {
70067
- Ao();
70153
+ No();
70068
70154
  return;
70069
70155
  }
70070
- go.value = !0, yo !== null && typeof window < "u" && (window.clearTimeout(yo), yo = null), typeof window < "u" && (yo = window.setTimeout(() => {
70071
- yo = null, go.value = !1;
70156
+ yo.value = !0, So !== null && typeof window < "u" && (window.clearTimeout(So), So = null), typeof window < "u" && (So = window.setTimeout(() => {
70157
+ So = null, yo.value = !1;
70072
70158
  }, 3e3));
70073
70159
  }), te(() => [
70074
- ra.value,
70075
- ga.value,
70076
- $i.value,
70077
- la.value.length
70160
+ oa.value,
70161
+ ya.value,
70162
+ na.value,
70163
+ fa.value.length
70078
70164
  ], () => {
70079
- lo.value = !1, Bo();
70165
+ po.value = !1, Uo();
70080
70166
  });
70081
- function Wo() {
70082
- jo();
70167
+ function qo() {
70168
+ Po();
70083
70169
  }
70084
- function Go(e) {
70170
+ function Jo(e) {
70085
70171
  return Array.isArray(e) ? e.map((e) => {
70086
70172
  let t = String(e ?? "").trim();
70087
70173
  return t ? Number(t) : NaN;
@@ -70097,71 +70183,71 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70097
70183
  return t ? Number(t) : NaN;
70098
70184
  });
70099
70185
  }
70100
- function Ko(e) {
70186
+ function Yo(e) {
70101
70187
  return typeof e?.type == "string" && e.type.trim() ? e.type.trim() : "监测点";
70102
70188
  }
70103
- function qo(e) {
70104
- return [["设备编号", Qo(e?.sb_code)]];
70189
+ function Xo(e) {
70190
+ return [["设备编号", ts(e?.sb_code)]];
70105
70191
  }
70106
- function Jo(e) {
70107
- if (Qe(e?.position)) return {
70192
+ function Zo(e) {
70193
+ if (tt(e?.position)) return {
70108
70194
  x: Number(e.position.x),
70109
70195
  y: Number(e.position.y),
70110
70196
  z: Number(e.position.z)
70111
70197
  };
70112
70198
  let t = e?.x ?? e?.X, n = e?.y ?? e?.Y, r = e?.z ?? e?.Z ?? e?.altitude;
70113
- if (!Zo(t) && !Zo(n) && Number.isFinite(Number(t)) && Number.isFinite(Number(n))) return {
70199
+ if (!es(t) && !es(n) && Number.isFinite(Number(t)) && Number.isFinite(Number(n))) return {
70114
70200
  x: Number(t),
70115
70201
  y: Number(n),
70116
70202
  z: Number.isFinite(Number(r)) ? Number(r) : 0
70117
70203
  };
70118
- let [i, a, o] = Go(e?.coordinates);
70204
+ let [i, a, o] = Jo(e?.coordinates);
70119
70205
  return !Number.isFinite(i) || !Number.isFinite(a) ? null : {
70120
70206
  x: i,
70121
70207
  y: a,
70122
70208
  z: Number.isFinite(o) ? o : 0
70123
70209
  };
70124
70210
  }
70125
- function Yo(e) {
70126
- let t = Jo(e);
70127
- if (!Qe(t)) return !1;
70211
+ function Qo(e) {
70212
+ let t = Zo(e);
70213
+ if (!tt(t)) return !1;
70128
70214
  let n = Number(t.x), r = Number(t.y), i = Number(t.z);
70129
70215
  return Number.isFinite(n) && Number.isFinite(r) && Number.isFinite(i) && n !== 0 && r !== 0 && i !== 0;
70130
70216
  }
70131
- function Xo(e) {
70217
+ function $o(e) {
70132
70218
  return e == null ? "" : typeof e == "object" ? JSON.stringify(e) : String(e);
70133
70219
  }
70134
- function Zo(e) {
70220
+ function es(e) {
70135
70221
  return e == null || String(e).trim() === "";
70136
70222
  }
70137
- function Qo(e) {
70138
- return Zo(e) ? "--" : String(e).trim();
70223
+ function ts(e) {
70224
+ return es(e) ? "--" : String(e).trim();
70139
70225
  }
70140
- function $o(e) {
70141
- return Ko(e) === vZ;
70226
+ function ns(e) {
70227
+ return Yo(e) === vZ;
70142
70228
  }
70143
- function es(e) {
70144
- return Ko(e) === yZ;
70229
+ function rs(e) {
70230
+ return Yo(e) === yZ;
70145
70231
  }
70146
- function ts(e) {
70147
- return Ko(e) === bZ;
70232
+ function is(e) {
70233
+ return Yo(e) === bZ;
70148
70234
  }
70149
- function ns(e) {
70150
- return Ko(e) === xZ;
70235
+ function as(e) {
70236
+ return Yo(e) === xZ;
70151
70237
  }
70152
- function rs() {
70153
- let e = Z.value;
70238
+ function os() {
70239
+ let e = xt.value;
70154
70240
  return !e.visible || !e.sceneId || ![
70155
70241
  "playing",
70156
70242
  "paused",
70157
70243
  "completed"
70158
70244
  ].includes(e.playState) ? "" : `${xZ}-${String(e.sceneId)}`;
70159
70245
  }
70160
- function is(e) {
70161
- return Ko(e) === xZ && String(e?.viewId ?? "") === rs();
70246
+ function ss(e) {
70247
+ return Yo(e) === xZ && String(e?.viewId ?? "") === os();
70162
70248
  }
70163
- function as(e) {
70164
- let t = Ko(e);
70249
+ function cs(e) {
70250
+ let t = Yo(e);
70165
70251
  return [
70166
70252
  vZ,
70167
70253
  yZ,
@@ -70173,79 +70259,79 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70173
70259
  wZ
70174
70260
  ].includes(t);
70175
70261
  }
70176
- function os(e) {
70177
- let t = Ko(e), n = e?.rawData && typeof e.rawData == "object" ? e.rawData : e;
70178
- return t === vZ ? Zo(n?.mine_id) || Zo(n?.sensor_id) ? "缺少 mine_id 或 sensor_id" : "" : t === bZ || t === yZ ? Zo(n?.id) ? "缺少 id" : "" : t === SZ ? Zo(n?.mine_id) || Zo(n?.sensor_id) ? "缺少 mine_id 或 sensor_id" : "" : t === xZ ? Zo(n?.id) ? "缺少 id" : "" : t === CZ ? Zo(n?.mine_id) || Zo(n?.person_card) ? "缺少 mine_id 或 person_card" : "" : t === TZ ? Zo(n?.mine_id) || Zo(n?.sb_code) ? "缺少 mine_id 或 sb_code" : "" : t === wZ ? Zo(n?.mine_id) || Zo(n?.v_code) ? "缺少 mine_id 或 v_code" : "" : "当前业务类型不支持布点";
70179
- }
70180
- function ss(e) {
70181
- return as(e) && !os(e);
70182
- }
70183
- function cs(e) {
70184
- return $o(e) || es(e) || ts(e) || ls(e) || ns(e) || us(e) || fs(e) || ds(e);
70185
- }
70186
70262
  function ls(e) {
70187
- return Ko(e) === SZ;
70263
+ let t = Yo(e), n = e?.rawData && typeof e.rawData == "object" ? e.rawData : e;
70264
+ return t === vZ ? es(n?.mine_id) || es(n?.sensor_id) ? "缺少 mine_id 或 sensor_id" : "" : t === bZ || t === yZ ? es(n?.id) ? "缺少 id" : "" : t === SZ ? es(n?.mine_id) || es(n?.sensor_id) ? "缺少 mine_id 或 sensor_id" : "" : t === xZ ? es(n?.id) ? "缺少 id" : "" : t === CZ ? es(n?.mine_id) || es(n?.person_card) ? "缺少 mine_id 或 person_card" : "" : t === TZ ? es(n?.mine_id) || es(n?.sb_code) ? "缺少 mine_id 或 sb_code" : "" : t === wZ ? es(n?.mine_id) || es(n?.v_code) ? "缺少 mine_id 或 v_code" : "" : "当前业务类型不支持布点";
70188
70265
  }
70189
70266
  function us(e) {
70190
- return Ko(e) === CZ;
70267
+ return cs(e) && !ls(e);
70191
70268
  }
70192
70269
  function ds(e) {
70193
- return Ko(e) === wZ;
70270
+ return ns(e) || rs(e) || is(e) || fs(e) || as(e) || ps(e) || hs(e) || ms(e);
70194
70271
  }
70195
70272
  function fs(e) {
70196
- return Ko(e) === TZ;
70273
+ return Yo(e) === SZ;
70197
70274
  }
70198
70275
  function ps(e) {
70276
+ return Yo(e) === CZ;
70277
+ }
70278
+ function ms(e) {
70279
+ return Yo(e) === wZ;
70280
+ }
70281
+ function hs(e) {
70282
+ return Yo(e) === TZ;
70283
+ }
70284
+ function gs(e) {
70199
70285
  let t = e?.id;
70200
70286
  return t == null ? "" : String(t).trim();
70201
70287
  }
70202
- function ms(e) {
70203
- if ($o(e) && !Zo(e?.v_value_at_dict_sensor_type)) return String(e.v_value_at_dict_sensor_type).trim();
70204
- if (es(e) && !Zo(e?.zd1xmc)) return String(e.zd1xmc).trim();
70205
- if (es(e) && !Zo(e?.zdlxmc)) return String(e.zdlxmc).trim();
70206
- if (ts(e) && !Zo(e?.v_value_at_dict_sensor_type)) return String(e.v_value_at_dict_sensor_type).trim();
70207
- if (ls(e)) {
70208
- let t = Zo(e?.location) ? "" : String(e.location).trim(), n = Zo(e?.sensor_type_name) ? "" : String(e.sensor_type_name).trim();
70288
+ function _s(e) {
70289
+ if (ns(e) && !es(e?.v_value_at_dict_sensor_type)) return String(e.v_value_at_dict_sensor_type).trim();
70290
+ if (rs(e) && !es(e?.zd1xmc)) return String(e.zd1xmc).trim();
70291
+ if (rs(e) && !es(e?.zdlxmc)) return String(e.zdlxmc).trim();
70292
+ if (is(e) && !es(e?.v_value_at_dict_sensor_type)) return String(e.v_value_at_dict_sensor_type).trim();
70293
+ if (fs(e)) {
70294
+ let t = es(e?.location) ? "" : String(e.location).trim(), n = es(e?.sensor_type_name) ? "" : String(e.sensor_type_name).trim();
70209
70295
  if (t && n) return `${t} ${n}`;
70210
70296
  if (t) return t;
70211
70297
  if (n) return n;
70212
- if (!Zo(e?.v_value_at_dict_sensor_type ?? e?.dict_pressure_type ?? e?.sensor_type)) return String(e?.v_value_at_dict_sensor_type ?? e?.dict_pressure_type ?? e?.sensor_type).trim();
70298
+ if (!es(e?.v_value_at_dict_sensor_type ?? e?.dict_pressure_type ?? e?.sensor_type)) return String(e?.v_value_at_dict_sensor_type ?? e?.dict_pressure_type ?? e?.sensor_type).trim();
70213
70299
  }
70214
- return us(e) && !Zo(e?.device_type) ? String(e.device_type).trim() : fs(e) && !Zo(e?.v_server_name ?? e?.v_server_type) ? String(e.v_server_name ?? e.v_server_type).trim() : Ko(e);
70300
+ return ps(e) && !es(e?.device_type) ? String(e.device_type).trim() : hs(e) && !es(e?.v_server_name ?? e?.v_server_type) ? String(e.v_server_name ?? e.v_server_type).trim() : Yo(e);
70215
70301
  }
70216
- function hs(e) {
70217
- return ns(e) ? "" : ms(e);
70302
+ function vs(e) {
70303
+ return as(e) ? "" : _s(e);
70218
70304
  }
70219
- function gs(e) {
70220
- let t = Qo(e?.val), n = Zo(e?.unit) ? "" : String(e.unit).trim();
70305
+ function ys(e) {
70306
+ let t = ts(e?.val), n = es(e?.unit) ? "" : String(e.unit).trim();
70221
70307
  return t === "--" ? t : n ? `${t}${n}` : t;
70222
70308
  }
70223
- function _s(e) {
70224
- return [["测点值", gs(e)], ["数据更新时间", Qo(e?.data_time)]];
70309
+ function bs(e) {
70310
+ return [["测点值", ys(e)], ["数据更新时间", ts(e?.data_time)]];
70225
70311
  }
70226
- function vs(e) {
70227
- let t = Qo(e?.val ?? e?.jcvl), n = Zo(e?.dw) ? "" : String(e.dw).trim();
70312
+ function xs(e) {
70313
+ let t = ts(e?.val ?? e?.jcvl), n = es(e?.dw) ? "" : String(e.dw).trim();
70228
70314
  return t === "--" ? t : n ? `${t}${n}` : t;
70229
70315
  }
70230
- function ys(e) {
70316
+ function Ss(e) {
70231
70317
  return [
70232
- ["监测值", vs(e)],
70233
- ["数据时间", Qo(e?.data_time ?? e?.sj)],
70234
- ["状态", Qo(e?.state)]
70318
+ ["监测值", xs(e)],
70319
+ ["数据时间", ts(e?.data_time ?? e?.sj)],
70320
+ ["状态", ts(e?.state)]
70235
70321
  ];
70236
70322
  }
70237
- function bs(e) {
70238
- let t = Qo(e?.val ?? e?.jcvl ?? e?.value), n = Zo(e?.unit ?? e?.dw) ? "" : String(e?.unit ?? e?.dw).trim();
70323
+ function Cs(e) {
70324
+ let t = ts(e?.val ?? e?.jcvl ?? e?.value), n = es(e?.unit ?? e?.dw) ? "" : String(e?.unit ?? e?.dw).trim();
70239
70325
  return t === "--" ? t : n ? `${t}${n}` : t;
70240
70326
  }
70241
- function xs(e) {
70327
+ function ws(e) {
70242
70328
  return [
70243
- ["监测值", bs(e)],
70244
- ["数据时间", Qo(e?.data_time ?? e?.sj ?? e?.time)],
70245
- ["状态", Qo(e?.state ?? e?.status)]
70329
+ ["监测值", Cs(e)],
70330
+ ["数据时间", ts(e?.data_time ?? e?.sj ?? e?.time)],
70331
+ ["状态", ts(e?.state ?? e?.status)]
70246
70332
  ];
70247
70333
  }
70248
- function Ss(e) {
70334
+ function Ts(e) {
70249
70335
  return [
70250
70336
  ["位置", "location"],
70251
70337
  ["数据时间", "data_time"],
@@ -70258,127 +70344,127 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70258
70344
  ["乙烯", "c2h4_val"],
70259
70345
  ["乙烷", "c2h6_val"],
70260
70346
  ["丙烷", "c3h8_val"]
70261
- ].map(([t, n]) => [t, Qo(e?.[n])]);
70347
+ ].map(([t, n]) => [t, ts(e?.[n])]);
70262
70348
  }
70263
- function Cs(e) {
70264
- return Ss(e).slice(1, 2);
70349
+ function Es(e) {
70350
+ return Ts(e).slice(1, 2);
70265
70351
  }
70266
- function ws(e) {
70267
- return Ss(e).slice(2);
70352
+ function Ds(e) {
70353
+ return Ts(e).slice(2);
70268
70354
  }
70269
- function Ts(e) {
70355
+ function Os(e) {
70270
70356
  return [
70271
- ["姓名", Qo(e?.person_name ?? e?.name)],
70272
- ["部门", Qo(e?.dept)],
70273
- ["职务", Qo(e?.duty)],
70274
- ["分站名称", Qo(e?.station_name)],
70275
- ["入井时间", Qo(e?.time_in_well)],
70276
- ["是否领导", Qo(e?.is_leader)]
70357
+ ["姓名", ts(e?.person_name ?? e?.name)],
70358
+ ["部门", ts(e?.dept)],
70359
+ ["职务", ts(e?.duty)],
70360
+ ["分站名称", ts(e?.station_name)],
70361
+ ["入井时间", ts(e?.time_in_well)],
70362
+ ["是否领导", ts(e?.is_leader)]
70277
70363
  ];
70278
70364
  }
70279
- function Es(e) {
70280
- let t = Qo(e?.person_name ?? e?.name), n = Qo(e?.duty);
70365
+ function ks(e) {
70366
+ let t = ts(e?.person_name ?? e?.name), n = ts(e?.duty);
70281
70367
  return t === "--" && n === "--" ? "未命名人员" : t === "--" ? `-- / ${n}` : n === "--" ? `${t} / --` : `${t} / ${n}`;
70282
70368
  }
70283
- function Ds(e) {
70369
+ function As(e) {
70284
70370
  return [
70285
- ["部门", Qo(e?.dept)],
70286
- ["分站名称", Qo(e?.station_name)],
70287
- ["入井时间", Qo(e?.time_in_well)],
70288
- ["是否领导", Qo(e?.is_leader)]
70371
+ ["部门", ts(e?.dept)],
70372
+ ["分站名称", ts(e?.station_name)],
70373
+ ["入井时间", ts(e?.time_in_well)],
70374
+ ["是否领导", ts(e?.is_leader)]
70289
70375
  ];
70290
70376
  }
70291
- function Os(e) {
70292
- let t = Qo(e?.monitor_val ?? e?.val ?? e?.jcvl ?? e?.value ?? e?.pressure_value), n = Zo(e?.unit ?? e?.dw) ? "" : String(e?.unit ?? e?.dw).trim();
70377
+ function js(e) {
70378
+ let t = ts(e?.monitor_val ?? e?.val ?? e?.jcvl ?? e?.value ?? e?.pressure_value), n = es(e?.unit ?? e?.dw) ? "" : String(e?.unit ?? e?.dw).trim();
70293
70379
  return t === "--" ? t : n ? `${t}${n}` : t;
70294
70380
  }
70295
- function ks(e) {
70381
+ function Ms(e) {
70296
70382
  return [
70297
- ["监测值", Os(e)],
70298
- ["数据时间", Qo(e?.data_time ?? e?.sj ?? e?.time)],
70299
- ["状态", Qo(e?.state ?? e?.status)]
70383
+ ["监测值", js(e)],
70384
+ ["数据时间", ts(e?.data_time ?? e?.sj ?? e?.time)],
70385
+ ["状态", ts(e?.state ?? e?.status)]
70300
70386
  ];
70301
70387
  }
70302
- function As(e) {
70388
+ function Ns(e) {
70303
70389
  return [
70304
- ["定位卡号", Qo(e?.person_card)],
70305
- ["车辆类型", Qo(e?.typem_name)],
70306
- ["出入井状态", Qo(e?.enter_flag_name)],
70307
- ["班次", Qo(e?.class_code)],
70308
- ["站点名称", Qo(e?.station_name)],
70309
- ["站点编码", Qo(e?.station_code)],
70310
- ["区域名称", Qo(e?.area_name)],
70311
- ["区域进入时间", Qo(e?.area_entertime)],
70312
- ["站点进入时间", Qo(e?.station_entertime)],
70313
- ["入井时间", Qo(e?.mine_entertime)],
70314
- ["数据时间", Qo(e?.data_time)]
70390
+ ["定位卡号", ts(e?.person_card)],
70391
+ ["车辆类型", ts(e?.typem_name)],
70392
+ ["出入井状态", ts(e?.enter_flag_name)],
70393
+ ["班次", ts(e?.class_code)],
70394
+ ["站点名称", ts(e?.station_name)],
70395
+ ["站点编码", ts(e?.station_code)],
70396
+ ["区域名称", ts(e?.area_name)],
70397
+ ["区域进入时间", ts(e?.area_entertime)],
70398
+ ["站点进入时间", ts(e?.station_entertime)],
70399
+ ["入井时间", ts(e?.mine_entertime)],
70400
+ ["数据时间", ts(e?.data_time)]
70315
70401
  ];
70316
70402
  }
70317
- function js(e) {
70403
+ function Ps(e) {
70318
70404
  return [
70319
- ["车辆类型", Qo(e?.typem_name)],
70320
- ["班次", Qo(e?.class_code)],
70321
- ["出入井状态", Qo(e?.enter_flag_name)],
70322
- ["站点名称", Qo(e?.station_name)],
70323
- ["站点编码", Qo(e?.station_code)],
70324
- ["区域名称", Qo(e?.area_name)],
70325
- ["区域进入时间", Qo(e?.area_entertime)],
70326
- ["站点进入时间", Qo(e?.station_entertime)],
70327
- ["入井时间", Qo(e?.mine_entertime)],
70328
- ["数据时间", Qo(e?.data_time)]
70405
+ ["车辆类型", ts(e?.typem_name)],
70406
+ ["班次", ts(e?.class_code)],
70407
+ ["出入井状态", ts(e?.enter_flag_name)],
70408
+ ["站点名称", ts(e?.station_name)],
70409
+ ["站点编码", ts(e?.station_code)],
70410
+ ["区域名称", ts(e?.area_name)],
70411
+ ["区域进入时间", ts(e?.area_entertime)],
70412
+ ["站点进入时间", ts(e?.station_entertime)],
70413
+ ["入井时间", ts(e?.mine_entertime)],
70414
+ ["数据时间", ts(e?.data_time)]
70329
70415
  ];
70330
70416
  }
70331
- function Ms(e) {
70417
+ function Fs(e) {
70332
70418
  return [
70333
- ["视频编码", Qo(e?.v_camera_indexcode ?? e?.indexcode)],
70334
- ["视频名称", Qo(e?.v_camera_name ?? e?.name)],
70335
- ["视频平台", Qo(e?.v_server_name)],
70336
- ["在线状态", Qo(e?.online)]
70419
+ ["视频编码", ts(e?.v_camera_indexcode ?? e?.indexcode)],
70420
+ ["视频名称", ts(e?.v_camera_name ?? e?.name)],
70421
+ ["视频平台", ts(e?.v_server_name)],
70422
+ ["在线状态", ts(e?.online)]
70337
70423
  ];
70338
70424
  }
70339
- function Ns(e) {
70425
+ function Is(e) {
70340
70426
  return [
70341
- ["广播名称", Qo(e?.v_name ?? e?.name)],
70342
- ["广播编码", Qo(e?.v_code)],
70343
- ["矿井名称", Qo(e?.mine_name)],
70344
- ["所属区域", Qo(e?.v_area_name)],
70345
- ["所属系统", Qo(e?.system_name)],
70346
- ["经纬度", Qo(e?.lat_lng)],
70347
- ["三维坐标", Qo(e?.coordinates)]
70427
+ ["广播名称", ts(e?.v_name ?? e?.name)],
70428
+ ["广播编码", ts(e?.v_code)],
70429
+ ["矿井名称", ts(e?.mine_name)],
70430
+ ["所属区域", ts(e?.v_area_name)],
70431
+ ["所属系统", ts(e?.system_name)],
70432
+ ["经纬度", ts(e?.lat_lng)],
70433
+ ["三维坐标", ts(e?.coordinates)]
70348
70434
  ];
70349
70435
  }
70350
- function Ps(e) {
70351
- return [["广播编码", Qo(e?.v_code)]];
70436
+ function Ls(e) {
70437
+ return [["广播编码", ts(e?.v_code)]];
70352
70438
  }
70353
- function Fs(e) {
70354
- return [["所属区域", Qo(e?.v_area_name)], ["所属系统", Qo(e?.system_name)]];
70439
+ function Rs(e) {
70440
+ return [["所属区域", ts(e?.v_area_name)], ["所属系统", ts(e?.system_name)]];
70355
70441
  }
70356
- function Is(e) {
70442
+ function zs(e) {
70357
70443
  return e?.data && typeof e.data == "object" && !Array.isArray(e.data) ? e.data : e && typeof e == "object" ? e : {};
70358
70444
  }
70359
- let Ls = r(() => E.value?.dataSource?.type === "cloud" && E.value?.dataSource?.autoLoad === !0), Rs = r(() => {
70445
+ let Bs = r(() => E.value?.dataSource?.type === "cloud" && E.value?.dataSource?.autoLoad === !0), Vs = r(() => {
70360
70446
  let e = {};
70361
70447
  return (Array.isArray(b.toolbarTools) ? b.toolbarTools : []).forEach((t) => {
70362
70448
  let n = typeof t == "string" ? t.trim() : "";
70363
70449
  n && (e[n] = !0);
70364
70450
  }), e;
70365
70451
  });
70366
- function zs(e) {
70367
- return !!Rs.value[e];
70452
+ function Hs(e) {
70453
+ return !!Vs.value[e];
70368
70454
  }
70369
- let Bs = r(() => zs(v.DEBUG)), Vs = r(() => zs(v.MONITOR)), Hs = r(() => zs(v.RANGE)), Us = r(() => zs(v.WATER)), Ws = r(() => zs(v.EXIT_PATH)), Gs = r(() => zs(v.VIEW)), Ks = r(() => zs(v.REGION));
70455
+ let Us = r(() => Hs(v.DEBUG)), Ws = r(() => Hs(v.MONITOR)), Gs = r(() => Hs(v.RANGE)), Ks = r(() => Hs(v.WATER)), qs = r(() => Hs(v.EXIT_PATH)), Js = r(() => Hs(v.VIEW)), Ys = r(() => Hs(v.REGION));
70370
70456
  te(() => ({
70371
- debug: Bs.value,
70372
- monitor: Vs.value,
70373
- range: Hs.value,
70374
- water: Us.value,
70375
- exitPath: Ws.value,
70376
- view: Gs.value,
70377
- region: Ks.value
70457
+ debug: Us.value,
70458
+ monitor: Ws.value,
70459
+ range: Gs.value,
70460
+ water: Ks.value,
70461
+ exitPath: qs.value,
70462
+ view: Js.value,
70463
+ region: Ys.value
70378
70464
  }), (e) => {
70379
- e.debug || (ce.value = !1), e.monitor || (ra.value = !1), e.range || vn.value === "picking" && Gn(), e.water || (Lr.value = !1), e.exitPath || (ki.value = !1), e.view || (le.value = !1), e.region || (U.value = !1);
70465
+ e.debug || (ce.value = !1), e.monitor || (oa.value = !1), e.range || xn.value === "picking" && Jn(), e.water || (Br.value = !1), e.exitPath || (Mi.value = !1), e.view || (le.value = !1), e.region || (U.value = !1);
70380
70466
  }, { immediate: !0 });
70381
- function qs(e) {
70467
+ function Xs(e) {
70382
70468
  let { text: t, position: n, height: r = $X, scale: i = eZ } = e ?? {};
70383
70469
  if (!n || !Number.isFinite(n.x) || !Number.isFinite(n.y) || !Number.isFinite(n.z)) return null;
70384
70470
  let a = window.lr3dapp?.editor?.manager?.modules?.marker;
@@ -70396,40 +70482,40 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70396
70482
  });
70397
70483
  return o?.scale?.multiplyScalar(i), o;
70398
70484
  }
70399
- function Js() {
70485
+ function Zs() {
70400
70486
  let e = window.lr3dapp?.editor?.manager?.modules?.marker;
70401
70487
  return !e || typeof e.removeAllTextSprite != "function" ? !1 : (e.removeAllTextSprite(), !0);
70402
70488
  }
70403
- function Ys() {
70489
+ function Qs() {
70404
70490
  try {
70405
- rc(I.value), Le(`背景颜色已更新:${I.value}`);
70491
+ oc(I.value), Be(`背景颜色已更新:${I.value}`);
70406
70492
  } catch (e) {
70407
- Le(`背景颜色更新失败:${Xs(e)}`);
70493
+ Be(`背景颜色更新失败:${$s(e)}`);
70408
70494
  }
70409
70495
  }
70410
- function Xs(e) {
70496
+ function $s(e) {
70411
70497
  return e instanceof Error ? e.message : "未知错误";
70412
70498
  }
70413
- function Zs(e) {
70499
+ function ec(e) {
70414
70500
  return e ? `X ${Number(e.x).toFixed(2)} / Y ${Number(e.y).toFixed(2)} / Z ${Number(e.z).toFixed(2)}` : "--";
70415
70501
  }
70416
- function Qs(e) {
70502
+ function tc(e) {
70417
70503
  return e ? `X ${Number(e.x).toFixed(2)} / Y ${Number(e.y).toFixed(2)} / Z ${Number(e.z).toFixed(2)}` : "--";
70418
70504
  }
70419
- function $s(e) {
70420
- return $o(e) ? _s(e) : es(e) ? ys(e) : ts(e) ? xs(e) : ns(e) ? Ts(e) : ls(e) ? ks(e) : us(e) ? As(e) : fs(e) ? Ms(e) : ds(e) ? Ns(e) : Object.entries(Is(e)).map(([e, t]) => [e, Xo(t)]);
70505
+ function nc(e) {
70506
+ return ns(e) ? bs(e) : rs(e) ? Ss(e) : is(e) ? ws(e) : as(e) ? Os(e) : fs(e) ? Ms(e) : ps(e) ? Ns(e) : hs(e) ? Fs(e) : ms(e) ? Is(e) : Object.entries(zs(e)).map(([e, t]) => [e, $o(t)]);
70421
70507
  }
70422
- function ec(e, t = {}) {
70508
+ function rc(e, t = {}) {
70423
70509
  let { positionMode: n = "absolute" } = t, r = n === "relative" ? {
70424
70510
  x: Number(e?.x),
70425
70511
  y: Number(e?.y),
70426
70512
  z: Number(e?.z)
70427
- } : et(e), i = Ye();
70513
+ } : rt(e), i = Qe();
70428
70514
  if (!r || !i || !N.value) return null;
70429
70515
  let a = N.value.getBoundingClientRect();
70430
70516
  if (a.width <= 0 || a.height <= 0) return null;
70431
70517
  try {
70432
- let e = Ze(), t = new e.Vector3(Number(r.x), Number(r.y), Number(r.z)), n = new e.Vector3(Number(i.position?.x ?? 0), Number(i.position?.y ?? 0), Number(i.position?.z ?? 0));
70518
+ let e = et(), t = new e.Vector3(Number(r.x), Number(r.y), Number(r.z)), n = new e.Vector3(Number(i.position?.x ?? 0), Number(i.position?.y ?? 0), Number(i.position?.z ?? 0));
70433
70519
  if (i.updateProjectionMatrix?.(), i.updateMatrixWorld?.(!0), t.project(i), !Number.isFinite(t.x) || !Number.isFinite(t.y) || !Number.isFinite(t.z) || t.z < -1 || t.z > 1) return null;
70434
70520
  let o = (t.x * .5 + .5) * a.width, s = (-t.y * .5 + .5) * a.height;
70435
70521
  if (o < -48 || o > a.width + 48 || s < -48 || s > a.height + 48) return null;
@@ -70443,24 +70529,24 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70443
70529
  return null;
70444
70530
  }
70445
70531
  }
70446
- function tc(e, t = {}) {
70447
- let { enableScale: n = !0 } = t, r = ec(e, t);
70532
+ function ic(e, t = {}) {
70533
+ let { enableScale: n = !0 } = t, r = rc(e, t);
70448
70534
  if (!r) return null;
70449
70535
  let i = `translate(${r.x}px, ${r.y}px) translate(-50%, -100%)`;
70450
70536
  return { transform: n ? `${i} scale(${r.scale.toFixed(3)})` : i };
70451
70537
  }
70452
- function nc(e) {
70538
+ function ac(e) {
70453
70539
  return e == null ? "" : String(e).trim().toLowerCase();
70454
70540
  }
70455
- function rc(e = I.value) {
70541
+ function oc(e = I.value) {
70456
70542
  let t = ij(), n = typeof e == "string" && e.trim() ? e.trim() : "#041D4B";
70457
70543
  t?.signals?.sceneBackgroundChanged?.dispatch?.("Gradientcolor", null, null, null, null, n, n);
70458
70544
  }
70459
- function ic() {
70545
+ function sc() {
70460
70546
  let e = ij(), t = rj();
70461
70547
  return [e?.scene, t?.scene].find((e) => e && typeof e.add == "function") ?? null;
70462
70548
  }
70463
- function ac(e) {
70549
+ function cc(e) {
70464
70550
  e && e.traverse?.((e) => {
70465
70551
  if (e.geometry?.dispose?.(), Array.isArray(e.material)) {
70466
70552
  e.material.forEach((e) => e?.dispose?.());
@@ -70469,7 +70555,7 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70469
70555
  e.material?.dispose?.();
70470
70556
  });
70471
70557
  }
70472
- function oc(e) {
70558
+ function lc(e) {
70473
70559
  let t = e;
70474
70560
  for (; t;) {
70475
70561
  if (t.name === xX || t.name === SX || t.name === CX || t.name === wX || t.name === _Z || t.name === "TransformControlHelper") return !0;
@@ -70477,29 +70563,29 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70477
70563
  }
70478
70564
  return !1;
70479
70565
  }
70480
- function sc(e) {
70566
+ function uc(e) {
70481
70567
  let t = e?.info;
70482
70568
  return !t || typeof t != "object" || Array.isArray(t) ? !1 : Object.prototype.hasOwnProperty.call(t, "水平") && Object.prototype.hasOwnProperty.call(t, "采区");
70483
70569
  }
70484
- function cc(e) {
70570
+ function dc(e) {
70485
70571
  if (!N.value) return null;
70486
- let t = ic(), n = Ye();
70572
+ let t = sc(), n = Qe();
70487
70573
  if (!t || !n) return null;
70488
70574
  let r = N.value.getBoundingClientRect();
70489
70575
  if (r.width <= 0 || r.height <= 0) return null;
70490
- let i = Ze(), a = new i.Vector2((e.clientX - r.left) / r.width * 2 - 1, -((e.clientY - r.top) / r.height) * 2 + 1), o = new i.Raycaster();
70576
+ let i = et(), a = new i.Vector2((e.clientX - r.left) / r.width * 2 - 1, -((e.clientY - r.top) / r.height) * 2 + 1), o = new i.Raycaster();
70491
70577
  return n.updateProjectionMatrix?.(), n.updateMatrixWorld?.(!0), t.updateMatrixWorld?.(!0), o.setFromCamera(a, n), o.intersectObjects(t.children, !0).find((e) => {
70492
70578
  let t = e?.object;
70493
- return !t?.visible || oc(t) || !sc(t) ? !1 : Qe(e?.point);
70579
+ return !t?.visible || lc(t) || !uc(t) ? !1 : tt(e?.point);
70494
70580
  }) ?? null;
70495
70581
  }
70496
- function lc(e) {
70497
- if (!Qe(e)) return null;
70498
- let t = ic();
70582
+ function fc(e) {
70583
+ if (!tt(e)) return null;
70584
+ let t = sc();
70499
70585
  if (!t) return null;
70500
- let n = Ze(), r = new n.Vector3(Number(e.x), Number(e.y), Number(e.z)), i = new n.Box3(), a = new n.Vector3(), o = new n.Vector3(), s = null, c = Infinity, l = null, u = Infinity;
70586
+ let n = et(), r = new n.Vector3(Number(e.x), Number(e.y), Number(e.z)), i = new n.Box3(), a = new n.Vector3(), o = new n.Vector3(), s = null, c = Infinity, l = null, u = Infinity;
70501
70587
  return t.updateMatrixWorld?.(!0), t.traverse?.((e) => {
70502
- if (!e?.visible || oc(e) || !sc(e) || !e.geometry || (e.geometry.computeBoundingBox?.(), !e.geometry.boundingBox)) return;
70588
+ if (!e?.visible || lc(e) || !uc(e) || !e.geometry || (e.geometry.computeBoundingBox?.(), !e.geometry.boundingBox)) return;
70503
70589
  i.copy(e.geometry.boundingBox), i.applyMatrix4(e.matrixWorld), i.getSize(a);
70504
70590
  let t = Math.max(a.x, 0) * Math.max(a.y, 0) * Math.max(a.z, 0);
70505
70591
  if (i.containsPoint(r)) {
@@ -70511,11 +70597,11 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70511
70597
  n < u && (u = n, l = e);
70512
70598
  }), s ?? l;
70513
70599
  }
70514
- function uc(...e) {
70600
+ function pc(...e) {
70515
70601
  for (let t of e) if (t != null && String(t).trim()) return t;
70516
70602
  return "";
70517
70603
  }
70518
- function dc(e) {
70604
+ function mc(e) {
70519
70605
  let t = {
70520
70606
  ids: [],
70521
70607
  names: [],
@@ -70528,24 +70614,24 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70528
70614
  }
70529
70615
  return t;
70530
70616
  }
70531
- function fc(e, t = "selection") {
70617
+ function hc(e, t = "selection") {
70532
70618
  let n = e?.object ?? e ?? null;
70533
70619
  if (!n || typeof n != "object") return null;
70534
- let r = dc(n), i = n?.position, a = i && Number.isFinite(Number(i.x)) ? {
70620
+ let r = mc(n), i = n?.position, a = i && Number.isFinite(Number(i.x)) ? {
70535
70621
  x: Number(i.x),
70536
70622
  y: Number(i.y),
70537
70623
  z: Number(i.z)
70538
70624
  } : null;
70539
70625
  return {
70540
- id: uc(...r.ids) || null,
70541
- name: uc(...r.names) || null,
70542
- layerName: uc(...r.layerNames) || null,
70626
+ id: pc(...r.ids) || null,
70627
+ name: pc(...r.names) || null,
70628
+ layerName: pc(...r.layerNames) || null,
70543
70629
  position: a
70544
70630
  };
70545
70631
  }
70546
- function pc(e, t = "icon") {
70632
+ function gc(e, t = "icon") {
70547
70633
  if (!e || typeof e != "object") return null;
70548
- let n = Qe(e.position) ? {
70634
+ let n = tt(e.position) ? {
70549
70635
  x: Number(e.position.x),
70550
70636
  y: Number(e.position.y),
70551
70637
  z: Number(e.position.z)
@@ -70561,28 +70647,28 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70561
70647
  rawData: i
70562
70648
  };
70563
70649
  }
70564
- function mc(e, t = "icon") {
70565
- if (!fs(e)) return null;
70566
- let n = pc(e, t);
70650
+ function _c(e, t = "icon") {
70651
+ if (!hs(e)) return null;
70652
+ let n = gc(e, t);
70567
70653
  return n ? {
70568
70654
  ...n,
70569
- videoId: ps(e)
70655
+ videoId: gs(e)
70570
70656
  } : null;
70571
70657
  }
70572
- function hc(e, t = "icon") {
70573
- let n = re.value, r = pc(e, t);
70658
+ function vc(e, t = "icon") {
70659
+ let n = re.value, r = gc(e, t);
70574
70660
  return typeof n != "function" || !r ? !1 : (n(r), !0);
70575
70661
  }
70576
- function gc(e, t = "icon") {
70577
- let n = ie.value, r = mc(e, t);
70662
+ function yc(e, t = "icon") {
70663
+ let n = ie.value, r = _c(e, t);
70578
70664
  if (typeof n != "function" || !r) return !1;
70579
70665
  try {
70580
70666
  return n(r), !0;
70581
70667
  } catch (e) {
70582
- return Re(`视频测点点击回调执行失败:${Xs(e)}`), !1;
70668
+ return Ve(`视频测点点击回调执行失败:${$s(e)}`), !1;
70583
70669
  }
70584
70670
  }
70585
- function _c(e) {
70671
+ function bc(e) {
70586
70672
  let t = ne.value;
70587
70673
  if (typeof t != "function" || !e) return !1;
70588
70674
  let n = [
@@ -70596,7 +70682,7 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70596
70682
  timestamp: r
70597
70683
  }, t(e), !0);
70598
70684
  }
70599
- function vc() {
70685
+ function xc() {
70600
70686
  oe.value?.();
70601
70687
  let e = [];
70602
70688
  if (N.value) {
@@ -70604,8 +70690,8 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70604
70690
  G.value !== null && window.clearTimeout(G.value), G.value = window.setTimeout(() => {
70605
70691
  G.value = null;
70606
70692
  try {
70607
- let e = fc(ij()?.selected, "click-fallback");
70608
- _c(e) && Le(`模型信息查询触发:${e?.name || e?.id || "未命名对象"}`);
70693
+ let e = hc(ij()?.selected, "click-fallback");
70694
+ bc(e) && Be(`模型信息查询触发:${e?.name || e?.id || "未命名对象"}`);
70609
70695
  } catch {}
70610
70696
  }, 0);
70611
70697
  };
@@ -70615,216 +70701,219 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70615
70701
  e.forEach((e) => e()), G.value !== null && (window.clearTimeout(G.value), G.value = null);
70616
70702
  };
70617
70703
  }
70618
- function yc(e) {
70704
+ function Sc(e) {
70619
70705
  if (e != null && typeof e != "function") throw Error("模型信息查询回调必须是函数");
70620
70706
  return ne.value = typeof e == "function" ? e : null, ne.value !== null;
70621
70707
  }
70622
- function bc(e) {
70708
+ function Cc(e) {
70623
70709
  if (e != null && typeof e != "function") throw Error("监测点点击回调必须是函数");
70624
70710
  return re.value = typeof e == "function" ? e : null, re.value !== null;
70625
70711
  }
70626
- function xc(e) {
70712
+ function wc(e) {
70627
70713
  if (e != null && typeof e != "function") throw Error("视频测点点击回调必须是函数");
70628
70714
  return ie.value = typeof e == "function" ? e : null, ie.value !== null;
70629
70715
  }
70630
- function Sc(e) {
70716
+ function Tc(e) {
70631
70717
  if (e != null && typeof e != "function") throw Error("水漫延参数变更回调必须是函数");
70632
70718
  return ae.value = typeof e == "function" ? e : null, ae.value !== null;
70633
70719
  }
70634
- function Cc() {
70635
- return !Gs.value || We.value.length === 0 ? !1 : (le.value = !le.value, W.value = le.value ? "视角面板已显示" : "视角面板已隐藏", Le(W.value), !0);
70720
+ function Ec() {
70721
+ return !Js.value || qe.value.length === 0 ? !1 : (le.value = !le.value, W.value = le.value ? "视角面板已显示" : "视角面板已隐藏", Be(W.value), !0);
70636
70722
  }
70637
- function wc() {
70638
- let e = kn.value;
70639
- if (!Qe(e)) return W.value = "请先完成事故选点", Le("事故点视角切换失败:当前没有事故点"), !1;
70723
+ function Dc() {
70724
+ let e = Mn.value;
70725
+ if (!tt(e)) return W.value = "请先完成事故选点", Be("事故点视角切换失败:当前没有事故点"), !1;
70640
70726
  try {
70641
- let t = ij(), n = Ye(), r = Xe(), i = Ze();
70727
+ let t = ij(), n = Qe(), r = $e(), i = et();
70642
70728
  if (!t?.camera?.position || !n?.position || !r?.center && !r?.target) throw Error("当前 SDK 未提供完整相机或控制器");
70643
70729
  let a = new i.Vector3(Number(e.x), Number(e.y), Number(e.z)), o = n.position.clone?.() ?? new i.Vector3(Number(n.position.x ?? 0), Number(n.position.y ?? 0), Number(n.position.z ?? 0)), s = r?.center ?? r?.target, c = s?.clone?.() ?? new i.Vector3(Number(s?.x ?? a.x), Number(s?.y ?? a.y), Number(s?.z ?? a.z)), l = o.clone().sub(c);
70644
- return l.length() <= fX && l.set(1, -1, .45), l.z = Math.max(l.z, f), l.normalize().multiplyScalar(d), l.z = Math.max(l.z, f), Je(t, r, a.clone().add(l), a.clone(), i, () => {
70645
- He.value = "", W.value = "已切换视角:事故点", Le(`已切换到事故点视角:${Qs(a)}`), pr();
70730
+ return l.length() <= fX && l.set(1, -1, .45), l.z = Math.max(l.z, f), l.normalize().multiplyScalar(d), l.z = Math.max(l.z, f), Ze(t, r, a.clone().add(l), a.clone(), i, () => {
70731
+ Ge.value = "", W.value = "已切换视角:事故点", Be(`已切换到事故点视角:${tc(a)}`), gr();
70646
70732
  }), !0;
70647
70733
  } catch (e) {
70648
- return W.value = `事故点视角切换失败:${Xs(e)}`, Le(`事故点视角切换失败:${Xs(e)}`), !1;
70734
+ return W.value = `事故点视角切换失败:${$s(e)}`, Be(`事故点视角切换失败:${$s(e)}`), !1;
70649
70735
  }
70650
70736
  }
70651
- function Tc() {
70652
- if (Rn.value) return wc();
70653
- let e = Ee();
70654
- return e ? cr(e, { coordinateSpace: "absolute" }) ? wc() : !1 : (W.value = "事故点默认坐标缺失,请先补充当前矿井配置", Le("事故点生成失败:当前矿井缺少 accidentPointAbsolutePosition 配置"), !1);
70737
+ function Oc() {
70738
+ if (Vn.value) return Dc();
70739
+ let e = Ee(), t = De(), n = Oe(), r = e ?? t;
70740
+ return r ? dr(r, {
70741
+ coordinateSpace: e ? "relative" : "absolute",
70742
+ pickObjectMatchInfo: n
70743
+ }) ? Dc() : !1 : (W.value = "事故点默认坐标缺失,请先补充当前矿井配置", Be("事故点生成失败:当前矿井缺少 accidentPointAbsolutePosition 配置"), !1);
70655
70744
  }
70656
- function Ec() {
70657
- return ve || typeof window > "u" || _r.value.length === 0 ? !1 : (ye !== null && (window.clearTimeout(ye), ye = null), ye = window.setTimeout(() => {
70658
- ye = null, Dc();
70745
+ function kc() {
70746
+ return ve || typeof window > "u" || br.value.length === 0 ? !1 : (ye !== null && (window.clearTimeout(ye), ye = null), ye = window.setTimeout(() => {
70747
+ ye = null, Ac();
70659
70748
  }, bX), !0);
70660
70749
  }
70661
- async function Dc() {
70662
- return ve ? !1 : (await x(), Tc() ? await Promise.resolve(Hi()) ? (ve = !0, Re("场景默认初始化已完成:事故点与避灾线路已自动显示"), !0) : (Re("场景默认避灾线路初始化失败:事故点已生成,但避灾线路未显示"), !1) : (Re("场景默认事故点初始化失败:未能生成或聚焦事故点"), !1));
70750
+ async function Ac() {
70751
+ return ve ? !1 : (await x(), Oc() ? await Promise.resolve(Gi()) ? (ve = !0, Ve("场景默认初始化已完成:事故点与避灾线路已自动显示"), !0) : (Ve("场景默认避灾线路初始化失败:事故点已生成,但避灾线路未显示"), !1) : (Ve("场景默认事故点初始化失败:未能生成或聚焦事故点"), !1));
70663
70752
  }
70664
- async function Oc(e) {
70753
+ async function jc(e) {
70665
70754
  let t = mG[e] ?? e, n = se.value[e];
70666
70755
  if (!n) throw Error(`未找到手动加载类型: ${e}`);
70667
70756
  if (n.loading) {
70668
- Le(`${t}正在加载,已忽略重复请求`);
70757
+ Be(`${t}正在加载,已忽略重复请求`);
70669
70758
  return;
70670
70759
  }
70671
70760
  if (n.loaded) {
70672
- Le(`${t}已加载,跳过重复请求`);
70761
+ Be(`${t}已加载,跳过重复请求`);
70673
70762
  return;
70674
70763
  }
70675
- n.loading = !0, Le(`开始手动加载:${t}`);
70764
+ n.loading = !0, Be(`开始手动加载:${t}`);
70676
70765
  try {
70677
70766
  let t = await TG(e);
70678
- n.loaded = t.loaded, Le(t.summary);
70767
+ n.loaded = t.loaded, Be(t.summary);
70679
70768
  } finally {
70680
70769
  n.loading = !1;
70681
70770
  }
70682
70771
  }
70683
- async function kc({ trigger: e = "manual", forceReload: t = !1 } = {}) {
70684
- if (ee.value) return Le("数据源正在加载,已忽略重复请求"), null;
70685
- if (R.value && !t) return Le("区域要素与巷道已加载,跳过重复请求"), null;
70772
+ async function Mc({ trigger: e = "manual", forceReload: t = !1 } = {}) {
70773
+ if (ee.value) return Be("数据源正在加载,已忽略重复请求"), null;
70774
+ if (R.value && !t) return Be("区域要素与巷道已加载,跳过重复请求"), null;
70686
70775
  let n = e === "auto" ? "自动" : "手动";
70687
- ee.value = !0, Le(`${n}加载开始:区域要素与巷道`);
70776
+ ee.value = !0, Be(`${n}加载开始:区域要素与巷道`);
70688
70777
  try {
70689
70778
  let e = await wG();
70690
- return R.value = !0, wr(e.regionItems), Tr(e.laneItems), hn(), gn(), yr.value = e.regionItems.length > 0, br.value = e.laneItems.length > 0, (e.regionItems.length > 0 || e.laneItems.length > 0) && ct(), Dr(e.laneItems), Ar(), Mr(e.laneItems), Le(`${n}加载完成:${e.summary}`), e.result;
70779
+ return R.value = !0, Dr(e.regionItems), Or(e.laneItems), vn(), yn(), Sr.value = e.regionItems.length > 0, Cr.value = e.laneItems.length > 0, (e.regionItems.length > 0 || e.laneItems.length > 0) && dt(), Ar(e.laneItems), Mr(), Fr(e.laneItems), Be(`${n}加载完成:${e.summary}`), e.result;
70691
70780
  } finally {
70692
70781
  ee.value = !1;
70693
70782
  }
70694
70783
  }
70695
- async function Ac(e) {
70784
+ async function Nc(e) {
70696
70785
  try {
70697
70786
  if (e === "resize") {
70698
- Be(), Le("已触发场景 resize");
70787
+ Ue(), Be("已触发场景 resize");
70699
70788
  return;
70700
70789
  }
70701
70790
  if (e === "editor") {
70702
- Le(`editor 可用,当前 selected id: ${ij()?.selected?.id ?? "none"}`);
70791
+ Be(`editor 可用,当前 selected id: ${ij()?.selected?.id ?? "none"}`);
70703
70792
  return;
70704
70793
  }
70705
70794
  if (e === "interfaces") {
70706
70795
  let e = aj();
70707
- Le(`interfaces 可用,activingTool 字段存在: ${Object.prototype.hasOwnProperty.call(e, "activingTool")}`);
70796
+ Be(`interfaces 可用,activingTool 字段存在: ${Object.prototype.hasOwnProperty.call(e, "activingTool")}`);
70708
70797
  return;
70709
70798
  }
70710
70799
  if (e === "sdkViewState") {
70711
70800
  let e = ij(), t = e?.camera?.position?.clone?.(), n = e?.controls?.center?.clone?.();
70712
70801
  if (!t || !n) throw Error("当前 SDK 未提供可读取的 camera.position 或 controls.center");
70713
- Le(`SDK 视口参数读取成功:camera ${Qs(t)},center ${Qs(n)}`);
70802
+ Be(`SDK 视口参数读取成功:camera ${tc(t)},center ${tc(n)}`);
70714
70803
  return;
70715
70804
  }
70716
70805
  if (e === "refresh") {
70717
- cj(), Le("已触发 sceneGraphChanged 刷新");
70806
+ cj(), Be("已触发 sceneGraphChanged 刷新");
70718
70807
  return;
70719
70808
  }
70720
70809
  if (e === "tool") {
70721
70810
  let e = P.value.trim();
70722
70811
  if (!e) throw Error("请先输入工具名称");
70723
- await lj(e), Le(`activeTool 调用完成: ${e}`);
70812
+ await lj(e), Be(`activeTool 调用完成: ${e}`);
70724
70813
  return;
70725
70814
  }
70726
70815
  if (e === "datasource") {
70727
- await kc({ trigger: "manual" });
70816
+ await Mc({ trigger: "manual" });
70728
70817
  return;
70729
70818
  }
70730
70819
  if (e === "regionAssist") {
70731
- await Oc("regionAssist");
70820
+ await jc("regionAssist");
70732
70821
  return;
70733
70822
  }
70734
70823
  if (e === "coalResvers") {
70735
- await Oc("coalResvers");
70824
+ await jc("coalResvers");
70736
70825
  return;
70737
70826
  }
70738
70827
  if (e === "boundary") {
70739
- await Oc("boundary");
70828
+ await jc("boundary");
70740
70829
  return;
70741
70830
  }
70742
70831
  if (e === "geology") {
70743
- await Oc("geology");
70832
+ await jc("geology");
70744
70833
  return;
70745
70834
  }
70746
70835
  if (e === "pointSymbol") {
70747
- await Oc("pointSymbol");
70836
+ await jc("pointSymbol");
70748
70837
  return;
70749
70838
  }
70750
70839
  if (e === "coal") {
70751
- await Oc("coal");
70840
+ await jc("coal");
70752
70841
  return;
70753
70842
  }
70754
70843
  if (e === "geofault") {
70755
- await Oc("geofault");
70844
+ await jc("geofault");
70756
70845
  return;
70757
70846
  }
70758
70847
  } catch (e) {
70759
- Le(`调试失败: ${Xs(e)}`);
70848
+ Be(`调试失败: ${$s(e)}`);
70760
70849
  }
70761
70850
  }
70762
70851
  return T(() => {
70763
- Se(`组件初始化版本号:${pG}`), typeof window < "u" && (window.addEventListener("resize", Wo), window.addEventListener("pointerdown", zo, !0)), N.value?.addEventListener("pointerdown", Fo, !0), N.value?.addEventListener("pointermove", Io, !0), N.value?.addEventListener("pointercancel", Lo, !0), N.value?.addEventListener("contextmenu", Ro, !0), ze();
70852
+ Se(`组件初始化版本号:${pG}`), typeof window < "u" && (window.addEventListener("resize", qo), window.addEventListener("pointerdown", Ho, !0)), N.value?.addEventListener("pointerdown", Ro, !0), N.value?.addEventListener("pointermove", zo, !0), N.value?.addEventListener("pointercancel", Bo, !0), N.value?.addEventListener("contextmenu", Vo, !0), He();
70764
70853
  }), D(() => {
70765
- vo?.disconnect?.(), vo = null, typeof window < "u" && (window.removeEventListener("resize", Wo), window.removeEventListener("pointerdown", zo, !0), ye !== null && (window.clearTimeout(ye), ye = null)), si(typeof window < "u" ? window.lr3dapp?.editor?.manager?.modules?.waterSimulation : null), Qi.value = "", Ki.value = [], qi.value = "idle", Ji.value = "", Yi.value = {}, Za(), Ke(), Gi(), Q(), jr(), oe.value?.(), Ao(), ri({ restoreRangeSelection: !1 }), ai(), oi(), Ka({ preserveStatus: !0 }), dr({ preserveStatus: !0 }), fr({ preserveStatus: !0 }), _n({ clearItems: !0 }), wr([]), Tr([]), Er(), kr(), N.value?.removeEventListener("pointerdown", Fo, !0), N.value?.removeEventListener("pointermove", Io, !0), N.value?.removeEventListener("pointercancel", Lo, !0), N.value?.removeEventListener("contextmenu", Ro, !0), Ve();
70854
+ xo?.disconnect?.(), xo = null, typeof window < "u" && (window.removeEventListener("resize", qo), window.removeEventListener("pointerdown", Ho, !0), ye !== null && (window.clearTimeout(ye), ye = null)), ui(typeof window < "u" ? window.lr3dapp?.editor?.manager?.modules?.waterSimulation : null), ta.value = "", Yi.value = [], Xi.value = "idle", Zi.value = "", Qi.value = {}, eo(), Ye(), Ji(), Nr(), Pr(), oe.value?.(), No(), oi({ restoreRangeSelection: !1 }), ci(), li(), Ya({ preserveStatus: !0 }), mr({ preserveStatus: !0 }), hr({ preserveStatus: !0 }), bn({ clearItems: !0 }), Dr([]), Or([]), kr(), jr(), N.value?.removeEventListener("pointerdown", Ro, !0), N.value?.removeEventListener("pointermove", zo, !0), N.value?.removeEventListener("pointercancel", Bo, !0), N.value?.removeEventListener("contextmenu", Vo, !0), We();
70766
70855
  }), n({
70767
- initMonitorPoints: no,
70768
- queryMonitorPointList: ro,
70769
- reloadMonitorPoints: io,
70770
- getViewPointList: nt,
70771
- switchToViewPoint: at,
70772
- getCurrentViewInfo: rt,
70773
- applyViewInfo: it,
70774
- initializeDemoPerson: cn,
70775
- startDemoPersonMotion: ln,
70776
- stopDemoPersonMotion: un,
70777
- toggleDemoPersonMotion: dn,
70778
- focusDemoPerson: fn,
70779
- showWaterSimulationPanel: di,
70780
- hideWaterSimulationPanel: fi,
70781
- toggleWaterSimulationPanel: ui,
70782
- startWaterSimulationSelect: wi,
70783
- endWaterSimulationSelect: Ti,
70784
- startWaterSimulation: Ei,
70785
- clearWaterSimulation: Di,
70786
- showExitPathPanel: Mi,
70787
- hideExitPathPanel: Ni,
70788
- toggleExitPathPanel: Pi,
70789
- startExitPathRoutePick: Fi,
70790
- startExitPathObstaclePick: Ii,
70791
- computeExitPath: Li,
70792
- computeExitPathByCoordinates: Ri,
70793
- pauseExitPath: zi,
70794
- resumeExitPath: Bi,
70795
- clearExitPath: Vi,
70796
- startRangeSelection: er,
70797
- startContinuousRangeSelection: tr,
70798
- startAccidentRangeSelection: To,
70799
- startContinuousAccidentRangeSelection: Eo,
70800
- cancelRangeSelection: ir,
70801
- setRangeSelection: ar,
70802
- setRangeSelectionByCoordinate: or,
70803
- setAccidentRangeSelection: sr,
70804
- setAccidentRangeSelectionByCoordinate: cr,
70805
- setRangeSelectionRadius: ur,
70806
- clearRangeSelection: dr,
70807
- getRangeSelectionResult: Jn,
70808
- registerRangeSelectionChange: Yn,
70809
- registerRangeSelectionResultChange: Xn,
70810
- registerRangeSelectionCoordinatePick: Zn,
70811
- startRangeSelectionCoordinatePick: lr,
70812
- startMonitorPointPlacement: qa,
70813
- focusMonitorPoint: so,
70814
- movePerson: pn,
70815
- moveCar: mn,
70816
- followPersonTrack: Yt,
70817
- stopPersonTrackFollow: Xt,
70818
- followCarTrack: rn,
70819
- stopCarTrackFollow: an,
70820
- moveView: ut,
70821
- registerModelInfoQuery: yc,
70822
- registerPointClick: bc,
70823
- registerVideoMonitorClick: xc,
70824
- registerWaterSimulationParameterChange: Sc,
70825
- setActiveVideoMonitorIds: Qa,
70826
- highlightVideoMonitor: $a,
70827
- clearVideoMonitorHighlight: eo
70856
+ initMonitorPoints: ao,
70857
+ queryMonitorPointList: oo,
70858
+ reloadMonitorPoints: so,
70859
+ getViewPointList: at,
70860
+ switchToViewPoint: ct,
70861
+ getCurrentViewInfo: ot,
70862
+ applyViewInfo: st,
70863
+ initializeDemoPerson: dn,
70864
+ startDemoPersonMotion: fn,
70865
+ stopDemoPersonMotion: pn,
70866
+ toggleDemoPersonMotion: mn,
70867
+ focusDemoPerson: hn,
70868
+ showWaterSimulationPanel: mi,
70869
+ hideWaterSimulationPanel: hi,
70870
+ toggleWaterSimulationPanel: pi,
70871
+ startWaterSimulationSelect: Di,
70872
+ endWaterSimulationSelect: Oi,
70873
+ startWaterSimulation: ki,
70874
+ clearWaterSimulation: Ai,
70875
+ showExitPathPanel: Fi,
70876
+ hideExitPathPanel: Ii,
70877
+ toggleExitPathPanel: Li,
70878
+ startExitPathRoutePick: Ri,
70879
+ startExitPathObstaclePick: zi,
70880
+ computeExitPath: Bi,
70881
+ computeExitPathByCoordinates: Vi,
70882
+ pauseExitPath: Hi,
70883
+ resumeExitPath: Ui,
70884
+ clearExitPath: Wi,
70885
+ startRangeSelection: rr,
70886
+ startContinuousRangeSelection: ir,
70887
+ startAccidentRangeSelection: Oo,
70888
+ startContinuousAccidentRangeSelection: ko,
70889
+ cancelRangeSelection: sr,
70890
+ setRangeSelection: cr,
70891
+ setRangeSelectionByCoordinate: lr,
70892
+ setAccidentRangeSelection: ur,
70893
+ setAccidentRangeSelectionByCoordinate: dr,
70894
+ setRangeSelectionRadius: pr,
70895
+ clearRangeSelection: mr,
70896
+ getRangeSelectionResult: Zn,
70897
+ registerRangeSelectionChange: Qn,
70898
+ registerRangeSelectionResultChange: $n,
70899
+ registerRangeSelectionCoordinatePick: er,
70900
+ startRangeSelectionCoordinatePick: fr,
70901
+ startMonitorPointPlacement: Xa,
70902
+ focusMonitorPoint: uo,
70903
+ movePerson: gn,
70904
+ moveCar: _n,
70905
+ followPersonTrack: Qt,
70906
+ stopPersonTrackFollow: $t,
70907
+ followCarTrack: sn,
70908
+ stopCarTrackFollow: cn,
70909
+ moveView: pt,
70910
+ registerModelInfoQuery: Sc,
70911
+ registerPointClick: Cc,
70912
+ registerVideoMonitorClick: wc,
70913
+ registerWaterSimulationParameterChange: Tc,
70914
+ setActiveVideoMonitorIds: to,
70915
+ highlightVideoMonitor: no,
70916
+ clearVideoMonitorHighlight: ro
70828
70917
  }), (e, n) => (O(), o("section", jq, [s("div", Mq, [s("div", Nq, [
70829
70918
  s("div", {
70830
70919
  id: j.value,
@@ -70832,33 +70921,33 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70832
70921
  ref: N,
70833
70922
  class: "lr3d-viewer__host"
70834
70923
  }, null, 8, Pq),
70835
- z(Fe) === "ready" && mo.value ? (O(), o("div", Fq, [s("div", {
70924
+ z(Re) === "ready" && _o.value ? (O(), o("div", Fq, [s("div", {
70836
70925
  ref_key: "sceneQuickMenuRef",
70837
- ref: po,
70926
+ ref: go,
70838
70927
  class: "lr3d-scene-quick-menu__panel",
70839
- style: C({ transform: `translate(${ho.value.x}px, ${ho.value.y}px)` }),
70928
+ style: C({ transform: `translate(${vo.value.x}px, ${vo.value.y}px)` }),
70840
70929
  onPointerdown: n[0] ||= H(() => {}, ["stop"]),
70841
70930
  onContextmenu: n[1] ||= H(() => {}, ["prevent"])
70842
70931
  }, [s("button", {
70843
70932
  type: "button",
70844
70933
  class: "lr3d-scene-quick-menu__item",
70845
- onClick: Po
70934
+ onClick: Lo
70846
70935
  }, " 重新选择事故点 ")], 36)])) : a("", !0),
70847
- z(oa).status === "idle" ? a("", !0) : (O(), o("div", {
70936
+ z(la).status === "idle" ? a("", !0) : (O(), o("div", {
70848
70937
  key: 1,
70849
- class: S(["lr3d-placement-tip", { "lr3d-placement-tip--error": z(oa).errorMessage }])
70938
+ class: S(["lr3d-placement-tip", { "lr3d-placement-tip--error": z(la).errorMessage }])
70850
70939
  }, [s("div", Iq, [
70851
- s("strong", null, F(z(Ea)), 1),
70852
- s("span", null, F(z(Da)), 1),
70853
- z(oa).errorMessage ? (O(), o("em", Lq, F(z(oa).errorMessage), 1)) : a("", !0)
70940
+ s("strong", null, F(z(ka)), 1),
70941
+ s("span", null, F(z(Aa)), 1),
70942
+ z(la).errorMessage ? (O(), o("em", Lq, F(z(la).errorMessage), 1)) : a("", !0)
70854
70943
  ]), s("button", {
70855
70944
  type: "button",
70856
70945
  class: "lr3d-placement-tip__cancel",
70857
- onClick: n[2] ||= (...e) => z(Ka) && z(Ka)(...e)
70946
+ onClick: n[2] ||= (...e) => z(Ya) && z(Ya)(...e)
70858
70947
  }, " 取消 ")], 2)),
70859
- Oo.value ? (O(), o("div", Rq, [s("div", zq, [n[36] ||= s("strong", null, "事故选点", -1), s("span", null, F(Oo.value), 1)])])) : a("", !0),
70860
- ko.value ? (O(), o("div", Bq, [s("div", { class: "lr3d-placement-tip__content" }, [n[37] ||= s("strong", null, "避灾线路生成失败", -1), s("span", null, F(IX))])])) : a("", !0),
70861
- z(Fe) === "ready" && z(Jr).length > 0 ? (O(), o("div", Vq, [(O(!0), o(t, null, M(z(Jr), (e) => (O(), o("div", {
70948
+ jo.value ? (O(), o("div", Rq, [s("div", zq, [n[36] ||= s("strong", null, "事故选点", -1), s("span", null, F(jo.value), 1)])])) : a("", !0),
70949
+ Mo.value ? (O(), o("div", Bq, [s("div", { class: "lr3d-placement-tip__content" }, [n[37] ||= s("strong", null, "避灾线路生成失败", -1), s("span", null, F(IX))])])) : a("", !0),
70950
+ z(Re) === "ready" && z(Zr).length > 0 ? (O(), o("div", Vq, [(O(!0), o(t, null, M(z(Zr), (e) => (O(), o("div", {
70862
70951
  key: `water-prediction-${e.key}`,
70863
70952
  class: S(["lr3d-water-prediction-overlay__point", [
70864
70953
  `lr3d-water-prediction-overlay__point--${e.level}`,
@@ -70867,23 +70956,23 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70867
70956
  ]]),
70868
70957
  style: C(e.screenStyle ?? { display: "none" }),
70869
70958
  title: e.variant === "runtime-head" ? e.label : `${e.label}预测点`,
70870
- onClick: (t) => Oi(e)
70959
+ onClick: (t) => ji(e)
70871
70960
  }, [n[38] ||= s("span", { class: "lr3d-water-prediction-overlay__pulse" }, null, -1), s("span", Uq, [s("span", Wq, [(O(!0), o(t, null, M(e.displayLines ?? [e.shortLabel], (t, n) => (O(), o("span", {
70872
70961
  key: `${e.key}-line-${n}`,
70873
70962
  class: S(["lr3d-water-prediction-overlay__label", { "lr3d-water-prediction-overlay__label--secondary": n > 0 }])
70874
70963
  }, F(t), 3))), 128))])])], 14, Hq))), 128))])) : a("", !0),
70875
- z(Fe) === "ready" && z(Ma).length > 0 ? (O(), o("div", Gq, [(O(!0), o(t, null, M(z(Ma), (e) => (O(), o("div", {
70964
+ z(Re) === "ready" && z(Fa).length > 0 ? (O(), o("div", Gq, [(O(!0), o(t, null, M(z(Fa), (e) => (O(), o("div", {
70876
70965
  key: `monitor-point-${e.viewId}`,
70877
70966
  class: S(["lr3d-monitor-overlay__point", [e.iconMeta.modifierClass, {
70878
- "lr3d-monitor-overlay__point--active": e.isActive || is(e),
70967
+ "lr3d-monitor-overlay__point--active": e.isActive || ss(e),
70879
70968
  "lr3d-monitor-overlay__point--video-active": e.isActiveVideoMonitor,
70880
70969
  "lr3d-monitor-overlay__point--video-highlighted": e.isHighlightedVideoMonitor
70881
70970
  }]]),
70882
70971
  style: C(e.screenStyle ?? { display: "none" }),
70883
- onClick: H((t) => z(Wa)(e), ["stop"])
70972
+ onClick: H((t) => z(qa)(e), ["stop"])
70884
70973
  }, [
70885
70974
  n[44] ||= s("span", { class: "lr3d-monitor-overlay__pulse" }, null, -1),
70886
- (e.isActive || is(e)) && e.name ? (O(), o("span", qq, F(e.name), 1)) : a("", !0),
70975
+ (e.isActive || ss(e)) && e.name ? (O(), o("span", qq, F(e.name), 1)) : a("", !0),
70887
70976
  s("span", {
70888
70977
  class: "lr3d-monitor-overlay__badge",
70889
70978
  "aria-label": e.type
@@ -70978,22 +71067,22 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
70978
71067
  "stroke-linejoin": "round",
70979
71068
  "stroke-width": "1.8"
70980
71069
  }, null, -1)
70981
- ]])) : (O(), o("svg", eJ, [...n[43] ||= [c("<circle cx=\"12\" cy=\"12\" r=\"4\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" data-v-695027a4></circle><path d=\"M12 4V7\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-695027a4></path><path d=\"M12 17V20\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-695027a4></path><path d=\"M4 12H7\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-695027a4></path><path d=\"M17 12H20\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-695027a4></path>", 5)]]))], 8, Jq),
70982
- z(Ta) && e.isActive && z(Sa) ? (O(), i(jN, {
71070
+ ]])) : (O(), o("svg", eJ, [...n[43] ||= [c("<circle cx=\"12\" cy=\"12\" r=\"4\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" data-v-6ff40062></circle><path d=\"M12 4V7\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-6ff40062></path><path d=\"M12 17V20\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-6ff40062></path><path d=\"M4 12H7\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-6ff40062></path><path d=\"M17 12H20\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-6ff40062></path>", 5)]]))], 8, Jq),
71071
+ z(Oa) && e.isActive && z(Ta) ? (O(), i(jN, {
70983
71072
  key: 1,
70984
- title: z(Sa).name,
70985
- "type-label": hs(z(Sa)),
70986
- "position-text": Zs(z(Sa).position),
70987
- "position-label": z(Sa).isPlacementPreview ? "候选位置" : "空间位置",
70988
- "position-meta": z(Sa).isPlacementPreview ? "待保存坐标" : "三维坐标",
70989
- "data-entries": z(wa),
70990
- "icon-class": z(Ca).modifierClass,
70991
- "show-confirm-action": z(Sa).isPlacementPreview === !0,
71073
+ title: z(Ta).name,
71074
+ "type-label": vs(z(Ta)),
71075
+ "position-text": ec(z(Ta).position),
71076
+ "position-label": z(Ta).isPlacementPreview ? "候选位置" : "空间位置",
71077
+ "position-meta": z(Ta).isPlacementPreview ? "待保存坐标" : "三维坐标",
71078
+ "data-entries": z(Da),
71079
+ "icon-class": z(Ea).modifierClass,
71080
+ "show-confirm-action": z(Ta).isPlacementPreview === !0,
70992
71081
  "confirm-text": "确认布点",
70993
- "confirm-disabled": z(oa).status !== "preview",
70994
- "confirm-loading": z(oa).status === "saving",
70995
- onClose: z(Ua),
70996
- onConfirm: z(Xa)
71082
+ "confirm-disabled": z(la).status !== "preview",
71083
+ "confirm-loading": z(la).status === "saving",
71084
+ onClose: z(Ka),
71085
+ onConfirm: z($a)
70997
71086
  }, null, 8, [
70998
71087
  "title",
70999
71088
  "type-label",
@@ -71009,17 +71098,17 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
71009
71098
  "onConfirm"
71010
71099
  ])) : a("", !0)
71011
71100
  ], 14, Kq))), 128))])) : a("", !0),
71012
- z(Fe) === "ready" && z(ja).length > 0 ? (O(), o("div", tJ, [s("button", {
71101
+ z(Re) === "ready" && z(Pa).length > 0 ? (O(), o("div", tJ, [s("button", {
71013
71102
  type: "button",
71014
- class: S(["lr3d-monitor-legend__item lr3d-monitor-legend__item--all", { "lr3d-monitor-legend__item--inactive": !z(Aa) }]),
71015
- "aria-pressed": z(Aa) ? "true" : "false",
71016
- onClick: n[3] ||= (...e) => z(Va) && z(Va)(...e)
71017
- }, [s("span", rJ, F(z(Aa) ? "全不选" : "全选"), 1)], 10, nJ), (O(!0), o(t, null, M(z(ja), (e) => (O(), o("button", {
71103
+ class: S(["lr3d-monitor-legend__item lr3d-monitor-legend__item--all", { "lr3d-monitor-legend__item--inactive": !z(Na) }]),
71104
+ "aria-pressed": z(Na) ? "true" : "false",
71105
+ onClick: n[3] ||= (...e) => z(Wa) && z(Wa)(...e)
71106
+ }, [s("span", rJ, F(z(Na) ? "全不选" : "全选"), 1)], 10, nJ), (O(!0), o(t, null, M(z(Pa), (e) => (O(), o("button", {
71018
71107
  key: `monitor-legend-${e.type}`,
71019
71108
  type: "button",
71020
71109
  class: S(["lr3d-monitor-legend__item", [e.iconMeta.modifierClass, { "lr3d-monitor-legend__item--inactive": !e.visible }]]),
71021
71110
  "aria-pressed": e.visible ? "true" : "false",
71022
- onClick: (t) => z(Ha)(e.type)
71111
+ onClick: (t) => z(Ga)(e.type)
71023
71112
  }, [
71024
71113
  e.iconMeta.iconType === "image" && (e.iconMeta.legendImageUrl || e.iconMeta.imageUrl) ? (O(), o("img", {
71025
71114
  key: 0,
@@ -71031,20 +71120,20 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
71031
71120
  s("span", sJ, F(e.label), 1),
71032
71121
  s("span", cJ, F(e.count), 1)
71033
71122
  ], 10, iJ))), 128))])) : a("", !0),
71034
- z(Fe) === "ready" && Hs.value ? (O(), i(CK, {
71123
+ z(Re) === "ready" && Gs.value ? (O(), i(CK, {
71035
71124
  key: 7,
71036
71125
  visible: ue.value,
71037
- radius: z(xn),
71126
+ radius: z(wn),
71038
71127
  "min-radius": gX,
71039
71128
  "max-radius": _X,
71040
71129
  step: vX,
71041
- "is-picking": mr.value,
71042
- "has-range-selection": z(Ln),
71130
+ "is-picking": _r.value,
71131
+ "has-range-selection": z(Bn),
71043
71132
  onTitleClick: we,
71044
- "onUpdate:radius": n[4] ||= (e) => xn.value = e,
71045
- onStartPick: z(tr),
71046
- onCancelPick: z(ir),
71047
- onClear: z(dr)
71133
+ "onUpdate:radius": n[4] ||= (e) => wn.value = e,
71134
+ onStartPick: z(ir),
71135
+ onCancelPick: z(sr),
71136
+ onClear: z(mr)
71048
71137
  }, null, 8, [
71049
71138
  "visible",
71050
71139
  "radius",
@@ -71054,115 +71143,115 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
71054
71143
  "onCancelPick",
71055
71144
  "onClear"
71056
71145
  ])) : a("", !0),
71057
- z(Fe) === "ready" ? (O(), o("div", lJ, [s("div", uJ, [s("button", {
71146
+ z(Re) === "ready" ? (O(), o("div", lJ, [s("div", uJ, [s("button", {
71058
71147
  type: "button",
71059
71148
  class: "lr3d-accident-view-button",
71060
- onClick: Tc
71149
+ onClick: Oc
71061
71150
  }, " 事故点 "), s("nav", dJ, [
71062
- Vs.value ? (O(), o("button", {
71151
+ Ws.value ? (O(), o("button", {
71063
71152
  key: 0,
71064
71153
  type: "button",
71065
- class: S(["lr3d-toolbar__button", { "lr3d-toolbar__button--active": z(ra) }]),
71066
- "aria-pressed": z(ra) ? "true" : "false",
71067
- onClick: n[5] ||= (...e) => z(Ba) && z(Ba)(...e)
71154
+ class: S(["lr3d-toolbar__button", { "lr3d-toolbar__button--active": z(oa) }]),
71155
+ "aria-pressed": z(oa) ? "true" : "false",
71156
+ onClick: n[5] ||= (...e) => z(Ua) && z(Ua)(...e)
71068
71157
  }, " 监测点 ", 10, fJ)) : a("", !0),
71069
- Us.value ? (O(), o("button", {
71158
+ Ks.value ? (O(), o("button", {
71070
71159
  key: 1,
71071
71160
  type: "button",
71072
- class: S(["lr3d-toolbar__button", { "lr3d-toolbar__button--active": z(Lr) }]),
71073
- "aria-pressed": z(Lr) ? "true" : "false",
71074
- onClick: n[6] ||= (...e) => z(ui) && z(ui)(...e)
71161
+ class: S(["lr3d-toolbar__button", { "lr3d-toolbar__button--active": z(Br) }]),
71162
+ "aria-pressed": z(Br) ? "true" : "false",
71163
+ onClick: n[6] ||= (...e) => z(pi) && z(pi)(...e)
71075
71164
  }, " 水漫延 ", 10, pJ)) : a("", !0),
71076
- Ws.value ? (O(), o("button", {
71165
+ qs.value ? (O(), o("button", {
71077
71166
  key: 2,
71078
71167
  type: "button",
71079
- class: S(["lr3d-toolbar__button", { "lr3d-toolbar__button--active": z(Ai) || z(ji) }]),
71080
- "aria-pressed": z(Ai) || z(ji) ? "true" : "false",
71081
- disabled: z(Ai),
71082
- onClick: n[7] ||= (...e) => z(Hi) && z(Hi)(...e)
71083
- }, F(z(Ai) ? "生成中" : z(ji) ? "清除线路" : "避灾线路"), 11, mJ)) : a("", !0),
71084
- Gs.value && z(We).length > 0 ? (O(), o("button", {
71168
+ class: S(["lr3d-toolbar__button", { "lr3d-toolbar__button--active": z(Ni) || z(Pi) }]),
71169
+ "aria-pressed": z(Ni) || z(Pi) ? "true" : "false",
71170
+ disabled: z(Ni),
71171
+ onClick: n[7] ||= (...e) => z(Gi) && z(Gi)(...e)
71172
+ }, F(z(Ni) ? "生成中" : z(Pi) ? "清除线路" : "避灾线路"), 11, mJ)) : a("", !0),
71173
+ Js.value && z(qe).length > 0 ? (O(), o("button", {
71085
71174
  key: 3,
71086
71175
  type: "button",
71087
71176
  class: S(["lr3d-toolbar__button", { "lr3d-toolbar__button--active": le.value }]),
71088
71177
  "aria-pressed": le.value ? "true" : "false",
71089
- onClick: Cc
71178
+ onClick: Ec
71090
71179
  }, " 视角 ", 10, hJ)) : a("", !0),
71091
- Gs.value && z(Ue) ? (O(), o("button", {
71180
+ Js.value && z(Ke) ? (O(), o("button", {
71092
71181
  key: 4,
71093
71182
  type: "button",
71094
71183
  class: "lr3d-toolbar__button",
71095
- onClick: n[8] ||= (...e) => z(ot) && z(ot)(...e)
71184
+ onClick: n[8] ||= (...e) => z(lt) && z(lt)(...e)
71096
71185
  }, " 全景俯视 ")) : a("", !0)
71097
- ])]), Us.value && z(Lr) || Gs.value && z(We).length > 0 && le.value || Ws.value && z(ki) ? (O(), o("div", gJ, [
71098
- Gs.value && z(We).length > 0 && le.value ? (O(), i(GK, {
71186
+ ])]), Ks.value && z(Br) || Js.value && z(qe).length > 0 && le.value || qs.value && z(Mi) ? (O(), o("div", gJ, [
71187
+ Js.value && z(qe).length > 0 && le.value ? (O(), i(GK, {
71099
71188
  key: 0,
71100
71189
  visible: !0,
71101
- "view-points": z(We),
71102
- "active-view-point-key": z(He),
71103
- "active-view-point-name": z(Ge),
71104
- onSelect: z(at)
71190
+ "view-points": z(qe),
71191
+ "active-view-point-key": z(Ge),
71192
+ "active-view-point-name": z(Je),
71193
+ onSelect: z(ct)
71105
71194
  }, null, 8, [
71106
71195
  "view-points",
71107
71196
  "active-view-point-key",
71108
71197
  "active-view-point-name",
71109
71198
  "onSelect"
71110
71199
  ])) : a("", !0),
71111
- Us.value && z(Lr) ? (O(), i(Aq, {
71200
+ Ks.value && z(Br) ? (O(), i(Aq, {
71112
71201
  key: 1,
71113
71202
  visible: !0,
71114
- "flow-rate": z(Br),
71115
- "drainage-rate": z(Vr),
71116
- "playback-multiplier": z(Hr),
71203
+ "flow-rate": z(Ur),
71204
+ "drainage-rate": z(Wr),
71205
+ "playback-multiplier": z(Gr),
71117
71206
  "min-flow-rate": BX,
71118
71207
  "max-flow-rate": VX,
71119
71208
  "flow-rate-step": HX,
71120
71209
  "min-playback-multiplier": WX,
71121
71210
  "max-playback-multiplier": GX,
71122
71211
  "playback-multiplier-step": KX,
71123
- "display-duration-text": z(Wr),
71212
+ "display-duration-text": z(qr),
71124
71213
  "analysis-time-options": z(p),
71125
- "analysis-selected-preset-minutes": z(Yr),
71126
- "analysis-hour": z(Xr),
71127
- "analysis-location-count": z(Qr),
71128
- "is-analysis-location-picking": z($r),
71129
- "is-tunnel-info-picking": z(ei),
71130
- "is-analysis-loading": z(ti),
71131
- "analysis-result": z(ni),
71132
- "analysis-button-text": z(Gr),
71133
- "control-button-text": z(Kr),
71134
- "is-control-button-disabled": z(qr),
71135
- "onUpdate:flowRate": n[9] ||= (e) => Br.value = e,
71136
- "onUpdate:drainageRate": n[10] ||= (e) => Vr.value = e,
71137
- "onUpdate:playbackMultiplier": n[11] ||= (e) => Hr.value = e,
71138
- "onUpdate:analysisHour": n[12] ||= (e) => Xr.value = e,
71139
- onParameterInput: z(pi),
71140
- onParameterChange: z(mi),
71141
- onSelectAnalysisPreset: z(gi),
71142
- onAnalysisHourInput: z(_i),
71143
- onPickAnalysisLocation: z(vi),
71144
- onPickTunnelInfo: z(yi),
71145
- onFocusKeyLocation: z(bi),
71146
- onClearAnalysisLocations: z(ii),
71147
- onSubmitAnalysis: z(xi),
71148
- onPrimaryAction: z(Si),
71149
- onCancel: z(Ci),
71150
- onClosePanel: z(fi)
71214
+ "analysis-selected-preset-minutes": z(Qr),
71215
+ "analysis-hour": z($r),
71216
+ "analysis-location-count": z(ti),
71217
+ "is-analysis-location-picking": z(ni),
71218
+ "is-tunnel-info-picking": z(ri),
71219
+ "is-analysis-loading": z(ii),
71220
+ "analysis-result": z(ai),
71221
+ "analysis-button-text": z(Jr),
71222
+ "control-button-text": z(Yr),
71223
+ "is-control-button-disabled": z(Xr),
71224
+ "onUpdate:flowRate": n[9] ||= (e) => Ur.value = e,
71225
+ "onUpdate:drainageRate": n[10] ||= (e) => Wr.value = e,
71226
+ "onUpdate:playbackMultiplier": n[11] ||= (e) => Gr.value = e,
71227
+ "onUpdate:analysisHour": n[12] ||= (e) => $r.value = e,
71228
+ onParameterInput: z(gi),
71229
+ onParameterChange: z(_i),
71230
+ onSelectAnalysisPreset: z(yi),
71231
+ onAnalysisHourInput: z(bi),
71232
+ onPickAnalysisLocation: z(xi),
71233
+ onPickTunnelInfo: z(Si),
71234
+ onFocusKeyLocation: z(Ci),
71235
+ onClearAnalysisLocations: z(si),
71236
+ onSubmitAnalysis: z(wi),
71237
+ onPrimaryAction: z(Ti),
71238
+ onCancel: z(Ei),
71239
+ onClosePanel: z(hi)
71151
71240
  }, null, 8, /* @__PURE__ */ "flow-rate.drainage-rate.playback-multiplier.display-duration-text.analysis-time-options.analysis-selected-preset-minutes.analysis-hour.analysis-location-count.is-analysis-location-picking.is-tunnel-info-picking.is-analysis-loading.analysis-result.analysis-button-text.control-button-text.is-control-button-disabled.onParameterInput.onParameterChange.onSelectAnalysisPreset.onAnalysisHourInput.onPickAnalysisLocation.onPickTunnelInfo.onFocusKeyLocation.onClearAnalysisLocations.onSubmitAnalysis.onPrimaryAction.onCancel.onClosePanel".split("."))) : a("", !0),
71152
- Ws.value && z(ki) ? (O(), i(nK, {
71241
+ qs.value && z(Mi) ? (O(), i(nK, {
71153
71242
  key: 2,
71154
71243
  visible: !0,
71155
- "is-computing": z(Ai),
71156
- "is-generated": z(ji),
71157
- "has-accident-range-selection": z(Rn),
71158
- "accident-range-selection-summary-text": z(Vn),
71244
+ "is-computing": z(Ni),
71245
+ "is-generated": z(Pi),
71246
+ "has-accident-range-selection": z(Vn),
71247
+ "accident-range-selection-summary-text": z(Wn),
71159
71248
  "workface-panel-status": W.value,
71160
- onPickRoute: z(Fi),
71161
- onPickObstacle: z(Ii),
71162
- onCompute: z(Li),
71163
- onPause: z(zi),
71164
- onResume: z(Bi),
71165
- onClear: z(Vi)
71249
+ onPickRoute: z(Ri),
71250
+ onPickObstacle: z(zi),
71251
+ onCompute: z(Bi),
71252
+ onPause: z(Hi),
71253
+ onResume: z(Ui),
71254
+ onClear: z(Wi)
71166
71255
  }, null, 8, [
71167
71256
  "is-computing",
71168
71257
  "is-generated",
@@ -71177,25 +71266,25 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
71177
71266
  "onClear"
71178
71267
  ])) : a("", !0)
71179
71268
  ])) : a("", !0)])) : a("", !0),
71180
- z(Fe) === "ready" && (Ks.value || Vs.value) ? (O(), o("div", _J, [Ks.value && z(Fe) === "ready" ? (O(), i(BK, {
71269
+ z(Re) === "ready" && (Ys.value || Ws.value) ? (O(), o("div", _J, [Ys.value && z(Re) === "ready" ? (O(), i(BK, {
71181
71270
  key: 0,
71182
71271
  visible: !0,
71183
71272
  expanded: U.value,
71184
- "filtered-region-count": z(xr).length,
71185
- "lane-count": z(_r).length,
71186
- "are-regions-visible": z(yr),
71187
- "are-lanes-visible": z(br),
71273
+ "filtered-region-count": z(wr).length,
71274
+ "lane-count": z(br).length,
71275
+ "are-regions-visible": z(Sr),
71276
+ "are-lanes-visible": z(Cr),
71188
71277
  "status-text": W.value,
71189
- "has-visibility-items": z(Cr),
71190
- "grouped-region-items": z(Sr),
71191
- "lane-items": z(_r),
71192
- "region-visibility-map": z(gr),
71193
- "lane-visibility-map": z(vr),
71278
+ "has-visibility-items": z(Er),
71279
+ "grouped-region-items": z(Tr),
71280
+ "lane-items": z(br),
71281
+ "region-visibility-map": z(yr),
71282
+ "lane-visibility-map": z(xr),
71194
71283
  "onUpdate:expanded": n[13] ||= (e) => U.value = e,
71195
- onToggleRegions: z(Ir),
71196
- onToggleLanes: z(Fr),
71197
- onRegionVisibilityChange: z(Nr),
71198
- onLaneVisibilityChange: z(Pr)
71284
+ onToggleRegions: z(zr),
71285
+ onToggleLanes: z(Rr),
71286
+ onRegionVisibilityChange: z(Ir),
71287
+ onLaneVisibilityChange: z(Lr)
71199
71288
  }, null, 8, [
71200
71289
  "expanded",
71201
71290
  "filtered-region-count",
@@ -71212,172 +71301,172 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
71212
71301
  "onToggleLanes",
71213
71302
  "onRegionVisibilityChange",
71214
71303
  "onLaneVisibilityChange"
71215
- ])) : a("", !0), Vs.value && z(ra) ? (O(), o("aside", vJ, [
71304
+ ])) : a("", !0), Ws.value && z(oa) ? (O(), o("aside", vJ, [
71216
71305
  s("div", {
71217
71306
  ref_key: "monitorPointTabsRef",
71218
- ref: Zi,
71307
+ ref: ea,
71219
71308
  class: "lr3d-monitor-panel__tabs",
71220
- onPointerdown: n[14] ||= (...e) => z(Pa) && z(Pa)(...e),
71221
- onPointermove: n[15] ||= (...e) => z(Fa) && z(Fa)(...e),
71222
- onPointerup: n[16] ||= (...e) => z(Ia) && z(Ia)(...e),
71223
- onPointercancel: n[17] ||= (...e) => z(Ia) && z(Ia)(...e),
71224
- onPointerleave: n[18] ||= (...e) => z(Ia) && z(Ia)(...e)
71225
- }, [(O(!0), o(t, null, M(z(sa), (e) => (O(), o("button", {
71309
+ onPointerdown: n[14] ||= (...e) => z(La) && z(La)(...e),
71310
+ onPointermove: n[15] ||= (...e) => z(Ra) && z(Ra)(...e),
71311
+ onPointerup: n[16] ||= (...e) => z(za) && z(za)(...e),
71312
+ onPointercancel: n[17] ||= (...e) => z(za) && z(za)(...e),
71313
+ onPointerleave: n[18] ||= (...e) => z(za) && z(za)(...e)
71314
+ }, [(O(!0), o(t, null, M(z(ua), (e) => (O(), o("button", {
71226
71315
  key: e.type,
71227
71316
  ref_for: !0,
71228
- ref: (t) => z(Na)(e.type, t),
71317
+ ref: (t) => z(Ia)(e.type, t),
71229
71318
  type: "button",
71230
- class: S(["lr3d-monitor-panel__tab", { "lr3d-monitor-panel__tab--active": z($i) === e.type }]),
71231
- onClick: (t) => z(La)(e.type)
71319
+ class: S(["lr3d-monitor-panel__tab", { "lr3d-monitor-panel__tab--active": z(na) === e.type }]),
71320
+ onClick: (t) => z(Ba)(e.type)
71232
71321
  }, F(e.label), 11, yJ))), 128))], 544),
71233
- z(fa) || z(pa) ? (O(), o("div", bJ, [z(fa) ? (O(), o("label", xJ, [
71322
+ z(ha) || z(ga) ? (O(), o("div", bJ, [z(ha) ? (O(), o("label", xJ, [
71234
71323
  V(s("input", {
71235
- "onUpdate:modelValue": n[19] ||= (e) => y(ht) ? ht.value = e : null,
71324
+ "onUpdate:modelValue": n[19] ||= (e) => y(vt) ? vt.value = e : null,
71236
71325
  class: "lr3d-monitor-panel__switch-input",
71237
71326
  type: "checkbox",
71238
- onChange: n[20] ||= (...e) => z(on) && z(on)(...e)
71239
- }, null, 544), [[B, z(ht)]]),
71327
+ onChange: n[20] ||= (...e) => z(ln) && z(ln)(...e)
71328
+ }, null, 544), [[B, z(vt)]]),
71240
71329
  n[45] ||= s("span", { class: "lr3d-monitor-panel__switch-text" }, "人员移动动画", -1),
71241
- s("span", SJ, F(z(ht) ? "开" : "关"), 1)
71330
+ s("span", SJ, F(z(vt) ? "开" : "关"), 1)
71242
71331
  ])) : (O(), o("label", CJ, [
71243
71332
  V(s("input", {
71244
- "onUpdate:modelValue": n[21] ||= (e) => y(gt) ? gt.value = e : null,
71333
+ "onUpdate:modelValue": n[21] ||= (e) => y(Z) ? Z.value = e : null,
71245
71334
  class: "lr3d-monitor-panel__switch-input",
71246
71335
  type: "checkbox",
71247
- onChange: n[22] ||= (...e) => z(sn) && z(sn)(...e)
71248
- }, null, 544), [[B, z(gt)]]),
71336
+ onChange: n[22] ||= (...e) => z(un) && z(un)(...e)
71337
+ }, null, 544), [[B, z(Z)]]),
71249
71338
  n[46] ||= s("span", { class: "lr3d-monitor-panel__switch-text" }, "车辆移动", -1),
71250
- s("span", wJ, F(z(gt) ? "开" : "关"), 1)
71251
- ])), z(ma) || z(ha) ? (O(), o("button", {
71339
+ s("span", wJ, F(z(Z) ? "开" : "关"), 1)
71340
+ ])), z(_a) || z(va) ? (O(), o("button", {
71252
71341
  key: 2,
71253
71342
  type: "button",
71254
71343
  class: "lr3d-monitor-panel__back-button",
71255
- onClick: n[23] ||= (e) => z(ma) ? z(Wt)() : z(Qt)()
71344
+ onClick: n[23] ||= (e) => z(_a) ? z(qt)() : z(tn)()
71256
71345
  }, " 返回 ")) : a("", !0)])) : a("", !0),
71257
- z(ga) ? (O(), o("div", TJ, [
71346
+ z(ya) ? (O(), o("div", TJ, [
71258
71347
  s("div", EJ, [n[47] ||= s("span", { class: "lr3d-monitor-panel__filter-label" }, "名称", -1), s("input", {
71259
- value: z(aa),
71348
+ value: z(ca),
71260
71349
  type: "text",
71261
71350
  class: "lr3d-monitor-panel__filter-input",
71262
71351
  placeholder: "输入名称关键字",
71263
- onInput: n[24] ||= (e) => z(za)(e.target.value)
71352
+ onInput: n[24] ||= (e) => z(Ha)(e.target.value)
71264
71353
  }, null, 40, DJ)]),
71265
- s("div", OJ, [n[48] ||= s("span", { class: "lr3d-monitor-panel__filter-label" }, "类型", -1), uo.value ? (O(), o("button", {
71354
+ s("div", OJ, [n[48] ||= s("span", { class: "lr3d-monitor-panel__filter-label" }, "类型", -1), mo.value ? (O(), o("button", {
71266
71355
  key: 0,
71267
71356
  type: "button",
71268
71357
  class: "lr3d-monitor-panel__filter-toggle",
71269
- onClick: Ho
71270
- }, F(lo.value ? "收起" : "展开"), 1)) : a("", !0)]),
71358
+ onClick: Go
71359
+ }, F(po.value ? "收起" : "展开"), 1)) : a("", !0)]),
71271
71360
  s("div", {
71272
71361
  ref_key: "monitorPointTypeFilterOptionsRef",
71273
- ref: co,
71274
- class: S(["lr3d-monitor-panel__filter-options", { "lr3d-monitor-panel__filter-options--expanded": lo.value }]),
71275
- style: C(bo.value)
71362
+ ref: fo,
71363
+ class: S(["lr3d-monitor-panel__filter-options", { "lr3d-monitor-panel__filter-options--expanded": po.value }]),
71364
+ style: C(Co.value)
71276
71365
  }, [s("button", {
71277
71366
  type: "button",
71278
- class: S(["lr3d-monitor-panel__filter-chip", { "lr3d-monitor-panel__filter-chip--active": !z(ia) }]),
71279
- onClick: n[25] ||= (e) => z(Ra)("")
71280
- }, " 全部 ", 2), (O(!0), o(t, null, M(z(la), (e) => (O(), o("button", {
71281
- key: `${z($i)}-${e}`,
71367
+ class: S(["lr3d-monitor-panel__filter-chip", { "lr3d-monitor-panel__filter-chip--active": !z(sa) }]),
71368
+ onClick: n[25] ||= (e) => z(Va)("")
71369
+ }, " 全部 ", 2), (O(!0), o(t, null, M(z(fa), (e) => (O(), o("button", {
71370
+ key: `${z(na)}-${e}`,
71282
71371
  type: "button",
71283
- class: S(["lr3d-monitor-panel__filter-chip", { "lr3d-monitor-panel__filter-chip--active": z(ia) === e }]),
71284
- onClick: (t) => z(Ra)(e)
71372
+ class: S(["lr3d-monitor-panel__filter-chip", { "lr3d-monitor-panel__filter-chip--active": z(sa) === e }]),
71373
+ onClick: (t) => z(Va)(e)
71285
71374
  }, F(e), 11, kJ))), 128))], 6)
71286
71375
  ])) : a("", !0),
71287
- s("div", AJ, [z(ma) ? (O(), o(t, { key: 0 }, [
71288
- s("div", { class: S(["lr3d-monitor-panel__state", { "lr3d-monitor-panel__state--error": !!z(Z).loadError }]) }, F(z(Ct)), 3),
71289
- s("div", jJ, [s("strong", MJ, F(z(St)), 1), s("p", NJ, " 卡号 " + F(z(Z).cardId || "--") + " · 原始 " + F(z(Z).rawItems.length) + " 条 · 有效 " + F(z(wt)) + " 点 ", 1)]),
71376
+ s("div", AJ, [z(_a) ? (O(), o(t, { key: 0 }, [
71377
+ s("div", { class: S(["lr3d-monitor-panel__state", { "lr3d-monitor-panel__state--error": !!z(xt).loadError }]) }, F(z(Et)), 3),
71378
+ s("div", jJ, [s("strong", MJ, F(z(Tt)), 1), s("p", NJ, " 卡号 " + F(z(xt).cardId || "--") + " · 原始 " + F(z(xt).rawItems.length) + " 条 · 有效 " + F(z(Dt)) + " 点 ", 1)]),
71290
71379
  s("div", PJ, [
71291
71380
  s("button", {
71292
71381
  type: "button",
71293
71382
  class: "lr3d-monitor-panel__item-action lr3d-person-track-panel__action",
71294
- disabled: !z(Dt) || z(Tt),
71295
- onClick: n[26] ||= (...e) => z(Gt) && z(Gt)(...e)
71383
+ disabled: !z(At) || z(Ot),
71384
+ onClick: n[26] ||= (...e) => z(Jt) && z(Jt)(...e)
71296
71385
  }, " 播放 ", 8, FJ),
71297
71386
  s("button", {
71298
71387
  type: "button",
71299
71388
  class: "lr3d-monitor-panel__item-action lr3d-person-track-panel__action",
71300
- disabled: !z(Tt) && !z(Et),
71301
- onClick: n[27] ||= (e) => z(Tt) ? z(Kt)() : z(qt)()
71302
- }, F(z(Tt) ? "暂停" : "继续"), 9, IJ),
71389
+ disabled: !z(Ot) && !z(kt),
71390
+ onClick: n[27] ||= (e) => z(Ot) ? z(Yt)() : z(Xt)()
71391
+ }, F(z(Ot) ? "暂停" : "继续"), 9, IJ),
71303
71392
  s("button", {
71304
71393
  type: "button",
71305
71394
  class: "lr3d-monitor-panel__item-action lr3d-person-track-panel__action",
71306
- disabled: !z(Z).sceneId || z(wt) < 1,
71307
- onClick: n[28] ||= (...e) => z(Jt) && z(Jt)(...e)
71308
- }, F(z(Z).isFollowing ? "停止跟随" : "跟随"), 9, LJ)
71395
+ disabled: !z(xt).sceneId || z(Dt) < 1,
71396
+ onClick: n[28] ||= (...e) => z(Zt) && z(Zt)(...e)
71397
+ }, F(z(xt).isFollowing ? "停止跟随" : "跟随"), 9, LJ)
71309
71398
  ]),
71310
- z(Z).rawItems.length > 0 ? (O(), o("div", RJ, [(O(!0), o(t, null, M(z(Z).rawItems, (e, t) => (O(), o("article", {
71311
- key: `${z(Z).cardId}-${e.station_id || t}-${e.station_time || t}`,
71312
- class: S(["lr3d-person-track-panel__item", { "lr3d-person-track-panel__item--active": z(Z).currentRawIndex === t }])
71313
- }, [s("div", zJ, [s("strong", null, F(Qo(e.station_name ?? e.location)), 1), s("span", null, F(Qo(e.station_time)), 1)]), s("div", BJ, [
71314
- s("div", VJ, [n[49] ||= s("span", null, "停留时长", -1), s("strong", null, F(Qo(e.duration)), 1)]),
71315
- s("div", HJ, [n[50] ||= s("span", null, "站点编码", -1), s("strong", null, F(Qo(e.station_id)), 1)]),
71316
- s("div", UJ, [n[51] ||= s("span", null, "位置名称", -1), s("strong", null, F(Qo(e.location)), 1)]),
71317
- s("div", WJ, [n[52] ||= s("span", null, "三维坐标", -1), s("strong", null, F(Qo(e.coordinates)), 1)])
71399
+ z(xt).rawItems.length > 0 ? (O(), o("div", RJ, [(O(!0), o(t, null, M(z(xt).rawItems, (e, t) => (O(), o("article", {
71400
+ key: `${z(xt).cardId}-${e.station_id || t}-${e.station_time || t}`,
71401
+ class: S(["lr3d-person-track-panel__item", { "lr3d-person-track-panel__item--active": z(xt).currentRawIndex === t }])
71402
+ }, [s("div", zJ, [s("strong", null, F(ts(e.station_name ?? e.location)), 1), s("span", null, F(ts(e.station_time)), 1)]), s("div", BJ, [
71403
+ s("div", VJ, [n[49] ||= s("span", null, "停留时长", -1), s("strong", null, F(ts(e.duration)), 1)]),
71404
+ s("div", HJ, [n[50] ||= s("span", null, "站点编码", -1), s("strong", null, F(ts(e.station_id)), 1)]),
71405
+ s("div", UJ, [n[51] ||= s("span", null, "位置名称", -1), s("strong", null, F(ts(e.location)), 1)]),
71406
+ s("div", WJ, [n[52] ||= s("span", null, "三维坐标", -1), s("strong", null, F(ts(e.coordinates)), 1)])
71318
71407
  ])], 2))), 128))])) : a("", !0)
71319
- ], 64)) : z(ha) ? (O(), o(t, { key: 1 }, [
71320
- s("div", { class: S(["lr3d-monitor-panel__state", { "lr3d-monitor-panel__state--error": !!z(xt).loadError }]) }, F(z(kt)), 3),
71321
- s("div", GJ, [s("strong", KJ, F(z(Ot)), 1), s("p", qJ, " 卡号 " + F(z(xt).personCard || "--") + " · 原始 " + F(z(xt).rawItems.length) + " 条 · 有效 " + F(z(At)) + " 点 ", 1)]),
71408
+ ], 64)) : z(va) ? (O(), o(t, { key: 1 }, [
71409
+ s("div", { class: S(["lr3d-monitor-panel__state", { "lr3d-monitor-panel__state--error": !!z(wt).loadError }]) }, F(z(Mt)), 3),
71410
+ s("div", GJ, [s("strong", KJ, F(z(jt)), 1), s("p", qJ, " 卡号 " + F(z(wt).personCard || "--") + " · 原始 " + F(z(wt).rawItems.length) + " 条 · 有效 " + F(z(Nt)) + " 点 ", 1)]),
71322
71411
  s("div", JJ, [
71323
71412
  s("button", {
71324
71413
  type: "button",
71325
71414
  class: "lr3d-monitor-panel__item-action",
71326
- disabled: !z(Nt) || z(jt),
71327
- onClick: n[29] ||= (...e) => z($t) && z($t)(...e)
71415
+ disabled: !z(It) || z(Pt),
71416
+ onClick: n[29] ||= (...e) => z(nn) && z(nn)(...e)
71328
71417
  }, " 播放 ", 8, YJ),
71329
71418
  s("button", {
71330
71419
  type: "button",
71331
71420
  class: "lr3d-monitor-panel__item-action",
71332
- disabled: !z(jt) && !z(Mt),
71333
- onClick: n[30] ||= (e) => z(jt) ? z(en)() : z(tn)()
71334
- }, F(z(jt) ? "暂停" : "继续"), 9, XJ),
71421
+ disabled: !z(Pt) && !z(Ft),
71422
+ onClick: n[30] ||= (e) => z(Pt) ? z(rn)() : z(an)()
71423
+ }, F(z(Pt) ? "暂停" : "继续"), 9, XJ),
71335
71424
  s("button", {
71336
71425
  type: "button",
71337
71426
  class: "lr3d-monitor-panel__item-action",
71338
- disabled: !z(xt).sceneId || z(At) < 1,
71339
- onClick: n[31] ||= (...e) => z(nn) && z(nn)(...e)
71340
- }, F(z(xt).isFollowing ? "停止跟随" : "跟随"), 9, ZJ)
71427
+ disabled: !z(wt).sceneId || z(Nt) < 1,
71428
+ onClick: n[31] ||= (...e) => z(on) && z(on)(...e)
71429
+ }, F(z(wt).isFollowing ? "停止跟随" : "跟随"), 9, ZJ)
71341
71430
  ]),
71342
- z(xt).rawItems.length > 0 ? (O(), o("div", QJ, [(O(!0), o(t, null, M(z(xt).rawItems, (e, t) => (O(), o("article", {
71343
- key: `${z(xt).personCard}-${e.station_code || t}-${e.data_time || t}`,
71344
- class: S(["lr3d-person-track-panel__item", { "lr3d-person-track-panel__item--active": z(xt).currentRawIndex === t }])
71345
- }, [s("div", $J, [s("strong", null, F(Qo(e.station_name)), 1), s("span", null, F(Qo(e.data_time ?? e.station_entertime)), 1)]), s("div", eY, [
71346
- s("div", tY, [n[53] ||= s("span", null, "站点编码", -1), s("strong", null, F(Qo(e.station_code)), 1)]),
71347
- s("div", nY, [n[54] ||= s("span", null, "入库时间", -1), s("strong", null, F(Qo(e.insert_time)), 1)]),
71348
- s("div", rY, [n[55] ||= s("span", null, "定位卡号", -1), s("strong", null, F(Qo(e.person_card)), 1)]),
71349
- s("div", iY, [n[56] ||= s("span", null, "三维坐标", -1), s("strong", null, F(Qo(`${e.x},${e.y},${e.z}`)), 1)])
71431
+ z(wt).rawItems.length > 0 ? (O(), o("div", QJ, [(O(!0), o(t, null, M(z(wt).rawItems, (e, t) => (O(), o("article", {
71432
+ key: `${z(wt).personCard}-${e.station_code || t}-${e.data_time || t}`,
71433
+ class: S(["lr3d-person-track-panel__item", { "lr3d-person-track-panel__item--active": z(wt).currentRawIndex === t }])
71434
+ }, [s("div", $J, [s("strong", null, F(ts(e.station_name)), 1), s("span", null, F(ts(e.data_time ?? e.station_entertime)), 1)]), s("div", eY, [
71435
+ s("div", tY, [n[53] ||= s("span", null, "站点编码", -1), s("strong", null, F(ts(e.station_code)), 1)]),
71436
+ s("div", nY, [n[54] ||= s("span", null, "入库时间", -1), s("strong", null, F(ts(e.insert_time)), 1)]),
71437
+ s("div", rY, [n[55] ||= s("span", null, "定位卡号", -1), s("strong", null, F(ts(e.person_card)), 1)]),
71438
+ s("div", iY, [n[56] ||= s("span", null, "三维坐标", -1), s("strong", null, F(ts(`${e.x},${e.y},${e.z}`)), 1)])
71350
71439
  ])], 2))), 128))])) : a("", !0)
71351
- ], 64)) : z(va) ? (O(), o("div", aY, " 正在读取监测点数据... ")) : z(qi) === "error" ? (O(), o("div", oY, " 监测点数据加载失败:" + F(z(Ji)), 1)) : z(da) ? (O(), o(t, { key: 5 }, [z(ya) ? (O(), o("div", cY, " 其余监测点数据仍在加载,已返回的数据先展示。 ")) : a("", !0), s("ul", lY, [(O(!0), o(t, null, M(z(ba), (e) => (O(), o("li", {
71440
+ ], 64)) : z(xa) ? (O(), o("div", aY, " 正在读取监测点数据... ")) : z(Xi) === "error" ? (O(), o("div", oY, " 监测点数据加载失败:" + F(z(Zi)), 1)) : z(ma) ? (O(), o(t, { key: 5 }, [z(Sa) ? (O(), o("div", cY, " 其余监测点数据仍在加载,已返回的数据先展示。 ")) : a("", !0), s("ul", lY, [(O(!0), o(t, null, M(z(Ca), (e) => (O(), o("li", {
71352
71441
  key: e.viewId,
71353
71442
  class: "lr3d-monitor-panel__item lr3d-monitor-panel__item--clickable",
71354
- onClick: (t) => z(Ga)(e)
71443
+ onClick: (t) => z(Ja)(e)
71355
71444
  }, [
71356
- s("div", dY, [s("strong", null, F(ns(e) ? Es(e) : e.name), 1), s("div", fY, [
71357
- ns(e) ? (O(), o("button", {
71445
+ s("div", dY, [s("strong", null, F(as(e) ? ks(e) : e.name), 1), s("div", fY, [
71446
+ as(e) ? (O(), o("button", {
71358
71447
  key: 0,
71359
71448
  type: "button",
71360
71449
  class: "lr3d-monitor-panel__compact-button lr3d-monitor-panel__compact-button--track",
71361
- disabled: !e.cardId || z(Z).loading,
71450
+ disabled: !e.cardId || z(xt).loading,
71362
71451
  title: e.cardId ? "查询并打开当前人员轨迹面板" : "当前人员缺少卡号,无法查询轨迹",
71363
- onClick: H((t) => z(Ut)(e), ["stop"])
71364
- }, F(z(Z).loading && z(Z).sceneId === String(e.personSceneId) ? "查询中" : "轨迹播放"), 9, pY)) : a("", !0),
71365
- us(e) ? (O(), o("button", {
71452
+ onClick: H((t) => z(Kt)(e), ["stop"])
71453
+ }, F(z(xt).loading && z(xt).sceneId === String(e.personSceneId) ? "查询中" : "轨迹播放"), 9, pY)) : a("", !0),
71454
+ ps(e) ? (O(), o("button", {
71366
71455
  key: 1,
71367
71456
  type: "button",
71368
71457
  class: "lr3d-monitor-panel__compact-button lr3d-monitor-panel__compact-button--track",
71369
- disabled: !e.personCard || z(xt).loading,
71458
+ disabled: !e.personCard || z(wt).loading,
71370
71459
  title: e.personCard ? "查询并打开当前车辆轨迹面板" : "当前车辆缺少定位卡号,无法查询轨迹",
71371
- onClick: H((t) => z(Zt)(e), ["stop"])
71372
- }, F(z(xt).loading && z(xt).sceneId === String(e.carSceneId) ? "查询中" : "轨迹播放"), 9, mY)) : a("", !0),
71373
- cs(e) && Yo(e) ? (O(), o("button", {
71460
+ onClick: H((t) => z(en)(e), ["stop"])
71461
+ }, F(z(wt).loading && z(wt).sceneId === String(e.carSceneId) ? "查询中" : "轨迹播放"), 9, mY)) : a("", !0),
71462
+ ds(e) && Qo(e) ? (O(), o("button", {
71374
71463
  key: 2,
71375
71464
  type: "button",
71376
71465
  class: "lr3d-monitor-panel__placement-button lr3d-monitor-panel__placement-button--clear",
71377
71466
  "aria-label": "清除坐标",
71378
- disabled: !!os(e) || !Yo(e) || z(oa).status === "saving",
71379
- title: os(e) || (Yo(e) ? "清除坐标" : "当前测点没有可清除的有效坐标"),
71380
- onClick: H((t) => z(Ya)(e), ["stop"])
71467
+ disabled: !!ls(e) || !Qo(e) || z(la).status === "saving",
71468
+ title: ls(e) || (Qo(e) ? "清除坐标" : "当前测点没有可清除的有效坐标"),
71469
+ onClick: H((t) => z(Qa)(e), ["stop"])
71381
71470
  }, [...n[57] ||= [s("svg", {
71382
71471
  viewBox: "0 0 24 24",
71383
71472
  "aria-hidden": "true"
@@ -71389,14 +71478,14 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
71389
71478
  "stroke-linejoin": "round",
71390
71479
  "stroke-width": "1.8"
71391
71480
  })], -1)]], 8, hY)) : a("", !0),
71392
- cs(e) ? (O(), o("button", {
71481
+ ds(e) ? (O(), o("button", {
71393
71482
  key: 3,
71394
71483
  type: "button",
71395
- class: S(["lr3d-monitor-panel__placement-button", [Yo(e) ? "lr3d-monitor-panel__placement-button--placed" : "lr3d-monitor-panel__placement-button--empty", { "lr3d-monitor-panel__placement-button--active": z(oa).targetItem?.viewId === e.viewId && z(oa).status !== "idle" }]]),
71396
- "aria-label": Yo(e) ? "重新布点" : "布点",
71397
- disabled: !ss(e),
71398
- title: os(e) || (Yo(e) ? "重新布点" : "布点"),
71399
- onClick: H((t) => z(Ja)(e), ["stop"])
71484
+ class: S(["lr3d-monitor-panel__placement-button", [Qo(e) ? "lr3d-monitor-panel__placement-button--placed" : "lr3d-monitor-panel__placement-button--empty", { "lr3d-monitor-panel__placement-button--active": z(la).targetItem?.viewId === e.viewId && z(la).status !== "idle" }]]),
71485
+ "aria-label": Qo(e) ? "重新布点" : "布点",
71486
+ disabled: !us(e),
71487
+ title: ls(e) || (Qo(e) ? "重新布点" : "布点"),
71488
+ onClick: H((t) => z(Za)(e), ["stop"])
71400
71489
  }, [...n[58] ||= [s("svg", {
71401
71490
  viewBox: "0 0 24 24",
71402
71491
  "aria-hidden": "true"
@@ -71413,60 +71502,60 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
71413
71502
  fill: "currentColor"
71414
71503
  })], -1)]], 10, gY)) : a("", !0)
71415
71504
  ])]),
71416
- !ns(e) && !fs(e) ? (O(), o("p", _Y, F(ms(e)), 1)) : a("", !0),
71417
- $o(e) ? (O(), o("div", vY, [s("div", yY, [n[59] ||= s("span", { class: "lr3d-monitor-panel__safety-label" }, "测点值", -1), s("strong", bY, F(gs(e)), 1)]), s("div", xY, [n[60] ||= s("span", { class: "lr3d-monitor-panel__safety-label" }, "更新时间", -1), s("strong", SY, F(Qo(e.data_time)), 1)])])) : es(e) ? (O(), o("div", CY, [s("div", wY, [n[61] ||= s("span", { class: "lr3d-monitor-panel__hydrology-label" }, "监测值", -1), s("strong", TY, F(vs(e)), 1)]), s("div", EY, [s("div", DY, [n[62] ||= s("span", null, "数据时间", -1), s("strong", null, F(Qo(e.data_time ?? e.sj)), 1)]), s("div", OY, [n[63] ||= s("span", null, "状态", -1), s("strong", kY, F(Qo(e.state)), 1)])])])) : ns(e) ? (O(), o("div", AY, [s("div", jY, [(O(!0), o(t, null, M(Ds(e), ([t, n]) => (O(), o("div", {
71505
+ !as(e) && !hs(e) ? (O(), o("p", _Y, F(_s(e)), 1)) : a("", !0),
71506
+ ns(e) ? (O(), o("div", vY, [s("div", yY, [n[59] ||= s("span", { class: "lr3d-monitor-panel__safety-label" }, "测点值", -1), s("strong", bY, F(ys(e)), 1)]), s("div", xY, [n[60] ||= s("span", { class: "lr3d-monitor-panel__safety-label" }, "更新时间", -1), s("strong", SY, F(ts(e.data_time)), 1)])])) : rs(e) ? (O(), o("div", CY, [s("div", wY, [n[61] ||= s("span", { class: "lr3d-monitor-panel__hydrology-label" }, "监测值", -1), s("strong", TY, F(xs(e)), 1)]), s("div", EY, [s("div", DY, [n[62] ||= s("span", null, "数据时间", -1), s("strong", null, F(ts(e.data_time ?? e.sj)), 1)]), s("div", OY, [n[63] ||= s("span", null, "状态", -1), s("strong", kY, F(ts(e.state)), 1)])])])) : as(e) ? (O(), o("div", AY, [s("div", jY, [(O(!0), o(t, null, M(As(e), ([t, n]) => (O(), o("div", {
71418
71507
  key: `${e.viewId}-${t}`,
71419
71508
  class: "lr3d-monitor-panel__person-metric"
71420
- }, [s("span", MY, F(t), 1), s("strong", NY, F(n), 1)]))), 128))])])) : fs(e) ? (O(), o("div", PY, [(O(!0), o(t, null, M(qo(e), ([t, n]) => (O(), o("span", {
71509
+ }, [s("span", MY, F(t), 1), s("strong", NY, F(n), 1)]))), 128))])])) : hs(e) ? (O(), o("div", PY, [(O(!0), o(t, null, M(Xo(e), ([t, n]) => (O(), o("span", {
71421
71510
  key: `${e.viewId}-${t}`,
71422
71511
  class: "lr3d-monitor-panel__item-chip"
71423
- }, F(t) + ":" + F(n), 1))), 128))])) : ts(e) ? (O(), o("div", FY, [s("div", IY, [(O(!0), o(t, null, M(Cs(e), ([t, n]) => (O(), o("div", {
71512
+ }, F(t) + ":" + F(n), 1))), 128))])) : is(e) ? (O(), o("div", FY, [s("div", IY, [(O(!0), o(t, null, M(Es(e), ([t, n]) => (O(), o("div", {
71424
71513
  key: `${e.viewId}-${t}`,
71425
71514
  class: "lr3d-monitor-panel__bundle-summary-item"
71426
- }, [s("span", LY, F(t), 1), s("strong", RY, F(n), 1)]))), 128))]), s("div", zY, [(O(!0), o(t, null, M(ws(e), ([t, n]) => (O(), o("div", {
71515
+ }, [s("span", LY, F(t), 1), s("strong", RY, F(n), 1)]))), 128))]), s("div", zY, [(O(!0), o(t, null, M(Ds(e), ([t, n]) => (O(), o("div", {
71427
71516
  key: `${e.viewId}-${t}`,
71428
71517
  class: "lr3d-monitor-panel__bundle-metric"
71429
- }, [s("span", BY, F(t), 1), s("strong", VY, F(n), 1)]))), 128))])])) : us(e) ? (O(), o("div", HY, [s("div", UY, [(O(!0), o(t, null, M(js(e), ([t, n]) => (O(), o("div", {
71518
+ }, [s("span", BY, F(t), 1), s("strong", VY, F(n), 1)]))), 128))])])) : ps(e) ? (O(), o("div", HY, [s("div", UY, [(O(!0), o(t, null, M(Ps(e), ([t, n]) => (O(), o("div", {
71430
71519
  key: `${e.viewId}-${t}`,
71431
71520
  class: "lr3d-monitor-panel__car-metric"
71432
- }, [s("span", WY, F(t), 1), s("strong", GY, F(n), 1)]))), 128))])])) : ds(e) ? (O(), o("div", KY, [s("div", qY, [(O(!0), o(t, null, M(Ps(e), ([t, n]) => (O(), o("div", {
71521
+ }, [s("span", WY, F(t), 1), s("strong", GY, F(n), 1)]))), 128))])])) : ms(e) ? (O(), o("div", KY, [s("div", qY, [(O(!0), o(t, null, M(Ls(e), ([t, n]) => (O(), o("div", {
71433
71522
  key: `${e.viewId}-${t}`,
71434
71523
  class: "lr3d-monitor-panel__broadcast-summary-item"
71435
- }, [s("span", JY, F(t), 1), s("strong", YY, F(n), 1)]))), 128))]), s("div", XY, [(O(!0), o(t, null, M(Fs(e), ([t, n]) => (O(), o("div", {
71524
+ }, [s("span", JY, F(t), 1), s("strong", YY, F(n), 1)]))), 128))]), s("div", XY, [(O(!0), o(t, null, M(Rs(e), ([t, n]) => (O(), o("div", {
71436
71525
  key: `${e.viewId}-${t}`,
71437
71526
  class: "lr3d-monitor-panel__broadcast-metric"
71438
- }, [s("span", ZY, F(t), 1), s("strong", QY, F(n), 1)]))), 128))])])) : (O(), o("div", $Y, [(O(!0), o(t, null, M($s(e), ([t, n]) => (O(), o("span", {
71527
+ }, [s("span", ZY, F(t), 1), s("strong", QY, F(n), 1)]))), 128))])])) : (O(), o("div", $Y, [(O(!0), o(t, null, M(nc(e), ([t, n]) => (O(), o("span", {
71439
71528
  key: `${e.viewId}-${t}`,
71440
71529
  class: "lr3d-monitor-panel__item-chip"
71441
71530
  }, F(t) + ":" + F(n), 1))), 128))]))
71442
- ], 8, uY))), 128))])], 64)) : (O(), o("div", sY, F(z(_a)), 1))]),
71443
- s("div", eX, [s("span", tX, F(z(ma) ? `当前轨迹 ${z(Z).rawItems.length} 条` : z(ha) ? `当前轨迹 ${z(xt).rawItems.length} 条` : `共 ${z(ua).length} 个测点`), 1), !z(ma) && !z(ha) && z(xa) > 1 ? (O(), o("div", nX, [
71531
+ ], 8, uY))), 128))])], 64)) : (O(), o("div", sY, F(z(ba)), 1))]),
71532
+ s("div", eX, [s("span", tX, F(z(_a) ? `当前轨迹 ${z(xt).rawItems.length} 条` : z(va) ? `当前轨迹 ${z(wt).rawItems.length} 条` : `共 ${z(pa).length} 个测点`), 1), !z(_a) && !z(va) && z(wa) > 1 ? (O(), o("div", nX, [
71444
71533
  s("button", {
71445
71534
  type: "button",
71446
71535
  class: "lr3d-monitor-panel__page-btn",
71447
- disabled: z(na) <= 1,
71448
- onClick: n[32] ||= (e) => --na.value
71536
+ disabled: z(aa) <= 1,
71537
+ onClick: n[32] ||= (e) => --aa.value
71449
71538
  }, " 上一页 ", 8, rX),
71450
- s("span", iX, F(z(na)) + " / " + F(z(xa)), 1),
71539
+ s("span", iX, F(z(aa)) + " / " + F(z(wa)), 1),
71451
71540
  s("button", {
71452
71541
  type: "button",
71453
71542
  class: "lr3d-monitor-panel__page-btn",
71454
- disabled: z(na) >= z(xa),
71455
- onClick: n[33] ||= (e) => na.value += 1
71543
+ disabled: z(aa) >= z(wa),
71544
+ onClick: n[33] ||= (e) => aa.value += 1
71456
71545
  }, " 下一页 ", 8, aX)
71457
71546
  ])) : a("", !0)])
71458
71547
  ])) : a("", !0)])) : a("", !0),
71459
- Bs.value && ce.value ? (O(), i(KG, {
71548
+ Us.value && ce.value ? (O(), i(KG, {
71460
71549
  key: 10,
71461
71550
  visible: !0,
71462
71551
  "debug-scene-background-color": I.value,
71463
71552
  "manual-load-state": se.value,
71464
71553
  "debug-tool-name": P.value,
71465
- "debug-action-log": z(Ie),
71554
+ "debug-action-log": z(ze),
71466
71555
  "onUpdate:debugSceneBackgroundColor": n[34] ||= (e) => I.value = e,
71467
71556
  "onUpdate:debugToolName": n[35] ||= (e) => P.value = e,
71468
- onSceneBackgroundInput: Ys,
71469
- onExecuteAction: Ac
71557
+ onSceneBackgroundInput: Qs,
71558
+ onExecuteAction: Nc
71470
71559
  }, null, 8, [
71471
71560
  "debug-scene-background-color",
71472
71561
  "manual-load-state",
@@ -71483,11 +71572,11 @@ var EG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAA
71483
71572
  "version",
71484
71573
  "logs"
71485
71574
  ]),
71486
- z(Fe) === "idle" || z(Fe) === "loading" ? (O(), o("div", oX, [...n[64] ||= [s("p", null, "正在准备三维场景", -1), s("small", null, "SDK 脚本加载完成后会在当前容器内创建最小场景实例", -1)]])) : a("", !0),
71487
- z(Fe) === "error" ? (O(), o("div", sX, [...n[65] ||= [s("p", null, "最小初始化未完成", -1), s("small", null, "请根据状态信息检查 SDK 依赖或资源路径", -1)]])) : a("", !0)
71575
+ z(Re) === "idle" || z(Re) === "loading" ? (O(), o("div", oX, [...n[64] ||= [s("p", null, "正在准备三维场景", -1), s("small", null, "SDK 脚本加载完成后会在当前容器内创建最小场景实例", -1)]])) : a("", !0),
71576
+ z(Re) === "error" ? (O(), o("div", sX, [...n[65] ||= [s("p", null, "最小初始化未完成", -1), s("small", null, "请根据状态信息检查 SDK 依赖或资源路径", -1)]])) : a("", !0)
71488
71577
  ])])]));
71489
71578
  }
71490
- }, [["__scopeId", "data-v-695027a4"]]), DZ = { class: "lr-map-viewer" }, OZ = { class: "lr-map-viewer__stack" }, kZ = /* @__PURE__ */ uN({
71579
+ }, [["__scopeId", "data-v-6ff40062"]]), DZ = { class: "lr-map-viewer" }, OZ = { class: "lr-map-viewer__stack" }, kZ = /* @__PURE__ */ uN({
71491
71580
  __name: "LrMapViewer",
71492
71581
  props: {
71493
71582
  mode: {