@vitessce/zarr 3.0.0 → 3.1.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.
@@ -36779,6 +36779,10 @@ const FileType$1 = {
36779
36779
  ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
36780
36780
  };
36781
36781
  const CoordinationType$1 = {
36782
+ // Meta coordination scopes
36783
+ META_COORDINATION_SCOPES: "metaCoordinationScopes",
36784
+ META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
36785
+ // Other coordination scopes
36782
36786
  DATASET: "dataset",
36783
36787
  // Entity types
36784
36788
  OBS_TYPE: "obsType",
@@ -42551,7 +42555,7 @@ var json2csv_umd = { exports: {} };
42551
42555
  return result == "0" && 1 / value == -INFINITY2 ? "-0" : result;
42552
42556
  }
42553
42557
  function castPath(value) {
42554
- return isArray$22(value) ? value : stringToPath4(value);
42558
+ return isArray$22(value) ? value : stringToPath3(value);
42555
42559
  }
42556
42560
  function getMapData2(map2, key) {
42557
42561
  var data = map2.__data__;
@@ -42578,7 +42582,7 @@ var json2csv_umd = { exports: {} };
42578
42582
  function isMasked2(func) {
42579
42583
  return !!maskSrcKey2 && maskSrcKey2 in func;
42580
42584
  }
42581
- var stringToPath4 = memoize2(function(string) {
42585
+ var stringToPath3 = memoize2(function(string) {
42582
42586
  string = toString$12(string);
42583
42587
  var result = [];
42584
42588
  if (reLeadingDot.test(string)) {
@@ -58257,10 +58261,10 @@ const DEFAULT_LIGHT_INTENSITY$2 = 1;
58257
58261
  let idCount$2 = 0;
58258
58262
  class AmbientLight {
58259
58263
  constructor(props2 = {}) {
58260
- _defineProperty$f(this, "id", void 0);
58261
- _defineProperty$f(this, "color", void 0);
58262
- _defineProperty$f(this, "intensity", void 0);
58263
- _defineProperty$f(this, "type", "ambient");
58264
+ _defineProperty$e(this, "id", void 0);
58265
+ _defineProperty$e(this, "color", void 0);
58266
+ _defineProperty$e(this, "intensity", void 0);
58267
+ _defineProperty$e(this, "type", "ambient");
58264
58268
  const {
58265
58269
  color = DEFAULT_LIGHT_COLOR$2
58266
58270
  } = props2;
@@ -58278,12 +58282,12 @@ const DEFAULT_LIGHT_DIRECTION = [0, 0, -1];
58278
58282
  let idCount$1 = 0;
58279
58283
  class DirectionalLight {
58280
58284
  constructor(props2 = {}) {
58281
- _defineProperty$f(this, "id", void 0);
58282
- _defineProperty$f(this, "color", void 0);
58283
- _defineProperty$f(this, "intensity", void 0);
58284
- _defineProperty$f(this, "type", "directional");
58285
- _defineProperty$f(this, "direction", void 0);
58286
- _defineProperty$f(this, "shadow", void 0);
58285
+ _defineProperty$e(this, "id", void 0);
58286
+ _defineProperty$e(this, "color", void 0);
58287
+ _defineProperty$e(this, "intensity", void 0);
58288
+ _defineProperty$e(this, "type", "directional");
58289
+ _defineProperty$e(this, "direction", void 0);
58290
+ _defineProperty$e(this, "shadow", void 0);
58287
58291
  const {
58288
58292
  color = DEFAULT_LIGHT_COLOR$1
58289
58293
  } = props2;
@@ -58311,9 +58315,9 @@ class Pass {
58311
58315
  constructor(gl, props2 = {
58312
58316
  id: "pass"
58313
58317
  }) {
58314
- _defineProperty$f(this, "id", void 0);
58315
- _defineProperty$f(this, "gl", void 0);
58316
- _defineProperty$f(this, "props", void 0);
58318
+ _defineProperty$e(this, "id", void 0);
58319
+ _defineProperty$e(this, "gl", void 0);
58320
+ _defineProperty$e(this, "props", void 0);
58317
58321
  const {
58318
58322
  id
58319
58323
  } = props2;
@@ -58334,7 +58338,7 @@ class Pass {
58334
58338
  class LayersPass extends Pass {
58335
58339
  constructor(...args) {
58336
58340
  super(...args);
58337
- _defineProperty$f(this, "_lastRenderIndex", -1);
58341
+ _defineProperty$e(this, "_lastRenderIndex", -1);
58338
58342
  }
58339
58343
  render(options) {
58340
58344
  const gl = this.gl;
@@ -58581,9 +58585,9 @@ function clearGLCanvas(gl) {
58581
58585
  class ShadowPass extends LayersPass {
58582
58586
  constructor(gl, props2) {
58583
58587
  super(gl, props2);
58584
- _defineProperty$f(this, "shadowMap", void 0);
58585
- _defineProperty$f(this, "depthBuffer", void 0);
58586
- _defineProperty$f(this, "fbo", void 0);
58588
+ _defineProperty$e(this, "shadowMap", void 0);
58589
+ _defineProperty$e(this, "depthBuffer", void 0);
58590
+ _defineProperty$e(this, "fbo", void 0);
58587
58591
  this.shadowMap = new Texture2D(gl, {
58588
58592
  width: 1,
58589
58593
  height: 1,
@@ -58673,18 +58677,18 @@ const DEFAULT_DIRECTIONAL_LIGHT_PROPS = [{
58673
58677
  const DEFAULT_SHADOW_COLOR = [0, 0, 0, 200 / 255];
58674
58678
  class LightingEffect {
58675
58679
  constructor(props2 = {}) {
58676
- _defineProperty$f(this, "id", "lighting-effect");
58677
- _defineProperty$f(this, "props", null);
58678
- _defineProperty$f(this, "shadowColor", DEFAULT_SHADOW_COLOR);
58679
- _defineProperty$f(this, "shadow", void 0);
58680
- _defineProperty$f(this, "ambientLight", null);
58681
- _defineProperty$f(this, "directionalLights", []);
58682
- _defineProperty$f(this, "pointLights", []);
58683
- _defineProperty$f(this, "shadowPasses", []);
58684
- _defineProperty$f(this, "shadowMaps", []);
58685
- _defineProperty$f(this, "dummyShadowMap", null);
58686
- _defineProperty$f(this, "programManager", void 0);
58687
- _defineProperty$f(this, "shadowMatrices", void 0);
58680
+ _defineProperty$e(this, "id", "lighting-effect");
58681
+ _defineProperty$e(this, "props", null);
58682
+ _defineProperty$e(this, "shadowColor", DEFAULT_SHADOW_COLOR);
58683
+ _defineProperty$e(this, "shadow", void 0);
58684
+ _defineProperty$e(this, "ambientLight", null);
58685
+ _defineProperty$e(this, "directionalLights", []);
58686
+ _defineProperty$e(this, "pointLights", []);
58687
+ _defineProperty$e(this, "shadowPasses", []);
58688
+ _defineProperty$e(this, "shadowMaps", []);
58689
+ _defineProperty$e(this, "dummyShadowMap", null);
58690
+ _defineProperty$e(this, "programManager", void 0);
58691
+ _defineProperty$e(this, "shadowMatrices", void 0);
58688
58692
  for (const key in props2) {
58689
58693
  const lightSource = props2[key];
58690
58694
  switch (lightSource.type) {
@@ -58807,8 +58811,8 @@ class LightingEffect {
58807
58811
  }
58808
58812
  class TypedArrayManager {
58809
58813
  constructor(options = {}) {
58810
- _defineProperty$f(this, "_pool", []);
58811
- _defineProperty$f(this, "opts", {
58814
+ _defineProperty$e(this, "_pool", []);
58815
+ _defineProperty$e(this, "opts", {
58812
58816
  overAlloc: 2,
58813
58817
  poolSize: 100
58814
58818
  });
@@ -58993,30 +58997,30 @@ function createProjectionMatrix({
58993
58997
  }
58994
58998
  class Viewport {
58995
58999
  constructor(opts2 = {}) {
58996
- _defineProperty$f(this, "id", void 0);
58997
- _defineProperty$f(this, "x", void 0);
58998
- _defineProperty$f(this, "y", void 0);
58999
- _defineProperty$f(this, "width", void 0);
59000
- _defineProperty$f(this, "height", void 0);
59001
- _defineProperty$f(this, "padding", void 0);
59002
- _defineProperty$f(this, "isGeospatial", void 0);
59003
- _defineProperty$f(this, "zoom", void 0);
59004
- _defineProperty$f(this, "focalDistance", void 0);
59005
- _defineProperty$f(this, "position", void 0);
59006
- _defineProperty$f(this, "modelMatrix", void 0);
59007
- _defineProperty$f(this, "distanceScales", void 0);
59008
- _defineProperty$f(this, "scale", void 0);
59009
- _defineProperty$f(this, "center", void 0);
59010
- _defineProperty$f(this, "cameraPosition", void 0);
59011
- _defineProperty$f(this, "projectionMatrix", void 0);
59012
- _defineProperty$f(this, "viewMatrix", void 0);
59013
- _defineProperty$f(this, "viewMatrixUncentered", void 0);
59014
- _defineProperty$f(this, "viewMatrixInverse", void 0);
59015
- _defineProperty$f(this, "viewProjectionMatrix", void 0);
59016
- _defineProperty$f(this, "pixelProjectionMatrix", void 0);
59017
- _defineProperty$f(this, "pixelUnprojectionMatrix", void 0);
59018
- _defineProperty$f(this, "resolution", void 0);
59019
- _defineProperty$f(this, "_frustumPlanes", {});
59000
+ _defineProperty$e(this, "id", void 0);
59001
+ _defineProperty$e(this, "x", void 0);
59002
+ _defineProperty$e(this, "y", void 0);
59003
+ _defineProperty$e(this, "width", void 0);
59004
+ _defineProperty$e(this, "height", void 0);
59005
+ _defineProperty$e(this, "padding", void 0);
59006
+ _defineProperty$e(this, "isGeospatial", void 0);
59007
+ _defineProperty$e(this, "zoom", void 0);
59008
+ _defineProperty$e(this, "focalDistance", void 0);
59009
+ _defineProperty$e(this, "position", void 0);
59010
+ _defineProperty$e(this, "modelMatrix", void 0);
59011
+ _defineProperty$e(this, "distanceScales", void 0);
59012
+ _defineProperty$e(this, "scale", void 0);
59013
+ _defineProperty$e(this, "center", void 0);
59014
+ _defineProperty$e(this, "cameraPosition", void 0);
59015
+ _defineProperty$e(this, "projectionMatrix", void 0);
59016
+ _defineProperty$e(this, "viewMatrix", void 0);
59017
+ _defineProperty$e(this, "viewMatrixUncentered", void 0);
59018
+ _defineProperty$e(this, "viewMatrixInverse", void 0);
59019
+ _defineProperty$e(this, "viewProjectionMatrix", void 0);
59020
+ _defineProperty$e(this, "pixelProjectionMatrix", void 0);
59021
+ _defineProperty$e(this, "pixelUnprojectionMatrix", void 0);
59022
+ _defineProperty$e(this, "resolution", void 0);
59023
+ _defineProperty$e(this, "_frustumPlanes", {});
59020
59024
  this.id = opts2.id || this.constructor.displayName || "viewport";
59021
59025
  this.x = opts2.x || 0;
59022
59026
  this.y = opts2.y || 0;
@@ -59219,7 +59223,7 @@ class Viewport {
59219
59223
  }
59220
59224
  }
59221
59225
  }
59222
- _defineProperty$f(Viewport, "displayName", "Viewport");
59226
+ _defineProperty$e(Viewport, "displayName", "Viewport");
59223
59227
  const TILE_SIZE$4 = 512;
59224
59228
  const EARTH_CIRCUMFERENCE = 4003e4;
59225
59229
  const DEGREES_TO_RADIANS$3 = Math.PI / 180;
@@ -59295,15 +59299,15 @@ class WebMercatorViewport2 extends Viewport {
59295
59299
  fovy,
59296
59300
  focalDistance: altitude
59297
59301
  });
59298
- _defineProperty$f(this, "longitude", void 0);
59299
- _defineProperty$f(this, "latitude", void 0);
59300
- _defineProperty$f(this, "pitch", void 0);
59301
- _defineProperty$f(this, "bearing", void 0);
59302
- _defineProperty$f(this, "altitude", void 0);
59303
- _defineProperty$f(this, "fovy", void 0);
59304
- _defineProperty$f(this, "orthographic", void 0);
59305
- _defineProperty$f(this, "_subViewports", void 0);
59306
- _defineProperty$f(this, "_pseudoMeters", void 0);
59302
+ _defineProperty$e(this, "longitude", void 0);
59303
+ _defineProperty$e(this, "latitude", void 0);
59304
+ _defineProperty$e(this, "pitch", void 0);
59305
+ _defineProperty$e(this, "bearing", void 0);
59306
+ _defineProperty$e(this, "altitude", void 0);
59307
+ _defineProperty$e(this, "fovy", void 0);
59308
+ _defineProperty$e(this, "orthographic", void 0);
59309
+ _defineProperty$e(this, "_subViewports", void 0);
59310
+ _defineProperty$e(this, "_pseudoMeters", void 0);
59307
59311
  this.latitude = latitude;
59308
59312
  this.longitude = longitude;
59309
59313
  this.zoom = zoom;
@@ -59389,7 +59393,7 @@ class WebMercatorViewport2 extends Viewport {
59389
59393
  });
59390
59394
  }
59391
59395
  }
59392
- _defineProperty$f(WebMercatorViewport2, "displayName", "WebMercatorViewport");
59396
+ _defineProperty$e(WebMercatorViewport2, "displayName", "WebMercatorViewport");
59393
59397
  function lngLatZToWorldPosition(lngLatZ, viewport, offsetMode = false) {
59394
59398
  const p = viewport.projectPosition(lngLatZ);
59395
59399
  if (offsetMode && viewport instanceof WebMercatorViewport2) {
@@ -59485,13 +59489,13 @@ const DEFAULT_LIGHT_POSITION = [0, 0, 1];
59485
59489
  let idCount = 0;
59486
59490
  class PointLight {
59487
59491
  constructor(props2 = {}) {
59488
- _defineProperty$f(this, "id", void 0);
59489
- _defineProperty$f(this, "color", void 0);
59490
- _defineProperty$f(this, "intensity", void 0);
59491
- _defineProperty$f(this, "type", "point");
59492
- _defineProperty$f(this, "position", void 0);
59493
- _defineProperty$f(this, "attenuation", void 0);
59494
- _defineProperty$f(this, "projectedLight", void 0);
59492
+ _defineProperty$e(this, "id", void 0);
59493
+ _defineProperty$e(this, "color", void 0);
59494
+ _defineProperty$e(this, "intensity", void 0);
59495
+ _defineProperty$e(this, "type", "point");
59496
+ _defineProperty$e(this, "position", void 0);
59497
+ _defineProperty$e(this, "attenuation", void 0);
59498
+ _defineProperty$e(this, "projectedLight", void 0);
59495
59499
  const {
59496
59500
  color = DEFAULT_LIGHT_COLOR
59497
59501
  } = props2;
@@ -59648,7 +59652,7 @@ function getSunCoords(dates) {
59648
59652
  class SunLight extends DirectionalLight {
59649
59653
  constructor(opts2) {
59650
59654
  super(opts2);
59651
- _defineProperty$f(this, "timestamp", void 0);
59655
+ _defineProperty$e(this, "timestamp", void 0);
59652
59656
  this.timestamp = opts2.timestamp;
59653
59657
  }
59654
59658
  getProjectedLight({
@@ -59674,7 +59678,7 @@ class SunLight extends DirectionalLight {
59674
59678
  class ScreenPass extends Pass {
59675
59679
  constructor(gl, props2) {
59676
59680
  super(gl, props2);
59677
- _defineProperty$f(this, "model", void 0);
59681
+ _defineProperty$e(this, "model", void 0);
59678
59682
  const {
59679
59683
  module: module2,
59680
59684
  fs: fs2,
@@ -59722,10 +59726,10 @@ class ScreenPass extends Pass {
59722
59726
  }
59723
59727
  class PostProcessEffect {
59724
59728
  constructor(module2, props2 = {}) {
59725
- _defineProperty$f(this, "id", void 0);
59726
- _defineProperty$f(this, "props", void 0);
59727
- _defineProperty$f(this, "module", void 0);
59728
- _defineProperty$f(this, "passes", void 0);
59729
+ _defineProperty$e(this, "id", void 0);
59730
+ _defineProperty$e(this, "props", void 0);
59731
+ _defineProperty$e(this, "module", void 0);
59732
+ _defineProperty$e(this, "passes", void 0);
59729
59733
  this.id = "".concat(module2.name, "-pass");
59730
59734
  this.props = props2;
59731
59735
  normalizeShaderModule(module2);
@@ -59854,16 +59858,16 @@ function fillArray({
59854
59858
  }
59855
59859
  class Resource2 {
59856
59860
  constructor(id, data, context) {
59857
- _defineProperty$f(this, "id", void 0);
59858
- _defineProperty$f(this, "context", void 0);
59859
- _defineProperty$f(this, "isLoaded", void 0);
59860
- _defineProperty$f(this, "persistent", void 0);
59861
- _defineProperty$f(this, "_loadCount", 0);
59862
- _defineProperty$f(this, "_subscribers", /* @__PURE__ */ new Set());
59863
- _defineProperty$f(this, "_data", void 0);
59864
- _defineProperty$f(this, "_loader", void 0);
59865
- _defineProperty$f(this, "_error", void 0);
59866
- _defineProperty$f(this, "_content", void 0);
59861
+ _defineProperty$e(this, "id", void 0);
59862
+ _defineProperty$e(this, "context", void 0);
59863
+ _defineProperty$e(this, "isLoaded", void 0);
59864
+ _defineProperty$e(this, "persistent", void 0);
59865
+ _defineProperty$e(this, "_loadCount", 0);
59866
+ _defineProperty$e(this, "_subscribers", /* @__PURE__ */ new Set());
59867
+ _defineProperty$e(this, "_data", void 0);
59868
+ _defineProperty$e(this, "_loader", void 0);
59869
+ _defineProperty$e(this, "_error", void 0);
59870
+ _defineProperty$e(this, "_content", void 0);
59867
59871
  this.id = id;
59868
59872
  this.context = context;
59869
59873
  this.setData(data);
@@ -59921,11 +59925,11 @@ class ResourceManager {
59921
59925
  gl,
59922
59926
  protocol
59923
59927
  }) {
59924
- _defineProperty$f(this, "protocol", void 0);
59925
- _defineProperty$f(this, "_context", void 0);
59926
- _defineProperty$f(this, "_resources", void 0);
59927
- _defineProperty$f(this, "_consumers", void 0);
59928
- _defineProperty$f(this, "_pruneRequest", void 0);
59928
+ _defineProperty$e(this, "protocol", void 0);
59929
+ _defineProperty$e(this, "_context", void 0);
59930
+ _defineProperty$e(this, "_resources", void 0);
59931
+ _defineProperty$e(this, "_consumers", void 0);
59932
+ _defineProperty$e(this, "_pruneRequest", void 0);
59929
59933
  this.protocol = protocol || "resource://";
59930
59934
  this._context = {
59931
59935
  gl,
@@ -60052,15 +60056,15 @@ class LayerManager {
60052
60056
  viewport: _viewport,
60053
60057
  timeline
60054
60058
  } = {}) {
60055
- _defineProperty$f(this, "layers", void 0);
60056
- _defineProperty$f(this, "context", void 0);
60057
- _defineProperty$f(this, "resourceManager", void 0);
60058
- _defineProperty$f(this, "_lastRenderedLayers", []);
60059
- _defineProperty$f(this, "_needsRedraw", false);
60060
- _defineProperty$f(this, "_needsUpdate", false);
60061
- _defineProperty$f(this, "_nextLayers", null);
60062
- _defineProperty$f(this, "_debug", false);
60063
- _defineProperty$f(this, "activateViewport", (viewport) => {
60059
+ _defineProperty$e(this, "layers", void 0);
60060
+ _defineProperty$e(this, "context", void 0);
60061
+ _defineProperty$e(this, "resourceManager", void 0);
60062
+ _defineProperty$e(this, "_lastRenderedLayers", []);
60063
+ _defineProperty$e(this, "_needsRedraw", false);
60064
+ _defineProperty$e(this, "_needsUpdate", false);
60065
+ _defineProperty$e(this, "_nextLayers", null);
60066
+ _defineProperty$e(this, "_debug", false);
60067
+ _defineProperty$e(this, "activateViewport", (viewport) => {
60064
60068
  debug(TRACE_ACTIVATE_VIEWPORT, this, viewport);
60065
60069
  if (viewport) {
60066
60070
  this.context.viewport = viewport;
@@ -60271,19 +60275,19 @@ function deepEqual$2(a2, b) {
60271
60275
  }
60272
60276
  class ViewManager {
60273
60277
  constructor(props2) {
60274
- _defineProperty$f(this, "width", void 0);
60275
- _defineProperty$f(this, "height", void 0);
60276
- _defineProperty$f(this, "views", void 0);
60277
- _defineProperty$f(this, "viewState", void 0);
60278
- _defineProperty$f(this, "controllers", void 0);
60279
- _defineProperty$f(this, "timeline", void 0);
60280
- _defineProperty$f(this, "_viewports", void 0);
60281
- _defineProperty$f(this, "_viewportMap", void 0);
60282
- _defineProperty$f(this, "_isUpdating", void 0);
60283
- _defineProperty$f(this, "_needsRedraw", void 0);
60284
- _defineProperty$f(this, "_needsUpdate", void 0);
60285
- _defineProperty$f(this, "_eventManager", void 0);
60286
- _defineProperty$f(this, "_eventCallbacks", void 0);
60278
+ _defineProperty$e(this, "width", void 0);
60279
+ _defineProperty$e(this, "height", void 0);
60280
+ _defineProperty$e(this, "views", void 0);
60281
+ _defineProperty$e(this, "viewState", void 0);
60282
+ _defineProperty$e(this, "controllers", void 0);
60283
+ _defineProperty$e(this, "timeline", void 0);
60284
+ _defineProperty$e(this, "_viewports", void 0);
60285
+ _defineProperty$e(this, "_viewportMap", void 0);
60286
+ _defineProperty$e(this, "_isUpdating", void 0);
60287
+ _defineProperty$e(this, "_needsRedraw", void 0);
60288
+ _defineProperty$e(this, "_needsUpdate", void 0);
60289
+ _defineProperty$e(this, "_eventManager", void 0);
60290
+ _defineProperty$e(this, "_eventCallbacks", void 0);
60287
60291
  this.views = [];
60288
60292
  this.width = 100;
60289
60293
  this.height = 100;
@@ -60557,14 +60561,14 @@ function assert$4(condition, message) {
60557
60561
  }
60558
60562
  class View {
60559
60563
  constructor(props2) {
60560
- _defineProperty$f(this, "id", void 0);
60561
- _defineProperty$f(this, "viewportInstance", void 0);
60562
- _defineProperty$f(this, "_x", void 0);
60563
- _defineProperty$f(this, "_y", void 0);
60564
- _defineProperty$f(this, "_width", void 0);
60565
- _defineProperty$f(this, "_height", void 0);
60566
- _defineProperty$f(this, "_padding", void 0);
60567
- _defineProperty$f(this, "props", void 0);
60564
+ _defineProperty$e(this, "id", void 0);
60565
+ _defineProperty$e(this, "viewportInstance", void 0);
60566
+ _defineProperty$e(this, "_x", void 0);
60567
+ _defineProperty$e(this, "_y", void 0);
60568
+ _defineProperty$e(this, "_width", void 0);
60569
+ _defineProperty$e(this, "_height", void 0);
60570
+ _defineProperty$e(this, "_padding", void 0);
60571
+ _defineProperty$e(this, "props", void 0);
60568
60572
  const {
60569
60573
  id,
60570
60574
  x: x2 = 0,
@@ -60691,11 +60695,11 @@ class View {
60691
60695
  }
60692
60696
  class Transition {
60693
60697
  constructor(timeline) {
60694
- _defineProperty$f(this, "_inProgress", void 0);
60695
- _defineProperty$f(this, "_handle", void 0);
60696
- _defineProperty$f(this, "_timeline", void 0);
60697
- _defineProperty$f(this, "time", void 0);
60698
- _defineProperty$f(this, "settings", void 0);
60698
+ _defineProperty$e(this, "_inProgress", void 0);
60699
+ _defineProperty$e(this, "_handle", void 0);
60700
+ _defineProperty$e(this, "_timeline", void 0);
60701
+ _defineProperty$e(this, "time", void 0);
60702
+ _defineProperty$e(this, "settings", void 0);
60699
60703
  this._inProgress = false;
60700
60704
  this._handle = null;
60701
60705
  this._timeline = timeline;
@@ -60769,13 +60773,13 @@ const DEFAULT_EASING = (t2) => t2;
60769
60773
  const DEFAULT_INTERRUPTION = TRANSITION_EVENTS.BREAK;
60770
60774
  class TransitionManager {
60771
60775
  constructor(opts2) {
60772
- _defineProperty$f(this, "getControllerState", void 0);
60773
- _defineProperty$f(this, "props", void 0);
60774
- _defineProperty$f(this, "propsInTransition", void 0);
60775
- _defineProperty$f(this, "transition", void 0);
60776
- _defineProperty$f(this, "onViewStateChange", void 0);
60777
- _defineProperty$f(this, "onStateChange", void 0);
60778
- _defineProperty$f(this, "_onTransitionUpdate", (transition) => {
60776
+ _defineProperty$e(this, "getControllerState", void 0);
60777
+ _defineProperty$e(this, "props", void 0);
60778
+ _defineProperty$e(this, "propsInTransition", void 0);
60779
+ _defineProperty$e(this, "transition", void 0);
60780
+ _defineProperty$e(this, "onViewStateChange", void 0);
60781
+ _defineProperty$e(this, "onStateChange", void 0);
60782
+ _defineProperty$e(this, "_onTransitionUpdate", (transition) => {
60779
60783
  const {
60780
60784
  time,
60781
60785
  settings: {
@@ -60903,9 +60907,9 @@ class TransitionManager {
60903
60907
  }
60904
60908
  class TransitionInterpolator {
60905
60909
  constructor(opts2) {
60906
- _defineProperty$f(this, "_propsToCompare", void 0);
60907
- _defineProperty$f(this, "_propsToExtract", void 0);
60908
- _defineProperty$f(this, "_requiredProps", void 0);
60910
+ _defineProperty$e(this, "_propsToCompare", void 0);
60911
+ _defineProperty$e(this, "_propsToExtract", void 0);
60912
+ _defineProperty$e(this, "_requiredProps", void 0);
60909
60913
  const {
60910
60914
  compare: compare2,
60911
60915
  extract,
@@ -60966,7 +60970,7 @@ class LinearInterpolator extends TransitionInterpolator {
60966
60970
  required: DEFAULT_REQUIRED_PROPS
60967
60971
  };
60968
60972
  super(normalizedOpts.transitionProps);
60969
- _defineProperty$f(this, "opts", void 0);
60973
+ _defineProperty$e(this, "opts", void 0);
60970
60974
  this.opts = normalizedOpts;
60971
60975
  }
60972
60976
  initializeProps(startProps, endProps) {
@@ -61020,31 +61024,31 @@ const EVENT_TYPES = {
61020
61024
  const pinchEventWorkaround = {};
61021
61025
  class Controller {
61022
61026
  constructor(opts2) {
61023
- _defineProperty$f(this, "props", void 0);
61024
- _defineProperty$f(this, "state", {});
61025
- _defineProperty$f(this, "transitionManager", void 0);
61026
- _defineProperty$f(this, "eventManager", void 0);
61027
- _defineProperty$f(this, "onViewStateChange", void 0);
61028
- _defineProperty$f(this, "onStateChange", void 0);
61029
- _defineProperty$f(this, "makeViewport", void 0);
61030
- _defineProperty$f(this, "_controllerState", void 0);
61031
- _defineProperty$f(this, "_events", {});
61032
- _defineProperty$f(this, "_interactionState", {
61027
+ _defineProperty$e(this, "props", void 0);
61028
+ _defineProperty$e(this, "state", {});
61029
+ _defineProperty$e(this, "transitionManager", void 0);
61030
+ _defineProperty$e(this, "eventManager", void 0);
61031
+ _defineProperty$e(this, "onViewStateChange", void 0);
61032
+ _defineProperty$e(this, "onStateChange", void 0);
61033
+ _defineProperty$e(this, "makeViewport", void 0);
61034
+ _defineProperty$e(this, "_controllerState", void 0);
61035
+ _defineProperty$e(this, "_events", {});
61036
+ _defineProperty$e(this, "_interactionState", {
61033
61037
  isDragging: false
61034
61038
  });
61035
- _defineProperty$f(this, "_customEvents", []);
61036
- _defineProperty$f(this, "_eventStartBlocked", null);
61037
- _defineProperty$f(this, "_panMove", false);
61038
- _defineProperty$f(this, "invertPan", false);
61039
- _defineProperty$f(this, "dragMode", "rotate");
61040
- _defineProperty$f(this, "inertia", 0);
61041
- _defineProperty$f(this, "scrollZoom", true);
61042
- _defineProperty$f(this, "dragPan", true);
61043
- _defineProperty$f(this, "dragRotate", true);
61044
- _defineProperty$f(this, "doubleClickZoom", true);
61045
- _defineProperty$f(this, "touchZoom", true);
61046
- _defineProperty$f(this, "touchRotate", false);
61047
- _defineProperty$f(this, "keyboard", true);
61039
+ _defineProperty$e(this, "_customEvents", []);
61040
+ _defineProperty$e(this, "_eventStartBlocked", null);
61041
+ _defineProperty$e(this, "_panMove", false);
61042
+ _defineProperty$e(this, "invertPan", false);
61043
+ _defineProperty$e(this, "dragMode", "rotate");
61044
+ _defineProperty$e(this, "inertia", 0);
61045
+ _defineProperty$e(this, "scrollZoom", true);
61046
+ _defineProperty$e(this, "dragPan", true);
61047
+ _defineProperty$e(this, "dragRotate", true);
61048
+ _defineProperty$e(this, "doubleClickZoom", true);
61049
+ _defineProperty$e(this, "touchZoom", true);
61050
+ _defineProperty$e(this, "touchRotate", false);
61051
+ _defineProperty$e(this, "keyboard", true);
61048
61052
  this.transitionManager = new TransitionManager({
61049
61053
  ...opts2,
61050
61054
  getControllerState: (props2) => new this.ControllerState(props2),
@@ -61655,8 +61659,8 @@ class Controller {
61655
61659
  }
61656
61660
  class ViewState {
61657
61661
  constructor(props2, state) {
61658
- _defineProperty$f(this, "_viewportProps", void 0);
61659
- _defineProperty$f(this, "_state", void 0);
61662
+ _defineProperty$e(this, "_viewportProps", void 0);
61663
+ _defineProperty$e(this, "_state", void 0);
61660
61664
  this._viewportProps = this.applyConstraints(props2);
61661
61665
  this._state = state;
61662
61666
  }
@@ -61719,7 +61723,7 @@ class MapState extends ViewState {
61719
61723
  startPitch,
61720
61724
  startZoom
61721
61725
  });
61722
- _defineProperty$f(this, "makeViewport", void 0);
61726
+ _defineProperty$e(this, "makeViewport", void 0);
61723
61727
  this.makeViewport = options.makeViewport;
61724
61728
  }
61725
61729
  panStart({
@@ -61979,8 +61983,8 @@ class MapState extends ViewState {
61979
61983
  class MapController extends Controller {
61980
61984
  constructor(...args) {
61981
61985
  super(...args);
61982
- _defineProperty$f(this, "ControllerState", MapState);
61983
- _defineProperty$f(this, "transition", {
61986
+ _defineProperty$e(this, "ControllerState", MapState);
61987
+ _defineProperty$e(this, "transition", {
61984
61988
  transitionDuration: 300,
61985
61989
  transitionInterpolator: new LinearInterpolator({
61986
61990
  transitionProps: {
@@ -61989,7 +61993,7 @@ class MapController extends Controller {
61989
61993
  }
61990
61994
  })
61991
61995
  });
61992
- _defineProperty$f(this, "dragMode", "pan");
61996
+ _defineProperty$e(this, "dragMode", "pan");
61993
61997
  }
61994
61998
  setProps(props2) {
61995
61999
  props2.position = props2.position || [0, 0, 0];
@@ -62013,12 +62017,12 @@ class MapView extends View {
62013
62017
  return MapController;
62014
62018
  }
62015
62019
  }
62016
- _defineProperty$f(MapView, "displayName", "MapView");
62020
+ _defineProperty$e(MapView, "displayName", "MapView");
62017
62021
  class MaskPass extends LayersPass {
62018
62022
  constructor(gl, props2) {
62019
62023
  super(gl, props2);
62020
- _defineProperty$f(this, "maskMap", void 0);
62021
- _defineProperty$f(this, "fbo", void 0);
62024
+ _defineProperty$e(this, "maskMap", void 0);
62025
+ _defineProperty$e(this, "fbo", void 0);
62022
62026
  const {
62023
62027
  mapSize = 2048
62024
62028
  } = props2;
@@ -62205,7 +62209,7 @@ class OrbitState extends ViewState {
62205
62209
  startZoomPosition,
62206
62210
  startZoom
62207
62211
  });
62208
- _defineProperty$f(this, "makeViewport", void 0);
62212
+ _defineProperty$e(this, "makeViewport", void 0);
62209
62213
  this.makeViewport = options.makeViewport;
62210
62214
  }
62211
62215
  panStart({
@@ -62442,8 +62446,8 @@ class OrbitState extends ViewState {
62442
62446
  class OrbitController extends Controller {
62443
62447
  constructor(...args) {
62444
62448
  super(...args);
62445
- _defineProperty$f(this, "ControllerState", OrbitState);
62446
- _defineProperty$f(this, "transition", {
62449
+ _defineProperty$e(this, "ControllerState", OrbitState);
62450
+ _defineProperty$e(this, "transition", {
62447
62451
  transitionDuration: 300,
62448
62452
  transitionInterpolator: new LinearInterpolator({
62449
62453
  transitionProps: {
@@ -62457,7 +62461,7 @@ class OrbitController extends Controller {
62457
62461
  class OrthographicState extends OrbitState {
62458
62462
  constructor(props2) {
62459
62463
  super(props2);
62460
- _defineProperty$f(this, "zoomAxis", void 0);
62464
+ _defineProperty$e(this, "zoomAxis", void 0);
62461
62465
  this.zoomAxis = props2.zoomAxis || "all";
62462
62466
  }
62463
62467
  _calculateNewZoom({
@@ -62501,12 +62505,12 @@ class OrthographicState extends OrbitState {
62501
62505
  class OrthographicController extends Controller {
62502
62506
  constructor(...args) {
62503
62507
  super(...args);
62504
- _defineProperty$f(this, "ControllerState", OrthographicState);
62505
- _defineProperty$f(this, "transition", {
62508
+ _defineProperty$e(this, "ControllerState", OrthographicState);
62509
+ _defineProperty$e(this, "transition", {
62506
62510
  transitionDuration: 300,
62507
62511
  transitionInterpolator: new LinearInterpolator(["target", "zoom"])
62508
62512
  });
62509
- _defineProperty$f(this, "dragMode", "pan");
62513
+ _defineProperty$e(this, "dragMode", "pan");
62510
62514
  }
62511
62515
  _onPanRotate() {
62512
62516
  return false;
@@ -62520,7 +62524,7 @@ class OrthographicView extends View {
62520
62524
  return OrthographicController;
62521
62525
  }
62522
62526
  }
62523
- _defineProperty$f(OrthographicView, "displayName", "OrthographicView");
62527
+ _defineProperty$e(OrthographicView, "displayName", "OrthographicView");
62524
62528
  function getMaskBounds({
62525
62529
  layers,
62526
62530
  viewport
@@ -62613,15 +62617,15 @@ function _doubleBounds(bounds2) {
62613
62617
  }
62614
62618
  class MaskEffect {
62615
62619
  constructor() {
62616
- _defineProperty$f(this, "id", "mask-effect");
62617
- _defineProperty$f(this, "props", null);
62618
- _defineProperty$f(this, "useInPicking", true);
62619
- _defineProperty$f(this, "dummyMaskMap", void 0);
62620
- _defineProperty$f(this, "channels", []);
62621
- _defineProperty$f(this, "masks", null);
62622
- _defineProperty$f(this, "maskPass", void 0);
62623
- _defineProperty$f(this, "maskMap", void 0);
62624
- _defineProperty$f(this, "lastViewport", void 0);
62620
+ _defineProperty$e(this, "id", "mask-effect");
62621
+ _defineProperty$e(this, "props", null);
62622
+ _defineProperty$e(this, "useInPicking", true);
62623
+ _defineProperty$e(this, "dummyMaskMap", void 0);
62624
+ _defineProperty$e(this, "channels", []);
62625
+ _defineProperty$e(this, "masks", null);
62626
+ _defineProperty$e(this, "maskPass", void 0);
62627
+ _defineProperty$e(this, "maskMap", void 0);
62628
+ _defineProperty$e(this, "lastViewport", void 0);
62625
62629
  }
62626
62630
  preRender(gl, {
62627
62631
  layers,
@@ -62781,9 +62785,9 @@ class MaskEffect {
62781
62785
  const DEFAULT_LIGHTING_EFFECT = new LightingEffect();
62782
62786
  class EffectManager {
62783
62787
  constructor() {
62784
- _defineProperty$f(this, "effects", void 0);
62785
- _defineProperty$f(this, "_internalEffects", void 0);
62786
- _defineProperty$f(this, "_needsRedraw", void 0);
62788
+ _defineProperty$e(this, "effects", void 0);
62789
+ _defineProperty$e(this, "_internalEffects", void 0);
62790
+ _defineProperty$e(this, "_needsRedraw", void 0);
62787
62791
  this.effects = [];
62788
62792
  this._internalEffects = [];
62789
62793
  this._needsRedraw = "Initial render";
@@ -62844,8 +62848,8 @@ const PICKING_PARAMETERS = {
62844
62848
  class PickLayersPass extends LayersPass {
62845
62849
  constructor(...args) {
62846
62850
  super(...args);
62847
- _defineProperty$f(this, "pickZ", void 0);
62848
- _defineProperty$f(this, "_colors", null);
62851
+ _defineProperty$e(this, "pickZ", void 0);
62852
+ _defineProperty$e(this, "_colors", null);
62849
62853
  }
62850
62854
  render(props2) {
62851
62855
  if (props2.pickingFBO) {
@@ -63276,13 +63280,13 @@ function getViewportFromCoordinates(viewports, pixel) {
63276
63280
  }
63277
63281
  class DeckPicker {
63278
63282
  constructor(gl) {
63279
- _defineProperty$f(this, "gl", void 0);
63280
- _defineProperty$f(this, "pickingFBO", void 0);
63281
- _defineProperty$f(this, "depthFBO", void 0);
63282
- _defineProperty$f(this, "pickLayersPass", void 0);
63283
- _defineProperty$f(this, "layerFilter", void 0);
63284
- _defineProperty$f(this, "lastPickedInfo", void 0);
63285
- _defineProperty$f(this, "_pickable", true);
63283
+ _defineProperty$e(this, "gl", void 0);
63284
+ _defineProperty$e(this, "pickingFBO", void 0);
63285
+ _defineProperty$e(this, "depthFBO", void 0);
63286
+ _defineProperty$e(this, "pickLayersPass", void 0);
63287
+ _defineProperty$e(this, "layerFilter", void 0);
63288
+ _defineProperty$e(this, "lastPickedInfo", void 0);
63289
+ _defineProperty$e(this, "_pickable", true);
63286
63290
  this.gl = gl;
63287
63291
  this.pickLayersPass = new PickLayersPass(gl);
63288
63292
  this.lastPickedInfo = {
@@ -63654,8 +63658,8 @@ const defaultStyle = {
63654
63658
  };
63655
63659
  class Tooltip {
63656
63660
  constructor(canvas) {
63657
- _defineProperty$f(this, "el", null);
63658
- _defineProperty$f(this, "isVisible", false);
63661
+ _defineProperty$e(this, "el", null);
63662
+ _defineProperty$e(this, "isVisible", false);
63659
63663
  const canvasParent = canvas.parentElement;
63660
63664
  if (canvasParent) {
63661
63665
  this.el = document.createElement("div");
@@ -66385,28 +66389,28 @@ const defaultProps$M = {
66385
66389
  };
66386
66390
  class Deck {
66387
66391
  constructor(props2) {
66388
- _defineProperty$f(this, "props", void 0);
66389
- _defineProperty$f(this, "width", 0);
66390
- _defineProperty$f(this, "height", 0);
66391
- _defineProperty$f(this, "userData", {});
66392
- _defineProperty$f(this, "canvas", null);
66393
- _defineProperty$f(this, "viewManager", null);
66394
- _defineProperty$f(this, "layerManager", null);
66395
- _defineProperty$f(this, "effectManager", null);
66396
- _defineProperty$f(this, "deckRenderer", null);
66397
- _defineProperty$f(this, "deckPicker", null);
66398
- _defineProperty$f(this, "eventManager", null);
66399
- _defineProperty$f(this, "tooltip", null);
66400
- _defineProperty$f(this, "metrics", void 0);
66401
- _defineProperty$f(this, "animationLoop", void 0);
66402
- _defineProperty$f(this, "stats", void 0);
66403
- _defineProperty$f(this, "viewState", void 0);
66404
- _defineProperty$f(this, "cursorState", void 0);
66405
- _defineProperty$f(this, "_needsRedraw", void 0);
66406
- _defineProperty$f(this, "_pickRequest", void 0);
66407
- _defineProperty$f(this, "_lastPointerDownInfo", null);
66408
- _defineProperty$f(this, "_metricsCounter", void 0);
66409
- _defineProperty$f(this, "_onPointerMove", (event) => {
66392
+ _defineProperty$e(this, "props", void 0);
66393
+ _defineProperty$e(this, "width", 0);
66394
+ _defineProperty$e(this, "height", 0);
66395
+ _defineProperty$e(this, "userData", {});
66396
+ _defineProperty$e(this, "canvas", null);
66397
+ _defineProperty$e(this, "viewManager", null);
66398
+ _defineProperty$e(this, "layerManager", null);
66399
+ _defineProperty$e(this, "effectManager", null);
66400
+ _defineProperty$e(this, "deckRenderer", null);
66401
+ _defineProperty$e(this, "deckPicker", null);
66402
+ _defineProperty$e(this, "eventManager", null);
66403
+ _defineProperty$e(this, "tooltip", null);
66404
+ _defineProperty$e(this, "metrics", void 0);
66405
+ _defineProperty$e(this, "animationLoop", void 0);
66406
+ _defineProperty$e(this, "stats", void 0);
66407
+ _defineProperty$e(this, "viewState", void 0);
66408
+ _defineProperty$e(this, "cursorState", void 0);
66409
+ _defineProperty$e(this, "_needsRedraw", void 0);
66410
+ _defineProperty$e(this, "_pickRequest", void 0);
66411
+ _defineProperty$e(this, "_lastPointerDownInfo", null);
66412
+ _defineProperty$e(this, "_metricsCounter", void 0);
66413
+ _defineProperty$e(this, "_onPointerMove", (event) => {
66410
66414
  const {
66411
66415
  _pickRequest
66412
66416
  } = this;
@@ -66433,7 +66437,7 @@ class Deck {
66433
66437
  }
66434
66438
  _pickRequest.event = event;
66435
66439
  });
66436
- _defineProperty$f(this, "_onEvent", (event) => {
66440
+ _defineProperty$e(this, "_onEvent", (event) => {
66437
66441
  const eventOptions = EVENTS[event.type];
66438
66442
  const pos = event.offsetCenter;
66439
66443
  if (!eventOptions || !pos || !this.layerManager) {
@@ -66459,7 +66463,7 @@ class Deck {
66459
66463
  rootHandler(info, event);
66460
66464
  }
66461
66465
  });
66462
- _defineProperty$f(this, "_onPointerDown", (event) => {
66466
+ _defineProperty$e(this, "_onPointerDown", (event) => {
66463
66467
  const pos = event.offsetCenter;
66464
66468
  const pickedInfo = this._pick("pickObject", "pickObject Time", {
66465
66469
  x: pos.x,
@@ -66971,12 +66975,12 @@ class Deck {
66971
66975
  metrics.gpuMemory = memoryStats.get("GPU Memory").count;
66972
66976
  }
66973
66977
  }
66974
- _defineProperty$f(Deck, "defaultProps", defaultProps$M);
66975
- _defineProperty$f(Deck, "VERSION", deckGlobal.VERSION);
66978
+ _defineProperty$e(Deck, "defaultProps", defaultProps$M);
66979
+ _defineProperty$e(Deck, "VERSION", deckGlobal.VERSION);
66976
66980
  class ShaderAttribute {
66977
66981
  constructor(dataColumn, opts2) {
66978
- _defineProperty$f(this, "opts", void 0);
66979
- _defineProperty$f(this, "source", void 0);
66982
+ _defineProperty$e(this, "opts", void 0);
66983
+ _defineProperty$e(this, "source", void 0);
66980
66984
  this.opts = opts2;
66981
66985
  this.source = dataColumn;
66982
66986
  }
@@ -67066,14 +67070,14 @@ function resolveDoublePrecisionShaderAttributes(baseAccessor, shaderAttributeOpt
67066
67070
  }
67067
67071
  class DataColumn {
67068
67072
  constructor(gl, opts2, state) {
67069
- _defineProperty$f(this, "gl", void 0);
67070
- _defineProperty$f(this, "id", void 0);
67071
- _defineProperty$f(this, "size", void 0);
67072
- _defineProperty$f(this, "settings", void 0);
67073
- _defineProperty$f(this, "value", void 0);
67074
- _defineProperty$f(this, "doublePrecision", void 0);
67075
- _defineProperty$f(this, "_buffer", void 0);
67076
- _defineProperty$f(this, "state", void 0);
67073
+ _defineProperty$e(this, "gl", void 0);
67074
+ _defineProperty$e(this, "id", void 0);
67075
+ _defineProperty$e(this, "size", void 0);
67076
+ _defineProperty$e(this, "settings", void 0);
67077
+ _defineProperty$e(this, "value", void 0);
67078
+ _defineProperty$e(this, "doublePrecision", void 0);
67079
+ _defineProperty$e(this, "_buffer", void 0);
67080
+ _defineProperty$e(this, "state", void 0);
67077
67081
  this.gl = gl;
67078
67082
  this.id = opts2.id || "";
67079
67083
  this.size = opts2.size || 1;
@@ -67726,7 +67730,7 @@ class Attribute extends DataColumn {
67726
67730
  needsRedraw: false,
67727
67731
  updateRanges: FULL
67728
67732
  });
67729
- _defineProperty$f(this, "constant", false);
67733
+ _defineProperty$e(this, "constant", false);
67730
67734
  this.settings.update = opts2.update || (opts2.accessor ? this._autoUpdater : void 0);
67731
67735
  Object.seal(this.settings);
67732
67736
  Object.seal(this.state);
@@ -68048,16 +68052,16 @@ class GPUInterpolationTransition {
68048
68052
  attribute,
68049
68053
  timeline
68050
68054
  }) {
68051
- _defineProperty$f(this, "gl", void 0);
68052
- _defineProperty$f(this, "type", "interpolation");
68053
- _defineProperty$f(this, "attributeInTransition", void 0);
68054
- _defineProperty$f(this, "settings", void 0);
68055
- _defineProperty$f(this, "attribute", void 0);
68056
- _defineProperty$f(this, "transition", void 0);
68057
- _defineProperty$f(this, "currentStartIndices", void 0);
68058
- _defineProperty$f(this, "currentLength", void 0);
68059
- _defineProperty$f(this, "transform", void 0);
68060
- _defineProperty$f(this, "buffers", void 0);
68055
+ _defineProperty$e(this, "gl", void 0);
68056
+ _defineProperty$e(this, "type", "interpolation");
68057
+ _defineProperty$e(this, "attributeInTransition", void 0);
68058
+ _defineProperty$e(this, "settings", void 0);
68059
+ _defineProperty$e(this, "attribute", void 0);
68060
+ _defineProperty$e(this, "transition", void 0);
68061
+ _defineProperty$e(this, "currentStartIndices", void 0);
68062
+ _defineProperty$e(this, "currentLength", void 0);
68063
+ _defineProperty$e(this, "transform", void 0);
68064
+ _defineProperty$e(this, "buffers", void 0);
68061
68065
  this.gl = gl;
68062
68066
  this.transition = new Transition(timeline);
68063
68067
  this.attribute = attribute;
@@ -68165,18 +68169,18 @@ class GPUSpringTransition {
68165
68169
  attribute,
68166
68170
  timeline
68167
68171
  }) {
68168
- _defineProperty$f(this, "gl", void 0);
68169
- _defineProperty$f(this, "type", "spring");
68170
- _defineProperty$f(this, "attributeInTransition", void 0);
68171
- _defineProperty$f(this, "settings", void 0);
68172
- _defineProperty$f(this, "attribute", void 0);
68173
- _defineProperty$f(this, "transition", void 0);
68174
- _defineProperty$f(this, "currentStartIndices", void 0);
68175
- _defineProperty$f(this, "currentLength", void 0);
68176
- _defineProperty$f(this, "texture", void 0);
68177
- _defineProperty$f(this, "framebuffer", void 0);
68178
- _defineProperty$f(this, "transform", void 0);
68179
- _defineProperty$f(this, "buffers", void 0);
68172
+ _defineProperty$e(this, "gl", void 0);
68173
+ _defineProperty$e(this, "type", "spring");
68174
+ _defineProperty$e(this, "attributeInTransition", void 0);
68175
+ _defineProperty$e(this, "settings", void 0);
68176
+ _defineProperty$e(this, "attribute", void 0);
68177
+ _defineProperty$e(this, "transition", void 0);
68178
+ _defineProperty$e(this, "currentStartIndices", void 0);
68179
+ _defineProperty$e(this, "currentLength", void 0);
68180
+ _defineProperty$e(this, "texture", void 0);
68181
+ _defineProperty$e(this, "framebuffer", void 0);
68182
+ _defineProperty$e(this, "transform", void 0);
68183
+ _defineProperty$e(this, "buffers", void 0);
68180
68184
  this.gl = gl;
68181
68185
  this.type = "spring";
68182
68186
  this.transition = new Transition(timeline);
@@ -68338,13 +68342,13 @@ class AttributeTransitionManager {
68338
68342
  id,
68339
68343
  timeline
68340
68344
  }) {
68341
- _defineProperty$f(this, "id", void 0);
68342
- _defineProperty$f(this, "isSupported", void 0);
68343
- _defineProperty$f(this, "gl", void 0);
68344
- _defineProperty$f(this, "timeline", void 0);
68345
- _defineProperty$f(this, "transitions", void 0);
68346
- _defineProperty$f(this, "needsRedraw", void 0);
68347
- _defineProperty$f(this, "numInstances", void 0);
68345
+ _defineProperty$e(this, "id", void 0);
68346
+ _defineProperty$e(this, "isSupported", void 0);
68347
+ _defineProperty$e(this, "gl", void 0);
68348
+ _defineProperty$e(this, "timeline", void 0);
68349
+ _defineProperty$e(this, "transitions", void 0);
68350
+ _defineProperty$e(this, "needsRedraw", void 0);
68351
+ _defineProperty$e(this, "numInstances", void 0);
68348
68352
  this.id = id;
68349
68353
  this.gl = gl;
68350
68354
  this.timeline = timeline;
@@ -68451,14 +68455,14 @@ class AttributeManager {
68451
68455
  stats,
68452
68456
  timeline
68453
68457
  } = {}) {
68454
- _defineProperty$f(this, "id", void 0);
68455
- _defineProperty$f(this, "gl", void 0);
68456
- _defineProperty$f(this, "attributes", void 0);
68457
- _defineProperty$f(this, "updateTriggers", void 0);
68458
- _defineProperty$f(this, "needsRedraw", void 0);
68459
- _defineProperty$f(this, "userData", void 0);
68460
- _defineProperty$f(this, "stats", void 0);
68461
- _defineProperty$f(this, "attributeTransitionManager", void 0);
68458
+ _defineProperty$e(this, "id", void 0);
68459
+ _defineProperty$e(this, "gl", void 0);
68460
+ _defineProperty$e(this, "attributes", void 0);
68461
+ _defineProperty$e(this, "updateTriggers", void 0);
68462
+ _defineProperty$e(this, "needsRedraw", void 0);
68463
+ _defineProperty$e(this, "userData", void 0);
68464
+ _defineProperty$e(this, "stats", void 0);
68465
+ _defineProperty$e(this, "attributeTransitionManager", void 0);
68462
68466
  this.id = id;
68463
68467
  this.gl = gl;
68464
68468
  this.attributes = {};
@@ -69437,9 +69441,9 @@ function getComponentName(componentClass) {
69437
69441
  let counter = 0;
69438
69442
  class Component {
69439
69443
  constructor(...propObjects) {
69440
- _defineProperty$f(this, "id", void 0);
69441
- _defineProperty$f(this, "props", void 0);
69442
- _defineProperty$f(this, "count", void 0);
69444
+ _defineProperty$e(this, "id", void 0);
69445
+ _defineProperty$e(this, "props", void 0);
69446
+ _defineProperty$e(this, "count", void 0);
69443
69447
  this.props = createProps(this, propObjects);
69444
69448
  this.id = this.props.id;
69445
69449
  this.count = counter++;
@@ -69463,16 +69467,16 @@ class Component {
69463
69467
  });
69464
69468
  }
69465
69469
  }
69466
- _defineProperty$f(Component, "componentName", "Component");
69467
- _defineProperty$f(Component, "defaultProps", {});
69470
+ _defineProperty$e(Component, "componentName", "Component");
69471
+ _defineProperty$e(Component, "defaultProps", {});
69468
69472
  const EMPTY_PROPS = Object.freeze({});
69469
69473
  class ComponentState {
69470
69474
  constructor(component) {
69471
- _defineProperty$f(this, "component", void 0);
69472
- _defineProperty$f(this, "onAsyncPropUpdated", void 0);
69473
- _defineProperty$f(this, "asyncProps", void 0);
69474
- _defineProperty$f(this, "oldProps", void 0);
69475
- _defineProperty$f(this, "oldAsyncProps", void 0);
69475
+ _defineProperty$e(this, "component", void 0);
69476
+ _defineProperty$e(this, "onAsyncPropUpdated", void 0);
69477
+ _defineProperty$e(this, "asyncProps", void 0);
69478
+ _defineProperty$e(this, "oldProps", void 0);
69479
+ _defineProperty$e(this, "oldAsyncProps", void 0);
69476
69480
  this.component = component;
69477
69481
  this.asyncProps = {};
69478
69482
  this.onAsyncPropUpdated = () => {
@@ -69675,15 +69679,15 @@ class LayerState extends ComponentState {
69675
69679
  layer
69676
69680
  }) {
69677
69681
  super(layer);
69678
- _defineProperty$f(this, "attributeManager", void 0);
69679
- _defineProperty$f(this, "needsRedraw", void 0);
69680
- _defineProperty$f(this, "needsUpdate", void 0);
69681
- _defineProperty$f(this, "subLayers", void 0);
69682
- _defineProperty$f(this, "usesPickingColorCache", void 0);
69683
- _defineProperty$f(this, "changeFlags", void 0);
69684
- _defineProperty$f(this, "viewport", void 0);
69685
- _defineProperty$f(this, "uniformTransitions", void 0);
69686
- _defineProperty$f(this, "propsInTransition", void 0);
69682
+ _defineProperty$e(this, "attributeManager", void 0);
69683
+ _defineProperty$e(this, "needsRedraw", void 0);
69684
+ _defineProperty$e(this, "needsUpdate", void 0);
69685
+ _defineProperty$e(this, "subLayers", void 0);
69686
+ _defineProperty$e(this, "usesPickingColorCache", void 0);
69687
+ _defineProperty$e(this, "changeFlags", void 0);
69688
+ _defineProperty$e(this, "viewport", void 0);
69689
+ _defineProperty$e(this, "uniformTransitions", void 0);
69690
+ _defineProperty$e(this, "propsInTransition", void 0);
69687
69691
  this.attributeManager = attributeManager;
69688
69692
  this.needsRedraw = true;
69689
69693
  this.needsUpdate = true;
@@ -69903,11 +69907,11 @@ const defaultProps$L = {
69903
69907
  class Layer extends Component {
69904
69908
  constructor(...args) {
69905
69909
  super(...args);
69906
- _defineProperty$f(this, "internalState", null);
69907
- _defineProperty$f(this, "lifecycle", LIFECYCLE.NO_STATE);
69908
- _defineProperty$f(this, "context", void 0);
69909
- _defineProperty$f(this, "state", void 0);
69910
- _defineProperty$f(this, "parent", null);
69910
+ _defineProperty$e(this, "internalState", null);
69911
+ _defineProperty$e(this, "lifecycle", LIFECYCLE.NO_STATE);
69912
+ _defineProperty$e(this, "context", void 0);
69913
+ _defineProperty$e(this, "state", void 0);
69914
+ _defineProperty$e(this, "parent", null);
69911
69915
  }
69912
69916
  get root() {
69913
69917
  let layer = this;
@@ -70609,8 +70613,8 @@ class Layer extends Component {
70609
70613
  this.setNeedsUpdate();
70610
70614
  }
70611
70615
  }
70612
- _defineProperty$f(Layer, "defaultProps", defaultProps$L);
70613
- _defineProperty$f(Layer, "layerName", "Layer");
70616
+ _defineProperty$e(Layer, "defaultProps", defaultProps$L);
70617
+ _defineProperty$e(Layer, "layerName", "Layer");
70614
70618
  const TRACE_RENDER_LAYERS = "compositeLayer.renderLayers";
70615
70619
  class CompositeLayer extends Layer {
70616
70620
  get isComposite() {
@@ -70772,7 +70776,7 @@ class CompositeLayer extends Layer {
70772
70776
  }
70773
70777
  }
70774
70778
  }
70775
- _defineProperty$f(CompositeLayer, "layerName", "CompositeLayer");
70779
+ _defineProperty$e(CompositeLayer, "layerName", "CompositeLayer");
70776
70780
  const DEGREES_TO_RADIANS$1 = Math.PI / 180;
70777
70781
  const RADIANS_TO_DEGREES = 180 / Math.PI;
70778
70782
  const EARTH_RADIUS = 6370972;
@@ -70828,9 +70832,9 @@ class GlobeViewport extends Viewport {
70828
70832
  near: nearZMultiplier,
70829
70833
  far: Math.min(2, 1 / relativeScale + 1) * altitude * farZMultiplier
70830
70834
  });
70831
- _defineProperty$f(this, "longitude", void 0);
70832
- _defineProperty$f(this, "latitude", void 0);
70833
- _defineProperty$f(this, "resolution", void 0);
70835
+ _defineProperty$e(this, "longitude", void 0);
70836
+ _defineProperty$e(this, "latitude", void 0);
70837
+ _defineProperty$e(this, "resolution", void 0);
70834
70838
  this.latitude = latitude;
70835
70839
  this.longitude = longitude;
70836
70840
  this.resolution = resolution;
@@ -70978,7 +70982,7 @@ class OrbitViewport extends Viewport {
70978
70982
  position: target,
70979
70983
  zoom
70980
70984
  });
70981
- _defineProperty$f(this, "projectedCenter", void 0);
70985
+ _defineProperty$e(this, "projectedCenter", void 0);
70982
70986
  this.projectedCenter = this.project(this.center);
70983
70987
  }
70984
70988
  unproject(xyz, {
@@ -71027,8 +71031,8 @@ class FirstPersonViewport extends Viewport {
71027
71031
  zoom,
71028
71032
  viewMatrix: viewMatrix2
71029
71033
  });
71030
- _defineProperty$f(this, "longitude", void 0);
71031
- _defineProperty$f(this, "latitude", void 0);
71034
+ _defineProperty$e(this, "longitude", void 0);
71035
+ _defineProperty$e(this, "latitude", void 0);
71032
71036
  this.latitude = latitude;
71033
71037
  this.longitude = longitude;
71034
71038
  }
@@ -71257,8 +71261,8 @@ class FirstPersonState extends ViewState {
71257
71261
  class FirstPersonController extends Controller {
71258
71262
  constructor(...args) {
71259
71263
  super(...args);
71260
- _defineProperty$f(this, "ControllerState", FirstPersonState);
71261
- _defineProperty$f(this, "transition", {
71264
+ _defineProperty$e(this, "ControllerState", FirstPersonState);
71265
+ _defineProperty$e(this, "transition", {
71262
71266
  transitionDuration: 300,
71263
71267
  transitionInterpolator: new LinearInterpolator(["position", "pitch", "bearing"])
71264
71268
  });
@@ -71272,7 +71276,7 @@ class FirstPersonView extends View {
71272
71276
  return FirstPersonController;
71273
71277
  }
71274
71278
  }
71275
- _defineProperty$f(FirstPersonView, "displayName", "FirstPersonView");
71279
+ _defineProperty$e(FirstPersonView, "displayName", "FirstPersonView");
71276
71280
  class OrbitView extends View {
71277
71281
  constructor(props2 = {}) {
71278
71282
  super(props2);
@@ -71285,7 +71289,7 @@ class OrbitView extends View {
71285
71289
  return OrbitController;
71286
71290
  }
71287
71291
  }
71288
- _defineProperty$f(OrbitView, "displayName", "OrbitView");
71292
+ _defineProperty$e(OrbitView, "displayName", "OrbitView");
71289
71293
  class GlobeState extends MapState {
71290
71294
  applyConstraints(props2) {
71291
71295
  const {
@@ -71308,12 +71312,12 @@ class GlobeState extends MapState {
71308
71312
  class GlobeController extends Controller {
71309
71313
  constructor(...args) {
71310
71314
  super(...args);
71311
- _defineProperty$f(this, "ControllerState", GlobeState);
71312
- _defineProperty$f(this, "transition", {
71315
+ _defineProperty$e(this, "ControllerState", GlobeState);
71316
+ _defineProperty$e(this, "transition", {
71313
71317
  transitionDuration: 300,
71314
71318
  transitionInterpolator: new LinearInterpolator(["longitude", "latitude", "zoom"])
71315
71319
  });
71316
- _defineProperty$f(this, "dragMode", "pan");
71320
+ _defineProperty$e(this, "dragMode", "pan");
71317
71321
  }
71318
71322
  setProps(props2) {
71319
71323
  super.setProps(props2);
@@ -71329,10 +71333,10 @@ class GlobeView extends View {
71329
71333
  return GlobeController;
71330
71334
  }
71331
71335
  }
71332
- _defineProperty$f(GlobeView, "displayName", "GlobeView");
71336
+ _defineProperty$e(GlobeView, "displayName", "GlobeView");
71333
71337
  class LayerExtension {
71334
71338
  constructor(opts2) {
71335
- _defineProperty$f(this, "opts", void 0);
71339
+ _defineProperty$e(this, "opts", void 0);
71336
71340
  if (opts2) {
71337
71341
  this.opts = opts2;
71338
71342
  }
@@ -71377,7 +71381,7 @@ class LayerExtension {
71377
71381
  finalizeState(context, extension) {
71378
71382
  }
71379
71383
  }
71380
- _defineProperty$f(LayerExtension, "defaultProps", {});
71384
+ _defineProperty$e(LayerExtension, "defaultProps", {});
71381
71385
  const LINEARLY_INTERPOLATED_PROPS = ["bearing", "pitch"];
71382
71386
  const DEFAULT_OPTS = {
71383
71387
  speed: 1.2,
@@ -71390,7 +71394,7 @@ class FlyToInterpolator extends TransitionInterpolator {
71390
71394
  extract: ["width", "height", "longitude", "latitude", "zoom", "bearing", "pitch"],
71391
71395
  required: ["width", "height", "latitude", "longitude", "zoom"]
71392
71396
  });
71393
- _defineProperty$f(this, "opts", void 0);
71397
+ _defineProperty$e(this, "opts", void 0);
71394
71398
  this.opts = {
71395
71399
  ...DEFAULT_OPTS,
71396
71400
  ...opts2
@@ -71415,20 +71419,20 @@ class FlyToInterpolator extends TransitionInterpolator {
71415
71419
  }
71416
71420
  class Tesselator {
71417
71421
  constructor(opts2) {
71418
- _defineProperty$f(this, "opts", void 0);
71419
- _defineProperty$f(this, "typedArrayManager", void 0);
71420
- _defineProperty$f(this, "indexStarts", [0]);
71421
- _defineProperty$f(this, "vertexStarts", [0]);
71422
- _defineProperty$f(this, "vertexCount", 0);
71423
- _defineProperty$f(this, "instanceCount", 0);
71424
- _defineProperty$f(this, "attributes", void 0);
71425
- _defineProperty$f(this, "_attributeDefs", void 0);
71426
- _defineProperty$f(this, "data", void 0);
71427
- _defineProperty$f(this, "getGeometry", void 0);
71428
- _defineProperty$f(this, "geometryBuffer", void 0);
71429
- _defineProperty$f(this, "buffers", void 0);
71430
- _defineProperty$f(this, "positionSize", void 0);
71431
- _defineProperty$f(this, "normalize", void 0);
71422
+ _defineProperty$e(this, "opts", void 0);
71423
+ _defineProperty$e(this, "typedArrayManager", void 0);
71424
+ _defineProperty$e(this, "indexStarts", [0]);
71425
+ _defineProperty$e(this, "vertexStarts", [0]);
71426
+ _defineProperty$e(this, "vertexCount", 0);
71427
+ _defineProperty$e(this, "instanceCount", 0);
71428
+ _defineProperty$e(this, "attributes", void 0);
71429
+ _defineProperty$e(this, "_attributeDefs", void 0);
71430
+ _defineProperty$e(this, "data", void 0);
71431
+ _defineProperty$e(this, "getGeometry", void 0);
71432
+ _defineProperty$e(this, "geometryBuffer", void 0);
71433
+ _defineProperty$e(this, "buffers", void 0);
71434
+ _defineProperty$e(this, "positionSize", void 0);
71435
+ _defineProperty$e(this, "normalize", void 0);
71432
71436
  const {
71433
71437
  attributes = {}
71434
71438
  } = opts2;
@@ -71701,8 +71705,8 @@ class ClipExtension extends LayerExtension {
71701
71705
  }
71702
71706
  }
71703
71707
  }
71704
- _defineProperty$f(ClipExtension, "defaultProps", defaultProps$K);
71705
- _defineProperty$f(ClipExtension, "extensionName", "ClipExtension");
71708
+ _defineProperty$e(ClipExtension, "defaultProps", defaultProps$K);
71709
+ _defineProperty$e(ClipExtension, "extensionName", "ClipExtension");
71706
71710
  const vs$h = "#define SHADER_NAME arc-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec4 instanceSourceColors;\nattribute vec4 instanceTargetColors;\nattribute vec3 instanceSourcePositions;\nattribute vec3 instanceSourcePositions64Low;\nattribute vec3 instanceTargetPositions;\nattribute vec3 instanceTargetPositions64Low;\nattribute vec3 instancePickingColors;\nattribute float instanceWidths;\nattribute float instanceHeights;\nattribute float instanceTilts;\n\nuniform bool greatCircle;\nuniform bool useShortestPath;\nuniform float numSegments;\nuniform float opacity;\nuniform float widthScale;\nuniform float widthMinPixels;\nuniform float widthMaxPixels;\nuniform int widthUnits;\n\nvarying vec4 vColor;\nvarying vec2 uv;\nvarying float isValid;\n\nfloat paraboloid(float distance, float sourceZ, float targetZ, float ratio) {\n // d: distance on the xy plane\n // r: ratio of the current point\n // p: ratio of the peak of the arc\n // h: height multiplier\n // z = f(r) = sqrt(r * (p * 2 - r)) * d * h\n // f(0) = 0\n // f(1) = dz\n\n float deltaZ = targetZ - sourceZ;\n float dh = distance * instanceHeights;\n if (dh == 0.0) {\n return sourceZ + deltaZ * ratio;\n }\n float unitZ = deltaZ / dh;\n float p2 = unitZ * unitZ + 1.0;\n\n // sqrt does not deal with negative values, manually flip source and target if delta.z < 0\n float dir = step(deltaZ, 0.0);\n float z0 = mix(sourceZ, targetZ, dir);\n float r = mix(ratio, 1.0 - ratio, dir);\n return sqrt(r * (p2 - r)) * dh + z0;\n}\n\n// offset vector by strokeWidth pixels\n// offset_direction is -1 (left) or 1 (right)\nvec2 getExtrusionOffset(vec2 line_clipspace, float offset_direction, float width) {\n // normalized direction of the line\n vec2 dir_screenspace = normalize(line_clipspace * project_uViewportSize);\n // rotate by 90 degrees\n dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x);\n\n return dir_screenspace * offset_direction * width / 2.0;\n}\n\nfloat getSegmentRatio(float index) {\n return smoothstep(0.0, 1.0, index / (numSegments - 1.0));\n}\n\nvec3 interpolateFlat(vec3 source, vec3 target, float segmentRatio) {\n float distance = length(source.xy - target.xy);\n float z = paraboloid(distance, source.z, target.z, segmentRatio);\n\n float tiltAngle = radians(instanceTilts);\n vec2 tiltDirection = normalize(target.xy - source.xy);\n vec2 tilt = vec2(-tiltDirection.y, tiltDirection.x) * z * sin(tiltAngle);\n\n return vec3(\n mix(source.xy, target.xy, segmentRatio) + tilt,\n z * cos(tiltAngle)\n );\n}\n\n/* Great circle interpolation\n * http://www.movable-type.co.uk/scripts/latlong.html\n */\nfloat getAngularDist (vec2 source, vec2 target) {\n vec2 sourceRadians = radians(source);\n vec2 targetRadians = radians(target);\n vec2 sin_half_delta = sin((sourceRadians - targetRadians) / 2.0);\n vec2 shd_sq = sin_half_delta * sin_half_delta;\n\n float a = shd_sq.y + cos(sourceRadians.y) * cos(targetRadians.y) * shd_sq.x;\n return 2.0 * asin(sqrt(a));\n}\n\nvec3 interpolateGreatCircle(vec3 source, vec3 target, vec3 source3D, vec3 target3D, float angularDist, float t) {\n vec2 lngLat;\n\n // if the angularDist is PI, linear interpolation is applied. otherwise, use spherical interpolation\n if(abs(angularDist - PI) < 0.001) {\n lngLat = (1.0 - t) * source.xy + t * target.xy;\n } else {\n float a = sin((1.0 - t) * angularDist);\n float b = sin(t * angularDist);\n vec3 p = source3D.yxz * a + target3D.yxz * b;\n lngLat = degrees(vec2(atan(p.y, -p.x), atan(p.z, length(p.xy))));\n }\n\n float z = paraboloid(angularDist * EARTH_RADIUS, source.z, target.z, t);\n\n return vec3(lngLat, z);\n}\n\n/* END GREAT CIRCLE */\n\nvoid main(void) {\n geometry.worldPosition = instanceSourcePositions;\n geometry.worldPositionAlt = instanceTargetPositions;\n\n float segmentIndex = positions.x;\n float segmentRatio = getSegmentRatio(segmentIndex);\n float prevSegmentRatio = getSegmentRatio(max(0.0, segmentIndex - 1.0));\n float nextSegmentRatio = getSegmentRatio(min(numSegments - 1.0, segmentIndex + 1.0));\n\n // if it's the first point, use next - current as direction\n // otherwise use current - prev\n float indexDir = mix(-1.0, 1.0, step(segmentIndex, 0.0));\n isValid = 1.0;\n\n uv = vec2(segmentRatio, positions.y);\n geometry.uv = uv;\n geometry.pickingColor = instancePickingColors;\n\n vec4 curr;\n vec4 next;\n vec3 source;\n vec3 target;\n\n if ((greatCircle || project_uProjectionMode == PROJECTION_MODE_GLOBE) && project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT) {\n source = project_globe_(vec3(instanceSourcePositions.xy, 0.0));\n target = project_globe_(vec3(instanceTargetPositions.xy, 0.0));\n float angularDist = getAngularDist(instanceSourcePositions.xy, instanceTargetPositions.xy);\n\n vec3 prevPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, prevSegmentRatio);\n vec3 currPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, segmentRatio);\n vec3 nextPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, nextSegmentRatio);\n\n if (abs(currPos.x - prevPos.x) > 180.0) {\n indexDir = -1.0;\n isValid = 0.0;\n } else if (abs(currPos.x - nextPos.x) > 180.0) {\n indexDir = 1.0;\n isValid = 0.0;\n }\n nextPos = indexDir < 0.0 ? prevPos : nextPos;\n nextSegmentRatio = indexDir < 0.0 ? prevSegmentRatio : nextSegmentRatio;\n\n if (isValid == 0.0) {\n // split at the 180th meridian\n nextPos.x += nextPos.x > 0.0 ? -360.0 : 360.0;\n float t = ((currPos.x > 0.0 ? 180.0 : -180.0) - currPos.x) / (nextPos.x - currPos.x);\n currPos = mix(currPos, nextPos, t);\n segmentRatio = mix(segmentRatio, nextSegmentRatio, t);\n }\n\n vec3 currPos64Low = mix(instanceSourcePositions64Low, instanceTargetPositions64Low, segmentRatio);\n vec3 nextPos64Low = mix(instanceSourcePositions64Low, instanceTargetPositions64Low, nextSegmentRatio);\n \n curr = project_position_to_clipspace(currPos, currPos64Low, vec3(0.0), geometry.position);\n next = project_position_to_clipspace(nextPos, nextPos64Low, vec3(0.0));\n \n } else {\n vec3 source_world = instanceSourcePositions;\n vec3 target_world = instanceTargetPositions;\n if (useShortestPath) {\n source_world.x = mod(source_world.x + 180., 360.0) - 180.;\n target_world.x = mod(target_world.x + 180., 360.0) - 180.;\n\n float deltaLng = target_world.x - source_world.x;\n if (deltaLng > 180.) target_world.x -= 360.;\n if (deltaLng < -180.) source_world.x -= 360.;\n }\n source = project_position(source_world, instanceSourcePositions64Low);\n target = project_position(target_world, instanceTargetPositions64Low);\n\n // common x at longitude=-180\n float antiMeridianX = 0.0;\n\n if (useShortestPath) {\n if (project_uProjectionMode == PROJECTION_MODE_WEB_MERCATOR_AUTO_OFFSET) {\n antiMeridianX = -(project_uCoordinateOrigin.x + 180.) / 360. * TILE_SIZE;\n }\n float thresholdRatio = (antiMeridianX - source.x) / (target.x - source.x);\n\n if (prevSegmentRatio <= thresholdRatio && nextSegmentRatio > thresholdRatio) {\n isValid = 0.0;\n indexDir = sign(segmentRatio - thresholdRatio);\n segmentRatio = thresholdRatio;\n }\n }\n\n nextSegmentRatio = indexDir < 0.0 ? prevSegmentRatio : nextSegmentRatio;\n vec3 currPos = interpolateFlat(source, target, segmentRatio);\n vec3 nextPos = interpolateFlat(source, target, nextSegmentRatio);\n\n if (useShortestPath) {\n if (nextPos.x < antiMeridianX) {\n currPos.x += TILE_SIZE;\n nextPos.x += TILE_SIZE;\n }\n }\n\n curr = project_common_position_to_clipspace(vec4(currPos, 1.0));\n next = project_common_position_to_clipspace(vec4(nextPos, 1.0));\n geometry.position = vec4(currPos, 1.0);\n }\n\n // Multiply out width and clamp to limits\n // mercator pixels are interpreted as screen pixels\n float widthPixels = clamp(\n project_size_to_pixel(instanceWidths * widthScale, widthUnits),\n widthMinPixels, widthMaxPixels\n );\n\n // extrude\n vec3 offset = vec3(\n getExtrusionOffset((next.xy - curr.xy) * indexDir, positions.y, widthPixels),\n 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = curr + vec4(project_pixel_size_to_clipspace(offset.xy), 0.0, 0.0);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n vec4 color = mix(instanceSourceColors, instanceTargetColors, segmentRatio);\n vColor = vec4(color.rgb, color.a * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n";
71707
71711
  const fs$j = "#define SHADER_NAME arc-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 uv;\nvarying float isValid;\n\nvoid main(void) {\n if (isValid == 0.0) {\n discard;\n }\n\n gl_FragColor = vColor;\n geometry.uv = uv;\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n";
71708
71712
  const DEFAULT_COLOR$a = [0, 0, 0, 255];
@@ -71756,7 +71760,7 @@ const defaultProps$J = {
71756
71760
  class ArcLayer extends Layer {
71757
71761
  constructor(...args) {
71758
71762
  super(...args);
71759
- _defineProperty$f(this, "state", void 0);
71763
+ _defineProperty$e(this, "state", void 0);
71760
71764
  }
71761
71765
  getShaders() {
71762
71766
  return super.getShaders({
@@ -71876,8 +71880,8 @@ class ArcLayer extends Layer {
71876
71880
  return model;
71877
71881
  }
71878
71882
  }
71879
- _defineProperty$f(ArcLayer, "layerName", "ArcLayer");
71880
- _defineProperty$f(ArcLayer, "defaultProps", defaultProps$J);
71883
+ _defineProperty$e(ArcLayer, "layerName", "ArcLayer");
71884
+ _defineProperty$e(ArcLayer, "defaultProps", defaultProps$J);
71881
71885
  const DEFAULT_INDICES = new Uint16Array([0, 2, 1, 0, 3, 2]);
71882
71886
  const DEFAULT_TEX_COORDS = new Float32Array([0, 1, 0, 0, 1, 0, 1, 1]);
71883
71887
  function createMesh(bounds2, resolution) {
@@ -71972,7 +71976,7 @@ const defaultProps$I = {
71972
71976
  let BitmapLayer$1 = class BitmapLayer extends Layer {
71973
71977
  constructor(...args) {
71974
71978
  super(...args);
71975
- _defineProperty$f(this, "state", void 0);
71979
+ _defineProperty$e(this, "state", void 0);
71976
71980
  }
71977
71981
  getShaders() {
71978
71982
  return super.getShaders({
@@ -72174,8 +72178,8 @@ let BitmapLayer$1 = class BitmapLayer extends Layer {
72174
72178
  };
72175
72179
  }
72176
72180
  };
72177
- _defineProperty$f(BitmapLayer$1, "layerName", "BitmapLayer");
72178
- _defineProperty$f(BitmapLayer$1, "defaultProps", defaultProps$I);
72181
+ _defineProperty$e(BitmapLayer$1, "layerName", "BitmapLayer");
72182
+ _defineProperty$e(BitmapLayer$1, "defaultProps", defaultProps$I);
72179
72183
  function unpackUVsFromRGB(color) {
72180
72184
  const [u, v, fracUV] = color;
72181
72185
  const vFrac = (fracUV & 240) / 256;
@@ -72323,23 +72327,23 @@ class IconManager {
72323
72327
  onUpdate = noop$1,
72324
72328
  onError = noop$1
72325
72329
  }) {
72326
- _defineProperty$f(this, "gl", void 0);
72327
- _defineProperty$f(this, "onUpdate", void 0);
72328
- _defineProperty$f(this, "onError", void 0);
72329
- _defineProperty$f(this, "_loadOptions", null);
72330
- _defineProperty$f(this, "_texture", null);
72331
- _defineProperty$f(this, "_externalTexture", null);
72332
- _defineProperty$f(this, "_mapping", {});
72333
- _defineProperty$f(this, "_textureParameters", null);
72334
- _defineProperty$f(this, "_pendingCount", 0);
72335
- _defineProperty$f(this, "_autoPacking", false);
72336
- _defineProperty$f(this, "_xOffset", 0);
72337
- _defineProperty$f(this, "_yOffset", 0);
72338
- _defineProperty$f(this, "_rowHeight", 0);
72339
- _defineProperty$f(this, "_buffer", DEFAULT_BUFFER$1);
72340
- _defineProperty$f(this, "_canvasWidth", DEFAULT_CANVAS_WIDTH);
72341
- _defineProperty$f(this, "_canvasHeight", 0);
72342
- _defineProperty$f(this, "_canvas", null);
72330
+ _defineProperty$e(this, "gl", void 0);
72331
+ _defineProperty$e(this, "onUpdate", void 0);
72332
+ _defineProperty$e(this, "onError", void 0);
72333
+ _defineProperty$e(this, "_loadOptions", null);
72334
+ _defineProperty$e(this, "_texture", null);
72335
+ _defineProperty$e(this, "_externalTexture", null);
72336
+ _defineProperty$e(this, "_mapping", {});
72337
+ _defineProperty$e(this, "_textureParameters", null);
72338
+ _defineProperty$e(this, "_pendingCount", 0);
72339
+ _defineProperty$e(this, "_autoPacking", false);
72340
+ _defineProperty$e(this, "_xOffset", 0);
72341
+ _defineProperty$e(this, "_yOffset", 0);
72342
+ _defineProperty$e(this, "_rowHeight", 0);
72343
+ _defineProperty$e(this, "_buffer", DEFAULT_BUFFER$1);
72344
+ _defineProperty$e(this, "_canvasWidth", DEFAULT_CANVAS_WIDTH);
72345
+ _defineProperty$e(this, "_canvasHeight", 0);
72346
+ _defineProperty$e(this, "_canvas", null);
72343
72347
  this.gl = gl;
72344
72348
  this.onUpdate = onUpdate;
72345
72349
  this.onError = onError;
@@ -72530,7 +72534,7 @@ const defaultProps$H = {
72530
72534
  class IconLayer extends Layer {
72531
72535
  constructor(...args) {
72532
72536
  super(...args);
72533
- _defineProperty$f(this, "state", void 0);
72537
+ _defineProperty$e(this, "state", void 0);
72534
72538
  }
72535
72539
  getShaders() {
72536
72540
  return super.getShaders({
@@ -72727,8 +72731,8 @@ class IconLayer extends Layer {
72727
72731
  return [x2, y2, width, height];
72728
72732
  }
72729
72733
  }
72730
- _defineProperty$f(IconLayer, "defaultProps", defaultProps$H);
72731
- _defineProperty$f(IconLayer, "layerName", "IconLayer");
72734
+ _defineProperty$e(IconLayer, "defaultProps", defaultProps$H);
72735
+ _defineProperty$e(IconLayer, "layerName", "IconLayer");
72732
72736
  const vs$e = "#define SHADER_NAME line-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec3 instanceSourcePositions;\nattribute vec3 instanceTargetPositions;\nattribute vec3 instanceSourcePositions64Low;\nattribute vec3 instanceTargetPositions64Low;\nattribute vec4 instanceColors;\nattribute vec3 instancePickingColors;\nattribute float instanceWidths;\n\nuniform float opacity;\nuniform float widthScale;\nuniform float widthMinPixels;\nuniform float widthMaxPixels;\nuniform float useShortestPath;\nuniform int widthUnits;\n\nvarying vec4 vColor;\nvarying vec2 uv;\n\n// offset vector by strokeWidth pixels\n// offset_direction is -1 (left) or 1 (right)\nvec2 getExtrusionOffset(vec2 line_clipspace, float offset_direction, float width) {\n // normalized direction of the line\n vec2 dir_screenspace = normalize(line_clipspace * project_uViewportSize);\n // rotate by 90 degrees\n dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x);\n\n return dir_screenspace * offset_direction * width / 2.0;\n}\n\nvec3 splitLine(vec3 a, vec3 b, float x) {\n float t = (x - a.x) / (b.x - a.x);\n return vec3(x, mix(a.yz, b.yz, t));\n}\n\nvoid main(void) {\n geometry.worldPosition = instanceSourcePositions;\n geometry.worldPositionAlt = instanceTargetPositions;\n\n vec3 source_world = instanceSourcePositions;\n vec3 target_world = instanceTargetPositions;\n vec3 source_world_64low = instanceSourcePositions64Low;\n vec3 target_world_64low = instanceTargetPositions64Low;\n\n if (useShortestPath > 0.5 || useShortestPath < -0.5) {\n source_world.x = mod(source_world.x + 180., 360.0) - 180.;\n target_world.x = mod(target_world.x + 180., 360.0) - 180.;\n float deltaLng = target_world.x - source_world.x;\n\n if (deltaLng * useShortestPath > 180.) {\n source_world.x += 360. * useShortestPath;\n source_world = splitLine(source_world, target_world, 180. * useShortestPath);\n source_world_64low = vec3(0.0);\n } else if (deltaLng * useShortestPath < -180.) {\n target_world.x += 360. * useShortestPath;\n target_world = splitLine(source_world, target_world, 180. * useShortestPath);\n target_world_64low = vec3(0.0);\n } else if (useShortestPath < 0.) {\n // Line is not split, abort\n gl_Position = vec4(0.);\n return;\n }\n }\n\n // Position\n vec4 source_commonspace;\n vec4 target_commonspace;\n vec4 source = project_position_to_clipspace(source_world, source_world_64low, vec3(0.), source_commonspace);\n vec4 target = project_position_to_clipspace(target_world, target_world_64low, vec3(0.), target_commonspace);\n \n // linear interpolation of source & target to pick right coord\n float segmentIndex = positions.x;\n vec4 p = mix(source, target, segmentIndex);\n geometry.position = mix(source_commonspace, target_commonspace, segmentIndex);\n uv = positions.xy;\n geometry.uv = uv;\n geometry.pickingColor = instancePickingColors;\n\n // Multiply out width and clamp to limits\n float widthPixels = clamp(\n project_size_to_pixel(instanceWidths * widthScale, widthUnits),\n widthMinPixels, widthMaxPixels\n );\n\n // extrude\n vec3 offset = vec3(\n getExtrusionOffset(target.xy - source.xy, positions.y, widthPixels),\n 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = p + vec4(project_pixel_size_to_clipspace(offset.xy), 0.0, 0.0);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Color\n vColor = vec4(instanceColors.rgb, instanceColors.a * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n";
72733
72737
  const fs$g = "#define SHADER_NAME line-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 uv;\n\nvoid main(void) {\n geometry.uv = uv;\n\n gl_FragColor = vColor;\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n";
72734
72738
  const DEFAULT_COLOR$8 = [0, 0, 0, 255];
@@ -72860,8 +72864,8 @@ class LineLayer extends Layer {
72860
72864
  });
72861
72865
  }
72862
72866
  }
72863
- _defineProperty$f(LineLayer, "layerName", "LineLayer");
72864
- _defineProperty$f(LineLayer, "defaultProps", defaultProps$G);
72867
+ _defineProperty$e(LineLayer, "layerName", "LineLayer");
72868
+ _defineProperty$e(LineLayer, "defaultProps", defaultProps$G);
72865
72869
  const vs$d = "#define SHADER_NAME point-cloud-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec3 instanceNormals;\nattribute vec4 instanceColors;\nattribute vec3 instancePositions;\nattribute vec3 instancePositions64Low;\nattribute vec3 instancePickingColors;\n\nuniform float opacity;\nuniform float radiusPixels;\nuniform int sizeUnits;\n\nvarying vec4 vColor;\nvarying vec2 unitPosition;\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n geometry.normal = project_normal(instanceNormals);\n\n // position on the containing square in [-1, 1] space\n unitPosition = positions.xy;\n geometry.uv = unitPosition;\n geometry.pickingColor = instancePickingColors;\n\n // Find the center of the point and add the current vertex\n vec3 offset = vec3(positions.xy * project_size_to_pixel(radiusPixels, sizeUnits), 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, vec3(0.), geometry.position);\n gl_Position.xy += project_pixel_size_to_clipspace(offset.xy);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Apply lighting\n vec3 lightColor = lighting_getLightColor(instanceColors.rgb, project_uCameraPosition, geometry.position.xyz, geometry.normal);\n\n // Apply opacity to instance color, or return instance picking color\n vColor = vec4(lightColor, instanceColors.a * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n";
72866
72870
  const fs$f = "#define SHADER_NAME point-cloud-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 unitPosition;\n\nvoid main(void) {\n geometry.uv = unitPosition;\n\n float distToCenter = length(unitPosition);\n\n if (distToCenter > 1.0) {\n discard;\n }\n\n gl_FragColor = vColor;\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n";
72867
72871
  const DEFAULT_COLOR$7 = [0, 0, 0, 255];
@@ -72992,8 +72996,8 @@ class PointCloudLayer extends Layer {
72992
72996
  });
72993
72997
  }
72994
72998
  }
72995
- _defineProperty$f(PointCloudLayer, "layerName", "PointCloudLayer");
72996
- _defineProperty$f(PointCloudLayer, "defaultProps", defaultProps$F);
72999
+ _defineProperty$e(PointCloudLayer, "layerName", "PointCloudLayer");
73000
+ _defineProperty$e(PointCloudLayer, "defaultProps", defaultProps$F);
72997
73001
  const vs$c = "#define SHADER_NAME scatterplot-layer-vertex-shader\n\nattribute vec3 positions;\n\nattribute vec3 instancePositions;\nattribute vec3 instancePositions64Low;\nattribute float instanceRadius;\nattribute float instanceLineWidths;\nattribute vec4 instanceFillColors;\nattribute vec4 instanceLineColors;\nattribute vec3 instancePickingColors;\n\nuniform float opacity;\nuniform float radiusScale;\nuniform float radiusMinPixels;\nuniform float radiusMaxPixels;\nuniform float lineWidthScale;\nuniform float lineWidthMinPixels;\nuniform float lineWidthMaxPixels;\nuniform float stroked;\nuniform bool filled;\nuniform bool antialiasing;\nuniform bool billboard;\nuniform int radiusUnits;\nuniform int lineWidthUnits;\n\nvarying vec4 vFillColor;\nvarying vec4 vLineColor;\nvarying vec2 unitPosition;\nvarying float innerUnitRadius;\nvarying float outerRadiusPixels;\n\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n\n // Multiply out radius and clamp to limits\n outerRadiusPixels = clamp(\n project_size_to_pixel(radiusScale * instanceRadius, radiusUnits),\n radiusMinPixels, radiusMaxPixels\n );\n \n // Multiply out line width and clamp to limits\n float lineWidthPixels = clamp(\n project_size_to_pixel(lineWidthScale * instanceLineWidths, lineWidthUnits),\n lineWidthMinPixels, lineWidthMaxPixels\n );\n\n // outer radius needs to offset by half stroke width\n outerRadiusPixels += stroked * lineWidthPixels / 2.0;\n\n // Expand geometry to accomodate edge smoothing\n float edgePadding = antialiasing ? (outerRadiusPixels + SMOOTH_EDGE_RADIUS) / outerRadiusPixels : 1.0;\n\n // position on the containing square in [-1, 1] space\n unitPosition = edgePadding * positions.xy;\n geometry.uv = unitPosition;\n geometry.pickingColor = instancePickingColors;\n\n innerUnitRadius = 1.0 - stroked * lineWidthPixels / outerRadiusPixels;\n \n if (billboard) {\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, vec3(0.0), geometry.position);\n vec3 offset = edgePadding * positions * outerRadiusPixels;\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position.xy += project_pixel_size_to_clipspace(offset.xy);\n } else {\n vec3 offset = edgePadding * positions * project_pixel_size(outerRadiusPixels);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, offset, geometry.position);\n }\n\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Apply opacity to instance color, or return instance picking color\n vFillColor = vec4(instanceFillColors.rgb, instanceFillColors.a * opacity);\n DECKGL_FILTER_COLOR(vFillColor, geometry);\n vLineColor = vec4(instanceLineColors.rgb, instanceLineColors.a * opacity);\n DECKGL_FILTER_COLOR(vLineColor, geometry);\n}\n";
72998
73002
  const fs$e = "#define SHADER_NAME scatterplot-layer-fragment-shader\n\nprecision highp float;\n\nuniform bool filled;\nuniform float stroked;\nuniform bool antialiasing;\n\nvarying vec4 vFillColor;\nvarying vec4 vLineColor;\nvarying vec2 unitPosition;\nvarying float innerUnitRadius;\nvarying float outerRadiusPixels;\n\nvoid main(void) {\n geometry.uv = unitPosition;\n\n float distToCenter = length(unitPosition) * outerRadiusPixels;\n float inCircle = antialiasing ? \n smoothedge(distToCenter, outerRadiusPixels) : \n step(distToCenter, outerRadiusPixels);\n\n if (inCircle == 0.0) {\n discard;\n }\n\n if (stroked > 0.5) {\n float isLine = antialiasing ? \n smoothedge(innerUnitRadius * outerRadiusPixels, distToCenter) :\n step(innerUnitRadius * outerRadiusPixels, distToCenter);\n\n if (filled) {\n gl_FragColor = mix(vFillColor, vLineColor, isLine);\n } else {\n if (isLine == 0.0) {\n discard;\n }\n gl_FragColor = vec4(vLineColor.rgb, vLineColor.a * isLine);\n }\n } else if (filled) {\n gl_FragColor = vFillColor;\n } else {\n discard;\n }\n\n gl_FragColor.a *= inCircle;\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n";
72999
73003
  const DEFAULT_COLOR$6 = [0, 0, 0, 255];
@@ -73174,8 +73178,8 @@ class ScatterplotLayer extends Layer {
73174
73178
  });
73175
73179
  }
73176
73180
  }
73177
- _defineProperty$f(ScatterplotLayer, "defaultProps", defaultProps$E);
73178
- _defineProperty$f(ScatterplotLayer, "layerName", "ScatterplotLayer");
73181
+ _defineProperty$e(ScatterplotLayer, "defaultProps", defaultProps$E);
73182
+ _defineProperty$e(ScatterplotLayer, "layerName", "ScatterplotLayer");
73179
73183
  const WINDING = {
73180
73184
  CLOCKWISE: 1,
73181
73185
  COUNTER_CLOCKWISE: -1
@@ -74443,8 +74447,8 @@ class ColumnLayer extends Layer {
74443
74447
  }
74444
74448
  }
74445
74449
  }
74446
- _defineProperty$f(ColumnLayer, "layerName", "ColumnLayer");
74447
- _defineProperty$f(ColumnLayer, "defaultProps", defaultProps$D);
74450
+ _defineProperty$e(ColumnLayer, "layerName", "ColumnLayer");
74451
+ _defineProperty$e(ColumnLayer, "defaultProps", defaultProps$D);
74448
74452
  const defaultProps$C = {
74449
74453
  cellSize: {
74450
74454
  type: "number",
@@ -74485,8 +74489,8 @@ class GridCellLayer extends ColumnLayer {
74485
74489
  }).draw();
74486
74490
  }
74487
74491
  }
74488
- _defineProperty$f(GridCellLayer, "layerName", "GridCellLayer");
74489
- _defineProperty$f(GridCellLayer, "defaultProps", defaultProps$C);
74492
+ _defineProperty$e(GridCellLayer, "layerName", "GridCellLayer");
74493
+ _defineProperty$e(GridCellLayer, "defaultProps", defaultProps$C);
74490
74494
  function normalizePath(path, size2, gridResolution, wrapLongitude) {
74491
74495
  let flatPath;
74492
74496
  if (Array.isArray(path[0])) {
@@ -74701,7 +74705,7 @@ const ATTRIBUTE_TRANSITION$1 = {
74701
74705
  class PathLayer extends Layer {
74702
74706
  constructor(...args) {
74703
74707
  super(...args);
74704
- _defineProperty$f(this, "state", void 0);
74708
+ _defineProperty$e(this, "state", void 0);
74705
74709
  }
74706
74710
  getShaders() {
74707
74711
  return super.getShaders({
@@ -74904,8 +74908,8 @@ class PathLayer extends Layer {
74904
74908
  attribute.value = pathTesselator.get("segmentTypes");
74905
74909
  }
74906
74910
  }
74907
- _defineProperty$f(PathLayer, "defaultProps", defaultProps$B);
74908
- _defineProperty$f(PathLayer, "layerName", "PathLayer");
74911
+ _defineProperty$e(PathLayer, "defaultProps", defaultProps$B);
74912
+ _defineProperty$e(PathLayer, "layerName", "PathLayer");
74909
74913
  var earcut$2 = { exports: {} };
74910
74914
  earcut$2.exports = earcut;
74911
74915
  earcut$2.exports.default = earcut;
@@ -75715,7 +75719,7 @@ const ATTRIBUTE_TRANSITION = {
75715
75719
  class SolidPolygonLayer extends Layer {
75716
75720
  constructor(...args) {
75717
75721
  super(...args);
75718
- _defineProperty$f(this, "state", void 0);
75722
+ _defineProperty$e(this, "state", void 0);
75719
75723
  }
75720
75724
  getShaders(type) {
75721
75725
  return super.getShaders({
@@ -76039,8 +76043,8 @@ class SolidPolygonLayer extends Layer {
76039
76043
  attribute.value = this.state.polygonTesselator.get("vertexValid");
76040
76044
  }
76041
76045
  }
76042
- _defineProperty$f(SolidPolygonLayer, "defaultProps", defaultProps$A);
76043
- _defineProperty$f(SolidPolygonLayer, "layerName", "SolidPolygonLayer");
76046
+ _defineProperty$e(SolidPolygonLayer, "defaultProps", defaultProps$A);
76047
+ _defineProperty$e(SolidPolygonLayer, "layerName", "SolidPolygonLayer");
76044
76048
  function replaceInRange({
76045
76049
  data,
76046
76050
  getIndex,
@@ -76292,8 +76296,8 @@ class PolygonLayer extends CompositeLayer {
76292
76296
  return [!extruded && polygonLayer, polygonLineLayer, extruded && polygonLayer];
76293
76297
  }
76294
76298
  }
76295
- _defineProperty$f(PolygonLayer, "layerName", "PolygonLayer");
76296
- _defineProperty$f(PolygonLayer, "defaultProps", defaultProps$z);
76299
+ _defineProperty$e(PolygonLayer, "layerName", "PolygonLayer");
76300
+ _defineProperty$e(PolygonLayer, "defaultProps", defaultProps$z);
76297
76301
  function binaryToFeatureForAccesor(data, index2) {
76298
76302
  if (!data) {
76299
76303
  return null;
@@ -76354,7 +76358,7 @@ const defaultProps$y = {
76354
76358
  class MultiIconLayer extends IconLayer {
76355
76359
  constructor(...args) {
76356
76360
  super(...args);
76357
- _defineProperty$f(this, "state", void 0);
76361
+ _defineProperty$e(this, "state", void 0);
76358
76362
  }
76359
76363
  getShaders() {
76360
76364
  return {
@@ -76429,8 +76433,8 @@ class MultiIconLayer extends IconLayer {
76429
76433
  return icons ? Array.from(icons).flatMap((icon) => super.getInstanceIconFrame(icon)) : EMPTY_ARRAY;
76430
76434
  }
76431
76435
  }
76432
- _defineProperty$f(MultiIconLayer, "defaultProps", defaultProps$y);
76433
- _defineProperty$f(MultiIconLayer, "layerName", "MultiIconLayer");
76436
+ _defineProperty$e(MultiIconLayer, "defaultProps", defaultProps$y);
76437
+ _defineProperty$e(MultiIconLayer, "layerName", "MultiIconLayer");
76434
76438
  var tinySdf = { exports: {} };
76435
76439
  tinySdf.exports = TinySDF;
76436
76440
  tinySdf.exports.default = TinySDF;
@@ -76798,9 +76802,9 @@ function getTextFromBuffer({
76798
76802
  }
76799
76803
  class LRUCache2 {
76800
76804
  constructor(limit = 5) {
76801
- _defineProperty$f(this, "limit", void 0);
76802
- _defineProperty$f(this, "_cache", {});
76803
- _defineProperty$f(this, "_order", []);
76805
+ _defineProperty$e(this, "limit", void 0);
76806
+ _defineProperty$e(this, "_cache", {});
76807
+ _defineProperty$e(this, "_order", []);
76804
76808
  this.limit = limit;
76805
76809
  }
76806
76810
  get(key) {
@@ -76899,11 +76903,11 @@ function setFontAtlasCacheLimit(limit) {
76899
76903
  }
76900
76904
  class FontAtlasManager {
76901
76905
  constructor() {
76902
- _defineProperty$f(this, "props", {
76906
+ _defineProperty$e(this, "props", {
76903
76907
  ...DEFAULT_FONT_SETTINGS
76904
76908
  });
76905
- _defineProperty$f(this, "_key", void 0);
76906
- _defineProperty$f(this, "_atlas", void 0);
76909
+ _defineProperty$e(this, "_key", void 0);
76910
+ _defineProperty$e(this, "_atlas", void 0);
76907
76911
  }
76908
76912
  get texture() {
76909
76913
  return this._atlas;
@@ -77055,7 +77059,7 @@ const defaultProps$x = {
77055
77059
  class TextBackgroundLayer extends Layer {
77056
77060
  constructor(...args) {
77057
77061
  super(...args);
77058
- _defineProperty$f(this, "state", void 0);
77062
+ _defineProperty$e(this, "state", void 0);
77059
77063
  }
77060
77064
  getShaders() {
77061
77065
  return super.getShaders({
@@ -77178,8 +77182,8 @@ class TextBackgroundLayer extends Layer {
77178
77182
  });
77179
77183
  }
77180
77184
  }
77181
- _defineProperty$f(TextBackgroundLayer, "defaultProps", defaultProps$x);
77182
- _defineProperty$f(TextBackgroundLayer, "layerName", "TextBackgroundLayer");
77185
+ _defineProperty$e(TextBackgroundLayer, "defaultProps", defaultProps$x);
77186
+ _defineProperty$e(TextBackgroundLayer, "layerName", "TextBackgroundLayer");
77183
77187
  const TEXT_ANCHOR = {
77184
77188
  start: 1,
77185
77189
  middle: 0,
@@ -77276,8 +77280,8 @@ const defaultProps$w = {
77276
77280
  class TextLayer extends CompositeLayer {
77277
77281
  constructor(...args) {
77278
77282
  super(...args);
77279
- _defineProperty$f(this, "state", void 0);
77280
- _defineProperty$f(this, "getBoundingRect", (object2, objectInfo) => {
77283
+ _defineProperty$e(this, "state", void 0);
77284
+ _defineProperty$e(this, "getBoundingRect", (object2, objectInfo) => {
77281
77285
  const iconMapping = this.state.fontAtlasManager.mapping;
77282
77286
  const getText = this.state.getText;
77283
77287
  const {
@@ -77295,7 +77299,7 @@ class TextLayer extends CompositeLayer {
77295
77299
  const anchorY = ALIGNMENT_BASELINE[typeof getAlignmentBaseline === "function" ? getAlignmentBaseline(object2, objectInfo) : getAlignmentBaseline];
77296
77300
  return [(anchorX - 1) * width / 2, (anchorY - 1) * height / 2, width, height];
77297
77301
  });
77298
- _defineProperty$f(this, "getIconOffsets", (object2, objectInfo) => {
77302
+ _defineProperty$e(this, "getIconOffsets", (object2, objectInfo) => {
77299
77303
  const iconMapping = this.state.fontAtlasManager.mapping;
77300
77304
  const getText = this.state.getText;
77301
77305
  const {
@@ -77575,8 +77579,8 @@ class TextLayer extends CompositeLayer {
77575
77579
  setFontAtlasCacheLimit(limit);
77576
77580
  }
77577
77581
  }
77578
- _defineProperty$f(TextLayer, "defaultProps", defaultProps$w);
77579
- _defineProperty$f(TextLayer, "layerName", "TextLayer");
77582
+ _defineProperty$e(TextLayer, "defaultProps", defaultProps$w);
77583
+ _defineProperty$e(TextLayer, "layerName", "TextLayer");
77580
77584
  const POINT_LAYER = {
77581
77585
  circle: {
77582
77586
  type: ScatterplotLayer,
@@ -78215,8 +78219,8 @@ class GeoJsonLayer extends CompositeLayer {
78215
78219
  };
78216
78220
  }
78217
78221
  }
78218
- _defineProperty$f(GeoJsonLayer, "layerName", "GeoJsonLayer");
78219
- _defineProperty$f(GeoJsonLayer, "defaultProps", defaultProps$v);
78222
+ _defineProperty$e(GeoJsonLayer, "layerName", "GeoJsonLayer");
78223
+ _defineProperty$e(GeoJsonLayer, "defaultProps", defaultProps$v);
78220
78224
  const esm$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
78221
78225
  __proto__: null,
78222
78226
  ArcLayer,
@@ -78244,8 +78248,8 @@ const defaultProps$u = {
78244
78248
  };
78245
78249
  class GreatCircleLayer extends ArcLayer {
78246
78250
  }
78247
- _defineProperty$f(GreatCircleLayer, "layerName", "GreatCircleLayer");
78248
- _defineProperty$f(GreatCircleLayer, "defaultProps", defaultProps$u);
78251
+ _defineProperty$e(GreatCircleLayer, "layerName", "GreatCircleLayer");
78252
+ _defineProperty$e(GreatCircleLayer, "defaultProps", defaultProps$u);
78249
78253
  const defaultProps$t = {
78250
78254
  ...PolygonLayer.defaultProps
78251
78255
  };
@@ -78308,8 +78312,8 @@ class GeoCellLayer extends CompositeLayer {
78308
78312
  }), this.indexToBounds());
78309
78313
  }
78310
78314
  }
78311
- _defineProperty$f(GeoCellLayer, "layerName", "GeoCellLayer");
78312
- _defineProperty$f(GeoCellLayer, "defaultProps", defaultProps$t);
78315
+ _defineProperty$e(GeoCellLayer, "layerName", "GeoCellLayer");
78316
+ _defineProperty$e(GeoCellLayer, "defaultProps", defaultProps$t);
78313
78317
  function commonjsRequire(path) {
78314
78318
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
78315
78319
  }
@@ -79026,8 +79030,8 @@ class S2Layer extends GeoCellLayer {
79026
79030
  };
79027
79031
  }
79028
79032
  }
79029
- _defineProperty$f(S2Layer, "layerName", "S2Layer");
79030
- _defineProperty$f(S2Layer, "defaultProps", defaultProps$s);
79033
+ _defineProperty$e(S2Layer, "layerName", "S2Layer");
79034
+ _defineProperty$e(S2Layer, "defaultProps", defaultProps$s);
79031
79035
  const TILE_SIZE$3 = 512;
79032
79036
  function quadkeyToWorldBounds(quadkey) {
79033
79037
  let x2 = 0;
@@ -79070,28 +79074,28 @@ class QuadkeyLayer extends GeoCellLayer {
79070
79074
  };
79071
79075
  }
79072
79076
  }
79073
- _defineProperty$f(QuadkeyLayer, "layerName", "QuadkeyLayer");
79074
- _defineProperty$f(QuadkeyLayer, "defaultProps", defaultProps$r);
79077
+ _defineProperty$e(QuadkeyLayer, "layerName", "QuadkeyLayer");
79078
+ _defineProperty$e(QuadkeyLayer, "defaultProps", defaultProps$r);
79075
79079
  class Tile2DHeader {
79076
79080
  constructor(index2) {
79077
- _defineProperty$f(this, "index", void 0);
79078
- _defineProperty$f(this, "isVisible", void 0);
79079
- _defineProperty$f(this, "isSelected", void 0);
79080
- _defineProperty$f(this, "parent", void 0);
79081
- _defineProperty$f(this, "children", void 0);
79082
- _defineProperty$f(this, "content", void 0);
79083
- _defineProperty$f(this, "state", void 0);
79084
- _defineProperty$f(this, "layers", void 0);
79085
- _defineProperty$f(this, "id", void 0);
79086
- _defineProperty$f(this, "bbox", void 0);
79087
- _defineProperty$f(this, "zoom", void 0);
79088
- _defineProperty$f(this, "userData", void 0);
79089
- _defineProperty$f(this, "_abortController", void 0);
79090
- _defineProperty$f(this, "_loader", void 0);
79091
- _defineProperty$f(this, "_loaderId", void 0);
79092
- _defineProperty$f(this, "_isLoaded", void 0);
79093
- _defineProperty$f(this, "_isCancelled", void 0);
79094
- _defineProperty$f(this, "_needsReload", void 0);
79081
+ _defineProperty$e(this, "index", void 0);
79082
+ _defineProperty$e(this, "isVisible", void 0);
79083
+ _defineProperty$e(this, "isSelected", void 0);
79084
+ _defineProperty$e(this, "parent", void 0);
79085
+ _defineProperty$e(this, "children", void 0);
79086
+ _defineProperty$e(this, "content", void 0);
79087
+ _defineProperty$e(this, "state", void 0);
79088
+ _defineProperty$e(this, "layers", void 0);
79089
+ _defineProperty$e(this, "id", void 0);
79090
+ _defineProperty$e(this, "bbox", void 0);
79091
+ _defineProperty$e(this, "zoom", void 0);
79092
+ _defineProperty$e(this, "userData", void 0);
79093
+ _defineProperty$e(this, "_abortController", void 0);
79094
+ _defineProperty$e(this, "_loader", void 0);
79095
+ _defineProperty$e(this, "_loaderId", void 0);
79096
+ _defineProperty$e(this, "_isLoaded", void 0);
79097
+ _defineProperty$e(this, "_isCancelled", void 0);
79098
+ _defineProperty$e(this, "_needsReload", void 0);
79095
79099
  this.index = index2;
79096
79100
  this.isVisible = false;
79097
79101
  this.isSelected = false;
@@ -79867,12 +79871,12 @@ const REF_POINTS_9 = REF_POINTS_5.concat([[0, 0.5], [0.5, 0], [1, 0.5], [0.5, 1]
79867
79871
  const REF_POINTS_11 = REF_POINTS_9.concat([[0.25, 0.5], [0.75, 0.5]]);
79868
79872
  class OSMNode {
79869
79873
  constructor(x2, y2, z2) {
79870
- _defineProperty$f(this, "x", void 0);
79871
- _defineProperty$f(this, "y", void 0);
79872
- _defineProperty$f(this, "z", void 0);
79873
- _defineProperty$f(this, "childVisible", void 0);
79874
- _defineProperty$f(this, "selected", void 0);
79875
- _defineProperty$f(this, "_children", void 0);
79874
+ _defineProperty$e(this, "x", void 0);
79875
+ _defineProperty$e(this, "y", void 0);
79876
+ _defineProperty$e(this, "z", void 0);
79877
+ _defineProperty$e(this, "childVisible", void 0);
79878
+ _defineProperty$e(this, "selected", void 0);
79879
+ _defineProperty$e(this, "_children", void 0);
79876
79880
  this.x = x2;
79877
79881
  this.y = y2;
79878
79882
  this.z = z2;
@@ -80219,22 +80223,22 @@ const STRATEGIES = {
80219
80223
  };
80220
80224
  class Tileset2D {
80221
80225
  constructor(opts2) {
80222
- _defineProperty$f(this, "opts", void 0);
80223
- _defineProperty$f(this, "_requestScheduler", void 0);
80224
- _defineProperty$f(this, "_cache", void 0);
80225
- _defineProperty$f(this, "_dirty", void 0);
80226
- _defineProperty$f(this, "_tiles", void 0);
80227
- _defineProperty$f(this, "_cacheByteSize", void 0);
80228
- _defineProperty$f(this, "_viewport", void 0);
80229
- _defineProperty$f(this, "_zRange", void 0);
80230
- _defineProperty$f(this, "_selectedTiles", void 0);
80231
- _defineProperty$f(this, "_frameNumber", void 0);
80232
- _defineProperty$f(this, "_modelMatrix", void 0);
80233
- _defineProperty$f(this, "_modelMatrixInverse", void 0);
80234
- _defineProperty$f(this, "_maxZoom", void 0);
80235
- _defineProperty$f(this, "_minZoom", void 0);
80236
- _defineProperty$f(this, "onTileLoad", void 0);
80237
- _defineProperty$f(this, "_getCullBounds", memoize$1(getCullBounds));
80226
+ _defineProperty$e(this, "opts", void 0);
80227
+ _defineProperty$e(this, "_requestScheduler", void 0);
80228
+ _defineProperty$e(this, "_cache", void 0);
80229
+ _defineProperty$e(this, "_dirty", void 0);
80230
+ _defineProperty$e(this, "_tiles", void 0);
80231
+ _defineProperty$e(this, "_cacheByteSize", void 0);
80232
+ _defineProperty$e(this, "_viewport", void 0);
80233
+ _defineProperty$e(this, "_zRange", void 0);
80234
+ _defineProperty$e(this, "_selectedTiles", void 0);
80235
+ _defineProperty$e(this, "_frameNumber", void 0);
80236
+ _defineProperty$e(this, "_modelMatrix", void 0);
80237
+ _defineProperty$e(this, "_modelMatrixInverse", void 0);
80238
+ _defineProperty$e(this, "_maxZoom", void 0);
80239
+ _defineProperty$e(this, "_minZoom", void 0);
80240
+ _defineProperty$e(this, "onTileLoad", void 0);
80241
+ _defineProperty$e(this, "_getCullBounds", memoize$1(getCullBounds));
80238
80242
  this.opts = opts2;
80239
80243
  this.onTileLoad = (tile) => {
80240
80244
  this.opts.onTileLoad(tile);
@@ -80847,8 +80851,8 @@ class TileLayer extends CompositeLayer {
80847
80851
  return this.state.tileset.isTileVisible(tile, cullRect);
80848
80852
  }
80849
80853
  }
80850
- _defineProperty$f(TileLayer, "defaultProps", defaultProps$q);
80851
- _defineProperty$f(TileLayer, "layerName", "TileLayer");
80854
+ _defineProperty$e(TileLayer, "defaultProps", defaultProps$q);
80855
+ _defineProperty$e(TileLayer, "layerName", "TileLayer");
80852
80856
  const defaultProps$p = {
80853
80857
  fadeTrail: true,
80854
80858
  trailLength: {
@@ -80911,8 +80915,8 @@ class TripsLayer extends PathLayer {
80911
80915
  super.draw(params);
80912
80916
  }
80913
80917
  }
80914
- _defineProperty$f(TripsLayer, "layerName", "TripsLayer");
80915
- _defineProperty$f(TripsLayer, "defaultProps", defaultProps$p);
80918
+ _defineProperty$e(TripsLayer, "layerName", "TripsLayer");
80919
+ _defineProperty$e(TripsLayer, "defaultProps", defaultProps$p);
80916
80920
  var libh3 = function(libh32) {
80917
80921
  libh32 = libh32 || {};
80918
80922
  var Module = typeof libh32 !== "undefined" ? libh32 : {};
@@ -92471,8 +92475,8 @@ class H3ClusterLayer extends GeoCellLayer {
92471
92475
  };
92472
92476
  }
92473
92477
  }
92474
- _defineProperty$f(H3ClusterLayer, "layerName", "H3ClusterLayer");
92475
- _defineProperty$f(H3ClusterLayer, "defaultProps", defaultProps$o);
92478
+ _defineProperty$e(H3ClusterLayer, "layerName", "H3ClusterLayer");
92479
+ _defineProperty$e(H3ClusterLayer, "defaultProps", defaultProps$o);
92476
92480
  const UPDATE_THRESHOLD_KM = 10;
92477
92481
  function normalizeLongitudes(vertices, refLng) {
92478
92482
  refLng = refLng === void 0 ? vertices[0][0] : refLng;
@@ -92554,7 +92558,7 @@ const defaultProps$n = {
92554
92558
  class H3HexagonLayer extends CompositeLayer {
92555
92559
  constructor(...args) {
92556
92560
  super(...args);
92557
- _defineProperty$f(this, "state", void 0);
92561
+ _defineProperty$e(this, "state", void 0);
92558
92562
  }
92559
92563
  initializeState() {
92560
92564
  H3HexagonLayer._checkH3Lib();
@@ -92755,9 +92759,9 @@ class H3HexagonLayer extends CompositeLayer {
92755
92759
  });
92756
92760
  }
92757
92761
  }
92758
- _defineProperty$f(H3HexagonLayer, "defaultProps", defaultProps$n);
92759
- _defineProperty$f(H3HexagonLayer, "layerName", "H3HexagonLayer");
92760
- _defineProperty$f(H3HexagonLayer, "_checkH3Lib", () => {
92762
+ _defineProperty$e(H3HexagonLayer, "defaultProps", defaultProps$n);
92763
+ _defineProperty$e(H3HexagonLayer, "layerName", "H3HexagonLayer");
92764
+ _defineProperty$e(H3HexagonLayer, "_checkH3Lib", () => {
92761
92765
  });
92762
92766
  const RADIAN_PER_DEGREE = Math.PI / 180;
92763
92767
  const modelMatrix = new Float32Array(16);
@@ -92976,7 +92980,7 @@ const defaultProps$m = {
92976
92980
  class SimpleMeshLayer extends Layer {
92977
92981
  constructor(...args) {
92978
92982
  super(...args);
92979
- _defineProperty$f(this, "state", void 0);
92983
+ _defineProperty$e(this, "state", void 0);
92980
92984
  }
92981
92985
  getShaders() {
92982
92986
  const transpileToGLSL100 = !isWebGL2$1(this.context.gl);
@@ -93102,8 +93106,8 @@ class SimpleMeshLayer extends Layer {
93102
93106
  }
93103
93107
  }
93104
93108
  }
93105
- _defineProperty$f(SimpleMeshLayer, "defaultProps", defaultProps$m);
93106
- _defineProperty$f(SimpleMeshLayer, "layerName", "SimpleMeshLayer");
93109
+ _defineProperty$e(SimpleMeshLayer, "defaultProps", defaultProps$m);
93110
+ _defineProperty$e(SimpleMeshLayer, "layerName", "SimpleMeshLayer");
93107
93111
  class ScenegraphNode {
93108
93112
  constructor() {
93109
93113
  let props2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -94421,9 +94425,9 @@ const DEFAULT_GLTF_JSON = {
94421
94425
  };
94422
94426
  class GLTFScenegraph {
94423
94427
  constructor(gltf) {
94424
- _defineProperty$f(this, "gltf", void 0);
94425
- _defineProperty$f(this, "sourceBuffers", void 0);
94426
- _defineProperty$f(this, "byteLength", void 0);
94428
+ _defineProperty$e(this, "gltf", void 0);
94429
+ _defineProperty$e(this, "sourceBuffers", void 0);
94430
+ _defineProperty$e(this, "byteLength", void 0);
94427
94431
  this.gltf = gltf || {
94428
94432
  json: {
94429
94433
  ...DEFAULT_GLTF_JSON
@@ -95041,8 +95045,8 @@ function assert$2(condition, message) {
95041
95045
  }
95042
95046
  class Schema {
95043
95047
  constructor(fields, metadata) {
95044
- _defineProperty$f(this, "fields", void 0);
95045
- _defineProperty$f(this, "metadata", void 0);
95048
+ _defineProperty$e(this, "fields", void 0);
95049
+ _defineProperty$e(this, "metadata", void 0);
95046
95050
  assert$2(Array.isArray(fields));
95047
95051
  checkNames(fields);
95048
95052
  this.fields = fields;
@@ -95109,10 +95113,10 @@ function mergeMaps(m1, m2) {
95109
95113
  }
95110
95114
  class Field {
95111
95115
  constructor(name2, type, nullable = false, metadata = /* @__PURE__ */ new Map()) {
95112
- _defineProperty$f(this, "name", void 0);
95113
- _defineProperty$f(this, "type", void 0);
95114
- _defineProperty$f(this, "nullable", void 0);
95115
- _defineProperty$f(this, "metadata", void 0);
95116
+ _defineProperty$e(this, "name", void 0);
95117
+ _defineProperty$e(this, "type", void 0);
95118
+ _defineProperty$e(this, "nullable", void 0);
95119
+ _defineProperty$e(this, "metadata", void 0);
95116
95120
  this.name = name2;
95117
95121
  this.type = type;
95118
95122
  this.nullable = nullable;
@@ -95245,8 +95249,8 @@ _Symbol$toStringTag = Symbol.toStringTag;
95245
95249
  class Int extends DataType {
95246
95250
  constructor(isSigned, bitWidth) {
95247
95251
  super();
95248
- _defineProperty$f(this, "isSigned", void 0);
95249
- _defineProperty$f(this, "bitWidth", void 0);
95252
+ _defineProperty$e(this, "isSigned", void 0);
95253
+ _defineProperty$e(this, "bitWidth", void 0);
95250
95254
  this.isSigned = isSigned;
95251
95255
  this.bitWidth = bitWidth;
95252
95256
  }
@@ -95299,7 +95303,7 @@ _Symbol$toStringTag2 = Symbol.toStringTag;
95299
95303
  class Float extends DataType {
95300
95304
  constructor(precision) {
95301
95305
  super();
95302
- _defineProperty$f(this, "precision", void 0);
95306
+ _defineProperty$e(this, "precision", void 0);
95303
95307
  this.precision = precision;
95304
95308
  }
95305
95309
  get typeId() {
@@ -95326,8 +95330,8 @@ _Symbol$toStringTag7 = Symbol.toStringTag;
95326
95330
  class FixedSizeList extends DataType {
95327
95331
  constructor(listSize, child) {
95328
95332
  super();
95329
- _defineProperty$f(this, "listSize", void 0);
95330
- _defineProperty$f(this, "children", void 0);
95333
+ _defineProperty$e(this, "listSize", void 0);
95334
+ _defineProperty$e(this, "children", void 0);
95331
95335
  this.listSize = listSize;
95332
95336
  this.children = [child];
95333
95337
  }
@@ -96223,7 +96227,7 @@ const GLTF_KEYS = {
96223
96227
  };
96224
96228
  class GLTFV1Normalizer {
96225
96229
  constructor() {
96226
- _defineProperty$f(this, "idToIndexMap", {
96230
+ _defineProperty$e(this, "idToIndexMap", {
96227
96231
  animations: {},
96228
96232
  accessors: {},
96229
96233
  buffers: {},
@@ -96237,7 +96241,7 @@ class GLTFV1Normalizer {
96237
96241
  skins: {},
96238
96242
  textures: {}
96239
96243
  });
96240
- _defineProperty$f(this, "json", void 0);
96244
+ _defineProperty$e(this, "json", void 0);
96241
96245
  }
96242
96246
  normalize(gltf, options) {
96243
96247
  this.json = gltf.json;
@@ -96439,10 +96443,10 @@ function getSizeFromAccessorType(type) {
96439
96443
  }
96440
96444
  class GLTFPostProcessor {
96441
96445
  constructor() {
96442
- _defineProperty$f(this, "baseUri", "");
96443
- _defineProperty$f(this, "json", {});
96444
- _defineProperty$f(this, "buffers", []);
96445
- _defineProperty$f(this, "images", []);
96446
+ _defineProperty$e(this, "baseUri", "");
96447
+ _defineProperty$e(this, "json", {});
96448
+ _defineProperty$e(this, "buffers", []);
96449
+ _defineProperty$e(this, "images", []);
96446
96450
  }
96447
96451
  postProcess(gltf, options = {}) {
96448
96452
  const {
@@ -97097,7 +97101,7 @@ const defaultProps$l = {
97097
97101
  class ScenegraphLayer extends Layer {
97098
97102
  constructor(...args) {
97099
97103
  super(...args);
97100
- _defineProperty$f(this, "state", void 0);
97104
+ _defineProperty$e(this, "state", void 0);
97101
97105
  }
97102
97106
  getShaders() {
97103
97107
  const modules = [project32, picking];
@@ -97312,8 +97316,8 @@ class ScenegraphLayer extends Layer {
97312
97316
  });
97313
97317
  }
97314
97318
  }
97315
- _defineProperty$f(ScenegraphLayer, "defaultProps", defaultProps$l);
97316
- _defineProperty$f(ScenegraphLayer, "layerName", "ScenegraphLayer");
97319
+ _defineProperty$e(ScenegraphLayer, "defaultProps", defaultProps$l);
97320
+ _defineProperty$e(ScenegraphLayer, "layerName", "ScenegraphLayer");
97317
97321
  const esm$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
97318
97322
  __proto__: null,
97319
97323
  ScenegraphLayer,
@@ -97472,8 +97476,8 @@ class MeshLayer extends SimpleMeshLayer {
97472
97476
  });
97473
97477
  }
97474
97478
  }
97475
- _defineProperty$f(MeshLayer, "layerName", "MeshLayer");
97476
- _defineProperty$f(MeshLayer, "defaultProps", defaultProps$k);
97479
+ _defineProperty$e(MeshLayer, "layerName", "MeshLayer");
97480
+ _defineProperty$e(MeshLayer, "defaultProps", defaultProps$k);
97477
97481
  const WGS84_RADIUS_X$1 = 6378137;
97478
97482
  const WGS84_RADIUS_Y$1 = 6378137;
97479
97483
  const WGS84_RADIUS_Z$1 = 6356752314245179e-9;
@@ -97813,9 +97817,9 @@ class Ellipsoid {
97813
97817
  _defineProperty$e(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X$1, WGS84_RADIUS_Y$1, WGS84_RADIUS_Z$1));
97814
97818
  class DoublyLinkedListNode {
97815
97819
  constructor(item, previous, next) {
97816
- _defineProperty$f(this, "item", void 0);
97817
- _defineProperty$f(this, "previous", void 0);
97818
- _defineProperty$f(this, "next", void 0);
97820
+ _defineProperty$e(this, "item", void 0);
97821
+ _defineProperty$e(this, "previous", void 0);
97822
+ _defineProperty$e(this, "next", void 0);
97819
97823
  this.item = item;
97820
97824
  this.previous = previous;
97821
97825
  this.next = next;
@@ -97823,9 +97827,9 @@ class DoublyLinkedListNode {
97823
97827
  }
97824
97828
  class DoublyLinkedList {
97825
97829
  constructor() {
97826
- _defineProperty$f(this, "head", null);
97827
- _defineProperty$f(this, "tail", null);
97828
- _defineProperty$f(this, "_length", 0);
97830
+ _defineProperty$e(this, "head", null);
97831
+ _defineProperty$e(this, "tail", null);
97832
+ _defineProperty$e(this, "_length", 0);
97829
97833
  }
97830
97834
  get length() {
97831
97835
  return this._length;
@@ -97888,9 +97892,9 @@ function defined$4(x2) {
97888
97892
  }
97889
97893
  class TilesetCache {
97890
97894
  constructor() {
97891
- _defineProperty$f(this, "_list", void 0);
97892
- _defineProperty$f(this, "_sentinel", void 0);
97893
- _defineProperty$f(this, "_trimTiles", void 0);
97895
+ _defineProperty$e(this, "_list", void 0);
97896
+ _defineProperty$e(this, "_sentinel", void 0);
97897
+ _defineProperty$e(this, "_trimTiles", void 0);
97894
97898
  this._list = new DoublyLinkedList();
97895
97899
  this._sentinel = this._list.add("sentinel");
97896
97900
  this._trimTiles = false;
@@ -98333,9 +98337,9 @@ function get3dTilesOptions(tileset) {
98333
98337
  }
98334
98338
  class ManagedArray {
98335
98339
  constructor(length2 = 0) {
98336
- _defineProperty$f(this, "_map", /* @__PURE__ */ new Map());
98337
- _defineProperty$f(this, "_array", void 0);
98338
- _defineProperty$f(this, "_length", void 0);
98340
+ _defineProperty$e(this, "_map", /* @__PURE__ */ new Map());
98341
+ _defineProperty$e(this, "_array", void 0);
98342
+ _defineProperty$e(this, "_length", void 0);
98339
98343
  this._array = new Array(length2);
98340
98344
  this._length = length2;
98341
98345
  }
@@ -98429,16 +98433,16 @@ class TilesetTraverser {
98429
98433
  return true;
98430
98434
  }
98431
98435
  constructor(options) {
98432
- _defineProperty$f(this, "options", void 0);
98433
- _defineProperty$f(this, "root", void 0);
98434
- _defineProperty$f(this, "requestedTiles", void 0);
98435
- _defineProperty$f(this, "selectedTiles", void 0);
98436
- _defineProperty$f(this, "emptyTiles", void 0);
98437
- _defineProperty$f(this, "lastUpdate", (/* @__PURE__ */ new Date()).getTime());
98438
- _defineProperty$f(this, "updateDebounceTime", 1e3);
98439
- _defineProperty$f(this, "_traversalStack", void 0);
98440
- _defineProperty$f(this, "_emptyTraversalStack", void 0);
98441
- _defineProperty$f(this, "_frameNumber", void 0);
98436
+ _defineProperty$e(this, "options", void 0);
98437
+ _defineProperty$e(this, "root", void 0);
98438
+ _defineProperty$e(this, "requestedTiles", void 0);
98439
+ _defineProperty$e(this, "selectedTiles", void 0);
98440
+ _defineProperty$e(this, "emptyTiles", void 0);
98441
+ _defineProperty$e(this, "lastUpdate", (/* @__PURE__ */ new Date()).getTime());
98442
+ _defineProperty$e(this, "updateDebounceTime", 1e3);
98443
+ _defineProperty$e(this, "_traversalStack", void 0);
98444
+ _defineProperty$e(this, "_emptyTraversalStack", void 0);
98445
+ _defineProperty$e(this, "_frameNumber", void 0);
98442
98446
  this.options = {
98443
98447
  ...DEFAULT_PROPS$1,
98444
98448
  ...options
@@ -98659,52 +98663,52 @@ function defined$2(x2) {
98659
98663
  }
98660
98664
  class TileHeader {
98661
98665
  constructor(tileset, header, parentHeader, extendedId = "") {
98662
- _defineProperty$f(this, "tileset", void 0);
98663
- _defineProperty$f(this, "header", void 0);
98664
- _defineProperty$f(this, "id", void 0);
98665
- _defineProperty$f(this, "url", void 0);
98666
- _defineProperty$f(this, "parent", void 0);
98667
- _defineProperty$f(this, "refine", void 0);
98668
- _defineProperty$f(this, "type", void 0);
98669
- _defineProperty$f(this, "contentUrl", void 0);
98670
- _defineProperty$f(this, "lodMetricType", void 0);
98671
- _defineProperty$f(this, "lodMetricValue", void 0);
98672
- _defineProperty$f(this, "boundingVolume", void 0);
98673
- _defineProperty$f(this, "content", void 0);
98674
- _defineProperty$f(this, "contentState", void 0);
98675
- _defineProperty$f(this, "gpuMemoryUsageInBytes", void 0);
98676
- _defineProperty$f(this, "children", void 0);
98677
- _defineProperty$f(this, "depth", void 0);
98678
- _defineProperty$f(this, "viewportIds", void 0);
98679
- _defineProperty$f(this, "transform", void 0);
98680
- _defineProperty$f(this, "extensions", void 0);
98681
- _defineProperty$f(this, "userData", void 0);
98682
- _defineProperty$f(this, "computedTransform", void 0);
98683
- _defineProperty$f(this, "hasEmptyContent", void 0);
98684
- _defineProperty$f(this, "hasTilesetContent", void 0);
98685
- _defineProperty$f(this, "traverser", void 0);
98686
- _defineProperty$f(this, "_cacheNode", void 0);
98687
- _defineProperty$f(this, "_frameNumber", void 0);
98688
- _defineProperty$f(this, "_lodJudge", void 0);
98689
- _defineProperty$f(this, "_expireDate", void 0);
98690
- _defineProperty$f(this, "_expiredContent", void 0);
98691
- _defineProperty$f(this, "_shouldRefine", void 0);
98692
- _defineProperty$f(this, "_distanceToCamera", void 0);
98693
- _defineProperty$f(this, "_centerZDepth", void 0);
98694
- _defineProperty$f(this, "_screenSpaceError", void 0);
98695
- _defineProperty$f(this, "_visibilityPlaneMask", void 0);
98696
- _defineProperty$f(this, "_visible", void 0);
98697
- _defineProperty$f(this, "_inRequestVolume", void 0);
98698
- _defineProperty$f(this, "_stackLength", void 0);
98699
- _defineProperty$f(this, "_selectionDepth", void 0);
98700
- _defineProperty$f(this, "_touchedFrame", void 0);
98701
- _defineProperty$f(this, "_visitedFrame", void 0);
98702
- _defineProperty$f(this, "_selectedFrame", void 0);
98703
- _defineProperty$f(this, "_requestedFrame", void 0);
98704
- _defineProperty$f(this, "_priority", void 0);
98705
- _defineProperty$f(this, "_contentBoundingVolume", void 0);
98706
- _defineProperty$f(this, "_viewerRequestVolume", void 0);
98707
- _defineProperty$f(this, "_initialTransform", void 0);
98666
+ _defineProperty$e(this, "tileset", void 0);
98667
+ _defineProperty$e(this, "header", void 0);
98668
+ _defineProperty$e(this, "id", void 0);
98669
+ _defineProperty$e(this, "url", void 0);
98670
+ _defineProperty$e(this, "parent", void 0);
98671
+ _defineProperty$e(this, "refine", void 0);
98672
+ _defineProperty$e(this, "type", void 0);
98673
+ _defineProperty$e(this, "contentUrl", void 0);
98674
+ _defineProperty$e(this, "lodMetricType", void 0);
98675
+ _defineProperty$e(this, "lodMetricValue", void 0);
98676
+ _defineProperty$e(this, "boundingVolume", void 0);
98677
+ _defineProperty$e(this, "content", void 0);
98678
+ _defineProperty$e(this, "contentState", void 0);
98679
+ _defineProperty$e(this, "gpuMemoryUsageInBytes", void 0);
98680
+ _defineProperty$e(this, "children", void 0);
98681
+ _defineProperty$e(this, "depth", void 0);
98682
+ _defineProperty$e(this, "viewportIds", void 0);
98683
+ _defineProperty$e(this, "transform", void 0);
98684
+ _defineProperty$e(this, "extensions", void 0);
98685
+ _defineProperty$e(this, "userData", void 0);
98686
+ _defineProperty$e(this, "computedTransform", void 0);
98687
+ _defineProperty$e(this, "hasEmptyContent", void 0);
98688
+ _defineProperty$e(this, "hasTilesetContent", void 0);
98689
+ _defineProperty$e(this, "traverser", void 0);
98690
+ _defineProperty$e(this, "_cacheNode", void 0);
98691
+ _defineProperty$e(this, "_frameNumber", void 0);
98692
+ _defineProperty$e(this, "_lodJudge", void 0);
98693
+ _defineProperty$e(this, "_expireDate", void 0);
98694
+ _defineProperty$e(this, "_expiredContent", void 0);
98695
+ _defineProperty$e(this, "_shouldRefine", void 0);
98696
+ _defineProperty$e(this, "_distanceToCamera", void 0);
98697
+ _defineProperty$e(this, "_centerZDepth", void 0);
98698
+ _defineProperty$e(this, "_screenSpaceError", void 0);
98699
+ _defineProperty$e(this, "_visibilityPlaneMask", void 0);
98700
+ _defineProperty$e(this, "_visible", void 0);
98701
+ _defineProperty$e(this, "_inRequestVolume", void 0);
98702
+ _defineProperty$e(this, "_stackLength", void 0);
98703
+ _defineProperty$e(this, "_selectionDepth", void 0);
98704
+ _defineProperty$e(this, "_touchedFrame", void 0);
98705
+ _defineProperty$e(this, "_visitedFrame", void 0);
98706
+ _defineProperty$e(this, "_selectedFrame", void 0);
98707
+ _defineProperty$e(this, "_requestedFrame", void 0);
98708
+ _defineProperty$e(this, "_priority", void 0);
98709
+ _defineProperty$e(this, "_contentBoundingVolume", void 0);
98710
+ _defineProperty$e(this, "_viewerRequestVolume", void 0);
98711
+ _defineProperty$e(this, "_initialTransform", void 0);
98708
98712
  this.header = header;
98709
98713
  this.tileset = tileset;
98710
98714
  this.id = extendedId || header.id;
@@ -99097,7 +99101,7 @@ class Tileset3DTraverser extends TilesetTraverser {
99097
99101
  }
99098
99102
  class I3SPendingTilesRegister {
99099
99103
  constructor() {
99100
- _defineProperty$f(this, "frameNumberMap", /* @__PURE__ */ new Map());
99104
+ _defineProperty$e(this, "frameNumberMap", /* @__PURE__ */ new Map());
99101
99105
  }
99102
99106
  register(viewportId, frameNumber) {
99103
99107
  const viewportMap = this.frameNumberMap.get(viewportId) || /* @__PURE__ */ new Map();
@@ -99126,8 +99130,8 @@ const STATUS = {
99126
99130
  };
99127
99131
  class I3STileManager {
99128
99132
  constructor() {
99129
- _defineProperty$f(this, "_statusMap", void 0);
99130
- _defineProperty$f(this, "pendingTilesRegister", new I3SPendingTilesRegister());
99133
+ _defineProperty$e(this, "_statusMap", void 0);
99134
+ _defineProperty$e(this, "pendingTilesRegister", new I3SPendingTilesRegister());
99131
99135
  this._statusMap = {};
99132
99136
  }
99133
99137
  add(request, key, callback, frameState) {
@@ -99201,7 +99205,7 @@ class I3STilesetTraverser extends TilesetTraverser {
99201
99205
  }
99202
99206
  constructor(options) {
99203
99207
  super(options);
99204
- _defineProperty$f(this, "_tileManager", void 0);
99208
+ _defineProperty$e(this, "_tileManager", void 0);
99205
99209
  this._tileManager = new I3STileManager();
99206
99210
  }
99207
99211
  shouldRefine(tile, frameState) {
@@ -99298,52 +99302,52 @@ const POINTS_COUNT = "Points/Vertices";
99298
99302
  const TILES_GPU_MEMORY = "Tile Memory Use";
99299
99303
  class Tileset3D {
99300
99304
  constructor(json, options) {
99301
- _defineProperty$f(this, "options", void 0);
99302
- _defineProperty$f(this, "loadOptions", void 0);
99303
- _defineProperty$f(this, "type", void 0);
99304
- _defineProperty$f(this, "tileset", void 0);
99305
- _defineProperty$f(this, "loader", void 0);
99306
- _defineProperty$f(this, "url", void 0);
99307
- _defineProperty$f(this, "basePath", void 0);
99308
- _defineProperty$f(this, "modelMatrix", void 0);
99309
- _defineProperty$f(this, "ellipsoid", void 0);
99310
- _defineProperty$f(this, "lodMetricType", void 0);
99311
- _defineProperty$f(this, "lodMetricValue", void 0);
99312
- _defineProperty$f(this, "refine", void 0);
99313
- _defineProperty$f(this, "root", void 0);
99314
- _defineProperty$f(this, "roots", void 0);
99315
- _defineProperty$f(this, "asset", void 0);
99316
- _defineProperty$f(this, "description", void 0);
99317
- _defineProperty$f(this, "properties", void 0);
99318
- _defineProperty$f(this, "extras", void 0);
99319
- _defineProperty$f(this, "attributions", void 0);
99320
- _defineProperty$f(this, "credits", void 0);
99321
- _defineProperty$f(this, "stats", void 0);
99322
- _defineProperty$f(this, "traverseCounter", void 0);
99323
- _defineProperty$f(this, "geometricError", void 0);
99324
- _defineProperty$f(this, "selectedTiles", void 0);
99325
- _defineProperty$f(this, "updatePromise", null);
99326
- _defineProperty$f(this, "tilesetInitializationPromise", void 0);
99327
- _defineProperty$f(this, "cartographicCenter", void 0);
99328
- _defineProperty$f(this, "cartesianCenter", void 0);
99329
- _defineProperty$f(this, "zoom", void 0);
99330
- _defineProperty$f(this, "boundingVolume", void 0);
99331
- _defineProperty$f(this, "gpuMemoryUsageInBytes", void 0);
99332
- _defineProperty$f(this, "dynamicScreenSpaceErrorComputedDensity", void 0);
99333
- _defineProperty$f(this, "_traverser", void 0);
99334
- _defineProperty$f(this, "_cache", void 0);
99335
- _defineProperty$f(this, "_requestScheduler", void 0);
99336
- _defineProperty$f(this, "_frameNumber", void 0);
99337
- _defineProperty$f(this, "_queryParamsString", void 0);
99338
- _defineProperty$f(this, "_queryParams", void 0);
99339
- _defineProperty$f(this, "_extensionsUsed", void 0);
99340
- _defineProperty$f(this, "_tiles", void 0);
99341
- _defineProperty$f(this, "_pendingCount", void 0);
99342
- _defineProperty$f(this, "lastUpdatedVieports", void 0);
99343
- _defineProperty$f(this, "_requestedTiles", void 0);
99344
- _defineProperty$f(this, "_emptyTiles", void 0);
99345
- _defineProperty$f(this, "frameStateData", void 0);
99346
- _defineProperty$f(this, "maximumMemoryUsage", void 0);
99305
+ _defineProperty$e(this, "options", void 0);
99306
+ _defineProperty$e(this, "loadOptions", void 0);
99307
+ _defineProperty$e(this, "type", void 0);
99308
+ _defineProperty$e(this, "tileset", void 0);
99309
+ _defineProperty$e(this, "loader", void 0);
99310
+ _defineProperty$e(this, "url", void 0);
99311
+ _defineProperty$e(this, "basePath", void 0);
99312
+ _defineProperty$e(this, "modelMatrix", void 0);
99313
+ _defineProperty$e(this, "ellipsoid", void 0);
99314
+ _defineProperty$e(this, "lodMetricType", void 0);
99315
+ _defineProperty$e(this, "lodMetricValue", void 0);
99316
+ _defineProperty$e(this, "refine", void 0);
99317
+ _defineProperty$e(this, "root", void 0);
99318
+ _defineProperty$e(this, "roots", void 0);
99319
+ _defineProperty$e(this, "asset", void 0);
99320
+ _defineProperty$e(this, "description", void 0);
99321
+ _defineProperty$e(this, "properties", void 0);
99322
+ _defineProperty$e(this, "extras", void 0);
99323
+ _defineProperty$e(this, "attributions", void 0);
99324
+ _defineProperty$e(this, "credits", void 0);
99325
+ _defineProperty$e(this, "stats", void 0);
99326
+ _defineProperty$e(this, "traverseCounter", void 0);
99327
+ _defineProperty$e(this, "geometricError", void 0);
99328
+ _defineProperty$e(this, "selectedTiles", void 0);
99329
+ _defineProperty$e(this, "updatePromise", null);
99330
+ _defineProperty$e(this, "tilesetInitializationPromise", void 0);
99331
+ _defineProperty$e(this, "cartographicCenter", void 0);
99332
+ _defineProperty$e(this, "cartesianCenter", void 0);
99333
+ _defineProperty$e(this, "zoom", void 0);
99334
+ _defineProperty$e(this, "boundingVolume", void 0);
99335
+ _defineProperty$e(this, "gpuMemoryUsageInBytes", void 0);
99336
+ _defineProperty$e(this, "dynamicScreenSpaceErrorComputedDensity", void 0);
99337
+ _defineProperty$e(this, "_traverser", void 0);
99338
+ _defineProperty$e(this, "_cache", void 0);
99339
+ _defineProperty$e(this, "_requestScheduler", void 0);
99340
+ _defineProperty$e(this, "_frameNumber", void 0);
99341
+ _defineProperty$e(this, "_queryParamsString", void 0);
99342
+ _defineProperty$e(this, "_queryParams", void 0);
99343
+ _defineProperty$e(this, "_extensionsUsed", void 0);
99344
+ _defineProperty$e(this, "_tiles", void 0);
99345
+ _defineProperty$e(this, "_pendingCount", void 0);
99346
+ _defineProperty$e(this, "lastUpdatedVieports", void 0);
99347
+ _defineProperty$e(this, "_requestedTiles", void 0);
99348
+ _defineProperty$e(this, "_emptyTiles", void 0);
99349
+ _defineProperty$e(this, "frameStateData", void 0);
99350
+ _defineProperty$e(this, "maximumMemoryUsage", void 0);
99347
99351
  assert$b(json);
99348
99352
  this.options = {
99349
99353
  ...DEFAULT_PROPS,
@@ -99999,10 +100003,10 @@ function octDecode(x2, y2, result) {
99999
100003
  }
100000
100004
  class Tile3DFeatureTable {
100001
100005
  constructor(featureTableJson, featureTableBinary) {
100002
- _defineProperty$f(this, "json", void 0);
100003
- _defineProperty$f(this, "buffer", void 0);
100004
- _defineProperty$f(this, "featuresLength", 0);
100005
- _defineProperty$f(this, "_cachedTypedArrays", {});
100006
+ _defineProperty$e(this, "json", void 0);
100007
+ _defineProperty$e(this, "buffer", void 0);
100008
+ _defineProperty$e(this, "featuresLength", 0);
100009
+ _defineProperty$e(this, "_cachedTypedArrays", {});
100006
100010
  this.json = featureTableJson;
100007
100011
  this.buffer = featureTableBinary;
100008
100012
  }
@@ -100336,13 +100340,13 @@ const IGNORED_PROPERTY_FIELDS = {
100336
100340
  class Tile3DBatchTableParser {
100337
100341
  constructor(json, binary, featureCount, options = {}) {
100338
100342
  var _this$json;
100339
- _defineProperty$f(this, "json", void 0);
100340
- _defineProperty$f(this, "binary", void 0);
100341
- _defineProperty$f(this, "featureCount", void 0);
100342
- _defineProperty$f(this, "_extensions", void 0);
100343
- _defineProperty$f(this, "_properties", void 0);
100344
- _defineProperty$f(this, "_binaryProperties", void 0);
100345
- _defineProperty$f(this, "_hierarchy", void 0);
100343
+ _defineProperty$e(this, "json", void 0);
100344
+ _defineProperty$e(this, "binary", void 0);
100345
+ _defineProperty$e(this, "featureCount", void 0);
100346
+ _defineProperty$e(this, "_extensions", void 0);
100347
+ _defineProperty$e(this, "_properties", void 0);
100348
+ _defineProperty$e(this, "_binaryProperties", void 0);
100349
+ _defineProperty$e(this, "_hierarchy", void 0);
100346
100350
  assert$b(featureCount >= 0);
100347
100351
  this.json = json || {};
100348
100352
  this.binary = binary;
@@ -101687,7 +101691,7 @@ const defaultProps$j = {
101687
101691
  class Tile3DLayer extends CompositeLayer {
101688
101692
  constructor(...args) {
101689
101693
  super(...args);
101690
- _defineProperty$f(this, "state", void 0);
101694
+ _defineProperty$e(this, "state", void 0);
101691
101695
  }
101692
101696
  initializeState() {
101693
101697
  if ("onTileLoadFail" in this.props) {
@@ -102008,8 +102012,8 @@ class Tile3DLayer extends CompositeLayer {
102008
102012
  }).filter(Boolean);
102009
102013
  }
102010
102014
  }
102011
- _defineProperty$f(Tile3DLayer, "defaultProps", defaultProps$j);
102012
- _defineProperty$f(Tile3DLayer, "layerName", "Tile3DLayer");
102015
+ _defineProperty$e(Tile3DLayer, "defaultProps", defaultProps$j);
102016
+ _defineProperty$e(Tile3DLayer, "layerName", "Tile3DLayer");
102013
102017
  function getMeshGeometry(contentAttributes) {
102014
102018
  const attributes = {};
102015
102019
  attributes.positions = {
@@ -102839,7 +102843,7 @@ function urlTemplateToUpdateTrigger(template) {
102839
102843
  class TerrainLayer extends CompositeLayer {
102840
102844
  constructor(...args) {
102841
102845
  super(...args);
102842
- _defineProperty$f(this, "state", void 0);
102846
+ _defineProperty$e(this, "state", void 0);
102843
102847
  }
102844
102848
  updateState({
102845
102849
  props: props2,
@@ -103054,8 +103058,8 @@ class TerrainLayer extends CompositeLayer {
103054
103058
  });
103055
103059
  }
103056
103060
  }
103057
- _defineProperty$f(TerrainLayer, "defaultProps", defaultProps$i);
103058
- _defineProperty$f(TerrainLayer, "layerName", "TerrainLayer");
103061
+ _defineProperty$e(TerrainLayer, "defaultProps", defaultProps$i);
103062
+ _defineProperty$e(TerrainLayer, "layerName", "TerrainLayer");
103059
103063
  function flatGeojsonToBinary(features, geometryInfo, options) {
103060
103064
  const propArrayTypes = extractNumericPropTypes(features);
103061
103065
  const numericPropKeys = Object.keys(propArrayTypes).filter((k) => propArrayTypes[k] !== Array);
@@ -104345,14 +104349,14 @@ let VectorTileFeature$1 = class VectorTileFeature {
104345
104349
  return ["Unknown", "Point", "LineString", "Polygon"];
104346
104350
  }
104347
104351
  constructor(pbf2, end, extent2, keys3, values) {
104348
- _defineProperty$f(this, "properties", void 0);
104349
- _defineProperty$f(this, "extent", void 0);
104350
- _defineProperty$f(this, "type", void 0);
104351
- _defineProperty$f(this, "id", void 0);
104352
- _defineProperty$f(this, "_pbf", void 0);
104353
- _defineProperty$f(this, "_geometry", void 0);
104354
- _defineProperty$f(this, "_keys", void 0);
104355
- _defineProperty$f(this, "_values", void 0);
104352
+ _defineProperty$e(this, "properties", void 0);
104353
+ _defineProperty$e(this, "extent", void 0);
104354
+ _defineProperty$e(this, "type", void 0);
104355
+ _defineProperty$e(this, "id", void 0);
104356
+ _defineProperty$e(this, "_pbf", void 0);
104357
+ _defineProperty$e(this, "_geometry", void 0);
104358
+ _defineProperty$e(this, "_keys", void 0);
104359
+ _defineProperty$e(this, "_values", void 0);
104356
104360
  this.properties = {};
104357
104361
  this.extent = extent2;
104358
104362
  this.type = 0;
@@ -104509,14 +104513,14 @@ let VectorTileFeature$1 = class VectorTileFeature {
104509
104513
  };
104510
104514
  let VectorTileLayer$1 = class VectorTileLayer {
104511
104515
  constructor(pbf2, end) {
104512
- _defineProperty$f(this, "version", void 0);
104513
- _defineProperty$f(this, "name", void 0);
104514
- _defineProperty$f(this, "extent", void 0);
104515
- _defineProperty$f(this, "length", void 0);
104516
- _defineProperty$f(this, "_pbf", void 0);
104517
- _defineProperty$f(this, "_keys", void 0);
104518
- _defineProperty$f(this, "_values", void 0);
104519
- _defineProperty$f(this, "_features", void 0);
104516
+ _defineProperty$e(this, "version", void 0);
104517
+ _defineProperty$e(this, "name", void 0);
104518
+ _defineProperty$e(this, "extent", void 0);
104519
+ _defineProperty$e(this, "length", void 0);
104520
+ _defineProperty$e(this, "_pbf", void 0);
104521
+ _defineProperty$e(this, "_keys", void 0);
104522
+ _defineProperty$e(this, "_values", void 0);
104523
+ _defineProperty$e(this, "_features", void 0);
104520
104524
  this.version = 1;
104521
104525
  this.name = "";
104522
104526
  this.extent = 4096;
@@ -104564,7 +104568,7 @@ function readValueMessage$1(pbf2) {
104564
104568
  }
104565
104569
  let VectorTile$1 = class VectorTile {
104566
104570
  constructor(pbf2, end) {
104567
- _defineProperty$f(this, "layers", void 0);
104571
+ _defineProperty$e(this, "layers", void 0);
104568
104572
  this.layers = pbf2.readFields(readTile$1, {}, end);
104569
104573
  }
104570
104574
  };
@@ -104668,15 +104672,15 @@ let y;
104668
104672
  let i$2;
104669
104673
  class VectorTileFeature2 {
104670
104674
  constructor(pbf2, end, extent2, keys3, values, geometryInfo) {
104671
- _defineProperty$f(this, "properties", void 0);
104672
- _defineProperty$f(this, "extent", void 0);
104673
- _defineProperty$f(this, "type", void 0);
104674
- _defineProperty$f(this, "id", void 0);
104675
- _defineProperty$f(this, "_pbf", void 0);
104676
- _defineProperty$f(this, "_geometry", void 0);
104677
- _defineProperty$f(this, "_keys", void 0);
104678
- _defineProperty$f(this, "_values", void 0);
104679
- _defineProperty$f(this, "_geometryInfo", void 0);
104675
+ _defineProperty$e(this, "properties", void 0);
104676
+ _defineProperty$e(this, "extent", void 0);
104677
+ _defineProperty$e(this, "type", void 0);
104678
+ _defineProperty$e(this, "id", void 0);
104679
+ _defineProperty$e(this, "_pbf", void 0);
104680
+ _defineProperty$e(this, "_geometry", void 0);
104681
+ _defineProperty$e(this, "_keys", void 0);
104682
+ _defineProperty$e(this, "_values", void 0);
104683
+ _defineProperty$e(this, "_geometryInfo", void 0);
104680
104684
  this.properties = {};
104681
104685
  this.extent = extent2;
104682
104686
  this.type = 0;
@@ -104791,14 +104795,14 @@ class VectorTileFeature2 {
104791
104795
  }
104792
104796
  class VectorTileLayer2 {
104793
104797
  constructor(pbf2, end) {
104794
- _defineProperty$f(this, "version", void 0);
104795
- _defineProperty$f(this, "name", void 0);
104796
- _defineProperty$f(this, "extent", void 0);
104797
- _defineProperty$f(this, "length", void 0);
104798
- _defineProperty$f(this, "_pbf", void 0);
104799
- _defineProperty$f(this, "_keys", void 0);
104800
- _defineProperty$f(this, "_values", void 0);
104801
- _defineProperty$f(this, "_features", void 0);
104798
+ _defineProperty$e(this, "version", void 0);
104799
+ _defineProperty$e(this, "name", void 0);
104800
+ _defineProperty$e(this, "extent", void 0);
104801
+ _defineProperty$e(this, "length", void 0);
104802
+ _defineProperty$e(this, "_pbf", void 0);
104803
+ _defineProperty$e(this, "_keys", void 0);
104804
+ _defineProperty$e(this, "_values", void 0);
104805
+ _defineProperty$e(this, "_features", void 0);
104802
104806
  this.version = 1;
104803
104807
  this.name = "";
104804
104808
  this.extent = 4096;
@@ -104846,7 +104850,7 @@ function readValueMessage(pbf2) {
104846
104850
  }
104847
104851
  class VectorTile2 {
104848
104852
  constructor(pbf2, end) {
104849
- _defineProperty$f(this, "layers", void 0);
104853
+ _defineProperty$e(this, "layers", void 0);
104850
104854
  this.layers = pbf2.readFields(readTile, {}, end);
104851
104855
  }
104852
104856
  }
@@ -105457,8 +105461,8 @@ class MVTLayer extends TileLayer {
105457
105461
  });
105458
105462
  }
105459
105463
  }
105460
- _defineProperty$f(MVTLayer, "layerName", "MVTLayer");
105461
- _defineProperty$f(MVTLayer, "defaultProps", defaultProps$h);
105464
+ _defineProperty$e(MVTLayer, "layerName", "MVTLayer");
105465
+ _defineProperty$e(MVTLayer, "defaultProps", defaultProps$h);
105462
105466
  function getFeatureUniqueId(feature2, uniqueIdProperty) {
105463
105467
  if (feature2.properties && uniqueIdProperty) {
105464
105468
  return feature2.properties[uniqueIdProperty];
@@ -105556,8 +105560,8 @@ class GeohashLayer extends GeoCellLayer {
105556
105560
  };
105557
105561
  }
105558
105562
  }
105559
- _defineProperty$f(GeohashLayer, "layerName", "GeohashLayer");
105560
- _defineProperty$f(GeohashLayer, "defaultProps", defaultProps$g);
105563
+ _defineProperty$e(GeohashLayer, "layerName", "GeohashLayer");
105564
+ _defineProperty$e(GeohashLayer, "defaultProps", defaultProps$g);
105561
105565
  const esm$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
105562
105566
  __proto__: null,
105563
105567
  GeohashLayer,
@@ -107821,13 +107825,13 @@ var shams$1 = function hasSymbols() {
107821
107825
  }
107822
107826
  return true;
107823
107827
  };
107824
- var hasSymbols$4 = shams$1;
107828
+ var hasSymbols$3 = shams$1;
107825
107829
  var shams = function hasToStringTagShams() {
107826
- return hasSymbols$4() && !!Symbol.toStringTag;
107830
+ return hasSymbols$3() && !!Symbol.toStringTag;
107827
107831
  };
107828
107832
  var origSymbol = typeof Symbol !== "undefined" && Symbol;
107829
107833
  var hasSymbolSham = shams$1;
107830
- var hasSymbols$3 = function hasNativeSymbols() {
107834
+ var hasSymbols$2 = function hasNativeSymbols() {
107831
107835
  if (typeof origSymbol !== "function") {
107832
107836
  return false;
107833
107837
  }
@@ -107842,6 +107846,13 @@ var hasSymbols$3 = function hasNativeSymbols() {
107842
107846
  }
107843
107847
  return hasSymbolSham();
107844
107848
  };
107849
+ var test = {
107850
+ foo: {}
107851
+ };
107852
+ var $Object = Object;
107853
+ var hasProto$1 = function hasProto() {
107854
+ return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
107855
+ };
107845
107856
  var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
107846
107857
  var slice = Array.prototype.slice;
107847
107858
  var toStr$2 = Object.prototype.toString;
@@ -107887,374 +107898,8 @@ var implementation$7 = function bind2(that) {
107887
107898
  };
107888
107899
  var implementation$6 = implementation$7;
107889
107900
  var functionBind = Function.prototype.bind || implementation$6;
107890
- var bind$2 = functionBind;
107891
- var src = bind$2.call(Function.call, Object.prototype.hasOwnProperty);
107892
- var undefined$2;
107893
- var $SyntaxError$1 = SyntaxError;
107894
- var $Function$1 = Function;
107895
- var $TypeError$1 = TypeError;
107896
- var getEvalledConstructor$1 = function(expressionSyntax) {
107897
- try {
107898
- return $Function$1('"use strict"; return (' + expressionSyntax + ").constructor;")();
107899
- } catch (e2) {
107900
- }
107901
- };
107902
- var $gOPD$2 = Object.getOwnPropertyDescriptor;
107903
- if ($gOPD$2) {
107904
- try {
107905
- $gOPD$2({}, "");
107906
- } catch (e2) {
107907
- $gOPD$2 = null;
107908
- }
107909
- }
107910
- var throwTypeError$1 = function() {
107911
- throw new $TypeError$1();
107912
- };
107913
- var ThrowTypeError$1 = $gOPD$2 ? function() {
107914
- try {
107915
- arguments.callee;
107916
- return throwTypeError$1;
107917
- } catch (calleeThrows) {
107918
- try {
107919
- return $gOPD$2(arguments, "callee").get;
107920
- } catch (gOPDthrows) {
107921
- return throwTypeError$1;
107922
- }
107923
- }
107924
- }() : throwTypeError$1;
107925
- var hasSymbols$2 = hasSymbols$3();
107926
- var getProto$2 = Object.getPrototypeOf || function(x2) {
107927
- return x2.__proto__;
107928
- };
107929
- var needsEval$1 = {};
107930
- var TypedArray$1 = typeof Uint8Array === "undefined" ? undefined$2 : getProto$2(Uint8Array);
107931
- var INTRINSICS$1 = {
107932
- "%AggregateError%": typeof AggregateError === "undefined" ? undefined$2 : AggregateError,
107933
- "%Array%": Array,
107934
- "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$2 : ArrayBuffer,
107935
- "%ArrayIteratorPrototype%": hasSymbols$2 ? getProto$2([][Symbol.iterator]()) : undefined$2,
107936
- "%AsyncFromSyncIteratorPrototype%": undefined$2,
107937
- "%AsyncFunction%": needsEval$1,
107938
- "%AsyncGenerator%": needsEval$1,
107939
- "%AsyncGeneratorFunction%": needsEval$1,
107940
- "%AsyncIteratorPrototype%": needsEval$1,
107941
- "%Atomics%": typeof Atomics === "undefined" ? undefined$2 : Atomics,
107942
- "%BigInt%": typeof BigInt === "undefined" ? undefined$2 : BigInt,
107943
- "%Boolean%": Boolean,
107944
- "%DataView%": typeof DataView === "undefined" ? undefined$2 : DataView,
107945
- "%Date%": Date,
107946
- "%decodeURI%": decodeURI,
107947
- "%decodeURIComponent%": decodeURIComponent,
107948
- "%encodeURI%": encodeURI,
107949
- "%encodeURIComponent%": encodeURIComponent,
107950
- "%Error%": Error,
107951
- "%eval%": eval,
107952
- // eslint-disable-line no-eval
107953
- "%EvalError%": EvalError,
107954
- "%Float32Array%": typeof Float32Array === "undefined" ? undefined$2 : Float32Array,
107955
- "%Float64Array%": typeof Float64Array === "undefined" ? undefined$2 : Float64Array,
107956
- "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$2 : FinalizationRegistry,
107957
- "%Function%": $Function$1,
107958
- "%GeneratorFunction%": needsEval$1,
107959
- "%Int8Array%": typeof Int8Array === "undefined" ? undefined$2 : Int8Array,
107960
- "%Int16Array%": typeof Int16Array === "undefined" ? undefined$2 : Int16Array,
107961
- "%Int32Array%": typeof Int32Array === "undefined" ? undefined$2 : Int32Array,
107962
- "%isFinite%": isFinite,
107963
- "%isNaN%": isNaN,
107964
- "%IteratorPrototype%": hasSymbols$2 ? getProto$2(getProto$2([][Symbol.iterator]())) : undefined$2,
107965
- "%JSON%": typeof JSON === "object" ? JSON : undefined$2,
107966
- "%Map%": typeof Map === "undefined" ? undefined$2 : Map,
107967
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Map())[Symbol.iterator]()),
107968
- "%Math%": Math,
107969
- "%Number%": Number,
107970
- "%Object%": Object,
107971
- "%parseFloat%": parseFloat,
107972
- "%parseInt%": parseInt,
107973
- "%Promise%": typeof Promise === "undefined" ? undefined$2 : Promise,
107974
- "%Proxy%": typeof Proxy === "undefined" ? undefined$2 : Proxy,
107975
- "%RangeError%": RangeError,
107976
- "%ReferenceError%": ReferenceError,
107977
- "%Reflect%": typeof Reflect === "undefined" ? undefined$2 : Reflect,
107978
- "%RegExp%": RegExp,
107979
- "%Set%": typeof Set === "undefined" ? undefined$2 : Set,
107980
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Set())[Symbol.iterator]()),
107981
- "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$2 : SharedArrayBuffer,
107982
- "%String%": String,
107983
- "%StringIteratorPrototype%": hasSymbols$2 ? getProto$2(""[Symbol.iterator]()) : undefined$2,
107984
- "%Symbol%": hasSymbols$2 ? Symbol : undefined$2,
107985
- "%SyntaxError%": $SyntaxError$1,
107986
- "%ThrowTypeError%": ThrowTypeError$1,
107987
- "%TypedArray%": TypedArray$1,
107988
- "%TypeError%": $TypeError$1,
107989
- "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$2 : Uint8Array,
107990
- "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$2 : Uint8ClampedArray,
107991
- "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$2 : Uint16Array,
107992
- "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$2 : Uint32Array,
107993
- "%URIError%": URIError,
107994
- "%WeakMap%": typeof WeakMap === "undefined" ? undefined$2 : WeakMap,
107995
- "%WeakRef%": typeof WeakRef === "undefined" ? undefined$2 : WeakRef,
107996
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined$2 : WeakSet
107997
- };
107998
- var doEval$1 = function doEval(name2) {
107999
- var value;
108000
- if (name2 === "%AsyncFunction%") {
108001
- value = getEvalledConstructor$1("async function () {}");
108002
- } else if (name2 === "%GeneratorFunction%") {
108003
- value = getEvalledConstructor$1("function* () {}");
108004
- } else if (name2 === "%AsyncGeneratorFunction%") {
108005
- value = getEvalledConstructor$1("async function* () {}");
108006
- } else if (name2 === "%AsyncGenerator%") {
108007
- var fn = doEval("%AsyncGeneratorFunction%");
108008
- if (fn) {
108009
- value = fn.prototype;
108010
- }
108011
- } else if (name2 === "%AsyncIteratorPrototype%") {
108012
- var gen = doEval("%AsyncGenerator%");
108013
- if (gen) {
108014
- value = getProto$2(gen.prototype);
108015
- }
108016
- }
108017
- INTRINSICS$1[name2] = value;
108018
- return value;
108019
- };
108020
- var LEGACY_ALIASES$1 = {
108021
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
108022
- "%ArrayPrototype%": ["Array", "prototype"],
108023
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
108024
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
108025
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
108026
- "%ArrayProto_values%": ["Array", "prototype", "values"],
108027
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
108028
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
108029
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
108030
- "%BooleanPrototype%": ["Boolean", "prototype"],
108031
- "%DataViewPrototype%": ["DataView", "prototype"],
108032
- "%DatePrototype%": ["Date", "prototype"],
108033
- "%ErrorPrototype%": ["Error", "prototype"],
108034
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
108035
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
108036
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
108037
- "%FunctionPrototype%": ["Function", "prototype"],
108038
- "%Generator%": ["GeneratorFunction", "prototype"],
108039
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
108040
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
108041
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
108042
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
108043
- "%JSONParse%": ["JSON", "parse"],
108044
- "%JSONStringify%": ["JSON", "stringify"],
108045
- "%MapPrototype%": ["Map", "prototype"],
108046
- "%NumberPrototype%": ["Number", "prototype"],
108047
- "%ObjectPrototype%": ["Object", "prototype"],
108048
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
108049
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
108050
- "%PromisePrototype%": ["Promise", "prototype"],
108051
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
108052
- "%Promise_all%": ["Promise", "all"],
108053
- "%Promise_reject%": ["Promise", "reject"],
108054
- "%Promise_resolve%": ["Promise", "resolve"],
108055
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
108056
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
108057
- "%RegExpPrototype%": ["RegExp", "prototype"],
108058
- "%SetPrototype%": ["Set", "prototype"],
108059
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
108060
- "%StringPrototype%": ["String", "prototype"],
108061
- "%SymbolPrototype%": ["Symbol", "prototype"],
108062
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
108063
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
108064
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
108065
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
108066
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
108067
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
108068
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
108069
- "%URIErrorPrototype%": ["URIError", "prototype"],
108070
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
108071
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
108072
- };
108073
107901
  var bind$1 = functionBind;
108074
- var hasOwn$1 = src;
108075
- var $concat$1 = bind$1.call(Function.call, Array.prototype.concat);
108076
- var $spliceApply$1 = bind$1.call(Function.apply, Array.prototype.splice);
108077
- var $replace$1 = bind$1.call(Function.call, String.prototype.replace);
108078
- var $strSlice$1 = bind$1.call(Function.call, String.prototype.slice);
108079
- var $exec$2 = bind$1.call(Function.call, RegExp.prototype.exec);
108080
- var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
108081
- var reEscapeChar$1 = /\\(\\)?/g;
108082
- var stringToPath$1 = function stringToPath(string) {
108083
- var first = $strSlice$1(string, 0, 1);
108084
- var last = $strSlice$1(string, -1);
108085
- if (first === "%" && last !== "%") {
108086
- throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");
108087
- } else if (last === "%" && first !== "%") {
108088
- throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");
108089
- }
108090
- var result = [];
108091
- $replace$1(string, rePropName$1, function(match, number2, quote, subString) {
108092
- result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, "$1") : number2 || match;
108093
- });
108094
- return result;
108095
- };
108096
- var getBaseIntrinsic$1 = function getBaseIntrinsic(name2, allowMissing) {
108097
- var intrinsicName = name2;
108098
- var alias;
108099
- if (hasOwn$1(LEGACY_ALIASES$1, intrinsicName)) {
108100
- alias = LEGACY_ALIASES$1[intrinsicName];
108101
- intrinsicName = "%" + alias[0] + "%";
108102
- }
108103
- if (hasOwn$1(INTRINSICS$1, intrinsicName)) {
108104
- var value = INTRINSICS$1[intrinsicName];
108105
- if (value === needsEval$1) {
108106
- value = doEval$1(intrinsicName);
108107
- }
108108
- if (typeof value === "undefined" && !allowMissing) {
108109
- throw new $TypeError$1("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
108110
- }
108111
- return {
108112
- alias,
108113
- name: intrinsicName,
108114
- value
108115
- };
108116
- }
108117
- throw new $SyntaxError$1("intrinsic " + name2 + " does not exist!");
108118
- };
108119
- var getIntrinsic$1 = function GetIntrinsic(name2, allowMissing) {
108120
- if (typeof name2 !== "string" || name2.length === 0) {
108121
- throw new $TypeError$1("intrinsic name must be a non-empty string");
108122
- }
108123
- if (arguments.length > 1 && typeof allowMissing !== "boolean") {
108124
- throw new $TypeError$1('"allowMissing" argument must be a boolean');
108125
- }
108126
- if ($exec$2(/^%?[^%]*%?$/, name2) === null) {
108127
- throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
108128
- }
108129
- var parts = stringToPath$1(name2);
108130
- var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
108131
- var intrinsic = getBaseIntrinsic$1("%" + intrinsicBaseName + "%", allowMissing);
108132
- var intrinsicRealName = intrinsic.name;
108133
- var value = intrinsic.value;
108134
- var skipFurtherCaching = false;
108135
- var alias = intrinsic.alias;
108136
- if (alias) {
108137
- intrinsicBaseName = alias[0];
108138
- $spliceApply$1(parts, $concat$1([0, 1], alias));
108139
- }
108140
- for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
108141
- var part = parts[i2];
108142
- var first = $strSlice$1(part, 0, 1);
108143
- var last = $strSlice$1(part, -1);
108144
- if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
108145
- throw new $SyntaxError$1("property names with quotes must have matching quotes");
108146
- }
108147
- if (part === "constructor" || !isOwn) {
108148
- skipFurtherCaching = true;
108149
- }
108150
- intrinsicBaseName += "." + part;
108151
- intrinsicRealName = "%" + intrinsicBaseName + "%";
108152
- if (hasOwn$1(INTRINSICS$1, intrinsicRealName)) {
108153
- value = INTRINSICS$1[intrinsicRealName];
108154
- } else if (value != null) {
108155
- if (!(part in value)) {
108156
- if (!allowMissing) {
108157
- throw new $TypeError$1("base intrinsic for " + name2 + " exists, but the property is not available.");
108158
- }
108159
- return void 0;
108160
- }
108161
- if ($gOPD$2 && i2 + 1 >= parts.length) {
108162
- var desc = $gOPD$2(value, part);
108163
- isOwn = !!desc;
108164
- if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
108165
- value = desc.get;
108166
- } else {
108167
- value = value[part];
108168
- }
108169
- } else {
108170
- isOwn = hasOwn$1(value, part);
108171
- value = value[part];
108172
- }
108173
- if (isOwn && !skipFurtherCaching) {
108174
- INTRINSICS$1[intrinsicRealName] = value;
108175
- }
108176
- }
108177
- }
108178
- return value;
108179
- };
108180
- var callBind$3 = { exports: {} };
108181
- (function(module2) {
108182
- var bind4 = functionBind;
108183
- var GetIntrinsic4 = getIntrinsic$1;
108184
- var $apply = GetIntrinsic4("%Function.prototype.apply%");
108185
- var $call = GetIntrinsic4("%Function.prototype.call%");
108186
- var $reflectApply = GetIntrinsic4("%Reflect.apply%", true) || bind4.call($call, $apply);
108187
- var $gOPD2 = GetIntrinsic4("%Object.getOwnPropertyDescriptor%", true);
108188
- var $defineProperty2 = GetIntrinsic4("%Object.defineProperty%", true);
108189
- var $max = GetIntrinsic4("%Math.max%");
108190
- if ($defineProperty2) {
108191
- try {
108192
- $defineProperty2({}, "a", { value: 1 });
108193
- } catch (e2) {
108194
- $defineProperty2 = null;
108195
- }
108196
- }
108197
- module2.exports = function callBind2(originalFunction) {
108198
- var func = $reflectApply(bind4, $call, arguments);
108199
- if ($gOPD2 && $defineProperty2) {
108200
- var desc = $gOPD2(func, "length");
108201
- if (desc.configurable) {
108202
- $defineProperty2(
108203
- func,
108204
- "length",
108205
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
108206
- );
108207
- }
108208
- }
108209
- return func;
108210
- };
108211
- var applyBind = function applyBind2() {
108212
- return $reflectApply(bind4, $apply, arguments);
108213
- };
108214
- if ($defineProperty2) {
108215
- $defineProperty2(module2.exports, "apply", { value: applyBind });
108216
- } else {
108217
- module2.exports.apply = applyBind;
108218
- }
108219
- })(callBind$3);
108220
- var callBindExports = callBind$3.exports;
108221
- var GetIntrinsic$1 = getIntrinsic$1;
108222
- var callBind$2 = callBindExports;
108223
- var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
108224
- var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
108225
- var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
108226
- if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
108227
- return callBind$2(intrinsic);
108228
- }
108229
- return intrinsic;
108230
- };
108231
- var hasToStringTag$2 = shams();
108232
- var callBound$1 = callBound$2;
108233
- var $toString$1 = callBound$1("Object.prototype.toString");
108234
- var isStandardArguments = function isArguments2(value) {
108235
- if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
108236
- return false;
108237
- }
108238
- return $toString$1(value) === "[object Arguments]";
108239
- };
108240
- var isLegacyArguments = function isArguments3(value) {
108241
- if (isStandardArguments(value)) {
108242
- return true;
108243
- }
108244
- return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
108245
- };
108246
- var supportsStandardArguments = function() {
108247
- return isStandardArguments(arguments);
108248
- }();
108249
- isStandardArguments.isLegacyArguments = isLegacyArguments;
108250
- var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
108251
- var test = {
108252
- foo: {}
108253
- };
108254
- var $Object = Object;
108255
- var hasProto$1 = function hasProto() {
108256
- return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
108257
- };
107902
+ var src = bind$1.call(Function.call, Object.prototype.hasOwnProperty);
108258
107903
  var undefined$1;
108259
107904
  var $SyntaxError = SyntaxError;
108260
107905
  var $Function = Function;
@@ -108288,7 +107933,7 @@ var ThrowTypeError = $gOPD$1 ? function() {
108288
107933
  }
108289
107934
  }
108290
107935
  }() : throwTypeError;
108291
- var hasSymbols$1 = hasSymbols$3();
107936
+ var hasSymbols$1 = hasSymbols$2();
108292
107937
  var hasProto2 = hasProto$1();
108293
107938
  var getProto$1 = Object.getPrototypeOf || (hasProto2 ? function(x2) {
108294
107939
  return x2.__proto__;
@@ -108372,7 +108017,7 @@ if (getProto$1) {
108372
108017
  INTRINSICS["%Error.prototype%"] = errorProto;
108373
108018
  }
108374
108019
  }
108375
- var doEval2 = function doEval3(name2) {
108020
+ var doEval = function doEval2(name2) {
108376
108021
  var value;
108377
108022
  if (name2 === "%AsyncFunction%") {
108378
108023
  value = getEvalledConstructor("async function () {}");
@@ -108381,12 +108026,12 @@ var doEval2 = function doEval3(name2) {
108381
108026
  } else if (name2 === "%AsyncGeneratorFunction%") {
108382
108027
  value = getEvalledConstructor("async function* () {}");
108383
108028
  } else if (name2 === "%AsyncGenerator%") {
108384
- var fn = doEval3("%AsyncGeneratorFunction%");
108029
+ var fn = doEval2("%AsyncGeneratorFunction%");
108385
108030
  if (fn) {
108386
108031
  value = fn.prototype;
108387
108032
  }
108388
108033
  } else if (name2 === "%AsyncIteratorPrototype%") {
108389
- var gen = doEval3("%AsyncGenerator%");
108034
+ var gen = doEval2("%AsyncGenerator%");
108390
108035
  if (gen && getProto$1) {
108391
108036
  value = getProto$1(gen.prototype);
108392
108037
  }
@@ -108456,7 +108101,7 @@ var $strSlice = bind3.call(Function.call, String.prototype.slice);
108456
108101
  var $exec$1 = bind3.call(Function.call, RegExp.prototype.exec);
108457
108102
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
108458
108103
  var reEscapeChar = /\\(\\)?/g;
108459
- var stringToPath2 = function stringToPath3(string) {
108104
+ var stringToPath = function stringToPath2(string) {
108460
108105
  var first = $strSlice(string, 0, 1);
108461
108106
  var last = $strSlice(string, -1);
108462
108107
  if (first === "%" && last !== "%") {
@@ -108470,7 +108115,7 @@ var stringToPath2 = function stringToPath3(string) {
108470
108115
  });
108471
108116
  return result;
108472
108117
  };
108473
- var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
108118
+ var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
108474
108119
  var intrinsicName = name2;
108475
108120
  var alias;
108476
108121
  if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
@@ -108480,7 +108125,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
108480
108125
  if (hasOwn(INTRINSICS, intrinsicName)) {
108481
108126
  var value = INTRINSICS[intrinsicName];
108482
108127
  if (value === needsEval) {
108483
- value = doEval2(intrinsicName);
108128
+ value = doEval(intrinsicName);
108484
108129
  }
108485
108130
  if (typeof value === "undefined" && !allowMissing) {
108486
108131
  throw new $TypeError("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
@@ -108493,7 +108138,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
108493
108138
  }
108494
108139
  throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
108495
108140
  };
108496
- var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
108141
+ var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
108497
108142
  if (typeof name2 !== "string" || name2.length === 0) {
108498
108143
  throw new $TypeError("intrinsic name must be a non-empty string");
108499
108144
  }
@@ -108503,9 +108148,9 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
108503
108148
  if ($exec$1(/^%?[^%]*%?$/, name2) === null) {
108504
108149
  throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
108505
108150
  }
108506
- var parts = stringToPath2(name2);
108151
+ var parts = stringToPath(name2);
108507
108152
  var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
108508
- var intrinsic = getBaseIntrinsic2("%" + intrinsicBaseName + "%", allowMissing);
108153
+ var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
108509
108154
  var intrinsicRealName = intrinsic.name;
108510
108155
  var value = intrinsic.value;
108511
108156
  var skipFurtherCaching = false;
@@ -108554,8 +108199,79 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
108554
108199
  }
108555
108200
  return value;
108556
108201
  };
108557
- var GetIntrinsic3 = getIntrinsic;
108558
- var $defineProperty = GetIntrinsic3("%Object.defineProperty%", true);
108202
+ var callBind$3 = { exports: {} };
108203
+ (function(module2) {
108204
+ var bind4 = functionBind;
108205
+ var GetIntrinsic3 = getIntrinsic;
108206
+ var $apply = GetIntrinsic3("%Function.prototype.apply%");
108207
+ var $call = GetIntrinsic3("%Function.prototype.call%");
108208
+ var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
108209
+ var $gOPD2 = GetIntrinsic3("%Object.getOwnPropertyDescriptor%", true);
108210
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true);
108211
+ var $max = GetIntrinsic3("%Math.max%");
108212
+ if ($defineProperty2) {
108213
+ try {
108214
+ $defineProperty2({}, "a", { value: 1 });
108215
+ } catch (e2) {
108216
+ $defineProperty2 = null;
108217
+ }
108218
+ }
108219
+ module2.exports = function callBind2(originalFunction) {
108220
+ var func = $reflectApply(bind4, $call, arguments);
108221
+ if ($gOPD2 && $defineProperty2) {
108222
+ var desc = $gOPD2(func, "length");
108223
+ if (desc.configurable) {
108224
+ $defineProperty2(
108225
+ func,
108226
+ "length",
108227
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
108228
+ );
108229
+ }
108230
+ }
108231
+ return func;
108232
+ };
108233
+ var applyBind = function applyBind2() {
108234
+ return $reflectApply(bind4, $apply, arguments);
108235
+ };
108236
+ if ($defineProperty2) {
108237
+ $defineProperty2(module2.exports, "apply", { value: applyBind });
108238
+ } else {
108239
+ module2.exports.apply = applyBind;
108240
+ }
108241
+ })(callBind$3);
108242
+ var callBindExports = callBind$3.exports;
108243
+ var GetIntrinsic$1 = getIntrinsic;
108244
+ var callBind$2 = callBindExports;
108245
+ var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
108246
+ var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
108247
+ var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
108248
+ if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
108249
+ return callBind$2(intrinsic);
108250
+ }
108251
+ return intrinsic;
108252
+ };
108253
+ var hasToStringTag$2 = shams();
108254
+ var callBound$1 = callBound$2;
108255
+ var $toString$1 = callBound$1("Object.prototype.toString");
108256
+ var isStandardArguments = function isArguments2(value) {
108257
+ if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
108258
+ return false;
108259
+ }
108260
+ return $toString$1(value) === "[object Arguments]";
108261
+ };
108262
+ var isLegacyArguments = function isArguments3(value) {
108263
+ if (isStandardArguments(value)) {
108264
+ return true;
108265
+ }
108266
+ return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
108267
+ };
108268
+ var supportsStandardArguments = function() {
108269
+ return isStandardArguments(arguments);
108270
+ }();
108271
+ isStandardArguments.isLegacyArguments = isLegacyArguments;
108272
+ var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
108273
+ var GetIntrinsic2 = getIntrinsic;
108274
+ var $defineProperty = GetIntrinsic2("%Object.defineProperty%", true);
108559
108275
  var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
108560
108276
  if ($defineProperty) {
108561
108277
  try {
@@ -142083,16 +141799,16 @@ function addDecoder(cases, importFn) {
142083
141799
  }
142084
141800
  cases.forEach((c) => registry.set(c, importFn));
142085
141801
  }
142086
- addDecoder([void 0, 1], () => import("./raw-d95d6509.js").then((m) => m.default));
142087
- addDecoder(5, () => import("./lzw-68593c7a.js").then((m) => m.default));
141802
+ addDecoder([void 0, 1], () => import("./raw-431129e7.js").then((m) => m.default));
141803
+ addDecoder(5, () => import("./lzw-8a6eb694.js").then((m) => m.default));
142088
141804
  addDecoder(6, () => {
142089
141805
  throw new Error("old style JPEG compression is not supported.");
142090
141806
  });
142091
- addDecoder(7, () => import("./jpeg-e220efb2.js").then((m) => m.default));
142092
- addDecoder([8, 32946], () => import("./deflate-4cf9f098.js").then((m) => m.default));
142093
- addDecoder(32773, () => import("./packbits-c500b823.js").then((m) => m.default));
142094
- addDecoder(34887, () => import("./lerc-12b63f0c.js").then((m) => m.default));
142095
- addDecoder(50001, () => import("./webimage-7938b145.js").then((m) => m.default));
141807
+ addDecoder(7, () => import("./jpeg-608a0f2a.js").then((m) => m.default));
141808
+ addDecoder([8, 32946], () => import("./deflate-e4df5be8.js").then((m) => m.default));
141809
+ addDecoder(32773, () => import("./packbits-e34e4553.js").then((m) => m.default));
141810
+ addDecoder(34887, () => import("./lerc-9d769a30.js").then((m) => m.default));
141811
+ addDecoder(50001, () => import("./webimage-c5617d00.js").then((m) => m.default));
142096
141812
  function decodeRowAcc(row, stride) {
142097
141813
  let length2 = row.length - stride;
142098
141814
  let offset = 0;