earthsdk3-cesium 3.6.3 → 3.6.5

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.
@@ -3,7 +3,7 @@ var N1 = (t, i, e) => i in t ? V1(t, i, { enumerable: !0, configurable: !0, writ
3
3
  var g = (t, i, e) => N1(t, typeof i != "symbol" ? i + "" : i, e);
4
4
  import * as h from "cesium";
5
5
  import { Cartesian3 as qs, Math as cp, WebMercatorTilingScheme as G1, Rectangle as U1, Event as W1, Credit as H1, DefaultProxy as $1, defined as q1, Resource as yg, ImageryLayerFeatureInfo as X1, Frozen as Y1 } from "cesium";
6
- import { createGuid as Ne, extendClassProps as ae, Destroyable as k, EngineObject as Yi, Event as q, getReactFuncs as Di, createNextAnimateFrameEvent as F, react as G, cartesianDistance as Z1, ObjResettingWithEvent as he, geoRhumbDistance as Nd, geoRhumbHeading as gr, geoRhumbDestination as Bt, geoNearestPointOnLine as Q1, getDomEventCurrentTargetPos as Zt, geoDistance as Ii, ESSceneObject as oe, lbhToXyz as mr, xyzToLbh as dw, createProcessingFromAsyncFunc as ze, step as vi, reactArrayWithUndefined as K, getMinMaxCorner as yt, ESImageryLayer as Ah, ESTerrainLayer as _a, ES3DTileset as _i, bind as I, geoHeading as Sr, animateFrame as K1, geoDestination as Qo, min as au, objsIterator as kn, max as lu, getGeoBoundingSphereFromPositions as pf, pairToPromise as J1, Vector as fi, ESGltfModel as id, reactJsonWithUndefined as He, reactJson as Ge, reactArray as j, track as P, reactDeepArrayWithUndefined as uw, defaultGetLocalFilePath as j1, ComplexImage as hu, czmPixelFormats as eP, HasOwner as Gd, reactPositionsSet as Yr, setExtProp as sd, getExtProp as ff, getMinMaxPosition as pw, PosFloatDiv as fw, DivPoi as gw, createNextMicroTaskEvent as tP, Transition as Ar, CanvasPrimitivesContext as iP, CanvasPoi as gf, DomElementEvent as yc, PointerClick as mw, PointerHover as sP, CanvasPrimitive as oP, fetchImage as nP, getColorHexStr as wc, getDrawRect as cu, drawTextBlock as wg, imageToCanvas as rP, setCanvasUniformColor as aP, ESJPickedResult as vr, createTimeoutWithStartValues as Cg, reactPositions as je, reactArrayCollectionWithUndefined as lP, Player as ac, ESPoi2D as ot, ESWidget as vw, engineObjectCreatedUpdate as Dt, debounce as hP, getDistancesFromPositions as ft, getDefaultValue as du, ESPathImpl as yw, PlayerProperty as Ud, SmoothMoveController as cP, createEventsCallFunc as jo, ESSceneObjectWithId as zi, ESClippingPlane as ww, ESGeoPolygon as Wd, nextAnimateFrame as Jt, ESPolygonFlattenedPlane as dP, registerEventUpdate as Hi, ESExcavate as lc, ESHole as Hd, ESBoxClipping as mf, defaultLocalFileServer as Pa, ESAlarm as _g, ESApertureEffect as Pg, geoArea as uP, geoCenterOfMass as pP, ESAreaMeasurement as fP, ESBlastParticleSystem as gP, ESCameraView as mP, ESCameraVisibleRange as xg, ESCar as vP, ESCityBasePoint as yP, ESClassification as Cw, ESCzml as wP, ESDataMesh as Fn, ColorStops as CP, sleep as _w, fetchArrayBuffer as uu, clampN180_180 as _P, clamp0_360 as PP, ESDirectionMeasurement as xP, inOrderRunning as bP, ESGeoLineString as Pw, ESDistanceMeasurement as SP, ESFireParticleSystem as AP, ESVisualObject as od, GroupProperty as _e, EnumProperty as yi, NumberProperty as ce, StringProperty as Ko, Number4Property as ao, JsonProperty as Yt, NumberSliderProperty as bg, FunctionProperty as yr, EvalStringProperty as nd, BooleanProperty as ue, LongStringProperty as TP, DateProperty as pu, ESLocalVector2D as Sg, reactPosition2Ds as EP, Number2sProperty as IP, ColorProperty as tr, DashPatternProperty as xw, ESLocalVector as Ag, Number3sProperty as MP, ESObjectWithLocation as Tg, PositionProperty as RP, RotationProperty as DP, Number3Property as bw, ESGeoVector as ki, ESJEditingMode as Je, UriProperty as kP, Number2Property as FP, ESGeoDiv as zP, ESGeoDivTextPoi as LP, isJSON as BP, ESGeoJson as rt, toGeoJson as Sw, ESGeoRectangle as OP, ESHeightMeasurement as VP, ESHuman as Eg, ESImageLabel as NP, ESLocalSkyBox as Ig, ESLocationMeasurement as Mg, ESParticleSystemPrimitive as GP, ESPoi3D as UP, ESSubmergingAnalysis as Mo, ESTextLabel as WP, ESUEWidget as HP, ESUnrealActor as $P, ESVideoFusion as Cc, ESViewShed as _c, ESLocalCircle as Rg, ESLocalPolygon as Aw, ESLocalPolygonZ as Tw, ESLocalRectangle as qP, ESNavigator as zn, ESCustomDiv as $d, createAnimateFrameWithStartValues as vf, ESPath as XP, ESPolygonFence as Ew, ESRectangle as YP, ESScale as aa, ESDynamicWater as Xs, ESEntityCluster as is, ESGeoWater as ws, ESPipeFence as ZP, ESPipeline as QP, equalsN3 as Zr, ESPipeserTileset as KP, ESPit as JP, ESPolygonWithHole as jP, clamp as dp, ESSunshineAnalysis as Iw, ESSurfaceAreaMeasurement as ex, ESViewerStatusBar as Ki, ESViewerStatusBarScale as Ji, ESVisibilityAnalysis as tx, ESVolumeMeasurement as ix, ESGeoExtrudedPolygon as Pc, ESHumanPoi as sx, ESRtsTileset as ox, ESRtsFeatureEditing as nx, ESMsTileset as rx, ESStaticMesh as ax, ESSkylineAnalysis as Dg, ESHeatMap as Ln, ESGeoPoints as la, getEventFromPromise as lx, Processing as Aa, ObservableArray as hx, CursorInfo as cx, CursorFloatDiv as dx, createCancelablePromise as up, createNextAnimateFrame as ux, getElementBounds as px, ESViewer as pp, StringsProperty as fx } from "earthsdk3";
6
+ import { createGuid as Ne, extendClassProps as ae, Destroyable as k, EngineObject as Yi, Event as q, getReactFuncs as Di, createNextAnimateFrameEvent as F, react as G, cartesianDistance as Z1, ObjResettingWithEvent as he, geoRhumbDistance as Nd, geoRhumbHeading as gr, geoRhumbDestination as Bt, geoNearestPointOnLine as Q1, getDomEventCurrentTargetPos as Zt, geoDistance as Ii, ESSceneObject as oe, lbhToXyz as mr, xyzToLbh as dw, createProcessingFromAsyncFunc as ze, step as vi, reactArrayWithUndefined as K, getMinMaxCorner as yt, ESImageryLayer as Ah, ESTerrainLayer as _a, ES3DTileset as _i, bind as I, geoHeading as Sr, animateFrame as K1, geoDestination as Ko, min as au, objsIterator as kn, max as lu, getGeoBoundingSphereFromPositions as pf, pairToPromise as J1, Vector as fi, ESGltfModel as id, reactJsonWithUndefined as He, reactJson as Ge, reactArray as j, track as P, reactDeepArrayWithUndefined as uw, defaultGetLocalFilePath as j1, ComplexImage as hu, czmPixelFormats as eP, HasOwner as Gd, reactPositionsSet as Yr, setExtProp as sd, getExtProp as ff, getMinMaxPosition as pw, PosFloatDiv as fw, DivPoi as gw, createNextMicroTaskEvent as tP, Transition as Ar, CanvasPrimitivesContext as iP, CanvasPoi as gf, DomElementEvent as yc, PointerClick as mw, PointerHover as sP, CanvasPrimitive as oP, fetchImage as nP, getColorHexStr as wc, getDrawRect as cu, drawTextBlock as wg, imageToCanvas as rP, setCanvasUniformColor as aP, ESJPickedResult as vr, createTimeoutWithStartValues as Cg, reactPositions as je, reactArrayCollectionWithUndefined as lP, Player as ac, ESPoi2D as ot, ESWidget as vw, engineObjectCreatedUpdate as Dt, debounce as hP, getDistancesFromPositions as ft, getDefaultValue as du, ESPathImpl as yw, PlayerProperty as Ud, SmoothMoveController as cP, createEventsCallFunc as fo, ESSceneObjectWithId as zi, ESClippingPlane as ww, ESGeoPolygon as Wd, nextAnimateFrame as Jt, ESPolygonFlattenedPlane as dP, registerEventUpdate as Hi, ESExcavate as lc, ESHole as Hd, ESBoxClipping as mf, defaultLocalFileServer as Pa, ESAlarm as _g, ESApertureEffect as Pg, geoArea as uP, geoCenterOfMass as pP, ESAreaMeasurement as fP, ESBlastParticleSystem as gP, ESCameraView as mP, ESCameraVisibleRange as xg, ESCar as vP, ESCityBasePoint as yP, ESClassification as Cw, ESCzml as wP, ESDataMesh as Fn, ColorStops as CP, sleep as _w, fetchArrayBuffer as uu, clampN180_180 as _P, clamp0_360 as PP, ESDirectionMeasurement as xP, inOrderRunning as bP, ESGeoLineString as Pw, ESDistanceMeasurement as SP, ESFireParticleSystem as AP, ESVisualObject as od, GroupProperty as _e, EnumProperty as yi, NumberProperty as ce, StringProperty as Jo, Number4Property as ao, JsonProperty as Yt, NumberSliderProperty as bg, FunctionProperty as yr, EvalStringProperty as nd, BooleanProperty as ue, LongStringProperty as TP, DateProperty as pu, ESLocalVector2D as Sg, reactPosition2Ds as EP, Number2sProperty as IP, ColorProperty as tr, DashPatternProperty as xw, ESLocalVector as Ag, Number3sProperty as MP, ESObjectWithLocation as Tg, PositionProperty as RP, RotationProperty as DP, Number3Property as bw, ESGeoVector as ki, ESJEditingMode as Je, UriProperty as kP, Number2Property as FP, ESGeoDiv as zP, ESGeoDivTextPoi as LP, isJSON as BP, ESGeoJson as rt, toGeoJson as Sw, ESGeoRectangle as OP, ESHeightMeasurement as VP, ESHuman as Eg, ESImageLabel as NP, ESLocalSkyBox as Ig, ESLocationMeasurement as Mg, ESParticleSystemPrimitive as GP, ESPoi3D as UP, ESSubmergingAnalysis as Ro, ESTextLabel as WP, ESUEWidget as HP, ESUnrealActor as $P, ESVideoFusion as Cc, ESViewShed as _c, ESLocalCircle as Rg, ESLocalPolygon as Aw, ESLocalPolygonZ as Tw, ESLocalRectangle as qP, ESNavigator as zn, ESCustomDiv as $d, createAnimateFrameWithStartValues as vf, ESPath as XP, ESPolygonFence as Ew, ESRectangle as YP, ESScale as aa, ESDynamicWater as Xs, ESEntityCluster as is, ESGeoWater as ws, ESPipeFence as ZP, ESPipeline as QP, equalsN3 as Zr, ESPipeserTileset as KP, ESPit as JP, ESPolygonWithHole as jP, clamp as dp, ESSunshineAnalysis as Iw, ESSurfaceAreaMeasurement as ex, ESViewerStatusBar as Ki, ESViewerStatusBarScale as Ji, ESVisibilityAnalysis as tx, ESVolumeMeasurement as ix, ESGeoExtrudedPolygon as Pc, ESHumanPoi as sx, ESRtsTileset as ox, ESRtsFeatureEditing as nx, ESMsTileset as rx, ESStaticMesh as ax, ESSkylineAnalysis as Dg, ESHeatMap as Ln, ESGeoPoints as la, getEventFromPromise as lx, Processing as Aa, ObservableArray as hx, CursorInfo as cx, CursorFloatDiv as dx, createCancelablePromise as up, createNextAnimateFrame as ux, getElementBounds as px, ESViewer as pp, StringsProperty as fx } from "earthsdk3";
7
7
  import yf from "html2canvas";
8
8
  import * as gx from "mvt-basic-render";
9
9
  import mx from "delaunator";
@@ -472,7 +472,7 @@ class Qr extends k {
472
472
  }
473
473
  }
474
474
  const zx = new h.BoundingSphere(h.Cartesian3.ZERO, 0);
475
- function bo(t, i, e) {
475
+ function So(t, i, e) {
476
476
  var s = zx;
477
477
  h.Cartesian3.clone(i, s.center);
478
478
  const o = t.camera.getPixelSize(s, t.drawingBufferWidth, t.drawingBufferHeight);
@@ -547,7 +547,7 @@ function Dw(t, i, e, s, o, n) {
547
547
  const r = e.position;
548
548
  if (!Ve(r, mu))
549
549
  return;
550
- const a = bo(i, mu, s);
550
+ const a = So(i, mu, s);
551
551
  if (a === void 0 || !_f(i, mu, gu, Bg) || !me(Bg, si))
552
552
  return;
553
553
  const l = zg(si[2]) * Ii(r, si);
@@ -622,8 +622,8 @@ function vs(t, i) {
622
622
  };
623
623
  return a(), e.dispose(r.disposableOn(a)), e;
624
624
  }
625
- function So(t, i = !1) {
626
- const e = jt(t.positions, i), s = t.holes && t.holes.map((o) => So(o));
625
+ function Ao(t, i = !1) {
626
+ const e = jt(t.positions, i), s = t.holes && t.holes.map((o) => Ao(o));
627
627
  return {
628
628
  positions: e,
629
629
  holes: s
@@ -650,7 +650,7 @@ function Xx(t, i, e) {
650
650
  if (!(c < 0 || d < 0 || u < 0 || p < 0 || f < 0 || f > 1))
651
651
  return e ? (e.left = c, e.top = p, e.right = u, e.bottom = d, e.depth = f) : e = { left: c, top: p, right: u, bottom: d, depth: f }, e;
652
652
  }
653
- const Ro = { left: 0, top: 0, right: 0, bottom: 0, depth: 0 };
653
+ const Do = { left: 0, top: 0, right: 0, bottom: 0, depth: 0 };
654
654
  class Pf extends k {
655
655
  constructor(e, s = !0, o) {
656
656
  super();
@@ -674,8 +674,8 @@ class Pf extends k {
674
674
  if (!this._enabled)
675
675
  return;
676
676
  let e = !1;
677
- const s = Xx(this._viewer, this._cartesian, Ro);
678
- !!s !== this._winPosValid && (e = !0, this._winPosValid = !!s), this._winPosValid ? qx(this._winPos, Ro) || (e = !0, this._winPos.left = Ro.left, this._winPos.top = Ro.top, this._winPos.right = Ro.right, this._winPos.bottom = Ro.bottom, this._winPos.depth = Ro.depth) : (e = !0, this._winPos.left = Number.NaN, this._winPos.top = Number.NaN, this._winPos.right = Number.NaN, this._winPos.bottom = Number.NaN, this._winPos.depth = Number.NaN), e && this._changedEvent.emit(this._winPosValid, this._winPos);
677
+ const s = Xx(this._viewer, this._cartesian, Do);
678
+ !!s !== this._winPosValid && (e = !0, this._winPosValid = !!s), this._winPosValid ? qx(this._winPos, Do) || (e = !0, this._winPos.left = Do.left, this._winPos.top = Do.top, this._winPos.right = Do.right, this._winPos.bottom = Do.bottom, this._winPos.depth = Do.depth) : (e = !0, this._winPos.left = Number.NaN, this._winPos.top = Number.NaN, this._winPos.right = Number.NaN, this._winPos.bottom = Number.NaN, this._winPos.depth = Number.NaN), e && this._changedEvent.emit(this._winPosValid, this._winPos);
679
679
  }
680
680
  get cartesian() {
681
681
  return this._cartesian;
@@ -697,20 +697,20 @@ function Yx(t) {
697
697
  const i = h.Math.toRadians(t[0]), e = h.Math.toRadians(t[1]), s = h.Math.toRadians(t[2]), o = h.Matrix3.fromHeadingPitchRoll(new h.HeadingPitchRoll(i, e, s)), n = new h.Cartesian3();
698
698
  return h.Matrix3.multiplyByVector(o, h.Cartesian3.UNIT_X, n), [n.x, n.y, n.z];
699
699
  }
700
- const Zx = h.Check, Do = h.defined, Qx = h.Math, Vg = Qx.EPSILON10;
700
+ const Zx = h.Check, ko = h.defined, Qx = h.Math, Vg = Qx.EPSILON10;
701
701
  function Kx(t, i, e, s) {
702
- if (Zx.defined("equalsEpsilon", i), !Do(t))
702
+ if (Zx.defined("equalsEpsilon", i), !ko(t))
703
703
  return;
704
704
  e = e ?? !1;
705
- const o = Do(s), n = t.length;
705
+ const o = ko(s), n = t.length;
706
706
  if (n < 2)
707
707
  return t;
708
708
  let r, a = t[0], l, c, d = 0, u = -1;
709
709
  for (r = 1; r < n; ++r)
710
- l = t[r], i(a, l, Vg) ? (Do(c) || (c = t.slice(0, r), d = r - 1, u = 0), o && s.push(r)) : (Do(c) && (c.push(l), d = r, o && (u = s.length)), a = l);
711
- return e && i(t[0], t[n - 1], Vg) && (o && (Do(c) ? s.splice(u, 0, d) : s.push(n - 1)), Do(c) ? c.length -= 1 : c = t.slice(0, -1)), Do(c) ? c : t;
710
+ l = t[r], i(a, l, Vg) ? (ko(c) || (c = t.slice(0, r), d = r - 1, u = 0), o && s.push(r)) : (ko(c) && (c.push(l), d = r, o && (u = s.length)), a = l);
711
+ return e && i(t[0], t[n - 1], Vg) && (o && (ko(c) ? s.splice(u, 0, d) : s.push(n - 1)), ko(c) ? c.length -= 1 : c = t.slice(0, -1)), ko(c) ? c : t;
712
712
  }
713
- const Ee = h.Cartesian3, Kr = h.Cartographic, tn = h.defined, zw = h.DeveloperError, Lw = h.Ellipsoid, Jx = h.EllipsoidGeodesic, Bw = h.EllipsoidRhumbLine, jx = h.IntersectionTests, mp = h.Math, Jn = h.Matrix4, Vo = h.Plane, vt = {};
713
+ const Ee = h.Cartesian3, Kr = h.Cartographic, tn = h.defined, zw = h.DeveloperError, Lw = h.Ellipsoid, Jx = h.EllipsoidGeodesic, Bw = h.EllipsoidRhumbLine, jx = h.IntersectionTests, mp = h.Math, Jn = h.Matrix4, No = h.Plane, vt = {};
714
714
  vt.numberOfPoints = function(t, i, e) {
715
715
  const s = Ee.distance(t, i);
716
716
  return Math.ceil(s / e);
@@ -731,7 +731,7 @@ vt.extractHeights = function(t, i) {
731
731
  }
732
732
  return s;
733
733
  };
734
- const tb = new Jn(), ib = new Ee(), Ng = new Ee(), sb = new Vo(Ee.UNIT_X, 0), Gg = new Ee(), ob = new Vo(Ee.UNIT_X, 0), nb = new Ee(), rb = new Ee(), xf = [];
734
+ const tb = new Jn(), ib = new Ee(), Ng = new Ee(), sb = new No(Ee.UNIT_X, 0), Gg = new Ee(), ob = new No(Ee.UNIT_X, 0), nb = new Ee(), rb = new Ee(), xf = [];
735
735
  function Ow(t, i, e) {
736
736
  const s = xf;
737
737
  s.length = t;
@@ -748,7 +748,7 @@ function Ow(t, i, e) {
748
748
  }
749
749
  return s;
750
750
  }
751
- const Yd = new Kr(), ad = new Kr(), mo = new Ee(), bf = new Ee(), ab = new Ee(), wu = new Jx();
751
+ const Yd = new Kr(), ad = new Kr(), vo = new Ee(), bf = new Ee(), ab = new Ee(), wu = new Jx();
752
752
  let ca = new Bw();
753
753
  function lb(t, i, e, s, o, n, r, a) {
754
754
  const l = s.scaleToGeodeticSurface(t, bf), c = s.scaleToGeodeticSurface(i, ab), d = vt.numberOfPoints(t, i, e), u = s.cartesianToCartographic(l, Yd), p = s.cartesianToCartographic(c, ad), f = Ow(d, o, n);
@@ -756,14 +756,14 @@ function lb(t, i, e, s, o, n, r, a) {
756
756
  const m = wu.surfaceDistance / d;
757
757
  let v = a;
758
758
  u.height = o;
759
- let y = s.cartographicToCartesian(u, mo);
759
+ let y = s.cartographicToCartesian(u, vo);
760
760
  Ee.pack(y, r, v), v += 3;
761
761
  for (let _ = 1; _ < d; _++) {
762
762
  const w = wu.interpolateUsingSurfaceDistance(
763
763
  _ * m,
764
764
  ad
765
765
  );
766
- w.height = f[_], y = s.cartographicToCartesian(w, mo), Ee.pack(y, r, v), v += 3;
766
+ w.height = f[_], y = s.cartographicToCartesian(w, vo), Ee.pack(y, r, v), v += 3;
767
767
  }
768
768
  return v;
769
769
  }
@@ -779,14 +779,14 @@ function hb(t, i, e, s, o, n, r, a) {
779
779
  const p = ca.surfaceDistance / d;
780
780
  let f = a;
781
781
  l.height = o;
782
- let m = s.cartographicToCartesian(l, mo);
782
+ let m = s.cartographicToCartesian(l, vo);
783
783
  Ee.pack(m, r, f), f += 3;
784
784
  for (let v = 1; v < d; v++) {
785
785
  const y = ca.interpolateUsingSurfaceDistance(
786
786
  v * p,
787
787
  ad
788
788
  );
789
- y.height = u[v], m = s.cartographicToCartesian(y, mo), Ee.pack(m, r, f), f += 3;
789
+ y.height = u[v], m = s.cartographicToCartesian(y, vo), Ee.pack(m, r, f), f += 3;
790
790
  }
791
791
  return f;
792
792
  }
@@ -808,7 +808,7 @@ vt.wrapLongitude = function(t, i) {
808
808
  Ng
809
809
  ),
810
810
  Ng
811
- ), a = Vo.fromPointNormal(
811
+ ), a = No.fromPointNormal(
812
812
  n,
813
813
  r,
814
814
  sb
@@ -819,7 +819,7 @@ vt.wrapLongitude = function(t, i) {
819
819
  Gg
820
820
  ),
821
821
  Gg
822
- ), c = Vo.fromPointNormal(
822
+ ), c = No.fromPointNormal(
823
823
  n,
824
824
  l,
825
825
  ob
@@ -830,7 +830,7 @@ vt.wrapLongitude = function(t, i) {
830
830
  const p = t.length;
831
831
  for (let f = 1; f < p; ++f) {
832
832
  const m = t[f];
833
- if (Vo.getPointDistance(c, u) < 0 || Vo.getPointDistance(c, m) < 0) {
833
+ if (No.getPointDistance(c, u) < 0 || No.getPointDistance(c, m) < 0) {
834
834
  const v = jx.lineSegmentPlane(
835
835
  u,
836
836
  m,
@@ -843,7 +843,7 @@ vt.wrapLongitude = function(t, i) {
843
843
  5e-9,
844
844
  rb
845
845
  );
846
- Vo.getPointDistance(a, u) < 0 && Ee.negate(y, y), e.push(
846
+ No.getPointDistance(a, u) < 0 && Ee.negate(y, y), e.push(
847
847
  Ee.add(v, y, new Ee())
848
848
  ), s.push(d + 1), Ee.negate(y, y), e.push(
849
849
  Ee.add(v, y, new Ee())
@@ -872,7 +872,7 @@ vt.generateArc = function(t) {
872
872
  if (e === 1) {
873
873
  const v = s.scaleToGeodeticSurface(i[0], bf);
874
874
  if (o = n ? o[0] : o, o !== 0) {
875
- const y = s.geodeticSurfaceNormal(v, mo);
875
+ const y = s.geodeticSurfaceNormal(v, vo);
876
876
  Ee.multiplyByScalar(y, o, y), Ee.add(v, y, v);
877
877
  }
878
878
  return [v.x, v.y, v.z];
@@ -907,7 +907,7 @@ vt.generateArc = function(t) {
907
907
  xf.length = 0;
908
908
  const p = i[e - 1], f = s.cartesianToCartographic(p, Yd);
909
909
  f.height = n ? o[e - 1] : o;
910
- const m = s.cartographicToCartesian(f, mo);
910
+ const m = s.cartographicToCartesian(f, vo);
911
911
  return Ee.pack(m, d, c - 3), d;
912
912
  };
913
913
  const Ug = new Kr(), cb = new Kr();
@@ -924,7 +924,7 @@ vt.generateRhumbArc = function(t) {
924
924
  if (e === 1) {
925
925
  const _ = s.scaleToGeodeticSurface(i[0], bf);
926
926
  if (o = n ? o[0] : o, o !== 0) {
927
- const w = s.geodeticSurfaceNormal(_, mo);
927
+ const w = s.geodeticSurfaceNormal(_, vo);
928
928
  Ee.multiplyByScalar(w, o, w), Ee.add(_, w, _);
929
929
  }
930
930
  return [_.x, _.y, _.z];
@@ -957,7 +957,7 @@ vt.generateRhumbArc = function(t) {
957
957
  xf.length = 0;
958
958
  const m = i[e - 1], v = s.cartesianToCartographic(m, Yd);
959
959
  v.height = n ? o[e - 1] : o;
960
- const y = s.cartographicToCartesian(v, mo);
960
+ const y = s.cartographicToCartesian(v, vo);
961
961
  return Ee.pack(y, p, u - 3), p;
962
962
  };
963
963
  vt.generateCartesianArc = function(t) {
@@ -1063,7 +1063,7 @@ function yb(t, i, e) {
1063
1063
  return e = e || [0, 0, 0], e[0] = c, e[1] = d, e[2] = u, e;
1064
1064
  }
1065
1065
  const wb = new h.Matrix4(), Cb = new h.Cartesian3(), _b = new h.Cartographic();
1066
- function Bo(t, i, e) {
1066
+ function Oo(t, i, e) {
1067
1067
  const [s, o, n] = i, r = h.Cartesian3.fromElements(s, o, n, Cb), a = h.Matrix4.fromArray(t, 0, wb), l = h.Matrix4.multiplyByPoint(a, r, r), c = h.Cartographic.fromCartesian(l, void 0, _b);
1068
1068
  return e = e || [0, 0, 0], e[0] = h.Math.toDegrees(c.longitude), e[1] = h.Math.toDegrees(c.latitude), e[2] = c.height, e;
1069
1069
  }
@@ -1073,7 +1073,7 @@ function gi(t, i) {
1073
1073
  }
1074
1074
  function sn(t, i) {
1075
1075
  const { originPosition: e, originRotation: s, originScale: o, initialRotationMode: n } = t, r = Gw({ position: e, rotation: s, scale: o, initialRotationMode: n });
1076
- return [i.map((l) => Bo(r, l)), r];
1076
+ return [i.map((l) => Oo(r, l)), r];
1077
1077
  }
1078
1078
  function Pb(t) {
1079
1079
  if (t.length < 2)
@@ -1113,7 +1113,7 @@ class Ww extends k {
1113
1113
  };
1114
1114
  f(), this.dispose(l.disposableOn(f)), this.dispose(n.preUpdate.addEventListener(() => {
1115
1115
  if (h.Cartesian3.ZERO.equals(p)) return;
1116
- const m = bo(n, p, o);
1116
+ const m = So(n, p, o);
1117
1117
  m !== void 0 ? d([m, m, m]) : console.warn(`CzmGeoCoordinatesEditor warn: scale: ${m ?? "undefined"}`);
1118
1118
  }));
1119
1119
  }
@@ -1156,7 +1156,7 @@ function xb(t) {
1156
1156
  if (!e || !s || !o || !n)
1157
1157
  return "无法生成包围盒,请检查包围盒是否正确";
1158
1158
  let r, a, l, c, d, u;
1159
- return h.Matrix4.IDENTITY.equals(h.Matrix4.fromArray(i)) ? (r = me(e), c = me(h.Cartesian3.add(n, h.Cartesian3.subtract(n, e, new h.Cartesian3()), new h.Cartesian3())), a = me(s), d = me(h.Cartesian3.add(n, h.Cartesian3.subtract(n, s, new h.Cartesian3()), new h.Cartesian3())), l = me(o), u = me(h.Cartesian3.add(n, h.Cartesian3.subtract(n, o, new h.Cartesian3()), new h.Cartesian3()))) : (r = Bo(i, [e.x, e.y, e.z]), c = Bo(i, [-e.x, -e.y, -e.z]), a = Bo(i, [s.x, s.y, s.z]), d = Bo(i, [-s.x, -s.y, -s.z]), l = Bo(i, [o.x, o.y, o.z]), u = Bo(i, [-o.x, -o.y, -o.z])), !r || !c || !a || !d || !l || !u ? "无法生成包围盒,请检查包围盒是否正确" : [
1159
+ return h.Matrix4.IDENTITY.equals(h.Matrix4.fromArray(i)) ? (r = me(e), c = me(h.Cartesian3.add(n, h.Cartesian3.subtract(n, e, new h.Cartesian3()), new h.Cartesian3())), a = me(s), d = me(h.Cartesian3.add(n, h.Cartesian3.subtract(n, s, new h.Cartesian3()), new h.Cartesian3())), l = me(o), u = me(h.Cartesian3.add(n, h.Cartesian3.subtract(n, o, new h.Cartesian3()), new h.Cartesian3()))) : (r = Oo(i, [e.x, e.y, e.z]), c = Oo(i, [-e.x, -e.y, -e.z]), a = Oo(i, [s.x, s.y, s.z]), d = Oo(i, [-s.x, -s.y, -s.z]), l = Oo(i, [o.x, o.y, o.z]), u = Oo(i, [-o.x, -o.y, -o.z])), !r || !c || !a || !d || !l || !u ? "无法生成包围盒,请检查包围盒是否正确" : [
1160
1160
  h.Math.toRadians(Math.min(r[0], c[0], a[0], d[0], l[0], u[0])),
1161
1161
  h.Math.toRadians(Math.min(r[1], c[1], a[1], d[1], l[1], u[1])),
1162
1162
  h.Math.toRadians(Math.max(r[0], c[0], a[0], d[0], l[0], u[0])),
@@ -1527,7 +1527,7 @@ class Sf extends k {
1527
1527
  }));
1528
1528
  }
1529
1529
  }
1530
- const Hg = new h.BoundingRectangle(0, 0, 1, 1), Rb = new h.Color(0, 0, 0, 0), ko = new h.Cartesian3(), Db = new h.Cartesian2(), kb = new h.Cesium3DTilePassState({ pass: h.Cesium3DTilePass.PICK }), $g = new h.Cartesian4(1, 1 / 255, 1 / 65025, 1 / 16581375);
1530
+ const Hg = new h.BoundingRectangle(0, 0, 1, 1), Rb = new h.Color(0, 0, 0, 0), Fo = new h.Cartesian3(), Db = new h.Cartesian2(), kb = new h.Cesium3DTilePassState({ pass: h.Cesium3DTilePass.PICK }), $g = new h.Cartesian4(1, 1 / 255, 1 / 65025, 1 / 16581375);
1531
1531
  class Fb extends k {
1532
1532
  constructor(e) {
1533
1533
  super();
@@ -1608,7 +1608,7 @@ class Fb extends k {
1608
1608
  return h.Cartesian4.unpackArray(l).map((d) => (h.Cartesian4.divideByScalar(d, 255, d), h.Cartesian4.dot(d, $g)));
1609
1609
  }
1610
1610
  updateOffscreenCameraFromRay(e, s, o, n, r) {
1611
- const a = e.direction, l = h.Cartesian3.cross(a, s, ko);
1611
+ const a = e.direction, l = h.Cartesian3.cross(a, s, Fo);
1612
1612
  return o.position = e.origin, o.direction = a, o.up = s, o.right = l, o.frustum.width = n, o.frustum.aspectRatio = n / r, o.frustum.computeCullingVolume(
1613
1613
  o.positionWC,
1614
1614
  o.directionWC,
@@ -1671,11 +1671,11 @@ class Fb extends k {
1671
1671
  r,
1672
1672
  f,
1673
1673
  e[p],
1674
- ko
1674
+ Fo
1675
1675
  );
1676
1676
  if (h.Cartesian3.distance(r.camera.position, m) > n) {
1677
- const y = h.Cartesian3.normalize(h.Cartesian3.subtract(m, r.camera.position, ko), ko);
1678
- h.Cartesian3.multiplyByScalar(y, n, ko), m = h.Cartesian3.add(r.camera.position, ko, ko);
1677
+ const y = h.Cartesian3.normalize(h.Cartesian3.subtract(m, r.camera.position, Fo), Fo);
1678
+ h.Cartesian3.multiplyByScalar(y, n, Fo), m = h.Cartesian3.add(r.camera.position, Fo, Fo);
1679
1679
  }
1680
1680
  const v = me(m);
1681
1681
  v && c.push(v);
@@ -1734,7 +1734,7 @@ function Bb(t, i, e) {
1734
1734
  const s = t.tilingScheme, o = s.ellipsoid, n = s.projection instanceof h.GeographicProjection ? 1 : Math.cos(e), r = s.rectangle, l = o.maximumRadius * r.width * n / (t.tileWidth * s.getNumberOfXTilesAtLevel(0)) / i, c = Math.log(l) / Math.log(2);
1735
1735
  return Math.round(c) | 0;
1736
1736
  }
1737
- function Fo(t) {
1737
+ function zo(t) {
1738
1738
  return `rgba(${t[0] * 255},${t[1] * 255},${t[2] * 255},${t[3]})`;
1739
1739
  }
1740
1740
  function Xw(t) {
@@ -1782,7 +1782,7 @@ class Ob extends k {
1782
1782
  e.disposer.dispose(K1(() => {
1783
1783
  let p = Date.now() - a;
1784
1784
  p = p < 0 ? 0 : p, p = p > o ? o : p;
1785
- const f = p * d, m = Qo(r, f, l);
1785
+ const f = p * d, m = Ko(r, f, l);
1786
1786
  this._currentPosition.value = m, p === o && (this._currentPosition.value = s, u());
1787
1787
  }));
1788
1788
  }));
@@ -1901,7 +1901,7 @@ function jr(t, i) {
1901
1901
  if (t)
1902
1902
  return Object.prototype.hasOwnProperty.call(t, i) ? t[i] != null ? Object.assign({}, t[i]) : void 0 : jr(t.childPickedInfo, i);
1903
1903
  }
1904
- function Jo(t, i = !0) {
1904
+ function jo(t, i = !0) {
1905
1905
  return new Promise((s, o) => {
1906
1906
  let n = new Image();
1907
1907
  n.src = t + "?v=" + Math.random(), n.crossOrigin = "Anonymous", n.onload = function() {
@@ -2151,7 +2151,7 @@ function Qw(t, i, e) {
2151
2151
  sharpness: e
2152
2152
  });
2153
2153
  }
2154
- function Ao(t) {
2154
+ function To(t) {
2155
2155
  var e;
2156
2156
  const i = (e = jr(t, "pickResult")) == null ? void 0 : e.pointerEvent;
2157
2157
  return (i == null ? void 0 : i.buttons) != 0 ? (i == null ? void 0 : i.button) ?? 0 : -1;
@@ -3005,7 +3005,7 @@ const Cu = {
3005
3005
  let l;
3006
3006
  if (this.position && this.pixelSize) {
3007
3007
  const c = h.Cartesian3.fromDegrees(...this.position);
3008
- c && (l = bo(o.scene, c, this.pixelSize), l && (this.maximumScale !== void 0 && l > this.maximumScale && (l = this.maximumScale), this.minimumScale !== void 0 && l < this.minimumScale && (l = this.minimumScale)));
3008
+ c && (l = So(o.scene, c, this.pixelSize), l && (this.maximumScale !== void 0 && l > this.maximumScale && (l = this.maximumScale), this.minimumScale !== void 0 && l < this.minimumScale && (l = this.minimumScale)));
3009
3009
  }
3010
3010
  r.value = l;
3011
3011
  };
@@ -4134,7 +4134,7 @@ polygonHierarchy是一个内部包含三个元素的数组,表示经纬度高
4134
4134
  }), v = [], y = new h.CoplanarPolygonGeometry({
4135
4135
  // vertexFormat: Cesium.PerInstanceColorAppearance.VERTEX_FORMAT,
4136
4136
  vertexFormat: h.MaterialAppearance.MaterialSupport.ALL.vertexFormat,
4137
- polygonHierarchy: So(this.polygonHierarchy ?? hr.defaults.polygonHierarchy),
4137
+ polygonHierarchy: Ao(this.polygonHierarchy ?? hr.defaults.polygonHierarchy),
4138
4138
  stRotation: this.stRotation && h.Math.toRadians(this.stRotation)
4139
4139
  });
4140
4140
  v.push(new h.GeometryInstance({
@@ -4301,7 +4301,7 @@ let PS = class extends k {
4301
4301
  }), d = [], u = new h.GeometryInstance({
4302
4302
  geometry: new h.PolygonGeometry({
4303
4303
  vertexFormat: h.MaterialAppearance.MaterialSupport.ALL.vertexFormat,
4304
- polygonHierarchy: So(r.polygonHierarchy, !0),
4304
+ polygonHierarchy: Ao(r.polygonHierarchy, !0),
4305
4305
  stRotation: r.stRotation && h.Math.toRadians(r.stRotation),
4306
4306
  arcType: r.arcType && h.ArcType[r.arcType],
4307
4307
  height: r.height,
@@ -4821,7 +4821,7 @@ const it = class it extends k {
4821
4821
  let u;
4822
4822
  if (this.position && this.pixelSize) {
4823
4823
  const p = h.Cartesian3.fromDegrees(...this.position);
4824
- p && (u = bo(o.scene, p, this.pixelSize), u && (this.maximumScale !== void 0 && u > this.maximumScale && (u = this.maximumScale), this.minimumScale !== void 0 && u < this.minimumScale && (u = this.minimumScale)));
4824
+ p && (u = So(o.scene, p, this.pixelSize), u && (this.maximumScale !== void 0 && u > this.maximumScale && (u = this.maximumScale), this.minimumScale !== void 0 && u < this.minimumScale && (u = this.minimumScale)));
4825
4825
  }
4826
4826
  l.value = u;
4827
4827
  };
@@ -5642,7 +5642,7 @@ class $S extends k {
5642
5642
  // return this._moveEvent;
5643
5643
  // }
5644
5644
  }
5645
- class vo extends k {
5645
+ class yo extends k {
5646
5646
  constructor(e, s) {
5647
5647
  super();
5648
5648
  g(this, "_pickedEvent", this.disposeVar(new q()));
@@ -5729,7 +5729,7 @@ class vo extends k {
5729
5729
  return this._id.changed;
5730
5730
  }
5731
5731
  }
5732
- g(vo, "defaults", {
5732
+ g(yo, "defaults", {
5733
5733
  viewDistanceRange: [1e3, 1e4, 3e4, 6e4]
5734
5734
  });
5735
5735
  ((t) => {
@@ -5744,8 +5744,8 @@ g(vo, "defaults", {
5744
5744
  viewDistanceDebug: !1,
5745
5745
  zOrder: 0
5746
5746
  });
5747
- })(vo || (vo = {}));
5748
- ae(vo.prototype, vo.createDefaultProps);
5747
+ })(yo || (yo = {}));
5748
+ ae(yo.prototype, yo.createDefaultProps);
5749
5749
  class qS extends k {
5750
5750
  constructor(e, s, o, n, r) {
5751
5751
  super();
@@ -5995,7 +5995,7 @@ class ks extends k {
5995
5995
  this.dispose(this.clickEvent.disposableOn((e) => this.clickFunc && this.clickFunc(e)));
5996
5996
  })());
5997
5997
  g(this, "_geoCanvasPoi");
5998
- if (this._geoCanvasPoi = this.disposeVar(new vo(e)), !e.viewer) return;
5998
+ if (this._geoCanvasPoi = this.disposeVar(new yo(e)), !e.viewer) return;
5999
5999
  const { geoCanvasPoi: o } = this;
6000
6000
  o.canvasPoiClassAndCreateFunc = [ZS, (n) => new XS(this, n)], this.dispose(I([o, "show"], [this, "show"])), this.dispose(I([o, "enabled"], [this, "enabled"])), this.dispose(I([o, "position"], [this, "position"])), this.dispose(I([o, "positionEditing"], [this, "positionEditing"])), this.dispose(P([o, "viewDistanceRange"], [this, "viewDistanceRange"])), this.dispose(P([o, "viewDistanceDebug"], [this, "viewDistanceDebug"])), this.dispose(P([o, "zOrder"], [this, "zOrder"])), this.dispose(this.flyToEvent.disposableOn((n) => {
6001
6001
  o.flyTo(n);
@@ -6946,7 +6946,7 @@ class ln extends k {
6946
6946
  g(this, "_clickEvent", this.disposeVar(new q()));
6947
6947
  g(this, "_dbclickEvent", this.disposeVar(new q()));
6948
6948
  g(this, "_geoCanvasPoi");
6949
- this._geoCanvasPoi = this.disposeVar(new vo(e, s));
6949
+ this._geoCanvasPoi = this.disposeVar(new yo(e, s));
6950
6950
  const { geoCanvasPoi: o } = this;
6951
6951
  o.canvasPoiClassAndCreateFunc = [eA, (n, r) => new JS(this, n, r)], this.dispose(P([o, "show"], [this, "show"])), this.dispose(P([o, "enabled"], [this, "enabled"])), this.dispose(I([o, "position"], [this, "position"])), this.dispose(I([o, "positionEditing"], [this, "positionEditing"])), this.dispose(P([o, "viewDistanceRange"], [this, "viewDistanceRange"])), this.dispose(P([o, "viewDistanceDebug"], [this, "viewDistanceDebug"])), this.dispose(this.flyToEvent.disposableOn((n) => {
6952
6952
  o.flyTo(n);
@@ -7840,7 +7840,7 @@ function nC(t, i) {
7840
7840
  }
7841
7841
  return document.body.removeChild(s), e;
7842
7842
  }
7843
- class Oo extends k {
7843
+ class Vo extends k {
7844
7844
  constructor(e, s, o, n, r = !0) {
7845
7845
  super();
7846
7846
  // 自定义div内容
@@ -8558,7 +8558,7 @@ g(Ra, "defaults", {
8558
8558
  viewDistanceRange: [1e3, 1e4, 3e4, 6e4],
8559
8559
  useAxis: "XY"
8560
8560
  });
8561
- let yo = Ra;
8561
+ let wo = Ra;
8562
8562
  ((t) => {
8563
8563
  t.createDefaultProps = () => ({
8564
8564
  show: !0,
@@ -8586,8 +8586,8 @@ let yo = Ra;
8586
8586
  viewDistanceRange: K(void 0),
8587
8587
  viewDistanceDebug: !1
8588
8588
  });
8589
- })(yo || (yo = {}));
8590
- ae(yo.prototype, yo.createDefaultProps);
8589
+ })(wo || (wo = {}));
8590
+ ae(wo.prototype, wo.createDefaultProps);
8591
8591
  class lA extends k {
8592
8592
  constructor(i, e) {
8593
8593
  super(), this._czmViewer = i, this._czmImageModel = e;
@@ -8708,7 +8708,7 @@ class hA extends k {
8708
8708
  }), p = [], f = new h.GeometryInstance({
8709
8709
  geometry: new h.PolygonGeometry({
8710
8710
  vertexFormat: h.MaterialAppearance.MaterialSupport.ALL.vertexFormat,
8711
- polygonHierarchy: So(r.polygonHierarchy),
8711
+ polygonHierarchy: Ao(r.polygonHierarchy),
8712
8712
  stRotation: r.stRotation && h.Math.toRadians(r.stRotation),
8713
8713
  arcType: r.arcType && h.ArcType[r.arcType],
8714
8714
  height: r.height,
@@ -8872,7 +8872,7 @@ class hn extends k {
8872
8872
  }), v = [], y = new h.GeometryInstance({
8873
8873
  geometry: new h.PolygonGeometry({
8874
8874
  vertexFormat: h.MaterialAppearance.MaterialSupport.ALL.vertexFormat,
8875
- polygonHierarchy: So(this.polygonHierarchy),
8875
+ polygonHierarchy: Ao(this.polygonHierarchy),
8876
8876
  stRotation: this.stRotation && h.Math.toRadians(this.stRotation),
8877
8877
  arcType: this.arcType && h.ArcType[this.arcType],
8878
8878
  height: this.height,
@@ -9754,7 +9754,7 @@ let un = ka;
9754
9754
  });
9755
9755
  })(un || (un = {}));
9756
9756
  ae(un.prototype, un.createDefaultProps);
9757
- const Go = class Go extends k {
9757
+ const Uo = class Uo extends k {
9758
9758
  constructor(e, s) {
9759
9759
  super();
9760
9760
  g(this, "_flyToEvent", this.disposeVar(new q()));
@@ -9767,13 +9767,13 @@ const Go = class Go extends k {
9767
9767
  this.dispose(() => {
9768
9768
  this._primitive && o.scene.primitives.remove(this._primitive), this._primitive = void 0;
9769
9769
  });
9770
- const n = this.disposeVar(vs([this, "material"], Go.defaults.material)), r = (u, p) => {
9770
+ const n = this.disposeVar(vs([this, "material"], Uo.defaults.material)), r = (u, p) => {
9771
9771
  if (!u || !this.radius)
9772
9772
  return;
9773
9773
  const f = new h.MaterialAppearance({
9774
9774
  material: p
9775
9775
  }), m = [], v = () => {
9776
- let w = this.granularity ?? Go.defaults.granularity;
9776
+ let w = this.granularity ?? Uo.defaults.granularity;
9777
9777
  return this.granularity === 0 && console.error("granularity不能设置为0"), w = w | 0, w = Math.max(1, w), h.Math.toRadians(w);
9778
9778
  }, y = new h.GeometryInstance({
9779
9779
  geometry: new h.CircleGeometry({
@@ -9792,7 +9792,7 @@ const Go = class Go extends k {
9792
9792
  appearance: f,
9793
9793
  asynchronous: !1,
9794
9794
  // 防止闪烁
9795
- allowPicking: this.allowPicking ?? Go.defaults.allowPicking,
9795
+ allowPicking: this.allowPicking ?? Uo.defaults.allowPicking,
9796
9796
  // 不允许拾取
9797
9797
  compressVertices: !1
9798
9798
  // 提升效率
@@ -9804,7 +9804,7 @@ const Go = class Go extends k {
9804
9804
  const u = Ve(this.position);
9805
9805
  this._primitive = r(u, n.value), this._primitive && o.scene.primitives.add(this._primitive);
9806
9806
  }, l = () => {
9807
- const u = this.show ?? Go.defaults.show;
9807
+ const u = this.show ?? Uo.defaults.show;
9808
9808
  this._primitive && (this._primitive.show = u);
9809
9809
  };
9810
9810
  a(), l();
@@ -9846,7 +9846,7 @@ const Go = class Go extends k {
9846
9846
  this._flyToEvent.emit(e);
9847
9847
  }
9848
9848
  };
9849
- g(Go, "defaults", {
9849
+ g(Uo, "defaults", {
9850
9850
  show: !0,
9851
9851
  allowPicking: !1,
9852
9852
  material: {
@@ -9858,7 +9858,7 @@ g(Go, "defaults", {
9858
9858
  ellipsoid: [6378137, 6378137, 6356752314245179e-9],
9859
9859
  granularity: 1
9860
9860
  });
9861
- let pn = Go;
9861
+ let pn = Uo;
9862
9862
  ((t) => {
9863
9863
  t.createDefaultProps = () => ({
9864
9864
  show: void 0,
@@ -10110,7 +10110,7 @@ class cd extends k {
10110
10110
  }, c = () => {
10111
10111
  if (!this.points) return;
10112
10112
  const b = { positions: this.points }, A = new h.PolygonGeometry({
10113
- polygonHierarchy: So(b),
10113
+ polygonHierarchy: Ao(b),
10114
10114
  vertexFormat: h.MaterialAppearance.MaterialSupport.ALL.vertexFormat,
10115
10115
  height: this.height
10116
10116
  });
@@ -10273,7 +10273,7 @@ class Dr extends k {
10273
10273
  }, p = () => {
10274
10274
  if (!this.points || this.points.length < 3) return;
10275
10275
  const { minPos: b } = yt(this.points), [A] = gi({ originPosition: b }, this.points), { minPos: T, maxPos: D } = yt(A), O = D[0] - T[0], N = D[1] - T[1], U = { positions: this.points }, W = new h.PolygonGeometry({
10276
- polygonHierarchy: So(U),
10276
+ polygonHierarchy: Ao(U),
10277
10277
  vertexFormat: h.VertexFormat.DEFAULT,
10278
10278
  stRotation: this.stRotation && h.Math.toRadians(this.stRotation),
10279
10279
  perPositionHeight: !0,
@@ -10516,15 +10516,15 @@ class vA extends k {
10516
10516
  }
10517
10517
  }
10518
10518
  }
10519
- const Uo = class Uo extends k {
10519
+ const Wo = class Wo extends k {
10520
10520
  constructor(i) {
10521
10521
  super(), this.disposeVar(new he(this.enabledChanged, () => {
10522
- if (this.enabled ?? Uo.defaults.enabled)
10522
+ if (this.enabled ?? Wo.defaults.enabled)
10523
10523
  return new vA(this, i);
10524
10524
  }));
10525
10525
  }
10526
10526
  };
10527
- g(Uo, "czmJulianDateToTimeStamp", yA), g(Uo, "getClockRange", wA), g(Uo, "getClockStep", CA), g(Uo, "defaults", {
10527
+ g(Wo, "czmJulianDateToTimeStamp", yA), g(Wo, "getClockRange", wA), g(Wo, "getClockStep", CA), g(Wo, "defaults", {
10528
10528
  enabled: !1,
10529
10529
  startTime: () => Date.now(),
10530
10530
  stopTime: () => Date.now() + 24 * 60 * 60 * 1e3,
@@ -10534,7 +10534,7 @@ g(Uo, "czmJulianDateToTimeStamp", yA), g(Uo, "getClockRange", wA), g(Uo, "getClo
10534
10534
  clockRange: "UNBOUNDED",
10535
10535
  shouldAnimate: !1
10536
10536
  });
10537
- let Pe = Uo;
10537
+ let Pe = Wo;
10538
10538
  ((t) => {
10539
10539
  t.createDefaultProps = () => ({
10540
10540
  enabled: void 0,
@@ -13144,7 +13144,7 @@ function hm(t, i) {
13144
13144
  i
13145
13145
  );
13146
13146
  }
13147
- function To(t, i, e) {
13147
+ function Eo(t, i, e) {
13148
13148
  const s = i / et.SECONDS_PER_DAY | 0;
13149
13149
  return t += s, i -= et.SECONDS_PER_DAY * s, i < 0 && (t--, i += et.SECONDS_PER_DAY), e.dayNumber = t, e.secondsOfDay = i, e;
13150
13150
  }
@@ -13159,7 +13159,7 @@ const rT = /^(\d{4})$/, aT = /^(\d{4})-(\d{2})$/, lT = /^(\d{4})-?(\d{3})$/, hT
13159
13159
  function ie(t, i, e) {
13160
13160
  this.dayNumber = void 0, this.secondsOfDay = void 0, t = t ?? 0, i = i ?? 0, e = e ?? Ae.UTC;
13161
13161
  const s = t | 0;
13162
- i = i + (t - s) * et.SECONDS_PER_DAY, To(s, i, this), e === Ae.UTC && Qd(this);
13162
+ i = i + (t - s) * et.SECONDS_PER_DAY, Eo(s, i, this), e === Ae.UTC && Qd(this);
13163
13163
  }
13164
13164
  ie.fromGregorianDate = function(t, i) {
13165
13165
  if (!(t instanceof kf))
@@ -13173,7 +13173,7 @@ ie.fromGregorianDate = function(t, i) {
13173
13173
  t.second,
13174
13174
  t.millisecond
13175
13175
  );
13176
- return E(i) ? (To(e[0], e[1], i), Qd(i), i) : new ie(e[0], e[1], Ae.UTC);
13176
+ return E(i) ? (Eo(e[0], e[1], i), Qd(i), i) : new ie(e[0], e[1], Ae.UTC);
13177
13177
  };
13178
13178
  ie.fromDate = function(t, i) {
13179
13179
  if (!(t instanceof Date) || isNaN(t.getTime()))
@@ -13187,7 +13187,7 @@ ie.fromDate = function(t, i) {
13187
13187
  t.getUTCSeconds(),
13188
13188
  t.getUTCMilliseconds()
13189
13189
  );
13190
- return E(i) ? (To(e[0], e[1], i), Qd(i), i) : new ie(e[0], e[1], Ae.UTC);
13190
+ return E(i) ? (Eo(e[0], e[1], i), Qd(i), i) : new ie(e[0], e[1], Ae.UTC);
13191
13191
  };
13192
13192
  ie.fromIso8601 = function(t, i) {
13193
13193
  if (typeof t != "string")
@@ -13280,7 +13280,7 @@ ie.fromIso8601 = function(t, i) {
13280
13280
  l,
13281
13281
  c
13282
13282
  );
13283
- return E(i) ? (To(_[0], _[1], i), Qd(i)) : i = new ie(_[0], _[1], Ae.UTC), y && ie.addSeconds(i, 1, i), i;
13283
+ return E(i) ? (Eo(_[0], _[1], i), Qd(i)) : i = new ie(_[0], _[1], Ae.UTC), y && ie.addSeconds(i, 1, i), i;
13284
13284
  };
13285
13285
  ie.now = function(t) {
13286
13286
  return ie.fromDate(/* @__PURE__ */ new Date(), t);
@@ -13408,7 +13408,7 @@ ie.addSeconds = function(t, i, e) {
13408
13408
  throw new H("seconds is required.");
13409
13409
  if (!E(e))
13410
13410
  throw new H("result is required.");
13411
- return To(
13411
+ return Eo(
13412
13412
  t.dayNumber,
13413
13413
  t.secondsOfDay + i,
13414
13414
  e
@@ -13422,7 +13422,7 @@ ie.addMinutes = function(t, i, e) {
13422
13422
  if (!E(e))
13423
13423
  throw new H("result is required.");
13424
13424
  const s = t.secondsOfDay + i * et.SECONDS_PER_MINUTE;
13425
- return To(t.dayNumber, s, e);
13425
+ return Eo(t.dayNumber, s, e);
13426
13426
  };
13427
13427
  ie.addHours = function(t, i, e) {
13428
13428
  if (!E(t))
@@ -13432,7 +13432,7 @@ ie.addHours = function(t, i, e) {
13432
13432
  if (!E(e))
13433
13433
  throw new H("result is required.");
13434
13434
  const s = t.secondsOfDay + i * et.SECONDS_PER_HOUR;
13435
- return To(t.dayNumber, s, e);
13435
+ return Eo(t.dayNumber, s, e);
13436
13436
  };
13437
13437
  ie.addDays = function(t, i, e) {
13438
13438
  if (!E(t))
@@ -13442,7 +13442,7 @@ ie.addDays = function(t, i, e) {
13442
13442
  if (!E(e))
13443
13443
  throw new H("result is required.");
13444
13444
  const s = t.dayNumber + i;
13445
- return To(s, t.secondsOfDay, e);
13445
+ return Eo(s, t.secondsOfDay, e);
13446
13446
  };
13447
13447
  ie.lessThan = function(t, i) {
13448
13448
  return ie.compare(t, i) < 0;
@@ -13578,18 +13578,18 @@ function fT() {
13578
13578
  return T(ye + (A + 1) * Y / (Y + u));
13579
13579
  }
13580
13580
  function B(Y) {
13581
- var te = [], le = Y.length, ye, we = 0, Ce = m, Te = f, Ke, nt, We, be, Ye, dt, Ht, ii, Io;
13581
+ var te = [], le = Y.length, ye, we = 0, Ce = m, Te = f, Ke, nt, We, be, Ye, dt, Ht, ii, Mo;
13582
13582
  for (Ke = Y.lastIndexOf(v), Ke < 0 && (Ke = 0), nt = 0; nt < Ke; ++nt)
13583
13583
  Y.charCodeAt(nt) >= 128 && N("not-basic"), te.push(Y.charCodeAt(nt));
13584
13584
  for (We = Ke > 0 ? Ke + 1 : 0; We < le; ) {
13585
13585
  for (be = we, Ye = 1, dt = l; We >= le && N("invalid-input"), Ht = C(Y.charCodeAt(We++)), (Ht >= l || Ht > T((a - we) / Ye)) && N("overflow"), we += Ht * Ye, ii = dt <= Te ? c : dt >= Te + d ? d : dt - Te, !(Ht < ii); dt += l)
13586
- Io = l - ii, Ye > T(a / Io) && N("overflow"), Ye *= Io;
13586
+ Mo = l - ii, Ye > T(a / Mo) && N("overflow"), Ye *= Mo;
13587
13587
  ye = te.length + 1, Te = M(we - be, ye, be == 0), T(we / ye) > a - Ce && N("overflow"), Ce += T(we / ye), we %= ye, te.splice(we++, 0, Ce);
13588
13588
  }
13589
13589
  return V(te);
13590
13590
  }
13591
13591
  function $(Y) {
13592
- var te, le, ye, we, Ce, Te, Ke, nt, We, be, Ye, dt = [], Ht, ii, Io, ru;
13592
+ var te, le, ye, we, Ce, Te, Ke, nt, We, be, Ye, dt = [], Ht, ii, Mo, ru;
13593
13593
  for (Y = L(Y), Ht = Y.length, te = m, le = 0, Ce = f, Te = 0; Te < Ht; ++Te)
13594
13594
  Ye = Y[Te], Ye < 128 && dt.push(D(Ye));
13595
13595
  for (ye = we = dt.length, we && dt.push(v); ye < Ht; ) {
@@ -13598,9 +13598,9 @@ function fT() {
13598
13598
  for (ii = ye + 1, Ke - te > T((a - le) / ii) && N("overflow"), le += (Ke - te) * ii, te = Ke, Te = 0; Te < Ht; ++Te)
13599
13599
  if (Ye = Y[Te], Ye < te && ++le > a && N("overflow"), Ye == te) {
13600
13600
  for (nt = le, We = l; be = We <= Ce ? c : We >= Ce + d ? d : We - Ce, !(nt < be); We += l)
13601
- ru = nt - be, Io = l - be, dt.push(
13602
- D(S(be + ru % Io, 0))
13603
- ), nt = T(ru / Io);
13601
+ ru = nt - be, Mo = l - be, dt.push(
13602
+ D(S(be + ru % Mo, 0))
13603
+ ), nt = T(ru / Mo);
13604
13604
  dt.push(D(S(nt, 0))), Ce = M(le, ii, ye == we), le = 0, ++ye;
13605
13605
  }
13606
13606
  ++le, ++te;
@@ -14847,13 +14847,13 @@ function Cr(t, i) {
14847
14847
  }
14848
14848
  return e;
14849
14849
  }
14850
- function fo(t, i, e) {
14850
+ function go(t, i, e) {
14851
14851
  e = e ?? !1;
14852
14852
  const s = {}, o = E(t), n = E(i);
14853
14853
  let r, a, l;
14854
14854
  if (o)
14855
14855
  for (r in t)
14856
- t.hasOwnProperty(r) && (a = t[r], n && e && typeof a == "object" && i.hasOwnProperty(r) ? (l = i[r], typeof l == "object" ? s[r] = fo(a, l, e) : s[r] = a) : s[r] = a);
14856
+ t.hasOwnProperty(r) && (a = t[r], n && e && typeof a == "object" && i.hasOwnProperty(r) ? (l = i[r], typeof l == "object" ? s[r] = go(a, l, e) : s[r] = a) : s[r] = a);
14857
14857
  if (n)
14858
14858
  for (r in i)
14859
14859
  i.hasOwnProperty(r) && !s.hasOwnProperty(r) && (l = i[r], s[r] = l);
@@ -15673,7 +15673,7 @@ function LT(t) {
15673
15673
  }
15674
15674
  function gd(t, i, e) {
15675
15675
  if (!e)
15676
- return fo(t, i);
15676
+ return go(t, i);
15677
15677
  const s = Cr(t, !0);
15678
15678
  for (const o in i)
15679
15679
  if (i.hasOwnProperty(o)) {
@@ -15717,7 +15717,7 @@ ne.prototype.appendQueryParameters = function(t) {
15717
15717
  );
15718
15718
  };
15719
15719
  ne.prototype.setTemplateValues = function(t, i) {
15720
- i ? this._templateValues = fo(this._templateValues, t) : this._templateValues = fo(t, this._templateValues);
15720
+ i ? this._templateValues = go(this._templateValues, t) : this._templateValues = go(t, this._templateValues);
15721
15721
  };
15722
15722
  ne.prototype.getDerivedResource = function(t) {
15723
15723
  const i = this.clone();
@@ -15725,13 +15725,13 @@ ne.prototype.getDerivedResource = function(t) {
15725
15725
  const e = t.preserveQueryParameters ?? !1;
15726
15726
  i.parseUrl(t.url, !0, e, this._url);
15727
15727
  }
15728
- return E(t.queryParameters) && (i._queryParameters = fo(
15728
+ return E(t.queryParameters) && (i._queryParameters = go(
15729
15729
  t.queryParameters,
15730
15730
  i.queryParameters
15731
- )), E(t.templateValues) && (i._templateValues = fo(
15731
+ )), E(t.templateValues) && (i._templateValues = go(
15732
15732
  t.templateValues,
15733
15733
  i.templateValues
15734
- )), E(t.headers) && (i.headers = fo(t.headers, i.headers)), E(t.proxy) && (i.proxy = t.proxy), E(t.request) && (i.request = t.request), E(t.retryCallback) && (i.retryCallback = t.retryCallback), E(t.retryAttempts) && (i.retryAttempts = t.retryAttempts), i;
15734
+ )), E(t.headers) && (i.headers = go(t.headers, i.headers)), E(t.proxy) && (i.proxy = t.proxy), E(t.request) && (i.request = t.request), E(t.retryCallback) && (i.retryCallback = t.retryCallback), E(t.retryAttempts) && (i.retryAttempts = t.retryAttempts), i;
15735
15735
  };
15736
15736
  ne.prototype.retryOnError = function(t) {
15737
15737
  const i = this.retryCallback;
@@ -15927,7 +15927,7 @@ ne.prototype._makeRequest = function(t) {
15927
15927
  Vf(i.request);
15928
15928
  const e = i.request, s = i.url;
15929
15929
  e.url = s, e.requestFunction = function() {
15930
- const n = t.responseType, r = fo(t.headers, i.headers), a = t.overrideMimeType, l = t.method, c = t.data, d = cc(), u = ne._Implementations.loadWithXhr(
15930
+ const n = t.responseType, r = go(t.headers, i.headers), a = t.overrideMimeType, l = t.method, c = t.data, d = cc(), u = ne._Implementations.loadWithXhr(
15931
15931
  s,
15932
15932
  n,
15933
15933
  l,
@@ -16449,11 +16449,11 @@ let kc;
16449
16449
  function bC(t) {
16450
16450
  return typeof document > "u" ? t : (E(kc) || (kc = document.createElement("a")), kc.href = t, kc.href);
16451
16451
  }
16452
- let No;
16452
+ let Go;
16453
16453
  function SC() {
16454
16454
  var i;
16455
- if (E(No))
16456
- return No;
16455
+ if (E(Go))
16456
+ return Go;
16457
16457
  let t;
16458
16458
  if (typeof CESIUM_BASE_URL < "u" ? t = CESIUM_BASE_URL : E((i = import.meta) == null ? void 0 : i.url) ? t = Oh(".", import.meta.url) : typeof define == "object" && E(define.amd) && !define.amd.toUrlUndefined && E(require.toUrl) ? t = Oh(
16459
16459
  "..",
@@ -16462,9 +16462,9 @@ function SC() {
16462
16462
  throw new H(
16463
16463
  "Unable to determine Cesium base URL automatically, try defining a global variable called CESIUM_BASE_URL."
16464
16464
  );
16465
- return No = new ne({
16465
+ return Go = new ne({
16466
16466
  url: bC(t)
16467
- }), No.appendForwardSlash(), No;
16467
+ }), Go.appendForwardSlash(), Go;
16468
16468
  }
16469
16469
  function HT(t) {
16470
16470
  return bC(require.toUrl(`../${t}`));
@@ -16481,10 +16481,10 @@ function Oi(t) {
16481
16481
  Oi._cesiumScriptRegex = xC;
16482
16482
  Oi._buildModuleUrlFromBaseUrl = AC;
16483
16483
  Oi._clearBaseResource = function() {
16484
- No = void 0;
16484
+ Go = void 0;
16485
16485
  };
16486
16486
  Oi.setBaseUrl = function(t) {
16487
- No = ne.DEFAULT.getDerivedResource({
16487
+ Go = ne.DEFAULT.getDerivedResource({
16488
16488
  url: t
16489
16489
  });
16490
16490
  };
@@ -18451,7 +18451,7 @@ Xe.prototype.PixelToPoint = function(t, i, e, s, o) {
18451
18451
  Xe.prototype.getZoomUnits = function(t) {
18452
18452
  return Math.pow(2, 18 - t);
18453
18453
  };
18454
- function Eo(t) {
18454
+ function Io(t) {
18455
18455
  t = t || {}, this._ellipsoid = t.ellipsoid ?? ve.WGS84;
18456
18456
  var i = !0;
18457
18457
  E(t.wgs84) && (i = t.wgs84), this._projection = new ci(this._ellipsoid);
@@ -18468,7 +18468,7 @@ function Eo(t) {
18468
18468
  for (var n = 0; n < 19; n++)
18469
18469
  this.levelWidth[n] = Math.pow(2, 18 - n) * 256;
18470
18470
  }
18471
- Object.defineProperties(Eo.prototype, {
18471
+ Object.defineProperties(Io.prototype, {
18472
18472
  ellipsoid: {
18473
18473
  get: function() {
18474
18474
  return this._ellipsoid;
@@ -18485,27 +18485,27 @@ Object.defineProperties(Eo.prototype, {
18485
18485
  }
18486
18486
  }
18487
18487
  });
18488
- Eo.prototype.getNumberOfXTilesAtLevel = function(t) {
18488
+ Io.prototype.getNumberOfXTilesAtLevel = function(t) {
18489
18489
  return (1 << t) * 0.7;
18490
18490
  };
18491
- Eo.prototype.getNumberOfYTilesAtLevel = function(t) {
18491
+ Io.prototype.getNumberOfYTilesAtLevel = function(t) {
18492
18492
  return 1 << t;
18493
18493
  };
18494
- Eo.prototype.rectangleToNativeRectangle = function(t, i) {
18494
+ Io.prototype.rectangleToNativeRectangle = function(t, i) {
18495
18495
  var e = this._projection, s = e.project(pe.southwest(t)), o = e.project(pe.northeast(t));
18496
18496
  return E(i) ? (i.west = s.x, i.south = s.y, i.east = o.x, i.north = o.y, i) : new pe(s.x, s.y, o.x, o.y);
18497
18497
  };
18498
- Eo.prototype.tileXYToNativeRectangle = function(t, i, e, s) {
18498
+ Io.prototype.tileXYToNativeRectangle = function(t, i, e, s) {
18499
18499
  var o = this.levelWidth[e], n = t * o, r = (t + 1) * o;
18500
18500
  i = -i;
18501
18501
  var a = (i + 1) * o, l = i * o;
18502
18502
  return E(s) ? (s.west = n, s.south = l, s.east = r, s.north = a, s) : new pe(n, l, r, a);
18503
18503
  };
18504
- Eo.prototype.tileXYToRectangle = function(t, i, e, s) {
18504
+ Io.prototype.tileXYToRectangle = function(t, i, e, s) {
18505
18505
  var o = this.tileXYToNativeRectangle(t, i, e, s), n = this._projection, r = n.unproject(new re(o.west, o.south)), a = n.unproject(new re(o.east, o.north));
18506
18506
  return o.west = r.longitude, o.south = r.latitude, o.east = a.longitude, o.north = a.latitude, o;
18507
18507
  };
18508
- Eo.prototype.positionToTileXY = function(t, i, e) {
18508
+ Io.prototype.positionToTileXY = function(t, i, e) {
18509
18509
  var s = this._rectangle;
18510
18510
  if (pe.contains(s, t)) {
18511
18511
  var o = this._projection, n = o.project(t);
@@ -18516,7 +18516,7 @@ Eo.prototype.positionToTileXY = function(t, i, e) {
18516
18516
  }
18517
18517
  };
18518
18518
  function eu(t) {
18519
- this._url = t.url || "http://online2.map.bdimg.com/onlinelabel/?qt=tile&styles=pl&x={x}&y={y}&z={z}", this._tileWidth = 256, this._tileHeight = 256, this._maximumLevel = 18, this._tilingScheme = new Eo(t), this._credit = void 0, this._rectangle = this._tilingScheme.rectangle, this._ready = !0;
18519
+ this._url = t.url || "http://online2.map.bdimg.com/onlinelabel/?qt=tile&styles=pl&x={x}&y={y}&z={z}", this._tileWidth = 256, this._tileHeight = 256, this._maximumLevel = 18, this._tilingScheme = new Io(t), this._credit = void 0, this._rectangle = this._tilingScheme.rectangle, this._ready = !0;
18520
18520
  }
18521
18521
  function JE(t, i, e, s) {
18522
18522
  var o = t._url;
@@ -20008,7 +20008,7 @@ function km(t, i) {
20008
20008
  else
20009
20009
  throw new Error("values未赋值!");
20010
20010
  const n = s.createLinearGradient(0, 0, 100, 0);
20011
- return n.addColorStop(o[0], i != null && i[0] ? Fo(i == null ? void 0 : i[0]) : "#000000"), n.addColorStop(o[1], i != null && i[1] ? Fo(i == null ? void 0 : i[1]) : "#2747E0"), n.addColorStop(o[2], i != null && i[2] ? Fo(i == null ? void 0 : i[2]) : "#D33B7D"), n.addColorStop(o[3], i != null && i[3] ? Fo(i == null ? void 0 : i[3]) : "#D33038"), n.addColorStop(o[4], i != null && i[4] ? Fo(i == null ? void 0 : i[4]) : "#FF9742"), n.addColorStop(o[5], i != null && i[5] ? Fo(i == null ? void 0 : i[5]) : "#ffd700"), n.addColorStop(o[6], i != null && i[6] ? Fo(i == null ? void 0 : i[6]) : "#ffffff"), s.fillStyle = n, s.fillRect(0, 0, 100, 1), e;
20011
+ return n.addColorStop(o[0], i != null && i[0] ? zo(i == null ? void 0 : i[0]) : "#000000"), n.addColorStop(o[1], i != null && i[1] ? zo(i == null ? void 0 : i[1]) : "#2747E0"), n.addColorStop(o[2], i != null && i[2] ? zo(i == null ? void 0 : i[2]) : "#D33B7D"), n.addColorStop(o[3], i != null && i[3] ? zo(i == null ? void 0 : i[3]) : "#D33038"), n.addColorStop(o[4], i != null && i[4] ? zo(i == null ? void 0 : i[4]) : "#FF9742"), n.addColorStop(o[5], i != null && i[5] ? zo(i == null ? void 0 : i[5]) : "#ffd700"), n.addColorStop(o[6], i != null && i[6] ? zo(i == null ? void 0 : i[6]) : "#ffffff"), s.fillStyle = n, s.fillRect(0, 0, 100, 1), e;
20012
20012
  }
20013
20013
  class Gh extends k {
20014
20014
  constructor(e) {
@@ -20238,7 +20238,7 @@ class Me extends Zi {
20238
20238
  })), this.d(e.automaticLandingEvent.don(async (n) => {
20239
20239
  const r = [e.position[0], e.position[1]], a = await s.getTerrainHeight(r);
20240
20240
  a ? e.position = [...r, a] : console.warn("不存在相交"), e.collision = n;
20241
- })), this.d(jo([
20241
+ })), this.d(fo([
20242
20242
  e.minVisibleDistanceChanged,
20243
20243
  e.maxVisibleDistanceChanged,
20244
20244
  s.cameraChanged
@@ -23037,7 +23037,11 @@ const os = class os extends Zi {
23037
23037
  };
23038
23038
  l(), this.d(e.urlChanged.don(l));
23039
23039
  }
23040
- this.d(P([n, "show"], [e, "show"])), this.d(P([n, "colorBlendMode"], [e, "colorBlendMode"])), this.d(P([n, "cacheBytes"], [e, "cacheBytes"])), this.d(P([n, "maximumCacheOverflowBytes"], [e, "cacheBytes"])), this.d(P([n, "allowPicking"], [e, "allowPicking"])), this.d(I([n, "imageBasedLightingFactor"], [e, "czmImageBasedLightingFactor"])), this.d(P([n, "environmentMapManager"], [e, "czmEnvironmentMapManager"])), this.d(P([n, "maximumScreenSpaceError"], [e, "maximumScreenSpaceError"])), this.d(P([n, "maximumMemoryUsage"], [e, "czmMaximumMemoryUsage"])), this.d(P([n, "classificationType"], [e, "czmClassificationType"])), this.d(P([n, "styleJson"], [e, "czmStyleJson"])), this.d(I([n, "rotation"], [e, "rotation"])), this.d(P([n, "backFaceCulling"], [e, "czmBackFaceCulling"])), this.d(P([n, "debugShowBoundingVolume"], [e, "czmDebugShowBoundingVolume"])), this.d(P([n, "debugShowContentBoundingVolume"], [e, "czmDebugShowContentBoundingVolume"])), this.d(P([n, "skipLevelOfDetail"], [e, "czmSkipLevelOfDetail"])), this.ad(I([n, "splitDirection"], [e, "splitDirection"]));
23040
+ this.d(P([n, "show"], [e, "show"])), this.d(P([n, "colorBlendMode"], [e, "colorBlendMode"])), this.d(P([n, "cacheBytes"], [e, "cacheBytes"])), this.d(P([n, "maximumCacheOverflowBytes"], [e, "cacheBytes"])), this.d(P([n, "allowPicking"], [e, "allowPicking"])), this.d(I([n, "imageBasedLightingFactor"], [e, "czmImageBasedLightingFactor"])), this.d(P([n, "environmentMapManager"], [e, "czmEnvironmentMapManager"])), this.d(P([n, "maximumScreenSpaceError"], [e, "maximumScreenSpaceError"])), this.d(P([n, "maximumMemoryUsage"], [e, "czmMaximumMemoryUsage"])), this.d(P([n, "classificationType"], [e, "czmClassificationType"])), this.d(P([n, "styleJson"], [e, "czmStyleJson"])), this.d(I([n, "rotation"], [e, "rotation"])), this.d(P([n, "backFaceCulling"], [e, "czmBackFaceCulling"])), this.d(P([n, "debugShowBoundingVolume"], [e, "czmDebugShowBoundingVolume"])), this.d(P([n, "debugShowContentBoundingVolume"], [e, "czmDebugShowContentBoundingVolume"])), this.d(P([n, "skipLevelOfDetail"], [e, "czmSkipLevelOfDetail"])), this.ad(I([n, "splitDirection"], [e, "splitDirection"])), this.ad(fo(e.czmDebugWireframeChanged, () => {
23041
+ n.enableDebugWireframe = e.czmDebugWireframe, n.debugWireframe = e.czmDebugWireframe;
23042
+ }, {
23043
+ immediate: !0
23044
+ }));
23041
23045
  {
23042
23046
  const l = (c) => {
23043
23047
  e.czmEnvironmentMapManager = e.czmEnvironmentMapManager ? { ...e.czmEnvironmentMapManager, atmosphereScatteringIntensity: c } : { atmosphereScatteringIntensity: c };
@@ -23253,7 +23257,7 @@ const SM = {
23253
23257
  return;
23254
23258
  }
23255
23259
  const { czmCustomPrimitive: n } = this;
23256
- n.indexTypedArray = new Uint16Array([0, 1, 2, 0, 2, 3]), this.ad(P([n, "show"], [e, "show"])), this.ad(P([n, "allowPicking"], [e, "allowPicking"])), this.ad(It([n, "rotation"], [e, "rotation"])), this.ad(I([n, "position"], [e, "position"])), this.ad(P([n, "scale"], [e, "scale"])), this.ad(jo(e.colorChanged, () => this.updateColor(), { immediate: !0 })), this.ad(jo(e.modeChanged, () => this.updataMode(), { immediate: !0 })), this.ad(jo(e.radiusChanged, () => this.updateRadius(), { immediate: !0 }));
23260
+ n.indexTypedArray = new Uint16Array([0, 1, 2, 0, 2, 3]), this.ad(P([n, "show"], [e, "show"])), this.ad(P([n, "allowPicking"], [e, "allowPicking"])), this.ad(It([n, "rotation"], [e, "rotation"])), this.ad(I([n, "position"], [e, "position"])), this.ad(P([n, "scale"], [e, "scale"])), this.ad(fo(e.colorChanged, () => this.updateColor(), { immediate: !0 })), this.ad(fo(e.modeChanged, () => this.updataMode(), { immediate: !0 })), this.ad(fo(e.radiusChanged, () => this.updateRadius(), { immediate: !0 }));
23257
23261
  }
23258
23262
  get czmCustomPrimitive() {
23259
23263
  return this._czmCustomPrimitive;
@@ -23424,7 +23428,7 @@ class Or extends k {
23424
23428
  `));
23425
23429
  };
23426
23430
  r(), this.dispose(n.disposableOn(r)), this.dispose(P([o, "show"], [this, "show"])), this.dispose(P([o, "allowPicking"], [this, "allowPicking"])), this.dispose(I([o, "shadowDom"], [this, "shadowDom"])), this.dispose(I([o, "cssAllInitial"], [this, "cssAllInitial"])), this.dispose(P([o, "position"], [this, "centerOfMass"])), this.ad(o.pickedEvent.don((a) => {
23427
- Ao(a) === 0 && this.pickedEvent.emit(a);
23431
+ To(a) === 0 && this.pickedEvent.emit(a);
23428
23432
  }));
23429
23433
  }
23430
23434
  }
@@ -24279,7 +24283,7 @@ class MM extends Gd {
24279
24283
  const o = [], n = new h.GeometryInstance({
24280
24284
  geometry: new h.PolygonGeometry({
24281
24285
  vertexFormat: h.MaterialAppearance.MaterialSupport.ALL.vertexFormat,
24282
- polygonHierarchy: So(s.polygonHierarchy),
24286
+ polygonHierarchy: Ao(s.polygonHierarchy),
24283
24287
  stRotation: s.stRotation && h.Math.toRadians(s.stRotation),
24284
24288
  arcType: s.arcType && h.ArcType[s.arcType],
24285
24289
  height: s.height,
@@ -24880,7 +24884,7 @@ const Ja = class Ja extends Me {
24880
24884
  };
24881
24885
  g(Ja, "type", Ja.register("ESCesiumViewer", Fn.type, Ja));
24882
24886
  let Ym = Ja;
24883
- const Wo = class Wo extends k {
24887
+ const Ho = class Ho extends k {
24884
24888
  constructor(e, s) {
24885
24889
  super();
24886
24890
  g(this, "_pickedEvent", this.disposeVar(new q()));
@@ -24917,7 +24921,7 @@ const Wo = class Wo extends k {
24917
24921
  }
24918
24922
  {
24919
24923
  const a = () => {
24920
- const { heading: c } = o, d = (o.textFunc ?? Wo.defaultTextFunc_度格式)(c);
24924
+ const { heading: c } = o, d = (o.textFunc ?? Ho.defaultTextFunc_度格式)(c);
24921
24925
  r.innerHTML = Jr(`方向: ${d}`, 24);
24922
24926
  };
24923
24927
  a();
@@ -24925,7 +24929,7 @@ const Wo = class Wo extends k {
24925
24929
  this.dispose(l.disposableOn(a));
24926
24930
  }
24927
24931
  this.ad(r.pickedEvent.don((a) => {
24928
- Ao(a) === 0 && this.pickedEvent.emit(a);
24932
+ To(a) === 0 && this.pickedEvent.emit(a);
24929
24933
  }));
24930
24934
  }
24931
24935
  get pickedEvent() {
@@ -24958,10 +24962,10 @@ const Wo = class Wo extends k {
24958
24962
  // DECIMAL_DEGREE 度格式,dd.ddddd°
24959
24963
  // DEGREES_DECIMAL_MINUTES 度分格式,dd°mm.mmm'
24960
24964
  // SEXAGESIMAL_DEGREE 度分秒格式,dd°mm'ss"
24961
- g(Wo, "defaultTextFunc_度格式", (e) => `${e.toFixed(5)}°`), g(Wo, "defaultTextFunc_度分格式", (e) => `${hd(e, !0)}`), g(Wo, "defaultTextFunc_度分秒格式", (e) => `${hd(e, !1)}`), g(Wo, "defaults", {
24965
+ g(Ho, "defaultTextFunc_度格式", (e) => `${e.toFixed(5)}°`), g(Ho, "defaultTextFunc_度分格式", (e) => `${hd(e, !0)}`), g(Ho, "defaultTextFunc_度分秒格式", (e) => `${hd(e, !1)}`), g(Ho, "defaults", {
24962
24966
  positions: []
24963
24967
  });
24964
- let xn = Wo;
24968
+ let xn = Ho;
24965
24969
  ((t) => {
24966
24970
  t.createDefaultProps = () => ({
24967
24971
  show: !0,
@@ -25031,7 +25035,7 @@ const ja = class ja extends ei {
25031
25035
  this.dispose(a.disposableOn(r));
25032
25036
  }
25033
25037
  this.dispose(n.pickedEvent.disposableOn((r) => {
25034
- Ao(r) === 0 && (e.allowPicking ?? !1) && e.pickedEvent.emit(r);
25038
+ To(r) === 0 && (e.allowPicking ?? !1) && e.pickedEvent.emit(r);
25035
25039
  }));
25036
25040
  }
25037
25041
  get czmDirectionMeasurement() {
@@ -25087,7 +25091,7 @@ class Gr extends k {
25087
25091
  for (let u = 0; u < d; ++u) {
25088
25092
  const p = this.distances[u], f = this.positions[u + 1], m = Yg(`长度: ${Tf(p)}`, f, e, s);
25089
25093
  m.dispose(P([m, "show"], [this, "show"])), m.dispose(P([m, "shadowDom"], [this, "shadowDom"])), m.dispose(P([m, "cssAllInitial"], [this, "cssAllInitial"])), this.ad(m.pickedEvent.don((v) => {
25090
- Ao(v) === 0 && this.pickedEvent.emit(v);
25094
+ To(v) === 0 && this.pickedEvent.emit(v);
25091
25095
  })), a.push(m);
25092
25096
  }
25093
25097
  };
@@ -25227,7 +25231,7 @@ const tl = class tl extends $h {
25227
25231
  this.dispose(a.disposableOn(r));
25228
25232
  }
25229
25233
  this.dispose(n.pickedEvent.disposableOn((r) => {
25230
- Ao(r) === 0 && (e.allowPicking ?? !1) && e.pickedEvent.emit(r);
25234
+ To(r) === 0 && (e.allowPicking ?? !1) && e.pickedEvent.emit(r);
25231
25235
  }));
25232
25236
  }
25233
25237
  get czmDistanceMeasurement() {
@@ -25733,7 +25737,7 @@ const OM = [["256", 256], ["512", 512], ["1024", 1024]], VM = [["LEFT", "LEFT"],
25733
25737
  ...e,
25734
25738
  basic: [
25735
25739
  ...e.basic,
25736
- new Ko([this, "accessToken"], "令牌", ri.defaults.accessToken),
25740
+ new Jo([this, "accessToken"], "令牌", ri.defaults.accessToken),
25737
25741
  new ao([this, "rectangle"], "矩形范围", ri.defaults.rectangle),
25738
25742
  new Yt([this, "url"], "服务地址", ri.defaults.url),
25739
25743
  new Yt([this, "style"], "样式配置", ri.defaults.style),
@@ -25891,7 +25895,7 @@ const cr = class cr extends od {
25891
25895
  ...e,
25892
25896
  basic: [
25893
25897
  ...e.basic,
25894
- new Ko([this, "currentDate"], "时间", "0"),
25898
+ new Jo([this, "currentDate"], "时间", "0"),
25895
25899
  new ce([this, "zIndex"], "层级", 0),
25896
25900
  new ao([this, "rectangle"], "矩形范围", [-180, -90, 180, 90])
25897
25901
  ]
@@ -26862,7 +26866,7 @@ g(Ts, "createDefaultProps", () => ({
26862
26866
  Je.LineStringInsert
26863
26867
  ]);
26864
26868
  let Hp = Ts;
26865
- const Ho = class Ho extends ki {
26869
+ const $o = class $o extends ki {
26866
26870
  constructor(e) {
26867
26871
  super(e);
26868
26872
  g(this, "editingBindMode", "lineString");
@@ -26876,13 +26880,13 @@ const Ho = class Ho extends ki {
26876
26880
  new _e([], "通用", "通用"),
26877
26881
  new ce([this, "width"], "线宽"),
26878
26882
  new yi([this, "arcType"], [["直线", "NONE"], ["地理直线", "GEODESIC"], ["地理恒向线", "RHUMB"]], "弧线类型", "GEODESIC"),
26879
- new Ko([this, "imageUrl"], "道路图片"),
26883
+ new Jo([this, "imageUrl"], "道路图片"),
26880
26884
  new FP([this, "repeat"], "重复次数")
26881
26885
  ]
26882
26886
  };
26883
26887
  }
26884
26888
  };
26885
- g(Ho, "createDefaultProps", () => ({
26889
+ g($o, "createDefaultProps", () => ({
26886
26890
  ...ki.createDefaultProps(),
26887
26891
  width: 50,
26888
26892
  // undfined时为1.0,A numeric Property specifying the width in pixels.
@@ -26891,13 +26895,13 @@ g(Ho, "createDefaultProps", () => ({
26891
26895
  imageUrl: "${earthsdk3-assets-script-dir}/assets/img/roads/4.jpg",
26892
26896
  repeat: [100, 1],
26893
26897
  stroked: !0
26894
- })), g(Ho, "type", Ho.register("ESRoad", Ho, { chsName: "贴地道路", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "最大宽度到1000米" })), g(Ho, "supportEditingModes", [
26898
+ })), g($o, "type", $o.register("ESRoad", $o, { chsName: "贴地道路", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "最大宽度到1000米" })), g($o, "supportEditingModes", [
26895
26899
  ...ki.supportEditingModes,
26896
26900
  Je.LineStringAppend,
26897
26901
  Je.LineStringInsert
26898
26902
  ]);
26899
- let $p = Ho;
26900
- const $o = class $o extends ki {
26903
+ let $p = $o;
26904
+ const qo = class qo extends ki {
26901
26905
  constructor(e) {
26902
26906
  super(e);
26903
26907
  g(this, "_deprecated", [
@@ -26921,7 +26925,7 @@ const $o = class $o extends ki {
26921
26925
  };
26922
26926
  }
26923
26927
  };
26924
- g($o, "createDefaultProps", () => ({
26928
+ g(qo, "createDefaultProps", () => ({
26925
26929
  ...ki.createDefaultProps(),
26926
26930
  ground: !1,
26927
26931
  depth: 0,
@@ -26933,12 +26937,12 @@ g($o, "createDefaultProps", () => ({
26933
26937
  materialParams: {},
26934
26938
  ground: !1
26935
26939
  })
26936
- })), g($o, "type", $o.register("ESGeoSmoothPolygon", $o, { chsName: "平滑多边形", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "平滑多边形" })), g($o, "supportEditingModes", [
26940
+ })), g(qo, "type", qo.register("ESGeoSmoothPolygon", qo, { chsName: "平滑多边形", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "平滑多边形" })), g(qo, "supportEditingModes", [
26937
26941
  ...ki.supportEditingModes,
26938
26942
  Je.CircularAppend,
26939
26943
  Je.CircularInsert
26940
26944
  ]);
26941
- let Pd = $o;
26945
+ let Pd = qo;
26942
26946
  const io = class io extends ki {
26943
26947
  constructor(e) {
26944
26948
  super(e);
@@ -28214,7 +28218,7 @@ class Qh extends k {
28214
28218
  l(), this.dispose(this.heightChanged.disposableOn(l));
28215
28219
  }
28216
28220
  this.ad(a.pickedEvent.don((l) => {
28217
- Ao(l) === 0 && this.pickedEvent.emit(l);
28221
+ To(l) === 0 && this.pickedEvent.emit(l);
28218
28222
  }));
28219
28223
  }
28220
28224
  }
@@ -28325,7 +28329,7 @@ const dl = class dl extends ei {
28325
28329
  this.dispose(a.disposableOn(r));
28326
28330
  }
28327
28331
  this.dispose(n.pickedEvent.disposableOn((r) => {
28328
- Ao(r) === 0 && (e.allowPicking ?? !1) && e.pickedEvent.emit(r);
28332
+ To(r) === 0 && (e.allowPicking ?? !1) && e.pickedEvent.emit(r);
28329
28333
  }));
28330
28334
  }
28331
28335
  get czmHeightMeasurement() {
@@ -28512,7 +28516,7 @@ class dR extends k {
28512
28516
  return Fi(this.czmViewer, this.sceneObject, s, this.sceneObject.position, Math.max(...this.czmGeoImageModel.size), e, !0);
28513
28517
  this.czmGeoImageModel.flyTo(e && e * 1e3);
28514
28518
  });
28515
- this.sceneObject = e, this.czmViewer = s, this._czmGeoImageModel = this.disposeVar(new yo(s, e.id));
28519
+ this.sceneObject = e, this.czmViewer = s, this._czmGeoImageModel = this.disposeVar(new wo(s, e.id));
28516
28520
  const n = this._czmGeoImageModel;
28517
28521
  this.ad(s.clickEvent.don((p) => {
28518
28522
  const f = p == null ? void 0 : p.pointerEvent;
@@ -29012,10 +29016,10 @@ let Pv = gl;
29012
29016
  async function gR(t) {
29013
29017
  const i = ["Flag01", "Flag02", "Linear02", "ManAbnormal", "ManNormal", "P3D02", "P3D03", "P3D04", "P3D05", "P3D06", "P3D07", "Stranger", "WomanAbnormal", "WomanNormal"], e = ["CircularV05", "Diamond01"], s = ["Flag01", "Flag02", "Linear02", "Linear03", "ManAbnormal", "ManNormal", "P3D02", "P3D03", "P3D04", "P3D05", "P3D06", "P3D07", "Stranger", "WomanAbnormal", "WomanNormal"];
29014
29018
  let o = [];
29015
- const n = "${earthsdk3-assets-script-dir}/assets/img/ESPoi2D/", r = i.includes(t) ? void 0 : await Jo(oe.context.getStrFromEnv(n + `/${t}/icon.png`)), a = e.includes(t) ? void 0 : await Jo(oe.context.getStrFromEnv(n + `/${t}/anchor.png`));
29019
+ const n = "${earthsdk3-assets-script-dir}/assets/img/ESPoi2D/", r = i.includes(t) ? void 0 : await jo(oe.context.getStrFromEnv(n + `/${t}/icon.png`)), a = e.includes(t) ? void 0 : await jo(oe.context.getStrFromEnv(n + `/${t}/anchor.png`));
29016
29020
  for (let d = 1; d <= (xR[t] ?? 3); d++)
29017
- o.push(await Jo(oe.context.getStrFromEnv(n + `/${t}/textBox_0${d}.png`)));
29018
- const l = s.includes(t) ? void 0 : await Jo(oe.context.getStrFromEnv(n + `/${t}/iconBox.png`)), c = o.filter((d) => d != null);
29021
+ o.push(await jo(oe.context.getStrFromEnv(n + `/${t}/textBox_0${d}.png`)));
29022
+ const l = s.includes(t) ? void 0 : await jo(oe.context.getStrFromEnv(n + `/${t}/iconBox.png`)), c = o.filter((d) => d != null);
29019
29023
  return { icon: r, anchor: a, iconBox: l, textBox: c };
29020
29024
  }
29021
29025
  function mR(t, i, e, s, o, n) {
@@ -29223,10 +29227,10 @@ const xR = {
29223
29227
  ));
29224
29228
  this.customWidgetComponent = this.disposeVar(new he(d, () => {
29225
29229
  if (!(!c || e.mode != "Custom"))
29226
- return e.screenRender ? new Oo(e, s, c[1], !0, !1) : new yp(e, s, c[1], !0, !1);
29230
+ return e.screenRender ? new Vo(e, s, c[1], !0, !1) : new yp(e, s, c[1], !0, !1);
29227
29231
  }, !1)), this.widgetComponent = this.disposeVar(new he(d, () => {
29228
29232
  if (c)
29229
- return e.screenRender ? new Oo(e, s, c instanceof HTMLDivElement ? c : c[0], !0, !1) : new yp(e, s, c instanceof HTMLDivElement ? c : c[0], !0, !1);
29233
+ return e.screenRender ? new Vo(e, s, c instanceof HTMLDivElement ? c : c[0], !0, !1) : new yp(e, s, c instanceof HTMLDivElement ? c : c[0], !0, !1);
29230
29234
  }, !1)), this.widgetComponent.objChanged.don(() => {
29231
29235
  e.minVisibleDistanceChanged.emit();
29232
29236
  });
@@ -29291,7 +29295,7 @@ const xR = {
29291
29295
  e.offsetChanged
29292
29296
  )), d = () => {
29293
29297
  const u = this.widgetComponent.obj, p = e.autoAnchor ? u.defaultAnchor : e.anchor, f = e.offset;
29294
- if (u instanceof Oo)
29298
+ if (u instanceof Vo)
29295
29299
  p ? (u.czmGeoCustomDivPoi.originRatioAndOffset = [...p, -f[0], -f[1]], u.widgetInfo.style.transformOrigin = `${p[0] * 100}% ${p[1] * 100}%`) : u.czmGeoCustomDivPoi.originRatioAndOffset = [0, 0, 0, 0];
29296
29300
  else {
29297
29301
  let m = 100, v = 100;
@@ -29316,7 +29320,7 @@ const xR = {
29316
29320
  const u = this.customWidgetComponent.obj;
29317
29321
  if (!u) return;
29318
29322
  const p = ((w = e.style) == null ? void 0 : w.imageSize) ?? ot.defaults.style.imageSize, f = e.autoAnchor ? this.widgetComponent.obj.defaultAnchor : e.anchor, m = ((b = e.style) == null ? void 0 : b.textBoxAlign) ?? ot.defaults.style.textBoxAlign, v = m == "start" ? 0 : m == "center" ? 0.5 : 1, y = ((A = e.style) == null ? void 0 : A.textBoxOffset) ?? ot.defaults.style.textBoxOffset, _ = e.offset;
29319
- if (u instanceof Oo)
29323
+ if (u instanceof Vo)
29320
29324
  f ? (u.czmGeoCustomDivPoi.originRatioAndOffset = [v, 0.5, -_[0] - y[0] + p[0] * (f[0] - 0.5), -_[1] - y[1] + p[1] * (f[1] - 0.5)], u.widgetInfo.style.transformOrigin = `${v * 100}% ${0.5 * 100}%`) : u.czmGeoCustomDivPoi.originRatioAndOffset = [0, 0, 0, 0];
29321
29325
  else {
29322
29326
  let T = 100, D = 100;
@@ -29333,7 +29337,7 @@ const xR = {
29333
29337
  if (this.customWidgetComponent.obj == null || this.widgetComponent.obj == null) return;
29334
29338
  const p = new k(), f = this.customWidgetComponent.obj, m = () => {
29335
29339
  var v, y, _, w;
29336
- f && (f instanceof Oo ? (((v = e.style) == null ? void 0 : v.textBoxMode) ?? ot.defaults.style.textBoxMode) == "hover" ? (f.czmGeoCustomDivPoi.show = !1, this.d(this.widgetComponent.obj.czmGeoCustomDivPoi.pickedEvent.don((b) => {
29340
+ f && (f instanceof Vo ? (((v = e.style) == null ? void 0 : v.textBoxMode) ?? ot.defaults.style.textBoxMode) == "hover" ? (f.czmGeoCustomDivPoi.show = !1, this.d(this.widgetComponent.obj.czmGeoCustomDivPoi.pickedEvent.don((b) => {
29337
29341
  var T, D;
29338
29342
  const A = (T = jr(b, "pickResult")) == null ? void 0 : T.pointerEvent;
29339
29343
  A && (f.czmGeoCustomDivPoi.show = e.show && (((D = e.style) == null ? void 0 : D.textBoxShow) ?? ot.defaults.style.textBoxShow) && A.type == "mouseenter");
@@ -29381,7 +29385,7 @@ const xR = {
29381
29385
  e.minVisibleDistance < e.maxVisibleDistance ? d = e.minVisibleDistance < c && c < e.maxVisibleDistance : e.maxVisibleDistance == 0 && (d = c > e.minVisibleDistance);
29382
29386
  const u = this.widgetComponent.obj, p = this.customWidgetComponent.obj;
29383
29387
  if (!u) return;
29384
- u instanceof Oo ? (u.czmGeoCustomDivPoi.show = e.show && d, (((n = e.style) == null ? void 0 : n.textBoxMode) ?? ot.defaults.style.textBoxMode) == "default" && p && (p.czmGeoCustomDivPoi.show = e.show && d && (((r = e.style) == null ? void 0 : r.textBoxShow) ?? ot.defaults.style.textBoxShow))) : (u.czmCustomPrimitive.show = e.show && d, (((a = e.style) == null ? void 0 : a.textBoxMode) ?? ot.defaults.style.textBoxMode) == "default" && p && (p.czmCustomPrimitive.show = e.show && d && (((l = e.style) == null ? void 0 : l.textBoxShow) ?? ot.defaults.style.textBoxShow)));
29388
+ u instanceof Vo ? (u.czmGeoCustomDivPoi.show = e.show && d, (((n = e.style) == null ? void 0 : n.textBoxMode) ?? ot.defaults.style.textBoxMode) == "default" && p && (p.czmGeoCustomDivPoi.show = e.show && d && (((r = e.style) == null ? void 0 : r.textBoxShow) ?? ot.defaults.style.textBoxShow))) : (u.czmCustomPrimitive.show = e.show && d, (((a = e.style) == null ? void 0 : a.textBoxMode) ?? ot.defaults.style.textBoxMode) == "default" && p && (p.czmCustomPrimitive.show = e.show && d && (((l = e.style) == null ? void 0 : l.textBoxShow) ?? ot.defaults.style.textBoxShow)));
29385
29389
  }
29386
29390
  }
29387
29391
  };
@@ -29608,11 +29612,11 @@ const vl = class vl extends Me {
29608
29612
  if (e.waterType === "custom")
29609
29613
  this.updateWater({
29610
29614
  waterColor: e.waterColor,
29611
- frequency: (e.frequency ?? Mo.defaults.frequency) / 10,
29612
- waveVelocity: (e.waveVelocity ?? Mo.defaults.waveVelocity) / 100,
29613
- amplitude: (e.amplitude ?? Mo.defaults.amplitude) * 100,
29614
- specularIntensity: e.specularIntensity ?? Mo.defaults.specularIntensity,
29615
- flowSpeed: e.flowSpeed ?? Mo.defaults.flowSpeed
29615
+ frequency: (e.frequency ?? Ro.defaults.frequency) / 10,
29616
+ waveVelocity: (e.waveVelocity ?? Ro.defaults.waveVelocity) / 100,
29617
+ amplitude: (e.amplitude ?? Ro.defaults.amplitude) * 100,
29618
+ specularIntensity: e.specularIntensity ?? Ro.defaults.specularIntensity,
29619
+ flowSpeed: e.flowSpeed ?? Ro.defaults.flowSpeed
29616
29620
  });
29617
29621
  else {
29618
29622
  const p = Object.assign({}, Mf[e.waterType]);
@@ -29688,11 +29692,11 @@ const vl = class vl extends Me {
29688
29692
  type: "texture",
29689
29693
  id: l.id
29690
29694
  },
29691
- u_color: e.waterColor ?? c ?? Mo.defaults.waterColor
29695
+ u_color: e.waterColor ?? c ?? Ro.defaults.waterColor
29692
29696
  };
29693
29697
  }
29694
29698
  };
29695
- g(vl, "type", vl.register("ESCesiumViewer", Mo.type, vl));
29699
+ g(vl, "type", vl.register("ESCesiumViewer", Ro.type, vl));
29696
29700
  let Sv = vl;
29697
29701
  const { getStrFromEnv: a_ } = oe.context;
29698
29702
  function TR(t) {
@@ -29944,7 +29948,7 @@ class RR extends k {
29944
29948
  return Fi(this._czmViewer, this.sceneObject, s, this.sceneObject.position, Math.max(...this.czmImageModel.size), e, !0);
29945
29949
  this.czmImageModel.flyTo(e && e * 1e3);
29946
29950
  });
29947
- this.sceneObject = e, this._czmViewer = s, this._czmTextLabel = this.disposeVar(new Fs(s, e.id)), this._czmImageModel = this.disposeVar(new yo(s, e.id));
29951
+ this.sceneObject = e, this._czmViewer = s, this._czmTextLabel = this.disposeVar(new Fs(s, e.id)), this._czmImageModel = this.disposeVar(new wo(s, e.id));
29948
29952
  const o = this._czmViewer, n = this._czmTextLabel;
29949
29953
  n.originRatioAndOffset = [1e3, 0, 0, 0], this.dispose(n.divCreatedEvent.disposableOn((l) => {
29950
29954
  const c = setTimeout(() => {
@@ -30365,7 +30369,7 @@ dc.prototype.update = function(t) {
30365
30369
  if (h.Cartesian3.clone(r, l.center), l.radius = a, t.cullingVolume.computeVisibility(l) === h.Intersect.OUTSIDE)
30366
30370
  return;
30367
30371
  const c = t.camera;
30368
- if (c && c.getPixelSize && bo(c._scene, l.center, 20) > l.radius)
30372
+ if (c && c.getPixelSize && So(c._scene, l.center, 20) > l.radius)
30369
30373
  return;
30370
30374
  }
30371
30375
  var i = h.Matrix4.equals(this.frustum.projectionMatrix, this._projectionMatrix), e = h.Matrix4.equals(this.inverseViewMatrix, this._inverseViewMatrix);
@@ -31429,14 +31433,14 @@ const KR = `
31429
31433
  return;
31430
31434
  const { screenManager: a } = r;
31431
31435
  (async () => {
31432
- const l = "${earthsdk3-assets-script-dir}/assets/img/Info/", c = await Jo(oe.context.getStrFromEnv(l + "/InfoBackGround.png")), d = await Jo(oe.context.getStrFromEnv(l + "/InfoItemRowBackGround.png"));
31436
+ const l = "${earthsdk3-assets-script-dir}/assets/img/Info/", c = await jo(oe.context.getStrFromEnv(l + "/InfoBackGround.png")), d = await jo(oe.context.getStrFromEnv(l + "/InfoItemRowBackGround.png"));
31433
31437
  {
31434
31438
  this.ad(() => {
31435
31439
  });
31436
31440
  const u = () => {
31437
31441
  n();
31438
31442
  const f = QR(e, d, c);
31439
- e.screenRender ? this.widgetTemp = new Oo(e, s, f, Object.keys(e.info).length != 0) : this.widgetTemp = new yp(e, s, f, Object.keys(e.info).length != 0);
31443
+ e.screenRender ? this.widgetTemp = new Vo(e, s, f, Object.keys(e.info).length != 0) : this.widgetTemp = new yp(e, s, f, Object.keys(e.info).length != 0);
31440
31444
  };
31441
31445
  u();
31442
31446
  const p = this.dv(F(e.screenRenderChanged, e.infoChanged));
@@ -32185,7 +32189,7 @@ const l2 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAEACAYAAADFkM5nAA
32185
32189
  console.warn("viewer is undefined!");
32186
32190
  return;
32187
32191
  }
32188
- this.ad(jo([
32192
+ this.ad(fo([
32189
32193
  i.strokeColorChanged,
32190
32194
  i.strokeWidthChanged,
32191
32195
  i.materialModeChanged,
@@ -33350,7 +33354,7 @@ class c2 extends k {
33350
33354
  }
33351
33355
  // 中心点坐标分成四个点
33352
33356
  divideFourPoints(i, e) {
33353
- const s = Sr(i, e), o = Qo(i, this._sceneObject.width / 2, 90 + s), n = Qo(i, this._sceneObject.width / 2, s - 90), r = Qo(e, this._sceneObject.width / 2, s - 90), a = Qo(e, this._sceneObject.width / 2, 90 + s), l = [o[0], o[1], o[2] + this._sceneObject.height / 2], c = [o[0], o[1], o[2] - this._sceneObject.height / 2], d = [n[0], n[1], n[2] + this._sceneObject.height / 2], u = [n[0], n[1], n[2] - this._sceneObject.height / 2], p = [a[0], a[1], a[2] + this._sceneObject.height / 2], f = [a[0], a[1], a[2] - this._sceneObject.height / 2], m = [r[0], r[1], r[2] + this._sceneObject.height / 2], v = [r[0], r[1], r[2] - this._sceneObject.height / 2], y = [[l, d], [l, p], [l, c], [c, f]], _ = [[c, u], [d, m], [d, u], [u, v]], w = [[p, f], [p, m], [f, v], [m, v]];
33357
+ const s = Sr(i, e), o = Ko(i, this._sceneObject.width / 2, 90 + s), n = Ko(i, this._sceneObject.width / 2, s - 90), r = Ko(e, this._sceneObject.width / 2, s - 90), a = Ko(e, this._sceneObject.width / 2, 90 + s), l = [o[0], o[1], o[2] + this._sceneObject.height / 2], c = [o[0], o[1], o[2] - this._sceneObject.height / 2], d = [n[0], n[1], n[2] + this._sceneObject.height / 2], u = [n[0], n[1], n[2] - this._sceneObject.height / 2], p = [a[0], a[1], a[2] + this._sceneObject.height / 2], f = [a[0], a[1], a[2] - this._sceneObject.height / 2], m = [r[0], r[1], r[2] + this._sceneObject.height / 2], v = [r[0], r[1], r[2] - this._sceneObject.height / 2], y = [[l, d], [l, p], [l, c], [c, f]], _ = [[c, u], [d, m], [d, u], [u, v]], w = [[p, f], [p, m], [f, v], [m, v]];
33354
33358
  return { outlinePionts: [...y, ..._, ...w], customPrimitivePoints: [c, l, d, u, f, p, m, v] };
33355
33359
  }
33356
33360
  // 设置index
@@ -35081,7 +35085,7 @@ Hr.pack = function(t, i, e) {
35081
35085
  hi.pack(r[s], i, e);
35082
35086
  return cs.pack(t._ellipsoid, i, e), e += cs.packedLength, Rs.pack(t._vertexFormat, i, e), e += Rs.packedLength, i[e++] = t._width, i[e++] = t._colorsPerVertex ? 1 : 0, i[e++] = t._arcType, i[e] = t._granularity, i;
35083
35087
  };
35084
- var y_ = cs.clone(cs.UNIT_SPHERE), w_ = new Rs(), zo = {
35088
+ var y_ = cs.clone(cs.UNIT_SPHERE), w_ = new Rs(), Lo = {
35085
35089
  positions: void 0,
35086
35090
  colors: void 0,
35087
35091
  ellipsoid: y_,
@@ -35107,7 +35111,7 @@ Hr.unpack = function(t, i, e) {
35107
35111
  var l = Rs.unpack(t, i, w_);
35108
35112
  i += Rs.packedLength;
35109
35113
  var c = t[i++], d = t[i++] === 1, u = t[i++], p = t[i];
35110
- return mi(e) ? (e._positions = n, e._colors = r, e._ellipsoid = cs.clone(a, e._ellipsoid), e._vertexFormat = Rs.clone(l, e._vertexFormat), e._width = c, e._colorsPerVertex = d, e._arcType = u, e._granularity = p, e) : (zo.positions = n, zo.colors = r, zo.width = c, zo.colorsPerVertex = d, zo.arcType = u, zo.granularity = p, new Hr(zo));
35114
+ return mi(e) ? (e._positions = n, e._colors = r, e._ellipsoid = cs.clone(a, e._ellipsoid), e._vertexFormat = Rs.clone(l, e._vertexFormat), e._width = c, e._colorsPerVertex = d, e._arcType = u, e._granularity = p, e) : (Lo.positions = n, Lo.colors = r, Lo.width = c, Lo.colorsPerVertex = d, Lo.arcType = u, Lo.granularity = p, new Hr(Lo));
35111
35115
  };
35112
35116
  var n0 = new mt(), r0 = new mt(), a0 = new mt(), l0 = new mt();
35113
35117
  Hr.createGeometry = function(t) {
@@ -35735,13 +35739,13 @@ const Yl = class Yl extends ei {
35735
35739
  };
35736
35740
  g(Yl, "type", Yl.register("ESCesiumViewer", Hp.type, Yl));
35737
35741
  let h0 = Yl;
35738
- function wo(t) {
35742
+ function Co(t) {
35739
35743
  var i = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
35740
35744
  return Dn(t, function(e) {
35741
35745
  i[0] > e[0] && (i[0] = e[0]), i[1] > e[1] && (i[1] = e[1]), i[2] < e[0] && (i[2] = e[0]), i[3] < e[1] && (i[3] = e[1]);
35742
35746
  }), i;
35743
35747
  }
35744
- wo.default = wo;
35748
+ Co.default = Co;
35745
35749
  var C_ = { exports: {} };
35746
35750
  (function(t, i) {
35747
35751
  (function(e, s) {
@@ -36118,7 +36122,7 @@ function p0(t, i, e) {
36118
36122
  }
36119
36123
  function pD(t, i) {
36120
36124
  i === void 0 && (i = {});
36121
- var e = wo(t), s = (e[0] + e[2]) / 2, o = (e[1] + e[3]) / 2;
36125
+ var e = Co(t), s = (e[0] + e[2]) / 2, o = (e[1] + e[3]) / 2;
36122
36126
  return Tt([s, o], i.properties, i);
36123
36127
  }
36124
36128
  function fD(t, i) {
@@ -37128,7 +37132,7 @@ function ND(t, i) {
37128
37132
  return !0;
37129
37133
  }
37130
37134
  function GD(t, i) {
37131
- var e = wo(i), s = wo(t);
37135
+ var e = Co(i), s = Co(t);
37132
37136
  if (!D_(e, s))
37133
37137
  return !1;
37134
37138
  for (var o = !1, n = 0; n < t.coordinates.length - 1; n++) {
@@ -37144,7 +37148,7 @@ function GD(t, i) {
37144
37148
  return o;
37145
37149
  }
37146
37150
  function UD(t, i) {
37147
- var e = wo(t), s = wo(i);
37151
+ var e = Co(t), s = Co(i);
37148
37152
  if (!D_(s, e))
37149
37153
  return !1;
37150
37154
  for (var o = 0; o < t.coordinates[0].length; o++)
@@ -38238,7 +38242,7 @@ function kF(t, i) {
38238
38242
  return { value: c[0] ? c[1] : void 0, done: !0 };
38239
38243
  }
38240
38244
  }
38241
- var Co = (
38245
+ var _o = (
38242
38246
  /** @class */
38243
38247
  /* @__PURE__ */ function() {
38244
38248
  function t(i, e) {
@@ -38251,7 +38255,7 @@ function FF(t, i) {
38251
38255
  return t > i ? 1 : t < i ? -1 : 0;
38252
38256
  }
38253
38257
  function lo(t, i, e) {
38254
- for (var s = new Co(null, null), o = s, n = s; ; ) {
38258
+ for (var s = new _o(null, null), o = s, n = s; ; ) {
38255
38259
  var r = e(t, i.key);
38256
38260
  if (r < 0) {
38257
38261
  if (i.left === null)
@@ -38277,7 +38281,7 @@ function lo(t, i, e) {
38277
38281
  return o.right = i.left, n.left = i.right, i.left = s.right, i.right = s.left, i;
38278
38282
  }
38279
38283
  function Ku(t, i, e, s) {
38280
- var o = new Co(t, i);
38284
+ var o = new _o(t, i);
38281
38285
  if (e === null)
38282
38286
  return o.left = o.right = null, o;
38283
38287
  e = lo(t, e, s);
@@ -38313,7 +38317,7 @@ var gg = (
38313
38317
  return t.prototype.insert = function(i, e) {
38314
38318
  return this._size++, this._root = Ku(i, e, this._root, this._comparator);
38315
38319
  }, t.prototype.add = function(i, e) {
38316
- var s = new Co(i, e);
38320
+ var s = new _o(i, e);
38317
38321
  this._root === null && (s.left = s.right = null, this._size++, this._root = s);
38318
38322
  var o = this._comparator, n = lo(i, this._root, o), r = o(i, n.key);
38319
38323
  return r === 0 ? this._root = n : (r < 0 ? (s.left = n.left, s.right = n, n.left = null) : r > 0 && (s.right = n.right, s.left = n, n.right = null), this._size++, this._root = s), this._root;
@@ -38503,18 +38507,18 @@ var gg = (
38503
38507
  function sf(t, i, e, s) {
38504
38508
  var o = s - e;
38505
38509
  if (o > 0) {
38506
- var n = e + Math.floor(o / 2), r = t[n], a = i[n], l = new Co(r, a);
38510
+ var n = e + Math.floor(o / 2), r = t[n], a = i[n], l = new _o(r, a);
38507
38511
  return l.left = sf(t, i, e, n), l.right = sf(t, i, n + 1, s), l;
38508
38512
  }
38509
38513
  return null;
38510
38514
  }
38511
38515
  function LF(t, i) {
38512
- for (var e = new Co(null, null), s = e, o = 0; o < t.length; o++)
38513
- s = s.next = new Co(t[o], i[o]);
38516
+ for (var e = new _o(null, null), s = e, o = 0; o < t.length; o++)
38517
+ s = s.next = new _o(t[o], i[o]);
38514
38518
  return s.next = null, e.next;
38515
38519
  }
38516
38520
  function BF(t) {
38517
- for (var i = t, e = [], s = !1, o = new Co(null, null), n = o; !s; )
38521
+ for (var i = t, e = [], s = !1, o = new _o(null, null), n = o; !s; )
38518
38522
  i ? (e.push(i), i = i.left) : e.length > 0 ? (i = n = n.next = e.pop(), i = i.right) : s = !0;
38519
38523
  return n.next = null, o.next;
38520
38524
  }
@@ -38527,7 +38531,7 @@ function of(t, i, e) {
38527
38531
  return null;
38528
38532
  }
38529
38533
  function OF(t, i, e) {
38530
- for (var s = new Co(null, null), o = s, n = t, r = i; n !== null && r !== null; )
38534
+ for (var s = new _o(null, null), o = s, n = t, r = i; n !== null && r !== null; )
38531
38535
  e(n.key, r.key) < 0 ? (o.next = n, n = n.next) : (o.next = r, r = r.next), o = o.next;
38532
38536
  return n !== null ? o.next = n : r !== null && (o.next = r), s.next;
38533
38537
  }
@@ -38691,7 +38695,7 @@ class Ei {
38691
38695
  // for ordering sweep events in the sweep event queue
38692
38696
  static compare(i, e) {
38693
38697
  const s = Ei.comparePoints(i.point, e.point);
38694
- return s !== 0 ? s : (i.point !== e.point && i.link(e), i.isLeft !== e.isLeft ? i.isLeft ? 1 : -1 : go.compare(i.segment, e.segment));
38698
+ return s !== 0 ? s : (i.point !== e.point && i.link(e), i.isLeft !== e.isLeft ? i.isLeft ? 1 : -1 : mo.compare(i.segment, e.segment));
38695
38699
  }
38696
38700
  // for ordering points in sweep line order
38697
38701
  static comparePoints(i, e) {
@@ -38764,7 +38768,7 @@ class Ei {
38764
38768
  }
38765
38769
  }
38766
38770
  let KF = 0;
38767
- class go {
38771
+ class mo {
38768
38772
  /* This compare() function is for ordering segments in the sweep
38769
38773
  * line tree, and does so according to the following criteria:
38770
38774
  *
@@ -38832,7 +38836,7 @@ class go {
38832
38836
  o = e, n = i, r = -1;
38833
38837
  else throw new Error(`Tried to create degenerate segment at [${i.x}, ${i.y}]`);
38834
38838
  const l = new Ei(o, !0), c = new Ei(n, !1);
38835
- return new go(l, c, [s], [r]);
38839
+ return new mo(l, c, [s], [r]);
38836
38840
  }
38837
38841
  /* When a segment is split, the rightSE is replaced with a new sweep event */
38838
38842
  replaceRightSE(i) {
@@ -38930,7 +38934,7 @@ class go {
38930
38934
  split(i) {
38931
38935
  const e = [], s = i.events !== void 0, o = new Ei(i, !0), n = new Ei(i, !1), r = this.rightSE;
38932
38936
  this.replaceRightSE(n), e.push(n), e.push(o);
38933
- const a = new go(o, r, this.rings.slice(), this.windings.slice());
38937
+ const a = new mo(o, r, this.rings.slice(), this.windings.slice());
38934
38938
  return Ei.comparePoints(a.leftSE.point, a.rightSE.point) > 0 && a.swapEvents(), Ei.comparePoints(this.leftSE.point, this.rightSE.point) > 0 && this.swapEvents(), s && (o.checkForConsuming(), n.checkForConsuming()), e;
38935
38939
  }
38936
38940
  /* Swap which event is left and right */
@@ -38946,7 +38950,7 @@ class go {
38946
38950
  let e = this, s = i;
38947
38951
  for (; e.consumedBy; ) e = e.consumedBy;
38948
38952
  for (; s.consumedBy; ) s = s.consumedBy;
38949
- const o = go.compare(e, s);
38953
+ const o = mo.compare(e, s);
38950
38954
  if (o !== 0) {
38951
38955
  if (o > 0) {
38952
38956
  const n = e;
@@ -39065,9 +39069,9 @@ class hy {
39065
39069
  if (typeof i[r][0] != "number" || typeof i[r][1] != "number")
39066
39070
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
39067
39071
  let l = jh.round(i[r][0], i[r][1]);
39068
- l.x === n.x && l.y === n.y || (this.segments.push(go.fromRing(n, l, this)), l.x < this.bbox.ll.x && (this.bbox.ll.x = l.x), l.y < this.bbox.ll.y && (this.bbox.ll.y = l.y), l.x > this.bbox.ur.x && (this.bbox.ur.x = l.x), l.y > this.bbox.ur.y && (this.bbox.ur.y = l.y), n = l);
39072
+ l.x === n.x && l.y === n.y || (this.segments.push(mo.fromRing(n, l, this)), l.x < this.bbox.ll.x && (this.bbox.ll.x = l.x), l.y < this.bbox.ll.y && (this.bbox.ll.y = l.y), l.x > this.bbox.ur.x && (this.bbox.ur.x = l.x), l.y > this.bbox.ur.y && (this.bbox.ur.y = l.y), n = l);
39069
39073
  }
39070
- (o.x !== n.x || o.y !== n.y) && this.segments.push(go.fromRing(n, o, this));
39074
+ (o.x !== n.x || o.y !== n.y) && this.segments.push(mo.fromRing(n, o, this));
39071
39075
  }
39072
39076
  getSweepEvents() {
39073
39077
  const i = [];
@@ -39278,7 +39282,7 @@ class jF {
39278
39282
  }
39279
39283
  class ez {
39280
39284
  constructor(i) {
39281
- let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : go.compare;
39285
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : mo.compare;
39282
39286
  this.queue = i, this.tree = new gg(e), this.segments = [];
39283
39287
  }
39284
39288
  process(i) {
@@ -39566,7 +39570,7 @@ function fz(t, i, e) {
39566
39570
  if (n !== void 0 && typeof n != "number")
39567
39571
  throw new Error("weight must be a number");
39568
39572
  o = o || "elevation", s = s || "square", n = n || 1;
39569
- var r = wo(t), a;
39573
+ var r = Co(t), a;
39570
39574
  switch (s) {
39571
39575
  case "point":
39572
39576
  case "points":
@@ -39703,7 +39707,7 @@ const Zl = class Zl extends Vi {
39703
39707
  };
39704
39708
  g(Zl, "type", Zl.register("ESCesiumViewer", Iw.type, Zl));
39705
39709
  let fy = Zl;
39706
- const y1 = (t = 0) => new Promise((i) => setTimeout(i, t)), qo = class qo extends k {
39710
+ const y1 = (t = 0) => new Promise((i) => setTimeout(i, t)), Xo = class Xo extends k {
39707
39711
  constructor(e, s) {
39708
39712
  super();
39709
39713
  g(this, "_pickedEvent", this.disposeVar(new q()));
@@ -39720,7 +39724,7 @@ const y1 = (t = 0) => new Promise((i) => setTimeout(i, t)), qo = class qo extend
39720
39724
  return;
39721
39725
  }
39722
39726
  this._geoPolyline = this.disposeVar(new Ue(e, s)), this._customPrimitive = this.disposeVar(new Qe(e, s)), this._geoDivPoi = this.disposeVar(new pt(e, s)), this.ad(this._geoDivPoi.pickedEvent.don((n) => {
39723
- Ao(n) === 0 && this.pickedEvent.emit(n);
39727
+ To(n) === 0 && this.pickedEvent.emit(n);
39724
39728
  })), this._geoPolyline.loop = !0, this.d(this.flyToEvent.don((n) => {
39725
39729
  this._geoPolyline && this._geoPolyline.flyTo(n);
39726
39730
  })), this._customPrimitive.primitiveType = "LINES", this._customPrimitive.renderState = {
@@ -39785,7 +39789,7 @@ void main()
39785
39789
  this.totalArea = 0, this.customPrimitive.position = void 0, this.customPrimitive.attributes = void 0, this.customPrimitive.indexTypedArray = void 0, this.customPrimitive.show = !1;
39786
39790
  return;
39787
39791
  }
39788
- const c = this.interpolationDistance ?? qo.defaults.interpolationDistance, d = this.interpolation ?? qo.defaults.interpolation, u = this.offsetHeight ?? qo.defaults.offsetHeight, p = this.drillDepth ?? qo.defaults.drillDepth, f = [];
39792
+ const c = this.interpolationDistance ?? Xo.defaults.interpolationDistance, d = this.interpolation ?? Xo.defaults.interpolation, u = this.offsetHeight ?? Xo.defaults.offsetHeight, p = this.drillDepth ?? Xo.defaults.drillDepth, f = [];
39789
39793
  if (this.positions)
39790
39794
  for (let Z = 0; Z < this.positions.length; ++Z) {
39791
39795
  const Y = h.Cartesian3.fromDegrees(this.positions[Z][0], this.positions[Z][1], this.positions[Z][2]);
@@ -39898,7 +39902,7 @@ void main()
39898
39902
  return this._geoDivPoi;
39899
39903
  }
39900
39904
  };
39901
- g(qo, "defaults", {
39905
+ g(Xo, "defaults", {
39902
39906
  positions: [],
39903
39907
  totalArea: 0,
39904
39908
  interpolation: !0,
@@ -39908,7 +39912,7 @@ g(qo, "defaults", {
39908
39912
  outlineWidth: 2,
39909
39913
  outlineColor: [1, 1, 1, 1]
39910
39914
  });
39911
- let In = qo;
39915
+ let In = Xo;
39912
39916
  ((t) => {
39913
39917
  t.createDefaultProps = () => ({
39914
39918
  positions: K(void 0),
@@ -41488,14 +41492,14 @@ const hh = class hh extends ei {
41488
41492
  };
41489
41493
  g(hh, "type", hh.register("ESCesiumViewer", la.type, hh));
41490
41494
  let My = hh;
41491
- const Xo = class Xo extends Pi {
41495
+ const Yo = class Yo extends Pi {
41492
41496
  constructor(e) {
41493
41497
  super();
41494
41498
  // 注意这里用的是react,不是reactJson,意思就是一个配置信息可以配置多个不同的PositionEditing
41495
- g(this, "_config", this.disposeVar(G(Xo.defaultConfig)));
41499
+ g(this, "_config", this.disposeVar(G(Yo.defaultConfig)));
41496
41500
  // 放置完成
41497
41501
  g(this, "_overEvent", this.disposeVar(new q()));
41498
- g(this, "_pointerEventFilterFunc", this.disposeVar(G(Xo.defaultPointerEventFilterFunc)));
41502
+ g(this, "_pointerEventFilterFunc", this.disposeVar(G(Yo.defaultPointerEventFilterFunc)));
41499
41503
  g(this, "point");
41500
41504
  g(this, "czmViewer");
41501
41505
  this.czmViewer = e, e.viewer && (this._updateConfig(), this.dispose(this.configChanged.disposableOn(() => this._updateConfig())), this._createPoint(), this._updatePointPosition(), this.dispose(this.positionChanged.disposableOn(() => this._updatePointPosition())), this.ad(new he(this.enabledChanged, () => this.enabled ? new Uz(e, this) : void 0)));
@@ -41537,12 +41541,12 @@ const Xo = class Xo extends Pi {
41537
41541
  this.czmViewer.editingHeightOffset && (e[2] -= this.czmViewer.editingHeightOffset), this.point.position = e, this.point.show = !!this.position;
41538
41542
  }
41539
41543
  };
41540
- g(Xo, "defaultConfig", { clickEnabled: !0, dblClickEnabled: !0 }), g(Xo, "defaultPointerEventFilterFunc", (e) => e.button === 0), g(Xo, "defaults", {
41544
+ g(Yo, "defaultConfig", { clickEnabled: !0, dblClickEnabled: !0 }), g(Yo, "defaultPointerEventFilterFunc", (e) => e.button === 0), g(Yo, "defaults", {
41541
41545
  ...Pi.defaults,
41542
41546
  position: [116.39, 39.9, 0]
41543
41547
  // 经度纬度高度,度为单位
41544
41548
  });
41545
- let Ws = Xo;
41549
+ let Ws = Yo;
41546
41550
  ((t) => {
41547
41551
  t.createDefaultProps = () => ({
41548
41552
  ...Pi.createDefaultProps(),
@@ -41671,7 +41675,7 @@ g(Ti, "defaults", {
41671
41675
  yAxisColor: [0, 1, 0, 1],
41672
41676
  zAxisColor: [0, 0, 1, 1]
41673
41677
  });
41674
- let _o = Ti;
41678
+ let Po = Ti;
41675
41679
  ((t) => {
41676
41680
  t.createDefaultProps = () => ({
41677
41681
  show: !0,
@@ -41688,8 +41692,8 @@ let _o = Ti;
41688
41692
  yAxisShow: !0,
41689
41693
  zAxisShow: !0
41690
41694
  });
41691
- })(_o || (_o = {}));
41692
- ae(_o.prototype, _o.createDefaultProps);
41695
+ })(Po || (Po = {}));
41696
+ ae(Po.prototype, Po.createDefaultProps);
41693
41697
  const no = class no extends Ci {
41694
41698
  constructor(e) {
41695
41699
  super();
@@ -41706,7 +41710,7 @@ const no = class no extends Ci {
41706
41710
  targetHeading: this.disposeVar(G(0))
41707
41711
  });
41708
41712
  g(this, "_createCoordinates", (e) => {
41709
- const s = this.ad(new _o(e));
41713
+ const s = this.ad(new Po(e));
41710
41714
  this.dispose(this._opInfo.step.changed.disposableOn(() => {
41711
41715
  Ry(s, this._opInfo.constraintMode.value, this._opInfo.step.value);
41712
41716
  }));
@@ -41732,7 +41736,7 @@ const no = class no extends Ci {
41732
41736
  return s;
41733
41737
  });
41734
41738
  g(this, "_createOriginCoordinates", (e) => {
41735
- const s = this.ad(new _o(e));
41739
+ const s = this.ad(new Po(e));
41736
41740
  s.xAxisColor = [1, 0, 0, 0.5], s.yAxisColor = [0, 1, 0, 0.5], s.zAxisColor = [0, 0, 1, 0.5];
41737
41741
  const { originPosition: o, originHeading: n, originDimensions: r } = this._opInfo;
41738
41742
  {
@@ -41984,7 +41988,7 @@ g(no, "defaults", {
41984
41988
  yAxisColor: [0, 1, 0, 1],
41985
41989
  zAxisColor: [0, 0, 1, 1]
41986
41990
  });
41987
- let Po = no;
41991
+ let xo = no;
41988
41992
  ((t) => {
41989
41993
  t.createDefaultProps = () => ({
41990
41994
  ...Ci.createDefaultProps(),
@@ -42002,8 +42006,8 @@ let Po = no;
42002
42006
  yAxisShow: !0,
42003
42007
  zAxisShow: !0
42004
42008
  });
42005
- })(Po || (Po = {}));
42006
- ae(Po.prototype, Po.createDefaultProps);
42009
+ })(xo || (xo = {}));
42010
+ ae(xo.prototype, xo.createDefaultProps);
42007
42011
  function Ry(t, i, e) {
42008
42012
  t.xAxisColor = [1, 0, 0, 0.99], t.yAxisColor = [0, 1, 0, 0.99], t.zAxisColor = [0, 0, 1, 0.99], i === "x" ? t.xAxisColor = e ? [1, 1, 0, 0.8] : [1, 1, 0, 0.99] : i === "y" ? t.yAxisColor = e ? [1, 1, 0, 0.8] : [1, 1, 0, 0.99] : i === "z" ? t.zAxisColor = e ? [1, 1, 0, 0.8] : [1, 1, 0, 0.99] : i === "xy" && (t.xAxisColor = e ? [1, 1, 0, 0.8] : [1, 1, 0, 0.99], t.yAxisColor = e ? [1, 1, 0, 0.8] : [1, 1, 0, 0.99]);
42009
42013
  }
@@ -42440,7 +42444,7 @@ class Zz extends Gd {
42440
42444
  var d;
42441
42445
  const { czmViewer: e } = this.owner, s = (d = e.viewer) == null ? void 0 : d.scene;
42442
42446
  if (!this.owner.position || !this.owner.cartesian) return;
42443
- const o = bo(s, this.owner.cartesian, this.owner.pixelSize);
42447
+ const o = So(s, this.owner.cartesian, this.owner.pixelSize);
42444
42448
  if (!o) return;
42445
42449
  const { offsetX: n, offsetY: r } = i, a = [n, r], l = i.pointerId, c = {
42446
42450
  currentPlaneType: "none",
@@ -42460,7 +42464,7 @@ function tp(t, i, e) {
42460
42464
  let n = Math.acos(h.Cartesian3.dot(t, i)) * 180 / Math.PI;
42461
42465
  return n = o > 0 ? n : -n, n;
42462
42466
  }
42463
- const Yo = class Yo extends Ci {
42467
+ const Zo = class Zo extends Ci {
42464
42468
  constructor(e) {
42465
42469
  super();
42466
42470
  g(this, "_hoveredPlaneType", this.disposeVar(G("none")));
@@ -42556,26 +42560,26 @@ const Yo = class Yo extends Ci {
42556
42560
  this.dispose(P([o, "position"], [this, "position"])), this.dispose(P([o, "pixelSize"], [this, "pixelSize"])), this.dispose(P([o, "debug"], [this, "debug"])), this.dispose(P([o, "rotation"], [this, "rotation"]));
42557
42561
  {
42558
42562
  const n = () => {
42559
- o.selfRotation = Yo.rotationFuncs[s](this.selfRotation), o.circleRotation = this.selfRotation[Yo.rotationNum[s]];
42563
+ o.selfRotation = Zo.rotationFuncs[s](this.selfRotation), o.circleRotation = this.selfRotation[Zo.rotationNum[s]];
42560
42564
  };
42561
42565
  n(), this.dispose(this.selfRotationChanged.disposableOn(n));
42562
42566
  }
42563
42567
  {
42564
42568
  const n = () => {
42565
42569
  const r = this.movingPlaneType === s, a = this.hoveredPlaneType === s, c = [0, 0, 0, r || a ? 1 : 0.8];
42566
- c[Yo.rotationNum[s]] = 1, o.color = c;
42570
+ c[Zo.rotationNum[s]] = 1, o.color = c;
42567
42571
  };
42568
42572
  n(), this.dispose(this.movingPlaneTypeChanged.disposableOn(n)), this.dispose(this.hoveredPlaneTypeChanged.disposableOn(n));
42569
42573
  }
42570
42574
  return o;
42571
42575
  }
42572
42576
  };
42573
- g(Yo, "rotationNum", { heading: 0, pitch: 1, roll: 2 }), g(Yo, "rotationFuncs", {
42577
+ g(Zo, "rotationNum", { heading: 0, pitch: 1, roll: 2 }), g(Zo, "rotationFuncs", {
42574
42578
  heading: ([e, s, o]) => [0, 0, 0],
42575
42579
  pitch: ([e, s, o]) => [e, 0, -90],
42576
42580
  roll: ([e, s, o]) => [e, s + 90, 0]
42577
42581
  });
42578
- let ds = Yo;
42582
+ let ds = Zo;
42579
42583
  ((t) => {
42580
42584
  t.createDefaultProps = () => ({
42581
42585
  ...Ci.createDefaultProps(),
@@ -42587,12 +42591,12 @@ let ds = Yo;
42587
42591
  });
42588
42592
  })(ds || (ds = {}));
42589
42593
  ae(ds.prototype, ds.createDefaultProps);
42590
- const Zo = class Zo extends k {
42594
+ const Qo = class Qo extends k {
42591
42595
  get startPosition() {
42592
42596
  return this.positions && this.positions[0];
42593
42597
  }
42594
42598
  set startPosition(i) {
42595
- this.positions = [i ?? Zo.defaults.positions[0], this.stopPosition ?? Zo.defaults.positions[1]];
42599
+ this.positions = [i ?? Qo.defaults.positions[0], this.stopPosition ?? Qo.defaults.positions[1]];
42596
42600
  }
42597
42601
  get startPositionChanged() {
42598
42602
  return this.positionsChanged;
@@ -42601,7 +42605,7 @@ const Zo = class Zo extends k {
42601
42605
  return this.positions && this.positions[1];
42602
42606
  }
42603
42607
  set stopPosition(i) {
42604
- this.positions = [this.startPosition ?? Zo.defaults.positions[0], i ?? Zo.defaults.positions[1]];
42608
+ this.positions = [this.startPosition ?? Qo.defaults.positions[0], i ?? Qo.defaults.positions[1]];
42605
42609
  }
42606
42610
  get stopPositionChanged() {
42607
42611
  return this.positionsChanged;
@@ -42638,10 +42642,10 @@ const Zo = class Zo extends k {
42638
42642
  }
42639
42643
  }
42640
42644
  };
42641
- g(Zo, "defaults", {
42645
+ g(Qo, "defaults", {
42642
42646
  positions: [[0, 0, 0], [0, 0, 1e6]]
42643
42647
  });
42644
- let Mn = Zo;
42648
+ let Mn = Qo;
42645
42649
  ((t) => {
42646
42650
  t.createDefaultProps = () => ({
42647
42651
  show: !0,
@@ -42652,7 +42656,7 @@ let Mn = Zo;
42652
42656
  });
42653
42657
  })(Mn || (Mn = {}));
42654
42658
  ae(Mn.prototype, Mn.createDefaultProps);
42655
- class xo extends Ci {
42659
+ class bo extends Ci {
42656
42660
  constructor(e) {
42657
42661
  super();
42658
42662
  g(this, "_lastPosition");
@@ -42728,7 +42732,7 @@ class xo extends Ci {
42728
42732
  {
42729
42733
  const n = () => {
42730
42734
  if (!this._scaleAxis) return;
42731
- const { position: a = xo.defaults.position } = this, { zAxis: l, yAxis: c, xAxis: d } = this._scaleAxis;
42735
+ const { position: a = bo.defaults.position } = this, { zAxis: l, yAxis: c, xAxis: d } = this._scaleAxis;
42732
42736
  l.startPosition = c.startPosition = d.startPosition = a;
42733
42737
  const [u, p, f] = a;
42734
42738
  l.stopPosition = [u, p, f + this._opInfo.originDimensions.value[2]];
@@ -42763,7 +42767,7 @@ class xo extends Ci {
42763
42767
  }
42764
42768
  {
42765
42769
  const n = this._pickingXYProcessing(e), r = this._pickingZProcessing(e), a = () => {
42766
- const p = [...this.position ?? xo.defaults.position];
42770
+ const p = [...this.position ?? bo.defaults.position];
42767
42771
  e.editingHeightOffset && (p[2] -= e.editingHeightOffset), this._opInfo.targetPosition.value = this._opInfo.originPosition.value = p;
42768
42772
  }, l = {
42769
42773
  constraintMode: "none",
@@ -42828,8 +42832,8 @@ class xo extends Ci {
42828
42832
  axisPixelSize: 100,
42829
42833
  axisSnapPixelSize: 5
42830
42834
  });
42831
- })(xo || (xo = {}));
42832
- ae(xo.prototype, xo.createDefaultProps);
42835
+ })(bo || (bo = {}));
42836
+ ae(bo.prototype, bo.createDefaultProps);
42833
42837
  const ro = class ro extends Pi {
42834
42838
  constructor(e) {
42835
42839
  super();
@@ -43235,7 +43239,7 @@ class Be extends Ni {
43235
43239
  return new iL(this.editingPoints.get(0), this);
43236
43240
  }));
43237
43241
  }
43238
- const s = this.translationEditing = this.disposeVar(new Po(e));
43242
+ const s = this.translationEditing = this.disposeVar(new xo(e));
43239
43243
  s.enabled = !1;
43240
43244
  const o = async (n, r) => {
43241
43245
  if ((this.debug ?? Be.defaults.debug) && console.log("进入Modifying修改状态"), this.status = "Modifying", r = await n.promise(vi(n, async (a) => {
@@ -43390,7 +43394,7 @@ class tc extends gt {
43390
43394
  const i = this.startPosition;
43391
43395
  if (!i)
43392
43396
  return;
43393
- const e = this.distance, s = this.rotation, o = e * Math.cos(s[1] * Math.PI / 180), n = Qo(i, o, s[0]);
43397
+ const e = this.distance, s = this.rotation, o = e * Math.cos(s[1] * Math.PI / 180), n = Ko(i, o, s[0]);
43394
43398
  if (!n) {
43395
43399
  this.positions = [i];
43396
43400
  return;
@@ -43438,7 +43442,7 @@ class Xr extends Be {
43438
43442
  const i = this.startPosition;
43439
43443
  if (!i)
43440
43444
  return;
43441
- const e = this.distance, s = this.rotation, o = e * Math.cos(s[1] * Math.PI / 180), n = Qo(i, o, s[0]);
43445
+ const e = this.distance, s = this.rotation, o = e * Math.cos(s[1] * Math.PI / 180), n = Ko(i, o, s[0]);
43442
43446
  if (!n) {
43443
43447
  this.positions = [i];
43444
43448
  return;
@@ -43619,7 +43623,7 @@ let ky = dh;
43619
43623
  const uh = class uh extends ti {
43620
43624
  constructor(i, e) {
43621
43625
  super(i, e, !0);
43622
- const s = this.currentEditing = this.ad(new xo(e));
43626
+ const s = this.currentEditing = this.ad(new bo(e));
43623
43627
  if (this.ad(s.enabledChanged.don((o) => {
43624
43628
  !o && this.ad(Jt(() => {
43625
43629
  this.destroy();
@@ -43636,7 +43640,7 @@ let Fy = uh;
43636
43640
  const ph = class ph extends ti {
43637
43641
  constructor(i, e) {
43638
43642
  super(Array.isArray(i) ? i[0] : i, e, !0);
43639
- const s = this.currentEditing = this.ad(new Po(e));
43643
+ const s = this.currentEditing = this.ad(new xo(e));
43640
43644
  if (this.ad(s.enabledChanged.don((o) => {
43641
43645
  !o && this.ad(Jt(() => {
43642
43646
  this.destroy();
@@ -43709,7 +43713,7 @@ const fh = class fh extends ti {
43709
43713
  else {
43710
43714
  const n = Ve(o.position);
43711
43715
  if (h.Cartesian3.ZERO.equals(n) || !e.viewer) return;
43712
- s.distance = bo(e.viewer.scene, n, 100) ?? 1;
43716
+ s.distance = So(e.viewer.scene, n, 100) ?? 1;
43713
43717
  }
43714
43718
  } else if (Reflect.has(i, "points")) {
43715
43719
  const o = i, n = () => s.positions = o.points ?? [];
@@ -43736,7 +43740,7 @@ const gh = class gh extends ti {
43736
43740
  else {
43737
43741
  const r = Ve(n.position);
43738
43742
  if (h.Cartesian3.ZERO.equals(r) || !e.viewer) return;
43739
- s.distance = bo(e.viewer.scene, r, 100) ?? 1;
43743
+ s.distance = So(e.viewer.scene, r, 100) ?? 1;
43740
43744
  }
43741
43745
  } else if (Reflect.has(i, "points")) {
43742
43746
  const n = i;
@@ -46015,7 +46019,7 @@ class w4 extends k {
46015
46019
  let r = e.size;
46016
46020
  for (let a = 0; a < n.length; a++)
46017
46021
  new Map([...o[n[a]]].sort((c, d) => Number(d[1]) - Number(c[1]))).forEach((c, d) => {
46018
- d instanceof pt && d.czmDivPoi && (d.czmDivPoi.zOrder = r), d instanceof vo && d.canvasObj && (d.canvasObj.czmCanvasPoi.zOrder = r), r--;
46022
+ d instanceof pt && d.czmDivPoi && (d.czmDivPoi.zOrder = r), d instanceof yo && d.canvasObj && (d.canvasObj.czmCanvasPoi.zOrder = r), r--;
46019
46023
  });
46020
46024
  }
46021
46025
  }
@@ -46826,7 +46830,7 @@ function Xy(t) {
46826
46830
  return { horizontalOrigin: i, verticalOrigin: e };
46827
46831
  }
46828
46832
  async function z4(t, i) {
46829
- const { width: e, height: s } = await Jo(t, !1), o = {};
46833
+ const { width: e, height: s } = await jo(t, !1), o = {};
46830
46834
  for (const n in i)
46831
46835
  if (Object.prototype.hasOwnProperty.call(i, n)) {
46832
46836
  const r = i[n];
@@ -47393,7 +47397,7 @@ class H4 extends k {
47393
47397
  billboard: o,
47394
47398
  rectangle: this.rectangleCollection
47395
47399
  // canvas: this.canvasCollection,
47396
- }, this.ad(jo([
47400
+ }, this.ad(fo([
47397
47401
  this.czmViewer.cameraChanged,
47398
47402
  this.refreshEvent
47399
47403
  ], () => {
@@ -47458,7 +47462,7 @@ class $4 extends k {
47458
47462
  g(this, "_screenManager");
47459
47463
  g(this, "_vectorTIlesManager");
47460
47464
  this._viewer = e, this._czmViewer = s, this._imageriesManager = this.dv(new b4(this.viewer)), this._terrainManager = this.dv(new y4(this.viewer)), this._labelManager = this.dv(new w4(this.viewer)), this._poiContext = this.disposeVar(new $S(this._viewer)), this._cursorPositionInfo = this.disposeVar(new T4(this._viewer)), this.ad(s.viewerChanged.don(() => {
47461
- this._pickingManager = this.dv(new S4(s)), this._screenManager = this.ad(new H4(s)), this._vectorTIlesManager = this.ad(new O4(s.viewer)), this.ad(jo(this.czmViewer.textAvoidanceChanged, () => {
47465
+ this._pickingManager = this.dv(new S4(s)), this._screenManager = this.ad(new H4(s)), this._vectorTIlesManager = this.ad(new O4(s.viewer)), this.ad(fo(this.czmViewer.textAvoidanceChanged, () => {
47462
47466
  this.screenManager.setRules({
47463
47467
  avoidance: {
47464
47468
  enabled: this.czmViewer.textAvoidance
@@ -50526,7 +50530,7 @@ function JO(t, i) {
50526
50530
  return h.Matrix4.clone(h.Matrix4.IDENTITY, i);
50527
50531
  }
50528
50532
  }
50529
- const { combine: ZB } = h, { ShaderDestination: Lo } = h, O1 = {
50533
+ const { combine: ZB } = h, { ShaderDestination: Bo } = h, O1 = {
50530
50534
  name: "FlattenedPipelineStage"
50531
50535
  // Helps with debugging
50532
50536
  };
@@ -50537,31 +50541,31 @@ O1.process = function(t, i, e) {
50537
50541
  "XBSJ_FLATTERN",
50538
50542
  void 0,
50539
50543
  // ShaderDestination.FRAGMENT
50540
- Lo.BOTH
50544
+ Bo.BOTH
50541
50545
  ), s.addUniform(
50542
50546
  "sampler2D",
50543
50547
  "u_flattenedPolygonTexture",
50544
- Lo.BOTH
50548
+ Bo.BOTH
50545
50549
  ), s.addUniform(
50546
50550
  "vec4",
50547
50551
  "u_flattenedBound",
50548
- Lo.BOTH
50552
+ Bo.BOTH
50549
50553
  ), s.addUniform(
50550
50554
  "bool",
50551
50555
  "u_flattened",
50552
- Lo.BOTH
50556
+ Bo.BOTH
50553
50557
  ), s.addUniform(
50554
50558
  "mat4",
50555
50559
  "u_inverseModelElevationMatrix",
50556
- Lo.BOTH
50560
+ Bo.BOTH
50557
50561
  ), s.addUniform(
50558
50562
  "mat4",
50559
50563
  "u_inverseElevationModelMatrix",
50560
- Lo.BOTH
50564
+ Bo.BOTH
50561
50565
  ), s.addUniform(
50562
50566
  "bool",
50563
50567
  "u_flattenDiscard",
50564
- Lo.BOTH
50568
+ Bo.BOTH
50565
50569
  );
50566
50570
  const o = {
50567
50571
  // u_flattenedTexture: function () {
@@ -51237,7 +51241,7 @@ const Pt = class Pt extends pp {
51237
51241
  new ce([this.viewerLegend.legend, "lengthInPixels"], "lengthInPixels", 100, !0, !1),
51238
51242
  new ce([this.viewerLegend.legend, "computedLengthInPixels"], "computedLengthInPixels", void 0, !0, !0),
51239
51243
  new ce([this.viewerLegend.legend, "computedLengthInMeters"], "computedLengthInMeters", void 0, !0, !0),
51240
- new Ko([this.viewerLegend.legend, "computedLengthInStr"], "computedLengthInStr", void 0, !0, !0),
51244
+ new Jo([this.viewerLegend.legend, "computedLengthInStr"], "computedLengthInStr", void 0, !0, !0),
51241
51245
  new _e([], "场景", "场景(Scene)"),
51242
51246
  new ce([this, "sceneSplitPosition"], "内部视口分割比例", s.sceneSplitPosition, !0),
51243
51247
  new _e([], "Globe", "Globe"),
@@ -51252,7 +51256,7 @@ const Pt = class Pt extends pp {
51252
51256
  new tr([this, "sceneGlobeBaseColor"]),
51253
51257
  new ao([this, "sceneGlobeCartographicLimitRectangle"]),
51254
51258
  new Yt([this, "sceneGlobeClippingPlanes"]),
51255
- new Ko([this, "sceneGlobeClippingPlanesId"]),
51259
+ new Jo([this, "sceneGlobeClippingPlanesId"]),
51256
51260
  new Yt([this, "sceneGlobeClippingPolygons"]),
51257
51261
  new fx([this, "sceneGlobeClippingPolygonsId"]),
51258
51262
  new _e([], "underground", "underground"),
@@ -51270,14 +51274,14 @@ const Pt = class Pt extends pp {
51270
51274
  new ce([this, "sceneSunGlowFactor"], "sceneSunGlowFactor", s.sceneSunGlowFactor, !0),
51271
51275
  new _e([], "Moon", "Moon"),
51272
51276
  new ue([this, "moon"], "moon", s.moon, !0),
51273
- new Ko([this, "sceneMoonTextureUrl"], "sceneMoonTextureUrl", s.sceneMoonTextureUrl, !0),
51277
+ new Jo([this, "sceneMoonTextureUrl"], "sceneMoonTextureUrl", s.sceneMoonTextureUrl, !0),
51274
51278
  new ue([this, "sceneMoonOnlySunLighting"], "sceneMoonOnlySunLighting", s.sceneMoonOnlySunLighting, !0),
51275
51279
  new _e([], "SkyBox", "SkyBox"),
51276
51280
  new ue([this, "sceneSkyBoxShow"]),
51277
51281
  new Yt([this, "sceneSkyBoxSources"], "sceneSkyBoxSources", s.sceneSkyBoxSources, void 0, !0),
51278
51282
  new _e([], "Background", "Background"),
51279
51283
  new ue([this, "xbsjUseBackground"]),
51280
- new Ko([this, "xbsjBackgroundImageUri"]),
51284
+ new Jo([this, "xbsjBackgroundImageUri"]),
51281
51285
  new tr([this, "xbsjBackgroundColor"]),
51282
51286
  new _e([], "SkyAtmosphere", "SkyAtmosphere"),
51283
51287
  new Yt([this, "xbsjLocalBoxSources"], "xbsjLocalBoxSources", s.xbsjLocalBoxSources, void 0, !0),
@@ -51389,7 +51393,7 @@ let qe = Pt;
51389
51393
  ae(qe.prototype, qe.createDefaultProps);
51390
51394
  let hp;
51391
51395
  try {
51392
- const t = "earthsdk3-cesium", i = "3.6.3", e = "2025-12-04T02:15:04.000Z", s = "北京西部世界科技有限公司", o = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", n = "961ae990522bc6051fa861e8065653128ba328ae", a = ((Date.now() - 1764814504e3) / 36e5).toFixed(1), l = `%c🌏 ${t}%c ${i}.${n.slice(0, 8)}.${e} (距今${a}个小时)
51396
+ const t = "earthsdk3-cesium", i = "3.6.5", e = "2025-12-22T03:45:39.000Z", s = "北京西部世界科技有限公司", o = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", n = "aa1f9890101d404875e17142255a5b00304f8f89", a = ((Date.now() - 1766375139e3) / 36e5).toFixed(1), l = `%c🌏 ${t}%c ${i}.${n.slice(0, 8)}.${e} (距今${a}个小时)
51393
51397
  %c${o ? o + `
51394
51398
  ` : ""}当前网站正在使用${t},此软件版权归${s}所有
51395
51399
  `;
@@ -51403,7 +51407,7 @@ try {
51403
51407
  },
51404
51408
  // @ts-ignore
51405
51409
  get gituri() {
51406
- return GITURI_ && GITURI_.replace("${commitId}", "961ae990522bc6051fa861e8065653128ba328ae");
51410
+ return GITURI_ && GITURI_.replace("${commitId}", "aa1f9890101d404875e17142255a5b00304f8f89");
51407
51411
  },
51408
51412
  // @ts-ignore
51409
51413
  get info() {
@@ -51411,7 +51415,7 @@ try {
51411
51415
  },
51412
51416
  // @ts-ignore
51413
51417
  get date() {
51414
- return "2025-12-04T02:15:04.000Z";
51418
+ return "2025-12-22T03:45:39.000Z";
51415
51419
  },
51416
51420
  // @ts-ignore
51417
51421
  get author() {
@@ -51419,7 +51423,7 @@ try {
51419
51423
  },
51420
51424
  // @ts-ignore
51421
51425
  get version() {
51422
- return "3.6.3";
51426
+ return "3.6.5";
51423
51427
  },
51424
51428
  // @ts-ignore
51425
51429
  get name() {
@@ -51427,7 +51431,7 @@ try {
51427
51431
  },
51428
51432
  // @ts-ignore
51429
51433
  get commitId() {
51430
- return "961ae990522bc6051fa861e8065653128ba328ae";
51434
+ return "aa1f9890101d404875e17142255a5b00304f8f89";
51431
51435
  },
51432
51436
  print() {
51433
51437
  console.info(
@@ -51574,7 +51578,7 @@ export {
51574
51578
  zv as CzmESWidget,
51575
51579
  wn as CzmFlattenedPlane,
51576
51580
  Br as CzmGlobeMaterial,
51577
- yo as CzmImageModel,
51581
+ wo as CzmImageModel,
51578
51582
  mn as CzmImagery,
51579
51583
  Wt as CzmModelPrimitive,
51580
51584
  zs as CzmParticleSystemPrimitive,
@@ -51619,7 +51623,7 @@ export {
51619
51623
  Hp as ESSignalTransmission,
51620
51624
  ks as GeoCanvasImagePoi,
51621
51625
  kh as GeoCanvasMenuPoi,
51622
- vo as GeoCanvasPoi,
51626
+ yo as GeoCanvasPoi,
51623
51627
  ln as GeoCanvasPointPoi,
51624
51628
  pt as GeoCustomDivPoi,
51625
51629
  Ir as GeoDivSwitchPoi,
@@ -51642,7 +51646,7 @@ export {
51642
51646
  Eh as ResourceHandler,
51643
51647
  ds as RotationEditing,
51644
51648
  ky as RotationEditingWrapper,
51645
- xo as ScaleEditing,
51649
+ bo as ScaleEditing,
51646
51650
  Fy as ScaleEditingWrapper,
51647
51651
  aL as ScatterAppendEditing,
51648
51652
  Gy as ScatterAppendEditingWrapper,
@@ -51656,14 +51660,14 @@ export {
51656
51660
  RR as TextLabel3D,
51657
51661
  aI as ToGCJ02WebMercatorTilingScheme,
51658
51662
  lI as ToWGS84WebMercatorTilingScheme,
51659
- Po as TranslationEditing,
51663
+ xo as TranslationEditing,
51660
51664
  af as TranslationEditingWrapper,
51661
51665
  $4 as ViewerExtensions,
51662
51666
  ic as VisibilityAppendEditing,
51663
51667
  Wy as VisibilityAppendEditingWrapper,
51664
51668
  sc as VisibilityModifyEditing,
51665
51669
  Hy as VisibilityModifyEditingWrapper,
51666
- Oo as Widget2D,
51670
+ Vo as Widget2D,
51667
51671
  yp as Widget3D,
51668
51672
  Pf as WinPosFromCartesian,
51669
51673
  Vs as XbsjGroundPolylinePrimitive,
@@ -51688,7 +51692,7 @@ export {
51688
51692
  Wx as createMaterialFromJson,
51689
51693
  vs as createMaterialRef,
51690
51694
  cL as createMoveObjectsProcessing,
51691
- So as createPolygonHierarchy,
51695
+ Ao as createPolygonHierarchy,
51692
51696
  wr as createTexture,
51693
51697
  Jw as createTextureFromImage,
51694
51698
  ns as createTilingSchema,
@@ -51737,19 +51741,19 @@ export {
51737
51741
  Zw as getFuncFromStr,
51738
51742
  eS as getGroundTerrainDistance,
51739
51743
  jb as getGroundTerrainDistances,
51740
- Jo as getImageInfo,
51744
+ jo as getImageInfo,
51741
51745
  Pb as getIncludedAngleFromPositions,
51742
51746
  gb as getInverseModelMatrix,
51743
51747
  Gb as getMinMaxPosition,
51744
51748
  Gw as getModelMatrixFromPosition,
51745
51749
  jr as getObjectProperties,
51746
- Ao as getPointerEventButton,
51750
+ To as getPointerEventButton,
51747
51751
  Uw as getPolygonPointsFromHierarchy,
51748
51752
  Rw as getQuaternion,
51749
51753
  Ax as getQuaternionWithXForwardZUp,
51750
51754
  fp as getQuaternionWithYForwardZUp,
51751
51755
  Ui as getResource,
51752
- bo as getSceneScaleForScreenPixelSize,
51756
+ So as getSceneScaleForScreenPixelSize,
51753
51757
  yS as getSharedTexturePool,
51754
51758
  zO as getTilingSchemeStr,
51755
51759
  Ct as getViewerExtensions,
@@ -51759,7 +51763,7 @@ export {
51759
51763
  JB as hackCzmModel3DTileContent,
51760
51764
  QB as hackModel,
51761
51765
  jB as hackModelSceneGraph,
51762
- Bo as localPositionToPosition,
51766
+ Oo as localPositionToPosition,
51763
51767
  sn as localPositionsToPositions,
51764
51768
  bO as merge3dTilesServer,
51765
51769
  _f as pickHeightPosition,
@@ -51793,7 +51797,7 @@ export {
51793
51797
  en as toNearFarScalar,
51794
51798
  mO as toQuaternion,
51795
51799
  ht as toRectangle,
51796
- Fo as toRgbaString,
51800
+ zo as toRgbaString,
51797
51801
  $w as updateEnvironmentMapManager,
51798
51802
  kw as updateMaterialFromJson,
51799
51803
  Mf as waterType,