@vitessce/ome-tiff 3.0.1 → 3.1.1

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.
@@ -17967,10 +17967,10 @@ const DEFAULT_LIGHT_INTENSITY$2 = 1;
17967
17967
  let idCount$2 = 0;
17968
17968
  class AmbientLight {
17969
17969
  constructor(props2 = {}) {
17970
- _defineProperty$e(this, "id", void 0);
17971
- _defineProperty$e(this, "color", void 0);
17972
- _defineProperty$e(this, "intensity", void 0);
17973
- _defineProperty$e(this, "type", "ambient");
17970
+ _defineProperty$f(this, "id", void 0);
17971
+ _defineProperty$f(this, "color", void 0);
17972
+ _defineProperty$f(this, "intensity", void 0);
17973
+ _defineProperty$f(this, "type", "ambient");
17974
17974
  const {
17975
17975
  color = DEFAULT_LIGHT_COLOR$2
17976
17976
  } = props2;
@@ -17988,12 +17988,12 @@ const DEFAULT_LIGHT_DIRECTION = [0, 0, -1];
17988
17988
  let idCount$1 = 0;
17989
17989
  class DirectionalLight {
17990
17990
  constructor(props2 = {}) {
17991
- _defineProperty$e(this, "id", void 0);
17992
- _defineProperty$e(this, "color", void 0);
17993
- _defineProperty$e(this, "intensity", void 0);
17994
- _defineProperty$e(this, "type", "directional");
17995
- _defineProperty$e(this, "direction", void 0);
17996
- _defineProperty$e(this, "shadow", void 0);
17991
+ _defineProperty$f(this, "id", void 0);
17992
+ _defineProperty$f(this, "color", void 0);
17993
+ _defineProperty$f(this, "intensity", void 0);
17994
+ _defineProperty$f(this, "type", "directional");
17995
+ _defineProperty$f(this, "direction", void 0);
17996
+ _defineProperty$f(this, "shadow", void 0);
17997
17997
  const {
17998
17998
  color = DEFAULT_LIGHT_COLOR$1
17999
17999
  } = props2;
@@ -18021,9 +18021,9 @@ class Pass {
18021
18021
  constructor(gl, props2 = {
18022
18022
  id: "pass"
18023
18023
  }) {
18024
- _defineProperty$e(this, "id", void 0);
18025
- _defineProperty$e(this, "gl", void 0);
18026
- _defineProperty$e(this, "props", void 0);
18024
+ _defineProperty$f(this, "id", void 0);
18025
+ _defineProperty$f(this, "gl", void 0);
18026
+ _defineProperty$f(this, "props", void 0);
18027
18027
  const {
18028
18028
  id
18029
18029
  } = props2;
@@ -18044,7 +18044,7 @@ class Pass {
18044
18044
  class LayersPass extends Pass {
18045
18045
  constructor(...args) {
18046
18046
  super(...args);
18047
- _defineProperty$e(this, "_lastRenderIndex", -1);
18047
+ _defineProperty$f(this, "_lastRenderIndex", -1);
18048
18048
  }
18049
18049
  render(options) {
18050
18050
  const gl = this.gl;
@@ -18291,9 +18291,9 @@ function clearGLCanvas(gl) {
18291
18291
  class ShadowPass extends LayersPass {
18292
18292
  constructor(gl, props2) {
18293
18293
  super(gl, props2);
18294
- _defineProperty$e(this, "shadowMap", void 0);
18295
- _defineProperty$e(this, "depthBuffer", void 0);
18296
- _defineProperty$e(this, "fbo", void 0);
18294
+ _defineProperty$f(this, "shadowMap", void 0);
18295
+ _defineProperty$f(this, "depthBuffer", void 0);
18296
+ _defineProperty$f(this, "fbo", void 0);
18297
18297
  this.shadowMap = new Texture2D(gl, {
18298
18298
  width: 1,
18299
18299
  height: 1,
@@ -18383,18 +18383,18 @@ const DEFAULT_DIRECTIONAL_LIGHT_PROPS = [{
18383
18383
  const DEFAULT_SHADOW_COLOR = [0, 0, 0, 200 / 255];
18384
18384
  class LightingEffect {
18385
18385
  constructor(props2 = {}) {
18386
- _defineProperty$e(this, "id", "lighting-effect");
18387
- _defineProperty$e(this, "props", null);
18388
- _defineProperty$e(this, "shadowColor", DEFAULT_SHADOW_COLOR);
18389
- _defineProperty$e(this, "shadow", void 0);
18390
- _defineProperty$e(this, "ambientLight", null);
18391
- _defineProperty$e(this, "directionalLights", []);
18392
- _defineProperty$e(this, "pointLights", []);
18393
- _defineProperty$e(this, "shadowPasses", []);
18394
- _defineProperty$e(this, "shadowMaps", []);
18395
- _defineProperty$e(this, "dummyShadowMap", null);
18396
- _defineProperty$e(this, "programManager", void 0);
18397
- _defineProperty$e(this, "shadowMatrices", void 0);
18386
+ _defineProperty$f(this, "id", "lighting-effect");
18387
+ _defineProperty$f(this, "props", null);
18388
+ _defineProperty$f(this, "shadowColor", DEFAULT_SHADOW_COLOR);
18389
+ _defineProperty$f(this, "shadow", void 0);
18390
+ _defineProperty$f(this, "ambientLight", null);
18391
+ _defineProperty$f(this, "directionalLights", []);
18392
+ _defineProperty$f(this, "pointLights", []);
18393
+ _defineProperty$f(this, "shadowPasses", []);
18394
+ _defineProperty$f(this, "shadowMaps", []);
18395
+ _defineProperty$f(this, "dummyShadowMap", null);
18396
+ _defineProperty$f(this, "programManager", void 0);
18397
+ _defineProperty$f(this, "shadowMatrices", void 0);
18398
18398
  for (const key in props2) {
18399
18399
  const lightSource = props2[key];
18400
18400
  switch (lightSource.type) {
@@ -18517,8 +18517,8 @@ class LightingEffect {
18517
18517
  }
18518
18518
  class TypedArrayManager {
18519
18519
  constructor(options = {}) {
18520
- _defineProperty$e(this, "_pool", []);
18521
- _defineProperty$e(this, "opts", {
18520
+ _defineProperty$f(this, "_pool", []);
18521
+ _defineProperty$f(this, "opts", {
18522
18522
  overAlloc: 2,
18523
18523
  poolSize: 100
18524
18524
  });
@@ -18703,30 +18703,30 @@ function createProjectionMatrix({
18703
18703
  }
18704
18704
  class Viewport {
18705
18705
  constructor(opts2 = {}) {
18706
- _defineProperty$e(this, "id", void 0);
18707
- _defineProperty$e(this, "x", void 0);
18708
- _defineProperty$e(this, "y", void 0);
18709
- _defineProperty$e(this, "width", void 0);
18710
- _defineProperty$e(this, "height", void 0);
18711
- _defineProperty$e(this, "padding", void 0);
18712
- _defineProperty$e(this, "isGeospatial", void 0);
18713
- _defineProperty$e(this, "zoom", void 0);
18714
- _defineProperty$e(this, "focalDistance", void 0);
18715
- _defineProperty$e(this, "position", void 0);
18716
- _defineProperty$e(this, "modelMatrix", void 0);
18717
- _defineProperty$e(this, "distanceScales", void 0);
18718
- _defineProperty$e(this, "scale", void 0);
18719
- _defineProperty$e(this, "center", void 0);
18720
- _defineProperty$e(this, "cameraPosition", void 0);
18721
- _defineProperty$e(this, "projectionMatrix", void 0);
18722
- _defineProperty$e(this, "viewMatrix", void 0);
18723
- _defineProperty$e(this, "viewMatrixUncentered", void 0);
18724
- _defineProperty$e(this, "viewMatrixInverse", void 0);
18725
- _defineProperty$e(this, "viewProjectionMatrix", void 0);
18726
- _defineProperty$e(this, "pixelProjectionMatrix", void 0);
18727
- _defineProperty$e(this, "pixelUnprojectionMatrix", void 0);
18728
- _defineProperty$e(this, "resolution", void 0);
18729
- _defineProperty$e(this, "_frustumPlanes", {});
18706
+ _defineProperty$f(this, "id", void 0);
18707
+ _defineProperty$f(this, "x", void 0);
18708
+ _defineProperty$f(this, "y", void 0);
18709
+ _defineProperty$f(this, "width", void 0);
18710
+ _defineProperty$f(this, "height", void 0);
18711
+ _defineProperty$f(this, "padding", void 0);
18712
+ _defineProperty$f(this, "isGeospatial", void 0);
18713
+ _defineProperty$f(this, "zoom", void 0);
18714
+ _defineProperty$f(this, "focalDistance", void 0);
18715
+ _defineProperty$f(this, "position", void 0);
18716
+ _defineProperty$f(this, "modelMatrix", void 0);
18717
+ _defineProperty$f(this, "distanceScales", void 0);
18718
+ _defineProperty$f(this, "scale", void 0);
18719
+ _defineProperty$f(this, "center", void 0);
18720
+ _defineProperty$f(this, "cameraPosition", void 0);
18721
+ _defineProperty$f(this, "projectionMatrix", void 0);
18722
+ _defineProperty$f(this, "viewMatrix", void 0);
18723
+ _defineProperty$f(this, "viewMatrixUncentered", void 0);
18724
+ _defineProperty$f(this, "viewMatrixInverse", void 0);
18725
+ _defineProperty$f(this, "viewProjectionMatrix", void 0);
18726
+ _defineProperty$f(this, "pixelProjectionMatrix", void 0);
18727
+ _defineProperty$f(this, "pixelUnprojectionMatrix", void 0);
18728
+ _defineProperty$f(this, "resolution", void 0);
18729
+ _defineProperty$f(this, "_frustumPlanes", {});
18730
18730
  this.id = opts2.id || this.constructor.displayName || "viewport";
18731
18731
  this.x = opts2.x || 0;
18732
18732
  this.y = opts2.y || 0;
@@ -18929,7 +18929,7 @@ class Viewport {
18929
18929
  }
18930
18930
  }
18931
18931
  }
18932
- _defineProperty$e(Viewport, "displayName", "Viewport");
18932
+ _defineProperty$f(Viewport, "displayName", "Viewport");
18933
18933
  const TILE_SIZE$4 = 512;
18934
18934
  const EARTH_CIRCUMFERENCE = 4003e4;
18935
18935
  const DEGREES_TO_RADIANS$3 = Math.PI / 180;
@@ -19005,15 +19005,15 @@ class WebMercatorViewport2 extends Viewport {
19005
19005
  fovy,
19006
19006
  focalDistance: altitude
19007
19007
  });
19008
- _defineProperty$e(this, "longitude", void 0);
19009
- _defineProperty$e(this, "latitude", void 0);
19010
- _defineProperty$e(this, "pitch", void 0);
19011
- _defineProperty$e(this, "bearing", void 0);
19012
- _defineProperty$e(this, "altitude", void 0);
19013
- _defineProperty$e(this, "fovy", void 0);
19014
- _defineProperty$e(this, "orthographic", void 0);
19015
- _defineProperty$e(this, "_subViewports", void 0);
19016
- _defineProperty$e(this, "_pseudoMeters", void 0);
19008
+ _defineProperty$f(this, "longitude", void 0);
19009
+ _defineProperty$f(this, "latitude", void 0);
19010
+ _defineProperty$f(this, "pitch", void 0);
19011
+ _defineProperty$f(this, "bearing", void 0);
19012
+ _defineProperty$f(this, "altitude", void 0);
19013
+ _defineProperty$f(this, "fovy", void 0);
19014
+ _defineProperty$f(this, "orthographic", void 0);
19015
+ _defineProperty$f(this, "_subViewports", void 0);
19016
+ _defineProperty$f(this, "_pseudoMeters", void 0);
19017
19017
  this.latitude = latitude;
19018
19018
  this.longitude = longitude;
19019
19019
  this.zoom = zoom;
@@ -19099,7 +19099,7 @@ class WebMercatorViewport2 extends Viewport {
19099
19099
  });
19100
19100
  }
19101
19101
  }
19102
- _defineProperty$e(WebMercatorViewport2, "displayName", "WebMercatorViewport");
19102
+ _defineProperty$f(WebMercatorViewport2, "displayName", "WebMercatorViewport");
19103
19103
  function lngLatZToWorldPosition(lngLatZ, viewport, offsetMode = false) {
19104
19104
  const p = viewport.projectPosition(lngLatZ);
19105
19105
  if (offsetMode && viewport instanceof WebMercatorViewport2) {
@@ -19195,13 +19195,13 @@ const DEFAULT_LIGHT_POSITION = [0, 0, 1];
19195
19195
  let idCount = 0;
19196
19196
  class PointLight {
19197
19197
  constructor(props2 = {}) {
19198
- _defineProperty$e(this, "id", void 0);
19199
- _defineProperty$e(this, "color", void 0);
19200
- _defineProperty$e(this, "intensity", void 0);
19201
- _defineProperty$e(this, "type", "point");
19202
- _defineProperty$e(this, "position", void 0);
19203
- _defineProperty$e(this, "attenuation", void 0);
19204
- _defineProperty$e(this, "projectedLight", void 0);
19198
+ _defineProperty$f(this, "id", void 0);
19199
+ _defineProperty$f(this, "color", void 0);
19200
+ _defineProperty$f(this, "intensity", void 0);
19201
+ _defineProperty$f(this, "type", "point");
19202
+ _defineProperty$f(this, "position", void 0);
19203
+ _defineProperty$f(this, "attenuation", void 0);
19204
+ _defineProperty$f(this, "projectedLight", void 0);
19205
19205
  const {
19206
19206
  color = DEFAULT_LIGHT_COLOR
19207
19207
  } = props2;
@@ -19358,7 +19358,7 @@ function getSunCoords(dates) {
19358
19358
  class SunLight extends DirectionalLight {
19359
19359
  constructor(opts2) {
19360
19360
  super(opts2);
19361
- _defineProperty$e(this, "timestamp", void 0);
19361
+ _defineProperty$f(this, "timestamp", void 0);
19362
19362
  this.timestamp = opts2.timestamp;
19363
19363
  }
19364
19364
  getProjectedLight({
@@ -19384,7 +19384,7 @@ class SunLight extends DirectionalLight {
19384
19384
  class ScreenPass extends Pass {
19385
19385
  constructor(gl, props2) {
19386
19386
  super(gl, props2);
19387
- _defineProperty$e(this, "model", void 0);
19387
+ _defineProperty$f(this, "model", void 0);
19388
19388
  const {
19389
19389
  module: module2,
19390
19390
  fs: fs2,
@@ -19432,10 +19432,10 @@ class ScreenPass extends Pass {
19432
19432
  }
19433
19433
  class PostProcessEffect {
19434
19434
  constructor(module2, props2 = {}) {
19435
- _defineProperty$e(this, "id", void 0);
19436
- _defineProperty$e(this, "props", void 0);
19437
- _defineProperty$e(this, "module", void 0);
19438
- _defineProperty$e(this, "passes", void 0);
19435
+ _defineProperty$f(this, "id", void 0);
19436
+ _defineProperty$f(this, "props", void 0);
19437
+ _defineProperty$f(this, "module", void 0);
19438
+ _defineProperty$f(this, "passes", void 0);
19439
19439
  this.id = "".concat(module2.name, "-pass");
19440
19440
  this.props = props2;
19441
19441
  normalizeShaderModule(module2);
@@ -19564,16 +19564,16 @@ function fillArray({
19564
19564
  }
19565
19565
  class Resource2 {
19566
19566
  constructor(id, data, context) {
19567
- _defineProperty$e(this, "id", void 0);
19568
- _defineProperty$e(this, "context", void 0);
19569
- _defineProperty$e(this, "isLoaded", void 0);
19570
- _defineProperty$e(this, "persistent", void 0);
19571
- _defineProperty$e(this, "_loadCount", 0);
19572
- _defineProperty$e(this, "_subscribers", /* @__PURE__ */ new Set());
19573
- _defineProperty$e(this, "_data", void 0);
19574
- _defineProperty$e(this, "_loader", void 0);
19575
- _defineProperty$e(this, "_error", void 0);
19576
- _defineProperty$e(this, "_content", void 0);
19567
+ _defineProperty$f(this, "id", void 0);
19568
+ _defineProperty$f(this, "context", void 0);
19569
+ _defineProperty$f(this, "isLoaded", void 0);
19570
+ _defineProperty$f(this, "persistent", void 0);
19571
+ _defineProperty$f(this, "_loadCount", 0);
19572
+ _defineProperty$f(this, "_subscribers", /* @__PURE__ */ new Set());
19573
+ _defineProperty$f(this, "_data", void 0);
19574
+ _defineProperty$f(this, "_loader", void 0);
19575
+ _defineProperty$f(this, "_error", void 0);
19576
+ _defineProperty$f(this, "_content", void 0);
19577
19577
  this.id = id;
19578
19578
  this.context = context;
19579
19579
  this.setData(data);
@@ -19631,11 +19631,11 @@ class ResourceManager {
19631
19631
  gl,
19632
19632
  protocol
19633
19633
  }) {
19634
- _defineProperty$e(this, "protocol", void 0);
19635
- _defineProperty$e(this, "_context", void 0);
19636
- _defineProperty$e(this, "_resources", void 0);
19637
- _defineProperty$e(this, "_consumers", void 0);
19638
- _defineProperty$e(this, "_pruneRequest", void 0);
19634
+ _defineProperty$f(this, "protocol", void 0);
19635
+ _defineProperty$f(this, "_context", void 0);
19636
+ _defineProperty$f(this, "_resources", void 0);
19637
+ _defineProperty$f(this, "_consumers", void 0);
19638
+ _defineProperty$f(this, "_pruneRequest", void 0);
19639
19639
  this.protocol = protocol || "resource://";
19640
19640
  this._context = {
19641
19641
  gl,
@@ -19762,15 +19762,15 @@ class LayerManager {
19762
19762
  viewport: _viewport,
19763
19763
  timeline
19764
19764
  } = {}) {
19765
- _defineProperty$e(this, "layers", void 0);
19766
- _defineProperty$e(this, "context", void 0);
19767
- _defineProperty$e(this, "resourceManager", void 0);
19768
- _defineProperty$e(this, "_lastRenderedLayers", []);
19769
- _defineProperty$e(this, "_needsRedraw", false);
19770
- _defineProperty$e(this, "_needsUpdate", false);
19771
- _defineProperty$e(this, "_nextLayers", null);
19772
- _defineProperty$e(this, "_debug", false);
19773
- _defineProperty$e(this, "activateViewport", (viewport) => {
19765
+ _defineProperty$f(this, "layers", void 0);
19766
+ _defineProperty$f(this, "context", void 0);
19767
+ _defineProperty$f(this, "resourceManager", void 0);
19768
+ _defineProperty$f(this, "_lastRenderedLayers", []);
19769
+ _defineProperty$f(this, "_needsRedraw", false);
19770
+ _defineProperty$f(this, "_needsUpdate", false);
19771
+ _defineProperty$f(this, "_nextLayers", null);
19772
+ _defineProperty$f(this, "_debug", false);
19773
+ _defineProperty$f(this, "activateViewport", (viewport) => {
19774
19774
  debug$2(TRACE_ACTIVATE_VIEWPORT, this, viewport);
19775
19775
  if (viewport) {
19776
19776
  this.context.viewport = viewport;
@@ -19981,19 +19981,19 @@ function deepEqual$2(a2, b) {
19981
19981
  }
19982
19982
  class ViewManager {
19983
19983
  constructor(props2) {
19984
- _defineProperty$e(this, "width", void 0);
19985
- _defineProperty$e(this, "height", void 0);
19986
- _defineProperty$e(this, "views", void 0);
19987
- _defineProperty$e(this, "viewState", void 0);
19988
- _defineProperty$e(this, "controllers", void 0);
19989
- _defineProperty$e(this, "timeline", void 0);
19990
- _defineProperty$e(this, "_viewports", void 0);
19991
- _defineProperty$e(this, "_viewportMap", void 0);
19992
- _defineProperty$e(this, "_isUpdating", void 0);
19993
- _defineProperty$e(this, "_needsRedraw", void 0);
19994
- _defineProperty$e(this, "_needsUpdate", void 0);
19995
- _defineProperty$e(this, "_eventManager", void 0);
19996
- _defineProperty$e(this, "_eventCallbacks", void 0);
19984
+ _defineProperty$f(this, "width", void 0);
19985
+ _defineProperty$f(this, "height", void 0);
19986
+ _defineProperty$f(this, "views", void 0);
19987
+ _defineProperty$f(this, "viewState", void 0);
19988
+ _defineProperty$f(this, "controllers", void 0);
19989
+ _defineProperty$f(this, "timeline", void 0);
19990
+ _defineProperty$f(this, "_viewports", void 0);
19991
+ _defineProperty$f(this, "_viewportMap", void 0);
19992
+ _defineProperty$f(this, "_isUpdating", void 0);
19993
+ _defineProperty$f(this, "_needsRedraw", void 0);
19994
+ _defineProperty$f(this, "_needsUpdate", void 0);
19995
+ _defineProperty$f(this, "_eventManager", void 0);
19996
+ _defineProperty$f(this, "_eventCallbacks", void 0);
19997
19997
  this.views = [];
19998
19998
  this.width = 100;
19999
19999
  this.height = 100;
@@ -20267,14 +20267,14 @@ function assert$4(condition, message) {
20267
20267
  }
20268
20268
  class View {
20269
20269
  constructor(props2) {
20270
- _defineProperty$e(this, "id", void 0);
20271
- _defineProperty$e(this, "viewportInstance", void 0);
20272
- _defineProperty$e(this, "_x", void 0);
20273
- _defineProperty$e(this, "_y", void 0);
20274
- _defineProperty$e(this, "_width", void 0);
20275
- _defineProperty$e(this, "_height", void 0);
20276
- _defineProperty$e(this, "_padding", void 0);
20277
- _defineProperty$e(this, "props", void 0);
20270
+ _defineProperty$f(this, "id", void 0);
20271
+ _defineProperty$f(this, "viewportInstance", void 0);
20272
+ _defineProperty$f(this, "_x", void 0);
20273
+ _defineProperty$f(this, "_y", void 0);
20274
+ _defineProperty$f(this, "_width", void 0);
20275
+ _defineProperty$f(this, "_height", void 0);
20276
+ _defineProperty$f(this, "_padding", void 0);
20277
+ _defineProperty$f(this, "props", void 0);
20278
20278
  const {
20279
20279
  id,
20280
20280
  x: x2 = 0,
@@ -20401,11 +20401,11 @@ class View {
20401
20401
  }
20402
20402
  class Transition {
20403
20403
  constructor(timeline) {
20404
- _defineProperty$e(this, "_inProgress", void 0);
20405
- _defineProperty$e(this, "_handle", void 0);
20406
- _defineProperty$e(this, "_timeline", void 0);
20407
- _defineProperty$e(this, "time", void 0);
20408
- _defineProperty$e(this, "settings", void 0);
20404
+ _defineProperty$f(this, "_inProgress", void 0);
20405
+ _defineProperty$f(this, "_handle", void 0);
20406
+ _defineProperty$f(this, "_timeline", void 0);
20407
+ _defineProperty$f(this, "time", void 0);
20408
+ _defineProperty$f(this, "settings", void 0);
20409
20409
  this._inProgress = false;
20410
20410
  this._handle = null;
20411
20411
  this._timeline = timeline;
@@ -20479,13 +20479,13 @@ const DEFAULT_EASING = (t2) => t2;
20479
20479
  const DEFAULT_INTERRUPTION = TRANSITION_EVENTS.BREAK;
20480
20480
  class TransitionManager {
20481
20481
  constructor(opts2) {
20482
- _defineProperty$e(this, "getControllerState", void 0);
20483
- _defineProperty$e(this, "props", void 0);
20484
- _defineProperty$e(this, "propsInTransition", void 0);
20485
- _defineProperty$e(this, "transition", void 0);
20486
- _defineProperty$e(this, "onViewStateChange", void 0);
20487
- _defineProperty$e(this, "onStateChange", void 0);
20488
- _defineProperty$e(this, "_onTransitionUpdate", (transition) => {
20482
+ _defineProperty$f(this, "getControllerState", void 0);
20483
+ _defineProperty$f(this, "props", void 0);
20484
+ _defineProperty$f(this, "propsInTransition", void 0);
20485
+ _defineProperty$f(this, "transition", void 0);
20486
+ _defineProperty$f(this, "onViewStateChange", void 0);
20487
+ _defineProperty$f(this, "onStateChange", void 0);
20488
+ _defineProperty$f(this, "_onTransitionUpdate", (transition) => {
20489
20489
  const {
20490
20490
  time,
20491
20491
  settings: {
@@ -20613,9 +20613,9 @@ class TransitionManager {
20613
20613
  }
20614
20614
  class TransitionInterpolator {
20615
20615
  constructor(opts2) {
20616
- _defineProperty$e(this, "_propsToCompare", void 0);
20617
- _defineProperty$e(this, "_propsToExtract", void 0);
20618
- _defineProperty$e(this, "_requiredProps", void 0);
20616
+ _defineProperty$f(this, "_propsToCompare", void 0);
20617
+ _defineProperty$f(this, "_propsToExtract", void 0);
20618
+ _defineProperty$f(this, "_requiredProps", void 0);
20619
20619
  const {
20620
20620
  compare: compare2,
20621
20621
  extract,
@@ -20676,7 +20676,7 @@ class LinearInterpolator extends TransitionInterpolator {
20676
20676
  required: DEFAULT_REQUIRED_PROPS
20677
20677
  };
20678
20678
  super(normalizedOpts.transitionProps);
20679
- _defineProperty$e(this, "opts", void 0);
20679
+ _defineProperty$f(this, "opts", void 0);
20680
20680
  this.opts = normalizedOpts;
20681
20681
  }
20682
20682
  initializeProps(startProps, endProps) {
@@ -20730,31 +20730,31 @@ const EVENT_TYPES = {
20730
20730
  const pinchEventWorkaround = {};
20731
20731
  class Controller {
20732
20732
  constructor(opts2) {
20733
- _defineProperty$e(this, "props", void 0);
20734
- _defineProperty$e(this, "state", {});
20735
- _defineProperty$e(this, "transitionManager", void 0);
20736
- _defineProperty$e(this, "eventManager", void 0);
20737
- _defineProperty$e(this, "onViewStateChange", void 0);
20738
- _defineProperty$e(this, "onStateChange", void 0);
20739
- _defineProperty$e(this, "makeViewport", void 0);
20740
- _defineProperty$e(this, "_controllerState", void 0);
20741
- _defineProperty$e(this, "_events", {});
20742
- _defineProperty$e(this, "_interactionState", {
20733
+ _defineProperty$f(this, "props", void 0);
20734
+ _defineProperty$f(this, "state", {});
20735
+ _defineProperty$f(this, "transitionManager", void 0);
20736
+ _defineProperty$f(this, "eventManager", void 0);
20737
+ _defineProperty$f(this, "onViewStateChange", void 0);
20738
+ _defineProperty$f(this, "onStateChange", void 0);
20739
+ _defineProperty$f(this, "makeViewport", void 0);
20740
+ _defineProperty$f(this, "_controllerState", void 0);
20741
+ _defineProperty$f(this, "_events", {});
20742
+ _defineProperty$f(this, "_interactionState", {
20743
20743
  isDragging: false
20744
20744
  });
20745
- _defineProperty$e(this, "_customEvents", []);
20746
- _defineProperty$e(this, "_eventStartBlocked", null);
20747
- _defineProperty$e(this, "_panMove", false);
20748
- _defineProperty$e(this, "invertPan", false);
20749
- _defineProperty$e(this, "dragMode", "rotate");
20750
- _defineProperty$e(this, "inertia", 0);
20751
- _defineProperty$e(this, "scrollZoom", true);
20752
- _defineProperty$e(this, "dragPan", true);
20753
- _defineProperty$e(this, "dragRotate", true);
20754
- _defineProperty$e(this, "doubleClickZoom", true);
20755
- _defineProperty$e(this, "touchZoom", true);
20756
- _defineProperty$e(this, "touchRotate", false);
20757
- _defineProperty$e(this, "keyboard", true);
20745
+ _defineProperty$f(this, "_customEvents", []);
20746
+ _defineProperty$f(this, "_eventStartBlocked", null);
20747
+ _defineProperty$f(this, "_panMove", false);
20748
+ _defineProperty$f(this, "invertPan", false);
20749
+ _defineProperty$f(this, "dragMode", "rotate");
20750
+ _defineProperty$f(this, "inertia", 0);
20751
+ _defineProperty$f(this, "scrollZoom", true);
20752
+ _defineProperty$f(this, "dragPan", true);
20753
+ _defineProperty$f(this, "dragRotate", true);
20754
+ _defineProperty$f(this, "doubleClickZoom", true);
20755
+ _defineProperty$f(this, "touchZoom", true);
20756
+ _defineProperty$f(this, "touchRotate", false);
20757
+ _defineProperty$f(this, "keyboard", true);
20758
20758
  this.transitionManager = new TransitionManager({
20759
20759
  ...opts2,
20760
20760
  getControllerState: (props2) => new this.ControllerState(props2),
@@ -21365,8 +21365,8 @@ class Controller {
21365
21365
  }
21366
21366
  class ViewState {
21367
21367
  constructor(props2, state) {
21368
- _defineProperty$e(this, "_viewportProps", void 0);
21369
- _defineProperty$e(this, "_state", void 0);
21368
+ _defineProperty$f(this, "_viewportProps", void 0);
21369
+ _defineProperty$f(this, "_state", void 0);
21370
21370
  this._viewportProps = this.applyConstraints(props2);
21371
21371
  this._state = state;
21372
21372
  }
@@ -21429,7 +21429,7 @@ class MapState extends ViewState {
21429
21429
  startPitch,
21430
21430
  startZoom
21431
21431
  });
21432
- _defineProperty$e(this, "makeViewport", void 0);
21432
+ _defineProperty$f(this, "makeViewport", void 0);
21433
21433
  this.makeViewport = options.makeViewport;
21434
21434
  }
21435
21435
  panStart({
@@ -21689,8 +21689,8 @@ class MapState extends ViewState {
21689
21689
  class MapController extends Controller {
21690
21690
  constructor(...args) {
21691
21691
  super(...args);
21692
- _defineProperty$e(this, "ControllerState", MapState);
21693
- _defineProperty$e(this, "transition", {
21692
+ _defineProperty$f(this, "ControllerState", MapState);
21693
+ _defineProperty$f(this, "transition", {
21694
21694
  transitionDuration: 300,
21695
21695
  transitionInterpolator: new LinearInterpolator({
21696
21696
  transitionProps: {
@@ -21699,7 +21699,7 @@ class MapController extends Controller {
21699
21699
  }
21700
21700
  })
21701
21701
  });
21702
- _defineProperty$e(this, "dragMode", "pan");
21702
+ _defineProperty$f(this, "dragMode", "pan");
21703
21703
  }
21704
21704
  setProps(props2) {
21705
21705
  props2.position = props2.position || [0, 0, 0];
@@ -21723,12 +21723,12 @@ class MapView extends View {
21723
21723
  return MapController;
21724
21724
  }
21725
21725
  }
21726
- _defineProperty$e(MapView, "displayName", "MapView");
21726
+ _defineProperty$f(MapView, "displayName", "MapView");
21727
21727
  class MaskPass extends LayersPass {
21728
21728
  constructor(gl, props2) {
21729
21729
  super(gl, props2);
21730
- _defineProperty$e(this, "maskMap", void 0);
21731
- _defineProperty$e(this, "fbo", void 0);
21730
+ _defineProperty$f(this, "maskMap", void 0);
21731
+ _defineProperty$f(this, "fbo", void 0);
21732
21732
  const {
21733
21733
  mapSize = 2048
21734
21734
  } = props2;
@@ -21915,7 +21915,7 @@ class OrbitState extends ViewState {
21915
21915
  startZoomPosition,
21916
21916
  startZoom
21917
21917
  });
21918
- _defineProperty$e(this, "makeViewport", void 0);
21918
+ _defineProperty$f(this, "makeViewport", void 0);
21919
21919
  this.makeViewport = options.makeViewport;
21920
21920
  }
21921
21921
  panStart({
@@ -22152,8 +22152,8 @@ class OrbitState extends ViewState {
22152
22152
  class OrbitController extends Controller {
22153
22153
  constructor(...args) {
22154
22154
  super(...args);
22155
- _defineProperty$e(this, "ControllerState", OrbitState);
22156
- _defineProperty$e(this, "transition", {
22155
+ _defineProperty$f(this, "ControllerState", OrbitState);
22156
+ _defineProperty$f(this, "transition", {
22157
22157
  transitionDuration: 300,
22158
22158
  transitionInterpolator: new LinearInterpolator({
22159
22159
  transitionProps: {
@@ -22167,7 +22167,7 @@ class OrbitController extends Controller {
22167
22167
  class OrthographicState extends OrbitState {
22168
22168
  constructor(props2) {
22169
22169
  super(props2);
22170
- _defineProperty$e(this, "zoomAxis", void 0);
22170
+ _defineProperty$f(this, "zoomAxis", void 0);
22171
22171
  this.zoomAxis = props2.zoomAxis || "all";
22172
22172
  }
22173
22173
  _calculateNewZoom({
@@ -22211,12 +22211,12 @@ class OrthographicState extends OrbitState {
22211
22211
  class OrthographicController extends Controller {
22212
22212
  constructor(...args) {
22213
22213
  super(...args);
22214
- _defineProperty$e(this, "ControllerState", OrthographicState);
22215
- _defineProperty$e(this, "transition", {
22214
+ _defineProperty$f(this, "ControllerState", OrthographicState);
22215
+ _defineProperty$f(this, "transition", {
22216
22216
  transitionDuration: 300,
22217
22217
  transitionInterpolator: new LinearInterpolator(["target", "zoom"])
22218
22218
  });
22219
- _defineProperty$e(this, "dragMode", "pan");
22219
+ _defineProperty$f(this, "dragMode", "pan");
22220
22220
  }
22221
22221
  _onPanRotate() {
22222
22222
  return false;
@@ -22230,7 +22230,7 @@ class OrthographicView extends View {
22230
22230
  return OrthographicController;
22231
22231
  }
22232
22232
  }
22233
- _defineProperty$e(OrthographicView, "displayName", "OrthographicView");
22233
+ _defineProperty$f(OrthographicView, "displayName", "OrthographicView");
22234
22234
  function getMaskBounds({
22235
22235
  layers,
22236
22236
  viewport
@@ -22323,15 +22323,15 @@ function _doubleBounds(bounds2) {
22323
22323
  }
22324
22324
  class MaskEffect {
22325
22325
  constructor() {
22326
- _defineProperty$e(this, "id", "mask-effect");
22327
- _defineProperty$e(this, "props", null);
22328
- _defineProperty$e(this, "useInPicking", true);
22329
- _defineProperty$e(this, "dummyMaskMap", void 0);
22330
- _defineProperty$e(this, "channels", []);
22331
- _defineProperty$e(this, "masks", null);
22332
- _defineProperty$e(this, "maskPass", void 0);
22333
- _defineProperty$e(this, "maskMap", void 0);
22334
- _defineProperty$e(this, "lastViewport", void 0);
22326
+ _defineProperty$f(this, "id", "mask-effect");
22327
+ _defineProperty$f(this, "props", null);
22328
+ _defineProperty$f(this, "useInPicking", true);
22329
+ _defineProperty$f(this, "dummyMaskMap", void 0);
22330
+ _defineProperty$f(this, "channels", []);
22331
+ _defineProperty$f(this, "masks", null);
22332
+ _defineProperty$f(this, "maskPass", void 0);
22333
+ _defineProperty$f(this, "maskMap", void 0);
22334
+ _defineProperty$f(this, "lastViewport", void 0);
22335
22335
  }
22336
22336
  preRender(gl, {
22337
22337
  layers,
@@ -22491,9 +22491,9 @@ class MaskEffect {
22491
22491
  const DEFAULT_LIGHTING_EFFECT = new LightingEffect();
22492
22492
  class EffectManager {
22493
22493
  constructor() {
22494
- _defineProperty$e(this, "effects", void 0);
22495
- _defineProperty$e(this, "_internalEffects", void 0);
22496
- _defineProperty$e(this, "_needsRedraw", void 0);
22494
+ _defineProperty$f(this, "effects", void 0);
22495
+ _defineProperty$f(this, "_internalEffects", void 0);
22496
+ _defineProperty$f(this, "_needsRedraw", void 0);
22497
22497
  this.effects = [];
22498
22498
  this._internalEffects = [];
22499
22499
  this._needsRedraw = "Initial render";
@@ -22554,8 +22554,8 @@ const PICKING_PARAMETERS = {
22554
22554
  class PickLayersPass extends LayersPass {
22555
22555
  constructor(...args) {
22556
22556
  super(...args);
22557
- _defineProperty$e(this, "pickZ", void 0);
22558
- _defineProperty$e(this, "_colors", null);
22557
+ _defineProperty$f(this, "pickZ", void 0);
22558
+ _defineProperty$f(this, "_colors", null);
22559
22559
  }
22560
22560
  render(props2) {
22561
22561
  if (props2.pickingFBO) {
@@ -22986,13 +22986,13 @@ function getViewportFromCoordinates(viewports, pixel) {
22986
22986
  }
22987
22987
  class DeckPicker {
22988
22988
  constructor(gl) {
22989
- _defineProperty$e(this, "gl", void 0);
22990
- _defineProperty$e(this, "pickingFBO", void 0);
22991
- _defineProperty$e(this, "depthFBO", void 0);
22992
- _defineProperty$e(this, "pickLayersPass", void 0);
22993
- _defineProperty$e(this, "layerFilter", void 0);
22994
- _defineProperty$e(this, "lastPickedInfo", void 0);
22995
- _defineProperty$e(this, "_pickable", true);
22989
+ _defineProperty$f(this, "gl", void 0);
22990
+ _defineProperty$f(this, "pickingFBO", void 0);
22991
+ _defineProperty$f(this, "depthFBO", void 0);
22992
+ _defineProperty$f(this, "pickLayersPass", void 0);
22993
+ _defineProperty$f(this, "layerFilter", void 0);
22994
+ _defineProperty$f(this, "lastPickedInfo", void 0);
22995
+ _defineProperty$f(this, "_pickable", true);
22996
22996
  this.gl = gl;
22997
22997
  this.pickLayersPass = new PickLayersPass(gl);
22998
22998
  this.lastPickedInfo = {
@@ -23364,8 +23364,8 @@ const defaultStyle = {
23364
23364
  };
23365
23365
  class Tooltip {
23366
23366
  constructor(canvas) {
23367
- _defineProperty$e(this, "el", null);
23368
- _defineProperty$e(this, "isVisible", false);
23367
+ _defineProperty$f(this, "el", null);
23368
+ _defineProperty$f(this, "isVisible", false);
23369
23369
  const canvasParent = canvas.parentElement;
23370
23370
  if (canvasParent) {
23371
23371
  this.el = document.createElement("div");
@@ -26128,28 +26128,28 @@ const defaultProps$M = {
26128
26128
  };
26129
26129
  class Deck {
26130
26130
  constructor(props2) {
26131
- _defineProperty$e(this, "props", void 0);
26132
- _defineProperty$e(this, "width", 0);
26133
- _defineProperty$e(this, "height", 0);
26134
- _defineProperty$e(this, "userData", {});
26135
- _defineProperty$e(this, "canvas", null);
26136
- _defineProperty$e(this, "viewManager", null);
26137
- _defineProperty$e(this, "layerManager", null);
26138
- _defineProperty$e(this, "effectManager", null);
26139
- _defineProperty$e(this, "deckRenderer", null);
26140
- _defineProperty$e(this, "deckPicker", null);
26141
- _defineProperty$e(this, "eventManager", null);
26142
- _defineProperty$e(this, "tooltip", null);
26143
- _defineProperty$e(this, "metrics", void 0);
26144
- _defineProperty$e(this, "animationLoop", void 0);
26145
- _defineProperty$e(this, "stats", void 0);
26146
- _defineProperty$e(this, "viewState", void 0);
26147
- _defineProperty$e(this, "cursorState", void 0);
26148
- _defineProperty$e(this, "_needsRedraw", void 0);
26149
- _defineProperty$e(this, "_pickRequest", void 0);
26150
- _defineProperty$e(this, "_lastPointerDownInfo", null);
26151
- _defineProperty$e(this, "_metricsCounter", void 0);
26152
- _defineProperty$e(this, "_onPointerMove", (event) => {
26131
+ _defineProperty$f(this, "props", void 0);
26132
+ _defineProperty$f(this, "width", 0);
26133
+ _defineProperty$f(this, "height", 0);
26134
+ _defineProperty$f(this, "userData", {});
26135
+ _defineProperty$f(this, "canvas", null);
26136
+ _defineProperty$f(this, "viewManager", null);
26137
+ _defineProperty$f(this, "layerManager", null);
26138
+ _defineProperty$f(this, "effectManager", null);
26139
+ _defineProperty$f(this, "deckRenderer", null);
26140
+ _defineProperty$f(this, "deckPicker", null);
26141
+ _defineProperty$f(this, "eventManager", null);
26142
+ _defineProperty$f(this, "tooltip", null);
26143
+ _defineProperty$f(this, "metrics", void 0);
26144
+ _defineProperty$f(this, "animationLoop", void 0);
26145
+ _defineProperty$f(this, "stats", void 0);
26146
+ _defineProperty$f(this, "viewState", void 0);
26147
+ _defineProperty$f(this, "cursorState", void 0);
26148
+ _defineProperty$f(this, "_needsRedraw", void 0);
26149
+ _defineProperty$f(this, "_pickRequest", void 0);
26150
+ _defineProperty$f(this, "_lastPointerDownInfo", null);
26151
+ _defineProperty$f(this, "_metricsCounter", void 0);
26152
+ _defineProperty$f(this, "_onPointerMove", (event) => {
26153
26153
  const {
26154
26154
  _pickRequest
26155
26155
  } = this;
@@ -26176,7 +26176,7 @@ class Deck {
26176
26176
  }
26177
26177
  _pickRequest.event = event;
26178
26178
  });
26179
- _defineProperty$e(this, "_onEvent", (event) => {
26179
+ _defineProperty$f(this, "_onEvent", (event) => {
26180
26180
  const eventOptions = EVENTS[event.type];
26181
26181
  const pos = event.offsetCenter;
26182
26182
  if (!eventOptions || !pos || !this.layerManager) {
@@ -26202,7 +26202,7 @@ class Deck {
26202
26202
  rootHandler(info, event);
26203
26203
  }
26204
26204
  });
26205
- _defineProperty$e(this, "_onPointerDown", (event) => {
26205
+ _defineProperty$f(this, "_onPointerDown", (event) => {
26206
26206
  const pos = event.offsetCenter;
26207
26207
  const pickedInfo = this._pick("pickObject", "pickObject Time", {
26208
26208
  x: pos.x,
@@ -26714,12 +26714,12 @@ class Deck {
26714
26714
  metrics.gpuMemory = memoryStats.get("GPU Memory").count;
26715
26715
  }
26716
26716
  }
26717
- _defineProperty$e(Deck, "defaultProps", defaultProps$M);
26718
- _defineProperty$e(Deck, "VERSION", deckGlobal.VERSION);
26717
+ _defineProperty$f(Deck, "defaultProps", defaultProps$M);
26718
+ _defineProperty$f(Deck, "VERSION", deckGlobal.VERSION);
26719
26719
  class ShaderAttribute {
26720
26720
  constructor(dataColumn, opts2) {
26721
- _defineProperty$e(this, "opts", void 0);
26722
- _defineProperty$e(this, "source", void 0);
26721
+ _defineProperty$f(this, "opts", void 0);
26722
+ _defineProperty$f(this, "source", void 0);
26723
26723
  this.opts = opts2;
26724
26724
  this.source = dataColumn;
26725
26725
  }
@@ -26809,14 +26809,14 @@ function resolveDoublePrecisionShaderAttributes(baseAccessor, shaderAttributeOpt
26809
26809
  }
26810
26810
  class DataColumn {
26811
26811
  constructor(gl, opts2, state) {
26812
- _defineProperty$e(this, "gl", void 0);
26813
- _defineProperty$e(this, "id", void 0);
26814
- _defineProperty$e(this, "size", void 0);
26815
- _defineProperty$e(this, "settings", void 0);
26816
- _defineProperty$e(this, "value", void 0);
26817
- _defineProperty$e(this, "doublePrecision", void 0);
26818
- _defineProperty$e(this, "_buffer", void 0);
26819
- _defineProperty$e(this, "state", void 0);
26812
+ _defineProperty$f(this, "gl", void 0);
26813
+ _defineProperty$f(this, "id", void 0);
26814
+ _defineProperty$f(this, "size", void 0);
26815
+ _defineProperty$f(this, "settings", void 0);
26816
+ _defineProperty$f(this, "value", void 0);
26817
+ _defineProperty$f(this, "doublePrecision", void 0);
26818
+ _defineProperty$f(this, "_buffer", void 0);
26819
+ _defineProperty$f(this, "state", void 0);
26820
26820
  this.gl = gl;
26821
26821
  this.id = opts2.id || "";
26822
26822
  this.size = opts2.size || 1;
@@ -27469,7 +27469,7 @@ class Attribute extends DataColumn {
27469
27469
  needsRedraw: false,
27470
27470
  updateRanges: FULL
27471
27471
  });
27472
- _defineProperty$e(this, "constant", false);
27472
+ _defineProperty$f(this, "constant", false);
27473
27473
  this.settings.update = opts2.update || (opts2.accessor ? this._autoUpdater : void 0);
27474
27474
  Object.seal(this.settings);
27475
27475
  Object.seal(this.state);
@@ -27791,16 +27791,16 @@ class GPUInterpolationTransition {
27791
27791
  attribute,
27792
27792
  timeline
27793
27793
  }) {
27794
- _defineProperty$e(this, "gl", void 0);
27795
- _defineProperty$e(this, "type", "interpolation");
27796
- _defineProperty$e(this, "attributeInTransition", void 0);
27797
- _defineProperty$e(this, "settings", void 0);
27798
- _defineProperty$e(this, "attribute", void 0);
27799
- _defineProperty$e(this, "transition", void 0);
27800
- _defineProperty$e(this, "currentStartIndices", void 0);
27801
- _defineProperty$e(this, "currentLength", void 0);
27802
- _defineProperty$e(this, "transform", void 0);
27803
- _defineProperty$e(this, "buffers", void 0);
27794
+ _defineProperty$f(this, "gl", void 0);
27795
+ _defineProperty$f(this, "type", "interpolation");
27796
+ _defineProperty$f(this, "attributeInTransition", void 0);
27797
+ _defineProperty$f(this, "settings", void 0);
27798
+ _defineProperty$f(this, "attribute", void 0);
27799
+ _defineProperty$f(this, "transition", void 0);
27800
+ _defineProperty$f(this, "currentStartIndices", void 0);
27801
+ _defineProperty$f(this, "currentLength", void 0);
27802
+ _defineProperty$f(this, "transform", void 0);
27803
+ _defineProperty$f(this, "buffers", void 0);
27804
27804
  this.gl = gl;
27805
27805
  this.transition = new Transition(timeline);
27806
27806
  this.attribute = attribute;
@@ -27908,18 +27908,18 @@ class GPUSpringTransition {
27908
27908
  attribute,
27909
27909
  timeline
27910
27910
  }) {
27911
- _defineProperty$e(this, "gl", void 0);
27912
- _defineProperty$e(this, "type", "spring");
27913
- _defineProperty$e(this, "attributeInTransition", void 0);
27914
- _defineProperty$e(this, "settings", void 0);
27915
- _defineProperty$e(this, "attribute", void 0);
27916
- _defineProperty$e(this, "transition", void 0);
27917
- _defineProperty$e(this, "currentStartIndices", void 0);
27918
- _defineProperty$e(this, "currentLength", void 0);
27919
- _defineProperty$e(this, "texture", void 0);
27920
- _defineProperty$e(this, "framebuffer", void 0);
27921
- _defineProperty$e(this, "transform", void 0);
27922
- _defineProperty$e(this, "buffers", void 0);
27911
+ _defineProperty$f(this, "gl", void 0);
27912
+ _defineProperty$f(this, "type", "spring");
27913
+ _defineProperty$f(this, "attributeInTransition", void 0);
27914
+ _defineProperty$f(this, "settings", void 0);
27915
+ _defineProperty$f(this, "attribute", void 0);
27916
+ _defineProperty$f(this, "transition", void 0);
27917
+ _defineProperty$f(this, "currentStartIndices", void 0);
27918
+ _defineProperty$f(this, "currentLength", void 0);
27919
+ _defineProperty$f(this, "texture", void 0);
27920
+ _defineProperty$f(this, "framebuffer", void 0);
27921
+ _defineProperty$f(this, "transform", void 0);
27922
+ _defineProperty$f(this, "buffers", void 0);
27923
27923
  this.gl = gl;
27924
27924
  this.type = "spring";
27925
27925
  this.transition = new Transition(timeline);
@@ -28081,13 +28081,13 @@ class AttributeTransitionManager {
28081
28081
  id,
28082
28082
  timeline
28083
28083
  }) {
28084
- _defineProperty$e(this, "id", void 0);
28085
- _defineProperty$e(this, "isSupported", void 0);
28086
- _defineProperty$e(this, "gl", void 0);
28087
- _defineProperty$e(this, "timeline", void 0);
28088
- _defineProperty$e(this, "transitions", void 0);
28089
- _defineProperty$e(this, "needsRedraw", void 0);
28090
- _defineProperty$e(this, "numInstances", void 0);
28084
+ _defineProperty$f(this, "id", void 0);
28085
+ _defineProperty$f(this, "isSupported", void 0);
28086
+ _defineProperty$f(this, "gl", void 0);
28087
+ _defineProperty$f(this, "timeline", void 0);
28088
+ _defineProperty$f(this, "transitions", void 0);
28089
+ _defineProperty$f(this, "needsRedraw", void 0);
28090
+ _defineProperty$f(this, "numInstances", void 0);
28091
28091
  this.id = id;
28092
28092
  this.gl = gl;
28093
28093
  this.timeline = timeline;
@@ -28194,14 +28194,14 @@ class AttributeManager {
28194
28194
  stats,
28195
28195
  timeline
28196
28196
  } = {}) {
28197
- _defineProperty$e(this, "id", void 0);
28198
- _defineProperty$e(this, "gl", void 0);
28199
- _defineProperty$e(this, "attributes", void 0);
28200
- _defineProperty$e(this, "updateTriggers", void 0);
28201
- _defineProperty$e(this, "needsRedraw", void 0);
28202
- _defineProperty$e(this, "userData", void 0);
28203
- _defineProperty$e(this, "stats", void 0);
28204
- _defineProperty$e(this, "attributeTransitionManager", void 0);
28197
+ _defineProperty$f(this, "id", void 0);
28198
+ _defineProperty$f(this, "gl", void 0);
28199
+ _defineProperty$f(this, "attributes", void 0);
28200
+ _defineProperty$f(this, "updateTriggers", void 0);
28201
+ _defineProperty$f(this, "needsRedraw", void 0);
28202
+ _defineProperty$f(this, "userData", void 0);
28203
+ _defineProperty$f(this, "stats", void 0);
28204
+ _defineProperty$f(this, "attributeTransitionManager", void 0);
28205
28205
  this.id = id;
28206
28206
  this.gl = gl;
28207
28207
  this.attributes = {};
@@ -29180,9 +29180,9 @@ function getComponentName(componentClass) {
29180
29180
  let counter = 0;
29181
29181
  class Component {
29182
29182
  constructor(...propObjects) {
29183
- _defineProperty$e(this, "id", void 0);
29184
- _defineProperty$e(this, "props", void 0);
29185
- _defineProperty$e(this, "count", void 0);
29183
+ _defineProperty$f(this, "id", void 0);
29184
+ _defineProperty$f(this, "props", void 0);
29185
+ _defineProperty$f(this, "count", void 0);
29186
29186
  this.props = createProps(this, propObjects);
29187
29187
  this.id = this.props.id;
29188
29188
  this.count = counter++;
@@ -29206,16 +29206,16 @@ class Component {
29206
29206
  });
29207
29207
  }
29208
29208
  }
29209
- _defineProperty$e(Component, "componentName", "Component");
29210
- _defineProperty$e(Component, "defaultProps", {});
29209
+ _defineProperty$f(Component, "componentName", "Component");
29210
+ _defineProperty$f(Component, "defaultProps", {});
29211
29211
  const EMPTY_PROPS = Object.freeze({});
29212
29212
  class ComponentState {
29213
29213
  constructor(component) {
29214
- _defineProperty$e(this, "component", void 0);
29215
- _defineProperty$e(this, "onAsyncPropUpdated", void 0);
29216
- _defineProperty$e(this, "asyncProps", void 0);
29217
- _defineProperty$e(this, "oldProps", void 0);
29218
- _defineProperty$e(this, "oldAsyncProps", void 0);
29214
+ _defineProperty$f(this, "component", void 0);
29215
+ _defineProperty$f(this, "onAsyncPropUpdated", void 0);
29216
+ _defineProperty$f(this, "asyncProps", void 0);
29217
+ _defineProperty$f(this, "oldProps", void 0);
29218
+ _defineProperty$f(this, "oldAsyncProps", void 0);
29219
29219
  this.component = component;
29220
29220
  this.asyncProps = {};
29221
29221
  this.onAsyncPropUpdated = () => {
@@ -29418,15 +29418,15 @@ class LayerState extends ComponentState {
29418
29418
  layer
29419
29419
  }) {
29420
29420
  super(layer);
29421
- _defineProperty$e(this, "attributeManager", void 0);
29422
- _defineProperty$e(this, "needsRedraw", void 0);
29423
- _defineProperty$e(this, "needsUpdate", void 0);
29424
- _defineProperty$e(this, "subLayers", void 0);
29425
- _defineProperty$e(this, "usesPickingColorCache", void 0);
29426
- _defineProperty$e(this, "changeFlags", void 0);
29427
- _defineProperty$e(this, "viewport", void 0);
29428
- _defineProperty$e(this, "uniformTransitions", void 0);
29429
- _defineProperty$e(this, "propsInTransition", void 0);
29421
+ _defineProperty$f(this, "attributeManager", void 0);
29422
+ _defineProperty$f(this, "needsRedraw", void 0);
29423
+ _defineProperty$f(this, "needsUpdate", void 0);
29424
+ _defineProperty$f(this, "subLayers", void 0);
29425
+ _defineProperty$f(this, "usesPickingColorCache", void 0);
29426
+ _defineProperty$f(this, "changeFlags", void 0);
29427
+ _defineProperty$f(this, "viewport", void 0);
29428
+ _defineProperty$f(this, "uniformTransitions", void 0);
29429
+ _defineProperty$f(this, "propsInTransition", void 0);
29430
29430
  this.attributeManager = attributeManager;
29431
29431
  this.needsRedraw = true;
29432
29432
  this.needsUpdate = true;
@@ -29646,11 +29646,11 @@ const defaultProps$L = {
29646
29646
  class Layer extends Component {
29647
29647
  constructor(...args) {
29648
29648
  super(...args);
29649
- _defineProperty$e(this, "internalState", null);
29650
- _defineProperty$e(this, "lifecycle", LIFECYCLE.NO_STATE);
29651
- _defineProperty$e(this, "context", void 0);
29652
- _defineProperty$e(this, "state", void 0);
29653
- _defineProperty$e(this, "parent", null);
29649
+ _defineProperty$f(this, "internalState", null);
29650
+ _defineProperty$f(this, "lifecycle", LIFECYCLE.NO_STATE);
29651
+ _defineProperty$f(this, "context", void 0);
29652
+ _defineProperty$f(this, "state", void 0);
29653
+ _defineProperty$f(this, "parent", null);
29654
29654
  }
29655
29655
  get root() {
29656
29656
  let layer = this;
@@ -30352,8 +30352,8 @@ class Layer extends Component {
30352
30352
  this.setNeedsUpdate();
30353
30353
  }
30354
30354
  }
30355
- _defineProperty$e(Layer, "defaultProps", defaultProps$L);
30356
- _defineProperty$e(Layer, "layerName", "Layer");
30355
+ _defineProperty$f(Layer, "defaultProps", defaultProps$L);
30356
+ _defineProperty$f(Layer, "layerName", "Layer");
30357
30357
  const TRACE_RENDER_LAYERS = "compositeLayer.renderLayers";
30358
30358
  class CompositeLayer extends Layer {
30359
30359
  get isComposite() {
@@ -30515,7 +30515,7 @@ class CompositeLayer extends Layer {
30515
30515
  }
30516
30516
  }
30517
30517
  }
30518
- _defineProperty$e(CompositeLayer, "layerName", "CompositeLayer");
30518
+ _defineProperty$f(CompositeLayer, "layerName", "CompositeLayer");
30519
30519
  const DEGREES_TO_RADIANS$1 = Math.PI / 180;
30520
30520
  const RADIANS_TO_DEGREES = 180 / Math.PI;
30521
30521
  const EARTH_RADIUS = 6370972;
@@ -30571,9 +30571,9 @@ class GlobeViewport extends Viewport {
30571
30571
  near: nearZMultiplier,
30572
30572
  far: Math.min(2, 1 / relativeScale + 1) * altitude * farZMultiplier
30573
30573
  });
30574
- _defineProperty$e(this, "longitude", void 0);
30575
- _defineProperty$e(this, "latitude", void 0);
30576
- _defineProperty$e(this, "resolution", void 0);
30574
+ _defineProperty$f(this, "longitude", void 0);
30575
+ _defineProperty$f(this, "latitude", void 0);
30576
+ _defineProperty$f(this, "resolution", void 0);
30577
30577
  this.latitude = latitude;
30578
30578
  this.longitude = longitude;
30579
30579
  this.resolution = resolution;
@@ -30721,7 +30721,7 @@ class OrbitViewport extends Viewport {
30721
30721
  position: target,
30722
30722
  zoom
30723
30723
  });
30724
- _defineProperty$e(this, "projectedCenter", void 0);
30724
+ _defineProperty$f(this, "projectedCenter", void 0);
30725
30725
  this.projectedCenter = this.project(this.center);
30726
30726
  }
30727
30727
  unproject(xyz, {
@@ -30770,8 +30770,8 @@ class FirstPersonViewport extends Viewport {
30770
30770
  zoom,
30771
30771
  viewMatrix: viewMatrix2
30772
30772
  });
30773
- _defineProperty$e(this, "longitude", void 0);
30774
- _defineProperty$e(this, "latitude", void 0);
30773
+ _defineProperty$f(this, "longitude", void 0);
30774
+ _defineProperty$f(this, "latitude", void 0);
30775
30775
  this.latitude = latitude;
30776
30776
  this.longitude = longitude;
30777
30777
  }
@@ -31000,8 +31000,8 @@ class FirstPersonState extends ViewState {
31000
31000
  class FirstPersonController extends Controller {
31001
31001
  constructor(...args) {
31002
31002
  super(...args);
31003
- _defineProperty$e(this, "ControllerState", FirstPersonState);
31004
- _defineProperty$e(this, "transition", {
31003
+ _defineProperty$f(this, "ControllerState", FirstPersonState);
31004
+ _defineProperty$f(this, "transition", {
31005
31005
  transitionDuration: 300,
31006
31006
  transitionInterpolator: new LinearInterpolator(["position", "pitch", "bearing"])
31007
31007
  });
@@ -31015,7 +31015,7 @@ class FirstPersonView extends View {
31015
31015
  return FirstPersonController;
31016
31016
  }
31017
31017
  }
31018
- _defineProperty$e(FirstPersonView, "displayName", "FirstPersonView");
31018
+ _defineProperty$f(FirstPersonView, "displayName", "FirstPersonView");
31019
31019
  class OrbitView extends View {
31020
31020
  constructor(props2 = {}) {
31021
31021
  super(props2);
@@ -31028,7 +31028,7 @@ class OrbitView extends View {
31028
31028
  return OrbitController;
31029
31029
  }
31030
31030
  }
31031
- _defineProperty$e(OrbitView, "displayName", "OrbitView");
31031
+ _defineProperty$f(OrbitView, "displayName", "OrbitView");
31032
31032
  class GlobeState extends MapState {
31033
31033
  applyConstraints(props2) {
31034
31034
  const {
@@ -31051,12 +31051,12 @@ class GlobeState extends MapState {
31051
31051
  class GlobeController extends Controller {
31052
31052
  constructor(...args) {
31053
31053
  super(...args);
31054
- _defineProperty$e(this, "ControllerState", GlobeState);
31055
- _defineProperty$e(this, "transition", {
31054
+ _defineProperty$f(this, "ControllerState", GlobeState);
31055
+ _defineProperty$f(this, "transition", {
31056
31056
  transitionDuration: 300,
31057
31057
  transitionInterpolator: new LinearInterpolator(["longitude", "latitude", "zoom"])
31058
31058
  });
31059
- _defineProperty$e(this, "dragMode", "pan");
31059
+ _defineProperty$f(this, "dragMode", "pan");
31060
31060
  }
31061
31061
  setProps(props2) {
31062
31062
  super.setProps(props2);
@@ -31072,10 +31072,10 @@ class GlobeView extends View {
31072
31072
  return GlobeController;
31073
31073
  }
31074
31074
  }
31075
- _defineProperty$e(GlobeView, "displayName", "GlobeView");
31075
+ _defineProperty$f(GlobeView, "displayName", "GlobeView");
31076
31076
  class LayerExtension {
31077
31077
  constructor(opts2) {
31078
- _defineProperty$e(this, "opts", void 0);
31078
+ _defineProperty$f(this, "opts", void 0);
31079
31079
  if (opts2) {
31080
31080
  this.opts = opts2;
31081
31081
  }
@@ -31120,7 +31120,7 @@ class LayerExtension {
31120
31120
  finalizeState(context, extension) {
31121
31121
  }
31122
31122
  }
31123
- _defineProperty$e(LayerExtension, "defaultProps", {});
31123
+ _defineProperty$f(LayerExtension, "defaultProps", {});
31124
31124
  const LINEARLY_INTERPOLATED_PROPS = ["bearing", "pitch"];
31125
31125
  const DEFAULT_OPTS = {
31126
31126
  speed: 1.2,
@@ -31133,7 +31133,7 @@ class FlyToInterpolator extends TransitionInterpolator {
31133
31133
  extract: ["width", "height", "longitude", "latitude", "zoom", "bearing", "pitch"],
31134
31134
  required: ["width", "height", "latitude", "longitude", "zoom"]
31135
31135
  });
31136
- _defineProperty$e(this, "opts", void 0);
31136
+ _defineProperty$f(this, "opts", void 0);
31137
31137
  this.opts = {
31138
31138
  ...DEFAULT_OPTS,
31139
31139
  ...opts2
@@ -31158,20 +31158,20 @@ class FlyToInterpolator extends TransitionInterpolator {
31158
31158
  }
31159
31159
  class Tesselator {
31160
31160
  constructor(opts2) {
31161
- _defineProperty$e(this, "opts", void 0);
31162
- _defineProperty$e(this, "typedArrayManager", void 0);
31163
- _defineProperty$e(this, "indexStarts", [0]);
31164
- _defineProperty$e(this, "vertexStarts", [0]);
31165
- _defineProperty$e(this, "vertexCount", 0);
31166
- _defineProperty$e(this, "instanceCount", 0);
31167
- _defineProperty$e(this, "attributes", void 0);
31168
- _defineProperty$e(this, "_attributeDefs", void 0);
31169
- _defineProperty$e(this, "data", void 0);
31170
- _defineProperty$e(this, "getGeometry", void 0);
31171
- _defineProperty$e(this, "geometryBuffer", void 0);
31172
- _defineProperty$e(this, "buffers", void 0);
31173
- _defineProperty$e(this, "positionSize", void 0);
31174
- _defineProperty$e(this, "normalize", void 0);
31161
+ _defineProperty$f(this, "opts", void 0);
31162
+ _defineProperty$f(this, "typedArrayManager", void 0);
31163
+ _defineProperty$f(this, "indexStarts", [0]);
31164
+ _defineProperty$f(this, "vertexStarts", [0]);
31165
+ _defineProperty$f(this, "vertexCount", 0);
31166
+ _defineProperty$f(this, "instanceCount", 0);
31167
+ _defineProperty$f(this, "attributes", void 0);
31168
+ _defineProperty$f(this, "_attributeDefs", void 0);
31169
+ _defineProperty$f(this, "data", void 0);
31170
+ _defineProperty$f(this, "getGeometry", void 0);
31171
+ _defineProperty$f(this, "geometryBuffer", void 0);
31172
+ _defineProperty$f(this, "buffers", void 0);
31173
+ _defineProperty$f(this, "positionSize", void 0);
31174
+ _defineProperty$f(this, "normalize", void 0);
31175
31175
  const {
31176
31176
  attributes = {}
31177
31177
  } = opts2;
@@ -31444,8 +31444,8 @@ class ClipExtension extends LayerExtension {
31444
31444
  }
31445
31445
  }
31446
31446
  }
31447
- _defineProperty$e(ClipExtension, "defaultProps", defaultProps$K);
31448
- _defineProperty$e(ClipExtension, "extensionName", "ClipExtension");
31447
+ _defineProperty$f(ClipExtension, "defaultProps", defaultProps$K);
31448
+ _defineProperty$f(ClipExtension, "extensionName", "ClipExtension");
31449
31449
  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";
31450
31450
  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";
31451
31451
  const DEFAULT_COLOR$a = [0, 0, 0, 255];
@@ -31499,7 +31499,7 @@ const defaultProps$J = {
31499
31499
  class ArcLayer extends Layer {
31500
31500
  constructor(...args) {
31501
31501
  super(...args);
31502
- _defineProperty$e(this, "state", void 0);
31502
+ _defineProperty$f(this, "state", void 0);
31503
31503
  }
31504
31504
  getShaders() {
31505
31505
  return super.getShaders({
@@ -31619,8 +31619,8 @@ class ArcLayer extends Layer {
31619
31619
  return model;
31620
31620
  }
31621
31621
  }
31622
- _defineProperty$e(ArcLayer, "layerName", "ArcLayer");
31623
- _defineProperty$e(ArcLayer, "defaultProps", defaultProps$J);
31622
+ _defineProperty$f(ArcLayer, "layerName", "ArcLayer");
31623
+ _defineProperty$f(ArcLayer, "defaultProps", defaultProps$J);
31624
31624
  const DEFAULT_INDICES = new Uint16Array([0, 2, 1, 0, 3, 2]);
31625
31625
  const DEFAULT_TEX_COORDS = new Float32Array([0, 1, 0, 0, 1, 0, 1, 1]);
31626
31626
  function createMesh(bounds2, resolution) {
@@ -31715,7 +31715,7 @@ const defaultProps$I = {
31715
31715
  let BitmapLayer$1 = class BitmapLayer extends Layer {
31716
31716
  constructor(...args) {
31717
31717
  super(...args);
31718
- _defineProperty$e(this, "state", void 0);
31718
+ _defineProperty$f(this, "state", void 0);
31719
31719
  }
31720
31720
  getShaders() {
31721
31721
  return super.getShaders({
@@ -31917,8 +31917,8 @@ let BitmapLayer$1 = class BitmapLayer extends Layer {
31917
31917
  };
31918
31918
  }
31919
31919
  };
31920
- _defineProperty$e(BitmapLayer$1, "layerName", "BitmapLayer");
31921
- _defineProperty$e(BitmapLayer$1, "defaultProps", defaultProps$I);
31920
+ _defineProperty$f(BitmapLayer$1, "layerName", "BitmapLayer");
31921
+ _defineProperty$f(BitmapLayer$1, "defaultProps", defaultProps$I);
31922
31922
  function unpackUVsFromRGB(color) {
31923
31923
  const [u, v, fracUV] = color;
31924
31924
  const vFrac = (fracUV & 240) / 256;
@@ -32066,23 +32066,23 @@ class IconManager {
32066
32066
  onUpdate = noop$1,
32067
32067
  onError = noop$1
32068
32068
  }) {
32069
- _defineProperty$e(this, "gl", void 0);
32070
- _defineProperty$e(this, "onUpdate", void 0);
32071
- _defineProperty$e(this, "onError", void 0);
32072
- _defineProperty$e(this, "_loadOptions", null);
32073
- _defineProperty$e(this, "_texture", null);
32074
- _defineProperty$e(this, "_externalTexture", null);
32075
- _defineProperty$e(this, "_mapping", {});
32076
- _defineProperty$e(this, "_textureParameters", null);
32077
- _defineProperty$e(this, "_pendingCount", 0);
32078
- _defineProperty$e(this, "_autoPacking", false);
32079
- _defineProperty$e(this, "_xOffset", 0);
32080
- _defineProperty$e(this, "_yOffset", 0);
32081
- _defineProperty$e(this, "_rowHeight", 0);
32082
- _defineProperty$e(this, "_buffer", DEFAULT_BUFFER$1);
32083
- _defineProperty$e(this, "_canvasWidth", DEFAULT_CANVAS_WIDTH);
32084
- _defineProperty$e(this, "_canvasHeight", 0);
32085
- _defineProperty$e(this, "_canvas", null);
32069
+ _defineProperty$f(this, "gl", void 0);
32070
+ _defineProperty$f(this, "onUpdate", void 0);
32071
+ _defineProperty$f(this, "onError", void 0);
32072
+ _defineProperty$f(this, "_loadOptions", null);
32073
+ _defineProperty$f(this, "_texture", null);
32074
+ _defineProperty$f(this, "_externalTexture", null);
32075
+ _defineProperty$f(this, "_mapping", {});
32076
+ _defineProperty$f(this, "_textureParameters", null);
32077
+ _defineProperty$f(this, "_pendingCount", 0);
32078
+ _defineProperty$f(this, "_autoPacking", false);
32079
+ _defineProperty$f(this, "_xOffset", 0);
32080
+ _defineProperty$f(this, "_yOffset", 0);
32081
+ _defineProperty$f(this, "_rowHeight", 0);
32082
+ _defineProperty$f(this, "_buffer", DEFAULT_BUFFER$1);
32083
+ _defineProperty$f(this, "_canvasWidth", DEFAULT_CANVAS_WIDTH);
32084
+ _defineProperty$f(this, "_canvasHeight", 0);
32085
+ _defineProperty$f(this, "_canvas", null);
32086
32086
  this.gl = gl;
32087
32087
  this.onUpdate = onUpdate;
32088
32088
  this.onError = onError;
@@ -32273,7 +32273,7 @@ const defaultProps$H = {
32273
32273
  class IconLayer extends Layer {
32274
32274
  constructor(...args) {
32275
32275
  super(...args);
32276
- _defineProperty$e(this, "state", void 0);
32276
+ _defineProperty$f(this, "state", void 0);
32277
32277
  }
32278
32278
  getShaders() {
32279
32279
  return super.getShaders({
@@ -32470,8 +32470,8 @@ class IconLayer extends Layer {
32470
32470
  return [x2, y2, width, height];
32471
32471
  }
32472
32472
  }
32473
- _defineProperty$e(IconLayer, "defaultProps", defaultProps$H);
32474
- _defineProperty$e(IconLayer, "layerName", "IconLayer");
32473
+ _defineProperty$f(IconLayer, "defaultProps", defaultProps$H);
32474
+ _defineProperty$f(IconLayer, "layerName", "IconLayer");
32475
32475
  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";
32476
32476
  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";
32477
32477
  const DEFAULT_COLOR$8 = [0, 0, 0, 255];
@@ -32603,8 +32603,8 @@ class LineLayer extends Layer {
32603
32603
  });
32604
32604
  }
32605
32605
  }
32606
- _defineProperty$e(LineLayer, "layerName", "LineLayer");
32607
- _defineProperty$e(LineLayer, "defaultProps", defaultProps$G);
32606
+ _defineProperty$f(LineLayer, "layerName", "LineLayer");
32607
+ _defineProperty$f(LineLayer, "defaultProps", defaultProps$G);
32608
32608
  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";
32609
32609
  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";
32610
32610
  const DEFAULT_COLOR$7 = [0, 0, 0, 255];
@@ -32735,8 +32735,8 @@ class PointCloudLayer extends Layer {
32735
32735
  });
32736
32736
  }
32737
32737
  }
32738
- _defineProperty$e(PointCloudLayer, "layerName", "PointCloudLayer");
32739
- _defineProperty$e(PointCloudLayer, "defaultProps", defaultProps$F);
32738
+ _defineProperty$f(PointCloudLayer, "layerName", "PointCloudLayer");
32739
+ _defineProperty$f(PointCloudLayer, "defaultProps", defaultProps$F);
32740
32740
  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";
32741
32741
  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";
32742
32742
  const DEFAULT_COLOR$6 = [0, 0, 0, 255];
@@ -32917,8 +32917,8 @@ class ScatterplotLayer extends Layer {
32917
32917
  });
32918
32918
  }
32919
32919
  }
32920
- _defineProperty$e(ScatterplotLayer, "defaultProps", defaultProps$E);
32921
- _defineProperty$e(ScatterplotLayer, "layerName", "ScatterplotLayer");
32920
+ _defineProperty$f(ScatterplotLayer, "defaultProps", defaultProps$E);
32921
+ _defineProperty$f(ScatterplotLayer, "layerName", "ScatterplotLayer");
32922
32922
  const WINDING = {
32923
32923
  CLOCKWISE: 1,
32924
32924
  COUNTER_CLOCKWISE: -1
@@ -34186,8 +34186,8 @@ class ColumnLayer extends Layer {
34186
34186
  }
34187
34187
  }
34188
34188
  }
34189
- _defineProperty$e(ColumnLayer, "layerName", "ColumnLayer");
34190
- _defineProperty$e(ColumnLayer, "defaultProps", defaultProps$D);
34189
+ _defineProperty$f(ColumnLayer, "layerName", "ColumnLayer");
34190
+ _defineProperty$f(ColumnLayer, "defaultProps", defaultProps$D);
34191
34191
  const defaultProps$C = {
34192
34192
  cellSize: {
34193
34193
  type: "number",
@@ -34228,8 +34228,8 @@ class GridCellLayer extends ColumnLayer {
34228
34228
  }).draw();
34229
34229
  }
34230
34230
  }
34231
- _defineProperty$e(GridCellLayer, "layerName", "GridCellLayer");
34232
- _defineProperty$e(GridCellLayer, "defaultProps", defaultProps$C);
34231
+ _defineProperty$f(GridCellLayer, "layerName", "GridCellLayer");
34232
+ _defineProperty$f(GridCellLayer, "defaultProps", defaultProps$C);
34233
34233
  function normalizePath(path, size2, gridResolution, wrapLongitude) {
34234
34234
  let flatPath;
34235
34235
  if (Array.isArray(path[0])) {
@@ -34444,7 +34444,7 @@ const ATTRIBUTE_TRANSITION$1 = {
34444
34444
  class PathLayer extends Layer {
34445
34445
  constructor(...args) {
34446
34446
  super(...args);
34447
- _defineProperty$e(this, "state", void 0);
34447
+ _defineProperty$f(this, "state", void 0);
34448
34448
  }
34449
34449
  getShaders() {
34450
34450
  return super.getShaders({
@@ -34647,8 +34647,8 @@ class PathLayer extends Layer {
34647
34647
  attribute.value = pathTesselator.get("segmentTypes");
34648
34648
  }
34649
34649
  }
34650
- _defineProperty$e(PathLayer, "defaultProps", defaultProps$B);
34651
- _defineProperty$e(PathLayer, "layerName", "PathLayer");
34650
+ _defineProperty$f(PathLayer, "defaultProps", defaultProps$B);
34651
+ _defineProperty$f(PathLayer, "layerName", "PathLayer");
34652
34652
  var earcut$2 = { exports: {} };
34653
34653
  earcut$2.exports = earcut;
34654
34654
  earcut$2.exports.default = earcut;
@@ -35458,7 +35458,7 @@ const ATTRIBUTE_TRANSITION = {
35458
35458
  class SolidPolygonLayer extends Layer {
35459
35459
  constructor(...args) {
35460
35460
  super(...args);
35461
- _defineProperty$e(this, "state", void 0);
35461
+ _defineProperty$f(this, "state", void 0);
35462
35462
  }
35463
35463
  getShaders(type) {
35464
35464
  return super.getShaders({
@@ -35782,8 +35782,8 @@ class SolidPolygonLayer extends Layer {
35782
35782
  attribute.value = this.state.polygonTesselator.get("vertexValid");
35783
35783
  }
35784
35784
  }
35785
- _defineProperty$e(SolidPolygonLayer, "defaultProps", defaultProps$A);
35786
- _defineProperty$e(SolidPolygonLayer, "layerName", "SolidPolygonLayer");
35785
+ _defineProperty$f(SolidPolygonLayer, "defaultProps", defaultProps$A);
35786
+ _defineProperty$f(SolidPolygonLayer, "layerName", "SolidPolygonLayer");
35787
35787
  function replaceInRange({
35788
35788
  data,
35789
35789
  getIndex,
@@ -36035,8 +36035,8 @@ class PolygonLayer extends CompositeLayer {
36035
36035
  return [!extruded && polygonLayer, polygonLineLayer, extruded && polygonLayer];
36036
36036
  }
36037
36037
  }
36038
- _defineProperty$e(PolygonLayer, "layerName", "PolygonLayer");
36039
- _defineProperty$e(PolygonLayer, "defaultProps", defaultProps$z);
36038
+ _defineProperty$f(PolygonLayer, "layerName", "PolygonLayer");
36039
+ _defineProperty$f(PolygonLayer, "defaultProps", defaultProps$z);
36040
36040
  function binaryToFeatureForAccesor(data, index2) {
36041
36041
  if (!data) {
36042
36042
  return null;
@@ -36097,7 +36097,7 @@ const defaultProps$y = {
36097
36097
  class MultiIconLayer extends IconLayer {
36098
36098
  constructor(...args) {
36099
36099
  super(...args);
36100
- _defineProperty$e(this, "state", void 0);
36100
+ _defineProperty$f(this, "state", void 0);
36101
36101
  }
36102
36102
  getShaders() {
36103
36103
  return {
@@ -36172,8 +36172,8 @@ class MultiIconLayer extends IconLayer {
36172
36172
  return icons ? Array.from(icons).flatMap((icon) => super.getInstanceIconFrame(icon)) : EMPTY_ARRAY;
36173
36173
  }
36174
36174
  }
36175
- _defineProperty$e(MultiIconLayer, "defaultProps", defaultProps$y);
36176
- _defineProperty$e(MultiIconLayer, "layerName", "MultiIconLayer");
36175
+ _defineProperty$f(MultiIconLayer, "defaultProps", defaultProps$y);
36176
+ _defineProperty$f(MultiIconLayer, "layerName", "MultiIconLayer");
36177
36177
  var tinySdf = { exports: {} };
36178
36178
  tinySdf.exports = TinySDF;
36179
36179
  tinySdf.exports.default = TinySDF;
@@ -36541,9 +36541,9 @@ function getTextFromBuffer({
36541
36541
  }
36542
36542
  let LRUCache$1 = class LRUCache {
36543
36543
  constructor(limit = 5) {
36544
- _defineProperty$e(this, "limit", void 0);
36545
- _defineProperty$e(this, "_cache", {});
36546
- _defineProperty$e(this, "_order", []);
36544
+ _defineProperty$f(this, "limit", void 0);
36545
+ _defineProperty$f(this, "_cache", {});
36546
+ _defineProperty$f(this, "_order", []);
36547
36547
  this.limit = limit;
36548
36548
  }
36549
36549
  get(key) {
@@ -36642,11 +36642,11 @@ function setFontAtlasCacheLimit(limit) {
36642
36642
  }
36643
36643
  class FontAtlasManager {
36644
36644
  constructor() {
36645
- _defineProperty$e(this, "props", {
36645
+ _defineProperty$f(this, "props", {
36646
36646
  ...DEFAULT_FONT_SETTINGS
36647
36647
  });
36648
- _defineProperty$e(this, "_key", void 0);
36649
- _defineProperty$e(this, "_atlas", void 0);
36648
+ _defineProperty$f(this, "_key", void 0);
36649
+ _defineProperty$f(this, "_atlas", void 0);
36650
36650
  }
36651
36651
  get texture() {
36652
36652
  return this._atlas;
@@ -36798,7 +36798,7 @@ const defaultProps$x = {
36798
36798
  class TextBackgroundLayer extends Layer {
36799
36799
  constructor(...args) {
36800
36800
  super(...args);
36801
- _defineProperty$e(this, "state", void 0);
36801
+ _defineProperty$f(this, "state", void 0);
36802
36802
  }
36803
36803
  getShaders() {
36804
36804
  return super.getShaders({
@@ -36921,8 +36921,8 @@ class TextBackgroundLayer extends Layer {
36921
36921
  });
36922
36922
  }
36923
36923
  }
36924
- _defineProperty$e(TextBackgroundLayer, "defaultProps", defaultProps$x);
36925
- _defineProperty$e(TextBackgroundLayer, "layerName", "TextBackgroundLayer");
36924
+ _defineProperty$f(TextBackgroundLayer, "defaultProps", defaultProps$x);
36925
+ _defineProperty$f(TextBackgroundLayer, "layerName", "TextBackgroundLayer");
36926
36926
  const TEXT_ANCHOR = {
36927
36927
  start: 1,
36928
36928
  middle: 0,
@@ -37019,8 +37019,8 @@ const defaultProps$w = {
37019
37019
  class TextLayer extends CompositeLayer {
37020
37020
  constructor(...args) {
37021
37021
  super(...args);
37022
- _defineProperty$e(this, "state", void 0);
37023
- _defineProperty$e(this, "getBoundingRect", (object2, objectInfo) => {
37022
+ _defineProperty$f(this, "state", void 0);
37023
+ _defineProperty$f(this, "getBoundingRect", (object2, objectInfo) => {
37024
37024
  const iconMapping = this.state.fontAtlasManager.mapping;
37025
37025
  const getText = this.state.getText;
37026
37026
  const {
@@ -37038,7 +37038,7 @@ class TextLayer extends CompositeLayer {
37038
37038
  const anchorY = ALIGNMENT_BASELINE[typeof getAlignmentBaseline === "function" ? getAlignmentBaseline(object2, objectInfo) : getAlignmentBaseline];
37039
37039
  return [(anchorX - 1) * width / 2, (anchorY - 1) * height / 2, width, height];
37040
37040
  });
37041
- _defineProperty$e(this, "getIconOffsets", (object2, objectInfo) => {
37041
+ _defineProperty$f(this, "getIconOffsets", (object2, objectInfo) => {
37042
37042
  const iconMapping = this.state.fontAtlasManager.mapping;
37043
37043
  const getText = this.state.getText;
37044
37044
  const {
@@ -37318,8 +37318,8 @@ class TextLayer extends CompositeLayer {
37318
37318
  setFontAtlasCacheLimit(limit);
37319
37319
  }
37320
37320
  }
37321
- _defineProperty$e(TextLayer, "defaultProps", defaultProps$w);
37322
- _defineProperty$e(TextLayer, "layerName", "TextLayer");
37321
+ _defineProperty$f(TextLayer, "defaultProps", defaultProps$w);
37322
+ _defineProperty$f(TextLayer, "layerName", "TextLayer");
37323
37323
  const POINT_LAYER = {
37324
37324
  circle: {
37325
37325
  type: ScatterplotLayer,
@@ -37958,8 +37958,8 @@ class GeoJsonLayer extends CompositeLayer {
37958
37958
  };
37959
37959
  }
37960
37960
  }
37961
- _defineProperty$e(GeoJsonLayer, "layerName", "GeoJsonLayer");
37962
- _defineProperty$e(GeoJsonLayer, "defaultProps", defaultProps$v);
37961
+ _defineProperty$f(GeoJsonLayer, "layerName", "GeoJsonLayer");
37962
+ _defineProperty$f(GeoJsonLayer, "defaultProps", defaultProps$v);
37963
37963
  const esm$4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
37964
37964
  __proto__: null,
37965
37965
  ArcLayer,
@@ -37987,8 +37987,8 @@ const defaultProps$u = {
37987
37987
  };
37988
37988
  class GreatCircleLayer extends ArcLayer {
37989
37989
  }
37990
- _defineProperty$e(GreatCircleLayer, "layerName", "GreatCircleLayer");
37991
- _defineProperty$e(GreatCircleLayer, "defaultProps", defaultProps$u);
37990
+ _defineProperty$f(GreatCircleLayer, "layerName", "GreatCircleLayer");
37991
+ _defineProperty$f(GreatCircleLayer, "defaultProps", defaultProps$u);
37992
37992
  const defaultProps$t = {
37993
37993
  ...PolygonLayer.defaultProps
37994
37994
  };
@@ -38051,8 +38051,8 @@ class GeoCellLayer extends CompositeLayer {
38051
38051
  }), this.indexToBounds());
38052
38052
  }
38053
38053
  }
38054
- _defineProperty$e(GeoCellLayer, "layerName", "GeoCellLayer");
38055
- _defineProperty$e(GeoCellLayer, "defaultProps", defaultProps$t);
38054
+ _defineProperty$f(GeoCellLayer, "layerName", "GeoCellLayer");
38055
+ _defineProperty$f(GeoCellLayer, "defaultProps", defaultProps$t);
38056
38056
  function commonjsRequire(path) {
38057
38057
  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.');
38058
38058
  }
@@ -38769,8 +38769,8 @@ class S2Layer extends GeoCellLayer {
38769
38769
  };
38770
38770
  }
38771
38771
  }
38772
- _defineProperty$e(S2Layer, "layerName", "S2Layer");
38773
- _defineProperty$e(S2Layer, "defaultProps", defaultProps$s);
38772
+ _defineProperty$f(S2Layer, "layerName", "S2Layer");
38773
+ _defineProperty$f(S2Layer, "defaultProps", defaultProps$s);
38774
38774
  const TILE_SIZE$3 = 512;
38775
38775
  function quadkeyToWorldBounds(quadkey) {
38776
38776
  let x2 = 0;
@@ -38813,28 +38813,28 @@ class QuadkeyLayer extends GeoCellLayer {
38813
38813
  };
38814
38814
  }
38815
38815
  }
38816
- _defineProperty$e(QuadkeyLayer, "layerName", "QuadkeyLayer");
38817
- _defineProperty$e(QuadkeyLayer, "defaultProps", defaultProps$r);
38816
+ _defineProperty$f(QuadkeyLayer, "layerName", "QuadkeyLayer");
38817
+ _defineProperty$f(QuadkeyLayer, "defaultProps", defaultProps$r);
38818
38818
  class Tile2DHeader {
38819
38819
  constructor(index2) {
38820
- _defineProperty$e(this, "index", void 0);
38821
- _defineProperty$e(this, "isVisible", void 0);
38822
- _defineProperty$e(this, "isSelected", void 0);
38823
- _defineProperty$e(this, "parent", void 0);
38824
- _defineProperty$e(this, "children", void 0);
38825
- _defineProperty$e(this, "content", void 0);
38826
- _defineProperty$e(this, "state", void 0);
38827
- _defineProperty$e(this, "layers", void 0);
38828
- _defineProperty$e(this, "id", void 0);
38829
- _defineProperty$e(this, "bbox", void 0);
38830
- _defineProperty$e(this, "zoom", void 0);
38831
- _defineProperty$e(this, "userData", void 0);
38832
- _defineProperty$e(this, "_abortController", void 0);
38833
- _defineProperty$e(this, "_loader", void 0);
38834
- _defineProperty$e(this, "_loaderId", void 0);
38835
- _defineProperty$e(this, "_isLoaded", void 0);
38836
- _defineProperty$e(this, "_isCancelled", void 0);
38837
- _defineProperty$e(this, "_needsReload", void 0);
38820
+ _defineProperty$f(this, "index", void 0);
38821
+ _defineProperty$f(this, "isVisible", void 0);
38822
+ _defineProperty$f(this, "isSelected", void 0);
38823
+ _defineProperty$f(this, "parent", void 0);
38824
+ _defineProperty$f(this, "children", void 0);
38825
+ _defineProperty$f(this, "content", void 0);
38826
+ _defineProperty$f(this, "state", void 0);
38827
+ _defineProperty$f(this, "layers", void 0);
38828
+ _defineProperty$f(this, "id", void 0);
38829
+ _defineProperty$f(this, "bbox", void 0);
38830
+ _defineProperty$f(this, "zoom", void 0);
38831
+ _defineProperty$f(this, "userData", void 0);
38832
+ _defineProperty$f(this, "_abortController", void 0);
38833
+ _defineProperty$f(this, "_loader", void 0);
38834
+ _defineProperty$f(this, "_loaderId", void 0);
38835
+ _defineProperty$f(this, "_isLoaded", void 0);
38836
+ _defineProperty$f(this, "_isCancelled", void 0);
38837
+ _defineProperty$f(this, "_needsReload", void 0);
38838
38838
  this.index = index2;
38839
38839
  this.isVisible = false;
38840
38840
  this.isSelected = false;
@@ -39610,12 +39610,12 @@ const REF_POINTS_9 = REF_POINTS_5.concat([[0, 0.5], [0.5, 0], [1, 0.5], [0.5, 1]
39610
39610
  const REF_POINTS_11 = REF_POINTS_9.concat([[0.25, 0.5], [0.75, 0.5]]);
39611
39611
  class OSMNode {
39612
39612
  constructor(x2, y2, z2) {
39613
- _defineProperty$e(this, "x", void 0);
39614
- _defineProperty$e(this, "y", void 0);
39615
- _defineProperty$e(this, "z", void 0);
39616
- _defineProperty$e(this, "childVisible", void 0);
39617
- _defineProperty$e(this, "selected", void 0);
39618
- _defineProperty$e(this, "_children", void 0);
39613
+ _defineProperty$f(this, "x", void 0);
39614
+ _defineProperty$f(this, "y", void 0);
39615
+ _defineProperty$f(this, "z", void 0);
39616
+ _defineProperty$f(this, "childVisible", void 0);
39617
+ _defineProperty$f(this, "selected", void 0);
39618
+ _defineProperty$f(this, "_children", void 0);
39619
39619
  this.x = x2;
39620
39620
  this.y = y2;
39621
39621
  this.z = z2;
@@ -39962,22 +39962,22 @@ const STRATEGIES = {
39962
39962
  };
39963
39963
  class Tileset2D {
39964
39964
  constructor(opts2) {
39965
- _defineProperty$e(this, "opts", void 0);
39966
- _defineProperty$e(this, "_requestScheduler", void 0);
39967
- _defineProperty$e(this, "_cache", void 0);
39968
- _defineProperty$e(this, "_dirty", void 0);
39969
- _defineProperty$e(this, "_tiles", void 0);
39970
- _defineProperty$e(this, "_cacheByteSize", void 0);
39971
- _defineProperty$e(this, "_viewport", void 0);
39972
- _defineProperty$e(this, "_zRange", void 0);
39973
- _defineProperty$e(this, "_selectedTiles", void 0);
39974
- _defineProperty$e(this, "_frameNumber", void 0);
39975
- _defineProperty$e(this, "_modelMatrix", void 0);
39976
- _defineProperty$e(this, "_modelMatrixInverse", void 0);
39977
- _defineProperty$e(this, "_maxZoom", void 0);
39978
- _defineProperty$e(this, "_minZoom", void 0);
39979
- _defineProperty$e(this, "onTileLoad", void 0);
39980
- _defineProperty$e(this, "_getCullBounds", memoize$2(getCullBounds));
39965
+ _defineProperty$f(this, "opts", void 0);
39966
+ _defineProperty$f(this, "_requestScheduler", void 0);
39967
+ _defineProperty$f(this, "_cache", void 0);
39968
+ _defineProperty$f(this, "_dirty", void 0);
39969
+ _defineProperty$f(this, "_tiles", void 0);
39970
+ _defineProperty$f(this, "_cacheByteSize", void 0);
39971
+ _defineProperty$f(this, "_viewport", void 0);
39972
+ _defineProperty$f(this, "_zRange", void 0);
39973
+ _defineProperty$f(this, "_selectedTiles", void 0);
39974
+ _defineProperty$f(this, "_frameNumber", void 0);
39975
+ _defineProperty$f(this, "_modelMatrix", void 0);
39976
+ _defineProperty$f(this, "_modelMatrixInverse", void 0);
39977
+ _defineProperty$f(this, "_maxZoom", void 0);
39978
+ _defineProperty$f(this, "_minZoom", void 0);
39979
+ _defineProperty$f(this, "onTileLoad", void 0);
39980
+ _defineProperty$f(this, "_getCullBounds", memoize$2(getCullBounds));
39981
39981
  this.opts = opts2;
39982
39982
  this.onTileLoad = (tile) => {
39983
39983
  this.opts.onTileLoad(tile);
@@ -40590,8 +40590,8 @@ class TileLayer extends CompositeLayer {
40590
40590
  return this.state.tileset.isTileVisible(tile, cullRect);
40591
40591
  }
40592
40592
  }
40593
- _defineProperty$e(TileLayer, "defaultProps", defaultProps$q);
40594
- _defineProperty$e(TileLayer, "layerName", "TileLayer");
40593
+ _defineProperty$f(TileLayer, "defaultProps", defaultProps$q);
40594
+ _defineProperty$f(TileLayer, "layerName", "TileLayer");
40595
40595
  const defaultProps$p = {
40596
40596
  fadeTrail: true,
40597
40597
  trailLength: {
@@ -40654,8 +40654,8 @@ class TripsLayer extends PathLayer {
40654
40654
  super.draw(params);
40655
40655
  }
40656
40656
  }
40657
- _defineProperty$e(TripsLayer, "layerName", "TripsLayer");
40658
- _defineProperty$e(TripsLayer, "defaultProps", defaultProps$p);
40657
+ _defineProperty$f(TripsLayer, "layerName", "TripsLayer");
40658
+ _defineProperty$f(TripsLayer, "defaultProps", defaultProps$p);
40659
40659
  var libh3 = function(libh32) {
40660
40660
  libh32 = libh32 || {};
40661
40661
  var Module = typeof libh32 !== "undefined" ? libh32 : {};
@@ -52214,8 +52214,8 @@ class H3ClusterLayer extends GeoCellLayer {
52214
52214
  };
52215
52215
  }
52216
52216
  }
52217
- _defineProperty$e(H3ClusterLayer, "layerName", "H3ClusterLayer");
52218
- _defineProperty$e(H3ClusterLayer, "defaultProps", defaultProps$o);
52217
+ _defineProperty$f(H3ClusterLayer, "layerName", "H3ClusterLayer");
52218
+ _defineProperty$f(H3ClusterLayer, "defaultProps", defaultProps$o);
52219
52219
  const UPDATE_THRESHOLD_KM = 10;
52220
52220
  function normalizeLongitudes(vertices, refLng) {
52221
52221
  refLng = refLng === void 0 ? vertices[0][0] : refLng;
@@ -52297,7 +52297,7 @@ const defaultProps$n = {
52297
52297
  class H3HexagonLayer extends CompositeLayer {
52298
52298
  constructor(...args) {
52299
52299
  super(...args);
52300
- _defineProperty$e(this, "state", void 0);
52300
+ _defineProperty$f(this, "state", void 0);
52301
52301
  }
52302
52302
  initializeState() {
52303
52303
  H3HexagonLayer._checkH3Lib();
@@ -52498,9 +52498,9 @@ class H3HexagonLayer extends CompositeLayer {
52498
52498
  });
52499
52499
  }
52500
52500
  }
52501
- _defineProperty$e(H3HexagonLayer, "defaultProps", defaultProps$n);
52502
- _defineProperty$e(H3HexagonLayer, "layerName", "H3HexagonLayer");
52503
- _defineProperty$e(H3HexagonLayer, "_checkH3Lib", () => {
52501
+ _defineProperty$f(H3HexagonLayer, "defaultProps", defaultProps$n);
52502
+ _defineProperty$f(H3HexagonLayer, "layerName", "H3HexagonLayer");
52503
+ _defineProperty$f(H3HexagonLayer, "_checkH3Lib", () => {
52504
52504
  });
52505
52505
  const RADIAN_PER_DEGREE = Math.PI / 180;
52506
52506
  const modelMatrix = new Float32Array(16);
@@ -52719,7 +52719,7 @@ const defaultProps$m = {
52719
52719
  class SimpleMeshLayer extends Layer {
52720
52720
  constructor(...args) {
52721
52721
  super(...args);
52722
- _defineProperty$e(this, "state", void 0);
52722
+ _defineProperty$f(this, "state", void 0);
52723
52723
  }
52724
52724
  getShaders() {
52725
52725
  const transpileToGLSL100 = !isWebGL2$1(this.context.gl);
@@ -52845,8 +52845,8 @@ class SimpleMeshLayer extends Layer {
52845
52845
  }
52846
52846
  }
52847
52847
  }
52848
- _defineProperty$e(SimpleMeshLayer, "defaultProps", defaultProps$m);
52849
- _defineProperty$e(SimpleMeshLayer, "layerName", "SimpleMeshLayer");
52848
+ _defineProperty$f(SimpleMeshLayer, "defaultProps", defaultProps$m);
52849
+ _defineProperty$f(SimpleMeshLayer, "layerName", "SimpleMeshLayer");
52850
52850
  class ScenegraphNode {
52851
52851
  constructor() {
52852
52852
  let props2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -54164,9 +54164,9 @@ const DEFAULT_GLTF_JSON = {
54164
54164
  };
54165
54165
  class GLTFScenegraph {
54166
54166
  constructor(gltf) {
54167
- _defineProperty$e(this, "gltf", void 0);
54168
- _defineProperty$e(this, "sourceBuffers", void 0);
54169
- _defineProperty$e(this, "byteLength", void 0);
54167
+ _defineProperty$f(this, "gltf", void 0);
54168
+ _defineProperty$f(this, "sourceBuffers", void 0);
54169
+ _defineProperty$f(this, "byteLength", void 0);
54170
54170
  this.gltf = gltf || {
54171
54171
  json: {
54172
54172
  ...DEFAULT_GLTF_JSON
@@ -54784,8 +54784,8 @@ function assert$2(condition, message) {
54784
54784
  }
54785
54785
  class Schema {
54786
54786
  constructor(fields, metadata) {
54787
- _defineProperty$e(this, "fields", void 0);
54788
- _defineProperty$e(this, "metadata", void 0);
54787
+ _defineProperty$f(this, "fields", void 0);
54788
+ _defineProperty$f(this, "metadata", void 0);
54789
54789
  assert$2(Array.isArray(fields));
54790
54790
  checkNames(fields);
54791
54791
  this.fields = fields;
@@ -54852,10 +54852,10 @@ function mergeMaps(m1, m2) {
54852
54852
  }
54853
54853
  class Field {
54854
54854
  constructor(name2, type, nullable = false, metadata = /* @__PURE__ */ new Map()) {
54855
- _defineProperty$e(this, "name", void 0);
54856
- _defineProperty$e(this, "type", void 0);
54857
- _defineProperty$e(this, "nullable", void 0);
54858
- _defineProperty$e(this, "metadata", void 0);
54855
+ _defineProperty$f(this, "name", void 0);
54856
+ _defineProperty$f(this, "type", void 0);
54857
+ _defineProperty$f(this, "nullable", void 0);
54858
+ _defineProperty$f(this, "metadata", void 0);
54859
54859
  this.name = name2;
54860
54860
  this.type = type;
54861
54861
  this.nullable = nullable;
@@ -54988,8 +54988,8 @@ _Symbol$toStringTag = Symbol.toStringTag;
54988
54988
  class Int extends DataType$2 {
54989
54989
  constructor(isSigned, bitWidth) {
54990
54990
  super();
54991
- _defineProperty$e(this, "isSigned", void 0);
54992
- _defineProperty$e(this, "bitWidth", void 0);
54991
+ _defineProperty$f(this, "isSigned", void 0);
54992
+ _defineProperty$f(this, "bitWidth", void 0);
54993
54993
  this.isSigned = isSigned;
54994
54994
  this.bitWidth = bitWidth;
54995
54995
  }
@@ -55042,7 +55042,7 @@ _Symbol$toStringTag2 = Symbol.toStringTag;
55042
55042
  class Float extends DataType$2 {
55043
55043
  constructor(precision) {
55044
55044
  super();
55045
- _defineProperty$e(this, "precision", void 0);
55045
+ _defineProperty$f(this, "precision", void 0);
55046
55046
  this.precision = precision;
55047
55047
  }
55048
55048
  get typeId() {
@@ -55069,8 +55069,8 @@ _Symbol$toStringTag7 = Symbol.toStringTag;
55069
55069
  class FixedSizeList extends DataType$2 {
55070
55070
  constructor(listSize, child) {
55071
55071
  super();
55072
- _defineProperty$e(this, "listSize", void 0);
55073
- _defineProperty$e(this, "children", void 0);
55072
+ _defineProperty$f(this, "listSize", void 0);
55073
+ _defineProperty$f(this, "children", void 0);
55074
55074
  this.listSize = listSize;
55075
55075
  this.children = [child];
55076
55076
  }
@@ -55966,7 +55966,7 @@ const GLTF_KEYS = {
55966
55966
  };
55967
55967
  class GLTFV1Normalizer {
55968
55968
  constructor() {
55969
- _defineProperty$e(this, "idToIndexMap", {
55969
+ _defineProperty$f(this, "idToIndexMap", {
55970
55970
  animations: {},
55971
55971
  accessors: {},
55972
55972
  buffers: {},
@@ -55980,7 +55980,7 @@ class GLTFV1Normalizer {
55980
55980
  skins: {},
55981
55981
  textures: {}
55982
55982
  });
55983
- _defineProperty$e(this, "json", void 0);
55983
+ _defineProperty$f(this, "json", void 0);
55984
55984
  }
55985
55985
  normalize(gltf, options) {
55986
55986
  this.json = gltf.json;
@@ -56182,10 +56182,10 @@ function getSizeFromAccessorType(type) {
56182
56182
  }
56183
56183
  class GLTFPostProcessor {
56184
56184
  constructor() {
56185
- _defineProperty$e(this, "baseUri", "");
56186
- _defineProperty$e(this, "json", {});
56187
- _defineProperty$e(this, "buffers", []);
56188
- _defineProperty$e(this, "images", []);
56185
+ _defineProperty$f(this, "baseUri", "");
56186
+ _defineProperty$f(this, "json", {});
56187
+ _defineProperty$f(this, "buffers", []);
56188
+ _defineProperty$f(this, "images", []);
56189
56189
  }
56190
56190
  postProcess(gltf, options = {}) {
56191
56191
  const {
@@ -56840,7 +56840,7 @@ const defaultProps$l = {
56840
56840
  class ScenegraphLayer extends Layer {
56841
56841
  constructor(...args) {
56842
56842
  super(...args);
56843
- _defineProperty$e(this, "state", void 0);
56843
+ _defineProperty$f(this, "state", void 0);
56844
56844
  }
56845
56845
  getShaders() {
56846
56846
  const modules = [project32, picking];
@@ -57055,8 +57055,8 @@ class ScenegraphLayer extends Layer {
57055
57055
  });
57056
57056
  }
57057
57057
  }
57058
- _defineProperty$e(ScenegraphLayer, "defaultProps", defaultProps$l);
57059
- _defineProperty$e(ScenegraphLayer, "layerName", "ScenegraphLayer");
57058
+ _defineProperty$f(ScenegraphLayer, "defaultProps", defaultProps$l);
57059
+ _defineProperty$f(ScenegraphLayer, "layerName", "ScenegraphLayer");
57060
57060
  const esm$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
57061
57061
  __proto__: null,
57062
57062
  ScenegraphLayer,
@@ -57215,8 +57215,8 @@ class MeshLayer extends SimpleMeshLayer {
57215
57215
  });
57216
57216
  }
57217
57217
  }
57218
- _defineProperty$e(MeshLayer, "layerName", "MeshLayer");
57219
- _defineProperty$e(MeshLayer, "defaultProps", defaultProps$k);
57218
+ _defineProperty$f(MeshLayer, "layerName", "MeshLayer");
57219
+ _defineProperty$f(MeshLayer, "defaultProps", defaultProps$k);
57220
57220
  const WGS84_RADIUS_X$1 = 6378137;
57221
57221
  const WGS84_RADIUS_Y$1 = 6378137;
57222
57222
  const WGS84_RADIUS_Z$1 = 6356752314245179e-9;
@@ -57556,9 +57556,9 @@ class Ellipsoid {
57556
57556
  _defineProperty$f(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X$1, WGS84_RADIUS_Y$1, WGS84_RADIUS_Z$1));
57557
57557
  class DoublyLinkedListNode {
57558
57558
  constructor(item, previous, next3) {
57559
- _defineProperty$e(this, "item", void 0);
57560
- _defineProperty$e(this, "previous", void 0);
57561
- _defineProperty$e(this, "next", void 0);
57559
+ _defineProperty$f(this, "item", void 0);
57560
+ _defineProperty$f(this, "previous", void 0);
57561
+ _defineProperty$f(this, "next", void 0);
57562
57562
  this.item = item;
57563
57563
  this.previous = previous;
57564
57564
  this.next = next3;
@@ -57566,9 +57566,9 @@ class DoublyLinkedListNode {
57566
57566
  }
57567
57567
  class DoublyLinkedList {
57568
57568
  constructor() {
57569
- _defineProperty$e(this, "head", null);
57570
- _defineProperty$e(this, "tail", null);
57571
- _defineProperty$e(this, "_length", 0);
57569
+ _defineProperty$f(this, "head", null);
57570
+ _defineProperty$f(this, "tail", null);
57571
+ _defineProperty$f(this, "_length", 0);
57572
57572
  }
57573
57573
  get length() {
57574
57574
  return this._length;
@@ -57631,9 +57631,9 @@ function defined$4(x2) {
57631
57631
  }
57632
57632
  class TilesetCache {
57633
57633
  constructor() {
57634
- _defineProperty$e(this, "_list", void 0);
57635
- _defineProperty$e(this, "_sentinel", void 0);
57636
- _defineProperty$e(this, "_trimTiles", void 0);
57634
+ _defineProperty$f(this, "_list", void 0);
57635
+ _defineProperty$f(this, "_sentinel", void 0);
57636
+ _defineProperty$f(this, "_trimTiles", void 0);
57637
57637
  this._list = new DoublyLinkedList();
57638
57638
  this._sentinel = this._list.add("sentinel");
57639
57639
  this._trimTiles = false;
@@ -58076,9 +58076,9 @@ function get3dTilesOptions(tileset) {
58076
58076
  }
58077
58077
  class ManagedArray {
58078
58078
  constructor(length2 = 0) {
58079
- _defineProperty$e(this, "_map", /* @__PURE__ */ new Map());
58080
- _defineProperty$e(this, "_array", void 0);
58081
- _defineProperty$e(this, "_length", void 0);
58079
+ _defineProperty$f(this, "_map", /* @__PURE__ */ new Map());
58080
+ _defineProperty$f(this, "_array", void 0);
58081
+ _defineProperty$f(this, "_length", void 0);
58082
58082
  this._array = new Array(length2);
58083
58083
  this._length = length2;
58084
58084
  }
@@ -58172,16 +58172,16 @@ class TilesetTraverser {
58172
58172
  return true;
58173
58173
  }
58174
58174
  constructor(options) {
58175
- _defineProperty$e(this, "options", void 0);
58176
- _defineProperty$e(this, "root", void 0);
58177
- _defineProperty$e(this, "requestedTiles", void 0);
58178
- _defineProperty$e(this, "selectedTiles", void 0);
58179
- _defineProperty$e(this, "emptyTiles", void 0);
58180
- _defineProperty$e(this, "lastUpdate", (/* @__PURE__ */ new Date()).getTime());
58181
- _defineProperty$e(this, "updateDebounceTime", 1e3);
58182
- _defineProperty$e(this, "_traversalStack", void 0);
58183
- _defineProperty$e(this, "_emptyTraversalStack", void 0);
58184
- _defineProperty$e(this, "_frameNumber", void 0);
58175
+ _defineProperty$f(this, "options", void 0);
58176
+ _defineProperty$f(this, "root", void 0);
58177
+ _defineProperty$f(this, "requestedTiles", void 0);
58178
+ _defineProperty$f(this, "selectedTiles", void 0);
58179
+ _defineProperty$f(this, "emptyTiles", void 0);
58180
+ _defineProperty$f(this, "lastUpdate", (/* @__PURE__ */ new Date()).getTime());
58181
+ _defineProperty$f(this, "updateDebounceTime", 1e3);
58182
+ _defineProperty$f(this, "_traversalStack", void 0);
58183
+ _defineProperty$f(this, "_emptyTraversalStack", void 0);
58184
+ _defineProperty$f(this, "_frameNumber", void 0);
58185
58185
  this.options = {
58186
58186
  ...DEFAULT_PROPS$1,
58187
58187
  ...options
@@ -58402,52 +58402,52 @@ function defined$2(x2) {
58402
58402
  }
58403
58403
  class TileHeader {
58404
58404
  constructor(tileset, header, parentHeader, extendedId = "") {
58405
- _defineProperty$e(this, "tileset", void 0);
58406
- _defineProperty$e(this, "header", void 0);
58407
- _defineProperty$e(this, "id", void 0);
58408
- _defineProperty$e(this, "url", void 0);
58409
- _defineProperty$e(this, "parent", void 0);
58410
- _defineProperty$e(this, "refine", void 0);
58411
- _defineProperty$e(this, "type", void 0);
58412
- _defineProperty$e(this, "contentUrl", void 0);
58413
- _defineProperty$e(this, "lodMetricType", void 0);
58414
- _defineProperty$e(this, "lodMetricValue", void 0);
58415
- _defineProperty$e(this, "boundingVolume", void 0);
58416
- _defineProperty$e(this, "content", void 0);
58417
- _defineProperty$e(this, "contentState", void 0);
58418
- _defineProperty$e(this, "gpuMemoryUsageInBytes", void 0);
58419
- _defineProperty$e(this, "children", void 0);
58420
- _defineProperty$e(this, "depth", void 0);
58421
- _defineProperty$e(this, "viewportIds", void 0);
58422
- _defineProperty$e(this, "transform", void 0);
58423
- _defineProperty$e(this, "extensions", void 0);
58424
- _defineProperty$e(this, "userData", void 0);
58425
- _defineProperty$e(this, "computedTransform", void 0);
58426
- _defineProperty$e(this, "hasEmptyContent", void 0);
58427
- _defineProperty$e(this, "hasTilesetContent", void 0);
58428
- _defineProperty$e(this, "traverser", void 0);
58429
- _defineProperty$e(this, "_cacheNode", void 0);
58430
- _defineProperty$e(this, "_frameNumber", void 0);
58431
- _defineProperty$e(this, "_lodJudge", void 0);
58432
- _defineProperty$e(this, "_expireDate", void 0);
58433
- _defineProperty$e(this, "_expiredContent", void 0);
58434
- _defineProperty$e(this, "_shouldRefine", void 0);
58435
- _defineProperty$e(this, "_distanceToCamera", void 0);
58436
- _defineProperty$e(this, "_centerZDepth", void 0);
58437
- _defineProperty$e(this, "_screenSpaceError", void 0);
58438
- _defineProperty$e(this, "_visibilityPlaneMask", void 0);
58439
- _defineProperty$e(this, "_visible", void 0);
58440
- _defineProperty$e(this, "_inRequestVolume", void 0);
58441
- _defineProperty$e(this, "_stackLength", void 0);
58442
- _defineProperty$e(this, "_selectionDepth", void 0);
58443
- _defineProperty$e(this, "_touchedFrame", void 0);
58444
- _defineProperty$e(this, "_visitedFrame", void 0);
58445
- _defineProperty$e(this, "_selectedFrame", void 0);
58446
- _defineProperty$e(this, "_requestedFrame", void 0);
58447
- _defineProperty$e(this, "_priority", void 0);
58448
- _defineProperty$e(this, "_contentBoundingVolume", void 0);
58449
- _defineProperty$e(this, "_viewerRequestVolume", void 0);
58450
- _defineProperty$e(this, "_initialTransform", void 0);
58405
+ _defineProperty$f(this, "tileset", void 0);
58406
+ _defineProperty$f(this, "header", void 0);
58407
+ _defineProperty$f(this, "id", void 0);
58408
+ _defineProperty$f(this, "url", void 0);
58409
+ _defineProperty$f(this, "parent", void 0);
58410
+ _defineProperty$f(this, "refine", void 0);
58411
+ _defineProperty$f(this, "type", void 0);
58412
+ _defineProperty$f(this, "contentUrl", void 0);
58413
+ _defineProperty$f(this, "lodMetricType", void 0);
58414
+ _defineProperty$f(this, "lodMetricValue", void 0);
58415
+ _defineProperty$f(this, "boundingVolume", void 0);
58416
+ _defineProperty$f(this, "content", void 0);
58417
+ _defineProperty$f(this, "contentState", void 0);
58418
+ _defineProperty$f(this, "gpuMemoryUsageInBytes", void 0);
58419
+ _defineProperty$f(this, "children", void 0);
58420
+ _defineProperty$f(this, "depth", void 0);
58421
+ _defineProperty$f(this, "viewportIds", void 0);
58422
+ _defineProperty$f(this, "transform", void 0);
58423
+ _defineProperty$f(this, "extensions", void 0);
58424
+ _defineProperty$f(this, "userData", void 0);
58425
+ _defineProperty$f(this, "computedTransform", void 0);
58426
+ _defineProperty$f(this, "hasEmptyContent", void 0);
58427
+ _defineProperty$f(this, "hasTilesetContent", void 0);
58428
+ _defineProperty$f(this, "traverser", void 0);
58429
+ _defineProperty$f(this, "_cacheNode", void 0);
58430
+ _defineProperty$f(this, "_frameNumber", void 0);
58431
+ _defineProperty$f(this, "_lodJudge", void 0);
58432
+ _defineProperty$f(this, "_expireDate", void 0);
58433
+ _defineProperty$f(this, "_expiredContent", void 0);
58434
+ _defineProperty$f(this, "_shouldRefine", void 0);
58435
+ _defineProperty$f(this, "_distanceToCamera", void 0);
58436
+ _defineProperty$f(this, "_centerZDepth", void 0);
58437
+ _defineProperty$f(this, "_screenSpaceError", void 0);
58438
+ _defineProperty$f(this, "_visibilityPlaneMask", void 0);
58439
+ _defineProperty$f(this, "_visible", void 0);
58440
+ _defineProperty$f(this, "_inRequestVolume", void 0);
58441
+ _defineProperty$f(this, "_stackLength", void 0);
58442
+ _defineProperty$f(this, "_selectionDepth", void 0);
58443
+ _defineProperty$f(this, "_touchedFrame", void 0);
58444
+ _defineProperty$f(this, "_visitedFrame", void 0);
58445
+ _defineProperty$f(this, "_selectedFrame", void 0);
58446
+ _defineProperty$f(this, "_requestedFrame", void 0);
58447
+ _defineProperty$f(this, "_priority", void 0);
58448
+ _defineProperty$f(this, "_contentBoundingVolume", void 0);
58449
+ _defineProperty$f(this, "_viewerRequestVolume", void 0);
58450
+ _defineProperty$f(this, "_initialTransform", void 0);
58451
58451
  this.header = header;
58452
58452
  this.tileset = tileset;
58453
58453
  this.id = extendedId || header.id;
@@ -58840,7 +58840,7 @@ class Tileset3DTraverser extends TilesetTraverser {
58840
58840
  }
58841
58841
  class I3SPendingTilesRegister {
58842
58842
  constructor() {
58843
- _defineProperty$e(this, "frameNumberMap", /* @__PURE__ */ new Map());
58843
+ _defineProperty$f(this, "frameNumberMap", /* @__PURE__ */ new Map());
58844
58844
  }
58845
58845
  register(viewportId, frameNumber) {
58846
58846
  const viewportMap = this.frameNumberMap.get(viewportId) || /* @__PURE__ */ new Map();
@@ -58869,8 +58869,8 @@ const STATUS = {
58869
58869
  };
58870
58870
  class I3STileManager {
58871
58871
  constructor() {
58872
- _defineProperty$e(this, "_statusMap", void 0);
58873
- _defineProperty$e(this, "pendingTilesRegister", new I3SPendingTilesRegister());
58872
+ _defineProperty$f(this, "_statusMap", void 0);
58873
+ _defineProperty$f(this, "pendingTilesRegister", new I3SPendingTilesRegister());
58874
58874
  this._statusMap = {};
58875
58875
  }
58876
58876
  add(request, key, callback, frameState) {
@@ -58944,7 +58944,7 @@ class I3STilesetTraverser extends TilesetTraverser {
58944
58944
  }
58945
58945
  constructor(options) {
58946
58946
  super(options);
58947
- _defineProperty$e(this, "_tileManager", void 0);
58947
+ _defineProperty$f(this, "_tileManager", void 0);
58948
58948
  this._tileManager = new I3STileManager();
58949
58949
  }
58950
58950
  shouldRefine(tile, frameState) {
@@ -59041,52 +59041,52 @@ const POINTS_COUNT = "Points/Vertices";
59041
59041
  const TILES_GPU_MEMORY = "Tile Memory Use";
59042
59042
  class Tileset3D {
59043
59043
  constructor(json, options) {
59044
- _defineProperty$e(this, "options", void 0);
59045
- _defineProperty$e(this, "loadOptions", void 0);
59046
- _defineProperty$e(this, "type", void 0);
59047
- _defineProperty$e(this, "tileset", void 0);
59048
- _defineProperty$e(this, "loader", void 0);
59049
- _defineProperty$e(this, "url", void 0);
59050
- _defineProperty$e(this, "basePath", void 0);
59051
- _defineProperty$e(this, "modelMatrix", void 0);
59052
- _defineProperty$e(this, "ellipsoid", void 0);
59053
- _defineProperty$e(this, "lodMetricType", void 0);
59054
- _defineProperty$e(this, "lodMetricValue", void 0);
59055
- _defineProperty$e(this, "refine", void 0);
59056
- _defineProperty$e(this, "root", void 0);
59057
- _defineProperty$e(this, "roots", void 0);
59058
- _defineProperty$e(this, "asset", void 0);
59059
- _defineProperty$e(this, "description", void 0);
59060
- _defineProperty$e(this, "properties", void 0);
59061
- _defineProperty$e(this, "extras", void 0);
59062
- _defineProperty$e(this, "attributions", void 0);
59063
- _defineProperty$e(this, "credits", void 0);
59064
- _defineProperty$e(this, "stats", void 0);
59065
- _defineProperty$e(this, "traverseCounter", void 0);
59066
- _defineProperty$e(this, "geometricError", void 0);
59067
- _defineProperty$e(this, "selectedTiles", void 0);
59068
- _defineProperty$e(this, "updatePromise", null);
59069
- _defineProperty$e(this, "tilesetInitializationPromise", void 0);
59070
- _defineProperty$e(this, "cartographicCenter", void 0);
59071
- _defineProperty$e(this, "cartesianCenter", void 0);
59072
- _defineProperty$e(this, "zoom", void 0);
59073
- _defineProperty$e(this, "boundingVolume", void 0);
59074
- _defineProperty$e(this, "gpuMemoryUsageInBytes", void 0);
59075
- _defineProperty$e(this, "dynamicScreenSpaceErrorComputedDensity", void 0);
59076
- _defineProperty$e(this, "_traverser", void 0);
59077
- _defineProperty$e(this, "_cache", void 0);
59078
- _defineProperty$e(this, "_requestScheduler", void 0);
59079
- _defineProperty$e(this, "_frameNumber", void 0);
59080
- _defineProperty$e(this, "_queryParamsString", void 0);
59081
- _defineProperty$e(this, "_queryParams", void 0);
59082
- _defineProperty$e(this, "_extensionsUsed", void 0);
59083
- _defineProperty$e(this, "_tiles", void 0);
59084
- _defineProperty$e(this, "_pendingCount", void 0);
59085
- _defineProperty$e(this, "lastUpdatedVieports", void 0);
59086
- _defineProperty$e(this, "_requestedTiles", void 0);
59087
- _defineProperty$e(this, "_emptyTiles", void 0);
59088
- _defineProperty$e(this, "frameStateData", void 0);
59089
- _defineProperty$e(this, "maximumMemoryUsage", void 0);
59044
+ _defineProperty$f(this, "options", void 0);
59045
+ _defineProperty$f(this, "loadOptions", void 0);
59046
+ _defineProperty$f(this, "type", void 0);
59047
+ _defineProperty$f(this, "tileset", void 0);
59048
+ _defineProperty$f(this, "loader", void 0);
59049
+ _defineProperty$f(this, "url", void 0);
59050
+ _defineProperty$f(this, "basePath", void 0);
59051
+ _defineProperty$f(this, "modelMatrix", void 0);
59052
+ _defineProperty$f(this, "ellipsoid", void 0);
59053
+ _defineProperty$f(this, "lodMetricType", void 0);
59054
+ _defineProperty$f(this, "lodMetricValue", void 0);
59055
+ _defineProperty$f(this, "refine", void 0);
59056
+ _defineProperty$f(this, "root", void 0);
59057
+ _defineProperty$f(this, "roots", void 0);
59058
+ _defineProperty$f(this, "asset", void 0);
59059
+ _defineProperty$f(this, "description", void 0);
59060
+ _defineProperty$f(this, "properties", void 0);
59061
+ _defineProperty$f(this, "extras", void 0);
59062
+ _defineProperty$f(this, "attributions", void 0);
59063
+ _defineProperty$f(this, "credits", void 0);
59064
+ _defineProperty$f(this, "stats", void 0);
59065
+ _defineProperty$f(this, "traverseCounter", void 0);
59066
+ _defineProperty$f(this, "geometricError", void 0);
59067
+ _defineProperty$f(this, "selectedTiles", void 0);
59068
+ _defineProperty$f(this, "updatePromise", null);
59069
+ _defineProperty$f(this, "tilesetInitializationPromise", void 0);
59070
+ _defineProperty$f(this, "cartographicCenter", void 0);
59071
+ _defineProperty$f(this, "cartesianCenter", void 0);
59072
+ _defineProperty$f(this, "zoom", void 0);
59073
+ _defineProperty$f(this, "boundingVolume", void 0);
59074
+ _defineProperty$f(this, "gpuMemoryUsageInBytes", void 0);
59075
+ _defineProperty$f(this, "dynamicScreenSpaceErrorComputedDensity", void 0);
59076
+ _defineProperty$f(this, "_traverser", void 0);
59077
+ _defineProperty$f(this, "_cache", void 0);
59078
+ _defineProperty$f(this, "_requestScheduler", void 0);
59079
+ _defineProperty$f(this, "_frameNumber", void 0);
59080
+ _defineProperty$f(this, "_queryParamsString", void 0);
59081
+ _defineProperty$f(this, "_queryParams", void 0);
59082
+ _defineProperty$f(this, "_extensionsUsed", void 0);
59083
+ _defineProperty$f(this, "_tiles", void 0);
59084
+ _defineProperty$f(this, "_pendingCount", void 0);
59085
+ _defineProperty$f(this, "lastUpdatedVieports", void 0);
59086
+ _defineProperty$f(this, "_requestedTiles", void 0);
59087
+ _defineProperty$f(this, "_emptyTiles", void 0);
59088
+ _defineProperty$f(this, "frameStateData", void 0);
59089
+ _defineProperty$f(this, "maximumMemoryUsage", void 0);
59090
59090
  assert$c(json);
59091
59091
  this.options = {
59092
59092
  ...DEFAULT_PROPS,
@@ -59742,10 +59742,10 @@ function octDecode(x2, y2, result) {
59742
59742
  }
59743
59743
  class Tile3DFeatureTable {
59744
59744
  constructor(featureTableJson, featureTableBinary) {
59745
- _defineProperty$e(this, "json", void 0);
59746
- _defineProperty$e(this, "buffer", void 0);
59747
- _defineProperty$e(this, "featuresLength", 0);
59748
- _defineProperty$e(this, "_cachedTypedArrays", {});
59745
+ _defineProperty$f(this, "json", void 0);
59746
+ _defineProperty$f(this, "buffer", void 0);
59747
+ _defineProperty$f(this, "featuresLength", 0);
59748
+ _defineProperty$f(this, "_cachedTypedArrays", {});
59749
59749
  this.json = featureTableJson;
59750
59750
  this.buffer = featureTableBinary;
59751
59751
  }
@@ -60079,13 +60079,13 @@ const IGNORED_PROPERTY_FIELDS = {
60079
60079
  class Tile3DBatchTableParser {
60080
60080
  constructor(json, binary, featureCount, options = {}) {
60081
60081
  var _this$json;
60082
- _defineProperty$e(this, "json", void 0);
60083
- _defineProperty$e(this, "binary", void 0);
60084
- _defineProperty$e(this, "featureCount", void 0);
60085
- _defineProperty$e(this, "_extensions", void 0);
60086
- _defineProperty$e(this, "_properties", void 0);
60087
- _defineProperty$e(this, "_binaryProperties", void 0);
60088
- _defineProperty$e(this, "_hierarchy", void 0);
60082
+ _defineProperty$f(this, "json", void 0);
60083
+ _defineProperty$f(this, "binary", void 0);
60084
+ _defineProperty$f(this, "featureCount", void 0);
60085
+ _defineProperty$f(this, "_extensions", void 0);
60086
+ _defineProperty$f(this, "_properties", void 0);
60087
+ _defineProperty$f(this, "_binaryProperties", void 0);
60088
+ _defineProperty$f(this, "_hierarchy", void 0);
60089
60089
  assert$c(featureCount >= 0);
60090
60090
  this.json = json || {};
60091
60091
  this.binary = binary;
@@ -61430,7 +61430,7 @@ const defaultProps$j = {
61430
61430
  class Tile3DLayer extends CompositeLayer {
61431
61431
  constructor(...args) {
61432
61432
  super(...args);
61433
- _defineProperty$e(this, "state", void 0);
61433
+ _defineProperty$f(this, "state", void 0);
61434
61434
  }
61435
61435
  initializeState() {
61436
61436
  if ("onTileLoadFail" in this.props) {
@@ -61751,8 +61751,8 @@ class Tile3DLayer extends CompositeLayer {
61751
61751
  }).filter(Boolean);
61752
61752
  }
61753
61753
  }
61754
- _defineProperty$e(Tile3DLayer, "defaultProps", defaultProps$j);
61755
- _defineProperty$e(Tile3DLayer, "layerName", "Tile3DLayer");
61754
+ _defineProperty$f(Tile3DLayer, "defaultProps", defaultProps$j);
61755
+ _defineProperty$f(Tile3DLayer, "layerName", "Tile3DLayer");
61756
61756
  function getMeshGeometry(contentAttributes) {
61757
61757
  const attributes = {};
61758
61758
  attributes.positions = {
@@ -62582,7 +62582,7 @@ function urlTemplateToUpdateTrigger(template) {
62582
62582
  class TerrainLayer extends CompositeLayer {
62583
62583
  constructor(...args) {
62584
62584
  super(...args);
62585
- _defineProperty$e(this, "state", void 0);
62585
+ _defineProperty$f(this, "state", void 0);
62586
62586
  }
62587
62587
  updateState({
62588
62588
  props: props2,
@@ -62797,8 +62797,8 @@ class TerrainLayer extends CompositeLayer {
62797
62797
  });
62798
62798
  }
62799
62799
  }
62800
- _defineProperty$e(TerrainLayer, "defaultProps", defaultProps$i);
62801
- _defineProperty$e(TerrainLayer, "layerName", "TerrainLayer");
62800
+ _defineProperty$f(TerrainLayer, "defaultProps", defaultProps$i);
62801
+ _defineProperty$f(TerrainLayer, "layerName", "TerrainLayer");
62802
62802
  function flatGeojsonToBinary(features, geometryInfo, options) {
62803
62803
  const propArrayTypes = extractNumericPropTypes(features);
62804
62804
  const numericPropKeys = Object.keys(propArrayTypes).filter((k) => propArrayTypes[k] !== Array);
@@ -64088,14 +64088,14 @@ let VectorTileFeature$1 = class VectorTileFeature {
64088
64088
  return ["Unknown", "Point", "LineString", "Polygon"];
64089
64089
  }
64090
64090
  constructor(pbf2, end, extent2, keys3, values2) {
64091
- _defineProperty$e(this, "properties", void 0);
64092
- _defineProperty$e(this, "extent", void 0);
64093
- _defineProperty$e(this, "type", void 0);
64094
- _defineProperty$e(this, "id", void 0);
64095
- _defineProperty$e(this, "_pbf", void 0);
64096
- _defineProperty$e(this, "_geometry", void 0);
64097
- _defineProperty$e(this, "_keys", void 0);
64098
- _defineProperty$e(this, "_values", void 0);
64091
+ _defineProperty$f(this, "properties", void 0);
64092
+ _defineProperty$f(this, "extent", void 0);
64093
+ _defineProperty$f(this, "type", void 0);
64094
+ _defineProperty$f(this, "id", void 0);
64095
+ _defineProperty$f(this, "_pbf", void 0);
64096
+ _defineProperty$f(this, "_geometry", void 0);
64097
+ _defineProperty$f(this, "_keys", void 0);
64098
+ _defineProperty$f(this, "_values", void 0);
64099
64099
  this.properties = {};
64100
64100
  this.extent = extent2;
64101
64101
  this.type = 0;
@@ -64252,14 +64252,14 @@ let VectorTileFeature$1 = class VectorTileFeature {
64252
64252
  };
64253
64253
  let VectorTileLayer$1 = class VectorTileLayer {
64254
64254
  constructor(pbf2, end) {
64255
- _defineProperty$e(this, "version", void 0);
64256
- _defineProperty$e(this, "name", void 0);
64257
- _defineProperty$e(this, "extent", void 0);
64258
- _defineProperty$e(this, "length", void 0);
64259
- _defineProperty$e(this, "_pbf", void 0);
64260
- _defineProperty$e(this, "_keys", void 0);
64261
- _defineProperty$e(this, "_values", void 0);
64262
- _defineProperty$e(this, "_features", void 0);
64255
+ _defineProperty$f(this, "version", void 0);
64256
+ _defineProperty$f(this, "name", void 0);
64257
+ _defineProperty$f(this, "extent", void 0);
64258
+ _defineProperty$f(this, "length", void 0);
64259
+ _defineProperty$f(this, "_pbf", void 0);
64260
+ _defineProperty$f(this, "_keys", void 0);
64261
+ _defineProperty$f(this, "_values", void 0);
64262
+ _defineProperty$f(this, "_features", void 0);
64263
64263
  this.version = 1;
64264
64264
  this.name = "";
64265
64265
  this.extent = 4096;
@@ -64307,7 +64307,7 @@ function readValueMessage$1(pbf2) {
64307
64307
  }
64308
64308
  let VectorTile$1 = class VectorTile {
64309
64309
  constructor(pbf2, end) {
64310
- _defineProperty$e(this, "layers", void 0);
64310
+ _defineProperty$f(this, "layers", void 0);
64311
64311
  this.layers = pbf2.readFields(readTile$1, {}, end);
64312
64312
  }
64313
64313
  };
@@ -64411,15 +64411,15 @@ let y;
64411
64411
  let i$2;
64412
64412
  class VectorTileFeature2 {
64413
64413
  constructor(pbf2, end, extent2, keys3, values2, geometryInfo) {
64414
- _defineProperty$e(this, "properties", void 0);
64415
- _defineProperty$e(this, "extent", void 0);
64416
- _defineProperty$e(this, "type", void 0);
64417
- _defineProperty$e(this, "id", void 0);
64418
- _defineProperty$e(this, "_pbf", void 0);
64419
- _defineProperty$e(this, "_geometry", void 0);
64420
- _defineProperty$e(this, "_keys", void 0);
64421
- _defineProperty$e(this, "_values", void 0);
64422
- _defineProperty$e(this, "_geometryInfo", void 0);
64414
+ _defineProperty$f(this, "properties", void 0);
64415
+ _defineProperty$f(this, "extent", void 0);
64416
+ _defineProperty$f(this, "type", void 0);
64417
+ _defineProperty$f(this, "id", void 0);
64418
+ _defineProperty$f(this, "_pbf", void 0);
64419
+ _defineProperty$f(this, "_geometry", void 0);
64420
+ _defineProperty$f(this, "_keys", void 0);
64421
+ _defineProperty$f(this, "_values", void 0);
64422
+ _defineProperty$f(this, "_geometryInfo", void 0);
64423
64423
  this.properties = {};
64424
64424
  this.extent = extent2;
64425
64425
  this.type = 0;
@@ -64534,14 +64534,14 @@ class VectorTileFeature2 {
64534
64534
  }
64535
64535
  class VectorTileLayer2 {
64536
64536
  constructor(pbf2, end) {
64537
- _defineProperty$e(this, "version", void 0);
64538
- _defineProperty$e(this, "name", void 0);
64539
- _defineProperty$e(this, "extent", void 0);
64540
- _defineProperty$e(this, "length", void 0);
64541
- _defineProperty$e(this, "_pbf", void 0);
64542
- _defineProperty$e(this, "_keys", void 0);
64543
- _defineProperty$e(this, "_values", void 0);
64544
- _defineProperty$e(this, "_features", void 0);
64537
+ _defineProperty$f(this, "version", void 0);
64538
+ _defineProperty$f(this, "name", void 0);
64539
+ _defineProperty$f(this, "extent", void 0);
64540
+ _defineProperty$f(this, "length", void 0);
64541
+ _defineProperty$f(this, "_pbf", void 0);
64542
+ _defineProperty$f(this, "_keys", void 0);
64543
+ _defineProperty$f(this, "_values", void 0);
64544
+ _defineProperty$f(this, "_features", void 0);
64545
64545
  this.version = 1;
64546
64546
  this.name = "";
64547
64547
  this.extent = 4096;
@@ -64589,7 +64589,7 @@ function readValueMessage(pbf2) {
64589
64589
  }
64590
64590
  class VectorTile2 {
64591
64591
  constructor(pbf2, end) {
64592
- _defineProperty$e(this, "layers", void 0);
64592
+ _defineProperty$f(this, "layers", void 0);
64593
64593
  this.layers = pbf2.readFields(readTile, {}, end);
64594
64594
  }
64595
64595
  }
@@ -65200,8 +65200,8 @@ class MVTLayer extends TileLayer {
65200
65200
  });
65201
65201
  }
65202
65202
  }
65203
- _defineProperty$e(MVTLayer, "layerName", "MVTLayer");
65204
- _defineProperty$e(MVTLayer, "defaultProps", defaultProps$h);
65203
+ _defineProperty$f(MVTLayer, "layerName", "MVTLayer");
65204
+ _defineProperty$f(MVTLayer, "defaultProps", defaultProps$h);
65205
65205
  function getFeatureUniqueId(feature2, uniqueIdProperty) {
65206
65206
  if (feature2.properties && uniqueIdProperty) {
65207
65207
  return feature2.properties[uniqueIdProperty];
@@ -65299,8 +65299,8 @@ class GeohashLayer extends GeoCellLayer {
65299
65299
  };
65300
65300
  }
65301
65301
  }
65302
- _defineProperty$e(GeohashLayer, "layerName", "GeohashLayer");
65303
- _defineProperty$e(GeohashLayer, "defaultProps", defaultProps$g);
65302
+ _defineProperty$f(GeohashLayer, "layerName", "GeohashLayer");
65303
+ _defineProperty$f(GeohashLayer, "defaultProps", defaultProps$g);
65304
65304
  const esm$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
65305
65305
  __proto__: null,
65306
65306
  GeohashLayer,
@@ -68765,13 +68765,13 @@ var shams$1 = function hasSymbols() {
68765
68765
  }
68766
68766
  return true;
68767
68767
  };
68768
- var hasSymbols$4 = shams$1;
68768
+ var hasSymbols$3 = shams$1;
68769
68769
  var shams = function hasToStringTagShams() {
68770
- return hasSymbols$4() && !!Symbol.toStringTag;
68770
+ return hasSymbols$3() && !!Symbol.toStringTag;
68771
68771
  };
68772
68772
  var origSymbol = typeof Symbol !== "undefined" && Symbol;
68773
68773
  var hasSymbolSham = shams$1;
68774
- var hasSymbols$3 = function hasNativeSymbols() {
68774
+ var hasSymbols$2 = function hasNativeSymbols() {
68775
68775
  if (typeof origSymbol !== "function") {
68776
68776
  return false;
68777
68777
  }
@@ -68786,6 +68786,13 @@ var hasSymbols$3 = function hasNativeSymbols() {
68786
68786
  }
68787
68787
  return hasSymbolSham();
68788
68788
  };
68789
+ var test = {
68790
+ foo: {}
68791
+ };
68792
+ var $Object = Object;
68793
+ var hasProto$1 = function hasProto() {
68794
+ return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
68795
+ };
68789
68796
  var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
68790
68797
  var slice = Array.prototype.slice;
68791
68798
  var toStr$2 = Object.prototype.toString;
@@ -68831,374 +68838,8 @@ var implementation$7 = function bind2(that) {
68831
68838
  };
68832
68839
  var implementation$6 = implementation$7;
68833
68840
  var functionBind = Function.prototype.bind || implementation$6;
68834
- var bind$2 = functionBind;
68835
- var src = bind$2.call(Function.call, Object.prototype.hasOwnProperty);
68836
- var undefined$2;
68837
- var $SyntaxError$1 = SyntaxError;
68838
- var $Function$1 = Function;
68839
- var $TypeError$1 = TypeError;
68840
- var getEvalledConstructor$1 = function(expressionSyntax) {
68841
- try {
68842
- return $Function$1('"use strict"; return (' + expressionSyntax + ").constructor;")();
68843
- } catch (e2) {
68844
- }
68845
- };
68846
- var $gOPD$2 = Object.getOwnPropertyDescriptor;
68847
- if ($gOPD$2) {
68848
- try {
68849
- $gOPD$2({}, "");
68850
- } catch (e2) {
68851
- $gOPD$2 = null;
68852
- }
68853
- }
68854
- var throwTypeError$1 = function() {
68855
- throw new $TypeError$1();
68856
- };
68857
- var ThrowTypeError$1 = $gOPD$2 ? function() {
68858
- try {
68859
- arguments.callee;
68860
- return throwTypeError$1;
68861
- } catch (calleeThrows) {
68862
- try {
68863
- return $gOPD$2(arguments, "callee").get;
68864
- } catch (gOPDthrows) {
68865
- return throwTypeError$1;
68866
- }
68867
- }
68868
- }() : throwTypeError$1;
68869
- var hasSymbols$2 = hasSymbols$3();
68870
- var getProto$2 = Object.getPrototypeOf || function(x2) {
68871
- return x2.__proto__;
68872
- };
68873
- var needsEval$1 = {};
68874
- var TypedArray$2 = typeof Uint8Array === "undefined" ? undefined$2 : getProto$2(Uint8Array);
68875
- var INTRINSICS$1 = {
68876
- "%AggregateError%": typeof AggregateError === "undefined" ? undefined$2 : AggregateError,
68877
- "%Array%": Array,
68878
- "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$2 : ArrayBuffer,
68879
- "%ArrayIteratorPrototype%": hasSymbols$2 ? getProto$2([][Symbol.iterator]()) : undefined$2,
68880
- "%AsyncFromSyncIteratorPrototype%": undefined$2,
68881
- "%AsyncFunction%": needsEval$1,
68882
- "%AsyncGenerator%": needsEval$1,
68883
- "%AsyncGeneratorFunction%": needsEval$1,
68884
- "%AsyncIteratorPrototype%": needsEval$1,
68885
- "%Atomics%": typeof Atomics === "undefined" ? undefined$2 : Atomics,
68886
- "%BigInt%": typeof BigInt === "undefined" ? undefined$2 : BigInt,
68887
- "%Boolean%": Boolean,
68888
- "%DataView%": typeof DataView === "undefined" ? undefined$2 : DataView,
68889
- "%Date%": Date,
68890
- "%decodeURI%": decodeURI,
68891
- "%decodeURIComponent%": decodeURIComponent,
68892
- "%encodeURI%": encodeURI,
68893
- "%encodeURIComponent%": encodeURIComponent,
68894
- "%Error%": Error,
68895
- "%eval%": eval,
68896
- // eslint-disable-line no-eval
68897
- "%EvalError%": EvalError,
68898
- "%Float32Array%": typeof Float32Array === "undefined" ? undefined$2 : Float32Array,
68899
- "%Float64Array%": typeof Float64Array === "undefined" ? undefined$2 : Float64Array,
68900
- "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$2 : FinalizationRegistry,
68901
- "%Function%": $Function$1,
68902
- "%GeneratorFunction%": needsEval$1,
68903
- "%Int8Array%": typeof Int8Array === "undefined" ? undefined$2 : Int8Array,
68904
- "%Int16Array%": typeof Int16Array === "undefined" ? undefined$2 : Int16Array,
68905
- "%Int32Array%": typeof Int32Array === "undefined" ? undefined$2 : Int32Array,
68906
- "%isFinite%": isFinite,
68907
- "%isNaN%": isNaN,
68908
- "%IteratorPrototype%": hasSymbols$2 ? getProto$2(getProto$2([][Symbol.iterator]())) : undefined$2,
68909
- "%JSON%": typeof JSON === "object" ? JSON : undefined$2,
68910
- "%Map%": typeof Map === "undefined" ? undefined$2 : Map,
68911
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Map())[Symbol.iterator]()),
68912
- "%Math%": Math,
68913
- "%Number%": Number,
68914
- "%Object%": Object,
68915
- "%parseFloat%": parseFloat,
68916
- "%parseInt%": parseInt,
68917
- "%Promise%": typeof Promise === "undefined" ? undefined$2 : Promise,
68918
- "%Proxy%": typeof Proxy === "undefined" ? undefined$2 : Proxy,
68919
- "%RangeError%": RangeError,
68920
- "%ReferenceError%": ReferenceError,
68921
- "%Reflect%": typeof Reflect === "undefined" ? undefined$2 : Reflect,
68922
- "%RegExp%": RegExp,
68923
- "%Set%": typeof Set === "undefined" ? undefined$2 : Set,
68924
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Set())[Symbol.iterator]()),
68925
- "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$2 : SharedArrayBuffer,
68926
- "%String%": String,
68927
- "%StringIteratorPrototype%": hasSymbols$2 ? getProto$2(""[Symbol.iterator]()) : undefined$2,
68928
- "%Symbol%": hasSymbols$2 ? Symbol : undefined$2,
68929
- "%SyntaxError%": $SyntaxError$1,
68930
- "%ThrowTypeError%": ThrowTypeError$1,
68931
- "%TypedArray%": TypedArray$2,
68932
- "%TypeError%": $TypeError$1,
68933
- "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$2 : Uint8Array,
68934
- "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$2 : Uint8ClampedArray,
68935
- "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$2 : Uint16Array,
68936
- "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$2 : Uint32Array,
68937
- "%URIError%": URIError,
68938
- "%WeakMap%": typeof WeakMap === "undefined" ? undefined$2 : WeakMap,
68939
- "%WeakRef%": typeof WeakRef === "undefined" ? undefined$2 : WeakRef,
68940
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined$2 : WeakSet
68941
- };
68942
- var doEval$1 = function doEval(name2) {
68943
- var value;
68944
- if (name2 === "%AsyncFunction%") {
68945
- value = getEvalledConstructor$1("async function () {}");
68946
- } else if (name2 === "%GeneratorFunction%") {
68947
- value = getEvalledConstructor$1("function* () {}");
68948
- } else if (name2 === "%AsyncGeneratorFunction%") {
68949
- value = getEvalledConstructor$1("async function* () {}");
68950
- } else if (name2 === "%AsyncGenerator%") {
68951
- var fn = doEval("%AsyncGeneratorFunction%");
68952
- if (fn) {
68953
- value = fn.prototype;
68954
- }
68955
- } else if (name2 === "%AsyncIteratorPrototype%") {
68956
- var gen = doEval("%AsyncGenerator%");
68957
- if (gen) {
68958
- value = getProto$2(gen.prototype);
68959
- }
68960
- }
68961
- INTRINSICS$1[name2] = value;
68962
- return value;
68963
- };
68964
- var LEGACY_ALIASES$1 = {
68965
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
68966
- "%ArrayPrototype%": ["Array", "prototype"],
68967
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
68968
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
68969
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
68970
- "%ArrayProto_values%": ["Array", "prototype", "values"],
68971
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
68972
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
68973
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
68974
- "%BooleanPrototype%": ["Boolean", "prototype"],
68975
- "%DataViewPrototype%": ["DataView", "prototype"],
68976
- "%DatePrototype%": ["Date", "prototype"],
68977
- "%ErrorPrototype%": ["Error", "prototype"],
68978
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
68979
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
68980
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
68981
- "%FunctionPrototype%": ["Function", "prototype"],
68982
- "%Generator%": ["GeneratorFunction", "prototype"],
68983
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
68984
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
68985
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
68986
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
68987
- "%JSONParse%": ["JSON", "parse"],
68988
- "%JSONStringify%": ["JSON", "stringify"],
68989
- "%MapPrototype%": ["Map", "prototype"],
68990
- "%NumberPrototype%": ["Number", "prototype"],
68991
- "%ObjectPrototype%": ["Object", "prototype"],
68992
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
68993
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
68994
- "%PromisePrototype%": ["Promise", "prototype"],
68995
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
68996
- "%Promise_all%": ["Promise", "all"],
68997
- "%Promise_reject%": ["Promise", "reject"],
68998
- "%Promise_resolve%": ["Promise", "resolve"],
68999
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
69000
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
69001
- "%RegExpPrototype%": ["RegExp", "prototype"],
69002
- "%SetPrototype%": ["Set", "prototype"],
69003
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
69004
- "%StringPrototype%": ["String", "prototype"],
69005
- "%SymbolPrototype%": ["Symbol", "prototype"],
69006
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
69007
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
69008
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
69009
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
69010
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
69011
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
69012
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
69013
- "%URIErrorPrototype%": ["URIError", "prototype"],
69014
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
69015
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
69016
- };
69017
68841
  var bind$1 = functionBind;
69018
- var hasOwn$1 = src;
69019
- var $concat$1 = bind$1.call(Function.call, Array.prototype.concat);
69020
- var $spliceApply$1 = bind$1.call(Function.apply, Array.prototype.splice);
69021
- var $replace$1 = bind$1.call(Function.call, String.prototype.replace);
69022
- var $strSlice$1 = bind$1.call(Function.call, String.prototype.slice);
69023
- var $exec$2 = bind$1.call(Function.call, RegExp.prototype.exec);
69024
- var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
69025
- var reEscapeChar$1 = /\\(\\)?/g;
69026
- var stringToPath$1 = function stringToPath(string) {
69027
- var first = $strSlice$1(string, 0, 1);
69028
- var last = $strSlice$1(string, -1);
69029
- if (first === "%" && last !== "%") {
69030
- throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");
69031
- } else if (last === "%" && first !== "%") {
69032
- throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");
69033
- }
69034
- var result = [];
69035
- $replace$1(string, rePropName$1, function(match, number2, quote, subString) {
69036
- result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, "$1") : number2 || match;
69037
- });
69038
- return result;
69039
- };
69040
- var getBaseIntrinsic$1 = function getBaseIntrinsic(name2, allowMissing) {
69041
- var intrinsicName = name2;
69042
- var alias;
69043
- if (hasOwn$1(LEGACY_ALIASES$1, intrinsicName)) {
69044
- alias = LEGACY_ALIASES$1[intrinsicName];
69045
- intrinsicName = "%" + alias[0] + "%";
69046
- }
69047
- if (hasOwn$1(INTRINSICS$1, intrinsicName)) {
69048
- var value = INTRINSICS$1[intrinsicName];
69049
- if (value === needsEval$1) {
69050
- value = doEval$1(intrinsicName);
69051
- }
69052
- if (typeof value === "undefined" && !allowMissing) {
69053
- throw new $TypeError$1("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
69054
- }
69055
- return {
69056
- alias,
69057
- name: intrinsicName,
69058
- value
69059
- };
69060
- }
69061
- throw new $SyntaxError$1("intrinsic " + name2 + " does not exist!");
69062
- };
69063
- var getIntrinsic$1 = function GetIntrinsic(name2, allowMissing) {
69064
- if (typeof name2 !== "string" || name2.length === 0) {
69065
- throw new $TypeError$1("intrinsic name must be a non-empty string");
69066
- }
69067
- if (arguments.length > 1 && typeof allowMissing !== "boolean") {
69068
- throw new $TypeError$1('"allowMissing" argument must be a boolean');
69069
- }
69070
- if ($exec$2(/^%?[^%]*%?$/, name2) === null) {
69071
- throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
69072
- }
69073
- var parts = stringToPath$1(name2);
69074
- var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
69075
- var intrinsic = getBaseIntrinsic$1("%" + intrinsicBaseName + "%", allowMissing);
69076
- var intrinsicRealName = intrinsic.name;
69077
- var value = intrinsic.value;
69078
- var skipFurtherCaching = false;
69079
- var alias = intrinsic.alias;
69080
- if (alias) {
69081
- intrinsicBaseName = alias[0];
69082
- $spliceApply$1(parts, $concat$1([0, 1], alias));
69083
- }
69084
- for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
69085
- var part = parts[i2];
69086
- var first = $strSlice$1(part, 0, 1);
69087
- var last = $strSlice$1(part, -1);
69088
- if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
69089
- throw new $SyntaxError$1("property names with quotes must have matching quotes");
69090
- }
69091
- if (part === "constructor" || !isOwn) {
69092
- skipFurtherCaching = true;
69093
- }
69094
- intrinsicBaseName += "." + part;
69095
- intrinsicRealName = "%" + intrinsicBaseName + "%";
69096
- if (hasOwn$1(INTRINSICS$1, intrinsicRealName)) {
69097
- value = INTRINSICS$1[intrinsicRealName];
69098
- } else if (value != null) {
69099
- if (!(part in value)) {
69100
- if (!allowMissing) {
69101
- throw new $TypeError$1("base intrinsic for " + name2 + " exists, but the property is not available.");
69102
- }
69103
- return void 0;
69104
- }
69105
- if ($gOPD$2 && i2 + 1 >= parts.length) {
69106
- var desc = $gOPD$2(value, part);
69107
- isOwn = !!desc;
69108
- if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
69109
- value = desc.get;
69110
- } else {
69111
- value = value[part];
69112
- }
69113
- } else {
69114
- isOwn = hasOwn$1(value, part);
69115
- value = value[part];
69116
- }
69117
- if (isOwn && !skipFurtherCaching) {
69118
- INTRINSICS$1[intrinsicRealName] = value;
69119
- }
69120
- }
69121
- }
69122
- return value;
69123
- };
69124
- var callBind$3 = { exports: {} };
69125
- (function(module2) {
69126
- var bind4 = functionBind;
69127
- var GetIntrinsic4 = getIntrinsic$1;
69128
- var $apply = GetIntrinsic4("%Function.prototype.apply%");
69129
- var $call = GetIntrinsic4("%Function.prototype.call%");
69130
- var $reflectApply = GetIntrinsic4("%Reflect.apply%", true) || bind4.call($call, $apply);
69131
- var $gOPD2 = GetIntrinsic4("%Object.getOwnPropertyDescriptor%", true);
69132
- var $defineProperty2 = GetIntrinsic4("%Object.defineProperty%", true);
69133
- var $max = GetIntrinsic4("%Math.max%");
69134
- if ($defineProperty2) {
69135
- try {
69136
- $defineProperty2({}, "a", { value: 1 });
69137
- } catch (e2) {
69138
- $defineProperty2 = null;
69139
- }
69140
- }
69141
- module2.exports = function callBind2(originalFunction) {
69142
- var func = $reflectApply(bind4, $call, arguments);
69143
- if ($gOPD2 && $defineProperty2) {
69144
- var desc = $gOPD2(func, "length");
69145
- if (desc.configurable) {
69146
- $defineProperty2(
69147
- func,
69148
- "length",
69149
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
69150
- );
69151
- }
69152
- }
69153
- return func;
69154
- };
69155
- var applyBind = function applyBind2() {
69156
- return $reflectApply(bind4, $apply, arguments);
69157
- };
69158
- if ($defineProperty2) {
69159
- $defineProperty2(module2.exports, "apply", { value: applyBind });
69160
- } else {
69161
- module2.exports.apply = applyBind;
69162
- }
69163
- })(callBind$3);
69164
- var callBindExports = callBind$3.exports;
69165
- var GetIntrinsic$1 = getIntrinsic$1;
69166
- var callBind$2 = callBindExports;
69167
- var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
69168
- var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
69169
- var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
69170
- if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
69171
- return callBind$2(intrinsic);
69172
- }
69173
- return intrinsic;
69174
- };
69175
- var hasToStringTag$2 = shams();
69176
- var callBound$1 = callBound$2;
69177
- var $toString$1 = callBound$1("Object.prototype.toString");
69178
- var isStandardArguments = function isArguments2(value) {
69179
- if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
69180
- return false;
69181
- }
69182
- return $toString$1(value) === "[object Arguments]";
69183
- };
69184
- var isLegacyArguments = function isArguments3(value) {
69185
- if (isStandardArguments(value)) {
69186
- return true;
69187
- }
69188
- return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
69189
- };
69190
- var supportsStandardArguments = function() {
69191
- return isStandardArguments(arguments);
69192
- }();
69193
- isStandardArguments.isLegacyArguments = isLegacyArguments;
69194
- var isArguments$3 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
69195
- var test = {
69196
- foo: {}
69197
- };
69198
- var $Object = Object;
69199
- var hasProto$1 = function hasProto() {
69200
- return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
69201
- };
68842
+ var src = bind$1.call(Function.call, Object.prototype.hasOwnProperty);
69202
68843
  var undefined$1;
69203
68844
  var $SyntaxError = SyntaxError;
69204
68845
  var $Function = Function;
@@ -69232,7 +68873,7 @@ var ThrowTypeError = $gOPD$1 ? function() {
69232
68873
  }
69233
68874
  }
69234
68875
  }() : throwTypeError;
69235
- var hasSymbols$1 = hasSymbols$3();
68876
+ var hasSymbols$1 = hasSymbols$2();
69236
68877
  var hasProto2 = hasProto$1();
69237
68878
  var getProto$1 = Object.getPrototypeOf || (hasProto2 ? function(x2) {
69238
68879
  return x2.__proto__;
@@ -69316,7 +68957,7 @@ if (getProto$1) {
69316
68957
  INTRINSICS["%Error.prototype%"] = errorProto;
69317
68958
  }
69318
68959
  }
69319
- var doEval2 = function doEval3(name2) {
68960
+ var doEval = function doEval2(name2) {
69320
68961
  var value;
69321
68962
  if (name2 === "%AsyncFunction%") {
69322
68963
  value = getEvalledConstructor("async function () {}");
@@ -69325,12 +68966,12 @@ var doEval2 = function doEval3(name2) {
69325
68966
  } else if (name2 === "%AsyncGeneratorFunction%") {
69326
68967
  value = getEvalledConstructor("async function* () {}");
69327
68968
  } else if (name2 === "%AsyncGenerator%") {
69328
- var fn = doEval3("%AsyncGeneratorFunction%");
68969
+ var fn = doEval2("%AsyncGeneratorFunction%");
69329
68970
  if (fn) {
69330
68971
  value = fn.prototype;
69331
68972
  }
69332
68973
  } else if (name2 === "%AsyncIteratorPrototype%") {
69333
- var gen = doEval3("%AsyncGenerator%");
68974
+ var gen = doEval2("%AsyncGenerator%");
69334
68975
  if (gen && getProto$1) {
69335
68976
  value = getProto$1(gen.prototype);
69336
68977
  }
@@ -69400,7 +69041,7 @@ var $strSlice = bind3.call(Function.call, String.prototype.slice);
69400
69041
  var $exec$1 = bind3.call(Function.call, RegExp.prototype.exec);
69401
69042
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
69402
69043
  var reEscapeChar = /\\(\\)?/g;
69403
- var stringToPath2 = function stringToPath3(string) {
69044
+ var stringToPath = function stringToPath2(string) {
69404
69045
  var first = $strSlice(string, 0, 1);
69405
69046
  var last = $strSlice(string, -1);
69406
69047
  if (first === "%" && last !== "%") {
@@ -69414,7 +69055,7 @@ var stringToPath2 = function stringToPath3(string) {
69414
69055
  });
69415
69056
  return result;
69416
69057
  };
69417
- var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
69058
+ var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
69418
69059
  var intrinsicName = name2;
69419
69060
  var alias;
69420
69061
  if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
@@ -69424,7 +69065,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
69424
69065
  if (hasOwn(INTRINSICS, intrinsicName)) {
69425
69066
  var value = INTRINSICS[intrinsicName];
69426
69067
  if (value === needsEval) {
69427
- value = doEval2(intrinsicName);
69068
+ value = doEval(intrinsicName);
69428
69069
  }
69429
69070
  if (typeof value === "undefined" && !allowMissing) {
69430
69071
  throw new $TypeError("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
@@ -69437,7 +69078,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
69437
69078
  }
69438
69079
  throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
69439
69080
  };
69440
- var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
69081
+ var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
69441
69082
  if (typeof name2 !== "string" || name2.length === 0) {
69442
69083
  throw new $TypeError("intrinsic name must be a non-empty string");
69443
69084
  }
@@ -69447,9 +69088,9 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
69447
69088
  if ($exec$1(/^%?[^%]*%?$/, name2) === null) {
69448
69089
  throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
69449
69090
  }
69450
- var parts = stringToPath2(name2);
69091
+ var parts = stringToPath(name2);
69451
69092
  var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
69452
- var intrinsic = getBaseIntrinsic2("%" + intrinsicBaseName + "%", allowMissing);
69093
+ var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
69453
69094
  var intrinsicRealName = intrinsic.name;
69454
69095
  var value = intrinsic.value;
69455
69096
  var skipFurtherCaching = false;
@@ -69498,8 +69139,79 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
69498
69139
  }
69499
69140
  return value;
69500
69141
  };
69501
- var GetIntrinsic3 = getIntrinsic;
69502
- var $defineProperty = GetIntrinsic3("%Object.defineProperty%", true);
69142
+ var callBind$3 = { exports: {} };
69143
+ (function(module2) {
69144
+ var bind4 = functionBind;
69145
+ var GetIntrinsic3 = getIntrinsic;
69146
+ var $apply = GetIntrinsic3("%Function.prototype.apply%");
69147
+ var $call = GetIntrinsic3("%Function.prototype.call%");
69148
+ var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
69149
+ var $gOPD2 = GetIntrinsic3("%Object.getOwnPropertyDescriptor%", true);
69150
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true);
69151
+ var $max = GetIntrinsic3("%Math.max%");
69152
+ if ($defineProperty2) {
69153
+ try {
69154
+ $defineProperty2({}, "a", { value: 1 });
69155
+ } catch (e2) {
69156
+ $defineProperty2 = null;
69157
+ }
69158
+ }
69159
+ module2.exports = function callBind2(originalFunction) {
69160
+ var func = $reflectApply(bind4, $call, arguments);
69161
+ if ($gOPD2 && $defineProperty2) {
69162
+ var desc = $gOPD2(func, "length");
69163
+ if (desc.configurable) {
69164
+ $defineProperty2(
69165
+ func,
69166
+ "length",
69167
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
69168
+ );
69169
+ }
69170
+ }
69171
+ return func;
69172
+ };
69173
+ var applyBind = function applyBind2() {
69174
+ return $reflectApply(bind4, $apply, arguments);
69175
+ };
69176
+ if ($defineProperty2) {
69177
+ $defineProperty2(module2.exports, "apply", { value: applyBind });
69178
+ } else {
69179
+ module2.exports.apply = applyBind;
69180
+ }
69181
+ })(callBind$3);
69182
+ var callBindExports = callBind$3.exports;
69183
+ var GetIntrinsic$1 = getIntrinsic;
69184
+ var callBind$2 = callBindExports;
69185
+ var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
69186
+ var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
69187
+ var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
69188
+ if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
69189
+ return callBind$2(intrinsic);
69190
+ }
69191
+ return intrinsic;
69192
+ };
69193
+ var hasToStringTag$2 = shams();
69194
+ var callBound$1 = callBound$2;
69195
+ var $toString$1 = callBound$1("Object.prototype.toString");
69196
+ var isStandardArguments = function isArguments2(value) {
69197
+ if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
69198
+ return false;
69199
+ }
69200
+ return $toString$1(value) === "[object Arguments]";
69201
+ };
69202
+ var isLegacyArguments = function isArguments3(value) {
69203
+ if (isStandardArguments(value)) {
69204
+ return true;
69205
+ }
69206
+ return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
69207
+ };
69208
+ var supportsStandardArguments = function() {
69209
+ return isStandardArguments(arguments);
69210
+ }();
69211
+ isStandardArguments.isLegacyArguments = isLegacyArguments;
69212
+ var isArguments$3 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
69213
+ var GetIntrinsic2 = getIntrinsic;
69214
+ var $defineProperty = GetIntrinsic2("%Object.defineProperty%", true);
69503
69215
  var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
69504
69216
  if ($defineProperty) {
69505
69217
  try {
@@ -103744,16 +103456,16 @@ async function getDecoder(fileDirectory) {
103744
103456
  const Decoder = await importFn();
103745
103457
  return new Decoder(fileDirectory);
103746
103458
  }
103747
- addDecoder([void 0, 1], () => import("./raw-f373fd58.js").then((m) => m.default));
103748
- addDecoder(5, () => import("./lzw-1598810c.js").then((m) => m.default));
103459
+ addDecoder([void 0, 1], () => import("./raw-c5567cae.js").then((m) => m.default));
103460
+ addDecoder(5, () => import("./lzw-390cd1d6.js").then((m) => m.default));
103749
103461
  addDecoder(6, () => {
103750
103462
  throw new Error("old style JPEG compression is not supported.");
103751
103463
  });
103752
- addDecoder(7, () => import("./jpeg-8c83320b.js").then((m) => m.default));
103753
- addDecoder([8, 32946], () => import("./deflate-95a3c306.js").then((m) => m.default));
103754
- addDecoder(32773, () => import("./packbits-2e2b917a.js").then((m) => m.default));
103755
- addDecoder(34887, () => import("./lerc-7f552d7f.js").then((m) => m.default));
103756
- addDecoder(50001, () => import("./webimage-2f8120c0.js").then((m) => m.default));
103464
+ addDecoder(7, () => import("./jpeg-610e360a.js").then((m) => m.default));
103465
+ addDecoder([8, 32946], () => import("./deflate-3577cf79.js").then((m) => m.default));
103466
+ addDecoder(32773, () => import("./packbits-80edb884.js").then((m) => m.default));
103467
+ addDecoder(34887, () => import("./lerc-a137ebe9.js").then((m) => m.default));
103468
+ addDecoder(50001, () => import("./webimage-47f6a56e.js").then((m) => m.default));
103757
103469
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
103758
103470
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
103759
103471
  }
@@ -140779,6 +140491,10 @@ const FileType$1 = {
140779
140491
  ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
140780
140492
  };
140781
140493
  const CoordinationType$1 = {
140494
+ // Meta coordination scopes
140495
+ META_COORDINATION_SCOPES: "metaCoordinationScopes",
140496
+ META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
140497
+ // Other coordination scopes
140782
140498
  DATASET: "dataset",
140783
140499
  // Entity types
140784
140500
  OBS_TYPE: "obsType",
@@ -146431,7 +146147,7 @@ var json2csv_umd = { exports: {} };
146431
146147
  return result == "0" && 1 / value == -INFINITY ? "-0" : result;
146432
146148
  }
146433
146149
  function castPath(value) {
146434
- return isArray$22(value) ? value : stringToPath4(value);
146150
+ return isArray$22(value) ? value : stringToPath3(value);
146435
146151
  }
146436
146152
  function getMapData2(map2, key) {
146437
146153
  var data = map2.__data__;
@@ -146458,7 +146174,7 @@ var json2csv_umd = { exports: {} };
146458
146174
  function isMasked2(func) {
146459
146175
  return !!maskSrcKey2 && maskSrcKey2 in func;
146460
146176
  }
146461
- var stringToPath4 = memoize2(function(string) {
146177
+ var stringToPath3 = memoize2(function(string) {
146462
146178
  string = toString$12(string);
146463
146179
  var result = [];
146464
146180
  if (reLeadingDot.test(string)) {