@vcmap/ui 5.3.3 → 5.3.4

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,9 +1,9 @@
1
1
  var Vu = Object.defineProperty;
2
2
  var $u = (i, t, e) => t in i ? Vu(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var h = (i, t, e) => ($u(i, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { ol$proj$getTransform as Fe, ol$proj$get as Bu, ol$proj$equivalent as Uu, ol$proj$proj4$register as Ko, ol$geom$Circle as bt, ol$geom$GeometryCollection as Fr, ol$style$Style as ee, ol$style$Fill as st, ol$style$Stroke as $e, ol$style$Text as mo, ol$style$Icon as Ci, ol$style$Circle as xi, ol$style$RegularShape as Rr, ol$has$DEVICE_PIXEL_RATIO as qu, ol$style$Image as Th, ol$Feature as ae, ol$extent$containsCoordinate as ja, ol$Map as Wu, ol$interaction$defaults as Xu, ol$Observable$unByKey as re, ol$View as po, ol$easing$inAndOut as Yu, ol$extent$containsXY as Nh, ol$extent$boundingExtent as ar, ol$layer$Vector as Dh, ol$extent$getBottomLeft as yo, ol$geom$SimpleGeometry as Zu, ol$geom$Point as Dt, ol$geom$LineString as qt, ol$geom$Polygon as At, ol$geom$MultiPoint as Ah, ol$geom$MultiLineString as Fh, ol$geom$MultiPolygon as or, ol$sphere$offset as fn, ol$geom$Polygon$fromCircle as Rh, ol$geom$Polygon$circular as Ku, ol$colorlike$asColorLike as Ju, Feature as Ft, ol$ImageState as Qr, ol$extent$getBottomRight as Gh, ol$extent$getTopRight as kh, ol$extent$getTopLeft as ea, ol$proj$transform as ki, ol$source$Vector as lr, ol$tilegrid$createXYZ as zh, ol$TileState as Hh, ol$proj$Projection as Qu, ol$tilegrid$TileGrid as jh, ol$source$TileImage as ed, ol$layer$Tile as Es, ol$extent$buffer as Vh, ol$extent$getCenter as hr, ol$geom$Polygon$fromExtent as td, ol$proj$transformExtent as Jo, ol$sphere$getDistance as id, ol$format$GeoJSON as $h, ol$extent$getWidth as Va, ol$source$TileWMS as sd, ol$source$ImageWMS as rd, ol$format$GML2 as $a, ol$format$WFS as Ba, ol$format$GML3 as Ua, ol$extent$createEmpty as ws, ol$structs$LRUCache as nd, ol$extent$createOrUpdateFromCoordinate as ad, ol$render$canvas$Immediate as od, ol$geom$flat$transform$transform2D as ld, ol$extent$intersects as hd, ol$geom$SimpleGeometry$transformGeom2D as cd, ol$transform$scale as ud, ol$transform$create as dd, ol$transform$compose as fd, ol$extent$extend as cr, ol$source$OSM as gd, ol$layer$Image as Bh, ol$source$ImageStatic as md, ol$source$TileDebug as pd, ol$source$XYZ as yd, ol$source$VectorTile as _d, ol$layer$VectorTile as vd, ol$tilegrid$WMTS as Sd, ol$source$WMTS as wd, ol$format$MVT as Md, ol$coordinate$equals as Cd, ol$interaction$DragPan as xd, ol$extent$isEmpty as qa, ol$geom$LinearRing as bd } from "./ol.f4bb15.js";
5
- import { Math as N, Cartesian3 as _, Cartographic as se, Cesium3DTileStyle as xn, Cesium3DTileColorBlendMode as gn, Color as U, TrustedServers as Zt, VerticalOrigin as gt, Cesium3DTileFeature as Yi, Cesium3DTilePointFeature as Zi, Entity as Ki, Material as Rt, Cartesian2 as j, Matrix3 as X, Quaternion as bn, Primitive as pt, GeometryInstance as ct, FrustumGeometry as Od, ColorGeometryInstanceAttribute as ur, PerInstanceColorAppearance as Ms, FrustumOutlineGeometry as Ed, destroyObject as Pd, EasingFunction as Id, ConditionsExpression as Ld, Expression as Td, HeightReference as Le, ClassificationType as ys, NearFarScalar as er, SplitDirection as Me, SceneTransforms as Nd, MaterialAppearance as On, ShadowMode as Gr, ClassificationPrimitive as Uh, GroundPrimitive as Qo, PolylineMaterialAppearance as Wa, GroundPolylinePrimitive as el, PolygonGeometry as Dd, PolygonOutlineGeometry as Ad, GroundPolylineGeometry as _o, PolylineGeometry as zi, PolygonHierarchy as Xa, CircleGeometry as Fd, CircleOutlineGeometry as Rd, HeadingPitchRoll as Vi, Matrix4 as R, Transforms as bi, Model as vo, sampleTerrainMostDetailed as ta, ModelAnimationLoop as Gd, CylinderOutlineGeometry as kd, CylinderGeometry as qh, EllipsoidOutlineGeometry as zd, EllipsoidGeometry as Wh, SphereOutlineGeometry as Hd, SphereGeometry as jd, BoxOutlineGeometry as Vd, BoxGeometry as Xh, WallGeometry as $d, WallOutlineGeometry as Bd, LabelStyle as pa, HorizontalOrigin as ya, CatmullRomSpline as Yh, ArcType as En, PrimitiveCollection as Oi, BillboardCollection as Ud, LabelCollection as qd, Resource as Wd, CesiumTerrainProvider as tl, Cartesian4 as il, sampleTerrain as Xd, Ellipsoid as Ya, Clock as Yd, DataSourceClock as Zd, JulianDate as Zh, KeyboardEventModifier as _a, ScreenSpaceEventType as pi, CesiumWidget as Kd, DataSourceDisplay as sl, DataSourceCollection as rl, RequestScheduler as Jd, ScreenSpaceEventHandler as Qd, Ray as Kh, Camera as Jh, ImageryLayer as Ji, CustomDataSource as Qh, BoundingSphere as ec, Intersect as ef, BillboardVisualizer as tf, LabelVisualizer as sf, PointVisualizer as rf, WebMercatorTilingScheme as So, GeographicTilingScheme as tc, Rectangle as yt, Cesium3DTileset as Pn, Composite3DTileContent as nf, HeadingPitchRange as af, BoundingSphereState as nl, OpenStreetMapImageryProvider as of, SingleTileImageryProvider as lf, TileMapServiceImageryProvider as hf, Event as al, WebMapServiceImageryProvider as cf, WebMapTileServiceImageryProvider as uf, EntityCollection as df, CzmlDataSource as ff, Plane as ie, ClippingPlaneCollection as dr, ClippingPlane as fr, ConstantProperty as gf, Globe as mf, LinearSpline as pf, QuaternionSpline as yf, CoplanarPolygonGeometry as _f, IntersectionTests as vf } from "./cesium.7b7975.js";
6
- const Qi = Symbol("isMatcher"), Sf = Symbol("Integer"), wf = Symbol("NonEmptyString"), wo = /* @__PURE__ */ new Map();
4
+ import { ol$proj$getTransform as Fe, ol$proj$get as Bu, ol$proj$equivalent as Uu, ol$proj$proj4$register as Jo, ol$geom$Circle as bt, ol$geom$GeometryCollection as Fr, ol$style$Style as ee, ol$style$Fill as st, ol$style$Stroke as $e, ol$style$Text as po, ol$style$Icon as Ci, ol$style$Circle as xi, ol$style$RegularShape as Rr, ol$has$DEVICE_PIXEL_RATIO as qu, ol$style$Image as Th, ol$Feature as ae, ol$extent$containsCoordinate as Va, ol$Map as Wu, ol$interaction$defaults as Xu, ol$Observable$unByKey as re, ol$View as yo, ol$easing$inAndOut as Yu, ol$extent$containsXY as Nh, ol$extent$boundingExtent as ar, ol$layer$Vector as Dh, ol$extent$getBottomLeft as _o, ol$geom$SimpleGeometry as Zu, ol$geom$Point as Dt, ol$geom$LineString as qt, ol$geom$Polygon as At, ol$geom$MultiPoint as Ah, ol$geom$MultiLineString as Fh, ol$geom$MultiPolygon as or, ol$sphere$offset as fn, ol$geom$Polygon$fromCircle as Rh, ol$geom$Polygon$circular as Ku, ol$colorlike$asColorLike as Ju, Feature as Ft, ol$ImageState as Qr, ol$extent$getBottomRight as Gh, ol$extent$getTopRight as kh, ol$extent$getTopLeft as ta, ol$proj$transform as ki, ol$source$Vector as lr, ol$tilegrid$createXYZ as zh, ol$TileState as Hh, ol$proj$Projection as Qu, ol$tilegrid$TileGrid as jh, ol$source$TileImage as ed, ol$layer$Tile as Es, ol$extent$buffer as Vh, ol$extent$getCenter as hr, ol$geom$Polygon$fromExtent as td, ol$proj$transformExtent as Qo, ol$sphere$getDistance as id, ol$format$GeoJSON as $h, ol$extent$getWidth as $a, ol$source$TileWMS as sd, ol$source$ImageWMS as rd, ol$format$GML2 as Ba, ol$format$WFS as Ua, ol$format$GML3 as qa, ol$extent$createEmpty as ws, ol$structs$LRUCache as nd, ol$extent$createOrUpdateFromCoordinate as ad, ol$render$canvas$Immediate as od, ol$geom$flat$transform$transform2D as ld, ol$extent$intersects as hd, ol$geom$SimpleGeometry$transformGeom2D as cd, ol$transform$scale as ud, ol$transform$create as dd, ol$transform$compose as fd, ol$extent$extend as cr, ol$source$OSM as gd, ol$layer$Image as Bh, ol$source$ImageStatic as md, ol$source$TileDebug as pd, ol$source$XYZ as yd, ol$source$VectorTile as _d, ol$layer$VectorTile as vd, ol$tilegrid$WMTS as Sd, ol$source$WMTS as wd, ol$format$MVT as Md, ol$coordinate$equals as Cd, ol$interaction$DragPan as xd, ol$extent$isEmpty as Wa, ol$geom$LinearRing as bd } from "./ol.8896b2.js";
5
+ import { Math as N, Cartesian3 as _, Cartographic as se, Cesium3DTileStyle as xn, Cesium3DTileColorBlendMode as gn, Color as U, TrustedServers as Zt, VerticalOrigin as gt, Cesium3DTileFeature as Yi, Cesium3DTilePointFeature as Zi, Entity as Ki, Material as Rt, Cartesian2 as j, Matrix3 as X, Quaternion as bn, Primitive as pt, GeometryInstance as ct, FrustumGeometry as Od, ColorGeometryInstanceAttribute as ur, PerInstanceColorAppearance as Ms, FrustumOutlineGeometry as Ed, destroyObject as Pd, EasingFunction as Id, ConditionsExpression as Ld, Expression as Td, HeightReference as Le, ClassificationType as ys, NearFarScalar as er, SplitDirection as Me, SceneTransforms as Nd, MaterialAppearance as On, ShadowMode as Gr, ClassificationPrimitive as Uh, GroundPrimitive as el, PolylineMaterialAppearance as Xa, GroundPolylinePrimitive as tl, PolygonGeometry as Dd, PolygonOutlineGeometry as Ad, GroundPolylineGeometry as vo, PolylineGeometry as zi, PolygonHierarchy as Ya, CircleGeometry as Fd, CircleOutlineGeometry as Rd, HeadingPitchRoll as Vi, Matrix4 as R, Transforms as bi, Model as So, sampleTerrainMostDetailed as ia, ModelAnimationLoop as Gd, CylinderOutlineGeometry as kd, CylinderGeometry as qh, EllipsoidOutlineGeometry as zd, EllipsoidGeometry as Wh, SphereOutlineGeometry as Hd, SphereGeometry as jd, BoxOutlineGeometry as Vd, BoxGeometry as Xh, WallGeometry as $d, WallOutlineGeometry as Bd, LabelStyle as ya, HorizontalOrigin as _a, CatmullRomSpline as Yh, ArcType as En, PrimitiveCollection as Oi, BillboardCollection as Ud, LabelCollection as qd, Resource as Wd, CesiumTerrainProvider as il, Cartesian4 as sl, sampleTerrain as Xd, Ellipsoid as Za, Clock as Yd, DataSourceClock as Zd, JulianDate as Zh, KeyboardEventModifier as va, ScreenSpaceEventType as pi, CesiumWidget as Kd, DataSourceDisplay as rl, DataSourceCollection as nl, RequestScheduler as Jd, ScreenSpaceEventHandler as Qd, Ray as Kh, Camera as Jh, ImageryLayer as Ji, CustomDataSource as Qh, BoundingSphere as ec, Intersect as ef, BillboardVisualizer as tf, LabelVisualizer as sf, PointVisualizer as rf, WebMercatorTilingScheme as wo, GeographicTilingScheme as tc, Rectangle as yt, Cesium3DTileset as Pn, Composite3DTileContent as nf, HeadingPitchRange as af, BoundingSphereState as al, OpenStreetMapImageryProvider as of, SingleTileImageryProvider as lf, TileMapServiceImageryProvider as hf, Event as ol, WebMapServiceImageryProvider as cf, WebMapTileServiceImageryProvider as uf, EntityCollection as df, CzmlDataSource as ff, Plane as ie, ClippingPlaneCollection as dr, ClippingPlane as fr, ConstantProperty as gf, Globe as mf, LinearSpline as pf, QuaternionSpline as yf, CoplanarPolygonGeometry as _f, IntersectionTests as vf } from "./cesium.dda0d2.js";
6
+ const Qi = Symbol("isMatcher"), Sf = Symbol("Integer"), wf = Symbol("NonEmptyString"), Mo = /* @__PURE__ */ new Map();
7
7
  [
8
8
  [String, "string"],
9
9
  [Number, "number"],
@@ -12,7 +12,7 @@ const Qi = Symbol("isMatcher"), Sf = Symbol("Integer"), wf = Symbol("NonEmptyStr
12
12
  [void 0, "undefined"],
13
13
  [Symbol, "symbol"]
14
14
  ].forEach(([i, t]) => {
15
- wo.set(i, t);
15
+ Mo.set(i, t);
16
16
  });
17
17
  function Mf(i) {
18
18
  return i == null ? void 0 : i[Qi];
@@ -59,14 +59,14 @@ function xf(i, t, e) {
59
59
  }
60
60
  return null;
61
61
  }
62
- function Za(i, t, e, s) {
62
+ function Ka(i, t, e, s) {
63
63
  const r = s ? `${s}.` : "";
64
64
  if (!gr(i))
65
65
  return `Expected ${Be(i)} to be a plain Object`;
66
66
  let a = !1;
67
67
  const o = Object.keys(t).find((l) => {
68
68
  const c = i[l];
69
- return gr(t[l]) ? a = Za(c, t[l], e, r + l) : a = e(c, t[l]), a;
69
+ return gr(t[l]) ? a = Ka(c, t[l], e, r + l) : a = e(c, t[l]), a;
70
70
  });
71
71
  return o ? `${String(a)} in object.${r}${o}` : !1;
72
72
  }
@@ -77,13 +77,13 @@ function bf(i, t) {
77
77
  return Number.isInteger(i) ? !1 : `expected ${Be(i)} to be an integer number`;
78
78
  if (t === wf)
79
79
  return typeof i == "string" && i.length > 0 ? !1 : `expected ${Be(i)} to be a non-empty string`;
80
- const e = wo.get(t);
80
+ const e = Mo.get(t);
81
81
  return e ? typeof i === e ? !1 : `expected ${Be(i)} to be a ${String(e)}` : null;
82
82
  }
83
- function ia(i) {
83
+ function sa(i) {
84
84
  if (i === null)
85
85
  return "null";
86
- const t = wo.get(i);
86
+ const t = Mo.get(i);
87
87
  if (t)
88
88
  return t;
89
89
  const e = i == null ? void 0 : i.className;
@@ -98,7 +98,7 @@ function ia(i) {
98
98
  if (gr(i)) {
99
99
  const n = {};
100
100
  Object.keys(i).forEach((a) => {
101
- n[a] = ia(i[a]);
101
+ n[a] = sa(i[a]);
102
102
  });
103
103
  try {
104
104
  s = `Object of ${JSON.stringify(n)}`;
@@ -127,11 +127,11 @@ function Ps(i, t) {
127
127
  if (Array.isArray(r))
128
128
  return xf(s, r, e);
129
129
  if (r === Object)
130
- return Za(s, {}, e);
130
+ return Ka(s, {}, e);
131
131
  if (r instanceof Function)
132
- return s instanceof r ? !1 : `Expected ${Be(s, !0)} to be of Type ${ia(r)}`;
132
+ return s instanceof r ? !1 : `Expected ${Be(s, !0)} to be of Type ${sa(r)}`;
133
133
  if (typeof r == "object") {
134
- const o = Za(s, r, e);
134
+ const o = Ka(s, r, e);
135
135
  return o || !1;
136
136
  }
137
137
  throw new Error(`Cannot handle pattern ${String(r)}`);
@@ -166,7 +166,7 @@ function ic(i) {
166
166
  return t[Qi] = !0, t;
167
167
  }
168
168
  function Ae(...i) {
169
- const t = (e) => i.every((r) => Ps(e, r)) ? `Expected ${Be(e)} to be a ${i.map((r) => ia(r)).join(" or ")}` : !1;
169
+ const t = (e) => i.every((r) => Ps(e, r)) ? `Expected ${Be(e)} to be a ${i.map((r) => sa(r)).join(" or ")}` : !1;
170
170
  return t[Qi] = !0, t;
171
171
  }
172
172
  function Pf(i) {
@@ -177,8 +177,8 @@ function Pf(i) {
177
177
  };
178
178
  return t[Qi] = !0, t;
179
179
  }
180
- function ol(i) {
181
- const t = (e) => gr(e) ? Object.values(e).every((r) => es(r, i)) ? !1 : `Not all values of ${Be(e)} are of type ${ia(i)}` : `Expected ${Be(e)} to be a plain Object`;
180
+ function ll(i) {
181
+ const t = (e) => gr(e) ? Object.values(e).every((r) => es(r, i)) ? !1 : `Not all values of ${Be(e)} are of type ${sa(i)}` : `Expected ${Be(e)} to be a plain Object`;
182
182
  return t[Qi] = !0, t;
183
183
  }
184
184
  function In(i) {
@@ -189,7 +189,7 @@ function In(i) {
189
189
  function If(i) {
190
190
  i("EPSG:4326", "+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"), i("EPSG:4269", "+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"), i("EPSG:3857", "+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"), i.WGS84 = i["EPSG:4326"], i["EPSG:3785"] = i["EPSG:3857"], i.GOOGLE = i["EPSG:3857"], i["EPSG:900913"] = i["EPSG:3857"], i["EPSG:102113"] = i["EPSG:3857"];
191
191
  }
192
- var $i = 1, Bi = 2, _s = 3, Lf = 4, Ka = 5, ll = 6378137, Tf = 6356752314e-3, hl = 0.0066943799901413165, tr = 484813681109536e-20, O = Math.PI / 2, Nf = 0.16666666666666666, Df = 0.04722222222222222, Af = 0.022156084656084655, T = 1e-10, He = 0.017453292519943295, $t = 57.29577951308232, K = Math.PI / 4, mr = Math.PI * 2, we = 3.14159265359, ft = {};
192
+ var $i = 1, Bi = 2, _s = 3, Lf = 4, Ja = 5, hl = 6378137, Tf = 6356752314e-3, cl = 0.0066943799901413165, tr = 484813681109536e-20, O = Math.PI / 2, Nf = 0.16666666666666666, Df = 0.04722222222222222, Af = 0.022156084656084655, T = 1e-10, He = 0.017453292519943295, $t = 57.29577951308232, K = Math.PI / 4, mr = Math.PI * 2, we = 3.14159265359, ft = {};
193
193
  ft.greenwich = 0;
194
194
  ft.lisbon = -9.131906111111;
195
195
  ft.paris = 2.337229166667;
@@ -207,15 +207,15 @@ const Ff = {
207
207
  ft: { to_meter: 0.3048 },
208
208
  "us-ft": { to_meter: 1200 / 3937 }
209
209
  };
210
- var cl = /[\s_\-\/\(\)]/g;
210
+ var ul = /[\s_\-\/\(\)]/g;
211
211
  function Ei(i, t) {
212
212
  if (i[t])
213
213
  return i[t];
214
- for (var e = Object.keys(i), s = t.toLowerCase().replace(cl, ""), r = -1, n, a; ++r < e.length; )
215
- if (n = e[r], a = n.toLowerCase().replace(cl, ""), a === s)
214
+ for (var e = Object.keys(i), s = t.toLowerCase().replace(ul, ""), r = -1, n, a; ++r < e.length; )
215
+ if (n = e[r], a = n.toLowerCase().replace(ul, ""), a === s)
216
216
  return i[n];
217
217
  }
218
- function Ja(i) {
218
+ function Qa(i) {
219
219
  var t = {}, e = i.split("+").map(function(o) {
220
220
  return o.trim();
221
221
  }).filter(function(o) {
@@ -321,7 +321,7 @@ function Ja(i) {
321
321
  r = e[s], s in a ? (n = a[s], typeof n == "function" ? n(r) : t[n] = r) : t[s] = r;
322
322
  return typeof t.datumCode == "string" && t.datumCode !== "WGS84" && (t.datumCode = t.datumCode.toLowerCase()), t;
323
323
  }
324
- var pr = 1, sc = 2, rc = 3, Ln = 4, nc = 5, Mo = -1, Rf = /\s/, Gf = /[A-Za-z]/, kf = /[A-Za-z84_]/, sa = /[,\]]/, ac = /[\d\.E\-\+]/;
324
+ var pr = 1, sc = 2, rc = 3, Ln = 4, nc = 5, Co = -1, Rf = /\s/, Gf = /[A-Za-z]/, kf = /[A-Za-z84_]/, ra = /[,\]]/, ac = /[\d\.E\-\+]/;
325
325
  function gi(i) {
326
326
  if (typeof i != "string")
327
327
  throw new Error("not a string");
@@ -346,7 +346,7 @@ gi.prototype.readCharicter = function() {
346
346
  return this.afterquote(i);
347
347
  case rc:
348
348
  return this.number(i);
349
- case Mo:
349
+ case Co:
350
350
  return;
351
351
  }
352
352
  };
@@ -355,7 +355,7 @@ gi.prototype.afterquote = function(i) {
355
355
  this.word += '"', this.state = Ln;
356
356
  return;
357
357
  }
358
- if (sa.test(i)) {
358
+ if (ra.test(i)) {
359
359
  this.word = this.word.trim(), this.afterItem(i);
360
360
  return;
361
361
  }
@@ -367,7 +367,7 @@ gi.prototype.afterItem = function(i) {
367
367
  return;
368
368
  }
369
369
  if (i === "]") {
370
- this.level--, this.word !== null && (this.currentObject.push(this.word), this.word = null), this.state = pr, this.currentObject = this.stack.pop(), this.currentObject || (this.state = Mo);
370
+ this.level--, this.word !== null && (this.currentObject.push(this.word), this.word = null), this.state = pr, this.currentObject = this.stack.pop(), this.currentObject || (this.state = Co);
371
371
  return;
372
372
  }
373
373
  };
@@ -376,7 +376,7 @@ gi.prototype.number = function(i) {
376
376
  this.word += i;
377
377
  return;
378
378
  }
379
- if (sa.test(i)) {
379
+ if (ra.test(i)) {
380
380
  this.word = parseFloat(this.word), this.afterItem(i);
381
381
  return;
382
382
  }
@@ -399,7 +399,7 @@ gi.prototype.keyword = function(i) {
399
399
  t.push(this.word), this.level++, this.root === null ? this.root = t : this.currentObject.push(t), this.stack.push(this.currentObject), this.currentObject = t, this.state = pr;
400
400
  return;
401
401
  }
402
- if (sa.test(i)) {
402
+ if (ra.test(i)) {
403
403
  this.afterItem(i);
404
404
  return;
405
405
  }
@@ -418,7 +418,7 @@ gi.prototype.neutral = function(i) {
418
418
  this.word = i, this.state = rc;
419
419
  return;
420
420
  }
421
- if (sa.test(i)) {
421
+ if (ra.test(i)) {
422
422
  this.afterItem(i);
423
423
  return;
424
424
  }
@@ -427,7 +427,7 @@ gi.prototype.neutral = function(i) {
427
427
  gi.prototype.output = function() {
428
428
  for (; this.place < this.text.length; )
429
429
  this.readCharicter();
430
- if (this.state === Mo)
430
+ if (this.state === Co)
431
431
  return this.root;
432
432
  throw new Error('unable to parse string "' + this.text + '". State is ' + this.state);
433
433
  };
@@ -435,7 +435,7 @@ function zf(i) {
435
435
  var t = new gi(i);
436
436
  return t.output();
437
437
  }
438
- function ul(i, t, e) {
438
+ function dl(i, t, e) {
439
439
  Array.isArray(t) && (e.unshift(t), t = null);
440
440
  var s = t ? {} : i, r = e.reduce(function(n, a) {
441
441
  return us(a, n), n;
@@ -508,13 +508,13 @@ function us(i, t) {
508
508
  case "FITTED_CS":
509
509
  case "LOCAL_DATUM":
510
510
  case "DATUM":
511
- i[0] = ["name", i[0]], ul(t, e, i);
511
+ i[0] = ["name", i[0]], dl(t, e, i);
512
512
  return;
513
513
  default:
514
514
  for (s = -1; ++s < i.length; )
515
515
  if (!Array.isArray(i[s]))
516
516
  return us(i, t[e]);
517
- return ul(t, e, i);
517
+ return dl(t, e, i);
518
518
  }
519
519
  }
520
520
  var Hf = 0.017453292519943295;
@@ -591,7 +591,7 @@ function Je(i) {
591
591
  var t = this;
592
592
  if (arguments.length === 2) {
593
593
  var e = arguments[1];
594
- typeof e == "string" ? e.charAt(0) === "+" ? Je[i] = Ja(arguments[1]) : Je[i] = oc(arguments[1]) : Je[i] = e;
594
+ typeof e == "string" ? e.charAt(0) === "+" ? Je[i] = Qa(arguments[1]) : Je[i] = oc(arguments[1]) : Je[i] = e;
595
595
  } else if (arguments.length === 1) {
596
596
  if (Array.isArray(i))
597
597
  return i.map(function(s) {
@@ -643,14 +643,14 @@ function Kf(i) {
643
643
  if (Xf(t))
644
644
  return Je["EPSG:3857"];
645
645
  var e = Yf(t);
646
- return e ? Ja(e) : t;
646
+ return e ? Qa(e) : t;
647
647
  }
648
648
  if (Zf(i))
649
- return Ja(i);
649
+ return Qa(i);
650
650
  } else
651
651
  return i;
652
652
  }
653
- function dl(i, t) {
653
+ function fl(i, t) {
654
654
  i = i || {};
655
655
  var e, s;
656
656
  if (!t)
@@ -718,14 +718,14 @@ const ig = {
718
718
  };
719
719
  function sg() {
720
720
  }
721
- function fl(i) {
721
+ function gl(i) {
722
722
  return i;
723
723
  }
724
724
  var rg = ["longlat", "identity"];
725
725
  const ng = {
726
726
  init: sg,
727
- forward: fl,
728
- inverse: fl,
727
+ forward: gl,
728
+ inverse: gl,
729
729
  names: rg
730
730
  };
731
731
  var ag = [ig, ng], mn = {}, Tn = [];
@@ -1082,7 +1082,7 @@ Ge.rnb72 = {
1082
1082
  };
1083
1083
  function fg(i, t, e, s, r, n, a) {
1084
1084
  var o = {};
1085
- return i === void 0 || i === "none" ? o.datum_type = Ka : o.datum_type = Lf, t && (o.datum_params = t.map(parseFloat), (o.datum_params[0] !== 0 || o.datum_params[1] !== 0 || o.datum_params[2] !== 0) && (o.datum_type = $i), o.datum_params.length > 3 && (o.datum_params[3] !== 0 || o.datum_params[4] !== 0 || o.datum_params[5] !== 0 || o.datum_params[6] !== 0) && (o.datum_type = Bi, o.datum_params[3] *= tr, o.datum_params[4] *= tr, o.datum_params[5] *= tr, o.datum_params[6] = o.datum_params[6] / 1e6 + 1)), a && (o.datum_type = _s, o.grids = a), o.a = e, o.b = s, o.es = r, o.ep2 = n, o;
1085
+ return i === void 0 || i === "none" ? o.datum_type = Ja : o.datum_type = Lf, t && (o.datum_params = t.map(parseFloat), (o.datum_params[0] !== 0 || o.datum_params[1] !== 0 || o.datum_params[2] !== 0) && (o.datum_type = $i), o.datum_params.length > 3 && (o.datum_params[3] !== 0 || o.datum_params[4] !== 0 || o.datum_params[5] !== 0 || o.datum_params[6] !== 0) && (o.datum_type = Bi, o.datum_params[3] *= tr, o.datum_params[4] *= tr, o.datum_params[5] *= tr, o.datum_params[6] = o.datum_params[6] / 1e6 + 1)), a && (o.datum_type = _s, o.grids = a), o.a = e, o.b = s, o.es = r, o.ep2 = n, o;
1086
1086
  }
1087
1087
  var hc = {};
1088
1088
  function gg(i, t) {
@@ -1120,14 +1120,14 @@ function _g(i, t) {
1120
1120
  nFields: i.getInt32(8, t),
1121
1121
  nSubgridFields: i.getInt32(24, t),
1122
1122
  nSubgrids: i.getInt32(40, t),
1123
- shiftType: Qa(i, 56, 56 + 8).trim(),
1123
+ shiftType: eo(i, 56, 56 + 8).trim(),
1124
1124
  fromSemiMajorAxis: i.getFloat64(120, t),
1125
1125
  fromSemiMinorAxis: i.getFloat64(136, t),
1126
1126
  toSemiMajorAxis: i.getFloat64(152, t),
1127
1127
  toSemiMinorAxis: i.getFloat64(168, t)
1128
1128
  };
1129
1129
  }
1130
- function Qa(i, t, e) {
1130
+ function eo(i, t, e) {
1131
1131
  return String.fromCharCode.apply(null, new Uint8Array(i.buffer.slice(t, e)));
1132
1132
  }
1133
1133
  function vg(i, t, e) {
@@ -1154,8 +1154,8 @@ function Sg(i) {
1154
1154
  }
1155
1155
  function wg(i, t, e) {
1156
1156
  return {
1157
- name: Qa(i, t + 8, t + 16).trim(),
1158
- parent: Qa(i, t + 24, t + 24 + 8).trim(),
1157
+ name: eo(i, t + 8, t + 16).trim(),
1158
+ parent: eo(i, t + 24, t + 24 + 8).trim(),
1159
1159
  lowerLatitude: i.getFloat64(t + 72, e),
1160
1160
  upperLatitude: i.getFloat64(t + 88, e),
1161
1161
  lowerLongitude: i.getFloat64(t + 104, e),
@@ -1208,7 +1208,7 @@ function Ut(i, t) {
1208
1208
  a.ep2,
1209
1209
  o
1210
1210
  );
1211
- dl(this, e), dl(this, s), this.a = n.a, this.b = n.b, this.rf = n.rf, this.sphere = n.sphere, this.es = a.es, this.e = a.e, this.ep2 = a.ep2, this.datum = l, this.init(), t(null, this);
1211
+ fl(this, e), fl(this, s), this.a = n.a, this.b = n.b, this.rf = n.rf, this.sphere = n.sphere, this.es = a.es, this.e = a.e, this.ep2 = a.ep2, this.datum = l, this.init(), t(null, this);
1212
1212
  }
1213
1213
  Ut.projections = hg;
1214
1214
  Ut.projections.start();
@@ -1290,26 +1290,26 @@ function en(i) {
1290
1290
  return i === $i || i === Bi;
1291
1291
  }
1292
1292
  function Og(i, t, e) {
1293
- if (Cg(i, t) || i.datum_type === Ka || t.datum_type === Ka)
1293
+ if (Cg(i, t) || i.datum_type === Ja || t.datum_type === Ja)
1294
1294
  return e;
1295
1295
  var s = i.a, r = i.es;
1296
1296
  if (i.datum_type === _s) {
1297
- var n = gl(i, !1, e);
1297
+ var n = ml(i, !1, e);
1298
1298
  if (n !== 0)
1299
1299
  return;
1300
- s = ll, r = hl;
1300
+ s = hl, r = cl;
1301
1301
  }
1302
1302
  var a = t.a, o = t.b, l = t.es;
1303
- if (t.datum_type === _s && (a = ll, o = Tf, l = hl), r === l && s === a && !en(i.datum_type) && !en(t.datum_type))
1303
+ if (t.datum_type === _s && (a = hl, o = Tf, l = cl), r === l && s === a && !en(i.datum_type) && !en(t.datum_type))
1304
1304
  return e;
1305
1305
  if (e = cc(e, r, s), en(i.datum_type) && (e = xg(e, i.datum_type, i.datum_params)), en(t.datum_type) && (e = bg(e, t.datum_type, t.datum_params)), e = uc(e, l, a, o), t.datum_type === _s) {
1306
- var c = gl(t, !0, e);
1306
+ var c = ml(t, !0, e);
1307
1307
  if (c !== 0)
1308
1308
  return;
1309
1309
  }
1310
1310
  return e;
1311
1311
  }
1312
- function gl(i, t, e) {
1312
+ function ml(i, t, e) {
1313
1313
  if (i.grids === null || i.grids.length === 0)
1314
1314
  return console.log("Grid shift grids not found"), -1;
1315
1315
  for (var s = { x: -e.x, y: e.y }, r = { x: Number.NaN, y: Number.NaN }, n = [], a = 0; a < i.grids.length; a++) {
@@ -1335,14 +1335,14 @@ function Eg(i, t, e) {
1335
1335
  return s;
1336
1336
  var r = { x: i.x, y: i.y };
1337
1337
  r.x -= e.ll[0], r.y -= e.ll[1], r.x = D(r.x - Math.PI) + Math.PI;
1338
- var n = ml(r, e);
1338
+ var n = pl(r, e);
1339
1339
  if (t) {
1340
1340
  if (isNaN(n.x))
1341
1341
  return s;
1342
1342
  n.x = r.x - n.x, n.y = r.y - n.y;
1343
1343
  var a = 9, o = 1e-12, l, c;
1344
1344
  do {
1345
- if (c = ml(n, e), isNaN(c.x)) {
1345
+ if (c = pl(n, e), isNaN(c.x)) {
1346
1346
  console.log("Inverse grid shift iteration failed, presumably at grid edge. Using first approximation.");
1347
1347
  break;
1348
1348
  }
@@ -1355,7 +1355,7 @@ function Eg(i, t, e) {
1355
1355
  isNaN(n.x) || (s.x = i.x + n.x, s.y = i.y + n.y);
1356
1356
  return s;
1357
1357
  }
1358
- function ml(i, t) {
1358
+ function pl(i, t) {
1359
1359
  var e = { x: i.x / t.del[0], y: i.y / t.del[1] }, s = { x: Math.floor(e.x), y: Math.floor(e.y) }, r = { x: e.x - 1 * s.x, y: e.y - 1 * s.y }, n = { x: Number.NaN, y: Number.NaN }, a;
1360
1360
  if (s.x < 0 || s.x >= t.lim[0] || s.y < 0 || s.y >= t.lim[1])
1361
1361
  return n;
@@ -1369,7 +1369,7 @@ function ml(i, t) {
1369
1369
  var d = { x: t.cvs[a][0], y: t.cvs[a][1] }, u = r.x * r.y, f = r.x * (1 - r.y), g = (1 - r.x) * (1 - r.y), m = (1 - r.x) * r.y;
1370
1370
  return n.x = g * o.x + f * l.x + m * d.x + u * c.x, n.y = g * o.y + f * l.y + m * d.y + u * c.y, n;
1371
1371
  }
1372
- function pl(i, t, e) {
1372
+ function yl(i, t, e) {
1373
1373
  var s = e.x, r = e.y, n = e.z || 0, a, o, l, c = {};
1374
1374
  for (l = 0; l < 3; l++)
1375
1375
  if (!(t && l === 2 && e.z === void 0))
@@ -1405,9 +1405,9 @@ function dc(i) {
1405
1405
  return i.length > 2 && (t.z = i[2]), i.length > 3 && (t.m = i[3]), t;
1406
1406
  }
1407
1407
  function Pg(i) {
1408
- yl(i.x), yl(i.y);
1408
+ _l(i.x), _l(i.y);
1409
1409
  }
1410
- function yl(i) {
1410
+ function _l(i) {
1411
1411
  if (typeof Number.isFinite == "function") {
1412
1412
  if (Number.isFinite(i))
1413
1413
  return;
@@ -1428,7 +1428,7 @@ function Nn(i, t, e, s) {
1428
1428
  m: e.m
1429
1429
  };
1430
1430
  var n = e.z !== void 0;
1431
- if (Pg(e), i.datum && t.datum && Ig(i, t) && (r = new Ut("WGS84"), e = Nn(i, r, e, s), i = r), s && i.axis !== "enu" && (e = pl(i, !1, e)), i.projName === "longlat")
1431
+ if (Pg(e), i.datum && t.datum && Ig(i, t) && (r = new Ut("WGS84"), e = Nn(i, r, e, s), i = r), s && i.axis !== "enu" && (e = yl(i, !1, e)), i.projName === "longlat")
1432
1432
  e = {
1433
1433
  x: e.x * He,
1434
1434
  y: e.y * He,
@@ -1453,10 +1453,10 @@ function Nn(i, t, e, s) {
1453
1453
  x: e.x / t.to_meter,
1454
1454
  y: e.y / t.to_meter,
1455
1455
  z: e.z || 0
1456
- })), s && t.axis !== "enu" ? pl(t, !0, e) : (n || delete e.z, e);
1456
+ })), s && t.axis !== "enu" ? yl(t, !0, e) : (n || delete e.z, e);
1457
1457
  }
1458
- var _l = Ut("WGS84");
1459
- function va(i, t, e, s) {
1458
+ var vl = Ut("WGS84");
1459
+ function Sa(i, t, e, s) {
1460
1460
  var r, n, a;
1461
1461
  return Array.isArray(e) ? (r = Nn(i, t, e, s) || { x: NaN, y: NaN }, e.length > 2 ? typeof i.name < "u" && i.name === "geocent" || typeof t.name < "u" && t.name === "geocent" ? typeof r.z == "number" ? [r.x, r.y, r.z].concat(e.splice(3)) : [r.x, r.y, e[2]].concat(e.splice(3)) : [r.x, r.y].concat(e.splice(2)) : [r.x, r.y]) : (n = Nn(i, t, e, s), a = Object.keys(e), a.length === 2 || a.forEach(function(o) {
1462
1462
  if (typeof i.name < "u" && i.name === "geocent" || typeof t.name < "u" && t.name === "geocent") {
@@ -1467,22 +1467,22 @@ function va(i, t, e, s) {
1467
1467
  n[o] = e[o];
1468
1468
  }), n);
1469
1469
  }
1470
- function vl(i) {
1470
+ function Sl(i) {
1471
1471
  return i instanceof Ut ? i : i.oProj ? i.oProj : Ut(i);
1472
1472
  }
1473
1473
  function Ie(i, t, e) {
1474
- i = vl(i);
1474
+ i = Sl(i);
1475
1475
  var s = !1, r;
1476
- return typeof t > "u" ? (t = i, i = _l, s = !0) : (typeof t.x < "u" || Array.isArray(t)) && (e = t, t = i, i = _l, s = !0), t = vl(t), e ? va(i, t, e) : (r = {
1476
+ return typeof t > "u" ? (t = i, i = vl, s = !0) : (typeof t.x < "u" || Array.isArray(t)) && (e = t, t = i, i = vl, s = !0), t = Sl(t), e ? Sa(i, t, e) : (r = {
1477
1477
  forward: function(n, a) {
1478
- return va(i, t, n, a);
1478
+ return Sa(i, t, n, a);
1479
1479
  },
1480
1480
  inverse: function(n, a) {
1481
- return va(t, i, n, a);
1481
+ return Sa(t, i, n, a);
1482
1482
  }
1483
1483
  }, s && (r.oProj = t), r);
1484
1484
  }
1485
- var Sl = 6, fc = "AJSAJS", gc = "AFAFAF", fs = 65, nt = 73, wt = 79, Us = 86, qs = 90;
1485
+ var wl = 6, fc = "AJSAJS", gc = "AFAFAF", fs = 65, nt = 73, wt = 79, Us = 86, qs = 90;
1486
1486
  const Lg = {
1487
1487
  forward: mc,
1488
1488
  inverse: Tg,
@@ -1495,22 +1495,22 @@ function mc(i, t) {
1495
1495
  }), t);
1496
1496
  }
1497
1497
  function Tg(i) {
1498
- var t = Co(_c(i.toUpperCase()));
1498
+ var t = xo(_c(i.toUpperCase()));
1499
1499
  return t.lat && t.lon ? [t.lon, t.lat, t.lon, t.lat] : [t.left, t.bottom, t.right, t.top];
1500
1500
  }
1501
1501
  function pc(i) {
1502
- var t = Co(_c(i.toUpperCase()));
1502
+ var t = xo(_c(i.toUpperCase()));
1503
1503
  return t.lat && t.lon ? [t.lon, t.lat] : [(t.left + t.right) / 2, (t.top + t.bottom) / 2];
1504
1504
  }
1505
- function Sa(i) {
1505
+ function wa(i) {
1506
1506
  return i * (Math.PI / 180);
1507
1507
  }
1508
- function wl(i) {
1508
+ function Ml(i) {
1509
1509
  return 180 * (i / Math.PI);
1510
1510
  }
1511
1511
  function Ng(i) {
1512
- var t = i.lat, e = i.lon, s = 6378137, r = 669438e-8, n = 0.9996, a, o, l, c, d, u, f, g = Sa(t), m = Sa(e), p, y;
1513
- y = Math.floor((e + 180) / 6) + 1, e === 180 && (y = 60), t >= 56 && t < 64 && e >= 3 && e < 12 && (y = 32), t >= 72 && t < 84 && (e >= 0 && e < 9 ? y = 31 : e >= 9 && e < 21 ? y = 33 : e >= 21 && e < 33 ? y = 35 : e >= 33 && e < 42 && (y = 37)), a = (y - 1) * 6 - 180 + 3, p = Sa(a), o = r / (1 - r), l = s / Math.sqrt(1 - r * Math.sin(g) * Math.sin(g)), c = Math.tan(g) * Math.tan(g), d = o * Math.cos(g) * Math.cos(g), u = Math.cos(g) * (m - p), f = s * ((1 - r / 4 - 3 * r * r / 64 - 5 * r * r * r / 256) * g - (3 * r / 8 + 3 * r * r / 32 + 45 * r * r * r / 1024) * Math.sin(2 * g) + (15 * r * r / 256 + 45 * r * r * r / 1024) * Math.sin(4 * g) - 35 * r * r * r / 3072 * Math.sin(6 * g));
1512
+ var t = i.lat, e = i.lon, s = 6378137, r = 669438e-8, n = 0.9996, a, o, l, c, d, u, f, g = wa(t), m = wa(e), p, y;
1513
+ y = Math.floor((e + 180) / 6) + 1, e === 180 && (y = 60), t >= 56 && t < 64 && e >= 3 && e < 12 && (y = 32), t >= 72 && t < 84 && (e >= 0 && e < 9 ? y = 31 : e >= 9 && e < 21 ? y = 33 : e >= 21 && e < 33 ? y = 35 : e >= 33 && e < 42 && (y = 37)), a = (y - 1) * 6 - 180 + 3, p = wa(a), o = r / (1 - r), l = s / Math.sqrt(1 - r * Math.sin(g) * Math.sin(g)), c = Math.tan(g) * Math.tan(g), d = o * Math.cos(g) * Math.cos(g), u = Math.cos(g) * (m - p), f = s * ((1 - r / 4 - 3 * r * r / 64 - 5 * r * r * r / 256) * g - (3 * r / 8 + 3 * r * r / 32 + 45 * r * r * r / 1024) * Math.sin(2 * g) + (15 * r * r / 256 + 45 * r * r * r / 1024) * Math.sin(4 * g) - 35 * r * r * r / 3072 * Math.sin(6 * g));
1514
1514
  var S = n * l * (u + (1 - c + d) * u * u * u / 6 + (5 - 18 * c + c * c + 72 * d - 58 * o) * u * u * u * u * u / 120) + 5e5, w = n * (f + l * Math.tan(g) * (u * u / 2 + (5 - c + 9 * d + 4 * d * d) * u * u * u * u / 24 + (61 - 58 * c + c * c + 600 * d - 330 * o) * u * u * u * u * u * u / 720));
1515
1515
  return t < 0 && (w += 1e7), {
1516
1516
  northing: Math.round(w),
@@ -1519,19 +1519,19 @@ function Ng(i) {
1519
1519
  zoneLetter: Dg(t)
1520
1520
  };
1521
1521
  }
1522
- function Co(i) {
1522
+ function xo(i) {
1523
1523
  var t = i.northing, e = i.easting, s = i.zoneLetter, r = i.zoneNumber;
1524
1524
  if (r < 0 || r > 60)
1525
1525
  return null;
1526
1526
  var n = 0.9996, a = 6378137, o = 669438e-8, l, c = (1 - Math.sqrt(1 - o)) / (1 + Math.sqrt(1 - o)), d, u, f, g, m, p, y, S, w, C = e - 5e5, M = t;
1527
1527
  s < "N" && (M -= 1e7), y = (r - 1) * 6 - 180 + 3, l = o / (1 - o), p = M / n, S = p / (a * (1 - o / 4 - 3 * o * o / 64 - 5 * o * o * o / 256)), w = S + (3 * c / 2 - 27 * c * c * c / 32) * Math.sin(2 * S) + (21 * c * c / 16 - 55 * c * c * c * c / 32) * Math.sin(4 * S) + 151 * c * c * c / 96 * Math.sin(6 * S), d = a / Math.sqrt(1 - o * Math.sin(w) * Math.sin(w)), u = Math.tan(w) * Math.tan(w), f = l * Math.cos(w) * Math.cos(w), g = a * (1 - o) / Math.pow(1 - o * Math.sin(w) * Math.sin(w), 1.5), m = C / (d * n);
1528
1528
  var x = w - d * Math.tan(w) / g * (m * m / 2 - (5 + 3 * u + 10 * f - 4 * f * f - 9 * l) * m * m * m * m / 24 + (61 + 90 * u + 298 * f + 45 * u * u - 252 * l - 3 * f * f) * m * m * m * m * m * m / 720);
1529
- x = wl(x);
1529
+ x = Ml(x);
1530
1530
  var b = (m - (1 + 2 * u + f) * m * m * m / 6 + (5 - 2 * f + 28 * u - 3 * f * f + 8 * l + 24 * u * u) * m * m * m * m * m / 120) / Math.cos(w);
1531
- b = y + wl(b);
1531
+ b = y + Ml(b);
1532
1532
  var L;
1533
1533
  if (i.accuracy) {
1534
- var F = Co({
1534
+ var F = xo({
1535
1535
  northing: i.northing + i.accuracy,
1536
1536
  easting: i.easting + i.accuracy,
1537
1537
  zoneLetter: i.zoneLetter,
@@ -1563,8 +1563,8 @@ function Fg(i, t, e) {
1563
1563
  return Rg(r, n, s);
1564
1564
  }
1565
1565
  function yc(i) {
1566
- var t = i % Sl;
1567
- return t === 0 && (t = Sl), t;
1566
+ var t = i % wl;
1567
+ return t === 0 && (t = wl), t;
1568
1568
  }
1569
1569
  function Rg(i, t, e) {
1570
1570
  var s = e - 1, r = fc.charCodeAt(s), n = gc.charCodeAt(s), a = r + i - 1, o = n + t, l = !1;
@@ -1718,34 +1718,34 @@ Cs.fromMGRS = function(i) {
1718
1718
  Cs.prototype.toMGRS = function(i) {
1719
1719
  return mc([this.x, this.y], i);
1720
1720
  };
1721
- var Hg = 1, jg = 0.25, Ml = 0.046875, Cl = 0.01953125, xl = 0.01068115234375, Vg = 0.75, $g = 0.46875, Bg = 0.013020833333333334, Ug = 0.007120768229166667, qg = 0.3645833333333333, Wg = 0.005696614583333333, Xg = 0.3076171875;
1721
+ var Hg = 1, jg = 0.25, Cl = 0.046875, xl = 0.01953125, bl = 0.01068115234375, Vg = 0.75, $g = 0.46875, Bg = 0.013020833333333334, Ug = 0.007120768229166667, qg = 0.3645833333333333, Wg = 0.005696614583333333, Xg = 0.3076171875;
1722
1722
  function vc(i) {
1723
1723
  var t = [];
1724
- t[0] = Hg - i * (jg + i * (Ml + i * (Cl + i * xl))), t[1] = i * (Vg - i * (Ml + i * (Cl + i * xl)));
1724
+ t[0] = Hg - i * (jg + i * (Cl + i * (xl + i * bl))), t[1] = i * (Vg - i * (Cl + i * (xl + i * bl)));
1725
1725
  var e = i * i;
1726
1726
  return t[2] = e * ($g - i * (Bg + i * Ug)), e *= i, t[3] = e * (qg - i * Wg), t[4] = e * i * Xg, t;
1727
1727
  }
1728
- function ra(i, t, e, s) {
1728
+ function na(i, t, e, s) {
1729
1729
  return e *= t, t *= t, s[0] * i - e * (s[1] + t * (s[2] + t * (s[3] + t * s[4])));
1730
1730
  }
1731
1731
  var Yg = 20;
1732
1732
  function Sc(i, t, e) {
1733
1733
  for (var s = 1 / (1 - t), r = i, n = Yg; n; --n) {
1734
1734
  var a = Math.sin(r), o = 1 - t * a * a;
1735
- if (o = (ra(r, a, Math.cos(r), e) - i) * (o * Math.sqrt(o)) * s, r -= o, Math.abs(o) < T)
1735
+ if (o = (na(r, a, Math.cos(r), e) - i) * (o * Math.sqrt(o)) * s, r -= o, Math.abs(o) < T)
1736
1736
  return r;
1737
1737
  }
1738
1738
  return r;
1739
1739
  }
1740
1740
  function Zg() {
1741
- this.x0 = this.x0 !== void 0 ? this.x0 : 0, this.y0 = this.y0 !== void 0 ? this.y0 : 0, this.long0 = this.long0 !== void 0 ? this.long0 : 0, this.lat0 = this.lat0 !== void 0 ? this.lat0 : 0, this.es && (this.en = vc(this.es), this.ml0 = ra(this.lat0, Math.sin(this.lat0), Math.cos(this.lat0), this.en));
1741
+ this.x0 = this.x0 !== void 0 ? this.x0 : 0, this.y0 = this.y0 !== void 0 ? this.y0 : 0, this.long0 = this.long0 !== void 0 ? this.long0 : 0, this.lat0 = this.lat0 !== void 0 ? this.lat0 : 0, this.es && (this.en = vc(this.es), this.ml0 = na(this.lat0, Math.sin(this.lat0), Math.cos(this.lat0), this.en));
1742
1742
  }
1743
1743
  function Kg(i) {
1744
1744
  var t = i.x, e = i.y, s = D(t - this.long0), r, n, a, o = Math.sin(e), l = Math.cos(e);
1745
1745
  if (this.es) {
1746
1746
  var d = l * s, u = Math.pow(d, 2), f = this.ep2 * Math.pow(l, 2), g = Math.pow(f, 2), m = Math.abs(l) > T ? Math.tan(e) : 0, p = Math.pow(m, 2), y = Math.pow(p, 2);
1747
1747
  r = 1 - this.es * Math.pow(o, 2), d = d / Math.sqrt(r);
1748
- var S = ra(e, o, l, this.en);
1748
+ var S = na(e, o, l, this.en);
1749
1749
  n = this.a * (this.k0 * d * (1 + u / 6 * (1 - p + f + u / 20 * (5 - 18 * p + y + 14 * f - 58 * p * f + u / 42 * (61 + 179 * y - y * p - 479 * p))))) + this.x0, a = this.a * (this.k0 * (S - this.ml0 + o * s * d / 2 * (1 + u / 12 * (5 - p + 9 * f + 4 * g + u / 30 * (61 + y - 58 * p + 270 * f - 330 * p * f + u / 56 * (1385 + 543 * y - y * p - 3111 * p)))))) + this.y0;
1750
1750
  } else {
1751
1751
  var c = l * Math.sin(s);
@@ -1801,7 +1801,7 @@ function tm(i) {
1801
1801
  var t = Math.abs(i);
1802
1802
  return t = em(t * (1 + t / (It(1, t) + 1))), i < 0 ? -t : t;
1803
1803
  }
1804
- function xo(i, t) {
1804
+ function bo(i, t) {
1805
1805
  for (var e = 2 * Math.cos(2 * t), s = i.length - 1, r = i[s], n = 0, a; --s >= 0; )
1806
1806
  a = -n + e * r + i[s], n = r, r = a;
1807
1807
  return t + a * Math.sin(2 * t);
@@ -1826,12 +1826,12 @@ function rm() {
1826
1826
  this.approx && (pn.init.apply(this), this.forward = pn.forward, this.inverse = pn.inverse), this.x0 = this.x0 !== void 0 ? this.x0 : 0, this.y0 = this.y0 !== void 0 ? this.y0 : 0, this.long0 = this.long0 !== void 0 ? this.long0 : 0, this.lat0 = this.lat0 !== void 0 ? this.lat0 : 0, this.cgb = [], this.cbg = [], this.utg = [], this.gtu = [];
1827
1827
  var i = this.es / (1 + Math.sqrt(1 - this.es)), t = i / (2 - i), e = t;
1828
1828
  this.cgb[0] = t * (2 + t * (-2 / 3 + t * (-2 + t * (116 / 45 + t * (26 / 45 + t * (-2854 / 675)))))), this.cbg[0] = t * (-2 + t * (2 / 3 + t * (4 / 3 + t * (-82 / 45 + t * (32 / 45 + t * (4642 / 4725)))))), e = e * t, this.cgb[1] = e * (7 / 3 + t * (-8 / 5 + t * (-227 / 45 + t * (2704 / 315 + t * (2323 / 945))))), this.cbg[1] = e * (5 / 3 + t * (-16 / 15 + t * (-13 / 9 + t * (904 / 315 + t * (-1522 / 945))))), e = e * t, this.cgb[2] = e * (56 / 15 + t * (-136 / 35 + t * (-1262 / 105 + t * (73814 / 2835)))), this.cbg[2] = e * (-26 / 15 + t * (34 / 21 + t * (8 / 5 + t * (-12686 / 2835)))), e = e * t, this.cgb[3] = e * (4279 / 630 + t * (-332 / 35 + t * (-399572 / 14175))), this.cbg[3] = e * (1237 / 630 + t * (-12 / 5 + t * (-24832 / 14175))), e = e * t, this.cgb[4] = e * (4174 / 315 + t * (-144838 / 6237)), this.cbg[4] = e * (-734 / 315 + t * (109598 / 31185)), e = e * t, this.cgb[5] = e * (601676 / 22275), this.cbg[5] = e * (444337 / 155925), e = Math.pow(t, 2), this.Qn = this.k0 / (1 + t) * (1 + e * (1 / 4 + e * (1 / 64 + e / 256))), this.utg[0] = t * (-0.5 + t * (2 / 3 + t * (-37 / 96 + t * (1 / 360 + t * (81 / 512 + t * (-96199 / 604800)))))), this.gtu[0] = t * (0.5 + t * (-2 / 3 + t * (5 / 16 + t * (41 / 180 + t * (-127 / 288 + t * (7891 / 37800)))))), this.utg[1] = e * (-1 / 48 + t * (-1 / 15 + t * (437 / 1440 + t * (-46 / 105 + t * (1118711 / 3870720))))), this.gtu[1] = e * (13 / 48 + t * (-3 / 5 + t * (557 / 1440 + t * (281 / 630 + t * (-1983433 / 1935360))))), e = e * t, this.utg[2] = e * (-17 / 480 + t * (37 / 840 + t * (209 / 4480 + t * (-5569 / 90720)))), this.gtu[2] = e * (61 / 240 + t * (-103 / 140 + t * (15061 / 26880 + t * (167603 / 181440)))), e = e * t, this.utg[3] = e * (-4397 / 161280 + t * (11 / 504 + t * (830251 / 7257600))), this.gtu[3] = e * (49561 / 161280 + t * (-179 / 168 + t * (6601661 / 7257600))), e = e * t, this.utg[4] = e * (-4583 / 161280 + t * (108847 / 3991680)), this.gtu[4] = e * (34729 / 80640 + t * (-3418889 / 1995840)), e = e * t, this.utg[5] = e * (-20648693 / 638668800), this.gtu[5] = e * (212378941 / 319334400);
1829
- var s = xo(this.cbg, this.lat0);
1829
+ var s = bo(this.cbg, this.lat0);
1830
1830
  this.Zb = -this.Qn * (s + im(this.gtu, 2 * s));
1831
1831
  }
1832
1832
  function nm(i) {
1833
1833
  var t = D(i.x - this.long0), e = i.y;
1834
- e = xo(this.cbg, e);
1834
+ e = bo(this.cbg, e);
1835
1835
  var s = Math.sin(e), r = Math.cos(e), n = Math.sin(t), a = Math.cos(t);
1836
1836
  e = Math.atan2(s, a * r), t = Math.atan2(n * r, It(s, r * a)), t = tm(Math.tan(t));
1837
1837
  var o = Mc(this.gtu, 2 * e, 2 * t);
@@ -1847,7 +1847,7 @@ function am(i) {
1847
1847
  var n = Mc(this.utg, 2 * e, 2 * t);
1848
1848
  e = e + n[0], t = t + n[1], t = Math.atan(wc(t));
1849
1849
  var a = Math.sin(e), o = Math.cos(e), l = Math.sin(t), c = Math.cos(t);
1850
- e = Math.atan2(a * c, It(l, c * o)), t = Math.atan2(l, c * o), s = D(t + this.long0), r = xo(this.cgb, e);
1850
+ e = Math.atan2(a * c, It(l, c * o)), t = Math.atan2(l, c * o), s = D(t + this.long0), r = bo(this.cgb, e);
1851
1851
  } else
1852
1852
  s = 1 / 0, r = 1 / 0;
1853
1853
  return i.x = s, i.y = r, i;
@@ -1881,36 +1881,36 @@ const dm = {
1881
1881
  names: um,
1882
1882
  dependsOn: hm
1883
1883
  };
1884
- function bo(i, t) {
1884
+ function Oo(i, t) {
1885
1885
  return Math.pow((1 - i) / (1 + i), t);
1886
1886
  }
1887
1887
  var fm = 20;
1888
1888
  function gm() {
1889
1889
  var i = Math.sin(this.lat0), t = Math.cos(this.lat0);
1890
- t *= t, this.rc = Math.sqrt(1 - this.es) / (1 - this.es * i * i), this.C = Math.sqrt(1 + this.es * t * t / (1 - this.es)), this.phic0 = Math.asin(i / this.C), this.ratexp = 0.5 * this.C * this.e, this.K = Math.tan(0.5 * this.phic0 + K) / (Math.pow(Math.tan(0.5 * this.lat0 + K), this.C) * bo(this.e * i, this.ratexp));
1890
+ t *= t, this.rc = Math.sqrt(1 - this.es) / (1 - this.es * i * i), this.C = Math.sqrt(1 + this.es * t * t / (1 - this.es)), this.phic0 = Math.asin(i / this.C), this.ratexp = 0.5 * this.C * this.e, this.K = Math.tan(0.5 * this.phic0 + K) / (Math.pow(Math.tan(0.5 * this.lat0 + K), this.C) * Oo(this.e * i, this.ratexp));
1891
1891
  }
1892
1892
  function mm(i) {
1893
1893
  var t = i.x, e = i.y;
1894
- return i.y = 2 * Math.atan(this.K * Math.pow(Math.tan(0.5 * e + K), this.C) * bo(this.e * Math.sin(e), this.ratexp)) - O, i.x = this.C * t, i;
1894
+ return i.y = 2 * Math.atan(this.K * Math.pow(Math.tan(0.5 * e + K), this.C) * Oo(this.e * Math.sin(e), this.ratexp)) - O, i.x = this.C * t, i;
1895
1895
  }
1896
1896
  function pm(i) {
1897
- for (var t = 1e-14, e = i.x / this.C, s = i.y, r = Math.pow(Math.tan(0.5 * s + K) / this.K, 1 / this.C), n = fm; n > 0 && (s = 2 * Math.atan(r * bo(this.e * Math.sin(i.y), -0.5 * this.e)) - O, !(Math.abs(s - i.y) < t)); --n)
1897
+ for (var t = 1e-14, e = i.x / this.C, s = i.y, r = Math.pow(Math.tan(0.5 * s + K) / this.K, 1 / this.C), n = fm; n > 0 && (s = 2 * Math.atan(r * Oo(this.e * Math.sin(i.y), -0.5 * this.e)) - O, !(Math.abs(s - i.y) < t)); --n)
1898
1898
  i.y = s;
1899
1899
  return n ? (i.x = e, i.y = s, i) : null;
1900
1900
  }
1901
1901
  var ym = ["gauss"];
1902
- const Oo = {
1902
+ const Eo = {
1903
1903
  init: gm,
1904
1904
  forward: mm,
1905
1905
  inverse: pm,
1906
1906
  names: ym
1907
1907
  };
1908
1908
  function _m() {
1909
- Oo.init.apply(this), this.rc && (this.sinc0 = Math.sin(this.phic0), this.cosc0 = Math.cos(this.phic0), this.R2 = 2 * this.rc, this.title || (this.title = "Oblique Stereographic Alternative"));
1909
+ Eo.init.apply(this), this.rc && (this.sinc0 = Math.sin(this.phic0), this.cosc0 = Math.cos(this.phic0), this.R2 = 2 * this.rc, this.title || (this.title = "Oblique Stereographic Alternative"));
1910
1910
  }
1911
1911
  function vm(i) {
1912
1912
  var t, e, s, r;
1913
- return i.x = D(i.x - this.long0), Oo.forward.apply(this, [i]), t = Math.sin(i.y), e = Math.cos(i.y), s = Math.cos(i.x), r = this.k0 * this.R2 / (1 + this.sinc0 * t + this.cosc0 * e * s), i.x = r * e * Math.sin(i.x), i.y = r * (this.cosc0 * t - this.sinc0 * e * s), i.x = this.a * i.x + this.x0, i.y = this.a * i.y + this.y0, i;
1913
+ return i.x = D(i.x - this.long0), Eo.forward.apply(this, [i]), t = Math.sin(i.y), e = Math.cos(i.y), s = Math.cos(i.x), r = this.k0 * this.R2 / (1 + this.sinc0 * t + this.cosc0 * e * s), i.x = r * e * Math.sin(i.x), i.y = r * (this.cosc0 * t - this.sinc0 * e * s), i.x = this.a * i.x + this.x0, i.y = this.a * i.y + this.y0, i;
1914
1914
  }
1915
1915
  function Sm(i) {
1916
1916
  var t, e, s, r, n;
@@ -1919,7 +1919,7 @@ function Sm(i) {
1919
1919
  t = Math.sin(a), e = Math.cos(a), r = Math.asin(e * this.sinc0 + i.y * t * this.cosc0 / n), s = Math.atan2(i.x * t, n * this.cosc0 * e - i.y * this.sinc0 * t);
1920
1920
  } else
1921
1921
  r = this.phic0, s = 0;
1922
- return i.x = s, i.y = r, Oo.inverse.apply(this, [i]), i.x = D(i.x + this.long0), i;
1922
+ return i.x = s, i.y = r, Eo.inverse.apply(this, [i]), i.x = D(i.x + this.long0), i;
1923
1923
  }
1924
1924
  var wm = ["Stereographic_North_Pole", "Oblique_Stereographic", "Polar_Stereographic", "sterea", "Oblique Stereographic Alternative", "Double_Stereographic"];
1925
1925
  const Mm = {
@@ -2396,7 +2396,7 @@ const zp = {
2396
2396
  inverse: Gp,
2397
2397
  names: kp
2398
2398
  };
2399
- var bl = 20;
2399
+ var Ol = 20;
2400
2400
  function Hp() {
2401
2401
  this.temp = this.b / this.a, this.es = 1 - Math.pow(this.temp, 2), this.e = Math.sqrt(this.es), this.e0 = zr(this.es), this.e1 = Hr(this.es), this.e2 = jr(this.es), this.e3 = Vr(this.es), this.ml0 = this.a * it(this.e0, this.e1, this.e2, this.e3, this.lat0);
2402
2402
  }
@@ -2420,7 +2420,7 @@ function Vp(i) {
2420
2420
  else {
2421
2421
  a = this.lat0 + r / this.a, o = s * s / this.a / this.a + a * a, l = a;
2422
2422
  var d;
2423
- for (n = bl; n; --n)
2423
+ for (n = Ol; n; --n)
2424
2424
  if (d = Math.tan(l), c = -1 * (a * (l * d + 1) - l - 0.5 * (l * l + o) * d) / ((l - a) / d - 1), l += c, Math.abs(c) <= T) {
2425
2425
  e = l;
2426
2426
  break;
@@ -2432,7 +2432,7 @@ function Vp(i) {
2432
2432
  else {
2433
2433
  a = (this.ml0 + r) / this.a, o = s * s / this.a / this.a + a * a, l = a;
2434
2434
  var u, f, g, m, p;
2435
- for (n = bl; n; --n)
2435
+ for (n = Ol; n; --n)
2436
2436
  if (p = this.e * Math.sin(l), u = Math.sqrt(1 - p * p) * Math.tan(l), f = this.a * it(this.e0, this.e1, this.e2, this.e3, l), g = this.e0 - 2 * this.e1 * Math.cos(2 * l) + 4 * this.e2 * Math.cos(4 * l) - 6 * this.e3 * Math.cos(6 * l), m = f / this.a, c = (a * (u * m + 1) - m - 0.5 * u * (m * m + o)) / (this.es * Math.sin(2 * l) * (m * m + o - 2 * a * m) / (4 * u) + (a - m) * (u * g - 2 / Math.sin(2 * l)) - g), l -= c, Math.abs(c) <= T) {
2437
2437
  e = l;
2438
2438
  break;
@@ -2524,7 +2524,7 @@ function sy(i) {
2524
2524
  t = this.a * this.C_x * s * (this.m + Math.cos(r)), e = this.a * this.C_y * r;
2525
2525
  } else {
2526
2526
  var l = Math.sin(r), c = Math.cos(r);
2527
- e = this.a * ra(r, l, c, this.en), t = this.a * s * c / Math.sqrt(1 - this.es * l * l);
2527
+ e = this.a * na(r, l, c, this.en), t = this.a * s * c / Math.sqrt(1 - this.es * l * l);
2528
2528
  }
2529
2529
  return i.x = t, i.y = e, i;
2530
2530
  }
@@ -2717,7 +2717,7 @@ const Ry = {
2717
2717
  inverse: Ay,
2718
2718
  names: Fy
2719
2719
  };
2720
- var eo = [
2720
+ var to = [
2721
2721
  [1, 22199e-21, -715515e-10, 31103e-10],
2722
2722
  [0.9986, -482243e-9, -24897e-9, -13309e-10],
2723
2723
  [0.9954, -83103e-8, -448605e-10, -986701e-12],
@@ -2777,7 +2777,7 @@ function jy(i) {
2777
2777
  var t = D(i.x - this.long0), e = Math.abs(i.y), s = Math.floor(e * bc);
2778
2778
  s < 0 ? s = 0 : s >= gs && (s = gs - 1), e = $t * (e - Gy * s);
2779
2779
  var r = {
2780
- x: An(eo[s], e) * t,
2780
+ x: An(to[s], e) * t,
2781
2781
  y: An(Ws[s], e)
2782
2782
  };
2783
2783
  return i.y < 0 && (r.y = -r.y), r.x = r.x * this.a * Cc + this.x0, r.y = r.y * this.a * xc + this.y0, r;
@@ -2788,7 +2788,7 @@ function Vy(i) {
2788
2788
  y: Math.abs(i.y - this.y0) / (this.a * xc)
2789
2789
  };
2790
2790
  if (t.y >= 1)
2791
- t.x /= eo[gs][0], t.y = i.y < 0 ? -O : O;
2791
+ t.x /= to[gs][0], t.y = i.y < 0 ? -O : O;
2792
2792
  else {
2793
2793
  var e = Math.floor(t.y * gs);
2794
2794
  for (e < 0 ? e = 0 : e >= gs && (e = gs - 1); ; )
@@ -2801,7 +2801,7 @@ function Vy(i) {
2801
2801
  var s = Ws[e], r = 5 * (t.y - s[0]) / (Ws[e + 1][0] - s[0]);
2802
2802
  r = zy(function(n) {
2803
2803
  return (An(s, n) - t.y) / ky(s, n);
2804
- }, r, T, 100), t.x /= An(eo[e], r), t.y = (5 * e + r) * He, i.y < 0 && (t.y = -t.y);
2804
+ }, r, T, 100), t.x /= An(to[e], r), t.y = (5 * e + r) * He, i.y < 0 && (t.y = -t.y);
2805
2805
  }
2806
2806
  return t.x = D(t.x + this.long0), t;
2807
2807
  }
@@ -2989,11 +2989,11 @@ Ie.transform = Nn;
2989
2989
  Ie.mgrs = Lg;
2990
2990
  Ie.version = "__VERSION__";
2991
2991
  a_(Ie);
2992
- const Fn = Fe("EPSG:4326", "EPSG:3857"), Eo = Fe("EPSG:3857", "EPSG:4326");
2993
- let Po = {
2992
+ const Fn = Fe("EPSG:4326", "EPSG:3857"), Po = Fe("EPSG:3857", "EPSG:4326");
2993
+ let Io = {
2994
2994
  epsg: "EPSG:4326"
2995
2995
  };
2996
- function Io(i, t = "EPSG:") {
2996
+ function Lo(i, t = "EPSG:") {
2997
2997
  if (i) {
2998
2998
  const e = new RegExp(`^(?:${t})?(\\d+)`, "i"), s = `${i}`.match(e);
2999
2999
  if (s && s[1])
@@ -3005,7 +3005,7 @@ function Oc(i) {
3005
3005
  let t = null;
3006
3006
  if (i.epsg)
3007
3007
  try {
3008
- t = Ie(Io(i.epsg));
3008
+ t = Ie(Lo(i.epsg));
3009
3009
  } catch {
3010
3010
  t = null;
3011
3011
  }
@@ -3021,8 +3021,8 @@ function Ec(i) {
3021
3021
  const t = {
3022
3022
  prefix: i.prefix
3023
3023
  };
3024
- return i.epsg && (t.epsg = Io(i.epsg, i.prefix), t.epsg && (i.proj4 && (t.proj4 = i.proj4, Ie.defs(t.epsg, i.proj4), Ko(Ie)), i.alias && Array.isArray(i.alias) && (t.alias = i.alias, t.alias.forEach((e) => {
3025
- Ie.defs(e, Ie.defs(t.epsg)), Ko(Ie);
3024
+ return i.epsg && (t.epsg = Lo(i.epsg, i.prefix), t.epsg && (i.proj4 && (t.proj4 = i.proj4, Ie.defs(t.epsg, i.proj4), Jo(Ie)), i.alias && Array.isArray(i.alias) && (t.alias = i.alias, t.alias.forEach((e) => {
3025
+ Ie.defs(e, Ie.defs(t.epsg)), Jo(Ie);
3026
3026
  })))), t;
3027
3027
  }
3028
3028
  function o_(i) {
@@ -3031,7 +3031,7 @@ function o_(i) {
3031
3031
  proj4: Q(String)
3032
3032
  }), !Oc(i))
3033
3033
  throw new Error("Cannot set invalid projection options as default options");
3034
- Po = Ec(i);
3034
+ Io = Ec(i);
3035
3035
  }
3036
3036
  class k {
3037
3037
  constructor(t = { epsg: "" }) {
@@ -3040,7 +3040,7 @@ class k {
3040
3040
  h(this, "_alias");
3041
3041
  h(this, "_prefix");
3042
3042
  const e = Ec(t);
3043
- this._proj4 = e.proj4, this._epsg = String(e.epsg), this.proj || (this._epsg = k.parseEPSGCode(Po.epsg)), this._alias = e.alias, this._prefix = e.prefix;
3043
+ this._proj4 = e.proj4, this._epsg = String(e.epsg), this.proj || (this._epsg = k.parseEPSGCode(Io.epsg)), this._alias = e.alias, this._prefix = e.prefix;
3044
3044
  }
3045
3045
  static get className() {
3046
3046
  return "Projection";
@@ -3094,7 +3094,7 @@ class k {
3094
3094
  * @param inPlace - whether to transform in place
3095
3095
  */
3096
3096
  static mercatorToWgs84(t, e) {
3097
- return Eo(t, e ? t : void 0, t.length);
3097
+ return Po(t, e ? t : void 0, t.length);
3098
3098
  }
3099
3099
  /**
3100
3100
  * Fast transform from WGS84 to Web-Mercator
@@ -3117,11 +3117,11 @@ class k {
3117
3117
  * parseEPSGCode('asdasd', 'EPSG:') ==> ''
3118
3118
  */
3119
3119
  static parseEPSGCode(t, e = "EPSG:") {
3120
- return Io(t, e);
3120
+ return Lo(t, e);
3121
3121
  }
3122
3122
  }
3123
3123
  function l_() {
3124
- return new k(Po);
3124
+ return new k(Io);
3125
3125
  }
3126
3126
  const oe = new k({ epsg: 4326 }), B = new k({ epsg: 3857 });
3127
3127
  function Ew(i, t, e) {
@@ -3136,7 +3136,7 @@ function Pw(i, t) {
3136
3136
  let l = N.toDegrees(Math.atan2(a, o));
3137
3137
  return l = (l + 360) % 360, l;
3138
3138
  }
3139
- function to(i, t) {
3139
+ function io(i, t) {
3140
3140
  let e = Math.atan2(t[0] - i[0], t[1] - i[1]);
3141
3141
  return e = e < 0 ? e + N.TWO_PI : e, e;
3142
3142
  }
@@ -3262,7 +3262,7 @@ function Rn(i, t, e, s) {
3262
3262
  function de(i, t) {
3263
3263
  return i == null ? t : typeof i == "boolean" ? i : i === 1 ? !0 : i === 0 ? !1 : typeof i == "string" && (i.toLowerCase() === "true" || i.toLowerCase() === "1") ? !0 : typeof i == "string" && (i.toLowerCase() === "false" || i.toLowerCase() === "0") ? !1 : t;
3264
3264
  }
3265
- function na(i, t, e) {
3265
+ function aa(i, t, e) {
3266
3266
  if (i != null) {
3267
3267
  const s = Object.values(t).find((r) => r == i);
3268
3268
  if (s != null)
@@ -3291,12 +3291,12 @@ for (let i = 0; i < 256; ++i)
3291
3291
  function m_(i, t = 0) {
3292
3292
  return ze[i[t + 0]] + ze[i[t + 1]] + ze[i[t + 2]] + ze[i[t + 3]] + "-" + ze[i[t + 4]] + ze[i[t + 5]] + "-" + ze[i[t + 6]] + ze[i[t + 7]] + "-" + ze[i[t + 8]] + ze[i[t + 9]] + "-" + ze[i[t + 10]] + ze[i[t + 11]] + ze[i[t + 12]] + ze[i[t + 13]] + ze[i[t + 14]] + ze[i[t + 15]];
3293
3293
  }
3294
- const p_ = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ol = {
3294
+ const p_ = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), El = {
3295
3295
  randomUUID: p_
3296
3296
  };
3297
3297
  function Ue(i, t, e) {
3298
- if (Ol.randomUUID && !t && !i)
3299
- return Ol.randomUUID();
3298
+ if (El.randomUUID && !t && !i)
3299
+ return El.randomUUID();
3300
3300
  i = i || {};
3301
3301
  const s = i.random || (i.rng || g_)();
3302
3302
  if (s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, t) {
@@ -3403,17 +3403,17 @@ class Lc {
3403
3403
  this.className && (r = `[${this.className}] ${r}`), console[$r.get(e)](r, ...s), e & Ce.ERROR && (console.group(), console.trace(), console.groupEnd());
3404
3404
  }
3405
3405
  }
3406
- const io = /* @__PURE__ */ new Map();
3407
- let wa;
3406
+ const so = /* @__PURE__ */ new Map();
3407
+ let Ma;
3408
3408
  function y_() {
3409
- return wa || (wa = new Lc()), wa;
3409
+ return Ma || (Ma = new Lc()), Ma;
3410
3410
  }
3411
3411
  function __(i) {
3412
3412
  const t = new Lc(i);
3413
- return io.set(i, t), t;
3413
+ return so.set(i, t), t;
3414
3414
  }
3415
3415
  function ue(i) {
3416
- return i ? io.has(i) ? io.get(i) : __(i) : y_();
3416
+ return i ? so.has(i) ? so.get(i) : __(i) : y_();
3417
3417
  }
3418
3418
  const Ke = Symbol("moduleId");
3419
3419
  var ww;
@@ -3639,7 +3639,7 @@ class Ni {
3639
3639
  return v(t, { type: String }), this.create(t.type, t, ...e);
3640
3640
  }
3641
3641
  }
3642
- const De = new Ni(), Ls = new Ni(), Lo = new Ni(), Ts = new Ni(), Br = new Ni(), Tc = new Ni();
3642
+ const De = new Ni(), Ls = new Ni(), To = new Ni(), Ts = new Ni(), Br = new Ni(), Tc = new Ni();
3643
3643
  function ni(i, t, ...e) {
3644
3644
  if (!es(i, Ae(Ni, Qt)))
3645
3645
  return Xs().error(`ObjectCreation failed: no class registry provided for ${String(t.type)}`), null;
@@ -3672,7 +3672,7 @@ class Xt extends kt {
3672
3672
  // eslint-disable-next-line class-methods-use-this
3673
3673
  h(this, "_style", () => {
3674
3674
  });
3675
- this.colorBlendMode = na(e.colorBlendMode, gn, gn.HIGHLIGHT);
3675
+ this.colorBlendMode = aa(e.colorBlendMode, gn, gn.HIGHLIGHT);
3676
3676
  }
3677
3677
  static get className() {
3678
3678
  return "StyleItem";
@@ -3736,7 +3736,7 @@ function Kt(i) {
3736
3736
  const { location: t } = window, e = new URL(i, `${t.protocol}//${t.host}${t.pathname}`);
3737
3737
  return e.host ? e.protocol === t.protocol && e.host === t.host : !0;
3738
3738
  }
3739
- function To() {
3739
+ function No() {
3740
3740
  return ue("StyleHelpers");
3741
3741
  }
3742
3742
  var ir;
@@ -3818,7 +3818,7 @@ function M_(i, t) {
3818
3818
  }
3819
3819
  return r.createPattern(s, "repeat");
3820
3820
  }
3821
- function El(i) {
3821
+ function Pl(i) {
3822
3822
  function t(e) {
3823
3823
  const s = e.toString(16);
3824
3824
  return s.length === 1 ? `0${s}` : s;
@@ -3904,14 +3904,14 @@ function Gn(i) {
3904
3904
  try {
3905
3905
  t = Ve(t).slice();
3906
3906
  } catch (e) {
3907
- To().warning(e.message);
3907
+ No().warning(e.message);
3908
3908
  }
3909
3909
  return { color: t };
3910
3910
  }
3911
3911
  function Nc(i) {
3912
3912
  return new st(i);
3913
3913
  }
3914
- function No(i) {
3914
+ function Do(i) {
3915
3915
  return new $e(i);
3916
3916
  }
3917
3917
  function _r(i) {
@@ -3920,7 +3920,7 @@ function _r(i) {
3920
3920
  try {
3921
3921
  t = Ve(t).slice();
3922
3922
  } catch (r) {
3923
- To().warning(r.message);
3923
+ No().warning(r.message);
3924
3924
  }
3925
3925
  const e = {
3926
3926
  color: t
@@ -3942,7 +3942,7 @@ function Dc(i) {
3942
3942
  }
3943
3943
  function Ac(i) {
3944
3944
  const t = { ...i };
3945
- return t.fill && !(t.fill instanceof st) && (t.fill = new st(t.fill)), t.stroke && !(t.stroke instanceof $e) && (t.stroke = new $e(t.stroke)), t.font && typeof t.font != "string" && (t.font = C_(t.font)), new mo(t);
3945
+ return t.fill && !(t.fill instanceof st) && (t.fill = new st(t.fill)), t.stroke && !(t.stroke instanceof $e) && (t.stroke = new $e(t.stroke)), t.font && typeof t.font != "string" && (t.font = C_(t.font)), new po(t);
3946
3946
  }
3947
3947
  function Fc(i) {
3948
3948
  if (i instanceof Ci) {
@@ -3953,7 +3953,7 @@ function Fc(i) {
3953
3953
  const e = i.getColor() ? Ve(i.getColor()) : void 0;
3954
3954
  e && (t.color = e);
3955
3955
  } catch (e) {
3956
- To().warning(e.message);
3956
+ No().warning(e.message);
3957
3957
  }
3958
3958
  if (i.getSrc() && (t.src = i.getSrc()), i.getOpacity() != null && (t.opacity = i.getOpacity()), i.getAnchor() && i.getSize()) {
3959
3959
  const e = i.getAnchor()[0] / i.getSize()[0], s = i.getAnchor()[1] / i.getSize()[1];
@@ -3975,7 +3975,7 @@ function Fc(i) {
3975
3975
  }
3976
3976
  function x_(i) {
3977
3977
  if (i.radius) {
3978
- const t = i.fill ? Nc(i.fill) : void 0, e = i.stroke ? No(i.stroke) : void 0;
3978
+ const t = i.fill ? Nc(i.fill) : void 0, e = i.stroke ? Do(i.stroke) : void 0;
3979
3979
  return i.points ? new Rr({
3980
3980
  fill: t,
3981
3981
  stroke: e,
@@ -4004,7 +4004,7 @@ function x_(i) {
4004
4004
  }
4005
4005
  function Dw(i) {
4006
4006
  return new ee({
4007
- stroke: i.stroke ? No(i.stroke) : void 0,
4007
+ stroke: i.stroke ? Do(i.stroke) : void 0,
4008
4008
  fill: i.fill ? Nc(i.fill) : void 0,
4009
4009
  image: i.image ? x_(i.image) : void 0,
4010
4010
  text: i.text ? Ac(i.text) : void 0
@@ -4027,12 +4027,12 @@ function Fw(i) {
4027
4027
  if (i.getStroke()) {
4028
4028
  let e = i.getStroke().getWidth();
4029
4029
  e = e > 1 ? 1 : e;
4030
- const s = El(Ve(i.getStroke().getColor()));
4030
+ const s = Pl(Ve(i.getStroke().getColor()));
4031
4031
  t.textShadow = `-${e}px ${e}px 0 ${s},${e}px ${e}px 0 ${s},${e}px -${e}px 0 ${s},-${e}px -${e}px 0 ${s}`;
4032
4032
  }
4033
- return i.getFill() && (t.color = El(Ve(i.getFill().getColor()))), t;
4033
+ return i.getFill() && (t.color = Pl(Ve(i.getFill().getColor()))), t;
4034
4034
  }
4035
- const b_ = new ee({}), Rw = [0, 0, 0, 0], vn = [255, 255, 255, 1], so = [0, 0, 0, 1];
4035
+ const b_ = new ee({}), Rw = [0, 0, 0, 0], vn = [255, 255, 255, 1], ro = [0, 0, 0, 1];
4036
4036
  function Rc() {
4037
4037
  return {
4038
4038
  image: {
@@ -4040,7 +4040,7 @@ function Rc() {
4040
4040
  color: [255, 255, 255, 0.4]
4041
4041
  },
4042
4042
  stroke: {
4043
- color: so,
4043
+ color: ro,
4044
4044
  width: 1
4045
4045
  },
4046
4046
  radius: 5
@@ -4065,11 +4065,11 @@ const O_ = {
4065
4065
  olcs_color: ot(vn),
4066
4066
  olcs_scale: "1.0",
4067
4067
  olcs_outlineWidth: "0.0",
4068
- olcs_outlineColor: ot(so),
4068
+ olcs_outlineColor: ot(ro),
4069
4069
  olcs_pointSize: "8.0",
4070
4070
  olcs_image: String(null),
4071
4071
  olcs_font: `'${(Lh = Rc().text) == null ? void 0 : Lh.font}'`,
4072
- olcs_fontColor: ot(so),
4072
+ olcs_fontColor: ot(ro),
4073
4073
  olcs_fontOutlineWidth: "1.0",
4074
4074
  olcs_fontOutlineColor: ot(vn),
4075
4075
  olcs_labelText: String(null),
@@ -4098,7 +4098,7 @@ class E_ {
4098
4098
  t.src = s.toDataURL(), this.shapes.push(t);
4099
4099
  }
4100
4100
  }
4101
- const P_ = new E_(), Pl = {
4101
+ const P_ = new E_(), Il = {
4102
4102
  fill: new st({ color: [255, 255, 255, 1] }),
4103
4103
  stroke: new $e({ color: [0, 0, 0, 1], width: 1 }),
4104
4104
  radius: 16
@@ -4110,7 +4110,7 @@ const P_ = new E_(), Pl = {
4110
4110
  { points: 4, angle: Math.PI / 4 },
4111
4111
  { points: 6 }
4112
4112
  ].forEach((i) => {
4113
- const t = i ? Object.assign(i, Pl) : Pl;
4113
+ const t = i ? Object.assign(i, Il) : Il;
4114
4114
  P_.addImage(t);
4115
4115
  });
4116
4116
  class Ur extends st {
@@ -4142,7 +4142,7 @@ class he extends Xt {
4142
4142
  fill: e.fill === !1,
4143
4143
  stroke: e.stroke === !1,
4144
4144
  image: e.image === !1
4145
- }, this._fillOptions = null, this._fill = void 0, this._stroke = e.stroke ? No(e.stroke) : void 0, this._text = void 0, e.text && (this._text = Ac(e.text)), this._label = e.label, this.label = this._label, this._cesiumColor = new U(), this._image = void 0, e.image)
4145
+ }, this._fillOptions = null, this._fill = void 0, this._stroke = e.stroke ? Do(e.stroke) : void 0, this._text = void 0, e.text && (this._text = Ac(e.text)), this._label = e.label, this.label = this._label, this._cesiumColor = new U(), this._image = void 0, e.image)
4146
4146
  if (e.image.radius)
4147
4147
  this._image = Gc({ ...e.image });
4148
4148
  else {
@@ -4228,7 +4228,7 @@ class he extends Xt {
4228
4228
  }
4229
4229
  set text(e) {
4230
4230
  var s, r;
4231
- this._style instanceof ee ? (v(e, Q(mo)), this._text = e, (r = (s = this._text) == null ? void 0 : s.setText) == null || r.call(s, this._label), this._style.setText(this._text)) : this.getLogger().info("trying to set text on a style function");
4231
+ this._style instanceof ee ? (v(e, Q(po)), this._text = e, (r = (s = this._text) == null ? void 0 : s.setText) == null || r.call(s, this._label), this._style.setText(this._text)) : this.getLogger().info("trying to set text on a style function");
4232
4232
  }
4233
4233
  get image() {
4234
4234
  return this._image;
@@ -4427,7 +4427,7 @@ function Sr(i) {
4427
4427
  (i instanceof Yi || i instanceof Zi) && qr(i) && t ? i.color = t.cesiumFillColor : i instanceof ae && i.changed();
4428
4428
  }
4429
4429
  }
4430
- function Do(i) {
4430
+ function Ao(i) {
4431
4431
  delete i[oi], kn(i), i[ut] || i[dt] ? vr(i) : i[Ee] && Sr(i);
4432
4432
  }
4433
4433
  function L_(i) {
@@ -4451,7 +4451,7 @@ function T_(i, t) {
4451
4451
  const r = Object.keys(i.hiddenObjects);
4452
4452
  return r.length > 0 && e({ action: ne.HIDE, ids: r }), i.changed.addEventListener(e);
4453
4453
  }
4454
- class aa {
4454
+ class oa {
4455
4455
  constructor() {
4456
4456
  h(this, "hiddenObjects", {});
4457
4457
  h(this, "highlightedObjects", {});
@@ -4699,7 +4699,7 @@ class z_ {
4699
4699
  return Pd(this);
4700
4700
  }
4701
4701
  }
4702
- function Il(i) {
4702
+ function Ll(i) {
4703
4703
  return !i || !Array.isArray(i) || i.length !== 4 || !Number.isFinite(i[0]) || !Number.isFinite(i[1]) || !Number.isFinite(i[2]) || !Number.isFinite(i[3]) ? !1 : i[0] <= i[2] && i[1] <= i[3];
4704
4704
  }
4705
4705
  class xe {
@@ -4720,7 +4720,7 @@ class xe {
4720
4720
  * @param options
4721
4721
  */
4722
4722
  static validateOptions(t) {
4723
- return k.validateOptions(t.projection || {}) && Il(t.coordinates);
4723
+ return k.validateOptions(t.projection || {}) && Ll(t.coordinates);
4724
4724
  }
4725
4725
  getCoordinatesInProjection(t, e) {
4726
4726
  if (t.epsg === this.projection.epsg)
@@ -4733,7 +4733,7 @@ class xe {
4733
4733
  * @returns true if extent is valid
4734
4734
  */
4735
4735
  isValid() {
4736
- return Il(this.extent);
4736
+ return Ll(this.extent);
4737
4737
  }
4738
4738
  toJSON() {
4739
4739
  return {
@@ -4752,11 +4752,11 @@ class xe {
4752
4752
  function Hc(i, t, e) {
4753
4753
  return i != null && t != null && Math.abs(i - t) <= e;
4754
4754
  }
4755
- function Ma(i, t, e) {
4755
+ function Ca(i, t, e) {
4756
4756
  const s = i - t - Math.trunc((i - t) / 360) * 360;
4757
4757
  return Math.abs(s) <= e;
4758
4758
  }
4759
- function Ll(i, t, e) {
4759
+ function Tl(i, t, e) {
4760
4760
  return i != null && t != null && i.every((s, r) => Hc(s, t[r], e));
4761
4761
  }
4762
4762
  class mt extends kt {
@@ -4902,14 +4902,14 @@ class mt extends kt {
4902
4902
  * Checks if this Viewpoint is Valid
4903
4903
  */
4904
4904
  isValid() {
4905
- const e = this.cameraPosition && Array.isArray(this.cameraPosition) && this.cameraPosition.length === 3 && this.cameraPosition.every((r) => Number.isFinite(r)) && ja(xe.WGS_84_EXTENT, this.cameraPosition);
4906
- return !(!(this.groundPosition && Array.isArray(this.groundPosition) && this.groundPosition.length > 1 && this.groundPosition.length < 4 && this.groundPosition.every((r) => Number.isFinite(r)) && ja(xe.WGS_84_EXTENT, this.groundPosition)) && !e || !e && !Number.isFinite(this.distance) || !Number.isFinite(this.heading) || !Number.isFinite(this.pitch) || !Number.isFinite(this.roll));
4905
+ const e = this.cameraPosition && Array.isArray(this.cameraPosition) && this.cameraPosition.length === 3 && this.cameraPosition.every((r) => Number.isFinite(r)) && Va(xe.WGS_84_EXTENT, this.cameraPosition);
4906
+ return !(!(this.groundPosition && Array.isArray(this.groundPosition) && this.groundPosition.length > 1 && this.groundPosition.length < 4 && this.groundPosition.every((r) => Number.isFinite(r)) && Va(xe.WGS_84_EXTENT, this.groundPosition)) && !e || !e && !Number.isFinite(this.distance) || !Number.isFinite(this.heading) || !Number.isFinite(this.pitch) || !Number.isFinite(this.roll));
4907
4907
  }
4908
4908
  /**
4909
4909
  * compares the provided Viewpoint with this viewpoint componentwise
4910
4910
  */
4911
4911
  equals(e, s = 0) {
4912
- return e === this || e !== null && Hc(e.distance, this.distance, s) && Ma(e.heading, this.heading, s) && Ma(e.pitch, this.pitch, s) && Ma(e.roll, this.roll, s) && (Ll(e.cameraPosition, this.cameraPosition, s) || Ll(e.groundPosition, this.groundPosition, s));
4912
+ return e === this || e !== null && Hc(e.distance, this.distance, s) && Ca(e.heading, this.heading, s) && Ca(e.pitch, this.pitch, s) && Ca(e.roll, this.roll, s) && (Tl(e.cameraPosition, this.cameraPosition, s) || Tl(e.groundPosition, this.groundPosition, s));
4913
4913
  }
4914
4914
  }
4915
4915
  function H_() {
@@ -5066,16 +5066,16 @@ class Nt {
5066
5066
  this._array = [], this.added.destroy(), this.removed.destroy();
5067
5067
  }
5068
5068
  }
5069
- function Tl() {
5069
+ function Nl() {
5070
5070
  return ue("OverrideCollection");
5071
5071
  }
5072
- const ro = Symbol("OverrideCollection");
5072
+ const no = Symbol("OverrideCollection");
5073
5073
  function ti(i, t, e, s, r, n) {
5074
5074
  v(i, Nt);
5075
5075
  const a = i;
5076
- if (a[ro])
5076
+ if (a[no])
5077
5077
  throw new Error("Cannot transform collection, collection already is an OverrideCollection");
5078
- a[ro] = !0;
5078
+ a[no] = !0;
5079
5079
  const o = s || ((u) => u), l = e || ((u) => u.toJSON ? u.toJSON() : structuredClone(u)), c = n || ((u, f, g) => g);
5080
5080
  a.shadowMap = /* @__PURE__ */ new Map(), a.replace = function(f) {
5081
5081
  const g = f[a.uniqueKey], m = a.getByKey(g);
@@ -5098,7 +5098,7 @@ function ti(i, t, e, s, r, n) {
5098
5098
  }, a.parseItems = async function(f, g) {
5099
5099
  Array.isArray(f) && (await Promise.all(f.map(async (p) => {
5100
5100
  const y = await o(p);
5101
- return !y || r && !(y instanceof r) ? (Tl().warning(`Could not load item ${// eslint-disable-next-line @typescript-eslint/ban-ts-comment
5101
+ return !y || r && !(y instanceof r) ? (Nl().warning(`Could not load item ${// eslint-disable-next-line @typescript-eslint/ban-ts-comment
5102
5102
  // @ts-ignore
5103
5103
  String(p[a.uniqueKey])} of type ${String(p.type)}`), null) : (y[Ke] = g, y);
5104
5104
  }))).filter((p) => p).forEach((p) => {
@@ -5116,7 +5116,7 @@ function ti(i, t, e, s, r, n) {
5116
5116
  if (m) {
5117
5117
  const p = await o(m);
5118
5118
  if (!p) {
5119
- Tl().error("failed to deserialize item");
5119
+ Nl().error("failed to deserialize item");
5120
5120
  return;
5121
5121
  }
5122
5122
  p[Ke] = m[Ke];
@@ -5154,12 +5154,12 @@ function ti(i, t, e, s, r, n) {
5154
5154
  d(), a.shadowMap.clear(), a.replaced.destroy();
5155
5155
  }, a;
5156
5156
  }
5157
- var no;
5157
+ var ao;
5158
5158
  (function(i) {
5159
5159
  i[i.INACTIVE = 1] = "INACTIVE", i[i.ACTIVE = 2] = "ACTIVE", i[i.LOADING = 4] = "LOADING";
5160
- })(no || (no = {}));
5161
- const pe = no;
5162
- class ao {
5160
+ })(ao || (ao = {}));
5161
+ const pe = ao;
5162
+ class oo {
5163
5163
  constructor() {
5164
5164
  h(this, "hiddenObjects", {});
5165
5165
  h(this, "_hiddenObjectFeatures", {});
@@ -5308,7 +5308,7 @@ class Ze extends kt {
5308
5308
  return this._url ? typeof this._url == "string" ? this._url : this._url[this._locale] ? this._url[this._locale] : Object.values(this._url)[0] : "";
5309
5309
  }
5310
5310
  set url(e) {
5311
- if (v(e, Ae(String, ol(String))), this._url !== e) {
5311
+ if (v(e, Ae(String, ll(String))), this._url !== e) {
5312
5312
  const s = this._url;
5313
5313
  this._url = e, this.reload().catch((r) => {
5314
5314
  this.getLogger().error("failed to reload after URL setting"), this.getLogger().error(String(r)), this._url = s;
@@ -5325,7 +5325,7 @@ class Ze extends kt {
5325
5325
  return this._globalHider;
5326
5326
  }
5327
5327
  setGlobalHider(e) {
5328
- v(e, Q(ao)), e && this.active && e.hideObjects(this.hiddenObjectIds), this._globalHider = e;
5328
+ v(e, Q(oo)), e && this.active && e.hideObjects(this.hiddenObjectIds), this._globalHider = e;
5329
5329
  }
5330
5330
  /**
5331
5331
  * Indicates, that this layer is part of an exclusiveGroup
@@ -5359,7 +5359,7 @@ class Ze extends kt {
5359
5359
  * @param headers
5360
5360
  */
5361
5361
  set headers(e) {
5362
- v(e, ic(ol(String))), at(this._headers, e) || (this._headers = structuredClone(e), this.reload());
5362
+ v(e, ic(ll(String))), at(this._headers, e) || (this._headers = structuredClone(e), this.reload());
5363
5363
  }
5364
5364
  /**
5365
5365
  * returns the currently set locale. Can be used to provide locale specific URLs.
@@ -5537,13 +5537,13 @@ class Ze extends kt {
5537
5537
  }
5538
5538
  }
5539
5539
  De.registerClass(Ze.className, Ze);
5540
- const ui = Symbol("alreadyTransformedToMercator"), je = Symbol("alreadyTransformedToImage"), xt = Symbol("obliqueGeometry"), oa = Symbol("doNotTransform"), zn = Symbol("OriginalFeature"), rr = Symbol("ActuallyIsCircle"), Re = Symbol("createSync"), Di = new U(), q_ = new mo({
5540
+ const ui = Symbol("alreadyTransformedToMercator"), je = Symbol("alreadyTransformedToImage"), xt = Symbol("obliqueGeometry"), la = Symbol("doNotTransform"), zn = Symbol("OriginalFeature"), rr = Symbol("ActuallyIsCircle"), Re = Symbol("createSync"), Di = new U(), q_ = new po({
5541
5541
  font: "30px sans-serif",
5542
5542
  fill: new st({ color: vn }),
5543
5543
  textAlign: "left",
5544
5544
  offsetY: -15
5545
5545
  });
5546
- function Nl(i, t, e) {
5546
+ function Dl(i, t, e) {
5547
5547
  var r;
5548
5548
  let s;
5549
5549
  (r = e[t]) != null && r.conditions ? s = new Ld(e[t], e.defines) : s = new Td(e[t], e.defines), i[t] = s;
@@ -5558,7 +5558,7 @@ class qe extends Xt {
5558
5558
  h(this, "_circleCache", /* @__PURE__ */ new Map());
5559
5559
  h(this, "_iconCache", /* @__PURE__ */ new Map());
5560
5560
  const s = e.declarativeStyle || {};
5561
- s.show = s.show != null ? s.show : !0, this.cesiumStyle = new xn(s), this._style = this._styleFunction.bind(this), s.strokeColor && Nl(this.cesiumStyle, "strokeColor", s), s.strokeWidth && Nl(this.cesiumStyle, "strokeWidth", s), this._styleOptions = s, this._circleCache = /* @__PURE__ */ new Map(), this._iconCache = /* @__PURE__ */ new Map();
5561
+ s.show = s.show != null ? s.show : !0, this.cesiumStyle = new xn(s), this._style = this._styleFunction.bind(this), s.strokeColor && Dl(this.cesiumStyle, "strokeColor", s), s.strokeWidth && Dl(this.cesiumStyle, "strokeWidth", s), this._styleOptions = s, this._circleCache = /* @__PURE__ */ new Map(), this._iconCache = /* @__PURE__ */ new Map();
5562
5562
  }
5563
5563
  static get className() {
5564
5564
  return "DeclarativeStyleItem";
@@ -5844,7 +5844,7 @@ const li = "2.1", Ys = {
5844
5844
  cesium3DTile: ys.CESIUM_3D_TILE,
5845
5845
  terrain: ys.TERRAIN
5846
5846
  };
5847
- function Ca(i, t) {
5847
+ function xa(i, t) {
5848
5848
  if (Array.isArray(i)) {
5849
5849
  const e = i.map((s) => G(s)).filter((s) => s != null);
5850
5850
  if (e.length === 4)
@@ -5852,7 +5852,7 @@ function Ca(i, t) {
5852
5852
  }
5853
5853
  return t;
5854
5854
  }
5855
- function xa(i, t) {
5855
+ function ba(i, t) {
5856
5856
  if (Array.isArray(i)) {
5857
5857
  const e = i.map((s) => G(s)).filter((s) => s != null);
5858
5858
  if (e.length === 3)
@@ -5922,7 +5922,7 @@ class Lt {
5922
5922
  */
5923
5923
  h(this, "propertyChanged");
5924
5924
  const e = Lt.getDefaultOptions();
5925
- this._altitudeMode = yi(t.altitudeMode, Ys, Le.CLAMP_TO_GROUND), this._allowPicking = de(t.allowPicking, e.allowPicking), this._classificationType = yi(t.classificationType, Zs), this._scaleByDistance = Ca(t.scaleByDistance, void 0), this._eyeOffset = xa(t.eyeOffset, void 0), this._heightAboveGround = G(t.heightAboveGround, e.heightAboveGround), this._skirt = G(t.skirt, e.skirt), this._groundLevel = G(t.groundLevel, e.groundLevel), this._extrudedHeight = G(t.extrudedHeight, e.extrudedHeight), this._storeysAboveGround = le(t.storeysAboveGround, e.storeysAboveGround), this._storeysBelowGround = le(t.storeysBelowGround, e.storeysBelowGround), this._storeyHeightsAboveGround = ss(t.storeyHeightsAboveGround, e.storeyHeightsAboveGround), this._storeyHeightsBelowGround = ss(t.storeyHeightsBelowGround, e.storeyHeightsBelowGround), this._modelUrl = t.modelUrl ?? e.modelUrl, this._modelScaleX = G(t.modelScaleX, e.modelScaleX), this._modelScaleY = G(t.modelScaleY, e.modelScaleY), this._modelScaleZ = G(t.modelScaleZ, e.modelScaleZ), this._modelHeading = G(t.modelHeading, e.modelHeading), this._modelPitch = G(t.modelPitch, e.modelPitch), this._modelRoll = G(t.modelRoll, e.modelRoll), this._baseUrl = t.baseUrl ?? e.baseUrl, this._modelOptions = t.modelOptions || e.modelOptions, this._modelAutoScale = de(t.modelAutoScale, e.modelAutoScale), this._primitiveOptions = t.primitiveOptions || e.primitiveOptions, this.propertyChanged = new E();
5925
+ this._altitudeMode = yi(t.altitudeMode, Ys, Le.CLAMP_TO_GROUND), this._allowPicking = de(t.allowPicking, e.allowPicking), this._classificationType = yi(t.classificationType, Zs), this._scaleByDistance = xa(t.scaleByDistance, void 0), this._eyeOffset = ba(t.eyeOffset, void 0), this._heightAboveGround = G(t.heightAboveGround, e.heightAboveGround), this._skirt = G(t.skirt, e.skirt), this._groundLevel = G(t.groundLevel, e.groundLevel), this._extrudedHeight = G(t.extrudedHeight, e.extrudedHeight), this._storeysAboveGround = le(t.storeysAboveGround, e.storeysAboveGround), this._storeysBelowGround = le(t.storeysBelowGround, e.storeysBelowGround), this._storeyHeightsAboveGround = ss(t.storeyHeightsAboveGround, e.storeyHeightsAboveGround), this._storeyHeightsBelowGround = ss(t.storeyHeightsBelowGround, e.storeyHeightsBelowGround), this._modelUrl = t.modelUrl ?? e.modelUrl, this._modelScaleX = G(t.modelScaleX, e.modelScaleX), this._modelScaleY = G(t.modelScaleY, e.modelScaleY), this._modelScaleZ = G(t.modelScaleZ, e.modelScaleZ), this._modelHeading = G(t.modelHeading, e.modelHeading), this._modelPitch = G(t.modelPitch, e.modelPitch), this._modelRoll = G(t.modelRoll, e.modelRoll), this._baseUrl = t.baseUrl ?? e.baseUrl, this._modelOptions = t.modelOptions || e.modelOptions, this._modelAutoScale = de(t.modelAutoScale, e.modelAutoScale), this._primitiveOptions = t.primitiveOptions || e.primitiveOptions, this.propertyChanged = new E();
5926
5926
  }
5927
5927
  /**
5928
5928
  * Returns the default options for VectorProperties
@@ -5990,7 +5990,7 @@ class Lt {
5990
5990
  er.equals(t, this._scaleByDistance) || (v(t, Q(er)), this._scaleByDistance = t, this.propertyChanged.raiseEvent(["scaleByDistance"]));
5991
5991
  }
5992
5992
  getScaleByDistance(t) {
5993
- return Ca(t.get("olcs_scaleByDistance"), this.scaleByDistance);
5993
+ return xa(t.get("olcs_scaleByDistance"), this.scaleByDistance);
5994
5994
  }
5995
5995
  get eyeOffset() {
5996
5996
  return this._eyeOffset;
@@ -6005,7 +6005,7 @@ class Lt {
6005
6005
  if (s)
6006
6006
  return X_().deprecate("zCoordinateEyeOffset", "use eyeOffset and provide [0,0,value]"), new _(0, 0, G(s, 0));
6007
6007
  }
6008
- return xa(e, this.eyeOffset);
6008
+ return ba(e, this.eyeOffset);
6009
6009
  }
6010
6010
  get heightAboveGround() {
6011
6011
  return this._heightAboveGround;
@@ -6254,11 +6254,11 @@ class Lt {
6254
6254
  this._classificationType !== n && (this._classificationType = n, s.push("classificationType"));
6255
6255
  }
6256
6256
  if ("scaleByDistance" in t) {
6257
- const r = Ca(t.scaleByDistance, void 0);
6257
+ const r = xa(t.scaleByDistance, void 0);
6258
6258
  er.equals(r, this._scaleByDistance) || (this._scaleByDistance = r, s.push("scaleByDistance"));
6259
6259
  }
6260
6260
  if ("eyeOffset" in t) {
6261
- const r = xa(t.eyeOffset, void 0);
6261
+ const r = ba(t.eyeOffset, void 0);
6262
6262
  _.equals(r, this._eyeOffset) || (this._eyeOffset = r, s.push("eyeOffset"));
6263
6263
  }
6264
6264
  if ("heightAboveGround" in t) {
@@ -6491,7 +6491,7 @@ class di extends Ze {
6491
6491
  */
6492
6492
  h(this, "featureVisibility");
6493
6493
  const s = di.getDefaultOptions();
6494
- this._style = this.getStyleOrDefaultStyle(e.style), this._defaultStyle = this._style, this.balloonHeightOffset = le(e.balloonHeightOffset, s.balloonHeightOffset), e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? Me.LEFT : Me.RIGHT), this.featureVisibility = e.featureVisibility || new aa();
6494
+ this._style = this.getStyleOrDefaultStyle(e.style), this._defaultStyle = this._style, this.balloonHeightOffset = le(e.balloonHeightOffset, s.balloonHeightOffset), e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? Me.LEFT : Me.RIGHT), this.featureVisibility = e.featureVisibility || new oa();
6495
6495
  }
6496
6496
  static get className() {
6497
6497
  return "FeatureLayer";
@@ -6762,7 +6762,7 @@ class hi extends Ii {
6762
6762
  * aware layers.
6763
6763
  */
6764
6764
  h(this, "_locale");
6765
- this._layerEventListeners = {}, this._zIndexSymbol = Symbol("zIndex"), this.stateChanged = new E(), this.exclusiveManager = new Z_(), this._globalHider = new ao(), this._locale = "en";
6765
+ this._layerEventListeners = {}, this._zIndexSymbol = Symbol("zIndex"), this.stateChanged = new E(), this.exclusiveManager = new Z_(), this._globalHider = new oo(), this._locale = "en";
6766
6766
  }
6767
6767
  /**
6768
6768
  * Creates a LayerCollection from an iterable of layers, such as an Array.
@@ -6794,7 +6794,7 @@ class hi extends Ii {
6794
6794
  * @param globalHider
6795
6795
  */
6796
6796
  set globalHider(e) {
6797
- v(e, ao), this._globalHider = e, this._array.forEach((s) => {
6797
+ v(e, oo), this._globalHider = e, this._array.forEach((s) => {
6798
6798
  s.setGlobalHider(this._globalHider);
6799
6799
  });
6800
6800
  }
@@ -6892,12 +6892,12 @@ class hi extends Ii {
6892
6892
  }), this._layerEventListeners = {}, this.exclusiveManager.destroy(), this._globalHider.destroy(), super.destroy();
6893
6893
  }
6894
6894
  }
6895
- var oo;
6895
+ var lo;
6896
6896
  (function(i) {
6897
6897
  i[i.INACTIVE = 1] = "INACTIVE", i[i.ACTIVE = 2] = "ACTIVE", i[i.LOADING = 4] = "LOADING";
6898
- })(oo || (oo = {}));
6899
- const Ot = oo, Y = Symbol("vcsLayerName");
6900
- function Dl() {
6898
+ })(lo || (lo = {}));
6899
+ const Ot = lo, Y = Symbol("vcsLayerName");
6900
+ function Al() {
6901
6901
  return ue("vcMap");
6902
6902
  }
6903
6903
  class Li extends kt {
@@ -6973,13 +6973,13 @@ class Li extends kt {
6973
6973
  return this._target;
6974
6974
  }
6975
6975
  set movementDisabled(e) {
6976
- this._movementApiCallsDisabled = e, this._movementKeyEventsDisabled = e, this._movementPointerEventsDisabled = e, Dl().deprecate("movementDisabled", "disableMovement");
6976
+ this._movementApiCallsDisabled = e, this._movementKeyEventsDisabled = e, this._movementPointerEventsDisabled = e, Al().deprecate("movementDisabled", "disableMovement");
6977
6977
  }
6978
6978
  /**
6979
6979
  * @deprecated use disableMovement() for setting and movementApiCallsDisabled, movementKeyEventsDisabled and movementPointerEventsDisabled getter
6980
6980
  */
6981
6981
  get movementDisabled() {
6982
- return Dl().deprecate("movementDisabled", 'use the following getters: "movementApiCallsDisabled", "movementKeyEventsDisabled", "movementPointerEventsDisabled"'), this._movementApiCallsDisabled && this._movementKeyEventsDisabled && this._movementPointerEventsDisabled;
6982
+ return Al().deprecate("movementDisabled", 'use the following getters: "movementApiCallsDisabled", "movementKeyEventsDisabled", "movementPointerEventsDisabled"'), this._movementApiCallsDisabled && this._movementKeyEventsDisabled && this._movementPointerEventsDisabled;
6983
6983
  }
6984
6984
  /** Whether api calls like gotoViewpoint & setting of oblique images are disabled */
6985
6985
  get movementApiCallsDisabled() {
@@ -7219,7 +7219,7 @@ var Ye;
7219
7219
  (function(i) {
7220
7220
  i[i.DOWN = 1] = "DOWN", i[i.UP = 2] = "UP", i[i.MOVE = 3] = "MOVE";
7221
7221
  })(Ye = Ye || (Ye = {}));
7222
- function Al(i, t, e) {
7222
+ function Fl(i, t, e) {
7223
7223
  const s = e.indexOfKey(t[Y]);
7224
7224
  if (s > -1) {
7225
7225
  const r = i.getArray();
@@ -7311,11 +7311,11 @@ class wr extends Li {
7311
7311
  const s = this.getVisualizationsForLayer(e);
7312
7312
  s && s.forEach((r) => {
7313
7313
  const n = this._olMap.getLayers();
7314
- n.remove(r), Al(n, r, this.layerCollection);
7314
+ n.remove(r), Fl(n, r, this.layerCollection);
7315
7315
  });
7316
7316
  }
7317
7317
  addOLLayer(e) {
7318
- this.validateVisualization(e) && (this.addVisualization(e), Al(this._olMap.getLayers(), e, this.layerCollection));
7318
+ this.validateVisualization(e) && (this.addVisualization(e), Fl(this._olMap.getLayers(), e, this.layerCollection));
7319
7319
  }
7320
7320
  /**
7321
7321
  * Internal API for deregistering representations.
@@ -7361,7 +7361,7 @@ class be extends wr {
7361
7361
  };
7362
7362
  }
7363
7363
  async initialize() {
7364
- this.initialized || (await super.initialize(), this.olMap.setView(new po({
7364
+ this.initialized || (await super.initialize(), this.olMap.setView(new yo({
7365
7365
  center: [1.2309226203948376e6, 6350766117974091e-9],
7366
7366
  zoom: 13
7367
7367
  })), this.initialized = !0);
@@ -7487,7 +7487,7 @@ class ts extends kt {
7487
7487
  this._initialized = !1, this._state = pe.INACTIVE, this._map = void 0, super.destroy();
7488
7488
  }
7489
7489
  }
7490
- class la extends ts {
7490
+ class ha extends ts {
7491
7491
  constructor(e, s) {
7492
7492
  super(e, s);
7493
7493
  h(this, "olLayer", null);
@@ -7545,7 +7545,7 @@ function Q_(i, t) {
7545
7545
  s && !i.hasFeature(e, s) && i.addFeature(e, s);
7546
7546
  }), t[Ks] = Date.now();
7547
7547
  }
7548
- function Ao(i, t, e) {
7548
+ function Fo(i, t, e) {
7549
7549
  const s = t.on("addfeature", (r) => {
7550
7550
  if (!r.feature)
7551
7551
  return;
@@ -7575,7 +7575,7 @@ function Ao(i, t, e) {
7575
7575
  }
7576
7576
  ];
7577
7577
  }
7578
- class Vc extends la {
7578
+ class Vc extends ha {
7579
7579
  constructor(e, s) {
7580
7580
  super(e, s);
7581
7581
  h(this, "source");
@@ -7604,7 +7604,7 @@ class Vc extends la {
7604
7604
  return this.minResolution && e.setMinResolution(this.minResolution), this.maxResolution && e.setMaxResolution(this.maxResolution), e;
7605
7605
  }
7606
7606
  async activate() {
7607
- this.active || (await super.activate(), this.active && this._featureVisibilityListeners.length === 0 && (this._featureVisibilityListeners = Ao(this.featureVisibility, this.source, this.globalHider)));
7607
+ this.active || (await super.activate(), this.active && this._featureVisibilityListeners.length === 0 && (this._featureVisibilityListeners = Fo(this.featureVisibility, this.source, this.globalHider)));
7608
7608
  }
7609
7609
  deactivate() {
7610
7610
  super.deactivate(), this._featureVisibilityListeners.forEach((e) => {
@@ -7633,7 +7633,7 @@ function e0(i, t, e) {
7633
7633
  const n = document.createElement("canvas"), a = n.getContext("2d");
7634
7634
  a.fillStyle = r, a.fillRect(0, 0, 300, 300), s.material = Rt.fromType("Wallpaper", {
7635
7635
  image: n,
7636
- anchor: Nd.wgs84ToDrawingBufferCoordinates(i, _.fromDegreesArray(yo(e.getGeometry().getExtent()))[0])
7636
+ anchor: Nd.wgs84ToDrawingBufferCoordinates(i, _.fromDegreesArray(_o(e.getGeometry().getExtent()))[0])
7637
7637
  });
7638
7638
  } else {
7639
7639
  const n = ai(r, [0, 0, 0, 1]);
@@ -7686,9 +7686,9 @@ function i0(i, t, e, s, r, n, a) {
7686
7686
  l.geometryInstances = d;
7687
7687
  const u = e0(i, n.getFill(), s);
7688
7688
  if (l.appearance = u, a) {
7689
- if (!Qo.isSupported(i))
7689
+ if (!el.isSupported(i))
7690
7690
  return null;
7691
- l.classificationType = o || ys.TERRAIN, c = new Qo(l);
7691
+ l.classificationType = o || ys.TERRAIN, c = new el(l);
7692
7692
  } else
7693
7693
  c = new pt(l);
7694
7694
  }
@@ -7730,7 +7730,7 @@ function $c(i, t, e, s, r, n, a) {
7730
7730
  oddColor: new U(0, 0, 0, 0)
7731
7731
  // transparent
7732
7732
  }) : d = Rt.fromType("Color", { color: c });
7733
- const u = new Wa({
7733
+ const u = new Xa({
7734
7734
  renderState: {
7735
7735
  depthTest: {
7736
7736
  enabled: !0
@@ -7748,9 +7748,9 @@ function $c(i, t, e, s, r, n, a) {
7748
7748
  };
7749
7749
  let g;
7750
7750
  if (a) {
7751
- if (!el.isSupported(i))
7751
+ if (!tl.isSupported(i))
7752
7752
  return null;
7753
- f.classificationType = o || ys.TERRAIN, g = new el(f);
7753
+ f.classificationType = o || ys.TERRAIN, g = new tl(f);
7754
7754
  } else
7755
7755
  g = new pt(f);
7756
7756
  return g;
@@ -7767,7 +7767,7 @@ function r0(i, t) {
7767
7767
  }
7768
7768
  return 0;
7769
7769
  }
7770
- function Fl(i, t, e) {
7770
+ function Rl(i, t, e) {
7771
7771
  const s = Math.abs(i), r = [];
7772
7772
  if (t.length) {
7773
7773
  let n = 0;
@@ -7786,7 +7786,7 @@ function Fl(i, t, e) {
7786
7786
  return new Array(e).fill(s / e);
7787
7787
  return [s];
7788
7788
  }
7789
- function Rl(i, t) {
7789
+ function Gl(i, t) {
7790
7790
  if (i && t.length) {
7791
7791
  const e = i - t.length;
7792
7792
  e > 0 ? t.push(...new Array(e).fill(t[t.length - 1])) : e < 0 && t.splice(t.length + e), i > 100 && t.splice(100);
@@ -7799,7 +7799,7 @@ function n0(i, t, e) {
7799
7799
  function Bc(i, t, e) {
7800
7800
  const s = t.getExtrudedHeight(i);
7801
7801
  let r = t.getStoreysAboveGround(i), n = t.getStoreysBelowGround(i), a = t.getStoreyHeightsAboveGround(i), o = t.getStoreyHeightsBelowGround(i);
7802
- s && (s > 0 ? (a = Fl(s, a, r), r = a.length, o = [], n = 0) : s < 0 && (o = Fl(s, o, n), n = o.length, a = [], r = 0)), Rl(r, a), Rl(n, o);
7802
+ s && (s > 0 ? (a = Rl(s, a, r), r = a.length, o = [], n = 0) : s < 0 && (o = Rl(s, o, n), n = o.length, a = [], r = 0)), Gl(r, a), Gl(n, o);
7803
7803
  const l = t.getSkirt(i), c = t.getGroundLevel(i), d = t.getAltitudeMode(i), u = n0(i, d, t), f = r0(c, e) + u, g = !!e.find((y) => y[2]), m = !!(a.length || o.length || l), p = g && c == null && (!m || m && a.length + o.length === 1);
7804
7804
  return {
7805
7805
  extruded: m,
@@ -7812,7 +7812,7 @@ function Bc(i, t, e) {
7812
7812
  heightAboveGroundAdjustment: u
7813
7813
  };
7814
7814
  }
7815
- function Gl(i, t, e, s) {
7815
+ function kl(i, t, e, s) {
7816
7816
  const r = e ? -1 : 1;
7817
7817
  let n = t;
7818
7818
  const a = i.length, o = new Array(a);
@@ -7825,14 +7825,14 @@ function Gl(i, t, e, s) {
7825
7825
  }
7826
7826
  return s ? (s.push(...o), s) : o;
7827
7827
  }
7828
- function ha(i, t, e, s, r, n, a) {
7828
+ function ca(i, t, e, s, r, n, a) {
7829
7829
  if (!e.length)
7830
7830
  return;
7831
7831
  const o = [], l = [], c = [], d = Bc(i, s, n.getCoordinates(e)), u = !!t.getFill(), f = !!t.getStroke();
7832
7832
  let g = !1;
7833
7833
  e.forEach((y) => {
7834
- const S = n.getGeometryOptions(y, d.heightAboveGroundAdjustment, d.perPositionHeight, d.groundLevel), w = Gl(d.storeyHeightsAboveGround, d.groundLevel);
7835
- if (Gl(d.storeyHeightsBelowGround, d.groundLevel, !0, w), u && w.forEach((C) => {
7834
+ const S = n.getGeometryOptions(y, d.heightAboveGroundAdjustment, d.perPositionHeight, d.groundLevel), w = kl(d.storeyHeightsAboveGround, d.groundLevel);
7835
+ if (kl(d.storeyHeightsBelowGround, d.groundLevel, !0, w), u && w.forEach((C) => {
7836
7836
  o.push(...n.createSolidGeometries(S, C.currentHeight, d.perPositionHeight, C.extrudedHeight));
7837
7837
  }), f && w.forEach((C) => {
7838
7838
  l.push(...n.createOutlineGeometries(S, C.currentHeight, d.perPositionHeight, C.extrudedHeight));
@@ -7857,7 +7857,7 @@ function ha(i, t, e, s, r, n, a) {
7857
7857
  }
7858
7858
  a.addPrimitives(p, i, m);
7859
7859
  }
7860
- function Fo(i) {
7860
+ function Ro(i) {
7861
7861
  const t = i.getStride(), e = i.getFlatCoordinates();
7862
7862
  if (e.length > 0) {
7863
7863
  const s = Math.floor(e.length / t), r = new Array(s);
@@ -7873,7 +7873,7 @@ function Fo(i) {
7873
7873
  }
7874
7874
  function Ns(i, t) {
7875
7875
  if (!t && i instanceof Zu)
7876
- return Fo(i);
7876
+ return Ro(i);
7877
7877
  const e = t;
7878
7878
  let s = null;
7879
7879
  return i instanceof Dt ? s = [e] : i instanceof qt ? s = e : i instanceof At ? s = e.reduce((r, n) => r.concat(n)) : i instanceof Ah ? s = e : i instanceof Fh ? s = e.reduce((r, n) => r.concat(n)) : i instanceof or ? s = e.reduce((r, n) => r.concat(n)).reduce((r, n) => r.concat(n)) : i instanceof bt ? s = e : i instanceof Fr && (s = i.getGeometries().map((r, n) => Ns(r, e == null ? void 0 : e[n])).reduce((r, n) => r.concat(n))), s;
@@ -7885,11 +7885,11 @@ function Uc(i, t) {
7885
7885
  function qc(i) {
7886
7886
  return i instanceof bt ? Rh(i) : (i instanceof At && i.unset("_vcsGeomType"), i);
7887
7887
  }
7888
- function lo(i) {
7888
+ function ho(i) {
7889
7889
  const [t, e] = i[i.length - 1];
7890
7890
  i[0][0] === t && i[0][1] === e || i.push(i[0].slice());
7891
7891
  }
7892
- function kl(i) {
7892
+ function zl(i) {
7893
7893
  const [t, e] = i[i.length - 1];
7894
7894
  i[0][0] === t && i[0][1] === e && i.pop();
7895
7895
  }
@@ -7897,13 +7897,13 @@ function Wc(i) {
7897
7897
  if (i instanceof At) {
7898
7898
  const t = i.getCoordinates();
7899
7899
  t.forEach((e) => {
7900
- kl(e);
7900
+ zl(e);
7901
7901
  }), i.setCoordinates(t);
7902
7902
  } else if (i instanceof or) {
7903
7903
  const t = i.getCoordinates();
7904
7904
  t.forEach((e) => {
7905
7905
  e.forEach((s) => {
7906
- kl(s);
7906
+ zl(s);
7907
7907
  });
7908
7908
  }), i.setCoordinates(t);
7909
7909
  }
@@ -7955,7 +7955,7 @@ function Yc(i, t) {
7955
7955
  }), s;
7956
7956
  }
7957
7957
  function c0(i, t) {
7958
- return Yc(i, t).map((e) => new _o(e));
7958
+ return Yc(i, t).map((e) => new vo(e));
7959
7959
  }
7960
7960
  function u0(i, t) {
7961
7961
  return Yc(i, t).map((e) => new zi(e));
@@ -7968,21 +7968,21 @@ function d0(i, t, e, s) {
7968
7968
  const u = k.mercatorToWgs84(d);
7969
7969
  return !e && s ? u[2] = s : u[2] != null && (u[2] += t), _.fromDegrees(u[0], u[1], u[2]);
7970
7970
  });
7971
- _.equals(c[0], c[c.length - 1]) || c.push(c[0]), o === 0 ? r = c : n.push(new Xa(c));
7971
+ _.equals(c[0], c[c.length - 1]) || c.push(c[0]), o === 0 ? r = c : n.push(new Ya(c));
7972
7972
  }
7973
7973
  return {
7974
- polygonHierarchy: new Xa(r, n)
7974
+ polygonHierarchy: new Ya(r, n)
7975
7975
  };
7976
7976
  }
7977
7977
  function f0(i) {
7978
7978
  const t = [];
7979
7979
  return i.forEach((e) => {
7980
- t.push(...Fo(e));
7980
+ t.push(...Ro(e));
7981
7981
  }), t;
7982
7982
  }
7983
- let ba = null;
7983
+ let Oa = null;
7984
7984
  function g0() {
7985
- return ba || (ba = {
7985
+ return Oa || (Oa = {
7986
7986
  getCoordinates: f0,
7987
7987
  getGeometryOptions: d0,
7988
7988
  createSolidGeometries: Xc,
@@ -7990,7 +7990,7 @@ function g0() {
7990
7990
  createFillGeometries: h0,
7991
7991
  createGroundLineGeometries: c0,
7992
7992
  createLineGeometries: u0
7993
- }), ba;
7993
+ }), Oa;
7994
7994
  }
7995
7995
  function Zc(i) {
7996
7996
  if (i.getType() !== "Polygon")
@@ -8004,11 +8004,11 @@ function Zc(i) {
8004
8004
  const n = s * 3 * i.getLinearRingCount();
8005
8005
  return t && t.length >= n && i.getLinearRingCount() ? t.every((a) => Number.isFinite(a)) : !1;
8006
8006
  }
8007
- function zl(i, t, e, s, r, n) {
8007
+ function Hl(i, t, e, s, r, n) {
8008
8008
  if (!t.getFill() && !t.getStroke())
8009
8009
  return;
8010
8010
  const a = g0(), o = e.filter((l) => Zc(l));
8011
- ha(i, t, o, s, r, a, n);
8011
+ ca(i, t, o, s, r, a, n);
8012
8012
  }
8013
8013
  function Kc(i, t, e, s) {
8014
8014
  return [
@@ -8045,7 +8045,7 @@ function Jc(i, t) {
8045
8045
  }
8046
8046
  function y0(i, t) {
8047
8047
  const e = Jc(i, t);
8048
- return [new _o(e)];
8048
+ return [new vo(e)];
8049
8049
  }
8050
8050
  function _0(i, t) {
8051
8051
  const e = Jc(i, t);
@@ -8065,9 +8065,9 @@ function v0(i, t, e, s) {
8065
8065
  function S0(i) {
8066
8066
  return i.map((t) => t.getCenter());
8067
8067
  }
8068
- let Oa = null;
8068
+ let Ea = null;
8069
8069
  function w0() {
8070
- return Oa || (Oa = {
8070
+ return Ea || (Ea = {
8071
8071
  getCoordinates: S0,
8072
8072
  getGeometryOptions: v0,
8073
8073
  createSolidGeometries: Kc,
@@ -8075,7 +8075,7 @@ function w0() {
8075
8075
  createFillGeometries: p0,
8076
8076
  createGroundLineGeometries: y0,
8077
8077
  createLineGeometries: _0
8078
- }), Oa;
8078
+ }), Ea;
8079
8079
  }
8080
8080
  function Qc(i) {
8081
8081
  if (i.getType() !== "Circle")
@@ -8087,7 +8087,7 @@ function M0(i, t, e, s, r, n) {
8087
8087
  if (!t.getFill() && !t.getStroke())
8088
8088
  return;
8089
8089
  const a = w0(), o = e.filter((l) => Qc(l));
8090
- ha(i, t, o, s, r, a, n);
8090
+ ca(i, t, o, s, r, a, n);
8091
8091
  }
8092
8092
  var Qe;
8093
8093
  (function(i) {
@@ -8136,7 +8136,7 @@ function x0() {
8136
8136
  offset: [0, 0, -4.3]
8137
8137
  };
8138
8138
  }
8139
- class ca extends ee {
8139
+ class ua extends ee {
8140
8140
  constructor(e = {}) {
8141
8141
  const s = e.color ?? "#000000", r = {
8142
8142
  stroke: new $e({
@@ -8152,7 +8152,7 @@ class ca extends ee {
8152
8152
  super(r);
8153
8153
  h(this, "primitiveOptions");
8154
8154
  h(this, "end");
8155
- this.primitiveOptions = n, this.end = na(e.end, Qe, Qe.END), this.setRenderer(this._render.bind(this));
8155
+ this.primitiveOptions = n, this.end = aa(e.end, Qe, Qe.END), this.setRenderer(this._render.bind(this));
8156
8156
  }
8157
8157
  /**
8158
8158
  * Same as getStroke().getWidth() / getStroke().setWidth()
@@ -8182,7 +8182,7 @@ class ca extends ee {
8182
8182
  _render(e, s) {
8183
8183
  if (s.geometry.getType() === "LineString" && e.length > 1 && this.width) {
8184
8184
  const r = s.context;
8185
- this.end !== Qe.NONE && ((this.end === Qe.START || this.end === Qe.BOTH) && this._drawArrow(r, e[0], to(e[1], e[0]), s.pixelRatio), (this.end === Qe.END || this.end === Qe.BOTH) && this._drawArrow(r, e.at(-1), to(e.at(-2), e.at(-1)), s.pixelRatio)), r.save(), r.lineJoin = "round", r.lineWidth = this.width, r.strokeStyle = ot(this.color), r.beginPath(), r.moveTo(e[0][0], e[0][1]);
8185
+ this.end !== Qe.NONE && ((this.end === Qe.START || this.end === Qe.BOTH) && this._drawArrow(r, e[0], io(e[1], e[0]), s.pixelRatio), (this.end === Qe.END || this.end === Qe.BOTH) && this._drawArrow(r, e.at(-1), io(e.at(-2), e.at(-1)), s.pixelRatio)), r.save(), r.lineJoin = "round", r.lineWidth = this.width, r.strokeStyle = ot(this.color), r.beginPath(), r.moveTo(e[0][0], e[0][1]);
8186
8186
  for (let n = 0; n < e.length; n++)
8187
8187
  r.lineTo(e[n][0], e[n][1]);
8188
8188
  r.stroke(), r.restore();
@@ -8208,7 +8208,7 @@ class ca extends ee {
8208
8208
  };
8209
8209
  }
8210
8210
  clone() {
8211
- return new ca(this._getCloneOptions());
8211
+ return new ua(this._getCloneOptions());
8212
8212
  }
8213
8213
  }
8214
8214
  function b0(i, t, e, s) {
@@ -8239,7 +8239,7 @@ function eu(i, t) {
8239
8239
  });
8240
8240
  }
8241
8241
  async function tu(i, t, e, s) {
8242
- await ta(e.globe.terrainProvider, [
8242
+ await ia(e.globe.terrainProvider, [
8243
8243
  se.fromCartesian(t)
8244
8244
  ]).then(([r]) => {
8245
8245
  if (!i.isDestroyed()) {
@@ -8249,7 +8249,7 @@ async function tu(i, t, e, s) {
8249
8249
  }).catch(() => {
8250
8250
  });
8251
8251
  }
8252
- async function Hl(i, t, e, s, r, n) {
8252
+ async function jl(i, t, e, s, r, n) {
8253
8253
  const a = s.getModel(i);
8254
8254
  if (!a)
8255
8255
  return null;
@@ -8261,7 +8261,7 @@ async function Hl(i, t, e, s, r, n) {
8261
8261
  }
8262
8262
  return {
8263
8263
  primitives: await Promise.all(e.map(async (g, m) => {
8264
- const p = R.multiply(bi.headingPitchRollToFixedFrame(g, l), R.fromScale(o), new R()), y = s.getModelOptions(i), S = s.getAltitudeMode(i), w = await vo.fromGltfAsync({
8264
+ const p = R.multiply(bi.headingPitchRollToFixedFrame(g, l), R.fromScale(o), new R()), y = s.getModelOptions(i), S = s.getAltitudeMode(i), w = await So.fromGltfAsync({
8265
8265
  asynchronous: !i[Re],
8266
8266
  url: a.url,
8267
8267
  modelMatrix: p,
@@ -8287,7 +8287,7 @@ async function Hl(i, t, e, s, r, n) {
8287
8287
  options: a
8288
8288
  };
8289
8289
  }
8290
- function Ea(i, t, e) {
8290
+ function Pa(i, t, e) {
8291
8291
  var r, n;
8292
8292
  let s;
8293
8293
  return Fi(i, Mt.CYLINDER) ? s = e ? new kd(i.geometryOptions) : new qh(i.geometryOptions) : Fi(i, Mt.ELLIPSOID) && (Array.isArray((r = i.geometryOptions) == null ? void 0 : r.radii) && (i.geometryOptions.radii = _.fromArray(i.geometryOptions.radii)), Array.isArray((n = i.geometryOptions) == null ? void 0 : n.innerRadii) && (i.geometryOptions.innerRadii = _.fromArray(i.geometryOptions.innerRadii)), s = e ? new zd(i.geometryOptions) : new Wh(i.geometryOptions)), Fi(i, Mt.SPHERE) && (s = e ? new Hd(i.geometryOptions) : new jd(i.geometryOptions)), Fi(i, Mt.BOX) && (Array.isArray(i.geometryOptions.minimum) && (i.geometryOptions.minimum = _.fromArray(i.geometryOptions.minimum)), Array.isArray(i.geometryOptions.maximum) && (i.geometryOptions.maximum = _.fromArray(i.geometryOptions.maximum)), s = e ? new Vd(i.geometryOptions) : new Xh(i.geometryOptions)), s ? new ct({
@@ -8297,7 +8297,7 @@ function Ea(i, t, e) {
8297
8297
  }
8298
8298
  }) : null;
8299
8299
  }
8300
- async function ho(i, t, e, s, r, n) {
8300
+ async function co(i, t, e, s, r, n) {
8301
8301
  const a = r.getPrimitive(i);
8302
8302
  if (!a)
8303
8303
  return null;
@@ -8344,27 +8344,27 @@ async function ho(i, t, e, s, r, n) {
8344
8344
  }, q = [];
8345
8345
  if (d)
8346
8346
  q.push(F(d.alpha < 1 || !!L, [
8347
- Ea(a.primitiveOptions, d)
8347
+ Pa(a.primitiveOptions, d)
8348
8348
  ], L));
8349
8349
  else if (L) {
8350
8350
  const $ = U.TRANSPARENT;
8351
8351
  q.push(F(!0, [
8352
- Ea(a.primitiveOptions, $)
8352
+ Pa(a.primitiveOptions, $)
8353
8353
  ], L));
8354
8354
  }
8355
8355
  return u && q.push(F(u.alpha < 1 || !!L, [
8356
- Ea(a.primitiveOptions, u, !0)
8356
+ Pa(a.primitiveOptions, u, !0)
8357
8357
  ])), Promise.all(q);
8358
8358
  }))).flatMap((S) => S),
8359
8359
  options: a
8360
8360
  };
8361
8361
  }
8362
- function jl(i, t, e) {
8362
+ function Vl(i, t, e) {
8363
8363
  let s = e === Le.NONE ? c_(t, i) : 0;
8364
8364
  return s += 90, {
8365
8365
  location: t,
8366
8366
  pitch: s,
8367
- heading: N.toDegrees(to(i, t) + N.PI_OVER_TWO)
8367
+ heading: N.toDegrees(io(i, t) + N.PI_OVER_TWO)
8368
8368
  };
8369
8369
  }
8370
8370
  async function iu(i, t, e, s, r, n, a) {
@@ -8374,7 +8374,7 @@ async function iu(i, t, e, s, r, n, a) {
8374
8374
  const o = [], l = s.getAltitudeMode(i);
8375
8375
  if (e.forEach((f) => {
8376
8376
  const g = n.getCoordinates([f]);
8377
- (t.end === Qe.START || t.end === Qe.BOTH) && o.push(jl(g[1], g[0], l)), (t.end === Qe.END || t.end === Qe.BOTH) && o.push(jl(g.at(-2), g.at(-1), l));
8377
+ (t.end === Qe.START || t.end === Qe.BOTH) && o.push(Vl(g[1], g[0], l)), (t.end === Qe.END || t.end === Qe.BOTH) && o.push(Vl(g.at(-2), g.at(-1), l));
8378
8378
  }), o.length === 0)
8379
8379
  return;
8380
8380
  const c = t.getOlcsStyle(), d = s.getAllowPicking(i);
@@ -8386,7 +8386,7 @@ async function iu(i, t, e, s, r, n, a) {
8386
8386
  olcs_modelPitch: f.pitch,
8387
8387
  geometry: new Dt(f.location),
8388
8388
  olcs_modelAutoScale: !0
8389
- }), m = k.mercatorToWgs84(f.location), p = _.fromDegrees(m[0], m[1], m[2]), y = await ho(g, c, [m], [p], s, r);
8389
+ }), m = k.mercatorToWgs84(f.location), p = _.fromDegrees(m[0], m[1], m[2]), y = await co(g, c, [m], [p], s, r);
8390
8390
  y != null && y.primitives && a.addScaledPrimitives(y.primitives, i, d);
8391
8391
  }));
8392
8392
  }
@@ -8414,13 +8414,13 @@ function nu(i, t, e) {
8414
8414
  function au(i, t) {
8415
8415
  const e = G(t.getStroke().getWidth(), 1);
8416
8416
  return [
8417
- new _o({
8417
+ new vo({
8418
8418
  ...i,
8419
8419
  width: e
8420
8420
  })
8421
8421
  ];
8422
8422
  }
8423
- function Ro(i, t) {
8423
+ function Go(i, t) {
8424
8424
  const e = G(t.getStroke().getWidth(), 1);
8425
8425
  return [
8426
8426
  new zi({
@@ -8438,32 +8438,32 @@ function ou(i, t, e, s) {
8438
8438
  function lu(i) {
8439
8439
  const t = [];
8440
8440
  return i.forEach((e) => {
8441
- t.push(...Fo(e));
8441
+ t.push(...Ro(e));
8442
8442
  }), t;
8443
8443
  }
8444
- let Pa = null;
8444
+ let Ia = null;
8445
8445
  function O0() {
8446
- return Pa || (Pa = {
8446
+ return Ia || (Ia = {
8447
8447
  getCoordinates: lu,
8448
8448
  getGeometryOptions: ou,
8449
8449
  createSolidGeometries: su,
8450
8450
  createOutlineGeometries: ru,
8451
8451
  createFillGeometries: nu,
8452
8452
  createGroundLineGeometries: au,
8453
- createLineGeometries: Ro
8454
- }), Pa;
8453
+ createLineGeometries: Go
8454
+ }), Ia;
8455
8455
  }
8456
- function Go(i) {
8456
+ function ko(i) {
8457
8457
  if (i.getType() !== "LineString")
8458
8458
  return !1;
8459
8459
  const t = i.getFlatCoordinates(), e = i.getStride() * 2;
8460
8460
  return t && t.length >= e ? t.every((s) => Number.isFinite(s)) : !1;
8461
8461
  }
8462
- async function Vl(i, t, e, s, r, n) {
8462
+ async function $l(i, t, e, s, r, n) {
8463
8463
  if (!t.getFill() && !t.getStroke())
8464
8464
  return;
8465
- const a = O0(), o = e.filter((l) => Go(l));
8466
- ha(i, t, o, s, r, a, n), t instanceof ca && await iu(i, t, o, s, r, a, n);
8465
+ const a = O0(), o = e.filter((l) => ko(l));
8466
+ ca(i, t, o, s, r, a, n), t instanceof ua && await iu(i, t, o, s, r, a, n);
8467
8467
  }
8468
8468
  function E0(i) {
8469
8469
  return i.map((t) => t.getCoordinates());
@@ -8504,18 +8504,18 @@ function I0(i, t, e, s) {
8504
8504
  c && (a.font = c);
8505
8505
  const d = r.getFill(), u = r.getStroke();
8506
8506
  let f;
8507
- d && (a.fillColor = ai(d.getColor(), [0, 0, 0, 1]), f = pa.FILL), u && (a.outlineWidth = G(u.getWidth(), 1), a.outlineColor = ai(u.getColor(), [0, 0, 0, 1]), f = pa.OUTLINE), d && u && (f = pa.FILL_AND_OUTLINE), a.style = f;
8507
+ d && (a.fillColor = ai(d.getColor(), [0, 0, 0, 1]), f = ya.FILL), u && (a.outlineWidth = G(u.getWidth(), 1), a.outlineColor = ai(u.getColor(), [0, 0, 0, 1]), f = ya.OUTLINE), d && u && (f = ya.FILL_AND_OUTLINE), a.style = f;
8508
8508
  let g;
8509
8509
  switch (r.getTextAlign()) {
8510
8510
  case "left":
8511
- g = ya.LEFT;
8511
+ g = _a.LEFT;
8512
8512
  break;
8513
8513
  case "right":
8514
- g = ya.RIGHT;
8514
+ g = _a.RIGHT;
8515
8515
  break;
8516
8516
  case "center":
8517
8517
  default:
8518
- g = ya.CENTER;
8518
+ g = _a.CENTER;
8519
8519
  }
8520
8520
  a.horizontalOrigin = g;
8521
8521
  let m;
@@ -8564,11 +8564,11 @@ function T0(i, t, e, s) {
8564
8564
  let l = o[2] != null ? o[2] : t.groundLevel;
8565
8565
  l -= n;
8566
8566
  const c = _.fromDegrees(o[0], o[1], l), d = [e[a], c];
8567
- r.push(...Ro({ positions: d }, s));
8567
+ r.push(...Go({ positions: d }, s));
8568
8568
  }
8569
8569
  return r;
8570
8570
  }
8571
- async function $l(i, t, e, s, r, n) {
8571
+ async function Bl(i, t, e, s, r, n) {
8572
8572
  if (!t.getImage() && !(t.getText() && t.getText().getText()))
8573
8573
  return;
8574
8574
  const a = e.filter((m) => hu(m));
@@ -8578,7 +8578,7 @@ async function $l(i, t, e, s, r, n) {
8578
8578
  let { heightReference: c } = l;
8579
8579
  const d = s.getAllowPicking(i), { positions: u, wgs84Positions: f } = L0(o, l);
8580
8580
  let g = null;
8581
- if (i.get("olcs_modelUrl") ? g = await Hl(i, f, u, s, r, t) : i.get("olcs_primitiveOptions") ? g = await ho(i, t, f, u, s, r) : g = await Hl(i, f, u, s, r, t) ?? await ho(i, t, f, u, s, r), l.extruded && t.getStroke()) {
8581
+ if (i.get("olcs_modelUrl") ? g = await jl(i, f, u, s, r, t) : i.get("olcs_primitiveOptions") ? g = await co(i, t, f, u, s, r) : g = await jl(i, f, u, s, r, t) ?? await co(i, t, f, u, s, r), l.extruded && t.getStroke()) {
8582
8582
  const m = T0(f, l, u, t);
8583
8583
  if (m.length) {
8584
8584
  c = Le.NONE;
@@ -8601,7 +8601,7 @@ async function $l(i, t, e, s, r, n) {
8601
8601
  }
8602
8602
  }
8603
8603
  }
8604
- const si = Symbol("FeatureArcStruct"), Bl = Symbol("ArcStyleId");
8604
+ const si = Symbol("FeatureArcStruct"), Ul = Symbol("ArcStyleId");
8605
8605
  function N0(i, t, e) {
8606
8606
  const s = X.determinant(new X(i[0], i[1], 1, t[0], t[1], 1, e[0], e[1], 1));
8607
8607
  if (s === 0)
@@ -8667,16 +8667,16 @@ function R0(i, t, e, s, r, n) {
8667
8667
  ];
8668
8668
  return m;
8669
8669
  }
8670
- function co(i, t, e, s) {
8670
+ function uo(i, t, e, s) {
8671
8671
  t[si] && t[si].destroy();
8672
8672
  const r = t.getGeometry(), n = [], a = () => {
8673
8673
  re(n);
8674
8674
  };
8675
8675
  if (n.push(t.on("change:geometry", () => {
8676
- co(i, t, e, s);
8676
+ uo(i, t, e, s);
8677
8677
  })), r instanceof qt) {
8678
8678
  n.push(r.on("change", () => {
8679
- co(i, t, e, s);
8679
+ uo(i, t, e, s);
8680
8680
  }));
8681
8681
  const o = r.getFirstCoordinate(), l = r.getLastCoordinate(), c = _t(o, l), d = c * i;
8682
8682
  let u = s;
@@ -8701,7 +8701,7 @@ function co(i, t, e, s) {
8701
8701
  destroy: a
8702
8702
  };
8703
8703
  }
8704
- class ko extends ca {
8704
+ class zo extends ua {
8705
8705
  /**
8706
8706
  * @param [options=]
8707
8707
  */
@@ -8748,14 +8748,14 @@ class ko extends ca {
8748
8748
  }
8749
8749
  _getFeatureArcGeometry(e) {
8750
8750
  var s;
8751
- return (!e[si] || e[Bl] !== this._revisionId) && (co(this._arcFactor, e, this._numberOfSegments, this._offset), e[Bl] = this._revisionId), (s = e[si]) == null ? void 0 : s.geometry;
8751
+ return (!e[si] || e[Ul] !== this._revisionId) && (uo(this._arcFactor, e, this._numberOfSegments, this._offset), e[Ul] = this._revisionId), (s = e[si]) == null ? void 0 : s.geometry;
8752
8752
  }
8753
8753
  _getCloneOptions() {
8754
8754
  const e = super._getCloneOptions();
8755
8755
  return e.arcFactor = this._arcFactor, e.numberOfSegments = this._numberOfSegments, e;
8756
8756
  }
8757
8757
  clone() {
8758
- return new ko(this._getCloneOptions());
8758
+ return new zo(this._getCloneOptions());
8759
8759
  }
8760
8760
  }
8761
8761
  function G0(i, t, e, s, r) {
@@ -8775,18 +8775,18 @@ function z0(i, t) {
8775
8775
  createOutlineGeometries: ru,
8776
8776
  createFillGeometries: nu,
8777
8777
  createGroundLineGeometries: au,
8778
- createLineGeometries: Ro
8778
+ createLineGeometries: Go
8779
8779
  };
8780
8780
  }
8781
8781
  async function H0(i, t, e, s, r, n) {
8782
8782
  if (!t.getFill() && !t.getStroke())
8783
8783
  return;
8784
- const a = s.getAltitudeMode(i), o = z0(i[si].coordinates, a), l = e.filter((c) => Go(c));
8785
- ha(i, t, l, s, r, o, n), await iu(i, t, l, s, r, o, n);
8784
+ const a = s.getAltitudeMode(i), o = z0(i[si].coordinates, a), l = e.filter((c) => ko(c));
8785
+ ca(i, t, l, s, r, o, n), await iu(i, t, l, s, r, o, n);
8786
8786
  }
8787
8787
  async function cu(i, t, e, s, r, n) {
8788
8788
  var a;
8789
- t instanceof Dt ? await $l(i, e, [t], s, r, n) : t instanceof At ? zl(i, e, [t], s, r, n) : t instanceof qt ? e instanceof ko && ((a = i[si]) != null && a.coordinates) ? await H0(i, e, [t], s, r, n) : await Vl(i, e, [t], s, r, n) : t instanceof bt ? M0(i, e, [t], s, r, n) : t instanceof Ah ? await $l(i, e, t.getPoints(), s, r, n) : t instanceof or ? zl(i, e, t.getPolygons(), s, r, n) : t instanceof Fh ? await Vl(i, e, t.getLineStrings(), s, r, n) : t instanceof Fr && await Promise.all(t.getGeometries().map(async (o) => {
8789
+ t instanceof Dt ? await Bl(i, e, [t], s, r, n) : t instanceof At ? Hl(i, e, [t], s, r, n) : t instanceof qt ? e instanceof zo && ((a = i[si]) != null && a.coordinates) ? await H0(i, e, [t], s, r, n) : await $l(i, e, [t], s, r, n) : t instanceof bt ? M0(i, e, [t], s, r, n) : t instanceof Ah ? await Bl(i, e, t.getPoints(), s, r, n) : t instanceof or ? Hl(i, e, t.getPolygons(), s, r, n) : t instanceof Fh ? await $l(i, e, t.getLineStrings(), s, r, n) : t instanceof Fr && await Promise.all(t.getGeometries().map(async (o) => {
8790
8790
  await cu(i, o, e, s, r, n);
8791
8791
  }));
8792
8792
  }
@@ -8818,18 +8818,18 @@ function ps(i, t, e, s, r, n) {
8818
8818
  if (i.length) {
8819
8819
  const a = i.map((o) => {
8820
8820
  const l = s.add(o);
8821
- return e && V0(t, l), n && l instanceof vo && (l.splitDirection = n), l;
8821
+ return e && V0(t, l), n && l instanceof So && (l.splitDirection = n), l;
8822
8822
  });
8823
8823
  r.has(t) ? r.get(t).push(...a) : r.set(t, a);
8824
8824
  }
8825
8825
  }
8826
- function Ul(i, t) {
8826
+ function ql(i, t) {
8827
8827
  for (let e = 0; e < t.length; e++) {
8828
8828
  const s = t.get(e);
8829
- s instanceof vo && (s.splitDirection = i);
8829
+ s instanceof So && (s.splitDirection = i);
8830
8830
  }
8831
8831
  }
8832
- const ql = Symbol("Scale"), $0 = new _();
8832
+ const Wl = Symbol("Scale"), $0 = new _();
8833
8833
  function B0(i, t, e) {
8834
8834
  let s = new mt({});
8835
8835
  return i.getScene().postRender.addEventListener(() => {
@@ -8842,7 +8842,7 @@ function B0(i, t, e) {
8842
8842
  const o = t.get(a);
8843
8843
  if (!o.isDestroyed()) {
8844
8844
  const { modelMatrix: l } = o, c = R.getTranslation(l, $0), d = i.getCurrentResolutionFromCartesian(c);
8845
- o[ql] !== d && (o.modelMatrix = R.setScale(l, new _(d, d, d), new R()), o[ql] = d);
8845
+ o[Wl] !== d && (o.modelMatrix = R.setScale(l, new _(d, d, d), new R()), o[Wl] = d);
8846
8846
  }
8847
8847
  }
8848
8848
  e.value = !1, s = n;
@@ -8947,7 +8947,7 @@ class q0 {
8947
8947
  * @param splitDirection
8948
8948
  */
8949
8949
  updateSplitDirection(t) {
8950
- this.splitDirection = t, Ul(t, this.primitives), Ul(t, this.scaledPrimitives);
8950
+ this.splitDirection = t, ql(t, this.primitives), ql(t, this.scaledPrimitives);
8951
8951
  }
8952
8952
  /**
8953
8953
  * Clears all collections and maps
@@ -9043,7 +9043,7 @@ class W0 extends ts {
9043
9043
  this._featureToAdd.delete(e), this._addFeature(e), this._context.clearFeatureCache(s);
9044
9044
  }
9045
9045
  async activate() {
9046
- this.active || (await super.activate(), this.active && (this._addFeatures([...this._featureToAdd]), this._featureToAdd.clear(), this._rootCollection.show = !0, this._featureVisibilityListeners.length === 0 && (this._featureVisibilityListeners = Ao(this.featureVisibility, this.source, this.globalHider))));
9046
+ this.active || (await super.activate(), this.active && (this._addFeatures([...this._featureToAdd]), this._featureToAdd.clear(), this._rootCollection.show = !0, this._featureVisibilityListeners.length === 0 && (this._featureVisibilityListeners = Fo(this.featureVisibility, this.source, this.globalHider))));
9047
9047
  }
9048
9048
  deactivate() {
9049
9049
  super.deactivate(), this._rootCollection.show = !1, this._featureVisibilityListeners.forEach((e) => {
@@ -9095,16 +9095,16 @@ function fi(i, t) {
9095
9095
  const rs = {};
9096
9096
  async function Mr(i, t, e) {
9097
9097
  if (!rs[i])
9098
- return rs[i] = await tl.fromUrl(fi(i, e), t), rs[i];
9098
+ return rs[i] = await il.fromUrl(fi(i, e), t), rs[i];
9099
9099
  let s = rs[i];
9100
- return (t.requestVertexNormals !== void 0 && s.requestVertexNormals !== t.requestVertexNormals || t.requestWaterMask !== void 0 && s.requestWaterMask !== t.requestWaterMask) && (rs[i] = await tl.fromUrl(fi(i, e), t), s = rs[i]), s;
9100
+ return (t.requestVertexNormals !== void 0 && s.requestVertexNormals !== t.requestVertexNormals || t.requestWaterMask !== void 0 && s.requestWaterMask !== t.requestWaterMask) && (rs[i] = await il.fromUrl(fi(i, e), t), s = rs[i]), s;
9101
9101
  }
9102
9102
  function Ds(i, t, e, s) {
9103
9103
  const r = e ? Fe(e.proj, oe.proj) : null, n = t.map((o) => {
9104
9104
  const l = r ? r(o, o.slice(), o.length) : o;
9105
9105
  return se.fromDegrees(l[0], l[1]);
9106
9106
  }), a = s || t.map((o) => o.slice());
9107
- return ta(i, n).then((o) => (o.forEach((l, c) => {
9107
+ return ia(i, n).then((o) => (o.forEach((l, c) => {
9108
9108
  a[c][2] = l.height || 0;
9109
9109
  }), a));
9110
9110
  }
@@ -9112,14 +9112,14 @@ function X0(i, t, e) {
9112
9112
  const s = i.tilingScheme.positionToTileXY(e, t, new j());
9113
9113
  return !!i.getTileDataAvailable(s.x, s.y, t);
9114
9114
  }
9115
- let Ia = new j(), La = new j();
9116
- function Wl(i, t = !1) {
9115
+ let La = new j(), Ta = new j();
9116
+ function Xl(i, t = !1) {
9117
9117
  const e = i.slice(), s = ar(e);
9118
9118
  let n = [
9119
- yo(s),
9119
+ _o(s),
9120
9120
  Gh(s),
9121
9121
  kh(s),
9122
- ea(s)
9122
+ ta(s)
9123
9123
  ].map((a) => {
9124
9124
  let o = 0, l = 1 / 0;
9125
9125
  return e.forEach((c, d) => {
@@ -9130,9 +9130,9 @@ function Wl(i, t = !1) {
9130
9130
  return t === ve.EAST ? n = [n[3], n[0], n[1], n[2]] : t === ve.SOUTH ? n = [n[2], n[3], n[0], n[1]] : t === ve.WEST && (n = [n[1], n[2], n[3], n[0]]), n;
9131
9131
  }
9132
9132
  function Vs(i, t) {
9133
- return Ia = j.fromElements(i[0], i[1], Ia), La = j.fromElements(t[0], t[1], La), j.angleBetween(Ia, La);
9133
+ return La = j.fromElements(i[0], i[1], La), Ta = j.fromElements(t[0], t[1], Ta), j.angleBetween(La, Ta);
9134
9134
  }
9135
- function Xl(i, t) {
9135
+ function Yl(i, t) {
9136
9136
  const [[e, s], [r, n]] = i, [[a, o], [l, c]] = t;
9137
9137
  let d, u;
9138
9138
  const f = {
@@ -9148,14 +9148,14 @@ function Xl(i, t) {
9148
9148
  return d = m / g, u = p / g, f.x = e + d * (r - e), f.y = s + d * (n - s), d > 0 && d < 1 && (f.onLine1 = !0), u > 0 && u < 1 && (f.onLine2 = !0), f;
9149
9149
  }
9150
9150
  function Y0(i, t, e, s, r) {
9151
- const n = Wl(i, e ? !1 : r), a = Wl(t, e ? r : !1), o = [];
9151
+ const n = Xl(i, e ? !1 : r), a = Xl(t, e ? r : !1), o = [];
9152
9152
  for (let d = 0; d < n.length; ++d) {
9153
9153
  const u = [];
9154
9154
  for (let m = 0; m < n.length; ++m) {
9155
9155
  const p = m === n.length - 1 ? 0 : m + 1;
9156
9156
  if (d === m || d === p || m === 3 && p === 0 || m === 1 && p === 2)
9157
9157
  continue;
9158
- const y = Xl([n[d], s], [n[m], n[p]]);
9158
+ const y = Yl([n[d], s], [n[m], n[p]]);
9159
9159
  if (y.x == null || y.y == null)
9160
9160
  continue;
9161
9161
  const S = [
@@ -9232,7 +9232,7 @@ function Y0(i, t, e, s, r) {
9232
9232
  C[0] - a[u[1].cornerPoint][0],
9233
9233
  C[1] - a[u[1].cornerPoint][1]
9234
9234
  ];
9235
- return !(Vs(M, x) == null || (c = Xl([a[u[0].cornerPoint], p], [a[u[1].cornerPoint], C]), c.x == null || c.y == null));
9235
+ return !(Vs(M, x) == null || (c = Yl([a[u[0].cornerPoint], p], [a[u[1].cornerPoint], C]), c.x == null || c.y == null));
9236
9236
  }), c;
9237
9237
  }
9238
9238
  function zw(i, t, e = {}) {
@@ -9312,7 +9312,7 @@ async function J0(i, t, e) {
9312
9312
  let a = Fe(B.proj, e.meta.projection.proj), o = [];
9313
9313
  if (e.meta.terrainProvider) {
9314
9314
  const l = n.map((c) => (k.mercatorToWgs84(c, !0), se.fromDegrees(c[0], c[1])));
9315
- a = Fe(oe.proj, e.meta.projection.proj), o = await ta(e.meta.terrainProvider, l);
9315
+ a = Fe(oe.proj, e.meta.projection.proj), o = await ia(e.meta.terrainProvider, l);
9316
9316
  }
9317
9317
  return n.forEach((l, c) => {
9318
9318
  a(l, l, 3);
@@ -9326,14 +9326,14 @@ function Q0(i, t, e) {
9326
9326
  }));
9327
9327
  return Promise.all(n).then(() => (delete t[je], t.setCoordinates(s), t));
9328
9328
  }
9329
- function Yl(i, t = !1) {
9329
+ function Zl(i, t = !1) {
9330
9330
  const e = i.getGeometry();
9331
9331
  if ((e.get("_vcsGeomType") === "bbox" || e.get("_vcsGeomType") === "rectangle") && t)
9332
9332
  return e;
9333
9333
  const r = e instanceof bt, n = qc(e);
9334
9334
  return n[rr] = r, n;
9335
9335
  }
9336
- function Zl(i, t) {
9336
+ function Kl(i, t) {
9337
9337
  const e = i.getGeometry(), s = i.getGeometry().clone();
9338
9338
  t.setGeometry(e[je] ? s : qc(s)), e[je] && t.getGeometry().setProperties(i.getGeometry().getProperties(), !1), i[xt] = t.getGeometry();
9339
9339
  }
@@ -9431,22 +9431,22 @@ class gu extends ev {
9431
9431
  }
9432
9432
  async activate() {
9433
9433
  var e;
9434
- this.active || (await super.activate(), this.active && (this.olLayer.setVisible(!0), this._featureVisibilityListeners.length === 0 && (this._featureVisibilityListeners = Ao(this.featureVisibility, this.source, this.globalHider)), this._addSourceListeners(), this._imageChangedListener = (e = this.map.imageChanged) == null ? void 0 : e.addEventListener(this._onObliqueImageChanged.bind(this)), this._fetchFeaturesInView()));
9434
+ this.active || (await super.activate(), this.active && (this.olLayer.setVisible(!0), this._featureVisibilityListeners.length === 0 && (this._featureVisibilityListeners = Fo(this.featureVisibility, this.source, this.globalHider)), this._addSourceListeners(), this._imageChangedListener = (e = this.map.imageChanged) == null ? void 0 : e.addEventListener(this._onObliqueImageChanged.bind(this)), this._fetchFeaturesInView()));
9435
9435
  }
9436
9436
  async addFeature(e) {
9437
9437
  if (this.active || (this.fetchedFeaturesForImageName = null), this.active && this.currentExtent) {
9438
9438
  const s = e.getId(), r = e.getGeometry();
9439
- if (e[oa])
9439
+ if (e[la])
9440
9440
  return r && !this.obliqueSource.getFeatureById(s) && this.obliqueSource.addFeature(e), Promise.resolve();
9441
9441
  if (this.obliqueSource.getFeatureById(s) || this._updatingOblique[s])
9442
9442
  return Promise.resolve();
9443
9443
  const n = new ae({});
9444
- n.setId(s), n[zn] = e, Zl(e, n), n.setStyle(e.getStyle()), this._setFeatureListeners(e, n), await this._convertToOblique(e, n), this.source.hasFeature(e) && this.obliqueSource.addFeature(n);
9444
+ n.setId(s), n[zn] = e, Kl(e, n), n.setStyle(e.getStyle()), this._setFeatureListeners(e, n), await this._convertToOblique(e, n), this.source.hasFeature(e) && this.obliqueSource.addFeature(n);
9445
9445
  }
9446
9446
  return Promise.resolve();
9447
9447
  }
9448
9448
  _originalGeometryChanged(e, s, r) {
9449
- re(e.originalGeometryChanged), re(e.obliqueGeometryChanged), Zl(s, r), this.updateObliqueGeometry(s, r), e.originalGeometryChanged = s.getGeometry().on("change", this.updateObliqueGeometry.bind(this, s, r)), e.obliqueGeometryChanged = r.getGeometry().on("change", this.updateMercatorGeometry.bind(this, s, r));
9449
+ re(e.originalGeometryChanged), re(e.obliqueGeometryChanged), Kl(s, r), this.updateObliqueGeometry(s, r), e.originalGeometryChanged = s.getGeometry().on("change", this.updateObliqueGeometry.bind(this, s, r)), e.obliqueGeometryChanged = r.getGeometry().on("change", this.updateMercatorGeometry.bind(this, s, r));
9450
9450
  }
9451
9451
  _setFeatureListeners(e, s) {
9452
9452
  const r = s.getId(), n = {
@@ -9488,9 +9488,9 @@ class gu extends ev {
9488
9488
  this._updatingMercator[r] != null && clearTimeout(this._updatingMercator[r]);
9489
9489
  const n = this.fetchedFeaturesForImageName;
9490
9490
  this._updatingMercator[r] = setTimeout(async () => {
9491
- const a = Yl(e, !1);
9491
+ const a = Zl(e, !1);
9492
9492
  a[rr] && e.setGeometry(a);
9493
- const o = Yl(s, !0);
9493
+ const o = Zl(s, !0);
9494
9494
  this._updatingMercator[r] = !0, await Q0(o, a, this.map.collection.getImageByName(n)), this._updatingMercator[r] = null;
9495
9495
  }, 200);
9496
9496
  }
@@ -9542,9 +9542,9 @@ class gu extends ev {
9542
9542
  }), this._clearCurrentImage(), super.destroy();
9543
9543
  }
9544
9544
  }
9545
- const zo = Symbol("isDefaultImage");
9545
+ const Ho = Symbol("isDefaultImage");
9546
9546
  var Mw;
9547
- class Ho {
9547
+ class jo {
9548
9548
  constructor(t) {
9549
9549
  /**
9550
9550
  * Name of the image
@@ -9617,7 +9617,7 @@ class Ho {
9617
9617
  transformRealWorld2Image(t, e) {
9618
9618
  if (!this.meta.principalPoint)
9619
9619
  return this._transformNoCamera(t, !1, e);
9620
- const s = e || this.averageHeight, r = new il(t[0], t[1], s, 1), n = R.multiplyByVector(this.pToImage, r, new il()), a = [n.x / n.z, n.y / n.z], o = [
9620
+ const s = e || this.averageHeight, r = new sl(t[0], t[1], s, 1), n = R.multiplyByVector(this.pToImage, r, new sl()), a = [n.x / n.z, n.y / n.z], o = [
9621
9621
  a[0],
9622
9622
  this.meta.size[1] - a[1]
9623
9623
  ];
@@ -9655,7 +9655,7 @@ class Ho {
9655
9655
  return Promise.resolve();
9656
9656
  }
9657
9657
  }
9658
- Mw = zo;
9658
+ Mw = Ho;
9659
9659
  class Sn {
9660
9660
  constructor(t) {
9661
9661
  /**
@@ -9715,9 +9715,9 @@ class Sn {
9715
9715
  return t.slice();
9716
9716
  }
9717
9717
  }
9718
- let Kl = 0;
9718
+ let Jl = 0;
9719
9719
  function tv() {
9720
- return Kl += 1, Kl;
9720
+ return Jl += 1, Jl;
9721
9721
  }
9722
9722
  function mu(i) {
9723
9723
  var e, s, r;
@@ -9769,7 +9769,7 @@ function iv(i, t, e, s, r) {
9769
9769
  ...d
9770
9770
  })), c;
9771
9771
  }
9772
- function Jl(i, t) {
9772
+ function Ql(i, t) {
9773
9773
  const e = i.images[0], s = {
9774
9774
  name: e.indexOf("name"),
9775
9775
  width: e.indexOf("width"),
@@ -9799,7 +9799,7 @@ function Jl(i, t) {
9799
9799
  (!f.size || f.size[0] === 0 && f.size[1] === 0) && (n[s.height] && n[s.width] ? f.size = [
9800
9800
  n[s.width],
9801
9801
  n[s.height]
9802
- ] : console.error("missing image meta size")), f.tileResolution || (n[s.tileResolution] ? f.tileResolution = n[s.tileResolution] : console.error("missing image meta tileResolution")), r[a - 1] = new Ho({
9802
+ ] : console.error("missing image meta size")), f.tileResolution || (n[s.tileResolution] ? f.tileResolution = n[s.tileResolution] : console.error("missing image meta tileResolution")), r[a - 1] = new jo({
9803
9803
  name: n[s.name],
9804
9804
  viewDirection: n[s.viewDirection],
9805
9805
  viewDirectionAngle: n[s.viewDirectionAngle],
@@ -9831,7 +9831,7 @@ function sv(i, t) {
9831
9831
  const b = X.multiply(M, w, new X()), L = R.fromRotationTranslation(S, _.ZERO, new R()), F = _.fromArray(l), q = R.fromTranslation(_.multiplyByScalar(F, -1, new _()), new R()), te = R.fromRotationTranslation(C, _.ZERO, new R()), $ = R.multiply(L, R.multiply(te, q, new R()), new R());
9832
9832
  p.projectionCenter = F, p.pToRealworld = b, p.pToImage = $;
9833
9833
  }
9834
- return new Ho(p);
9834
+ return new jo(p);
9835
9835
  });
9836
9836
  }
9837
9837
  async function Wr(i, t) {
@@ -9846,7 +9846,7 @@ async function qi(i, t) {
9846
9846
  async function rv(i, t) {
9847
9847
  return (await Wr(i, t)).arrayBuffer();
9848
9848
  }
9849
- async function jo(i, t) {
9849
+ async function Vo(i, t) {
9850
9850
  const s = await (await Wr(i, t)).blob();
9851
9851
  return URL.createObjectURL(s);
9852
9852
  }
@@ -9861,7 +9861,7 @@ var ge;
9861
9861
  function wn(i) {
9862
9862
  return i.some((t) => t === ge.PENDING) ? ge.PENDING : i.some((t) => t === ge.LOADING) ? ge.LOADING : ge.READY;
9863
9863
  }
9864
- class Ql {
9864
+ class eh {
9865
9865
  constructor(t, e, s, r) {
9866
9866
  h(this, "url");
9867
9867
  h(this, "baseUrl");
@@ -9948,7 +9948,7 @@ class Ql {
9948
9948
  });
9949
9949
  else {
9950
9950
  let r = [];
9951
- e >= 3.5 || e === 3.4 && s > 36 ? r = Jl(t, this._imageMetas) : (e >= 3.1 || e === null) && (r = sv(t, this._imageMetas)), r.length > 0 && (this._images = r, this.imagesLoaded.raiseEvent({ images: r }));
9951
+ e >= 3.5 || e === 3.4 && s > 36 ? r = Ql(t, this._imageMetas) : (e >= 3.1 || e === void 0) && (r = sv(t, this._imageMetas)), r.length > 0 && (this._images = r, this.imagesLoaded.raiseEvent({ images: r }));
9952
9952
  }
9953
9953
  }
9954
9954
  _getClosestTileCoordinate(t) {
@@ -9999,7 +9999,7 @@ class Ql {
9999
9999
  return Promise.resolve();
10000
10000
  this._tiles.set(t, ge.LOADING);
10001
10001
  const e = Gt(this.url, this._headers), s = qi(`${this.baseUrl}/${t}.json`, e).then((r) => {
10002
- const n = Jl(r, this._imageMetas);
10002
+ const n = Ql(r, this._imageMetas);
10003
10003
  n.length > 0 && (this._images = this._images.concat(n), this.imagesLoaded.raiseEvent({
10004
10004
  images: n,
10005
10005
  tileCoordinate: t
@@ -10034,10 +10034,10 @@ class Ql {
10034
10034
  return this.projection && (t.projection = this.projection.toJSON()), this._terrainProviderOptions && (t.terrainProvider = { ...this._terrainProviderOptions }), this._headers && (t.headers = this._headers), t;
10035
10035
  }
10036
10036
  }
10037
- function ua(i) {
10037
+ function da(i) {
10038
10038
  return function(e, s) {
10039
10039
  const r = e.getImage(), n = Gt(s, i);
10040
- jo(s, n).then((a) => {
10040
+ Vo(s, n).then((a) => {
10041
10041
  r.src = a, r.onload = () => {
10042
10042
  URL.revokeObjectURL(a);
10043
10043
  };
@@ -10046,15 +10046,15 @@ function ua(i) {
10046
10046
  });
10047
10047
  };
10048
10048
  }
10049
- let Ta = "";
10049
+ let Na = "";
10050
10050
  function nv() {
10051
- if (!Ta) {
10051
+ if (!Na) {
10052
10052
  const i = document.createElement("canvas");
10053
10053
  i.height = 512, i.width = 512;
10054
10054
  const t = i.getContext("2d");
10055
- t.fillStyle = "#409D76", t.fillRect(0, 0, 512, 512), t.font = "bold 46px Monospace, Courier New", t.fillStyle = "#424242", t.textAlign = "center", t.fillText("No Image", 256, 256), Ta = i.toDataURL("png");
10055
+ t.fillStyle = "#409D76", t.fillRect(0, 0, 512, 512), t.font = "bold 46px Monospace, Courier New", t.fillStyle = "#424242", t.textAlign = "center", t.fillText("No Image", 256, 256), Na = i.toDataURL("png");
10056
10056
  }
10057
- return Ta;
10057
+ return Na;
10058
10058
  }
10059
10059
  class av {
10060
10060
  constructor(t, e) {
@@ -10079,7 +10079,7 @@ class av {
10079
10079
  units: "pixels",
10080
10080
  extent: r
10081
10081
  }), a = this.maxZoom > 0 ? this.maxZoom : this.tileResolution.length + 4, o = Math.log(2) / Math.log(this.scaleFactor);
10082
- this._view = new po({
10082
+ this._view = new yo({
10083
10083
  projection: n,
10084
10084
  center: [this.size[0] / 2, this.size[1] / 2],
10085
10085
  constrainOnlyCenter: !0,
@@ -10098,7 +10098,7 @@ class av {
10098
10098
  tileSize: this.tileSize
10099
10099
  })
10100
10100
  };
10101
- Zt.contains(this.url) ? l.crossOrigin = "use-credentials" : Kt(this.url) || (l.crossOrigin = "anonymous"), this._headers && (l.tileLoadFunction = ua(this._headers)), this._tileImageSource = new ed(l), this._layer = new Es({
10101
+ Zt.contains(this.url) ? l.crossOrigin = "use-credentials" : Kt(this.url) || (l.crossOrigin = "anonymous"), this._headers && (l.tileLoadFunction = da(this._headers)), this._tileImageSource = new ed(l), this._layer = new Es({
10102
10102
  source: this.tileImageSource,
10103
10103
  extent: r
10104
10104
  });
@@ -10144,7 +10144,7 @@ class av {
10144
10144
  this._view = void 0, this._layer = void 0, this.tileImageSource.clear(), this._tileImageSource = void 0;
10145
10145
  }
10146
10146
  }
10147
- function eh(i, t) {
10147
+ function th(i, t) {
10148
10148
  return i < 0 ? 0 : i > t ? t : i;
10149
10149
  }
10150
10150
  class ov {
@@ -10269,12 +10269,12 @@ class ov {
10269
10269
  let r;
10270
10270
  this._viewCache.has(t.meta) ? r = this._viewCache.get(t.meta) : (r = new av(t.meta, this._collection.viewOptions), this._viewCache.set(t.meta, r));
10271
10271
  const n = this._currentView;
10272
- this._currentView = r, s && this._currentView.setImageName(this._currentImage.name, this._currentImage[zo]);
10272
+ this._currentView = r, s && this._currentView.setImageName(this._currentImage.name, this._currentImage[Ho]);
10273
10273
  const [a, o] = this._currentImage.meta.size;
10274
10274
  let l = [a / 2, o / 2];
10275
10275
  if (e) {
10276
10276
  const c = Fe(B.proj, this._currentImage.meta.projection.proj)(e.slice(0, 2), void 0, void 0), d = this._currentImage.transformRealWorld2Image(c, e[2]);
10277
- d[0] = eh(d[0], a), d[1] = eh(d[1], o), l = d;
10277
+ d[0] = th(d[0], a), d[1] = th(d[1], o), l = d;
10278
10278
  }
10279
10279
  return this._currentView.view.setCenter(l), this._active && this._setCurrentView(n), this._loadingImage = null, s && this.imageChanged.raiseEvent(t), !0;
10280
10280
  }
@@ -10282,7 +10282,7 @@ class ov {
10282
10282
  this._currentView && (t && t === this._currentView || (t && this._olMap.removeLayer(t.layer), this._olMap.getView() && this._olMap.getView().getResolution() && this._currentView.view.setResolution(this._olMap.getView().getResolution()), this._olMap.setView(this._currentView.view), this._olMap.getLayers().insertAt(0, this._currentView.layer)));
10283
10283
  }
10284
10284
  _removeCurrentView() {
10285
- this._currentView && (this._olMap.getView() === this._currentView.view && this._olMap.setView(new po()), this._olMap.removeLayer(this._currentView.layer));
10285
+ this._currentView && (this._olMap.getView() === this._currentView.view && this._olMap.setView(new yo()), this._olMap.removeLayer(this._currentView.layer));
10286
10286
  }
10287
10287
  /**
10288
10288
  * Sets a new image based on a ground coordinate and a direction.
@@ -10358,7 +10358,7 @@ function $s(i, t, e) {
10358
10358
  function hv(i, t) {
10359
10359
  return i < t ? -1 : i > t ? 1 : 0;
10360
10360
  }
10361
- class uo {
10361
+ class fo {
10362
10362
  constructor(t = 9) {
10363
10363
  this._maxEntries = Math.max(4, t), this._minEntries = Math.max(2, Math.ceil(this._maxEntries * 0.4)), this.clear();
10364
10364
  }
@@ -10374,7 +10374,7 @@ class uo {
10374
10374
  for (; e; ) {
10375
10375
  for (let a = 0; a < e.children.length; a++) {
10376
10376
  const o = e.children[a], l = e.leaf ? r(o) : o;
10377
- ln(t, l) && (e.leaf ? s.push(o) : Da(t, l) ? this._all(o, s) : n.push(o));
10377
+ ln(t, l) && (e.leaf ? s.push(o) : Aa(t, l) ? this._all(o, s) : n.push(o));
10378
10378
  }
10379
10379
  e = n.pop();
10380
10380
  }
@@ -10389,7 +10389,7 @@ class uo {
10389
10389
  for (let r = 0; r < e.children.length; r++) {
10390
10390
  const n = e.children[r], a = e.leaf ? this.toBBox(n) : n;
10391
10391
  if (ln(t, a)) {
10392
- if (e.leaf || Da(t, a))
10392
+ if (e.leaf || Aa(t, a))
10393
10393
  return !0;
10394
10394
  s.push(n);
10395
10395
  }
@@ -10438,7 +10438,7 @@ class uo {
10438
10438
  if (d !== -1)
10439
10439
  return s.children.splice(d, 1), n.push(s), this._condense(n), this;
10440
10440
  }
10441
- !c && !s.leaf && Da(s, r) ? (n.push(s), a.push(o), o = 0, l = s, s = s.children[0]) : l ? (o++, s = l.children[o], c = !1) : s = null;
10441
+ !c && !s.leaf && Aa(s, r) ? (n.push(s), a.push(o), o = 0, l = s, s = s.children[0]) : l ? (o++, s = l.children[o], c = !1) : s = null;
10442
10442
  }
10443
10443
  return this;
10444
10444
  }
@@ -10470,10 +10470,10 @@ class uo {
10470
10470
  return o = ls(t.slice(e, s + 1)), ns(o, this.toBBox), o;
10471
10471
  r || (r = Math.ceil(Math.log(n) / Math.log(a)), a = Math.ceil(n / Math.pow(a, r - 1))), o = ls([]), o.leaf = !1, o.height = r;
10472
10472
  const l = Math.ceil(n / a), c = l * Math.ceil(Math.sqrt(a));
10473
- th(t, e, s, c, this.compareMinX);
10473
+ ih(t, e, s, c, this.compareMinX);
10474
10474
  for (let d = e; d <= s; d += c) {
10475
10475
  const u = Math.min(d + c - 1, s);
10476
- th(t, d, u, l, this.compareMinY);
10476
+ ih(t, d, u, l, this.compareMinY);
10477
10477
  for (let f = d; f <= u; f += l) {
10478
10478
  const g = Math.min(f + l - 1, u);
10479
10479
  o.children.push(this._build(t, f, g, r - 1));
@@ -10485,7 +10485,7 @@ class uo {
10485
10485
  for (; r.push(e), !(e.leaf || r.length - 1 === s); ) {
10486
10486
  let n = 1 / 0, a = 1 / 0, o;
10487
10487
  for (let l = 0; l < e.children.length; l++) {
10488
- const c = e.children[l], d = Na(c), u = fv(t, c) - d;
10488
+ const c = e.children[l], d = Da(c), u = fv(t, c) - d;
10489
10489
  u < a ? (a = u, n = d < n ? d : n, o = c) : u === a && d < n && (n = d, o = c);
10490
10490
  }
10491
10491
  e = o || e.children[0];
@@ -10511,7 +10511,7 @@ class uo {
10511
10511
  _chooseSplitIndex(t, e, s) {
10512
10512
  let r, n = 1 / 0, a = 1 / 0;
10513
10513
  for (let o = e; o <= s - e; o++) {
10514
- const l = Js(t, 0, o, this.toBBox), c = Js(t, o, s, this.toBBox), d = gv(l, c), u = Na(l) + Na(c);
10514
+ const l = Js(t, 0, o, this.toBBox), c = Js(t, o, s, this.toBBox), d = gv(l, c), u = Da(l) + Da(c);
10515
10515
  d < n ? (n = d, r = o, a = u < a ? u : a) : d === n && u < a && (a = u, r = o);
10516
10516
  }
10517
10517
  return r || s - e;
@@ -10573,7 +10573,7 @@ function uv(i, t) {
10573
10573
  function dv(i, t) {
10574
10574
  return i.minY - t.minY;
10575
10575
  }
10576
- function Na(i) {
10576
+ function Da(i) {
10577
10577
  return (i.maxX - i.minX) * (i.maxY - i.minY);
10578
10578
  }
10579
10579
  function on(i) {
@@ -10586,7 +10586,7 @@ function gv(i, t) {
10586
10586
  const e = Math.max(i.minX, t.minX), s = Math.max(i.minY, t.minY), r = Math.min(i.maxX, t.maxX), n = Math.min(i.maxY, t.maxY);
10587
10587
  return Math.max(0, r - e) * Math.max(0, n - s);
10588
10588
  }
10589
- function Da(i, t) {
10589
+ function Aa(i, t) {
10590
10590
  return i.minX <= t.minX && i.minY <= t.minY && t.maxX <= i.maxX && t.maxY <= i.maxY;
10591
10591
  }
10592
10592
  function ln(i, t) {
@@ -10603,7 +10603,7 @@ function ls(i) {
10603
10603
  maxY: -1 / 0
10604
10604
  };
10605
10605
  }
10606
- function th(i, t, e, s, r) {
10606
+ function ih(i, t, e, s, r) {
10607
10607
  const n = [t, e];
10608
10608
  for (; n.length; ) {
10609
10609
  if (e = n.pop(), t = n.pop(), e - t <= s)
@@ -10612,7 +10612,7 @@ function th(i, t, e, s, r) {
10612
10612
  lv(i, a, t, e, r), n.push(t, a, a, e);
10613
10613
  }
10614
10614
  }
10615
- var Vo = { exports: {} }, yu = { exports: {} };
10615
+ var $o = { exports: {} }, yu = { exports: {} };
10616
10616
  (function(i, t) {
10617
10617
  (function(e, s) {
10618
10618
  i.exports = s();
@@ -10655,8 +10655,8 @@ var Vo = { exports: {} }, yu = { exports: {} };
10655
10655
  });
10656
10656
  })(yu);
10657
10657
  var mv = yu.exports, pv = mv;
10658
- Vo.exports = _u;
10659
- Vo.exports.default = _u;
10658
+ $o.exports = _u;
10659
+ $o.exports.default = _u;
10660
10660
  function _u(i, t, e, s, r, n) {
10661
10661
  for (var a = i.data, o = [], l = i.toBBox, c, d, u, f, g = new pv(void 0, yv); a; ) {
10662
10662
  for (c = 0; c < a.children.length; c++)
@@ -10676,15 +10676,15 @@ function yv(i, t) {
10676
10676
  return i.dist - t.dist;
10677
10677
  }
10678
10678
  function _v(i, t, e) {
10679
- var s = ih(i, e.minX, e.maxX), r = ih(t, e.minY, e.maxY);
10679
+ var s = sh(i, e.minX, e.maxX), r = sh(t, e.minY, e.maxY);
10680
10680
  return s * s + r * r;
10681
10681
  }
10682
- function ih(i, t, e) {
10682
+ function sh(i, t, e) {
10683
10683
  return i < t ? t - i : i <= e ? 0 : i - e;
10684
10684
  }
10685
- var vv = Vo.exports;
10686
- const sh = /* @__PURE__ */ Ic(vv);
10687
- function rh(i) {
10685
+ var vv = $o.exports;
10686
+ const rh = /* @__PURE__ */ Ic(vv);
10687
+ function nh(i) {
10688
10688
  return i.map((t) => {
10689
10689
  const e = Fe(t.meta.projection.proj, B.proj), s = new ae({
10690
10690
  // error in TransformFunction type definition, remove undefined after openlayer fixed the type
@@ -10696,7 +10696,7 @@ function rh(i) {
10696
10696
  return s.setId(t.name), s;
10697
10697
  });
10698
10698
  }
10699
- function nh(i) {
10699
+ function ah(i) {
10700
10700
  const t = zh();
10701
10701
  return Object.entries(i).map(([e, s]) => {
10702
10702
  const r = e.split("/").map((o) => Number.parseInt(o, 10)), n = t.getTileCoordExtent(r), a = new ae({
@@ -10795,16 +10795,16 @@ class Wi extends kt {
10795
10795
  return [...this._images.values()];
10796
10796
  }
10797
10797
  _createTileFeatureSource() {
10798
- const e = nh(this.getTiles()), s = new lr();
10798
+ const e = ah(this.getTiles()), s = new lr();
10799
10799
  return s.addFeatures(e), s;
10800
10800
  }
10801
10801
  _createImageFeatureSource() {
10802
- const e = rh([...this._images.values()]), s = new lr();
10802
+ const e = nh([...this._images.values()]), s = new lr();
10803
10803
  return s.addFeatures(e), s;
10804
10804
  }
10805
10805
  async _loadDataSet(e) {
10806
10806
  if (await e.load(), this._tileFeatureSource) {
10807
- const s = nh(e.getTiles());
10807
+ const s = ah(e.getTiles());
10808
10808
  this._tileFeatureSource.addFeatures(s);
10809
10809
  }
10810
10810
  }
@@ -10813,7 +10813,7 @@ class Wi extends kt {
10813
10813
  */
10814
10814
  _addDataSet(e) {
10815
10815
  let s;
10816
- e instanceof Ql ? s = e : s = new Ql(e.url, e.projection, e.terrainProvider, e.headers), s.imagesLoaded.addEventListener(({ images: r, tileCoordinate: n }) => {
10816
+ e instanceof eh ? s = e : s = new eh(e.url, e.projection, e.terrainProvider, e.headers), s.imagesLoaded.addEventListener(({ images: r, tileCoordinate: n }) => {
10817
10817
  this._loadImages(r, n);
10818
10818
  }), this._loadImages(s.images), this._dataSets.push(s);
10819
10819
  }
@@ -10847,9 +10847,9 @@ class Wi extends kt {
10847
10847
  name: n.name
10848
10848
  });
10849
10849
  }), r.forEach((n, a) => {
10850
- this._directionTrees.get(a) || this._directionTrees.set(a, new uo()), this._directionTrees.get(a).load(n);
10850
+ this._directionTrees.get(a) || this._directionTrees.set(a, new fo()), this._directionTrees.get(a).load(n);
10851
10851
  }), this._imageFeatureSource) {
10852
- const n = rh(e);
10852
+ const n = nh(e);
10853
10853
  this._imageFeatureSource.addFeatures(n);
10854
10854
  }
10855
10855
  this.imagesLoaded.raiseEvent(e);
@@ -10910,7 +10910,7 @@ class Wi extends kt {
10910
10910
  _getNextImageForCoordinate(e, s) {
10911
10911
  const r = this._directionTrees.get(s);
10912
10912
  if (r) {
10913
- const n = sh(r, e[0], e[1], 1);
10913
+ const n = rh(r, e[0], e[1], 1);
10914
10914
  if (n.length === 1 && n[0].name)
10915
10915
  return this.getImageByName(n[0].name);
10916
10916
  }
@@ -10952,7 +10952,7 @@ class Wi extends kt {
10952
10952
  const n = Fe(B.proj, r.meta.projection.proj), a = e.slice(0, 2);
10953
10953
  n(a, a, void 0);
10954
10954
  const o = ar(r.groundCoordinates);
10955
- return ja(o, a);
10955
+ return Va(o, a);
10956
10956
  }
10957
10957
  return !1;
10958
10958
  }
@@ -10969,7 +10969,7 @@ class Wi extends kt {
10969
10969
  if (n) {
10970
10970
  const a = Fe(e.meta.projection.proj, B.proj), o = e.groundCoordinates.map((f) => a(f.slice(0, 2), void 0, void 0)), l = ar(o);
10971
10971
  await this.loadDataForExtent(Vh(l, 200));
10972
- const c = hr(l), u = sh(n, c[0], c[1], 20).find((f) => {
10972
+ const c = hr(l), u = rh(n, c[0], c[1], 20).find((f) => {
10973
10973
  if (f.name !== e.name) {
10974
10974
  let g = Math.atan2(f.minY - c[1], f.minX - c[0]);
10975
10975
  g <= 0 && (g += Math.PI * 2);
@@ -11017,7 +11017,7 @@ class wv extends Wi {
11017
11017
  [t[0] + 100, t[1] - 100, 0],
11018
11018
  [t[0] + 100, t[1] + 100, 0],
11019
11019
  [t[0] - 100, t[1] + 100, 0]
11020
- ], r = new Ho({
11020
+ ], r = new jo({
11021
11021
  meta: Sv,
11022
11022
  viewDirection: ve.NORTH,
11023
11023
  viewDirectionAngle: 0,
@@ -11025,7 +11025,7 @@ class wv extends Wi {
11025
11025
  groundCoordinates: s,
11026
11026
  centerPointOnGround: t
11027
11027
  });
11028
- return r[zo] = !0, r;
11028
+ return r[Ho] = !0, r;
11029
11029
  }
11030
11030
  }
11031
11031
  const Mv = {
@@ -11034,13 +11034,13 @@ const Mv = {
11034
11034
  [ve.SOUTH]: 180,
11035
11035
  [ve.WEST]: 270,
11036
11036
  [ve.NADIR]: 0
11037
- }, ah = new wv();
11038
- function oh(i) {
11037
+ }, oh = new wv();
11038
+ function lh(i) {
11039
11039
  const { heading: t } = i;
11040
11040
  let e = ve.NORTH;
11041
11041
  return t >= 45 && t < 135 ? e = ve.EAST : t >= 135 && t < 225 ? e = ve.SOUTH : t >= 225 && t < 315 && (e = ve.WEST), e;
11042
11042
  }
11043
- function lh(i) {
11043
+ function hh(i) {
11044
11044
  const t = i.groundPosition ?? i.cameraPosition ?? [0, 0, 0];
11045
11045
  return ki(t, oe.proj, B.proj);
11046
11046
  }
@@ -11104,7 +11104,7 @@ class Ne extends wr {
11104
11104
  this.initializedPromise || (this.initializedPromise = super.initialize().then(async () => {
11105
11105
  this._obliqueProvider = new ov(this.olMap), this.mapChangeEvent = this._mapChangeEvent, this.switchThreshold = this._switchThreshold, this.switchEnabled = this._switchEnabled;
11106
11106
  let e = this._loadingCollection;
11107
- e || (e = ah), e && await this._setCollection(e);
11107
+ e || (e = oh), e && await this._setCollection(e);
11108
11108
  }).then(() => {
11109
11109
  this.initialized = !0;
11110
11110
  })), await this.initializedPromise;
@@ -11129,7 +11129,7 @@ class Ne extends wr {
11129
11129
  }
11130
11130
  async canShowViewpoint(e) {
11131
11131
  if (await this.initialize(), this.collection) {
11132
- const s = oh(e), r = lh(e);
11132
+ const s = lh(e), r = hh(e);
11133
11133
  return this.collection.hasImageAtCoordinate(r, s);
11134
11134
  }
11135
11135
  return !1;
@@ -11143,7 +11143,7 @@ class Ne extends wr {
11143
11143
  if (e) {
11144
11144
  const s = ar(e.groundCoordinates);
11145
11145
  return new xe({
11146
- coordinates: Jo(s, e.meta.projection.proj, B.proj),
11146
+ coordinates: Qo(s, e.meta.projection.proj, B.proj),
11147
11147
  projection: B.toJSON()
11148
11148
  });
11149
11149
  }
@@ -11173,7 +11173,7 @@ class Ne extends wr {
11173
11173
  async _setCollection(e, s) {
11174
11174
  var n;
11175
11175
  this._loadingCollection = e, this._activeCollectionDestroyedListener(), this._activeCollectionDestroyedListener = e.destroyed.addEventListener(() => {
11176
- this._setCollection(ah);
11176
+ this._setCollection(oh);
11177
11177
  }), await e.load();
11178
11178
  const r = s || await this.getViewpoint();
11179
11179
  this._loadingCollection === e && ((n = this._obliqueProvider) == null || n.setCollection(e), this.collectionChanged.raiseEvent(e), r && await this.gotoViewpoint(r));
@@ -11223,7 +11223,7 @@ class Ne extends wr {
11223
11223
  async gotoViewpoint(e) {
11224
11224
  if (this.movementApiCallsDisabled || !this.olMap || !this._obliqueProvider || !e.isValid())
11225
11225
  return;
11226
- const s = oh(e), r = lh(e), { distance: n } = e;
11226
+ const s = lh(e), r = hh(e), { distance: n } = e;
11227
11227
  if (await this._obliqueProvider.setView(r, s), this._obliqueProvider.currentImage) {
11228
11228
  const a = K0(this.olMap, this._obliqueProvider.currentImage, n);
11229
11229
  this.olMap.getView().setZoom(a);
@@ -11233,7 +11233,7 @@ class Ne extends wr {
11233
11233
  const s = this.currentImage;
11234
11234
  if (!s || !this.active)
11235
11235
  return !1;
11236
- const n = this.olMap.getView().calculateExtent(this.olMap.getSize()), a = s.transformImage2RealWorld([n[0], n[1]]), o = s.transformImage2RealWorld([n[2], n[3]]), l = [a[0], a[1], o[0], o[1]], c = Jo(l, s.meta.projection.proj, oe.proj);
11236
+ const n = this.olMap.getView().calculateExtent(this.olMap.getSize()), a = s.transformImage2RealWorld([n[0], n[1]]), o = s.transformImage2RealWorld([n[2], n[3]]), l = [a[0], a[1], o[0], o[1]], c = Qo(l, s.meta.projection.proj, oe.proj);
11237
11237
  return Nh(c, e[0], e[1]);
11238
11238
  }
11239
11239
  toJSON() {
@@ -11275,7 +11275,7 @@ class xr {
11275
11275
  h(this, "_terrainHeight", null);
11276
11276
  h(this, "_updatingTerrainHeight", !1);
11277
11277
  const e = xr.getDefaultOptions();
11278
- this.mode = na(t.mode, Ss, e.mode), this._terrainUrl = t.terrainUrl || e.terrainUrl, this.limit = G(t.limit, e.limit), this.level = t.level === null ? null : le(t.level, e.level), this.terrainRequestHeaders = t.terrainRequestHeaders;
11278
+ this.mode = aa(t.mode, Ss, e.mode), this._terrainUrl = t.terrainUrl || e.terrainUrl, this.limit = G(t.limit, e.limit), this.level = t.level === null ? null : le(t.level, e.level), this.terrainRequestHeaders = t.terrainRequestHeaders;
11279
11279
  }
11280
11280
  static get className() {
11281
11281
  return "CameraLimiter";
@@ -11304,7 +11304,7 @@ class xr {
11304
11304
  }
11305
11305
  async _limitMostDetailed(t) {
11306
11306
  const e = await Mr(this.terrainUrl, {}, this.terrainRequestHeaders);
11307
- return ta(e, [t]);
11307
+ return ia(e, [t]);
11308
11308
  }
11309
11309
  async _updateTerrainHeight(t) {
11310
11310
  if (!this._updatingTerrainHeight && !t.equalsEpsilon(this.lastCheckedPosition, N.EPSILON5)) {
@@ -11323,10 +11323,10 @@ class xr {
11323
11323
  if (this.mode === Ss.DISTANCE && this.terrainUrl) {
11324
11324
  if (e = this._updateTerrainHeight(s), this._terrainHeight && s.height - this._terrainHeight < this.limit) {
11325
11325
  const r = this._terrainHeight + this.limit;
11326
- se.toCartesian(new se(s.longitude, s.latitude, r), Ya.WGS84, t.position);
11326
+ se.toCartesian(new se(s.longitude, s.latitude, r), Za.WGS84, t.position);
11327
11327
  }
11328
11328
  } else
11329
- s.height < this.limit && se.toCartesian(new se(s.longitude, s.latitude, this.limit), Ya.WGS84, t.position);
11329
+ s.height < this.limit && se.toCartesian(new se(s.longitude, s.latitude, this.limit), Za.WGS84, t.position);
11330
11330
  return e;
11331
11331
  }
11332
11332
  toJSON() {
@@ -11381,7 +11381,7 @@ function xv(i, t, e) {
11381
11381
  function bv(i, t, e) {
11382
11382
  vu(i, t, e);
11383
11383
  }
11384
- function hh(i, t) {
11384
+ function ch(i, t) {
11385
11385
  return t.clockRange = i.clockRange, t.clockStep = i.clockStep, t.multiplier = i.multiplier, (!t.startTime || !t.startTime.equals(i.startTime) || !t.stopTime || !t.stopTime.equals(i.stopTime)) && (t.startTime = i.startTime, t.stopTime = i.stopTime, t.currentTime = i.currentTime), i.definitionChanged.addEventListener((e, s, r) => {
11386
11386
  t[s] = r;
11387
11387
  });
@@ -11506,15 +11506,15 @@ class z extends Li {
11506
11506
  throw new Error("Cannot setup interactions on uninitailized map");
11507
11507
  const e = [
11508
11508
  {
11509
- csModifier: _a.ALT,
11509
+ csModifier: va.ALT,
11510
11510
  vcsModifier: H.ALT
11511
11511
  },
11512
11512
  {
11513
- csModifier: _a.CTRL,
11513
+ csModifier: va.CTRL,
11514
11514
  vcsModifier: H.CTRL
11515
11515
  },
11516
11516
  {
11517
- csModifier: _a.SHIFT,
11517
+ csModifier: va.SHIFT,
11518
11518
  vcsModifier: H.SHIFT
11519
11519
  },
11520
11520
  { csModifier: void 0, vcsModifier: H.NONE }
@@ -11585,9 +11585,9 @@ class z extends Li {
11585
11585
  antialias: this.webGLaa
11586
11586
  }
11587
11587
  }
11588
- }), this._cesiumWidget.scene.globe.tileCacheSize = this.tileCacheSize, this._cesiumWidget.scene.globe.baseColor = this.globeColor, this.dataSourceDisplay = new sl({
11588
+ }), this._cesiumWidget.scene.globe.tileCacheSize = this.tileCacheSize, this._cesiumWidget.scene.globe.baseColor = this.globeColor, this.dataSourceDisplay = new rl({
11589
11589
  scene: this._cesiumWidget.scene,
11590
- dataSourceCollection: new rl()
11590
+ dataSourceCollection: new nl()
11591
11591
  }), this._cesiumWidget.scene.frameState.creditDisplay.update = () => {
11592
11592
  }, this._cesiumWidget.scene.frameState.creditDisplay.beginFrame = () => {
11593
11593
  }, this._cesiumWidget.scene.frameState.creditDisplay.endFrame = () => {
@@ -11642,7 +11642,7 @@ class z extends Li {
11642
11642
  const a = new Kh(e.position, e.direction), o = this._cesiumWidget.scene.globe.pick(a, this._cesiumWidget.scene);
11643
11643
  if (o) {
11644
11644
  n = _.distance(o, s);
11645
- const d = Ya.WGS84.cartesianToCartographic(o);
11645
+ const d = Za.WGS84.cartesianToCartographic(o);
11646
11646
  r = [
11647
11647
  N.toDegrees(d.longitude),
11648
11648
  N.toDegrees(d.latitude),
@@ -11734,7 +11734,7 @@ class z extends Li {
11734
11734
  */
11735
11735
  setDataSourceDisplayClock(e) {
11736
11736
  const s = this._dataSourceClocks[this._dataSourceClocks.length - 1];
11737
- e !== s && (this._clockSyncListener && (this._clockSyncListener(), this._clockSyncListener = null), this._clockSyncListener = hh(e, this.dataSourceDisplayClock)), this._dataSourceClocks.push(e);
11737
+ e !== s && (this._clockSyncListener && (this._clockSyncListener(), this._clockSyncListener = null), this._clockSyncListener = ch(e, this.dataSourceDisplayClock)), this._dataSourceClocks.push(e);
11738
11738
  }
11739
11739
  /**
11740
11740
  * unset dataSource clock
@@ -11743,7 +11743,7 @@ class z extends Li {
11743
11743
  const s = this._dataSourceClocks.lastIndexOf(e);
11744
11744
  if (s > -1 && (this._dataSourceClocks.splice(s, 1), s === this._dataSourceClocks.length)) {
11745
11745
  const r = this._dataSourceClocks[this._dataSourceClocks.length - 1] || this._defaultClock;
11746
- this._clockSyncListener && (this._clockSyncListener(), this._clockSyncListener = null), this._clockSyncListener = hh(r, this.dataSourceDisplayClock);
11746
+ this._clockSyncListener && (this._clockSyncListener(), this._clockSyncListener = null), this._clockSyncListener = ch(r, this.dataSourceDisplayClock);
11747
11747
  }
11748
11748
  }
11749
11749
  /**
@@ -11812,7 +11812,7 @@ class z extends Li {
11812
11812
  return this._clusterDataSourceDisplay.dataSources;
11813
11813
  if (!this._cesiumWidget)
11814
11814
  throw new Error("Cannot get Datasource collection from uninitialized map");
11815
- const e = new rl(), s = (r, n, a) => {
11815
+ const e = new nl(), s = (r, n, a) => {
11816
11816
  const { entities: o } = a;
11817
11817
  return [
11818
11818
  new tf(n, o),
@@ -11820,7 +11820,7 @@ class z extends Li {
11820
11820
  new rf(n, o)
11821
11821
  ];
11822
11822
  };
11823
- return this._clusterDataSourceDisplay = new sl({
11823
+ return this._clusterDataSourceDisplay = new rl({
11824
11824
  scene: this._cesiumWidget.scene,
11825
11825
  dataSourceCollection: e,
11826
11826
  visualizersCallback: s
@@ -12063,7 +12063,7 @@ class rt extends di {
12063
12063
  this.getFeatures().forEach((n) => {
12064
12064
  if (n[lt]) {
12065
12065
  let a;
12066
- r ? (a = !0, n.setStyle(void 0)) : n.getStyle() !== n[lt].style && (a = !0, n.setStyle(n[lt].style)), a && Reflect.has(n, oi) && Do(n);
12066
+ r ? (a = !0, n.setStyle(void 0)) : n.getStyle() !== n[lt].style && (a = !0, n.setStyle(n[lt].style)), a && Reflect.has(n, oi) && Ao(n);
12067
12067
  }
12068
12068
  });
12069
12069
  }
@@ -12273,9 +12273,9 @@ class ri {
12273
12273
  }
12274
12274
  }
12275
12275
  const Ov = "EPSG:3857";
12276
- let Aa;
12277
- function $o() {
12278
- return Aa || (Aa = new $h()), Aa;
12276
+ let Fa;
12277
+ function Bo() {
12278
+ return Fa || (Fa = new $h()), Fa;
12279
12279
  }
12280
12280
  function Ev(i) {
12281
12281
  const { crs: t } = i;
@@ -12301,7 +12301,7 @@ function Pv(i) {
12301
12301
  }
12302
12302
  function Iv(i, t) {
12303
12303
  var s;
12304
- const e = $o().readGeometry(i, t.formatOptions);
12304
+ const e = Bo().readGeometry(i, t.formatOptions);
12305
12305
  return String((s = t.formatOptions) == null ? void 0 : s.featureProjection) === "EPSG:3857" && (e[ui] = !0), Wc(e), new ae({ geometry: e });
12306
12306
  }
12307
12307
  function Su(i, t) {
@@ -12340,12 +12340,12 @@ function Lv(i, t) {
12340
12340
  }
12341
12341
  };
12342
12342
  }
12343
- function ch(i, t) {
12343
+ function uh(i, t) {
12344
12344
  var a;
12345
12345
  if (!i.geometry)
12346
12346
  return null;
12347
12347
  const e = i.geometry.olcs_radius;
12348
- let s = $o().readGeometry(i.geometry, t.formatOptions);
12348
+ let s = Bo().readGeometry(i.geometry, t.formatOptions);
12349
12349
  if (i.radius && s instanceof Dt) {
12350
12350
  const o = s.getCoordinates();
12351
12351
  o.length === 2 && o.push(0), s = new bt(o, i.radius, "XYZ");
@@ -12381,12 +12381,12 @@ function wi(i, t = {}) {
12381
12381
  };
12382
12382
  let a;
12383
12383
  return e.vcsMeta.embeddedIcons && (n.embeddedIcons = e.vcsMeta.embeddedIcons), e.vcsMeta.style && t.dynamicStyle && (e.vcsMeta.style.type === qe.className ? a = new qe(e.vcsMeta.style) : (e.vcsMeta.style = Su(e.vcsMeta.style, n), n.defaultStyle = (n.defaultStyle ?? Ui).clone().assign(new he(e.vcsMeta.style)), a = n.defaultStyle)), {
12384
- features: e.features.map((o) => ch(o, n)).filter((o) => o),
12384
+ features: e.features.map((o) => uh(o, n)).filter((o) => o),
12385
12385
  style: e.vcsMeta.style ? a : void 0,
12386
12386
  vcsMeta: e.vcsMeta ? e.vcsMeta : void 0
12387
12387
  };
12388
12388
  } else if (e.type === "Feature") {
12389
- const a = ch(e, n);
12389
+ const a = uh(e, n);
12390
12390
  return {
12391
12391
  features: a ? [a] : [],
12392
12392
  vcsMeta: e.vcsMeta ? e.vcsMeta : void 0
@@ -12406,17 +12406,17 @@ function br(i, t = {}, e = []) {
12406
12406
  } else if (s instanceof At) {
12407
12407
  const l = s.getCoordinates();
12408
12408
  l.forEach((c) => {
12409
- lo(c);
12409
+ ho(c);
12410
12410
  }), s = new At(l, s.getLayout());
12411
12411
  } else if (s instanceof or) {
12412
12412
  const l = s.getCoordinates();
12413
12413
  l.forEach((c) => {
12414
12414
  c.forEach((d) => {
12415
- lo(d);
12415
+ ho(d);
12416
12416
  });
12417
12417
  }), s = new or(l, s.getLayout());
12418
12418
  }
12419
- const n = $o().writeGeometryObject(s, {
12419
+ const n = Bo().writeGeometryObject(s, {
12420
12420
  featureProjection: Ov,
12421
12421
  rightHanded: !0
12422
12422
  }), a = i.getProperties();
@@ -12441,10 +12441,10 @@ function jw(i, t = {}) {
12441
12441
  return t.asObject ? r : JSON.stringify(r, void 0, t.prettyPrint ? 2 : void 0);
12442
12442
  }
12443
12443
  const Tv = Ue();
12444
- function Bo(i) {
12444
+ function Uo(i) {
12445
12445
  i[Ke] = Tv;
12446
12446
  }
12447
- class uh {
12447
+ class dh {
12448
12448
  /**
12449
12449
  * @param config
12450
12450
  */
@@ -12486,7 +12486,7 @@ function Nv(i, t) {
12486
12486
  }
12487
12487
  t.vectorProperties && i.vectorProperties.setValues(t.vectorProperties), t.zIndex != null && (i.zIndex = t.zIndex);
12488
12488
  }
12489
- function Fa(i, t, e, s) {
12489
+ function Ra(i, t, e, s) {
12490
12490
  if (s == null ? t !== e : s !== t)
12491
12491
  throw new Error(`Cannot merge options, values of ${i} do not match`);
12492
12492
  }
@@ -12510,7 +12510,7 @@ class Mi extends kt {
12510
12510
  h(this, "_moduleRemovedListener", () => {
12511
12511
  });
12512
12512
  const s = Mi.getDefaultConfig();
12513
- this.title = e.title || this.name, this._featureProperty = e.featureProperty || s.featureProperty, this._classRegistryName = e.classRegistryName, this._layerOptions = e.layerOptions || s.layerOptions, this._layer = null, this._featureProperty && (this._layer = new rt(this._layerOptions), Bo(this._layer)), this._keyProperty = e.keyProperty || s.keyProperty, this.setCollection(new Ii(this._keyProperty));
12513
+ this.title = e.title || this.name, this._featureProperty = e.featureProperty || s.featureProperty, this._classRegistryName = e.classRegistryName, this._layerOptions = e.layerOptions || s.layerOptions, this._layer = null, this._featureProperty && (this._layer = new rt(this._layerOptions), Uo(this._layer)), this._keyProperty = e.keyProperty || s.keyProperty, this.setCollection(new Ii(this._keyProperty));
12514
12514
  }
12515
12515
  static get className() {
12516
12516
  return "Category";
@@ -12583,7 +12583,7 @@ class Mi extends kt {
12583
12583
  */
12584
12584
  mergeOptions(e) {
12585
12585
  const s = Mi.getDefaultConfig();
12586
- Fa("classRegistryName", this._classRegistryName, s.classRegistryName, e.classRegistryName), Fa("featureProperty", this._featureProperty, s.featureProperty, e.featureProperty), Fa("keyProperty", this._keyProperty, s.keyProperty, e.keyProperty), this.title = e.title || this.title, e.layerOptions && this._layer && Nv(this._layer, e.layerOptions);
12586
+ Ra("classRegistryName", this._classRegistryName, s.classRegistryName, e.classRegistryName), Ra("featureProperty", this._featureProperty, s.featureProperty, e.featureProperty), Ra("keyProperty", this._keyProperty, s.keyProperty, e.keyProperty), this.title = e.title || this.title, e.layerOptions && this._layer && Nv(this._layer, e.layerOptions);
12587
12587
  }
12588
12588
  /**
12589
12589
  * When setting the category, it MUST use the same uniqueKey as the previous collection (default is "name").
@@ -12597,7 +12597,7 @@ class Mi extends kt {
12597
12597
  throw new Error("The collections key property does not match the categories key property");
12598
12598
  this._collectionListeners.forEach((s) => {
12599
12599
  s();
12600
- }), this._collection && ei(this._collection), this._layer && this._layer.removeAllFeatures(), this._collection = e[ro] ? e : ti(e, this._getDynamicModuleId.bind(this), this._serializeItem.bind(this), this._deserializeItem.bind(this)), [...this.collection].forEach((s) => {
12600
+ }), this._collection && ei(this._collection), this._layer && this._layer.removeAllFeatures(), this._collection = e[no] ? e : ti(e, this._getDynamicModuleId.bind(this), this._serializeItem.bind(this), this._deserializeItem.bind(this)), [...this.collection].forEach((s) => {
12601
12601
  this._itemAdded(s);
12602
12602
  }), this._collectionListeners = [
12603
12603
  this._collection.added.addEventListener(this._itemAdded.bind(this)),
@@ -12645,7 +12645,7 @@ class Mi extends kt {
12645
12645
  }
12646
12646
  }
12647
12647
  Tc.registerClass(Mi.className, Mi);
12648
- function dh() {
12648
+ function fh() {
12649
12649
  return ue("CategoryCollection");
12650
12650
  }
12651
12651
  class Dv extends Ii {
@@ -12694,8 +12694,8 @@ class Dv extends Ii {
12694
12694
  */
12695
12695
  requestCategory(e) {
12696
12696
  if (!e.name)
12697
- return dh().error("Cannot request a category without a name"), null;
12698
- e.type || (dh().warning(`Implicitly typing category ${e.name} as ${Mi.className}`), e.type = Mi.className);
12697
+ return fh().error("Cannot request a category without a name"), null;
12698
+ e.type || (fh().warning(`Implicitly typing category ${e.name} as ${Mi.className}`), e.type = Mi.className);
12699
12699
  let s;
12700
12700
  if (this.hasKey(e.name))
12701
12701
  s = this.getByKey(e.name), s.mergeOptions(e);
@@ -12795,7 +12795,7 @@ class bs extends kt {
12795
12795
  this.style = void 0, this.vectorProperties.destroy(), super.destroy();
12796
12796
  }
12797
12797
  }
12798
- class fo extends bs {
12798
+ class go extends bs {
12799
12799
  /**
12800
12800
  * @param layerName
12801
12801
  * @param options
@@ -12816,14 +12816,14 @@ class fo extends bs {
12816
12816
  this.tileProvider.destroy(), super.destroy();
12817
12817
  }
12818
12818
  }
12819
- Lo.registerClass(fo.className, fo);
12819
+ To.registerClass(go.className, go);
12820
12820
  var We;
12821
12821
  (function(i) {
12822
12822
  i.GEOGRAPHIC = "geographic", i.MERCATOR = "mercator";
12823
12823
  })(We = We || (We = {}));
12824
12824
  function wu(i) {
12825
12825
  const t = {};
12826
- return i.numberOfLevelZeroTilesX && i.numberOfLevelZeroTilesX > 1 && (t.numberOfLevelZeroTilesX = i.numberOfLevelZeroTilesX), i.numberOfLevelZeroTilesY && i.numberOfLevelZeroTilesY > 1 && (t.numberOfLevelZeroTilesY = i.numberOfLevelZeroTilesY), i.tilingSchema === We.MERCATOR ? new So(t) : new tc(t);
12826
+ return i.numberOfLevelZeroTilesX && i.numberOfLevelZeroTilesX > 1 && (t.numberOfLevelZeroTilesX = i.numberOfLevelZeroTilesX), i.numberOfLevelZeroTilesY && i.numberOfLevelZeroTilesY > 1 && (t.numberOfLevelZeroTilesY = i.numberOfLevelZeroTilesY), i.tilingSchema === We.MERCATOR ? new wo(t) : new tc(t);
12827
12827
  }
12828
12828
  function Fv(i, t, e, s = 0) {
12829
12829
  if (!i.isValid())
@@ -12831,10 +12831,10 @@ function Fv(i, t, e, s = 0) {
12831
12831
  const r = i.getCoordinatesInProjection(oe);
12832
12832
  r[1] < -85 && (r[1] = -85), r[3] > 85 && (r[3] = 85);
12833
12833
  const a = [
12834
- yo(r),
12834
+ _o(r),
12835
12835
  Gh(r),
12836
12836
  kh(r),
12837
- ea(r)
12837
+ ta(r)
12838
12838
  ].map((l) => se.fromDegrees(l[0], l[1]));
12839
12839
  let o = s;
12840
12840
  for (; o < e; ) {
@@ -12868,7 +12868,7 @@ class vt extends Ze {
12868
12868
  */
12869
12869
  h(this, "splitDirectionChanged", new E());
12870
12870
  const s = vt.getDefaultOptions();
12871
- this.extent = e.extent ? new xe(e.extent) : new xe(), this.tilingSchema = na(e.tilingSchema, We, s.tilingSchema), this.maxLevel = le(e.maxLevel, s.maxLevel), this._minLevel = le(e.minLevel, s.minLevel);
12871
+ this.extent = e.extent ? new xe(e.extent) : new xe(), this.tilingSchema = aa(e.tilingSchema, We, s.tilingSchema), this.maxLevel = le(e.maxLevel, s.maxLevel), this._minLevel = le(e.minLevel, s.minLevel);
12872
12872
  const r = wu(e);
12873
12873
  this.minLevel = Fv(this.extent, r, this.maxLevel, this._minLevel), this._opacity = Rn(e.opacity, s.opacity, 0, 1), e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? Me.LEFT : Me.RIGHT);
12874
12874
  }
@@ -12934,11 +12934,11 @@ function Mu(i, t) {
12934
12934
  return i === "geographic" ? t === "1.3.0" ? "CRS:84" : "EPSG:4326" : "EPSG:3857";
12935
12935
  }
12936
12936
  function Cu(i) {
12937
- const t = i.tilingSchema === "geographic" ? oe : B, e = t.proj.getExtent(), s = Va(e), r = i.tilingSchema === We.GEOGRAPHIC ? s / (i.tileSize[0] * 2) : s / i.tileSize[0], n = i.maxLevel + 1, a = [];
12937
+ const t = i.tilingSchema === "geographic" ? oe : B, e = t.proj.getExtent(), s = $a(e), r = i.tilingSchema === We.GEOGRAPHIC ? s / (i.tileSize[0] * 2) : s / i.tileSize[0], n = i.maxLevel + 1, a = [];
12938
12938
  for (let c = 0; c < n; ++c)
12939
12939
  a.push(r / 2 ** c);
12940
12940
  const o = {
12941
- origin: ea(e),
12941
+ origin: ta(e),
12942
12942
  resolutions: a,
12943
12943
  tileSize: i.tileSize,
12944
12944
  minZoom: i.minLevel
@@ -12950,7 +12950,7 @@ function Cu(i) {
12950
12950
  params: i.parameters,
12951
12951
  projection: Mu(i.tilingSchema, i.version)
12952
12952
  };
12953
- return Zt.contains(i.url) ? l.crossOrigin = "use-credentials" : Kt(i.url) || (l.crossOrigin = "anonymous"), i.headers && (l.tileLoadFunction = ua(i.headers)), new sd(l);
12953
+ return Zt.contains(i.url) ? l.crossOrigin = "use-credentials" : Kt(i.url) || (l.crossOrigin = "anonymous"), i.headers && (l.tileLoadFunction = da(i.headers)), new sd(l);
12954
12954
  }
12955
12955
  function Rv(i) {
12956
12956
  const t = {
@@ -12960,7 +12960,7 @@ function Rv(i) {
12960
12960
  };
12961
12961
  return Zt.contains(i.url) ? t.crossOrigin = "use-credentials" : Kt(i.url) || (t.crossOrigin = "anonymous"), i.headers && (t.imageLoadFunction = function(s, r) {
12962
12962
  const n = s.getImage(), a = Gt(r, i.headers);
12963
- jo(r, a).then((o) => {
12963
+ Vo(r, a).then((o) => {
12964
12964
  n.src = o, n.onload = () => {
12965
12965
  URL.revokeObjectURL(o);
12966
12966
  };
@@ -12970,9 +12970,9 @@ function Rv(i) {
12970
12970
  }), new rd(t);
12971
12971
  }
12972
12972
  const Gv = {
12973
- GML: Ua,
12974
- GML2: $a,
12975
- GML3: Ua
12973
+ GML: qa,
12974
+ GML2: Ba,
12975
+ GML3: qa
12976
12976
  }, kv = [
12977
12977
  "application/geojson",
12978
12978
  "application/json",
@@ -12981,10 +12981,10 @@ const Gv = {
12981
12981
  ];
12982
12982
  function zv(i, t = {}) {
12983
12983
  if (i === "text/xml") {
12984
- const e = t.gmlFormat ? new Gv[t.gmlFormat]() : new $a();
12985
- return new Ba({ ...t, gmlFormat: e });
12984
+ const e = t.gmlFormat ? new Gv[t.gmlFormat]() : new Ba();
12985
+ return new Ua({ ...t, gmlFormat: e });
12986
12986
  }
12987
- return kv.includes(i) ? new $h(t) : i === "application/vnd.ogc.gml" ? new $a(t) : i === "application/vnd.ogc.gml/3.1.1" || i === "text/xml; subtype=gml/3.1.1" ? new Ua(t) : null;
12987
+ return kv.includes(i) ? new $h(t) : i === "application/vnd.ogc.gml" ? new Ba(t) : i === "application/vnd.ogc.gml/3.1.1" || i === "text/xml; subtype=gml/3.1.1" ? new qa(t) : null;
12988
12988
  }
12989
12989
  class Xi extends bs {
12990
12990
  constructor(e, s) {
@@ -13087,7 +13087,7 @@ class Xi extends bs {
13087
13087
  this._wmsSource = void 0, this.featureFormat = null, this.projection = void 0, this._formatOptions = void 0, super.destroy();
13088
13088
  }
13089
13089
  }
13090
- Lo.registerClass(Xi.className, Xi);
13090
+ To.registerClass(Xi.className, Xi);
13091
13091
  class ce {
13092
13092
  /**
13093
13093
  * @param [defaultActive=EventType.NONE] - A bitmask representing the default to listen to
@@ -13158,7 +13158,7 @@ class ce {
13158
13158
  destroy() {
13159
13159
  }
13160
13160
  }
13161
- class Uo extends ce {
13161
+ class qo extends ce {
13162
13162
  constructor() {
13163
13163
  super(I.ALL, H.ALL, Oe.ALL);
13164
13164
  h(this, "_scratchCartographic", new se());
@@ -13166,7 +13166,7 @@ class Uo extends ce {
13166
13166
  this.setActive();
13167
13167
  }
13168
13168
  async pipe(e) {
13169
- return e.map.className === "CesiumMap" ? this._cesiumHandler(e) : e.map.className === "ObliqueMap" ? Uo.obliqueHandler(e) : e;
13169
+ return e.map.className === "CesiumMap" ? this._cesiumHandler(e) : e.map.className === "ObliqueMap" ? qo.obliqueHandler(e) : e;
13170
13170
  }
13171
13171
  _cesiumHandler(e) {
13172
13172
  const r = e.map.getScene();
@@ -13371,7 +13371,7 @@ class $v {
13371
13371
  h(this, "exclusiveAdded");
13372
13372
  h(this, "_boundKeyListener");
13373
13373
  h(this, "_modifierChanged");
13374
- this._positionInteraction = new Uo(), this._featureInteraction = new Hv(), this._featureProviderInteraction = new jv(), this._interactionChain = new is([
13374
+ this._positionInteraction = new qo(), this._featureInteraction = new Hv(), this._featureProviderInteraction = new jv(), this._interactionChain = new is([
13375
13375
  this._positionInteraction,
13376
13376
  this._featureInteraction,
13377
13377
  this._featureProviderInteraction
@@ -13660,7 +13660,7 @@ class Gi extends ts {
13660
13660
  let f = u.getProperty("id");
13661
13661
  f || (f = `${e.url}${d}`);
13662
13662
  let g = !0;
13663
- this.featureVisibility.highlightedObjects[f] && !this.featureVisibility.hasHighlightFeature(f, u) && (this.featureVisibility.addHighlightFeature(f, u), c.highlight.push([f, u]), g = !1), this.featureVisibility.hiddenObjects[f] && !this.featureVisibility.hasHiddenFeature(f, u) && (this.featureVisibility.addHiddenFeature(f, u), c.hideLocal.push([f, u])), (r = this.globalHider) != null && r.hiddenObjects[f] && !((n = this.globalHider) != null && n.hasFeature(f, u)) && ((a = this.globalHider) == null || a.addFeature(f, u), c.hideGlobal.push([f, u])), g && this._styleLastUpdated > (e[vi] ?? 0) && u[oi] && Do(u);
13663
+ this.featureVisibility.highlightedObjects[f] && !this.featureVisibility.hasHighlightFeature(f, u) && (this.featureVisibility.addHighlightFeature(f, u), c.highlight.push([f, u]), g = !1), this.featureVisibility.hiddenObjects[f] && !this.featureVisibility.hasHiddenFeature(f, u) && (this.featureVisibility.addHiddenFeature(f, u), c.hideLocal.push([f, u])), (r = this.globalHider) != null && r.hiddenObjects[f] && !((n = this.globalHider) != null && n.hasFeature(f, u)) && ((a = this.globalHider) == null || a.addFeature(f, u), c.hideGlobal.push([f, u])), g && this._styleLastUpdated > (e[vi] ?? 0) && u[oi] && Ao(u);
13664
13664
  }
13665
13665
  }
13666
13666
  (c.hideLocal.length > 0 || c.hideGlobal.length > 0 || c.highlight.length > 0) && (e[hn] = () => {
@@ -13786,8 +13786,8 @@ class Uv extends ts {
13786
13786
  let f, g = 0;
13787
13787
  const m = () => {
13788
13788
  const y = r.getBoundingSphere(s, !0, o);
13789
- if (y !== nl.PENDING) {
13790
- if (y === nl.FAILED) {
13789
+ if (y !== al.PENDING) {
13790
+ if (y === al.FAILED) {
13791
13791
  g += 1, g > 3 && f();
13792
13792
  return;
13793
13793
  }
@@ -13947,7 +13947,7 @@ class Yv extends As {
13947
13947
  const $n = new Array(25);
13948
13948
  for (let i = 0; i < $n.length; i++)
13949
13949
  $n[i] = 200375083427892e-7 * 2 / 256 / 2 ** (i + 1);
13950
- function qo(i) {
13950
+ function Wo(i) {
13951
13951
  const t = yt.southwest(i), e = yt.northeast(i), s = [
13952
13952
  N.toDegrees(t.longitude),
13953
13953
  N.toDegrees(t.latitude)
@@ -13964,7 +13964,7 @@ class St extends kt {
13964
13964
  /**
13965
13965
  * Cesium Webmercator TilingScheme
13966
13966
  */
13967
- h(this, "tilingScheme", new So());
13967
+ h(this, "tilingScheme", new wo());
13968
13968
  /**
13969
13969
  * sorted baseLevels, maximumLevel first example: [18,17,16]
13970
13970
  */
@@ -14052,7 +14052,7 @@ class St extends kt {
14052
14052
  a.forEach((l) => {
14053
14053
  l.getId() || l.setId(Ue());
14054
14054
  });
14055
- const o = new uo(a.length);
14055
+ const o = new fo(a.length);
14056
14056
  return o.load(a.map((l) => {
14057
14057
  const c = l.getGeometry();
14058
14058
  if (c) {
@@ -14069,7 +14069,7 @@ class St extends kt {
14069
14069
  }).filter((l) => l)), this.tileLoadedEvent.raiseEvent({ tileId: r, rtree: o }), this._trackFeatures(a, r), this.rtreeCache.set(r, o), o;
14070
14070
  }).catch(() => {
14071
14071
  this.getLogger().warning(`Could not load Tile ${r}`);
14072
- const a = new uo();
14072
+ const a = new fo();
14073
14073
  return this.rtreeCache.set(r, a), a;
14074
14074
  });
14075
14075
  this.cache.get(s).set(r, n), this.cache.get(s).canExpireCache() && await Promise.all([
@@ -14130,7 +14130,7 @@ class St extends kt {
14130
14130
  async getFeaturesByCoordinate(e, s, r) {
14131
14131
  const n = ad(e);
14132
14132
  Vh(n, s, n);
14133
- const a = Eo(e), o = se.fromDegrees(a[0], a[1]), l = this.getBaseLevelForResolution(s, o.latitude), c = await this._getRtreeForBaseTile(l, o, r);
14133
+ const a = Po(e), o = se.fromDegrees(a[0], a[1]), l = this.getBaseLevelForResolution(s, o.latitude), c = await this._getRtreeForBaseTile(l, o, r);
14134
14134
  return c ? c.search({
14135
14135
  minX: n[0],
14136
14136
  minY: n[1],
@@ -14153,7 +14153,7 @@ class St extends kt {
14153
14153
  if (r === l)
14154
14154
  return c.all().map((d) => d.value);
14155
14155
  {
14156
- const d = qo(a);
14156
+ const d = Wo(a);
14157
14157
  return c.search({
14158
14158
  minX: d[0],
14159
14159
  minY: d[1],
@@ -14356,13 +14356,13 @@ class Qv {
14356
14356
  h(this, "tileProvider");
14357
14357
  h(this, "_tilingScheme");
14358
14358
  h(this, "_tileSize");
14359
- h(this, "_errorEvent", new al());
14359
+ h(this, "_errorEvent", new ol());
14360
14360
  h(this, "headers");
14361
14361
  h(this, "emptyCanvas");
14362
14362
  h(this, "minLevel", 0);
14363
14363
  h(this, "maxLevel", 26);
14364
14364
  h(this, "_reload");
14365
- this.tileProvider = t.tileProvider, this._tilingScheme = this.tileProvider.tilingScheme, this._tileSize = t.tileSize, this._errorEvent = new al(), this.emptyCanvas = document.createElement("canvas"), this.emptyCanvas.width = this.tileWidth, this.emptyCanvas.height = this.tileHeight, this.headers = t.headers;
14365
+ this.tileProvider = t.tileProvider, this._tilingScheme = this.tileProvider.tilingScheme, this._tileSize = t.tileSize, this._errorEvent = new ol(), this.emptyCanvas = document.createElement("canvas"), this.emptyCanvas.width = this.tileWidth, this.emptyCanvas.height = this.tileHeight, this.headers = t.headers;
14366
14366
  }
14367
14367
  // eslint-disable-next-line class-methods-use-this
14368
14368
  get _ready() {
@@ -14422,7 +14422,7 @@ class Qv {
14422
14422
  const r = await this.tileProvider.getFeaturesForTile(t, e, s, this.headers);
14423
14423
  if (r.length === 0)
14424
14424
  return this.emptyCanvas;
14425
- const n = this.tileProvider.tilingScheme.tileXYToRectangle(t, e, s), a = qo(n), o = yt.center(n);
14425
+ const n = this.tileProvider.tilingScheme.tileXYToRectangle(t, e, s), a = Wo(n), o = yt.center(n);
14426
14426
  return Jv(r, a, o, this._tileSize);
14427
14427
  }
14428
14428
  }
@@ -14514,7 +14514,7 @@ class tS extends As {
14514
14514
  const a = this.extent.getCoordinatesInProjection(oe);
14515
14515
  a && (s.rectangle = yt.fromDegrees(a[0], a[1], a[2], a[3]));
14516
14516
  }
14517
- this.tilingSchema === "mercator" && (s.tilingScheme = new So());
14517
+ this.tilingSchema === "mercator" && (s.tilingScheme = new wo());
14518
14518
  const r = new cf(s), n = {
14519
14519
  alpha: this.opacity,
14520
14520
  splitDirection: this.splitDirection
@@ -14698,7 +14698,7 @@ class Bn extends Ze {
14698
14698
  /**
14699
14699
  * The feature visibility of this layer. NOTE: Entities cannot be highlighted at this moment.
14700
14700
  */
14701
- h(this, "featureVisibility", new aa());
14701
+ h(this, "featureVisibility", new oa());
14702
14702
  h(this, "_supportedMaps", [z.className]);
14703
14703
  h(this, "_featureVisibilityListeners", []);
14704
14704
  }
@@ -15030,7 +15030,7 @@ class rS extends kt {
15030
15030
  this.unTrack(), this._layer = void 0, this.changed.destroy(), super.destroy();
15031
15031
  }
15032
15032
  }
15033
- class nS extends aa {
15033
+ class nS extends oa {
15034
15034
  constructor(e) {
15035
15035
  super();
15036
15036
  h(this, "_changeTracker");
@@ -15085,7 +15085,7 @@ class Ti extends rt {
15085
15085
  h(this, "injectedFetchDynamicFeatureFunc", () => {
15086
15086
  throw new Error("Missing get dynamic feature");
15087
15087
  });
15088
- h(this, "_staticFeatureVisibility", new aa());
15088
+ h(this, "_staticFeatureVisibility", new oa());
15089
15089
  h(this, "_setEditing", null);
15090
15090
  h(this, "_twoDimLoaded", null);
15091
15091
  h(this, "_twoDimStyleChanged", null);
@@ -15214,7 +15214,7 @@ class Ti extends rt {
15214
15214
  this._twoDimStaticSource.getFeatures().forEach((a) => {
15215
15215
  if (a[lt]) {
15216
15216
  let o;
15217
- n ? (o = !0, a.setStyle(void 0)) : a.getStyle() !== a[lt].style && (o = !0, a.setStyle(a[lt].style)), o && Reflect.has(a, oi) && Do(a);
15217
+ n ? (o = !0, a.setStyle(void 0)) : a.getStyle() !== a[lt].style && (o = !0, a.setStyle(a[lt].style)), o && Reflect.has(a, oi) && Ao(a);
15218
15218
  }
15219
15219
  }), r && (this.changeTracker.track(), this.changeTracker.changed.raiseEvent());
15220
15220
  }
@@ -15306,7 +15306,7 @@ class Ti extends rt {
15306
15306
  }
15307
15307
  }
15308
15308
  De.registerClass(Ti.className, Ti);
15309
- const Ra = Symbol("featureFromOptions");
15309
+ const Ga = Symbol("featureFromOptions");
15310
15310
  class Er extends rt {
15311
15311
  constructor(e) {
15312
15312
  const s = Er.getDefaultOptions();
@@ -15333,7 +15333,7 @@ class Er extends rt {
15333
15333
  }
15334
15334
  async reload() {
15335
15335
  if (this._dataFetchedPromise) {
15336
- const e = this.getFeatures().filter((s) => s[Ra]);
15336
+ const e = this.getFeatures().filter((s) => s[Ga]);
15337
15337
  this.removeAllFeatures(), this.source.addFeatures(e), this._dataFetchedPromise = null, await this.fetchData();
15338
15338
  }
15339
15339
  return super.reload();
@@ -15348,7 +15348,7 @@ class Er extends rt {
15348
15348
  type: "FeatureCollection",
15349
15349
  features: this._featuresToLoad
15350
15350
  }), this.getFeatures().forEach((e) => {
15351
- e[Ra] = !0;
15351
+ e[Ga] = !0;
15352
15352
  }), this._featuresToLoad = void 0), this.url) {
15353
15353
  const e = Gt(this.url, this.headers);
15354
15354
  this._dataFetchedPromise = qi(this.url, e).then((s) => this._parseGeojsonData(s)).catch((s) => (this.getLogger().warning(`Could not send request for loading layer content (${String(s)})`), Promise.reject(s)));
@@ -15371,7 +15371,7 @@ class Er extends rt {
15371
15371
  if (this.projection.equals(r) ? delete e.projection : e.projection = this.projection.toJSON(), Array.isArray(this._featuresToLoad))
15372
15372
  e.features = this._featuresToLoad.slice();
15373
15373
  else {
15374
- const n = this.getFeatures().filter((a) => a[Ra]);
15374
+ const n = this.getFeatures().filter((a) => a[Ga]);
15375
15375
  n.length > 0 && (e.features = n.map((a) => br(a, { writeStyle: !0, writeId: !0 })));
15376
15376
  }
15377
15377
  return e;
@@ -15381,7 +15381,7 @@ class Er extends rt {
15381
15381
  }
15382
15382
  }
15383
15383
  De.registerClass(Er.className, Er);
15384
- class Xr extends la {
15384
+ class Xr extends ha {
15385
15385
  constructor(e, s) {
15386
15386
  super(e, s);
15387
15387
  h(this, "minLevel");
@@ -15506,7 +15506,7 @@ class oS extends Xr {
15506
15506
  };
15507
15507
  return Zt.contains(e.url) ? e.crossOrigin = "use-credentials" : Kt(this.url) || (e.crossOrigin = "anonymous"), this.headers && (e.imageLoadFunction = (s, r) => {
15508
15508
  const n = Gt(r, this.headers);
15509
- jo(r, n).then((a) => {
15509
+ Vo(r, n).then((a) => {
15510
15510
  const o = s.getImage();
15511
15511
  o.src = a, o.onload = () => {
15512
15512
  URL.revokeObjectURL(a);
@@ -15520,7 +15520,7 @@ class oS extends Xr {
15520
15520
  });
15521
15521
  }
15522
15522
  }
15523
- class $w extends la {
15523
+ class $w extends ha {
15524
15524
  static get className() {
15525
15525
  return "TileDebugOpenlayersImpl";
15526
15526
  }
@@ -15562,7 +15562,7 @@ class lS extends Xr {
15562
15562
  maxZoom: this.maxLevel,
15563
15563
  wrapX: !1
15564
15564
  };
15565
- Zt.contains(this.url) ? e.crossOrigin = "use-credentials" : Kt(this.url) || (e.crossOrigin = "anonymous"), this.tilingSchema === We.GEOGRAPHIC && (e.projection = "EPSG:4326"), this.headers && (e.tileLoadFunction = ua(this.headers));
15565
+ Zt.contains(this.url) ? e.crossOrigin = "use-credentials" : Kt(this.url) || (e.crossOrigin = "anonymous"), this.tilingSchema === We.GEOGRAPHIC && (e.projection = "EPSG:4326"), this.headers && (e.tileLoadFunction = da(this.headers));
15566
15566
  const s = {
15567
15567
  source: new yd(e),
15568
15568
  opacity: this.opacity
@@ -15570,7 +15570,7 @@ class lS extends Xr {
15570
15570
  return this.extent && this.extent.isValid() && (s.extent = this.extent.getCoordinatesInProjection(B)), new Es(s);
15571
15571
  }
15572
15572
  }
15573
- class hS extends la {
15573
+ class hS extends ha {
15574
15574
  constructor(e, s) {
15575
15575
  super(e, s);
15576
15576
  h(this, "tileProvider");
@@ -15705,10 +15705,10 @@ class uS extends Xr {
15705
15705
  }
15706
15706
  getOLLayer() {
15707
15707
  const e = this.tilingSchema === We.GEOGRAPHIC ? oe : B, s = e.proj.getExtent();
15708
- let r = Va(s) / this.tileSize[0];
15709
- this.numberOfLevelZeroTilesX > 1 && (r /= this.numberOfLevelZeroTilesX), this.tilingSchema === We.GEOGRAPHIC && (r = Va(s) / (this.tileSize[0] * 2));
15708
+ let r = $a(s) / this.tileSize[0];
15709
+ this.numberOfLevelZeroTilesX > 1 && (r /= this.numberOfLevelZeroTilesX), this.tilingSchema === We.GEOGRAPHIC && (r = $a(s) / (this.tileSize[0] * 2));
15710
15710
  const n = this.maxLevel + 1, a = new Array(n).fill(void 0).map((f, g) => r / 2 ** g), o = this.extent.getCoordinatesInProjection(e), l = {
15711
- origin: ea(s),
15711
+ origin: ta(s),
15712
15712
  extent: o,
15713
15713
  resolutions: a,
15714
15714
  matrixIds: this.matrixIds,
@@ -15730,7 +15730,7 @@ class uS extends Xr {
15730
15730
  matrixSet: this.tileMatrixSetID,
15731
15731
  url: this.url
15732
15732
  };
15733
- return Zt.contains(this.url) ? u.crossOrigin = "use-credentials" : Kt(this.url) || (u.crossOrigin = "anonymous"), this.tilingSchema === We.GEOGRAPHIC && (u.projection = "EPSG:4326"), this.headers && (u.tileLoadFunction = ua(this.headers)), Object.assign(u, this.openlayersOptions), new Es({
15733
+ return Zt.contains(this.url) ? u.crossOrigin = "use-credentials" : Kt(this.url) || (u.crossOrigin = "anonymous"), this.tilingSchema === We.GEOGRAPHIC && (u.projection = "EPSG:4326"), this.headers && (u.tileLoadFunction = da(this.headers)), Object.assign(u, this.openlayersOptions), new Es({
15734
15734
  opacity: this.opacity,
15735
15735
  source: new wd(u)
15736
15736
  });
@@ -15987,7 +15987,7 @@ class Xn extends St {
15987
15987
  this.locale !== e && (super.locale = e, this.url.includes("{locale}") && this.clearCache());
15988
15988
  }
15989
15989
  async loader(e, s, r, n) {
15990
- const a = this.tilingScheme.tileXYToRectangle(e, s, r), o = bu(this.url, e, s, r, a, this.locale), l = qo(a), c = hr(l), d = Gt(this.url, n), u = await rv(o, d), f = this._MVTFormat.readFeatures(u), g = (l[2] - l[0]) / 4096, m = -((l[3] - l[1]) / 4096);
15990
+ const a = this.tilingScheme.tileXYToRectangle(e, s, r), o = bu(this.url, e, s, r, a, this.locale), l = Wo(a), c = hr(l), d = Gt(this.url, n), u = await rv(o, d), f = this._MVTFormat.readFeatures(u), g = (l[2] - l[0]) / 4096, m = -((l[3] - l[1]) / 4096);
15991
15991
  return f.forEach((p) => {
15992
15992
  const y = this.idProperty ? p.get(this.idProperty) : null;
15993
15993
  y != null && p.setId(String(y));
@@ -16066,7 +16066,7 @@ class Tr extends vt {
16066
16066
  }
16067
16067
  }
16068
16068
  De.registerClass(Tr.className, Tr);
16069
- function fh(i, t, e) {
16069
+ function gh(i, t, e) {
16070
16070
  const s = e.getId();
16071
16071
  i.hiddenObjects[s] ? e[ut] = !0 : e[ut] && delete e[ut], i.highlightedObjects[s] ? e[Ee] = i.highlightedObjects[s].style : e[Ee] && delete e[Ee], t != null && t.hiddenObjects[s] ? e[dt] = !0 : e[dt] && delete e[dt];
16072
16072
  }
@@ -16132,7 +16132,7 @@ class Nr extends di {
16132
16132
  async initialize() {
16133
16133
  this.initialized || (this._tileLoadEventListener = this.tileProvider.tileLoadedEvent.addEventListener((e) => this._handleTileLoaded(e)), this._vectorPropertiesChangedListener = this.vectorProperties.propertyChanged.addEventListener(() => {
16134
16134
  this.reload();
16135
- }), this.featureProvider = new fo(this.name, {
16135
+ }), this.featureProvider = new go(this.name, {
16136
16136
  // XXX this overwrites
16137
16137
  style: this.style,
16138
16138
  tileProvider: this.tileProvider,
@@ -16145,7 +16145,7 @@ class Nr extends di {
16145
16145
  _handleTileLoaded({ rtree: e }) {
16146
16146
  e.all().map((s) => s.value).forEach((s) => {
16147
16147
  const r = s.getStyle();
16148
- r && r instanceof ee && r.setZIndex(this._getNextStyleZIndex()), s[Y] = this.name, s.getStyleFunction = () => this._featureStyle.bind(this), this.tileProvider.trackFeaturesToTiles && this.globalHider && fh(this.featureVisibility, this.globalHider, s);
16148
+ r && r instanceof ee && r.setZIndex(this._getNextStyleZIndex()), s[Y] = this.name, s.getStyleFunction = () => this._featureStyle.bind(this), this.tileProvider.trackFeaturesToTiles && this.globalHider && gh(this.featureVisibility, this.globalHider, s);
16149
16149
  });
16150
16150
  }
16151
16151
  setGlobalHider(e) {
@@ -16224,7 +16224,7 @@ class Nr extends di {
16224
16224
  }
16225
16225
  async activate() {
16226
16226
  await super.activate(), this._setupFeatureVisibilityHandlers(), this.tileProvider.trackFeaturesToTiles && this.tileProvider.forEachFeature((e) => {
16227
- fh(this.featureVisibility, this.globalHider, e);
16227
+ gh(this.featureVisibility, this.globalHider, e);
16228
16228
  });
16229
16229
  }
16230
16230
  deactivate() {
@@ -16245,7 +16245,7 @@ class Nr extends di {
16245
16245
  }
16246
16246
  }
16247
16247
  De.registerClass(Nr.className, Nr);
16248
- class gh extends rt {
16248
+ class Zn extends rt {
16249
16249
  constructor(e) {
16250
16250
  var r;
16251
16251
  const s = new k(e.projection).toJSON();
@@ -16260,7 +16260,7 @@ class gh extends rt {
16260
16260
  h(this, "getFeaturesOptions");
16261
16261
  h(this, "wfsFormat");
16262
16262
  h(this, "_dataFetchedPromise");
16263
- this.featureType = Array.isArray(e.featureType) ? e.featureType : [e.featureType], this.featureNS = e.featureNS, this.featurePrefix = e.featurePrefix, this.getFeaturesOptions = e.getFeatureOptions || {}, this.version = e.version, this.wfsFormat = new Ba({
16263
+ this.featureType = Array.isArray(e.featureType) ? e.featureType : [e.featureType], this.featureNS = e.featureNS, this.featurePrefix = e.featurePrefix, this.getFeaturesOptions = e.getFeatureOptions || {}, this.version = e.version, this.wfsFormat = new Ua({
16264
16264
  featureNS: this.featureNS,
16265
16265
  featureType: this.featureType,
16266
16266
  version: this.version
@@ -16283,7 +16283,7 @@ class gh extends rt {
16283
16283
  return this.initialized || await this.fetchData(), super.initialize();
16284
16284
  }
16285
16285
  async reload() {
16286
- return this.wfsFormat = new Ba({
16286
+ return this.wfsFormat = new Ua({
16287
16287
  featureNS: this.featureNS,
16288
16288
  featureType: this.featureType,
16289
16289
  version: this.version
@@ -16315,11 +16315,11 @@ class gh extends rt {
16315
16315
  this.addFeatures(s);
16316
16316
  }
16317
16317
  toJSON() {
16318
- const e = super.toJSON();
16319
- return e.featureType = this.featureType.slice(), e.featureNS = this.featureNS, e.featurePrefix = this.featurePrefix, Object.keys(this.getFeaturesOptions).length > 0 && (e.getFeatureOptions = this.getFeaturesOptions), e;
16318
+ const e = super.toJSON(), s = Zn.getDefaultOptions();
16319
+ return e.featureType = this.featureType.slice(), e.featureNS = this.featureNS, e.featurePrefix = this.featurePrefix, Object.keys(this.getFeaturesOptions).length > 0 && (e.getFeatureOptions = this.getFeaturesOptions), this.version !== s.version && (e.version = this.version), e;
16320
16320
  }
16321
16321
  }
16322
- De.registerClass(gh.className, gh);
16322
+ De.registerClass(Zn.className, Zn);
16323
16323
  class Dr extends vt {
16324
16324
  /**
16325
16325
  * @param options
@@ -16493,7 +16493,7 @@ class Ar extends vt {
16493
16493
  }
16494
16494
  }
16495
16495
  De.registerClass(Ar.className, Ar);
16496
- function Ga() {
16496
+ function ka() {
16497
16497
  return ue("ClippingObject");
16498
16498
  }
16499
16499
  const cn = Symbol("ClippingObjectGlobe");
@@ -16577,7 +16577,7 @@ class un {
16577
16577
  });
16578
16578
  else {
16579
16579
  const n = this.layerNames.indexOf(t.name);
16580
- Ga().warning(`layer ${t.name} cannot have a ClippingObject applied`), this.layerNames.splice(n, 1);
16580
+ ka().warning(`layer ${t.name} cannot have a ClippingObject applied`), this.layerNames.splice(n, 1);
16581
16581
  }
16582
16582
  } else
16583
16583
  this.targets.has(t.name) && (this.targets.delete(t.name), this.targetsUpdated.raiseEvent());
@@ -16586,7 +16586,7 @@ class un {
16586
16586
  const r = e.getVisualizationsForLayer(t), n = r ? [...r][0] : null;
16587
16587
  if (!n) {
16588
16588
  const a = this.layerNames.indexOf(t.name);
16589
- Ga().warning(`layer ${t.name} cannot have a ClippingObject applied`), this.layerNames.splice(a, 1);
16589
+ ka().warning(`layer ${t.name} cannot have a ClippingObject applied`), this.layerNames.splice(a, 1);
16590
16590
  return;
16591
16591
  }
16592
16592
  this.entities.filter((a) => a.layerName === t.name).forEach((a) => {
@@ -16597,7 +16597,7 @@ class un {
16597
16597
  this.targets.set(o, l), s = !0;
16598
16598
  else {
16599
16599
  const c = this.entities.indexOf(a);
16600
- Ga().warning(`could not find entity with id ${a.entityId} in layer ${a.layerName}`), this.entities.splice(c, 1);
16600
+ ka().warning(`could not find entity with id ${a.entityId} in layer ${a.layerName}`), this.entities.splice(c, 1);
16601
16601
  }
16602
16602
  } else
16603
16603
  this.targets.has(o) && (this.targets.delete(o), s = !0);
@@ -16707,7 +16707,7 @@ function qw(i, t = {}, e = void 0) {
16707
16707
  const a = Ns(r);
16708
16708
  if (a.length < 2 || a[0][0] === a[1][0] && a[0][1] === a[1][1])
16709
16709
  return null;
16710
- n === "Polygon" ? (lo(a), o0(a)) : n === "LineString" && a.length === 2 && t.createEndingPlanes && s.push(...pS(a)), t.createVerticalPlanes && s.push(...mS(a)), i.get("olcs_altitudeMode") === "absolute" && (t.createBottomPlane || t.createTopPlane) && s.push(...ph(i, a, t));
16710
+ n === "Polygon" ? (ho(a), o0(a)) : n === "LineString" && a.length === 2 && t.createEndingPlanes && s.push(...pS(a)), t.createVerticalPlanes && s.push(...mS(a)), i.get("olcs_altitudeMode") === "absolute" && (t.createBottomPlane || t.createTopPlane) && s.push(...ph(i, a, t));
16711
16711
  }
16712
16712
  return e && s.forEach((a) => {
16713
16713
  const o = ie.transform(a, e);
@@ -16731,11 +16731,11 @@ function nr(i, t, e, s) {
16731
16731
  }
16732
16732
  return t.modelMatrix = i.modelMatrix.clone(), t.unionClippingRegions = i.unionClippingRegions, t.edgeColor = i.edgeColor.clone(), t.edgeWidth = i.edgeWidth, t;
16733
16733
  }
16734
- function da(i) {
16734
+ function fa(i) {
16735
16735
  i.isDestroyed && i.isDestroyed() || (i instanceof Ki ? i.model && (i.model.clippingPlanes ? i.model.clippingPlanes.getValue().removeAll() : i.model.clippingPlanes = new gf(new dr())) : i.clippingPlanes ? i.clippingPlanes.removeAll() : i.clippingPlanes = new dr());
16736
16736
  }
16737
16737
  function yS(i, t, e) {
16738
- if (da(i), e)
16738
+ if (fa(i), e)
16739
16739
  nr(t, i.clippingPlanes);
16740
16740
  else if (!t.modelMatrix.equals(R.IDENTITY))
16741
16741
  nr(t, i.clippingPlanes), i.clippingPlanes.modelMatrix = R.multiply(R.inverse(i.clippingPlanesOriginMatrix, i.clippingPlanes.modelMatrix), t.modelMatrix, i.clippingPlanes.modelMatrix);
@@ -16745,11 +16745,11 @@ function yS(i, t, e) {
16745
16745
  }
16746
16746
  }
16747
16747
  function _S(i, t) {
16748
- da(i), nr(t, i.clippingPlanes);
16748
+ fa(i), nr(t, i.clippingPlanes);
16749
16749
  }
16750
16750
  function vS(i, t, e) {
16751
16751
  if (i.model) {
16752
- da(i);
16752
+ fa(i);
16753
16753
  const s = i.model.clippingPlanes.getValue();
16754
16754
  if (nr(t, s), !e) {
16755
16755
  const r = i.computeModelMatrix(Zh.now());
@@ -16907,7 +16907,7 @@ class SS {
16907
16907
  });
16908
16908
  };
16909
16909
  this._targetsMap.clear(), this._defaultClippingObjects.forEach(e), this._exclusiveClippingObjects && this._exclusiveClippingObjects.forEach(e), t.forEach((s) => {
16910
- da(s);
16910
+ fa(s);
16911
16911
  }), this._targetsMap.forEach((s, r) => {
16912
16912
  s.clippingPlaneCollection && yh(r, s.clippingPlaneCollection, s.local);
16913
16913
  });
@@ -16929,7 +16929,7 @@ var Et;
16929
16929
  (function(i) {
16930
16930
  i.LOW = "low", i.MEDIUM = "medium", i.HIGH = "high";
16931
16931
  })(Et = Et || (Et = {}));
16932
- class Zn {
16932
+ class Kn {
16933
16933
  constructor(t) {
16934
16934
  h(this, "_app");
16935
16935
  h(this, "_layerSettingsCache");
@@ -16940,7 +16940,7 @@ class Zn {
16940
16940
  * An event raised when the current quality level has been changed
16941
16941
  */
16942
16942
  h(this, "qualityLevelChanged", new E());
16943
- this._app = t, this._layerSettingsCache = [], this._viewModelSettings = Zn.getDefaultOptions(), this._currentQualityLevel = void 0, this._listeners = [
16943
+ this._app = t, this._layerSettingsCache = [], this._viewModelSettings = Kn.getDefaultOptions(), this._currentQualityLevel = void 0, this._listeners = [
16944
16944
  this._app.maps.mapActivated.addEventListener(() => {
16945
16945
  this._app.maps.activeMap instanceof z && !this.currentQualityLevel && (Hi() ? this.setLevel(this._viewModelSettings.startingMobileQualityLevel) : this.setLevel(this._viewModelSettings.startingQualityLevel));
16946
16946
  }),
@@ -17019,7 +17019,7 @@ class Zn {
17019
17019
  const s = Object.fromEntries(Object.entries(t).filter(([, n]) => n != null).map(([n, a]) => n === Et.LOW || n === Et.MEDIUM || n === Et.HIGH ? [
17020
17020
  n,
17021
17021
  Object.fromEntries(Object.entries(a).filter(([, o]) => o != null))
17022
- ] : [n, a])), r = Zn.getDefaultOptions();
17022
+ ] : [n, a])), r = Kn.getDefaultOptions();
17023
17023
  this._viewModelSettings = {
17024
17024
  ...r,
17025
17025
  ...s,
@@ -17103,9 +17103,9 @@ function Ou(i) {
17103
17103
  }
17104
17104
  }
17105
17105
  });
17106
- return Bo(t), i.add(t), t.activate(), t;
17106
+ return Uo(t), i.add(t), t.activate(), t;
17107
17107
  }
17108
- function fa(i, t) {
17108
+ function ga(i, t) {
17109
17109
  const e = new is(), s = new E(), r = i.addExclusiveInteraction(e, () => {
17110
17110
  s.raiseEvent();
17111
17111
  }, void 0, t), n = i.featureInteraction.active;
@@ -17301,7 +17301,7 @@ async function OS(i, t) {
17301
17301
  const s = e.clone();
17302
17302
  s.heading = 0, s.pitch = -90, e && !e.equals(s) && (t.fixedNorthOrientation && (e.heading = 0), e.pitch = -90, e.animate = !0, e.duration = 1, e.groundPosition && (e.cameraPosition = null), await i.gotoViewpoint(e));
17303
17303
  }
17304
- class Wo extends Nt {
17304
+ class Xo extends Nt {
17305
17305
  constructor() {
17306
17306
  super();
17307
17307
  h(this, "_activeMap", null);
@@ -17356,7 +17356,7 @@ class Wo extends Nt {
17356
17356
  * Creates a MapCollection from an iterable of maps, such as an Array.
17357
17357
  */
17358
17358
  static from(e) {
17359
- const s = new Wo();
17359
+ const s = new Xo();
17360
17360
  if (e)
17361
17361
  for (const r of e)
17362
17362
  s.add(r);
@@ -18014,7 +18014,7 @@ class DS extends Nt {
18014
18014
  function Bs() {
18015
18015
  return ue("init");
18016
18016
  }
18017
- const Kn = /* @__PURE__ */ new Map(), AS = "_defaultDynamicModule";
18017
+ const Jn = /* @__PURE__ */ new Map(), AS = "_defaultDynamicModule";
18018
18018
  class Nu {
18019
18019
  /**
18020
18020
  * @param options
@@ -18054,9 +18054,9 @@ class Nu {
18054
18054
  h(this, "_categoryItemClassRegistry");
18055
18055
  h(this, "_tileProviderClassRegistry");
18056
18056
  h(this, "_featureProviderClassRegistry");
18057
- this._id = (t == null ? void 0 : t._id) || Ue(), this.name = t.name ?? this._id, this.description = t.description, this.properties = t.properties, this._defaultDynamicModule = new uh({ _id: AS }), this._dynamicModule = this._defaultDynamicModule;
18057
+ this._id = (t == null ? void 0 : t._id) || Ue(), this.name = t.name ?? this._id, this.description = t.description, this.properties = t.properties, this._defaultDynamicModule = new dh({ _id: AS }), this._dynamicModule = this._defaultDynamicModule;
18058
18058
  const e = () => this._dynamicModule._id;
18059
- this._dynamicModuleIdChanged = new E(), this._locale = ES(), this._localeChanged = new E(), this._mapClassRegistry = new Qt(Ts), this._maps = ti(new Wo(), e, void 0, j_.bind(null, this), Li), this._layerClassRegistry = new Qt(De), this._layers = ti(this._maps.layerCollection, e, B_.bind(null, this), $_.bind(null, this), Ze, U_), this._layers.locale = this.locale, this._obliqueCollections = ti(new Nt(), e, void 0, (s) => new Wi(s), Wi), this._viewpoints = ti(new Nt(), e, void 0, V_, mt), this._styleClassRegistry = new Qt(Br), this._styles = ti(new Nt(), e, void 0, (s) => ni(this._styleClassRegistry, s), Xt), this._modules = new Ii("_id"), this._modules.add(this._dynamicModule), this._hiddenObjects = PS(e, this._layers.globalHider), this._flights = ti(new DS(this), e, void 0, (s) => new Os(s)), this._categoryClassRegistry = new Qt(Tc), this._categories = new Dv(this), this._displayQuality = new Zn(this), this._destroyed = new E(), this._moduleMutationChain = { running: !1, items: [] }, this._categoryItemClassRegistry = new Qt(new Ni()), this._tileProviderClassRegistry = new Qt(Ls), this._featureProviderClassRegistry = new Qt(Lo), Kn.set(this._id, this);
18059
+ this._dynamicModuleIdChanged = new E(), this._locale = ES(), this._localeChanged = new E(), this._mapClassRegistry = new Qt(Ts), this._maps = ti(new Xo(), e, void 0, j_.bind(null, this), Li), this._layerClassRegistry = new Qt(De), this._layers = ti(this._maps.layerCollection, e, B_.bind(null, this), $_.bind(null, this), Ze, U_), this._layers.locale = this.locale, this._obliqueCollections = ti(new Nt(), e, void 0, (s) => new Wi(s), Wi), this._viewpoints = ti(new Nt(), e, void 0, V_, mt), this._styleClassRegistry = new Qt(Br), this._styles = ti(new Nt(), e, void 0, (s) => ni(this._styleClassRegistry, s), Xt), this._modules = new Ii("_id"), this._modules.add(this._dynamicModule), this._hiddenObjects = PS(e, this._layers.globalHider), this._flights = ti(new DS(this), e, void 0, (s) => new Os(s)), this._categoryClassRegistry = new Qt(Tc), this._categories = new Dv(this), this._displayQuality = new Kn(this), this._destroyed = new E(), this._moduleMutationChain = { running: !1, items: [] }, this._categoryItemClassRegistry = new Qt(new Ni()), this._tileProviderClassRegistry = new Qt(Ls), this._featureProviderClassRegistry = new Qt(To), Jn.set(this._id, this);
18060
18060
  }
18061
18061
  get id() {
18062
18062
  return this._id;
@@ -18175,7 +18175,7 @@ class Nu {
18175
18175
  * @param module
18176
18176
  */
18177
18177
  async addModule(t) {
18178
- v(t, uh);
18178
+ v(t, dh);
18179
18179
  const e = async () => {
18180
18180
  try {
18181
18181
  if (this._modules.hasKey(t._id)) {
@@ -18267,19 +18267,19 @@ class Nu {
18267
18267
  get() {
18268
18268
  throw new Error("VcsApp was destroyed");
18269
18269
  }
18270
- }), Kn.delete(this._id), ei(this._maps), ei(this._layers), ei(this._obliqueCollections), ei(this._viewpoints), ei(this._styles), ei(this._categories), 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();
18270
+ }), Jn.delete(this._id), ei(this._maps), ei(this._layers), ei(this._obliqueCollections), ei(this._viewpoints), ei(this._styles), ei(this._categories), 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();
18271
18271
  }
18272
18272
  }
18273
18273
  function Qw(i) {
18274
- return Kn.get(i);
18274
+ return Jn.get(i);
18275
18275
  }
18276
18276
  window.vcs = window.vcs || {};
18277
- window.vcs.apps = Kn;
18277
+ window.vcs.apps = Jn;
18278
18278
  function Du(i) {
18279
18279
  if (!i)
18280
18280
  return !1;
18281
18281
  const t = i.getType();
18282
- return t === "LineString" ? Go(i) : t === "Polygon" ? Zc(i) : t === "Point" ? hu(i) : t === "Circle" ? Qc(i) : !1;
18282
+ return t === "LineString" ? ko(i) : t === "Polygon" ? Zc(i) : t === "Point" ? hu(i) : t === "Circle" ? Qc(i) : !1;
18283
18283
  }
18284
18284
  const Yr = Symbol("Vertex"), eM = Symbol("VertexIndex"), Te = Symbol("Handler"), ci = Symbol("MouseOver"), FS = `<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 19 19">
18285
18285
  <g id="pen">
@@ -18351,7 +18351,7 @@ function GS(i) {
18351
18351
  }
18352
18352
  function tM(i, t, e, s) {
18353
18353
  v(i, Nu), v(t, rt), v(e, In(tt));
18354
- const { interactionChain: r, removed: n, destroy: a } = fa(i.maps.eventHandler), o = new E(), l = new E(), c = new E();
18354
+ const { interactionChain: r, removed: n, destroy: a } = ga(i.maps.eventHandler), o = new E(), l = new E(), c = new E();
18355
18355
  let d = !1, u = null, f = null, g = !1, m = s;
18356
18356
  const p = Eu(i), y = () => {
18357
18357
  const $ = f ?? new Ft({ olcs_altitudeMode: m }), A = t.vectorProperties.getAltitudeMode($);
@@ -18430,11 +18430,11 @@ var _e;
18430
18430
  (function(i) {
18431
18431
  i.TRANSLATE = "translate", i.ROTATE = "rotate", i.SCALE = "scale", i.EXTRUDE = "extrude";
18432
18432
  })(_e = _e || (_e = {}));
18433
- const ga = U.GRAY.withAlpha(0.5);
18434
- function Jn(i) {
18433
+ const ma = U.GRAY.withAlpha(0.5);
18434
+ function Qn(i) {
18435
18435
  return i === P.X || i === P.Y || i === P.Z;
18436
18436
  }
18437
- function Qn(i) {
18437
+ function ea(i) {
18438
18438
  return i === P.XY || i === P.XZ || i === P.YZ;
18439
18439
  }
18440
18440
  function Mn(i) {
@@ -18445,19 +18445,19 @@ function Mn(i) {
18445
18445
  }
18446
18446
  function Cn(i) {
18447
18447
  return {
18448
- appearance: new Wa({
18448
+ appearance: new Xa({
18449
18449
  material: Rt.fromType("Color", {
18450
18450
  color: i
18451
18451
  })
18452
18452
  }),
18453
- depthFailAppearance: new Wa({
18453
+ depthFailAppearance: new Xa({
18454
18454
  material: Rt.fromType("Color", {
18455
18455
  color: U.divideByScalar(i, 1.5, new U()).withAlpha(0.2)
18456
18456
  })
18457
18457
  })
18458
18458
  };
18459
18459
  }
18460
- function Xo(i) {
18460
+ function Yo(i) {
18461
18461
  return {
18462
18462
  appearance: new On({
18463
18463
  flat: !0,
@@ -18473,9 +18473,9 @@ function Xo(i) {
18473
18473
  })
18474
18474
  };
18475
18475
  }
18476
- function ka(i, t, e = !1) {
18476
+ function za(i, t, e = !1) {
18477
18477
  let s, r;
18478
- i === P.Z ? (s = U.BLUE, r = X.IDENTITY.clone()) : i === P.X ? (s = U.RED, r = X.multiply(X.fromRotationY(Math.PI / 2), X.fromRotationX(Math.PI / 2), new X())) : (s = U.GREEN, r = X.fromRotationY(Math.PI / 2)), s = e ? ga : s;
18478
+ i === P.Z ? (s = U.BLUE, r = X.IDENTITY.clone()) : i === P.X ? (s = U.RED, r = X.multiply(X.fromRotationY(Math.PI / 2), X.fromRotationX(Math.PI / 2), new X())) : (s = U.GREEN, r = X.fromRotationY(Math.PI / 2)), s = e ? ma : s;
18479
18479
  const n = new pt({
18480
18480
  allowPicking: !e,
18481
18481
  asynchronous: !1,
@@ -18489,7 +18489,7 @@ function ka(i, t, e = !1) {
18489
18489
  })
18490
18490
  })
18491
18491
  ],
18492
- ...Xo(s)
18492
+ ...Yo(s)
18493
18493
  });
18494
18494
  let a = R.multiplyByMatrix3(t, r, new R());
18495
18495
  return Object.defineProperty(n, "modelMatrix", {
@@ -18578,7 +18578,7 @@ function jS(i, t, e, s, r) {
18578
18578
  geometry: i
18579
18579
  })
18580
18580
  ],
18581
- ...Xo(t)
18581
+ ...Yo(t)
18582
18582
  });
18583
18583
  let a = R.multiply(e, s, new R());
18584
18584
  return Object.defineProperty(n, "modelMatrix", {
@@ -18592,7 +18592,7 @@ function jS(i, t, e, s, r) {
18592
18592
  }
18593
18593
  function hs(i, t, e, s = !1) {
18594
18594
  let r, n, a;
18595
- i === P.X ? (r = new _(1, N.EPSILON8, 0), n = U.RED, a = R.fromRotationTranslation(X.fromRotationY(Math.PI / 2), new _(1, 0, 0))) : i === P.Y ? (r = new _(N.EPSILON8, 1, 0), n = U.GREEN, a = R.fromRotationTranslation(X.multiply(X.fromRotationY(Math.PI / 2), X.fromRotationX(-(Math.PI / 2)), new X()), new _(0, 1, 0))) : (r = new _(N.EPSILON8, N.EPSILON8, 1), n = U.BLUE, a = R.fromRotationTranslation(X.IDENTITY.clone(), new _(0, 0, 1))), n = s ? ga : n;
18595
+ i === P.X ? (r = new _(1, N.EPSILON8, 0), n = U.RED, a = R.fromRotationTranslation(X.fromRotationY(Math.PI / 2), new _(1, 0, 0))) : i === P.Y ? (r = new _(N.EPSILON8, 1, 0), n = U.GREEN, a = R.fromRotationTranslation(X.multiply(X.fromRotationY(Math.PI / 2), X.fromRotationX(-(Math.PI / 2)), new X()), new _(0, 1, 0))) : (r = new _(N.EPSILON8, N.EPSILON8, 1), n = U.BLUE, a = R.fromRotationTranslation(X.IDENTITY.clone(), new _(0, 0, 1))), n = s ? ma : n;
18596
18596
  const o = e === _e.SCALE ? new Xh({
18597
18597
  minimum: new _(-0.1, -0.1, -0.1),
18598
18598
  maximum: new _(0.1, 0.1, 0.1)
@@ -18642,18 +18642,18 @@ function cs(i, t, e = !1) {
18642
18642
  new _(1e-7, 0.4, 0.2),
18643
18643
  new _(1e-7, 0.4, 0.4),
18644
18644
  new _(1e-7, 0.2, 0.4)
18645
- ], r = U.RED), r = e ? ga : r;
18645
+ ], r = U.RED), r = e ? ma : r;
18646
18646
  const n = new pt({
18647
18647
  allowPicking: !e,
18648
18648
  asynchronous: !1,
18649
18649
  geometryInstances: [
18650
18650
  new ct({
18651
18651
  geometry: new _f({
18652
- polygonHierarchy: new Xa(s)
18652
+ polygonHierarchy: new Ya(s)
18653
18653
  })
18654
18654
  })
18655
18655
  ],
18656
- ...Xo(r),
18656
+ ...Yo(r),
18657
18657
  modelMatrix: t
18658
18658
  });
18659
18659
  return e || (n[Te] = i), n;
@@ -18661,9 +18661,9 @@ function cs(i, t, e = !1) {
18661
18661
  function VS(i) {
18662
18662
  let t;
18663
18663
  return (e, s, r) => {
18664
- t && (i.remove(t), t = void 0), e !== P.NONE && (t = new Oi(), Jn(e) ? hs(e, s, r, !0).forEach((n) => {
18664
+ t && (i.remove(t), t = void 0), e !== P.NONE && (t = new Oi(), Qn(e) ? hs(e, s, r, !0).forEach((n) => {
18665
18665
  t.add(n);
18666
- }) : Qn(e) && t.add(cs(e, s, !0)), i.add(t));
18666
+ }) : ea(e) && t.add(cs(e, s, !0)), i.add(t));
18667
18667
  };
18668
18668
  }
18669
18669
  function $S(i, t) {
@@ -18678,7 +18678,7 @@ function $S(i, t) {
18678
18678
  Mn(m), e.add(m);
18679
18679
  });
18680
18680
  } else
18681
- t === _e.ROTATE ? (e.add(ka(P.X, s, !0)), e.add(ka(P.Y, s, !0)), e.add(ka(P.Z, s))) : t === _e.EXTRUDE && hs(P.Z, s, t).forEach((g) => {
18681
+ t === _e.ROTATE ? (e.add(za(P.X, s, !0)), e.add(za(P.Y, s, !0)), e.add(za(P.Z, s))) : t === _e.EXTRUDE && hs(P.Z, s, t).forEach((g) => {
18682
18682
  Mn(g), e.add(g);
18683
18683
  });
18684
18684
  const n = i.getScene();
@@ -18771,12 +18771,12 @@ function BS(i, t) {
18771
18771
  }
18772
18772
  a.forEach((o) => {
18773
18773
  const l = o.getGeometry();
18774
- l[je] = !0, o[oa] = !0;
18774
+ l[je] = !0, o[la] = !0;
18775
18775
  }), e = i.addFeatures(a);
18776
18776
  }
18777
18777
  };
18778
18778
  }
18779
- function go(i, t, e) {
18779
+ function mo(i, t, e) {
18780
18780
  let s, r, n = 0;
18781
18781
  i === P.X ? (s = U.RED.toCssColorString(), r = [
18782
18782
  [0, 0, 0],
@@ -18823,11 +18823,11 @@ function Au(i) {
18823
18823
  }
18824
18824
  function US(i) {
18825
18825
  let t;
18826
- const e = ga.toCssColorString();
18826
+ const e = ma.toCssColorString();
18827
18827
  return (s, r, n, a) => {
18828
18828
  if (t && (i.removeFeaturesById(t), t = void 0), s !== P.NONE) {
18829
18829
  let o = [];
18830
- Jn(s) ? o = go(s, r, e) : Qn(s) && (o = [Au(e)]), o.forEach((l) => {
18830
+ Qn(s) ? o = mo(s, r, e) : ea(s) && (o = [Au(e)]), o.forEach((l) => {
18831
18831
  l.getGeometry().applyTransform((c, d) => {
18832
18832
  const u = c.length;
18833
18833
  for (let f = 0; f < u; f += 3)
@@ -18841,8 +18841,8 @@ function US(i) {
18841
18841
  function qS(i, t, e) {
18842
18842
  let s = [0, 0, 0], r = 1, n = [];
18843
18843
  e === _e.TRANSLATE || e === _e.SCALE ? n = [
18844
- ...go(P.X, e),
18845
- ...go(P.Y, e),
18844
+ ...mo(P.X, e),
18845
+ ...mo(P.Y, e),
18846
18846
  Au()
18847
18847
  ] : e === _e.ROTATE && (n = [
18848
18848
  new Ft({
@@ -18853,7 +18853,7 @@ function qS(i, t, e) {
18853
18853
  stroke: new $e({ color: U.BLUE.toCssColorString(), width: 2 })
18854
18854
  }))), n.forEach((u) => {
18855
18855
  const f = u.getGeometry();
18856
- f[je] = !0, u[oa] = !0, u[Te] = u.get("axis");
18856
+ f[je] = !0, u[la] = !0, u[Te] = u.get("axis");
18857
18857
  });
18858
18858
  const a = i.olMap.on("postrender", () => {
18859
18859
  if (!(s[0] === 0 && s[1] === 0 && s[2] === 0)) {
@@ -19007,7 +19007,7 @@ class Fu extends ce {
19007
19007
  this.reset();
19008
19008
  }
19009
19009
  }
19010
- const Yo = [
19010
+ const Zo = [
19011
19011
  "olcs_altitudeMode",
19012
19012
  "olcs_groundLevel",
19013
19013
  "olcs_heightAboveGround"
@@ -19018,7 +19018,7 @@ const Yo = [
19018
19018
  ];
19019
19019
  function Fs(i) {
19020
19020
  const t = {};
19021
- return Yo.forEach((e) => {
19021
+ return Zo.forEach((e) => {
19022
19022
  const s = i.get(e);
19023
19023
  s != null && (t[e] = s);
19024
19024
  }), t;
@@ -19030,9 +19030,9 @@ function Rs(i, t) {
19030
19030
  geometry: e,
19031
19031
  ...t
19032
19032
  });
19033
- return s[Yr] = !0, s[oa] = !0, s[Re] = !0, s;
19033
+ return s[Yr] = !0, s[la] = !0, s[Re] = !0, s;
19034
19034
  }
19035
- let Se = new j(), jt = new j(), za = new j(), et = new _(), Pe = new _(), Ha = new _();
19035
+ let Se = new j(), jt = new j(), Ha = new j(), et = new _(), Pe = new _(), ja = new _();
19036
19036
  function xh(i, t, e) {
19037
19037
  Se = j.fromElements(t[0] - i[0], t[1] - i[1], Se), Se.equals(j.ZERO) && (Se = j.fromElements(1, 1, Se)), Se = j.normalize(Se, Se), jt = j.fromElements(e[0] - i[0], e[1] - i[1], jt);
19038
19038
  const s = j.dot(Se, jt);
@@ -19043,14 +19043,14 @@ function xh(i, t, e) {
19043
19043
  ];
19044
19044
  }
19045
19045
  function JS(i, t, e, s) {
19046
- et = _.fromElements(t[0] - i[0], t[1] - i[1], t[2] - i[2], et), Pe = _.fromElements(e[0] - i[0], e[1] - i[1], e[2] - i[2], Pe), Ha = _.fromElements(e[0] - t[0], e[1] - t[1], e[2] - e[2], Ha);
19046
+ et = _.fromElements(t[0] - i[0], t[1] - i[1], t[2] - i[2], et), Pe = _.fromElements(e[0] - i[0], e[1] - i[1], e[2] - i[2], Pe), ja = _.fromElements(e[0] - t[0], e[1] - t[1], e[2] - e[2], ja);
19047
19047
  const r = _.magnitude(et);
19048
- return r < _.magnitude(Pe) || r < _.magnitude(Ha) ? !1 : (et = _.normalize(et, et), Pe = _.normalize(Pe, Pe), et.equalsEpsilon(Pe, s || N.EPSILON5));
19048
+ return r < _.magnitude(Pe) || r < _.magnitude(ja) ? !1 : (et = _.normalize(et, et), Pe = _.normalize(Pe, Pe), et.equalsEpsilon(Pe, s || N.EPSILON5));
19049
19049
  }
19050
19050
  function QS(i, t, e, s) {
19051
- Se = j.fromElements(t[0] - i[0], t[1] - i[1], Se), jt = j.fromElements(e[0] - i[0], e[1] - i[1], jt), za = j.fromElements(e[0] - t[0], e[1] - t[1], za);
19051
+ Se = j.fromElements(t[0] - i[0], t[1] - i[1], Se), jt = j.fromElements(e[0] - i[0], e[1] - i[1], jt), Ha = j.fromElements(e[0] - t[0], e[1] - t[1], Ha);
19052
19052
  const r = j.magnitude(Se);
19053
- return r < j.magnitude(jt) || r < j.magnitude(za) ? !1 : (Se = j.normalize(Se, Se), jt = j.normalize(jt, jt), Se.equalsEpsilon(jt, s || N.EPSILON5));
19053
+ return r < j.magnitude(jt) || r < j.magnitude(Ha) ? !1 : (Se = j.normalize(Se, Se), jt = j.normalize(jt, jt), Se.equalsEpsilon(jt, s || N.EPSILON5));
19054
19054
  }
19055
19055
  function Ru(i, t) {
19056
19056
  return et = Ct(i, et), Pe = t.globe.ellipsoid.geodeticSurfaceNormal(et, Pe), Pe = _.cross(t.camera.rightWC, Pe, Pe), Pe = _.normalize(Pe, Pe), ie.fromPointNormal(et, Pe);
@@ -19109,7 +19109,7 @@ class iw extends ce {
19109
19109
  this.translated.raiseEvent(this._getTranslateEvent(e.positionOrPixel, e.windowPosition)), e.type === I.DRAGEND && (this._getTranslateEvent = null, this._transformationHandler.showAxis = P.NONE);
19110
19110
  else if (e.type === I.DRAGSTART && ((s = e == null ? void 0 : e.feature) != null && s[Te])) {
19111
19111
  const r = e.feature[Te];
19112
- r !== P.NONE && (this._transformationHandler.showAxis = r, e.map instanceof z ? Jn(r) ? this._getTranslateEvent = this._dragAlongAxis3D(r, e) : Qn(r) && (this._getTranslateEvent = this._dragAlongPlane3D(r, e)) : Jn(r) ? this._getTranslateEvent = this._dragAlongAxis2D(r, e) : Qn(r) && (this._getTranslateEvent = this._dragAlongPlane2D(r, e)));
19112
+ r !== P.NONE && (this._transformationHandler.showAxis = r, e.map instanceof z ? Qn(r) ? this._getTranslateEvent = this._dragAlongAxis3D(r, e) : ea(r) && (this._getTranslateEvent = this._dragAlongPlane3D(r, e)) : Qn(r) ? this._getTranslateEvent = this._dragAlongAxis2D(r, e) : ea(r) && (this._getTranslateEvent = this._dragAlongPlane2D(r, e)));
19113
19113
  }
19114
19114
  return Promise.resolve(e);
19115
19115
  }
@@ -19413,7 +19413,7 @@ function nM(i, t, e, s = _e.TRANSLATE) {
19413
19413
  Z.set("olcs_allowPicking", W);
19414
19414
  });
19415
19415
  });
19416
- const d = Ou(i.layers), { interactionChain: u, removed: f, destroy: g } = fa(i.maps.eventHandler, e), { exclusiveInteractionId: m } = i.maps.eventHandler, p = i.maps.eventHandler.addExclusiveInteraction(c, () => f.raiseEvent(), 0, m), y = new lw();
19416
+ const d = Ou(i.layers), { interactionChain: u, removed: f, destroy: g } = ga(i.maps.eventHandler, e), { exclusiveInteractionId: m } = i.maps.eventHandler, p = i.maps.eventHandler.addExclusiveInteraction(c, () => f.raiseEvent(), 0, m), y = new lw();
19417
19417
  u.addInteraction(y), u.addInteraction(new ow(n));
19418
19418
  const S = new Fu();
19419
19419
  u.addInteraction(S);
@@ -19435,7 +19435,7 @@ function nM(i, t, e, s = _e.TRANSLATE) {
19435
19435
  const fe = ws();
19436
19436
  n.forEach((ke) => {
19437
19437
  cr(fe, ke.getGeometry().getExtent());
19438
- }), qa(fe) || (Z = hr(fe));
19438
+ }), Wa(fe) || (Z = hr(fe));
19439
19439
  }
19440
19440
  n.forEach((fe) => {
19441
19441
  (fe[xt] ?? fe.getGeometry()).rotate(W, Z);
@@ -19446,7 +19446,7 @@ function nM(i, t, e, s = _e.TRANSLATE) {
19446
19446
  const ke = ws();
19447
19447
  n.forEach((ks) => {
19448
19448
  cr(ke, ks.getGeometry().getExtent());
19449
- }), qa(ke) || (fe = hr(ke));
19449
+ }), Wa(ke) || (fe = hr(ke));
19450
19450
  }
19451
19451
  n.forEach((ke) => {
19452
19452
  (ke[xt] ?? ke.getGeometry()).scale(W, Z, fe);
@@ -19496,17 +19496,17 @@ function nM(i, t, e, s = _e.TRANSLATE) {
19496
19496
  let zt = [];
19497
19497
  const Gs = () => {
19498
19498
  re(zt), zt = n.map((W) => W.on("propertychange", ({ key: Z }) => {
19499
- Yo.includes(Z) && (M == null || M.setFeatures(n));
19499
+ Zo.includes(Z) && (M == null || M.setFeatures(n));
19500
19500
  }));
19501
- }, ma = /* @__PURE__ */ new Map(), Zo = () => {
19501
+ }, pa = /* @__PURE__ */ new Map(), Ko = () => {
19502
19502
  C(), g(), $(), Jt(), l(), re(zt), n.forEach((W) => {
19503
- Eh(W, a), Ph(W, ma);
19503
+ Eh(W, a), Ph(W, pa);
19504
19504
  }), a.clear(), i.layers.remove(d), q.destroy(), p(), c.destroy(), r.raiseEvent(), r.destroy();
19505
19505
  };
19506
- return f.addEventListener(Zo), {
19506
+ return f.addEventListener(Ko), {
19507
19507
  type: ji.EDIT_FEATURES,
19508
19508
  stopped: r,
19509
- stop: Zo,
19509
+ stop: Ko,
19510
19510
  get mode() {
19511
19511
  return w;
19512
19512
  },
@@ -19517,9 +19517,9 @@ function nM(i, t, e, s = _e.TRANSLATE) {
19517
19517
  scale: L,
19518
19518
  setFeatures(W) {
19519
19519
  n.forEach((Z) => {
19520
- Eh(Z, a), Ph(Z, ma);
19520
+ Eh(Z, a), Ph(Z, pa);
19521
19521
  }), n.length = 0, n.push(...W), n.forEach((Z) => {
19522
- uw(Z, a, o), dw(Z, ma);
19522
+ uw(Z, a, o), dw(Z, pa);
19523
19523
  }), Gs(), M == null || M.setFeatures(W);
19524
19524
  },
19525
19525
  get features() {
@@ -19730,7 +19730,7 @@ function yw(i, t, e) {
19730
19730
  };
19731
19731
  }
19732
19732
  function aM(i, t, e, s = {}) {
19733
- const { interactionChain: r, removed: n, destroy: a } = fa(i.maps.eventHandler, e), o = Ou(i.layers), l = new Fu();
19733
+ const { interactionChain: r, removed: n, destroy: a } = ga(i.maps.eventHandler, e), o = Ou(i.layers), l = new Fu();
19734
19734
  r.addInteraction(l);
19735
19735
  const c = new RS(s.denyRemoval);
19736
19736
  r.addInteraction(c);
@@ -19754,7 +19754,7 @@ function aM(i, t, e, s = {}) {
19754
19754
  function w(b) {
19755
19755
  if (y(), S && re(S), b) {
19756
19756
  S = b.on("propertychange", ({ key: q }) => {
19757
- Yo.includes(q) && w(b);
19757
+ Zo.includes(q) && w(b);
19758
19758
  }), f = b, f[Re] = !0;
19759
19759
  const L = b[xt] ?? b.getGeometry(), F = L.getType();
19760
19760
  o.vectorProperties.altitudeMode = t.vectorProperties.getAltitudeMode(b), F === tt.Polygon ? L.get("_vcsGeomType") === tt.BBox ? u = mw(b, o) : L.getLinearRingCount() === 1 && (u = pw(b, o, s)) : F === tt.LineString ? u = fw(b, o, s) : F === tt.Point ? u = yw(b, o, t) : F === tt.Circle && (u = gw(b, o)), u ? (r.addInteraction(u.interactionChain), m()) : (ue("EditGeometrySession").warning(`Geometry of type ${F} is currently not supported`), f[Re] = !1, f = null);
@@ -19966,7 +19966,7 @@ function Sw() {
19966
19966
  function oM(i, t, e, s = Bt.MULTI, r = Sw()) {
19967
19967
  const n = new E(), a = new E(), o = new E();
19968
19968
  let l = null, c = null, d, u = null;
19969
- const { interactionChain: f, removed: g, destroy: m } = fa(i.maps.eventHandler, e), p = vw(t, r);
19969
+ const { interactionChain: f, removed: g, destroy: m } = ga(i.maps.eventHandler, e), p = vw(t, r);
19970
19970
  let y = [];
19971
19971
  function S() {
19972
19972
  l && (l && (f.removeInteraction(l), l.destroy(), l = null), c && (f.removeInteraction(c), c.destroy(), c = null)), y.forEach((L) => {
@@ -20056,7 +20056,7 @@ async function lM(i, t) {
20056
20056
  altitudeMode: "absolute"
20057
20057
  }
20058
20058
  });
20059
- Bo(r);
20059
+ Uo(r);
20060
20060
  let n;
20061
20061
  const [a] = t.maps.getByType(z.className);
20062
20062
  a && (n = a.getScene(), n && !n.primitives.contains(s) && n.primitives.add(s)), t.layers.add(r);
@@ -20085,7 +20085,7 @@ async function lM(i, t) {
20085
20085
  }
20086
20086
  r.addFeatures(f);
20087
20087
  const g = r.getSource().getExtent();
20088
- e = Eo(g, g, 2);
20088
+ e = Po(g, g, 2);
20089
20089
  };
20090
20090
  o();
20091
20091
  const l = [
@@ -20122,7 +20122,7 @@ async function lM(i, t) {
20122
20122
  destroy: d,
20123
20123
  async zoomToExtent() {
20124
20124
  var g;
20125
- if (!i.isValid() || qa(e))
20125
+ if (!i.isValid() || Wa(e))
20126
20126
  return;
20127
20127
  const f = mt.createViewpointFromExtent(e);
20128
20128
  f && await ((g = t.maps.activeMap) == null ? void 0 : g.gotoViewpoint(f));
@@ -20134,9 +20134,9 @@ export {
20134
20134
  bs as AbstractFeatureProvider,
20135
20135
  ce as AbstractInteraction,
20136
20136
  Ys as AltitudeModeCesium,
20137
- ko as ArcStyle,
20137
+ zo as ArcStyle,
20138
20138
  Qe as ArrowEnd,
20139
- ca as ArrowStyle,
20139
+ ua as ArrowStyle,
20140
20140
  P as AxisAndPlanes,
20141
20141
  wr as BaseOLMap,
20142
20142
  xr as CameraLimiter,
@@ -20152,7 +20152,7 @@ export {
20152
20152
  SS as ClippingObjectManager,
20153
20153
  Vw as ClusterContext,
20154
20154
  Nt as Collection,
20155
- Uo as CoordinateAtPixel,
20155
+ qo as CoordinateAtPixel,
20156
20156
  CS as CreateBBoxInteraction,
20157
20157
  MS as CreateCircleInteraction,
20158
20158
  wS as CreateLineStringInteraction,
@@ -20164,7 +20164,7 @@ export {
20164
20164
  ge as DataState,
20165
20165
  qe as DeclarativeStyleItem,
20166
20166
  wv as DefaultObliqueCollection,
20167
- Zn as DisplayQuality,
20167
+ Kn as DisplayQuality,
20168
20168
  Et as DisplayQualityLevel,
20169
20169
  lw as EditFeaturesMouseOverInteraction,
20170
20170
  RS as EditGeometryMouseOverInteraction,
@@ -20180,13 +20180,13 @@ export {
20180
20180
  jv as FeatureProviderInteraction,
20181
20181
  Ti as FeatureStoreLayer,
20182
20182
  rS as FeatureStoreLayerChanges,
20183
- aa as FeatureVisibility,
20183
+ oa as FeatureVisibility,
20184
20184
  ne as FeatureVisibilityAction,
20185
20185
  DS as FlightCollection,
20186
20186
  Os as FlightInstance,
20187
20187
  Er as GeoJSONLayer,
20188
20188
  tt as GeometryType,
20189
- ao as GlobalHider,
20189
+ oo as GlobalHider,
20190
20190
  Ii as IndexedCollection,
20191
20191
  ku as InsertVertexInteraction,
20192
20192
  is as InteractionChain,
@@ -20194,17 +20194,17 @@ export {
20194
20194
  hi as LayerCollection,
20195
20195
  ts as LayerImplementation,
20196
20196
  ev as LayerObliqueImpl,
20197
- la as LayerOpenlayersImpl,
20197
+ ha as LayerOpenlayersImpl,
20198
20198
  pe as LayerState,
20199
20199
  Xn as MVTTileProvider,
20200
- Wo as MapCollection,
20200
+ Xo as MapCollection,
20201
20201
  Fu as MapInteractionController,
20202
20202
  Ot as MapState,
20203
20203
  Ur as ModelFill,
20204
20204
  H as ModificationKeyType,
20205
20205
  Wi as ObliqueCollection,
20206
- Ql as ObliqueDataSet,
20207
- Ho as ObliqueImage,
20206
+ eh as ObliqueDataSet,
20207
+ jo as ObliqueImage,
20208
20208
  Sn as ObliqueImageMeta,
20209
20209
  Ne as ObliqueMap,
20210
20210
  ov as ObliqueProvider,
@@ -20243,7 +20243,7 @@ export {
20243
20243
  Lr as TerrainLayer,
20244
20244
  $w as TileDebugOpenlayersImpl,
20245
20245
  St as TileProvider,
20246
- fo as TileProviderFeatureProvider,
20246
+ go as TileProviderFeatureProvider,
20247
20247
  We as TilingScheme,
20248
20248
  Yv as TmsCesiumImpl,
20249
20249
  lS as TmsOpenlayersImpl,
@@ -20255,7 +20255,7 @@ export {
20255
20255
  z_ as VcsCameraPrimitive,
20256
20256
  E as VcsEvent,
20257
20257
  Li as VcsMap,
20258
- uh as VcsModule,
20258
+ dh as VcsModule,
20259
20259
  kt as VcsObject,
20260
20260
  W0 as VectorCesiumImpl,
20261
20261
  q0 as VectorContext,
@@ -20269,7 +20269,7 @@ export {
20269
20269
  Nr as VectorTileLayer,
20270
20270
  hS as VectorTileOpenlayersImpl,
20271
20271
  mt as Viewpoint,
20272
- gh as WFSLayer,
20272
+ Zn as WFSLayer,
20273
20273
  Xi as WMSFeatureProvider,
20274
20274
  Dr as WMSLayer,
20275
20275
  Ar as WMTSLayer,
@@ -20280,16 +20280,16 @@ export {
20280
20280
  rr as actuallyIsCircle,
20281
20281
  iu as addArrowsToContext,
20282
20282
  ps as addPrimitiveToContext,
20283
- ha as addPrimitivesToContext,
20283
+ ca as addPrimitivesToContext,
20284
20284
  je as alreadyTransformedToImage,
20285
20285
  ui as alreadyTransformedToMercator,
20286
20286
  vh as anchorFromGeojsonFeature,
20287
20287
  Kw as anchorFromViewpoint,
20288
20288
  TS as anchorToGeojsonFeature,
20289
20289
  Jw as anchorToViewpoint,
20290
- Ma as angleEqualsEpsilon,
20290
+ Ca as angleEqualsEpsilon,
20291
20291
  H0 as arcToCesium,
20292
- so as blackColor,
20292
+ ro as blackColor,
20293
20293
  Fv as calculateMinLevel,
20294
20294
  _t as cartesian2DDistance,
20295
20295
  h_ as cartesian3DDistance,
@@ -20298,17 +20298,17 @@ export {
20298
20298
  Tc as categoryClassRegistry,
20299
20299
  _i as cesiumColorToColor,
20300
20300
  vi as cesiumTilesetLastUpdated,
20301
- Xl as checkLineIntersection,
20301
+ Yl as checkLineIntersection,
20302
20302
  Uc as circleFromCenterRadius,
20303
20303
  M0 as circleToCesium,
20304
20304
  rM as clampFeature,
20305
- da as clearClippingPlanes,
20305
+ fa as clearClippingPlanes,
20306
20306
  Nw as colorInCanvas,
20307
20307
  C_ as combineFont,
20308
20308
  j0 as convert,
20309
20309
  qc as convertGeometryToPolygon,
20310
20310
  Ew as coordinateAtDistance,
20311
- Ll as coordinateEqualsEpsilon,
20311
+ Tl as coordinateEqualsEpsilon,
20312
20312
  nr as copyClippingPlanesToCollection,
20313
20313
  qS as create2DHandlers,
20314
20314
  $S as create3DHandlers,
@@ -20338,20 +20338,20 @@ export {
20338
20338
  V_ as deserializeViewpoint,
20339
20339
  ei as destroyCollection,
20340
20340
  ES as detectBrowserLocale,
20341
- oa as doNotTransform,
20341
+ la as doNotTransform,
20342
20342
  sM as drapeGeometryOnTerrain,
20343
20343
  jc as embedIconsInStyle,
20344
20344
  Rw as emptyColor,
20345
20345
  b_ as emptyStyle,
20346
- lo as enforceEndingVertex,
20346
+ ho as enforceEndingVertex,
20347
20347
  o0 as enforceRightHand,
20348
20348
  tw as ensureFeatureAbsolute,
20349
20349
  Yw as exportFlightAsGeoJson,
20350
20350
  Zw as exportFlightPathAsGeoJson,
20351
20351
  si as featureArcStruct,
20352
20352
  qr as featureExists,
20353
- Ra as featureFromOptions,
20354
- Lo as featureProviderClassRegistry,
20353
+ Ga as featureFromOptions,
20354
+ To as featureProviderClassRegistry,
20355
20355
  Pt as featureStoreStateSymbol,
20356
20356
  I_ as fromCesiumColor,
20357
20357
  os as fvLastUpdated,
@@ -20361,7 +20361,7 @@ export {
20361
20361
  Jv as getCanvasFromFeatures,
20362
20362
  L0 as getCartesian3AndWGS84FromCoordinates,
20363
20363
  an as getCartesian3Options,
20364
- to as getCartesianBearing,
20364
+ io as getCartesianBearing,
20365
20365
  c_ as getCartesianPitch,
20366
20366
  Vt as getCartographicFromPlane,
20367
20367
  ai as getCesiumColor,
@@ -20379,7 +20379,7 @@ export {
20379
20379
  Nc as getFillFromOptions,
20380
20380
  Gn as getFillOptions,
20381
20381
  Ns as getFlatCoordinatesFromGeometry,
20382
- Fo as getFlatCoordinatesFromSimpleGeometry,
20382
+ Ro as getFlatCoordinatesFromSimpleGeometry,
20383
20383
  Iu as getFlightPathCoordinatesFromInstance,
20384
20384
  zv as getFormat,
20385
20385
  n0 as getHeightAboveGround,
@@ -20393,19 +20393,19 @@ export {
20393
20393
  e0 as getMaterialAppearance,
20394
20394
  Pc as getMidPoint,
20395
20395
  r0 as getMinHeightOrGroundLevel,
20396
- Hl as getModelOptions,
20396
+ jl as getModelOptions,
20397
20397
  nn as getNearFarValueOptions,
20398
20398
  ni as getObjectFromClassRegistry,
20399
- Yl as getPolygonizedGeometry,
20400
- ho as getPrimitiveOptions,
20399
+ Zl as getPolygonizedGeometry,
20400
+ co as getPrimitiveOptions,
20401
20401
  fu as getResolutionOptions,
20402
20402
  Gc as getShapeFromOptions,
20403
20403
  Pu as getSplineAndTimesForInstance,
20404
20404
  wn as getStateFromStatesArray,
20405
- Fl as getStoreyHeights,
20406
- Gl as getStoreyOptions,
20405
+ Rl as getStoreyHeights,
20406
+ kl as getStoreyOptions,
20407
20407
  ot as getStringColor,
20408
- No as getStrokeFromOptions,
20408
+ Do as getStrokeFromOptions,
20409
20409
  _r as getStrokeOptions,
20410
20410
  Dw as getStyleFromOptions,
20411
20411
  Aw as getStyleOptions,
@@ -20414,18 +20414,18 @@ export {
20414
20414
  Mr as getTerrainProviderForUrl,
20415
20415
  Ac as getTextFromOptions,
20416
20416
  Dc as getTextOptions,
20417
- ua as getTileLoadFunction,
20417
+ da as getTileLoadFunction,
20418
20418
  wu as getTilingScheme,
20419
20419
  bu as getURL,
20420
20420
  Qw as getVcsAppById,
20421
20421
  mu as getVersionFromImageJson,
20422
- oh as getViewDirectionFromViewpoint,
20422
+ lh as getViewDirectionFromViewpoint,
20423
20423
  Cu as getWMSSource,
20424
20424
  K0 as getZoom,
20425
20425
  dt as globalHidden,
20426
20426
  Ks as globalHiderLastUpdated,
20427
20427
  Uw as globeLoaded,
20428
- ga as greyedOutColor,
20428
+ ma as greyedOutColor,
20429
20429
  Te as handlerSymbol,
20430
20430
  Hw as hasSameOrigin,
20431
20431
  S_ as hexToOlColor,
@@ -20433,53 +20433,53 @@ export {
20433
20433
  Ee as highlighted,
20434
20434
  Q0 as imageGeometryToMercatorGeometry,
20435
20435
  Pw as initialBearingBetweenCoords,
20436
- Jn as is1DAxis,
20437
- Qn as is2DAxis,
20436
+ Qn as is1DAxis,
20437
+ ea as is2DAxis,
20438
20438
  Hi as isMobile,
20439
- ro as isOverrideCollection,
20439
+ no as isOverrideCollection,
20440
20440
  Av as isProvidedFeature,
20441
20441
  Kt as isSameOrigin,
20442
20442
  X0 as isTerrainTileAvailable,
20443
20443
  Or as isTiledFeature,
20444
20444
  De as layerClassRegistry,
20445
- Vl as lineStringToCesium,
20445
+ $l as lineStringToCesium,
20446
20446
  ti as makeOverrideCollection,
20447
20447
  Ts as mapClassRegistry,
20448
- Bo as markVolatile,
20448
+ Uo as markVolatile,
20449
20449
  K_ as maxZIndex,
20450
20450
  J0 as mercatorGeometryToImageGeometry,
20451
20451
  B as mercatorProjection,
20452
20452
  $n as mercatorResolutionsToLevel,
20453
20453
  Ct as mercatorToCartesian,
20454
- Eo as mercatorToWgs84Transformer,
20454
+ Po as mercatorToWgs84Transformer,
20455
20455
  Ke as moduleIdSymbol,
20456
20456
  _n as modulo,
20457
20457
  ci as mouseOverSymbol,
20458
20458
  xt as obliqueGeometry,
20459
20459
  uu as obliqueViewDirectionNames,
20460
20460
  w_ as olColorToCesiumColor,
20461
- El as olColorToHex,
20461
+ Pl as olColorToHex,
20462
20462
  zn as originalFeatureSymbol,
20463
20463
  oi as originalStyle,
20464
- xa as parseCartesian3,
20464
+ ba as parseCartesian3,
20465
20465
  Ve as parseColor,
20466
20466
  IS as parseFlightOptionsFromGeoJson,
20467
20467
  Tw as parseFont,
20468
20468
  wi as parseGeoJSON,
20469
- Jl as parseImageData,
20469
+ Ql as parseImageData,
20470
20470
  iv as parseImageMeta,
20471
20471
  sv as parseLegacyImageData,
20472
- Ca as parseNearFarScalar,
20472
+ xa as parseNearFarScalar,
20473
20473
  ss as parseStoreyHeights,
20474
20474
  ew as placeGeometryOnTerrain,
20475
20475
  QS as pointOnLine2D,
20476
20476
  JS as pointOnLine3D,
20477
- $l as pointToCesium,
20478
- zl as polygonToCesium,
20477
+ Bl as pointToCesium,
20478
+ Hl as polygonToCesium,
20479
20479
  Hc as propertyEqualsEpsilon,
20480
- qo as rectangleToExtent,
20480
+ Wo as rectangleToExtent,
20481
20481
  Ri as removeArrayFromCollection,
20482
- kl as removeEndingVertex,
20482
+ zl as removeEndingVertex,
20483
20483
  Wc as removeEndingVertexFromGeometry,
20484
20484
  ms as removeFeatureFromMap,
20485
20485
  rv as requestArrayBuffer,
@@ -20488,20 +20488,20 @@ export {
20488
20488
  B_ as serializeLayer,
20489
20489
  yh as setClippingPlanes,
20490
20490
  o_ as setDefaultProjectionOptions,
20491
- Zl as setNewGeometry,
20491
+ Kl as setNewGeometry,
20492
20492
  V0 as setReferenceForPicking,
20493
- Ul as setSplitDirectionOnPrimitives,
20493
+ ql as setSplitDirectionOnPrimitives,
20494
20494
  B0 as setupScalingPrimitiveCollection,
20495
20495
  Ou as setupScratchLayer,
20496
20496
  P_ as shapeCategory,
20497
- Wl as sortRealWordEdgeCoordinates,
20497
+ Xl as sortRealWordEdgeCoordinates,
20498
20498
  tM as startCreateFeatureSession,
20499
20499
  nM as startEditFeaturesSession,
20500
20500
  aM as startEditGeometrySession,
20501
20501
  oM as startSelectFeaturesSession,
20502
20502
  Br as styleClassRegistry,
20503
20503
  T_ as synchronizeFeatureVisibility,
20504
- Ao as synchronizeFeatureVisibilityWithSource,
20504
+ Fo as synchronizeFeatureVisibilityWithSource,
20505
20505
  Ls as tileProviderClassRegistry,
20506
20506
  Bw as tiledLayerLoaded,
20507
20507
  Kv as toContext,
@@ -20513,10 +20513,10 @@ export {
20513
20513
  Pv as updateLegacyFeature,
20514
20514
  Qc as validateCircle,
20515
20515
  Lw as validateHexColor,
20516
- Go as validateLineString,
20516
+ ko as validateLineString,
20517
20517
  hu as validatePoint,
20518
20518
  Zc as validatePolygon,
20519
- Rl as validateStoreys,
20519
+ Gl as validateStoreys,
20520
20520
  Y as vcsLayerName,
20521
20521
  li as vcsMetaVersion,
20522
20522
  lt as vectorStyleSymbol,