@vcmap/ui 6.3.0-rc.6 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  var Xv = Object.defineProperty;
2
2
  var Zv = (i, t, e) => t in i ? Xv(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var d = (i, t, e) => Zv(i, typeof t != "symbol" ? t + "" : t, e);
4
- import { ol$proj$getTransform as Yt, ol$proj$get as Na, ol$proj$equivalent as xI, ol$proj$proj4$register as Km, ol$extent$getBottomLeft as GA, ol$extent$getTopRight as rf, ol$sphere$getDistance as QI, ol$geom$Circle as Ui, ol$geom$GeometryCollection as Zs, ol$style$Style as fe, ol$style$Stroke as yt, ol$style$Fill as Pt, ol$style$Text as Ua, ol$style$Icon as $i, ol$style$Circle as vs, ol$style$RegularShape as Ha, ol$has$DEVICE_PIXEL_RATIO as ew, ol$style$Image as MI, ol$Feature as Be, ol$extent$containsCoordinate as Ko, ol$layer$Group as sf, ol$Map as Qn, ol$interaction$defaults as tw, ol$Observable$unByKey as Fe, ol$View as RA, ol$easing$inAndOut as iw, ol$extent$containsXY as DI, ol$extent$boundingExtent as $o, ol$layer$Layer as LI, ol$layer$Vector as Vn, ol$geom$Polygon$fromCircle as PI, ol$geom$Polygon as Kt, ol$geom$SimpleGeometry as rw, ol$geom$Point as At, ol$geom$LineString as bi, ol$geom$MultiPoint as TA, ol$geom$MultiLineString as ic, ol$geom$MultiPolygon as Mn, ol$sphere$offset as mh, ol$geom$Polygon$circular as sw, ol$colorlike$asColorLike as nw, Feature as xt, ol$ImageState as Oc, ol$proj$transform as pn, ol$extent$getBottomRight as OI, ol$extent$getTopLeft as Dn, ol$source$Vector as sr, ol$tilegrid$createXYZ as nf, ol$TileState as rr, ol$proj$Projection as aw, ol$tilegrid$TileGrid as af, ol$source$TileImage as ow, ol$layer$Tile as qn, ol$extent$buffer as NA, ol$extent$getCenter as Xr, ol$geom$Polygon$fromExtent as FI, ol$proj$transformExtent as $m, ol$extent$getWidth as yn, ol$format$GeoJSON as Wo, ol$source$TileWMS as lw, ol$source$ImageWMS as cw, ol$format$WFS as Ph, ol$format$WMSGetFeatureInfo as Zd, ol$format$GML32 as of, ol$format$GML3 as Oh, ol$format$GML2 as kI, ol$render$Feature as GI, ol$extent$createEmpty as Ln, ol$extent$extend as Ba, ol$events$EventType as Qu, ol$extent$getHeight as Mu, ol$render$canvas$Immediate as hw, ol$geom$flat$transform$transform2D as Aw, ol$extent$intersects as RI, ol$geom$SimpleGeometry$transformGeom2D as uw, ol$transform$scale as dw, ol$transform$create as gw, ol$transform$compose as fw, ol$layer$WebGLTile as mw, ol$render$getRenderPixel as Wm, ol$source$GeoTIFF as pw, ol$source$OSM as yw, ol$layer$Image as UA, ol$source$ImageStatic as Iw, ol$source$TileDebug as Cw, ol$source$XYZ as Ew, ol$source$VectorTile as HA, ol$layer$VectorTile as pa, ol$tilegrid$WMTS as _w, ol$source$WMTS as vw, ol$structs$LRUCache as lf, ol$extent$createOrUpdateFromCoordinate as TI, ol$format$MVT as cf, ol$expr$cpu$buildExpression as ww, ol$expr$expression$newParsingContext as Bw, ol$expr$cpu$newEvaluationContext as bw, ol$expr$expression$BooleanType as NI, ol$expr$expression$NoneType as Sw, ol$expr$expression$StringType as Xm, ol$source$Cluster as xw, ol$color$fromString as Qw, ol$functions$toPromise as Fh, ol$util$getUid as Mw, VectorTile as Dw, ol$render$canvas$checkedFonts as Lw, ol$has$WORKER_OFFSCREEN_CANVAS as VA, ol$coordinate$distance as Pw, ol$proj$Units$METERS_PER_UNIT as eg, ol$proj$fromLonLat as tg, ol$proj$getPointResolution as Ow, ol$source$Source as Fw, ol$source$Raster as UI, ol$source$TileJSON as HI, ol$loadingstrategy$bbox as kw, ol$proj$getUserProjection as Gw, ol$source$VectorTile$defaultLoadFunction as Rw, ol$render$Feature$toFeature as Tw, ol$Collection as Nw, ol$coordinate$equals as Uw, ol$interaction$DragPan as Hw, ol$extent$isEmpty as ig, ol$geom$LinearRing as Vw } from "./ol-3ca4e690.js";
5
- import { Cartesian3 as b, Math as F, Cartographic as Me, Rectangle as Tt, Cesium3DTileStyle as kh, Cesium3DTileColorBlendMode as ph, Color as oe, TrustedServers as ns, VerticalOrigin as ji, Cesium3DTileFeature as or, Cesium3DTilePointFeature as as, Entity as xs, Material as pt, Cartesian2 as ie, ClippingPolygon as hf, defined as Zm, ClippingPolygonCollection as VI, Matrix3 as we, Quaternion as Gh, Primitive as Bi, PerInstanceColorAppearance as ba, GeometryInstance as Jt, FrustumGeometry as qw, ColorGeometryInstanceAttribute as Xo, FrustumOutlineGeometry as zw, destroyObject as jw, EasingFunction as Yw, ConditionsExpression as Jw, Expression as Kw, HeightReference as ye, ClassificationType as In, NearFarScalar as Oo, SplitDirection as He, sampleTerrainMostDetailed as Va, PolylineGeometry as Cn, GroundPolylineGeometry as Af, PolygonOutlineGeometry as $w, PolygonHierarchy as rg, PolygonGeometry as Ww, CircleOutlineGeometry as Xw, CircleGeometry as Zw, HeadingPitchRoll as lr, Matrix4 as W, Transforms as Zr, MaterialAppearance as Zo, Model as uf, CylinderOutlineGeometry as e1, CylinderGeometry as qI, EllipsoidOutlineGeometry as t1, EllipsoidGeometry as df, SphereOutlineGeometry as i1, SphereGeometry as r1, BoxOutlineGeometry as s1, BoxGeometry as gf, ModelAnimationLoop as n1, WallOutlineGeometry as a1, WallGeometry as o1, LabelStyle as Du, HorizontalOrigin as Lu, ArcType as Rh, CatmullRomSpline as zI, ClassificationPrimitive as qA, ShadowMode as rc, PolylineMaterialAppearance as Th, GroundPolylinePrimitive as jI, GroundPrimitive as YI, SceneTransforms as l1, RequestScheduler as c1, JulianDate as ff, ScreenSpaceEventHandler as h1, Ray as JI, Ellipsoid as sg, KeyboardEventModifier as Pu, ScreenSpaceEventType as cs, PrimitiveCollection as Ri, ImageryLayer as Qs, BillboardCollection as A1, LabelCollection as u1, Billboard as KI, Resource as d1, CesiumTerrainProvider as ep, Cartesian4 as Nh, sampleTerrain as g1, Clock as f1, DataSourceClock as m1, CesiumWidget as $I, DataSourceDisplay as tp, DataSourceCollection as ip, Camera as mf, CustomDataSource as pf, BoundingSphere as WI, Intersect as yh, BillboardVisualizer as p1, LabelVisualizer as y1, PointVisualizer as I1, Sampler as C1, Texture as E1, PixelFormat as _1, PixelDatatype as v1, WebMercatorTilingScheme as zA, GeographicTilingScheme as yf, Cesium3DTileset as Pn, Composite3DTileContent as w1, Plane as Ve, IntersectionTests as B1, Event as Uh, HeadingPitchRange as b1, BoundingSphereState as rp, I3SDataProvider as S1, OpenStreetMapImageryProvider as x1, SingleTileImageryProvider as Q1, TileMapServiceImageryProvider as M1, WebMapServiceImageryProvider as D1, WebMapTileServiceImageryProvider as L1, TileBoundingRegion as P1, QuadtreeTileProvider as O1, QuadtreeTileLoadState as Fc, Visibility as oo, EntityCollection as F1, CzmlDataSource as k1, QuadtreePrimitive as G1, VertexFormat as R1, ConstantProperty as T1, ClippingPlaneCollection as el, ClippingPlane as tl, Globe as N1, PerspectiveFrustum as U1, LinearSpline as H1, QuaternionSpline as V1, Matrix2 as sp, CoplanarPolygonGeometry as q1 } from "./cesium-e6085330.js";
4
+ import { ol$proj$getTransform as Yt, ol$proj$get as Na, ol$proj$equivalent as xI, ol$proj$proj4$register as Km, ol$extent$getBottomLeft as GA, ol$extent$getTopRight as rf, ol$sphere$getDistance as QI, ol$geom$Circle as Ui, ol$geom$GeometryCollection as Zs, ol$style$Style as fe, ol$style$Stroke as yt, ol$style$Fill as Pt, ol$style$Text as Ua, ol$style$Icon as $i, ol$style$Circle as vs, ol$style$RegularShape as Va, ol$has$DEVICE_PIXEL_RATIO as ew, ol$style$Image as MI, ol$Feature as Be, ol$extent$containsCoordinate as Ko, ol$layer$Group as sf, ol$Map as Qn, ol$interaction$defaults as tw, ol$Observable$unByKey as Fe, ol$View as RA, ol$easing$inAndOut as iw, ol$extent$containsXY as DI, ol$extent$boundingExtent as $o, ol$layer$Layer as LI, ol$layer$Vector as Hn, ol$geom$Polygon$fromCircle as PI, ol$geom$Polygon as Kt, ol$geom$SimpleGeometry as rw, ol$geom$Point as At, ol$geom$LineString as bi, ol$geom$MultiPoint as TA, ol$geom$MultiLineString as ic, ol$geom$MultiPolygon as Mn, ol$sphere$offset as mh, ol$geom$Polygon$circular as sw, ol$colorlike$asColorLike as nw, Feature as xt, ol$ImageState as Oc, ol$proj$transform as pn, ol$extent$getBottomRight as OI, ol$extent$getTopLeft as Dn, ol$source$Vector as sr, ol$tilegrid$createXYZ as nf, ol$TileState as rr, ol$proj$Projection as aw, ol$tilegrid$TileGrid as af, ol$source$TileImage as ow, ol$layer$Tile as qn, ol$extent$buffer as NA, ol$extent$getCenter as Xr, ol$geom$Polygon$fromExtent as FI, ol$proj$transformExtent as $m, ol$extent$getWidth as yn, ol$format$GeoJSON as Wo, ol$source$TileWMS as lw, ol$source$ImageWMS as cw, ol$format$WFS as Ph, ol$format$WMSGetFeatureInfo as Zd, ol$format$GML32 as of, ol$format$GML3 as Oh, ol$format$GML2 as kI, ol$render$Feature as GI, ol$extent$createEmpty as Ln, ol$extent$extend as Ba, ol$events$EventType as Qu, ol$extent$getHeight as Mu, ol$render$canvas$Immediate as hw, ol$geom$flat$transform$transform2D as Aw, ol$extent$intersects as RI, ol$geom$SimpleGeometry$transformGeom2D as uw, ol$transform$scale as dw, ol$transform$create as gw, ol$transform$compose as fw, ol$layer$WebGLTile as mw, ol$render$getRenderPixel as Wm, ol$source$GeoTIFF as pw, ol$source$OSM as yw, ol$layer$Image as UA, ol$source$ImageStatic as Iw, ol$source$TileDebug as Cw, ol$source$XYZ as Ew, ol$source$VectorTile as VA, ol$layer$VectorTile as pa, ol$tilegrid$WMTS as _w, ol$source$WMTS as vw, ol$structs$LRUCache as lf, ol$extent$createOrUpdateFromCoordinate as TI, ol$format$MVT as cf, ol$expr$cpu$buildExpression as ww, ol$expr$expression$newParsingContext as Bw, ol$expr$cpu$newEvaluationContext as bw, ol$expr$expression$BooleanType as NI, ol$expr$expression$NoneType as Sw, ol$expr$expression$StringType as Xm, ol$source$Cluster as xw, ol$color$fromString as Qw, ol$functions$toPromise as Fh, ol$util$getUid as Mw, VectorTile as Dw, ol$render$canvas$checkedFonts as Lw, ol$has$WORKER_OFFSCREEN_CANVAS as HA, ol$coordinate$distance as Pw, ol$proj$Units$METERS_PER_UNIT as eg, ol$proj$fromLonLat as tg, ol$proj$getPointResolution as Ow, ol$source$Source as Fw, ol$source$Raster as UI, ol$source$TileJSON as VI, ol$loadingstrategy$bbox as kw, ol$proj$getUserProjection as Gw, ol$source$VectorTile$defaultLoadFunction as Rw, ol$render$Feature$toFeature as Tw, ol$Collection as Nw, ol$coordinate$equals as Uw, ol$interaction$DragPan as Vw, ol$extent$isEmpty as ig, ol$geom$LinearRing as Hw } from "./ol-8c8fc88f.js";
5
+ import { Cartesian3 as b, Math as F, Cartographic as Me, Rectangle as Tt, Cesium3DTileStyle as kh, Cesium3DTileColorBlendMode as ph, Color as oe, TrustedServers as ns, VerticalOrigin as ji, Cesium3DTileFeature as or, Cesium3DTilePointFeature as as, Entity as xs, Material as pt, Cartesian2 as ie, ClippingPolygon as hf, defined as Zm, ClippingPolygonCollection as HI, Matrix3 as we, Quaternion as Gh, Primitive as Bi, PerInstanceColorAppearance as ba, GeometryInstance as Jt, FrustumGeometry as qw, ColorGeometryInstanceAttribute as Xo, FrustumOutlineGeometry as zw, destroyObject as jw, EasingFunction as Yw, ConditionsExpression as Jw, Expression as Kw, HeightReference as ye, ClassificationType as In, NearFarScalar as Oo, SplitDirection as Ve, sampleTerrainMostDetailed as Ha, PolylineGeometry as Cn, GroundPolylineGeometry as Af, PolygonOutlineGeometry as $w, PolygonHierarchy as rg, PolygonGeometry as Ww, CircleOutlineGeometry as Xw, CircleGeometry as Zw, HeadingPitchRoll as lr, Matrix4 as W, Transforms as Zr, MaterialAppearance as Zo, Model as uf, CylinderOutlineGeometry as e1, CylinderGeometry as qI, EllipsoidOutlineGeometry as t1, EllipsoidGeometry as df, SphereOutlineGeometry as i1, SphereGeometry as r1, BoxOutlineGeometry as s1, BoxGeometry as gf, ModelAnimationLoop as n1, WallOutlineGeometry as a1, WallGeometry as o1, LabelStyle as Du, HorizontalOrigin as Lu, ArcType as Rh, CatmullRomSpline as zI, ClassificationPrimitive as qA, ShadowMode as rc, PolylineMaterialAppearance as Th, GroundPolylinePrimitive as jI, GroundPrimitive as YI, SceneTransforms as l1, RequestScheduler as c1, JulianDate as ff, ScreenSpaceEventHandler as h1, Ray as JI, Ellipsoid as sg, KeyboardEventModifier as Pu, ScreenSpaceEventType as cs, PrimitiveCollection as Ri, ImageryLayer as Qs, BillboardCollection as A1, LabelCollection as u1, Billboard as KI, Resource as d1, CesiumTerrainProvider as ep, Cartesian4 as Nh, sampleTerrain as g1, Clock as f1, DataSourceClock as m1, CesiumWidget as $I, DataSourceDisplay as tp, DataSourceCollection as ip, Camera as mf, CustomDataSource as pf, BoundingSphere as WI, Intersect as yh, BillboardVisualizer as p1, LabelVisualizer as y1, PointVisualizer as I1, Sampler as C1, Texture as E1, PixelFormat as _1, PixelDatatype as v1, WebMercatorTilingScheme as zA, GeographicTilingScheme as yf, Cesium3DTileset as Pn, Composite3DTileContent as w1, Plane as He, IntersectionTests as B1, Event as Uh, HeadingPitchRange as b1, BoundingSphereState as rp, I3SDataProvider as S1, OpenStreetMapImageryProvider as x1, SingleTileImageryProvider as Q1, TileMapServiceImageryProvider as M1, WebMapServiceImageryProvider as D1, WebMapTileServiceImageryProvider as L1, TileBoundingRegion as P1, QuadtreeTileProvider as O1, QuadtreeTileLoadState as Fc, Visibility as oo, EntityCollection as F1, CzmlDataSource as k1, QuadtreePrimitive as G1, VertexFormat as R1, ConstantProperty as T1, ClippingPlaneCollection as el, ClippingPlane as tl, Globe as N1, PerspectiveFrustum as U1, LinearSpline as V1, QuaternionSpline as H1, Matrix2 as sp, CoplanarPolygonGeometry as q1 } from "./cesium-48a47447.js";
6
6
  const en = Symbol("isMatcher"), z1 = Symbol("Integer"), j1 = Symbol("NonEmptyString"), If = /* @__PURE__ */ new Map();
7
7
  [
8
8
  [String, "string"],
@@ -181,7 +181,7 @@ function np(i) {
181
181
  const t = (e) => il(e) ? Object.values(e).every((s) => bt(s, i)) ? !1 : `Not all values of ${zt(e)} are of type ${sc(i)}` : `Expected ${zt(e)} to be a plain Object`;
182
182
  return t[en] = !0, t;
183
183
  }
184
- function Hh(i, t) {
184
+ function Vh(i, t) {
185
185
  P(i, Object);
186
186
  let e = Object.values(i);
187
187
  const r = (s) => e.includes(s) ? !1 : `expected ${zt(s)} to be of enum: ${e.join(", ")}`;
@@ -198,20 +198,20 @@ function tB(i) {
198
198
  i("EPSG:" + (32600 + t), "+proj=utm +zone=" + t + " +datum=WGS84 +units=m"), i("EPSG:" + (32700 + t), "+proj=utm +zone=" + t + " +south +datum=WGS84 +units=m");
199
199
  i("EPSG:5041", "+title=WGS 84 / UPS North (E,N) +proj=stere +lat_0=90 +lon_0=0 +k=0.994 +x_0=2000000 +y_0=2000000 +datum=WGS84 +units=m"), i("EPSG:5042", "+title=WGS 84 / UPS South (E,N) +proj=stere +lat_0=-90 +lon_0=0 +k=0.994 +x_0=2000000 +y_0=2000000 +datum=WGS84 +units=m"), 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"];
200
200
  }
201
- var On = 1, Fn = 2, ya = 3, iB = 4, ag = 5, ap = 6378137, rB = 6356752314e-3, op = 0.0066943799901413165, Fo = 484813681109536e-20, N = Math.PI / 2, sB = 0.16666666666666666, nB = 0.04722222222222222, aB = 0.022156084656084655, Y = 1e-10, Ht = 0.017453292519943295, zr = 57.29577951308232, Ne = Math.PI / 4, rl = Math.PI * 2, wt = 3.14159265359, Hi = {};
202
- Hi.greenwich = 0;
203
- Hi.lisbon = -9.131906111111;
204
- Hi.paris = 2.337229166667;
205
- Hi.bogota = -74.080916666667;
206
- Hi.madrid = -3.687938888889;
207
- Hi.rome = 12.452333333333;
208
- Hi.bern = 7.439583333333;
209
- Hi.jakarta = 106.807719444444;
210
- Hi.ferro = -17.666666666667;
211
- Hi.brussels = 4.367975;
212
- Hi.stockholm = 18.058277777778;
213
- Hi.athens = 23.7163375;
214
- Hi.oslo = 10.722916666667;
201
+ var On = 1, Fn = 2, ya = 3, iB = 4, ag = 5, ap = 6378137, rB = 6356752314e-3, op = 0.0066943799901413165, Fo = 484813681109536e-20, N = Math.PI / 2, sB = 0.16666666666666666, nB = 0.04722222222222222, aB = 0.022156084656084655, Y = 1e-10, Vt = 0.017453292519943295, zr = 57.29577951308232, Ne = Math.PI / 4, rl = Math.PI * 2, wt = 3.14159265359, Vi = {};
202
+ Vi.greenwich = 0;
203
+ Vi.lisbon = -9.131906111111;
204
+ Vi.paris = 2.337229166667;
205
+ Vi.bogota = -74.080916666667;
206
+ Vi.madrid = -3.687938888889;
207
+ Vi.rome = 12.452333333333;
208
+ Vi.bern = 7.439583333333;
209
+ Vi.jakarta = 106.807719444444;
210
+ Vi.ferro = -17.666666666667;
211
+ Vi.brussels = 4.367975;
212
+ Vi.stockholm = 18.058277777778;
213
+ Vi.athens = 23.7163375;
214
+ Vi.oslo = 10.722916666667;
215
215
  const oB = {
216
216
  mm: { to_meter: 1e-3 },
217
217
  cm: { to_meter: 0.01 },
@@ -257,34 +257,34 @@ function og(i) {
257
257
  t.rf = parseFloat(o);
258
258
  },
259
259
  lat_0: function(o) {
260
- t.lat0 = o * Ht;
260
+ t.lat0 = o * Vt;
261
261
  },
262
262
  lat_1: function(o) {
263
- t.lat1 = o * Ht;
263
+ t.lat1 = o * Vt;
264
264
  },
265
265
  lat_2: function(o) {
266
- t.lat2 = o * Ht;
266
+ t.lat2 = o * Vt;
267
267
  },
268
268
  lat_ts: function(o) {
269
- t.lat_ts = o * Ht;
269
+ t.lat_ts = o * Vt;
270
270
  },
271
271
  lon_0: function(o) {
272
- t.long0 = o * Ht;
272
+ t.long0 = o * Vt;
273
273
  },
274
274
  lon_1: function(o) {
275
- t.long1 = o * Ht;
275
+ t.long1 = o * Vt;
276
276
  },
277
277
  lon_2: function(o) {
278
- t.long2 = o * Ht;
278
+ t.long2 = o * Vt;
279
279
  },
280
280
  alpha: function(o) {
281
- t.alpha = parseFloat(o) * Ht;
281
+ t.alpha = parseFloat(o) * Vt;
282
282
  },
283
283
  gamma: function(o) {
284
- t.rectified_grid_angle = parseFloat(o) * Ht;
284
+ t.rectified_grid_angle = parseFloat(o) * Vt;
285
285
  },
286
286
  lonc: function(o) {
287
- t.longc = o * Ht;
287
+ t.longc = o * Vt;
288
288
  },
289
289
  x_0: function(o) {
290
290
  t.x0 = parseFloat(o);
@@ -330,11 +330,11 @@ function og(i) {
330
330
  l && (t.to_meter = l.to_meter);
331
331
  },
332
332
  from_greenwich: function(o) {
333
- t.from_greenwich = o * Ht;
333
+ t.from_greenwich = o * Vt;
334
334
  },
335
335
  pm: function(o) {
336
- var l = Ys(Hi, o);
337
- t.from_greenwich = (l || parseFloat(o)) * Ht;
336
+ var l = Ys(Vi, o);
337
+ t.from_greenwich = (l || parseFloat(o)) * Vt;
338
338
  },
339
339
  nadgrids: function(o) {
340
340
  o === "@null" ? t.datumCode = "none" : t.nadgrids = o;
@@ -553,7 +553,7 @@ function uB(i) {
553
553
  const t = i.toUpperCase();
554
554
  return t.includes("PROJCRS") || t.includes("GEOGCRS") || t.includes("BOUNDCRS") || t.includes("VERTCRS") || t.includes("LENGTHUNIT") || t.includes("ANGLEUNIT") || t.includes("SCALEUNIT") ? "WKT2" : (t.includes("PROJCS") || t.includes("GEOGCS") || t.includes("LOCAL_CS") || t.includes("VERT_CS") || t.includes("UNIT"), "WKT1");
555
555
  }
556
- var sl = 1, eC = 2, tC = 3, Vh = 4, iC = 5, Cf = -1, dB = /\s/, gB = /[A-Za-z]/, fB = /[A-Za-z84_]/, jA = /[,\]]/, rC = /[\d\.E\-\+]/;
556
+ var sl = 1, eC = 2, tC = 3, Hh = 4, iC = 5, Cf = -1, dB = /\s/, gB = /[A-Za-z]/, fB = /[A-Za-z84_]/, jA = /[,\]]/, rC = /[\d\.E\-\+]/;
557
557
  function Ms(i) {
558
558
  if (typeof i != "string")
559
559
  throw new Error("not a string");
@@ -561,7 +561,7 @@ function Ms(i) {
561
561
  }
562
562
  Ms.prototype.readCharicter = function() {
563
563
  var i = this.text[this.place++];
564
- if (this.state !== Vh)
564
+ if (this.state !== Hh)
565
565
  for (; dB.test(i); ) {
566
566
  if (this.place >= this.text.length)
567
567
  return;
@@ -572,7 +572,7 @@ Ms.prototype.readCharicter = function() {
572
572
  return this.neutral(i);
573
573
  case eC:
574
574
  return this.keyword(i);
575
- case Vh:
575
+ case Hh:
576
576
  return this.quoted(i);
577
577
  case iC:
578
578
  return this.afterquote(i);
@@ -584,7 +584,7 @@ Ms.prototype.readCharicter = function() {
584
584
  };
585
585
  Ms.prototype.afterquote = function(i) {
586
586
  if (i === '"') {
587
- this.word += '"', this.state = Vh;
587
+ this.word += '"', this.state = Hh;
588
588
  return;
589
589
  }
590
590
  if (jA.test(i)) {
@@ -643,7 +643,7 @@ Ms.prototype.neutral = function(i) {
643
643
  return;
644
644
  }
645
645
  if (i === '"') {
646
- this.word = "", this.state = Vh;
646
+ this.word = "", this.state = Hh;
647
647
  return;
648
648
  }
649
649
  if (rC.test(i)) {
@@ -1322,7 +1322,7 @@ var lC = {
1322
1322
  }
1323
1323
  };
1324
1324
  const UB = lC.WGS84;
1325
- function HB(i, t, e, r) {
1325
+ function VB(i, t, e, r) {
1326
1326
  var s = i * i, n = t * t, a = (s - n) / s, o = 0;
1327
1327
  r ? (i *= 1 - a * (sB + a * (nB + a * aB)), s = i * i, a = 0) : o = Math.sqrt(a);
1328
1328
  var l = (s - n) / n;
@@ -1332,7 +1332,7 @@ function HB(i, t, e, r) {
1332
1332
  ep2: l
1333
1333
  };
1334
1334
  }
1335
- function VB(i, t, e, r, s) {
1335
+ function HB(i, t, e, r, s) {
1336
1336
  if (!i) {
1337
1337
  var n = Ys(lC, r);
1338
1338
  n || (n = UB), i = n.a, t = n.b, e = n.rf;
@@ -2769,7 +2769,7 @@ function nr(i, t) {
2769
2769
  s && (e.datum_params = e.datum_params || (s.towgs84 ? s.towgs84.split(",") : null), e.ellps = s.ellipse, e.datumName = s.datumName ? s.datumName : e.datumCode);
2770
2770
  }
2771
2771
  e.k0 = e.k0 || 1, e.axis = e.axis || "enu", e.ellps = e.ellps || "wgs84", e.lat1 = e.lat1 || e.lat0;
2772
- var n = VB(e.a, e.b, e.rf, e.ellps, e.sphere), a = HB(n.a, n.b, n.rf, e.R_A), o = KB(e.nadgrids), l = e.datum || zB(
2772
+ var n = HB(e.a, e.b, e.rf, e.ellps, e.sphere), a = VB(n.a, n.b, n.rf, e.R_A), o = KB(e.nadgrids), l = e.datum || zB(
2773
2773
  e.datumCode,
2774
2774
  e.datum_params,
2775
2775
  n.a,
@@ -3004,8 +3004,8 @@ function jh(i, t, e, r) {
3004
3004
  var n = e.z !== void 0;
3005
3005
  if (lb(e), i.datum && t.datum && cb(i, t) && (s = new nr("WGS84"), e = jh(i, s, e, r), i = s), r && i.axis !== "enu" && (e = pp(i, !1, e)), i.projName === "longlat")
3006
3006
  e = {
3007
- x: e.x * Ht,
3008
- y: e.y * Ht,
3007
+ x: e.x * Vt,
3008
+ y: e.y * Vt,
3009
3009
  z: e.z || 0
3010
3010
  };
3011
3011
  else if (i.to_meter && (e = {
@@ -3460,14 +3460,14 @@ function Ub(i) {
3460
3460
  r = 1 / 0, s = 1 / 0;
3461
3461
  return i.x = r, i.y = s, i;
3462
3462
  }
3463
- var Hb = ["Extended_Transverse_Mercator", "Extended Transverse Mercator", "etmerc", "Transverse_Mercator", "Transverse Mercator", "Gauss Kruger", "Gauss_Kruger", "tmerc"];
3463
+ var Vb = ["Extended_Transverse_Mercator", "Extended Transverse Mercator", "etmerc", "Transverse_Mercator", "Transverse Mercator", "Gauss Kruger", "Gauss_Kruger", "tmerc"];
3464
3464
  const Eh = {
3465
3465
  init: Tb,
3466
3466
  forward: Nb,
3467
3467
  inverse: Ub,
3468
- names: Hb
3468
+ names: Vb
3469
3469
  };
3470
- function Vb(i, t) {
3470
+ function Hb(i, t) {
3471
3471
  if (i === void 0) {
3472
3472
  if (i = Math.floor((X(t) + Math.PI) * 30 / Math.PI) + 1, i < 0)
3473
3473
  return 0;
@@ -3478,10 +3478,10 @@ function Vb(i, t) {
3478
3478
  }
3479
3479
  var qb = "etmerc";
3480
3480
  function zb() {
3481
- var i = Vb(this.zone, this.long0);
3481
+ var i = Hb(this.zone, this.long0);
3482
3482
  if (i === void 0)
3483
3483
  throw new Error("unknown utm zone");
3484
- this.lat0 = 0, this.long0 = (6 * Math.abs(i) - 183) * Ht, this.x0 = 5e5, this.y0 = this.utmSouth ? 1e7 : 0, this.k0 = 0.9996, Eh.init.apply(this), this.forward = Eh.forward, this.inverse = Eh.inverse;
3484
+ this.lat0 = 0, this.long0 = (6 * Math.abs(i) - 183) * Vt, this.x0 = 5e5, this.y0 = this.utmSouth ? 1e7 : 0, this.k0 = 0.9996, Eh.init.apply(this), this.forward = Eh.forward, this.inverse = Eh.inverse;
3485
3485
  }
3486
3486
  var jb = ["Universal Transverse Mercator System", "utm"];
3487
3487
  const Yb = {
@@ -3784,7 +3784,7 @@ function OS() {
3784
3784
  var i = Math.abs(this.lat0);
3785
3785
  if (Math.abs(i - N) < Y ? this.mode = this.lat0 < 0 ? cg : hg : Math.abs(i) < Y ? this.mode = Ag : this.mode = _h, this.es > 0) {
3786
3786
  var t;
3787
- switch (this.qp = qs(this.e, 1), this.mmf = 0.5 / (1 - this.es), this.apa = VS(this.es), this.mode) {
3787
+ switch (this.qp = qs(this.e, 1), this.mmf = 0.5 / (1 - this.es), this.apa = HS(this.es), this.mode) {
3788
3788
  case hg:
3789
3789
  this.dd = 1;
3790
3790
  break;
@@ -3879,10 +3879,10 @@ function kS(i) {
3879
3879
  }
3880
3880
  return i.x = X(this.long0 + r, this.over), i.y = s, i;
3881
3881
  }
3882
- var GS = 0.3333333333333333, RS = 0.17222222222222222, TS = 0.10257936507936508, NS = 0.06388888888888888, US = 0.0664021164021164, HS = 0.016415012942191543;
3883
- function VS(i) {
3882
+ var GS = 0.3333333333333333, RS = 0.17222222222222222, TS = 0.10257936507936508, NS = 0.06388888888888888, US = 0.0664021164021164, VS = 0.016415012942191543;
3883
+ function HS(i) {
3884
3884
  var t, e = [];
3885
- return e[0] = i * GS, t = i * i, e[0] += t * RS, e[1] = t * NS, t *= i, e[0] += t * TS, e[1] += t * US, e[2] = t * HS, e;
3885
+ return e[0] = i * GS, t = i * i, e[0] += t * RS, e[1] = t * NS, t *= i, e[0] += t * TS, e[1] += t * US, e[2] = t * VS, e;
3886
3886
  }
3887
3887
  function qS(i, t) {
3888
3888
  var e = i + i;
@@ -4176,7 +4176,7 @@ const N2 = {
4176
4176
  function U2() {
4177
4177
  Math.abs(this.lat1 + this.lat2) < Y || (this.lat2 = this.lat2 || this.lat1, this.temp = this.b / this.a, this.es = 1 - Math.pow(this.temp, 2), this.e = Math.sqrt(this.es), this.e0 = ac(this.es), this.e1 = oc(this.es), this.e2 = lc(this.es), this.e3 = cc(this.es), this.sin_phi = Math.sin(this.lat1), this.cos_phi = Math.cos(this.lat1), this.ms1 = es(this.e, this.sin_phi, this.cos_phi), this.ml1 = Ei(this.e0, this.e1, this.e2, this.e3, this.lat1), Math.abs(this.lat1 - this.lat2) < Y ? this.ns = this.sin_phi : (this.sin_phi = Math.sin(this.lat2), this.cos_phi = Math.cos(this.lat2), this.ms2 = es(this.e, this.sin_phi, this.cos_phi), this.ml2 = Ei(this.e0, this.e1, this.e2, this.e3, this.lat2), this.ns = (this.ms1 - this.ms2) / (this.ml2 - this.ml1)), this.g = this.ml1 + this.ms1 / this.ns, this.ml0 = Ei(this.e0, this.e1, this.e2, this.e3, this.lat0), this.rh = this.a * (this.g - this.ml0));
4178
4178
  }
4179
- function H2(i) {
4179
+ function V2(i) {
4180
4180
  var t = i.x, e = i.y, r;
4181
4181
  if (this.sphere)
4182
4182
  r = this.a * (this.g - e);
@@ -4187,7 +4187,7 @@ function H2(i) {
4187
4187
  var n = this.ns * X(t - this.long0, this.over), a = this.x0 + r * Math.sin(n), o = this.y0 + this.rh - r * Math.cos(n);
4188
4188
  return i.x = a, i.y = o, i;
4189
4189
  }
4190
- function V2(i) {
4190
+ function H2(i) {
4191
4191
  i.x -= this.x0, i.y = this.rh - i.y + this.y0;
4192
4192
  var t, e, r, s;
4193
4193
  this.ns >= 0 ? (e = Math.sqrt(i.x * i.x + i.y * i.y), t = 1) : (e = -Math.sqrt(i.x * i.x + i.y * i.y), t = -1);
@@ -4200,8 +4200,8 @@ function V2(i) {
4200
4200
  var q2 = ["Equidistant_Conic", "eqdc"];
4201
4201
  const z2 = {
4202
4202
  init: U2,
4203
- forward: H2,
4204
- inverse: V2,
4203
+ forward: V2,
4204
+ inverse: H2,
4205
4205
  names: q2
4206
4206
  };
4207
4207
  function j2() {
@@ -4437,7 +4437,7 @@ function Ix(i) {
4437
4437
  var r = Bo[e], s = 5 * (t.y - r[0]) / (Bo[e + 1][0] - r[0]);
4438
4438
  s = mx(function(n) {
4439
4439
  return (Jh(r, n) - t.y) / fx(r, n);
4440
- }, s, Y, 100), t.x /= Jh(ug[e], s), t.y = (5 * e + s) * Ht, i.y < 0 && (t.y = -t.y);
4440
+ }, s, Y, 100), t.x /= Jh(ug[e], s), t.y = (5 * e + s) * Vt, i.y < 0 && (t.y = -t.y);
4441
4441
  }
4442
4442
  return t.x = X(t.x + this.long0, this.over), t;
4443
4443
  }
@@ -4492,7 +4492,7 @@ function Sx() {
4492
4492
  throw new Error("Invalid parameter value, must be numeric " + e + " = " + this[e]);
4493
4493
  lo[e].num && (this[e] = parseFloat(this[e]));
4494
4494
  }
4495
- lo[e].degrees && (this[e] = this[e] * Ht);
4495
+ lo[e].degrees && (this[e] = this[e] * Vt);
4496
4496
  }).bind(this)), Math.abs(Math.abs(this.lat0) - N) < Y ? this.mode = this.lat0 < 0 ? hi.S_POLE : hi.N_POLE : Math.abs(this.lat0) < Y ? this.mode = hi.EQUIT : (this.mode = hi.OBLIQ, this.sinph0 = Math.sin(this.lat0), this.cosph0 = Math.cos(this.lat0)), this.pn1 = this.h / this.a, this.pn1 <= 0 || this.pn1 > 1e10)
4497
4497
  throw new Error("Invalid height");
4498
4498
  this.p = 1 + this.pn1, this.rp = 1 / this.p, this.h1 = 1 / this.pn1, this.pfact = (this.p + 1) * this.h1, this.es = 0;
@@ -4633,7 +4633,7 @@ const Ux = {
4633
4633
  names: Nx
4634
4634
  };
4635
4635
  var al = 1e-10;
4636
- function Hx() {
4636
+ function Vx() {
4637
4637
  var i;
4638
4638
  if (this.phi1 = this.lat1, Math.abs(this.phi1) < al)
4639
4639
  throw new Error();
@@ -4642,9 +4642,9 @@ function Hx() {
4642
4642
  this.am1 = Math.sin(this.phi1),
4643
4643
  i = Math.cos(this.phi1),
4644
4644
  this.en
4645
- ), this.am1 = i / (Math.sqrt(1 - this.es * this.am1 * this.am1) * this.am1), this.inverse = qx, this.forward = Vx) : (Math.abs(this.phi1) + al >= N ? this.cphi1 = 0 : this.cphi1 = 1 / Math.tan(this.phi1), this.inverse = jx, this.forward = zx);
4645
+ ), this.am1 = i / (Math.sqrt(1 - this.es * this.am1 * this.am1) * this.am1), this.inverse = qx, this.forward = Hx) : (Math.abs(this.phi1) + al >= N ? this.cphi1 = 0 : this.cphi1 = 1 / Math.tan(this.phi1), this.inverse = jx, this.forward = zx);
4646
4646
  }
4647
- function Vx(i) {
4647
+ function Hx(i) {
4648
4648
  var t = X(i.x - (this.long0 || 0), this.over), e = i.y, r, s, n;
4649
4649
  return r = this.am1 + this.m1 - za(e, s = Math.sin(e), n = Math.cos(e), this.en), s = n * t / (r * Math.sqrt(1 - this.es * s * s)), i.x = r * Math.sin(s), i.y = this.am1 - r * Math.cos(s), i.x = this.a * i.x + (this.x0 || 0), i.y = this.a * i.y + (this.y0 || 0), i;
4650
4650
  }
@@ -4672,7 +4672,7 @@ function jx(i) {
4672
4672
  }
4673
4673
  var Yx = ["bonne", "Bonne (Werner lat_1=90)"];
4674
4674
  const Jx = {
4675
- init: Hx,
4675
+ init: Vx,
4676
4676
  names: Yx
4677
4677
  }, bp = {
4678
4678
  OBLIQUE: {
@@ -4713,7 +4713,7 @@ function Kx() {
4713
4713
  const r = Object.keys($h), s = (o) => {
4714
4714
  if (typeof this[o] > "u")
4715
4715
  return;
4716
- const l = parseFloat(this[o]) * Ht;
4716
+ const l = parseFloat(this[o]) * Vt;
4717
4717
  if (isNaN(l))
4718
4718
  throw new Error("Invalid value for " + o + ": " + this[o]);
4719
4719
  return l;
@@ -5342,9 +5342,9 @@ class QC {
5342
5342
  }
5343
5343
  }
5344
5344
  const dg = /* @__PURE__ */ new Map();
5345
- let Hu;
5345
+ let Vu;
5346
5346
  function CQ() {
5347
- return Hu || (Hu = new QC()), Hu;
5347
+ return Vu || (Vu = new QC()), Vu;
5348
5348
  }
5349
5349
  function EQ(i) {
5350
5350
  const t = new QC(i);
@@ -5911,7 +5911,7 @@ function OC(i) {
5911
5911
  scale: i.getScale()
5912
5912
  };
5913
5913
  return i.getFill() && (t.fill = eA(i.getFill())), i.getRadius() != null && (t.radius = i.getRadius()), i.getStroke() && (t.stroke = ll(i.getStroke())), t;
5914
- } else if (i instanceof Ha) {
5914
+ } else if (i instanceof Va) {
5915
5915
  const t = {
5916
5916
  scale: i.getScale()
5917
5917
  };
@@ -5922,7 +5922,7 @@ function OC(i) {
5922
5922
  function SQ(i) {
5923
5923
  if (i.radius) {
5924
5924
  const t = i.fill ? DC(i.fill) : void 0, e = i.stroke ? Pf(i.stroke) : void 0;
5925
- return i.points ? new Ha({
5925
+ return i.points ? new Va({
5926
5926
  fill: t,
5927
5927
  stroke: e,
5928
5928
  points: i.points,
@@ -6033,7 +6033,7 @@ const rN = (
6033
6033
  "${attributes} !== undefined && ${attributes} !== null && ${attributes.olcs_extrudedHeight} !== undefined && ${attributes.olcs_extrudedHeight}!==null"
6034
6034
  );
6035
6035
  function kC(i) {
6036
- return i.fill && !(i.fill instanceof Pt) && (i.fill = new Pt(i.fill)), i.stroke && !(i.stroke instanceof yt) && (i.stroke = new yt(i.stroke)), i.points ? new Ha(i) : new vs(i);
6036
+ return i.fill && !(i.fill instanceof Pt) && (i.fill = new Pt(i.fill)), i.stroke && !(i.stroke instanceof yt) && (i.stroke = new yt(i.stroke)), i.points ? new Va(i) : new vs(i);
6037
6037
  }
6038
6038
  class MQ {
6039
6039
  constructor() {
@@ -6228,7 +6228,7 @@ class Je extends is {
6228
6228
  s.splice(1, 1, ["true", String(A)]), h -= A;
6229
6229
  }
6230
6230
  a.splice(1, 1, ["true", String(h)]);
6231
- } else if (this._image instanceof Ha) {
6231
+ } else if (this._image instanceof Va) {
6232
6232
  const c = this._image.getImage(1).toDataURL();
6233
6233
  o.splice(1, 1, ["true", `"${c}"`]);
6234
6234
  } else this._image instanceof $i && o.splice(1, 1, [
@@ -6607,11 +6607,11 @@ hf.prototype.computeRectangle = function(t) {
6607
6607
  const e = GQ.call(this, t);
6608
6608
  return this._cachedRectangle = Tt.clone(e), e;
6609
6609
  };
6610
- VI.prototype.setDirty = function() {
6610
+ HI.prototype.setDirty = function() {
6611
6611
  this._totalPositions = -1;
6612
6612
  };
6613
- const RQ = new b(), TQ = new we(), NQ = new Gh(), UQ = new oe(), HQ = [1, 1e5];
6614
- class VQ {
6613
+ const RQ = new b(), TQ = new we(), NQ = new Gh(), UQ = new oe(), VQ = [1, 1e5];
6614
+ class HQ {
6615
6615
  constructor(t) {
6616
6616
  d(this, "_outlinePrimitives", []);
6617
6617
  d(this, "_planesPrimitives", []);
@@ -6628,7 +6628,7 @@ class VQ {
6628
6628
  const e = this._planesPrimitives, r = this._outlinePrimitives;
6629
6629
  let s;
6630
6630
  if (e.length === 0) {
6631
- const a = this._camera, l = a.frustum.clone(), c = HQ;
6631
+ const a = this._camera, l = a.frustum.clone(), c = VQ;
6632
6632
  c[0] = this._camera.frustum.near, c[1] = this._camera.frustum.far;
6633
6633
  const h = a.positionWC, A = a.directionWC, u = a.upWC;
6634
6634
  let g = a.rightWC;
@@ -6759,15 +6759,15 @@ class qe {
6759
6759
  return this === t ? !0 : this.isValid() && t.isValid() && this.extent.every((e, r) => e === t.extent[r]) && this.projection.equals(t.projection);
6760
6760
  }
6761
6761
  }
6762
- function HC(i, t, e) {
6762
+ function VC(i, t, e) {
6763
6763
  return i != null && t != null && Math.abs(i - t) <= e;
6764
6764
  }
6765
- function Vu(i, t, e) {
6765
+ function Hu(i, t, e) {
6766
6766
  const r = i - t - Math.trunc((i - t) / 360) * 360;
6767
6767
  return Math.abs(r) <= e;
6768
6768
  }
6769
6769
  function Lp(i, t, e) {
6770
- return i != null && t != null && i.every((r, s) => HC(r, t[s], e));
6770
+ return i != null && t != null && i.every((r, s) => VC(r, t[s], e));
6771
6771
  }
6772
6772
  class _i extends ni {
6773
6773
  /**
@@ -6919,7 +6919,7 @@ class _i extends ni {
6919
6919
  * compares the provided Viewpoint with this viewpoint componentwise
6920
6920
  */
6921
6921
  equals(e, r = 0) {
6922
- return e === this || e !== null && HC(e.distance, this.distance, r) && Vu(e.heading, this.heading, r) && Vu(e.pitch, this.pitch, r) && Vu(e.roll, this.roll, r) && (Lp(e.cameraPosition, this.cameraPosition, r) || Lp(e.groundPosition, this.groundPosition, r));
6922
+ return e === this || e !== null && VC(e.distance, this.distance, r) && Hu(e.heading, this.heading, r) && Hu(e.pitch, this.pitch, r) && Hu(e.roll, this.roll, r) && (Lp(e.cameraPosition, this.cameraPosition, r) || Lp(e.groundPosition, this.groundPosition, r));
6923
6923
  }
6924
6924
  }
6925
6925
  function qQ(i) {
@@ -6931,7 +6931,7 @@ function qQ(i) {
6931
6931
  roll: F.toDegrees(r)
6932
6932
  });
6933
6933
  }
6934
- const de = Symbol("vcsLayerName"), Al = Symbol("allowPicking"), ul = Symbol("i3sData"), br = Symbol("alreadyTransformedToMercator"), Vt = Symbol("alreadyTransformedToImage"), ar = Symbol("obliqueGeometry"), mc = Symbol("doNotTransform"), xa = Symbol("OriginalFeature"), dl = Symbol("ActuallyIsCircle"), st = Symbol("createSync"), _n = Symbol("primitives"), gg = Symbol("Scale"), vn = Symbol("panoramaFeature"), zQ = new Ua({
6934
+ const de = Symbol("vcsLayerName"), Al = Symbol("allowPicking"), ul = Symbol("i3sData"), br = Symbol("alreadyTransformedToMercator"), Ht = Symbol("alreadyTransformedToImage"), ar = Symbol("obliqueGeometry"), mc = Symbol("doNotTransform"), xa = Symbol("OriginalFeature"), dl = Symbol("ActuallyIsCircle"), st = Symbol("createSync"), _n = Symbol("primitives"), gg = Symbol("Scale"), vn = Symbol("panoramaFeature"), zQ = new Ua({
6935
6935
  font: "30px sans-serif",
6936
6936
  fill: new Pt({ color: wh }),
6937
6937
  textAlign: "left",
@@ -7152,7 +7152,7 @@ class di extends is {
7152
7152
  }
7153
7153
  }
7154
7154
  dc.registerClass(di.className, di);
7155
- const VC = new di({});
7155
+ const HC = new di({});
7156
7156
  function gl(i, t) {
7157
7157
  if (bt(i, Ke(is, { type: String }))) {
7158
7158
  if (i instanceof is)
@@ -7163,7 +7163,7 @@ function gl(i, t) {
7163
7163
  return e instanceof Je && t instanceof Je ? e.assign(t.clone().assign(e)) : e;
7164
7164
  }
7165
7165
  }
7166
- return t || VC.clone();
7166
+ return t || HC.clone();
7167
7167
  }
7168
7168
  function jQ() {
7169
7169
  return le("VectorProperties");
@@ -7303,7 +7303,7 @@ class jt {
7303
7303
  return this._altitudeMode;
7304
7304
  }
7305
7305
  set altitudeMode(t) {
7306
- t !== this._altitudeMode && (P(t, Hh(ye)), this._altitudeMode = t, this.propertyChanged.raiseEvent(["altitudeMode"]));
7306
+ t !== this._altitudeMode && (P(t, Vh(ye)), this._altitudeMode = t, this.propertyChanged.raiseEvent(["altitudeMode"]));
7307
7307
  }
7308
7308
  getAltitudeMode(t) {
7309
7309
  return Os(t.get("olcs_altitudeMode"), So, this._altitudeMode);
@@ -7322,7 +7322,7 @@ class jt {
7322
7322
  return this._classificationType;
7323
7323
  }
7324
7324
  set classificationType(t) {
7325
- t !== this._classificationType && (P(t, Qe(Hh(In))), this._classificationType = t, this.propertyChanged.raiseEvent(["classificationType"]));
7325
+ t !== this._classificationType && (P(t, Qe(Vh(In))), this._classificationType = t, this.propertyChanged.raiseEvent(["classificationType"]));
7326
7326
  }
7327
7327
  getClassificationType(t) {
7328
7328
  return Os(t.get("olcs_classificationType"), xo, this.classificationType);
@@ -8745,7 +8745,7 @@ class cr extends $t {
8745
8745
  * An event, called when the style of the layer changes. Is passed the new style item as its value.
8746
8746
  */
8747
8747
  d(this, "styleChanged", new R());
8748
- d(this, "_splitDirection", He.NONE);
8748
+ d(this, "_splitDirection", Ve.NONE);
8749
8749
  /**
8750
8750
  * raised if the split direction changes, is passed the split direction as its only argument
8751
8751
  */
@@ -8754,7 +8754,7 @@ class cr extends $t {
8754
8754
  * FeatureVisibility tracks the highlighting and hiding of features on this layer
8755
8755
  */
8756
8756
  d(this, "featureVisibility");
8757
- this._style = this.getStyleOrDefaultStyle(e.style), this._defaultStyle = this._style, e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? He.LEFT : He.RIGHT), this.featureVisibility = e.featureVisibility || new fc();
8757
+ this._style = this.getStyleOrDefaultStyle(e.style), this._defaultStyle = this._style, e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? Ve.LEFT : Ve.RIGHT), this.featureVisibility = e.featureVisibility || new fc();
8758
8758
  }
8759
8759
  static get className() {
8760
8760
  return "FeatureLayer";
@@ -8821,7 +8821,7 @@ class cr extends $t {
8821
8821
  }
8822
8822
  toJSON(e = cr.getDefaultOptions()) {
8823
8823
  const r = super.toJSON(e);
8824
- return this.getStyleOrDefaultStyle().equals(this._style) || (r.style = this.style.toJSON()), this._splitDirection !== He.NONE && (r.splitDirection = this._splitDirection === He.RIGHT ? "right" : "left"), r;
8824
+ return this.getStyleOrDefaultStyle().equals(this._style) || (r.style = this.style.toJSON()), this._splitDirection !== Ve.NONE && (r.splitDirection = this._splitDirection === Ve.RIGHT ? "right" : "left"), r;
8825
8825
  }
8826
8826
  destroy() {
8827
8827
  this.featureVisibility && this.featureVisibility.destroy(), this.styleChanged.destroy(), this.splitDirectionChanged.destroy(), super.destroy();
@@ -9584,10 +9584,10 @@ var ee;
9584
9584
  (function(i) {
9585
9585
  i[i.NONE = 2] = "NONE", i[i.ALT = 4] = "ALT", i[i.CTRL = 8] = "CTRL", i[i.SHIFT = 16] = "SHIFT", i[i.ALL = 30] = "ALL";
9586
9586
  })(ee || (ee = {}));
9587
- var H;
9587
+ var V;
9588
9588
  (function(i) {
9589
9589
  i[i.NONE = 0] = "NONE", i[i.CLICK = 32] = "CLICK", i[i.DBLCLICK = 64] = "DBLCLICK", i[i.DRAG = 128] = "DRAG", i[i.DRAGSTART = 256] = "DRAGSTART", i[i.DRAGEND = 512] = "DRAGEND", i[i.MOVE = 1024] = "MOVE", i[i.DRAGEVENTS = 896] = "DRAGEVENTS", i[i.CLICKMOVE = 1056] = "CLICKMOVE", i[i.ALL = 2016] = "ALL";
9590
- })(H || (H = {}));
9590
+ })(V || (V = {}));
9591
9591
  var mt;
9592
9592
  (function(i) {
9593
9593
  i[i.LEFT = 2048] = "LEFT", i[i.RIGHT = 4096] = "RIGHT", i[i.MIDDLE = 8192] = "MIDDLE", i[i.ALL = 14336] = "ALL";
@@ -9908,13 +9908,13 @@ class pc extends xr {
9908
9908
  }
9909
9909
  updateSplitDirection(e) {
9910
9910
  var r;
9911
- this.splitDirection = e, this.initialized && (this.splitDirection === He.NONE && this._splitDirectionRenderListeners ? (Fe(this._splitDirectionRenderListeners), this._splitDirectionRenderListeners = null, (r = this.olLayer) == null || r.changed()) : e !== He.NONE && !this._splitDirectionRenderListeners && (this._splitDirectionRenderListeners = [], this.olLayer instanceof LI ? (this._splitDirectionRenderListeners.push(this.olLayer.on("prerender", this._splitPreRender.bind(this))), this._splitDirectionRenderListeners.push(this.olLayer.on("postrender", this._splitPostReder.bind(this)))) : this.olLayer.getLayersArray().forEach((s) => {
9911
+ this.splitDirection = e, this.initialized && (this.splitDirection === Ve.NONE && this._splitDirectionRenderListeners ? (Fe(this._splitDirectionRenderListeners), this._splitDirectionRenderListeners = null, (r = this.olLayer) == null || r.changed()) : e !== Ve.NONE && !this._splitDirectionRenderListeners && (this._splitDirectionRenderListeners = [], this.olLayer instanceof LI ? (this._splitDirectionRenderListeners.push(this.olLayer.on("prerender", this._splitPreRender.bind(this))), this._splitDirectionRenderListeners.push(this.olLayer.on("postrender", this._splitPostReder.bind(this)))) : this.olLayer.getLayersArray().forEach((s) => {
9912
9912
  this._splitDirectionRenderListeners.push(s.on("prerender", this._splitPreRender.bind(this))), this._splitDirectionRenderListeners.push(s.on("postrender", this._splitPostReder.bind(this)));
9913
9913
  }), this.olLayer.changed()));
9914
9914
  }
9915
9915
  _splitPreRender(e) {
9916
9916
  const r = e.context, s = r.canvas.width * this.map.splitPosition;
9917
- r.save(), r.beginPath(), this.splitDirection === He.LEFT ? r.rect(0, 0, s, r.canvas.height) : r.rect(s, 0, r.canvas.width - s, r.canvas.height), r.clip();
9917
+ r.save(), r.beginPath(), this.splitDirection === Ve.LEFT ? r.rect(0, 0, s, r.canvas.height) : r.rect(s, 0, r.canvas.width - s, r.canvas.height), r.clip();
9918
9918
  }
9919
9919
  // eslint-disable-next-line class-methods-use-this
9920
9920
  _splitPostReder(e) {
@@ -9991,7 +9991,7 @@ class zC extends pc {
9991
9991
  this.style = e, this.initialized && this.olLayer.setStyle(this.style.style);
9992
9992
  }
9993
9993
  getOLLayer() {
9994
- const e = new Vn({
9994
+ const e = new Hn({
9995
9995
  visible: !1,
9996
9996
  source: this.source,
9997
9997
  style: this.style.style
@@ -10092,7 +10092,7 @@ function sN(i) {
10092
10092
  }
10093
10093
  async function nN(i, t, e) {
10094
10094
  const r = i.getLayout(), s = i.getCoordinates(), n = Qr(i, s), a = n.map((o) => hc(o));
10095
- if (e === ye.CLAMP_TO_GROUND ? await t.sampleHeightMostDetailed(a) : t.terrainProvider.availability ? await Va(t.terrainProvider, a) : a.forEach((o) => {
10095
+ if (e === ye.CLAMP_TO_GROUND ? await t.sampleHeightMostDetailed(a) : t.terrainProvider.availability ? await Ha(t.terrainProvider, a) : a.forEach((o) => {
10096
10096
  o.height = 0;
10097
10097
  }), r === "XY" || r === "XYM") {
10098
10098
  const o = Math.max(...a.map((l) => l.height));
@@ -10112,7 +10112,7 @@ async function nN(i, t, e) {
10112
10112
  }
10113
10113
  async function KC(i, t, e) {
10114
10114
  const r = i.getLayout(), s = i.getCoordinates(), n = Qr(i, s), a = n.map((o) => hc(o));
10115
- e === ye.CLAMP_TO_GROUND ? await t.sampleHeightMostDetailed(a) : t.terrainProvider.availability ? await Va(t.terrainProvider, a) : a.forEach((o) => {
10115
+ e === ye.CLAMP_TO_GROUND ? await t.sampleHeightMostDetailed(a) : t.terrainProvider.availability ? await Ha(t.terrainProvider, a) : a.forEach((o) => {
10116
10116
  o.height = 0;
10117
10117
  }), a.forEach((o, l) => {
10118
10118
  r === "XYM" && (n[l][3] = n[l][2]), n[l][2] = o.height;
@@ -10731,7 +10731,7 @@ function oE(i, t, e, r, s, n, a) {
10731
10731
  return [];
10732
10732
  const l = t.getImage();
10733
10733
  let c, h;
10734
- if (l instanceof Ha ? (c = l.getFill(), h = l.getStroke()) : l && (c = t.getFill(), h = t.getStroke()), !c && !h)
10734
+ if (l instanceof Va ? (c = l.getFill(), h = l.getStroke()) : l && (c = t.getFill(), h = t.getStroke()), !c && !h)
10735
10735
  return [];
10736
10736
  let A;
10737
10737
  c && (A = Yr(c.getColor(), [255, 255, 255, 0.4]));
@@ -10879,7 +10879,7 @@ function Rf(i) {
10879
10879
  return t && t.length >= e ? t.every((r) => Number.isFinite(r)) : !1;
10880
10880
  }
10881
10881
  let $u;
10882
- function Hp() {
10882
+ function Vp() {
10883
10883
  return $u || ($u = {
10884
10884
  type: "lineString",
10885
10885
  getGeometryOptions: AE,
@@ -11012,7 +11012,7 @@ function NM(i, t) {
11012
11012
  validateGeometry: Rf
11013
11013
  };
11014
11014
  }
11015
- const Vr = Symbol("FeatureArcStruct"), Vp = Symbol("ArcStyleId");
11015
+ const Hr = Symbol("FeatureArcStruct"), Hp = Symbol("ArcStyleId");
11016
11016
  function UM(i, t, e) {
11017
11017
  const r = we.determinant(new we(i[0], i[1], 1, t[0], t[1], 1, e[0], e[1], 1));
11018
11018
  if (r === 0)
@@ -11023,7 +11023,7 @@ function UM(i, t, e) {
11023
11023
  radius: ts(a, i)
11024
11024
  };
11025
11025
  }
11026
- function HM(i, t, e) {
11026
+ function VM(i, t, e) {
11027
11027
  const r = new ie(t[0] - i[0], t[1] - i[1]);
11028
11028
  let s = ie.normalize(r, new ie());
11029
11029
  const { x: n, y: a } = s;
@@ -11031,13 +11031,13 @@ function HM(i, t, e) {
11031
11031
  const o = YA(i, t);
11032
11032
  return ie.add(s, new ie(o[0], o[1]), s), [s.x, s.y];
11033
11033
  }
11034
- function VM(i, t, e) {
11034
+ function HM(i, t, e) {
11035
11035
  return i[1] <= t[1] ? e : Math.PI + (Math.PI - e);
11036
11036
  }
11037
11037
  function qM(i, t, e, r, s, n) {
11038
11038
  const a = ie.UNIT_X, o = new ie(i[0] - e[0], i[1] - e[1]), l = new ie(t[0] - e[0], t[1] - e[1]);
11039
11039
  let c = ie.angleBetween(a, o);
11040
- c = VM(e, i, c);
11040
+ c = HM(e, i, c);
11041
11041
  let h = ie.angleBetween(o, l);
11042
11042
  const A = new Array(s), u = n / r;
11043
11043
  c += u, h -= u * 2;
@@ -11079,7 +11079,7 @@ function zM(i, t, e, r, s, n) {
11079
11079
  return f;
11080
11080
  }
11081
11081
  function Ig(i, t, e, r) {
11082
- t[Vr] && t[Vr].destroy();
11082
+ t[Hr] && t[Hr].destroy();
11083
11083
  const s = t.getGeometry(), n = [], a = () => {
11084
11084
  Fe(n);
11085
11085
  };
@@ -11092,22 +11092,22 @@ function Ig(i, t, e, r) {
11092
11092
  const o = s.getFirstCoordinate(), l = s.getLastCoordinate(), c = ts(o, l), h = c * i;
11093
11093
  let A = r;
11094
11094
  r * 2 > c && (A = 0);
11095
- const u = HM(o, l, h), g = UM(o, l, u);
11095
+ const u = VM(o, l, h), g = UM(o, l, u);
11096
11096
  if (!g) {
11097
- t[Vr] = {
11097
+ t[Hr] = {
11098
11098
  geometry: s,
11099
11099
  destroy: a
11100
11100
  };
11101
11101
  return;
11102
11102
  }
11103
11103
  const { center: f, radius: m } = g, p = qM(o, l, f, m, e, A), y = zM(o, l, h, e, i, A);
11104
- t[Vr] = {
11104
+ t[Hr] = {
11105
11105
  geometry: new bi(p),
11106
11106
  coordinates: y,
11107
11107
  destroy: a
11108
11108
  };
11109
11109
  } else
11110
- t[Vr] = {
11110
+ t[Hr] = {
11111
11111
  geometry: s,
11112
11112
  destroy: a
11113
11113
  };
@@ -11159,7 +11159,7 @@ class gE extends $A {
11159
11159
  }
11160
11160
  _getFeatureArcGeometry(e) {
11161
11161
  var r;
11162
- return (!e[Vr] || e[Vp] !== this._revisionId) && (Ig(this._arcFactor, e, this._numberOfSegments, this._offset), e[Vp] = this._revisionId), (r = e[Vr]) == null ? void 0 : r.geometry;
11162
+ return (!e[Hr] || e[Hp] !== this._revisionId) && (Ig(this._arcFactor, e, this._numberOfSegments, this._offset), e[Hp] = this._revisionId), (r = e[Hr]) == null ? void 0 : r.geometry;
11163
11163
  }
11164
11164
  _getCloneOptions() {
11165
11165
  const e = super._getCloneOptions();
@@ -11427,11 +11427,11 @@ async function iD(i, t, e, r, s) {
11427
11427
  if (t instanceof At)
11428
11428
  return !e.getImage() && !((h = e.getText()) != null && h.getText()) || !dE(t) ? [] : await RM(i, t, e, r, s, n);
11429
11429
  let a, o;
11430
- if (t instanceof Kt ? a = _M() : t instanceof bi ? e instanceof $A ? ((A = i[Vr]) != null && A.coordinates ? a = NM((u = i[Vr]) == null ? void 0 : u.coordinates, n.heightReference) : a = Hp(), o = e) : a = Hp() : a = QM(), !e.getFill() && !e.getStroke() || !a.validateGeometry(t))
11430
+ if (t instanceof Kt ? a = _M() : t instanceof bi ? e instanceof $A ? ((A = i[Hr]) != null && A.coordinates ? a = NM((u = i[Hr]) == null ? void 0 : u.coordinates, n.heightReference) : a = Vp(), o = e) : a = Vp() : a = QM(), !e.getFill() && !e.getStroke() || !a.validateGeometry(t))
11431
11431
  return [];
11432
11432
  const l = tD(e, t, a, n);
11433
11433
  let c = [];
11434
- return o && (c = FM(i, o, t, r, s, (g = i[Vr]) == null ? void 0 : g.coordinates)), [...l, ...c];
11434
+ return o && (c = FM(i, o, t, r, s, (g = i[Hr]) == null ? void 0 : g.coordinates)), [...l, ...c];
11435
11435
  }
11436
11436
  function pE() {
11437
11437
  return {
@@ -12110,7 +12110,7 @@ function Ja(i, t, e, r) {
12110
12110
  const l = s ? s(o, o.slice(), o.length) : o;
12111
12111
  return Me.fromDegrees(l[0], l[1]);
12112
12112
  }), a = r || t.map((o) => o.slice());
12113
- return Va(i, n).then((o) => (o.forEach((l, c) => {
12113
+ return Ha(i, n).then((o) => (o.forEach((l, c) => {
12114
12114
  a[c][2] = l.height || 0;
12115
12115
  }), a));
12116
12116
  }
@@ -12318,7 +12318,7 @@ async function mD(i, t, e) {
12318
12318
  let a = Yt(he.proj, e.meta.projection.proj), o = [];
12319
12319
  if (e.meta.terrainProvider) {
12320
12320
  const l = n.map((c) => (ne.mercatorToWgs84(c, !0), Me.fromDegrees(c[0], c[1])));
12321
- a = Yt(ke.proj, e.meta.projection.proj), o = await Va(e.meta.terrainProvider, l);
12321
+ a = Yt(ke.proj, e.meta.projection.proj), o = await Ha(e.meta.terrainProvider, l);
12322
12322
  }
12323
12323
  return n.forEach((l, c) => {
12324
12324
  a(l, l, 3);
@@ -12330,7 +12330,7 @@ function pD(i, t, e) {
12330
12330
  const r = i.getCoordinates(), n = Qr(i, r).map((a) => Il(e, a).then((o) => {
12331
12331
  a[0] = o.coords[0], a[1] = o.coords[1], a[2] = o.coords[2];
12332
12332
  }));
12333
- return Promise.all(n).then(() => (delete t[Vt], t.setCoordinates(r), t));
12333
+ return Promise.all(n).then(() => (delete t[Ht], t.setCoordinates(r), t));
12334
12334
  }
12335
12335
  function Jp(i, t = !1) {
12336
12336
  const e = i.getGeometry();
@@ -12341,13 +12341,13 @@ function Jp(i, t = !1) {
12341
12341
  }
12342
12342
  function BE(i, t) {
12343
12343
  const e = i.getGeometry(), r = i.getGeometry().clone();
12344
- t.setGeometry(e[Vt] ? r : YC(r)), e[Vt] && t.getGeometry().setProperties(i.getGeometry().getProperties(), !1), i[ar] = t.getGeometry();
12344
+ t.setGeometry(e[Ht] ? r : YC(r)), e[Ht] && t.getGeometry().setProperties(i.getGeometry().getProperties(), !1), i[ar] = t.getGeometry();
12345
12345
  }
12346
12346
  function Kp(i, t) {
12347
12347
  if (t) {
12348
12348
  const e = i.getGeometry();
12349
12349
  if (e)
12350
- return e[Vt] || e.intersectsExtent(t);
12350
+ return e[Ht] || e.intersectsExtent(t);
12351
12351
  }
12352
12352
  return !1;
12353
12353
  }
@@ -12398,11 +12398,11 @@ function bE(i, t) {
12398
12398
  const w = E.getId(), S = E.getGeometry(), M = _.getGeometry();
12399
12399
  l[w] = !0;
12400
12400
  let x;
12401
- S[Vt] ? (_.getGeometry().setCoordinates(S.getCoordinates()), x = Promise.resolve()) : x = mD(S, M, t.currentImage), await x, l[w] = null;
12401
+ S[Ht] ? (_.getGeometry().setCoordinates(S.getCoordinates()), x = Promise.resolve()) : x = mD(S, M, t.currentImage), await x, l[w] = null;
12402
12402
  }, u = (E, _) => {
12403
12403
  var S;
12404
12404
  const w = E.getId();
12405
- o[w] || (l[w] != null && clearTimeout(l[w]), (S = E.getGeometry()) != null && S[Vt] ? A(E, _).catch(() => {
12405
+ o[w] || (l[w] != null && clearTimeout(l[w]), (S = E.getGeometry()) != null && S[Ht] ? A(E, _).catch(() => {
12406
12406
  le("SourceObliqueSync").warning(`Failed to convert feature with id ${w} to oblique`);
12407
12407
  }).finally(() => {
12408
12408
  l[w] = null;
@@ -12478,7 +12478,7 @@ function bE(i, t) {
12478
12478
  });
12479
12479
  }), i.forEachFeature((E) => {
12480
12480
  var _;
12481
- (_ = E.getGeometry()) != null && _[Vt] && f(E).catch(() => {
12481
+ (_ = E.getGeometry()) != null && _[Ht] && f(E).catch(() => {
12482
12482
  le("SourceObliqueSync").warning(`Failed to add feature with id ${E.getId()} to oblique source`);
12483
12483
  });
12484
12484
  }), h = t.currentImage.name);
@@ -12490,7 +12490,7 @@ function bE(i, t) {
12490
12490
  if (_) {
12491
12491
  delete _[ar];
12492
12492
  const w = _.getGeometry();
12493
- w != null && w[Vt] && g(_, E), w == null || delete w[Vt];
12493
+ w != null && w[Ht] && g(_, E), w == null || delete w[Ht];
12494
12494
  }
12495
12495
  }), e.clear(!0), h = void 0, c = void 0;
12496
12496
  };
@@ -12532,7 +12532,7 @@ class SE extends AD {
12532
12532
  return "VectorObliqueImpl";
12533
12533
  }
12534
12534
  getOLLayer() {
12535
- return new Vn({
12535
+ return new Hn({
12536
12536
  visible: !1,
12537
12537
  source: this.obliqueSource,
12538
12538
  style: this.style.style
@@ -12860,7 +12860,7 @@ async function Bs(i, t) {
12860
12860
  async function _D(i, t) {
12861
12861
  return (await Cc(i, t)).arrayBuffer();
12862
12862
  }
12863
- async function Hf(i, t) {
12863
+ async function Vf(i, t) {
12864
12864
  const r = await (await Cc(i, t)).blob();
12865
12865
  return URL.createObjectURL(r);
12866
12866
  }
@@ -13051,7 +13051,7 @@ class Zp {
13051
13051
  function XA(i) {
13052
13052
  return function(e, r) {
13053
13053
  const s = e.getImage(), n = Ni(r, i);
13054
- Hf(r, n).then((a) => {
13054
+ Vf(r, n).then((a) => {
13055
13055
  s.src = a, s.onload = () => {
13056
13056
  URL.revokeObjectURL(a);
13057
13057
  };
@@ -13377,12 +13377,12 @@ class Cg {
13377
13377
  search(t) {
13378
13378
  let e = this.data;
13379
13379
  const r = [];
13380
- if (!Vc(t, e)) return r;
13380
+ if (!Hc(t, e)) return r;
13381
13381
  const s = this.toBBox, n = [];
13382
13382
  for (; e; ) {
13383
13383
  for (let a = 0; a < e.children.length; a++) {
13384
13384
  const o = e.children[a], l = e.leaf ? s(o) : o;
13385
- Vc(t, l) && (e.leaf ? r.push(o) : id(t, l) ? this._all(o, r) : n.push(o));
13385
+ Hc(t, l) && (e.leaf ? r.push(o) : id(t, l) ? this._all(o, r) : n.push(o));
13386
13386
  }
13387
13387
  e = n.pop();
13388
13388
  }
@@ -13390,12 +13390,12 @@ class Cg {
13390
13390
  }
13391
13391
  collides(t) {
13392
13392
  let e = this.data;
13393
- if (!Vc(t, e)) return !1;
13393
+ if (!Hc(t, e)) return !1;
13394
13394
  const r = [];
13395
13395
  for (; e; ) {
13396
13396
  for (let s = 0; s < e.children.length; s++) {
13397
13397
  const n = e.children[s], a = e.leaf ? this.toBBox(n) : n;
13398
- if (Vc(t, a)) {
13398
+ if (Hc(t, a)) {
13399
13399
  if (e.leaf || id(t, a)) return !0;
13400
13400
  r.push(n);
13401
13401
  }
@@ -13529,14 +13529,14 @@ class Cg {
13529
13529
  _allDistMargin(t, e, r, s) {
13530
13530
  t.children.sort(s);
13531
13531
  const n = this.toBBox, a = Mo(t, 0, e, n), o = Mo(t, r - e, r, n);
13532
- let l = Hc(a) + Hc(o);
13532
+ let l = Vc(a) + Vc(o);
13533
13533
  for (let c = e; c < r - e; c++) {
13534
13534
  const h = t.children[c];
13535
- Do(a, t.leaf ? n(h) : h), l += Hc(a);
13535
+ Do(a, t.leaf ? n(h) : h), l += Vc(a);
13536
13536
  }
13537
13537
  for (let c = r - e - 1; c >= e; c--) {
13538
13538
  const h = t.children[c];
13539
- Do(o, t.leaf ? n(h) : h), l += Hc(o);
13539
+ Do(o, t.leaf ? n(h) : h), l += Vc(o);
13540
13540
  }
13541
13541
  return l;
13542
13542
  }
@@ -13578,7 +13578,7 @@ function QD(i, t) {
13578
13578
  function td(i) {
13579
13579
  return (i.maxX - i.minX) * (i.maxY - i.minY);
13580
13580
  }
13581
- function Hc(i) {
13581
+ function Vc(i) {
13582
13582
  return i.maxX - i.minX + (i.maxY - i.minY);
13583
13583
  }
13584
13584
  function MD(i, t) {
@@ -13591,7 +13591,7 @@ function DD(i, t) {
13591
13591
  function id(i, t) {
13592
13592
  return i.minX <= t.minX && i.minY <= t.minY && t.maxX <= i.maxX && t.maxY <= i.maxY;
13593
13593
  }
13594
- function Vc(i, t) {
13594
+ function Hc(i, t) {
13595
13595
  return t.minX <= i.maxX && t.minY <= i.maxY && t.maxX >= i.minX && t.maxY >= i.minY;
13596
13596
  }
13597
13597
  function la(i) {
@@ -14323,7 +14323,7 @@ class Cl {
14323
14323
  }
14324
14324
  async _limitMostDetailed(t) {
14325
14325
  const e = await yl(this.terrainUrl, {}, this.terrainRequestHeaders);
14326
- return Va(e, [t]);
14326
+ return Ha(e, [t]);
14327
14327
  }
14328
14328
  async _updateTerrainHeight(t) {
14329
14329
  if (!this._updatingTerrainHeight && !t.equalsEpsilon(this.lastCheckedPosition, F.EPSILON5)) {
@@ -14741,7 +14741,7 @@ function UD(i) {
14741
14741
  const { x: t, y: e, z: r } = ly, s = Math.atan2(e, t), n = Math.acos(r);
14742
14742
  return [s, n];
14743
14743
  }
14744
- function HD(i) {
14744
+ function VD(i) {
14745
14745
  const t = UD(i);
14746
14746
  return [ND(-t[0]), t[1]];
14747
14747
  }
@@ -14751,7 +14751,7 @@ function DE(i, t) {
14751
14751
  }
14752
14752
  const qc = new b();
14753
14753
  function LE(i, t) {
14754
- return W.multiplyByPoint(t, i, qc), b.normalize(qc, qc), HD(qc);
14754
+ return W.multiplyByPoint(t, i, qc), b.normalize(qc, qc), VD(qc);
14755
14755
  }
14756
14756
  function PE() {
14757
14757
  return {
@@ -14779,9 +14779,9 @@ function OE() {
14779
14779
  center: [0, 0]
14780
14780
  };
14781
14781
  }
14782
- const VD = new b(), qD = new b();
14782
+ const HD = new b(), qD = new b();
14783
14783
  function zD(i, t) {
14784
- const e = i.frustum, r = 2 * Math.tan(e.fov / 2) * e.near, s = r * e.aspectRatio, n = r / 2, a = s / 2, o = t ?? PE(), l = b.add(i.position, b.multiplyByScalar(i.direction, e.near, o.center), o.center), c = b.multiplyByScalar(i.up, n, VD), h = b.multiplyByScalar(i.right, a, qD);
14784
+ const e = i.frustum, r = 2 * Math.tan(e.fov / 2) * e.near, s = r * e.aspectRatio, n = r / 2, a = s / 2, o = t ?? PE(), l = b.add(i.position, b.multiplyByScalar(i.direction, e.near, o.center), o.center), c = b.multiplyByScalar(i.up, n, HD), h = b.multiplyByScalar(i.right, a, qD);
14785
14785
  return o.top = b.add(l, c, o.top), o.right = b.add(l, h, o.right), o.bottom = b.subtract(l, c, o.bottom), o.left = b.subtract(l, h, o.left), o.topLeft = b.subtract(b.add(l, c, o.topLeft), h, o.topLeft), o.topRight = b.add(b.add(l, c, o.topRight), h, o.topRight), o.bottomLeft = b.subtract(b.subtract(l, c, o.bottomLeft), h, o.bottomLeft), o.bottomRight = b.add(b.subtract(l, c, o.bottomRight), h, o.bottomRight), o.center = l, o;
14786
14786
  }
14787
14787
  function jD(i, t, e) {
@@ -15059,7 +15059,7 @@ czm_material czm_getMaterial(czm_materialInput materialInput)
15059
15059
  return m;
15060
15060
  }
15061
15061
 
15062
- `, Vf = "rgba(255, 206, 0, 0.33)";
15062
+ `, Hf = "rgba(255, 206, 0, 0.33)";
15063
15063
  var Ma;
15064
15064
  (function(i) {
15065
15065
  i[i.None = 0] = "None", i[i.Intensity = 1] = "Intensity", i[i.Depth = 2] = "Depth";
@@ -15090,7 +15090,7 @@ function nL() {
15090
15090
  u_intensityReady: !1,
15091
15091
  u_depthReady: !1,
15092
15092
  u_overlayNaNColor: oe.RED,
15093
- u_cursorColor: oe.fromCssColorString(Vf),
15093
+ u_cursorColor: oe.fromCssColorString(Hf),
15094
15094
  u_contrast: 1,
15095
15095
  u_brightness: 0
15096
15096
  };
@@ -15243,7 +15243,7 @@ class aL extends Ri {
15243
15243
  d(this, "_overlay", Ma.None);
15244
15244
  d(this, "_overlayOpacity", 1);
15245
15245
  d(this, "_overlayNaNColor", oe.RED);
15246
- d(this, "_cursorColor", oe.fromCssColorString(Vf));
15246
+ d(this, "_cursorColor", oe.fromCssColorString(Hf));
15247
15247
  d(this, "_contrast", 1);
15248
15248
  d(this, "_brightness", 0);
15249
15249
  d(this, "overlayChanged", new R());
@@ -15589,7 +15589,7 @@ class Ct extends Mt {
15589
15589
  return {
15590
15590
  ...Mt.getDefaultOptions(),
15591
15591
  overlayNaNColor: "rgba(255, 0, 0, 1)",
15592
- cursorColor: Vf,
15592
+ cursorColor: Hf,
15593
15593
  fallbackToCurrentMap: !1,
15594
15594
  layerTypes: ["PanoramaDatasetLayer", "TerrainLayer", "VectorLayer"],
15595
15595
  defaultFov: 90
@@ -16855,7 +16855,7 @@ class Si extends $t {
16855
16855
  */
16856
16856
  d(this, "maxRenderingLevel");
16857
16857
  d(this, "_opacity");
16858
- d(this, "_splitDirection", He.NONE);
16858
+ d(this, "_splitDirection", Ve.NONE);
16859
16859
  /**
16860
16860
  * can be used to forward options to the cesium ImageryLayer
16861
16861
  * @see https://cesium.com/learn/cesiumjs/ref-doc/ImageryLayer.html#.ConstructorOptions
@@ -16868,7 +16868,7 @@ class Si extends $t {
16868
16868
  d(this, "splitDirectionChanged", new R());
16869
16869
  this.extent = e.extent ? new qe(e.extent) : new qe(), this.tilingSchema = JA(e.tilingSchema, It, r.tilingSchema), this.maxLevel = Ee(e.maxLevel, r.maxLevel), this._minLevel = Ee(e.minLevel, r.minLevel);
16870
16870
  const s = RE(e);
16871
- this.minLevel = QL(this.extent, s, this.maxLevel, this._minLevel), this.minRenderingLevel = Ee(e.minRenderingLevel, r.minRenderingLevel), this.maxRenderingLevel = Ee(e.maxRenderingLevel, r.maxRenderingLevel), this._opacity = Zh(e.opacity, r.opacity, 0, 1), e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? He.LEFT : He.RIGHT), this.imageryLayerOptions = structuredClone(e.imageryLayerOptions);
16871
+ this.minLevel = QL(this.extent, s, this.maxLevel, this._minLevel), this.minRenderingLevel = Ee(e.minRenderingLevel, r.minRenderingLevel), this.maxRenderingLevel = Ee(e.maxRenderingLevel, r.maxRenderingLevel), this._opacity = Zh(e.opacity, r.opacity, 0, 1), e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? Ve.LEFT : Ve.RIGHT), this.imageryLayerOptions = structuredClone(e.imageryLayerOptions);
16872
16872
  }
16873
16873
  static get className() {
16874
16874
  return "RasterLayer";
@@ -16928,7 +16928,7 @@ class Si extends $t {
16928
16928
  toJSON(e = Si.getDefaultOptions()) {
16929
16929
  var s;
16930
16930
  const r = super.toJSON(e);
16931
- return (s = this.extent) != null && s.equals(new qe()) && delete r.extent, this._minLevel !== e.minLevel && (r.minLevel = this._minLevel), this.maxLevel !== e.maxLevel && (r.maxLevel = this.maxLevel), this.minRenderingLevel !== e.minRenderingLevel && (r.minRenderingLevel = this.minRenderingLevel), this.maxRenderingLevel !== e.maxRenderingLevel && (r.maxRenderingLevel = this.maxRenderingLevel), this.tilingSchema !== e.tilingSchema && (r.tilingSchema = this.tilingSchema), this.opacity !== e.opacity && (r.opacity = this.opacity), this._splitDirection !== He.NONE && (r.splitDirection = this._splitDirection === He.RIGHT ? "right" : "left"), this.imageryLayerOptions !== e.imageryLayerOptions && (r.imageryLayerOptions = structuredClone(this.imageryLayerOptions)), r;
16931
+ return (s = this.extent) != null && s.equals(new qe()) && delete r.extent, this._minLevel !== e.minLevel && (r.minLevel = this._minLevel), this.maxLevel !== e.maxLevel && (r.maxLevel = this.maxLevel), this.minRenderingLevel !== e.minRenderingLevel && (r.minRenderingLevel = this.minRenderingLevel), this.maxRenderingLevel !== e.maxRenderingLevel && (r.maxRenderingLevel = this.maxRenderingLevel), this.tilingSchema !== e.tilingSchema && (r.tilingSchema = this.tilingSchema), this.opacity !== e.opacity && (r.opacity = this.opacity), this._splitDirection !== Ve.NONE && (r.splitDirection = this._splitDirection === Ve.RIGHT ? "right" : "left"), this.imageryLayerOptions !== e.imageryLayerOptions && (r.imageryLayerOptions = structuredClone(this.imageryLayerOptions)), r;
16932
16932
  }
16933
16933
  destroy() {
16934
16934
  this.splitDirectionChanged.destroy(), super.destroy();
@@ -16965,7 +16965,7 @@ function ML(i) {
16965
16965
  };
16966
16966
  return ns.contains(i.url) ? t.crossOrigin = "use-credentials" : os(i.url) || (t.crossOrigin = "anonymous"), i.headers && (t.imageLoadFunction = function(r, s) {
16967
16967
  const n = r.getImage(), a = Ni(s, i.headers);
16968
- Hf(s, a).then((o) => {
16968
+ Vf(s, a).then((o) => {
16969
16969
  n.src = o, n.onload = () => {
16970
16970
  URL.revokeObjectURL(o);
16971
16971
  };
@@ -17146,7 +17146,7 @@ class Le {
17146
17146
  * @param [defaultModificationKey=ModificationKeyType.NONE] - A bitmask representing the default keys to listen to
17147
17147
  * @param [defaultPointerKey=PointerKeyType.LEFT] - A bitmask representing the pointer key to listen to
17148
17148
  */
17149
- constructor(t = H.NONE, e = ee.NONE, r = mt.LEFT) {
17149
+ constructor(t = V.NONE, e = ee.NONE, r = mt.LEFT) {
17150
17150
  /**
17151
17151
  * A unique identifier for this interaction
17152
17152
  */
@@ -17189,7 +17189,7 @@ class Le {
17189
17189
  * Call without arguments to reset the default active, modification key and pointer Key behavior
17190
17190
  */
17191
17191
  setActive(t) {
17192
- typeof t > "u" ? (this.active = this._defaultActive, this.modificationKey = this._defaultModificationKey, this.pointerKey = this._defaultPointerKey) : typeof t == "boolean" ? this.active = t ? this._defaultActive : H.NONE : this.active = t;
17192
+ typeof t > "u" ? (this.active = this._defaultActive, this.modificationKey = this._defaultModificationKey, this.pointerKey = this._defaultPointerKey) : typeof t == "boolean" ? this.active = t ? this._defaultActive : V.NONE : this.active = t;
17193
17193
  }
17194
17194
  /**
17195
17195
  * Sets the modification key to listen to or the default modification key if none is provided.
@@ -17226,7 +17226,7 @@ async function FL(i, t) {
17226
17226
  }
17227
17227
  class jf extends Le {
17228
17228
  constructor() {
17229
- super(H.ALL, ee.ALL, mt.ALL);
17229
+ super(V.ALL, ee.ALL, mt.ALL);
17230
17230
  d(this, "_scratchCartographic", new Me());
17231
17231
  d(this, "_scratchCartesian", new b());
17232
17232
  this.setActive();
@@ -17248,7 +17248,7 @@ class jf extends Le {
17248
17248
  static obliqueHandler(e) {
17249
17249
  const s = e.map.currentImage;
17250
17250
  if (s) {
17251
- const n = e.type & (H.MOVE ^ H.DRAGEVENTS), a = e.position.slice(0, 2);
17251
+ const n = e.type & (V.MOVE ^ V.DRAGEVENTS), a = e.position.slice(0, 2);
17252
17252
  if (Number.isFinite(a[0]) && Number.isFinite(a[1]))
17253
17253
  return Il(s, a, {
17254
17254
  dontUseTerrain: !!n,
@@ -17260,7 +17260,7 @@ class jf extends Le {
17260
17260
  }
17261
17261
  class Yn extends Le {
17262
17262
  constructor(e) {
17263
- super(H.ALL, ee.ALL, mt.ALL);
17263
+ super(V.ALL, ee.ALL, mt.ALL);
17264
17264
  /**
17265
17265
  * The interactions to handle one after the other
17266
17266
  */
@@ -17291,7 +17291,7 @@ class Yn extends Le {
17291
17291
  return r;
17292
17292
  }
17293
17293
  modifierChanged(e) {
17294
- this.chain.filter((r) => r.active !== H.NONE).forEach((r) => {
17294
+ this.chain.filter((r) => r.active !== V.NONE).forEach((r) => {
17295
17295
  r.modifierChanged(e);
17296
17296
  });
17297
17297
  }
@@ -17378,11 +17378,11 @@ function RL(i, t, e, r) {
17378
17378
  }
17379
17379
  class TL extends Le {
17380
17380
  constructor() {
17381
- super(H.ALL ^ H.MOVE, ee.ALL, mt.ALL);
17381
+ super(V.ALL ^ V.MOVE, ee.ALL, mt.ALL);
17382
17382
  /**
17383
17383
  * event type for which to pick the position of the scene. this will create a second render.
17384
17384
  */
17385
- d(this, "pickPosition", H.CLICK);
17385
+ d(this, "pickPosition", V.CLICK);
17386
17386
  /**
17387
17387
  * whether to pick translucent depth or not, defaults to true
17388
17388
  */
@@ -17400,10 +17400,10 @@ class TL extends Le {
17400
17400
  this.setActive();
17401
17401
  }
17402
17402
  async pipe(e) {
17403
- return e.type & H.DRAG && !(this.pickPosition & H.DRAG) ? (this._draggingFeature && (e.feature = this._draggingFeature), e) : (e.type & H.DRAGEND && (this._draggingFeature = void 0), e.map.className === "OpenlayersMap" ? await this._openlayersHandler(e) : e.map.className === "ObliqueMap" ? await this._obliqueHandler(e) : (e.map.className === "CesiumMap" || e.map.className === "PanoramaMap") && await this._cesiumHandler(e), e.type & H.DRAGSTART && e.feature && (this._draggingFeature = e.feature), e.type & H.DRAG && this._draggingFeature && (e.feature = this._draggingFeature), e);
17403
+ return e.type & V.DRAG && !(this.pickPosition & V.DRAG) ? (this._draggingFeature && (e.feature = this._draggingFeature), e) : (e.type & V.DRAGEND && (this._draggingFeature = void 0), e.map.className === "OpenlayersMap" ? await this._openlayersHandler(e) : e.map.className === "ObliqueMap" ? await this._obliqueHandler(e) : (e.map.className === "CesiumMap" || e.map.className === "PanoramaMap") && await this._cesiumHandler(e), e.type & V.DRAGSTART && e.feature && (this._draggingFeature = e.feature), e.type & V.DRAG && this._draggingFeature && (e.feature = this._draggingFeature), e);
17404
17404
  }
17405
17405
  setActive(e) {
17406
- typeof e > "u" && (this.pickPosition = H.CLICK, this.pullPickedPosition = 0), super.setActive(e);
17406
+ typeof e > "u" && (this.pickPosition = V.CLICK, this.pullPickedPosition = 0), super.setActive(e);
17407
17407
  }
17408
17408
  excludeFromPickPosition(e) {
17409
17409
  this._excludeFromPickPosition.add(e);
@@ -17459,7 +17459,7 @@ class TL extends Le {
17459
17459
  }
17460
17460
  class Yf extends Le {
17461
17461
  constructor(e) {
17462
- super(H.CLICK, ee.ALL, mt.ALL);
17462
+ super(V.CLICK, ee.ALL, mt.ALL);
17463
17463
  d(this, "_respectRenderingOrder");
17464
17464
  const r = Yf.getDefaultOptions();
17465
17465
  this._respectRenderingOrder = Ie(e == null ? void 0 : e.respectRenderingOrder, r.respectRenderingOrder), this.setActive();
@@ -17498,19 +17498,19 @@ class Yf extends Le {
17498
17498
  }
17499
17499
  class NL extends Le {
17500
17500
  constructor() {
17501
- super(H.ALL, ee.ALL, mt.ALL);
17501
+ super(V.ALL, ee.ALL, mt.ALL);
17502
17502
  d(this, "_lastDragPosition");
17503
17503
  this.setActive();
17504
17504
  }
17505
17505
  pipe(e) {
17506
17506
  var r;
17507
- return e.type & H.DRAGSTART ? this._lastDragPosition = (r = e.position) == null ? void 0 : r.slice() : e.type & H.DRAG ? this._lastDragPosition && e.position ? this._lastDragPosition = e.position.slice() : this._lastDragPosition || (e.stopPropagation = !0) : e.type & H.DRAGEND && (this._lastDragPosition && !e.position ? e.position = this._lastDragPosition : this._lastDragPosition || (e.stopPropagation = !0), this._lastDragPosition = void 0), e.stopPropagation = e.stopPropagation || !e.position, Promise.resolve(e);
17507
+ return e.type & V.DRAGSTART ? this._lastDragPosition = (r = e.position) == null ? void 0 : r.slice() : e.type & V.DRAG ? this._lastDragPosition && e.position ? this._lastDragPosition = e.position.slice() : this._lastDragPosition || (e.stopPropagation = !0) : e.type & V.DRAGEND && (this._lastDragPosition && !e.position ? e.position = this._lastDragPosition : this._lastDragPosition || (e.stopPropagation = !0), this._lastDragPosition = void 0), e.stopPropagation = e.stopPropagation || !e.position, Promise.resolve(e);
17508
17508
  }
17509
17509
  }
17510
17510
  function UL() {
17511
17511
  return le("EventHandler");
17512
17512
  }
17513
- class HL {
17513
+ class VL {
17514
17514
  constructor() {
17515
17515
  d(this, "_positionInteraction");
17516
17516
  d(this, "_featureInteraction");
@@ -17649,18 +17649,18 @@ class HL {
17649
17649
  ...t,
17650
17650
  chainEnded: new R()
17651
17651
  };
17652
- this._dragging ? (e.type = H.DRAGEND, e.key = this._dragging.key, e.pointer = this._dragging.pointer, this._startChain(e)) : this._lastDown && (this._lastClick.time && Date.now() - this._lastClick.time < this.clickDuration && ie.distanceSquared(this._lastClick.windowPosition, e.windowPosition) < 12 ? (this._lastClick.time = null, e.type = H.DBLCLICK) : (this._lastClick.time = Date.now(), ie.clone(e.windowPosition, this._lastClick.windowPosition), e.type = H.CLICK), this._startChain(e)), this._dragging = null, this._lastDown = null;
17652
+ this._dragging ? (e.type = V.DRAGEND, e.key = this._dragging.key, e.pointer = this._dragging.pointer, this._startChain(e)) : this._lastDown && (this._lastClick.time && Date.now() - this._lastClick.time < this.clickDuration && ie.distanceSquared(this._lastClick.windowPosition, e.windowPosition) < 12 ? (this._lastClick.time = null, e.type = V.DBLCLICK) : (this._lastClick.time = Date.now(), ie.clone(e.windowPosition, this._lastClick.windowPosition), e.type = V.CLICK), this._startChain(e)), this._dragging = null, this._lastDown = null;
17653
17653
  }
17654
17654
  _mouseMove(t) {
17655
17655
  let e = {
17656
17656
  ...t,
17657
17657
  chainEnded: new R()
17658
17658
  };
17659
- this._lastDown ? this._dragging ? (e.type = H.DRAG, e.key = this._dragging.key, e.pointer = this._dragging.pointer, this._startChain(e, !0)) : !this._dragging && Date.now() - this._lastDown.time > this.dragDuration && (e = {
17660
- type: H.DRAGSTART,
17659
+ this._lastDown ? this._dragging ? (e.type = V.DRAG, e.key = this._dragging.key, e.pointer = this._dragging.pointer, this._startChain(e, !0)) : !this._dragging && Date.now() - this._lastDown.time > this.dragDuration && (e = {
17660
+ type: V.DRAGSTART,
17661
17661
  ...this._lastDown,
17662
17662
  chainEnded: new R()
17663
- }, this._dragging = e, this._startChain(e, !0)) : (e.type = H.MOVE, this._startChain(e, !0));
17663
+ }, this._dragging = e, this._startChain(e, !0)) : (e.type = V.MOVE, this._startChain(e, !0));
17664
17664
  }
17665
17665
  _keyListener(t) {
17666
17666
  if ((t.key === "Shift" || t.key === "Alt") && (t.preventDefault(), t.stopPropagation()), this._lastKeyEventModifiers.get(ee.SHIFT) !== t.shiftKey || this._lastKeyEventModifiers.get(ee.ALT) !== t.altKey || this._lastKeyEventModifiers.get(ee.CTRL) !== t.ctrlKey) {
@@ -17690,9 +17690,9 @@ class HL {
17690
17690
  this.removeExclusive(), this.exclusiveAdded.destroy(), this.exclusiveRemoved.destroy(), this._interactionChain.destroy(), this._positionInteraction.destroy(), this._featureInteraction.destroy(), this._ensurePositionInteraction.destroy(), this._featureProviderInteraction.destroy(), this._eventQueue = [], window.removeEventListener("keydown", this._boundKeyListener), window.removeEventListener("keyup", this._boundKeyListener);
17691
17691
  }
17692
17692
  }
17693
- class VL extends Le {
17693
+ class HL extends Le {
17694
17694
  constructor(e) {
17695
- super(H.CLICK);
17695
+ super(V.CLICK);
17696
17696
  d(this, "_mapCollection");
17697
17697
  this._mapCollection = e;
17698
17698
  }
@@ -17769,7 +17769,7 @@ function tu(i, t) {
17769
17769
  const { eventHandler: e } = i, r = new Yn(), s = new R(), n = e.addExclusiveInteraction(r, () => {
17770
17770
  s.raiseEvent();
17771
17771
  }, void 0, t), a = e.featureInteraction.active;
17772
- return e.featureInteraction.setActive(H.CLICKMOVE | H.DRAGEVENTS), {
17772
+ return e.featureInteraction.setActive(V.CLICKMOVE | V.DRAGEVENTS), {
17773
17773
  interactionChain: r,
17774
17774
  destroy() {
17775
17775
  n(), s.destroy(), r.destroy(), e.featureInteraction.setActive(a);
@@ -17781,9 +17781,9 @@ var Lt;
17781
17781
  (function(i) {
17782
17782
  i.Point = "Point", i.Circle = "Circle", i.LineString = "LineString", i.Polygon = "Polygon", i.BBox = "BBox";
17783
17783
  })(Lt || (Lt = {}));
17784
- function HE(i) {
17784
+ function VE(i) {
17785
17785
  const t = i.maps.eventHandler.featureInteraction.pickPosition;
17786
- return i.maps.eventHandler.featureInteraction.pickPosition = H.CLICKMOVE | H.DRAGEVENTS, () => {
17786
+ return i.maps.eventHandler.featureInteraction.pickPosition = V.CLICKMOVE | V.DRAGEVENTS, () => {
17787
17787
  i.maps.eventHandler.featureInteraction.pickPosition = t;
17788
17788
  };
17789
17789
  }
@@ -17974,7 +17974,7 @@ class zL extends ni {
17974
17974
  }
17975
17975
  }
17976
17976
  const un = Symbol("cesiumTilesetLastUpdated"), Sh = Symbol("updateFeatureOverride");
17977
- function VE(i, t) {
17977
+ function HE(i, t) {
17978
17978
  const { rectangle: e } = i;
17979
17979
  if (e) {
17980
17980
  const l = Tt.southwest(e), c = Tt.northeast(e), h = ne.wgs84ToMercator([
@@ -17994,7 +17994,7 @@ function VE(i, t) {
17994
17994
  return jC(a, s).getExtent();
17995
17995
  }
17996
17996
  function qE(i) {
17997
- return i ? VE(i.root.boundingVolume, i.boundingSphere) : Ln();
17997
+ return i ? HE(i.root.boundingVolume, i.boundingSphere) : Ln();
17998
17998
  }
17999
17999
  function zE(i) {
18000
18000
  let t = 0, e = null, r = null;
@@ -18035,7 +18035,7 @@ function zE(i) {
18035
18035
  c.style = i.style.cesiumStyle, e && e(), t = Date.now(), c.colorBlendMode !== i.style.colorBlendMode && (i.style.colorBlendMode !== ph.HIGHLIGHT ? c.extras && // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access,no-underscore-dangle
18036
18036
  c.extras._3DTILESDIFFUSE && (c.colorBlendMode = i.style.colorBlendMode) : c.colorBlendMode = i.style.colorBlendMode);
18037
18037
  }
18038
- i.initialized && (i instanceof Hs ? i.cesium3DTileset && (l(i.cesium3DTileset), e = i.style.styleChanged.addEventListener(() => {
18038
+ i.initialized && (i instanceof Vs ? i.cesium3DTileset && (l(i.cesium3DTileset), e = i.style.styleChanged.addEventListener(() => {
18039
18039
  var c;
18040
18040
  (c = i.cesium3DTileset) == null || c.makeStyleDirty(), t = Date.now();
18041
18041
  })) : i.data && (i.data.layers.forEach(({ tileset: c }) => {
@@ -18055,7 +18055,7 @@ function zE(i) {
18055
18055
  else
18056
18056
  s(o.content);
18057
18057
  }
18058
- return i instanceof Hs ? r = i.featureVisibility.changed.addEventListener(() => {
18058
+ return i instanceof Vs ? r = i.featureVisibility.changed.addEventListener(() => {
18059
18059
  var o;
18060
18060
  (o = i.cesium3DTileset) == null || o.makeStyleDirty();
18061
18061
  }) : r = i.featureVisibility.changed.addEventListener(() => {
@@ -18075,7 +18075,7 @@ function zE(i) {
18075
18075
  function jE(i, t) {
18076
18076
  function e(r) {
18077
18077
  if (i.attributeProvider) {
18078
- const s = VE(r.contentBoundingVolume, r.boundingSphere), n = [], a = r.content.featuresLength;
18078
+ const s = HE(r.contentBoundingVolume, r.boundingSphere), n = [], a = r.content.featuresLength;
18079
18079
  for (let o = 0; o < a; o++) {
18080
18080
  const l = r.content.getFeature(o);
18081
18081
  l && n.push(l);
@@ -18091,7 +18091,7 @@ function jE(i, t) {
18091
18091
  delete r[un], delete r.content[un], delete r.content[Sh];
18092
18092
  });
18093
18093
  }
18094
- class Hs extends xr {
18094
+ class Vs extends xr {
18095
18095
  constructor(e, r) {
18096
18096
  super(e, r);
18097
18097
  d(this, "cesium3DTileset");
@@ -18339,7 +18339,7 @@ class $s extends ai {
18339
18339
  }
18340
18340
  createImplementationsForMap(e) {
18341
18341
  const r = super.createImplementationsForMap(e);
18342
- return e instanceof Mt && this.staticRepresentation && this.staticRepresentation.threeDim ? r.push(new Hs(e, {
18342
+ return e instanceof Mt && this.staticRepresentation && this.staticRepresentation.threeDim ? r.push(new Vs(e, {
18343
18343
  allowPicking: this.allowPicking,
18344
18344
  url: this.staticRepresentation.threeDim,
18345
18345
  tilesetOptions: {
@@ -18356,7 +18356,7 @@ class $s extends ai {
18356
18356
  style: this.style,
18357
18357
  featureVisibility: this._staticFeatureVisibility,
18358
18358
  globalHider: this.globalHider,
18359
- splitDirection: He.NONE,
18359
+ splitDirection: Ve.NONE,
18360
18360
  headers: this.headers
18361
18361
  })) : this.staticRepresentation && this.staticRepresentation.twoDim && (this._loadTwoDim(), e instanceof $e ? r.push(new zC(e, this._getTwoDimStaticImplOptions())) : e instanceof nt && r.push(new SE(e, this._getTwoDimStaticImplOptions()))), r;
18362
18362
  }
@@ -18390,7 +18390,7 @@ class $s extends ai {
18390
18390
  }
18391
18391
  setEditing(e, r) {
18392
18392
  this.getImplementations().forEach((s) => {
18393
- s instanceof Hs && (s.initialized ? (r != null ? s.cesium3DTileset[e] = r : delete s.cesium3DTileset[e], this._setEditing = null) : this._setEditing = { symbol: e, featureType: r });
18393
+ s instanceof Vs && (s.initialized ? (r != null ? s.cesium3DTileset[e] = r : delete s.cesium3DTileset[e], this._setEditing = null) : this._setEditing = { symbol: e, featureType: r });
18394
18394
  }), this.staticRepresentation.twoDim && (this._twoDimLoaded ? this._twoDimLoaded.then(() => {
18395
18395
  this._twoDimStaticSource.getFeatures().forEach((s) => {
18396
18396
  r != null ? s[e] = r : delete s[e];
@@ -18404,7 +18404,7 @@ class $s extends ai {
18404
18404
  return this.extent;
18405
18405
  const e = super.getZoomToExtent(), r = e ? e.getCoordinatesInProjection(he) : Ln();
18406
18406
  if (this.staticRepresentation.threeDim) {
18407
- const n = this.getImplementations().find((a) => !!(a instanceof Hs && a.cesium3DTileset));
18407
+ const n = this.getImplementations().find((a) => !!(a instanceof Vs && a.cesium3DTileset));
18408
18408
  if (n != null && n.cesium3DTileset) {
18409
18409
  const a = qE(n.cesium3DTileset);
18410
18410
  Ba(r, a);
@@ -18422,7 +18422,7 @@ class $s extends ai {
18422
18422
  */
18423
18423
  setMaximumScreenSpaceError(e) {
18424
18424
  Is() ? this.screenSpaceErrorMobile = e : this.screenSpaceError = e, this.getImplementations().forEach((r) => {
18425
- r instanceof Hs && r.cesium3DTileset && (r.cesium3DTileset.maximumScreenSpaceError = e);
18425
+ r instanceof Vs && r.cesium3DTileset && (r.cesium3DTileset.maximumScreenSpaceError = e);
18426
18426
  });
18427
18427
  }
18428
18428
  /**
@@ -18478,7 +18478,7 @@ class $s extends ai {
18478
18478
  at.registerClass($s.className, $s);
18479
18479
  class YE extends Le {
18480
18480
  constructor(e) {
18481
- super(H.CLICK, ee.NONE);
18481
+ super(V.CLICK, ee.NONE);
18482
18482
  d(this, "_layer");
18483
18483
  d(this, "_selectedFeature", null);
18484
18484
  /**
@@ -18520,7 +18520,7 @@ class YE extends Le {
18520
18520
  }
18521
18521
  class JE extends Le {
18522
18522
  constructor(e) {
18523
- super(H.CLICK, ee.NONE | ee.CTRL);
18523
+ super(V.CLICK, ee.NONE | ee.CTRL);
18524
18524
  d(this, "_layer");
18525
18525
  d(this, "_selectedFeatures", /* @__PURE__ */ new Map());
18526
18526
  /**
@@ -18598,7 +18598,7 @@ function Ka(i) {
18598
18598
  }
18599
18599
  function $a(i, t, e) {
18600
18600
  const r = new At(i);
18601
- r[Vt] = !0;
18601
+ r[Ht] = !0;
18602
18602
  const s = new Be({
18603
18603
  geometry: r,
18604
18604
  ...t
@@ -18646,12 +18646,12 @@ function JL(i, t, e, r) {
18646
18646
  return s < ie.magnitude(Nr) || s < ie.magnitude(Ad) ? !1 : (vt = ie.normalize(vt, vt), Nr = ie.normalize(Nr, Nr), vt.equalsEpsilon(Nr, r || F.EPSILON5));
18647
18647
  }
18648
18648
  function $E(i, t) {
18649
- return yi = ki(i, yi), Gt = t.globe.ellipsoid.geodeticSurfaceNormal(yi, Gt), Gt = b.cross(t.camera.rightWC, Gt, Gt), Gt = b.normalize(Gt, Gt), Ve.fromPointNormal(yi, Gt);
18649
+ return yi = ki(i, yi), Gt = t.globe.ellipsoid.geodeticSurfaceNormal(yi, Gt), Gt = b.cross(t.camera.rightWC, Gt, Gt), Gt = b.normalize(Gt, Gt), He.fromPointNormal(yi, Gt);
18650
18650
  }
18651
18651
  function AN(i, t) {
18652
- return yi = ki(i, yi), Gt = t.globe.ellipsoid.geodeticSurfaceNormal(yi, Gt), Ve.fromPointNormal(yi, Gt);
18652
+ return yi = ki(i, yi), Gt = t.globe.ellipsoid.geodeticSurfaceNormal(yi, Gt), He.fromPointNormal(yi, Gt);
18653
18653
  }
18654
- function Hr(i, t, e) {
18654
+ function Vr(i, t, e) {
18655
18655
  const r = t.getPickRay(e, new JI()), s = B1.rayPlane(r, i);
18656
18656
  return s ? Me.fromCartesian(s) : Me.ZERO;
18657
18657
  }
@@ -18701,7 +18701,7 @@ const KL = `<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewB
18701
18701
  };
18702
18702
  class $L extends Le {
18703
18703
  constructor(e) {
18704
- super(H.MOVE, (e ? ee.NONE : ee.NONE | ee.SHIFT) | ee.CTRL);
18704
+ super(V.MOVE, (e ? ee.NONE : ee.NONE | ee.SHIFT) | ee.CTRL);
18705
18705
  d(this, "_currentVertex", null);
18706
18706
  d(this, "cursorStyle");
18707
18707
  this.setActive();
@@ -18743,7 +18743,7 @@ class WL extends Le {
18743
18743
  s = ee.NONE | ee.CTRL, n = ps.MULTI;
18744
18744
  else
18745
18745
  throw new Error("This interaction is not supported");
18746
- super(H.MOVE, s);
18746
+ super(V.MOVE, s);
18747
18747
  d(this, "_selectFeatureInteraction");
18748
18748
  d(this, "selectionMode");
18749
18749
  /**
@@ -18880,7 +18880,7 @@ function gN(i, t, e, r = ps.MULTI, s = WE()) {
18880
18880
  return h;
18881
18881
  },
18882
18882
  setMode(_) {
18883
- P(_, Hh(ps)), I(_), a.raiseEvent(h);
18883
+ P(_, Vh(ps)), I(_), a.raiseEvent(h);
18884
18884
  },
18885
18885
  modeChanged: a,
18886
18886
  featuresChanged: o,
@@ -18892,7 +18892,7 @@ function gN(i, t, e, r = ps.MULTI, s = WE()) {
18892
18892
  const ZL = 50;
18893
18893
  class eP extends Le {
18894
18894
  constructor() {
18895
- super(H.MOVE);
18895
+ super(V.MOVE);
18896
18896
  d(this, "_lastPickTime", 0);
18897
18897
  d(this, "_lastPickedPanoramaFeature");
18898
18898
  }
@@ -19736,7 +19736,7 @@ class hr extends cr {
19736
19736
  }
19737
19737
  createImplementationsForMap(e) {
19738
19738
  return e instanceof Mt ? [
19739
- new Hs(e, this.getImplementationOptions())
19739
+ new Vs(e, this.getImplementationOptions())
19740
19740
  ] : [];
19741
19741
  }
19742
19742
  /**
@@ -19866,7 +19866,7 @@ class _P {
19866
19866
  d(this, "_tileProvider");
19867
19867
  d(this, "_style");
19868
19868
  d(this, "_layerPrimitiveCollection");
19869
- this._tile = t, this._map = e.map, this._tileProvider = e.tileProvider, this._style = e.style, this._layerPrimitiveCollection = e.primitiveCollection, this._vectorContext = new Ic(this._map, this._rootCollection, He.NONE), this._rootCollection[de] = e.name, this._rootCollection.show = !1, this._layerPrimitiveCollection.add(this._rootCollection), this.tileBoundingRegion = iu(t, this._map), this._load().catch(() => {
19869
+ this._tile = t, this._map = e.map, this._tileProvider = e.tileProvider, this._style = e.style, this._layerPrimitiveCollection = e.primitiveCollection, this._vectorContext = new Ic(this._map, this._rootCollection, Ve.NONE), this._rootCollection[de] = e.name, this._rootCollection.show = !1, this._layerPrimitiveCollection.add(this._rootCollection), this.tileBoundingRegion = iu(t, this._map), this._load().catch(() => {
19870
19870
  this.state = qt.FAILED;
19871
19871
  });
19872
19872
  }
@@ -20138,7 +20138,7 @@ class xP extends Wa {
20138
20138
  if (!s)
20139
20139
  throw new Error("Map size is not available for scissor test");
20140
20140
  const n = Wm(e, [0, s[1]]), a = Wm(e, [s[0], 0]), o = Math.round((a[0] - n[0]) * this.map.splitPosition), l = a[1] - n[1];
20141
- this.splitDirection === He.LEFT ? r.scissor(n[0], n[1], o, l) : r.scissor(n[0] + o, n[1], a[0], l);
20141
+ this.splitDirection === Ve.LEFT ? r.scissor(n[0], n[1], o, l) : r.scissor(n[0] + o, n[1], a[0], l);
20142
20142
  }
20143
20143
  // eslint-disable-next-line class-methods-use-this
20144
20144
  _splitPostReder(e) {
@@ -21535,7 +21535,7 @@ function UP(i) {
21535
21535
  });
21536
21536
  return t.then = e.then.bind(e), t.catch = e.catch.bind(e), t.finally = e.finally.bind(e), t;
21537
21537
  }
21538
- function HP(i) {
21538
+ function VP(i) {
21539
21539
  if (!(i.state >= wy)) {
21540
21540
  i.state = wy;
21541
21541
  var t = NP.bind(null, i), e = UP(i);
@@ -21570,7 +21570,7 @@ var Yc = /* @__PURE__ */ new WeakMap(), bc = (
21570
21570
  throw new Error("WeakMap error");
21571
21571
  if (e.nexts.length >= dA)
21572
21572
  throw new t_("No more than " + dA + " pending calls to next are allowed on a single repeater.");
21573
- if (e.state <= gd && HP(e), e.onnext(t), typeof e.buffer < "u" && !e.buffer.empty) {
21573
+ if (e.state <= gd && VP(e), e.onnext(t), typeof e.buffer < "u" && !e.buffer.empty) {
21574
21574
  var r = dn(e, e.buffer.remove());
21575
21575
  if (e.pushes.length) {
21576
21576
  var s = e.pushes.shift();
@@ -21600,7 +21600,7 @@ var Yc = /* @__PURE__ */ new WeakMap(), bc = (
21600
21600
  return e.state <= gd || e.state >= Nn || typeof e.buffer < "u" && !e.buffer.empty ? (Uo(e), e.err == null && (e.err = t), dn(e, Ea(e))) : this.next(Promise.reject(t));
21601
21601
  }, i.prototype[Symbol.asyncIterator] = function() {
21602
21602
  return this;
21603
- }, i.race = VP, i.merge = qP, i.zip = zP, i.latest = jP, i;
21603
+ }, i.race = HP, i.merge = qP, i.zip = zP, i.latest = jP, i;
21604
21604
  }()
21605
21605
  );
21606
21606
  function ru(i, t) {
@@ -21645,7 +21645,7 @@ function ru(i, t) {
21645
21645
  }
21646
21646
  return s;
21647
21647
  }
21648
- function VP(i) {
21648
+ function HP(i) {
21649
21649
  var t = this, e = ru(i, { returnValues: !0 });
21650
21650
  return new bc(function(r, s) {
21651
21651
  return Pa(t, void 0, void 0, function() {
@@ -22506,7 +22506,7 @@ class Ql extends $t {
22506
22506
  $e.className,
22507
22507
  Ct.className
22508
22508
  ]);
22509
- this._splitDirection = He.NONE, e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? He.LEFT : He.RIGHT), this._opacity = Zh(e.opacity, r.opacity, 0, 1), this.maxLevel = Ee(e.maxLevel, r.maxLevel), this.minRenderingLevel = Ee(e.minRenderingLevel, r.minRenderingLevel), this.maxRenderingLevel = Ee(e.maxRenderingLevel, r.maxRenderingLevel), this.imageryLayerOptions = structuredClone(e.imageryLayerOptions);
22509
+ this._splitDirection = Ve.NONE, e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? Ve.LEFT : Ve.RIGHT), this._opacity = Zh(e.opacity, r.opacity, 0, 1), this.maxLevel = Ee(e.maxLevel, r.maxLevel), this.minRenderingLevel = Ee(e.minRenderingLevel, r.minRenderingLevel), this.maxRenderingLevel = Ee(e.maxRenderingLevel, r.maxRenderingLevel), this.imageryLayerOptions = structuredClone(e.imageryLayerOptions);
22510
22510
  }
22511
22511
  static get className() {
22512
22512
  return "OpenStreetMapLayer";
@@ -22563,7 +22563,7 @@ class Ql extends $t {
22563
22563
  }
22564
22564
  toJSON(e = Ql.getDefaultOptions()) {
22565
22565
  const r = super.toJSON(e);
22566
- return this._splitDirection !== He.NONE && (r.splitDirection = this._splitDirection === He.RIGHT ? "right" : "left"), this.opacity !== e.opacity && (r.opacity = this.opacity), this.maxLevel !== e.maxLevel && (r.maxLevel = this.maxLevel), this.minRenderingLevel !== e.minRenderingLevel && (r.minRenderingLevel = this.minRenderingLevel), this.maxRenderingLevel !== e.maxRenderingLevel && (r.maxRenderingLevel = this.maxRenderingLevel), this._splitDirection !== He.NONE && (r.splitDirection = this._splitDirection === He.RIGHT ? "right" : "left"), this.imageryLayerOptions !== e.imageryLayerOptions && (r.imageryLayerOptions = structuredClone(this.imageryLayerOptions)), r;
22566
+ return this._splitDirection !== Ve.NONE && (r.splitDirection = this._splitDirection === Ve.RIGHT ? "right" : "left"), this.opacity !== e.opacity && (r.opacity = this.opacity), this.maxLevel !== e.maxLevel && (r.maxLevel = this.maxLevel), this.minRenderingLevel !== e.minRenderingLevel && (r.minRenderingLevel = this.minRenderingLevel), this.maxRenderingLevel !== e.maxRenderingLevel && (r.maxRenderingLevel = this.maxRenderingLevel), this._splitDirection !== Ve.NONE && (r.splitDirection = this._splitDirection === Ve.RIGHT ? "right" : "left"), this.imageryLayerOptions !== e.imageryLayerOptions && (r.imageryLayerOptions = structuredClone(this.imageryLayerOptions)), r;
22567
22567
  }
22568
22568
  destroy() {
22569
22569
  this.splitDirectionChanged.destroy(), super.destroy();
@@ -22591,7 +22591,7 @@ class WP extends Wa {
22591
22591
  };
22592
22592
  return ns.contains(e.url) ? e.crossOrigin = "use-credentials" : os(this.url) || (e.crossOrigin = "anonymous"), this.headers && (e.imageLoadFunction = (r, s) => {
22593
22593
  const n = Ni(s, this.headers);
22594
- Hf(s, n).then((a) => {
22594
+ Vf(s, n).then((a) => {
22595
22595
  const o = r.getImage();
22596
22596
  o.src = a, o.onload = () => {
22597
22597
  URL.revokeObjectURL(a);
@@ -22675,7 +22675,7 @@ class ZP extends pc {
22675
22675
  return "VectorTileOpenlayersImpl";
22676
22676
  }
22677
22677
  getOLLayer() {
22678
- this.source = new HA({
22678
+ this.source = new VA({
22679
22679
  minZoom: 0,
22680
22680
  maxZoom: 26,
22681
22681
  tileSize: this.tileSize,
@@ -22838,7 +22838,7 @@ class Ml extends hr {
22838
22838
  };
22839
22839
  }
22840
22840
  getStyleOrDefaultStyle(e, r) {
22841
- return super.getStyleOrDefaultStyle(e, r || VC);
22841
+ return super.getStyleOrDefaultStyle(e, r || HC);
22842
22842
  }
22843
22843
  get pointSize() {
22844
22844
  return this._pointSize;
@@ -23129,7 +23129,7 @@ function iO(i, t) {
23129
23129
  });
23130
23130
  }
23131
23131
  async function mN(i, t) {
23132
- const e = i.getImplementations().filter((r) => r instanceof Hs);
23132
+ const e = i.getImplementations().filter((r) => r instanceof Vs);
23133
23133
  !i.active || e.every((r) => {
23134
23134
  var s;
23135
23135
  return (s = r.cesium3DTileset) == null ? void 0 : s.tilesLoaded;
@@ -24202,7 +24202,7 @@ class hO extends tm {
24202
24202
  }
24203
24203
  async initialize() {
24204
24204
  if (!this.initialized) {
24205
- const e = new Vn({
24205
+ const e = new Hn({
24206
24206
  visible: !1,
24207
24207
  source: this._clusterSource,
24208
24208
  style: this.style
@@ -24266,7 +24266,7 @@ class uO extends tm {
24266
24266
  }
24267
24267
  async initialize() {
24268
24268
  if (!this.initialized) {
24269
- const e = new Vn({
24269
+ const e = new Hn({
24270
24270
  visible: !1,
24271
24271
  source: this._clusterSource,
24272
24272
  style: this.style
@@ -24620,7 +24620,7 @@ class c_ extends xr {
24620
24620
  }
24621
24621
  }
24622
24622
  async initialize() {
24623
- this.initialized || (this._context = new Ic(this.map, this._primitiveCollection, He.NONE), this.map.addPrimitiveCollection(this._primitiveCollection), this._sourceVectorContextSync = WA(this.source, this._context, this.map.getCesiumWidget().scene, this._style.style, this._vectorProperties)), await super.initialize();
24623
+ this.initialized || (this._context = new Ic(this.map, this._primitiveCollection, Ve.NONE), this.map.addPrimitiveCollection(this._primitiveCollection), this._sourceVectorContextSync = WA(this.source, this._context, this.map.getCesiumWidget().scene, this._style.style, this._vectorProperties)), await super.initialize();
24624
24624
  }
24625
24625
  async activate() {
24626
24626
  var e;
@@ -26573,7 +26573,7 @@ var fO = 8, mO = {
26573
26573
  },
26574
26574
  transition: !0
26575
26575
  }
26576
- }, HO = {
26576
+ }, VO = {
26577
26577
  source: {
26578
26578
  type: "string",
26579
26579
  required: !0
@@ -26583,7 +26583,7 @@ var fO = 8, mO = {
26583
26583
  minimum: 0,
26584
26584
  default: 1
26585
26585
  }
26586
- }, VO = {
26586
+ }, HO = {
26587
26587
  type: {
26588
26588
  type: "projectionDefinition",
26589
26589
  default: "mercator",
@@ -27932,8 +27932,8 @@ var fO = 8, mO = {
27932
27932
  expression: TO,
27933
27933
  light: NO,
27934
27934
  sky: UO,
27935
- terrain: HO,
27936
- projection: VO,
27935
+ terrain: VO,
27936
+ projection: HO,
27937
27937
  paint: qO,
27938
27938
  paint_fill: zO,
27939
27939
  "paint_fill-extrusion": {
@@ -28930,17 +28930,17 @@ class yr {
28930
28930
  function C_(i, t, e, r) {
28931
28931
  return typeof i == "number" && i >= 0 && i <= 255 && typeof t == "number" && t >= 0 && t <= 255 && typeof e == "number" && e >= 0 && e <= 255 ? typeof r > "u" || typeof r == "number" && r >= 0 && r <= 1 ? null : `Invalid rgba value [${[i, t, e, r].join(", ")}]: 'a' must be between 0 and 1.` : `Invalid rgba value [${(typeof r == "number" ? [i, t, e, r] : [i, t, e]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`;
28932
28932
  }
28933
- function Hl(i) {
28933
+ function Vl(i) {
28934
28934
  if (i === null || typeof i == "string" || typeof i == "boolean" || typeof i == "number" || i instanceof yr || i instanceof Oe || i instanceof sm || i instanceof _s || i instanceof Cr || i instanceof Er || i instanceof Yi || i instanceof Kr || i instanceof an)
28935
28935
  return !0;
28936
28936
  if (Array.isArray(i)) {
28937
28937
  for (const t of i)
28938
- if (!Hl(t))
28938
+ if (!Vl(t))
28939
28939
  return !1;
28940
28940
  return !0;
28941
28941
  } else if (typeof i == "object") {
28942
28942
  for (const t in i)
28943
- if (!Hl(i[t]))
28943
+ if (!Vl(i[t]))
28944
28944
  return !1;
28945
28945
  return !0;
28946
28946
  } else
@@ -28991,7 +28991,7 @@ function Ot(i) {
28991
28991
  } else
28992
28992
  return wn;
28993
28993
  }
28994
- function Ho(i) {
28994
+ function Vo(i) {
28995
28995
  const t = typeof i;
28996
28996
  return i === null ? "" : t === "string" || t === "number" || t === "boolean" ? String(i) : i instanceof Oe || i instanceof yr || i instanceof _s || i instanceof Cr || i instanceof Er || i instanceof Yi || i instanceof Kr || i instanceof an ? i.toString() : JSON.stringify(i);
28997
28997
  }
@@ -29002,7 +29002,7 @@ class Fa {
29002
29002
  static parse(t, e) {
29003
29003
  if (t.length !== 2)
29004
29004
  return e.error(`'literal' expression requires exactly one argument, but found ${t.length - 1} instead.`);
29005
- if (!Hl(t[1]))
29005
+ if (!Vl(t[1]))
29006
29006
  return e.error("invalid value");
29007
29007
  const r = t[1];
29008
29008
  let s = Ot(r);
@@ -29086,7 +29086,7 @@ const Gy = {
29086
29086
  "to-number": z,
29087
29087
  "to-string": ue
29088
29088
  };
29089
- class Vs {
29089
+ class Hs {
29090
29090
  constructor(t, e) {
29091
29091
  this.type = t, this.args = e;
29092
29092
  }
@@ -29105,7 +29105,7 @@ class Vs {
29105
29105
  return null;
29106
29106
  n.push(o);
29107
29107
  }
29108
- return new Vs(s, n);
29108
+ return new Hs(s, n);
29109
29109
  }
29110
29110
  evaluate(t) {
29111
29111
  switch (this.type.kind) {
@@ -29177,13 +29177,13 @@ class Vs {
29177
29177
  throw new ht(`Could not convert ${JSON.stringify(e)} to number.`);
29178
29178
  }
29179
29179
  case "formatted":
29180
- return _s.fromString(Ho(this.args[0].evaluate(t)));
29180
+ return _s.fromString(Vo(this.args[0].evaluate(t)));
29181
29181
  case "resolvedImage":
29182
- return an.fromString(Ho(this.args[0].evaluate(t)));
29182
+ return an.fromString(Vo(this.args[0].evaluate(t)));
29183
29183
  case "projectionDefinition":
29184
29184
  return this.args[0].evaluate(t);
29185
29185
  default:
29186
- return Ho(this.args[0].evaluate(t));
29186
+ return Vo(this.args[0].evaluate(t));
29187
29187
  }
29188
29188
  }
29189
29189
  eachChild(t) {
@@ -29235,7 +29235,7 @@ class Au {
29235
29235
  _parse(t, e) {
29236
29236
  (t === null || typeof t == "string" || typeof t == "boolean" || typeof t == "number") && (t = ["literal", t]);
29237
29237
  function r(s, n, a) {
29238
- return a === "assert" ? new Ir(n, [s]) : a === "coerce" ? new Vs(n, [s]) : s;
29238
+ return a === "assert" ? new Ir(n, [s]) : a === "coerce" ? new Hs(n, [s]) : s;
29239
29239
  }
29240
29240
  if (Array.isArray(t)) {
29241
29241
  if (t.length === 0)
@@ -29818,7 +29818,7 @@ function _d(i, t, e, r) {
29818
29818
  const s = r - e, n = i - e;
29819
29819
  return s === 0 ? 0 : t === 1 ? n / s : (Math.pow(t, n) - 1) / (Math.pow(t, s) - 1);
29820
29820
  }
29821
- class Vl {
29821
+ class Hl {
29822
29822
  constructor(t, e) {
29823
29823
  this.type = t, this.args = e;
29824
29824
  }
@@ -29839,7 +29839,7 @@ class Vl {
29839
29839
  }
29840
29840
  if (!r)
29841
29841
  throw new Error("No output type");
29842
- return s && n.some((o) => Nl(s, o.type)) ? new Vl(ge, n) : new Vl(r, n);
29842
+ return s && n.some((o) => Nl(s, o.type)) ? new Hl(ge, n) : new Hl(r, n);
29843
29843
  }
29844
29844
  evaluate(t) {
29845
29845
  let e = null, r = 0, s;
@@ -30079,7 +30079,7 @@ class hm {
30079
30079
  evaluate(t) {
30080
30080
  const e = (r) => {
30081
30081
  const s = r.content.evaluate(t);
30082
- return Ot(s) === Sc ? new Pg("", s, null, null, null, r.verticalAlign ? r.verticalAlign.evaluate(t) : null) : new Pg(Ho(s), null, r.scale ? r.scale.evaluate(t) : null, r.font ? r.font.evaluate(t).join(",") : null, r.textColor ? r.textColor.evaluate(t) : null, r.verticalAlign ? r.verticalAlign.evaluate(t) : null);
30082
+ return Ot(s) === Sc ? new Pg("", s, null, null, null, r.verticalAlign ? r.verticalAlign.evaluate(t) : null) : new Pg(Vo(s), null, r.scale ? r.scale.evaluate(t) : null, r.font ? r.font.evaluate(t).join(",") : null, r.textColor ? r.textColor.evaluate(t) : null, r.verticalAlign ? r.verticalAlign.evaluate(t) : null);
30083
30083
  };
30084
30084
  return new _s(this.sections.map(e));
30085
30085
  }
@@ -30139,17 +30139,17 @@ class um {
30139
30139
  }
30140
30140
  const Wr = 8192;
30141
30141
  function U4(i, t) {
30142
- const e = H4(i[0]), r = q4(i[1]), s = Math.pow(2, t.z);
30142
+ const e = V4(i[0]), r = q4(i[1]), s = Math.pow(2, t.z);
30143
30143
  return [Math.round(e * s * Wr), Math.round(r * s * Wr)];
30144
30144
  }
30145
30145
  function dm(i, t) {
30146
30146
  const e = Math.pow(2, t.z), r = (i[0] / Wr + t.x) / e, s = (i[1] / Wr + t.y) / e;
30147
- return [V4(r), z4(s)];
30147
+ return [H4(r), z4(s)];
30148
30148
  }
30149
- function H4(i) {
30149
+ function V4(i) {
30150
30150
  return (180 + i) / 360;
30151
30151
  }
30152
- function V4(i) {
30152
+ function H4(i) {
30153
30153
  return i * 360 - 180;
30154
30154
  }
30155
30155
  function q4(i) {
@@ -30260,7 +30260,7 @@ function Uy(i, t, e, r) {
30260
30260
  }
30261
30261
  return a;
30262
30262
  }
30263
- function Hy(i, t, e, r) {
30263
+ function Vy(i, t, e, r) {
30264
30264
  const s = Math.pow(2, r.z) * Wr, n = [r.x * Wr, r.y * Wr], a = [];
30265
30265
  for (const o of i) {
30266
30266
  const l = [];
@@ -30301,7 +30301,7 @@ function Z4(i, t) {
30301
30301
  function e3(i, t) {
30302
30302
  const e = [1 / 0, 1 / 0, -1 / 0, -1 / 0], r = [1 / 0, 1 / 0, -1 / 0, -1 / 0], s = i.canonicalID();
30303
30303
  if (t.type === "Polygon") {
30304
- const n = gm(t.coordinates, r, s), a = Hy(i.geometry(), e, r, s);
30304
+ const n = gm(t.coordinates, r, s), a = Vy(i.geometry(), e, r, s);
30305
30305
  if (!ql(e, r))
30306
30306
  return !1;
30307
30307
  for (const o of a)
@@ -30309,7 +30309,7 @@ function e3(i, t) {
30309
30309
  return !1;
30310
30310
  }
30311
30311
  if (t.type === "MultiPolygon") {
30312
- const n = b_(t.coordinates, r, s), a = Hy(i.geometry(), e, r, s);
30312
+ const n = b_(t.coordinates, r, s), a = Vy(i.geometry(), e, r, s);
30313
30313
  if (!ql(e, r))
30314
30314
  return !1;
30315
30315
  for (const o of a)
@@ -30325,7 +30325,7 @@ class Sn {
30325
30325
  static parse(t, e) {
30326
30326
  if (t.length !== 2)
30327
30327
  return e.error(`'within' expression requires exactly one argument, but found ${t.length - 1} instead.`);
30328
- if (Hl(t[1])) {
30328
+ if (Vl(t[1])) {
30329
30329
  const r = t[1];
30330
30330
  if (r.type === "FeatureCollection") {
30331
30331
  const s = [];
@@ -30417,7 +30417,7 @@ function i3(i) {
30417
30417
  n = i[e], a = i[s], t += (a.x - n.x) * (n.y + a.y);
30418
30418
  return t;
30419
30419
  }
30420
- const r3 = 6378.137, Vy = 1 / 298.257223563, qy = Vy * (2 - Vy), zy = Math.PI / 180;
30420
+ const r3 = 6378.137, Hy = 1 / 298.257223563, qy = Hy * (2 - Hy), zy = Math.PI / 180;
30421
30421
  class fm {
30422
30422
  constructor(t) {
30423
30423
  const e = zy * r3 * 1e3, r = Math.cos(t * zy), s = 1 / (1 - qy * (1 - r * r)), n = Math.sqrt(s);
@@ -30789,7 +30789,7 @@ class xn {
30789
30789
  static parse(t, e) {
30790
30790
  if (t.length !== 2)
30791
30791
  return e.error(`'distance' expression requires exactly one argument, but found ${t.length - 1} instead.`);
30792
- if (Hl(t[1])) {
30792
+ if (Vl(t[1])) {
30793
30793
  const r = t[1];
30794
30794
  if (r.type === "FeatureCollection")
30795
30795
  return new xn(r, r.features.map((s) => vd(s.geometry)).flat());
@@ -30850,7 +30850,7 @@ const pu = {
30850
30850
  at: nm,
30851
30851
  boolean: Ir,
30852
30852
  case: lm,
30853
- coalesce: Vl,
30853
+ coalesce: Hl,
30854
30854
  collator: fu,
30855
30855
  format: hm,
30856
30856
  image: Am,
@@ -30869,10 +30869,10 @@ const pu = {
30869
30869
  slice: IA,
30870
30870
  step: gu,
30871
30871
  string: Ir,
30872
- "to-boolean": Vs,
30873
- "to-color": Vs,
30874
- "to-number": Vs,
30875
- "to-string": Vs,
30872
+ "to-boolean": Hs,
30873
+ "to-color": Hs,
30874
+ "to-number": Hs,
30875
+ "to-string": Hs,
30876
30876
  var: du,
30877
30877
  within: Sn,
30878
30878
  distance: xn,
@@ -31240,7 +31240,7 @@ Ji.register(pu, {
31240
31240
  concat: [
31241
31241
  ue,
31242
31242
  ln(ge),
31243
- (i, t) => t.map((e) => Ho(e.evaluate(i))).join("")
31243
+ (i, t) => t.map((e) => Vo(e.evaluate(i))).join("")
31244
31244
  ],
31245
31245
  split: [
31246
31246
  Ii(ue),
@@ -31274,7 +31274,7 @@ function vA(i) {
31274
31274
  return !1;
31275
31275
  if (i instanceof Qc)
31276
31276
  return !1;
31277
- const t = i instanceof Vs || i instanceof Ir;
31277
+ const t = i instanceof Hs || i instanceof Ir;
31278
31278
  let e = !0;
31279
31279
  return i.eachChild((r) => {
31280
31280
  t ? e = e && vA(r) : e = e && r instanceof Fa;
@@ -31424,7 +31424,7 @@ function Qh(i) {
31424
31424
  let t = null;
31425
31425
  if (i instanceof uu)
31426
31426
  t = Qh(i.result);
31427
- else if (i instanceof Vl) {
31427
+ else if (i instanceof Hl) {
31428
31428
  for (const e of i.args)
31429
31429
  if (t = Qh(e), t)
31430
31430
  break;
@@ -32177,7 +32177,7 @@ function g0(i, t, e) {
32177
32177
  return s.putImageData(n, 0, 0), r;
32178
32178
  }
32179
32179
  const k3 = Array(256).join(" ");
32180
- function Hg(i, t) {
32180
+ function Vg(i, t) {
32181
32181
  if (t >= 0.05) {
32182
32182
  let e = "";
32183
32183
  const r = i.split(`
@@ -32211,13 +32211,13 @@ Lw.on("propertychange", () => {
32211
32211
  for (const i in SA)
32212
32212
  delete SA[i];
32213
32213
  });
32214
- function Vg(i, t, e, r) {
32214
+ function Hg(i, t, e, r) {
32215
32215
  if (i.indexOf(`
32216
32216
  `) !== -1) {
32217
32217
  const a = i.split(`
32218
32218
  `), o = [];
32219
32219
  for (let l = 0, c = a.length; l < c; ++l)
32220
- o.push(Vg(a[l], t, e, r));
32220
+ o.push(Hg(a[l], t, e, r));
32221
32221
  return o.join(`
32222
32222
  `);
32223
32223
  }
@@ -32254,7 +32254,7 @@ function Vg(i, t, e, r) {
32254
32254
  `);
32255
32255
  } else
32256
32256
  n = i;
32257
- n = Hg(n, r), SA[s] = n;
32257
+ n = Vg(n, r), SA[s] = n;
32258
32258
  }
32259
32259
  return n;
32260
32260
  }
@@ -32270,7 +32270,7 @@ const R3 = [
32270
32270
  "fantasy"
32271
32271
  ], f0 = {};
32272
32272
  function T3(i, t = "https://cdn.jsdelivr.net/npm/@fontsource/{font-family}/{fontweight}{-fontstyle}.css") {
32273
- if (VA)
32273
+ if (HA)
32274
32274
  return i;
32275
32275
  let e;
32276
32276
  for (let r = 0, s = i.length; r < s; ++r) {
@@ -32425,7 +32425,7 @@ function p0(i, t, e, r) {
32425
32425
  r
32426
32426
  ) ? "none" : "obstacle" : "declutter";
32427
32427
  }
32428
- function H3(i, t, e, r) {
32428
+ function V3(i, t, e, r) {
32429
32429
  if (r || console.warn("No filterCache provided to evaluateFilter()"), !(i in r))
32430
32430
  try {
32431
32431
  r[i] = E3(t).filter;
@@ -32445,9 +32445,9 @@ function ks(i, t) {
32445
32445
  }
32446
32446
  return i;
32447
32447
  }
32448
- const V3 = /\{[^{}}]*\}/g;
32448
+ const H3 = /\{[^{}}]*\}/g;
32449
32449
  function Qd(i, t) {
32450
- return i.replace(V3, function(e) {
32450
+ return i.replace(H3, function(e) {
32451
32451
  return t[e.slice(1, -1)] || "";
32452
32452
  });
32453
32453
  }
@@ -32549,8 +32549,8 @@ function z3(i, t, e, r = wr, s = void 0, n = void 0, a = void 0, o = void 0) {
32549
32549
  if (J && J instanceof Qn && k === 1) {
32550
32550
  const j = J.getSize();
32551
32551
  if (j) {
32552
- const V = J.getView().getCenter(), te = Xr(Q.getExtent());
32553
- wi.distanceFromCenter = Pw(V, te) / E / j[1];
32552
+ const H = J.getView().getCenter(), te = Xr(Q.getExtent());
32553
+ wi.distanceFromCenter = Pw(H, te) / E / j[1];
32554
32554
  }
32555
32555
  }
32556
32556
  const L = {
@@ -32559,7 +32559,7 @@ function z3(i, t, e, r = wr, s = void 0, n = void 0, a = void 0, o = void 0) {
32559
32559
  type: k
32560
32560
  }, D = i.get("mapbox-featurestate")[v.getId()];
32561
32561
  let q = -1;
32562
- for (let j = 0, V = M.length; j < V; ++j) {
32562
+ for (let j = 0, H = M.length; j < H; ++j) {
32563
32563
  const te = M[j], O = te.layer, se = O.id;
32564
32564
  if (_ !== void 0 && _ !== se)
32565
32565
  continue;
@@ -32574,7 +32574,7 @@ function z3(i, t, e, r = wr, s = void 0, n = void 0, a = void 0, o = void 0) {
32574
32574
  ) === "none" || "minzoom" in O && x < O.minzoom || "maxzoom" in O && x >= O.maxzoom)
32575
32575
  continue;
32576
32576
  const Ce = O.filter;
32577
- if (!Ce || H3(se, Ce, L, m)) {
32577
+ if (!Ce || V3(se, Ce, L, m)) {
32578
32578
  let Se, ve, ze, Et, ot, $;
32579
32579
  const _t = te.index;
32580
32580
  if (k == 3 && (O.type == "fill" || O.type == "fill-extrusion")) {
@@ -32794,8 +32794,8 @@ function z3(i, t, e, r = wr, s = void 0, n = void 0, a = void 0, o = void 0) {
32794
32794
  D
32795
32795
  ) === "line" && kt === "map") {
32796
32796
  const dr = xe.getStride(), fi = xe.getFlatCoordinates();
32797
- for (let Vi = 0, dt = fi.length - dr; Vi < dt; Vi += dr) {
32798
- const li = fi[Vi], Wi = fi[Vi + 1], gt = fi[Vi + dr], Ps = fi[Vi + dr + 1], Jv = Math.min(li, gt), Kv = Math.max(li, gt), xu = Zt[0], $v = Zt[1], Wv = (Ps - Wi) * (xu - li) - (gt - li) * ($v - Wi);
32797
+ for (let Hi = 0, dt = fi.length - dr; Hi < dt; Hi += dr) {
32798
+ const li = fi[Hi], Wi = fi[Hi + 1], gt = fi[Hi + dr], Ps = fi[Hi + dr + 1], Jv = Math.min(li, gt), Kv = Math.max(li, gt), xu = Zt[0], $v = Zt[1], Wv = (Ps - Wi) * (xu - li) - (gt - li) * ($v - Wi);
32799
32799
  if (Math.abs(Wv) < 1e-3 && //midpoint is aligned with the segment
32800
32800
  xu <= Kv && xu >= Jv) {
32801
32801
  ur = Math.atan2(Wi - Ps, gt - li);
@@ -32855,7 +32855,7 @@ function z3(i, t, e, r = wr, s = void 0, n = void 0, a = void 0, o = void 0) {
32855
32855
  f,
32856
32856
  D
32857
32857
  ).slice(0), fi[0] *= xe, fi[1] *= -xe);
32858
- let Vi = Re ? [
32858
+ let Hi = Re ? [
32859
32859
  Re.r * 255,
32860
32860
  Re.g * 255,
32861
32861
  Re.b * 255,
@@ -32863,7 +32863,7 @@ function z3(i, t, e, r = wr, s = void 0, n = void 0, a = void 0, o = void 0) {
32863
32863
  ] : void 0;
32864
32864
  if (Ge) {
32865
32865
  const dt = {
32866
- color: Vi,
32866
+ color: Hi,
32867
32867
  rotateWithView: kt === "map",
32868
32868
  displacement: fi,
32869
32869
  declutterMode: dr,
@@ -32892,7 +32892,7 @@ function z3(i, t, e, r = wr, s = void 0, n = void 0, a = void 0, o = void 0) {
32892
32892
  },
32893
32893
  Zt,
32894
32894
  Nt
32895
- ), Vi = void 0) : li = d0(
32895
+ ), Hi = void 0) : li = d0(
32896
32896
  Ye.image,
32897
32897
  dt,
32898
32898
  Zt,
@@ -32915,7 +32915,7 @@ function z3(i, t, e, r = wr, s = void 0, n = void 0, a = void 0, o = void 0) {
32915
32915
  li = Ye.image, Wi = [dt.width, dt.height], gt = [dt.x, dt.y];
32916
32916
  }
32917
32917
  tt = new $i({
32918
- color: Vi,
32918
+ color: Hi,
32919
32919
  img: li,
32920
32920
  // @ts-ignore
32921
32921
  imgSize: Ye.size,
@@ -33105,8 +33105,8 @@ function z3(i, t, e, r = wr, s = void 0, n = void 0, a = void 0, o = void 0) {
33105
33105
  return Ge.push(`
33106
33106
  `, ""), Ge;
33107
33107
  if (k == 2)
33108
- return Ge.push(Hg(Nt, ao), Re), Ge;
33109
- Nt = Vg(
33108
+ return Ge.push(Vg(Nt, ao), Re), Ge;
33109
+ Nt = Hg(
33110
33110
  Nt,
33111
33111
  Re,
33112
33112
  Su,
@@ -33148,7 +33148,7 @@ function z3(i, t, e, r = wr, s = void 0, n = void 0, a = void 0, o = void 0) {
33148
33148
  D
33149
33149
  );
33150
33150
  je == "uppercase" ? Xt = Array.isArray(Xt) ? Xt.map((gt, Ps) => Ps % 2 ? gt : gt.toUpperCase()) : Xt.toUpperCase() : je == "lowercase" && (Xt = Array.isArray(Xt) ? Xt.map((gt, Ps) => Ps % 2 ? gt : gt.toLowerCase()) : Xt.toLowerCase());
33151
- const Ge = Array.isArray(Xt) ? Xt : k == 2 ? Hg(Xt, ao) : Vg(Xt, so, Su, ao);
33151
+ const Ge = Array.isArray(Xt) ? Xt : k == 2 ? Vg(Xt, ao) : Hg(Xt, so, Su, ao);
33152
33152
  if (De.setText(Ge), De.setFont(so), De.setRotation(
33153
33153
  bd(
33154
33154
  Z(
@@ -33250,7 +33250,7 @@ function z3(i, t, e, r = wr, s = void 0, n = void 0, a = void 0, o = void 0) {
33250
33250
  De.setTextAlign(xe);
33251
33251
  let fi = "middle";
33252
33252
  Ye.indexOf("bottom") == 0 ? (fi = "bottom", Dr = -Re - 0.5 * (no - 1) * Ls) : Ye.indexOf("top") == 0 && (fi = "top", Dr = Re + 0.5 * (no - 1) * Ls), De.setTextBaseline(fi);
33253
- const Vi = Z(
33253
+ const Hi = Z(
33254
33254
  O,
33255
33255
  "layout",
33256
33256
  "text-justify",
@@ -33258,7 +33258,7 @@ function z3(i, t, e, r = wr, s = void 0, n = void 0, a = void 0, o = void 0) {
33258
33258
  f,
33259
33259
  D
33260
33260
  );
33261
- De.setJustify(Vi === "auto" ? void 0 : Vi), De.setOffsetX(
33261
+ De.setJustify(Hi === "auto" ? void 0 : Hi), De.setOffsetX(
33262
33262
  Nt[0] * Ls + dr + Zt[0]
33263
33263
  ), De.setOffsetY(
33264
33264
  Nt[1] * Ls + Dr + Zt[1]
@@ -33313,7 +33313,7 @@ function z3(i, t, e, r = wr, s = void 0, n = void 0, a = void 0, o = void 0) {
33313
33313
  }
33314
33314
  function j3(i, t) {
33315
33315
  const e = i[0], r = e.width, s = e.height, n = e.data, a = new Uint8ClampedArray(n.length), o = t.resolution * 2, l = r - 1, c = s - 1, h = [0, 0, 0, 0], A = Math.PI, u = t.sunAz * A / 180 + A, g = t.shadowColor, f = t.highlightColor, m = t.accentColor, p = t.encoding, y = t.exaggeration;
33316
- let I, C, B, v, E, _, w, S, M, x, Q, k, J, L, D, q, K, G, U, j, V, te, O, se, ae, ce, be;
33316
+ let I, C, B, v, E, _, w, S, M, x, Q, k, J, L, D, q, K, G, U, j, H, te, O, se, ae, ce, be;
33317
33317
  function Ce(ve, ze = "mapbox") {
33318
33318
  return ze === "mapbox" ? (ve[0] * 256 * 256 + ve[1] * 256 + ve[2]) * 0.1 - 1e4 : ze === "terrarium" ? ve[0] * 256 + ve[1] + ve[2] / 256 - 32768 : 0;
33319
33319
  }
@@ -33328,8 +33328,8 @@ function j3(i, t) {
33328
33328
  const ze = Math.min(Math.max(y * 2, 0), 1);
33329
33329
  G = (1 - q) * ze, se = m.r * G, ae = m.g * G, ce = m.b * G, be = m.a * G;
33330
33330
  let Et = (J + u) / A + 0.5;
33331
- Et = Et % 2, Et < 0 && (Et += 2), K = Math.abs(Et - 1), U = Math.sin(D) * ze, j = (g.r * (1 - K) + f.r * K) * U, V = (g.g * (1 - K) + f.g * K) * U, te = (g.b * (1 - K) + f.b * K) * U, O = (g.a * (1 - K) + f.a * K) * U;
33332
- const ot = se * (1 - O) + j, $ = ae * (1 - O) + V, _t = ce * (1 - O) + te, Ds = be * (1 - O) + O;
33331
+ Et = Et % 2, Et < 0 && (Et += 2), K = Math.abs(Et - 1), U = Math.sin(D) * ze, j = (g.r * (1 - K) + f.r * K) * U, H = (g.g * (1 - K) + f.g * K) * U, te = (g.b * (1 - K) + f.b * K) * U, O = (g.a * (1 - K) + f.a * K) * U;
33332
+ const ot = se * (1 - O) + j, $ = ae * (1 - O) + H, _t = ce * (1 - O) + te, Ds = be * (1 - O) + O;
33333
33333
  w = (C * r + I) * 4, a[w] = ot * 255, a[w + 1] = $ * 255, a[w + 2] = _t * 255, a[w + 3] = Ds * 255;
33334
33334
  }
33335
33335
  return new ImageData(a, r, s);
@@ -33396,7 +33396,7 @@ function $3(i, t, e = "", r = {}, s = void 0) {
33396
33396
  O_(t, o).then(function(u) {
33397
33397
  if (u.version != 8)
33398
33398
  return A(new Error("glStyle version 8 required."));
33399
- if (!(i instanceof Vn || i instanceof pa))
33399
+ if (!(i instanceof Hn || i instanceof pa))
33400
33400
  return A(
33401
33401
  new Error("Can only apply to VectorLayer or VectorTileLayer")
33402
33402
  );
@@ -33433,7 +33433,7 @@ function $3(i, t, e = "", r = {}, s = void 0) {
33433
33433
  });
33434
33434
  const B = u.sources[a];
33435
33435
  let v = i.getSource();
33436
- (!v || v.get("mapbox-source") !== B) && (v = H_(B, n, o));
33436
+ (!v || v.get("mapbox-source") !== B) && (v = V_(B, n, o));
33437
33437
  const E = (
33438
33438
  /** @type {VectorSource} */
33439
33439
  i.getSource()
@@ -33452,7 +33452,7 @@ function $3(i, t, e = "", r = {}, s = void 0) {
33452
33452
  }
33453
33453
  let B;
33454
33454
  const v = i.getSource();
33455
- v instanceof HA && v.format_ instanceof cf && (B = v.format_.layerName_), p = z3(
33455
+ v instanceof VA && v.format_ instanceof cf && (B = v.format_.layerName_), p = z3(
33456
33456
  i,
33457
33457
  u,
33458
33458
  l,
@@ -33471,7 +33471,7 @@ function $3(i, t, e = "", r = {}, s = void 0) {
33471
33471
  o.accessToken,
33472
33472
  n || location.href
33473
33473
  );
33474
- m = VA ? 1 : window.devicePixelRatio >= 1.5 ? 0.5 : 1;
33474
+ m = HA ? 1 : window.devicePixelRatio >= 1.5 ? 0.5 : 1;
33475
33475
  const v = m == 0.5 ? "@2x" : "";
33476
33476
  Promise.all(
33477
33477
  B.map(function(E) {
@@ -33523,7 +33523,7 @@ function W3(i, t) {
33523
33523
  return Na(t).getExtent();
33524
33524
  }
33525
33525
  function T_(i, t, e) {
33526
- const r = new HI({
33526
+ const r = new VI({
33527
33527
  tileJSON: t,
33528
33528
  tileSize: i.tileSize || t.tileSize || 512
33529
33529
  }), s = r.getTileJSON(), n = r.getTileGrid(), a = Na(e.projection || "EPSG:3857"), o = W3(s, a), l = a.getExtent(), c = s.minzoom || 0, h = s.maxzoom || 22, A = {
@@ -33574,7 +33574,7 @@ function X3(i, t, e, r) {
33574
33574
  ) === "none" ? void 0 : ks(o, a);
33575
33575
  }
33576
33576
  function Z3(i, t, e) {
33577
- const r = VA ? (
33577
+ const r = HA ? (
33578
33578
  /** @type { HTMLDivElement } */
33579
33579
  { style: {} }
33580
33580
  ) : document.createElement("div");
@@ -33600,7 +33600,7 @@ function N_(i, t, e) {
33600
33600
  e
33601
33601
  );
33602
33602
  o.tileLoadFunction = a, o.format = new cf({ layerName: "mvt:layer" });
33603
- const l = new HA(o);
33603
+ const l = new VA(o);
33604
33604
  l.set("mapbox-source", i), r(l);
33605
33605
  }).catch(s);
33606
33606
  });
@@ -33622,7 +33622,7 @@ function U_(i) {
33622
33622
  function tF(i, t, e) {
33623
33623
  return new Promise(function(r, s) {
33624
33624
  F_(i, t, e).then(function({ tileJson: n, tileLoadFunction: a }) {
33625
- const o = new HI({
33625
+ const o = new VI({
33626
33626
  interpolate: e.interpolate === void 0 ? !0 : e.interpolate,
33627
33627
  transition: 0,
33628
33628
  crossOrigin: "anonymous",
@@ -33676,7 +33676,7 @@ function rF(i, t, e) {
33676
33676
  })
33677
33677
  });
33678
33678
  }
33679
- function H_(i, t, e) {
33679
+ function V_(i, t, e) {
33680
33680
  const r = e.projection ? new Wo({ dataProjection: e.projection }) : new Wo(), s = i.data, n = {};
33681
33681
  if (typeof s == "string") {
33682
33682
  const [o] = Dh(
@@ -33742,9 +33742,9 @@ function H_(i, t, e) {
33742
33742
  a;
33743
33743
  }
33744
33744
  function sF(i, t, e) {
33745
- return new Vn({
33745
+ return new Hn({
33746
33746
  declutter: !0,
33747
- source: H_(i, t, e),
33747
+ source: V_(i, t, e),
33748
33748
  visible: !1
33749
33749
  });
33750
33750
  }
@@ -33937,7 +33937,7 @@ function I0(i, t, e, r) {
33937
33937
  t,
33938
33938
  r
33939
33939
  )
33940
- ), o = []), l = lF(i, e, g, r), l instanceof Vn || l instanceof pa || (o = []), c = l.get("mapbox-source")), o.push(g.id);
33940
+ ), o = []), l = lF(i, e, g, r), l instanceof Hn || l instanceof pa || (o = []), c = l.get("mapbox-source")), o.push(g.id);
33941
33941
  else {
33942
33942
  console.warn(`layers[${A}].type "${f}" not supported`);
33943
33943
  continue;
@@ -33949,7 +33949,7 @@ function I0(i, t, e, r) {
33949
33949
  }
33950
33950
  function cF(i, t, e = {}) {
33951
33951
  let r, s;
33952
- if (VA) {
33952
+ if (HA) {
33953
33953
  if (!(i instanceof Qn) && !(i instanceof sf))
33954
33954
  throw new Error(
33955
33955
  "ol-mapbox-style in a web worker requires a Map or a LayerGroup as first argument"
@@ -34030,7 +34030,7 @@ function C0(i, t, e, r, s, n = {}) {
34030
34030
  wr
34031
34031
  )
34032
34032
  );
34033
- g instanceof sr || g instanceof HA ? $3(
34033
+ g instanceof sr || g instanceof VA ? $3(
34034
34034
  /** @type {import("ol/layer/Vector").default|import("ol/layer/VectorTile").default} */
34035
34035
  i,
34036
34036
  e,
@@ -34224,7 +34224,7 @@ class gF extends pc {
34224
34224
  updateSplitDirection(e) {
34225
34225
  var r;
34226
34226
  if (this.splitDirection = e, this.initialized)
34227
- if ((r = this._removeChildLayerListeners) == null || r.call(this), this._removeChildLayerListeners = null, e !== He.NONE) {
34227
+ if ((r = this._removeChildLayerListeners) == null || r.call(this), this._removeChildLayerListeners = null, e !== Ve.NONE) {
34228
34228
  const s = this._styledMapboxLayerGroup.getLayersArray(), n = [];
34229
34229
  s.forEach((a) => {
34230
34230
  n.push(a.on("prerender", this._splitPreRender.bind(this))), n.push(a.on("postrender", this._splitPostReder.bind(this))), a.changed();
@@ -34254,7 +34254,7 @@ class jl extends $t {
34254
34254
  d(this, "_mapboxLayerGroup");
34255
34255
  d(this, "_sources");
34256
34256
  d(this, "_excludeLayerFromPicking");
34257
- d(this, "_splitDirection", He.NONE);
34257
+ d(this, "_splitDirection", Ve.NONE);
34258
34258
  d(this, "splitDirectionChanged", new R());
34259
34259
  /**
34260
34260
  * defines the visible level in the rendered map, maps to Openlayers `minZoom` and Cesium `minimiumTerrainLevel`.
@@ -34266,7 +34266,7 @@ class jl extends $t {
34266
34266
  * Changes requires calling layer.redraw() to take effect.
34267
34267
  */
34268
34268
  d(this, "maxRenderingLevel");
34269
- this._sources = e.sources, this._excludeLayerFromPicking = e.excludeLayerFromPicking, e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? He.LEFT : He.RIGHT), this.minRenderingLevel = Ee(e.minRenderingLevel, r.minRenderingLevel), this.maxRenderingLevel = Ee(e.maxRenderingLevel, r.maxRenderingLevel), this._mapboxLayerGroup = new sf({
34269
+ this._sources = e.sources, this._excludeLayerFromPicking = e.excludeLayerFromPicking, e.splitDirection && (this._splitDirection = e.splitDirection === "left" ? Ve.LEFT : Ve.RIGHT), this.minRenderingLevel = Ee(e.minRenderingLevel, r.minRenderingLevel), this.maxRenderingLevel = Ee(e.maxRenderingLevel, r.maxRenderingLevel), this._mapboxLayerGroup = new sf({
34270
34270
  minZoom: this.minRenderingLevel,
34271
34271
  maxZoom: this.maxRenderingLevel
34272
34272
  });
@@ -34333,7 +34333,7 @@ class jl extends $t {
34333
34333
  }
34334
34334
  toJSON(e = jl.getDefaultOptions()) {
34335
34335
  const r = { ...super.toJSON() };
34336
- return this._sources && this._sources.length > 0 && (r.sources = this._sources.slice()), this._excludeLayerFromPicking && this._excludeLayerFromPicking.length > 0 && (r.excludeLayerFromPicking = this._excludeLayerFromPicking.slice()), this._splitDirection !== He.NONE && (r.splitDirection = this._splitDirection === He.LEFT ? "left" : "right"), this.minRenderingLevel !== e.minRenderingLevel && (r.minRenderingLevel = this.minRenderingLevel), this.maxRenderingLevel !== e.maxRenderingLevel && (r.maxRenderingLevel = this.maxRenderingLevel), r;
34336
+ return this._sources && this._sources.length > 0 && (r.sources = this._sources.slice()), this._excludeLayerFromPicking && this._excludeLayerFromPicking.length > 0 && (r.excludeLayerFromPicking = this._excludeLayerFromPicking.slice()), this._splitDirection !== Ve.NONE && (r.splitDirection = this._splitDirection === Ve.LEFT ? "left" : "right"), this.minRenderingLevel !== e.minRenderingLevel && (r.minRenderingLevel = this.minRenderingLevel), this.maxRenderingLevel !== e.maxRenderingLevel && (r.maxRenderingLevel = this.maxRenderingLevel), r;
34337
34337
  }
34338
34338
  destroy() {
34339
34339
  var e;
@@ -34628,7 +34628,7 @@ function oi(i) {
34628
34628
  }
34629
34629
  function to(i, t) {
34630
34630
  return oi(
34631
- V_(
34631
+ H_(
34632
34632
  i,
34633
34633
  t
34634
34634
  ).get
@@ -34636,7 +34636,7 @@ function to(i, t) {
34636
34636
  }
34637
34637
  const {
34638
34638
  apply: mF,
34639
- getOwnPropertyDescriptor: V_,
34639
+ getOwnPropertyDescriptor: H_,
34640
34640
  getPrototypeOf: Qm,
34641
34641
  ownKeys: pF
34642
34642
  } = Reflect, {
@@ -34722,7 +34722,7 @@ const OF = new Lm(), FF = Mm(xF, {
34722
34722
  }
34723
34723
  });
34724
34724
  for (const i of pF($l))
34725
- i !== "next" && CF(FF, i, V_($l, i));
34725
+ i !== "next" && CF(FF, i, H_($l, i));
34726
34726
  const X_ = new z_(4), kF = new bF(X_), GF = new Dm(X_), Lr = new Y_(512), Pr = new BF(512);
34727
34727
  for (let i = 0; i < 256; ++i) {
34728
34728
  const t = i - 127;
@@ -34794,12 +34794,12 @@ function sv(i, t) {
34794
34794
  }
34795
34795
  Tm.exports = sv;
34796
34796
  Tm.exports.default = sv;
34797
- var HF = Tm.exports;
34798
- const VF = NF, Dd = UF, w0 = HF;
34797
+ var VF = Tm.exports;
34798
+ const HF = NF, Dd = UF, w0 = VF;
34799
34799
  function nv(i, t, e) {
34800
34800
  const r = e && e.debug || !1, s = !(e && typeof e.nested === !1), n = e && e.startIndex || 0;
34801
34801
  r && console.log("[xml-utils] starting findTagByName with", t, " and ", e);
34802
- const a = VF(i, `<${t}[
34802
+ const a = HF(i, `<${t}[
34803
34803
  >/]`, n);
34804
34804
  if (r && console.log("[xml-utils] start:", a), a === -1) return;
34805
34805
  const o = i.slice(a + t.length);
@@ -34836,7 +34836,7 @@ function av(i, t, e) {
34836
34836
  Fm.exports = av;
34837
34837
  Fm.exports.default = av;
34838
34838
  var jF = Fm.exports;
34839
- const YF = /* @__PURE__ */ Ac(jF), Vo = {
34839
+ const YF = /* @__PURE__ */ Ac(jF), Ho = {
34840
34840
  // TIFF Baseline
34841
34841
  315: "Artist",
34842
34842
  258: "BitsPerSample",
@@ -34949,8 +34949,8 @@ const YF = /* @__PURE__ */ Ac(jF), Vo = {
34949
34949
  // LERC
34950
34950
  50674: "LercParameters"
34951
34951
  }, kr = {};
34952
- for (const i in Vo)
34953
- Vo.hasOwnProperty(i) && (kr[Vo[i]] = parseInt(i, 10));
34952
+ for (const i in Ho)
34953
+ Ho.hasOwnProperty(i) && (kr[Ho[i]] = parseInt(i, 10));
34954
34954
  const JF = [
34955
34955
  kr.BitsPerSample,
34956
34956
  kr.ExtraSamples,
@@ -35494,7 +35494,7 @@ class mk {
35494
35494
  const Q = x, k = e[x];
35495
35495
  this.planarConfiguration === 2 && (C = this.getSampleByteSize(k), M = this.getTileOrStrip(S, w, k, n, c));
35496
35496
  const J = M.then((L) => {
35497
- const D = L.data, q = new DataView(D), K = this.getBlockHeight(L.y), G = L.y * A, U = L.x * h, j = G + K, V = (L.x + 1) * h, te = v[Q], O = Math.min(K, K - (j - t[3]), g - G), se = Math.min(h, h - (V - t[2]), u - U);
35497
+ const D = L.data, q = new DataView(D), K = this.getBlockHeight(L.y), G = L.y * A, U = L.x * h, j = G + K, H = (L.x + 1) * h, te = v[Q], O = Math.min(K, K - (j - t[3]), g - G), se = Math.min(h, h - (H - t[2]), u - U);
35498
35498
  for (let ae = Math.max(0, t[1] - G); ae < O; ++ae)
35499
35499
  for (let ce = Math.max(0, t[0] - U); ce < se; ++ce) {
35500
35500
  const be = (ae * h + ce) * C, Ce = te.call(
@@ -36650,7 +36650,7 @@ class kk extends Um {
36650
36650
  return await this.constructRequest(t, e);
36651
36651
  }
36652
36652
  }
36653
- class Hm extends hv {
36653
+ class Vm extends hv {
36654
36654
  /**
36655
36655
  *
36656
36656
  * @param {BaseClient} client
@@ -36741,20 +36741,20 @@ class Hm extends hv {
36741
36741
  return this._fileSize;
36742
36742
  }
36743
36743
  }
36744
- function Vm(i, { blockSize: t, cacheSize: e }) {
36744
+ function Hm(i, { blockSize: t, cacheSize: e }) {
36745
36745
  return t === null ? i : new Mk(i, { blockSize: t, cacheSize: e });
36746
36746
  }
36747
36747
  function Gk(i, { headers: t = {}, credentials: e, maxRanges: r = 0, allowFullFile: s = !1, ...n } = {}) {
36748
- const a = new Lk(i, e), o = new Hm(a, t, r, s);
36749
- return Vm(o, n);
36748
+ const a = new Lk(i, e), o = new Vm(a, t, r, s);
36749
+ return Hm(o, n);
36750
36750
  }
36751
36751
  function Rk(i, { headers: t = {}, maxRanges: e = 0, allowFullFile: r = !1, ...s } = {}) {
36752
- const n = new Ok(i), a = new Hm(n, t, e, r);
36753
- return Vm(a, s);
36752
+ const n = new Ok(i), a = new Vm(n, t, e, r);
36753
+ return Hm(a, s);
36754
36754
  }
36755
36755
  function Tk(i, { headers: t = {}, maxRanges: e = 0, allowFullFile: r = !1, ...s } = {}) {
36756
- const n = new kk(i), a = new Hm(n, t, e, r);
36757
- return Vm(a, s);
36756
+ const n = new kk(i), a = new Vm(n, t, e, r);
36757
+ return Hm(a, s);
36758
36758
  }
36759
36759
  function Nk(i, { forceXHR: t = !1, ...e } = {}) {
36760
36760
  return typeof fetch == "function" && !t ? Gk(i, e) : typeof XMLHttpRequest < "u" ? Rk(i, e) : Tk(i, e);
@@ -36767,7 +36767,7 @@ function Uk(i, t) {
36767
36767
  e -= t;
36768
36768
  } while (e > 0);
36769
36769
  }
36770
- function Hk(i, t, e) {
36770
+ function Vk(i, t, e) {
36771
36771
  let r = 0, s = i.length;
36772
36772
  const n = s / e;
36773
36773
  for (; s > t; ) {
@@ -36780,7 +36780,7 @@ function Hk(i, t, e) {
36780
36780
  for (let l = 0; l < e; ++l)
36781
36781
  i[e * o + l] = a[(e - l - 1) * n + o];
36782
36782
  }
36783
- function Vk(i, t, e, r, s, n) {
36783
+ function Hk(i, t, e, r, s, n) {
36784
36784
  if (t === 1)
36785
36785
  return i;
36786
36786
  for (let l = 0; l < s.length; ++l) {
@@ -36823,7 +36823,7 @@ function Vk(i, t, e, r, s, n) {
36823
36823
  i,
36824
36824
  l * o * e * a,
36825
36825
  o * e * a
36826
- ), Hk(c, o, a));
36826
+ ), Vk(c, o, a));
36827
36827
  }
36828
36828
  return i;
36829
36829
  }
@@ -36832,7 +36832,7 @@ class Jn {
36832
36832
  const r = await this.decodeBlock(e), s = t.Predictor || 1;
36833
36833
  if (s !== 1) {
36834
36834
  const n = !t.StripOffsets, a = n ? t.TileWidth : t.ImageWidth, o = n ? t.TileLength : t.RowsPerStrip || t.ImageLength;
36835
- return Vk(
36835
+ return Hk(
36836
36836
  r,
36837
36837
  s,
36838
36838
  a,
@@ -36876,7 +36876,7 @@ function qk(i) {
36876
36876
  return null;
36877
36877
  const e = {};
36878
36878
  for (let r = 4; r <= t[3] * 4; r += 4) {
36879
- const s = WF[t[r]], n = t[r + 1] ? Vo[t[r + 1]] : null, a = t[r + 2], o = t[r + 3];
36879
+ const s = WF[t[r]], n = t[r + 1] ? Ho[t[r + 1]] : null, a = t[r + 2], o = t[r + 3];
36880
36880
  let l = null;
36881
36881
  if (!n)
36882
36882
  l = o;
@@ -37092,7 +37092,7 @@ class qm extends jk {
37092
37092
  m = ia(v, g, f, C);
37093
37093
  }
37094
37094
  }
37095
- f === 1 && JF.indexOf(u) === -1 && !(g === pe.RATIONAL || g === pe.SRATIONAL) ? p = m[0] : p = m, o[Vo[u]] = p;
37095
+ f === 1 && JF.indexOf(u) === -1 && !(g === pe.RATIONAL || g === pe.SRATIONAL) ? p = m[0] : p = m, o[Ho[u]] = p;
37096
37096
  }
37097
37097
  const c = qk(o), h = s.readOffset(
37098
37098
  t + r + e * n
@@ -37440,13 +37440,13 @@ function eG(i, t, e, r, s, n, a, o, l = 6, c = Wk()) {
37440
37440
  const _ = Jk(E, t, e);
37441
37441
  return $k(_, h, m), _;
37442
37442
  }, y = async (E, _) => {
37443
- var j, V;
37443
+ var j, H;
37444
37444
  if (!A.depth)
37445
37445
  return;
37446
37446
  const w = _g(E, _), S = p(w);
37447
37447
  await u.loadResource(S, "depth");
37448
37448
  const [M, x, Q, k] = tL(w), J = E[0] - M, L = E[1] - x, D = Q - M, q = k - x, K = e[0] - Math.floor(J / D * e[0]), G = Math.floor(L / q * e[1]), U = S.getDepthAtPixel(K, G);
37449
- return U && Zk(U, ((j = a == null ? void 0 : a.metadata) == null ? void 0 : j.min) ?? 0, ((V = a == null ? void 0 : a.metadata) == null ? void 0 : V.max) ?? 50);
37449
+ return U && Zk(U, ((j = a == null ? void 0 : a.metadata) == null ? void 0 : j.min) ?? 0, ((H = a == null ? void 0 : a.metadata) == null ? void 0 : H.max) ?? 50);
37450
37450
  };
37451
37451
  let I, C;
37452
37452
  const B = new Promise((E, _) => {
@@ -37719,7 +37719,7 @@ class Wl extends Un {
37719
37719
  d(this, "baseUrl");
37720
37720
  d(this, "baseLevel");
37721
37721
  d(this, "cameraOffset");
37722
- n.tileLoadedEvent.addEventListener(({ rtree: a }) => {
37722
+ if (n.tileLoadedEvent.addEventListener(({ rtree: a }) => {
37723
37723
  a.all().forEach(({ value: o }) => {
37724
37724
  const { name: l, time: c } = o.getProperties();
37725
37725
  l && c && (o[vn] = {
@@ -37732,7 +37732,17 @@ class Wl extends Un {
37732
37732
  0,
37733
37733
  0,
37734
37734
  this.cameraOffset
37735
- ], this._panoramaVectorProperties = new jt(r.panoramaVectorProperties), e.panoramaVectorProperties && this._panoramaVectorProperties.setValues(e.panoramaVectorProperties), this._supportedMaps.push(Ct.className);
37735
+ ], this._panoramaVectorProperties = new jt(r.panoramaVectorProperties), e.panoramaVectorProperties) {
37736
+ const a = e.panoramaVectorProperties.primitiveOptions == null ? e.panoramaVectorProperties : {
37737
+ ...e.panoramaVectorProperties,
37738
+ primitiveOptions: {
37739
+ offset: [0, 0, this.cameraOffset],
37740
+ ...e.panoramaVectorProperties.primitiveOptions
37741
+ }
37742
+ };
37743
+ this._panoramaVectorProperties.setValues(a);
37744
+ }
37745
+ this._supportedMaps.push(Ct.className);
37736
37746
  }
37737
37747
  static get className() {
37738
37748
  return "PanoramaDatasetLayer";
@@ -37824,19 +37834,20 @@ class Wl extends Un {
37824
37834
  };
37825
37835
  }
37826
37836
  toJSON(e = Wl.getDefaultOptions()) {
37837
+ var o, l, c, h, A, u;
37827
37838
  const r = super.toJSON(e);
37828
- delete r.tileProvider, r.url = this.url, this.cameraOffset !== e.cameraOffset && (r.cameraOffset = this.cameraOffset), this.baseLevel !== e.baseLevel && (r.baseLevel = this.baseLevel), r.maxLevel === e.maxLevel && delete r.maxLevel, r.minLevel === e.minLevel && delete r.minLevel, r.zIndex === e.zIndex && delete r.zIndex, e.panoramaVectorProperties.primitiveOptions.offset = [
37829
- 0,
37830
- 0,
37831
- this.cameraOffset
37832
- ];
37833
- const s = this._panoramaVectorProperties.getVcsMeta({
37839
+ delete r.tileProvider, r.url = this.url, this.cameraOffset !== e.cameraOffset && (r.cameraOffset = this.cameraOffset), this.baseLevel !== e.baseLevel && (r.baseLevel = this.baseLevel), r.maxLevel === e.maxLevel && delete r.maxLevel, r.minLevel === e.minLevel && delete r.minLevel, r.zIndex === e.zIndex && delete r.zIndex;
37840
+ const s = e.panoramaVectorProperties.primitiveOptions, n = this._panoramaVectorProperties.getVcsMeta({
37834
37841
  ...jt.getDefaultOptions(),
37835
- ...e.panoramaVectorProperties
37842
+ ...e.panoramaVectorProperties,
37843
+ primitiveOptions: {
37844
+ offset: [0, 0, this.cameraOffset],
37845
+ ...s
37846
+ }
37836
37847
  });
37837
- Object.keys(s).length > 0 && (r.panoramaVectorProperties = s);
37838
- const n = gl(e.style);
37839
- return this.style.equals(n) && delete r.style, r;
37848
+ ((l = (o = n.primitiveOptions) == null ? void 0 : o.offset) == null ? void 0 : l[0]) === 0 && ((h = (c = n.primitiveOptions) == null ? void 0 : c.offset) == null ? void 0 : h[1]) === 0 && ((u = (A = n.primitiveOptions) == null ? void 0 : A.offset) == null ? void 0 : u[2]) === this.cameraOffset && (delete n.primitiveOptions.offset, Object.keys(n.primitiveOptions).length === 0 && delete n.primitiveOptions), Object.keys(n).length > 0 && (r.panoramaVectorProperties = n);
37849
+ const a = gl(e.style);
37850
+ return this.style.equals(a) && delete r.style, r;
37840
37851
  }
37841
37852
  }
37842
37853
  at.registerClass(Wl.className, Wl);
@@ -38010,7 +38021,7 @@ class rh {
38010
38021
  function x0(i, t) {
38011
38022
  const e = b.subtract(i, t, new b());
38012
38023
  b.normalize(e, e);
38013
- const r = Ve.fromPointNormal(i, e);
38024
+ const r = He.fromPointNormal(i, e);
38014
38025
  return tl.fromPlane(r);
38015
38026
  }
38016
38027
  function cG(i) {
@@ -38018,7 +38029,7 @@ function cG(i) {
38018
38029
  for (let r = 0; r < e.length - 1; r++) {
38019
38030
  const s = r + 1, n = new b();
38020
38031
  b.cross(e[s], e[r], n), b.normalize(n, n);
38021
- const a = new Ve(n, 0);
38032
+ const a = new He(n, 0);
38022
38033
  Number.isNaN(a.distance) || t.push(tl.fromPlane(a));
38023
38034
  }
38024
38035
  return t;
@@ -38037,7 +38048,7 @@ function hG(i) {
38037
38048
  function s(n) {
38038
38049
  const a = b.add(n, r, new b()), o = new b();
38039
38050
  b.cross(n, a, o), b.normalize(o, o);
38040
- const l = new Ve(o, 0);
38051
+ const l = new He(o, 0);
38041
38052
  t.push(tl.fromPlane(l));
38042
38053
  }
38043
38054
  return s(e[0]), b.negate(r, r), s(e[1]), t;
@@ -38054,7 +38065,7 @@ function IN(i, t = {}, e = void 0) {
38054
38065
  n === "Polygon" ? (yg(a), cM(a)) : n === "LineString" && a.length === 2 && t.createEndingPlanes && r.push(...hG(a)), t.createVerticalPlanes && r.push(...cG(a)), i.get("olcs_altitudeMode") === "absolute" && (t.createBottomPlane || t.createTopPlane) && r.push(...Q0(i, a, t));
38055
38066
  }
38056
38067
  return e && r.forEach((a) => {
38057
- const o = Ve.transform(a, e);
38068
+ const o = He.transform(a, e);
38058
38069
  a.normal = o.normal, a.distance = o.distance;
38059
38070
  }), t.reverse && r.forEach((a) => {
38060
38071
  b.negate(a.normal, a.normal), a.distance *= -1;
@@ -38068,7 +38079,7 @@ function qo(i, t, e, r) {
38068
38079
  for (let s = 0; s < i.length; s++) {
38069
38080
  const n = i.get(s);
38070
38081
  if (e && r) {
38071
- const a = Ve.getPointDistance(n, r), o = Ve.transform(n, e);
38082
+ const a = He.getPointDistance(n, r), o = He.transform(n, e);
38072
38083
  o.distance = a, t.add(tl.fromPlane(o));
38073
38084
  } else
38074
38085
  t.add(tl.clone(n));
@@ -38382,7 +38393,7 @@ function xA(i, t = "all") {
38382
38393
  return Array.isArray(t) ? e.filter((r) => t.includes(r[de])) : e;
38383
38394
  }
38384
38395
  function zo(i, t) {
38385
- t && (i.clippingPolygons === void 0 && (i.clippingPolygons = new VI()), i.clippingPolygons.contains(t) || (i.clippingPolygons.setDirty(), i.clippingPolygons.add(t)));
38396
+ t && (i.clippingPolygons === void 0 && (i.clippingPolygons = new HI()), i.clippingPolygons.contains(t) || (i.clippingPolygons.setDirty(), i.clippingPolygons.add(t)));
38386
38397
  }
38387
38398
  function jo(i, t) {
38388
38399
  t && i.clippingPolygons && i.clippingPolygons.contains(t) && i.clippingPolygons.remove(t);
@@ -38681,7 +38692,7 @@ class QA {
38681
38692
  }
38682
38693
  class mG extends Le {
38683
38694
  constructor() {
38684
- super(H.CLICKMOVE | H.DBLCLICK, ee.NONE | ee.CTRL);
38695
+ super(V.CLICKMOVE | V.DBLCLICK, ee.NONE | ee.CTRL);
38685
38696
  d(this, "_geometry", null);
38686
38697
  d(this, "_coordinates", []);
38687
38698
  d(this, "_lastCoordinate", null);
@@ -38697,13 +38708,13 @@ class mG extends Le {
38697
38708
  this._geometry && this._geometry.setCoordinates(this._coordinates);
38698
38709
  }
38699
38710
  pipe(e) {
38700
- return e.type & H.CLICKMOVE && this._geometry && (this._lastCoordinate.splice(0, e.positionOrPixel.length, ...e.positionOrPixel), this._setCoordinates()), e.type & H.CLICK && (this._geometry ? (this._lastCoordinate = [...this._lastCoordinate], this._coordinates.push(this._lastCoordinate)) : (this._geometry = new bi([e.positionOrPixel]), e.map instanceof nt ? this._geometry[Vt] = !0 : this._geometry[br] = !0, this.created.raiseEvent(this._geometry), this._coordinates = [e.positionOrPixel.slice()], this._lastCoordinate = this._coordinates[0].slice(), this._coordinates.push(this._lastCoordinate))), e.type & H.DBLCLICK && this.finish(), Promise.resolve(e);
38711
+ return e.type & V.CLICKMOVE && this._geometry && (this._lastCoordinate.splice(0, e.positionOrPixel.length, ...e.positionOrPixel), this._setCoordinates()), e.type & V.CLICK && (this._geometry ? (this._lastCoordinate = [...this._lastCoordinate], this._coordinates.push(this._lastCoordinate)) : (this._geometry = new bi([e.positionOrPixel]), e.map instanceof nt ? this._geometry[Ht] = !0 : this._geometry[br] = !0, this.created.raiseEvent(this._geometry), this._coordinates = [e.positionOrPixel.slice()], this._lastCoordinate = this._coordinates[0].slice(), this._coordinates.push(this._lastCoordinate))), e.type & V.DBLCLICK && this.finish(), Promise.resolve(e);
38701
38712
  }
38702
38713
  /**
38703
38714
  * Finish the current creation. Calls finish and sets the interaction to be inactive
38704
38715
  */
38705
38716
  finish() {
38706
- this.active !== H.NONE && (this._coordinates.pop(), this._setCoordinates(), this.setActive(!1), this.finished.raiseEvent(this._geometry));
38717
+ this.active !== V.NONE && (this._coordinates.pop(), this._setCoordinates(), this.setActive(!1), this.finished.raiseEvent(this._geometry));
38707
38718
  }
38708
38719
  destroy() {
38709
38720
  this._geometry = null, this._coordinates = [], this.finished.destroy(), this.created.destroy(), super.destroy();
@@ -38711,7 +38722,7 @@ class mG extends Le {
38711
38722
  }
38712
38723
  class pG extends Le {
38713
38724
  constructor() {
38714
- super(H.CLICKMOVE | H.DBLCLICK);
38725
+ super(V.CLICKMOVE | V.DBLCLICK);
38715
38726
  d(this, "_geometry", null);
38716
38727
  d(this, "_coordinates", []);
38717
38728
  d(this, "_lastCoordinate", null);
@@ -38726,13 +38737,13 @@ class pG extends Le {
38726
38737
  this._geometry && this._geometry.setCoordinates(this._coordinates);
38727
38738
  }
38728
38739
  pipe(e) {
38729
- return e.type & H.CLICKMOVE && this._geometry && (this._lastCoordinate.splice(0, e.positionOrPixel.length, ...e.positionOrPixel), this._setCoordinates()), e.type & H.CLICK && (this._geometry ? this.finish() : (this._geometry = new Ui(e.positionOrPixel, 20), this._geometry[dl] = e.map instanceof nt, e.map instanceof nt ? this._geometry[Vt] = !0 : this._geometry[br] = !0, this.created.raiseEvent(this._geometry), this._coordinates = this._geometry.getCoordinates(), this._lastCoordinate = this._coordinates[1])), e.type & H.DBLCLICK && this.finish(), Promise.resolve(e);
38740
+ return e.type & V.CLICKMOVE && this._geometry && (this._lastCoordinate.splice(0, e.positionOrPixel.length, ...e.positionOrPixel), this._setCoordinates()), e.type & V.CLICK && (this._geometry ? this.finish() : (this._geometry = new Ui(e.positionOrPixel, 20), this._geometry[dl] = e.map instanceof nt, e.map instanceof nt ? this._geometry[Ht] = !0 : this._geometry[br] = !0, this.created.raiseEvent(this._geometry), this._coordinates = this._geometry.getCoordinates(), this._lastCoordinate = this._coordinates[1])), e.type & V.DBLCLICK && this.finish(), Promise.resolve(e);
38730
38741
  }
38731
38742
  /**
38732
38743
  * Finish the current creation. Calls finish and sets the interaction to be inactive
38733
38744
  */
38734
38745
  finish() {
38735
- this.active !== H.NONE && (this._setCoordinates(), this.setActive(!1), this.finished.raiseEvent(this._geometry));
38746
+ this.active !== V.NONE && (this._setCoordinates(), this.setActive(!1), this.finished.raiseEvent(this._geometry));
38736
38747
  }
38737
38748
  destroy() {
38738
38749
  this._geometry = null, this._coordinates = [], this.finished.destroy(), this.created.destroy(), super.destroy();
@@ -38741,7 +38752,7 @@ class pG extends Le {
38741
38752
  const L0 = 1e-6;
38742
38753
  class yG extends Le {
38743
38754
  constructor() {
38744
- super(H.CLICKMOVE | H.DBLCLICK);
38755
+ super(V.CLICKMOVE | V.DBLCLICK);
38745
38756
  d(this, "_geometry", null);
38746
38757
  d(this, "_origin", null);
38747
38758
  d(this, "_lastCoordinate", null);
@@ -38765,13 +38776,13 @@ class yG extends Le {
38765
38776
  }
38766
38777
  }
38767
38778
  pipe(e) {
38768
- return e.type & H.CLICKMOVE && this._geometry && (this._lastCoordinate.splice(0, e.positionOrPixel.length, ...e.positionOrPixel), this._setCoordinates()), e.type & H.CLICK && (this._geometry ? this.finish() : (this._geometry = new Kt([[e.positionOrPixel.slice()]]), this._geometry.set("_vcsGeomType", Lt.BBox), this._is3D = !Fi(this._geometry.getLayout()), e.map instanceof nt ? this._geometry[Vt] = !0 : this._geometry[br] = !0, this.created.raiseEvent(this._geometry), this._origin = e.positionOrPixel.slice(), this._lastCoordinate = this._origin.slice())), e.type & H.DBLCLICK && this.finish(), Promise.resolve(e);
38779
+ return e.type & V.CLICKMOVE && this._geometry && (this._lastCoordinate.splice(0, e.positionOrPixel.length, ...e.positionOrPixel), this._setCoordinates()), e.type & V.CLICK && (this._geometry ? this.finish() : (this._geometry = new Kt([[e.positionOrPixel.slice()]]), this._geometry.set("_vcsGeomType", Lt.BBox), this._is3D = !Fi(this._geometry.getLayout()), e.map instanceof nt ? this._geometry[Ht] = !0 : this._geometry[br] = !0, this.created.raiseEvent(this._geometry), this._origin = e.positionOrPixel.slice(), this._lastCoordinate = this._origin.slice())), e.type & V.DBLCLICK && this.finish(), Promise.resolve(e);
38769
38780
  }
38770
38781
  /**
38771
38782
  * Finish the current creation. Calls finish and sets the interaction to be inactive
38772
38783
  */
38773
38784
  finish() {
38774
- this.active !== H.NONE && (this._setCoordinates(), this.setActive(!1), this.finished.raiseEvent(this._geometry));
38785
+ this.active !== V.NONE && (this._setCoordinates(), this.setActive(!1), this.finished.raiseEvent(this._geometry));
38775
38786
  }
38776
38787
  destroy() {
38777
38788
  this._geometry = null, this.finished.destroy(), this.created.destroy(), super.destroy();
@@ -38779,20 +38790,20 @@ class yG extends Le {
38779
38790
  }
38780
38791
  class IG extends Le {
38781
38792
  constructor() {
38782
- super(H.CLICK);
38793
+ super(V.CLICK);
38783
38794
  d(this, "_geometry", null);
38784
38795
  d(this, "finished", new R());
38785
38796
  d(this, "created", new R());
38786
38797
  this.setActive();
38787
38798
  }
38788
38799
  pipe(e) {
38789
- return this._geometry = new At(e.positionOrPixel), e.map instanceof nt ? this._geometry[Vt] = !0 : this._geometry[br] = !0, this.created.raiseEvent(this._geometry), this.finish(), Promise.resolve(e);
38800
+ return this._geometry = new At(e.positionOrPixel), e.map instanceof nt ? this._geometry[Ht] = !0 : this._geometry[br] = !0, this.created.raiseEvent(this._geometry), this.finish(), Promise.resolve(e);
38790
38801
  }
38791
38802
  /**
38792
38803
  * Finish the current creation. Calls finish and sets the interaction to be inactive
38793
38804
  */
38794
38805
  finish() {
38795
- this.active !== H.NONE && (this.setActive(!1), this.finished.raiseEvent(this._geometry));
38806
+ this.active !== V.NONE && (this.setActive(!1), this.finished.raiseEvent(this._geometry));
38796
38807
  }
38797
38808
  destroy() {
38798
38809
  this.finished.destroy(), this.created.destroy(), super.destroy();
@@ -38801,7 +38812,7 @@ class IG extends Le {
38801
38812
  const MA = Symbol("validityPlaceholder");
38802
38813
  class CG extends Le {
38803
38814
  constructor() {
38804
- super(H.CLICKMOVE | H.DBLCLICK, ee.NONE | ee.CTRL);
38815
+ super(V.CLICKMOVE | V.DBLCLICK, ee.NONE | ee.CTRL);
38805
38816
  d(this, "_geometry", null);
38806
38817
  d(this, "_coordinates", []);
38807
38818
  d(this, "_lastCoordinate", null);
@@ -38823,13 +38834,13 @@ class CG extends Le {
38823
38834
  this._geometry && this._geometry.setCoordinates([this._coordinates]);
38824
38835
  }
38825
38836
  pipe(e) {
38826
- return e.type & H.CLICKMOVE && this._geometry && (this._lastCoordinate.splice(0, e.positionOrPixel.length, ...e.positionOrPixel), this._setCoordinates()), e.type & H.CLICK && (this._geometry ? this._validityPlaceHolder ? (this._lastCoordinate = [...this._lastCoordinate], this._coordinates.splice(2, 1, this._lastCoordinate), this._validityPlaceHolder = null, this._geometry[MA] = !1) : (this._lastCoordinate = [...this._lastCoordinate], this._coordinates.push(this._lastCoordinate)) : (this._geometry = new Kt([[e.positionOrPixel.slice()]]), e.map instanceof nt ? this._geometry[Vt] = !0 : this._geometry[br] = !0, this._geometry[MA] = !0, this.created.raiseEvent(this._geometry), this._coordinates = [e.positionOrPixel.slice()], this._lastCoordinate = [...e.positionOrPixel], this._validityPlaceHolder = e.positionOrPixel.slice(), this._coordinates.push(this._lastCoordinate), this._coordinates.push(this._validityPlaceHolder))), e.type & H.DBLCLICK && this.finish(), Promise.resolve(e);
38837
+ return e.type & V.CLICKMOVE && this._geometry && (this._lastCoordinate.splice(0, e.positionOrPixel.length, ...e.positionOrPixel), this._setCoordinates()), e.type & V.CLICK && (this._geometry ? this._validityPlaceHolder ? (this._lastCoordinate = [...this._lastCoordinate], this._coordinates.splice(2, 1, this._lastCoordinate), this._validityPlaceHolder = null, this._geometry[MA] = !1) : (this._lastCoordinate = [...this._lastCoordinate], this._coordinates.push(this._lastCoordinate)) : (this._geometry = new Kt([[e.positionOrPixel.slice()]]), e.map instanceof nt ? this._geometry[Ht] = !0 : this._geometry[br] = !0, this._geometry[MA] = !0, this.created.raiseEvent(this._geometry), this._coordinates = [e.positionOrPixel.slice()], this._lastCoordinate = [...e.positionOrPixel], this._validityPlaceHolder = e.positionOrPixel.slice(), this._coordinates.push(this._lastCoordinate), this._coordinates.push(this._validityPlaceHolder))), e.type & V.DBLCLICK && this.finish(), Promise.resolve(e);
38827
38838
  }
38828
38839
  /**
38829
38840
  * Finish the current creation. Calls finish and sets the interaction to be inactive
38830
38841
  */
38831
38842
  finish() {
38832
- this.active !== H.NONE && (this._coordinates.pop(), this._validityPlaceHolder && this._coordinates.pop(), this._setCoordinates(), this.setActive(!1), this.finished.raiseEvent(this._geometry));
38843
+ this.active !== V.NONE && (this._coordinates.pop(), this._validityPlaceHolder && this._coordinates.pop(), this._setCoordinates(), this.setActive(!1), this.finished.raiseEvent(this._geometry));
38833
38844
  }
38834
38845
  destroy() {
38835
38846
  this._geometry = null, this._coordinates = [], this.finished.destroy(), this.created.destroy(), super.destroy();
@@ -39083,7 +39094,7 @@ function k0(i, t, e = F.EPSILON2) {
39083
39094
  function UG(i, t) {
39084
39095
  return Object.values(i).some((e) => Math.abs(e) > t);
39085
39096
  }
39086
- const HG = Xs();
39097
+ const VG = Xs();
39087
39098
  function G0(i, t, e = Xs(), r = Xs()) {
39088
39099
  return {
39089
39100
  startTime: i,
@@ -39093,7 +39104,7 @@ function G0(i, t, e = Xs(), r = Xs()) {
39093
39104
  return n < 1 ? { movement: {
39094
39105
  time: n,
39095
39106
  duration: t,
39096
- input: NG(e, r, n, HG, 3)
39107
+ input: NG(e, r, n, VG, 3)
39097
39108
  }, finished: s >= i + t } : {
39098
39109
  movement: {
39099
39110
  time: n,
@@ -39105,7 +39116,7 @@ function G0(i, t, e = Xs(), r = Xs()) {
39105
39116
  }
39106
39117
  };
39107
39118
  }
39108
- function VG() {
39119
+ function HG() {
39109
39120
  return {
39110
39121
  time: 0,
39111
39122
  duration: 0,
@@ -39130,7 +39141,7 @@ class jG {
39130
39141
  d(this, "_currentNavigation");
39131
39142
  d(this, "currentNavigationChanged", new R());
39132
39143
  d(this, "_controller", /* @__PURE__ */ new Map());
39133
- d(this, "_movement", VG());
39144
+ d(this, "_movement", HG());
39134
39145
  d(this, "_easing");
39135
39146
  d(this, "easingDuration", 1e3);
39136
39147
  d(this, "_animationFrameId");
@@ -39390,13 +39401,13 @@ class jm extends Ki {
39390
39401
  /**
39391
39402
  * The map pointer event handler. The EventHandler is shared amongst all maps within the collection.
39392
39403
  */
39393
- d(this, "eventHandler", new HL());
39404
+ d(this, "eventHandler", new VL());
39394
39405
  /**
39395
39406
  * Collection of layers shared amongst the maps within this collection,
39396
39407
  * layers will be rendered if supported on the currently active map.
39397
39408
  */
39398
39409
  d(this, "_layerCollection", new ys());
39399
- d(this, "_panoramaImageSelection", new VL(this));
39410
+ d(this, "_panoramaImageSelection", new HL(this));
39400
39411
  d(this, "_panoramaTileHighlight", new eP());
39401
39412
  /**
39402
39413
  * Called, if a map fails to initialize. The map causing the error will be removed from the collection.
@@ -39511,7 +39522,7 @@ class jm extends Ki {
39511
39522
  * Indicates whether panorama image selection is paused.
39512
39523
  */
39513
39524
  get pausePanoramaImageSelection() {
39514
- return this._panoramaImageSelection.active === H.NONE && this._panoramaTileHighlight.active === H.NONE;
39525
+ return this._panoramaImageSelection.active === V.NONE && this._panoramaTileHighlight.active === V.NONE;
39515
39526
  }
39516
39527
  set pausePanoramaImageSelection(e) {
39517
39528
  P(e, Boolean);
@@ -39723,7 +39734,7 @@ function fv(i) {
39723
39734
  let h = r[s - 2].duration;
39724
39735
  h || (h = b.distance(n[s - 2], n[s - 1]) / 300 || 1), o[s - 1] = o[s - 2] + h;
39725
39736
  }
39726
- const l = i.interpolation === "spline" ? new zI({ times: o, points: n }) : new H1({ times: o, points: n }), c = new V1({ times: o, points: a });
39737
+ const l = i.interpolation === "spline" ? new zI({ times: o, points: n }) : new V1({ times: o, points: n }), c = new H1({ times: o, points: a });
39727
39738
  return {
39728
39739
  destinationSpline: l,
39729
39740
  quaternionSpline: c,
@@ -40496,7 +40507,7 @@ function aR() {
40496
40507
  let Ud;
40497
40508
  function oR() {
40498
40509
  return Ud || (Ud = new fe({
40499
- image: new Ha({
40510
+ image: new Va({
40500
40511
  radius: 6,
40501
40512
  points: 4,
40502
40513
  fill: new Pt({
@@ -40631,7 +40642,7 @@ function Jm(i, t, e) {
40631
40642
  }));
40632
40643
  if (n) {
40633
40644
  const a = n.getGeometry();
40634
- a[Vt] = !0, a[br] = !0, n[mc] = !0;
40645
+ a[Ht] = !0, a[br] = !0, n[mc] = !0;
40635
40646
  }
40636
40647
  return n;
40637
40648
  }).filter((s) => !!s);
@@ -40669,7 +40680,7 @@ function dR(i) {
40669
40680
  }
40670
40681
  class gR extends Le {
40671
40682
  constructor(e, r = [..._u]) {
40672
- super(H.CLICKMOVE | H.DBLCLICK, ee.NONE | ee.CTRL);
40683
+ super(V.CLICKMOVE | V.DBLCLICK, ee.NONE | ee.CTRL);
40673
40684
  d(this, "_coordinates", []);
40674
40685
  d(this, "_bearings", []);
40675
40686
  d(this, "_scratchLayer");
@@ -40712,7 +40723,7 @@ class gR extends Le {
40712
40723
  }
40713
40724
  pipe(e) {
40714
40725
  var n, a, o;
40715
- (n = this._removeFeatures) == null || n.call(this), e.type === H.CLICK && ((a = e.chainEnded) == null || a.addEventListener(() => {
40726
+ (n = this._removeFeatures) == null || n.call(this), e.type === V.CLICK && ((a = e.chainEnded) == null || a.addEventListener(() => {
40716
40727
  this._coordinatesDirty = !0;
40717
40728
  }));
40718
40729
  const r = e.key === ee.CTRL, s = e.map.className === Ct.className ? r : !r;
@@ -40733,7 +40744,7 @@ class gR extends Le {
40733
40744
  }
40734
40745
  }
40735
40746
  class _v extends Le {
40736
- constructor(e, r, s, n = ["vertex", "edge"], a = H.CLICKMOVE | H.DBLCLICK) {
40747
+ constructor(e, r, s, n = ["vertex", "edge"], a = V.CLICKMOVE | V.DBLCLICK) {
40737
40748
  super(a, ee.NONE | ee.CTRL);
40738
40749
  d(this, "layers");
40739
40750
  d(this, "_scratchLayer");
@@ -40830,7 +40841,7 @@ function pR(i, t) {
40830
40841
  }
40831
40842
  class Dc extends Le {
40832
40843
  constructor(e, r) {
40833
- super(r ? H.MOVE : H.DRAGEVENTS, ee.CTRL | ee.NONE);
40844
+ super(r ? V.MOVE : V.DRAGEVENTS, ee.CTRL | ee.NONE);
40834
40845
  d(this, "_scratchLayer");
40835
40846
  d(this, "_geometry");
40836
40847
  d(this, "_isCircle", !1);
@@ -40888,15 +40899,15 @@ function yR(i) {
40888
40899
  }
40889
40900
  function xN(i, t, e, r, s) {
40890
40901
  var U, j;
40891
- P(i, Iv), P(t, ai), P(e, Hh(Lt));
40902
+ P(i, Iv), P(t, ai), P(e, Vh(Lt));
40892
40903
  let n = ((U = s == null ? void 0 : s.snapTo) == null ? void 0 : U.slice()) ?? _u.slice();
40893
40904
  const a = !(s != null && s.hideSegmentLength), { interactionChain: o, removed: l, destroy: c } = tu(i.maps), { layer: h, destroy: A } = Kf(i.layers, i.maps.eventHandler.featureInteraction), u = new R(), g = new R(), f = new R();
40894
40905
  let m = !1, p = null, y = null, I = null, C = null, B = null, v = ((j = s == null ? void 0 : s.initialSnapToLayers) == null ? void 0 : j.slice()) ?? [
40895
40906
  t
40896
40907
  ], E = !1, _ = r;
40897
- const w = HE(i), S = () => {
40898
- const V = y ?? new xt({ olcs_altitudeMode: _ });
40899
- h.vectorProperties.altitudeMode = t.vectorProperties.getAltitudeMode(V);
40908
+ const w = VE(i), S = () => {
40909
+ const H = y ?? new xt({ olcs_altitudeMode: _ });
40910
+ h.vectorProperties.altitudeMode = t.vectorProperties.getAltitudeMode(H);
40900
40911
  }, M = KE(h, t, () => {
40901
40912
  _ || S();
40902
40913
  });
@@ -40904,22 +40915,22 @@ function xN(i, t, e, r, s) {
40904
40915
  let x = () => {
40905
40916
  }, Q = [];
40906
40917
  const k = () => {
40907
- x(), p && (o.removeInteraction(p), p.destroy(), p = null), I && (o.removeInteraction(I), I.destroy(), I = null), C && (o.removeInteraction(C), C.destroy(), C = null), B && (o.removeInteraction(B), B.destroy(), B = null), Q.forEach((V) => {
40908
- V();
40918
+ x(), p && (o.removeInteraction(p), p.destroy(), p = null), I && (o.removeInteraction(I), I.destroy(), I = null), C && (o.removeInteraction(C), C.destroy(), C = null), B && (o.removeInteraction(B), B.destroy(), B = null), Q.forEach((H) => {
40919
+ H();
40909
40920
  }), Q = [];
40910
40921
  }, J = () => {
40911
- k(), p = yR(e), C = new _v(v, h, (V) => y !== V, n), (e === Lt.Polygon || e === Lt.LineString) && (I = new gR(h, n)), a && (e === Lt.Polygon || e === Lt.LineString || e === Lt.BBox || e === Lt.Circle) && (B = new Dc(h, !0)), Q = [
40912
- p.created.addEventListener((V) => {
40913
- E && (i.maps.activeMap.switchEnabled = !1), y = new xt({ geometry: V }), y[st] = !0, i.maps.eventHandler.featureInteraction.excludeFromPickPosition(y), _ && y.set("olcs_altitudeMode", _), y.set("olcs_allowPicking", !0);
40922
+ k(), p = yR(e), C = new _v(v, h, (H) => y !== H, n), (e === Lt.Polygon || e === Lt.LineString) && (I = new gR(h, n)), a && (e === Lt.Polygon || e === Lt.LineString || e === Lt.BBox || e === Lt.Circle) && (B = new Dc(h, !0)), Q = [
40923
+ p.created.addEventListener((H) => {
40924
+ E && (i.maps.activeMap.switchEnabled = !1), y = new xt({ geometry: H }), y[st] = !0, i.maps.eventHandler.featureInteraction.excludeFromPickPosition(y), _ && y.set("olcs_altitudeMode", _), y.set("olcs_allowPicking", !0);
40914
40925
  const te = y.on("propertychange", (O) => {
40915
40926
  O.key === "olcs_altitudeMode" && S();
40916
40927
  });
40917
40928
  x = () => {
40918
40929
  Fe(te);
40919
- }, t.addFeatures([y]), u.raiseEvent(y), I && I.setGeometry(V), B && B.setGeometry(V);
40930
+ }, t.addFeatures([y]), u.raiseEvent(y), I && I.setGeometry(H), B && B.setGeometry(H);
40920
40931
  }),
40921
- p.finished.addEventListener((V) => {
40922
- E && (i.maps.activeMap.switchEnabled = !0), y && (delete y[st], i.maps.eventHandler.featureInteraction.includeInPickPosition(y), (!V || y.getGeometry() !== V || !Cv(V)) && (t.removeFeaturesById([
40932
+ p.finished.addEventListener((H) => {
40933
+ E && (i.maps.activeMap.switchEnabled = !0), y && (delete y[st], i.maps.eventHandler.featureInteraction.includeInPickPosition(y), (!H || y.getGeometry() !== H || !Cv(H)) && (t.removeFeaturesById([
40923
40934
  y.getId()
40924
40935
  ]), y = null), x()), S(), g.raiseEvent(y), y = null, m || J();
40925
40936
  })
@@ -40934,8 +40945,8 @@ function xN(i, t, e, r, s) {
40934
40945
  const q = () => {
40935
40946
  var te;
40936
40947
  D();
40937
- const { activeMap: V } = i.maps;
40938
- E = V instanceof nt, E ? D = ((te = V.imageChanged) == null ? void 0 : te.addEventListener(L)) ?? (() => {
40948
+ const { activeMap: H } = i.maps;
40949
+ E = H instanceof nt, E ? D = ((te = H.imageChanged) == null ? void 0 : te.addEventListener(L)) ?? (() => {
40939
40950
  }) : D = () => {
40940
40951
  };
40941
40952
  }, K = i.maps.mapActivated.addEventListener(() => {
@@ -40951,20 +40962,20 @@ function xN(i, t, e, r, s) {
40951
40962
  get featureAltitudeMode() {
40952
40963
  return _;
40953
40964
  },
40954
- set featureAltitudeMode(V) {
40955
- _ !== V && (_ = V, y ? _ ? y.set("olcs_altitudeMode", _) : y.unset("olcs_altitudeMode") : S());
40965
+ set featureAltitudeMode(H) {
40966
+ _ !== H && (_ = H, y ? _ ? y.set("olcs_altitudeMode", _) : y.unset("olcs_altitudeMode") : S());
40956
40967
  },
40957
40968
  get snapToLayers() {
40958
40969
  return v.slice();
40959
40970
  },
40960
- set snapToLayers(V) {
40961
- v = V.slice(), C && (C.layers = v);
40971
+ set snapToLayers(H) {
40972
+ v = H.slice(), C && (C.layers = v);
40962
40973
  },
40963
40974
  get snapTo() {
40964
40975
  return n.slice();
40965
40976
  },
40966
- set snapTo(V) {
40967
- n = V.slice(), C && (C.snapTo = n), I && (I.snapTo = n);
40977
+ set snapTo(H) {
40978
+ n = H.slice(), C && (C.snapTo = n), I && (I.snapTo = n);
40968
40979
  },
40969
40980
  featureCreated: u,
40970
40981
  creationFinished: g,
@@ -41355,7 +41366,7 @@ function bR(i, t) {
41355
41366
  }
41356
41367
  a.forEach((o) => {
41357
41368
  const l = o.getGeometry();
41358
- l[Vt] = !0, o[mc] = !0;
41369
+ l[Ht] = !0, o[mc] = !0;
41359
41370
  }), e = i.addFeatures(a);
41360
41371
  }
41361
41372
  };
@@ -41437,7 +41448,7 @@ function xR(i, t, e) {
41437
41448
  stroke: new yt({ color: oe.BLUE.toCssColorString(), width: 2 })
41438
41449
  }))), n.forEach((A) => {
41439
41450
  const u = A.getGeometry();
41440
- u[Vt] = !0, A[mc] = !0, A[Ft] = A.get("axis");
41451
+ u[Ht] = !0, A[mc] = !0, A[Ft] = A.get("axis");
41441
41452
  });
41442
41453
  const a = i.olMap.on("postrender", () => {
41443
41454
  if (!(r[0] === 0 && r[1] === 0)) {
@@ -41558,7 +41569,7 @@ function DR(i, t, e, r) {
41558
41569
  };
41559
41570
  }
41560
41571
  function LR(i) {
41561
- const t = i.olMap.getInteractions().getArray().find((e) => e instanceof Hw);
41572
+ const t = i.olMap.getInteractions().getArray().find((e) => e instanceof Vw);
41562
41573
  return t ? (t.setActive(!1), () => {
41563
41574
  t.setActive(!0);
41564
41575
  }) : () => {
@@ -41586,7 +41597,7 @@ function OR(i) {
41586
41597
  }
41587
41598
  class wv extends Le {
41588
41599
  constructor() {
41589
- super(H.MOVE, ee.ALL);
41600
+ super(V.MOVE, ee.ALL);
41590
41601
  // eslint-disable-next-line class-methods-use-this
41591
41602
  d(this, "_clear", () => {
41592
41603
  });
@@ -41605,7 +41616,7 @@ class wv extends Le {
41605
41616
  }
41606
41617
  class FR extends Le {
41607
41618
  constructor(e) {
41608
- super(H.DRAGEVENTS);
41619
+ super(V.DRAGEVENTS);
41609
41620
  d(this, "_transformationHandler");
41610
41621
  /**
41611
41622
  * Event raised if the handlers are dragged. The resulting array is of type [dx, dy, dz] where all numbers
@@ -41618,8 +41629,8 @@ class FR extends Le {
41618
41629
  pipe(e) {
41619
41630
  var r;
41620
41631
  if (this._getTranslateEvent)
41621
- this.translated.raiseEvent(this._getTranslateEvent(e.positionOrPixel, e.windowPosition)), e.type === H.DRAGEND && (this._getTranslateEvent = null, this._transformationHandler.showAxis = T.NONE);
41622
- else if (e.type === H.DRAGSTART && ((r = e.feature) != null && r[Ft])) {
41632
+ this.translated.raiseEvent(this._getTranslateEvent(e.positionOrPixel, e.windowPosition)), e.type === V.DRAGEND && (this._getTranslateEvent = null, this._transformationHandler.showAxis = T.NONE);
41633
+ else if (e.type === V.DRAGSTART && ((r = e.feature) != null && r[Ft])) {
41623
41634
  const s = e.feature[Ft];
41624
41635
  s !== T.NONE && (this._transformationHandler.showAxis = s, e.map instanceof Mt ? PA(s) ? this._getTranslateEvent = this._dragAlongAxis3D(s, e) : OA(s) && (this._getTranslateEvent = this._dragAlongPlane3D(s, e)) : PA(s) ? this._getTranslateEvent = this._dragAlongAxis2D(s, e) : OA(s) && (this._getTranslateEvent = this._dragAlongPlane2D(s, e)));
41625
41636
  }
@@ -41629,19 +41640,19 @@ class FR extends Le {
41629
41640
  const s = r.map.getScene();
41630
41641
  if (e !== T.Z) {
41631
41642
  const n = ki(this._transformationHandler.center);
41632
- let a = Ve.clone(Ve.ORIGIN_XY_PLANE);
41633
- a = Ve.transform(a, Zr.eastNorthUpToFixedFrame(n), a);
41634
- let o = Hr(a, s.camera, r.windowPosition), l = ne.wgs84ToMercator(gn(o));
41643
+ let a = He.clone(He.ORIGIN_XY_PLANE);
41644
+ a = He.transform(a, Zr.eastNorthUpToFixedFrame(n), a);
41645
+ let o = Vr(a, s.camera, r.windowPosition), l = ne.wgs84ToMercator(gn(o));
41635
41646
  return (c, h) => {
41636
- o = Hr(a, s.camera, h);
41647
+ o = Vr(a, s.camera, h);
41637
41648
  const A = ne.wgs84ToMercator(gn(o)), u = e === T.X ? [A[0] - l[0], 0, 0] : [0, A[1] - l[1], 0];
41638
41649
  return l = A, u;
41639
41650
  };
41640
41651
  } else {
41641
41652
  const n = $E(this._transformationHandler.center.slice(), s);
41642
- let a = Hr(n, s.camera, r.windowPosition).height;
41653
+ let a = Vr(n, s.camera, r.windowPosition).height;
41643
41654
  return (o, l) => {
41644
- const c = Hr(n, s.camera, l).height, h = [0, 0, c - a];
41655
+ const c = Vr(n, s.camera, l).height, h = [0, 0, c - a];
41645
41656
  return a = c, h;
41646
41657
  };
41647
41658
  }
@@ -41649,10 +41660,10 @@ class FR extends Le {
41649
41660
  _dragAlongPlane3D(e, r) {
41650
41661
  const s = r.map.getScene(), n = ki(this._transformationHandler.center);
41651
41662
  let a;
41652
- e === T.YZ ? a = Ve.clone(Ve.ORIGIN_YZ_PLANE) : e === T.XZ ? a = Ve.clone(Ve.ORIGIN_ZX_PLANE) : a = Ve.clone(Ve.ORIGIN_XY_PLANE), a = Ve.transform(a, Zr.eastNorthUpToFixedFrame(n), a);
41653
- let o = Hr(a, s.camera, r.windowPosition), l = ne.wgs84ToMercator(gn(o));
41663
+ e === T.YZ ? a = He.clone(He.ORIGIN_YZ_PLANE) : e === T.XZ ? a = He.clone(He.ORIGIN_ZX_PLANE) : a = He.clone(He.ORIGIN_XY_PLANE), a = He.transform(a, Zr.eastNorthUpToFixedFrame(n), a);
41664
+ let o = Vr(a, s.camera, r.windowPosition), l = ne.wgs84ToMercator(gn(o));
41654
41665
  return (c, h) => {
41655
- o = Hr(a, s.camera, h);
41666
+ o = Vr(a, s.camera, h);
41656
41667
  const A = ne.wgs84ToMercator(gn(o)), u = [
41657
41668
  A[0] - l[0],
41658
41669
  A[1] - l[1],
@@ -41697,7 +41708,7 @@ function U0(i, t, e) {
41697
41708
  }
41698
41709
  class GR extends Le {
41699
41710
  constructor(e) {
41700
- super(H.DRAGEVENTS);
41711
+ super(V.DRAGEVENTS);
41701
41712
  d(this, "_transformationHandler");
41702
41713
  /**
41703
41714
  * The event raised, if the rings are dragged. Event is raised with the angle delta to the last event in radians.
@@ -41709,8 +41720,8 @@ class GR extends Le {
41709
41720
  pipe(e) {
41710
41721
  var r;
41711
41722
  if (this._getRotationEvent)
41712
- this.rotated.raiseEvent(this._getRotationEvent(e.positionOrPixel, e.windowPosition)), e.type === H.DRAGEND && (this._getRotationEvent = null);
41713
- else if (e.type === H.DRAGSTART && ((r = e.feature) != null && r[Ft])) {
41723
+ this.rotated.raiseEvent(this._getRotationEvent(e.positionOrPixel, e.windowPosition)), e.type === V.DRAGEND && (this._getRotationEvent = null);
41724
+ else if (e.type === V.DRAGSTART && ((r = e.feature) != null && r[Ft])) {
41714
41725
  const s = e.feature[Ft];
41715
41726
  s !== T.NONE && (e.map instanceof Ae ? this._getRotationEvent = this._dragAlongPlane3D(s, e) : this._getRotationEvent = this._dragAlongPlane2D(s, e));
41716
41727
  }
@@ -41719,8 +41730,8 @@ class GR extends Le {
41719
41730
  _dragAlongPlane3D(e, r) {
41720
41731
  const s = r.map.getScene(), n = ki(this._transformationHandler.center);
41721
41732
  let a;
41722
- return e === T.X ? a = Ve.clone(Ve.ORIGIN_YZ_PLANE) : e === T.Y ? a = Ve.clone(Ve.ORIGIN_ZX_PLANE) : a = Ve.clone(Ve.ORIGIN_XY_PLANE), a = Ve.transform(a, Zr.eastNorthUpToFixedFrame(n), a), U0((o, l) => {
41723
- const c = Hr(a, s.camera, l), h = ne.wgs84ToMercator(gn(c)), A = this._transformationHandler.center;
41733
+ return e === T.X ? a = He.clone(He.ORIGIN_YZ_PLANE) : e === T.Y ? a = He.clone(He.ORIGIN_ZX_PLANE) : a = He.clone(He.ORIGIN_XY_PLANE), a = He.transform(a, Zr.eastNorthUpToFixedFrame(n), a), U0((o, l) => {
41734
+ const c = Vr(a, s.camera, l), h = ne.wgs84ToMercator(gn(c)), A = this._transformationHandler.center;
41724
41735
  return h[0] = A[0] - h[0], h[1] = A[1] - h[1], h[2] = A[2] - h[2], e === T.Z ? ie.fromArray(h) : e === T.X ? new ie(h[1], h[2]) : new ie(h[0], h[2]);
41725
41736
  }, r, e);
41726
41737
  }
@@ -41734,7 +41745,7 @@ class GR extends Le {
41734
41745
  this._transformationHandler = null, this.rotated.destroy();
41735
41746
  }
41736
41747
  }
41737
- function H0(i, t, e, r) {
41748
+ function V0(i, t, e, r) {
41738
41749
  const { center: s } = e;
41739
41750
  let n = !1, a = !1, o = !1;
41740
41751
  const l = (A, u) => {
@@ -41753,7 +41764,7 @@ function H0(i, t, e, r) {
41753
41764
  }
41754
41765
  class RR extends Le {
41755
41766
  constructor(e) {
41756
- super(H.DRAGEVENTS);
41767
+ super(V.DRAGEVENTS);
41757
41768
  d(this, "_transformationHandler");
41758
41769
  /**
41759
41770
  * Event raised if the handlers are dragged. The resulting array is of type [sx, sy, sz] where all numbers
@@ -41766,8 +41777,8 @@ class RR extends Le {
41766
41777
  pipe(e) {
41767
41778
  var r;
41768
41779
  if (this._getScaleEvent)
41769
- this.scaled.raiseEvent(this._getScaleEvent(e.positionOrPixel, e.windowPosition)), e.type === H.DRAGEND && (this._getScaleEvent = null, this._transformationHandler.showAxis = T.NONE);
41770
- else if (e.type === H.DRAGSTART && ((r = e.feature) != null && r[Ft])) {
41780
+ this.scaled.raiseEvent(this._getScaleEvent(e.positionOrPixel, e.windowPosition)), e.type === V.DRAGEND && (this._getScaleEvent = null, this._transformationHandler.showAxis = T.NONE);
41781
+ else if (e.type === V.DRAGSTART && ((r = e.feature) != null && r[Ft])) {
41771
41782
  const s = e.feature[Ft];
41772
41783
  s !== T.NONE && (this._transformationHandler.showAxis = s, e.map instanceof Ae ? this._getScaleEvent = this._dragAlongPlane3D(s, e) : this._getScaleEvent = this._dragAlongPlane2D(s, e));
41773
41784
  }
@@ -41775,14 +41786,14 @@ class RR extends Le {
41775
41786
  }
41776
41787
  _dragAlongPlane3D(e, r) {
41777
41788
  const s = r.map.getScene(), n = ki(this._transformationHandler.center);
41778
- let a = Ve.clone(e === T.Z ? Ve.ORIGIN_ZX_PLANE : Ve.ORIGIN_XY_PLANE);
41779
- return a = Ve.transform(a, Zr.eastNorthUpToFixedFrame(n), a), H0((o, l) => {
41780
- const c = Hr(a, s.camera, l);
41789
+ let a = He.clone(e === T.Z ? He.ORIGIN_ZX_PLANE : He.ORIGIN_XY_PLANE);
41790
+ return a = He.transform(a, Zr.eastNorthUpToFixedFrame(n), a), V0((o, l) => {
41791
+ const c = Vr(a, s.camera, l);
41781
41792
  return ne.wgs84ToMercator(gn(c));
41782
41793
  }, r, this._transformationHandler, e);
41783
41794
  }
41784
41795
  _dragAlongPlane2D(e, r) {
41785
- return H0((s) => s.slice(), r, this._transformationHandler, e);
41796
+ return V0((s) => s.slice(), r, this._transformationHandler, e);
41786
41797
  }
41787
41798
  destroy() {
41788
41799
  this._transformationHandler = null, this.scaled.destroy();
@@ -41790,7 +41801,7 @@ class RR extends Le {
41790
41801
  }
41791
41802
  class TR extends Le {
41792
41803
  constructor(e) {
41793
- super(H.DRAGEVENTS);
41804
+ super(V.DRAGEVENTS);
41794
41805
  d(this, "_transformationHandler");
41795
41806
  d(this, "_getExtrudeEvent", null);
41796
41807
  /**
@@ -41802,16 +41813,16 @@ class TR extends Le {
41802
41813
  pipe(e) {
41803
41814
  var r;
41804
41815
  if (this._getExtrudeEvent)
41805
- this.extruded.raiseEvent(this._getExtrudeEvent(e.positionOrPixel, e.windowPosition)), e.type === H.DRAGEND && (this._getExtrudeEvent = null, this._transformationHandler.showAxis = T.NONE);
41806
- else if (e.type === H.DRAGSTART && ((r = e.feature) != null && r[Ft])) {
41816
+ this.extruded.raiseEvent(this._getExtrudeEvent(e.positionOrPixel, e.windowPosition)), e.type === V.DRAGEND && (this._getExtrudeEvent = null, this._transformationHandler.showAxis = T.NONE);
41817
+ else if (e.type === V.DRAGSTART && ((r = e.feature) != null && r[Ft])) {
41807
41818
  const s = e.feature[Ft];
41808
41819
  if (s === T.Z) {
41809
41820
  const n = e.map.getScene();
41810
41821
  this._transformationHandler.showAxis = s;
41811
41822
  const a = $E(this._transformationHandler.center.slice(), n);
41812
- let o = Hr(a, n.camera, e.windowPosition).height;
41823
+ let o = Vr(a, n.camera, e.windowPosition).height;
41813
41824
  this._getExtrudeEvent = (l, c) => {
41814
- const h = Hr(a, n.camera, c).height, A = h - o;
41825
+ const h = Vr(a, n.camera, c).height, A = h - o;
41815
41826
  return o = h, A;
41816
41827
  };
41817
41828
  }
@@ -41827,7 +41838,7 @@ class NR extends Le {
41827
41838
  * @param selectedFeatures Reference to the selected features.
41828
41839
  */
41829
41840
  constructor(e) {
41830
- super(H.DRAGSTART | H.MOVE);
41841
+ super(V.DRAGSTART | V.MOVE);
41831
41842
  d(this, "_featureSelection");
41832
41843
  this._featureSelection = e;
41833
41844
  }
@@ -41844,7 +41855,7 @@ class NR extends Le {
41844
41855
  }
41845
41856
  class UR extends Le {
41846
41857
  constructor() {
41847
- super(H.MOVE, ee.NONE);
41858
+ super(V.MOVE, ee.NONE);
41848
41859
  d(this, "_currentHandler", null);
41849
41860
  d(this, "cursorStyle");
41850
41861
  this.setActive();
@@ -41870,14 +41881,14 @@ class UR extends Le {
41870
41881
  this.reset(), super.destroy();
41871
41882
  }
41872
41883
  }
41873
- function HR(i) {
41884
+ function VR(i) {
41874
41885
  return new Promise((t) => {
41875
41886
  setTimeout(t, i);
41876
41887
  });
41877
41888
  }
41878
- class VR extends Le {
41889
+ class HR extends Le {
41879
41890
  constructor() {
41880
- super(H.CLICK, ee.NONE, mt.RIGHT);
41891
+ super(V.CLICK, ee.NONE, mt.RIGHT);
41881
41892
  d(this, "rightClicked", new R());
41882
41893
  d(this, "eventChainFinished", new R());
41883
41894
  }
@@ -41885,7 +41896,7 @@ class VR extends Le {
41885
41896
  var r;
41886
41897
  return this.rightClicked.raiseEvent(), (r = e.chainEnded) == null || r.addEventListener(() => {
41887
41898
  this.eventChainFinished.raiseEvent();
41888
- }), await HR(0), e;
41899
+ }), await VR(0), e;
41889
41900
  }
41890
41901
  destroy() {
41891
41902
  this.rightClicked.destroy(), this.eventChainFinished.destroy(), super.destroy();
@@ -41895,7 +41906,7 @@ function qR(i, t, e) {
41895
41906
  const r = i.getId();
41896
41907
  t.has(r) || t.set(r, i.get("olcs_allowPicking")), e !== ee.CTRL && i.set("olcs_allowPicking", !1);
41897
41908
  }
41898
- function V0(i, t) {
41909
+ function H0(i, t) {
41899
41910
  const e = t.get(i.getId());
41900
41911
  e != null ? i.set("olcs_allowPicking", e) : i.unset("olcs_allowPicking");
41901
41912
  }
@@ -41916,7 +41927,7 @@ function QN(i, t, e, r = et.TRANSLATE) {
41916
41927
  n.forEach((j) => {
41917
41928
  j.set("olcs_allowPicking", U);
41918
41929
  });
41919
- }), c = new VR();
41930
+ }), c = new HR();
41920
41931
  c.rightClicked.addEventListener(() => {
41921
41932
  n.forEach((G) => {
41922
41933
  G.set("olcs_allowPicking", !0);
@@ -41936,8 +41947,8 @@ function QN(i, t, e, r = et.TRANSLATE) {
41936
41947
  let C = r, B = () => {
41937
41948
  }, v;
41938
41949
  const E = (G, U, j) => {
41939
- var V;
41940
- (V = v == null ? void 0 : v.translate) == null || V.call(v, G, U, j), n.forEach((te) => {
41950
+ var H;
41951
+ (H = v == null ? void 0 : v.translate) == null || H.call(v, G, U, j), n.forEach((te) => {
41941
41952
  (te[ar] ?? te.getGeometry()).applyTransform((se, ae, ce = 2) => {
41942
41953
  const be = se.length;
41943
41954
  for (let Ce = 0; Ce < be; Ce += ce)
@@ -41949,30 +41960,30 @@ function QN(i, t, e, r = et.TRANSLATE) {
41949
41960
  var j;
41950
41961
  if (n.length === 1 && ((j = n[0].getGeometry()) == null ? void 0 : j.getType()) === "Point" && t.vectorProperties.renderAs(n[0]) !== "geometry") {
41951
41962
  if (U === T.Z) {
41952
- const V = t.vectorProperties.getModelHeading(n[0]);
41953
- n[0].set("olcs_modelHeading", V - F.toDegrees(G));
41963
+ const H = t.vectorProperties.getModelHeading(n[0]);
41964
+ n[0].set("olcs_modelHeading", H - F.toDegrees(G));
41954
41965
  } else if (U === T.X) {
41955
- const V = t.vectorProperties.getModelPitch(n[0]);
41956
- n[0].set("olcs_modelPitch", V - F.toDegrees(G));
41966
+ const H = t.vectorProperties.getModelPitch(n[0]);
41967
+ n[0].set("olcs_modelPitch", H - F.toDegrees(G));
41957
41968
  } else if (U === T.Y) {
41958
- const V = t.vectorProperties.getModelRoll(n[0]);
41959
- n[0].set("olcs_modelRoll", V - F.toDegrees(G));
41969
+ const H = t.vectorProperties.getModelRoll(n[0]);
41970
+ n[0].set("olcs_modelRoll", H - F.toDegrees(G));
41960
41971
  }
41961
41972
  } else {
41962
- let V = v == null ? void 0 : v.center;
41963
- if (!V) {
41973
+ let H = v == null ? void 0 : v.center;
41974
+ if (!H) {
41964
41975
  const te = Ln();
41965
41976
  n.forEach((O) => {
41966
41977
  Ba(te, O.getGeometry().getExtent());
41967
- }), ig(te) || (V = Xr(te));
41978
+ }), ig(te) || (H = Xr(te));
41968
41979
  }
41969
41980
  n.forEach((te) => {
41970
- (te[ar] ?? te.getGeometry()).rotate(G, V);
41981
+ (te[ar] ?? te.getGeometry()).rotate(G, H);
41971
41982
  });
41972
41983
  }
41973
41984
  }, w = (G, U, j) => {
41974
- var V;
41975
- if (n.length === 1 && ((V = n[0].getGeometry()) == null ? void 0 : V.getType()) === "Point" && t.vectorProperties.renderAs(n[0]) !== "geometry") {
41985
+ var H;
41986
+ if (n.length === 1 && ((H = n[0].getGeometry()) == null ? void 0 : H.getType()) === "Point" && t.vectorProperties.renderAs(n[0]) !== "geometry") {
41976
41987
  const te = n[0], O = t.vectorProperties.getModelScaleX(te), se = t.vectorProperties.getModelScaleY(te), ae = t.vectorProperties.getModelScaleZ(te);
41977
41988
  n[0].set("olcs_modelScaleX", O * G), n[0].set("olcs_modelScaleY", se * U);
41978
41989
  let ce = j;
@@ -41995,23 +42006,23 @@ function QN(i, t, e, r = et.TRANSLATE) {
41995
42006
  i.maps.eventHandler.ensurePositionInteraction.setActive(!1), v = DR(i.maps.activeMap, t, h, C), v.setFeatures(n);
41996
42007
  let U;
41997
42008
  if (C === et.TRANSLATE)
41998
- U = new FR(v), U.translated.addEventListener(([j, V, te]) => {
41999
- E(j, V, te);
42009
+ U = new FR(v), U.translated.addEventListener(([j, H, te]) => {
42010
+ E(j, H, te);
42000
42011
  });
42001
42012
  else if (C === et.EXTRUDE)
42002
42013
  U = new TR(v), U.extruded.addEventListener((j) => {
42003
- n.forEach((V) => {
42004
- let te = V.get("olcs_extrudedHeight") ?? 0;
42005
- te += j, V.set("olcs_extrudedHeight", te);
42014
+ n.forEach((H) => {
42015
+ let te = H.get("olcs_extrudedHeight") ?? 0;
42016
+ te += j, H.set("olcs_extrudedHeight", te);
42006
42017
  });
42007
42018
  });
42008
42019
  else if (C === et.ROTATE)
42009
- U = new GR(v), U.rotated.addEventListener(({ angle: j, axis: V }) => {
42010
- _(j, V);
42020
+ U = new GR(v), U.rotated.addEventListener(({ angle: j, axis: H }) => {
42021
+ _(j, H);
42011
42022
  });
42012
42023
  else if (C === et.SCALE)
42013
- U = new RR(v), U.scaled.addEventListener(([j, V, te]) => {
42014
- w(j, V, te);
42024
+ U = new RR(v), U.scaled.addEventListener(([j, H, te]) => {
42025
+ w(j, H, te);
42015
42026
  });
42016
42027
  else
42017
42028
  throw new Error(`Unknown transformation mode ${String(C)}`);
@@ -42041,7 +42052,7 @@ function QN(i, t, e, r = et.TRANSLATE) {
42041
42052
  i.maps.pausePanoramaImageSelection = !0;
42042
42053
  const K = () => {
42043
42054
  B(), f(), Q(), J(), l(), Fe(L), i.maps.pausePanoramaImageSelection = !1, n.forEach((G) => {
42044
- V0(G, a), q0(G, q);
42055
+ H0(G, a), q0(G, q);
42045
42056
  }), a.clear(), A(), M.destroy(), p(), c.destroy(), s.raiseEvent(), s.destroy();
42046
42057
  };
42047
42058
  return g.addEventListener(K), {
@@ -42058,7 +42069,7 @@ function QN(i, t, e, r = et.TRANSLATE) {
42058
42069
  scale: w,
42059
42070
  setFeatures(G) {
42060
42071
  n.forEach((U) => {
42061
- V0(U, a), q0(U, q);
42072
+ H0(U, a), q0(U, q);
42062
42073
  }), n.length = 0, n.push(...G), n.forEach((U) => {
42063
42074
  qR(U, a, o), zR(U, q);
42064
42075
  }), D(), v == null || v.setFeatures(G);
@@ -42070,20 +42081,20 @@ function QN(i, t, e, r = et.TRANSLATE) {
42070
42081
  }
42071
42082
  class Pc extends Le {
42072
42083
  constructor() {
42073
- super(H.DRAGEVENTS, ee.NONE | ee.CTRL);
42084
+ super(V.DRAGEVENTS, ee.NONE | ee.CTRL);
42074
42085
  d(this, "vertexChanged", new R());
42075
42086
  d(this, "_vertex", null);
42076
42087
  this.setActive();
42077
42088
  }
42078
42089
  pipe(e) {
42079
42090
  if (this._vertex) {
42080
- if (this._vertex.getGeometry().setCoordinates(e.positionOrPixel), this.vertexChanged.raiseEvent(this._vertex), e.type & H.DRAGEND) {
42091
+ if (this._vertex.getGeometry().setCoordinates(e.positionOrPixel), this.vertexChanged.raiseEvent(this._vertex), e.type & V.DRAGEND) {
42081
42092
  const r = this._vertex;
42082
42093
  setTimeout(() => {
42083
42094
  r.setStyle(void 0);
42084
42095
  }), this._vertex = null;
42085
42096
  }
42086
- } else e.type & H.DRAGSTART && vc(e.feature) && (this._vertex = e.feature, this._vertex.setStyle(xQ));
42097
+ } else e.type & V.DRAGSTART && vc(e.feature) && (this._vertex = e.feature, this._vertex.setStyle(xQ));
42087
42098
  return Promise.resolve(e);
42088
42099
  }
42089
42100
  destroy() {
@@ -42092,7 +42103,7 @@ class Pc extends Le {
42092
42103
  }
42093
42104
  class Bv extends Le {
42094
42105
  constructor() {
42095
- super(H.CLICK, ee.SHIFT);
42106
+ super(V.CLICK, ee.SHIFT);
42096
42107
  d(this, "vertexRemoved", new R());
42097
42108
  this.setActive();
42098
42109
  }
@@ -42109,13 +42120,13 @@ class bv extends Le {
42109
42120
  * @param geometry
42110
42121
  */
42111
42122
  constructor(e, r, s) {
42112
- super(H.CLICK, ee.NONE);
42123
+ super(V.CLICK, ee.NONE);
42113
42124
  d(this, "vertexInserted", new R());
42114
42125
  d(this, "_feature");
42115
42126
  d(this, "_geometry");
42116
42127
  d(this, "_isLinearRing");
42117
42128
  d(this, "_vectorProperties");
42118
- this._feature = e, this._geometry = r, this._vectorProperties = s, this._isLinearRing = this._geometry instanceof Vw, this.setActive();
42129
+ this._feature = e, this._geometry = r, this._vectorProperties = s, this._isLinearRing = this._geometry instanceof Hw, this.setActive();
42119
42130
  }
42120
42131
  pipe(e) {
42121
42132
  if (e.feature === this._feature) {
@@ -42152,7 +42163,7 @@ function jR(i, t) {
42152
42163
  }
42153
42164
  class Sv extends Le {
42154
42165
  constructor(e, r, s = [..._u]) {
42155
- super(H.DRAGEVENTS, ee.NONE | ee.CTRL);
42166
+ super(V.DRAGEVENTS, ee.NONE | ee.CTRL);
42156
42167
  d(this, "_coordinates", []);
42157
42168
  d(this, "_bearings", []);
42158
42169
  d(this, "_scratchLayer");
@@ -42193,11 +42204,11 @@ class Sv extends Le {
42193
42204
  if ((n = this._removeFeatures) == null || n.call(this), e[Jf])
42194
42205
  return this._lastCoordinate = void 0, this._snappingGeometry = void 0, Promise.resolve(e);
42195
42206
  const r = e.key === ee.CTRL, s = e.map.className === Ct.className ? r : !r;
42196
- if (e.type === H.DRAGEND && this._lastCoordinate)
42207
+ if (e.type === V.DRAGEND && this._lastCoordinate)
42197
42208
  e.positionOrPixel = this._lastCoordinate, this._lastCoordinate = void 0;
42198
42209
  else if (s && vc(e.feature)) {
42199
42210
  const o = e.feature[_c];
42200
- e.type === H.DRAGSTART && this._setCoordinates(o);
42211
+ e.type === V.DRAGSTART && this._setCoordinates(o);
42201
42212
  const l = new Array(2), c = (e.map.getCurrentResolution(e.positionOrPixel) * 12) ** 2, h = e.positionOrPixel;
42202
42213
  if (this._snappingGeometry && (l[0] = Ym([this._snappingGeometry], e.positionOrPixel, c, this._snapToVertex, this._snapToEdge, this._scratchLayer.vectorProperties.altitudeMode)), !l[0] && (this._snapOrthogonal || this._snapParallel)) {
42203
42214
  const u = this._bearings.map((g, f) => f === o || f === o - 1 || this._isPolygon && o === 0 && f === this._bearings.length - 1 ? -1 : g);
@@ -42405,7 +42416,7 @@ function MN(i, t, e, r = {}) {
42405
42416
  s.addInteraction(h);
42406
42417
  const A = new R();
42407
42418
  let u = null, g = null, f = null, m = ((M = r == null ? void 0 : r.initialSnapToLayers) == null ? void 0 : M.slice()) ?? [t], p = ((x = r == null ? void 0 : r.snapTo) == null ? void 0 : x.slice()) ?? [..._u];
42408
- const y = HE(i), I = () => {
42419
+ const y = VE(i), I = () => {
42409
42420
  o.vectorProperties.altitudeMode = g ? t.vectorProperties.getAltitudeMode(g) : t.vectorProperties.altitudeMode;
42410
42421
  };
42411
42422
  I();
@@ -42419,7 +42430,7 @@ function MN(i, t, e, r = {}) {
42419
42430
  Wf.includes(L) && E(Q);
42420
42431
  }), g = Q, g[st] = !0, i.maps.eventHandler.featureInteraction.excludeFromPickPosition(Q);
42421
42432
  const k = Q[ar] ?? Q.getGeometry(), J = k.getType();
42422
- o.vectorProperties.altitudeMode = t.vectorProperties.getAltitudeMode(Q), J === Lt.Polygon ? k.get("_vcsGeomType") === Lt.BBox ? u = KR(Q, o, r) : k.getLinearRingCount() === 1 && (u = $R(Q, o, t.vectorProperties, r, p)) : J === Lt.LineString ? u = YR(Q, o, t.vectorProperties, r, p) : J === Lt.Point ? u = WR(Q, o, t) : J === Lt.Circle && (u = JR(Q, o, r)), u ? (f = new _v(m, o, (L) => L !== Q, p, H.DRAGEVENTS), u.interactionChain.addInteraction(f, 0), s.addInteraction(u.interactionChain), I()) : (le("EditGeometrySession").warning(`Geometry of type ${J} is currently not supported`), i.maps.eventHandler.featureInteraction.includeInPickPosition(g), g[st] = !1, g = null);
42433
+ o.vectorProperties.altitudeMode = t.vectorProperties.getAltitudeMode(Q), J === Lt.Polygon ? k.get("_vcsGeomType") === Lt.BBox ? u = KR(Q, o, r) : k.getLinearRingCount() === 1 && (u = $R(Q, o, t.vectorProperties, r, p)) : J === Lt.LineString ? u = YR(Q, o, t.vectorProperties, r, p) : J === Lt.Point ? u = WR(Q, o, t) : J === Lt.Circle && (u = JR(Q, o, r)), u ? (f = new _v(m, o, (L) => L !== Q, p, V.DRAGEVENTS), u.interactionChain.addInteraction(f, 0), s.addInteraction(u.interactionChain), I()) : (le("EditGeometrySession").warning(`Geometry of type ${J} is currently not supported`), i.maps.eventHandler.featureInteraction.includeInPickPosition(g), g[st] = !1, g = null);
42423
42434
  }
42424
42435
  }
42425
42436
  const _ = () => {
@@ -42577,7 +42588,7 @@ async function LN(i, t) {
42577
42588
  m.frustum.far = 200, m.frustum.near = 10, m.setView({
42578
42589
  destination: b.fromDegrees(f.coordinate[0], f.coordinate[1], f.coordinate[2]),
42579
42590
  orientation: lr.fromDegrees(f.heading, f.pitch, f.roll)
42580
- }), r.add(new VQ({ camera: m, allowPicking: !1 }));
42591
+ }), r.add(new HQ({ camera: m, allowPicking: !1 }));
42581
42592
  }
42582
42593
  u.push(new Be({
42583
42594
  geometry: new At(f.coordinate, "XYZ"),
@@ -42802,7 +42813,7 @@ async function FN(i, t, e) {
42802
42813
  const f = [
42803
42814
  hc(c.clampOrigin)
42804
42815
  ];
42805
- c.heightReference === ye.RELATIVE_TO_TERRAIN ? await Va(e.terrainProvider, f) : await e.sampleHeightMostDetailed(f), a = f[0].height;
42816
+ c.heightReference === ye.RELATIVE_TO_TERRAIN ? await Ha(e.terrainProvider, f) : await e.sampleHeightMostDetailed(f), a = f[0].height;
42806
42817
  }
42807
42818
  const h = l.getCoordinates(), A = Qr(l, h), { heightAboveGround: u } = c, g = u == null ? (f) => {
42808
42819
  f[2] += a;
@@ -42822,7 +42833,7 @@ class a8 extends Jn {
42822
42833
  const o8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42823
42834
  __proto__: null,
42824
42835
  default: a8
42825
- }, Symbol.toStringTag, { value: "Module" })), j0 = 9, Hd = 256, Wg = 257, l8 = 12;
42836
+ }, Symbol.toStringTag, { value: "Module" })), j0 = 9, Vd = 256, Wg = 257, l8 = 12;
42826
42837
  function c8(i, t, e) {
42827
42838
  const r = t % 8, s = Math.floor(t / 8), n = 8 - r, a = t + e - (s + 1) * 8;
42828
42839
  let o = 8 * (s + 2) - (t + e);
@@ -42842,7 +42853,7 @@ function c8(i, t, e) {
42842
42853
  }
42843
42854
  return h;
42844
42855
  }
42845
- function Vd(i, t) {
42856
+ function Hd(i, t) {
42846
42857
  for (let e = t.length - 1; e >= 0; e--)
42847
42858
  i.push(t[e]);
42848
42859
  return i;
@@ -42873,25 +42884,25 @@ function h8(i) {
42873
42884
  const A = new Uint8Array(i);
42874
42885
  let u = o(A), g;
42875
42886
  for (; u !== Wg; ) {
42876
- if (u === Hd) {
42877
- for (a(), u = o(A); u === Hd; )
42887
+ if (u === Vd) {
42888
+ for (a(), u = o(A); u === Vd; )
42878
42889
  u = o(A);
42879
42890
  if (u === Wg)
42880
42891
  break;
42881
- if (u > Hd)
42892
+ if (u > Vd)
42882
42893
  throw new Error(`corrupted code at scanline ${u}`);
42883
42894
  {
42884
42895
  const f = c(u);
42885
- Vd(h, f), g = u;
42896
+ Hd(h, f), g = u;
42886
42897
  }
42887
42898
  } else if (u < r) {
42888
42899
  const f = c(u);
42889
- Vd(h, f), l(g, f[f.length - 1]), g = u;
42900
+ Hd(h, f), l(g, f[f.length - 1]), g = u;
42890
42901
  } else {
42891
42902
  const f = c(g);
42892
42903
  if (!f)
42893
42904
  throw new Error(`Bogus entry. Not in dictionary, ${g} / ${r}, position: ${n}`);
42894
- Vd(h, f), h.push(f[f.length - 1]), l(g, f[f.length - 1]), g = u;
42905
+ Hd(h, f), h.push(f[f.length - 1]), l(g, f[f.length - 1]), g = u;
42895
42906
  }
42896
42907
  r + 1 >= 2 ** s && (s === l8 ? g = void 0 : s++), u = o(A);
42897
42908
  }
@@ -43121,10 +43132,10 @@ function d8(i, t, e, r, s, n, a, o, l) {
43121
43132
  const k = r.length;
43122
43133
  let J, L, D, q, K, G;
43123
43134
  h ? n === 0 ? G = o === 0 ? B : v : G = o === 0 ? _ : M : G = C;
43124
- let U = 0, j, V;
43125
- k === 1 ? V = r[0].blocksPerLine * r[0].blocksPerColumn : V = c * e.mcusPerColumn;
43126
- const te = s || V;
43127
- for (; U < V; ) {
43135
+ let U = 0, j, H;
43136
+ k === 1 ? H = r[0].blocksPerLine * r[0].blocksPerColumn : H = c * e.mcusPerColumn;
43137
+ const te = s || H;
43138
+ for (; U < H; ) {
43128
43139
  for (L = 0; L < k; L++)
43129
43140
  r[L].pred = 0;
43130
43141
  if (E = 0, k === 1)
@@ -43139,7 +43150,7 @@ function d8(i, t, e, r, s, n, a, o, l) {
43139
43150
  for (q = 0; q < O; q++)
43140
43151
  x(J, G, U, D, q);
43141
43152
  }
43142
- if (U++, U === V)
43153
+ if (U++, U === H)
43143
43154
  break;
43144
43155
  }
43145
43156
  if (f = 0, j = i[u] << 8 | i[u + 1], j < 65280)
@@ -43618,8 +43629,8 @@ function N8() {
43618
43629
  this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0;
43619
43630
  }
43620
43631
  var U8 = N8;
43621
- const uh = 16209, H8 = 16191;
43622
- var V8 = function(t, e) {
43632
+ const uh = 16209, V8 = 16191;
43633
+ var H8 = function(t, e) {
43623
43634
  let r, s, n, a, o, l, c, h, A, u, g, f, m, p, y, I, C, B, v, E, _, w, S, M;
43624
43635
  const x = t.state;
43625
43636
  r = t.next_in, S = t.input, s = r + (t.avail_in - 5), n = t.next_out, M = t.output, a = n - (e - t.avail_out), o = n + (t.avail_out - 257), l = x.dmax, c = x.wsize, h = x.whave, A = x.wnext, u = x.window, g = x.hold, f = x.bits, m = x.lencode, p = x.distcode, y = (1 << x.lenbits) - 1, I = (1 << x.distbits) - 1;
@@ -43696,7 +43707,7 @@ var V8 = function(t, e) {
43696
43707
  C = m[(C & 65535) + (g & (1 << B) - 1)];
43697
43708
  continue t;
43698
43709
  } else if (B & 32) {
43699
- x.mode = H8;
43710
+ x.mode = V8;
43700
43711
  break e;
43701
43712
  } else {
43702
43713
  t.msg = "invalid literal/length code", x.mode = uh;
@@ -43894,7 +43905,7 @@ const K8 = 0, Pv = 1, Ov = 2, {
43894
43905
  Z_FINISH: X0,
43895
43906
  Z_BLOCK: $8,
43896
43907
  Z_TREES: dh,
43897
- Z_OK: Hn,
43908
+ Z_OK: Vn,
43898
43909
  Z_STREAM_END: W8,
43899
43910
  Z_NEED_DICT: X8,
43900
43911
  Z_STREAM_ERROR: Ar,
@@ -43915,7 +43926,7 @@ const Kn = (i) => {
43915
43926
  if (Kn(i))
43916
43927
  return Ar;
43917
43928
  const t = i.state;
43918
- return i.total_in = i.total_out = t.total = 0, i.msg = "", t.wrap && (i.adler = t.wrap & 1), t.mode = wu, t.last = 0, t.havedict = 0, t.flags = -1, t.dmax = 32768, t.head = null, t.hold = 0, t.bits = 0, t.lencode = t.lendyn = new Int32Array(eT), t.distcode = t.distdyn = new Int32Array(tT), t.sane = 1, t.back = -1, Hn;
43929
+ return i.total_in = i.total_out = t.total = 0, i.msg = "", t.wrap && (i.adler = t.wrap & 1), t.mode = wu, t.last = 0, t.havedict = 0, t.flags = -1, t.dmax = 32768, t.head = null, t.hold = 0, t.bits = 0, t.lencode = t.lendyn = new Int32Array(eT), t.distcode = t.distdyn = new Int32Array(tT), t.sane = 1, t.back = -1, Vn;
43919
43930
  }, Nv = (i) => {
43920
43931
  if (Kn(i))
43921
43932
  return Ar;
@@ -43927,14 +43938,14 @@ const Kn = (i) => {
43927
43938
  return Ar;
43928
43939
  const r = i.state;
43929
43940
  return t < 0 ? (e = 0, t = -t) : (e = (t >> 4) + 5, t < 48 && (t &= 15)), t && (t < 8 || t > 15) ? Ar : (r.window !== null && r.wbits !== t && (r.window = null), r.wrap = e, r.wbits = t, Nv(i));
43930
- }, Hv = (i, t) => {
43941
+ }, Vv = (i, t) => {
43931
43942
  if (!i)
43932
43943
  return Ar;
43933
43944
  const e = new sT();
43934
43945
  i.state = e, e.strm = i, e.window = null, e.mode = wu;
43935
43946
  const r = Uv(i, t);
43936
- return r !== Hn && (i.state = null), r;
43937
- }, nT = (i) => Hv(i, rT);
43947
+ return r !== Vn && (i.state = null), r;
43948
+ }, nT = (i) => Vv(i, rT);
43938
43949
  let _I = !0, Jd, Kd;
43939
43950
  const aT = (i) => {
43940
43951
  if (_I) {
@@ -43953,7 +43964,7 @@ const aT = (i) => {
43953
43964
  Jo(Ov, i.lens, 0, 32, Kd, 0, i.work, { bits: 5 }), _I = !1;
43954
43965
  }
43955
43966
  i.lencode = Jd, i.lenbits = 9, i.distcode = Kd, i.distbits = 5;
43956
- }, Vv = (i, t, e, r) => {
43967
+ }, Hv = (i, t, e, r) => {
43957
43968
  let s;
43958
43969
  const n = i.state;
43959
43970
  return n.window === null && (n.wsize = 1 << n.wbits, n.wnext = 0, n.whave = 0, n.window = new Uint8Array(n.wsize)), r >= n.wsize ? (n.window.set(t.subarray(e - n.wsize, e), 0), n.wnext = 0, n.whave = n.wsize) : (s = n.wsize - n.wnext, s > r && (s = r), n.window.set(t.subarray(e - r, e - r + s), n.wnext), r -= s, r ? (n.window.set(t.subarray(e - r, e), 0), n.wnext = r, n.whave = n.wsize) : (n.wnext += s, n.wnext === n.wsize && (n.wnext = 0), n.whave < n.wsize && (n.whave += s))), 0;
@@ -43967,7 +43978,7 @@ const aT = (i) => {
43967
43978
  );
43968
43979
  if (Kn(i) || !i.output || !i.input && i.avail_in !== 0)
43969
43980
  return Ar;
43970
- e = i.state, e.mode === ls && (e.mode = zd), a = i.next_out, s = i.output, l = i.avail_out, n = i.next_in, r = i.input, o = i.avail_in, c = e.hold, h = e.bits, A = o, u = l, w = Hn;
43981
+ e = i.state, e.mode === ls && (e.mode = zd), a = i.next_out, s = i.output, l = i.avail_out, n = i.next_in, r = i.input, o = i.avail_in, c = e.hold, h = e.bits, A = o, u = l, w = Vn;
43971
43982
  e:
43972
43983
  for (; ; )
43973
43984
  switch (e.mode) {
@@ -44263,7 +44274,7 @@ const aT = (i) => {
44263
44274
  /* falls through */
44264
44275
  case fh:
44265
44276
  if (o >= 6 && l >= 258) {
44266
- i.next_out = a, i.avail_out = l, i.next_in = n, i.avail_in = o, e.hold = c, e.bits = h, V8(i, u), a = i.next_out, s = i.output, l = i.avail_out, n = i.next_in, r = i.input, o = i.avail_in, c = e.hold, h = e.bits, e.mode === ls && (e.back = -1);
44277
+ i.next_out = a, i.avail_out = l, i.next_in = n, i.avail_in = o, e.hold = c, e.bits = h, H8(i, u), a = i.next_out, s = i.output, l = i.avail_out, n = i.next_in, r = i.input, o = i.avail_in, c = e.hold, h = e.bits, e.mode === ls && (e.back = -1);
44267
44278
  break;
44268
44279
  }
44269
44280
  for (e.back = 0; p = e.lencode[c & (1 << e.lenbits) - 1], y = p >>> 24, I = p >>> 16 & 255, C = p & 65535, !(y <= h); ) {
@@ -44405,24 +44416,24 @@ const aT = (i) => {
44405
44416
  default:
44406
44417
  return Ar;
44407
44418
  }
44408
- return i.next_out = a, i.avail_out = l, i.next_in = n, i.avail_in = o, e.hold = c, e.bits = h, (e.wsize || u !== i.avail_out && e.mode < it && (e.mode < Yd || t !== X0)) && Vv(i, i.output, i.next_out, u - i.avail_out), A -= i.avail_in, u -= i.avail_out, i.total_in += A, i.total_out += u, e.total += u, e.wrap & 4 && u && (i.adler = e.check = /*UPDATE_CHECK(state.check, strm.next_out - _out, _out);*/
44409
- e.flags ? Fr(e.check, s, u, i.next_out - u) : Xg(e.check, s, u, i.next_out - u)), i.data_type = e.bits + (e.last ? 64 : 0) + (e.mode === ls ? 128 : 0) + (e.mode === gh || e.mode === jd ? 256 : 0), (A === 0 && u === 0 || t === X0) && w === Hn && (w = Z8), w;
44419
+ return i.next_out = a, i.avail_out = l, i.next_in = n, i.avail_in = o, e.hold = c, e.bits = h, (e.wsize || u !== i.avail_out && e.mode < it && (e.mode < Yd || t !== X0)) && Hv(i, i.output, i.next_out, u - i.avail_out), A -= i.avail_in, u -= i.avail_out, i.total_in += A, i.total_out += u, e.total += u, e.wrap & 4 && u && (i.adler = e.check = /*UPDATE_CHECK(state.check, strm.next_out - _out, _out);*/
44420
+ e.flags ? Fr(e.check, s, u, i.next_out - u) : Xg(e.check, s, u, i.next_out - u)), i.data_type = e.bits + (e.last ? 64 : 0) + (e.mode === ls ? 128 : 0) + (e.mode === gh || e.mode === jd ? 256 : 0), (A === 0 && u === 0 || t === X0) && w === Vn && (w = Z8), w;
44410
44421
  }, lT = (i) => {
44411
44422
  if (Kn(i))
44412
44423
  return Ar;
44413
44424
  let t = i.state;
44414
- return t.window && (t.window = null), i.state = null, Hn;
44425
+ return t.window && (t.window = null), i.state = null, Vn;
44415
44426
  }, cT = (i, t) => {
44416
44427
  if (Kn(i))
44417
44428
  return Ar;
44418
44429
  const e = i.state;
44419
- return (e.wrap & 2) === 0 ? Ar : (e.head = t, t.done = !1, Hn);
44430
+ return (e.wrap & 2) === 0 ? Ar : (e.head = t, t.done = !1, Vn);
44420
44431
  }, hT = (i, t) => {
44421
44432
  const e = t.length;
44422
44433
  let r, s, n;
44423
- return Kn(i) || (r = i.state, r.wrap !== 0 && r.mode !== FA) ? Ar : r.mode === FA && (s = 1, s = Xg(s, t, e, 0), s !== r.check) ? Fv : (n = Vv(i, t, e, e), n ? (r.mode = Gv, kv) : (r.havedict = 1, Hn));
44434
+ return Kn(i) || (r = i.state, r.wrap !== 0 && r.mode !== FA) ? Ar : r.mode === FA && (s = 1, s = Xg(s, t, e, 0), s !== r.check) ? Fv : (n = Hv(i, t, e, e), n ? (r.mode = Gv, kv) : (r.havedict = 1, Vn));
44424
44435
  };
44425
- var AT = Nv, uT = Uv, dT = Tv, gT = nT, fT = Hv, mT = oT, pT = lT, yT = cT, IT = hT, CT = "pako inflate (from Nodeca project)", ds = {
44436
+ var AT = Nv, uT = Uv, dT = Tv, gT = nT, fT = Vv, mT = oT, pT = lT, yT = cT, IT = hT, CT = "pako inflate (from Nodeca project)", ds = {
44426
44437
  inflateReset: AT,
44427
44438
  inflateReset2: uT,
44428
44439
  inflateResetKeep: dT,
@@ -44577,13 +44588,13 @@ var jv = { exports: {} };
44577
44588
  for (var L = 0; L <= y; L++) {
44578
44589
  var D = L !== y ? C : A.width % y;
44579
44590
  if (D !== 0) {
44580
- var q = k * A.width * B + L * C, K = A.width - D, G = A.pixels.blocks[p], U, j, V;
44581
- G.encoding < 2 ? (G.encoding === 0 ? U = G.rawData : (h(G.stuffedData, G.bitsPerPixel, G.numValidPixels, G.offset, v, M, A.pixels.maxValue), U = M), j = 0) : G.encoding === 2 ? V = 0 : V = G.offset;
44591
+ var q = k * A.width * B + L * C, K = A.width - D, G = A.pixels.blocks[p], U, j, H;
44592
+ G.encoding < 2 ? (G.encoding === 0 ? U = G.rawData : (h(G.stuffedData, G.bitsPerPixel, G.numValidPixels, G.offset, v, M, A.pixels.maxValue), U = M), j = 0) : G.encoding === 2 ? H = 0 : H = G.offset;
44582
44593
  var te;
44583
44594
  if (g)
44584
44595
  for (Q = 0; Q < J; Q++) {
44585
44596
  for (q & 7 && (te = g[q >> 3], te <<= q & 7), x = 0; x < D; x++)
44586
- q & 7 || (te = g[q >> 3]), te & 128 ? (S && (S[q] = 1), _ = G.encoding < 2 ? U[j++] : V, E = E > _ ? _ : E, w[q++] = _) : (S && (S[q] = 0), w[q++] = f), te <<= 1;
44597
+ q & 7 || (te = g[q >> 3]), te & 128 ? (S && (S[q] = 1), _ = G.encoding < 2 ? U[j++] : H, E = E > _ ? _ : E, w[q++] = _) : (S && (S[q] = 0), w[q++] = f), te <<= 1;
44587
44598
  q += K;
44588
44599
  }
44589
44600
  else if (G.encoding < 2)
@@ -44593,9 +44604,9 @@ var jv = { exports: {} };
44593
44604
  q += K;
44594
44605
  }
44595
44606
  else
44596
- for (E = E > V ? V : E, Q = 0; Q < J; Q++) {
44607
+ for (E = E > H ? H : E, Q = 0; Q < J; Q++) {
44597
44608
  for (x = 0; x < D; x++)
44598
- w[q++] = V;
44609
+ w[q++] = H;
44599
44610
  q += K;
44600
44611
  }
44601
44612
  if (G.encoding === 1 && j !== G.numValidPixels)
@@ -44709,8 +44720,8 @@ var jv = { exports: {} };
44709
44720
  var U = new Float32Array(q);
44710
44721
  L.rawData = U, u += G * 4;
44711
44722
  } else if (L.encoding === 1) {
44712
- var j = Math.ceil(L.numValidPixels * L.bitsPerPixel / 8), V = Math.ceil(j / 4);
44713
- q = new ArrayBuffer(V * 4), K = new Uint8Array(q), K.set(new Uint8Array(A, u, j)), L.stuffedData = new Uint32Array(q), u += j;
44723
+ var j = Math.ceil(L.numValidPixels * L.bitsPerPixel / 8), H = Math.ceil(j / 4);
44724
+ q = new ArrayBuffer(H * 4), K = new Uint8Array(q), K.set(new Uint8Array(A, u, j)), L.stuffedData = new Uint32Array(q), u += j;
44714
44725
  }
44715
44726
  }
44716
44727
  }
@@ -44909,15 +44920,15 @@ var jv = { exports: {} };
44909
44920
  for (C = 0; C < I.length; C++)
44910
44921
  I[C] !== void 0 && (L = Math.max(L, I[C].first));
44911
44922
  L >= A ? D = A : D = L;
44912
- var K = [], G, U, j, V, te, O;
44923
+ var K = [], G, U, j, H, te, O;
44913
44924
  for (C = m; C < p; C++)
44914
44925
  if (B = C - (C < f ? 0 : f), E = I[B].first, E > 0)
44915
44926
  if (G = [E, B], E <= D)
44916
44927
  for (U = I[B].second << D - E, j = 1 << D - E, v = 0; v < j; v++)
44917
44928
  K[U | v] = G;
44918
44929
  else
44919
- for (U = I[B].second, O = q, V = E - 1; V >= 0; V--)
44920
- te = U >>> V & 1, te ? (O.right || (O.right = new o()), O = O.right) : (O.left || (O.left = new o()), O = O.left), V === 0 && !O.val && (O.val = G[1]);
44930
+ for (U = I[B].second, O = q, H = E - 1; H >= 0; H--)
44931
+ te = U >>> H & 1, te ? (O.right || (O.right = new o()), O = O.right) : (O.left || (O.left = new o()), O = O.left), H === 0 && !O.val && (O.val = G[1]);
44921
44932
  return {
44922
44933
  decodeLut: K,
44923
44934
  numBitsLUTQick: D,
@@ -44929,12 +44940,12 @@ var jv = { exports: {} };
44929
44940
  };
44930
44941
  },
44931
44942
  readHuffman: function(c, h, A, u) {
44932
- var g = h.headerInfo, f = g.numDims, m = h.headerInfo.height, p = h.headerInfo.width, y = p * m, I = this.readHuffmanTree(c, h), C = I.decodeLut, B = I.tree, v = I.stuffedData, E = I.srcPtr, _ = I.bitPos, w = I.numBitsLUTQick, S = I.numBitsLUT, M = h.headerInfo.imageType === 0 ? 128 : 0, x, Q, k, J = h.pixels.resultMask, L, D, q, K, G, U, j, V = 0;
44943
+ var g = h.headerInfo, f = g.numDims, m = h.headerInfo.height, p = h.headerInfo.width, y = p * m, I = this.readHuffmanTree(c, h), C = I.decodeLut, B = I.tree, v = I.stuffedData, E = I.srcPtr, _ = I.bitPos, w = I.numBitsLUTQick, S = I.numBitsLUT, M = h.headerInfo.imageType === 0 ? 128 : 0, x, Q, k, J = h.pixels.resultMask, L, D, q, K, G, U, j, H = 0;
44933
44944
  _ > 0 && (E++, _ = 0);
44934
44945
  var te = v[E], O = h.encodeMode === 1, se = new A(y * f), ae = se, ce;
44935
44946
  if (f < 2 || O) {
44936
44947
  for (ce = 0; ce < f; ce++)
44937
- if (f > 1 && (ae = new A(se.buffer, y * ce, y), V = 0), h.headerInfo.numValidPixel === p * m)
44948
+ if (f > 1 && (ae = new A(se.buffer, y * ce, y), H = 0), h.headerInfo.numValidPixel === p * m)
44938
44949
  for (U = 0, K = 0; K < m; K++)
44939
44950
  for (G = 0; G < p; G++, U++) {
44940
44951
  if (Q = 0, L = te << _ >>> 32 - w, D = L, 32 - _ < w && (L |= v[E + 1] >>> 64 - _ - w, D = L), C[D])
@@ -44945,7 +44956,7 @@ var jv = { exports: {} };
44945
44956
  Q = x.val, _ = _ + j + 1;
44946
44957
  break;
44947
44958
  }
44948
- _ >= 32 && (_ -= 32, E++, te = v[E]), k = Q - M, O ? (G > 0 ? k += V : K > 0 ? k += ae[U - p] : k += V, k &= 255, ae[U] = k, V = k) : ae[U] = k;
44959
+ _ >= 32 && (_ -= 32, E++, te = v[E]), k = Q - M, O ? (G > 0 ? k += H : K > 0 ? k += ae[U - p] : k += H, k &= 255, ae[U] = k, H = k) : ae[U] = k;
44949
44960
  }
44950
44961
  else
44951
44962
  for (U = 0, K = 0; K < m; K++)
@@ -44959,7 +44970,7 @@ var jv = { exports: {} };
44959
44970
  Q = x.val, _ = _ + j + 1;
44960
44971
  break;
44961
44972
  }
44962
- _ >= 32 && (_ -= 32, E++, te = v[E]), k = Q - M, O ? (G > 0 && J[U - 1] ? k += V : K > 0 && J[U - p] ? k += ae[U - p] : k += V, k &= 255, ae[U] = k, V = k) : ae[U] = k;
44973
+ _ >= 32 && (_ -= 32, E++, te = v[E]), k = Q - M, O ? (G > 0 && J[U - 1] ? k += H : K > 0 && J[U - p] ? k += ae[U - p] : k += H, k &= 255, ae[U] = k, H = k) : ae[U] = k;
44963
44974
  }
44964
44975
  } else
44965
44976
  for (U = 0, K = 0; K < m; K++)
@@ -45003,11 +45014,11 @@ var jv = { exports: {} };
45003
45014
  readTiles: function(c, h, A, u) {
45004
45015
  var g = h.headerInfo, f = g.width, m = g.height, p = f * m, y = g.microBlockSize, I = g.imageType, C = a.getDataTypeSize(I), B = Math.ceil(f / y), v = Math.ceil(m / y);
45005
45016
  h.pixels.numBlocksY = v, h.pixels.numBlocksX = B, h.pixels.ptr = 0;
45006
- var E = 0, _ = 0, w = 0, S = 0, M = 0, x = 0, Q = 0, k = 0, J = 0, L = 0, D = 0, q = 0, K = 0, G = 0, U = 0, j = 0, V, te, O, se, ae, ce, be = new A(y * y), Ce = m % y || y, Se = f % y || y, ve, ze, Et = g.numDims, ot, $ = h.pixels.resultMask, _t = h.pixels.resultPixels, Ds = g.fileVersion, De = Ds >= 5 ? 14 : 15, ur, Mr = g.zMax, tt;
45017
+ var E = 0, _ = 0, w = 0, S = 0, M = 0, x = 0, Q = 0, k = 0, J = 0, L = 0, D = 0, q = 0, K = 0, G = 0, U = 0, j = 0, H, te, O, se, ae, ce, be = new A(y * y), Ce = m % y || y, Se = f % y || y, ve, ze, Et = g.numDims, ot, $ = h.pixels.resultMask, _t = h.pixels.resultPixels, Ds = g.fileVersion, De = Ds >= 5 ? 14 : 15, ur, Mr = g.zMax, tt;
45007
45018
  for (w = 0; w < v; w++)
45008
45019
  for (M = w !== v - 1 ? y : Ce, S = 0; S < B; S++)
45009
45020
  for (x = S !== B - 1 ? y : Se, D = w * f * y + S * y, q = f - x, ot = 0; ot < Et; ot++) {
45010
- if (Et > 1 ? (tt = _t, D = w * f * y + S * y, _t = new A(h.pixels.resultPixels.buffer, p * ot * C, p), Mr = g.maxValues[ot]) : tt = null, Q = c.byteLength - h.ptr, V = new DataView(c, h.ptr, Math.min(10, Q)), te = {}, j = 0, k = V.getUint8(0), j++, ur = g.fileVersion >= 5 ? k & 4 : 0, J = k >> 6 & 255, L = k >> 2 & De, L !== (S * y >> 3 & De) || ur && ot === 0)
45021
+ if (Et > 1 ? (tt = _t, D = w * f * y + S * y, _t = new A(h.pixels.resultPixels.buffer, p * ot * C, p), Mr = g.maxValues[ot]) : tt = null, Q = c.byteLength - h.ptr, H = new DataView(c, h.ptr, Math.min(10, Q)), te = {}, j = 0, k = H.getUint8(0), j++, ur = g.fileVersion >= 5 ? k & 4 : 0, J = k >> 6 & 255, L = k >> 2 & De, L !== (S * y >> 3 & De) || ur && ot === 0)
45011
45022
  throw "integrity issue";
45012
45023
  if (ce = k & 3, ce > 3)
45013
45024
  throw h.ptr += j, "Invalid block encoding (" + ce + ")";
@@ -45039,7 +45050,7 @@ var jv = { exports: {} };
45039
45050
  D += q;
45040
45051
  }
45041
45052
  h.ptr += U * C;
45042
- } else if (ve = a.getDataTypeUsed(ur && I < 6 ? 4 : I, J), ze = a.getOnePixel(te, j, ve, V), j += a.getDataTypeSize(ve), ce === 3)
45053
+ } else if (ve = a.getDataTypeUsed(ur && I < 6 ? 4 : I, J), ze = a.getOnePixel(te, j, ve, H), j += a.getDataTypeSize(ve), ce === 3)
45043
45054
  if (h.ptr += j, h.counter.constantoffset++, $)
45044
45055
  for (E = 0; E < M; E++) {
45045
45056
  for (_ = 0; _ < x; _++)
@@ -45589,14 +45600,14 @@ class NT extends Jn {
45589
45600
  const UT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
45590
45601
  __proto__: null,
45591
45602
  default: NT
45592
- }, Symbol.toStringTag, { value: "Module" })), HT = typeof Worker < "u" ? Worker : void 0;
45593
- function VT() {
45603
+ }, Symbol.toStringTag, { value: "Module" })), VT = typeof Worker < "u" ? Worker : void 0;
45604
+ function HT() {
45594
45605
  const i = 'function A(A,e,t,i,r,I,g){try{var n=A[I](g),a=n.value}catch(A){return void t(A)}n.done?e(a):Promise.resolve(a).then(i,r)}function e(e){return function(){var t=this,i=arguments;return new Promise((function(r,I){var g=e.apply(t,i);function n(e){A(g,r,I,n,a,"next",e)}function a(e){A(g,r,I,n,a,"throw",e)}n(void 0)}))}}function t(A){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},t(A)}var i={exports:{}};!function(A){var e=function(A){var e,i=Object.prototype,r=i.hasOwnProperty,I="function"==typeof Symbol?Symbol:{},g=I.iterator||"@@iterator",n=I.asyncIterator||"@@asyncIterator",a=I.toStringTag||"@@toStringTag";function o(A,e,t){return Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}),A[e]}try{o({},"")}catch(A){o=function(A,e,t){return A[e]=t}}function B(A,e,t,i){var r=e&&e.prototype instanceof h?e:h,I=Object.create(r.prototype),g=new S(i||[]);return I._invoke=function(A,e,t){var i=Q;return function(r,I){if(i===s)throw new Error("Generator is already running");if(i===f){if("throw"===r)throw I;return R()}for(t.method=r,t.arg=I;;){var g=t.delegate;if(g){var n=m(g,t);if(n){if(n===c)continue;return n}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(i===Q)throw i=f,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);i=s;var a=C(A,e,t);if("normal"===a.type){if(i=t.done?f:E,a.arg===c)continue;return{value:a.arg,done:t.done}}"throw"===a.type&&(i=f,t.method="throw",t.arg=a.arg)}}}(A,t,g),I}function C(A,e,t){try{return{type:"normal",arg:A.call(e,t)}}catch(A){return{type:"throw",arg:A}}}A.wrap=B;var Q="suspendedStart",E="suspendedYield",s="executing",f="completed",c={};function h(){}function l(){}function u(){}var w={};o(w,g,(function(){return this}));var d=Object.getPrototypeOf,D=d&&d(d(v([])));D&&D!==i&&r.call(D,g)&&(w=D);var y=u.prototype=h.prototype=Object.create(w);function k(A){["next","throw","return"].forEach((function(e){o(A,e,(function(A){return this._invoke(e,A)}))}))}function p(A,e){function i(I,g,n,a){var o=C(A[I],A,g);if("throw"!==o.type){var B=o.arg,Q=B.value;return Q&&"object"===t(Q)&&r.call(Q,"__await")?e.resolve(Q.__await).then((function(A){i("next",A,n,a)}),(function(A){i("throw",A,n,a)})):e.resolve(Q).then((function(A){B.value=A,n(B)}),(function(A){return i("throw",A,n,a)}))}a(o.arg)}var I;this._invoke=function(A,t){function r(){return new e((function(e,r){i(A,t,e,r)}))}return I=I?I.then(r,r):r()}}function m(A,t){var i=A.iterator[t.method];if(i===e){if(t.delegate=null,"throw"===t.method){if(A.iterator.return&&(t.method="return",t.arg=e,m(A,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a \'throw\' method")}return c}var r=C(i,A.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var I=r.arg;return I?I.done?(t[A.resultName]=I.value,t.next=A.nextLoc,"return"!==t.method&&(t.method="next",t.arg=e),t.delegate=null,c):I:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function G(A){var e={tryLoc:A[0]};1 in A&&(e.catchLoc=A[1]),2 in A&&(e.finallyLoc=A[2],e.afterLoc=A[3]),this.tryEntries.push(e)}function F(A){var e=A.completion||{};e.type="normal",delete e.arg,A.completion=e}function S(A){this.tryEntries=[{tryLoc:"root"}],A.forEach(G,this),this.reset(!0)}function v(A){if(A){var t=A[g];if(t)return t.call(A);if("function"==typeof A.next)return A;if(!isNaN(A.length)){var i=-1,I=function t(){for(;++i<A.length;)if(r.call(A,i))return t.value=A[i],t.done=!1,t;return t.value=e,t.done=!0,t};return I.next=I}}return{next:R}}function R(){return{value:e,done:!0}}return l.prototype=u,o(y,"constructor",u),o(u,"constructor",l),l.displayName=o(u,a,"GeneratorFunction"),A.isGeneratorFunction=function(A){var e="function"==typeof A&&A.constructor;return!!e&&(e===l||"GeneratorFunction"===(e.displayName||e.name))},A.mark=function(A){return Object.setPrototypeOf?Object.setPrototypeOf(A,u):(A.__proto__=u,o(A,a,"GeneratorFunction")),A.prototype=Object.create(y),A},A.awrap=function(A){return{__await:A}},k(p.prototype),o(p.prototype,n,(function(){return this})),A.AsyncIterator=p,A.async=function(e,t,i,r,I){void 0===I&&(I=Promise);var g=new p(B(e,t,i,r),I);return A.isGeneratorFunction(t)?g:g.next().then((function(A){return A.done?A.value:g.next()}))},k(y),o(y,a,"Generator"),o(y,g,(function(){return this})),o(y,"toString",(function(){return"[object Generator]"})),A.keys=function(A){var e=[];for(var t in A)e.push(t);return e.reverse(),function t(){for(;e.length;){var i=e.pop();if(i in A)return t.value=i,t.done=!1,t}return t.done=!0,t}},A.values=v,S.prototype={constructor:S,reset:function(A){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(F),!A)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=e)},stop:function(){this.done=!0;var A=this.tryEntries[0].completion;if("throw"===A.type)throw A.arg;return this.rval},dispatchException:function(A){if(this.done)throw A;var t=this;function i(i,r){return n.type="throw",n.arg=A,t.next=i,r&&(t.method="next",t.arg=e),!!r}for(var I=this.tryEntries.length-1;I>=0;--I){var g=this.tryEntries[I],n=g.completion;if("root"===g.tryLoc)return i("end");if(g.tryLoc<=this.prev){var a=r.call(g,"catchLoc"),o=r.call(g,"finallyLoc");if(a&&o){if(this.prev<g.catchLoc)return i(g.catchLoc,!0);if(this.prev<g.finallyLoc)return i(g.finallyLoc)}else if(a){if(this.prev<g.catchLoc)return i(g.catchLoc,!0)}else{if(!o)throw new Error("try statement without catch or finally");if(this.prev<g.finallyLoc)return i(g.finallyLoc)}}}},abrupt:function(A,e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var I=i;break}}I&&("break"===A||"continue"===A)&&I.tryLoc<=e&&e<=I.finallyLoc&&(I=null);var g=I?I.completion:{};return g.type=A,g.arg=e,I?(this.method="next",this.next=I.finallyLoc,c):this.complete(g)},complete:function(A,e){if("throw"===A.type)throw A.arg;return"break"===A.type||"continue"===A.type?this.next=A.arg:"return"===A.type?(this.rval=this.arg=A.arg,this.method="return",this.next="end"):"normal"===A.type&&e&&(this.next=e),c},finish:function(A){for(var e=this.tryEntries.length-1;e>=0;--e){var t=this.tryEntries[e];if(t.finallyLoc===A)return this.complete(t.completion,t.afterLoc),F(t),c}},catch:function(A){for(var e=this.tryEntries.length-1;e>=0;--e){var t=this.tryEntries[e];if(t.tryLoc===A){var i=t.completion;if("throw"===i.type){var r=i.arg;F(t)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(A,t,i){return this.delegate={iterator:v(A),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=e),c}},A}(A.exports);try{regeneratorRuntime=e}catch(A){"object"===("undefined"==typeof globalThis?"undefined":t(globalThis))?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}(i);var r=i.exports,I=new Map;function g(A,e){Array.isArray(A)||(A=[A]),A.forEach((function(A){return I.set(A,e)}))}function n(A){return a.apply(this,arguments)}function a(){return(a=e(r.mark((function A(e){var t,i;return r.wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(t=I.get(e.Compression)){A.next=3;break}throw new Error("Unknown compression method identifier: ".concat(e.Compression));case 3:return A.next=5,t();case 5:return i=A.sent,A.abrupt("return",new i(e));case 7:case"end":return A.stop()}}),A)})))).apply(this,arguments)}g([void 0,1],(function(){return Promise.resolve().then((function(){return y})).then((function(A){return A.default}))})),g(5,(function(){return Promise.resolve().then((function(){return F})).then((function(A){return A.default}))})),g(6,(function(){throw new Error("old style JPEG compression is not supported.")})),g(7,(function(){return Promise.resolve().then((function(){return N})).then((function(A){return A.default}))})),g([8,32946],(function(){return Promise.resolve().then((function(){return OA})).then((function(A){return A.default}))})),g(32773,(function(){return Promise.resolve().then((function(){return _A})).then((function(A){return A.default}))})),g(34887,(function(){return Promise.resolve().then((function(){return le})).then(function(){var A=e(r.mark((function A(e){return r.wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,e.zstd.init();case 2:return A.abrupt("return",e);case 3:case"end":return A.stop()}}),A)})));return function(e){return A.apply(this,arguments)}}()).then((function(A){return A.default}))})),g(50001,(function(){return Promise.resolve().then((function(){return de})).then((function(A){return A.default}))}));var o=globalThis;function B(A,e){if(!(A instanceof e))throw new TypeError("Cannot call a class as a function")}function C(A,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(A,i.key,i)}}function Q(A,e,t){return e&&C(A.prototype,e),t&&C(A,t),A}function E(A,e){return E=Object.setPrototypeOf||function(A,e){return A.__proto__=e,A},E(A,e)}function s(A,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(e&&e.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),e&&E(A,e)}function f(A,e){if(e&&("object"===t(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(void 0===A)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return A}(A)}function c(A){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},c(A)}function h(A,e){var t=A.length-e,i=0;do{for(var r=e;r>0;r--)A[i+e]+=A[i],i++;t-=e}while(t>0)}function l(A,e,t){for(var i=0,r=A.length,I=r/t;r>e;){for(var g=e;g>0;--g)A[i+e]+=A[i],++i;r-=e}for(var n=A.slice(),a=0;a<I;++a)for(var o=0;o<t;++o)A[t*a+o]=n[(t-o-1)*I+a]}function u(A,e,t,i,r,I){if(!e||1===e)return A;for(var g=0;g<r.length;++g){if(r[g]%8!=0)throw new Error("When decoding with predictor, only multiple of 8 bits are supported.");if(r[g]!==r[0])throw new Error("When decoding with predictor, all samples must have the same size.")}for(var n=r[0]/8,a=2===I?1:r.length,o=0;o<i&&!(o*a*t*n>=A.byteLength);++o){var B=void 0;if(2===e){switch(r[0]){case 8:B=new Uint8Array(A,o*a*t*n,a*t*n);break;case 16:B=new Uint16Array(A,o*a*t*n,a*t*n/2);break;case 32:B=new Uint32Array(A,o*a*t*n,a*t*n/4);break;default:throw new Error("Predictor 2 not allowed with ".concat(r[0]," bits per sample."))}h(B,a)}else 3===e&&l(B=new Uint8Array(A,o*a*t*n,a*t*n),a,n)}return A}o.addEventListener("message",function(){var A=e(r.mark((function A(e){var t,i,I,g,a,B;return r.wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return t=e.data,i=t.id,I=t.fileDirectory,g=t.buffer,A.next=3,n(I);case 3:return a=A.sent,A.next=6,a.decode(I,g);case 6:B=A.sent,o.postMessage({decoded:B,id:i},[B]);case 8:case"end":return A.stop()}}),A)})));return function(e){return A.apply(this,arguments)}}());var w=function(){function A(){B(this,A)}var t;return Q(A,[{key:"decode",value:(t=e(r.mark((function A(e,t){var i,I,g,n,a;return r.wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this.decodeBlock(t);case 2:if(i=A.sent,1===(I=e.Predictor||1)){A.next=9;break}return g=!e.StripOffsets,n=g?e.TileWidth:e.ImageWidth,a=g?e.TileLength:e.RowsPerStrip||e.ImageLength,A.abrupt("return",u(i,I,n,a,e.BitsPerSample,e.PlanarConfiguration));case 9:return A.abrupt("return",i);case 10:case"end":return A.stop()}}),A,this)}))),function(A,e){return t.apply(this,arguments)})}]),A}();function d(A){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var t,i=c(A);if(e){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return f(this,t)}}var D=function(A){s(t,w);var e=d(t);function t(){return B(this,t),e.apply(this,arguments)}return Q(t,[{key:"decodeBlock",value:function(A){return A}}]),t}(),y=Object.freeze({__proto__:null,default:D});function k(A){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var t,i=c(A);if(e){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return f(this,t)}}function p(A,e){for(var t=e.length-1;t>=0;t--)A.push(e[t]);return A}function m(A){for(var e=new Uint16Array(4093),t=new Uint8Array(4093),i=0;i<=257;i++)e[i]=4096,t[i]=i;var r=258,I=9,g=0;function n(){r=258,I=9}function a(A){var e=function(A,e,t){var i=e%8,r=Math.floor(e/8),I=8-i,g=e+t-8*(r+1),n=8*(r+2)-(e+t),a=8*(r+2)-e;if(n=Math.max(0,n),r>=A.length)return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"),257;var o=A[r]&Math.pow(2,8-i)-1,B=o<<=t-I;if(r+1<A.length){var C=A[r+1]>>>n;B+=C<<=Math.max(0,t-a)}if(g>8&&r+2<A.length){var Q=8*(r+3)-(e+t);B+=A[r+2]>>>Q}return B}(A,g,I);return g+=I,e}function o(A,i){return t[r]=i,e[r]=A,++r-1}function B(A){for(var i=[],r=A;4096!==r;r=e[r])i.push(t[r]);return i}var C=[];n();for(var Q,E=new Uint8Array(A),s=a(E);257!==s;){if(256===s){for(n(),s=a(E);256===s;)s=a(E);if(257===s)break;if(s>256)throw new Error("corrupted code at scanline ".concat(s));p(C,B(s)),Q=s}else if(s<r){var f=B(s);p(C,f),o(Q,f[f.length-1]),Q=s}else{var c=B(Q);if(!c)throw new Error("Bogus entry. Not in dictionary, ".concat(Q," / ").concat(r,", position: ").concat(g));p(C,c),C.push(c[c.length-1]),o(Q,c[c.length-1]),Q=s}r+1>=Math.pow(2,I)&&(12===I?Q=void 0:I++),s=a(E)}return new Uint8Array(C)}var G=function(A){s(t,w);var e=k(t);function t(){return B(this,t),e.apply(this,arguments)}return Q(t,[{key:"decodeBlock",value:function(A){return m(A).buffer}}]),t}(),F=Object.freeze({__proto__:null,default:G});function S(A){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var t,i=c(A);if(e){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return f(this,t)}}var v=new Int32Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);function R(A,e){for(var t=0,i=[],r=16;r>0&&!A[r-1];)--r;i.push({children:[],index:0});for(var I,g=i[0],n=0;n<r;n++){for(var a=0;a<A[n];a++){for((g=i.pop()).children[g.index]=e[t];g.index>0;)g=i.pop();for(g.index++,i.push(g);i.length<=n;)i.push(I={children:[],index:0}),g.children[g.index]=I.children,g=I;t++}n+1<r&&(i.push(I={children:[],index:0}),g.children[g.index]=I.children,g=I)}return i[0].children}function U(A,e,i,r,I,g,n,a,o){var B=i.mcusPerLine,C=i.progressive,Q=e,E=e,s=0,f=0;function c(){if(f>0)return f--,s>>f&1;if(255===(s=A[E++])){var e=A[E++];if(e)throw new Error("unexpected marker: ".concat((s<<8|e).toString(16)))}return f=7,s>>>7}function h(A){for(var e,i=A;null!==(e=c());){if("number"==typeof(i=i[e]))return i;if("object"!==t(i))throw new Error("invalid huffman sequence")}return null}function l(A){for(var e=A,t=0;e>0;){var i=c();if(null===i)return;t=t<<1|i,--e}return t}function u(A){var e=l(A);return e>=1<<A-1?e:e+(-1<<A)+1}var w=0;var d,D=0;function y(A,e,t,i,r){var I=t%B,g=(t/B|0)*A.v+i,n=I*A.h+r;e(A,A.blocks[g][n])}function k(A,e,t){var i=t/A.blocksPerLine|0,r=t%A.blocksPerLine;e(A,A.blocks[i][r])}var p,m,G,F,S,R,U=r.length;R=C?0===g?0===a?function(A,e){var t=h(A.huffmanTableDC),i=0===t?0:u(t)<<o;A.pred+=i,e[0]=A.pred}:function(A,e){e[0]|=c()<<o}:0===a?function(A,e){if(w>0)w--;else for(var t=g,i=n;t<=i;){var r=h(A.huffmanTableAC),I=15&r,a=r>>4;if(0===I){if(a<15){w=l(a)+(1<<a)-1;break}t+=16}else e[v[t+=a]]=u(I)*(1<<o),t++}}:function(A,e){for(var t=g,i=n,r=0;t<=i;){var I=v[t],a=e[I]<0?-1:1;switch(D){case 0:var B=h(A.huffmanTableAC),C=15&B;if(r=B>>4,0===C)r<15?(w=l(r)+(1<<r),D=4):(r=16,D=1);else{if(1!==C)throw new Error("invalid ACn encoding");d=u(C),D=r?2:3}continue;case 1:case 2:e[I]?e[I]+=(c()<<o)*a:0==--r&&(D=2===D?3:0);break;case 3:e[I]?e[I]+=(c()<<o)*a:(e[I]=d<<o,D=0);break;case 4:e[I]&&(e[I]+=(c()<<o)*a)}t++}4===D&&0==--w&&(D=0)}:function(A,e){var t=h(A.huffmanTableDC),i=0===t?0:u(t);A.pred+=i,e[0]=A.pred;for(var r=1;r<64;){var I=h(A.huffmanTableAC),g=15&I,n=I>>4;if(0===g){if(n<15)break;r+=16}else e[v[r+=n]]=u(g),r++}};var L,b,M=0;b=1===U?r[0].blocksPerLine*r[0].blocksPerColumn:B*i.mcusPerColumn;for(var N=I||b;M<b;){for(m=0;m<U;m++)r[m].pred=0;if(w=0,1===U)for(p=r[0],S=0;S<N;S++)k(p,R,M),M++;else for(S=0;S<N;S++){for(m=0;m<U;m++){var x=p=r[m],J=x.h,q=x.v;for(G=0;G<q;G++)for(F=0;F<J;F++)y(p,R,M,G,F)}if(++M===b)break}if(f=0,(L=A[E]<<8|A[E+1])<65280)throw new Error("marker was not found");if(!(L>=65488&&L<=65495))break;E+=2}return E-Q}function L(A,e){var t=[],i=e.blocksPerLine,r=e.blocksPerColumn,I=i<<3,g=new Int32Array(64),n=new Uint8Array(64);function a(A,t,i){var r,I,g,n,a,o,B,C,Q,E,s=e.quantizationTable,f=i;for(E=0;E<64;E++)f[E]=A[E]*s[E];for(E=0;E<8;++E){var c=8*E;0!==f[1+c]||0!==f[2+c]||0!==f[3+c]||0!==f[4+c]||0!==f[5+c]||0!==f[6+c]||0!==f[7+c]?(r=5793*f[0+c]+128>>8,I=5793*f[4+c]+128>>8,g=f[2+c],n=f[6+c],a=2896*(f[1+c]-f[7+c])+128>>8,C=2896*(f[1+c]+f[7+c])+128>>8,o=f[3+c]<<4,Q=r-I+1>>1,r=r+I+1>>1,I=Q,Q=3784*g+1567*n+128>>8,g=1567*g-3784*n+128>>8,n=Q,Q=a-(B=f[5+c]<<4)+1>>1,a=a+B+1>>1,B=Q,Q=C+o+1>>1,o=C-o+1>>1,C=Q,Q=r-n+1>>1,r=r+n+1>>1,n=Q,Q=I-g+1>>1,I=I+g+1>>1,g=Q,Q=2276*a+3406*C+2048>>12,a=3406*a-2276*C+2048>>12,C=Q,Q=799*o+4017*B+2048>>12,o=4017*o-799*B+2048>>12,B=Q,f[0+c]=r+C,f[7+c]=r-C,f[1+c]=I+B,f[6+c]=I-B,f[2+c]=g+o,f[5+c]=g-o,f[3+c]=n+a,f[4+c]=n-a):(Q=5793*f[0+c]+512>>10,f[0+c]=Q,f[1+c]=Q,f[2+c]=Q,f[3+c]=Q,f[4+c]=Q,f[5+c]=Q,f[6+c]=Q,f[7+c]=Q)}for(E=0;E<8;++E){var h=E;0!==f[8+h]||0!==f[16+h]||0!==f[24+h]||0!==f[32+h]||0!==f[40+h]||0!==f[48+h]||0!==f[56+h]?(r=5793*f[0+h]+2048>>12,I=5793*f[32+h]+2048>>12,g=f[16+h],n=f[48+h],a=2896*(f[8+h]-f[56+h])+2048>>12,C=2896*(f[8+h]+f[56+h])+2048>>12,o=f[24+h],Q=r-I+1>>1,r=r+I+1>>1,I=Q,Q=3784*g+1567*n+2048>>12,g=1567*g-3784*n+2048>>12,n=Q,Q=a-(B=f[40+h])+1>>1,a=a+B+1>>1,B=Q,Q=C+o+1>>1,o=C-o+1>>1,C=Q,Q=r-n+1>>1,r=r+n+1>>1,n=Q,Q=I-g+1>>1,I=I+g+1>>1,g=Q,Q=2276*a+3406*C+2048>>12,a=3406*a-2276*C+2048>>12,C=Q,Q=799*o+4017*B+2048>>12,o=4017*o-799*B+2048>>12,B=Q,f[0+h]=r+C,f[56+h]=r-C,f[8+h]=I+B,f[48+h]=I-B,f[16+h]=g+o,f[40+h]=g-o,f[24+h]=n+a,f[32+h]=n-a):(Q=5793*i[E+0]+8192>>14,f[0+h]=Q,f[8+h]=Q,f[16+h]=Q,f[24+h]=Q,f[32+h]=Q,f[40+h]=Q,f[48+h]=Q,f[56+h]=Q)}for(E=0;E<64;++E){var l=128+(f[E]+8>>4);t[E]=l<0?0:l>255?255:l}}for(var o=0;o<r;o++){for(var B=o<<3,C=0;C<8;C++)t.push(new Uint8Array(I));for(var Q=0;Q<i;Q++){a(e.blocks[o][Q],n,g);for(var E=0,s=Q<<3,f=0;f<8;f++)for(var c=t[B+f],h=0;h<8;h++)c[s+h]=n[E++]}}return t}var b=function(){function A(){B(this,A),this.jfif=null,this.adobe=null,this.quantizationTables=[],this.huffmanTablesAC=[],this.huffmanTablesDC=[],this.resetFrames()}return Q(A,[{key:"resetFrames",value:function(){this.frames=[]}},{key:"parse",value:function(A){var e=0;function t(){var t=A[e]<<8|A[e+1];return e+=2,t}function i(A){var e,t,i=0,r=0;for(t in A.components)A.components.hasOwnProperty(t)&&(i<(e=A.components[t]).h&&(i=e.h),r<e.v&&(r=e.v));var I=Math.ceil(A.samplesPerLine/8/i),g=Math.ceil(A.scanLines/8/r);for(t in A.components)if(A.components.hasOwnProperty(t)){e=A.components[t];for(var n=Math.ceil(Math.ceil(A.samplesPerLine/8)*e.h/i),a=Math.ceil(Math.ceil(A.scanLines/8)*e.v/r),o=I*e.h,B=g*e.v,C=[],Q=0;Q<B;Q++){for(var E=[],s=0;s<o;s++)E.push(new Int32Array(64));C.push(E)}e.blocksPerLine=n,e.blocksPerColumn=a,e.blocks=C}A.maxH=i,A.maxV=r,A.mcusPerLine=I,A.mcusPerColumn=g}var r,I,g=t();if(65496!==g)throw new Error("SOI not found");for(g=t();65497!==g;){switch(g){case 65280:break;case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var n=(r=void 0,I=void 0,r=t(),I=A.subarray(e,e+r-2),e+=I.length,I);65504===g&&74===n[0]&&70===n[1]&&73===n[2]&&70===n[3]&&0===n[4]&&(this.jfif={version:{major:n[5],minor:n[6]},densityUnits:n[7],xDensity:n[8]<<8|n[9],yDensity:n[10]<<8|n[11],thumbWidth:n[12],thumbHeight:n[13],thumbData:n.subarray(14,14+3*n[12]*n[13])}),65518===g&&65===n[0]&&100===n[1]&&111===n[2]&&98===n[3]&&101===n[4]&&0===n[5]&&(this.adobe={version:n[6],flags0:n[7]<<8|n[8],flags1:n[9]<<8|n[10],transformCode:n[11]});break;case 65499:for(var a=t()+e-2;e<a;){var o=A[e++],B=new Int32Array(64);if(o>>4==0)for(var C=0;C<64;C++){B[v[C]]=A[e++]}else{if(o>>4!=1)throw new Error("DQT: invalid table spec");for(var Q=0;Q<64;Q++){B[v[Q]]=t()}}this.quantizationTables[15&o]=B}break;case 65472:case 65473:case 65474:t();for(var E={extended:65473===g,progressive:65474===g,precision:A[e++],scanLines:t(),samplesPerLine:t(),components:{},componentsOrder:[]},s=A[e++],f=void 0,c=0;c<s;c++){f=A[e];var h=A[e+1]>>4,l=15&A[e+1],u=A[e+2];E.componentsOrder.push(f),E.components[f]={h:h,v:l,quantizationIdx:u},e+=3}i(E),this.frames.push(E);break;case 65476:for(var w=t(),d=2;d<w;){for(var D=A[e++],y=new Uint8Array(16),k=0,p=0;p<16;p++,e++)y[p]=A[e],k+=y[p];for(var m=new Uint8Array(k),G=0;G<k;G++,e++)m[G]=A[e];d+=17+k,D>>4==0?this.huffmanTablesDC[15&D]=R(y,m):this.huffmanTablesAC[15&D]=R(y,m)}break;case 65501:t(),this.resetInterval=t();break;case 65498:t();for(var F=A[e++],S=[],L=this.frames[0],b=0;b<F;b++){var M=L.components[A[e++]],N=A[e++];M.huffmanTableDC=this.huffmanTablesDC[N>>4],M.huffmanTableAC=this.huffmanTablesAC[15&N],S.push(M)}var x=A[e++],J=A[e++],q=A[e++],Y=U(A,e,L,S,this.resetInterval,x,J,q>>4,15&q);e+=Y;break;case 65535:255!==A[e]&&e--;break;default:if(255===A[e-3]&&A[e-2]>=192&&A[e-2]<=254){e-=3;break}throw new Error("unknown JPEG marker ".concat(g.toString(16)))}g=t()}}},{key:"getResult",value:function(){var A=this.frames;if(0===this.frames.length)throw new Error("no frames were decoded");this.frames.length>1&&console.warn("more than one frame is not supported");for(var e=0;e<this.frames.length;e++)for(var t=this.frames[e].components,i=0,r=Object.keys(t);i<r.length;i++){var I=r[i];t[I].quantizationTable=this.quantizationTables[t[I].quantizationIdx],delete t[I].quantizationIdx}for(var g=A[0],n=g.components,a=g.componentsOrder,o=[],B=g.samplesPerLine,C=g.scanLines,Q=0;Q<a.length;Q++){var E=n[a[Q]];o.push({lines:L(0,E),scaleX:E.h/g.maxH,scaleY:E.v/g.maxV})}for(var s=new Uint8Array(B*C*o.length),f=0,c=0;c<C;++c)for(var h=0;h<B;++h)for(var l=0;l<o.length;++l){var u=o[l];s[f]=u.lines[0|c*u.scaleY][0|h*u.scaleX],++f}return s}}]),A}(),M=function(A){s(t,w);var e=S(t);function t(A){var i;return B(this,t),(i=e.call(this)).reader=new b,A.JPEGTables&&i.reader.parse(A.JPEGTables),i}return Q(t,[{key:"decodeBlock",value:function(A){return this.reader.resetFrames(),this.reader.parse(new Uint8Array(A)),this.reader.getResult().buffer}}]),t}(),N=Object.freeze({__proto__:null,default:M});function x(A){for(var e=A.length;--e>=0;)A[e]=0}x(new Array(576)),x(new Array(60)),x(new Array(512)),x(new Array(256)),x(new Array(29)),x(new Array(30));var J=function(A,e,t,i){for(var r=65535&A|0,I=A>>>16&65535|0,g=0;0!==t;){t-=g=t>2e3?2e3:t;do{I=I+(r=r+e[i++]|0)|0}while(--g);r%=65521,I%=65521}return r|I<<16|0},q=new Uint32Array(function(){for(var A,e=[],t=0;t<256;t++){A=t;for(var i=0;i<8;i++)A=1&A?3988292384^A>>>1:A>>>1;e[t]=A}return e}()),Y=function(A,e,t,i){var r=q,I=i+t;A^=-1;for(var g=i;g<I;g++)A=A>>>8^r[255&(A^e[g])];return-1^A},K={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},H={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},O=function(A,e){return Object.prototype.hasOwnProperty.call(A,e)},P=function(A){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var i=e.shift();if(i){if("object"!==t(i))throw new TypeError(i+"must be non-object");for(var r in i)O(i,r)&&(A[r]=i[r])}}return A},T=function(A){for(var e=0,t=0,i=A.length;t<i;t++)e+=A[t].length;for(var r=new Uint8Array(e),I=0,g=0,n=A.length;I<n;I++){var a=A[I];r.set(a,g),g+=a.length}return r},V=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(A){V=!1}for(var _=new Uint8Array(256),X=0;X<256;X++)_[X]=X>=252?6:X>=248?5:X>=240?4:X>=224?3:X>=192?2:1;_[254]=_[254]=1;var Z=function(A){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(A);var e,t,i,r,I,g=A.length,n=0;for(r=0;r<g;r++)55296==(64512&(t=A.charCodeAt(r)))&&r+1<g&&56320==(64512&(i=A.charCodeAt(r+1)))&&(t=65536+(t-55296<<10)+(i-56320),r++),n+=t<128?1:t<2048?2:t<65536?3:4;for(e=new Uint8Array(n),I=0,r=0;I<n;r++)55296==(64512&(t=A.charCodeAt(r)))&&r+1<g&&56320==(64512&(i=A.charCodeAt(r+1)))&&(t=65536+(t-55296<<10)+(i-56320),r++),t<128?e[I++]=t:t<2048?(e[I++]=192|t>>>6,e[I++]=128|63&t):t<65536?(e[I++]=224|t>>>12,e[I++]=128|t>>>6&63,e[I++]=128|63&t):(e[I++]=240|t>>>18,e[I++]=128|t>>>12&63,e[I++]=128|t>>>6&63,e[I++]=128|63&t);return e},j=function(A,e){var t,i,r=e||A.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(A.subarray(0,e));var I=new Array(2*r);for(i=0,t=0;t<r;){var g=A[t++];if(g<128)I[i++]=g;else{var n=_[g];if(n>4)I[i++]=65533,t+=n-1;else{for(g&=2===n?31:3===n?15:7;n>1&&t<r;)g=g<<6|63&A[t++],n--;n>1?I[i++]=65533:g<65536?I[i++]=g:(g-=65536,I[i++]=55296|g>>10&1023,I[i++]=56320|1023&g)}}}return function(A,e){if(e<65534&&A.subarray&&V)return String.fromCharCode.apply(null,A.length===e?A:A.subarray(0,e));for(var t="",i=0;i<e;i++)t+=String.fromCharCode(A[i]);return t}(I,i)},W=function(A,e){(e=e||A.length)>A.length&&(e=A.length);for(var t=e-1;t>=0&&128==(192&A[t]);)t--;return t<0||0===t?e:t+_[A[t]]>e?t:e};var z=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},$=function(A,e){var t,i,r,I,g,n,a,o,B,C,Q,E,s,f,c,h,l,u,w,d,D,y,k,p,m=A.state;t=A.next_in,k=A.input,i=t+(A.avail_in-5),r=A.next_out,p=A.output,I=r-(e-A.avail_out),g=r+(A.avail_out-257),n=m.dmax,a=m.wsize,o=m.whave,B=m.wnext,C=m.window,Q=m.hold,E=m.bits,s=m.lencode,f=m.distcode,c=(1<<m.lenbits)-1,h=(1<<m.distbits)-1;A:do{E<15&&(Q+=k[t++]<<E,E+=8,Q+=k[t++]<<E,E+=8),l=s[Q&c];e:for(;;){if(Q>>>=u=l>>>24,E-=u,0===(u=l>>>16&255))p[r++]=65535&l;else{if(!(16&u)){if(0==(64&u)){l=s[(65535&l)+(Q&(1<<u)-1)];continue e}if(32&u){m.mode=12;break A}A.msg="invalid literal/length code",m.mode=30;break A}w=65535&l,(u&=15)&&(E<u&&(Q+=k[t++]<<E,E+=8),w+=Q&(1<<u)-1,Q>>>=u,E-=u),E<15&&(Q+=k[t++]<<E,E+=8,Q+=k[t++]<<E,E+=8),l=f[Q&h];t:for(;;){if(Q>>>=u=l>>>24,E-=u,!(16&(u=l>>>16&255))){if(0==(64&u)){l=f[(65535&l)+(Q&(1<<u)-1)];continue t}A.msg="invalid distance code",m.mode=30;break A}if(d=65535&l,E<(u&=15)&&(Q+=k[t++]<<E,(E+=8)<u&&(Q+=k[t++]<<E,E+=8)),(d+=Q&(1<<u)-1)>n){A.msg="invalid distance too far back",m.mode=30;break A}if(Q>>>=u,E-=u,d>(u=r-I)){if((u=d-u)>o&&m.sane){A.msg="invalid distance too far back",m.mode=30;break A}if(D=0,y=C,0===B){if(D+=a-u,u<w){w-=u;do{p[r++]=C[D++]}while(--u);D=r-d,y=p}}else if(B<u){if(D+=a+B-u,(u-=B)<w){w-=u;do{p[r++]=C[D++]}while(--u);if(D=0,B<w){w-=u=B;do{p[r++]=C[D++]}while(--u);D=r-d,y=p}}}else if(D+=B-u,u<w){w-=u;do{p[r++]=C[D++]}while(--u);D=r-d,y=p}for(;w>2;)p[r++]=y[D++],p[r++]=y[D++],p[r++]=y[D++],w-=3;w&&(p[r++]=y[D++],w>1&&(p[r++]=y[D++]))}else{D=r-d;do{p[r++]=p[D++],p[r++]=p[D++],p[r++]=p[D++],w-=3}while(w>2);w&&(p[r++]=p[D++],w>1&&(p[r++]=p[D++]))}break}}break}}while(t<i&&r<g);t-=w=E>>3,Q&=(1<<(E-=w<<3))-1,A.next_in=t,A.next_out=r,A.avail_in=t<i?i-t+5:5-(t-i),A.avail_out=r<g?g-r+257:257-(r-g),m.hold=Q,m.bits=E},AA=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),eA=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),tA=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),iA=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),rA=function(A,e,t,i,r,I,g,n){var a,o,B,C,Q,E,s,f,c,h=n.bits,l=0,u=0,w=0,d=0,D=0,y=0,k=0,p=0,m=0,G=0,F=null,S=0,v=new Uint16Array(16),R=new Uint16Array(16),U=null,L=0;for(l=0;l<=15;l++)v[l]=0;for(u=0;u<i;u++)v[e[t+u]]++;for(D=h,d=15;d>=1&&0===v[d];d--);if(D>d&&(D=d),0===d)return r[I++]=20971520,r[I++]=20971520,n.bits=1,0;for(w=1;w<d&&0===v[w];w++);for(D<w&&(D=w),p=1,l=1;l<=15;l++)if(p<<=1,(p-=v[l])<0)return-1;if(p>0&&(0===A||1!==d))return-1;for(R[1]=0,l=1;l<15;l++)R[l+1]=R[l]+v[l];for(u=0;u<i;u++)0!==e[t+u]&&(g[R[e[t+u]]++]=u);if(0===A?(F=U=g,E=19):1===A?(F=AA,S-=257,U=eA,L-=257,E=256):(F=tA,U=iA,E=-1),G=0,u=0,l=w,Q=I,y=D,k=0,B=-1,C=(m=1<<D)-1,1===A&&m>852||2===A&&m>592)return 1;for(;;){s=l-k,g[u]<E?(f=0,c=g[u]):g[u]>E?(f=U[L+g[u]],c=F[S+g[u]]):(f=96,c=0),a=1<<l-k,w=o=1<<y;do{r[Q+(G>>k)+(o-=a)]=s<<24|f<<16|c|0}while(0!==o);for(a=1<<l-1;G&a;)a>>=1;if(0!==a?(G&=a-1,G+=a):G=0,u++,0==--v[l]){if(l===d)break;l=e[t+g[u]]}if(l>D&&(G&C)!==B){for(0===k&&(k=D),Q+=w,p=1<<(y=l-k);y+k<d&&!((p-=v[y+k])<=0);)y++,p<<=1;if(m+=1<<y,1===A&&m>852||2===A&&m>592)return 1;r[B=G&C]=D<<24|y<<16|Q-I|0}}return 0!==G&&(r[Q+G]=l-k<<24|64<<16|0),n.bits=D,0},IA=H.Z_FINISH,gA=H.Z_BLOCK,nA=H.Z_TREES,aA=H.Z_OK,oA=H.Z_STREAM_END,BA=H.Z_NEED_DICT,CA=H.Z_STREAM_ERROR,QA=H.Z_DATA_ERROR,EA=H.Z_MEM_ERROR,sA=H.Z_BUF_ERROR,fA=H.Z_DEFLATED,cA=function(A){return(A>>>24&255)+(A>>>8&65280)+((65280&A)<<8)+((255&A)<<24)};function hA(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var lA,uA,wA=function(A){if(!A||!A.state)return CA;var e=A.state;return A.total_in=A.total_out=e.total=0,A.msg="",e.wrap&&(A.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,aA},dA=function(A){if(!A||!A.state)return CA;var e=A.state;return e.wsize=0,e.whave=0,e.wnext=0,wA(A)},DA=function(A,e){var t;if(!A||!A.state)return CA;var i=A.state;return e<0?(t=0,e=-e):(t=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?CA:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=t,i.wbits=e,dA(A))},yA=function(A,e){if(!A)return CA;var t=new hA;A.state=t,t.window=null;var i=DA(A,e);return i!==aA&&(A.state=null),i},kA=!0,pA=function(A){if(kA){lA=new Int32Array(512),uA=new Int32Array(32);for(var e=0;e<144;)A.lens[e++]=8;for(;e<256;)A.lens[e++]=9;for(;e<280;)A.lens[e++]=7;for(;e<288;)A.lens[e++]=8;for(rA(1,A.lens,0,288,lA,0,A.work,{bits:9}),e=0;e<32;)A.lens[e++]=5;rA(2,A.lens,0,32,uA,0,A.work,{bits:5}),kA=!1}A.lencode=lA,A.lenbits=9,A.distcode=uA,A.distbits=5},mA=function(A,e,t,i){var r,I=A.state;return null===I.window&&(I.wsize=1<<I.wbits,I.wnext=0,I.whave=0,I.window=new Uint8Array(I.wsize)),i>=I.wsize?(I.window.set(e.subarray(t-I.wsize,t),0),I.wnext=0,I.whave=I.wsize):((r=I.wsize-I.wnext)>i&&(r=i),I.window.set(e.subarray(t-i,t-i+r),I.wnext),(i-=r)?(I.window.set(e.subarray(t-i,t),0),I.wnext=i,I.whave=I.wsize):(I.wnext+=r,I.wnext===I.wsize&&(I.wnext=0),I.whave<I.wsize&&(I.whave+=r))),0},GA={inflateReset:dA,inflateReset2:DA,inflateResetKeep:wA,inflateInit:function(A){return yA(A,15)},inflateInit2:yA,inflate:function(A,e){var t,i,r,I,g,n,a,o,B,C,Q,E,s,f,c,h,l,u,w,d,D,y,k,p,m=0,G=new Uint8Array(4),F=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(!A||!A.state||!A.output||!A.input&&0!==A.avail_in)return CA;12===(t=A.state).mode&&(t.mode=13),g=A.next_out,r=A.output,a=A.avail_out,I=A.next_in,i=A.input,n=A.avail_in,o=t.hold,B=t.bits,C=n,Q=a,y=aA;A:for(;;)switch(t.mode){case 1:if(0===t.wrap){t.mode=13;break}for(;B<16;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}if(2&t.wrap&&35615===o){t.check=0,G[0]=255&o,G[1]=o>>>8&255,t.check=Y(t.check,G,2,0),o=0,B=0,t.mode=2;break}if(t.flags=0,t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&o)<<8)+(o>>8))%31){A.msg="incorrect header check",t.mode=30;break}if((15&o)!==fA){A.msg="unknown compression method",t.mode=30;break}if(B-=4,D=8+(15&(o>>>=4)),0===t.wbits)t.wbits=D;else if(D>t.wbits){A.msg="invalid window size",t.mode=30;break}t.dmax=1<<t.wbits,A.adler=t.check=1,t.mode=512&o?10:12,o=0,B=0;break;case 2:for(;B<16;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}if(t.flags=o,(255&t.flags)!==fA){A.msg="unknown compression method",t.mode=30;break}if(57344&t.flags){A.msg="unknown header flags set",t.mode=30;break}t.head&&(t.head.text=o>>8&1),512&t.flags&&(G[0]=255&o,G[1]=o>>>8&255,t.check=Y(t.check,G,2,0)),o=0,B=0,t.mode=3;case 3:for(;B<32;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}t.head&&(t.head.time=o),512&t.flags&&(G[0]=255&o,G[1]=o>>>8&255,G[2]=o>>>16&255,G[3]=o>>>24&255,t.check=Y(t.check,G,4,0)),o=0,B=0,t.mode=4;case 4:for(;B<16;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}t.head&&(t.head.xflags=255&o,t.head.os=o>>8),512&t.flags&&(G[0]=255&o,G[1]=o>>>8&255,t.check=Y(t.check,G,2,0)),o=0,B=0,t.mode=5;case 5:if(1024&t.flags){for(;B<16;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}t.length=o,t.head&&(t.head.extra_len=o),512&t.flags&&(G[0]=255&o,G[1]=o>>>8&255,t.check=Y(t.check,G,2,0)),o=0,B=0}else t.head&&(t.head.extra=null);t.mode=6;case 6:if(1024&t.flags&&((E=t.length)>n&&(E=n),E&&(t.head&&(D=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(i.subarray(I,I+E),D)),512&t.flags&&(t.check=Y(t.check,i,E,I)),n-=E,I+=E,t.length-=E),t.length))break A;t.length=0,t.mode=7;case 7:if(2048&t.flags){if(0===n)break A;E=0;do{D=i[I+E++],t.head&&D&&t.length<65536&&(t.head.name+=String.fromCharCode(D))}while(D&&E<n);if(512&t.flags&&(t.check=Y(t.check,i,E,I)),n-=E,I+=E,D)break A}else t.head&&(t.head.name=null);t.length=0,t.mode=8;case 8:if(4096&t.flags){if(0===n)break A;E=0;do{D=i[I+E++],t.head&&D&&t.length<65536&&(t.head.comment+=String.fromCharCode(D))}while(D&&E<n);if(512&t.flags&&(t.check=Y(t.check,i,E,I)),n-=E,I+=E,D)break A}else t.head&&(t.head.comment=null);t.mode=9;case 9:if(512&t.flags){for(;B<16;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}if(o!==(65535&t.check)){A.msg="header crc mismatch",t.mode=30;break}o=0,B=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),A.adler=t.check=0,t.mode=12;break;case 10:for(;B<32;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}A.adler=t.check=cA(o),o=0,B=0,t.mode=11;case 11:if(0===t.havedict)return A.next_out=g,A.avail_out=a,A.next_in=I,A.avail_in=n,t.hold=o,t.bits=B,BA;A.adler=t.check=1,t.mode=12;case 12:if(e===gA||e===nA)break A;case 13:if(t.last){o>>>=7&B,B-=7&B,t.mode=27;break}for(;B<3;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}switch(t.last=1&o,B-=1,3&(o>>>=1)){case 0:t.mode=14;break;case 1:if(pA(t),t.mode=20,e===nA){o>>>=2,B-=2;break A}break;case 2:t.mode=17;break;case 3:A.msg="invalid block type",t.mode=30}o>>>=2,B-=2;break;case 14:for(o>>>=7&B,B-=7&B;B<32;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}if((65535&o)!=(o>>>16^65535)){A.msg="invalid stored block lengths",t.mode=30;break}if(t.length=65535&o,o=0,B=0,t.mode=15,e===nA)break A;case 15:t.mode=16;case 16:if(E=t.length){if(E>n&&(E=n),E>a&&(E=a),0===E)break A;r.set(i.subarray(I,I+E),g),n-=E,I+=E,a-=E,g+=E,t.length-=E;break}t.mode=12;break;case 17:for(;B<14;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}if(t.nlen=257+(31&o),o>>>=5,B-=5,t.ndist=1+(31&o),o>>>=5,B-=5,t.ncode=4+(15&o),o>>>=4,B-=4,t.nlen>286||t.ndist>30){A.msg="too many length or distance symbols",t.mode=30;break}t.have=0,t.mode=18;case 18:for(;t.have<t.ncode;){for(;B<3;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}t.lens[F[t.have++]]=7&o,o>>>=3,B-=3}for(;t.have<19;)t.lens[F[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,k={bits:t.lenbits},y=rA(0,t.lens,0,19,t.lencode,0,t.work,k),t.lenbits=k.bits,y){A.msg="invalid code lengths set",t.mode=30;break}t.have=0,t.mode=19;case 19:for(;t.have<t.nlen+t.ndist;){for(;h=(m=t.lencode[o&(1<<t.lenbits)-1])>>>16&255,l=65535&m,!((c=m>>>24)<=B);){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}if(l<16)o>>>=c,B-=c,t.lens[t.have++]=l;else{if(16===l){for(p=c+2;B<p;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}if(o>>>=c,B-=c,0===t.have){A.msg="invalid bit length repeat",t.mode=30;break}D=t.lens[t.have-1],E=3+(3&o),o>>>=2,B-=2}else if(17===l){for(p=c+3;B<p;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}B-=c,D=0,E=3+(7&(o>>>=c)),o>>>=3,B-=3}else{for(p=c+7;B<p;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}B-=c,D=0,E=11+(127&(o>>>=c)),o>>>=7,B-=7}if(t.have+E>t.nlen+t.ndist){A.msg="invalid bit length repeat",t.mode=30;break}for(;E--;)t.lens[t.have++]=D}}if(30===t.mode)break;if(0===t.lens[256]){A.msg="invalid code -- missing end-of-block",t.mode=30;break}if(t.lenbits=9,k={bits:t.lenbits},y=rA(1,t.lens,0,t.nlen,t.lencode,0,t.work,k),t.lenbits=k.bits,y){A.msg="invalid literal/lengths set",t.mode=30;break}if(t.distbits=6,t.distcode=t.distdyn,k={bits:t.distbits},y=rA(2,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,k),t.distbits=k.bits,y){A.msg="invalid distances set",t.mode=30;break}if(t.mode=20,e===nA)break A;case 20:t.mode=21;case 21:if(n>=6&&a>=258){A.next_out=g,A.avail_out=a,A.next_in=I,A.avail_in=n,t.hold=o,t.bits=B,$(A,Q),g=A.next_out,r=A.output,a=A.avail_out,I=A.next_in,i=A.input,n=A.avail_in,o=t.hold,B=t.bits,12===t.mode&&(t.back=-1);break}for(t.back=0;h=(m=t.lencode[o&(1<<t.lenbits)-1])>>>16&255,l=65535&m,!((c=m>>>24)<=B);){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}if(h&&0==(240&h)){for(u=c,w=h,d=l;h=(m=t.lencode[d+((o&(1<<u+w)-1)>>u)])>>>16&255,l=65535&m,!(u+(c=m>>>24)<=B);){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}o>>>=u,B-=u,t.back+=u}if(o>>>=c,B-=c,t.back+=c,t.length=l,0===h){t.mode=26;break}if(32&h){t.back=-1,t.mode=12;break}if(64&h){A.msg="invalid literal/length code",t.mode=30;break}t.extra=15&h,t.mode=22;case 22:if(t.extra){for(p=t.extra;B<p;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}t.length+=o&(1<<t.extra)-1,o>>>=t.extra,B-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=23;case 23:for(;h=(m=t.distcode[o&(1<<t.distbits)-1])>>>16&255,l=65535&m,!((c=m>>>24)<=B);){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}if(0==(240&h)){for(u=c,w=h,d=l;h=(m=t.distcode[d+((o&(1<<u+w)-1)>>u)])>>>16&255,l=65535&m,!(u+(c=m>>>24)<=B);){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}o>>>=u,B-=u,t.back+=u}if(o>>>=c,B-=c,t.back+=c,64&h){A.msg="invalid distance code",t.mode=30;break}t.offset=l,t.extra=15&h,t.mode=24;case 24:if(t.extra){for(p=t.extra;B<p;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}t.offset+=o&(1<<t.extra)-1,o>>>=t.extra,B-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){A.msg="invalid distance too far back",t.mode=30;break}t.mode=25;case 25:if(0===a)break A;if(E=Q-a,t.offset>E){if((E=t.offset-E)>t.whave&&t.sane){A.msg="invalid distance too far back",t.mode=30;break}E>t.wnext?(E-=t.wnext,s=t.wsize-E):s=t.wnext-E,E>t.length&&(E=t.length),f=t.window}else f=r,s=g-t.offset,E=t.length;E>a&&(E=a),a-=E,t.length-=E;do{r[g++]=f[s++]}while(--E);0===t.length&&(t.mode=21);break;case 26:if(0===a)break A;r[g++]=t.length,a--,t.mode=21;break;case 27:if(t.wrap){for(;B<32;){if(0===n)break A;n--,o|=i[I++]<<B,B+=8}if(Q-=a,A.total_out+=Q,t.total+=Q,Q&&(A.adler=t.check=t.flags?Y(t.check,r,Q,g-Q):J(t.check,r,Q,g-Q)),Q=a,(t.flags?o:cA(o))!==t.check){A.msg="incorrect data check",t.mode=30;break}o=0,B=0}t.mode=28;case 28:if(t.wrap&&t.flags){for(;B<32;){if(0===n)break A;n--,o+=i[I++]<<B,B+=8}if(o!==(4294967295&t.total)){A.msg="incorrect length check",t.mode=30;break}o=0,B=0}t.mode=29;case 29:y=oA;break A;case 30:y=QA;break A;case 31:return EA;default:return CA}return A.next_out=g,A.avail_out=a,A.next_in=I,A.avail_in=n,t.hold=o,t.bits=B,(t.wsize||Q!==A.avail_out&&t.mode<30&&(t.mode<27||e!==IA))&&mA(A,A.output,A.next_out,Q-A.avail_out),C-=A.avail_in,Q-=A.avail_out,A.total_in+=C,A.total_out+=Q,t.total+=Q,t.wrap&&Q&&(A.adler=t.check=t.flags?Y(t.check,r,Q,A.next_out-Q):J(t.check,r,Q,A.next_out-Q)),A.data_type=t.bits+(t.last?64:0)+(12===t.mode?128:0)+(20===t.mode||15===t.mode?256:0),(0===C&&0===Q||e===IA)&&y===aA&&(y=sA),y},inflateEnd:function(A){if(!A||!A.state)return CA;var e=A.state;return e.window&&(e.window=null),A.state=null,aA},inflateGetHeader:function(A,e){if(!A||!A.state)return CA;var t=A.state;return 0==(2&t.wrap)?CA:(t.head=e,e.done=!1,aA)},inflateSetDictionary:function(A,e){var t,i=e.length;return A&&A.state?0!==(t=A.state).wrap&&11!==t.mode?CA:11===t.mode&&J(1,e,i,0)!==t.check?QA:mA(A,e,i,i)?(t.mode=31,EA):(t.havedict=1,aA):CA},inflateInfo:"pako inflate (from Nodeca project)"};var FA=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},SA=Object.prototype.toString,vA=H.Z_NO_FLUSH,RA=H.Z_FINISH,UA=H.Z_OK,LA=H.Z_STREAM_END,bA=H.Z_NEED_DICT,MA=H.Z_STREAM_ERROR,NA=H.Z_DATA_ERROR,xA=H.Z_MEM_ERROR;function JA(A){this.options=P({chunkSize:65536,windowBits:15,to:""},A||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||A&&A.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new z,this.strm.avail_out=0;var t=GA.inflateInit2(this.strm,e.windowBits);if(t!==UA)throw new Error(K[t]);if(this.header=new FA,GA.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Z(e.dictionary):"[object ArrayBuffer]"===SA.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(t=GA.inflateSetDictionary(this.strm,e.dictionary))!==UA))throw new Error(K[t])}function qA(A,e){var t=new JA(e);if(t.push(A),t.err)throw t.msg||K[t.err];return t.result}JA.prototype.push=function(A,e){var t,i,r,I=this.strm,g=this.options.chunkSize,n=this.options.dictionary;if(this.ended)return!1;for(i=e===~~e?e:!0===e?RA:vA,"[object ArrayBuffer]"===SA.call(A)?I.input=new Uint8Array(A):I.input=A,I.next_in=0,I.avail_in=I.input.length;;){for(0===I.avail_out&&(I.output=new Uint8Array(g),I.next_out=0,I.avail_out=g),(t=GA.inflate(I,i))===bA&&n&&((t=GA.inflateSetDictionary(I,n))===UA?t=GA.inflate(I,i):t===NA&&(t=bA));I.avail_in>0&&t===LA&&I.state.wrap>0&&0!==A[I.next_in];)GA.inflateReset(I),t=GA.inflate(I,i);switch(t){case MA:case NA:case bA:case xA:return this.onEnd(t),this.ended=!0,!1}if(r=I.avail_out,I.next_out&&(0===I.avail_out||t===LA))if("string"===this.options.to){var a=W(I.output,I.next_out),o=I.next_out-a,B=j(I.output,a);I.next_out=o,I.avail_out=g-o,o&&I.output.set(I.output.subarray(a,a+o),0),this.onData(B)}else this.onData(I.output.length===I.next_out?I.output:I.output.subarray(0,I.next_out));if(t!==UA||0!==r){if(t===LA)return t=GA.inflateEnd(this.strm),this.onEnd(t),this.ended=!0,!0;if(0===I.avail_in)break}}return!0},JA.prototype.onData=function(A){this.chunks.push(A)},JA.prototype.onEnd=function(A){A===UA&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=T(this.chunks)),this.chunks=[],this.err=A,this.msg=this.strm.msg};var YA={Inflate:JA,inflate:qA,inflateRaw:function(A,e){return(e=e||{}).raw=!0,qA(A,e)},ungzip:qA,constants:H}.inflate;function KA(A){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var t,i=c(A);if(e){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return f(this,t)}}var HA=function(A){s(t,w);var e=KA(t);function t(){return B(this,t),e.apply(this,arguments)}return Q(t,[{key:"decodeBlock",value:function(A){return YA(new Uint8Array(A)).buffer}}]),t}(),OA=Object.freeze({__proto__:null,default:HA});function PA(A){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var t,i=c(A);if(e){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return f(this,t)}}var TA,VA=function(A){s(t,w);var e=PA(t);function t(){return B(this,t),e.apply(this,arguments)}return Q(t,[{key:"decodeBlock",value:function(A){for(var e=new DataView(A),t=[],i=0;i<A.byteLength;++i){var r=e.getInt8(i);if(r<0){var I=e.getUint8(i+1);r=-r;for(var g=0;g<=r;++g)t.push(I);i+=1}else{for(var n=0;n<=r;++n)t.push(e.getUint8(i+n+1));i+=r+1}}return new Uint8Array(t).buffer}}]),t}(),_A=Object.freeze({__proto__:null,default:VA}),XA={exports:{}};TA=XA,\n/* Copyright 2015-2021 Esri. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 @preserve */\nfunction(){var A,e,t,i,r,I,g,n,a,o,B,C,Q,E,s,f,c=(A={defaultNoDataValue:-34027999387901484e22,decode:function(I,g){var n=(g=g||{}).encodedMaskData||null===g.encodedMaskData,a=r(I,g.inputOffset||0,n),o=null!==g.noDataValue?g.noDataValue:A.defaultNoDataValue,B=e(a,g.pixelType||Float32Array,g.encodedMaskData,o,g.returnMask),C={width:a.width,height:a.height,pixelData:B.resultPixels,minValue:B.minValue,maxValue:a.pixels.maxValue,noDataValue:o};return B.resultMask&&(C.maskData=B.resultMask),g.returnEncodedMask&&a.mask&&(C.encodedMaskData=a.mask.bitset?a.mask.bitset:null),g.returnFileInfo&&(C.fileInfo=t(a),g.computeUsedBitDepths&&(C.fileInfo.bitDepths=i(a))),C}},e=function(A,e,t,i,r){var g,n,a,o=0,B=A.pixels.numBlocksX,C=A.pixels.numBlocksY,Q=Math.floor(A.width/B),E=Math.floor(A.height/C),s=2*A.maxZError,f=Number.MAX_VALUE;t=t||(A.mask?A.mask.bitset:null),n=new e(A.width*A.height),r&&t&&(a=new Uint8Array(A.width*A.height));for(var c,h,l=new Float32Array(Q*E),u=0;u<=C;u++){var w=u!==C?E:A.height%C;if(0!==w)for(var d=0;d<=B;d++){var D=d!==B?Q:A.width%B;if(0!==D){var y,k,p,m,G=u*A.width*E+d*Q,F=A.width-D,S=A.pixels.blocks[o];if(S.encoding<2?(0===S.encoding?y=S.rawData:(I(S.stuffedData,S.bitsPerPixel,S.numValidPixels,S.offset,s,l,A.pixels.maxValue),y=l),k=0):p=2===S.encoding?0:S.offset,t)for(h=0;h<w;h++){for(7&G&&(m=t[G>>3],m<<=7&G),c=0;c<D;c++)7&G||(m=t[G>>3]),128&m?(a&&(a[G]=1),f=f>(g=S.encoding<2?y[k++]:p)?g:f,n[G++]=g):(a&&(a[G]=0),n[G++]=i),m<<=1;G+=F}else if(S.encoding<2)for(h=0;h<w;h++){for(c=0;c<D;c++)f=f>(g=y[k++])?g:f,n[G++]=g;G+=F}else for(f=f>p?p:f,h=0;h<w;h++){for(c=0;c<D;c++)n[G++]=p;G+=F}if(1===S.encoding&&k!==S.numValidPixels)throw"Block and Mask do not match";o++}}}return{resultPixels:n,resultMask:a,minValue:f}},t=function(A){return{fileIdentifierString:A.fileIdentifierString,fileVersion:A.fileVersion,imageType:A.imageType,height:A.height,width:A.width,maxZError:A.maxZError,eofOffset:A.eofOffset,mask:A.mask?{numBlocksX:A.mask.numBlocksX,numBlocksY:A.mask.numBlocksY,numBytes:A.mask.numBytes,maxValue:A.mask.maxValue}:null,pixels:{numBlocksX:A.pixels.numBlocksX,numBlocksY:A.pixels.numBlocksY,numBytes:A.pixels.numBytes,maxValue:A.pixels.maxValue,noDataValue:A.noDataValue}}},i=function(A){for(var e=A.pixels.numBlocksX*A.pixels.numBlocksY,t={},i=0;i<e;i++){var r=A.pixels.blocks[i];0===r.encoding?t.float32=!0:1===r.encoding?t[r.bitsPerPixel]=!0:t[0]=!0}return Object.keys(t)},r=function(A,e,t){var i={},r=new Uint8Array(A,e,10);if(i.fileIdentifierString=String.fromCharCode.apply(null,r),"CntZImage"!==i.fileIdentifierString.trim())throw"Unexpected file identifier string: "+i.fileIdentifierString;e+=10;var I=new DataView(A,e,24);if(i.fileVersion=I.getInt32(0,!0),i.imageType=I.getInt32(4,!0),i.height=I.getUint32(8,!0),i.width=I.getUint32(12,!0),i.maxZError=I.getFloat64(16,!0),e+=24,!t)if(I=new DataView(A,e,16),i.mask={},i.mask.numBlocksY=I.getUint32(0,!0),i.mask.numBlocksX=I.getUint32(4,!0),i.mask.numBytes=I.getUint32(8,!0),i.mask.maxValue=I.getFloat32(12,!0),e+=16,i.mask.numBytes>0){var g=new Uint8Array(Math.ceil(i.width*i.height/8)),n=(I=new DataView(A,e,i.mask.numBytes)).getInt16(0,!0),a=2,o=0;do{if(n>0)for(;n--;)g[o++]=I.getUint8(a++);else{var B=I.getUint8(a++);for(n=-n;n--;)g[o++]=B}n=I.getInt16(a,!0),a+=2}while(a<i.mask.numBytes);if(-32768!==n||o<g.length)throw"Unexpected end of mask RLE encoding";i.mask.bitset=g,e+=i.mask.numBytes}else 0==(i.mask.numBytes|i.mask.numBlocksY|i.mask.maxValue)&&(i.mask.bitset=new Uint8Array(Math.ceil(i.width*i.height/8)));I=new DataView(A,e,16),i.pixels={},i.pixels.numBlocksY=I.getUint32(0,!0),i.pixels.numBlocksX=I.getUint32(4,!0),i.pixels.numBytes=I.getUint32(8,!0),i.pixels.maxValue=I.getFloat32(12,!0),e+=16;var C=i.pixels.numBlocksX,Q=i.pixels.numBlocksY,E=C+(i.width%C>0?1:0),s=Q+(i.height%Q>0?1:0);i.pixels.blocks=new Array(E*s);for(var f=0,c=0;c<s;c++)for(var h=0;h<E;h++){var l=0,u=A.byteLength-e;I=new DataView(A,e,Math.min(10,u));var w={};i.pixels.blocks[f++]=w;var d=I.getUint8(0);if(l++,w.encoding=63&d,w.encoding>3)throw"Invalid block encoding ("+w.encoding+")";if(2!==w.encoding){if(0!==d&&2!==d){if(d>>=6,w.offsetType=d,2===d)w.offset=I.getInt8(1),l++;else if(1===d)w.offset=I.getInt16(1,!0),l+=2;else{if(0!==d)throw"Invalid block offset type";w.offset=I.getFloat32(1,!0),l+=4}if(1===w.encoding)if(d=I.getUint8(l),l++,w.bitsPerPixel=63&d,d>>=6,w.numValidPixelsType=d,2===d)w.numValidPixels=I.getUint8(l),l++;else if(1===d)w.numValidPixels=I.getUint16(l,!0),l+=2;else{if(0!==d)throw"Invalid valid pixel count type";w.numValidPixels=I.getUint32(l,!0),l+=4}}var D;if(e+=l,3!==w.encoding)if(0===w.encoding){var y=(i.pixels.numBytes-1)/4;if(y!==Math.floor(y))throw"uncompressed block has invalid length";D=new ArrayBuffer(4*y),new Uint8Array(D).set(new Uint8Array(A,e,4*y));var k=new Float32Array(D);w.rawData=k,e+=4*y}else if(1===w.encoding){var p=Math.ceil(w.numValidPixels*w.bitsPerPixel/8),m=Math.ceil(p/4);D=new ArrayBuffer(4*m),new Uint8Array(D).set(new Uint8Array(A,e,p)),w.stuffedData=new Uint32Array(D),e+=p}}else e++}return i.eofOffset=e,i},I=function(A,e,t,i,r,I,g){var n,a,o,B=(1<<e)-1,C=0,Q=0,E=Math.ceil((g-i)/r),s=4*A.length-Math.ceil(e*t/8);for(A[A.length-1]<<=8*s,n=0;n<t;n++){if(0===Q&&(o=A[C++],Q=32),Q>=e)a=o>>>Q-e&B,Q-=e;else{var f=e-Q;a=(o&B)<<f&B,a+=(o=A[C++])>>>(Q=32-f)}I[n]=a<E?i+a*r:g}return I},A),h=(g=function(A,e,t,i,r,I,g,n){var a,o,B,C,Q,E=(1<<t)-1,s=0,f=0,c=4*A.length-Math.ceil(t*i/8);if(A[A.length-1]<<=8*c,r)for(a=0;a<i;a++)0===f&&(B=A[s++],f=32),f>=t?(o=B>>>f-t&E,f-=t):(o=(B&E)<<(C=t-f)&E,o+=(B=A[s++])>>>(f=32-C)),e[a]=r[o];else for(Q=Math.ceil((n-I)/g),a=0;a<i;a++)0===f&&(B=A[s++],f=32),f>=t?(o=B>>>f-t&E,f-=t):(o=(B&E)<<(C=t-f)&E,o+=(B=A[s++])>>>(f=32-C)),e[a]=o<Q?I+o*g:n},n=function(A,e,t,i,r,I){var g,n=(1<<e)-1,a=0,o=0,B=0,C=0,Q=0,E=[],s=4*A.length-Math.ceil(e*t/8);A[A.length-1]<<=8*s;var f=Math.ceil((I-i)/r);for(o=0;o<t;o++)0===C&&(g=A[a++],C=32),C>=e?(Q=g>>>C-e&n,C-=e):(Q=(g&n)<<(B=e-C)&n,Q+=(g=A[a++])>>>(C=32-B)),E[o]=Q<f?i+Q*r:I;return E.unshift(i),E},a=function(A,e,t,i,r,I,g,n){var a,o,B,C,Q=(1<<t)-1,E=0,s=0,f=0;if(r)for(a=0;a<i;a++)0===s&&(B=A[E++],s=32,f=0),s>=t?(o=B>>>f&Q,s-=t,f+=t):(o=B>>>f&Q,s=32-(C=t-s),o|=((B=A[E++])&(1<<C)-1)<<t-C,f=C),e[a]=r[o];else{var c=Math.ceil((n-I)/g);for(a=0;a<i;a++)0===s&&(B=A[E++],s=32,f=0),s>=t?(o=B>>>f&Q,s-=t,f+=t):(o=B>>>f&Q,s=32-(C=t-s),o|=((B=A[E++])&(1<<C)-1)<<t-C,f=C),e[a]=o<c?I+o*g:n}return e},o=function(A,e,t,i,r,I){var g,n=(1<<e)-1,a=0,o=0,B=0,C=0,Q=0,E=0,s=[],f=Math.ceil((I-i)/r);for(o=0;o<t;o++)0===C&&(g=A[a++],C=32,E=0),C>=e?(Q=g>>>E&n,C-=e,E+=e):(Q=g>>>E&n,C=32-(B=e-C),Q|=((g=A[a++])&(1<<B)-1)<<e-B,E=B),s[o]=Q<f?i+Q*r:I;return s.unshift(i),s},B=function(A,e,t,i){var r,I,g,n,a=(1<<t)-1,o=0,B=0,C=4*A.length-Math.ceil(t*i/8);for(A[A.length-1]<<=8*C,r=0;r<i;r++)0===B&&(g=A[o++],B=32),B>=t?(I=g>>>B-t&a,B-=t):(I=(g&a)<<(n=t-B)&a,I+=(g=A[o++])>>>(B=32-n)),e[r]=I;return e},C=function(A,e,t,i){var r,I,g,n,a=(1<<t)-1,o=0,B=0,C=0;for(r=0;r<i;r++)0===B&&(g=A[o++],B=32,C=0),B>=t?(I=g>>>C&a,B-=t,C+=t):(I=g>>>C&a,B=32-(n=t-B),I|=((g=A[o++])&(1<<n)-1)<<t-n,C=n),e[r]=I;return e},Q={HUFFMAN_LUT_BITS_MAX:12,computeChecksumFletcher32:function(A){for(var e=65535,t=65535,i=A.length,r=Math.floor(i/2),I=0;r;){var g=r>=359?359:r;r-=g;do{e+=A[I++]<<8,t+=e+=A[I++]}while(--g);e=(65535&e)+(e>>>16),t=(65535&t)+(t>>>16)}return 1&i&&(t+=e+=A[I]<<8),((t=(65535&t)+(t>>>16))<<16|(e=(65535&e)+(e>>>16)))>>>0},readHeaderInfo:function(A,e){var t=e.ptr,i=new Uint8Array(A,t,6),r={};if(r.fileIdentifierString=String.fromCharCode.apply(null,i),0!==r.fileIdentifierString.lastIndexOf("Lerc2",0))throw"Unexpected file identifier string (expect Lerc2 ): "+r.fileIdentifierString;t+=6;var I,g=new DataView(A,t,8),n=g.getInt32(0,!0);if(r.fileVersion=n,t+=4,n>=3&&(r.checksum=g.getUint32(4,!0),t+=4),g=new DataView(A,t,12),r.height=g.getUint32(0,!0),r.width=g.getUint32(4,!0),t+=8,n>=4?(r.numDims=g.getUint32(8,!0),t+=4):r.numDims=1,g=new DataView(A,t,40),r.numValidPixel=g.getUint32(0,!0),r.microBlockSize=g.getInt32(4,!0),r.blobSize=g.getInt32(8,!0),r.imageType=g.getInt32(12,!0),r.maxZError=g.getFloat64(16,!0),r.zMin=g.getFloat64(24,!0),r.zMax=g.getFloat64(32,!0),t+=40,e.headerInfo=r,e.ptr=t,n>=3&&(I=n>=4?52:48,this.computeChecksumFletcher32(new Uint8Array(A,t-I,r.blobSize-14))!==r.checksum))throw"Checksum failed.";return!0},checkMinMaxRanges:function(A,e){var t=e.headerInfo,i=this.getDataTypeArray(t.imageType),r=t.numDims*this.getDataTypeSize(t.imageType),I=this.readSubArray(A,e.ptr,i,r),g=this.readSubArray(A,e.ptr+r,i,r);e.ptr+=2*r;var n,a=!0;for(n=0;n<t.numDims;n++)if(I[n]!==g[n]){a=!1;break}return t.minValues=I,t.maxValues=g,a},readSubArray:function(A,e,t,i){var r;if(t===Uint8Array)r=new Uint8Array(A,e,i);else{var I=new ArrayBuffer(i);new Uint8Array(I).set(new Uint8Array(A,e,i)),r=new t(I)}return r},readMask:function(A,e){var t,i,r=e.ptr,I=e.headerInfo,g=I.width*I.height,n=I.numValidPixel,a=new DataView(A,r,4),o={};if(o.numBytes=a.getUint32(0,!0),r+=4,(0===n||g===n)&&0!==o.numBytes)throw"invalid mask";if(0===n)t=new Uint8Array(Math.ceil(g/8)),o.bitset=t,i=new Uint8Array(g),e.pixels.resultMask=i,r+=o.numBytes;else if(o.numBytes>0){t=new Uint8Array(Math.ceil(g/8));var B=(a=new DataView(A,r,o.numBytes)).getInt16(0,!0),C=2,Q=0,E=0;do{if(B>0)for(;B--;)t[Q++]=a.getUint8(C++);else for(E=a.getUint8(C++),B=-B;B--;)t[Q++]=E;B=a.getInt16(C,!0),C+=2}while(C<o.numBytes);if(-32768!==B||Q<t.length)throw"Unexpected end of mask RLE encoding";i=new Uint8Array(g);var s=0,f=0;for(f=0;f<g;f++)7&f?(s=t[f>>3],s<<=7&f):s=t[f>>3],128&s&&(i[f]=1);e.pixels.resultMask=i,o.bitset=t,r+=o.numBytes}return e.ptr=r,e.mask=o,!0},readDataOneSweep:function(A,e,t,i){var r,I=e.ptr,g=e.headerInfo,n=g.numDims,a=g.width*g.height,o=g.imageType,B=g.numValidPixel*Q.getDataTypeSize(o)*n,C=e.pixels.resultMask;if(t===Uint8Array)r=new Uint8Array(A,I,B);else{var E=new ArrayBuffer(B);new Uint8Array(E).set(new Uint8Array(A,I,B)),r=new t(E)}if(r.length===a*n)e.pixels.resultPixels=i?Q.swapDimensionOrder(r,a,n,t,!0):r;else{e.pixels.resultPixels=new t(a*n);var s=0,f=0,c=0,h=0;if(n>1){if(i){for(f=0;f<a;f++)if(C[f])for(h=f,c=0;c<n;c++,h+=a)e.pixels.resultPixels[h]=r[s++]}else for(f=0;f<a;f++)if(C[f])for(h=f*n,c=0;c<n;c++)e.pixels.resultPixels[h+c]=r[s++]}else for(f=0;f<a;f++)C[f]&&(e.pixels.resultPixels[f]=r[s++])}return I+=B,e.ptr=I,!0},readHuffmanTree:function(A,e){var t=this.HUFFMAN_LUT_BITS_MAX,i=new DataView(A,e.ptr,16);if(e.ptr+=16,i.getInt32(0,!0)<2)throw"unsupported Huffman version";var r=i.getInt32(4,!0),I=i.getInt32(8,!0),g=i.getInt32(12,!0);if(I>=g)return!1;var n=new Uint32Array(g-I);Q.decodeBits(A,e,n);var a,o,B,C,s=[];for(a=I;a<g;a++)s[o=a-(a<r?0:r)]={first:n[a-I],second:null};var f=A.byteLength-e.ptr,c=Math.ceil(f/4),h=new ArrayBuffer(4*c);new Uint8Array(h).set(new Uint8Array(A,e.ptr,f));var l,u=new Uint32Array(h),w=0,d=0;for(l=u[0],a=I;a<g;a++)(C=s[o=a-(a<r?0:r)].first)>0&&(s[o].second=l<<w>>>32-C,32-w>=C?32===(w+=C)&&(w=0,l=u[++d]):(w+=C-32,l=u[++d],s[o].second|=l>>>32-w));var D=0,y=0,k=new E;for(a=0;a<s.length;a++)void 0!==s[a]&&(D=Math.max(D,s[a].first));y=D>=t?t:D;var p,m,G,F,S,v=[];for(a=I;a<g;a++)if((C=s[o=a-(a<r?0:r)].first)>0)if(p=[C,o],C<=y)for(m=s[o].second<<y-C,G=1<<y-C,B=0;B<G;B++)v[m|B]=p;else for(m=s[o].second,S=k,F=C-1;F>=0;F--)m>>>F&1?(S.right||(S.right=new E),S=S.right):(S.left||(S.left=new E),S=S.left),0!==F||S.val||(S.val=p[1]);return{decodeLut:v,numBitsLUTQick:y,numBitsLUT:D,tree:k,stuffedData:u,srcPtr:d,bitPos:w}},readHuffman:function(A,e,t,i){var r,I,g,n,a,o,B,C,E,s=e.headerInfo.numDims,f=e.headerInfo.height,c=e.headerInfo.width,h=c*f,l=this.readHuffmanTree(A,e),u=l.decodeLut,w=l.tree,d=l.stuffedData,D=l.srcPtr,y=l.bitPos,k=l.numBitsLUTQick,p=l.numBitsLUT,m=0===e.headerInfo.imageType?128:0,G=e.pixels.resultMask,F=0;y>0&&(D++,y=0);var S,v=d[D],R=1===e.encodeMode,U=new t(h*s),L=U;if(s<2||R){for(S=0;S<s;S++)if(s>1&&(L=new t(U.buffer,h*S,h),F=0),e.headerInfo.numValidPixel===c*f)for(C=0,o=0;o<f;o++)for(B=0;B<c;B++,C++){if(I=0,a=n=v<<y>>>32-k,32-y<k&&(a=n|=d[D+1]>>>64-y-k),u[a])I=u[a][1],y+=u[a][0];else for(a=n=v<<y>>>32-p,32-y<p&&(a=n|=d[D+1]>>>64-y-p),r=w,E=0;E<p;E++)if(!(r=n>>>p-E-1&1?r.right:r.left).left&&!r.right){I=r.val,y=y+E+1;break}y>=32&&(y-=32,v=d[++D]),g=I-m,R?(g+=B>0?F:o>0?L[C-c]:F,g&=255,L[C]=g,F=g):L[C]=g}else for(C=0,o=0;o<f;o++)for(B=0;B<c;B++,C++)if(G[C]){if(I=0,a=n=v<<y>>>32-k,32-y<k&&(a=n|=d[D+1]>>>64-y-k),u[a])I=u[a][1],y+=u[a][0];else for(a=n=v<<y>>>32-p,32-y<p&&(a=n|=d[D+1]>>>64-y-p),r=w,E=0;E<p;E++)if(!(r=n>>>p-E-1&1?r.right:r.left).left&&!r.right){I=r.val,y=y+E+1;break}y>=32&&(y-=32,v=d[++D]),g=I-m,R?(B>0&&G[C-1]?g+=F:o>0&&G[C-c]?g+=L[C-c]:g+=F,g&=255,L[C]=g,F=g):L[C]=g}}else for(C=0,o=0;o<f;o++)for(B=0;B<c;B++)if(C=o*c+B,!G||G[C])for(S=0;S<s;S++,C+=h){if(I=0,a=n=v<<y>>>32-k,32-y<k&&(a=n|=d[D+1]>>>64-y-k),u[a])I=u[a][1],y+=u[a][0];else for(a=n=v<<y>>>32-p,32-y<p&&(a=n|=d[D+1]>>>64-y-p),r=w,E=0;E<p;E++)if(!(r=n>>>p-E-1&1?r.right:r.left).left&&!r.right){I=r.val,y=y+E+1;break}y>=32&&(y-=32,v=d[++D]),g=I-m,L[C]=g}e.ptr=e.ptr+4*(D+1)+(y>0?4:0),e.pixels.resultPixels=U,s>1&&!i&&(e.pixels.resultPixels=Q.swapDimensionOrder(U,h,s,t))},decodeBits:function(A,e,t,i,r){var I=e.headerInfo,Q=I.fileVersion,E=0,s=A.byteLength-e.ptr>=5?5:A.byteLength-e.ptr,f=new DataView(A,e.ptr,s),c=f.getUint8(0);E++;var h=c>>6,l=0===h?4:3-h,u=(32&c)>0,w=31&c,d=0;if(1===l)d=f.getUint8(E),E++;else if(2===l)d=f.getUint16(E,!0),E+=2;else{if(4!==l)throw"Invalid valid pixel count type";d=f.getUint32(E,!0),E+=4}var D,y,k,p,m,G,F,S,v,R=2*I.maxZError,U=I.numDims>1?I.maxValues[r]:I.zMax;if(u){for(e.counter.lut++,S=f.getUint8(E),E++,p=Math.ceil((S-1)*w/8),m=Math.ceil(p/4),y=new ArrayBuffer(4*m),k=new Uint8Array(y),e.ptr+=E,k.set(new Uint8Array(A,e.ptr,p)),F=new Uint32Array(y),e.ptr+=p,v=0;S-1>>>v;)v++;p=Math.ceil(d*v/8),m=Math.ceil(p/4),y=new ArrayBuffer(4*m),(k=new Uint8Array(y)).set(new Uint8Array(A,e.ptr,p)),D=new Uint32Array(y),e.ptr+=p,G=Q>=3?o(F,w,S-1,i,R,U):n(F,w,S-1,i,R,U),Q>=3?a(D,t,v,d,G):g(D,t,v,d,G)}else e.counter.bitstuffer++,v=w,e.ptr+=E,v>0&&(p=Math.ceil(d*v/8),m=Math.ceil(p/4),y=new ArrayBuffer(4*m),(k=new Uint8Array(y)).set(new Uint8Array(A,e.ptr,p)),D=new Uint32Array(y),e.ptr+=p,Q>=3?null==i?C(D,t,v,d):a(D,t,v,d,!1,i,R,U):null==i?B(D,t,v,d):g(D,t,v,d,!1,i,R,U))},readTiles:function(A,e,t,i){var r=e.headerInfo,I=r.width,g=r.height,n=I*g,a=r.microBlockSize,o=r.imageType,B=Q.getDataTypeSize(o),C=Math.ceil(I/a),E=Math.ceil(g/a);e.pixels.numBlocksY=E,e.pixels.numBlocksX=C,e.pixels.ptr=0;var s,f,c,h,l,u,w,d,D,y,k=0,p=0,m=0,G=0,F=0,S=0,v=0,R=0,U=0,L=0,b=0,M=0,N=0,x=0,J=0,q=new t(a*a),Y=g%a||a,K=I%a||a,H=r.numDims,O=e.pixels.resultMask,P=e.pixels.resultPixels,T=r.fileVersion>=5?14:15,V=r.zMax;for(m=0;m<E;m++)for(F=m!==E-1?a:Y,G=0;G<C;G++)for(L=m*I*a+G*a,b=I-(S=G!==C-1?a:K),d=0;d<H;d++){if(H>1?(y=P,L=m*I*a+G*a,P=new t(e.pixels.resultPixels.buffer,n*d*B,n),V=r.maxValues[d]):y=null,v=A.byteLength-e.ptr,f={},J=0,R=(s=new DataView(A,e.ptr,Math.min(10,v))).getUint8(0),J++,D=r.fileVersion>=5?4&R:0,U=R>>6&255,(R>>2&T)!=(G*a>>3&T))throw"integrity issue";if(D&&0===d)throw"integrity issue";if((l=3&R)>3)throw e.ptr+=J,"Invalid block encoding ("+l+")";if(2!==l)if(0===l){if(D)throw"integrity issue";if(e.counter.uncompressed++,e.ptr+=J,M=(M=F*S*B)<(N=A.byteLength-e.ptr)?M:N,c=new ArrayBuffer(M%B==0?M:M+B-M%B),new Uint8Array(c).set(new Uint8Array(A,e.ptr,M)),h=new t(c),x=0,O)for(k=0;k<F;k++){for(p=0;p<S;p++)O[L]&&(P[L]=h[x++]),L++;L+=b}else for(k=0;k<F;k++){for(p=0;p<S;p++)P[L++]=h[x++];L+=b}e.ptr+=x*B}else if(u=Q.getDataTypeUsed(D&&o<6?4:o,U),w=Q.getOnePixel(f,J,u,s),J+=Q.getDataTypeSize(u),3===l)if(e.ptr+=J,e.counter.constantoffset++,O)for(k=0;k<F;k++){for(p=0;p<S;p++)O[L]&&(P[L]=D?Math.min(V,y[L]+w):w),L++;L+=b}else for(k=0;k<F;k++){for(p=0;p<S;p++)P[L]=D?Math.min(V,y[L]+w):w,L++;L+=b}else if(e.ptr+=J,Q.decodeBits(A,e,q,w,d),J=0,D)if(O)for(k=0;k<F;k++){for(p=0;p<S;p++)O[L]&&(P[L]=q[J++]+y[L]),L++;L+=b}else for(k=0;k<F;k++){for(p=0;p<S;p++)P[L]=q[J++]+y[L],L++;L+=b}else if(O)for(k=0;k<F;k++){for(p=0;p<S;p++)O[L]&&(P[L]=q[J++]),L++;L+=b}else for(k=0;k<F;k++){for(p=0;p<S;p++)P[L++]=q[J++];L+=b}else{if(D)if(O)for(k=0;k<F;k++)for(p=0;p<S;p++)O[L]&&(P[L]=y[L]),L++;else for(k=0;k<F;k++)for(p=0;p<S;p++)P[L]=y[L],L++;e.counter.constant++,e.ptr+=J}}H>1&&!i&&(e.pixels.resultPixels=Q.swapDimensionOrder(e.pixels.resultPixels,n,H,t))},formatFileInfo:function(A){return{fileIdentifierString:A.headerInfo.fileIdentifierString,fileVersion:A.headerInfo.fileVersion,imageType:A.headerInfo.imageType,height:A.headerInfo.height,width:A.headerInfo.width,numValidPixel:A.headerInfo.numValidPixel,microBlockSize:A.headerInfo.microBlockSize,blobSize:A.headerInfo.blobSize,maxZError:A.headerInfo.maxZError,pixelType:Q.getPixelType(A.headerInfo.imageType),eofOffset:A.eofOffset,mask:A.mask?{numBytes:A.mask.numBytes}:null,pixels:{numBlocksX:A.pixels.numBlocksX,numBlocksY:A.pixels.numBlocksY,maxValue:A.headerInfo.zMax,minValue:A.headerInfo.zMin,noDataValue:A.noDataValue}}},constructConstantSurface:function(A,e){var t=A.headerInfo.zMax,i=A.headerInfo.zMin,r=A.headerInfo.maxValues,I=A.headerInfo.numDims,g=A.headerInfo.height*A.headerInfo.width,n=0,a=0,o=0,B=A.pixels.resultMask,C=A.pixels.resultPixels;if(B)if(I>1){if(e)for(n=0;n<I;n++)for(o=n*g,t=r[n],a=0;a<g;a++)B[a]&&(C[o+a]=t);else for(a=0;a<g;a++)if(B[a])for(o=a*I,n=0;n<I;n++)C[o+I]=r[n]}else for(a=0;a<g;a++)B[a]&&(C[a]=t);else if(I>1&&i!==t)if(e)for(n=0;n<I;n++)for(o=n*g,t=r[n],a=0;a<g;a++)C[o+a]=t;else for(a=0;a<g;a++)for(o=a*I,n=0;n<I;n++)C[o+n]=r[n];else for(a=0;a<g*I;a++)C[a]=t},getDataTypeArray:function(A){var e;switch(A){case 0:e=Int8Array;break;case 1:e=Uint8Array;break;case 2:e=Int16Array;break;case 3:e=Uint16Array;break;case 4:e=Int32Array;break;case 5:e=Uint32Array;break;case 6:default:e=Float32Array;break;case 7:e=Float64Array}return e},getPixelType:function(A){var e;switch(A){case 0:e="S8";break;case 1:e="U8";break;case 2:e="S16";break;case 3:e="U16";break;case 4:e="S32";break;case 5:e="U32";break;case 6:default:e="F32";break;case 7:e="F64"}return e},isValidPixelValue:function(A,e){if(null==e)return!1;var t;switch(A){case 0:t=e>=-128&&e<=127;break;case 1:t=e>=0&&e<=255;break;case 2:t=e>=-32768&&e<=32767;break;case 3:t=e>=0&&e<=65536;break;case 4:t=e>=-2147483648&&e<=2147483647;break;case 5:t=e>=0&&e<=4294967296;break;case 6:t=e>=-34027999387901484e22&&e<=34027999387901484e22;break;case 7:t=e>=-17976931348623157e292&&e<=17976931348623157e292;break;default:t=!1}return t},getDataTypeSize:function(A){var e=0;switch(A){case 0:case 1:e=1;break;case 2:case 3:e=2;break;case 4:case 5:case 6:e=4;break;case 7:e=8;break;default:e=A}return e},getDataTypeUsed:function(A,e){var t=A;switch(A){case 2:case 4:t=A-e;break;case 3:case 5:t=A-2*e;break;case 6:t=0===e?A:1===e?2:1;break;case 7:t=0===e?A:A-2*e+1;break;default:t=A}return t},getOnePixel:function(A,e,t,i){var r=0;switch(t){case 0:r=i.getInt8(e);break;case 1:r=i.getUint8(e);break;case 2:r=i.getInt16(e,!0);break;case 3:r=i.getUint16(e,!0);break;case 4:r=i.getInt32(e,!0);break;case 5:r=i.getUInt32(e,!0);break;case 6:r=i.getFloat32(e,!0);break;case 7:r=i.getFloat64(e,!0);break;default:throw"the decoder does not understand this pixel type"}return r},swapDimensionOrder:function(A,e,t,i,r){var I=0,g=0,n=0,a=0,o=A;if(t>1)if(o=new i(e*t),r)for(I=0;I<e;I++)for(a=I,n=0;n<t;n++,a+=e)o[a]=A[g++];else for(I=0;I<e;I++)for(a=I,n=0;n<t;n++,a+=e)o[g++]=A[a];return o}},E=function(A,e,t){this.val=A,this.left=e,this.right=t},{decode:function(A,e){var t=(e=e||{}).noDataValue,i=0,r={};r.ptr=e.inputOffset||0,r.pixels={},Q.readHeaderInfo(A,r);var I=r.headerInfo,g=I.fileVersion,n=Q.getDataTypeArray(I.imageType);if(g>5)throw"unsupported lerc version 2."+g;Q.readMask(A,r),I.numValidPixel===I.width*I.height||r.pixels.resultMask||(r.pixels.resultMask=e.maskData);var a=I.width*I.height;r.pixels.resultPixels=new n(a*I.numDims),r.counter={onesweep:0,uncompressed:0,lut:0,bitstuffer:0,constant:0,constantoffset:0};var o,B=!e.returnPixelInterleavedDims;if(0!==I.numValidPixel)if(I.zMax===I.zMin)Q.constructConstantSurface(r,B);else if(g>=4&&Q.checkMinMaxRanges(A,r))Q.constructConstantSurface(r,B);else{var C=new DataView(A,r.ptr,2),E=C.getUint8(0);if(r.ptr++,E)Q.readDataOneSweep(A,r,n,B);else if(g>1&&I.imageType<=1&&Math.abs(I.maxZError-.5)<1e-5){var s=C.getUint8(1);if(r.ptr++,r.encodeMode=s,s>2||g<4&&s>1)throw"Invalid Huffman flag "+s;s?Q.readHuffman(A,r,n,B):Q.readTiles(A,r,n,B)}else Q.readTiles(A,r,n,B)}r.eofOffset=r.ptr,e.inputOffset?(o=r.headerInfo.blobSize+e.inputOffset-r.ptr,Math.abs(o)>=1&&(r.eofOffset=e.inputOffset+r.headerInfo.blobSize)):(o=r.headerInfo.blobSize-r.ptr,Math.abs(o)>=1&&(r.eofOffset=r.headerInfo.blobSize));var f={width:I.width,height:I.height,pixelData:r.pixels.resultPixels,minValue:I.zMin,maxValue:I.zMax,validPixelCount:I.numValidPixel,dimCount:I.numDims,dimStats:{minValues:I.minValues,maxValues:I.maxValues},maskData:r.pixels.resultMask};if(r.pixels.resultMask&&Q.isValidPixelValue(I.imageType,t)){var c=r.pixels.resultMask;for(i=0;i<a;i++)c[i]||(f.pixelData[i]=t);f.noDataValue=t}return r.noDataValue=t,e.returnFileInfo&&(f.fileInfo=Q.formatFileInfo(r)),f},getBandCount:function(A){for(var e=0,t=0,i={ptr:0,pixels:{}};t<A.byteLength-58;)Q.readHeaderInfo(A,i),t+=i.headerInfo.blobSize,e++,i.ptr=t;return e}}),l=(s=new ArrayBuffer(4),f=new Uint8Array(s),new Uint32Array(s)[0]=1,1===f[0]),u={decode:function(A,e){if(!l)throw"Big endian system is not supported.";var t,i,r=(e=e||{}).inputOffset||0,I=new Uint8Array(A,r,10),g=String.fromCharCode.apply(null,I);if("CntZImage"===g.trim())t=c,i=1;else{if("Lerc2"!==g.substring(0,5))throw"Unexpected file identifier string: "+g;t=h,i=2}for(var n,a,o,B,C,Q,E=0,s=A.byteLength-10,f=[],u={width:0,height:0,pixels:[],pixelType:e.pixelType,mask:null,statistics:[]},w=0;r<s;){var d=t.decode(A,{inputOffset:r,encodedMaskData:n,maskData:o,returnMask:0===E,returnEncodedMask:0===E,returnFileInfo:!0,returnPixelInterleavedDims:e.returnPixelInterleavedDims,pixelType:e.pixelType||null,noDataValue:e.noDataValue||null});r=d.fileInfo.eofOffset,o=d.maskData,0===E&&(n=d.encodedMaskData,u.width=d.width,u.height=d.height,u.dimCount=d.dimCount||1,u.pixelType=d.pixelType||d.fileInfo.pixelType,u.mask=o),i>1&&(o&&f.push(o),d.fileInfo.mask&&d.fileInfo.mask.numBytes>0&&w++),E++,u.pixels.push(d.pixelData),u.statistics.push({minValue:d.minValue,maxValue:d.maxValue,noDataValue:d.noDataValue,dimStats:d.dimStats})}if(i>1&&w>1){for(Q=u.width*u.height,u.bandMasks=f,(o=new Uint8Array(Q)).set(f[0]),B=1;B<f.length;B++)for(a=f[B],C=0;C<Q;C++)o[C]=o[C]&a[C];u.maskData=o}return u}};TA.exports?TA.exports=u:this.Lerc=u}();var ZA,jA,WA,zA=XA.exports,$A={env:{emscripten_notify_memory_growth:function(A){WA=new Uint8Array(jA.exports.memory.buffer)}}},Ae=function(){function A(){B(this,A)}return Q(A,[{key:"init",value:function(){return ZA||(ZA="undefined"!=typeof fetch?fetch("data:application/wasm;base64,"+ee).then((function(A){return A.arrayBuffer()})).then((function(A){return WebAssembly.instantiate(A,$A)})).then(this._init):WebAssembly.instantiate(Buffer.from(ee,"base64"),$A).then(this._init))}},{key:"_init",value:function(A){jA=A.instance,$A.env.emscripten_notify_memory_growth(0)}},{key:"decode",value:function(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!jA)throw new Error("ZSTDDecoder: Await .init() before decoding.");var t=A.byteLength,i=jA.exports.malloc(t);WA.set(A,i),e=e||Number(jA.exports.ZSTD_findDecompressedSize(i,t));var r=jA.exports.malloc(e),I=jA.exports.ZSTD_decompress(r,e,i,t),g=WA.slice(r,r+I);return jA.exports.free(i),jA.exports.free(r),g}}]),A}(),ee="AGFzbQEAAAABpQEVYAF/AX9gAn9/AGADf39/AX9gBX9/f39/AX9gAX8AYAJ/fwF/YAR/f39/AX9gA39/fwBgBn9/f39/fwF/YAd/f39/f39/AX9gAn9/AX5gAn5+AX5gAABgBX9/f39/AGAGf39/f39/AGAIf39/f39/f38AYAl/f39/f39/f38AYAABf2AIf39/f39/f38Bf2ANf39/f39/f39/f39/fwF/YAF/AX4CJwEDZW52H2Vtc2NyaXB0ZW5fbm90aWZ5X21lbW9yeV9ncm93dGgABANpaAEFAAAFAgEFCwACAQABAgIFBQcAAwABDgsBAQcAEhMHAAUBDAQEAAANBwQCAgYCBAgDAwMDBgEACQkHBgICAAYGAgQUBwYGAwIGAAMCAQgBBwUGCgoEEQAEBAEIAwgDBQgDEA8IAAcABAUBcAECAgUEAQCAAgYJAX8BQaCgwAILB2AHBm1lbW9yeQIABm1hbGxvYwAoBGZyZWUAJgxaU1REX2lzRXJyb3IAaBlaU1REX2ZpbmREZWNvbXByZXNzZWRTaXplAFQPWlNURF9kZWNvbXByZXNzAEoGX3N0YXJ0ACQJBwEAQQELASQKussBaA8AIAAgACgCBCABajYCBAsZACAAKAIAIAAoAgRBH3F0QQAgAWtBH3F2CwgAIABBiH9LC34BBH9BAyEBIAAoAgQiA0EgTQRAIAAoAggiASAAKAIQTwRAIAAQDQ8LIAAoAgwiAiABRgRAQQFBAiADQSBJGw8LIAAgASABIAJrIANBA3YiBCABIARrIAJJIgEbIgJrIgQ2AgggACADIAJBA3RrNgIEIAAgBCgAADYCAAsgAQsUAQF/IAAgARACIQIgACABEAEgAgv3AQECfyACRQRAIABCADcCACAAQQA2AhAgAEIANwIIQbh/DwsgACABNgIM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AIAQX5xNgIAQQAPCyACQQ9qQXhxIgMQHSICQX9GDQIgAkEHakF4cSIAIAJHBEAgACACaxAdQX9GDQMLAkBBhCAoAgAiAUUEQEGAICAANgIADAELIAAgATYCBAtBhCAgADYCACAAIANBAXRBAXI2AgAMAQsgAEUNAQsgAEEIaiEBCyABC7kDAQJ/IAAgA2ohBQJAIANBB0wEQANAIAAgBU8NAiAAIAItAAA6AAAgAEEBaiEAIAJBAWohAgwAAAsACyAEQQFGBEACQCAAIAJrIgZBB00EQCAAIAItAAA6AAAgACACLQABOgABIAAgAi0AAjoAAiAAIAItAAM6AAMgAEEEaiACIAZBAnQiBkHAHmooAgBqIgIQFyACIAZB4B5qKAIAayECDAELIAAgAhAMCyACQQhqIQIgAEEIaiEACwJAAkACQAJAIAUgAU0EQCAAIANqIQEgBEEBRyAAIAJrQQ9Kcg0BA0AgACACEAwgAkEIaiECIABBCGoiACABSQ0ACwwFCyAAIAFLBEAgACEBDAQLIARBAUcgACACa0EPSnINASAAIQMgAiEEA0AgAyAEEAwgBEEIaiEEIANBCGoiAyABSQ0ACwwCCwNAIAAgAhAHIAJBEGohAiAAQRBqIgAgAUkNAAsMAwsgACEDIAIhBANAIAMgBBAHIARBEGohBCADQRBqIgMgAUkNAAsLIAIgASAAa2ohAgsDQCABIAVPDQEgASACLQAAOgAAIAFBAWohASACQQFqIQIMAAALAAsLQQECfyAAIAAoArjgASIDNgLE4AEgACgCvOABIQQgACABNgK84AEgACABIAJqNgK44AEgACABIAQgA2tqNgLA4AELpgEBAX8gACAAKALs4QEQFjYCyOABIABCADcD+OABIABCADcDuOABIABBwOABakIANwMAIABBqNAAaiIBQYyAgOAANgIAIABBADYCmOIBIABCADcDiOEBIABCAzcDgOEBIABBrNABakHgEikCADcCACAAQbTQAWpB6BIoAgA2AgAgACABNgIMIAAgAEGYIGo2AgggACAAQaAwajYCBCAAIABBEGo2AgALYQEBf0G4fyEDAkAgAUEDSQ0AIAIgABAhIgFBA3YiADYCCCACIAFBA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BAsgBxADDQMgAiAHayECIAcgCGohCEEBIQwgBigCDCEDIAYoAgghBAwBCwsgBiADNgIMIAYgBDYCCEG4fyEHIAQNASAIIAFrIQcMAQsgBiADNgIMIAYgBDYCCAsgBkEQaiQAIAcLRgECfyABIAAoArjgASICRwRAIAAgAjYCxOABIAAgATYCuOABIAAoArzgASEDIAAgATYCvOABIAAgASADIAJrajYCwOABCwutAgIEfwF+IwBBQGoiBCQAAkACQCACQQhJDQAgASgAAEFwcUHQ1LTCAUcNACABIAIQIiEBIABCADcDCCAAQQA2AgQgACABNgIADAELIARBGGogASACEC0iAxADBEAgACADEBoMAQsgAwRAIABBuH8QGgwBCyACIAQoAjAiA2shAiABIANqIQMDQAJAIAAgAyACIARBCGoQLCIFEAMEfyAFBSACIAVBA2oiBU8NAUG4fwsQGgwCCyAGQQFqIQYgAiAFayECIAMgBWohAyAEKAIMRQ0ACyAEKAI4BEAgAkEDTQRAIABBuH8QGgwCCyADQQRqIQMLIAQoAighAiAEKQMYIQcgAEEANgIEIAAgAyABazYCACAAIAIgBmytIAcgB0J/URs3AwgLIARBQGskAAslAQF/IwBBEGsiAiQAIAIgACABEFEgAigCACEAIAJBEGokACAAC30BBH8jAEGQBGsiBCQAIARB/wE2AggCQCAEQRBqIARBCGogBEEMaiABIAIQFSIGEAMEQCAGIQUMAQtBVCEFIAQoAgwiB0EGSw0AIAMgBEEQaiAEKAIIIAcQQSIFEAMNACAAIAEgBmogAiAGayADEDwhBQsgBEGQBGokACAFC4cBAgJ/An5BABAWIQMCQANAIAEgA08EQAJAIAAoAABBcHFB0NS0wgFGBEAgACABECIiAhADRQ0BQn4PCyAAIAEQVSIEQn1WDQMgBCAFfCIFIARUIQJCfiEEIAINAyAAIAEQUiICEAMNAwsgASACayEBIAAgAmohAAwBCwtCfiAFIAEbIQQLIAQLPwIBfwF+IwBBMGsiAiQAAn5CfiACQQhqIAAgARAtDQAaQgAgAigCHEEBRg0AGiACKQMICyEDIAJBMGokACADC40BAQJ/IwBBMGsiASQAAkAgAEUNACAAKAKI4gENACABIABB/OEBaigCADYCKCABIAApAvThATcDICAAEDAgACgCqOIBIQIgASABKAIoNgIYIAEgASkDIDcDECACIAFBEGoQGyAAQQA2AqjiASABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALKgECfyMAQRBrIgAkACAAQQA2AgggAEIANwMAIAAQWCEBIABBEGokACABC4cBAQN/IwBBEGsiAiQAAkAgACgCAEUgACgCBEVzDQAgAiAAKAIINgIIIAIgACkCADcDAAJ/IAIoAgAiAQRAIAIoAghBqOMJIAERBQAMAQtBqOMJECgLIgFFDQAgASAAKQIANwL04QEgAUH84QFqIAAoAgg2AgAgARBZIAEhAwsgAkEQaiQAIAMLywEBAn8jAEEgayIBJAAgAEGBgIDAADYCtOIBIABBADYCiOIBIABBADYC7OEBIABCADcDkOIBIABBADYCpOMJIABBADYC3OIBIABCADcCzOIBIABBADYCvOIBIABBADYCxOABIABCADcCnOIBIABBpOIBakIANwIAIABBrOIBakEANgIAIAFCADcCECABQgA3AhggASABKQMYNwMIIAEgASkDEDcDACABKAIIQQh2QQFxIQIgAEEANgLg4gEgACACNgKM4gEgAUEgaiQAC3YBA38jAEEwayIBJAAgAARAIAEgAEHE0AFqIgIoAgA2AiggASAAKQK80AE3AyAgACgCACEDIAEgAigCADYCGCABIAApArzQATcDECADIAFBEGoQGyABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALzAEBAX8gACABKAK00AE2ApjiASAAIAEoAgQiAjYCwOABIAAgAjYCvOABIAAgAiABKAIIaiICNgK44AEgACACNgLE4AEgASgCuNABBEAgAEKBgICAEDcDiOEBIAAgAUGk0ABqNgIMIAAgAUGUIGo2AgggACABQZwwajYCBCAAIAFBDGo2AgAgAEGs0AFqIAFBqNABaigCADYCACAAQbDQAWogAUGs0AFqKAIANgIAIABBtNABaiABQbDQAWooAgA2AgAPCyAAQgA3A4jhAQs7ACACRQRAQbp/DwsgBEUEQEFsDwsgAiAEEGA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AAD/AwAA/wcAAP8PAAD/HwAA/z8AAP9/AAD//wAA//8BAP//AwD//wcA//8PAP//HwD//z8A//9/AP///wD///8B////A////wf///8P////H////z////9/AAAAAAEAAAACAAAABAAAAAAAAAACAAAABAAAAAgAAAAAAAAAAQAAAAIAAAABAAAABAAAAAQAAAAEAAAABAAAAAgAAAAIAAAACAAAAAcAAAAIAAAACQAAAAoAAAALAEGgIAsDwBBQ",te={315:"Artist",258:"BitsPerSample",265:"CellLength",264:"CellWidth",320:"ColorMap",259:"Compression",33432:"Copyright",306:"DateTime",338:"ExtraSamples",266:"FillOrder",289:"FreeByteCounts",288:"FreeOffsets",291:"GrayResponseCurve",290:"GrayResponseUnit",316:"HostComputer",270:"ImageDescription",257:"ImageLength",256:"ImageWidth",271:"Make",281:"MaxSampleValue",280:"MinSampleValue",272:"Model",254:"NewSubfileType",274:"Orientation",262:"PhotometricInterpretation",284:"PlanarConfiguration",296:"ResolutionUnit",278:"RowsPerStrip",277:"SamplesPerPixel",305:"Software",279:"StripByteCounts",273:"StripOffsets",255:"SubfileType",263:"Threshholding",282:"XResolution",283:"YResolution",326:"BadFaxLines",327:"CleanFaxData",343:"ClipPath",328:"ConsecutiveBadFaxLines",433:"Decode",434:"DefaultImageColor",269:"DocumentName",336:"DotRange",321:"HalftoneHints",346:"Indexed",347:"JPEGTables",285:"PageName",297:"PageNumber",317:"Predictor",319:"PrimaryChromaticities",532:"ReferenceBlackWhite",339:"SampleFormat",340:"SMinSampleValue",341:"SMaxSampleValue",559:"StripRowCounts",330:"SubIFDs",292:"T4Options",293:"T6Options",325:"TileByteCounts",323:"TileLength",324:"TileOffsets",322:"TileWidth",301:"TransferFunction",318:"WhitePoint",344:"XClipPathUnits",286:"XPosition",529:"YCbCrCoefficients",531:"YCbCrPositioning",530:"YCbCrSubSampling",345:"YClipPathUnits",287:"YPosition",37378:"ApertureValue",40961:"ColorSpace",36868:"DateTimeDigitized",36867:"DateTimeOriginal",34665:"Exif IFD",36864:"ExifVersion",33434:"ExposureTime",41728:"FileSource",37385:"Flash",40960:"FlashpixVersion",33437:"FNumber",42016:"ImageUniqueID",37384:"LightSource",37500:"MakerNote",37377:"ShutterSpeedValue",37510:"UserComment",33723:"IPTC",34675:"ICC Profile",700:"XMP",42112:"GDAL_METADATA",42113:"GDAL_NODATA",34377:"Photoshop",33550:"ModelPixelScale",33922:"ModelTiepoint",34264:"ModelTransformation",34735:"GeoKeyDirectory",34736:"GeoDoubleParams",34737:"GeoAsciiParams",50674:"LercParameters"},ie={};for(var re in te)te.hasOwnProperty(re)&&(ie[te[re]]=parseInt(re,10));ie.BitsPerSample,ie.ExtraSamples,ie.SampleFormat,ie.StripByteCounts,ie.StripOffsets,ie.StripRowCounts,ie.TileByteCounts,ie.TileOffsets,ie.SubIFDs;var Ie={1:"BYTE",2:"ASCII",3:"SHORT",4:"LONG",5:"RATIONAL",6:"SBYTE",7:"UNDEFINED",8:"SSHORT",9:"SLONG",10:"SRATIONAL",11:"FLOAT",12:"DOUBLE",13:"IFD",16:"LONG8",17:"SLONG8",18:"IFD8"},ge={};for(var ne in Ie)Ie.hasOwnProperty(ne)&&(ge[Ie[ne]]=parseInt(ne,10));var ae=1,oe=0,Be=1,Ce=2,Qe={1024:"GTModelTypeGeoKey",1025:"GTRasterTypeGeoKey",1026:"GTCitationGeoKey",2048:"GeographicTypeGeoKey",2049:"GeogCitationGeoKey",2050:"GeogGeodeticDatumGeoKey",2051:"GeogPrimeMeridianGeoKey",2052:"GeogLinearUnitsGeoKey",2053:"GeogLinearUnitSizeGeoKey",2054:"GeogAngularUnitsGeoKey",2055:"GeogAngularUnitSizeGeoKey",2056:"GeogEllipsoidGeoKey",2057:"GeogSemiMajorAxisGeoKey",2058:"GeogSemiMinorAxisGeoKey",2059:"GeogInvFlatteningGeoKey",2060:"GeogAzimuthUnitsGeoKey",2061:"GeogPrimeMeridianLongGeoKey",2062:"GeogTOWGS84GeoKey",3072:"ProjectedCSTypeGeoKey",3073:"PCSCitationGeoKey",3074:"ProjectionGeoKey",3075:"ProjCoordTransGeoKey",3076:"ProjLinearUnitsGeoKey",3077:"ProjLinearUnitSizeGeoKey",3078:"ProjStdParallel1GeoKey",3079:"ProjStdParallel2GeoKey",3080:"ProjNatOriginLongGeoKey",3081:"ProjNatOriginLatGeoKey",3082:"ProjFalseEastingGeoKey",3083:"ProjFalseNorthingGeoKey",3084:"ProjFalseOriginLongGeoKey",3085:"ProjFalseOriginLatGeoKey",3086:"ProjFalseOriginEastingGeoKey",3087:"ProjFalseOriginNorthingGeoKey",3088:"ProjCenterLongGeoKey",3089:"ProjCenterLatGeoKey",3090:"ProjCenterEastingGeoKey",3091:"ProjCenterNorthingGeoKey",3092:"ProjScaleAtNatOriginGeoKey",3093:"ProjScaleAtCenterGeoKey",3094:"ProjAzimuthAngleGeoKey",3095:"ProjStraightVertPoleLongGeoKey",3096:"ProjRectifiedGridAngleGeoKey",4096:"VerticalCSTypeGeoKey",4097:"VerticalCitationGeoKey",4098:"VerticalDatumGeoKey",4099:"VerticalUnitsGeoKey"},Ee={};for(var se in Qe)Qe.hasOwnProperty(se)&&(Ee[Qe[se]]=parseInt(se,10));function fe(A){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var t,i=c(A);if(e){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return f(this,t)}}var ce=new Ae,he=function(A){s(t,w);var e=fe(t);function t(A){var i;return B(this,t),(i=e.call(this)).planarConfiguration=void 0!==A.PlanarConfiguration?A.PlanarConfiguration:1,i.samplesPerPixel=void 0!==A.SamplesPerPixel?A.SamplesPerPixel:1,i.addCompression=A.LercParameters[ae],i}return Q(t,[{key:"decodeBlock",value:function(A){switch(this.addCompression){case oe:break;case Be:A=YA(new Uint8Array(A)).buffer;break;case Ce:A=ce.decode(new Uint8Array(A)).buffer;break;default:throw new Error("Unsupported LERC additional compression method identifier: ".concat(this.addCompression))}return zA.decode(A,{returnPixelInterleavedDims:1===this.planarConfiguration}).pixels[0].buffer}}]),t}(),le=Object.freeze({__proto__:null,zstd:ce,default:he});function ue(A){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var t,i=c(A);if(e){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return f(this,t)}}var we=function(A){s(I,w);var t,i=ue(I);function I(){var A;if(B(this,I),A=i.call(this),"undefined"==typeof createImageBitmap)throw new Error("Cannot decode WebImage as `createImageBitmap` is not available");if("undefined"==typeof document&&"undefined"==typeof OffscreenCanvas)throw new Error("Cannot decode WebImage as neither `document` nor `OffscreenCanvas` is not available");return A}return Q(I,[{key:"decode",value:(t=e(r.mark((function A(e,t){var i,I,g,n;return r.wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return i=new Blob([t]),A.next=3,createImageBitmap(i);case 3:return I=A.sent,"undefined"!=typeof document?((g=document.createElement("canvas")).width=I.width,g.height=I.height):g=new OffscreenCanvas(I.width,I.height),(n=g.getContext("2d")).drawImage(I,0,0),A.abrupt("return",n.getImageData(0,0,I.width,I.height).data.buffer);case 8:case"end":return A.stop()}}),A)}))),function(A,e){return t.apply(this,arguments)})}]),I}(),de=Object.freeze({__proto__:null,default:we});';
45595
- return new HT(typeof Buffer < "u" ? "data:application/javascript;base64," + Buffer.from(i, "binary").toString("base64") : URL.createObjectURL(new Blob([i], { type: "application/javascript" })));
45606
+ return new VT(typeof Buffer < "u" ? "data:application/javascript;base64," + Buffer.from(i, "binary").toString("base64") : URL.createObjectURL(new Blob([i], { type: "application/javascript" })));
45596
45607
  }
45597
45608
  const qT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
45598
45609
  __proto__: null,
45599
- create: VT
45610
+ create: HT
45600
45611
  }, Symbol.toStringTag, { value: "Module" }));
45601
45612
  export {
45602
45613
  Rt as AbstractAttributeProvider,
@@ -45618,7 +45629,7 @@ export {
45618
45629
  SL as CategoryCollection,
45619
45630
  Ae as CesiumMap,
45620
45631
  DA as CesiumNavigation,
45621
- Hs as CesiumTilesetCesiumImpl,
45632
+ Vs as CesiumTilesetCesiumImpl,
45622
45633
  hr as CesiumTilesetLayer,
45623
45634
  sn as ClassRegistry,
45624
45635
  xo as ClassificationTypeCesium,
@@ -45650,8 +45661,8 @@ export {
45650
45661
  UR as EditFeaturesMouseOverInteraction,
45651
45662
  $L as EditGeometryMouseOverInteraction,
45652
45663
  NR as EnsureHandlerSelectionInteraction,
45653
- HL as EventHandler,
45654
- H as EventType,
45664
+ VL as EventHandler,
45665
+ V as EventType,
45655
45666
  tM as ExclusiveManager,
45656
45667
  qe as Extent,
45657
45668
  ms as Extent3D,
@@ -45712,7 +45723,7 @@ export {
45712
45723
  Wl as PanoramaDatasetLayer,
45713
45724
  _0 as PanoramaDatasetPanoramaImpl,
45714
45725
  eP as PanoramaFeatureHighlight,
45715
- VL as PanoramaImageSelection,
45726
+ HL as PanoramaImageSelection,
45716
45727
  Ct as PanoramaMap,
45717
45728
  Ma as PanoramaOverlayMode,
45718
45729
  FE as PanoramaTileMaterial,
@@ -45757,7 +45768,7 @@ export {
45757
45768
  Ol as URLTemplateTileProvider,
45758
45769
  fy as UrlIdAttributeProvider,
45759
45770
  Iv as VcsApp,
45760
- VQ as VcsCameraPrimitive,
45771
+ HQ as VcsCameraPrimitive,
45761
45772
  CP as VcsChildTile,
45762
45773
  _P as VcsDebugTile,
45763
45774
  R as VcsEvent,
@@ -45802,20 +45813,20 @@ export {
45802
45813
  dl as actuallyIsCircle,
45803
45814
  RG as add,
45804
45815
  Jf as alreadySnapped,
45805
- Vt as alreadyTransformedToImage,
45816
+ Ht as alreadyTransformedToImage,
45806
45817
  br as alreadyTransformedToMercator,
45807
45818
  R0 as anchorFromGeojsonFeature,
45808
45819
  BN as anchorFromViewpoint,
45809
45820
  XG as anchorToGeojsonFeature,
45810
45821
  bN as anchorToViewpoint,
45811
- Vu as angleEqualsEpsilon,
45822
+ Hu as angleEqualsEpsilon,
45812
45823
  tA as blackColor,
45813
45824
  QL as calculateMinLevel,
45814
45825
  ts as cartesian2DDistance,
45815
45826
  Br as cartesian2DDistanceSquared,
45816
45827
  Xh as cartesian3DDistance,
45817
45828
  bC as cartesian3DDistanceSquared,
45818
- HD as cartesianToImageSpherical,
45829
+ VD as cartesianToImageSpherical,
45819
45830
  En as cartesianToMercator,
45820
45831
  gn as cartographicToWgs84,
45821
45832
  MC as categoryClassRegistry,
@@ -45865,7 +45876,7 @@ export {
45865
45876
  DR as createTransformationHandler,
45866
45877
  $a as createVertex,
45867
45878
  Pi as cursorMap,
45868
- VC as defaultDeclarativeStyle,
45879
+ HC as defaultDeclarativeStyle,
45869
45880
  iR as defaultDynamicModuleId,
45870
45881
  rN as defaultExtrudedHeightCondition,
45871
45882
  kn as defaultVectorStyle,
@@ -45886,7 +45897,7 @@ export {
45886
45897
  cM as enforceRightHand,
45887
45898
  vN as exportFlightAsGeoJson,
45888
45899
  wN as exportFlightPathAsGeoJson,
45889
- Vr as featureArcStruct,
45900
+ Hr as featureArcStruct,
45890
45901
  Ya as featureExists,
45891
45902
  fd as featureFromOptions,
45892
45903
  ja as featureProviderClassRegistry,
@@ -45906,7 +45917,7 @@ export {
45906
45917
  Uc as getCartesian3Options,
45907
45918
  ws as getCartesianBearing,
45908
45919
  oQ as getCartesianPitch,
45909
- Hr as getCartographicFromPlane,
45920
+ Vr as getCartographicFromPlane,
45910
45921
  Yr as getCesiumColor,
45911
45922
  tD as getCesiumGeometriesOptions,
45912
45923
  QM as getCircleGeometryFactory,
@@ -45943,7 +45954,7 @@ export {
45943
45954
  Ni as getInitForUrl,
45944
45955
  kM as getLabelOptions,
45945
45956
  XQ as getLayerIndex,
45946
- Hp as getLineStringGeometryFactory,
45957
+ Vp as getLineStringGeometryFactory,
45947
45958
  gD as getLongestSide,
45948
45959
  fE as getMaterialAppearance,
45949
45960
  PL as getMetersPerDegreeAtCoordinate,
@@ -45991,7 +46002,7 @@ export {
45991
46002
  NE as getWMSSource,
45992
46003
  XC as getWgs84CoordinatesForPoint,
45993
46004
  Xs as getZeroInput,
45994
- VG as getZeroMovement,
46005
+ HG as getZeroMovement,
45995
46006
  fD as getZoom,
45996
46007
  LE as globalCartesianToImageSpherical,
45997
46008
  Gi as globalHidden,
@@ -46065,7 +46076,7 @@ export {
46065
46076
  JL as pointOnLine2D,
46066
46077
  YL as pointOnLine3D,
46067
46078
  _n as primitives,
46068
- HC as propertyEqualsEpsilon,
46079
+ VC as propertyEqualsEpsilon,
46069
46080
  yN as rectangleToExtent,
46070
46081
  Gp as removeEndingVertex,
46071
46082
  JC as removeEndingVertexFromGeometry,