@vcmap/ui 6.1.5 → 6.1.7

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.
@@ -1,8 +1,8 @@
1
1
  var om = Object.defineProperty;
2
2
  var lm = (i, t, e) => t in i ? om(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var h = (i, t, e) => lm(i, typeof t != "symbol" ? t + "" : t, e);
4
- import { ol$proj$getTransform as Xe, ol$proj$get as hm, ol$proj$equivalent as cm, ol$proj$proj4$register as vc, ol$sphere$getDistance as yd, ol$geom$Circle as Ft, ol$geom$GeometryCollection as us, ol$style$Style as Q, ol$style$Fill as lt, ol$style$Stroke as Ye, ol$style$Text as Wn, ol$style$Icon as ii, ol$style$Circle as rs, ol$style$RegularShape as wr, ol$has$DEVICE_PIXEL_RATIO as um, ol$style$Image as _d, ol$Feature as he, ol$extent$containsCoordinate as qa, ol$Map as dm, ol$interaction$defaults as fm, ol$Observable$unByKey as me, ol$View as Eh, ol$easing$inAndOut as gm, ol$extent$containsXY as vd, ol$extent$boundingExtent as un, ol$layer$Vector as Vo, ol$geom$SimpleGeometry as mm, ol$geom$Point as Ne, ol$geom$LineString as bt, ol$geom$Polygon as Ze, ol$geom$MultiPoint as zo, ol$geom$MultiLineString as Yn, ol$geom$MultiPolygon as Ps, ol$sphere$offset as Na, ol$geom$Polygon$fromCircle as wd, ol$geom$Polygon$circular as pm, ol$colorlike$asColorLike as ym, ol$ImageState as _a, Feature as Ge, ol$extent$getBottomLeft as Oh, ol$extent$getBottomRight as Sd, ol$extent$getTopRight as bd, ol$extent$getTopLeft as Bo, ol$proj$transform as Ms, ol$source$Vector as cr, ol$tilegrid$createXYZ as Cd, ol$TileState as Md, ol$proj$Projection as _m, ol$tilegrid$TileGrid as xd, ol$source$TileImage as vm, ol$layer$Tile as Sr, ol$extent$buffer as Ed, ol$extent$getCenter as Ls, ol$geom$Polygon$fromExtent as Od, ol$proj$transformExtent as wc, ol$format$GeoJSON as Pd, ol$extent$getWidth as Wl, ol$source$TileWMS as wm, ol$source$ImageWMS as Sm, ol$format$GML2 as Yl, ol$format$WFS as Xl, ol$format$GML3 as Zl, ol$extent$createEmpty as ur, ol$structs$LRUCache as bm, ol$extent$createOrUpdateFromCoordinate as Cm, ol$render$canvas$Immediate as Mm, ol$geom$flat$transform$transform2D as xm, ol$extent$intersects as Ld, ol$geom$SimpleGeometry$transformGeom2D as Em, ol$transform$scale as Om, ol$transform$create as Pm, ol$transform$compose as Lm, ol$extent$extend as dn, ol$source$OSM as Im, ol$layer$Image as Id, ol$source$ImageStatic as Tm, ol$source$TileDebug as Am, ol$source$XYZ as Dm, ol$source$VectorTile as Nm, ol$layer$VectorTile as Rm, ol$tilegrid$WMTS as Fm, ol$source$WMTS as Gm, ol$format$MVT as km, ol$expr$cpu$buildExpression as Vm, ol$expr$expression$newParsingContext as zm, ol$expr$cpu$newEvaluationContext as Bm, ol$expr$expression$BooleanType as Td, ol$expr$expression$StringType as Sc, ol$expr$expression$NoneType as Hm, ol$source$Cluster as jm, ol$coordinate$equals as $m, ol$interaction$DragPan as Um, ol$extent$isEmpty as Jl, ol$geom$LinearRing as qm } from "./ol-0f71b1f1.js";
5
- import { Cartesian3 as _, Math as E, Cartographic as se, Cesium3DTileStyle as Wa, Cesium3DTileColorBlendMode as Ra, Color as X, TrustedServers as Mi, VerticalOrigin as zt, Cesium3DTileFeature as ds, Cesium3DTilePointFeature as fs, Entity as gs, Material as jt, Cartesian2 as H, ClippingPolygon as Ph, Rectangle as dt, defined as bc, ClippingPolygonCollection as Ad, Matrix3 as ie, Quaternion as Ya, Primitive as At, GeometryInstance as st, FrustumGeometry as Wm, ColorGeometryInstanceAttribute as fn, PerInstanceColorAppearance as dr, FrustumOutlineGeometry as Ym, destroyObject as Xm, EasingFunction as Zm, ConditionsExpression as Jm, Expression as Km, HeightReference as Z, ClassificationType as xs, NearFarScalar as Qr, SplitDirection as Oe, sampleTerrainMostDetailed as br, PolygonOutlineGeometry as Qm, GroundPolylineGeometry as Lh, PolylineGeometry as Es, PolygonHierarchy as Kl, PolygonGeometry as ep, CircleOutlineGeometry as tp, CircleGeometry as ip, HeadingPitchRoll as Vi, Matrix4 as G, Transforms as zi, Model as Ih, MaterialAppearance as Xa, ModelAnimationLoop as sp, CylinderOutlineGeometry as rp, CylinderGeometry as Dd, EllipsoidOutlineGeometry as np, EllipsoidGeometry as Nd, SphereOutlineGeometry as ap, SphereGeometry as op, BoxOutlineGeometry as lp, BoxGeometry as Th, LabelStyle as al, HorizontalOrigin as ol, WallGeometry as hp, WallOutlineGeometry as cp, ArcType as Za, CatmullRomSpline as Rd, ClassificationPrimitive as Ho, SceneTransforms as up, ShadowMode as jo, GroundPrimitive as Fd, PolylineMaterialAppearance as Ja, GroundPolylinePrimitive as Gd, PrimitiveCollection as si, BillboardCollection as dp, LabelCollection as fp, Billboard as kd, Resource as gp, CesiumTerrainProvider as Cc, Cartesian4 as Mc, sampleTerrain as mp, Ellipsoid as Ql, Clock as pp, DataSourceClock as yp, JulianDate as Vd, KeyboardEventModifier as ll, ScreenSpaceEventType as Xi, CesiumWidget as _p, DataSourceDisplay as xc, DataSourceCollection as Ec, RequestScheduler as vp, ScreenSpaceEventHandler as wp, Ray as zd, Camera as Ah, ImageryLayer as Vs, CustomDataSource as Dh, BoundingSphere as Bd, Intersect as Fa, BillboardVisualizer as Sp, LabelVisualizer as bp, PointVisualizer as Cp, WebMercatorTilingScheme as Nh, GeographicTilingScheme as Hd, Cesium3DTileset as Is, Composite3DTileContent as Mp, HeadingPitchRange as xp, BoundingSphereState as Oc, OpenStreetMapImageryProvider as Ep, SingleTileImageryProvider as Op, TileMapServiceImageryProvider as Pp, Event as eh, WebMapServiceImageryProvider as Lp, WebMapTileServiceImageryProvider as Ip, TileBoundingRegion as Tp, QuadtreeTileProvider as Ap, QuadtreeTileLoadState as va, Visibility as Tr, EntityCollection as Dp, CzmlDataSource as Np, QuadtreePrimitive as Rp, Plane as ge, ClippingPlaneCollection as gn, ClippingPlane as mn, ConstantProperty as Fp, Globe as Gp, PerspectiveFrustum as kp, LinearSpline as Vp, QuaternionSpline as zp, IntersectionTests as Bp, Matrix2 as Pc, CoplanarPolygonGeometry as Hp } from "./cesium-0a40465b.js";
4
+ import { ol$proj$getTransform as Xe, ol$proj$get as hm, ol$proj$equivalent as cm, ol$proj$proj4$register as vc, ol$sphere$getDistance as yd, ol$geom$Circle as Ft, ol$geom$GeometryCollection as us, ol$style$Style as Q, ol$style$Fill as lt, ol$style$Stroke as Ye, ol$style$Text as Wn, ol$style$Icon as ii, ol$style$Circle as rs, ol$style$RegularShape as wr, ol$has$DEVICE_PIXEL_RATIO as um, ol$style$Image as _d, ol$Feature as he, ol$extent$containsCoordinate as qa, ol$Map as dm, ol$interaction$defaults as fm, ol$Observable$unByKey as me, ol$View as Eh, ol$easing$inAndOut as gm, ol$extent$containsXY as vd, ol$extent$boundingExtent as un, ol$layer$Vector as Vo, ol$geom$SimpleGeometry as mm, ol$geom$Point as Ne, ol$geom$LineString as bt, ol$geom$Polygon as Ze, ol$geom$MultiPoint as zo, ol$geom$MultiLineString as Yn, ol$geom$MultiPolygon as Ps, ol$sphere$offset as Na, ol$geom$Polygon$fromCircle as wd, ol$geom$Polygon$circular as pm, ol$colorlike$asColorLike as ym, ol$ImageState as _a, Feature as Ge, ol$extent$getBottomLeft as Oh, ol$extent$getBottomRight as Sd, ol$extent$getTopRight as bd, ol$extent$getTopLeft as Bo, ol$proj$transform as Ms, ol$source$Vector as cr, ol$tilegrid$createXYZ as Cd, ol$TileState as Md, ol$proj$Projection as _m, ol$tilegrid$TileGrid as xd, ol$source$TileImage as vm, ol$layer$Tile as Sr, ol$extent$buffer as Ed, ol$extent$getCenter as Ls, ol$geom$Polygon$fromExtent as Od, ol$proj$transformExtent as wc, ol$format$GeoJSON as Pd, ol$extent$getWidth as Wl, ol$source$TileWMS as wm, ol$source$ImageWMS as Sm, ol$format$GML2 as Yl, ol$format$WFS as Xl, ol$format$GML3 as Zl, ol$extent$createEmpty as ur, ol$structs$LRUCache as bm, ol$extent$createOrUpdateFromCoordinate as Cm, ol$render$canvas$Immediate as Mm, ol$geom$flat$transform$transform2D as xm, ol$extent$intersects as Ld, ol$geom$SimpleGeometry$transformGeom2D as Em, ol$transform$scale as Om, ol$transform$create as Pm, ol$transform$compose as Lm, ol$extent$extend as dn, ol$source$OSM as Im, ol$layer$Image as Id, ol$source$ImageStatic as Tm, ol$source$TileDebug as Am, ol$source$XYZ as Dm, ol$source$VectorTile as Nm, ol$layer$VectorTile as Rm, ol$tilegrid$WMTS as Fm, ol$source$WMTS as Gm, ol$format$MVT as km, ol$expr$cpu$buildExpression as Vm, ol$expr$expression$newParsingContext as zm, ol$expr$cpu$newEvaluationContext as Bm, ol$expr$expression$BooleanType as Td, ol$expr$expression$StringType as Sc, ol$expr$expression$NoneType as Hm, ol$source$Cluster as jm, ol$coordinate$equals as $m, ol$interaction$DragPan as Um, ol$extent$isEmpty as Jl, ol$geom$LinearRing as qm } from "./ol-1b3b947e.js";
5
+ import { Cartesian3 as _, Math as E, Cartographic as se, Cesium3DTileStyle as Wa, Cesium3DTileColorBlendMode as Ra, Color as X, TrustedServers as Mi, VerticalOrigin as zt, Cesium3DTileFeature as ds, Cesium3DTilePointFeature as fs, Entity as gs, Material as jt, Cartesian2 as H, ClippingPolygon as Ph, Rectangle as dt, defined as bc, ClippingPolygonCollection as Ad, Matrix3 as ie, Quaternion as Ya, Primitive as At, GeometryInstance as st, FrustumGeometry as Wm, ColorGeometryInstanceAttribute as fn, PerInstanceColorAppearance as dr, FrustumOutlineGeometry as Ym, destroyObject as Xm, EasingFunction as Zm, ConditionsExpression as Jm, Expression as Km, HeightReference as Z, ClassificationType as xs, NearFarScalar as Qr, SplitDirection as Oe, sampleTerrainMostDetailed as br, PolygonOutlineGeometry as Qm, GroundPolylineGeometry as Lh, PolylineGeometry as Es, PolygonHierarchy as Kl, PolygonGeometry as ep, CircleOutlineGeometry as tp, CircleGeometry as ip, HeadingPitchRoll as Vi, Matrix4 as G, Transforms as zi, Model as Ih, MaterialAppearance as Xa, ModelAnimationLoop as sp, CylinderOutlineGeometry as rp, CylinderGeometry as Dd, EllipsoidOutlineGeometry as np, EllipsoidGeometry as Nd, SphereOutlineGeometry as ap, SphereGeometry as op, BoxOutlineGeometry as lp, BoxGeometry as Th, LabelStyle as al, HorizontalOrigin as ol, WallGeometry as hp, WallOutlineGeometry as cp, ArcType as Za, CatmullRomSpline as Rd, ClassificationPrimitive as Ho, SceneTransforms as up, ShadowMode as jo, GroundPrimitive as Fd, PolylineMaterialAppearance as Ja, GroundPolylinePrimitive as Gd, PrimitiveCollection as si, BillboardCollection as dp, LabelCollection as fp, Billboard as kd, Resource as gp, CesiumTerrainProvider as Cc, Cartesian4 as Mc, sampleTerrain as mp, Ellipsoid as Ql, Clock as pp, DataSourceClock as yp, JulianDate as Vd, KeyboardEventModifier as ll, ScreenSpaceEventType as Xi, CesiumWidget as _p, DataSourceDisplay as xc, DataSourceCollection as Ec, RequestScheduler as vp, ScreenSpaceEventHandler as wp, Ray as zd, Camera as Ah, ImageryLayer as Vs, CustomDataSource as Dh, BoundingSphere as Bd, Intersect as Fa, BillboardVisualizer as Sp, LabelVisualizer as bp, PointVisualizer as Cp, WebMercatorTilingScheme as Nh, GeographicTilingScheme as Hd, Cesium3DTileset as Is, Composite3DTileContent as Mp, HeadingPitchRange as xp, BoundingSphereState as Oc, OpenStreetMapImageryProvider as Ep, SingleTileImageryProvider as Op, TileMapServiceImageryProvider as Pp, Event as eh, WebMapServiceImageryProvider as Lp, WebMapTileServiceImageryProvider as Ip, TileBoundingRegion as Tp, QuadtreeTileProvider as Ap, QuadtreeTileLoadState as va, Visibility as Tr, EntityCollection as Dp, CzmlDataSource as Np, QuadtreePrimitive as Rp, Plane as ge, ClippingPlaneCollection as gn, ClippingPlane as mn, ConstantProperty as Fp, Globe as Gp, PerspectiveFrustum as kp, LinearSpline as Vp, QuaternionSpline as zp, IntersectionTests as Bp, Matrix2 as Pc, CoplanarPolygonGeometry as Hp } from "./cesium-792f8ad2.js";
6
6
  const zs = Symbol("isMatcher"), jp = Symbol("Integer"), $p = Symbol("NonEmptyString"), Rh = /* @__PURE__ */ new Map();
7
7
  [
8
8
  [String, "string"],
@@ -3249,14 +3249,14 @@ function mf() {
3249
3249
  return new B($h);
3250
3250
  }
3251
3251
  const de = new B({ epsg: 4326 }), q = new B({ epsg: 3857 });
3252
- function rE(i, t, e) {
3252
+ function nE(i, t, e) {
3253
3253
  const r = E.toRadians(e), n = E.toRadians(i[1]), a = E.toRadians(i[0]), o = Math.asin(Math.sin(n) * Math.cos(t / 6371e3) + Math.cos(n) * Math.sin(t / 6371e3) * Math.cos(r)), l = a + Math.atan2(Math.sin(r) * Math.sin(t / 6371e3) * Math.cos(n), Math.cos(t / 6371e3) - Math.sin(n) * Math.sin(o));
3254
3254
  return [
3255
3255
  parseFloat(E.toDegrees(l).toFixed(5)),
3256
3256
  parseFloat(E.toDegrees(o).toFixed(5))
3257
3257
  ];
3258
3258
  }
3259
- function nE(i, t) {
3259
+ function aE(i, t) {
3260
3260
  const e = E.toRadians(i[0]), s = E.toRadians(i[1]), r = E.toRadians(t[0]), n = E.toRadians(t[1]), a = Math.sin(r - e) * Math.cos(n), o = Math.cos(s) * Math.sin(n) - Math.sin(s) * Math.cos(n) * Math.cos(r - e);
3261
3261
  let l = E.toDegrees(Math.atan2(a, o));
3262
3262
  return l = (l + 360) % 360, l;
@@ -4017,10 +4017,10 @@ function Zc(i) {
4017
4017
  }
4018
4018
  return i.slice(0, 3).reduce((e, s) => `${e}${t(s)}`, "#");
4019
4019
  }
4020
- function aE(i) {
4020
+ function oE(i) {
4021
4021
  return /^#[0-9a-f]{6}$/.test(i);
4022
4022
  }
4023
- function oE(i) {
4023
+ function lE(i) {
4024
4024
  if (typeof i != "string")
4025
4025
  return i;
4026
4026
  let t = null, e = null, s = "normal", r = "normal", n = "normal", a = "normal";
@@ -4085,7 +4085,7 @@ function uS(i) {
4085
4085
  e ? e = `${e} ${s[1]}` : e = s[1];
4086
4086
  }), e || "";
4087
4087
  }
4088
- function lE(i, t, e, s) {
4088
+ function hE(i, t, e, s) {
4089
4089
  const r = s || [0, 0], n = i.getImageData(r[0], r[1], e[0], e[1]), { data: a } = n, [o, l, c] = t, u = a.length;
4090
4090
  for (let d = 0; d < u; d += 4)
4091
4091
  a[d] = o, a[d + 1] = l, a[d + 2] = c;
@@ -4194,7 +4194,7 @@ function dS(i) {
4194
4194
  return i.src && (Mi.contains(i.src) ? t.crossOrigin = "use-credentials" : xi(i.src) || (t.crossOrigin = "anonymous")), new ii(t);
4195
4195
  }
4196
4196
  }
4197
- function hE(i) {
4197
+ function cE(i) {
4198
4198
  return new Q({
4199
4199
  stroke: i.stroke ? Wh(i.stroke) : void 0,
4200
4200
  fill: i.fill ? bf(i.fill) : void 0,
@@ -4202,7 +4202,7 @@ function hE(i) {
4202
4202
  text: i.text ? Mf(i.text) : void 0
4203
4203
  });
4204
4204
  }
4205
- function cE(i) {
4205
+ function uE(i) {
4206
4206
  return {
4207
4207
  fill: i.getFill() ? lo(i.getFill()) : void 0,
4208
4208
  stroke: i.getStroke() ? bn(i.getStroke()) : void 0,
@@ -4210,7 +4210,7 @@ function cE(i) {
4210
4210
  text: i.getText() ? Cf(i.getText()) : void 0
4211
4211
  };
4212
4212
  }
4213
- function uE(i) {
4213
+ function dE(i) {
4214
4214
  const t = {
4215
4215
  font: i.getFont(),
4216
4216
  textShadow: void 0,
@@ -4224,7 +4224,7 @@ function uE(i) {
4224
4224
  }
4225
4225
  return i.getFill() && (t.color = Zc(tt(i.getFill().getColor()))), t;
4226
4226
  }
4227
- const fS = new Q({}), dE = [0, 0, 0, 0], Ha = [255, 255, 255, 1], ho = [0, 0, 0, 1];
4227
+ const fS = new Q({}), fE = [0, 0, 0, 0], Ha = [255, 255, 255, 1], ho = [0, 0, 0, 1];
4228
4228
  function Ef() {
4229
4229
  return {
4230
4230
  image: {
@@ -4274,7 +4274,7 @@ function Kt(i, t) {
4274
4274
  ["true", gS[i]]
4275
4275
  ];
4276
4276
  }
4277
- const fE = (
4277
+ const gE = (
4278
4278
  // eslint-disable-next-line no-template-curly-in-string
4279
4279
  "${attributes} !== undefined && ${attributes} !== null && ${attributes.olcs_extrudedHeight} !== undefined && ${attributes.olcs_extrudedHeight}!==null"
4280
4280
  );
@@ -8022,7 +8022,7 @@ function US(i) {
8022
8022
  function Tt(i) {
8023
8023
  return i === "XY" || i === "XYM";
8024
8024
  }
8025
- function gE(i) {
8025
+ function mE(i) {
8026
8026
  const t = i.getLayout();
8027
8027
  if (Tt(t))
8028
8028
  return;
@@ -8031,7 +8031,7 @@ function gE(i) {
8031
8031
  t === "XYZM" ? r[2] = r.pop() : r.pop();
8032
8032
  }), i.setCoordinates(e, t === "XYZM" ? "XYM" : "XY");
8033
8033
  }
8034
- async function mE(i, t, e) {
8034
+ async function pE(i, t, e) {
8035
8035
  const s = i.getLayout(), r = i.getCoordinates(), n = ai(i, r), a = n.map((o) => ea(o));
8036
8036
  if (e === Z.CLAMP_TO_GROUND ? await t.sampleHeightMostDetailed(a) : t.terrainProvider.availability ? await br(t.terrainProvider, a) : a.forEach((o) => {
8037
8037
  o.height = 0;
@@ -8068,7 +8068,7 @@ function ru(i, t) {
8068
8068
  e === "XYM" && (n[3] = n[2]), n[2] = t;
8069
8069
  }), i.setCoordinates(s, e === "XYM" || e === "XYZM" ? "XYZM" : "XYZ");
8070
8070
  }
8071
- async function pE(i, t, e) {
8071
+ async function yE(i, t, e) {
8072
8072
  const s = i.clone(), r = s.getGeometry();
8073
8073
  if (!r)
8074
8074
  return null;
@@ -9744,7 +9744,7 @@ const fg = {
9744
9744
  west: De.WEST,
9745
9745
  nadir: De.NADIR
9746
9746
  };
9747
- function yE(i) {
9747
+ function _E(i) {
9748
9748
  const t = Object.entries(fg).find(([, e]) => e === i);
9749
9749
  return t == null ? void 0 : t[0];
9750
9750
  }
@@ -9897,7 +9897,7 @@ function Wb(i, t, e, s, r) {
9897
9897
  return !(Rr(D, C) == null || (c = gu([a[d[0].cornerPoint], p], [a[d[1].cornerPoint], b]), c.x == null || c.y == null));
9898
9898
  }), c;
9899
9899
  }
9900
- function _E(i, t, e = {}) {
9900
+ function vE(i, t, e = {}) {
9901
9901
  let s;
9902
9902
  e.dataProjection && e.dataProjection === i.meta.projection ? s = t : s = e.dataProjection ? Ms(t, e.dataProjection.proj, i.meta.projection.proj) : Ms(t, q.proj, i.meta.projection.proj);
9903
9903
  function r() {
@@ -9941,7 +9941,7 @@ async function Tn(i, t, e = {}) {
9941
9941
  terrainErrorCountThreshold: n
9942
9942
  })), a.coords = e.dataProjection ? Ms(a.coords, de.proj, e.dataProjection.proj) : Ms(a.coords, de.proj, q.proj), a;
9943
9943
  }
9944
- function vE(i) {
9944
+ function wE(i) {
9945
9945
  return U("hasSameOrigin").deprecate("hasSameOrigin", "isSameOrigin"), xi(i);
9946
9946
  }
9947
9947
  function Yb(i) {
@@ -13135,7 +13135,7 @@ function Dn(i, t = {}, e = []) {
13135
13135
  version: Ri
13136
13136
  }, t.writeStyle && i[Pt] && (o.vcsMeta.style = Nf(i[Pt].getOptionsForFeature(i), e)), o;
13137
13137
  }
13138
- function wE(i, t) {
13138
+ function SE(i, t) {
13139
13139
  const e = i.vcsMeta || { version: Ri };
13140
13140
  e.version = Ri;
13141
13141
  const r = {
@@ -14668,7 +14668,7 @@ class XC extends Or {
14668
14668
  return new Vs(s, r);
14669
14669
  }
14670
14670
  }
14671
- const mo = new Array(25);
14671
+ const ZC = 8, mo = new Array(25);
14672
14672
  for (let i = 0; i < mo.length; i++)
14673
14673
  mo[i] = 200375083427892e-7 * 2 / 256 / 2 ** (i + 1);
14674
14674
  function Qo(i) {
@@ -14859,14 +14859,18 @@ class nt extends Ct {
14859
14859
  */
14860
14860
  async getFeaturesByCoordinate(e, s, r) {
14861
14861
  const n = Cm(e);
14862
- Ed(n, s, n);
14862
+ Ed(n, s * ZC, n);
14863
14863
  const a = jh(e), o = se.fromDegrees(a[0], a[1]), l = this.getBaseLevelForResolution(s, o.latitude), c = await this._getRtreeForBaseTile(l, o, r);
14864
14864
  return c ? c.search({
14865
14865
  minX: n[0],
14866
14866
  minY: n[1],
14867
14867
  maxX: n[2],
14868
14868
  maxY: n[3]
14869
- }).map((d) => d.value) : [];
14869
+ }).map((u) => u.value).filter((u) => {
14870
+ var f, g, m;
14871
+ const d = (f = u.getGeometry()) == null ? void 0 : f.getType();
14872
+ return d === "Polygon" || d === "MultiPolygon" || d === "Circle" || d === "GeometryCollection" ? (g = u.getGeometry()) == null ? void 0 : g.intersectsCoordinate(e) : d === "Point" || d === "MultiPoint" || d === "LineString" || d === "MultiLineString" ? (m = u.getGeometry()) == null ? void 0 : m.intersectsExtent(n) : !1;
14873
+ }) : [];
14870
14874
  }
14871
14875
  /**
14872
14876
  * returns features for the requested Tile.
@@ -14984,7 +14988,7 @@ class nt extends Ct {
14984
14988
  }
14985
14989
  }
14986
14990
  Bs.registerClass(nt.className, nt);
14987
- class ZC extends Mm {
14991
+ class JC extends Mm {
14988
14992
  /**
14989
14993
  * @param {CanvasRenderingContext2D} context Context.
14990
14994
  * @param {number} pixelRatio Pixel ratio.
@@ -15062,26 +15066,26 @@ class ZC extends Mm {
15062
15066
  }
15063
15067
  }
15064
15068
  }
15065
- function JC(i, t, e, s) {
15069
+ function KC(i, t, e, s) {
15066
15070
  const { canvas: r } = e;
15067
15071
  r.width = s[0], r.height = s[1], r.style.width = `${s[0]}px`, r.style.height = `${s[1]}px`;
15068
15072
  const n = (i[2] - i[0]) / (i[3] - i[1]), a = 1 / ((i[2] - i[0]) / 256), o = -1 / ((i[3] - i[1]) / 256), l = Om(Pm(), 1, 1), c = Lm(l, 128, 128, a, o, 0, -t[0], -t[1]);
15069
- return new ZC(e, 1, i, c, 0, void 0, void 0, n);
15073
+ return new JC(e, 1, i, c, 0, void 0, void 0, n);
15070
15074
  }
15071
- function KC(i, t, e, s) {
15075
+ function QC(i, t, e, s) {
15072
15076
  const r = document.createElement("canvas");
15073
15077
  r.width = s[0], r.height = s[0];
15074
15078
  const n = no([
15075
15079
  E.toDegrees(e.longitude),
15076
15080
  E.toDegrees(e.latitude)
15077
- ]), a = JC(t, n, r.getContext("2d"), s);
15081
+ ]), a = KC(t, n, r.getContext("2d"), s);
15078
15082
  return i.forEach((o) => {
15079
15083
  o.getStyleFunction()(o, 1).forEach((u) => {
15080
15084
  a.drawFeature(o, u);
15081
15085
  });
15082
15086
  }), r;
15083
15087
  }
15084
- class QC {
15088
+ class e1 {
15085
15089
  constructor(t) {
15086
15090
  h(this, "tileProvider");
15087
15091
  h(this, "_tilingScheme");
@@ -15153,10 +15157,10 @@ class QC {
15153
15157
  if (r.length === 0)
15154
15158
  return this.emptyCanvas;
15155
15159
  const n = this.tileProvider.tilingScheme.tileXYToRectangle(t, e, s), a = Qo(n), o = dt.center(n);
15156
- return KC(r, a, o, this._tileSize);
15160
+ return QC(r, a, o, this._tileSize);
15157
15161
  }
15158
15162
  }
15159
- class e1 extends Or {
15163
+ class t1 extends Or {
15160
15164
  constructor(e, s) {
15161
15165
  const r = {
15162
15166
  ...s,
@@ -15174,7 +15178,7 @@ class e1 extends Or {
15174
15178
  return "VectorRasterTileCesiumImpl";
15175
15179
  }
15176
15180
  getCesiumLayer() {
15177
- this.imageryProvider = new QC({
15181
+ this.imageryProvider = new e1({
15178
15182
  tileProvider: this.tileProvider,
15179
15183
  tileSize: this.tileSize,
15180
15184
  headers: this.headers
@@ -15217,7 +15221,7 @@ class e1 extends Or {
15217
15221
  this._reloadTiles();
15218
15222
  }
15219
15223
  }
15220
- class t1 extends Or {
15224
+ class i1 extends Or {
15221
15225
  constructor(e, s) {
15222
15226
  super(e, s);
15223
15227
  h(this, "parameters");
@@ -15249,7 +15253,7 @@ class t1 extends Or {
15249
15253
  return Promise.resolve(new Vs(r, n));
15250
15254
  }
15251
15255
  }
15252
- class i1 extends Or {
15256
+ class s1 extends Or {
15253
15257
  constructor(e, s) {
15254
15258
  super(e, s);
15255
15259
  h(this, "layer");
@@ -15433,7 +15437,7 @@ function oc(i, t) {
15433
15437
  E.toDegrees(e.north)
15434
15438
  ];
15435
15439
  }
15436
- function s1(i, t) {
15440
+ function r1(i, t) {
15437
15441
  const e = oc(i, t), s = B.wgs84ToMercator([e[0], e[1]]), r = B.wgs84ToMercator([e[2], e[3]]);
15438
15442
  return [s[0], s[1], r[0], r[1]];
15439
15443
  }
@@ -15446,7 +15450,7 @@ function el(i, t) {
15446
15450
  minimumHeight: e
15447
15451
  });
15448
15452
  }
15449
- function r1(i, t, e) {
15453
+ function n1(i, t, e) {
15450
15454
  const s = /* @__PURE__ */ new Set();
15451
15455
  for (let n = i; n <= t; n++) {
15452
15456
  const a = e.getBaseLevel(n);
@@ -15466,7 +15470,7 @@ function r1(i, t, e) {
15466
15470
  function _h(i) {
15467
15471
  return `${i.level}/${i.x}/${i.y}`;
15468
15472
  }
15469
- class n1 {
15473
+ class a1 {
15470
15474
  constructor(t, e) {
15471
15475
  h(this, "state", We.LOADING);
15472
15476
  h(this, "type", Gs.CHILD);
@@ -15483,10 +15487,10 @@ class n1 {
15483
15487
  }
15484
15488
  }
15485
15489
  let Rl;
15486
- function a1() {
15490
+ function o1() {
15487
15491
  return Rl || (Rl = new St({})), Rl;
15488
15492
  }
15489
- class o1 {
15493
+ class l1 {
15490
15494
  constructor(t, e) {
15491
15495
  h(this, "state", We.LOADING);
15492
15496
  h(this, "type", Gs.DEBUG);
@@ -15520,7 +15524,7 @@ class o1 {
15520
15524
  geometry: Od(e).transform(de.proj, q.proj)
15521
15525
  }), this._extentFeature[Se] = !0;
15522
15526
  const r = [this._extentFeature, s];
15523
- await Promise.all(r.map((n) => this._vectorContext.addFeature(n, n.getStyle() ?? this._style, a1(), t))), this.state = We.READY;
15527
+ await Promise.all(r.map((n) => this._vectorContext.addFeature(n, n.getStyle() ?? this._style, o1(), t))), this.state = We.READY;
15524
15528
  }
15525
15529
  get show() {
15526
15530
  return this._rootCollection.show;
@@ -15535,7 +15539,7 @@ class o1 {
15535
15539
  this._vectorContext.destroy(), this._layerPrimitiveCollection.remove(this._rootCollection), this._tile.data = void 0;
15536
15540
  }
15537
15541
  }
15538
- class l1 {
15542
+ class h1 {
15539
15543
  constructor(t, e) {
15540
15544
  h(this, "state", We.LOADING);
15541
15545
  h(this, "type", Gs.NO_DATA);
@@ -15550,7 +15554,7 @@ class l1 {
15550
15554
  set show(t) {
15551
15555
  }
15552
15556
  }
15553
- class h1 {
15557
+ class c1 {
15554
15558
  constructor(t, e) {
15555
15559
  h(this, "state", We.LOADING);
15556
15560
  h(this, "type", Gs.VECTOR);
@@ -15574,7 +15578,7 @@ class h1 {
15574
15578
  const t = this._map.getScene(), e = await this._tileProvider.getFeaturesForTile(this._tile.x, this._tile.y, this._tile.level);
15575
15579
  if (this._isDestroyed)
15576
15580
  return;
15577
- const s = s1(this._tile, this._tileProvider.tilingScheme);
15581
+ const s = r1(this._tile, this._tileProvider.tilingScheme);
15578
15582
  this.state = We.PROCESSING, await Promise.all(e.map(async (r) => {
15579
15583
  var a;
15580
15584
  if (this._isDestroyed)
@@ -15600,8 +15604,8 @@ class h1 {
15600
15604
  me(this._featureListeners), this._isDestroyed = !0, this._vectorContext.destroy(), this._layerPrimitiveCollection.remove(this._rootCollection), this._tile.data = void 0;
15601
15605
  }
15602
15606
  }
15603
- const c1 = new _();
15604
- class u1 {
15607
+ const u1 = new _();
15608
+ class d1 {
15605
15609
  constructor(t, e, s) {
15606
15610
  h(this, "quadtree");
15607
15611
  h(this, "tilingScheme");
@@ -15623,7 +15627,7 @@ class u1 {
15623
15627
  vectorProperties: s.vectorProperties,
15624
15628
  splitDirection: s.splitDirection
15625
15629
  }, this._debug = ae(s.debug, !1), this.tilingScheme = s.tileProvider.tilingScheme, this._levelZeroMaximumError = Ap.computeDefaultLevelZeroMaximumGeometricError(this.tilingScheme);
15626
- const { dataLevels: r, dataRange: n } = r1(s.minLevel, s.maxLevel, s.tileProvider);
15630
+ const { dataLevels: r, dataRange: n } = n1(s.minLevel, s.maxLevel, s.tileProvider);
15627
15631
  this._dataLevels = r, this._dataRange = n;
15628
15632
  const a = s.extent;
15629
15633
  a != null && a.isValid() && (this._extentWgs84 = a == null ? void 0 : a.getCoordinatesInProjection(de));
@@ -15643,7 +15647,7 @@ class u1 {
15643
15647
  return !1;
15644
15648
  }
15645
15649
  _initializeTile(t) {
15646
- t.state === va.START && (t.data || (this._withinDataRange(t) ? this._dataLevels.has(t.level) ? t.data = this._debug ? new o1(t, this._tileOptions) : new h1(t, this._tileOptions) : t.data = new n1(t, this._tileOptions.map) : t.data = new l1(t, this._tileOptions.map)), t.state = va.LOADING);
15650
+ t.state === va.START && (t.data || (this._withinDataRange(t) ? this._dataLevels.has(t.level) ? t.data = this._debug ? new l1(t, this._tileOptions) : new c1(t, this._tileOptions) : t.data = new a1(t, this._tileOptions.map) : t.data = new h1(t, this._tileOptions.map)), t.state = va.LOADING);
15647
15651
  }
15648
15652
  updateStyle(t) {
15649
15653
  this._tileOptions.style = t.style;
@@ -15675,7 +15679,7 @@ class u1 {
15675
15679
  const r = s.tileBoundingRegion.boundingVolume;
15676
15680
  if (r === void 0)
15677
15681
  return 0;
15678
- const n = e.camera.positionWC, a = e.camera.directionWC, o = _.subtract(r.center, n, c1), l = _.magnitude(o);
15682
+ const n = e.camera.positionWC, a = e.camera.directionWC, o = _.subtract(r.center, n, u1), l = _.magnitude(o);
15679
15683
  return l < E.EPSILON5 ? 0 : (_.divideByScalar(o, l, o), (1 - _.dot(o, a)) * // eslint-disable-next-line no-underscore-dangle
15680
15684
  (t._distance ?? this.computeDistanceToTile(t, e)));
15681
15685
  }
@@ -15883,7 +15887,7 @@ class yo extends po {
15883
15887
  }
15884
15888
  }
15885
15889
  ze.registerClass(yo.className, yo);
15886
- function d1(i, t, e) {
15890
+ function f1(i, t, e) {
15887
15891
  const s = [];
15888
15892
  return i.forEach((r) => {
15889
15893
  const n = Dn(r, {
@@ -15919,7 +15923,7 @@ function d1(i, t, e) {
15919
15923
  });
15920
15924
  }), s;
15921
15925
  }
15922
- class f1 extends Ct {
15926
+ class g1 extends Ct {
15923
15927
  constructor(e) {
15924
15928
  super({});
15925
15929
  h(this, "_layer");
@@ -15970,7 +15974,7 @@ class f1 extends Ct {
15970
15974
  * commits the changes to the provided url. url should contain accessTokens and point to a featureStore layers bulk operation endpoint
15971
15975
  */
15972
15976
  async commitChanges(e) {
15973
- const s = d1(this._addedFeatures, this._editedFeatures, this._removedFeatures);
15977
+ const s = f1(this._addedFeatures, this._editedFeatures, this._removedFeatures);
15974
15978
  if (s.length > 0) {
15975
15979
  const r = await e(s.map((a) => ({ action: a.action, feature: a.feature }))), n = r.failedActions.map(({ index: a, error: o }) => {
15976
15980
  const l = s[a];
@@ -16069,7 +16073,7 @@ class f1 extends Ct {
16069
16073
  this.unTrack(), this._layer = void 0, this.changed.destroy(), super.destroy();
16070
16074
  }
16071
16075
  }
16072
- class g1 extends na {
16076
+ class m1 extends na {
16073
16077
  constructor(e) {
16074
16078
  super();
16075
16079
  h(this, "_changeTracker");
@@ -16133,11 +16137,11 @@ class ls extends rt {
16133
16137
  z.className,
16134
16138
  be.className,
16135
16139
  Me.className
16136
- ], this.layerId = e.id, this.staticRepresentation = e.staticRepresentation || s.staticRepresentation || {}, this.hiddenStaticFeatureIds = new Set(e.hiddenStaticFeatureIds || s.hiddenStaticFeatureIds), this.changeTracker = new f1(this);
16140
+ ], this.layerId = e.id, this.staticRepresentation = e.staticRepresentation || s.staticRepresentation || {}, this.hiddenStaticFeatureIds = new Set(e.hiddenStaticFeatureIds || s.hiddenStaticFeatureIds), this.changeTracker = new g1(this);
16137
16141
  const { vcsMeta: r } = s;
16138
16142
  if (e.vcsMeta && Object.assign(r, e.vcsMeta), this.vcsMeta = r, this.setVcsMeta(this.vcsMeta), this.screenSpaceErrorMobile = this.vcsMeta.screenSpaceError, this.screenSpaceError = this.vcsMeta.screenSpaceError, this._removeVectorPropertiesChangeHandler = this.vectorProperties.propertyChanged.addEventListener(() => {
16139
16143
  this.changeTracker.changed.raiseEvent();
16140
- }), this.injectedFetchDynamicFeatureFunc = e.injectedFetchDynamicFeatureFunc ?? this.injectedFetchDynamicFeatureFunc, this.featureVisibility = e.featureVisibility ?? new g1(this.changeTracker), this._featureVisibilitySyncListeners = [
16144
+ }), this.injectedFetchDynamicFeatureFunc = e.injectedFetchDynamicFeatureFunc ?? this.injectedFetchDynamicFeatureFunc, this.featureVisibility = e.featureVisibility ?? new m1(this.changeTracker), this._featureVisibilitySyncListeners = [
16141
16145
  If(this.featureVisibility, this._staticFeatureVisibility),
16142
16146
  this._staticFeatureVisibility.changed.addEventListener(({ action: n }) => {
16143
16147
  n === ye.SHOW && this._staticFeatureVisibility.hideObjects([
@@ -16927,11 +16931,11 @@ class Li {
16927
16931
  }
16928
16932
  new TextEncoder();
16929
16933
  let Nu = new TextDecoder();
16930
- function m1(i, t, e, s, r) {
16934
+ function p1(i, t, e, s, r) {
16931
16935
  let n = e.columns;
16932
- return r(i, s(t.geometry(), e.geometryType), p1(t, n));
16936
+ return r(i, s(t.geometry(), e.geometryType), y1(t, n));
16933
16937
  }
16934
- function p1(i, t) {
16938
+ function y1(i, t) {
16935
16939
  let e = {};
16936
16940
  if (!t || t.length === 0) return e;
16937
16941
  let s = i.propertiesArray();
@@ -17036,12 +17040,12 @@ function Pg(i, t) {
17036
17040
  }
17037
17041
  throw Error("Unknown type");
17038
17042
  }
17039
- function y1(i, t, e) {
17043
+ function _1(i, t, e) {
17040
17044
  let s = new he(t);
17041
17045
  return s.setId(i), e && s.setProperties && s.setProperties(e), s;
17042
17046
  }
17043
- function _1(i, t, e) {
17044
- return m1(i, t, e, Pg, y1);
17047
+ function v1(i, t, e) {
17048
+ return p1(i, t, e, Pg, _1);
17045
17049
  }
17046
17050
  /*! *****************************************************************************
17047
17051
  Copyright (c) Microsoft Corporation.
@@ -17064,7 +17068,7 @@ var wh = function(i, t) {
17064
17068
  for (var r in s) s.hasOwnProperty(r) && (e[r] = s[r]);
17065
17069
  }, wh(i, t);
17066
17070
  };
17067
- function v1(i, t) {
17071
+ function w1(i, t) {
17068
17072
  wh(i, t);
17069
17073
  function e() {
17070
17074
  this.constructor = i;
@@ -17171,7 +17175,7 @@ function Pr(i) {
17171
17175
  function Rn(i) {
17172
17176
  return this instanceof Rn ? (this.v = i, this) : new Rn(i);
17173
17177
  }
17174
- function w1(i, t, e) {
17178
+ function S1(i, t, e) {
17175
17179
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
17176
17180
  var s = e.apply(i, t || []), r, n = [];
17177
17181
  return r = {}, a("next"), a("throw"), a("return"), r[Symbol.asyncIterator] = function() {
@@ -17207,7 +17211,7 @@ function w1(i, t, e) {
17207
17211
  var Lg = (
17208
17212
  /** @class */
17209
17213
  function(i) {
17210
- v1(t, i);
17214
+ w1(t, i);
17211
17215
  function t(e) {
17212
17216
  var s = i.call(this, e) || this;
17213
17217
  return Object.defineProperty(s, "name", {
@@ -17375,7 +17379,7 @@ function on(i) {
17375
17379
  function Gu(i) {
17376
17380
  i.state >= bh || (i.state < vo && on(i), i.state = bh);
17377
17381
  }
17378
- function S1(i, t) {
17382
+ function b1(i, t) {
17379
17383
  if (Sh(t), i.pushes.length >= wo)
17380
17384
  throw new Lg("No more than " + wo + " pending calls to push are allowed on a single repeater.");
17381
17385
  if (i.state >= ks)
@@ -17409,16 +17413,16 @@ function S1(i, t) {
17409
17413
  i.err = l, Gu(i);
17410
17414
  }), a;
17411
17415
  }
17412
- function b1(i) {
17416
+ function C1(i) {
17413
17417
  var t = lc.bind(null, i), e = new Promise(function(s) {
17414
17418
  return i.onstop = s;
17415
17419
  });
17416
17420
  return t.then = e.then.bind(e), t.catch = e.catch.bind(e), t.finally = e.finally.bind(e), t;
17417
17421
  }
17418
- function C1(i) {
17422
+ function M1(i) {
17419
17423
  if (!(i.state >= Fu)) {
17420
17424
  i.state = Fu;
17421
- var t = S1.bind(null, i), e = b1(i);
17425
+ var t = b1.bind(null, i), e = C1(i);
17422
17426
  i.execution = new Promise(function(s) {
17423
17427
  return s(i.executor(t, e));
17424
17428
  }), i.execution.catch(function() {
@@ -17450,7 +17454,7 @@ var La = /* @__PURE__ */ new WeakMap(), ha = (
17450
17454
  throw new Error("WeakMap error");
17451
17455
  if (e.nexts.length >= wo)
17452
17456
  throw new Lg("No more than " + wo + " pending calls to next are allowed on a single repeater.");
17453
- if (e.state <= Fl && C1(e), e.onnext(t), typeof e.buffer < "u" && !e.buffer.empty) {
17457
+ if (e.state <= Fl && M1(e), e.onnext(t), typeof e.buffer < "u" && !e.buffer.empty) {
17454
17458
  var s = ws(e, e.buffer.remove());
17455
17459
  if (e.pushes.length) {
17456
17460
  var r = e.pushes.shift();
@@ -17480,13 +17484,13 @@ var La = /* @__PURE__ */ new WeakMap(), ha = (
17480
17484
  return e.state <= Fl || e.state >= ks || typeof e.buffer < "u" && !e.buffer.empty ? (on(e), e.err == null && (e.err = t), ws(e, hr(e))) : this.next(Promise.reject(t));
17481
17485
  }, i.prototype[Symbol.asyncIterator] = function() {
17482
17486
  return this;
17483
- }, i.race = M1, i.merge = x1, i.zip = E1, i.latest = O1, i;
17487
+ }, i.race = x1, i.merge = E1, i.zip = O1, i.latest = P1, i;
17484
17488
  }()
17485
17489
  );
17486
17490
  function tl(i, t) {
17487
17491
  var e, s, r = [], n = function(c) {
17488
17492
  c != null && typeof c[Symbol.asyncIterator] == "function" ? r.push(c[Symbol.asyncIterator]()) : c != null && typeof c[Symbol.iterator] == "function" ? r.push(c[Symbol.iterator]()) : r.push(function() {
17489
- return w1(this, arguments, function() {
17493
+ return S1(this, arguments, function() {
17490
17494
  return hs(this, function(f) {
17491
17495
  switch (f.label) {
17492
17496
  case 0:
@@ -17525,7 +17529,7 @@ function tl(i, t) {
17525
17529
  }
17526
17530
  return r;
17527
17531
  }
17528
- function M1(i) {
17532
+ function x1(i) {
17529
17533
  var t = this, e = tl(i, { returnValues: !0 });
17530
17534
  return new ha(function(s, r) {
17531
17535
  return yr(t, void 0, void 0, function() {
@@ -17604,7 +17608,7 @@ function M1(i) {
17604
17608
  });
17605
17609
  });
17606
17610
  }
17607
- function x1(i) {
17611
+ function E1(i) {
17608
17612
  var t = this, e = tl(i, { yieldValues: !0 });
17609
17613
  return new ha(function(s, r) {
17610
17614
  return yr(t, void 0, void 0, function() {
@@ -17697,7 +17701,7 @@ function x1(i) {
17697
17701
  });
17698
17702
  });
17699
17703
  }
17700
- function E1(i) {
17704
+ function O1(i) {
17701
17705
  var t = this, e = tl(i, { returnValues: !0 });
17702
17706
  return new ha(function(s, r) {
17703
17707
  return yr(t, void 0, void 0, function() {
@@ -17754,7 +17758,7 @@ function E1(i) {
17754
17758
  });
17755
17759
  });
17756
17760
  }
17757
- function O1(i) {
17761
+ function P1(i) {
17758
17762
  var t = this, e = tl(i, {
17759
17763
  yieldValues: !0,
17760
17764
  returnValues: !0
@@ -18091,7 +18095,7 @@ class Co {
18091
18095
  t.finish(e, void 0, !0);
18092
18096
  }
18093
18097
  }
18094
- function P1(i) {
18098
+ function L1(i) {
18095
18099
  let t = Co.getRootAsHeader(i), e = t.featuresCount(), s = t.indexNodeSize(), r = [];
18096
18100
  for (let o = 0; o < t.columnsLength(); o++) {
18097
18101
  let l = t.columns(o);
@@ -18102,8 +18106,8 @@ function P1(i) {
18102
18106
  let n = t.crs(), a = n ? { org: n.org(), code: n.code(), name: n.name(), description: n.description(), wkt: n.wkt(), code_string: n.codeString() } : null;
18103
18107
  return { geometryType: t.geometryType(), columns: r, envelope: null, featuresCount: Number(e), indexNodeSize: s, crs: a, title: t.title(), description: t.description(), metadata: t.metadata() };
18104
18108
  }
18105
- const L1 = 40, I1 = 16;
18106
- function T1(i, t) {
18109
+ const I1 = 40, T1 = 16;
18110
+ function A1(i, t) {
18107
18111
  t = Math.min(Math.max(+t, 2), 65535);
18108
18112
  let e = i, s = e;
18109
18113
  do
@@ -18111,7 +18115,7 @@ function T1(i, t) {
18111
18115
  while (e !== 1);
18112
18116
  return 40 * s;
18113
18117
  }
18114
- function A1(i, t) {
18118
+ function D1(i, t) {
18115
18119
  if (t < 2) throw Error("Node size must be at least 2");
18116
18120
  if (i === 0) throw Error("Number of items must be greater than 0");
18117
18121
  let e = i, s = e, r = [e];
@@ -18124,7 +18128,7 @@ function A1(i, t) {
18124
18128
  for (let o = 0; o < r.length; o++) a.push([n[o], n[o] + r[o]]);
18125
18129
  return a;
18126
18130
  }
18127
- async function* D1(i, t, e, s) {
18131
+ async function* N1(i, t, e, s) {
18128
18132
  class r {
18129
18133
  constructor(g, m) {
18130
18134
  h(this, "_level");
@@ -18147,7 +18151,7 @@ async function* D1(i, t, e, s) {
18147
18151
  return `[NodeRange level: ${this._level}, nodes: ${this.nodes[0]}-${this.nodes[1]}]`;
18148
18152
  }
18149
18153
  }
18150
- let { minX: n, minY: a, maxX: o, maxY: l } = e, c = A1(i, t), u = c[0][0], d = [new r([0, 1], c.length - 1)];
18154
+ let { minX: n, minY: a, maxX: o, maxY: l } = e, c = D1(i, t), u = c[0][0], d = [new r([0, 1], c.length - 1)];
18151
18155
  for (; d.length !== 0; ) {
18152
18156
  let f = d.shift(), g = f.startNodeIdx(), m = g >= u, p = (() => {
18153
18157
  let [, S] = c[f.level()], b = Math.min(f.endNodeIdx() + t, S);
@@ -18193,17 +18197,17 @@ class hc {
18193
18197
  static async open(t, e) {
18194
18198
  let s, r = new Vu(t, e), n = 2024 + (() => {
18195
18199
  let c, u = 0;
18196
- for (c = 0; c < 3; c++) u += I1 ** c * L1;
18200
+ for (c = 0; c < 3; c++) u += T1 ** c * I1;
18197
18201
  return u;
18198
18202
  })();
18199
18203
  if (!new Uint8Array(await r.getRange(0, 8, n, "header")).subarray(0, 3).every((c, u) => ku[u] === c)) throw Error("Not a FlatGeobuf file");
18200
18204
  if ((s = new DataView(await r.getRange(8, 4, n, "header")).getUint32(0, !0)) > 10485760 || s < 8) throw Error("Invalid header size");
18201
- let a = await r.getRange(12, s, n, "header"), o = P1(new _o(new Uint8Array(a))), l = T1(o.featuresCount, o.indexNodeSize);
18205
+ let a = await r.getRange(12, s, n, "header"), o = L1(new _o(new Uint8Array(a))), l = A1(o.featuresCount, o.indexNodeSize);
18202
18206
  return new hc(r, o, s, l, e);
18203
18207
  }
18204
18208
  async *selectBbox(t) {
18205
18209
  let e = this.lengthBeforeTree(), s = this.headerClient, r = async (l, c) => s.getRange(e + l, c, 0, "index"), n = [], a = [];
18206
- for await (let l of D1(this.header.featuresCount, this.header.indexNodeSize, t, r)) {
18210
+ for await (let l of N1(this.header.featuresCount, this.header.indexNodeSize, t, r)) {
18207
18211
  let [c, u] = l, [, , d] = l;
18208
18212
  if (d || (d = 4), a.length === 0) {
18209
18213
  a.push([c, d, u]);
@@ -18295,7 +18299,7 @@ async function Tg(i, t, e) {
18295
18299
  maxX: n[2],
18296
18300
  maxY: n[3]
18297
18301
  })) {
18298
- const o = _1(a.id, a.feature, i.header), l = o.getGeometry();
18302
+ const o = v1(a.id, a.feature, i.header), l = o.getGeometry();
18299
18303
  l && !r && (l.transform(t.proj, q.proj), l[ri] = !0), s.push(o);
18300
18304
  }
18301
18305
  return s;
@@ -18431,7 +18435,7 @@ class ca extends Yo {
18431
18435
  this.opacity = e, this.initialized && this.olLayer.setOpacity(this.opacity);
18432
18436
  }
18433
18437
  }
18434
- class N1 extends ca {
18438
+ class R1 extends ca {
18435
18439
  static get className() {
18436
18440
  return "OpenStreetMapOpenlayersImpl";
18437
18441
  }
@@ -18528,7 +18532,7 @@ class Gn extends ft {
18528
18532
  }
18529
18533
  createImplementationsForMap(e) {
18530
18534
  return e instanceof be ? [
18531
- new N1(e, this.getImplementationOptions())
18535
+ new R1(e, this.getImplementationOptions())
18532
18536
  ] : e instanceof z ? [
18533
18537
  new qC(e, this.getImplementationOptions())
18534
18538
  ] : [];
@@ -18542,7 +18546,7 @@ class Gn extends ft {
18542
18546
  }
18543
18547
  }
18544
18548
  ze.registerClass(Gn.className, Gn);
18545
- class R1 extends ca {
18549
+ class F1 extends ca {
18546
18550
  constructor(e, s) {
18547
18551
  super(e, s);
18548
18552
  h(this, "credit");
@@ -18579,7 +18583,7 @@ class R1 extends ca {
18579
18583
  });
18580
18584
  }
18581
18585
  }
18582
- class SE extends Yo {
18586
+ class bE extends Yo {
18583
18587
  static get className() {
18584
18588
  return "TileDebugOpenlayersImpl";
18585
18589
  }
@@ -18596,7 +18600,7 @@ class SE extends Yo {
18596
18600
  updateTiles(t) {
18597
18601
  }
18598
18602
  }
18599
- class F1 extends ca {
18603
+ class G1 extends ca {
18600
18604
  /**
18601
18605
  * @param map
18602
18606
  * @param options
@@ -18631,7 +18635,7 @@ class F1 extends ca {
18631
18635
  return this.extent && this.extent.isValid() && (s.extent = this.extent.getCoordinatesInProjection(q)), new Sr(s);
18632
18636
  }
18633
18637
  }
18634
- class G1 extends Yo {
18638
+ class k1 extends Yo {
18635
18639
  constructor(e, s) {
18636
18640
  super(e, s);
18637
18641
  h(this, "tileProvider");
@@ -18692,7 +18696,7 @@ class G1 extends Yo {
18692
18696
  this.source && (this.source.clear(), this.source = null), this.tileProvider = null, super.destroy();
18693
18697
  }
18694
18698
  }
18695
- class k1 extends ca {
18699
+ class V1 extends ca {
18696
18700
  constructor(e, s) {
18697
18701
  super(e, s);
18698
18702
  h(this, "parameters");
@@ -18737,7 +18741,7 @@ class k1 extends ca {
18737
18741
  });
18738
18742
  }
18739
18743
  }
18740
- class V1 extends ca {
18744
+ class z1 extends ca {
18741
18745
  constructor(e, s) {
18742
18746
  super(e, s);
18743
18747
  h(this, "layer");
@@ -18872,7 +18876,7 @@ class Mo extends $t {
18872
18876
  }
18873
18877
  createImplementationsForMap(e) {
18874
18878
  return e instanceof z ? [new WC(e, this.getImplementationOptions())] : e instanceof be ? [
18875
- new R1(e, this.getImplementationOptions())
18879
+ new F1(e, this.getImplementationOptions())
18876
18880
  ] : [];
18877
18881
  }
18878
18882
  /**
@@ -18936,7 +18940,7 @@ class Vn extends ft {
18936
18940
  }
18937
18941
  }
18938
18942
  ze.registerClass(Vn.className, Vn);
18939
- function z1(i, t) {
18943
+ function B1(i, t) {
18940
18944
  return new Promise((e) => {
18941
18945
  var n;
18942
18946
  let s;
@@ -18949,14 +18953,14 @@ function z1(i, t) {
18949
18953
  }, t));
18950
18954
  });
18951
18955
  }
18952
- async function bE(i, t) {
18956
+ async function CE(i, t) {
18953
18957
  const e = i.getImplementations().filter((s) => s instanceof Cs);
18954
18958
  !i.active || e.every((s) => {
18955
18959
  var r;
18956
18960
  return (r = s.cesium3DTileset) == null ? void 0 : r.tilesLoaded;
18957
- }) || await Promise.all(e.map((s) => z1(s, t)));
18961
+ }) || await Promise.all(e.map((s) => B1(s, t)));
18958
18962
  }
18959
- function CE(i, t) {
18963
+ function ME(i, t) {
18960
18964
  return i.tilesLoaded ? Promise.resolve() : new Promise((e) => {
18961
18965
  let s;
18962
18966
  const r = i.tileLoadProgressEvent.addEventListener((n) => {
@@ -19152,7 +19156,7 @@ class Dg extends nt {
19152
19156
  this._features = [], super.destroy();
19153
19157
  }
19154
19158
  }
19155
- class B1 {
19159
+ class H1 {
19156
19160
  constructor(t) {
19157
19161
  h(this, "entities");
19158
19162
  h(this, "_featureItems", /* @__PURE__ */ new Map());
@@ -19255,7 +19259,7 @@ function ju(i) {
19255
19259
  }, () => {
19256
19260
  }), t;
19257
19261
  }
19258
- function H1(i, t) {
19262
+ function j1(i, t) {
19259
19263
  const e = [];
19260
19264
  let s = nr(/\s*{{#if\s([^}]*)}}\s*/g, i), r = nr(/\s*{{\/if}}\s*/g, i), n = nr(/\s*{{elseif\s([^}]*)}}\s*/g, i), a = nr(/\s*{{else}}\s*/g, i);
19261
19265
  const o = (c) => t.find((u) => Vr(c, u));
@@ -19297,7 +19301,7 @@ function Uu(i, t, e) {
19297
19301
  function Ch(i, t, e) {
19298
19302
  let s = i;
19299
19303
  const r = ju(i);
19300
- return H1(i, r).reverse().forEach(
19304
+ return j1(i, r).reverse().forEach(
19301
19305
  /** @param {ConditionalBlock} block */
19302
19306
  (n) => {
19303
19307
  const a = [n.opening];
@@ -19333,10 +19337,10 @@ function Ch(i, t, e) {
19333
19337
  s = Uu(s, n, l.join(""));
19334
19338
  }), s;
19335
19339
  }
19336
- function j1(i) {
19340
+ function $1(i) {
19337
19341
  return i;
19338
19342
  }
19339
- function $1(i, t, e = j1) {
19343
+ function U1(i, t, e = $1) {
19340
19344
  const s = Array.isArray(i) ? i.join(`
19341
19345
  `) : i, r = Ch(s, t, e);
19342
19346
  return Ng(r, t, e);
@@ -19481,7 +19485,7 @@ class Gi extends Ct {
19481
19485
  const { template: c, cacheKey: u, context: d } = this._templateFunction(this, a, e);
19482
19486
  if (!this._styleCache.has(u))
19483
19487
  try {
19484
- const f = `data:image/svg+xml,${encodeURIComponent($1(c, {
19488
+ const f = `data:image/svg+xml,${encodeURIComponent(U1(c, {
19485
19489
  text: this.getClusterText(o),
19486
19490
  size: o,
19487
19491
  ...this._templateContext,
@@ -19537,7 +19541,7 @@ class Gi extends Ct {
19537
19541
  this.clearCache(), this.styleChanged.destroy(), super.destroy();
19538
19542
  }
19539
19543
  }
19540
- function U1() {
19544
+ function q1() {
19541
19545
  return new Gi({});
19542
19546
  }
19543
19547
  class cc extends Ct {
@@ -19586,7 +19590,7 @@ class cc extends Ct {
19586
19590
  }
19587
19591
  }
19588
19592
  let zr = new se();
19589
- class q1 extends cc {
19593
+ class W1 extends cc {
19590
19594
  constructor(e, s) {
19591
19595
  super(e, s);
19592
19596
  h(this, "_rootCollection");
@@ -19619,7 +19623,7 @@ class q1 extends cc {
19619
19623
  }
19620
19624
  async initialize() {
19621
19625
  if (!this.initialized) {
19622
- if (this._context = new B1(this._rootCollection), this._rootCollection[vt] = this.name, await this.map.addClusterDataSource(this._rootCollection), this.isDestroyed)
19626
+ if (this._context = new H1(this._rootCollection), this._rootCollection[vt] = this.name, await this.map.addClusterDataSource(this._rootCollection), this.isDestroyed)
19623
19627
  return;
19624
19628
  this._sourceVectorContextSync = dg(this._source, this._context, this.map.getScene(), this.style, (e) => {
19625
19629
  var s;
@@ -19666,7 +19670,7 @@ class Gg extends jm {
19666
19670
  this._paused || super.refresh();
19667
19671
  }
19668
19672
  }
19669
- class W1 extends cc {
19673
+ class Y1 extends cc {
19670
19674
  constructor(e, s) {
19671
19675
  super(e, s);
19672
19676
  h(this, "_clusterSource");
@@ -19708,7 +19712,7 @@ class W1 extends cc {
19708
19712
  this._olLayer && this.map.removeOLLayer(this._olLayer), this._olLayer = void 0, this._clusterSource.clear(!0), this._clusterSource.dispose(), super.destroy();
19709
19713
  }
19710
19714
  }
19711
- class Y1 extends cr {
19715
+ class X1 extends cr {
19712
19716
  /**
19713
19717
  * @param {import("ol").Feature<import("ol/geom/Geometry").default>} feature
19714
19718
  * @param {boolean=} silent
@@ -19726,7 +19730,7 @@ class Y1 extends cr {
19726
19730
  this.addFeatureInternal(t), e || this.changed();
19727
19731
  }
19728
19732
  }
19729
- class X1 extends cc {
19733
+ class Z1 extends cc {
19730
19734
  constructor(e, s) {
19731
19735
  super(e, s);
19732
19736
  h(this, "_clusterSource");
@@ -19781,7 +19785,7 @@ class zn extends Ct {
19781
19785
  super(e);
19782
19786
  h(this, "_layerListeners", /* @__PURE__ */ new Map());
19783
19787
  h(this, "_activeSourceListeners", /* @__PURE__ */ new Map());
19784
- h(this, "_source", new Y1({}));
19788
+ h(this, "_source", new X1({}));
19785
19789
  h(this, "_featureVisibility", new na());
19786
19790
  h(this, "_style");
19787
19791
  h(this, "highlightStyle");
@@ -19793,7 +19797,7 @@ class zn extends Ct {
19793
19797
  h(this, "vectorProperties");
19794
19798
  h(this, "clusterDistance");
19795
19799
  const s = zn.getDefaultOptions();
19796
- this._style = Wu(e.style, U1()), e.highlightStyle && (this.highlightStyle = e.highlightStyle instanceof Gi ? e.highlightStyle : new Gi(e.highlightStyle)), this.clusterDistance = re(e.clusterDistance, s.clusterDistance), this.vectorProperties = new St(e.vectorProperties ?? s.vectorProperties), this._zIndex = re(e.zIndex, s.zIndex), this._styleFunction = this._style.createStyleFunction((r) => [...this._layerListeners.keys()].find((n) => n.name === r));
19800
+ this._style = Wu(e.style, q1()), e.highlightStyle && (this.highlightStyle = e.highlightStyle instanceof Gi ? e.highlightStyle : new Gi(e.highlightStyle)), this.clusterDistance = re(e.clusterDistance, s.clusterDistance), this.vectorProperties = new St(e.vectorProperties ?? s.vectorProperties), this._zIndex = re(e.zIndex, s.zIndex), this._styleFunction = this._style.createStyleFunction((r) => [...this._layerListeners.keys()].find((n) => n.name === r));
19797
19801
  }
19798
19802
  static get className() {
19799
19803
  return "VectorClusterGroup";
@@ -19910,11 +19914,11 @@ class zn extends Ct {
19910
19914
  }
19911
19915
  _createImplementationForMap(e) {
19912
19916
  if (e instanceof z)
19913
- return new q1(e, this.getImplementationOptions());
19914
- if (e instanceof be)
19915
19917
  return new W1(e, this.getImplementationOptions());
19918
+ if (e instanceof be)
19919
+ return new Y1(e, this.getImplementationOptions());
19916
19920
  if (e instanceof Me)
19917
- return new X1(e, this.getImplementationOptions());
19921
+ return new Z1(e, this.getImplementationOptions());
19918
19922
  }
19919
19923
  /**
19920
19924
  * creates or returns a cached array of cluster group implementations for the given map.
@@ -20004,7 +20008,7 @@ class Bn extends $t {
20004
20008
  };
20005
20009
  }
20006
20010
  createImplementationsForMap(e) {
20007
- return e instanceof be ? [new F1(e, this.getImplementationOptions())] : e instanceof z ? [new XC(e, this.getImplementationOptions())] : [];
20011
+ return e instanceof be ? [new G1(e, this.getImplementationOptions())] : e instanceof z ? [new XC(e, this.getImplementationOptions())] : [];
20008
20012
  }
20009
20013
  toJSON() {
20010
20014
  var r;
@@ -20013,13 +20017,13 @@ class Bn extends $t {
20013
20017
  }
20014
20018
  }
20015
20019
  ze.registerClass(Bn.className, Bn);
20016
- class Z1 extends ys {
20020
+ class J1 extends ys {
20017
20021
  constructor(e, s) {
20018
20022
  super(e, s);
20019
20023
  h(this, "_quadtreeProvider");
20020
20024
  h(this, "_quadtreePrimitive");
20021
20025
  h(this, "_primitiveCollection", new si());
20022
- this._quadtreeProvider = new u1(e, this._primitiveCollection, s), this._quadtreePrimitive = new Rp({
20026
+ this._quadtreeProvider = new d1(e, this._primitiveCollection, s), this._quadtreePrimitive = new Rp({
20023
20027
  tileProvider: this._quadtreeProvider
20024
20028
  }), this._primitiveCollection.add(this._quadtreePrimitive), this._primitiveCollection[J] = this.name, this._primitiveCollection.show = !1;
20025
20029
  }
@@ -20053,7 +20057,7 @@ function Yu(i, t, e) {
20053
20057
  let r = !1;
20054
20058
  i.hiddenObjects[s] ? (e[ht] = !0, r = !0) : e[ht] && (delete e[ht], r = !0), i.highlightedObjects[s] ? (e[Re] = i.highlightedObjects[s].style, r = !0) : e[Re] && (delete e[Re], r = !0), t != null && t.hiddenObjects[s] ? (e[Nt] = !0, r = !0) : e[Nt] && (delete e[Nt], r = !0), r && e.changed();
20055
20059
  }
20056
- const J1 = ["image", "primitive"];
20060
+ const K1 = ["image", "primitive"];
20057
20061
  class Hn extends ji {
20058
20062
  /**
20059
20063
  * @param options
@@ -20088,7 +20092,7 @@ class Hn extends ji {
20088
20092
  this.highlightStyle = void 0, e.highlightStyle && (this.highlightStyle = e.highlightStyle instanceof _e ? e.highlightStyle : new _e(e.highlightStyle)), this.vectorProperties = new St({
20089
20093
  allowPicking: this.allowPicking,
20090
20094
  ...e.vectorProperties
20091
- }), this.tileProvider = e.tileProvider instanceof nt ? e.tileProvider : fi(Bs, e.tileProvider ?? { type: nt.className }), this.tileProvider && (this.tileProvider.locale = this.locale), this._maxLevel = re(e.maxLevel, s.maxLevel), this._minLevel = re(e.minLevel, s.minLevel), this._declutter = ae(e.declutter, s.declutter), this._debug = ae(e.debug, s.debug), this._renderer = eS(e.renderer, J1, s.renderer);
20095
+ }), this.tileProvider = e.tileProvider instanceof nt ? e.tileProvider : fi(Bs, e.tileProvider ?? { type: nt.className }), this.tileProvider && (this.tileProvider.locale = this.locale), this._maxLevel = re(e.maxLevel, s.maxLevel), this._minLevel = re(e.minLevel, s.minLevel), this._declutter = ae(e.declutter, s.declutter), this._debug = ae(e.debug, s.debug), this._renderer = eS(e.renderer, K1, s.renderer);
20092
20096
  }
20093
20097
  static get className() {
20094
20098
  return "VectorTileLayer";
@@ -20213,9 +20217,9 @@ class Hn extends ji {
20213
20217
  }
20214
20218
  createImplementationsForMap(e) {
20215
20219
  return e instanceof z ? [
20216
- this._renderer === "image" ? new e1(e, this.getImplementationOptions()) : new Z1(e, this.getImplementationOptions())
20220
+ this._renderer === "image" ? new t1(e, this.getImplementationOptions()) : new J1(e, this.getImplementationOptions())
20217
20221
  ] : e instanceof be ? [
20218
- new G1(e, this.getImplementationOptions())
20222
+ new k1(e, this.getImplementationOptions())
20219
20223
  ] : [];
20220
20224
  }
20221
20225
  getStyleOrDefaultStyle(e, s) {
@@ -20391,7 +20395,7 @@ class jn extends $t {
20391
20395
  };
20392
20396
  }
20393
20397
  createImplementationsForMap(e) {
20394
- return e instanceof z ? [new t1(e, this.getImplementationOptions())] : e instanceof be ? [new k1(e, this.getImplementationOptions())] : [];
20398
+ return e instanceof z ? [new i1(e, this.getImplementationOptions())] : e instanceof be ? [new V1(e, this.getImplementationOptions())] : [];
20395
20399
  }
20396
20400
  /**
20397
20401
  * Sets the layers to request from the WmsLayer
@@ -20424,7 +20428,7 @@ class jn extends $t {
20424
20428
  }
20425
20429
  }
20426
20430
  ze.registerClass(jn.className, jn);
20427
- function K1(i, t, e) {
20431
+ function Q1(i, t, e) {
20428
20432
  if (i.length > 0) {
20429
20433
  if (i.length === t + 1)
20430
20434
  return i;
@@ -20477,12 +20481,12 @@ class $n extends $t {
20477
20481
  tileSize: this.tileSize,
20478
20482
  numberOfLevelZeroTilesX: this.numberOfLevelZeroTilesX,
20479
20483
  numberOfLevelZeroTilesY: this.numberOfLevelZeroTilesY,
20480
- matrixIds: K1(this.matrixIds, this.maxLevel, this.tileMatrixPrefix),
20484
+ matrixIds: Q1(this.matrixIds, this.maxLevel, this.tileMatrixPrefix),
20481
20485
  openlayersOptions: this.openlayersOptions
20482
20486
  };
20483
20487
  }
20484
20488
  createImplementationsForMap(e) {
20485
- return e instanceof be ? [new V1(e, this.getImplementationOptions())] : e instanceof z ? [new i1(e, this.getImplementationOptions())] : [];
20489
+ return e instanceof be ? [new z1(e, this.getImplementationOptions())] : e instanceof z ? [new s1(e, this.getImplementationOptions())] : [];
20486
20490
  }
20487
20491
  toJSON() {
20488
20492
  var r;
@@ -20664,7 +20668,7 @@ function Xu(i, t) {
20664
20668
  const s = ge.fromPointNormal(i, e);
20665
20669
  return mn.fromPlane(s);
20666
20670
  }
20667
- function Q1(i) {
20671
+ function eM(i) {
20668
20672
  const t = [], e = i.map((s) => Dt(s));
20669
20673
  for (let s = 0; s < e.length - 1; s++) {
20670
20674
  const r = s + 1, n = new _();
@@ -20682,7 +20686,7 @@ function Zu(i, t, e = {}) {
20682
20686
  const [l, c] = B.mercatorToWgs84(t[0]), u = _.fromDegrees(l, c, n), d = _.fromDegrees(l, c, a);
20683
20687
  return e.createBottomPlane && s.push(Xu(u, d)), o && e.createTopPlane && s.push(Xu(d, u)), s;
20684
20688
  }
20685
- function eM(i) {
20689
+ function tM(i) {
20686
20690
  const t = [], e = i.map((n) => Dt(n)), s = new _();
20687
20691
  _.cross(e[0], e[1], s), _.normalize(s, s);
20688
20692
  function r(n) {
@@ -20693,7 +20697,7 @@ function eM(i) {
20693
20697
  }
20694
20698
  return r(e[0]), _.negate(s, s), r(e[1]), t;
20695
20699
  }
20696
- function ME(i, t = {}, e = void 0) {
20700
+ function xE(i, t = {}, e = void 0) {
20697
20701
  w(i, he), w(t, Object), w(e, jd(G));
20698
20702
  const s = [], r = i.getGeometry(), n = r.getType();
20699
20703
  if (n === "Point")
@@ -20702,7 +20706,7 @@ function ME(i, t = {}, e = void 0) {
20702
20706
  const a = ai(r);
20703
20707
  if (a.length < 2 || a[0][0] === a[1][0] && a[0][1] === a[1][1])
20704
20708
  return null;
20705
- n === "Polygon" ? (uh(a), US(a)) : n === "LineString" && a.length === 2 && t.createEndingPlanes && s.push(...eM(a)), t.createVerticalPlanes && s.push(...Q1(a)), i.get("olcs_altitudeMode") === "absolute" && (t.createBottomPlane || t.createTopPlane) && s.push(...Zu(i, a, t));
20709
+ n === "Polygon" ? (uh(a), US(a)) : n === "LineString" && a.length === 2 && t.createEndingPlanes && s.push(...tM(a)), t.createVerticalPlanes && s.push(...eM(a)), i.get("olcs_altitudeMode") === "absolute" && (t.createBottomPlane || t.createTopPlane) && s.push(...Zu(i, a, t));
20706
20710
  }
20707
20711
  return e && s.forEach((a) => {
20708
20712
  const o = ge.transform(a, e);
@@ -20729,7 +20733,7 @@ function ln(i, t, e, s) {
20729
20733
  function il(i) {
20730
20734
  i.isDestroyed && i.isDestroyed() || (i instanceof gs ? i.model && (i.model.clippingPlanes ? i.model.clippingPlanes.getValue().removeAll() : i.model.clippingPlanes = new Fp(new gn())) : i.clippingPlanes ? i.clippingPlanes.removeAll() : i.clippingPlanes = new gn());
20731
20735
  }
20732
- function tM(i, t, e) {
20736
+ function iM(i, t, e) {
20733
20737
  if (il(i), e)
20734
20738
  ln(t, i.clippingPlanes);
20735
20739
  else if (!t.modelMatrix.equals(G.IDENTITY))
@@ -20739,10 +20743,10 @@ function tM(i, t, e) {
20739
20743
  ln(t, i.clippingPlanes, r, i.boundingSphere.center);
20740
20744
  }
20741
20745
  }
20742
- function iM(i, t) {
20746
+ function sM(i, t) {
20743
20747
  il(i), ln(t, i.clippingPlanes);
20744
20748
  }
20745
- function sM(i, t, e) {
20749
+ function rM(i, t, e) {
20746
20750
  if (i.model) {
20747
20751
  il(i);
20748
20752
  const s = i.model.clippingPlanes.getValue();
@@ -20753,9 +20757,9 @@ function sM(i, t, e) {
20753
20757
  }
20754
20758
  }
20755
20759
  function Ju(i, t, e) {
20756
- i instanceof Is ? tM(i, t, e) : i instanceof Gp ? iM(i, t) : sM(i, t, e);
20760
+ i instanceof Is ? iM(i, t, e) : i instanceof Gp ? sM(i, t) : rM(i, t, e);
20757
20761
  }
20758
- function xE(i, t, e = !1, s = 25, r = 0) {
20762
+ function EE(i, t, e = !1, s = 25, r = 0) {
20759
20763
  w(i, [Number]), w(e, Boolean), w(s, Number);
20760
20764
  let n;
20761
20765
  if (e) {
@@ -20776,7 +20780,7 @@ function xE(i, t, e = !1, s = 25, r = 0) {
20776
20780
  const a = new he({ geometry: n });
20777
20781
  return a.set("olcs_altitudeMode", "absolute"), e && a.set("olcs_extrudedHeight", s * 2), n.transform(de.proj, q.proj), a;
20778
20782
  }
20779
- function EE(i, t = !1) {
20783
+ function OE(i, t = !1) {
20780
20784
  return w(i, ne(he)), w(t, Boolean), (i ? i.getGeometry().getType() === "LineString" : !1) ? {
20781
20785
  createBottomPlane: !t,
20782
20786
  createTopPlane: !t,
@@ -20787,7 +20791,7 @@ function EE(i, t = !1) {
20787
20791
  createBottomPlane: !0
20788
20792
  };
20789
20793
  }
20790
- class rM {
20794
+ class nM {
20791
20795
  constructor(t) {
20792
20796
  h(this, "_defaultClippingObjects", /* @__PURE__ */ new Set());
20793
20797
  h(this, "_exclusiveClippingObjects", null);
@@ -21058,7 +21062,7 @@ function Js(i, t, e, s) {
21058
21062
  cn(a, t);
21059
21063
  });
21060
21064
  }
21061
- class nM extends Ht {
21065
+ class aM extends Ht {
21062
21066
  constructor(e) {
21063
21067
  super();
21064
21068
  h(this, "_app");
@@ -21380,7 +21384,7 @@ function kg(i) {
21380
21384
  i.maps.eventHandler.featureInteraction.pickPosition = t;
21381
21385
  };
21382
21386
  }
21383
- class aM extends fe {
21387
+ class oM extends fe {
21384
21388
  constructor() {
21385
21389
  super(T.CLICKMOVE | T.DBLCLICK, k.NONE | k.CTRL);
21386
21390
  h(this, "_geometry", null);
@@ -21410,7 +21414,7 @@ class aM extends fe {
21410
21414
  this._geometry = null, this._coordinates = [], this.finished.destroy(), this.created.destroy(), super.destroy();
21411
21415
  }
21412
21416
  }
21413
- class oM extends fe {
21417
+ class lM extends fe {
21414
21418
  constructor() {
21415
21419
  super(T.CLICKMOVE | T.DBLCLICK);
21416
21420
  h(this, "_geometry", null);
@@ -21440,7 +21444,7 @@ class oM extends fe {
21440
21444
  }
21441
21445
  }
21442
21446
  const Qu = 1e-6;
21443
- class lM extends fe {
21447
+ class hM extends fe {
21444
21448
  constructor() {
21445
21449
  super(T.CLICKMOVE | T.DBLCLICK);
21446
21450
  h(this, "_geometry", null);
@@ -21478,7 +21482,7 @@ class lM extends fe {
21478
21482
  this._geometry = null, this.finished.destroy(), this.created.destroy(), super.destroy();
21479
21483
  }
21480
21484
  }
21481
- class hM extends fe {
21485
+ class cM extends fe {
21482
21486
  constructor() {
21483
21487
  super(T.CLICK);
21484
21488
  h(this, "_geometry", null);
@@ -21500,7 +21504,7 @@ class hM extends fe {
21500
21504
  }
21501
21505
  }
21502
21506
  const Ao = Symbol("validityPlaceholder");
21503
- class cM extends fe {
21507
+ class uM extends fe {
21504
21508
  constructor() {
21505
21509
  super(T.CLICKMOVE | T.DBLCLICK, k.NONE | k.CTRL);
21506
21510
  h(this, "_geometry", null);
@@ -21536,9 +21540,9 @@ class cM extends fe {
21536
21540
  this._geometry = null, this._coordinates = [], this.finished.destroy(), this.created.destroy(), super.destroy();
21537
21541
  }
21538
21542
  }
21539
- const Vg = E.EPSILON3 * E.EPSILON3, uM = new _(), dM = new _(), fM = new _(), ed = new _(), gM = new ie(), mM = new G();
21540
- function pM(i, t, e, s = 89.9) {
21541
- const r = _.cross(i.direction, e, uM), n = E.toRadians(s), a = i.pitch - t.pitch;
21543
+ const Vg = E.EPSILON3 * E.EPSILON3, dM = new _(), fM = new _(), gM = new _(), ed = new _(), mM = new ie(), pM = new G();
21544
+ function yM(i, t, e, s = 89.9) {
21545
+ const r = _.cross(i.direction, e, dM), n = E.toRadians(s), a = i.pitch - t.pitch;
21542
21546
  if (a < -n ? t.pitch = t.pitch + a + n : a > n && (t.pitch = t.pitch + a - n), _.magnitudeSquared(r) > Vg)
21543
21547
  i.look(r, t.pitch);
21544
21548
  else {
@@ -21547,8 +21551,8 @@ function pM(i, t, e, s = 89.9) {
21547
21551
  }
21548
21552
  i.look(e, t.heading);
21549
21553
  }
21550
- function yM(i, t, e, s) {
21551
- const r = _.cross(t, e, dM), n = _.magnitude(t), a = 2 * Math.PI * s, o = n / a * (2 * Math.PI);
21554
+ function _M(i, t, e, s) {
21555
+ const r = _.cross(t, e, fM), n = _.magnitude(t), a = 2 * Math.PI * s, o = n / a * (2 * Math.PI);
21552
21556
  if (!Number.isNaN(o)) {
21553
21557
  if (_.magnitudeSquared(r) > Vg)
21554
21558
  i.rotate(r, o);
@@ -21558,14 +21562,14 @@ function yM(i, t, e, s) {
21558
21562
  }
21559
21563
  }
21560
21564
  }
21561
- function _M(i, t, e) {
21562
- const s = _.multiplyByScalar(i.right, t.x, fM), r = _.multiplyByScalar(i.direction, t.y, ed);
21565
+ function vM(i, t, e) {
21566
+ const s = _.multiplyByScalar(i.right, t.x, gM), r = _.multiplyByScalar(i.direction, t.y, ed);
21563
21567
  i.move(e, t.z);
21564
21568
  const n = _.add(s, r, ed), a = _.magnitude(i.position);
21565
- yM(i, n, e, a);
21569
+ _M(i, n, e, a);
21566
21570
  }
21567
- function vM(i, t = new _()) {
21568
- const e = G.getMatrix3(zi.eastNorthUpToFixedFrame(i.camera.position, i.globe.ellipsoid, mM), gM);
21571
+ function wM(i, t = new _()) {
21572
+ const e = G.getMatrix3(zi.eastNorthUpToFixedFrame(i.camera.position, i.globe.ellipsoid, pM), mM);
21569
21573
  return ie.getColumn(e, 2, t);
21570
21574
  }
21571
21575
  function zg(i) {
@@ -21574,14 +21578,14 @@ function zg(i) {
21574
21578
  function Bg(i, t = 16) {
21575
21579
  return i < t ? t : i;
21576
21580
  }
21577
- function wM(i, t, e, s = new _()) {
21581
+ function SM(i, t, e, s = new _()) {
21578
21582
  let r = 0;
21579
21583
  const { positionCartographic: n } = i.camera, a = i.globe.getHeight(n);
21580
21584
  a && !Number.isNaN(a) && (r = a);
21581
21585
  const l = Bg(Math.abs(n.height - r)) * e * zg(i.camera);
21582
21586
  return s.x = t.right * l, s.y = t.forward * l, s.z = t.up * l, s;
21583
21587
  }
21584
- function SM(i, t, e, s = new Vi()) {
21588
+ function bM(i, t, e, s = new Vi()) {
21585
21589
  const r = e * zg(i.camera);
21586
21590
  return s.heading = t.turnRight * r, s.pitch = t.tiltDown * r, s.roll = t.rollRight * r, s;
21587
21591
  }
@@ -21621,7 +21625,7 @@ class Ui {
21621
21625
  return this.baseTranSpeed !== t.baseTranSpeed && (e.baseTranSpeed = this.baseTranSpeed), this.baseRotSpeed !== t.baseRotSpeed && (e.baseRotSpeed = this.baseRotSpeed), e;
21622
21626
  }
21623
21627
  }
21624
- const bM = new _(), CM = new Vi();
21628
+ const CM = new _(), MM = new Vi();
21625
21629
  class Do extends Ui {
21626
21630
  constructor(e, s) {
21627
21631
  const r = Do.getDefaultOptions();
@@ -21644,14 +21648,14 @@ class Do extends Ui {
21644
21648
  }
21645
21649
  update(e) {
21646
21650
  if (this._scene) {
21647
- const s = vM(this._scene), r = this.moveThreshold * this.moveThreshold, { forward: n, right: a, up: o, tiltDown: l, rollRight: c, turnRight: u } = e.input;
21651
+ const s = wM(this._scene), r = this.moveThreshold * this.moveThreshold, { forward: n, right: a, up: o, tiltDown: l, rollRight: c, turnRight: u } = e.input;
21648
21652
  if (l * l + c * c + u * u > r) {
21649
- const d = SM(this._scene, e.input, this.baseRotSpeed, CM);
21650
- pM(this._scene.camera, d, s);
21653
+ const d = bM(this._scene, e.input, this.baseRotSpeed, MM);
21654
+ yM(this._scene.camera, d, s);
21651
21655
  }
21652
21656
  if (n * n + a * a + o * o > r) {
21653
- const d = wM(this._scene, e.input, this.baseTranSpeed, bM);
21654
- _M(this._scene.camera, d, s);
21657
+ const d = SM(this._scene, e.input, this.baseTranSpeed, CM);
21658
+ vM(this._scene.camera, d, s);
21655
21659
  }
21656
21660
  }
21657
21661
  }
@@ -21677,7 +21681,7 @@ function Hg(i, t, e) {
21677
21681
  }
21678
21682
  }
21679
21683
  }
21680
- class MM extends Ui {
21684
+ class xM extends Ui {
21681
21685
  static get className() {
21682
21686
  return "OpenlayersNavigation";
21683
21687
  }
@@ -21751,38 +21755,38 @@ function cs() {
21751
21755
  turnRight: 0
21752
21756
  };
21753
21757
  }
21754
- function xM(i) {
21758
+ function EM(i) {
21755
21759
  return i.forward = 0, i.right = 0, i.up = 0, i.tiltDown = 0, i.rollRight = 0, i.turnRight = 0, i;
21756
21760
  }
21757
- function EM(i, t = E.EPSILON2) {
21761
+ function OM(i, t = E.EPSILON2) {
21758
21762
  return i.forward * i.forward + i.right * i.right + i.up * i.up > t * t || i.tiltDown * i.tiltDown + i.rollRight * i.rollRight + i.turnRight * i.turnRight > t * t;
21759
21763
  }
21760
- function OE(i, t = cs()) {
21764
+ function PE(i, t = cs()) {
21761
21765
  return t.forward = i[0], t.right = i[1], t.up = i[2], t.tiltDown = i[3], t.rollRight = i[4], t.turnRight = i[5], t;
21762
21766
  }
21763
- function OM(i, t, e) {
21767
+ function PM(i, t, e) {
21764
21768
  return e.forward = i.forward * t.forward, e.right = i.right * t.right, e.up = i.up * t.up, e.tiltDown = i.tiltDown * t.tiltDown, e.rollRight = i.rollRight * t.rollRight, e.turnRight = i.turnRight * t.turnRight, e;
21765
21769
  }
21766
21770
  function td(i, t, e) {
21767
21771
  return e.forward = i.forward * t, e.right = i.right * t, e.up = i.up * t, e.tiltDown = i.tiltDown * t, e.rollRight = i.rollRight * t, e.turnRight = i.turnRight * t, e;
21768
21772
  }
21769
- function PM(i, t, e) {
21773
+ function LM(i, t, e) {
21770
21774
  return e.forward = i.forward + t.forward, e.right = i.right + t.right, e.up = i.up + t.up, e.tiltDown = i.tiltDown + t.tiltDown, e.rollRight = i.rollRight + t.rollRight, e.turnRight = i.turnRight + t.turnRight, e;
21771
21775
  }
21772
21776
  const id = cs();
21773
- function LM(i, t, e, s) {
21774
- return td(t, e, id), td(i, 1 - e, s), PM(id, s, s);
21777
+ function IM(i, t, e, s) {
21778
+ return td(t, e, id), td(i, 1 - e, s), LM(id, s, s);
21775
21779
  }
21776
- function IM(i, t, e, s, r = 2) {
21777
- return LM(i, t, e, s), s.forward = Ws(s.forward, r), s.right = Ws(s.right, r), s.up = Ws(s.up, r), s.tiltDown = Ws(s.tiltDown, r), s.rollRight = Ws(s.rollRight, r), s.turnRight = Ws(s.turnRight, r), s;
21780
+ function TM(i, t, e, s, r = 2) {
21781
+ return IM(i, t, e, s), s.forward = Ws(s.forward, r), s.right = Ws(s.right, r), s.up = Ws(s.up, r), s.tiltDown = Ws(s.tiltDown, r), s.rollRight = Ws(s.rollRight, r), s.turnRight = Ws(s.turnRight, r), s;
21778
21782
  }
21779
21783
  function sd(i, t, e = E.EPSILON2) {
21780
21784
  return !!(i === t || i && t && E.equalsEpsilon(i.forward, t.forward, e) && E.equalsEpsilon(i.right, t.right, e) && E.equalsEpsilon(i.up, t.up, e) && E.equalsEpsilon(i.tiltDown, t.tiltDown, e) && E.equalsEpsilon(i.rollRight, t.rollRight, e) && E.equalsEpsilon(i.turnRight, t.turnRight, e));
21781
21785
  }
21782
- function TM(i, t) {
21786
+ function AM(i, t) {
21783
21787
  return Object.values(i).some((e) => Math.abs(e) > t);
21784
21788
  }
21785
- const AM = cs();
21789
+ const DM = cs();
21786
21790
  function rd(i, t, e = cs(), s = cs()) {
21787
21791
  return {
21788
21792
  startTime: i,
@@ -21792,7 +21796,7 @@ function rd(i, t, e = cs(), s = cs()) {
21792
21796
  return n < 1 ? { movement: {
21793
21797
  time: n,
21794
21798
  duration: t,
21795
- input: IM(e, s, n, AM, 3)
21799
+ input: TM(e, s, n, DM, 3)
21796
21800
  }, finished: r >= i + t } : {
21797
21801
  movement: {
21798
21802
  time: n,
@@ -21804,32 +21808,32 @@ function rd(i, t, e = cs(), s = cs()) {
21804
21808
  }
21805
21809
  };
21806
21810
  }
21807
- function DM() {
21811
+ function NM() {
21808
21812
  return {
21809
21813
  time: 0,
21810
21814
  duration: 0,
21811
21815
  input: cs()
21812
21816
  };
21813
21817
  }
21814
- function NM(i) {
21815
- return EM(i.input);
21816
- }
21817
21818
  function RM(i) {
21819
+ return OM(i.input);
21820
+ }
21821
+ function FM(i) {
21818
21822
  if (i instanceof z)
21819
21823
  return new Do(i);
21820
21824
  if (i instanceof be)
21821
- return new MM(i);
21825
+ return new xM(i);
21822
21826
  if (i instanceof Me)
21823
21827
  return new No(i);
21824
21828
  }
21825
- class FM {
21829
+ class GM {
21826
21830
  constructor() {
21827
21831
  h(this, "_defaultNavigationImpls", /* @__PURE__ */ new Map());
21828
21832
  h(this, "_customNavigationImpls", /* @__PURE__ */ new Map());
21829
21833
  h(this, "_currentNavigation");
21830
21834
  h(this, "currentNavigationChanged", new L());
21831
21835
  h(this, "_controller", /* @__PURE__ */ new Map());
21832
- h(this, "_movement", DM());
21836
+ h(this, "_movement", NM());
21833
21837
  h(this, "_easing");
21834
21838
  h(this, "easingDuration", 1e3);
21835
21839
  h(this, "_animationFrameId");
@@ -21861,7 +21865,7 @@ class FM {
21861
21865
  this._animationFrameId && (cancelAnimationFrame(this._animationFrameId), this._animationFrameId = void 0);
21862
21866
  }
21863
21867
  getNavigationImplForMap(t) {
21864
- return this._customNavigationImpls.has(t) ? this._customNavigationImpls.get(t).impl : (this._defaultNavigationImpls.has(t) || this._defaultNavigationImpls.set(t, RM(t)), this._defaultNavigationImpls.get(t));
21868
+ return this._customNavigationImpls.has(t) ? this._customNavigationImpls.get(t).impl : (this._defaultNavigationImpls.has(t) || this._defaultNavigationImpls.set(t, FM(t)), this._defaultNavigationImpls.get(t));
21865
21869
  }
21866
21870
  /**
21867
21871
  * Allows to override the default navigation behaviour for a map by providing a custom NavigationImpl
@@ -21922,7 +21926,7 @@ class FM {
21922
21926
  }
21923
21927
  updateNavigation() {
21924
21928
  var t;
21925
- !((t = this._activeMap) != null && t.movementKeyEventsDisabled) && this._currentNavigation && NM(this.movement) && this._currentNavigation.update(this._movement);
21929
+ !((t = this._activeMap) != null && t.movementKeyEventsDisabled) && this._currentNavigation && RM(this.movement) && this._currentNavigation.update(this._movement);
21926
21930
  }
21927
21931
  destroy() {
21928
21932
  this._stopInputLoop(), this._controller.forEach((t) => t.destroy()), this._controller.clear(), this._customNavigationImpls.forEach(({ cb: t }) => t()), this._customNavigationImpls.clear(), this._defaultNavigationImpls.clear(), this._currentNavigation = void 0;
@@ -21955,7 +21959,7 @@ class Un {
21955
21959
  }
21956
21960
  getInputs() {
21957
21961
  const t = this.getControllerInput();
21958
- return t && TM(t, this.inputThreshold) ? this.scales ? OM(t, this.scales, t) : t : null;
21962
+ return t && AM(t, this.inputThreshold) ? this.scales ? PM(t, this.scales, t) : t : null;
21959
21963
  }
21960
21964
  toJSON() {
21961
21965
  const t = Un.getDefaultOptions(), e = {
@@ -22058,13 +22062,13 @@ class fc extends Un {
22058
22062
  this._target = e, this._setupFocusListener();
22059
22063
  }
22060
22064
  getControllerInput() {
22061
- return xM(this._input), this._keyState.get(pe.FORWARD) && (this._input.forward = 1), this._keyState.get(pe.BACKWARD) && (this._input.forward = -1), this._keyState.get(pe.RIGHT) && (this._input.right = 1), this._keyState.get(pe.LEFT) && (this._input.right = -1), this._keyState.get(pe.UP) && (this._input.up = 1), this._keyState.get(pe.DOWN) && (this._input.up = -1), this._keyState.get(pe.TILT_DOWN) && (this._input.tiltDown = 1), this._keyState.get(pe.TILT_UP) && (this._input.tiltDown = -1), this._keyState.get(pe.ROLL_RIGHT) && (this._input.rollRight = 1), this._keyState.get(pe.ROLL_LEFT) && (this._input.rollRight = -1), this._keyState.get(pe.TURN_RIGHT) && (this._input.turnRight = 1), this._keyState.get(pe.TURN_LEFT) && (this._input.turnRight = -1), this._input;
22065
+ return EM(this._input), this._keyState.get(pe.FORWARD) && (this._input.forward = 1), this._keyState.get(pe.BACKWARD) && (this._input.forward = -1), this._keyState.get(pe.RIGHT) && (this._input.right = 1), this._keyState.get(pe.LEFT) && (this._input.right = -1), this._keyState.get(pe.UP) && (this._input.up = 1), this._keyState.get(pe.DOWN) && (this._input.up = -1), this._keyState.get(pe.TILT_DOWN) && (this._input.tiltDown = 1), this._keyState.get(pe.TILT_UP) && (this._input.tiltDown = -1), this._keyState.get(pe.ROLL_RIGHT) && (this._input.rollRight = 1), this._keyState.get(pe.ROLL_LEFT) && (this._input.rollRight = -1), this._keyState.get(pe.TURN_RIGHT) && (this._input.turnRight = 1), this._keyState.get(pe.TURN_LEFT) && (this._input.turnRight = -1), this._input;
22062
22066
  }
22063
22067
  destroy() {
22064
22068
  this._keyState.clear(), this._removeKeyListeners(), this._removeFocusListener(), super.destroy();
22065
22069
  }
22066
22070
  }
22067
- async function GM(i, t) {
22071
+ async function kM(i, t) {
22068
22072
  const e = i.getViewpointSync();
22069
22073
  if (!e)
22070
22074
  return;
@@ -22122,7 +22126,7 @@ class gc extends Ht {
22122
22126
  });
22123
22127
  h(this, "_exclusiveMapControls");
22124
22128
  h(this, "_exclusiveMapControlsChanged", new L());
22125
- this.clippingObjectManager = new rM(this._layerCollection), this.navigation = new FM(), this.navigation.addController(new fc({ id: "keyboard", target: this._target }));
22129
+ this.clippingObjectManager = new nM(this._layerCollection), this.navigation = new GM(), this.navigation.addController(new fc({ id: "keyboard", target: this._target }));
22126
22130
  }
22127
22131
  /**
22128
22132
  * Creates a MapCollection from an iterable of maps, such as an Array.
@@ -22253,7 +22257,7 @@ class gc extends Ht {
22253
22257
  const s = this.getByKey(e);
22254
22258
  if (!s)
22255
22259
  return U("MapCollection").warning(`could not find map with name ${e}`), Promise.resolve();
22256
- this._activeMap && this._activeMap.className === "CesiumMap" && s.className === "OpenlayersMap" && await GM(this._activeMap, s);
22260
+ this._activeMap && this._activeMap.className === "CesiumMap" && s.className === "OpenlayersMap" && await kM(this._activeMap, s);
22257
22261
  try {
22258
22262
  await s.initialize();
22259
22263
  } catch (o) {
@@ -22339,10 +22343,10 @@ class gc extends Ht {
22339
22343
  }), this._mapPointerListeners = [], this._target = null;
22340
22344
  }
22341
22345
  }
22342
- function kM() {
22346
+ function VM() {
22343
22347
  return navigator.language ? navigator.language.substring(0, 2) : "en";
22344
22348
  }
22345
- function VM(i, t) {
22349
+ function zM(i, t) {
22346
22350
  const e = Qt(new Ht("id"), i);
22347
22351
  return e.added.addEventListener(({ id: s }) => {
22348
22352
  t.hideObjects([s]);
@@ -22352,7 +22356,7 @@ function VM(i, t) {
22352
22356
  t.showObjects([s]);
22353
22357
  }), e;
22354
22358
  }
22355
- function PE(i) {
22359
+ function LE(i) {
22356
22360
  const t = i.toJSON();
22357
22361
  return t.loop != null && t.loop, t.interpolation != null && t.interpolation, t.multiplier != null && t.multiplier, {
22358
22362
  type: "FeatureCollection",
@@ -22403,7 +22407,7 @@ function $g(i) {
22403
22407
  }
22404
22408
  return t;
22405
22409
  }
22406
- function LE(i) {
22410
+ function IE(i) {
22407
22411
  return {
22408
22412
  type: "FeatureCollection",
22409
22413
  features: [
@@ -22418,7 +22422,7 @@ function LE(i) {
22418
22422
  ]
22419
22423
  };
22420
22424
  }
22421
- function zM(i) {
22425
+ function BM(i) {
22422
22426
  const t = i.vcsMeta && i.vcsMeta.flightOptions ? i.vcsMeta.flightOptions : {};
22423
22427
  return t.anchors = i.features, t;
22424
22428
  }
@@ -22431,7 +22435,7 @@ const Ug = {
22431
22435
  duration: Number,
22432
22436
  title: ne(String)
22433
22437
  };
22434
- function BM(i) {
22438
+ function HM(i) {
22435
22439
  return qi(i, Ug) && i.coordinate.length === 3;
22436
22440
  }
22437
22441
  function qg(i) {
@@ -22486,7 +22490,7 @@ function qg(i) {
22486
22490
  }
22487
22491
  };
22488
22492
  }
22489
- function IE(i) {
22493
+ function TE(i) {
22490
22494
  if (i.cameraPosition)
22491
22495
  return qg({
22492
22496
  ...i,
@@ -22501,10 +22505,10 @@ function nd(i) {
22501
22505
  name: i.id ? String(i.id) : $e(),
22502
22506
  coordinate: i.geometry.coordinates
22503
22507
  };
22504
- if (BM(t))
22508
+ if (HM(t))
22505
22509
  return qg(t);
22506
22510
  }
22507
- function TE(i) {
22511
+ function AE(i) {
22508
22512
  return new It({
22509
22513
  name: i.name,
22510
22514
  cameraPosition: i.coordinate.slice(),
@@ -22517,7 +22521,7 @@ function TE(i) {
22517
22521
  }
22518
22522
  });
22519
22523
  }
22520
- function HM(i) {
22524
+ function jM(i) {
22521
22525
  const t = {
22522
22526
  heading: i.heading,
22523
22527
  pitch: i.pitch,
@@ -22593,7 +22597,7 @@ class vr extends Ct {
22593
22597
  initialize() {
22594
22598
  if (!this._readyPromise) {
22595
22599
  this._url ? this._readyPromise = Ns(this._url).then((e) => {
22596
- const s = zM(e);
22600
+ const s = BM(e);
22597
22601
  (s.anchors ?? []).map(nd).filter((r) => !!r).forEach((r) => this.anchors.add(r)), this._multiplier = s.multiplier ?? this._multiplier, this._loop = s.loop ?? this._loop, this._interpolation = s.interpolation ?? this._interpolation;
22598
22602
  }) : this._readyPromise = Promise.resolve();
22599
22603
  for (const e of this.anchors)
@@ -22629,13 +22633,13 @@ class vr extends Ct {
22629
22633
  if (this._url)
22630
22634
  return e.url = this._url, e;
22631
22635
  const s = vr.getDefaultOptions();
22632
- return this._multiplier !== s.multiplier && (e.multiplier = this._multiplier), this._loop !== s.loop && (e.loop = this._loop), this._interpolation !== s.interpolation && (e.interpolation = this._interpolation), this.anchors.size > 0 && (e.anchors = [...this.anchors].map(HM)), e;
22636
+ return this._multiplier !== s.multiplier && (e.multiplier = this._multiplier), this._loop !== s.loop && (e.loop = this._loop), this._interpolation !== s.interpolation && (e.interpolation = this._interpolation), this.anchors.size > 0 && (e.anchors = [...this.anchors].map(jM)), e;
22633
22637
  }
22634
22638
  destroy() {
22635
22639
  this.anchorsChanged.destroy(), Yt(this.anchors), this._anchorListeners.clear(), super.destroy();
22636
22640
  }
22637
22641
  }
22638
- function jM() {
22642
+ function $M() {
22639
22643
  let i = 0, t = 0, e = 0, s = [];
22640
22644
  return {
22641
22645
  get startTime() {
@@ -22666,13 +22670,13 @@ function jM() {
22666
22670
  }
22667
22671
  };
22668
22672
  }
22669
- async function $M(i, t) {
22673
+ async function UM(i, t) {
22670
22674
  w(i, vr), w(t, Wg);
22671
22675
  let e = t.maps.activeMap instanceof z ? t.maps.activeMap : t.maps.getByType(z.className)[0];
22672
22676
  if (!e)
22673
22677
  throw new Error("Cannot start a flight player without a cesium map");
22674
22678
  await i.initialize();
22675
- const s = jM();
22679
+ const s = $M();
22676
22680
  let r = "stopped";
22677
22681
  const n = new L(), a = (C) => {
22678
22682
  r = C, n.raiseEvent(r);
@@ -22814,7 +22818,7 @@ async function $M(i, t) {
22814
22818
  destroy: D
22815
22819
  };
22816
22820
  }
22817
- class UM extends Ht {
22821
+ class qM extends Ht {
22818
22822
  constructor(e) {
22819
22823
  super();
22820
22824
  h(this, "_app");
@@ -22837,7 +22841,7 @@ class UM extends Ht {
22837
22841
  */
22838
22842
  async setPlayerForFlight(e) {
22839
22843
  var s;
22840
- return ((s = this._player) == null ? void 0 : s.flightInstanceName) === e.name ? this._player : (this._player && (this._playerDestroyedListener(), this._player.stop(), this._player.destroy()), this._player = await $M(e, this._app), this.playerChanged.raiseEvent(this._player), this._playerDestroyedListener = this._player.destroyed.addEventListener(() => {
22844
+ return ((s = this._player) == null ? void 0 : s.flightInstanceName) === e.name ? this._player : (this._player && (this._playerDestroyedListener(), this._player.stop(), this._player.destroy()), this._player = await UM(e, this._app), this.playerChanged.raiseEvent(this._player), this._playerDestroyedListener = this._player.destroyed.addEventListener(() => {
22841
22845
  this._player = void 0, this.playerChanged.raiseEvent(void 0);
22842
22846
  }), this._player);
22843
22847
  }
@@ -22848,7 +22852,7 @@ class UM extends Ht {
22848
22852
  function Br() {
22849
22853
  return U("init");
22850
22854
  }
22851
- const Ro = /* @__PURE__ */ new Map(), qM = "_defaultDynamicModule";
22855
+ const Ro = /* @__PURE__ */ new Map(), WM = "_defaultDynamicModule";
22852
22856
  class Wg {
22853
22857
  /**
22854
22858
  * @param options
@@ -22890,9 +22894,9 @@ class Wg {
22890
22894
  h(this, "_categoryItemClassRegistry");
22891
22895
  h(this, "_tileProviderClassRegistry");
22892
22896
  h(this, "_featureProviderClassRegistry");
22893
- this._id = (t == null ? void 0 : t._id) || $e(), this.name = t.name ?? this._id, this.description = t.description, this.properties = t.properties, this._defaultDynamicModule = new ph({ _id: qM }), this._dynamicModule = this._defaultDynamicModule;
22897
+ this._id = (t == null ? void 0 : t._id) || $e(), this.name = t.name ?? this._id, this.description = t.description, this.properties = t.properties, this._defaultDynamicModule = new ph({ _id: WM }), this._dynamicModule = this._defaultDynamicModule;
22894
22898
  const e = () => this._dynamicModule._id;
22895
- this._dynamicModuleIdChanged = new L(), this._locale = kM(), this._localeChanged = new L(), this._mapClassRegistry = new Pi(xr), this._maps = Qt(new gc(), e, void 0, IS.bind(null, this), Si), this._layerClassRegistry = new Pi(ze), this._layers = Qt(this._maps.layerCollection, e, DS.bind(null, this), AS.bind(null, this), ft, NS), this._layers.locale = this.locale, this._vectorClusterGroups = Qt(this._layers.vectorClusterGroups, e, void 0, (s) => new zn(s), zn), this._obliqueCollections = Qt(new Ht(), e, void 0, (s) => new Rs(s), Rs), this._viewpoints = Qt(new Ht(), e, void 0, TS, It), this._styleClassRegistry = new Pi(ia), this._styles = Qt(new Ht(), e, void 0, (s) => fi(this._styleClassRegistry, s), wi), this._modules = new os("_id"), this._modules.add(this._dynamicModule), this._hiddenObjects = VM(e, this._layers.globalHider), this._clippingPolygons = Qt(new nM(this), e, void 0, (s) => new ar(s)), this._flights = Qt(new UM(this), e, void 0, (s) => new vr(s)), this._categoryClassRegistry = new Pi(Sf), this._categories = new LC(this), this._displayQuality = new To(this), this._destroyed = new L(), this._moduleMutationChain = { running: !1, items: [] }, this._categoryItemClassRegistry = new Pi(new ps()), this._tileProviderClassRegistry = new Pi(Bs), this._featureProviderClassRegistry = new Pi(Uh), Ro.set(this._id, this);
22899
+ this._dynamicModuleIdChanged = new L(), this._locale = VM(), this._localeChanged = new L(), this._mapClassRegistry = new Pi(xr), this._maps = Qt(new gc(), e, void 0, IS.bind(null, this), Si), this._layerClassRegistry = new Pi(ze), this._layers = Qt(this._maps.layerCollection, e, DS.bind(null, this), AS.bind(null, this), ft, NS), this._layers.locale = this.locale, this._vectorClusterGroups = Qt(this._layers.vectorClusterGroups, e, void 0, (s) => new zn(s), zn), this._obliqueCollections = Qt(new Ht(), e, void 0, (s) => new Rs(s), Rs), this._viewpoints = Qt(new Ht(), e, void 0, TS, It), this._styleClassRegistry = new Pi(ia), this._styles = Qt(new Ht(), e, void 0, (s) => fi(this._styleClassRegistry, s), wi), this._modules = new os("_id"), this._modules.add(this._dynamicModule), this._hiddenObjects = zM(e, this._layers.globalHider), this._clippingPolygons = Qt(new aM(this), e, void 0, (s) => new ar(s)), this._flights = Qt(new qM(this), e, void 0, (s) => new vr(s)), this._categoryClassRegistry = new Pi(Sf), this._categories = new LC(this), this._displayQuality = new To(this), this._destroyed = new L(), this._moduleMutationChain = { running: !1, items: [] }, this._categoryItemClassRegistry = new Pi(new ps()), this._tileProviderClassRegistry = new Pi(Bs), this._featureProviderClassRegistry = new Pi(Uh), Ro.set(this._id, this);
22896
22900
  }
22897
22901
  get id() {
22898
22902
  return this._id;
@@ -23116,7 +23120,7 @@ class Wg {
23116
23120
  }), Ro.delete(this._id), Yt(this._maps), Yt(this._layers), Yt(this._obliqueCollections), Yt(this._viewpoints), Yt(this._flights), Yt(this._styles), Yt(this._categories), Yt(this._clippingPolygons), this._modules.destroy(), this._hiddenObjects.destroy(), this._mapClassRegistry.destroy(), this._layerClassRegistry.destroy(), this._styleClassRegistry.destroy(), this._categoryClassRegistry.destroy(), this._categoryItemClassRegistry.destroy(), this._tileProviderClassRegistry.destroy(), this._featureProviderClassRegistry.destroy(), this._displayQuality.destroy(), this.destroyed.raiseEvent(), this.destroyed.destroy(), this.localeChanged.destroy(), this.dynamicModuleIdChanged.destroy();
23117
23121
  }
23118
23122
  }
23119
- function AE(i) {
23123
+ function DE(i) {
23120
23124
  return Ro.get(i);
23121
23125
  }
23122
23126
  window.vcs = window.vcs || {};
@@ -23195,12 +23199,12 @@ function qn(i, t, e) {
23195
23199
  e[2]
23196
23200
  ];
23197
23201
  }
23198
- function WM(i, t, e, s) {
23202
+ function YM(i, t, e, s) {
23199
23203
  yt = _.fromElements(t[0] - i[0], t[1] - i[1], t[2] - i[2], yt), Be = _.fromElements(e[0] - i[0], e[1] - i[1], e[2] - i[2], Be), Hl = _.fromElements(e[0] - t[0], e[1] - t[1], e[2] - e[2], Hl);
23200
23204
  const r = _.magnitude(yt);
23201
23205
  return r < _.magnitude(Be) || r < _.magnitude(Hl) ? !1 : (yt = _.normalize(yt, yt), Be = _.normalize(Be, Be), yt.equalsEpsilon(Be, s || E.EPSILON5));
23202
23206
  }
23203
- function YM(i, t, e, s) {
23207
+ function XM(i, t, e, s) {
23204
23208
  Le = H.fromElements(t[0] - i[0], t[1] - i[1], Le), ui = H.fromElements(e[0] - i[0], e[1] - i[1], ui), Bl = H.fromElements(e[0] - t[0], e[1] - t[1], Bl);
23205
23209
  const r = H.magnitude(Le);
23206
23210
  return r < H.magnitude(ui) || r < H.magnitude(Bl) ? !1 : (Le = H.normalize(Le, Le), ui = H.normalize(ui, ui), Le.equalsEpsilon(ui, s || E.EPSILON5));
@@ -23208,20 +23212,20 @@ function YM(i, t, e, s) {
23208
23212
  function Zg(i, t) {
23209
23213
  return yt = Dt(i, yt), Be = t.globe.ellipsoid.geodeticSurfaceNormal(yt, Be), Be = _.cross(t.camera.rightWC, Be, Be), Be = _.normalize(Be, Be), ge.fromPointNormal(yt, Be);
23210
23214
  }
23211
- function DE(i, t) {
23215
+ function NE(i, t) {
23212
23216
  return yt = Dt(i, yt), Be = t.globe.ellipsoid.geodeticSurfaceNormal(yt, Be), ge.fromPointNormal(yt, Be);
23213
23217
  }
23214
23218
  function di(i, t, e) {
23215
23219
  const s = t.getPickRay(e, new zd()), r = Bp.rayPlane(s, i);
23216
23220
  return r ? se.fromCartesian(r) : se.ZERO;
23217
23221
  }
23218
- async function NE(i, t) {
23222
+ async function RE(i, t) {
23219
23223
  if (U("editor helpers").deprecate("drapeGeometryOnTerrain", "drapeGeometryOnTerrain is deprecated and will be removed in 6.1. Use drapeGeometryOnSurface instead."), t instanceof z) {
23220
23224
  const e = i.getCoordinates(), s = ai(i, e);
23221
23225
  await t.getHeightFromTerrain(s), i.setCoordinates(e, "XYZ");
23222
23226
  }
23223
23227
  }
23224
- async function RE(i, t) {
23228
+ async function FE(i, t) {
23225
23229
  if (U("editor helpers").deprecate("placeGeometryOnTerrain", "place geometry on terrain is deprecated and will be removed in 6.1. Use placeGeometryOnSurface instead."), t instanceof z) {
23226
23230
  const e = i.getCoordinates(), s = ai(i, e);
23227
23231
  await t.getHeightFromTerrain(s);
@@ -23233,7 +23237,7 @@ async function RE(i, t) {
23233
23237
  }), i.setCoordinates(e, "XYZ");
23234
23238
  }
23235
23239
  }
23236
- const XM = `<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 19 19">
23240
+ const ZM = `<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 19 19">
23237
23241
  <g id="pen">
23238
23242
  <path d=" M 14.744 18.702 L 12.814 16.772 L 16.773 12.814 L 18.703 14.744 C 19.099 15.159 19.099 15.812 18.703 16.228 L 16.228 18.702 C 15.813 19.097 15.16 19.097 14.744 18.702 Z M 3.959 0.002 L 15.635 11.679 L 11.678 15.637 L 0 3.962 L 0 0.002 L 3.959 0.002 Z " fill="rgb(0,0,0)"/>
23239
23243
  <path d=" M 0.75 0.846 L 3.641 0.846 L 14.532 11.768 L 11.641 14.659 L 0.75 3.581 L 0.75 0.846 Z " fill="rgb(255,255,255)"/>
@@ -23247,7 +23251,7 @@ const XM = `<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewB
23247
23251
  rotate: "crosshair",
23248
23252
  translate: "move",
23249
23253
  select: "pointer",
23250
- edit: `url("data:image/svg+xml;charset=utf-8,${encodeURIComponent(XM)}"), pointer`,
23254
+ edit: `url("data:image/svg+xml;charset=utf-8,${encodeURIComponent(ZM)}"), pointer`,
23251
23255
  // fa pencil
23252
23256
  translateVertex: "move",
23253
23257
  // fa-stack pointer-move
@@ -23259,7 +23263,7 @@ const XM = `<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewB
23259
23263
  // fa-stack pointer-black
23260
23264
  removeFromSelection: "not-allowed"
23261
23265
  };
23262
- class ZM extends fe {
23266
+ class JM extends fe {
23263
23267
  constructor(e) {
23264
23268
  super(T.MOVE, (e ? k.NONE : k.NONE | k.SHIFT) | k.CTRL);
23265
23269
  h(this, "_currentVertex", null);
@@ -23292,30 +23296,30 @@ class ZM extends fe {
23292
23296
  }
23293
23297
  const rl = ["orthogonal", "parallel", "vertex", "edge"];
23294
23298
  let jl = new H(), li = new H();
23295
- const JM = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABkCAYAAAA2VDb+AAACmElEQVR4Xu2a3zHFQBjFz60AFeDNGypABcaTVzqgAlSADuiACuiADtCBDpgzk525Yyb5cpNNzibOvt652f1+3/n+bbIA8IP6tWj4bRY/0UADsAIcArUEnANmkemCGHcSdBJ0EnQSrCPgKuAqMHMCngU8DHka9DjsVtitsFtht8JuhWsIeBaYeScMt8Juhd0KuxV2K+xWuJ7ANoDPOZfCqAzSdgJ4AvAK4HluMNoA+GszYdxXQCbPowuAZDRBXE49RPoASCAeANxMFUQOAAnEXaWISYVFTgA0nInyBMD3VCjkBpCqBiG8TwHCEACS3ecAmB+KXhGAfQCHAM4A7HawhOXyosP/RvtLBGD5RoggrgEcrHi6opWwCoBkdxcQxULoAiCBoLRvW6qBVeGoxMTYBwBtpxrYEa61AFEkhL4AaPdWBaFNkuRgxQmzmJUDAI1Zr5qgNhDYNjOZFrFyAVgFAkOB5bWIe4acAFI4sAOMcgLzBrtF+coNgAbtVeEQQWBV4OwgXUMAoEGM8avAsiIS4lAAaDsN3AwgMBdIh6YhAbBHeAkAyGeFIQHQdia74wYI8jAYGgAT4lugAlYDgpKsoQG0yQWP1bg9WwBRRWBjtCGxHhjl+wDOCh+BgQQguUccIwRoO0td05wga4rGAhBVA75g4bX66GssAFEekPUDEQCOrjnWDoDThgd9qW6QIwA5jC/6GQYQfCVWtPdyHM4KsAKavxPMobKin8EQKOaGVkFq+d2fYn/5ngYgd4H4AFaA2AHy7a0AuQvEB7ACxA6Qb28FyF0gPoAVIHaAfHsrQO4C8QGsALED5NtbAXIXiA9gBYgdIN/eCpC7QHwAK0DsAPn2VoDcBeIDWAFiB8i3twLkLhAf4N8r4Bch+4Nf5+N6mQAAAABJRU5ErkJggg==";
23299
+ const KM = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABkCAYAAAA2VDb+AAACmElEQVR4Xu2a3zHFQBjFz60AFeDNGypABcaTVzqgAlSADuiACuiADtCBDpgzk525Yyb5cpNNzibOvt652f1+3/n+bbIA8IP6tWj4bRY/0UADsAIcArUEnANmkemCGHcSdBJ0EnQSrCPgKuAqMHMCngU8DHka9DjsVtitsFtht8JuhWsIeBaYeScMt8Juhd0KuxV2K+xWuJ7ANoDPOZfCqAzSdgJ4AvAK4HluMNoA+GszYdxXQCbPowuAZDRBXE49RPoASCAeANxMFUQOAAnEXaWISYVFTgA0nInyBMD3VCjkBpCqBiG8TwHCEACS3ecAmB+KXhGAfQCHAM4A7HawhOXyosP/RvtLBGD5RoggrgEcrHi6opWwCoBkdxcQxULoAiCBoLRvW6qBVeGoxMTYBwBtpxrYEa61AFEkhL4AaPdWBaFNkuRgxQmzmJUDAI1Zr5qgNhDYNjOZFrFyAVgFAkOB5bWIe4acAFI4sAOMcgLzBrtF+coNgAbtVeEQQWBV4OwgXUMAoEGM8avAsiIS4lAAaDsN3AwgMBdIh6YhAbBHeAkAyGeFIQHQdia74wYI8jAYGgAT4lugAlYDgpKsoQG0yQWP1bg9WwBRRWBjtCGxHhjl+wDOCh+BgQQguUccIwRoO0td05wga4rGAhBVA75g4bX66GssAFEekPUDEQCOrjnWDoDThgd9qW6QIwA5jC/6GQYQfCVWtPdyHM4KsAKavxPMobKin8EQKOaGVkFq+d2fYn/5ngYgd4H4AFaA2AHy7a0AuQvEB7ACxA6Qb28FyF0gPoAVIHaAfHsrQO4C8QGsALED5NtbAXIXiA9gBYgdIN/eCpC7QHwAK0DsAPn2VoDcBeIDWAFiB8i3twLkLhAf4N8r4Bch+4Nf5+N6mQAAAABJRU5ErkJggg==";
23296
23300
  let $l;
23297
- function KM() {
23301
+ function QM() {
23298
23302
  return $l || ($l = new Q({
23299
23303
  image: new ii({
23300
- src: JM,
23304
+ src: KM,
23301
23305
  scale: 0.25,
23302
23306
  anchor: [0.5, 1]
23303
23307
  })
23304
23308
  })), $l;
23305
23309
  }
23306
- const QM = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAd1JREFUeJzt00EKwkAQRcFEPGyOpKfVE/iyiDIzWLVv+DS8bQMAAAAAAAAAAAAAAAAAAAAAAAAAAID/so8esIDj4v3jKys+m33f0gRy7nXx/tc/nn3f0m6jB8DMBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBDuowcs4Dl6wInZ9wEAAAAAAAAAAAAAAAAAAAAAAAAAAAALeQNcNQZTV+qErgAAAABJRU5ErkJggg==";
23310
+ const ex = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAd1JREFUeJzt00EKwkAQRcFEPGyOpKfVE/iyiDIzWLVv+DS8bQMAAAAAAAAAAAAAAAAAAAAAAAAAAID/so8esIDj4v3jKys+m33f0gRy7nXx/tc/nn3f0m6jB8DMBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBAEAkEgEAQCQSAQBAJBIBDuowcs4Dl6wInZ9wEAAAAAAAAAAAAAAAAAAAAAAAAAAAALeQNcNQZTV+qErgAAAABJRU5ErkJggg==";
23307
23311
  let Ul;
23308
- function ex() {
23312
+ function tx() {
23309
23313
  return Ul || (Ul = new Q({
23310
23314
  image: new ii({
23311
- src: QM,
23315
+ src: ex,
23312
23316
  scale: 0.1,
23313
23317
  anchor: [0.5, 1]
23314
23318
  })
23315
23319
  })), Ul;
23316
23320
  }
23317
23321
  let ql;
23318
- function tx() {
23322
+ function ix() {
23319
23323
  return ql || (ql = new Q({
23320
23324
  image: new wr({
23321
23325
  radius: 6,
@@ -23331,7 +23335,7 @@ function tx() {
23331
23335
  })), ql;
23332
23336
  }
23333
23337
  const Zt = E.toRadians(5);
23334
- function ix(i, t, e) {
23338
+ function sx(i, t, e) {
23335
23339
  jl = H.fromElements(t[0] - i[0], t[1] - i[1], jl);
23336
23340
  const s = Pc.fromArray([0, 1, -1, 0]);
23337
23341
  li = Pc.multiplyByVector(s, jl, li), li = H.normalize(li, li), li = H.multiplyByScalar(li, 1e-4, li);
@@ -23342,11 +23346,11 @@ function ix(i, t, e) {
23342
23346
  ];
23343
23347
  return qn(t, r, e);
23344
23348
  }
23345
- function sx(i, t, e) {
23346
- const s = qn(i, t, e), r = ix(i, t, e), n = vi(s, e), a = vi(r, e);
23349
+ function rx(i, t, e) {
23350
+ const s = qn(i, t, e), r = sx(i, t, e), n = vi(s, e), a = vi(r, e);
23347
23351
  return n > a ? r : s;
23348
23352
  }
23349
- function rx(i, t, e) {
23353
+ function nx(i, t, e) {
23350
23354
  let s = e + E.PI_OVER_TWO;
23351
23355
  s = s > E.TWO_PI ? s - E.TWO_PI : s;
23352
23356
  const r = [
@@ -23356,7 +23360,7 @@ function rx(i, t, e) {
23356
23360
  ];
23357
23361
  return qn(i, r, t);
23358
23362
  }
23359
- function nx(i, t, e, s) {
23363
+ function ax(i, t, e, s) {
23360
23364
  const r = Bi(t, i), n = Bi(e, t), a = Math.abs(n - r);
23361
23365
  if (a < Zt || // 5
23362
23366
  a > E.PI_OVER_TWO - Zt && a < E.PI_OVER_TWO + Zt || // 90 +/- 5
@@ -23365,11 +23369,11 @@ function nx(i, t, e, s) {
23365
23369
  a > E.TWO_PI - Zt)
23366
23370
  return {
23367
23371
  type: "orthogonal",
23368
- snapped: sx(e, t, i),
23372
+ snapped: rx(e, t, i),
23369
23373
  otherVertexIndex: s
23370
23374
  };
23371
23375
  }
23372
- function ax(i, t, e, s) {
23376
+ function ox(i, t, e, s) {
23373
23377
  const r = Bi(t, i), n = e.length;
23374
23378
  for (let a = 0; a < n; a++) {
23375
23379
  const o = e[a];
@@ -23380,7 +23384,7 @@ function ax(i, t, e, s) {
23380
23384
  l > E.TWO_PI - Zt)
23381
23385
  return {
23382
23386
  type: "parallel",
23383
- snapped: rx(t, i, o),
23387
+ snapped: nx(t, i, o),
23384
23388
  otherVertexIndex: s,
23385
23389
  parallelIndex: a
23386
23390
  };
@@ -23388,8 +23392,8 @@ function ax(i, t, e, s) {
23388
23392
  }
23389
23393
  }
23390
23394
  function es(i, t, e, s, r, n, a = !0, o = !0, l = Z.CLAMP_TO_GROUND) {
23391
- let c = a ? nx(i, t, e, r) : void 0;
23392
- !c && o && (c = ax(i, t, s, r));
23395
+ let c = a ? ax(i, t, e, r) : void 0;
23396
+ !c && o && (c = ox(i, t, s, r));
23393
23397
  const u = i.length === 2 || Rt(l) ? vi : yf;
23394
23398
  if (c != null && c.snapped && u(c.snapped, i) <= n)
23395
23399
  return c;
@@ -23422,12 +23426,12 @@ function _c(i, t, e) {
23422
23426
  if ((r == null ? void 0 : r.type) === "orthogonal" && r.otherVertexIndex > -1)
23423
23427
  n = new Ge({
23424
23428
  geometry: new Ne(t[r.otherVertexIndex])
23425
- }), n.setStyle(KM);
23429
+ }), n.setStyle(QM);
23426
23430
  else if ((r == null ? void 0 : r.type) === "parallel" && r.parallelIndex > -1) {
23427
23431
  const { parallelIndex: a } = r, o = a !== t.length - 1 ? a + 1 : 0, l = qo(t[a], t[o]);
23428
23432
  n = new Ge({
23429
23433
  geometry: new Ne(l)
23430
- }), n.setStyle(ex());
23434
+ }), n.setStyle(tx());
23431
23435
  } else (r == null ? void 0 : r.type) === "vertex" ? (n = new Ge({
23432
23436
  geometry: new Ne(r.snapped),
23433
23437
  olcs_primitiveOptions: {
@@ -23439,7 +23443,7 @@ function _c(i, t, e) {
23439
23443
  depthFailColor: "rgba(150,147,147,0.47)"
23440
23444
  },
23441
23445
  olcs_modelAutoScale: !0
23442
- }), n.setStyle(tx())) : (r == null ? void 0 : r.type) === "edge" && (n = new Ge({
23446
+ }), n.setStyle(ix())) : (r == null ? void 0 : r.type) === "edge" && (n = new Ge({
23443
23447
  geometry: new Ne(r.snapped),
23444
23448
  olcs_primitiveOptions: {
23445
23449
  type: Bt.SPHERE,
@@ -23478,7 +23482,7 @@ function Jg(i, t, e) {
23478
23482
  if (s)
23479
23483
  return s;
23480
23484
  }
23481
- function ox(i) {
23485
+ function lx(i) {
23482
23486
  const t = i.length - 2;
23483
23487
  if (t > 0) {
23484
23488
  const e = new Array(t);
@@ -23488,7 +23492,7 @@ function ox(i) {
23488
23492
  }
23489
23493
  return [];
23490
23494
  }
23491
- class lx extends fe {
23495
+ class hx extends fe {
23492
23496
  constructor(e, s = [...rl]) {
23493
23497
  super(T.CLICKMOVE | T.DBLCLICK, k.NONE | k.CTRL);
23494
23498
  h(this, "_coordinates", []);
@@ -23513,7 +23517,7 @@ class lx extends fe {
23513
23517
  this._snapToVertex = e.includes("vertex"), this._snapToEdge = e.includes("edge"), this._snapOrthogonal = e.includes("orthogonal"), this._snapParallel = e.includes("parallel");
23514
23518
  }
23515
23519
  _setCoordinates(e) {
23516
- this._coordinates = e, this._bearings = ox(this._coordinates), this._coordinates.length > 2 && (this._snappingGeometry = new bt(this._coordinates.slice(0, this._coordinates.length - 1)));
23520
+ this._coordinates = e, this._bearings = lx(this._coordinates), this._coordinates.length > 2 && (this._snappingGeometry = new bt(this._coordinates.slice(0, this._coordinates.length - 1)));
23517
23521
  }
23518
23522
  setGeometry(e) {
23519
23523
  var n;
@@ -23596,7 +23600,7 @@ class Kg extends fe {
23596
23600
  (e = this._removeFeatures) == null || e.call(this), this.layers = [], super.destroy();
23597
23601
  }
23598
23602
  }
23599
- function hx(i, t) {
23603
+ function cx(i, t) {
23600
23604
  if (i instanceof Ft)
23601
23605
  return [i.getCoordinates()];
23602
23606
  const e = i.getFlatCoordinates();
@@ -23619,7 +23623,7 @@ function hx(i, t) {
23619
23623
  u(c)
23620
23624
  ]), d;
23621
23625
  }
23622
- function cx(i, t, e) {
23626
+ function ux(i, t, e) {
23623
23627
  const s = i.map((r) => {
23624
23628
  const n = qo(r[0], r[1]), a = new Ge({
23625
23629
  geometry: new Ne(n)
@@ -23635,7 +23639,7 @@ function cx(i, t, e) {
23635
23639
  t.removeFeaturesById(s.map((r) => r.getId())), s.splice(0);
23636
23640
  };
23637
23641
  }
23638
- function ux(i, t) {
23642
+ function dx(i, t) {
23639
23643
  const e = new Ge({
23640
23644
  geometry: new bt(i)
23641
23645
  });
@@ -23667,10 +23671,10 @@ class ga extends fe {
23667
23671
  if (this._removeLabels(), this._geometry) {
23668
23672
  let s;
23669
23673
  if (this.creation ? s = -1 : da(e.feature) && (s = e.feature[ua]), s != null) {
23670
- const r = hx(this._geometry, s);
23671
- let n = cx(r, this._scratchLayer, this._is3D);
23674
+ const r = cx(this._geometry, s);
23675
+ let n = ux(r, this._scratchLayer, this._is3D);
23672
23676
  if (this._isCircle) {
23673
- const a = n, o = ux(r[0], this._scratchLayer);
23677
+ const a = n, o = dx(r[0], this._scratchLayer);
23674
23678
  n = () => {
23675
23679
  a(), o();
23676
23680
  };
@@ -23687,23 +23691,23 @@ class ga extends fe {
23687
23691
  this._removeLabels(), this._vectorPropertiesListener(), super.destroy();
23688
23692
  }
23689
23693
  }
23690
- function dx(i) {
23694
+ function fx(i) {
23691
23695
  let t;
23692
23696
  if (i === Fe.Polygon)
23693
- t = new cM();
23697
+ t = new uM();
23694
23698
  else if (i === Fe.Point)
23695
- t = new hM();
23699
+ t = new cM();
23696
23700
  else if (i === Fe.LineString)
23697
- t = new aM();
23701
+ t = new oM();
23698
23702
  else if (i === Fe.BBox)
23699
- t = new lM();
23703
+ t = new hM();
23700
23704
  else if (i === Fe.Circle)
23701
- t = new oM();
23705
+ t = new lM();
23702
23706
  else
23703
23707
  throw new Error(`Unexpected geometry tpye ${i}`);
23704
23708
  return t;
23705
23709
  }
23706
- function FE(i, t, e, s, r) {
23710
+ function GE(i, t, e, s, r) {
23707
23711
  var te, Pe;
23708
23712
  w(i, Wg), w(t, rt), w(e, Ka(Fe));
23709
23713
  let n = ((te = r == null ? void 0 : r.snapTo) == null ? void 0 : te.slice()) ?? rl.slice();
@@ -23725,7 +23729,7 @@ function FE(i, t, e, s, r) {
23725
23729
  $();
23726
23730
  }), A = [];
23727
23731
  }, kt = () => {
23728
- at(), y = dx(e), b = new Kg(C, u, ($) => v !== $, n), (e === Fe.Polygon || e === Fe.LineString) && (S = new lx(u, n)), a && (e === Fe.Polygon || e === Fe.LineString || e === Fe.BBox || e === Fe.Circle) && (D = new ga(u, !0)), A = [
23732
+ at(), y = fx(e), b = new Kg(C, u, ($) => v !== $, n), (e === Fe.Polygon || e === Fe.LineString) && (S = new hx(u, n)), a && (e === Fe.Polygon || e === Fe.LineString || e === Fe.BBox || e === Fe.Circle) && (D = new ga(u, !0)), A = [
23729
23733
  y.created.addEventListener(($) => {
23730
23734
  M && (i.maps.activeMap.switchEnabled = !1), v = new Ge({ geometry: $ }), v[Se] = !0, i.maps.eventHandler.featureInteraction.excludeFromPickPosition(v), x && v.set("olcs_altitudeMode", x), v.set("olcs_allowPicking", !0);
23731
23735
  const xe = v.on("propertychange", (Mt) => {
@@ -23807,7 +23811,7 @@ function Fo(i) {
23807
23811
  function Go(i) {
23808
23812
  return i === P.XY || i === P.XZ || i === P.YZ;
23809
23813
  }
23810
- function fx(i) {
23814
+ function gx(i) {
23811
23815
  return i === P.XYZ;
23812
23816
  }
23813
23817
  function Kr(i) {
@@ -23874,16 +23878,16 @@ function Hr(i, t, e = !1) {
23874
23878
  }
23875
23879
  }), e || (n[Ve] = i), Kr(n), n;
23876
23880
  }
23877
- function gx(i) {
23881
+ function mx(i) {
23878
23882
  i[0] > 180 ? i[0] -= 360 : i[0] < -180 && (i[0] += 360), i[1] > 90 ? (i[1] = 90 - (i[1] - 90), i[0] < 180 ? i[0] += 180 : i[1] -= 180) : i[1] < -90 && (i[1] = -90 + (i[1] + 90), i[0] < 180 ? i[0] += 180 : i[1] -= 180);
23879
23883
  }
23880
23884
  function ld(i, t) {
23881
23885
  return [-15, -5, 0, 5, 15].map((s) => {
23882
23886
  const r = i.slice();
23883
- return t === P.X ? r[0] += s : r[1] += s, gx(r), r;
23887
+ return t === P.X ? r[0] += s : r[1] += s, mx(r), r;
23884
23888
  });
23885
23889
  }
23886
- function mx(i, t) {
23890
+ function px(i, t) {
23887
23891
  const e = [], s = B.mercatorToWgs84(t);
23888
23892
  (i === P.X || i === P.XY || i === P.XZ || i === P.XYZ) && e.push(new At({
23889
23893
  asynchronous: !1,
@@ -23936,13 +23940,13 @@ function mx(i, t) {
23936
23940
  r.add(n);
23937
23941
  }), r;
23938
23942
  }
23939
- function px(i) {
23943
+ function yx(i) {
23940
23944
  let t;
23941
23945
  return (e, s) => {
23942
- t && (i.remove(t), t = void 0), e !== P.NONE && (t = mx(e, s), i.add(t));
23946
+ t && (i.remove(t), t = void 0), e !== P.NONE && (t = px(e, s), i.add(t));
23943
23947
  };
23944
23948
  }
23945
- function yx(i, t, e, s, r) {
23949
+ function _x(i, t, e, s, r) {
23946
23950
  const n = new At({
23947
23951
  allowPicking: r,
23948
23952
  asynchronous: !1,
@@ -23992,7 +23996,7 @@ function hi(i, t, e, s = !1) {
23992
23996
  ...Ua(n),
23993
23997
  modelMatrix: t
23994
23998
  }),
23995
- yx(o, n, t, a, !s)
23999
+ _x(o, n, t, a, !s)
23996
24000
  ];
23997
24001
  return s || l.forEach((c) => {
23998
24002
  c[Ve] = i;
@@ -24048,15 +24052,15 @@ function Mh(i, t = !1) {
24048
24052
  });
24049
24053
  return t || (s[Ve] = P.XYZ), s;
24050
24054
  }
24051
- function _x(i) {
24055
+ function vx(i) {
24052
24056
  let t;
24053
24057
  return (e, s, r) => {
24054
24058
  t && (i.remove(t), t = void 0), e !== P.NONE && (t = new si(), Fo(e) ? hi(e, s, r, !0).forEach((n) => {
24055
24059
  t.add(n);
24056
- }) : Go(e) ? t.add(vs(e, s, !0)) : fx(e) && t.add(Mh(s, !0)), i.add(t));
24060
+ }) : Go(e) ? t.add(vs(e, s, !0)) : gx(e) && t.add(Mh(s, !0)), i.add(t));
24057
24061
  };
24058
24062
  }
24059
- function vx(i, t) {
24063
+ function wx(i, t) {
24060
24064
  const e = new si(), s = G.fromTranslation(_.fromDegrees(0, 0, 0)), r = [];
24061
24065
  if (t === ve.TRANSLATE) {
24062
24066
  const g = [
@@ -24096,7 +24100,7 @@ function vx(i, t) {
24096
24100
  }
24097
24101
  });
24098
24102
  let c = P.NONE;
24099
- const u = px(e), d = _x(e);
24103
+ const u = yx(e), d = vx(e);
24100
24104
  let f = !1;
24101
24105
  return {
24102
24106
  get show() {
@@ -24142,7 +24146,7 @@ function hd(i, t, e) {
24142
24146
  [i[0], e[3]]
24143
24147
  ];
24144
24148
  }
24145
- function wx(i, t) {
24149
+ function Sx(i, t) {
24146
24150
  let e;
24147
24151
  const s = q.proj.getExtent();
24148
24152
  return (r, n) => {
@@ -24222,7 +24226,7 @@ function Qg(i) {
24222
24226
  }), e = i ?? X.BLUE.toCssColorString();
24223
24227
  return t.setStyle(new Q({ fill: new lt({ color: e }) })), t;
24224
24228
  }
24225
- function Sx(i) {
24229
+ function bx(i) {
24226
24230
  let t;
24227
24231
  const e = ma.toCssColorString();
24228
24232
  return (s, r, n, a) => {
@@ -24239,7 +24243,7 @@ function Sx(i) {
24239
24243
  }
24240
24244
  };
24241
24245
  }
24242
- function bx(i, t, e) {
24246
+ function Cx(i, t, e) {
24243
24247
  let s = [0, 0], r = 1, n = [];
24244
24248
  e === ve.TRANSLATE || e === ve.SCALE ? n = [
24245
24249
  ...xh(P.X, e),
@@ -24270,7 +24274,7 @@ function bx(i, t, e) {
24270
24274
  }
24271
24275
  });
24272
24276
  let o = P.NONE;
24273
- const l = wx(t), c = Sx(t);
24277
+ const l = Sx(t), c = bx(t);
24274
24278
  let u = !1;
24275
24279
  return {
24276
24280
  get show() {
@@ -24302,7 +24306,7 @@ function bx(i, t, e) {
24302
24306
  }
24303
24307
  };
24304
24308
  }
24305
- function Cx(i, t, e) {
24309
+ function Mx(i, t, e) {
24306
24310
  var l;
24307
24311
  const s = new Ai();
24308
24312
  let r = !1, n = t !== ve.TRANSLATE, a;
@@ -24322,7 +24326,7 @@ function Cx(i, t, e) {
24322
24326
  offsetHeight: !!a
24323
24327
  };
24324
24328
  }
24325
- function Mx(i) {
24329
+ function xx(i) {
24326
24330
  const t = ur();
24327
24331
  return i.forEach((e) => {
24328
24332
  const s = e[Jt] ?? e.getGeometry();
@@ -24334,7 +24338,7 @@ function Mx(i) {
24334
24338
  offsetHeight: !1
24335
24339
  };
24336
24340
  }
24337
- function xx(i, t, e, s) {
24341
+ function Ex(i, t, e, s) {
24338
24342
  let r, n = [0, 0, 0], a, o = null;
24339
24343
  const l = (c) => {
24340
24344
  if (c.length > 0) {
@@ -24346,7 +24350,7 @@ function xx(i, t, e, s) {
24346
24350
  } else
24347
24351
  r.show = !1;
24348
24352
  };
24349
- return i instanceof z ? (r = vx(i, s), a = Cx.bind(null, t, s), o = i) : i instanceof Pn && (r = bx(i, e, s), a = Mx), {
24353
+ return i instanceof z ? (r = wx(i, s), a = Mx.bind(null, t, s), o = i) : i instanceof Pn && (r = Cx(i, e, s), a = xx), {
24350
24354
  get showing() {
24351
24355
  return r.show;
24352
24356
  },
@@ -24368,14 +24372,14 @@ function xx(i, t, e, s) {
24368
24372
  }
24369
24373
  };
24370
24374
  }
24371
- function Ex(i) {
24375
+ function Ox(i) {
24372
24376
  const t = i.olMap.getInteractions().getArray().find((e) => e instanceof Um);
24373
24377
  return t ? (t.setActive(!1), () => {
24374
24378
  t.setActive(!0);
24375
24379
  }) : () => {
24376
24380
  };
24377
24381
  }
24378
- function Ox(i) {
24382
+ function Px(i) {
24379
24383
  function t(r) {
24380
24384
  return Array.isArray(r) ? r.slice() : typeof r == "object" ? { ...r } : r;
24381
24385
  }
@@ -24399,7 +24403,7 @@ class em extends fe {
24399
24403
  this.setActive();
24400
24404
  }
24401
24405
  pipe(e) {
24402
- return this.reset(), e.feature && (e.feature[mc] || e.feature[Ve]) && (e.map.className === "CesiumMap" ? this._clear = Ox(e.map) : this._clear = Ex(e.map)), Promise.resolve(e);
24406
+ return this.reset(), e.feature && (e.feature[mc] || e.feature[Ve]) && (e.map.className === "CesiumMap" ? this._clear = Px(e.map) : this._clear = Ox(e.map)), Promise.resolve(e);
24403
24407
  }
24404
24408
  reset() {
24405
24409
  this._clear(), this._clear = () => {
@@ -24409,7 +24413,7 @@ class em extends fe {
24409
24413
  this.reset();
24410
24414
  }
24411
24415
  }
24412
- class Px extends fe {
24416
+ class Lx extends fe {
24413
24417
  constructor(e) {
24414
24418
  super(T.DRAGEVENTS);
24415
24419
  h(this, "_transformationHandler");
@@ -24491,17 +24495,17 @@ class Px extends fe {
24491
24495
  this._transformationHandler = null, this.translated.destroy();
24492
24496
  }
24493
24497
  }
24494
- function Lx(i, t, e) {
24498
+ function Ix(i, t, e) {
24495
24499
  return i.x * t.y - i.y * t.x > 0 ? e : e * -1;
24496
24500
  }
24497
24501
  function cd(i, t, e) {
24498
24502
  let s = i(t.positionOrPixel, t.windowPosition);
24499
24503
  return (r, n) => {
24500
- const a = i(r, n), o = Lx(s, a, H.angleBetween(s, a));
24504
+ const a = i(r, n), o = Ix(s, a, H.angleBetween(s, a));
24501
24505
  return s = a, { angle: o, axis: e };
24502
24506
  };
24503
24507
  }
24504
- class Ix extends fe {
24508
+ class Tx extends fe {
24505
24509
  constructor(e) {
24506
24510
  super(T.DRAGEVENTS);
24507
24511
  h(this, "_transformationHandler");
@@ -24557,7 +24561,7 @@ function ud(i, t, e, s) {
24557
24561
  return S !== n && (n = S, C *= -1), b !== a && (a = b, M *= -1), D !== o && (o = D, x *= -1), u = g, s === P.X ? [C, 1, 1] : s === P.Y ? [1, M, 1] : s === P.XY ? [C, M, 1] : s === P.XYZ ? [C, M, x] : s === P.Z ? [1, 1, x] : [1, 1, 1];
24558
24562
  };
24559
24563
  }
24560
- class Tx extends fe {
24564
+ class Ax extends fe {
24561
24565
  constructor(e) {
24562
24566
  super(T.DRAGEVENTS);
24563
24567
  h(this, "_transformationHandler");
@@ -24594,7 +24598,7 @@ class Tx extends fe {
24594
24598
  this._transformationHandler = null, this.scaled.destroy();
24595
24599
  }
24596
24600
  }
24597
- class Ax extends fe {
24601
+ class Dx extends fe {
24598
24602
  constructor(e) {
24599
24603
  super(T.DRAGEVENTS);
24600
24604
  h(this, "_transformationHandler");
@@ -24628,7 +24632,7 @@ class Ax extends fe {
24628
24632
  this._transformationHandler = null, this.extruded.destroy();
24629
24633
  }
24630
24634
  }
24631
- class Dx extends fe {
24635
+ class Nx extends fe {
24632
24636
  /**
24633
24637
  * @param selectedFeatures Reference to the selected features.
24634
24638
  */
@@ -24648,7 +24652,7 @@ class Dx extends fe {
24648
24652
  return Promise.resolve(e);
24649
24653
  }
24650
24654
  }
24651
- class Nx extends fe {
24655
+ class Rx extends fe {
24652
24656
  constructor() {
24653
24657
  super(T.MOVE, k.NONE);
24654
24658
  h(this, "_currentHandler", null);
@@ -24676,12 +24680,12 @@ class Nx extends fe {
24676
24680
  this.reset(), super.destroy();
24677
24681
  }
24678
24682
  }
24679
- function Rx(i) {
24683
+ function Fx(i) {
24680
24684
  return new Promise((t) => {
24681
24685
  setTimeout(t, i);
24682
24686
  });
24683
24687
  }
24684
- class Fx extends fe {
24688
+ class Gx extends fe {
24685
24689
  constructor() {
24686
24690
  super(T.CLICK, k.NONE, He.RIGHT);
24687
24691
  h(this, "rightClicked", new L());
@@ -24691,13 +24695,13 @@ class Fx extends fe {
24691
24695
  var s;
24692
24696
  return this.rightClicked.raiseEvent(), (s = e.chainEnded) == null || s.addEventListener(() => {
24693
24697
  this.eventChainFinished.raiseEvent();
24694
- }), await Rx(0), e;
24698
+ }), await Fx(0), e;
24695
24699
  }
24696
24700
  destroy() {
24697
24701
  this.rightClicked.destroy(), this.eventChainFinished.destroy(), super.destroy();
24698
24702
  }
24699
24703
  }
24700
- function Gx(i, t, e) {
24704
+ function kx(i, t, e) {
24701
24705
  const s = i.getId();
24702
24706
  t.has(s) || t.set(s, i.get("olcs_allowPicking")), e !== k.CTRL && i.set("olcs_allowPicking", !1);
24703
24707
  }
@@ -24705,7 +24709,7 @@ function dd(i, t) {
24705
24709
  const e = t.get(i.getId());
24706
24710
  e != null ? i.set("olcs_allowPicking", e) : i.unset("olcs_allowPicking");
24707
24711
  }
24708
- function kx(i, t) {
24712
+ function Vx(i, t) {
24709
24713
  const e = i.getId(), s = !!i[Se];
24710
24714
  t.set(e, s), i[Se] = !0;
24711
24715
  }
@@ -24713,7 +24717,7 @@ function fd(i, t) {
24713
24717
  const e = i.getId();
24714
24718
  t.get(e) || delete i[Se], t.delete(e);
24715
24719
  }
24716
- function GE(i, t, e, s = ve.TRANSLATE) {
24720
+ function kE(i, t, e, s = ve.TRANSLATE) {
24717
24721
  const r = new L(), n = [], a = /* @__PURE__ */ new Map();
24718
24722
  let o;
24719
24723
  const l = i.maps.eventHandler.modifierChanged.addEventListener((j) => {
@@ -24722,7 +24726,7 @@ function GE(i, t, e, s = ve.TRANSLATE) {
24722
24726
  n.forEach((Pe) => {
24723
24727
  Pe.set("olcs_allowPicking", te);
24724
24728
  });
24725
- }), c = new Fx();
24729
+ }), c = new Gx();
24726
24730
  c.rightClicked.addEventListener(() => {
24727
24731
  n.forEach((j) => {
24728
24732
  j.set("olcs_allowPicking", !0);
@@ -24733,8 +24737,8 @@ function GE(i, t, e, s = ve.TRANSLATE) {
24733
24737
  te.set("olcs_allowPicking", j);
24734
24738
  });
24735
24739
  });
24736
- const { layer: u, destroy: d } = dc(i.layers, i.maps.eventHandler.featureInteraction), { interactionChain: f, removed: g, destroy: m } = sl(i.maps.eventHandler, e), { exclusiveInteractionId: p } = i.maps.eventHandler, y = i.maps.eventHandler.addExclusiveInteraction(c, () => g.raiseEvent(), 0, p), v = new Nx();
24737
- f.addInteraction(v), f.addInteraction(new Dx(n));
24740
+ const { layer: u, destroy: d } = dc(i.layers, i.maps.eventHandler.featureInteraction), { interactionChain: f, removed: g, destroy: m } = sl(i.maps.eventHandler, e), { exclusiveInteractionId: p } = i.maps.eventHandler, y = i.maps.eventHandler.addExclusiveInteraction(c, () => g.raiseEvent(), 0, p), v = new Rx();
24741
+ f.addInteraction(v), f.addInteraction(new Nx(n));
24738
24742
  const S = new em();
24739
24743
  f.addInteraction(S);
24740
24744
  let b = s, D = () => {
@@ -24794,25 +24798,25 @@ function GE(i, t, e, s = ve.TRANSLATE) {
24794
24798
  });
24795
24799
  }
24796
24800
  }, F = () => {
24797
- D(), C = xx(i.maps.activeMap, t, u, b), C.setFeatures(n);
24801
+ D(), C = Ex(i.maps.activeMap, t, u, b), C.setFeatures(n);
24798
24802
  let j;
24799
24803
  if (b === ve.TRANSLATE)
24800
- j = new Px(C), j.translated.addEventListener(([te, Pe, $]) => {
24804
+ j = new Lx(C), j.translated.addEventListener(([te, Pe, $]) => {
24801
24805
  M(te, Pe, $);
24802
24806
  });
24803
24807
  else if (b === ve.EXTRUDE)
24804
- j = new Ax(C), j.extruded.addEventListener((te) => {
24808
+ j = new Dx(C), j.extruded.addEventListener((te) => {
24805
24809
  n.forEach((Pe) => {
24806
24810
  let $ = Pe.get("olcs_extrudedHeight") ?? 0;
24807
24811
  $ += te, Pe.set("olcs_extrudedHeight", $);
24808
24812
  });
24809
24813
  });
24810
24814
  else if (b === ve.ROTATE)
24811
- j = new Ix(C), j.rotated.addEventListener(({ angle: te, axis: Pe }) => {
24815
+ j = new Tx(C), j.rotated.addEventListener(({ angle: te, axis: Pe }) => {
24812
24816
  x(te, Pe);
24813
24817
  });
24814
24818
  else if (b === ve.SCALE)
24815
- j = new Tx(C), j.scaled.addEventListener(([te, Pe, $]) => {
24819
+ j = new Ax(C), j.scaled.addEventListener(([te, Pe, $]) => {
24816
24820
  O(te, Pe, $);
24817
24821
  });
24818
24822
  else
@@ -24860,7 +24864,7 @@ function GE(i, t, e, s = ve.TRANSLATE) {
24860
24864
  n.forEach((te) => {
24861
24865
  dd(te, a), fd(te, $s);
24862
24866
  }), n.length = 0, n.push(...j), n.forEach((te) => {
24863
- Gx(te, a, o), kx(te, $s);
24867
+ kx(te, a, o), Vx(te, $s);
24864
24868
  }), js(), C == null || C.setFeatures(j);
24865
24869
  },
24866
24870
  get features() {
@@ -24925,7 +24929,7 @@ class im extends fe {
24925
24929
  if (a < (e.map.getCurrentResolution(r) * 5) ** 2) {
24926
24930
  const l = s.length - 1;
24927
24931
  let c = 0;
24928
- for (c; c < l && !(o ? YM(s[c], s[c + 1], n) : WM(s[c], s[c + 1], n)); c++)
24932
+ for (c; c < l && !(o ? XM(s[c], s[c + 1], n) : YM(s[c], s[c + 1], n)); c++)
24929
24933
  ;
24930
24934
  let u = c + 1;
24931
24935
  this._isLinearRing && u === s.length && (u = 0), this.vertexInserted.raiseEvent({
@@ -24940,7 +24944,7 @@ class im extends fe {
24940
24944
  this.vertexInserted.destroy(), super.destroy();
24941
24945
  }
24942
24946
  }
24943
- function Vx(i, t) {
24947
+ function zx(i, t) {
24944
24948
  const e = t ? i.length : i.length - 1;
24945
24949
  if (e > 0) {
24946
24950
  const s = new Array(e);
@@ -24975,7 +24979,7 @@ class sm extends fe {
24975
24979
  this._snapToVertex = e.includes("vertex"), this._snapToEdge = e.includes("edge"), this._snapOrthogonal = e.includes("orthogonal"), this._snapParallel = e.includes("parallel");
24976
24980
  }
24977
24981
  _setCoordinates(e) {
24978
- if (this._coordinates = this._getCoordinates(), this._bearings = Vx(this._coordinates, this._isPolygon), this._coordinates.length > 2)
24982
+ if (this._coordinates = this._getCoordinates(), this._bearings = zx(this._coordinates, this._isPolygon), this._coordinates.length > 2)
24979
24983
  if (this._isPolygon) {
24980
24984
  const s = [
24981
24985
  ...this._coordinates.slice(0, e),
@@ -25015,7 +25019,7 @@ class sm extends fe {
25015
25019
  (e = this._removeFeatures) == null || e.call(this), super.destroy();
25016
25020
  }
25017
25021
  }
25018
- function zx(i, t, e, s, r) {
25022
+ function Bx(i, t, e, s, r) {
25019
25023
  const n = i[Jt] ?? i.getGeometry(), a = Lr(i), o = n.getCoordinates().map((g, m) => Ir(g, a, m));
25020
25024
  t.addFeatures(o);
25021
25025
  const l = () => {
@@ -25058,7 +25062,7 @@ function zx(i, t, e, s, r) {
25058
25062
  }
25059
25063
  };
25060
25064
  }
25061
- function Bx(i, t, e) {
25065
+ function Hx(i, t, e) {
25062
25066
  const s = i[Jt] ?? i.getGeometry(), r = Lr(i), n = s.getCoordinates().map((d, f) => Ir(d, r, f));
25063
25067
  t.addFeatures(n);
25064
25068
  const a = new pa();
@@ -25094,7 +25098,7 @@ function Bx(i, t, e) {
25094
25098
  }
25095
25099
  };
25096
25100
  }
25097
- function Hx(i, t, e) {
25101
+ function jx(i, t, e) {
25098
25102
  const s = i[Jt] ?? i.getGeometry(), r = Lr(i), n = s.getCoordinates()[0].map((d, f) => Ir(d, r, f));
25099
25103
  t.addFeatures(n);
25100
25104
  let a = !1;
@@ -25131,7 +25135,7 @@ function Hx(i, t, e) {
25131
25135
  }
25132
25136
  };
25133
25137
  }
25134
- function jx(i, t, e, s, r) {
25138
+ function $x(i, t, e, s, r) {
25135
25139
  const n = i[Jt] ?? i.getGeometry(), a = n.getLinearRing(0), o = Lr(i), l = a.getCoordinates().map((m, p) => Ir(m, o, p));
25136
25140
  t.addFeatures(l);
25137
25141
  const c = () => {
@@ -25174,7 +25178,7 @@ function jx(i, t, e, s, r) {
25174
25178
  }
25175
25179
  };
25176
25180
  }
25177
- function $x(i, t, e) {
25181
+ function Ux(i, t, e) {
25178
25182
  const s = i[Jt] ?? i.getGeometry(), r = Lr(i), n = Ir(s.getCoordinates(), r, 0), a = [i.getId()];
25179
25183
  e.featureVisibility.hideObjects(a), n[Se] = !0, t.addFeatures([n]);
25180
25184
  const o = new pa();
@@ -25196,11 +25200,11 @@ function $x(i, t, e) {
25196
25200
  }
25197
25201
  };
25198
25202
  }
25199
- function kE(i, t, e, s = {}) {
25203
+ function VE(i, t, e, s = {}) {
25200
25204
  var Y, ee;
25201
25205
  const { interactionChain: r, removed: n, destroy: a } = sl(i.maps.eventHandler, e), { layer: o, destroy: l } = dc(i.layers, i.maps.eventHandler.featureInteraction), c = new em();
25202
25206
  r.addInteraction(c);
25203
- const u = new ZM(s.denyRemoval);
25207
+ const u = new JM(s.denyRemoval);
25204
25208
  r.addInteraction(u);
25205
25209
  const d = new L();
25206
25210
  let f = null, g = null, m = null, p = ((Y = s == null ? void 0 : s.initialSnapToLayers) == null ? void 0 : Y.slice()) ?? [t], y = ((ee = s == null ? void 0 : s.snapTo) == null ? void 0 : ee.slice()) ?? [...rl];
@@ -25218,7 +25222,7 @@ function kE(i, t, e, s = {}) {
25218
25222
  pc.includes(Ut) && M(A);
25219
25223
  }), g = A, g[Se] = !0, i.maps.eventHandler.featureInteraction.excludeFromPickPosition(A);
25220
25224
  const at = A[Jt] ?? A.getGeometry(), kt = at.getType();
25221
- o.vectorProperties.altitudeMode = t.vectorProperties.getAltitudeMode(A), kt === Fe.Polygon ? at.get("_vcsGeomType") === Fe.BBox ? f = Hx(A, o, s) : at.getLinearRingCount() === 1 && (f = jx(A, o, t.vectorProperties, s, y)) : kt === Fe.LineString ? f = zx(A, o, t.vectorProperties, s, y) : kt === Fe.Point ? f = $x(A, o, t) : kt === Fe.Circle && (f = Bx(A, o, s)), f ? (m = new Kg(p, o, (Ut) => Ut !== A, y, T.DRAGEVENTS), f.interactionChain.addInteraction(m, 0), r.addInteraction(f.interactionChain), S()) : (U("EditGeometrySession").warning(`Geometry of type ${kt} is currently not supported`), g[Se] = !1, g = null);
25225
+ o.vectorProperties.altitudeMode = t.vectorProperties.getAltitudeMode(A), kt === Fe.Polygon ? at.get("_vcsGeomType") === Fe.BBox ? f = jx(A, o, s) : at.getLinearRingCount() === 1 && (f = $x(A, o, t.vectorProperties, s, y)) : kt === Fe.LineString ? f = Bx(A, o, t.vectorProperties, s, y) : kt === Fe.Point ? f = Ux(A, o, t) : kt === Fe.Circle && (f = Hx(A, o, s)), f ? (m = new Kg(p, o, (Ut) => Ut !== A, y, T.DRAGEVENTS), f.interactionChain.addInteraction(m, 0), r.addInteraction(f.interactionChain), S()) : (U("EditGeometrySession").warning(`Geometry of type ${kt} is currently not supported`), g[Se] = !1, g = null);
25222
25226
  }
25223
25227
  }
25224
25228
  const x = () => {
@@ -25349,7 +25353,7 @@ var Di;
25349
25353
  (function(i) {
25350
25354
  i.SINGLE = "single", i.MULTI = "multi";
25351
25355
  })(Di || (Di = {}));
25352
- class Ux extends fe {
25356
+ class qx extends fe {
25353
25357
  constructor(e, s) {
25354
25358
  let r, n;
25355
25359
  if (s instanceof nm)
@@ -25397,7 +25401,7 @@ class Ux extends fe {
25397
25401
  this.reset(), super.destroy();
25398
25402
  }
25399
25403
  }
25400
- function qx(i, t) {
25404
+ function Wx(i, t) {
25401
25405
  const e = /* @__PURE__ */ new Map(), s = (r) => {
25402
25406
  const n = new Set(r.map((l) => (l[Se] = !0, l.getId()))), a = [];
25403
25407
  n.forEach((l) => {
@@ -25424,7 +25428,7 @@ function qx(i, t) {
25424
25428
  }
25425
25429
  };
25426
25430
  }
25427
- function Wx() {
25431
+ function Yx() {
25428
25432
  const i = new sa({ color: "rgba(76,175,80,0.2)" }), t = new Ye({ color: "#4CAF50", width: 2 });
25429
25433
  return new Q({
25430
25434
  fill: i,
@@ -25436,10 +25440,10 @@ function Wx() {
25436
25440
  })
25437
25441
  });
25438
25442
  }
25439
- function VE(i, t, e, s = Di.MULTI, r = Wx()) {
25443
+ function zE(i, t, e, s = Di.MULTI, r = Yx()) {
25440
25444
  const n = new L(), a = new L(), o = new L();
25441
25445
  let l = null, c = null, u, d = null;
25442
- const { interactionChain: f, removed: g, destroy: m } = sl(i.maps.eventHandler, e), p = qx(t, r);
25446
+ const { interactionChain: f, removed: g, destroy: m } = sl(i.maps.eventHandler, e), p = Wx(t, r);
25443
25447
  let y = [];
25444
25448
  function v() {
25445
25449
  l && (l && (f.removeInteraction(l), l.destroy(), l = null), c && (f.removeInteraction(c), c.destroy(), c = null)), y.forEach((x) => {
@@ -25461,7 +25465,7 @@ function VE(i, t, e, s = Di.MULTI, r = Wx()) {
25461
25465
  else
25462
25466
  throw new Error(`Unknown selection mode ${String(x)}`);
25463
25467
  const { highlightedFeatures: O } = p;
25464
- O && l.setSelected(O), u = x, f.addInteraction(l), c = new Ux(t.name, l), f.addInteraction(c);
25468
+ O && l.setSelected(O), u = x, f.addInteraction(l), c = new qx(t.name, l), f.addInteraction(c);
25465
25469
  }
25466
25470
  S(s);
25467
25471
  let b = () => {
@@ -25505,7 +25509,7 @@ function VE(i, t, e, s = Di.MULTI, r = Wx()) {
25505
25509
  };
25506
25510
  }
25507
25511
  const Da = Symbol("flightVisualization");
25508
- async function zE(i, t) {
25512
+ async function BE(i, t) {
25509
25513
  if (w(i, vr), i[Da])
25510
25514
  return i[Da];
25511
25515
  await i.initialize();
@@ -25603,8 +25607,8 @@ async function zE(i, t) {
25603
25607
  };
25604
25608
  return i[Da] = d, d;
25605
25609
  }
25606
- const Yx = Symbol("rotationMapControlSymbol");
25607
- function Xx(i, t, e) {
25610
+ const Xx = Symbol("rotationMapControlSymbol");
25611
+ function Zx(i, t, e) {
25608
25612
  let s;
25609
25613
  const r = new Ah(e.getCesiumWidget().scene);
25610
25614
  r.setView(i), r.moveBackward(t), s = r.position;
@@ -25618,7 +25622,7 @@ function Xx(i, t, e) {
25618
25622
  orientation: a
25619
25623
  });
25620
25624
  }
25621
- function Zx(i, t, e, s) {
25625
+ function Jx(i, t, e, s) {
25622
25626
  let r = i;
25623
25627
  const { clock: n } = t.getCesiumWidget();
25624
25628
  let a = s ? n.currentTime.secondsOfDay - s.secondsOfDay : 1 / 60;
@@ -25626,7 +25630,7 @@ function Zx(i, t, e, s) {
25626
25630
  const o = a / (1 / 60), l = E.TWO_PI / (e * 60 / o);
25627
25631
  return r += l, r = E.zeroToTwoPi(r), r;
25628
25632
  }
25629
- async function BE(i, t, e = 60) {
25633
+ async function HE(i, t, e = 60) {
25630
25634
  const { activeMap: s } = i.maps;
25631
25635
  if (s instanceof z) {
25632
25636
  const r = s.getScene();
@@ -25664,21 +25668,21 @@ async function BE(i, t, e = 60) {
25664
25668
  const v = () => {
25665
25669
  p && (p(), p = void 0), y && y();
25666
25670
  };
25667
- return y = i.maps.requestExclusiveMapControls({ apiCalls: !0, keyEvents: !0, pointerEvents: !0 }, v, Yx), p = s.getCesiumWidget().scene.postRender.addEventListener(() => {
25668
- g.orientation.heading = Zx(g.orientation.heading, s, e, m), g && Xx(g, o, s), m = s.getCesiumWidget().clock.currentTime;
25671
+ return y = i.maps.requestExclusiveMapControls({ apiCalls: !0, keyEvents: !0, pointerEvents: !0 }, v, Xx), p = s.getCesiumWidget().scene.postRender.addEventListener(() => {
25672
+ g.orientation.heading = Jx(g.orientation.heading, s, e, m), g && Zx(g, o, s), m = s.getCesiumWidget().clock.currentTime;
25669
25673
  }), v;
25670
25674
  }
25671
25675
  }
25672
25676
  }
25673
25677
  return null;
25674
25678
  }
25675
- function Jx(i, t) {
25679
+ function Kx(i, t) {
25676
25680
  const e = i.getCesiumWidget(), { resolutionScale: s } = e;
25677
25681
  return e.resolutionScale = t, function() {
25678
25682
  e.resolutionScale = s;
25679
25683
  };
25680
25684
  }
25681
- function Kx(i, t) {
25685
+ function Qx(i, t) {
25682
25686
  const { olMap: e } = i;
25683
25687
  if (e) {
25684
25688
  const s = e.getSize(), r = e.getView().calculateExtent(s), n = e.getView().getMinZoom(), a = e.getView().getMaxZoom();
@@ -25689,7 +25693,7 @@ function Kx(i, t) {
25689
25693
  return () => {
25690
25694
  };
25691
25695
  }
25692
- async function Qx(i) {
25696
+ async function eE(i) {
25693
25697
  const { scene: t } = i.getCesiumWidget();
25694
25698
  return new Promise((e) => {
25695
25699
  const s = t.preUpdate.addEventListener(() => {
@@ -25700,7 +25704,7 @@ async function Qx(i) {
25700
25704
  });
25701
25705
  });
25702
25706
  }
25703
- async function eE(i, t) {
25707
+ async function tE(i, t) {
25704
25708
  const e = document.createElement("canvas");
25705
25709
  e.width = t[0], e.height = t[1];
25706
25710
  const { olMap: s } = i, r = e.getContext("2d");
@@ -25718,7 +25722,7 @@ async function eE(i, t) {
25718
25722
  });
25719
25723
  }), e;
25720
25724
  }
25721
- async function HE(i, t) {
25725
+ async function jE(i, t) {
25722
25726
  let e;
25723
25727
  function s(o, l) {
25724
25728
  const c = o[0] / o[1];
@@ -25735,10 +25739,10 @@ async function HE(i, t) {
25735
25739
  const { canvas: o } = a.getCesiumWidget().scene, l = o.width, c = o.height;
25736
25740
  r(s([l, c], t), 33e6);
25737
25741
  const u = t / l;
25738
- n = Jx(a, u), e = await Qx(a);
25742
+ n = Kx(a, u), e = await eE(a);
25739
25743
  } else if (a instanceof be || a instanceof Me) {
25740
25744
  const o = Array.from(a.olMap.getViewport().querySelectorAll(".ol-layer canvas")).reduce((d, f) => d.width > f.width ? f : d), l = o.width, c = o.height, u = s([l, c], t);
25741
- n = Kx(a, u), e = await eE(a, u);
25745
+ n = Qx(a, u), e = await tE(a, u);
25742
25746
  } else
25743
25747
  throw new Error("wrong Map");
25744
25748
  return n(), e;
@@ -25763,20 +25767,20 @@ export {
25763
25767
  ps as ClassRegistry,
25764
25768
  Yr as ClassificationTypeCesium,
25765
25769
  Aa as ClippingObject,
25766
- rM as ClippingObjectManager,
25770
+ nM as ClippingObjectManager,
25767
25771
  ar as ClippingPolygonObject,
25768
- nM as ClippingPolygonObjectCollection,
25772
+ aM as ClippingPolygonObjectCollection,
25769
25773
  Qi as ClippingPolygonObjectState,
25770
- B1 as ClusterContext,
25774
+ H1 as ClusterContext,
25771
25775
  Ht as Collection,
25772
25776
  Un as Controller,
25773
25777
  ac as CoordinateAtPixel,
25774
- lM as CreateBBoxInteraction,
25775
- oM as CreateCircleInteraction,
25776
- aM as CreateLineStringInteraction,
25777
- hM as CreatePointInteraction,
25778
- cM as CreatePolygonInteraction,
25779
- lx as CreationSnapping,
25778
+ hM as CreateBBoxInteraction,
25779
+ lM as CreateCircleInteraction,
25780
+ oM as CreateLineStringInteraction,
25781
+ cM as CreatePointInteraction,
25782
+ uM as CreatePolygonInteraction,
25783
+ hx as CreationSnapping,
25780
25784
  yo as CzmlLayer,
25781
25785
  UC as DataSourceCesiumImpl,
25782
25786
  po as DataSourceLayer,
@@ -25785,25 +25789,25 @@ export {
25785
25789
  yC as DefaultObliqueCollection,
25786
25790
  To as DisplayQuality,
25787
25791
  ci as DisplayQualityLevel,
25788
- Nx as EditFeaturesMouseOverInteraction,
25789
- ZM as EditGeometryMouseOverInteraction,
25790
- Dx as EnsureHandlerSelectionInteraction,
25792
+ Rx as EditFeaturesMouseOverInteraction,
25793
+ JM as EditGeometryMouseOverInteraction,
25794
+ Nx as EnsureHandlerSelectionInteraction,
25791
25795
  jC as EventHandler,
25792
25796
  T as EventType,
25793
25797
  VS as ExclusiveManager,
25794
25798
  we as Extent,
25795
25799
  Ai as Extent3D,
25796
- Ax as ExtrudeInteraction,
25800
+ Dx as ExtrudeInteraction,
25797
25801
  zC as FeatureAtPixelInteraction,
25798
25802
  ji as FeatureLayer,
25799
25803
  BC as FeatureProviderInteraction,
25800
25804
  ls as FeatureStoreLayer,
25801
- f1 as FeatureStoreLayerChanges,
25805
+ g1 as FeatureStoreLayerChanges,
25802
25806
  na as FeatureVisibility,
25803
25807
  ye as FeatureVisibilityAction,
25804
25808
  Bu as FlatGeobufLayer,
25805
25809
  Hu as FlatGeobufTileProvider,
25806
- UM as FlightCollection,
25810
+ qM as FlightCollection,
25807
25811
  vr as FlightInstance,
25808
25812
  Fn as GeoJSONLayer,
25809
25813
  Fe as GeometryType,
@@ -25825,7 +25829,7 @@ export {
25825
25829
  Vt as MapState,
25826
25830
  sa as ModelFill,
25827
25831
  k as ModificationKeyType,
25828
- FM as Navigation,
25832
+ GM as Navigation,
25829
25833
  Ui as NavigationImpl,
25830
25834
  Rs as ObliqueCollection,
25831
25835
  wu as ObliqueDataSet,
@@ -25839,9 +25843,9 @@ export {
25839
25843
  co as OlcsGeometryType,
25840
25844
  qC as OpenStreetMapCesiumImpl,
25841
25845
  Gn as OpenStreetMapLayer,
25842
- N1 as OpenStreetMapOpenlayersImpl,
25846
+ R1 as OpenStreetMapOpenlayersImpl,
25843
25847
  be as OpenlayersMap,
25844
- MM as OpenlayersNavigation,
25848
+ xM as OpenlayersNavigation,
25845
25849
  Pi as OverrideClassRegistry,
25846
25850
  oo as PatternType,
25847
25851
  kn as PointCloudLayer,
@@ -25853,84 +25857,84 @@ export {
25853
25857
  Or as RasterLayerCesiumImpl,
25854
25858
  ca as RasterLayerOpenlayersImpl,
25855
25859
  tm as RemoveVertexInteraction,
25856
- Ix as RotateInteraction,
25857
- Tx as ScaleInteraction,
25860
+ Tx as RotateInteraction,
25861
+ Ax as ScaleInteraction,
25858
25862
  ga as SegmentLengthInteraction,
25859
- Ux as SelectFeatureMouseOverInteraction,
25863
+ qx as SelectFeatureMouseOverInteraction,
25860
25864
  rm as SelectMultiFeatureInteraction,
25861
25865
  nm as SelectSingleFeatureInteraction,
25862
25866
  Di as SelectionMode,
25863
25867
  _r as SessionType,
25864
25868
  WC as SingleImageCesiumImpl,
25865
25869
  Mo as SingleImageLayer,
25866
- R1 as SingleImageOpenlayersImpl,
25870
+ F1 as SingleImageOpenlayersImpl,
25867
25871
  Dg as StaticFeatureTileProvider,
25868
25872
  Oo as StaticGeoJSONTileProvider,
25869
25873
  wi as StyleItem,
25870
25874
  Bn as TMSLayer,
25871
25875
  YC as TerrainCesiumImpl,
25872
25876
  Vn as TerrainLayer,
25873
- SE as TileDebugOpenlayersImpl,
25877
+ bE as TileDebugOpenlayersImpl,
25874
25878
  nt as TileProvider,
25875
25879
  yh as TileProviderFeatureProvider,
25876
25880
  ut as TilingScheme,
25877
25881
  XC as TmsCesiumImpl,
25878
- F1 as TmsOpenlayersImpl,
25882
+ G1 as TmsOpenlayersImpl,
25879
25883
  ve as TransformationMode,
25880
- Px as TranslateInteraction,
25884
+ Lx as TranslateInteraction,
25881
25885
  pa as TranslateVertexInteraction,
25882
25886
  sm as TranslationSnapping,
25883
25887
  xo as URLTemplateTileProvider,
25884
25888
  Wg as VcsApp,
25885
25889
  PS as VcsCameraPrimitive,
25886
- n1 as VcsChildTile,
25887
- o1 as VcsDebugTile,
25890
+ a1 as VcsChildTile,
25891
+ l1 as VcsDebugTile,
25888
25892
  L as VcsEvent,
25889
25893
  Si as VcsMap,
25890
25894
  ph as VcsModule,
25891
- l1 as VcsNoDataTile,
25895
+ h1 as VcsNoDataTile,
25892
25896
  Ct as VcsObject,
25893
- u1 as VcsQuadtreeTileProvider,
25897
+ d1 as VcsQuadtreeTileProvider,
25894
25898
  We as VcsTileState,
25895
25899
  Gs as VcsTileType,
25896
- h1 as VcsVectorTile,
25900
+ c1 as VcsVectorTile,
25897
25901
  $b as VectorCesiumImpl,
25898
- B1 as VectorClusterCesiumContext,
25902
+ H1 as VectorClusterCesiumContext,
25899
25903
  zn as VectorClusterGroup,
25900
- q1 as VectorClusterGroupCesiumImpl,
25904
+ W1 as VectorClusterGroupCesiumImpl,
25901
25905
  zS as VectorClusterGroupCollection,
25902
25906
  cc as VectorClusterGroupImpl,
25903
- X1 as VectorClusterGroupObliqueImpl,
25904
- W1 as VectorClusterGroupOpenlayersImpl,
25907
+ Z1 as VectorClusterGroupObliqueImpl,
25908
+ Y1 as VectorClusterGroupOpenlayersImpl,
25905
25909
  Gi as VectorClusterStyleItem,
25906
25910
  ec as VectorContext,
25907
25911
  rt as VectorLayer,
25908
25912
  _g as VectorObliqueImpl,
25909
25913
  Ff as VectorOpenlayersImpl,
25910
25914
  St as VectorProperties,
25911
- e1 as VectorRasterTileCesiumImpl,
25915
+ t1 as VectorRasterTileCesiumImpl,
25912
25916
  _e as VectorStyleItem,
25913
- QC as VectorTileImageryProvider,
25917
+ e1 as VectorTileImageryProvider,
25914
25918
  Hn as VectorTileLayer,
25915
- G1 as VectorTileOpenlayersImpl,
25919
+ k1 as VectorTileOpenlayersImpl,
25916
25920
  It as Viewpoint,
25917
25921
  Lo as WFSLayer,
25918
25922
  Fs as WMSFeatureProvider,
25919
25923
  jn as WMSLayer,
25920
25924
  $n as WMTSLayer,
25921
- t1 as WmsCesiumImpl,
25922
- k1 as WmsOpenlayersImpl,
25923
- i1 as WmtsCesiumImpl,
25924
- V1 as WmtsOpenlayersImpl,
25925
+ i1 as WmsCesiumImpl,
25926
+ V1 as WmsOpenlayersImpl,
25927
+ s1 as WmtsCesiumImpl,
25928
+ z1 as WmtsOpenlayersImpl,
25925
25929
  En as actuallyIsCircle,
25926
- PM as add,
25930
+ LM as add,
25927
25931
  uc as alreadySnapped,
25928
25932
  qe as alreadyTransformedToImage,
25929
25933
  ri as alreadyTransformedToMercator,
25930
25934
  nd as anchorFromGeojsonFeature,
25931
- IE as anchorFromViewpoint,
25932
- HM as anchorToGeojsonFeature,
25933
- TE as anchorToViewpoint,
25935
+ TE as anchorFromViewpoint,
25936
+ jM as anchorToGeojsonFeature,
25937
+ AE as anchorToViewpoint,
25934
25938
  yl as angleEqualsEpsilon,
25935
25939
  ho as blackColor,
25936
25940
  TC as calculateMinLevel,
@@ -25944,31 +25948,31 @@ export {
25944
25948
  Oi as cesiumColorToColor,
25945
25949
  Ji as cesiumTilesetLastUpdated,
25946
25950
  gu as checkLineIntersection,
25947
- TM as checkThreshold,
25951
+ AM as checkThreshold,
25948
25952
  Gf as circleFromCenterRadius,
25949
25953
  il as clearClippingPlanes,
25950
- xM as clearInput,
25951
- lE as colorInCanvas,
25954
+ EM as clearInput,
25955
+ hE as colorInCanvas,
25952
25956
  uS as combineFont,
25953
25957
  cg as convert,
25954
25958
  kf as convertGeometryToPolygon,
25955
- rE as coordinateAtDistance,
25959
+ nE as coordinateAtDistance,
25956
25960
  Qc as coordinateEqualsEpsilon,
25957
25961
  ln as copyClippingPlanesToCollection,
25958
- bx as create2DHandlers,
25959
- vx as create3DHandlers,
25960
- pE as createAbsoluteFeature,
25962
+ Cx as create2DHandlers,
25963
+ wx as create3DHandlers,
25964
+ yE as createAbsoluteFeature,
25961
25965
  Zg as createCameraVerticalPlane,
25962
25966
  Tb as createClassificationPrimitiveItem,
25963
- xE as createClippingFeature,
25964
- ME as createClippingPlaneCollection,
25967
+ EE as createClippingFeature,
25968
+ xE as createClippingPlaneCollection,
25965
25969
  rd as createEasing,
25966
- $M as createFlightPlayer,
25967
- zE as createFlightVisualization,
25970
+ UM as createFlightPlayer,
25971
+ BE as createFlightVisualization,
25968
25972
  Fb as createGroundLinePrimitiveItem,
25969
25973
  Db as createGroundPrimitiveItem,
25970
- VM as createHiddenObjectsCollection,
25971
- DE as createHorizontalPlane,
25974
+ zM as createHiddenObjectsCollection,
25975
+ NE as createHorizontalPlane,
25972
25976
  Rb as createLinePrimitiveItem,
25973
25977
  Nb as createOutlinePrimitiveItem,
25974
25978
  cS as createPattern,
@@ -25976,37 +25980,37 @@ export {
25976
25980
  yg as createSourceObliqueSync,
25977
25981
  dg as createSourceVectorContextSync,
25978
25982
  Se as createSync,
25979
- xx as createTransformationHandler,
25983
+ Ex as createTransformationHandler,
25980
25984
  Ir as createVertex,
25981
25985
  Lt as cursorMap,
25982
25986
  Df as defaultDeclarativeStyle,
25983
- qM as defaultDynamicModuleId,
25984
- fE as defaultExtrudedHeightCondition,
25987
+ WM as defaultDynamicModuleId,
25988
+ gE as defaultExtrudedHeightCondition,
25985
25989
  Ds as defaultVectorStyle,
25986
25990
  AS as deserializeLayer,
25987
25991
  IS as deserializeMap,
25988
25992
  TS as deserializeViewpoint,
25989
25993
  Yt as destroyCollection,
25990
- kM as detectBrowserLocale,
25994
+ VM as detectBrowserLocale,
25991
25995
  aa as doNotTransform,
25992
25996
  zf as drapeGeometryOnSurface,
25993
- NE as drapeGeometryOnTerrain,
25997
+ RE as drapeGeometryOnTerrain,
25994
25998
  Xw as ecef3DDistance,
25995
25999
  Nf as embedIconsInStyle,
25996
- dE as emptyColor,
26000
+ fE as emptyColor,
25997
26001
  fS as emptyStyle,
25998
26002
  uh as enforceEndingVertex,
25999
26003
  US as enforceRightHand,
26000
- PE as exportFlightAsGeoJson,
26001
- LE as exportFlightPathAsGeoJson,
26004
+ LE as exportFlightAsGeoJson,
26005
+ IE as exportFlightPathAsGeoJson,
26002
26006
  gi as featureArcStruct,
26003
26007
  ra as featureExists,
26004
26008
  Gl as featureFromOptions,
26005
26009
  Uh as featureProviderClassRegistry,
26006
26010
  ei as featureStoreStateSymbol,
26007
26011
  qS as from2Dto3DLayout,
26008
- gE as from3Dto2DLayout,
26009
- OE as fromArray,
26012
+ mE as from3Dto2DLayout,
26013
+ PE as fromArray,
26010
26014
  yS as fromCesiumColor,
26011
26015
  Qs as fvLastUpdated,
26012
26016
  Yg as geometryIsValid,
@@ -26015,7 +26019,7 @@ export {
26015
26019
  bb as getArcGeometryFactory,
26016
26020
  wb as getArrowHeadPrimitives,
26017
26021
  Kf as getBillboardOptions,
26018
- KC as getCanvasFromFeatures,
26022
+ QC as getCanvasFromFeatures,
26019
26023
  Ma as getCartesian3Options,
26020
26024
  Bi as getCartesianBearing,
26021
26025
  qw as getCartesianPitch,
@@ -26025,16 +26029,16 @@ export {
26025
26029
  ub as getCircleGeometryFactory,
26026
26030
  ZS as getClampOrigin,
26027
26031
  ba as getClassificationTypeOptions,
26028
- EE as getClippingOptions,
26032
+ OE as getClippingOptions,
26029
26033
  qn as getClosestPointOn2DLine,
26030
26034
  fa as getCoordinatesAndLayoutFromVertices,
26031
- uE as getCssStyleFromTextStyle,
26032
- U1 as getDefaultClusterStyleItem,
26035
+ dE as getCssStyleFromTextStyle,
26036
+ q1 as getDefaultClusterStyleItem,
26033
26037
  Kt as getDefaultCondition,
26034
- Wx as getDefaultHighlightStyle,
26038
+ Yx as getDefaultHighlightStyle,
26035
26039
  mf as getDefaultProjection,
26036
26040
  Ef as getDefaultVectorStyleItemOptions,
26037
- yE as getDirectionName,
26041
+ _E as getDirectionName,
26038
26042
  CC as getEPSGCodeFromGeojson,
26039
26043
  Og as getExtentFromTileset,
26040
26044
  XS as getExtrusionHeightInfo,
@@ -26077,8 +26081,8 @@ export {
26077
26081
  _t as getStringColor,
26078
26082
  Wh as getStrokeFromOptions,
26079
26083
  bn as getStrokeOptions,
26080
- hE as getStyleFromOptions,
26081
- cE as getStyleOptions,
26084
+ cE as getStyleFromOptions,
26085
+ uE as getStyleOptions,
26082
26086
  fo as getStyleOrDefaultStyle,
26083
26087
  Ln as getStylesArray,
26084
26088
  In as getTerrainProviderForUrl,
@@ -26086,29 +26090,29 @@ export {
26086
26090
  Cf as getTextOptions,
26087
26091
  _h as getTileHash,
26088
26092
  Ko as getTileLoadFunction,
26089
- s1 as getTileWebMercatorExtent,
26093
+ r1 as getTileWebMercatorExtent,
26090
26094
  oc as getTileWgs84Extent,
26091
26095
  Mg as getTilingScheme,
26092
26096
  Ag as getURL,
26093
- AE as getVcsAppById,
26097
+ DE as getVcsAppById,
26094
26098
  vg as getVersionFromImageJson,
26095
26099
  Tl as getViewDirectionFromViewpoint,
26096
26100
  Eg as getWMSSource,
26097
26101
  eg as getWgs84CoordinatesForPoint,
26098
26102
  cs as getZeroInput,
26099
- DM as getZeroMovement,
26103
+ NM as getZeroMovement,
26100
26104
  Xb as getZoom,
26101
26105
  Nt as globalHidden,
26102
26106
  Xr as globalHiderLastUpdated,
26103
- CE as globeLoaded,
26107
+ ME as globeLoaded,
26104
26108
  ma as greyedOutColor,
26105
26109
  Ve as handlerSymbol,
26106
- vE as hasSameOrigin,
26110
+ wE as hasSameOrigin,
26107
26111
  lS as hexToOlColor,
26108
26112
  ht as hidden,
26109
26113
  Re as highlighted,
26110
26114
  Jb as imageGeometryToMercatorGeometry,
26111
- nE as initialBearingBetweenCoords,
26115
+ aE as initialBearingBetweenCoords,
26112
26116
  sd as inputEquals,
26113
26117
  Fo as is1DAxis,
26114
26118
  Go as is2DAxis,
@@ -26116,8 +26120,8 @@ export {
26116
26120
  Xh as isAbsoluteHeightReference,
26117
26121
  Rt as isClampedHeightReference,
26118
26122
  Os as isMobile,
26119
- EM as isNonZeroInput,
26120
- NM as isNonZeroMovement,
26123
+ OM as isNonZeroInput,
26124
+ RM as isNonZeroMovement,
26121
26125
  oh as isOverrideCollection,
26122
26126
  IC as isProvidedClusterFeature,
26123
26127
  Cg as isProvidedFeature,
@@ -26127,8 +26131,8 @@ export {
26127
26131
  Nn as isTiledFeature,
26128
26132
  da as isVertex,
26129
26133
  ze as layerClassRegistry,
26130
- LM as lerp,
26131
- IM as lerpRound,
26134
+ IM as lerp,
26135
+ TM as lerpRound,
26132
26136
  Qt as makeOverrideCollection,
26133
26137
  xr as mapClassRegistry,
26134
26138
  nc as markVolatile,
@@ -26144,7 +26148,7 @@ export {
26144
26148
  Ba as modulo,
26145
26149
  ki as mouseOverSymbol,
26146
26150
  td as multiplyByScalar,
26147
- OM as multiplyComponents,
26151
+ PM as multiplyComponents,
26148
26152
  Jt as obliqueGeometry,
26149
26153
  fg as obliqueViewDirectionNames,
26150
26154
  hS as olColorToCesiumColor,
@@ -26153,29 +26157,29 @@ export {
26153
26157
  Ni as originalStyle,
26154
26158
  wl as parseCartesian3,
26155
26159
  tt as parseColor,
26156
- zM as parseFlightOptionsFromGeoJson,
26157
- oE as parseFont,
26160
+ BM as parseFlightOptionsFromGeoJson,
26161
+ lE as parseFont,
26158
26162
  is as parseGeoJSON,
26159
26163
  vu as parseImageData,
26160
26164
  eC as parseImageMeta,
26161
26165
  tC as parseLegacyImageData,
26162
26166
  vl as parseNearFarScalar,
26163
26167
  Ys as parseStoreyHeights,
26164
- mE as placeGeometryOnSurface,
26165
- RE as placeGeometryOnTerrain,
26166
- YM as pointOnLine2D,
26167
- WM as pointOnLine3D,
26168
+ pE as placeGeometryOnSurface,
26169
+ FE as placeGeometryOnTerrain,
26170
+ XM as pointOnLine2D,
26171
+ YM as pointOnLine3D,
26168
26172
  On as primitives,
26169
26173
  Af as propertyEqualsEpsilon,
26170
26174
  Qo as rectangleToExtent,
26171
26175
  su as removeEndingVertex,
26172
26176
  Vf as removeEndingVertexFromGeometry,
26173
- HE as renderScreenshot,
26174
- $1 as renderTemplate,
26177
+ jE as renderScreenshot,
26178
+ U1 as renderTemplate,
26175
26179
  iC as requestArrayBuffer,
26176
26180
  Ns as requestJson,
26177
26181
  oa as requestUrl,
26178
- Yx as rotationMapControlSymbol,
26182
+ Xx as rotationMapControlSymbol,
26179
26183
  DS as serializeLayer,
26180
26184
  Ju as setClippingPlanes,
26181
26185
  $w as setDefaultProjectionOptions,
@@ -26190,25 +26194,25 @@ export {
26190
26194
  rl as snapTypes,
26191
26195
  fu as sortRealWordEdgeCoordinates,
26192
26196
  Yw as spherical2Distance,
26193
- FE as startCreateFeatureSession,
26194
- GE as startEditFeaturesSession,
26195
- kE as startEditGeometrySession,
26196
- BE as startRotation,
26197
- VE as startSelectFeaturesSession,
26197
+ GE as startCreateFeatureSession,
26198
+ kE as startEditFeaturesSession,
26199
+ VE as startEditGeometrySession,
26200
+ HE as startRotation,
26201
+ zE as startSelectFeaturesSession,
26198
26202
  ia as styleClassRegistry,
26199
26203
  If as synchronizeFeatureVisibility,
26200
26204
  Xo as synchronizeFeatureVisibilityWithSource,
26201
26205
  Bs as tileProviderClassRegistry,
26202
- bE as tiledLayerLoaded,
26203
- JC as toContext,
26206
+ CE as tiledLayerLoaded,
26207
+ KC as toContext,
26204
26208
  Wb as transformCWIFC,
26205
26209
  Tn as transformFromImage,
26206
- _E as transformToImage,
26210
+ vE as transformToImage,
26207
26211
  BS as updateFeatureVisibility,
26208
26212
  HS as updateGlobalHider,
26209
26213
  MC as updateLegacyFeature,
26210
26214
  Yf as validateCircle,
26211
- aE as validateHexColor,
26215
+ oE as validateHexColor,
26212
26216
  Kh as validateLineString,
26213
26217
  Qf as validatePoint,
26214
26218
  Uf as validatePolygon,
@@ -26224,7 +26228,7 @@ export {
26224
26228
  de as wgs84Projection,
26225
26229
  no as wgs84ToMercatorTransformer,
26226
26230
  Ha as whiteColor,
26227
- wE as writeGeoJSON,
26231
+ SE as writeGeoJSON,
26228
26232
  Dn as writeGeoJSONFeature,
26229
26233
  kS as writeStyle
26230
26234
  };